etc/ChangeLog: Add missing bug reference.
[bpt/emacs.git] / lib-src / ChangeLog
... / ...
CommitLineData
12014-03-09 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix emacsclient terminal corruption when in background (Bug#16892).
4 * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
5 Cancel the continue only if tty. Send SIGTTIN to the process
6 group, not SIGSTOP to self, as this is what the glibc manual
7 recommends.
8 (main): If tty, and if started in the background, send SIGTTIN
9 to the process group.
10
112014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change)
12
13 Fix emacsclient's handling of SIGCONT (Bug#16883).
14 * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
15
162014-01-22 Eli Zaretskii <eliz@gnu.org>
17
18 * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
19 instead of fchmod.
20
212014-01-22 Paul Eggert <eggert@cs.ucla.edu>
22
23 Fix miscellaneous update-game-score bugs.
24 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
25 (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
26 as that leads to undefined behavior, which is a bad thing
27 particularly in a setuid program.
28 (read_scores, write_scores): Check for fclose failure; on some
29 systems, I/O errors are not reported by primitives like getc and
30 putc, but instead are delayed until fclose, so fclose failures
31 should be diagnosed like other read and write errors.
32 (write_scores): Use fchmod, not chmod, to avoid a race.
33 Otherwise, if the lock is broken by some other process,
34 update-game-score might try to change the permission on someone
35 else's file or on a nonexistent file, and incorrectly report an
36 error when this fails.
37 (lock_file): Fix test for out-of-date lock file; it was reversed.
38 That is, it incorrectly broke locks when they were more than an
39 hour into the future, instead of when they were more than an hour
40 in the past. Use ordinary subtraction rather than difftime; since
41 we're already assuming POSIX we don't need to worry about the
42 possibility of time_t being a magic cookie, and since timestamps
43 are positive we don't need to worry about integer overflow when
44 subtracting them. Put two spaces, not just one, after a sentence
45 end in a comment.
46
472014-01-19 Paul Eggert <eggert@cs.ucla.edu>
48
49 update-game-score fixes for -m and integer overflow (Bug#16428)
50 * update-game-score.c: Include inttypes.h, stdbool.h.
51 (min): New macro, if not already defined.
52 (MAX_SCORES, main): Limit the maximum number of scores only from
53 limits imposed by the underyling platform, instead of the
54 arbitrary value 200.
55 (struct score_entry, main, read_score, write_score):
56 Scores are now intmax_t, not long.
57 (get_user_id): Reject user names containing spaces or newlines,
58 as they would mess up the score file.
59 Allow uids that don't fit in 'long'.
60 Increase the size of the buffer, to avoid overrun in weird cases.
61 (get_prefix, main): Use bool for boolean.
62 (main): Rewrite expr to avoid possibility of signed integer
63 overflow. Don't allow newlines in data, as this would mess up
64 the score file. Check for memory allocation failure when adding
65 the new score, or when unlockint the file. Implement -m.
66 (read_score): Check for integer overflow when reading a score.
67 (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
68 data gets very long. Check only for space to delimit names,
69 since that's what's done in the HAVE_GETDELIM case.
70 (read_scores): New parameter ALLOC. Change counts to ptrdiff_t.
71 All uses changed. Use push_score to add individual scores;
72 that's simpler than repeating its contents.
73 (score_compare_reverse): Simplify.
74 (push_score): New parameter SIZE. Change counts to ptrdiff_t.
75 All uses changed. Check for integer overflow of size calculation.
76 (sort_scores, write_scores): Change counts to ptrdiff_t.
77 (unlock_file): Preserve errno on success, so that storage
78 exhaustion is diagnosed correctly.
79
802014-01-05 Paul Eggert <eggert@cs.ucla.edu>
81
82 Spelling fixes.
83 * Makefile.in (regex.o): Remove reference to no-longer-used macros
84 CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a
85 misspelling anyway....
86
872013-12-14 Paul Eggert <eggert@cs.ucla.edu>
88
89 Use bool for boolean, focusing on headers.
90 * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
91 Remove. All uses replaced with uncapitalized version.
92 * emacsclient.c (message):
93 * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
94 * hexl.c (un_flag, iso_flag, endian):
95 * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
96 (pop_trash):
97 Use bool for boolean.
98 * etags.c (bool): Remove.
99 * etags.c (globals, members, declarations, no_line_directive)
100 (no_duplicates): Use 'int' for boolean values that getopt requires
101 to be 'int'. Formerly, these were 'bool' and 'bool' was 'int',
102 but we can no longer rely on this implementation.
103 * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
104
1052013-11-14 Paul Eggert <eggert@cs.ucla.edu>
106
107 * ebrowse.c (xstrdup):
108 * etags.c (savenstr): Prefer tail calls.
109 * etags.c (concat): Omit unnecessary assignment.
110
1112013-10-24 Glenn Morris <rgm@gnu.org>
112
113 * Makefile.in ($(DESTDIR)${archlibdir}):
114 Avoid non-portable "`\" nesting.
115
116 * Makefile.in (abs_top_srcdir): New, set by configure.
117
1182013-10-23 Glenn Morris <rgm@gnu.org>
119
120 * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
121 (uninstall): Quote entities that might contain whitespace.
122
1232013-10-10 Glenn Morris <rgm@gnu.org>
124
125 * make-docfile.c (search_lisp_doc_at_eol):
126 Use int rather than char with getc. (Bug#15481)
127
1282013-09-20 Paul Eggert <eggert@cs.ucla.edu>
129
130 A simpler, centralized INLINE.
131 * profile.c (INLINE): New macro.
132 (SYSTIME_INLINE): Remove.
133
1342013-08-28 Paul Eggert <eggert@cs.ucla.edu>
135
136 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
137 for portability to hosts where /bin/sh has problems.
138
1392013-08-10 Eli Zaretskii <eliz@gnu.org>
140
141 * update-game-score.exe.manifest: New file.
142
143 * Makefile.in (UPDATE_MANIFEST): New variable.
144 (SCRIPTS): Add $(UPDATE_MANIFEST).
145
1462013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * makefile.w32-in (lisp2): Add nadvice.elc.
149
1502013-08-05 Eli Zaretskii <eliz@gnu.org>
151
152 * update-game-score.c (read_score): Try reading a character before
153 probing the stream for EOF. Initialize score->score to zero,
154 before reading and accumulating the score.
155 (read_scores): Fix logic that determines which value to return.
156 Close the input stream when finished reading the scores (avoids
157 failures in overwriting the file with a new one on MS-Windows,
158 since a file that is open cannot be deleted).
159
160 * ntlib.h (rename): Don't undefine.
161
162 * ntlib.c (sys_rename): New function, needed for
163 update-game-score.
164
1652013-08-04 Eli Zaretskii <eliz@gnu.org>
166
167 * ntlib.h: Include fcntl.h.
168 (mkostemp): Declare prototype.
169 (mktemp): Don't redefine.
170
171 * ntlib.c (mkostemp): New function. (Bug#15015)
172
1732013-08-04 Paul Eggert <eggert@cs.ucla.edu>
174
175 Fix some minor races in hosts lacking mkostemp (Bug#15015).
176 * movemail.c (main):
177 * update-game-score.c (write_scores):
178 Use mkostemp (which now works on all platforms, due to changes
179 in the portability layer) rather than mktemp (which has a race)
180 or mkstemp (which we no longer bother with).
181
1822013-07-10 Paul Eggert <eggert@cs.ucla.edu>
183
184 Port to C89.
185 * ebrowse.c (USAGE): Remove macro with too-long string literal ...
186 (usage_message): ... and replace it with this new static constant
187 containing multiple literals. All uses changed.
188 * emacsclient.c (print_help_and_exit):
189 Rewrite to avoid string literals longer than the C89 limits.
190 (start_daemon_and_retry_set_socket):
191 Rewrite to avoid non-constant array initializer.
192 * make-docfile.c (enum global_type): Omit trailing comma.
193
1942013-07-02 Paul Eggert <eggert@cs.ucla.edu>
195
196 Prefer plain 'static' to 'static inline' (Bug#12541).
197 I missed these instances of 'static inline' in an earlier sweep.
198 * ebrowse.c (putstr):
199 * etags.c (hash):
200 * make-docfile.c (put_char): No longer inline.
201 * etags.c (hash): Prefer int to unsigned when either will do.
202
2032013-06-21 Paul Eggert <eggert@cs.ucla.edu>
204
205 Use C99-style flexible array members if available.
206 * ebrowse.c: Include <stddef.h>, for offsetof.
207 (struct member, struct alias, struct sym):
208 Use FLEXIBLE_ARRAY_MEMBER.
209 (add_sym, add_member, make_namespace, register_namespace_alias):
210 Use offsetof (struct, flex_array_member), not sizeof (struct), as
211 that ports better to pre-C99 non-GCC.
212
2132013-05-29 Eli Zaretskii <eliz@gnu.org>
214
215 * Makefile.in (mostlyclean): Remove *.res files.
216
2172013-05-18 Paul Eggert <eggert@cs.ucla.edu>
218
219 Port --enable-gcc-warnings to clang.
220 * etags.c: Omit unnecessary forward decls.
221 (print_version, print_help): Declare _Noreturn.
222 * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
223
2242013-05-16 Eli Zaretskii <eliz@gnu.org>
225
226 * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
227
228 * ntlib.h (sleep): Update prototype.
229 (geteuid): Add prototype.
230
231 * ntlib.c (sleep): Now returns an unsigned value.
232 (getgid): New function.
233
234 * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
235 (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
236 (INSTALLABLES): Add $(CLIENTW).
237 (LIBS_MOVE): Use $(LIB_WSOCK32).
238 ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
239 (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
240 (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
241 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
242 (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
243 Add $(NTLIB) to prerequisites. Use $(EXEEXT).
244 (pop.o): Add pop.h to prerequisites.
245 (emacsclientw${EXEEXT}, ntlib.o): New targets.
246 (emacsclient.res): New target.
247
2482013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
251
2522013-05-06 Paul Eggert <eggert@cs.ucla.edu>
253
254 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
255 by removing references to no-longer-existing locals.
256
2572013-03-26 Eli Zaretskii <eliz@gnu.org>
258
259 Fix incompatibilities between MinGW.org and MinGW64 headers.
260 * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
261 struct only if _TIMEZONE_DEFINED is not defined.
262
2632013-03-23 cg <chengang31@gmail.com> (tiny change)
264
265 * makefile.w32-in (LIB_SRC): Move before first use.
266
2672013-03-16 Paul Eggert <eggert@cs.ucla.edu>
268
269 * pop.c: Fix ERRMAX typo (Bug#13925).
270 (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
271 Use ERROR_MAX, not ERRMAX.
272
2732013-03-13 Paul Eggert <eggert@cs.ucla.edu>
274
275 File synchronization fixes (Bug#13944).
276 * Makefile.in (LIB_FDATASYNC): New macro.
277 (emacsclient${EXEEXT}): Use it.
278 * emacsclient.c (main): Use fdatasync, not fsync, since we don't
279 care about metadata. Keep trying if interrupted.
280 * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
281 fsync is available everywhere (or there is a substitute).
282 Don't report an error if fsync returns EINVAL.
283
284 Static checking by Sun C 5.12.
285 * etags.c (analyse_regex): Omit unreachable code.
286
287 * movemail.c (main): Call umask on all systems.
288 This is OK since Emacs already assumes umask elsewhere.
289 Don't grant more read permissions than necessary.
290 The old 0333 dates back to before we called setuid,
291 so it was needed back then to ensure user-readability,
292 but 0377 should suffice now.
293
2942013-02-08 Paul Eggert <eggert@cs.ucla.edu>
295
296 * movemail.c (getenv): Remove decl (unused since 1994).
297
2982013-01-15 Paul Eggert <eggert@cs.ucla.edu>
299
300 * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
301 This pacifies GCC 4.7.2 when Emacs is configured with
302 --enable-link-time-optimization and --enable-gcc-warnings.
303
3042013-01-01 Juanma Barranquero <lekktu@gmail.com>
305
306 * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
307
3082012-12-11 Juanma Barranquero <lekktu@gmail.com>
309
310 * makefile.w32-in (SYSWAIT_H): Update dependencies.
311
3122012-12-10 Eli Zaretskii <eliz@gnu.org>
313
314 * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix
315 sources.
316
3172012-12-02 Kevin Ryde <user42@zip.com.au>
318
319 * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
320 the --declarations flag is enabled (Bug#5600).
321 (Lisp_help): Update.
322 (skip_name): New function.
323
3242012-12-01 Kevin Ryde <user42@zip.com.au>
325
326 * etags.c (Perl_functions): Support "use constant" (Bug#5055).
327
3282012-11-27 Paul Eggert <eggert@cs.ucla.edu>
329
330 Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
331 * movemail.c (main): Assume EAGAIN and EBUSY.
332
3332012-11-23 Paul Eggert <eggert@cs.ucla.edu>
334
335 movemail: treat EACCES etc. failures as permanent
336 * movemail.c (main): Treat any link failure other than EEXIST as a
337 permanent failure, not just EPERM. EACCES, for example.
338
3392012-11-21 Paul Eggert <eggert@cs.ucla.edu>
340
341 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
342 * emacsclient.c (getcwd): Remove decl.
343 (get_current_dir_name): Assume getcwd exists.
344 * etags.c (HAVE_GETCWD): Remove.
345 (getcwd): Remove decl.
346 (NO_LONG_OPTIONS): Remove this. All uses removed.
347 Emacs always has GNU getopt.
348 (etags_getcwd): Assume getcwd exists.
349 * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
350
3512012-11-20 Paul Eggert <eggert@cs.ucla.edu>
352
353 * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
354 rather than kill (getpid (), sig), as it's simpler and safer.
355
3562012-11-17 Juanma Barranquero <lekktu@gmail.com>
357
358 * makefile.w32-in (SYSWAIT_H): New macro.
359 ($(BLD)/movemail.$(O)): Update dependencies.
360
3612012-11-17 Paul Eggert <eggert@cs.ucla.edu>
362
363 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
364 * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
365
3662012-10-26 Glenn Morris <rgm@gnu.org>
367
368 * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
369
370 * Makefile.in (install, uninstall): Transformations should not be
371 applied to $EXEEXT.
372
3732012-10-23 Eli Zaretskii <eliz@gnu.org>
374
375 * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
376 follow src/lisp.mk.
377
3782012-10-21 Glenn Morris <rgm@gnu.org>
379
380 * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
381
3822012-10-20 Eli Zaretskii <eliz@gnu.org>
383
384 * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
385 (scan_lisp_file): Only pass a .el file if its basename matches a
386 known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE.
387
3882012-10-20 Andreas Schwab <schwab@linux-m68k.org>
389
390 * make-docfile.c (scan_lisp_file): Add bounds checking.
391
3922012-10-20 Eli Zaretskii <eliz@gnu.org>
393
394 Prevent silent omission of doc strings from uncompiled Lisp files.
395 * make-docfile.c (scan_lisp_file): Barf if called with a .el file
396 other than one of a small list of supported un-compiled files.
397
398 * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
399 exist. (Bug#12395)
400
4012012-10-17 Eli Zaretskii <eliz@gnu.org>
402
403 * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
404 _mbspbrk.
405
4062012-10-08 Eli Zaretskii <eliz@gnu.org>
407
408 * makefile.w32-in (obj): Add cygw32.o.
409
4102012-10-08 Daniel Colascione <dancol@dancol.org>
411
412 * emacsclient.c: Include windows.h when HAVE_NTGUI.
413 (alt_display): New variable. We send the display held by this
414 variable when the primary display is either unsupported or not
415 present.
416 (longopts): Allow display everywhere.
417 (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
418 section.
419 (decode_options): Use alt_display. Explain why.
420 (main): Retry connection with alt_display if connection with main
421 display fails.
422
4232012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
424
425 * make-docfile.c (write_globals): Special-case
426 Fexit_recursive_edit and Fabort_recursive_edit as well, as
427 functions that are _Noreturn, to be consistent with
428 src/keyboard.c.
429
4302012-09-30 Eli Zaretskii <eliz@gnu.org>
431
432 * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c
433 needs this function.
434
4352012-09-26 Juanma Barranquero <lekktu@gmail.com>
436
437 * makefile.w32-in (obj): Add profiler.o.
438
4392012-09-17 Glenn Morris <rgm@gnu.org>
440
441 * ebrowse.c (version):
442 * etags.c (print_version): Use COPYRIGHT.
443
4442012-09-11 Paul Eggert <eggert@cs.ucla.edu>
445
446 * pop.c (socket_connection) [HAVE_GETADDRINFO]:
447 Prefer assignment to memcpy when either will do.
448
4492012-08-31 Andreas Schwab <schwab@linux-m68k.org>
450
451 * etags.c (consider_token): Always zero-terminate token buffer.
452 (Bug#12306)
453
4542012-08-19 Paul Eggert <eggert@cs.ucla.edu>
455
456 Rely on <config.h> + <unistd.h> to declare 'environ'.
457 * emacsclient.c (environ): Remove decl.
458
4592012-08-17 Juanma Barranquero <lekktu@gmail.com>
460
461 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
462
4632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
464
465 * etags.c (Pascal_functions): Fix parenthesization typo.
466
4672012-08-14 Paul Eggert <eggert@cs.ucla.edu>
468
469 * make-docfile.c (enum global_type): Sort values roughly in
470 decreasing alignment, except put functions last.
471 (compare_globals): Use this new property of enum global_type.
472 (write_globals): Use bool, not int, for booleans.
473
4742012-08-10 Glenn Morris <rgm@gnu.org>
475
476 * make-docfile.c (IF_LINT):
477 * emacsclient.c (IF_LINT): Remove (in config.h now).
478
479 * make-docfile.c (main)
480 (fopen) [!WINDOWSNT]:
481 (chdir) [!DOS_NT]: No more need to undef.
482
483 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
484 * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
485 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
486 Remove (they are in config.h now).
487
488 * ebrowse.c (PATH_LIST_SEPARATOR):
489 Remove, and replace with SEPCHAR from config.h.
490
4912012-08-03 Juanma Barranquero <lekktu@gmail.com>
492
493 * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
494 they are always defined in config.h.
495
4962012-08-03 Eli Zaretskii <eliz@gnu.org>
497
498 * ntlib.c (lstat): New function, calls 'stat'.
499
5002012-08-02 Paul Eggert <eggert@cs.ucla.edu>
501
502 Use C99-style 'extern inline' if available.
503 * profile.c (SYSTIME_INLINE): Define.
504
5052012-08-02 Glenn Morris <rgm@gnu.org>
506
507 * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
508
5092012-08-01 Glenn Morris <rgm@gnu.org>
510
511 * Makefile.in (config_h): New variable.
512 Use throughout in place of ../src/config.h.
513
5142012-08-01 Juanma Barranquero <lekktu@gmail.com>
515
516 * makefile.w32-in (CONFIG_H): Update dependencies.
517 (CONF_POST_H): New macro.
518
5192012-07-30 Paul Eggert <eggert@cs.ucla.edu>
520
521 Update .PHONY listings in makefiles.
522 * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
523 install, uninstall, mostlyclean, clean, distclean,
524 maintainer-clean, extraclean, check, tags.
525
5262012-07-29 Eli Zaretskii <eliz@gnu.org>
527
528 * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
529
5302012-07-12 Paul Eggert <eggert@cs.ucla.edu>
531
532 * movemail.c: Add missing 'defined'.
533 Suggested by Sven Joachim in
534 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
535
5362012-07-11 Paul Eggert <eggert@cs.ucla.edu>
537
538 Port 'movemail' again to Solaris and similar hosts.
539 See Susan Cragin's report in
540 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
541 * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
542 !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
543 need a forward declaration.
544 (main): Rewrite to avoid no-longer-present function 'concat', if
545 !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
546
547 Assume strerror.
548 * emacsclient.c, movemail.c, update-game-score.c (strerror)
549 [!HAVE_STRERROR]: Remove.
550
5512012-07-10 Paul Eggert <eggert@cs.ucla.edu>
552
553 EMACS_TIME simplification (Bug#11875).
554 * profile.c (TV2): Remove no-longer-needed static var.
555
556 Simplify by avoiding confusing use of strncpy etc.
557 * etags.c (write_classname, C_entries):
558 Use sprintf rather than strncpy or strncat.
559 * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
560 (Erlang_functions, substitute, readline_internal, savenstr):
561 * movemail.c (mail_spool_name):
562 Use memcpy rather than strncpy or strncat when either will do.
563 * make-docfile.c (write_c_args):
564 Use memcmp rather than strncmp when either will do.
565 * movemail.c (pop_retr):
566 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
567 (socket_connection, pop_getline, sendline, getok):
568 Use snprintf rather than strncpy or strncat.
569 * movemail.c (concat): Remove; no longer needed.
570 (xmalloc): Define only if needed, now that concat has gone away.
571 Return void *. All uses changed.
572
5732012-07-09 Paul Eggert <eggert@cs.ucla.edu>
574
575 Add GCC-style 'const' attribute to functions that can use it.
576 * etags.c (number_len): Add ATTRIBUTE_CONST.
577
5782012-07-09 Juanma Barranquero <lekktu@gmail.com>
579
580 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
581
5822012-07-09 Juanma Barranquero <lekktu@gmail.com>
583
584 * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
585 (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
586 (SYSTIME_H): New macros.
587 (SRC): Redefine to point to src/, not current directory.
588 ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
589 ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
590 ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
591 ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
592 ($(BLD)/regex.$(O)): New dependency.
593
5942012-07-09 Juanma Barranquero <lekktu@gmail.com>
595
596 * makefile.w32-in (ALL): Add profile.exe.
597 (PROFILEOBJS): New macro.
598 ($(BLD)/profile.exe): New target.
599 (install): Copy profile.exe.
600 ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
601
6022012-07-07 Juanma Barranquero <lekktu@gmail.com>
603
604 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
605 Update dependencies.
606
6072012-07-06 Paul Eggert <eggert@cs.ucla.edu>
608
609 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
610 * etags.c: Include c-strcase.h.
611 (etags_strcasecmp, etags_strncasecmp): Remove.
612 All uses replaced with c_strcasecmp and c_strncasecmp.
613
6142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
615
616 * make-docfile.c (write_globals): Warn about duplicate function
617 definitions with differing signatures.
618
6192012-07-03 Paul Eggert <eggert@cs.ucla.edu>
620
621 * make-docfile.c (scan_c_file): Suppress GCC warning.
622
6232012-06-29 Tom Tromey <tromey@redhat.com>
624
625 * make-docfile.c (enum global_type) <FUNCTION>: New constant.
626 (struct global) <value>: New field.
627 (add_global): Add 'value' argument.
628 (compare_globals): Sort functions at the end.
629 (close_emacs_globals): New function.
630 (write_globals): Handle functions.
631 (scan_c_file): Call add_global for DEFUN.
632
6332012-06-30 Juanma Barranquero <lekktu@gmail.com>
634
635 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
636 already defined in ETAGS_CFLAGS.
637
6382012-06-27 Glenn Morris <rgm@gnu.org>
639
640 * makefile.w32-in (lisp2): Remove paths.el.
641
6422012-06-26 Paul Eggert <eggert@cs.ucla.edu>
643
644 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
645 * Makefile.in (BASE_CFLAGS):
646 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
647 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
648 * etags.c (DOS_NT):
649 * pop.c (MAIL_USE_POP, h_errno):
650 Remove code that was conditioned on !HAVE_CONFIG_H.
651
6522012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
653
654 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
655 library functions strcasecmp and strncasecmp if available.
656
6572012-06-24 Paul Eggert <eggert@cs.ucla.edu>
658
659 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
660 * ebrowse.c (usage, version):
661 * emacsclient.c (print_help_and_exit, fail):
662 * etags.c (suggest_asking_for_help, fatal, pfatal):
663 * hexl.c (usage):
664 * make-docfile.c (fatal):
665 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
666 * update-game-score.c (usage):
667 * ebrowse.c (usage, version):
668 * emacsclient.c (print_help_and_exit, fail):
669 Use _Noreturn rather than NO_RETURN.
670 No need for separate decl merely because of _Noreturn.
671
6722012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change)
673
674 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
675
6762012-06-22 Paul Eggert <eggert@cs.ucla.edu>
677
678 Support higher-resolution time stamps (Bug#9000).
679 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
680 (profile${EXEEXT}): Use it.
681 * profile.c: Include inttypes.h, intprops.h.
682 (time_string): Size conservatively; do not guess size.
683 (get_time): Now prints nanoseconds.
684 (gettimeofday): Remove replacement function; gnulib now does this.
685
6862012-06-08 Andreas Schwab <schwab@linux-m68k.org>
687
688 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
689 character.
690
6912012-06-06 Glenn Morris <rgm@gnu.org>
692
693 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
694 (stamp-rcs2log, stamp-grep-changelog): Remove.
695 (all, clean): Remove references to stamps.
696
697 * vcdiff: Remove file.
698 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
699 (stamp-vcdiff): Remove.
700
7012012-06-05 Glenn Morris <rgm@gnu.org>
702
703 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
704 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
705 ($(BLD)/timer.$(O)): Remove cruft.
706
7072012-06-03 Glenn Morris <rgm@gnu.org>
708
709 * rcs-checkin: Remove file.
710 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
711 Remove rcs-checkin.
712 (stamp-rcs-checkin): Remove.
713
7142012-05-31 Eli Zaretskii <eliz@gnu.org>
715
716 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
717 instead of a literal -mwindows, which is not supported by MSVC.
718 (Bug#11405)
719
7202012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * make-docfile.c: Improve comment style.
723 (search_lisp_doc_at_eol): New function.
724 (scan_lisp_file): Use it.
725
7262012-05-26 Glenn Morris <rgm@gnu.org>
727
728 * Makefile.in (INSTALL_DATA): Remove; unused.
729
7302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
731
732 Remove src/m/*.
733 * makefile.w32-in: Remove dependencies on
734 $(EMACS_ROOT)/src/m/intel386.h.
735
7362012-05-22 Glenn Morris <rgm@gnu.org>
737
738 * Makefile.in (install): Remove unneeded chmods.
739
7402012-05-21 Paul Eggert <eggert@cs.ucla.edu>
741
742 Assume C89 or later.
743 * etags.c (static, const): Remove macros.
744 (PTR): Remove; all uses replaced with void *. Omit needless casts.
745
7462012-05-21 Glenn Morris <rgm@gnu.org>
747
748 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
749 Scrap superfluous subshells.
750
7512012-05-18 Glenn Morris <rgm@gnu.org>
752
753 * Makefile.in (install): Ensure $bindir exists.
754
7552012-05-17 Glenn Morris <rgm@gnu.org>
756
757 * Makefile.in (ns_appbindir): New, set by configure.
758
7592012-05-12 Glenn Morris <rgm@gnu.org>
760
761 * Makefile.in (MKDIR_P): New, set by configure.
762 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
763
7642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
765
766 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
767 * etags.c: Include <stdarg.h>.
768 (error): Declare as printf-style, as that's what it really is.
769 All uses changed.
770 (add_regex): Use single char rather than array-of-one char.
771
7722012-05-05 Jim Meyering <meyering@redhat.com>
773
774 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
775 NUL-terminate the error buffer (Bug#11372).
776
7772012-05-02 Juanma Barranquero <lekktu@gmail.com>
778
779 * emacsclient.c (min): Undef before redefining it.
780
7812012-05-02 Jim Meyering <jim@meyering.net>
782
783 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
784 send (Bug#11374).
785
7862012-04-29 Andreas Schwab <schwab@linux-m68k.org>
787
788 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
789 byte-code forms. (Bug#11380)
790
7912012-04-20 Chong Yidong <cyd@gnu.org>
792
793 * emacsclient.c (decode_options): Move -t -n corner case handling
794 into server.el (Bug#11102).
795 (main): Send -tty to Emacs under more circumstances (Bug#8314).
796
7972012-04-18 Paul Eggert <eggert@cs.ucla.edu>
798
799 configure: new option --enable-gcc-warnings (Bug#11207)
800 * Makefile.in (C_WARNINGS_SWITCH): Remove.
801 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
802 (BASE_CFLAGS): Use new macros rather than old.
803
8042012-04-16 Paul Eggert <eggert@cs.ucla.edu>
805
806 Assume less-ancient POSIX support.
807 * update-game-score.c: Include <getopt.h> rather than rolling our
808 own decls for optarg, optind, opterr. See
809 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
810
8112012-04-14 Juanma Barranquero <lekktu@gmail.com>
812
813 * emacsclient.c (decode_options) [WINDOWSNT]:
814 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
815
8162012-04-07 Eli Zaretskii <eliz@gnu.org>
817
818 * makefile.w32-in (obj): Add xml.o.
819
8202012-04-07 Eli Zaretskii <eliz@gnu.org>
821
822 * makefile.w32-in (ALL): Now the list of executables, not of phony
823 targets.
824 (.PHONY): Only make-docfile is its prerequisite now.
825 (make-docfile): Don't depend on stamp_BLD. Add a comment about
826 the need in this target.
827 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
828 (test-distrib): Phony targets removed.
829 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
830 (all): Don't depend on stamp_BLD.
831 (ALL): Include $(BLD)/test-distrib.exe.
832
8332012-03-11 Andreas Schwab <schwab@linux-m68k.org>
834
835 * emacsclient.c (main): Handle -print-nonl command.
836
837 * emacsclient.c (main): Handle multiple messages in a single
838 datagram.
839
840 * emacsclient.c (socket_name): Add const.
841 (get_server_config): Add parameter config_file, use it instead of
842 global server_file.
843 (set_tcp_socket): Add parameter local_server_file, pass it down to
844 get_server_config.
845 (set_local_socket): Add parameter local_socket_name, use it
846 instead of global socket_name.
847 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
848 Don't clobber global server_file or socket_name.
849 (main): No longer reset server_file or socket_name.
850
8512012-01-05 Glenn Morris <rgm@gnu.org>
852
853 * ebrowse.c (version) <emacs_copyright>:
854 * etags.c (print_version) <emacs_copyright>:
855 * rcs2log (Copyright): Update short copyright year to 2012.
856
8572011-12-25 Andreas Schwab <schwab@linux-m68k.org>
858
859 * etags.c (C_entries): Properly skip over string and character
860 constants and comments inside brackets. (Bug#10357)
861
8622011-12-04 Juanma Barranquero <lekktu@gmail.com>
863
864 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
865 instead, treat both -c and -t as always requesting a new "tty" frame,
866 and let server.el decide which kind is actually required.
867 Reported by Uwe Siart <usenet@siart.de> in this thread:
868 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
869
8702011-11-30 Chong Yidong <cyd@gnu.org>
871
872 * emacsclient.c (main): Condition last change on WINDOWSNT
873 (Bug#10155).
874
8752011-11-27 Eli Zaretskii <eliz@gnu.org>
876
877 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
878
879 * emacsclient.c (main) <environ>: Remove declaration, already
880 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
881
8822011-11-24 Glenn Morris <rgm@gnu.org>
883
884 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
885
8862011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
887
888 * Makefile.in (all): Make sure "all" is the first target.
889
8902011-10-27 Juanma Barranquero <lekktu@gmail.com>
891
892 * emacsclient.c (w32_getenv): Silence compiler warnings.
893
8942011-09-07 Glenn Morris <rgm@gnu.org>
895
896 * etags.c (Fortran_functions): Handle "elemental" functions.
897
8982011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
899
900 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
901
9022011-09-06 Paul Eggert <eggert@cs.ucla.edu>
903
904 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
905 to build-aux (Bug#9169).
906
9072011-09-04 Paul Eggert <eggert@cs.ucla.edu>
908
909 Integer and memory overflow issues (Bug#9397).
910
911 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
912 avoid potential buffer overflow issues on typical 64-bit hosts.
913 Return void *, not long *.
914 (get_current_dir_name): Report a failure, instead of looping
915 forever, if buffer size calculation overflows. Treat malloc
916 failures like realloc failures, as that has better behavior and is
917 more consistent. Do not check whether xmalloc returns NULL, as
918 that's not possible.
919 (message): Do not arbitrarily truncate message to 2048 bytes when
920 sending it to stderr; use vfprintf instead.
921 (get_server_config, set_local_socket)
922 (start_daemon_and_retry_set_socket): Do not alloca
923 arbitrarily-large buffers; that's not safe.
924 (get_server_config, set_local_socket): Do not use sprintf when its
925 result might not fit in 'int'.
926 (set_local_socket): Do not assume uid fits in 'int'.
927
928 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
929 to avoid potential buffer overflow issues on typical 64-bit hosts.
930 (whatlen_max): New static var.
931 (main): Avoid buffer overflow if subsidiary command length is
932 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
933 result might not fit in 'int'.
934
935 * movemail.c (main): Do not use sprintf when its result might not fit
936 in 'int'. Instead, put the possibly-long file name into the
937 output of pfatal_with_name.
938
939 * update-game-score.c: Include <limits.h>
940 (get_user_id): Do not assume uid fits in 'int'. Simplify.
941
9422011-07-28 Paul Eggert <eggert@cs.ucla.edu>
943
944 Assume freestanding C89 headers, string.h, stdlib.h.
945 * ebrowse.c: Include stdlib.h unconditionally.
946 * etags.c, update-game-score.c:
947 Include string.h and stdlib.h unconditionally.
948 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
949 * movemail.c, pop.c: Include string.h unconditionally.
950 * update-game-score.c: No need to include stdarg.h; not used.
951
952 Assume support for memcmp, memcpy, memmove, memset.
953 * etags.c (absolute_filename): Assume memmove exists.
954
9552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
956
957 * update-game-score.c (usage): Update usage line.
958
9592011-07-02 Jason Rumney <jasonr@gnu.org>
960
961 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
962 Windows (Bug#5486).
963
9642011-06-25 Glenn Morris <rgm@gnu.org>
965
966 * emacsclient.c (decode_options) <opt>: Add `F:'.
967 (print_help_and_exit): Mention --frame-parameters.
968
9692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
970
971 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
972
9732011-06-10 Paul Eggert <eggert@cs.ucla.edu>
974
975 * movemail.c: Fix race condition and related bugs (Bug#8836).
976 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
977 fixes some race conditions. Report mkstemp/mktemp errno rather
978 than a possibly-garbage errno. Reinitialize the template each
979 time through the loop, as earlier mkstemp/mktemp calls could have
980 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
981 with mkstemp; the permissions don't matter anyway.
982
9832011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
984
985 * emacsclient.c (socket_status): Use constant pointer.
986
9872011-05-28 Paul Eggert <eggert@cs.ucla.edu>
988
989 Use 'inline', not 'INLINE'.
990 * etags.c (hash): Now inline unconditionally.
991 * make-docfile.c (put_char): inline, not INLINE.
992
9932011-05-25 Glenn Morris <rgm@gnu.org>
994
995 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
996 (insrcdir): New.
997 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
998 Use $insrcdir to suppress unaesthetic ignored errors.
999 (clean): Simplify list of things to delete.
1000 (all, clean): Use $EXE_FILES.
1001
1002 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
1003
1004 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
1005 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
1006
10072011-05-24 Glenn Morris <rgm@gnu.org>
1008
1009 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
1010
10112011-05-19 Glenn Morris <rgm@gnu.org>
1012
1013 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
1014 (clean): No more echolisp.tmp.
1015
10162011-05-18 Glenn Morris <rgm@gnu.org>
1017
1018 * fakemail.c: Remove file.
1019 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
1020 ($(BLD)/fakemail.$(O)): Remove.
1021 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
1022 (fakemail${EXEEXT}): Remove rule.
1023
10242011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1025
1026 * makefile.w32-in (obj): Add gnutls.o.
1027
10282011-04-16 Paul Eggert <eggert@cs.ucla.edu>
1029
1030 Static checks with GCC 4.6.0 and non-default toolkits.
1031
1032 * movemail.c (mail_spool_name): Protoize.
1033 (main): Remove unused var. Mark var as initialized.
1034 Move locals to avoid shadowing, and use time_t for times.
1035
1036 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
1037 with void *. This avoids warnings about pointer casts.
1038
1039 * emacsclient.c (main): Don't use uninitialized var.
1040 (IS_ANY_SEP): Remove; unused.
1041 (get_current_dir_name): Add an extern decl.
1042
10432011-04-06 Paul Eggert <eggert@cs.ucla.edu>
1044
1045 Fix more problems found by GCC 4.6.0's static checks.
1046
1047 * emacsclient.c (message): Mark it as a printf-like function.
1048
1049 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
1050 (write_c_args): Use it to suppress GCC warning.
1051
10522011-03-30 Paul Eggert <eggert@cs.ucla.edu>
1053
1054 Fix a problem found by GCC 4.6.0's static checks.
1055 * etags.c (just_read_file): Remove dummy variable and simplify.
1056
10572011-03-27 Glenn Morris <rgm@gnu.org>
1058
1059 * emacsclient.c: Replace SIGTYPE with void.
1060
10612011-03-23 Juanma Barranquero <lekktu@gmail.com>
1062
1063 * ntlib.c: Include <ctype.h>.
1064
10652011-03-23 Glenn Morris <rgm@gnu.org>
1066
1067 * Makefile.in ($(DESTDIR)${archlibdir}):
1068 Use `install-sh -d' rather than mkinstalldirs.
1069
10702011-03-23 Paul Eggert <eggert@cs.ucla.edu>
1071
1072 * ebrowse.c: Use size_t, not int, for sizes.
1073 This avoids a warning with gcc -Wstrict-overflow, and works
1074 better for very large objects.
1075 (inbuffer_size): Now size_t. All uses changed.
1076 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
1077 sizes. Don't bother testing whether a size_t value can be negative.
1078
1079 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
1080
1081 etags: In Prolog functions, don't assume int fits in size_t.
1082 This avoids a warning with gcc -Wstrict-overflow.
1083 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
1084 not int, to store sizes.
1085 (prolog_atom): Return 0, not -1, on error. All callers changed.
1086
1087 update-game-score: fix bug with -r
1088 * update-game-score.c (main): Don't set 'scores' to garbage when
1089 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
1090 was introduced in the 2002-04-10 change, and was found with gcc
1091 -Wstrict-overflow (GCC 4.5.2, x86-64).
1092
1093 fakemail: Remove dependency on ignore-value.
1094 This undoes some of the recent fakemail-related changes.
1095 It is made possible due to recent changes to gnulib's stdio module.
1096 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
1097 * fakemail.c: Do not include ignore-value.h.
1098 (put_line): Do not use ignore_value.
1099
11002011-03-07 Chong Yidong <cyd@stupidchicken.com>
1101
1102 * Version 23.3 released.
1103
11042011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
1105
1106 * emacsclient.c (longopts): Add quiet.
1107 (decode_options): Handle q/quiet.
1108 (print_help_and_exit): Add q/quiet.
1109 (main): Suppress some messages if quiet option is used.
1110
11112011-02-26 Eli Zaretskii <eliz@gnu.org>
1112
1113 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
1114
1115 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
1116 (w32_getenv): Use xstrdup to return all values in malloc'ed
1117 storage.
1118
11192011-02-26 Paul Eggert <eggert@cs.ucla.edu>
1120
1121 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
1122 to reader (and to the compiler) that the loop always executes at
1123 least once. This prevents a warning with recent GCC.
1124 (BROWSE_STRUCT): Remove unused macro.
1125
1126 * fakemail.c: Include <ignore-value.h>.
1127 (put_line): Explicitly ignore fwrite return value, for benefit of
1128 recent glibc + gcc.
1129 (close_the_streams): Diagnose output errors instead of merely
1130 exiting with nonzero status.
1131 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
1132 Formerly, input errors were silently ignored.
1133
1134 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
1135 All callers changed. This is cleaner, and avoids GCC warnings about
1136 passing NULL to fputs.
1137 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
1138
11392011-02-25 Paul Eggert <eggert@cs.ucla.edu>
1140
1141 * emacsclient.c (main): Avoid dangling 'if'.
1142 (xstrdup): Remove; no longer needed.
1143 (get_current_dir_name, w32_getenv, get_server_config, find_tty)
1144 (set_local_socket, main):
1145 Use const char *, not char *, for pointers that are not assigned
1146 through.
1147 (IF_LINT): New macro.
1148 (set_local_socket, main): Use it to suppress warnings with
1149 GCC -Wuninitialized.
1150
1151 * emacsclient.c: Redo local variables to avoid shadowing problems.
1152 (message, socket_status, start_daemon_and_retry_set_socket):
1153 Rename locals.
1154 (main): Move decl of "i".
1155
1156 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
1157 This avoids an unused-macro warning with some GCC settings.
1158
1159 * make-docfile.c (write_globals): Change char * to char const *
1160 to avoid a GCC "assignment discards qualifiers" diagnostic
1161 in some configurations.
1162 (scan_c_file): Refactor local variable decls to make their scope
1163 more accurate and to avoid a GCC -Wuninitialized diagnostic.
1164
11652011-02-22 Eli Zaretskii <eliz@gnu.org>
1166
1167 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
1168
1169 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
1170 Depend on ../lib/min-max.h.
1171
11722011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1173
1174 etags: Downcase drive letters, for consistency with Emacs proper.
1175 * etags.c (upcase): Remove; no longer used.
1176 (canonicalize_filename): Downcase drive letters.
1177
1178 Assume S_ISLNK etc. work, since gnulib supports this.
1179 * etags.c (S_ISREG): Remove.
1180
11812011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1182
1183 Assume S_ISLNK etc. work, since gnulib supports this.
1184 * etags.c (S_ISREG): Remove.
1185
11862011-02-22 Juanma Barranquero <lekktu@gmail.com>
1187
1188 * makefile.w32-in (obj): Remove filemode.o.
1189
11902011-02-21 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 New file "lib/min-max.h".
1193 * ebrowse.c (min, max): Define them by including <min-max.h>
1194 instead of defining it ourselves.
1195 * pop.c (min): Likewise.
1196 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
1197
1198 * movemail.c (popmail): Report fchown failure instead of ignoring it.
1199 But if the file already has the right ownership, don't worry about it.
1200
1201 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
1202 * test-distrib.c (buf): Make this local, to avoid shadowing.
1203
1204 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1205 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
1206 (DONE): Remove unused macro.
1207 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
1208 Define these macros only in the contexts that need them.
1209 * pop.c (index): Remove unused macro.
1210 (KPOP_PORT): Define only if KERBEROS is defined.
1211
1212 Declare file-scope functions and variables static if not exported.
1213 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
1214 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
1215 * profile.c, test-distrib.c, update-game-score.c:
1216 Declare non-'main' functions and variables to be static.
1217 * ebrowse.c: Omit redundant function prototypes.
1218
12192011-02-21 Eli Zaretskii <eliz@gnu.org>
1220
1221 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
1222 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
1223 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
1224
12252011-02-21 Ben Key <bkey76@gmail.com>
1226
1227 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
1228 the new BVAR macro.
1229
12302011-02-20 Juanma Barranquero <lekktu@gmail.com>
1231
1232 * makefile.w32-in (obj): Remove md5.o.
1233
12342011-02-18 Karl Chen <Karl.Chen@quarl.org>
1235
1236 * emacsclient.c (main): Loop while `recv' return EINTR.
1237
12382011-02-09 Paul Eggert <eggert@cs.ucla.edu>
1239
1240 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
1241 This avoids collision with config.h's EMACS_INT on some
1242 configurations. All uses changed.
1243
12442011-02-08 Tom Tromey <tromey@redhat.com>
1245
1246 * make-docfile.c: Unconditionally include stdlib.h.
1247 (generate_globals): New global.
1248 (xrealloc): New function.
1249 (main): Handle '-g'. Call start_globals, write_globals.
1250 (scan_file): Conditionally call put_filename.
1251 (start_globals): New function.
1252 (struct global): New.
1253 (num_globals, globals): New globals.
1254 (add_global, compare_globals, write_globals): New functions.
1255 (scan_c_file): Update for "-g".
1256 (scan_lisp_file): Fail if "-g".
1257
12582011-02-05 Paul Eggert <eggert@cs.ucla.edu>
1259
1260 * emacsclient.c: Conform to C89 pointer rules.
1261 (file_name_absolute_p): Accept const char *, not const unsigned
1262 char *, to satisfy C89 rules.
1263
12642011-02-02 Eli Zaretskii <eliz@gnu.org>
1265
1266 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
1267 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
1268 (obj): Remove strftime.o.
1269
12702011-01-31 Eli Zaretskii <eliz@gnu.org>
1271
1272 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
1273 (ECLIENT_CFLAGS): Remove -DVERSION.
1274 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
1275
12762011-01-31 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 src/emacs.c now gets version number from configure.in
1279 * ebrowse.c: Adjust comment to say that.
1280
12812011-01-30 Jim Meyering <meyering@redhat.com>
1282
1283 * make-docfile.c: Don't corrupt heap for an invalid .elc file
1284 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
1285 one byte before just-malloc'd saved_string buffer.
1286 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
1287 doc string length. Also fix an always-false while-loop test.
1288
12892011-01-29 Eli Zaretskii <eliz@gnu.org>
1290
1291 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
1292 (GETOPTOBJS, GETOPTDEPS): Remove targets.
1293 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1294 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1295 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1296 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1297 (clean): Don't remove getopt.h.
1298 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1299 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1300 $(EMACS_ROOT)/lib/getopt.h.
1301
13022011-01-28 Chong Yidong <cyd@stupidchicken.com>
1303
1304 * ntlib.c (setregid): New stub, renamed from setegid.
1305
1306 * ntlib.h: Update prototype.
1307
13082011-01-25 Chong Yidong <cyd@stupidchicken.com>
1309
1310 * movemail.c (main): Use setregid instead of setegid, which is
1311 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
1312
13132011-01-23 Paul Eggert <eggert@cs.ucla.edu>
1314
1315 Check return values of some library calls.
1316 * hexl.c (main): Check fread result.
1317 * make-docfile.c (main): Check chdir result.
1318 (scan_c_file): Check fscanf result.
1319 * movemail.c (main): Check ftruncate result.
1320
13212011-01-17 Paul Eggert <eggert@cs.ucla.edu>
1322
1323 Include <unistd.h> unilaterally.
1324 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1325 * pop.c, test-distrib.c, update-game-score.c:
1326 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1327 unistd.h is always present now, possibly supplied by gnulib.
1328
1329 Include <getopt.h> not "getopt.h".
1330 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1331 Since getopt.h is no longer in this directory, there's no point
1332 using the form with double-quotes.
1333
1334 Remove unused files.
1335 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1336 These files are now in ../lib, copied from gnulib.
1337
1338 Use gnulib's getopt-gnu module.
1339 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1340 as these are now done by gnulib.
1341 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1342 Remove; now done by gnulib. All uses removed.
1343
1344 Automate syncing from gnulib.
1345 * Makefile.in (EXE_FILES): New macro.
1346 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1347 for gnulib's .h files.
1348 (LOADLIBES): Add ../lib/libgnu.a.
1349 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1350 (../lib/libgnu.a): New rule.
1351
13522011-01-08 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1355
13562011-01-08 Glenn Morris <rgm@gnu.org>
1357
1358 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1359
1360 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1361
13622011-01-02 Glenn Morris <rgm@gnu.org>
1363
1364 * ebrowse.c (version) <emacs_copyright>:
1365 * etags.c (print_version) <emacs_copyright>:
1366 * rcs2log (Copyright): Set short copyright year to 2011.
1367
13682010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
1369
1370 * ebrowse.c (yylex): If end of input buffer encountered while
1371 searching for a newline after "//", return YYEOF. (Bug#7446)
1372
13732010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1374
1375 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1376 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1377
13782010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1379
1380 * test-distrib.c: Remove include guards for config.h and fcntl.h.
1381 (O_RDONLY): Do not define.
1382 (cool_read): Fix type for variable "sofar".
1383
13842010-10-25 Glenn Morris <rgm@gnu.org>
1385
1386 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1387
13882010-10-23 Glenn Morris <rgm@gnu.org>
1389
1390 * digest-doc.c, sorted-doc.c: Remove files.
1391 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1392 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1393 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1394 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1395 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1396 (install): Don't install digest-doc.exe or sorted-doc.exe.
1397
13982010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1399
1400 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1401
14022010-10-09 Glenn Morris <rgm@gnu.org>
1403
1404 * b2m.c, b2m.pl: Remove files.
1405 * Makefile.in (INSTALLABLES): Remove b2m.
1406 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1407
14082010-10-08 Glenn Morris <rgm@gnu.org>
1409
1410 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1411 DARWIN_USER_TEMP_DIR. (Bug#3992)
1412
14132010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1414
1415 * test-distrib.c (cool_read):
1416 * movemail.c (main, concat):
1417 * make-docfile.c (scan_file, write_c_args):
1418 * emacsclient.c (get_server_config): Fix -Wconversion warning.
1419 (egetenv): Move conditional definition earlier.
1420 (progname): Use const.
1421 * sorted-doc.c (xstrdup): Use const.
1422
1423 * Makefile.in: Remove ^L, old makes choke on it.
1424
14252010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
1426
1427 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1428 error string (Bug#6963).
1429
14302010-10-02 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * makefile.w32-in (tags): Remove target.
1433
14342010-10-01 Eli Zaretskii <eliz@gnu.org>
1435
1436 * makefile.w32-in (tags, TAGS): New targets.
1437
14382010-09-30 Juanma Barranquero <lekktu@gmail.com>
1439
1440 * emacsclient.c (get_server_config): Don't read Emacs pid from
1441 the authentication file.
1442
14432010-09-29 Juanma Barranquero <lekktu@gmail.com>
1444
1445 * makefile.w32-in (../src/config.h): Remove target, it is stale.
1446
1447 * emacsclient.c (main): Remove unused variables.
1448 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1449
14502010-09-25 Ulrich Mueller <ulm@gentoo.org>
1451
1452 * etags.c (compressors, print_language_names): Support xz compression.
1453
14542010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1455
1456 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
1457 popen, fclose and pclose.
1458 (my_name, fatal, error, put_line): Use const char*.
1459 (main): Remove extern getenv, mail_program_name is const char*.
1460
1461 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1462
1463 * sorted-doc.c (error, fatal, states): Use const char *.
1464
1465 * pop.h (pop_multi_first): Use const char *.
1466 (_ARGS): Remove.
1467
1468 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
1469
1470 * movemail.c (fatal, error, concat): Use const char *.
1471
1472 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1473 Use const char *.
1474
1475 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1476 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1477 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1478 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
1479 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
1480 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1481 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1482 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1483 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1484 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1485 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1486 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1487 (no_lang_help, print_language_names)
1488 (get_language_from_interpreter, get_language_from_filename)
1489 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1490 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1491 (concat): Use const char*.
1492
1493 * emacsclient.c (message, sock_err_message, send_to_emacs)
1494 (quote_argument, set_local_socket)
1495 (start_daemon_and_retry_set_socket): Use const char*.
1496
1497 * ebrowse.c (struct member): filename, def_filename is const.
1498 (struct sym): filename, sfilename is const.
1499 (struct kw): name is const.
1500 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1501
1502 * b2m.c (concat, fatal): Use const char*.
1503 (main): Don't assign labels a string literal.
1504
15052010-08-07 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * ebrowse.c (usage, version, mark_virtual):
1508 Remove duplicate declarations.
1509
15102010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1511
1512 * emacsclient.c: Move socket related #includes together with the
1513 rest of the #includes. Move WINDOWSNT includes closer together.
1514 (HAVE_CONFIG_H): Remove.
1515 (NO_RETURN): Remove, defined in config.h.
1516 (main): Convert definition to standard C.
1517
15182010-07-29 Juanma Barranquero <lekktu@gmail.com>
1519
1520 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1521
15222010-07-25 Juanma Barranquero <lekktu@gmail.com>
1523
1524 * emacsclient.c (getcwd): Fix previous change: make getcwd
1525 conditional on HAVE_GETCWD and declare with the correct POSIX
1526 profile (for some reason MinGW headers define its 2nd arg as int,
1527 not size_t; but getcwd is not used on Windows nonetheless).
1528
15292010-07-25 Juanma Barranquero <lekktu@gmail.com>
1530
1531 * emacsclient.c (getcwd, w32_getenv):
1532 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1533
15342010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
1535
1536 * update-game-score.c (usage): Add NO_RETURN specifier.
1537 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1538 * make-docfile.c (fatal):
1539 * hexl.c (usage):
1540 * fakemail.c (fatal):
1541 * etags.c (fatal, suggest_asking_for_help, pfatal):
1542 * emacsclient.c (fatal):
1543 * b2m.c (fatal): Likewise.
1544
15452010-07-23 Juanma Barranquero <lekktu@gmail.com>
1546
1547 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1548
15492010-07-20 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * emacsclient.c (get_current_dir_name, w32_get_resource)
1552 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1553 (close_winsock, initialize_sockets, w32_find_emacs_process)
1554 (w32_give_focus):
1555 * ntlib.c (getlogin, getuid, getgid, getegid):
1556 Convert definitions to standard C.
1557
15582010-07-12 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1561 (PROFILING_LDFLAGS): Set from substitution.
1562 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
1563 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1564 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1565
15662010-07-12 Eli Zaretskii <eliz@gnu.org>
1567
1568 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1569 2010-07-12T05:25:46Z!handa@etlken).
1570
15712010-07-11 Andreas Schwab <schwab@linux-m68k.org>
1572
1573 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1574 index, rindex.
1575 * movemail.c (mail_spool_name, popmail): Likewise.
1576 * pop.c (pop_list): Likewise.
1577
15782010-07-11 Eli Zaretskii <eliz@gnu.org>
1579
1580 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1581 and unexw32.o. (Bug#6603)
1582
15832010-07-10 Eli Zaretskii <eliz@gnu.org>
1584
1585 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1586
15872010-07-09 Andreas Schwab <schwab@linux-m68k.org>
1588
1589 * make-docfile.c (write_c_args): Restructure scanning loop.
1590
15912010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
1592
1593 * make-docfile.c (write_c_args): Deal with type names in DEFUN
1594 arguments.
1595
15962010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
1597
1598 * update-game-score.c (P_): Remove macro.
1599 * ebrowse.c: Remove include guards.
1600 (P_): Remove macro.
1601
16022010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1603
1604 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1605 memcpy, memmove, memset.
1606 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1607
16082010-07-06 Andreas Schwab <schwab@linux-m68k.org>
1609
1610 * movemail.c: Add MAIL_USE_POP around prototypes.
1611 Include <string.h> if HAVE_STRING_H.
1612 (strerror): Only declare if !HAVE_STRERROR.
1613 (fatal): Make static.
1614 (error): Likewise.
1615 (pfatal_with_name): Likewise.
1616 (pfatal_and_delete): Likewise.
1617 (concat): Likewise.
1618 (xmalloc): Likewise.
1619 (popmail): Likewise.
1620 (pop_retr): Likewise.
1621 (mbx_write): Likewise.
1622 (mbx_delimit_begin): Likewise.
1623 (mbx_delimit_end): Likewise.
1624
16252010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1626
1627 * fakemail.c (action): Convert function definitions to standard C.
1628 (add_a_stream):
1629 * test-distrib.c (cool_read, main): Likewise.
1630
16312010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1632
1633 * sorted-doc.c (cmpdoc): Fix signature.
1634 (qsort_compare): Delete.
1635 (main): Remove cast.
1636
16372010-07-03 Juanma Barranquero <lekktu@gmail.com>
1638
1639 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1640
16412010-07-03 Juanma Barranquero <lekktu@gmail.com>
1642
1643 Fix prototype warnings.
1644
1645 * ebrowse.c (match_qualified_namespace_alias):
1646 Pass sym* to find_namespace, not link*.
1647
1648 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1649
1650 * sorted-doc.c (qsort_compare): New typedef.
1651 (main): Use it to cast cmpdoc.
1652
16532010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1654
1655 * update-game-score.c: Convert function definitions to standard C.
1656 * sorted-doc.c:
1657 * profile.c:
1658 * pop.c:
1659 * movemail.c:
1660 * make-docfile.c:
1661 * hexl.c:
1662 * fakemail.c:
1663 * etags.c:
1664 * ebrowse.c:
1665 * digest-doc.c:
1666 * b2m.c: Likewise.
1667
16682010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
1669
1670 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
1671 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
1672 standard C prototypes.
1673
16742010-07-02 Jan Djärv <jan.h.d@swipnet.se>
1675
1676 * ebrowse.c: Remove P_ and __P.
1677 * etags.c:
1678 * movemail.c:
1679 * pop.c:
1680 * update-game-score.c: Likewise.
1681
16822010-06-24 Juanma Barranquero <lekktu@gmail.com>
1683
1684 * movemail.c (error): Avoid warning when there are no args.
1685
16862010-06-11 Juanma Barranquero <lekktu@gmail.com>
1687
1688 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
1689 and vc/ediff-hook.elc.
1690
16912010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1692
1693 * ntlib.h: Remove code dealing with BSTRING.
1694
16952010-05-29 Chong Yidong <cyd@stupidchicken.com>
1696
1697 * emacsclient.c (longopts, decode_options, print_help_and_exit):
1698 New arg `-parent-id'.
1699 (main): Send parent-id to Emacs.
1700
17012010-05-27 Glenn Morris <rgm@gnu.org>
1702
1703 * Makefile.in (distclean): No more Makefile.c.
1704
17052010-05-22 Jan Djärv <jan.h.d@swipnet.se>
1706
1707 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
1708 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
1709 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1710 New rules (Bug #6246).
1711 (clean): Remove stamp-* (Bug #6246).
1712
17132010-05-12 Glenn Morris <rgm@gnu.org>
1714
1715 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
1716
17172010-05-11 Glenn Morris <rgm@gnu.org>
1718
1719 * Makefile.in (.m.o): Remove, there are no .m files.
1720 (BASE_CFLAGS): New variable.
1721 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
1722 (check): Update the message.
1723 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1724
1725 * Makefile.in: Convert comments to makefile format.
1726
1727 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1728 (config.h) [MSDOS]: Do not include.
1729
17302010-05-10 Glenn Morris <rgm@gnu.org>
1731
1732 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1733 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1734 (NOT_C_CODE): Remove, no longer used.
1735 (config.h) [!MSDOS]: No longer include.
1736 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1737
1738 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1739
17402010-05-08 Glenn Morris <rgm@gnu.org>
1741
1742 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1743
17442010-05-07 Chong Yidong <cyd@stupidchicken.com>
1745
1746 * Version 23.2 released.
1747
17482010-05-06 Glenn Morris <rgm@gnu.org>
1749
1750 * Makefile.in: Minimize blessmail-related cpp usage.
1751 (BLESSMAIL_TARGET): New variable.
1752 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1753 (blessmail): Always define this rule.
1754 (need-blessmail): New rule, split out from maybe-blessmail.
1755 (maybe-blessmail): Use BLESSMAIL_TARGET.
1756
17572010-05-04 Glenn Morris <rgm@gnu.org>
1758
1759 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1760 @c_switch_system@, @c_switch_machine@.
1761
17622010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1763
1764 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1765
17662010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1767
1768 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1769 non-cpp section.
1770
17712010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1772
1773 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1774 autoconf, not cpp.
1775 (ALL_CFLAGS): Use them as make variables.
1776
17772010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
1778
1779 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1780 for macros for nmake compatibility.
1781
17822010-04-03 Juanma Barranquero <lekktu@gmail.com>
1783
1784 Add stubs for Windows, required after CVE-2010-0825 change.
1785 * ntlib.c (getgid, getegid, setegid): New stubs.
1786 * ntlib.h (getgid, getegid, setegid): Declare them.
1787
17882010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1789
1790 * movemail.c (main): Check return values of setuid.
1791 Avoid possibility of symlink attack when movemail is setgid mail
1792 (CVE-2010-0825).
1793
17942010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1795
1796 Remove extern errno declarations.
1797 * movemail.c:
1798 * etags.c:
1799 * emacsclient.c: Remove extern errno declarations.
1800
18012010-03-20 Glenn Morris <rgm@gnu.org>
1802
1803 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1804 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1805 defining these as Makefile variables.
1806 (LIBS_MOVE): Add LIBS_MAIL into this.
1807 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1808
18092010-03-18 Glenn Morris <rgm@gnu.org>
1810
1811 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1812 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1813 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1814
18152010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1816
1817 * Makefile.in (uninstall): Handle the case where archlibdir does not
1818 exist. (Bug#5720)
1819
18202010-03-10 Chong Yidong <cyd@stupidchicken.com>
1821
1822 * Branch for 23.2.
1823
18242010-02-20 Kevin Ryde <user42@zip.com.au>
1825
1826 * etags.c (Scheme_functions): Don't loop past a null character
1827 (Bug#5601).
1828
18292010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
1830
1831 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
1832
18332010-01-11 Glenn Morris <rgm@gnu.org>
1834
1835 * ebrowse.c (version):
1836 * etags.c (print_version):
1837 * rcs2log (Copyright): Set copyright year to 2010.
1838
18392009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1840
1841 * makefile.w32-in: Use parenthesis for macros for nmake
1842 compatibility.
1843
18442009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
1845
1846 * etags.c (absolute_filename): Use memmove if we have it for
1847 overlapping copy.
1848
18492009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1850
1851 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1852
18532009-10-15 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * .gitignore: Add echolisp.tmp.
1856
18572009-10-15 Glenn Morris <rgm@gnu.org>
1858
1859 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1860
1861 * makefile.w32-in (echolisp): New rule.
1862 (clean): Delete echolisp.tmp.
1863
18642009-09-27 Eli Zaretskii <eliz@gnu.org>
1865
1866 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1867 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1868 be consistent with src/Makefile.in.
1869
18702009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * update-game-score.c (main): Sort scores before trimming them,
1873 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1874
18752009-09-09 Glenn Morris <rgm@gnu.org>
1876
1877 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1878 before creating directories and game score files.
1879
18802009-08-19 Glenn Morris <rgm@gnu.org>
1881
1882 * cvtmail.c: Remove file.
1883 * Makefile.in (UTILITIES): Remove cvtmail.
1884 (cvtmail${EXEEXT}): Remove.
1885
18862009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1887
1888 * b2m.c (main): Ensure that each message ends in two newlines.
1889
18902009-07-03 Jason Rumney <jasonr@gnu.org>
1891
1892 * emacsclient.c (w32_set_user_model_id): Use standard types.
1893
18942009-07-03 Eli Zaretskii <eliz@gnu.org>
1895
1896 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1897 src/Makefile.in did.
1898
18992009-06-30 Jason Rumney <jasonr@gnu.org>
1900
1901 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1902 that is already loaded.
1903 (w32_set_user_model_id): New function.
1904 (main): Use it to associate emacsclient with emacs (bug#1849).
1905
19062009-06-29 Jim Meyering <meyering@redhat.com>
1907
1908 Remove useless if-before-free test.
1909 * make-docfile.c (scan_lisp_file): Remove useless test.
1910
19112009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1912
1913 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1914
19152009-06-21 Chong Yidong <cyd@stupidchicken.com>
1916
1917 * Branch for 23.1.
1918
19192006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1920
1921 * mac-fix-env.m:
1922 * Makefile.in (mac-fix-env): Remove.
1923
19242006-06-06 David Reitter <david.reitter@gmail.com>
1925
1926 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1927
19282009-04-20 Juanma Barranquero <lekktu@gmail.com>
1929
1930 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1931 spacing is required in the message output, as the comment suggests).
1932
19332009-04-20 Chong Yidong <cyd@stupidchicken.com>
1934
1935 * emacsclient.c (print_help_and_exit): Clarify argument placement
1936 for short option names.
1937
19382009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1939
1940 * emacsclient.c (print_help_and_exit): Fix typo.
1941
19422009-03-21 Eli Zaretskii <eliz@gnu.org>
1943
1944 * ntlib.c (setuid): Argument is now unsigned.
1945 (getuid): Return value is now unsigned.
1946 (getpwuid): Argument is now unsigned.
1947 (fchown): UID and GID arguments are now unsigned.
1948
1949 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1950 (getuid): Return value is now unsigned.
1951 (setuid): Argument is now unsigned.
1952 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1953
19542009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * emacsclient.c (main): Revert part of last change, so
1957 drive-relative file names again work on Windows.
1958
19592009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1962 names without prepending cwd to them, so Emacs uses its customary
1963 rules to determine how to interpret the file name.
1964
19652009-03-04 Glenn Morris <rgm@gnu.org>
1966
1967 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1968
19692009-02-13 Sven Joachim <svenjoac@gmx.de>
1970
1971 * movemail.c: Include time.h unconditionally.
1972 (main): Use time_t for time variables.
1973
19742009-02-11 Glenn Morris <rgm@gnu.org>
1975
1976 * movemail.c (mbx_delimit_begin): Also write the current time.
1977
19782009-02-10 Glenn Morris <rgm@gnu.org>
1979
1980 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1981 than Babyl format. (Bug#2196)
1982
19832009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1984
1985 * emacsclient.c (decode_options): Use a dummy display name under
1986 NS/Cocoa.
1987
19882009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1989
1990 * ebrowse.c (matching_regexp): Fix OB1 error.
1991
19922009-01-05 Glenn Morris <rgm@gnu.org>
1993
1994 * ebrowse.c (version):
1995 * etags.c (print_version):
1996 * rcs2log (Copyright): Update copyright for 2009.
1997
19982009-01-01 Chong Yidong <cyd@stupidchicken.com>
1999
2000 * movemail.c (main): Fatal if hard links cannot be created.
2001
20022008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
2003
2004 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
2005 checking.
2006
20072008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
2008
2009 * emacsclient.c: Include syswait.h instead of sys/types.h.
2010
20112008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
2012
2013 * emacsclient.c (WCONTINUED): New compatibility define
2014 for older systems.
2015
20162008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2017
2018 * emacsclient.c (main): Fix previous change.
2019
20202008-12-10 Juanma Barranquero <lekktu@gmail.com>
2021
2022 * emacsclient.c (main): Fix mindless breakage where emacsclient
2023 does not work *at all* on Windows, even if it *can* connect.
2024
20252008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2026
2027 * emacsclient.c (EMACS_DAEMON): Remove definition.
2028 (decode_options): Do not allow an empty alternate_editor on
2029 WINDOWSNT.
2030 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
2031 (start_daemon_and_retry_set_socket): Likewise.
2032 (main): Fail in case of not being able to connect.
2033
20342008-12-10 Juanma Barranquero <lekktu@gmail.com>
2035
2036 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
2037 Changes when EMACS_DAEMON is not defined:
2038 (print_help_and_exit): Don't add daemon information to help.
2039 (start_daemon_and_retry_set_socket): Make a no-op.
2040 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2041
20422008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2043
2044 * emacsclient.c (print_help_and_exit): Describe what an empty
2045 string argument does for --alternate-editor.
2046 (set_socket): Make it possible to not exit in case of an error.
2047 (start_daemon_and_retry_set_socket): New function.
2048 (main): Use it. Restore the NULL value for socket_name and
2049 server_file after the set_socket call.
2050
20512008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2052
2053 * emacsclient.c: Include <arpa/inet.h>.
2054
20552008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
2056
2057 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
2058
20592008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
2060
2061 * etags.c (add_regex): Pass correct length to re_compile_pattern.
2062
20632008-11-02 Chong Yidong <cyd@stupidchicken.com>
2064
2065 * emacsclient.c (window_system): Delete redundant variable.
2066 (decode_options): Don't use it.
2067 (find_tty): New function.
2068 (main): Use find_tty, and don't use window_system.
2069
20702008-11-01 Eli Zaretskii <eliz@gnu.org>
2071
2072 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
2073 `ttyname'.
2074 (w32_getenv): Treat $TERM specially: if not found in the
2075 environment and in the Registry, return "w32console".
2076 (ttyname) [WINDOWSNT]: New function.
2077
20782008-10-31 Andreas Schwab <schwab@suse.de>
2079
2080 * emacsclient.c (main): Don't force sending tty when in eval mode.
2081
20822008-10-30 Chong Yidong <cyd@stupidchicken.com>
2083
2084 * emacsclient.c (main): If using the current frame, send tty
2085 information to Emacs in case daemon mode needs to occupy this tty.
2086
20872008-10-29 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * emacsclient.c (EXTRA_SPACE): New macro.
2090 (get_server_config, set_local_socket): Use it.
2091
2092 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
2093 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2094
20952008-10-29 Ulrich Mueller <ulm@gentoo.org>
2096
2097 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
2098 instead of hardcoded /tmp.
2099
21002008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
2101
2102 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
2103 (decode_options): Use getopt_long_only.
2104
21052008-09-30 Eli Zaretskii <eliz@gnu.org>
2106
2107 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
2108 codepage.elc.
2109
21102008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
2111
2112 * emacsclient.c (main): Use stdout rather than stdin to obtain the
2113 terminal (bug#427).
2114
21152008-08-25 Francesco Potortì <pot@gnu.org>
2116
2117 * etags.c (main): Do not use static space for the tagfile string.
2118
21192008-08-17 Francesco Potortì <pot@gnu.org>
2120
2121 * etags.c (main): Use canonicalize_filename on tags file name.
2122 (relative_filename): Revert 3.85: do not collapse slashes here.
2123 (absolute_dirname): Remove useless call to canonicalize_filename.
2124 (canonicalize_filename): Collapse multiple slashes here.
2125
21262008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2127
2128 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
2129 Do not special case for NS_IMPL_COCOA.
2130
21312008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
2132
2133 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
2134 (.m.o): Dispense with GNUstep-specific flags.
2135
21362008-08-05 Ulrich Mueller <ulm@gentoo.org>
2137
2138 * pop.c (socket_connection): Add conditionals for
2139 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
2140 compilation with MIT Kerberos and Heimdal, respectively.
2141
21422008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
2143
2144 * etags.c:
2145 * emacsclient.c: Remove VMS support.
2146
21472008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2148
2149 Remove support for Mac Carbon.
2150 * makefile.w32-in:
2151 * emacsclient.c: Remove code for Carbon.
2152
21532008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
2154
2155 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
2156
21572008-07-17 Andreas Schwab <schwab@suse.de>
2158
2159 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
2160 (LIB_STANDARD_LIBSRC): Don't define.
2161 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
2162
21632008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2164
2165 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
2166 NS_IMPL_COCOA.
2167
21682008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2169
2170 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
2171 Remove, unused.
2172
21732008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
2174
2175 * .cvsignore: Add mac-fix-env.
2176 * mac-fix-env.m: New file, automatically update
2177 ~/.MacOSX/environment.plist on OS X systems to expose environment
2178 variables inside Emacs started from icon.
2179 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
2180 programs to build.
2181 * make-docfile.c: Add .m to list of file extensions.
2182
21832008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
2184
2185 * movemail.c (main): Use int instead of WAITTYPE.
2186
21872008-07-05 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
2190 Remove vmsproc.el and vms-patch.el.
2191
21922008-06-26 Juanma Barranquero <lekktu@gmail.com>
2193
2194 * makefile.w32-in (obj): Remove w32bdf.o.
2195
21962008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
2197
2198 * fakemail.c: Remove references to obsolete variables.
2199
22002008-06-02 Jim Meyering <meyering@redhat.com>
2201
2202 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
2203
2204 Remove useless if-before-free tests.
2205 * ebrowse.c (xfree): Likewise.
2206 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
2207 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
2208 * pop.c (pop_quit): Likewise.
2209
22102008-05-30 Juanma Barranquero <lekktu@gmail.com>
2211
2212 * makefile.w32-in (lisp2): Add minibuffer.elc.
2213
22142008-05-29 Tom Tromey <tromey@redhat.com>
2215
2216 * etags.c (relative_filename): Treat "///" like "/" in filenames.
2217
22182008-05-09 Eli Zaretskii <eliz@gnu.org>
2219
2220 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
2221 (IS_DIRECTORY_SEP): New macro.
2222 (convert_time, is_exec, stat): New functions.
2223
22242008-05-08 Eli Zaretskii <eliz@gnu.org>
2225
2226 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
2227
22282008-05-03 Eli Zaretskii <eliz@gnu.org>
2229
2230 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
2231 corresponding change in src/Makefile.in.
2232
22332008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
2234
2235 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
2236
22372008-04-10 Jason Rumney <jasonr@gnu.org>
2238
2239 * makefile.w32-in (CLIENTRES): New variable and target.
2240 (TRES): Remove.
2241 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
2242
22432008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2246
22472008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
2248
2249 * vcdiff: Use mktemp (CVE-2008-1694).
2250
22512008-04-09 Jason Rumney <jasonr@gnu.org>
2252
2253 * makefile.w32-in (distclean, maintainer-clean): New targets.
2254
22552008-03-13 Glenn Morris <rgm@gnu.org>
2256
2257 * makefile.w32-in (VERSION): Set to 23.0.60.
2258
22592008-03-04 Juanma Barranquero <lekktu@gmail.com>
2260
2261 * .cvsignore: Add oo.
2262
22632008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
2264
2265 * etags.c (Perl_functions): Fix call to skip_spaces.
2266
22672008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
2268
2269 * Makefile.in (NO_SHORTNAMES):
2270 * emacsclient.c (NO_SHORTNAMES):
2271 * fakemail.c (NO_SHORTNAMES):
2272 * make-docfile.c (NO_SHORTNAMES):
2273 * movemail.c (NO_SHORTNAMES):
2274 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
2275
22762008-02-23 Jason Rumney <jasonr@gnu.org>
2277
2278 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
2279 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
2280 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
2281 (lisp2): Add new languages.
2282 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
2283
22842008-02-22 Juanma Barranquero <lekktu@gmail.com>
2285
2286 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
2287 malayalam.el, and tamil.el. Add sinhala.el.
2288
22892008-02-20 Juanma Barranquero <lekktu@gmail.com>
2290
2291 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2292 where NAME is relative to DRIVE'S current directory.
2293
22942008-02-15 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2297
22982008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
2299
2300 * fakemail.c: Undo previous change.
2301
23022008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2303
2304 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2305 (main): Replace MAIL_PROGRAM_NAME with its value.
2306
2307 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
2308
23092008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * emacsclient.c (decode_options): Pass --display implicitly if -c
2312 is specified. Only set tty if -t or -c is specified.
2313
23142008-02-04 Jason Rumney <jasonr@gnu.org>
2315
2316 * makefile.w32-in (lisp1): Use (), not {}.
2317
23182008-02-04 Tom Tromey <tromey@redhat.com>
2319
2320 * etags.c: Add "GTY" as synonym for __attribute__.
2321 Update gperf output.
2322
23232008-02-01 Jason Rumney <jasonr@gnu.org>
2324
2325 * makefile.w32-in (obj): Sync with src/Makefile.in.
2326 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2327 (WINNT_SUPPORT): Add term/w32-win.elc.
2328 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2329
23302008-02-01 Jason Rumney <jasonr@gnu.org>
2331
2332 * makefile.w32-in (obj): Add font.o and w32font.o.
2333
23342008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
2335
2336 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
2337 utf-8.elc, and latin-*.el.
2338
23392008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
2342 Allow the -d option under w32 again, for those rare cases where it
2343 actually does make sense.
2344
23452008-01-25 Juanma Barranquero <lekktu@gmail.com>
2346
2347 * emacsclient.c (set_tcp_socket): Don't send "\n" after
2348 the authentication string; there's no need to haste.
2349
23502008-01-22 Chong Yidong <cyd@stupidchicken.com>
2351
2352 * pop.c (pop_stat, pop_last): Fix last fix.
2353
23542008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2355
2356 * movemail.c: Remove references to XENIX.
2357
23582008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2359
2360 * movemail.c:
2361 * make-docfile.c: Remove reference to symbols defined by systems
2362 not supported anymore: MAC_OS8, XENIX and STRIDE.
2363
23642008-01-12 Eli Zaretskii <eliz@gnu.org>
2365
2366 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2367 of DISPLAY in the environment. Don't support -d.
2368 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2369 (longopts) [WINDOWSNT]: Remove --display.
2370
23712008-01-10 Chong Yidong <cyd@stupidchicken.com>
2372
2373 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2374 conversion. Mistakes spotted by Nico Golde.
2375
23762008-01-09 Glenn Morris <rgm@gnu.org>
2377
2378 * emacsclient.c: Add missing final newlines to message calls.
2379
23802008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
2381
2382 * emacsclient.c (set_socket): Add final newline to socket error message.
2383
23842008-01-04 Glenn Morris <rgm@gnu.org>
2385
2386 * ebrowse.c (version) <emacs_copyright>: New variable.
2387 Just use current year for copyright.
2388
2389 * etags.c (print_version):
2390 * rcs2log (Copyright): Update to 2008.
2391
23922007-11-28 Jason Rumney <jasonr@gnu.org>
2393
2394 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2395
23962007-11-27 Jan Djärv <jan.h.d@swipnet.se>
2397
2398 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2399
24002007-11-19 Jan Djärv <jan.h.d@swipnet.se>
2401
2402 * pop.c (socket_connection): Move realhost out of #ifdefs.
2403 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2404
24052007-11-18 Jan Djärv <jan.h.d@swipnet.se>
2406
2407 * pop.c (socket_connection): Use getaddrinfo if available.
2408
24092007-11-22 Francesco Potortì <pot@gnu.org>
2410
2411 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
2412 as the defaults in ctags are different from etags.
2413
24142007-11-15 Francesco Potortì <pot@gnu.org>
2415
2416 * etags.c: Make prototypes for extern definitions, and add all
2417 that are needed to quench warnings on 64-bit.
2418 (main): Use the same defaults for ctags as for etags: find
2419 typedefs, structure tags, macro constants, enum constants, struct
2420 members and global variables.
2421 (make_C_tag) [DEBUG]: Add debugging printout.
2422 (C_entries): In case '}' decrement bracelev before testing it.
2423
24242007-11-15 Masatake YAMATO <jet@gyve.org>
2425
2426 * etags.c (C_entries): In case '}', set fvdef to fvnone
2427 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2428
24292007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
2430
2431 * makefile.w32-in (obj): Remove sunfns.o.
2432
24332007-10-28 Juanma Barranquero <lekktu@gmail.com>
2434
2435 * makefile.w32-in (obj): Remove abbrev.o.
2436
24372007-10-26 Juanma Barranquero <lekktu@gmail.com>
2438
2439 * emacsclient.c: Add a wrapper for getenv so it also checks the
2440 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
2441 Code partially based on w32_get_resource and init_environment (w32.c).
2442 (egetenv): New wrapper for getenv.
2443 (get_current_dir_name, decode_options, get_server_config)
2444 (set_local_socket, set_socket, main): Use egetenv, not getenv.
2445 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2446
24472007-10-25 Jason Rumney <jasonr@gnu.org>
2448
2449 * emacsclient.c (sock_err_message): New function.
2450 (set_tcp_socket): Use it.
2451
24522007-10-09 Juanma Barranquero <lekktu@gmail.com>
2453
2454 * emacsclient.c (print_help_and_exit): Fix space to improve
2455 alignment in output messages.
2456
24572007-09-27 Jason Rumney <jasonr@gnu.org>
2458
2459 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2460
2461 * emacsclient.c (w32_window_app): Init common controls when windowed.
2462
24632007-09-21 Glenn Morris <rgm@gnu.org>
2464
2465 * emacstool.c: Remove file.
2466 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2467 Delete targets built from emacstool.
2468
24692007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * emacsclient.c (decode_options): -t implies -c.
2472
24732007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2476 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2477 (main_argc): Remove.
2478 (strprefix): Use strncmp.
2479
24802007-09-20 Jason Rumney <jasonr@gnu.org>
2481
2482 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2483
24842007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * emacsclient.c (current_frame): Change the default.
2487 (longopts): Replace --current-frame by --create-frame.
2488 (decode_options): Reverse the meaning of -c.
2489 (print_help_and_exit): Update help text accordingly.
2490 (main): Remove the -version and -good-version messages.
2491
24922007-09-12 Glenn Morris <rgm@gnu.org>
2493
2494 * Makefile.in (SOURCES, unlock, relock): Delete.
2495
24962007-08-29 Glenn Morris <rgm@gnu.org>
2497
2498 * makefile.w32-in (VERSION): Increase to 23.0.50.
2499
25002007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2501
2502 * emacsclient.c (w32_execvp): Move definition before use.
2503 (decode_options): Don't use a tty on mac carbon or windows.
2504
25052007-08-29 Jason Rumney <jasonr@gnu.org>
2506
2507 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2508 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
2509 (main): Expand removed macros inline.
2510 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
2511 option.
2512 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2513
25142007-08-29 Károly Lőrentey <lorentey@elte.hu>
2515
2516 * emacsclient.c (signal.h): New include.
2517 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2518 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2519 Copy definitions here from src/lisp.h.
2520 (main_argc, main_argv, current_frame, window_system, tty): New vars.
2521 (longopts): Add tty, current-frame.
2522 (xmalloc, xstrdup): New functions.
2523 (get_current_dir_name): New function, copied from src/sysdep.c.
2524 (decode_options): Set display from environment. Add tty and
2525 current_frame options. Make --no-wait imply --current-frame,
2526 except when it is the only option given. Make sure no frame is
2527 opened when --current-frame is set.
2528 (print_help_and_exit): Document tty and current-frame options.
2529 (fail): Change arguments to void.
2530 (main): When sockets are not defined, set main_argc, main_argv,
2531 and call fail() with no arguments.
2532 (emacs_socket): New variable (moved out from main `s').
2533 (quote_file_name): Rename to quote_argument.
2534 (quote_argument): New name for old quote_file_name.
2535 (unquote_argument, strprefix, pass_signal_to_emacs)
2536 (handle_sigcont, handle_sigtstp, init_signals): New functions.
2537 (set_local_socket): Initialize saved_errno to 0. If socket-name
2538 is too long, call `fail' rather than `exit'.
2539 (main): Doc update. Set main_argc, main_argv. New var `str'.
2540 Don't need a filename or argument if tty or window_system set.
2541 Call fail with no arguments. Use get_current_dir_name to send
2542 over the current directory. Send version number to Emacs for
2543 verification. If tty is set, check TERM, and pass name and type
2544 to Emacs. Pass window_system to Emacs. Move sending of eval to
2545 optind loop. Send -position, -file to Emacs. Call fsync after
2546 fflush. Check for a client/server version match.
2547 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2548 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
2549 close the connection for us. When creating a new frame, send
2550 environment and pwd to Emacs. Send current-frame to Emacs.
2551
25522007-08-25 Eli Zaretskii <eliz@gnu.org>
2553
2554 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2555 Prepend "-" to the command, in case srcdir=. and file is copied
2556 into itself.
2557
25582007-07-25 Glenn Morris <rgm@gnu.org>
2559
2560 * Relicense all FSF files to GPLv3 or later.
2561
2562 * COPYING: Switch to GPLv3.
2563
25642007-07-17 Francesco Potortì <pot@gnu.org>
2565
2566 * etags.c (C_entries): Reset the fvdef machine when out of function.
2567 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2568 (print_help): Use it in if() rather than #if.
2569 (print_help): Conditionally print help about --no-line-directive.
2570
25712007-07-16 Eli Zaretskii <eliz@gnu.org>
2572
2573 * makefile.w32-in (clean): Don't delete *~.
2574
25752007-06-07 Glenn Morris <rgm@gnu.org>
2576
2577 * etags.c (print_version): Add `emacs_copyright' string, for
2578 easier automatic updating.
2579
25802007-05-18 Francesco Potortì <pot@gnu.org>
2581
2582 * etags.c: Extern definitions of some more pointer functions for
2583 standalone compilation, especially important for 64bit platforms.
2584 (main, print_help): --members is now the default for etags.
2585 (C_entries): Parse start of C comment as a space == end of token.
2586 This is not necessary for C++ comment, already parsed as newline.
2587
25882007-04-26 Glenn Morris <rgm@gnu.org>
2589
2590 * makefile.w32-in (VERSION): Increase to 22.1.50.
2591
25922007-06-02 Chong Yidong <cyd@stupidchicken.com>
2593
2594 * Version 22.1 released.
2595
25962007-02-26 Francesco Potortì <pot@gnu.org>
2597
2598 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2599
26002007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2601
2602 * Makefile.in (EMACS, EMACSOPT): New variables.
2603 (blessmail): Use `--no-site-file' when compiling.
2604
26052007-02-05 Francesco Potortì <pot@gnu.org>
2606
2607 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2608 (main): Now --members is the default for etags, not for ctags yet.
2609
26102007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
2611
2612 * etags.c (gperf, in_word_set): Change attribute for Java to
2613 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
2614 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
2615 import, package, extends, implements and interface to be treated
2616 specially for all kinds of C-style files, not just Java files.
2617
26182007-01-02 Francesco Potortì <pot@gnu.org>
2619
2620 * etags.c (longopts): New undocumented option --no-duplicates.
2621 (no_duplicates): Static variables for the above option.
2622 (print_help): Do not print help for --no-warn, now undocumented.
2623 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2624 (main): Pass the -u option to sort in ctags mode.
2625
26262006-12-28 Francesco Potortì <pot@gnu.org>
2627
2628 * etags.c (readline): When creating a relative file name from a
2629 #line directive, leave the file name alone. The previous
2630 behavior was to make it relative to the tags file directory,
2631 under the hypothesis that the #line directive file name was
2632 relative to the directory of the tagged file. That hypothesis is
2633 wrong with Cpp and Lex.
2634 (Makefile_targets): Do not include spaces in tag names.
2635
26362006-12-22 Eli Zaretskii <eliz@gnu.org>
2637
2638 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2639 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2640 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2641 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2642 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2643 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2644 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2645 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
2646 (clean): Delete stamp_BLD.
2647
26482006-12-20 Francesco Potortì <pot@gnu.org>
2649
2650 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2651
26522006-12-18 Juanma Barranquero <lekktu@gmail.com>
2653
2654 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2655 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2656 (main) [WINDOWSNT]: Remove code to release the focus; call
2657 w32_give_focus instead.
2658
26592006-12-15 Juanma Barranquero <lekktu@gmail.com>
2660
2661 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2662 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2663 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2664 Suggestions and comment by Eli Zaretskii.
2665
26662006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
2667
2668 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
2669 Use $(USER32) for compatibility with Visual Studio .NET 2003.
2670
26712006-11-30 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * emacsclient.c (emacs_pid): New variable.
2674 (message): Remove leftover code.
2675 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
2676 focus yet; emacsclient can still display an informational message
2677 before sending requests to Emacs.
2678 (main): Allow Emacs to grab the focus. Simplify message() call.
2679
26802006-11-30 Michael Mauger <mmaug@yahoo.com>
2681
2682 * emacsclient.c (message): Make sure the message is properly
2683 written even if it contains printf escapes, and flush the result.
2684 (set_tcp_socket): Make the message for non-local connections
2685 informational rather than an error.
2686
26872006-11-28 Kevin Ryde <user42@zip.com.au>
2688
2689 * etags.c (readline): Check for double quote after #line.
2690
26912006-11-28 Jan Djärv <jan.h.d@swipnet.se>
2692
2693 * etags.c (readline): sscanf could in principle return 2.
2694
26952006-11-28 Francesco Potortì <pot@gnu.org>
2696
2697 * etags.c (readline): lno is unsigned.
2698 (TeX_commands): Use p++ (rather than *p++) to increment p.
2699 (Lua_functions): Explicitly discard LOOKING_AT's return value.
2700
27012006-11-27 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
2704 ($(TRES)): New rule (copied from nt/makefile.w32-in).
2705 ($(BLD)/emacsclientw.exe): Add dependency.
2706
27072006-11-27 Eli Zaretskii <eliz@gnu.org>
2708
2709 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
2710
27112006-11-25 Juanma Barranquero <lekktu@gmail.com>
2712
2713 * makefile.w32-in (VERSION): New macro.
2714 (ECLIENT_CFLAGS): Add -DVERSION.
2715
27162006-11-25 Jason Rumney <jasonr@gnu.org>
2717
2718 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
2719
27202006-11-24 Michael Mauger <mmaug@yahoo.com>
2721
2722 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
2723 file names with forward slashes.
2724
27252006-11-23 Juanma Barranquero <lekktu@gmail.com>
2726
2727 * emacsclient.c (print_help_and_exit): Tweak message contents and
2728 tabs/spaces to improve alignment in message boxes.
2729
27302006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2731
2732 * emacsclient.c: Include <stdarg.h>.
2733 [WINDOWSNT]: Include <windows.h>.
2734 (w32_check_console_app): New function.
2735 (message): New function.
2736 (decode_options, print_help_and_exit, fail, main)
2737 (initialize_sockets, get_server_config, set_tcp_socket)
2738 (set_local_socket, set_socket): Use message().
2739
27402006-11-13 Jason Rumney <jasonr@gnu.org>
2741
2742 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2743 HAVE_INET_SOCKETS.
2744
27452006-11-13 Juanma Barranquero <lekktu@gmail.com>
2746
2747 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2748 ($(BLD)/emacsclientw.exe): New target.
2749 (install): Install emacsclientw.exe.
2750 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2751 (ECLIENT_CFLAGS): Remove redundant flags.
2752
2753 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2754
27552006-11-13 Jason Rumney <jasonr@gnu.org>
2756
2757 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2758
27592006-11-10 David Reitter <david.reitter@gmail.com>
2760
2761 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2762
27632006-11-08 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2766 FARPROC to avoid a compiler warning.
2767
27682006-11-07 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2771 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2772
2773 * emacsclient.c (get_server_config): Extract also the Emacs pid
2774 from the server file. On Windows, try to force the Emacs frame to
2775 the foreground.
2776
27772006-11-06 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
2780 option --socket-name.
2781 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2782 command line options.
2783 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
2784 (fail): Don't check for missing arguments, it is now done in set_socket.
2785 (file_name_absolute_p): New function (loosely based on the one in
2786 fileio.c).
2787 (initialize_sockets): Don't check for duplicate loading of Winsock.
2788 (get_server_config): Only try relative paths in the default
2789 directory locations.
2790 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2791 a remote server.
2792 (set_socket): Call INITIALIZE(). Search explicit command-line
2793 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2794 socket paths, before trying the alternate editor.
2795 (main): Use file_name_absolute_p.
2796
27972006-11-04 Eli Zaretskii <eliz@gnu.org>
2798
2799 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2800 file if it doesn't already exist.
2801
28022006-11-03 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2805 more than once.
2806
28072006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2808
2809 * Makefile.in (INSTALL_SCRIPT): New macro.
2810 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2811
28122006-11-02 Juanma Barranquero <lekktu@gmail.com>
2813
2814 * grep-changelog: When called with no arguments (not even a
2815 filter), show help instead of blindingly dumping every single
2816 ChangeLog available. Doc fix. Update version.
2817
28182006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2819
2820 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2821 [!WINDOWSNT]: Include <netinet/in.h> if available.
2822 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2823 (IOCTL, IOCTL_BOOL_ARG): Remove.
2824 (set_tcp_socket): Don't set the socket in blocking mode.
2825 Remove c_arg.
2826
28272006-11-01 Juanma Barranquero <lekktu@gmail.com>
2828
2829 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2830 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2831
28322006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
2833
2834 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2835 (close_winsock): Declare as __cdecl.
2836
28372006-10-31 Jan Djärv <jan.h.d@swipnet.se>
2838
2839 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2840 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2841 to set the socket in non-blocking mode.
2842
28432006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2844
2845 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
2846 (INVALID_SOCKET): Define.
2847 (initialize_sockets): Put #endif at the right place.
2848 (set_local_socket): Use progname, not argv[0].
2849
28502006-10-31 Juanma Barranquero <lekktu@gmail.com>
2851
2852 * makefile.w32-in (ALL): Add emacsclient.
2853 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2854 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2855 (install): Install emacsclient.
2856
2857 * emacsclient.c: Add support for TCP sockets.
2858 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2859 (INITIALIZE): New macros.
2860 (IOCTL_BOOL_ARG): New typedef.
2861 (server_file): New global variable.
2862 (longopts): New option --server-file.
2863 (decode_options): Process new option --server-file and environment
2864 variable EMACS_SERVER_FILE.
2865 (print_help_and_exit): Document new option.
2866 (fail): If no connection available and no alternate editor,
2867 suggest using options to make them explicit.
2868 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2869 (send_buffer, sblen): New variables.
2870 (send_to_emacs): New function to buffer output and send it with `send'.
2871 (quote_file_name): Use SEND_STRING.
2872 (close_winsock, initialize_sockets): New functions to load and
2873 unload Winsock.
2874 (get_server_config, set_tcp_socket): New functions to create and
2875 set up TCP sockets.
2876 (set_local_socket): New function to create and set up Unix
2877 socket (code moved from previous implementation).
2878 (set_socket): New function to choose between TCP and Unix sockets.
2879 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2880 set_local_socket. Use set_socket. Get answers from server.el with
2881 recv(), not file stream functions.
2882
28832006-10-09 Eli Zaretskii <eliz@gnu.org>
2884
2885 * makefile.w32-in (../src/config.h): Fix error message.
2886
28872006-09-30 Eli Zaretskii <eliz@gnu.org>
2888
2889 * .cvsignore: Add blessmail.
2890
28912006-09-15 Jay Belanger <belanger@truman.edu>
2892
2893 * COPYING: Replace "Library Public License" by "Lesser Public
2894 License" throughout.
2895
28962006-08-09 Jan Djärv <jan.h.d@swipnet.se>
2897
2898 * etags.c (readline): Expect sscanf returns >= 1.
2899 (readline): Change position on %n and \" in sscanf.
2900
29012006-08-07 Masatake YAMATO <jet@gyve.org>
2902
2903 * etags.c (readline): Expect sscanf returns 2, not 1.
2904
29052006-08-07 Masatake YAMATO <jet@gyve.org>
2906
2907 * etags.c (TEX_mode): Check getc returns EOF.
2908 File ended without newline causes infinite loop.
2909
29102006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
2911
2912 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
2913
29142006-07-30 Francesco Potortì <pot@gnu.org>
2915
2916 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2917 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2918 (Objc_suffixes): Suggest using --lang=c for full help.
2919 (C_entries): Initialize savetoken to 0 to shut up the compiler.
2920
29212006-07-20 Andreas Schwab <schwab@suse.de>
2922
2923 * fakemail.c (fatal): Drop second parameter and treat first
2924 parameter as a plain string. Callers changed.
2925
29262006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2927
2928 * ebrowse.c (usage, version): Mark as NO_RETURN.
2929
2930 * emacsclient.c (print_help_and_exit): Likewise.
2931
29322006-07-10 Francesco Potortì <pot@gnu.org>
2933
2934 * etags.c (absolute_filename): Free unused space (cosmetic change).
2935 (in_word_set): In C, also tag #undef symbols.
2936
29372006-06-09 Eli Zaretskii <eliz@gnu.org>
2938
2939 * yow.c: Remove file.
2940
2941 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2942
2943 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2944 yow${EXEEXT}: Remove target.
2945
29462006-06-04 Masatake YAMATO <jet@gyve.org>
2947
2948 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
2949 doesn't exist, is not seekable, not is failed in ftall.
2950
29512006-06-03 Eli Zaretskii <eliz@gnu.org>
2952
2953 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2954 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2955 ($(BLD)/test-distrib.exe): New targets.
2956 (sorted-doc, digest-doc, test-distrib): New targets.
2957 (install): Install sorted-doc.exe and digest-doc.exe.
2958 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2959
2960 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2961 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2962 terminal device.
2963
2964 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2965 [WINDOWSNT] <top level>: Don't redeclare malloc.
2966 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2967 terminal device.
2968 (main): Initialize bp, to avoid compiler warnings.
2969
2970 * makefile.w32-in: Delete traces of leditcfns.c.
2971
2972 * leditcfns.c: Remove file.
2973
29742006-05-23 Francesco Potortì <pot@gnu.org>
2975
2976 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2977 Add comments explaining why the "kpop" service is never used.
2978
29792006-05-13 Eli Zaretskii <eliz@gnu.org>
2980
2981 * makefile.w32-in (lisp1): Add fringe.elc.
2982
29832006-05-02 Francesco Potortì <pot@gnu.org>
2984
2985 * etags.c (Perl_functions): Free space allocated for var package.
2986 (Erlang_functions): Possibly free space allocated for var last.
2987 (Prolog_functions): Possibly free space allocated for var last.
2988
29892006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2990
2991 * sorted-doc.c (main): Initialize docs to NULL.
2992
2993 * yow.c (yow): Free buf.
2994
2995 * etags.c: Delete c-indentation-style local variable.
2996
29972006-04-29 Richard Stallman <rms@gnu.org>
2998
2999 * movemail.c (main): Check for negative value from `read'.
3000
3001 * fakemail.c (read_header): Give fatal error if input has no header.
3002
30032006-04-02 Paul Eggert <eggert@cs.ucla.edu>
3004
3005 * b2m.c (main): Don't include <limits.h>.
3006 (TM_YEAR_BASE): New macro.
3007 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
3008 that s/ files can override this. Use the more-conservative range
3009 1000-9999.
3010 (main): Check for asctime returning NULL.
3011 * fakemail.c: Likewise.
3012
30132006-03-27 Paul Eggert <eggert@cs.ucla.edu>
3014
3015 * b2m.c: Include <limits.h>.
3016 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
3017 (main): Check for out-of-range time stamps.
3018 * fakemail.c: Likewise.
3019
30202006-03-18 Andre Spiegel <spiegel@gnu.org>
3021
3022 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
3023 execute $DIFF twice, and once with the wrong options.
3024
30252006-02-23 Claudio Fontana <claudio@gnu.org>
3026
3027 * Makefile.in (install, uninstall): Add DESTDIR variable to
3028 support staged installations.
3029
30302005-12-30 Eli Zaretskii <eliz@gnu.org>
3031
3032 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
3033 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
3034 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
3035 Rearrange the list to be similar to $(shortlisp) in
3036 src/Makefile.in.
3037 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
3038 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
3039 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
3040 src/Makefile.in.
3041
30422005-12-22 Richard M. Stallman <rms@gnu.org>
3043
3044 * Makefile.in (update-game-score.o): Delete spurious final `\'.
3045
30462005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
3047
3048 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
3049 which was never opened.
3050
30512005-10-20 Olli Savia <ops@iki.fi> (tiny change)
3052
3053 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
3054 header files.)
3055
30562005-09-27 Francesco Potortì <pot@gnu.org>
3057
3058 * etags.c: Preliminary Forth support.
3059 (prolog_pr): Cast strlen to int before comparison.
3060 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
3061 the second argument is indeed a literal string.
3062 (main): In append mode, sort the tags file after writing it.
3063
30642005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
3065
3066 * etags.c (longopts, print_help, main): The -a (--append) option
3067 can be used in ctags also; for one, the Linux make file uses it.
3068
30692005-09-20 Chong Yidong <cyd@stupidchicken.com>
3070
3071 * ebrowse.c (add_sym): Compare namespace names instead of
3072 namespace objects. This prevents the parser from incorrectly
3073 treating classes whose superclass is in another namespace.
3074
30752005-09-15 Richard M. Stallman <rms@gnu.org>
3076
3077 * Makefile.in (update-game-score.o): New target.
3078 Compile and link this program separately.
3079 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
3080
30812005-09-11 Jason Rumney <jasonr@gnu.org>
3082
3083 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
3084 message instead.
3085 (../src/paths.h): Remove.
3086
30872005-07-27 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
3090 generated. Ignore also ctags.c and getopt.h.
3091
3092 * makefile.w32-in (clean): Delete getopt.h.
3093 (getopt.h): New rule.
3094
30952005-07-26 Paul Eggert <eggert@cs.ucla.edu>
3096
3097 Merge gnulib getopt implementation into Emacs.
3098
3099 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
3100 (GETOPT_H): New macro, from gnulib.
3101 (getopt.h): New rule, from gnulib.
3102 (GETOPTOBJS): Now autoconfigured.
3103 (GETOPTDEPS): getopt.h is now autoconfigured.
3104 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
3105 (getopt.o): Depend on ${srcdir}/gettext.h.
3106 (movemail.o): Depend on $(GETOPT_H).
3107 * getopt.c, getopt1.c: Sync from gnulib.
3108 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
3109 * getopt.h: Removed (now is getopt_.h).
3110
31112005-07-13 Ken Raeburn <raeburn@gnu.org>
3112
3113 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
3114 (sendline): Add the \r\n to the line in a temporary buffer, and write
3115 it all at once.
3116
31172005-07-04 Lute Kamstra <lute@gnu.org>
3118
3119 Update FSF's address in GPL notices.
3120
31212005-06-13 Eli Zaretskii <eliz@gnu.org>
3122
3123 * makefile.w32-in ($(DOC)): Fix last change.
3124
31252005-06-12 Eli Zaretskii <eliz@gnu.org>
3126
3127 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
3128 temacs.exe, and the preloaded *.elc files. This avoids
3129 unnecessary dumping and DOC rebuilding.
3130
31312005-06-04 Eli Zaretskii <eliz@gnu.org>
3132
3133 * ntlib.h (fileno): Don't define if already defined.
3134
31352005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3136
3137 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
3138 (yow): Use EXIT_FAILURE in case of memory error.
3139
31402005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3141
3142 * make-docfile.c (DIRECTORY_SEP): New macro.
3143 (IS_DIRECTORY_SEP): Use it.
3144
31452005-03-18 Jan Djärv <jan.h.d@swipnet.se>
3146
3147 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
3148
31492005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3150
3151 * make-docfile.c: Undo previous change.
3152
31532005-02-04 Andreas Schwab <schwab@suse.de>
3154
3155 * movemail.c (fatal): Accept third parameter and pass down to error.
3156 (pfatal_with_name): Pass error string as format parameter instead of
3157 as part of format string.
3158 (pfatal_and_delete): Likewise.
3159 (main): Adjust call to fatal.
3160 (xmalloc): Likewise.
3161
31622005-01-29 Richard M. Stallman <rms@gnu.org>
3163
3164 * movemail.c (popmail): Don't use Errmsg as format string.
3165
31662004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3167
3168 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
3169
31702004-12-15 Andreas Schwab <schwab@suse.de>
3171
3172 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
3173 preprocessing to compile time constant.
3174
31752004-11-17 Kim F. Storm <storm@cua.dk>
3176
3177 * etags.c: Undo last change.
3178
31792004-11-09 Kim F. Storm <storm@cua.dk>
3180
3181 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
3182 silence compiler.
3183
3184 * hexl.c (main): Init local var c to silence compiler.
3185
3186 * etags.c (main, consider_token, C_entries): Add misc switch
3187 default targets to silence compiler.
3188
31892004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3190
3191 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
3192 resulting DOC file can be used on Unix/Mac also.
3193
31942004-09-13 Francesco Potortì <pot@gnu.org>
3195
3196 * etags.c (main): When relative file names are given as argument,
3197 make them relative to the current working dir, rather than
3198 relative to the output tags file, if the latter is in /dev.
3199
32002004-09-13 Francesco Potortì <pot@gnu.org>
3201
3202 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
3203 <stdlib.h> is available.
3204 (enum sym_type): New st_C_attribute value for parsing
3205 gcc's __attribute__. Deleted st_C_typespec value.
3206 (gperf, in_word_set): Use gperf 3, options changed. Added the
3207 __attribute__ keyword, removed all the st_C_typespec keywords,
3208 changed attribute for Java to (C_JAVA & !C_PLPL).
3209 (inattribute): New global bool, part of the C state machine.
3210 (cblev): Identifier renamed to bracelev throughout.
3211 (consider_token, C_entries): Numerous changes for making the
3212 parser more robust and adding support for __attribute__.
3213
32142004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
3215
3216 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
3217 Support the Lua scripting language <http://www.lua.org>.
3218
32192004-09-08 Francesco Potortì <pot@gnu.org>
3220
3221 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
3222 for ease of use.
3223
32242004-07-17 Richard M. Stallman <rms@gnu.org>
3225
3226 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
3227
32282004-06-01 Juanma Barranquero <lektu@terra.es>
3229
3230 * makefile.w32-in (obj): Add image.c.
3231
32322004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
3233
3234 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
3235
32362004-05-08 Jason Rumney <jasonr@gnu.org>
3237
3238 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
3239 command-lines.
3240
32412004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3242
3243 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
3244 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
3245 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3246
3247 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
3248 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
3249 * test-distrib.c, update-game-score.c, yow.c: Likewise.
3250
32512004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3252
3253 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
3254
32552004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
3256
3257 * b2m.c (GOOD, BAD): Delete macros. Throughout,
3258 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
3259 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3260
3261 * etags.c: Likewise.
3262
32632004-05-03 Jason Rumney <jasonr@gnu.org>
3264
3265 * makefile.nt: Remove.
3266
32672004-04-26 Eli Zaretskii <eliz@gnu.org>
3268
3269 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
3270 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
3271 instead of a literal '/'.
3272
32732004-04-23 Juanma Barranquero <lektu@terra.es>
3274
3275 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
3276
32772004-04-17 Paul Eggert <eggert@gnu.org>
3278
3279 * rcs2log (Help): Clarify wording of the usage message.
3280 Problem reported by Alan Mackenzie in
3281 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
3282
32832004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * make-docfile.c (xmalloc): Fix return type.
3286 (put_filename): New fun.
3287 (scan_file): Use it.
3288
32892004-03-09 Juanma Barranquero <lektu@terra.es>
3290
3291 * grep-changelog: Changes to support ChangeLog.10+.
3292 (main): Tidy up usage string. Fix "Use of uninitialized value"
3293 warning. Set version to 0.2. Parse the directory listing to get
3294 any ChangeLog.n file, not just 1..9.
3295 (header_match_p, entry_match_p, print_log, parse_changelog):
3296 Remove Perl prototypes (their purpose is to help the parser, which
3297 isn't needed here, not declare arguments).
3298 (parse_changelog): Make --reverse faster on big batches by not
3299 modifying the entries list.
3300
33012004-03-01 Juanma Barranquero <lektu@terra.es>
3302
3303 * makefile.w32-in (obj): Add fringe.c.
3304
33052004-02-14 Paul Eggert <eggert@twinsun.com>
3306
3307 * rcs2log: Work correctly if CVSROOT specifies :fork: or
3308 :local: methods, or omits the colon between the hostname
3309 and the path. Allow :/ in repository path, since CVS does.
3310 Fix typo: "pository" should be set from $CVSROOT, not $repository.
3311 This fixes a bug reported by Wolfgang Scherer in
3312 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3313 along with some related bugs I discovered by inspecting how
3314 CVS itself parses $CVSROOT.
3315
33162004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
3317
3318 * emacsclient.c (decode_options): Fix handling of alternate editor.
3319
33202004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * emacsclient.c (main): Don't use the hostname in the socket name.
3323 Look for relative socket names in the /tmp dir rather than in cwd.
3324
33252004-01-24 Richard M. Stallman <rms@gnu.org>
3326
3327 * emacsclient.c (main): Restore errno from saved_errno,
3328 so the error message comes from socket_status.
3329
33302004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * emacsclient.c (main): Stop if socket name too long.
3333 Only try su-fallback if the socket name was not explicit.
3334 Check socket name length in su-fallback case as well.
3335
33362004-01-08 Andreas Schwab <schwab@suse.de>
3337
3338 * emacsclient.c (main): Save errno from socket_status.
3339
33402004-01-04 Andreas Schwab <schwab@suse.de>
3341
3342 * emacsclient.c (main): Fix socket name when using another user.
3343
33442003-12-27 Paul Eggert <eggert@twinsun.com>
3345
3346 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3347 a tag, and if the user has not specified an rlog option.
3348 Adapted from a suggestion by Martin Stjernholm in
3349 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3350 (Copyright): Update to 2003.
3351
33522003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
3353
3354 * make-docfile.c (main): For return code, no longer special-case VMS.
3355 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3356
33572003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
3358
3359 * emacsclient.c (quote_file_name): Print the result instead of
3360 returning it. Fix the return type accordingly.
3361 (main): With --eval, if no file name, read from stdin.
3362 Quote file names.
3363
33642003-09-10 Richard M. Stallman <rms@gnu.org>
3365
3366 * emacsclient.c (main): Use socket_name.
3367
33682003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
3369
3370 * emacsclient.c (socket_name): New variable.
3371 (longopts, decode_options, print_help_and_exit):
3372 Handle --socket-name argument.
3373
33742003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
3375
3376 * etags.c (consider_token): Check C++ `operator' only when the
3377 token len is long enough.
3378
33792003-08-20 Dave Love <fx@gnu.org>
3380
3381 * Makefile.in: Remove obsolete references to alloca.
3382
33832003-07-29 Ken Brush <ken@wirex.com>
3384
3385 * emacsclient.c (main)
3386 * etags.c (suggest_asking_for_help)
3387 * movemail.c (main): Fix having macros in a printf statement.
3388
33892003-05-31 Juanma Barranquero <lektu@terra.es>
3390
3391 * makefile.w32-in (lisp): Fix references to byte-run.el,
3392 float-sup.el and map-ynp.el, which are now in emacs-lisp.
3393
33942003-05-22 Dave Love <fx@gnu.org>
3395
3396 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3397 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3398
33992003-05-20 Dave Love <fx@gnu.org>
3400
3401 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3402
3403 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3404
34052003-04-27 Oliver Scholz <alkibiades@gmx.de>
3406
3407 * update-game-score.c (read_scores): Fix corruption of scores on read.
3408
34092003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3410
3411 * emacsclient.c (main): Use new safe location for socket.
3412
34132003-03-12 Tom Tromey <tromey@redhat.com>
3414
3415 * emacsclient.c (print_help_and_exit): Print to stdout.
3416 Exit successfully. Added some blank lines for readability.
3417 (decode_options): Don't call print_help_and_exit in default case.
3418 Print version information to stdout.
3419 (main): Don't call print_help_and_exit.
3420
34212003-02-15 Richard M. Stallman <rms@gnu.org>
3422
3423 * cvtmail.c: Cast result of malloc and realloc.
3424 Don't include stdlib.h, because config.h does.
3425 (malloc, realloc): Declarations deleted.
3426
3427 * yow.c (yow): Cast result of malloc and realloc.
3428 (malloc, realloc): Declarations deleted.
3429
34302003-02-11 Juanma Barranquero <lektu@terra.es>
3431
3432 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3433
34342003-02-08 Andreas Schwab <schwab@suse.de>
3435
3436 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3437 instead of the substitution.
3438
34392003-02-04 Richard M. Stallman <rms@gnu.org>
3440
3441 * update-game-score.c (push_score, read_scores): Cast values
3442 of malloc and realloc.
3443 (main, lock_file): Avoid assignment inside if.
3444
34452003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
3446
3447 * Makefile.in: Use @EXEEXT@ for Cygwin.
3448
34492003-01-21 Dave Love <fx@gnu.org>
3450
3451 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3452 column-0 `('.
3453
3454 * yow.c: Don't include string.h.
3455
34562003-01-20 Richard M. Stallman <rms@gnu.org>
3457
3458 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3459 New targets.
3460
34612003-01-06 Kim F. Storm <storm@cua.dk>
3462
3463 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
3464 All uses changed.
3465
34662002-12-18 Andrew Innes <andrewi@gnu.org>
3467
3468 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3469 because GNU make doesn't append when using >> redirection.
3470
34712002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3472
3473 * b2m.pl: Make sure every message ends with a blank line, because
3474 some mbox parsers require a blank line before "From " lines.
3475
34762002-12-08 Richard M. Stallman <rms@gnu.org>
3477
3478 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3479 (_): Test only HAVE_LIBINTL_H to decide what to do.
3480
34812002-12-05 Richard M. Stallman <rms@gnu.org>
3482
3483 * getopt.c: Comment out include of libintl.h or gettext.h.
3484
34852002-12-04 Richard M. Stallman <rms@gnu.org>
3486
3487 * Update getopt from gnulib version; changes described below.
3488
3489 * getopt1.c: Conditionally find getopt.h.
3490 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3491
3492 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3493 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
3494 (wchar.h): Include, maybe.
3495 (attribute_hidden): Define if not defined.
3496 (__getopt_initialized): Use attribute_hidden.
3497 (__libc_argc, __libc_argv): Rename from original_argc, etc.
3498 (__getopt_nonoption_flags, nonoption_flags_max_len)
3499 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3500 (SWAP_FLAGS): New definitions.
3501 (exchange): Test USE_NONOPTION_FLAGS.
3502 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3503 (_getopt_internal): Error if argc < 1. New local var print_errors.
3504 Improve test for ambiguous long option.
3505 Add LIBIO support for error message output.
3506 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3507
3508 * getopt.h: Maybe include ctype.h.
3509 Treat __cplusplus like __STDC__.
3510 (decls): Use __ in arg names.
3511
35122002-12-02 Stephen Eglen <stephen@gnu.org>
3513
3514 * emacsclient.c (main): Tell user how to start server within Emacs
3515 if socket could not be found.
3516
35172002-12-02 Richard M. Stallman <rms@gnu.org>
3518
3519 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3520
35212002-11-19 Ben Key <bkey1@tampabay.rr.com>
3522
3523 * makefile.w32-in: Fixed a bug that caused the documentation for
3524 the built in function play-sound-internal not to be included in
3525 /etc/DOC.
3526
35272002-11-18 Dave Love <fx@gnu.org>
3528
3529 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3530 fcntl.h, stdarg.h conditionally.
3531 (_GNU_SOURCE, __attribute__): Don't define.
3532 (optarg, optind, opterr): Declare.
3533 (lose, lose_syserr): Use NO_RETURN.
3534 (get_user_id): Use P_.
3535
35362002-11-17 Richard M. Stallman <rms@gnu.org>
3537
3538 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3539
35402002-11-14 Dave Love <fx@gnu.org>
3541
3542 * movemail.c (pop_retr): Declare comment.
3543
3544 * make-docfile.c (read_c_string_or_comment): Declare msgno.
3545
3546 * Makefile.in (YACC): Delete.
3547
35482002-10-19 Andreas Schwab <schwab@suse.de>
3549
3550 * Makefile.in (${archlibdir}): Always create $(gamedir).
3551 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3552
35532002-10-04 Juanma Barranquero <lektu@terra.es>
3554
3555 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3556
35572002-09-30 Markus Rost <rost@math.ohio-state.edu>
3558
3559 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3560 completely.
3561
35622002-09-27 Stefan Monnier <monnier@cs.yale.edu>
3563
3564 * emacsclient.c: Remove SYSV support.
3565 (eval, display): New vars.
3566 (longopts): Add --eval and --display.
3567 (decode_options): Add -e and -d processing.
3568 (print_help_and_exit): Update the usage string.
3569 (main): Add support for --eval and --display.
3570 (main): Always use /tmp and non-qualified hostname.
3571
35722002-09-25 Stefan Monnier <monnier@cs.yale.edu>
3573
3574 * emacsserver.c: Remove.
3575
35762002-09-17 Stefan Monnier <monnier@cs.yale.edu>
3577
3578 * emacsclient.c (quote_file_name): Quote \n.
3579 (main): Print a final \n when needed.
3580
35812002-09-03 Francesco Potortì <pot@gnu.org>
3582
3583 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3584 string that cannot be freed.
3585
35862002-08-30 Francesco Potortì <pot@gnu.org>
3587
3588 * etags.c (consider_token, C_entries): Switch to C++ parsing when
3589 auto-detection is enabled and the `::' qualifier is met.
3590 (consider_token, C_entries): Several bugs corrected that tagged
3591 some declarations even though --declarations was not used.
3592 (plainc): New macro.
3593 (C_entries): Use it.
3594 (C_entries): Several cosmetic changes.
3595 (C_entries): Invalidate the token is some cases.
3596
35972002-08-29 Francesco Potortì <pot@gnu.org>
3598
3599 * etags.c (C_entries): Correct a problem with const C++ funcs.
3600 (ignoreindent): Rename from noindentypedefs.
3601 (cjava, cplpl): They are now macros instead of local vars.
3602
36032002-08-28 Francesco Potortì <pot@gnu.org>
3604
3605 * etags.c (HTML_labels): Tag ID= also.
3606
36072002-08-27 Francesco Potortì <pot@gnu.org>
3608
3609 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3610
3611 * etags.c (HTML_labels): New language HTML.
3612 (etags_strcasecmp): Like BSD's, for compatibility.
3613 (strcaseeq): Make it into a macro.
3614
3615 * etags.c (make_tag): Never generate null length tag names.
3616 (linebuffer_init): Rename from initbuffer. All callers changed.
3617 (pattern): Structure renamed to `regexp', member regex renamed to
3618 pattern.
3619 (node_st): Member pat renamed to regex.
3620 (pattern); New member force_explicit_name, for future use.
3621 Now always set to true, cannot be reset.
3622 (add_regex, regex_tag_multiline, readline): Use it.
3623 (main): Free some global structures.
3624 (fdesc): New member `written'.
3625 (readline, process_file): Initialize it.
3626 (put_entries): Set it.
3627 (main): Use it to create entries for files without tags.
3628 (total_size_of_entries): Do not count invalid tags.
3629
36302002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3631
3632 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3633 for the function name in the usage info.
3634
36352002-07-31 Colin Walters <walters@gnu.org>
3636
3637 * update-game-score.c (P_): New macro. Use it for all prototypes.
3638 (lose): Don't use varargs.
3639 (lose_syserr): New function.
3640
3641 * update-game-score.c: Change all functions to K&R style.
3642
36432002-07-30 Andreas Schwab <schwab@suse.de>
3644
3645 * Makefile.in (localstatedir): New variable.
3646
36472002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3648
3649 * b2m.pl: Fix regexp for finding return address fields.
3650
36512002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3652
3653 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3654
36552002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3656
3657 * b2m.pl: Obey the rmail file and use the unpruned header properly.
3658
36592002-06-26 Pavel Janík <Pavel@Janik.cz>
3660
3661 * b2m.pl: New file.
3662
36632002-06-21 Francesco Potortì <pot@gnu.org>
3664
3665 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
3666 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
3667 (PHP_functions, PHP_functions, Cobol_paragraphs)
3668 (Makefile_targets, Postscript_functions, Texinfo_nodes)
3669 (prolog_pr, erlang_func, erlang_attribute)
3670 (Perl_functions, Perl_functions, Pascal_functions)
3671 (TeX_commands, get_tag): Use make_tag instead of pfnote.
3672 (get_tag): Prototype changed, all callers changed.
3673
36742002-06-20 Francesco Potortì <pot@gnu.org>
3675
3676 * etags.c: Implement implicit tag names, that is, unnamed tags
3677 whose name is automatically deduced by etags.el. The advantage is
3678 that there is no explicit tag name in most tags, so the size of
3679 the tags file is reduced, yet find-tag is able to do a match as
3680 accurate as with named tags. See the comment in make_tag for details.
3681 (make_tag): New function (was the disabled function new_pfnote).
3682 (make_C_tag): Use it.
3683
36842002-06-19 Francesco Potortì <pot@gnu.org>
3685
3686 * etags.c (add_regex): Invalid regexp modifiers are ignored.
3687 (Makefile_targets): Tag variables unless --no-globals.
3688 (LOOP_ON_INPUT_LINES): Serious bug corrected.
3689
36902002-06-13 Francesco Potortì <pot@gnu.org>
3691
3692 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
3693 (invalidate_nodes): Bug corrected.
3694 (print_help): Better help for regexps.
3695
36962002-06-13 Juanma Barranquero <lektu@terra.es>
3697
3698 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
3699 font-core.elc.
3700
37012002-06-12 Francesco Potortì <pot@gnu.org>
3702
3703 * etags.c: New multi-line regexp and new regexp syntax.
3704 (arg_type): at_icregexp label removed (obsolete).
3705 (pattern): New member multi_line for multi-line regexps.
3706 (filebuf): A global buffer containing the whole file as a string
3707 for multi-line regexp matching.
3708 (need_filebuf): Global flag raised if multi-line regexps used.
3709 (print_help): Document new regexp modifiers, remove references to
3710 obsolete option --ignore-case-regexp.
3711 (main): Do not set regexp syntax and translation table here.
3712 (main): Treat -c option as a backward compatibility hack.
3713 (main, find_entries): Init and free filebuf.
3714 (find_entries): Call regex_tag_multiline after the regular parser.
3715 (scan_separators): Check for unterminated regexp and return NULL.
3716 (analyse_regex, add_regex): Remove the ignore_case argument, which
3717 is now a modifier to the regexp. All callers changed.
3718 (add_regex): Manage the regexp modifiers.
3719 (regex_tag_multiline): New function. Reads from filebuf.
3720 (readline_internal): If necessary, copy the whole file into filebuf.
3721 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
3722
37232002-06-11 Francesco Potortì <pot@gnu.org>
3724
3725 * etags.c (add_regex): Better check for null regexps.
3726 (readline): Check for regex matching null string.
3727 (find_entries): Reorganization.
3728
37292002-06-07 Francesco Potortì <pot@gnu.org>
3730
3731 * etags.c (scan_separators): Support all character escape
3732 sequences supported by Gcc.
3733 (find_entries): Rewind unconditionally.
3734 (find_entries): Do not call language functions directly, now calls
3735 itself.
3736 (find_entries): Do general initializations here.
3737 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3738 (Ada_getit, Pascal_functions, Pascal_functions)
3739 (prolog_skip_comment): Do not do them here.
3740 (readline_internal): Increment lineno here.
3741 (readline): Conditionally undo readline_internal increment.
3742 (readline): Do not return a value.
3743
37442002-06-06 Francesco Potortì <pot@gnu.org>
3745
3746 * etags.c: New option --parse-stdin=FILE.
3747 (enum arg_type): New label at_stdin.
3748 (STDIN): New constant.
3749 (parsing_stdin): New flag.
3750 (longopts): New option --parse-stdin=NAME.
3751 (print_help): Document it.
3752 (main): Handle it.
3753 (process_file): Split into process_file and process_file_name.
3754 (process_file_name): New function.
3755
3756 * etags.c: Improvements and bug squashing in TeX handling.
3757 (TeX_commands): Skip comments.
3758 (TEX_defenv): Now contains more constructs.
3759 (TEX_cmt): Make it a static char and move it before TeX_commands.
3760 (TeX_commands): Shorten the tag to the brace after the name.
3761 (TeX_commands): Names now include the initial backslash.
3762 (TeX_commands): Names do not include numeric args #n.
3763 (TeX_commands): Correct line char number in tags.
3764 (TEX_tabent, TEX_token): Delete.
3765 (TeX_commands, TEX_decode_env): Streamlined.
3766
37672002-06-05 Francesco Potortì <pot@gnu.org>
3768
3769 * etags.c (main): Avoid a buffer overrun with sprintf.
3770
37712002-05-30 Richard M. Stallman <rms@gnu.org>
3772
3773 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3774 (LIBS_MOVE): Rename from MOVE_LIBS.
3775
37762002-05-26 Paul Eggert <eggert@twinsun.com>
3777
3778 Reinstate the following change from 2002-03-22, which was
3779 inadvertently lost on 2002-04-13.
3780
3781 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3782 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3783 the latter usage.
3784
37852002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3786
3787 * pop.c (socket_connection): Move the code to resolve the POP
3788 host right before trying to connect with it.
3789
37902002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3791
3792 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3793 platform.
3794
37952002-04-28 Colin Walters <walters@verbum.org>
3796
3797 * Makefile.in (${archlibdir}): Don't conditionalize on
3798 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3799 or not we have access to the specified game user.
3800
3801 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3802 (main): New argument -d, for specifying directory.
3803 (usage): Document.
3804 (get_user_id): Compute.
3805 (get_home_dir): Delete.
3806 (get_prefix): New function, taken from main.
3807 (main): Check whether or not we are running setuid. Move prefix
3808 computation to get_prefix. Don't call getpwent; we don't need to
3809 any more. Instead, move it to get_user_id().
3810
38112002-04-24 Pavel Janík <Pavel@Janik.cz>
3812
3813 * ebrowse.c (skip_initializer): Return void.
3814
38152002-04-23 Colin Walters <walters@verbum.org>
3816
3817 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3818 space.
3819
38202002-04-22 Francesco Potortì <pot@gnu.org>
3821
3822 * etags.c (last_node): Make it a global variable.
3823 (process_file): Print the tags from the nodes as soon as
3824 possible, and delete the nodes. This brings down the memory
3825 occupancy as etags to almost the same level as when the #line
3826 directives were not parsed.
3827 (free_fdesc): New function.
3828 (find_entries): Use it.
3829 (invalidate_nodes): In etags mode, do not just mark the nodes as
3830 invalid, do delete them.
3831
38322002-04-21 Gerd Moellmann <gerd@gnu.org>
3833
3834 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3835
38362002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3837
3838 * update-game-score.c: Move config.h before the other headers, to
3839 avoid compiler warnings.
3840
38412002-04-16 Francesco Potortì <pot@gnu.org>
3842
3843 * etags.c (find_entries): Bug fix in list management.
3844
38452002-04-15 Francesco Potortì <pot@gnu.org>
3846
3847 * etags.c (get_language_from_filename): Add one argument.
3848 (strcaseeq): New function.
3849 (get_language_from_filename): Use it to do a case insensitive
3850 comparison if called with appropriate args.
3851 (find_entries): Try with case insensitive match.
3852 (process_file): Bug fixed.
3853
38542002-04-13 Francesco Potortì <pot@gnu.org>
3855
3856 * etags.c (find_entries): Delete tags previously obtained from
3857 file xxx.c's #line directives when parsing file xxx.y. This is
3858 generally done for automatically generated files containing
3859 #line directives. This handles the case when xxx.y is tagged
3860 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3861 be discarded.
3862 (language): Add the metasource member. Initializers changed.
3863 (invalidate_nodes): New function.
3864 (readline): Discard lines after having found a #line
3865 directive pointing to an already tagged file. This handles the
3866 case when xxx.y is tagged before xxx.c, and the entries of
3867 xxx.c pointing to xxx.y should be discarded.
3868 (fdesc): New structure for keeping track of input files.
3869 (fdesc): Remove `file' member (a string) and use instead a pointer
3870 to a file description structure.
3871 (curfile, curfiledir, curtagfname, curlang, nocharno)
3872 (forced_lang): Global variables removed in favor of fdhead and
3873 curfdp, pointers to file description structures.
3874 (longopts, main, print_help): Use the CTAGS conditional to include
3875 or exclude options that work on etags or ctags only.
3876 (process_file, find_entries, pfnote, add_node, put_entries)
3877 (readline): Use fdhead and curfdp.
3878 (process_file, find_entries): Do not take an arg string, all
3879 callers changed.
3880
3881 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3882 options that are not right for either etags or ctags.
3883
3884 * etags.c (number_len, total_size_of_entries): Define them also
3885 in CTAGS mode, because gcc does not compile all refs away.
3886
38872002-04-14 Colin Walters <walters@debian.org>
3888
3889 * update-game-score.c (lock_file): If the lock file is older than
3890 an hour, delete it. Reset attempts to zero if we have to break
3891 the lock.
3892
38932002-04-14 Andreas Schwab <schwab@suse.de>
3894
3895 * update-game-score.c (read_score): Fix type of second parameter
3896 of getdelim to be of type size_t instead of int. Use 0 instead of
3897 ESUCCES.
3898
38992002-04-10 Colin Walters <walters@verbum.org>
3900
3901 * update-game-score.c (toplevel): Include stdarg.h.
3902 (MAX_DATA_LEN, MAX_SCORES): New.
3903 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3904 default to ~/.emacs.d/games.
3905 (get_user_id): Don't zero uid in the case where we can't get the
3906 username.
3907 (lose): New function.
3908 (main): Actually use `max', and default it to MAX_SCORES.
3909 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3910 function.
3911 (read_score): Handle the case of reading unamelen characters, then
3912 finishing. Use mktemp if mkstemp isn't available.
3913 (lock_file, unlock_file): Delete unused versions.
3914 (lock_file): Always sleep, even if we unlinked the lock file.
3915
3916 * Makefile.in (gamedir, gameuser): New variables.
3917 (toplevel, UTILITIES): Add update-game-score.
3918 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3919
39202002-04-07 Colin Walters <walters@verbum.org>
3921
3922 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3923 (get_user_id): Take struct passwd as an argument.
3924 (get_home_dir): New function.
3925 (main): Read in user information here. Discover home directory if
3926 necessary.
3927 (read_score): Trim newline only in `getline' case.
3928
39292002-04-05 Colin Walters <walters@debian.org>
3930
3931 * update-game-score.c (toplevel): Include pwd.h.
3932 (struct score_entry): Add username field.
3933 (push_score): Use it.
3934 (get_user_id): New function.
3935 (main): Don't malloc excessively.
3936 (main): Use username field.
3937 (read_score): Read it.
3938 (push_score): Handle it.
3939 (write_scores): Write it.
3940 (read_score): Handle arbitrary length data.
3941
39422002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3943
3944 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3945
39462002-03-29 Gerd Moellmann <gerd@gnu.org>
3947
3948 * ebrowse.c (add_declarator, skip_initializer): New functions.
3949 (declaration): Use them.
3950
39512002-03-28 Jason Rumney <jasonr@gnu.org>
3952
3953 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3954
39552002-03-27 Colin Walters <walters@debian.org>
3956
3957 * update-game-score.c: New file.
3958
39592002-03-22 Paul Eggert <eggert@twinsun.com>
3960
3961 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3962 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3963 the latter usage.
3964
39652002-03-12 Francesco Potortì <pot@gnu.org>
3966
3967 * etags.c (Python_functions): Skip spaces at beginning of lines.
3968 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3969 (TeX_commands): Name tags. Correction of old disabled code.
3970
3971 * etags.c (curfiledir, curtagfname): New global variables.
3972 (process_file): Initialize them.
3973 (readline): Canonicalize the name found in #line directive.
3974
39752002-03-06 Jason Rumney <jasonr@gnu.org>
3976
3977 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3978 compilers that don't optimize out dead code.
3979
39802002-03-05 Francesco Potortì <pot@gnu.org>
3981
3982 * etags.c: Honor #line directives.
3983 (no_line_directive): New global var; set it for old behavior.
3984 (main): Remove some #ifdef in the getopt switch.
3985 (add_node, put_entries): Code added to merge different chunks of
3986 nodes referring to the same file. Currently the tags are just
3987 appended, without any check for duplicates.
3988 (Perl_functions): Do not special case ctags.
3989 (readline): Identify #line directives and do the right thing.
3990 (nocharno, invalidcharno): New global vars.
3991 (process_file): Reset nocharno.
3992 (readline): Set nocharno.
3993 (pfnote): Read nocharno and maybe put invalidcharno in node.
3994 (total_size_of_entries, put_entries): Use invalidcharno.
3995
3996 * etags.c: Keep the whole tag table in memory, even in etags mode.
3997 (main): Call put_entries here even in CTAGS mode.
3998 (main, process_file): Check the return values of fclose and pclose.
3999 (process_file): Do not call put_entries after parsing each file.
4000 (process_file): Canonicalize file names even for ctags.
4001 (process_file): Set curfile here...
4002 (find_entries): ... not here any more.
4003 (add_node): In etags mode, build a linked list of entries (on
4004 right pointer) for each file, and link the first entry of each
4005 file on left nodes.
4006 (put_entries): Print here the name of the file.
4007 (put_entries): Print the entries starting from the first file.
4008 (number_len, total_size_of_entries): Define these only in etags
4009 mode, make the second work only on the right nodes.
4010
4011 * etags.c: Make all global variables static.
4012
40132002-02-25 Juanma Barranquero <lektu@terra.es>
4014
4015 * makefile.w32-in (lisp): Add missing backslash.
4016
40172002-02-24 Jason Rumney <jasonr@gnu.org>
4018
4019 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
4020 using .elc files.
4021 (lisp): Sync with list in src/Makefile.in.
4022 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
4023
40242002-02-10 Paul Eggert <eggert@twinsun.com>
4025
4026 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
4027 disallows the old syntax.
4028
40292002-02-03 Paul Eggert <eggert@twinsun.com>
4030
4031 * rcs2log (Copyright): Update to 2002.
4032 (AWK, TMPDIR): Work around portability problem in broken shells that
4033 don't understand `: ${VAR=val}'.
4034 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
4035 Prefer the new -k option to the traditional +M -N option.
4036
40372002-01-01 Pavel Janík <Pavel@Janik.cz>
4038
4039 * b2m.c (main): Parenthesize assignment when used as truth value
4040 to prevent gcc warnings.
4041
4042 * fakemail.c: Include <config.h>.
4043
40442001-12-29 Pavel Janík <Pavel@Janik.cz>
4045
4046 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
4047 * yow.c: Include <config.h>.
4048
40492001-12-21 Francesco Potortì <pot@gnu.org>
4050
4051 * etags.c (Perl_functions): Tag packages and use them in sub tags.
4052 (get_tag): Return a pointer to the tag that is found.
4053
4054 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
4055 (F_takeprec): Rename from takeprec. All callers changed.
4056 (F_getit): Rename from getit. All callers changed.
4057 (nocase_tail): Rename from tail. All callers changed.
4058 (Ada_getit): Rename from adagetit. All callers changed.
4059 (L_getit): Simplify by using get_tag.
4060 (Perl_functions, Postscript_functions, erlang_attribute): Use the
4061 modified LOOKING_AT.
4062 (notinname): Remove '[' and added ')' to the recognized chars.
4063 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
4064 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
4065 Clarified, using strneq or notinname.
4066 (L_isdef, L_isquote): Remove.
4067 (Lisp_functions, L_getit): Clarified.
4068
4069 * etags.c (P_): Rename to __P for consistency with config.h.
4070 [HAVE_CONFIG_H]: Let config.h deal with __P.
4071 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
4072 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
4073 gperf code needs it.
4074 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
4075 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
4076 (xmalloc, xrealloc): Use PTR instead of long *.
4077 (bool): Make it a define, not a typedef, for C++ compilers.
4078 (pattern): Members renamed to avoid name clash in some C++ compilers.
4079 (get_language_from_langname): Use const argument.
4080
40812001-12-22 Pavel Janík <Pavel@Janik.cz>
4082
4083 * makefile.nt, makefile.w32-in: Remove mocklisp files.
4084
40852001-12-19 Pavel Janík <Pavel@Janik.cz>
4086
4087 * emacsserver.c: Conditionally include config.h.
4088
4089 * fakemail.c: Likewise.
4090
4091 * emacsclient.c: Include "config.h", not <../src/config.h>.
4092 (main): Parenthesize assignment when used as truth value to
4093 prevent gcc warnings.
4094
4095 * ebrowse.c: Include stdlib.h and string.h conditionally.
4096
40972001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
4098
4099 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
4100
41012001-12-18 Pavel Janík <Pavel@Janik.cz>
4102
4103 * test-distrib.c: Fix previous change.
4104
41052001-12-18 Dave Love <fx@gnu.org>
4106
4107 * test-distrib.c: Conditionally include fcntl.h.
4108
4109 * fakemail.c: Include "config.h", not <../src/config.h>.
4110 (_XOPEN_SOURCE): Define as 500.
4111
4112 * emacsserver.c: Include "config.h", not <../src/config.h>.
4113
4114 * cvtmail.c: Include config.h, stdlib.h.
4115 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
4116
4117 * yow.c: Conditionally include various headers. Use "epaths.h",
4118 not <../src/epaths.h>.
4119 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
4120
41212001-12-12 Francesco Potortì <pot@gnu.org>
4122
4123 * etags.c (PHP_functions): New function for parsing PHP.
4124 (LOOKING_AT): New macro.
4125 (Perl_functions, Python_functions, PHP_functions)
4126 (Scheme_functions, Texinfo_nodes): Use it.
4127 (Perl_functions): Use strneq.
4128 (prolog_pred): Rename to prolog_pr.
4129 (prolog_pr): Recognize Prolog rules in addition to predicates.
4130 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
4131 unmodified compile, as Cygwin's regex.h is incompatible with us.
4132 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
4133
41342001-12-11 Richard M. Stallman <rms@gnu.org>
4135
4136 * Makefile.in (clean): Don't delete ../etc/DOC*.
4137
41382001-12-11 Pavel Janík <Pavel@Janik.cz>
4139
4140 * COPYING: Moved back.
4141
41422001-11-30 Andrew Innes <andrewi@gnu.org>
4143
4144 * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
4145 (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
4146 to simplify bootstrapping.
4147 ($(DOC)): Change dependency to just `make-docfile'.
4148
41492001-11-29 Pavel Janík <Pavel@Janik.cz>
4150
4151 * COPYING: Removed.
4152
41532001-11-28 Paul Eggert <eggert@twinsun.com>
4154
4155 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
4156
4157 The following changes are derived from suggestions by Bob Chapman
4158 <rechapman@compuserve.com>.
4159
4160 * rcs2log (printlogline): Also allow tab and newline to separate
4161 '(function):' from the rest of a comment.
4162 (reformat the sorted log entries): Require date and author to
4163 match the clumpname.
4164
41652001-11-16 Gerd Moellmann <gerd@gnu.org>
4166
4167 * ebrowse.c (matching_regexp): Escape '\\'.
4168
41692001-11-15 Pavel Janík <Pavel@Janik.cz>
4170
4171 * Makefile.in: Add support for --program-prefix, --program-suffix
4172 and --program-transform-name options.
4173
41742001-11-03 Richard M. Stallman <rms@gnu.org>
4175
4176 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
4177
4178 * movemail.c (popmail): Always pass two args to `error'.
4179
41802001-10-24 Ken Raeburn <raeburn@gnu.org>
4181
4182 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4183 -lhesiod and maybe -lresolv.
4184 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
4185 support if it's available.
4186
41872001-10-21 Miles Bader <miles@gnu.org>
4188
4189 * make-docfile.c (struct rcsoc_state): New type.
4190 (read_c_string_or_comment): Add SAW_USAGE
4191 parameter, and implement scanning for a `usage:' keyword.
4192 Use a variable of type `rcsoc_state' to hold most of our state.
4193 (put_char): Add STATE parameter, and remove all other parameters
4194 except CH. Use STATE to get access to all needed state.
4195 (scan_keyword_or_put_char): New function.
4196 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
4197 Don't output a usage-string if there was one in the doc-string.
4198
41992001-10-20 Gerd Moellmann <gerd@gnu.org>
4200
4201 * (Version 21.1 released.)
4202
42032001-10-19 Pavel Janík <Pavel@Janik.cz>
4204
4205 * b2m.c: Properly spell the name of Emacs.
4206
42072001-10-17 Miles Bader <miles@gnu.org>
4208
4209 * make-docfile.c (put_char): New function.
4210 (read_c_string_or_comment): Strip trailing spaces and newlines.
4211
42122001-10-16 Miles Bader <miles@gnu.org>
4213
4214 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
4215 comments [with `doc:' keyword prefix].
4216
42172001-10-15 Gerd Moellmann <gerd@gnu.org>
4218
4219 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
4220 in a C doc comment.
4221
42222001-10-13 Gerd Moellmann <gerd@gnu.org>
4223
4224 * make-docfile.c (read_c_string_or_comment): Rename from
4225 read_c_string. Add parameter COMMENT. Read C-style comments.
4226 (scan_c_file): Handle doc strings in C comments.
4227
42282001-10-12 Andrew Innes <andrewi@gnu.org>
4229
4230 * makefile.nt (ALL): Do not include fakemail.
4231
4232 * makefile.w32-in (install): Do not copy fakemail.
4233
42342001-10-10 Jason Rumney <jasonr@gnu.org>
4235
4236 * makefile.w32-in (ALL): Do not include fakemail.
4237
4238 * makefile.nt (install): Ditto.
4239
42402001-10-09 Gerd Moellmann <gerd@gnu.org>
4241
4242 * emacsserver.c (main): Cast geteuid in sprintf to int.
4243
4244 * emacsclient.c (main): Cast isdigit argument to unsigned char.
4245
42462001-10-07 Pavel Janík <Pavel@Janik.cz>
4247
4248 * profile.c: Include config.h, not ../src/config.h.
4249 Include systime.h, not ../src/systime.h.
4250
42512001-10-05 Gerd Moellmann <gerd@gnu.org>
4252
4253 * Branch for 21.1.
4254
42552001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
4256
4257 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
4258 ALIASEE to help work with namespace aliases.
4259 (struct sym): Remove struct member NAMESP_ALIASES.
4260 (namespace_alias_table): New variable.
4261 (make_namespace): Add parameter CONTEXT.
4262 (check_namespace): New function.
4263 (find_namespace): Add parameter CONTEXT.
4264 (check_namespace_alias): New function.
4265 (register_namespace_alias): Change type of parameter OLD_NAME.
4266 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
4267 (check_namespace): New function.
4268 (enter_namespace): Call find_namespace with CONTEXT parameter.
4269 (match_qualified_namespace_alias): New function.
4270 (parse_qualified_ident_or_type): Fix typo in comment.
4271 While parsing qualified ident or type update namespace context and
4272 restore it on exit.
4273 (parse_qualified_param_ident_or_type): Fix typo in comment.
4274 (globals): Change handling of namespace aliases.
4275 (version): Add year 2001.
4276
42772001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
4278
4279 * etags.c (analyse_regex): If regex_arg is NULL, return
4280 immediately after a call to free_patterns.
4281
42822001-09-05 Paul Eggert <eggert@twinsun.com>
4283
4284 * rcs2log (Help, mainline code): Add new option -L FILE.
4285 (Copyright): Update year.
4286 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
4287 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
4288 C locale.
4289 (mainline code): Handle nonstandard -u option differently, by
4290 transforming it to standard form. Check for "Working file: ", not
4291 "Working file:". Allow file names with spaces.
4292 (SOH, rlogfile): New shell vars.
4293 (rlogout): Remove. Its old functionality is mostly migrated to
4294 rlogfile.
4295
4296 Append ';;' to the last arm of every case statement, for
4297 portability to ancient broken BSD shells.
4298
4299 (logins): Fix bug; was not being computed at all, lowering performance.
4300 (pository): New var. This fixes some bugs where repositories are
4301 remote, or have trailing slashes.
4302 (authors): $llogout is never an empty shell var, so don't worry
4303 about that possibility.
4304 (printlogline, mainline code): Fix bug with SOH's being put into
4305 the output.
4306
43072001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4308
4309 * ebrowse.c (SEEK_END): #define if not defined by system headers.
4310 Suggested by Dave Love <d.love@dl.ac.uk>.
4311
43122001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4313
4314 * makefile.nt (lisp): Synchronize with src/Makefile.in.
4315 * makefile.w32-in (lisp): Ditto.
4316
43172001-07-25 Juanma Barranquero <lektu@terra.es>
4318
4319 * grep-changelog (parse_changelog): Remove unused local variable.
4320
4321 * grep-changelog (main): Add new option --reverse.
4322 (print_log): Use it.
4323 (parse_changelog): Use it.
4324
43252001-07-20 Gerd Moellmann <gerd@gnu.org>
4326
4327 * grep-changelog: Remove RCS Id keyword.
4328
43292001-07-20 Juanma Barranquero <lektu@terra.es>
4330
4331 * grep-changelog (parse_changelog): Add tests for defined values
4332 to quiet warning from Perl 5.005 or above.
4333 (entry_match_p, header_match_p): Fix handling of null or empty
4334 argument to prevent duplicate headers.
4335
4336 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
4337
43382001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
4339
4340 * emacsclient.c (print_help_and_exit): Fix help message for
4341 +LINE:COLUMN option.
4342
43432000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4344
4345 * emacsclient.c (main): Add support for +LINE:COLUMN command line
4346 argument.
4347
43482001-07-16 Gerd Moellmann <gerd@gnu.org>
4349
4350 * ebrowse.c (main): Check that the output file exists and
4351 is non-empty if invoked with `--append'.
4352
43532001-05-14 Francesco Potortì <pot@gnu.org>
4354
4355 * etags.c (add_regex): Reset the whole newly allocated pattern
4356 buffer instead of the individual members. It's safer and works
4357 with XEmacs.
4358
4359 * etags.1: Markups corrected.
4360
43612001-05-08 Gerd Moellmann <gerd@gnu.org>
4362
4363 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
4364
43652001-05-03 Gerd Moellmann <gerd@gnu.org>
4366
4367 * ebrowse.c (globals): Fix handling of namespace aliases.
4368
43692001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
4370
4371 * etags.c (print_help): Enclose the regexp in the help text
4372 example in quotes.
4373
43742001-04-05 Dave Love <fx@gnu.org>
4375
4376 * emacsclient.c (fail): Don't return a value.
4377 (main): Cast uid values for sprintf.
4378
43792001-04-03 Gerd Moellmann <gerd@gnu.org>
4380
4381 * emacsclient.c (fail, main): Don't use implicit int return type.
4382
4383 * b2m.c (main): Always return a value.
4384
43852001-03-02 Gerd Moellmann <gerd@gnu.org>
4386
4387 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4388 freshly allocated object in *LAST_ID.
4389 (read_line): Accept \r\n line endings.
4390
43912001-02-24 Andrew Innes <andrewi@gnu.org>
4392
4393 * makefile.w32-in: Fix copyright notice.
4394
43952001-02-23 Francesco Potortì <pot@gnu.org>
4396
4397 * etags.c (enum sym_type): New label st_C_template.
4398 (gperf input): Use it for switching to C++ from C.
4399 (consider_token): Do it.
4400 (C_entries): Initialize typdefcblev to quiet compilers.
4401 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
4402
44032001-02-22 Andrew Innes <andrewi@gnu.org>
4404
4405 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4406 VMS header files.
4407 ($(BLD)\profile.obj): Ditto.
4408
4409 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4410 VMS header files.
4411 ($(BLD)/profile.$(O)): Ditto.
4412
44132001-02-05 Andrew Innes <andrewi@gnu.org>
4414
4415 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4416 invocation of make-docfile, to work with Windows 2000.
4417
44182001-01-31 Dave Love <fx@gnu.org>
4419
4420 * etags.c (in_word_set): Use `static' in definition (for pcc).
4421
44222001-01-31 Francesco Potortì <pot@gnu.org>
4423
4424 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
4425 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4426 (C_entries): Tag token renamed to still_in_token because sunos4
4427 pcc wants to expand it as the token() macro even though it has no
4428 arguments.
4429
44302001-01-30 Andrew Innes <andrewi@gnu.org>
4431
4432 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4433 bug in the Mingw32 assert.h header file.
4434
44352001-01-30 Francesco Potortì <pot@gnu.org>
4436
4437 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4438 #define it for the sake of XEmacs.
4439 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4440 HAVE_CONFIG_H. This change only affects a standalone etags.
4441 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4442 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
4443 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
4444 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
4445 WINDOWSNT, as this is the correct way to use it.
4446
44472001-01-28 Francesco Potortì <pot@gnu.org>
4448
4449 * etags.c: Be capable to parse nested struct-like structures.
4450 (structdef, structtag): Struct state machine revisited.
4451 (struct tok): Revisited.
4452 (cstack, nestlev, instruct): New struct and macros.
4453 (pushclass_above, popclass_above, write_classname): New functions
4454 for dealing with nested class names.
4455 (consider_token, make_C_tag, C_entries): Many changes for dealing
4456 with arbitrarily nested structures.
4457 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4458 (C_entries): Consider templates in C++.
4459 (sym_type): New constant st_C_class for detecting "class" also in
4460 C mode.
4461 (C_AUTO): New macro for automatic detection of C++.
4462 (consider_token): Automatic set C++ mode.
4463 (C_entries): New security check for yacc.
4464 (print_language_names, print_help): Mention the autodetect
4465 feature, do not show help for the -C option, now mostly useless.
4466 (C_entries): Tag C++ forward declarations if --declarations.
4467 (C_entries): Don't be fooled by things like XDEFUN.
4468 (consider_token): Discard asm pseudo function.
4469
44702001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
4471
4472 * etags.c: Add a coding: tag.
4473
44742001-01-26 Gerd Moellmann <gerd@gnu.org>
4475
4476 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
4477 New variables.
4478 (matching_regexp): Use them instead of static variables in
4479 function scope.
4480
44812001-01-25 Francesco Potortì <pot@gnu.org>
4482
4483 * etags.c (struct tok): Rename from struct token.
4484 (token): Rename from tok.
4485 (structtype): Make it a local variable.
4486 [DEBUG]: Use assert.
4487 (xrnew): Change the synopsis.
4488 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4489 (grow_linebuffer): Don't call xrnew when not needed.
4490 (token): Buffer renamed to line.
4491 (C_entries): Three calls to inibuffer moved here from main.
4492 (C_entries): Remove all references to var methodlen, delete it.
4493 (linebuffer_setlen): Was grow_buffer, now also sets len.
4494 (consider_token, C_entries, Pascal_functions): Use it.
4495 (C_entries): Preventing problems relative to extern "C".
4496 (C_entries): Can tag more than one variable or func separated by
4497 comma when --declarations is used.
4498 (C_entries): More accurate tagging of members and declarations.
4499 (yacc_rules): Was global, made local to C_entries.
4500 (next_token_is_func): Remove.
4501 (fvdef): New constants fdefunkey, fdefunname.
4502 (consider_token, C_entries): Use them.
4503 (C_entries): Build proper lisp names for Emacs DEFUNs.
4504
45052001-01-22 Gerd Moellmann <gerd@gnu.org>
4506
4507 * ebrowse.c (xfree): New function.
4508 (member, declaration, globals): Use xmalloc instead of alloca.
4509
45102001-01-15 Francesco Potortì <pot@gnu.org>
4511
4512 * etags.c (print_language_names): Print filenames in addition to
4513 suffixes.
4514
45152001-01-14 Francesco Potortì <pot@gnu.org>
4516
4517 * etags.c (get_language_from_langname): Rename from
4518 get_language_from_name.
4519 (get_language_from_filename): Rename from get_language_from_suffix.
4520 Now first looks for the complete file name.
4521 (language): New member char **filenames.
4522 (Makefile_filenames): List of possible filenames for makefiles.
4523 (lang_names): Add a NULL member for every entry, added an entry
4524 for makefiles.
4525 (Makefile_targets): New function.
4526 (Texinfo_nodes): Rename from Texinfo_functions and made
4527 it conformant to the style of the rest of the code.
4528
45292001-01-13 Gerd Moellmann <gerd@gnu.org>
4530
4531 * make-docfile.c (write_c_args): Print newlines as spaces.
4532
45332001-01-06 Andrew Innes <andrewi@gnu.org>
4534
4535 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4536 of *.pdb.
4537
45382001-01-03 Paul Eggert <eggert@twinsun.com>
4539
4540 * rcs2log: Avoid security hole allowing attacker to
4541 cause user of rcs2log to overwrite arbitrary files, fixing
4542 a bug reported by Morten Welinder.
4543
4544 Don't put "exit 1" at the end of the exit trap; it's
4545 ineffective in POSIX shells.
4546
45472001-01-02 Gerd Moellmann <gerd@gnu.org>
4548
4549 * ebrowse.c (yyerror): Change to take two arguments.
4550 Add prototype. Change callers.
4551
45522001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
4553
4554 * ebrowse.c (enter_namespace, main): Cast variables to shut up
4555 compiler warnings.
4556 (yyerror): Change parameter declarations to be of type long, so
4557 that they can take pointers on 64-bit platforms.
4558
4559 * emacsclient.c (main): Remove unused local variable statbfr.
4560 (main) <homedir>: Make its declaration conditional on
4561 SERVER_HOME_DIR, to avoid compiler warnings.
4562
4563 * emacsserver.c (main) <homedir>: Make its declaration conditional
4564 on SERVER_HOME_DIR, to avoid compiler warnings.
4565
4566 * fakemail.c (readline): Cast buffer to "long *" to pacify
4567 over-zealous compilers.
4568
45692000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
4570
4571 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4572
45732000-12-15 Gerd Moellmann <gerd@gnu.org>
4574
4575 * ebrowse.c (operator_name): Cast argument of isalpha to
4576 unsigned char.
4577
4578 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4579 Use them throughout instead of ctype functions/macros.
4580 (lowcase): Cast to unsigned char.
4581 (UPCASE): New macro.
4582 (canonicalize_filename): Use UPCASE instead toupper.
4583
4584 * fakemail.c (get_keyword): Make sure that isspace and
4585 similar aren't called with a negative argument.
4586
45872000-12-13 Dave Love <fx@gnu.org>
4588
4589 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4590
45912000-12-06 Andrew Innes <andrewi@gnu.org>
4592
4593 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4594 don't know the real version, and I can't seem to get the quoting
4595 right in all circumstances.
4596
4597 * ebrowse.c (VERSION): Provide default definition, like etags.c
4598 does, because Windows build can't snarf this from version.el.
4599
46002000-11-30 Andrew Innes <andrewi@gnu.org>
4601
4602 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4603 (install): Ditto.
4604
46052000-11-23 Jason Rumney <jasonr@gnu.org>
4606
4607 * makefile.w32-in: Add targets for ebrowse.exe.
4608 (LOCAL_FLAGS): Add -DVERSION flag.
4609
46102000-09-25 Dave Love <fx@gnu.org>
4611
4612 * sorted-doc.c: Include config.h.
4613 [!HAVE_STDLIB_H]: Declare malloc.
4614
46152000-09-14 Andrew Innes <andrewi@gnu.org>
4616
4617 * makefile.w32-in: Revert to Unix line endings.
4618
46192000-09-04 Dave Love <fx@gnu.org>
4620
4621 * movemail.c (index, rindex): Prototype conditionally.
4622
46232000-09-03 Andrew Innes <andrewi@gnu.org>
4624
4625 * makefile.w32-in: Change to DOS line endings.
4626
46272000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4628
4629 * movemail.c (toplevel): Remove redundant fcntl.h.
4630 [!F_OK]: Provide default definitions only after including both
4631 fcntl.h and unistd.h.
4632
46332000-08-29 Dave Love <fx@gnu.org>
4634
4635 * movemail.c: Revert previous change.
4636
46372000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4638
4639 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4640
46412000-08-28 Dave Love <fx@gnu.org>
4642
4643 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4644 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4645
46462000-08-22 Andrew Innes <andrewi@gnu.org>
4647
4648 * ntlib.h (WIN32): Remove unnecessary definition.
4649 (sleep): Make argument unsigned long.
4650 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4651
4652 * ntlib.c (sleep): Make argument unsigned long.
4653
4654 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4655
4656 * makefile.w32-in: New file.
4657
46582000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4659
4660 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4661 letter only if it is a drive letter.
4662
46632000-07-14 Gerd Moellmann <gerd@gnu.org>
4664
4665 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
4666
4667 * etags.c (xmalloc, xrealloc): Make externally visible, for use
4668 by alloca.o.
4669
4670 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
4671
46722000-07-10 Gerd Moellmann <gerd@gnu.org>
4673
4674 * ebrowse.c (yylex): Accept string literals with newlines in them.
4675 (process_pp_line): Handle case of string literal with newline
4676 in it in replacement text, which counts as continuing the
4677 replacement text in GNU C.
4678
46792000-07-02 Gerd Moellmann <gerd@gnu.org>
4680
4681 * ebrowse.c (token_string): Add missing tokens.
4682 (parm_list): Handle case of qualified pointers.
4683
46842000-06-23 Dave Love <fx@gnu.org>
4685
4686 * ebrowse.c: Move config.h before other includes (which may use
4687 feature tests).
4688
46892000-06-14 Jim Meyering <meyering@lucent.com>
4690
4691 * grep-changelog: Fix typos in comments. Remove trailing blanks.
4692
46932000-06-11 Jason Rumney <jasonr@gnu.org>
4694
4695 * makefile.nt: Add targets for ebrowse.
4696
4697 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
4698 compare filenames.
4699
47002000-06-06 Gerd Moellmann <gerd@gnu.org>
4701
4702 * ebrowse.c (ymalloc): Rename from xmalloc.
4703 (yrealloc): Rename from xrealloc.
4704
47052000-05-21 Dave Love <fx@gnu.org>
4706
4707 * movemail.c: Include config.h, not ../src/config.h.
4708 (Errmsg): Bump length.
4709
4710 * pop.c (ERROR_MAX): Increase to 160.
4711
47122000-05-04 Gerd Moellmann <gerd@gnu.org>
4713
4714 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
4715
47162000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
4717
4718 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
4719 Define to semi-colon.
4720 (FILENAME_EQ): New macro, for comparing file names.
4721 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
4722 (process_file): Don't assume that fread always reads as many bytes
4723 as it was told to (DOS-style CR-LF text files fail this logic).
4724 (open_file): Allocate enough space for path->path plus the file
4725 name and the slash.
4726
47272000-04-19 Dave Love <fx@gnu.org>
4728
4729 * etags.c (Texinfo_functions): New function.
4730 (lang_names): Install it.
4731 (Texinfo_suffixes): New variable.
4732
47332000-04-19 Gerd Moellmann <gerd@gnu.org>
4734
4735 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4736 (declaration): Remove parameter IS_EXTERN.
4737 (class_definition): Remove unused variable.
4738
47392000-04-09 Gerd Moellmann <gerd@gnu.org>
4740
4741 * Makefile.in (INSTALLABLES): Add ebrowse.
4742 (ebrowse): New target.
4743
4744 * ebrowse.c: New file.
4745
47462000-03-29 Andreas Schwab <schwab@suse.de>
4747
4748 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4749
47502000-03-02 Gerd Moellmann <gerd@gnu.org>
4751
4752 * etags.c (lisp_suffixes): Add `LSP'.
4753
47542000-02-10 Francesco Potortì <pot@gnu.org>
4755
4756 * etags.c (iswhite): Redefine not to consider '\0' as white
4757 space, and use it throughout in place of isspace, thus preventing a
4758 potential signed char to int conversion problem.
4759 (MSDOS): #undefine before redefining.
4760
47612000-02-04 Francesco Potortì <pot@gnu.org>
4762
4763 * etags.c (many functions): Add prototypes.
4764
47652000-02-10 Dave Love <fx@gnu.org>
4766
4767 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4768 (erlang_func): Add `static' to definitions to keep pcc happy.
4769
47702000-01-31 Francesco Potortì <pot@gnu.org>
4771
4772 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4773 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4774 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4775 (getenv, getcwd): Only declare them if necessary.
4776 (EMACS_NAME): New constant macro.
4777 (print_version): Use it.
4778 (P_) [__STDC__]: Macro for defining function prototypes.
4779
47802000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
4781
4782 * etags.c [WINDOWSNT]: #include <direct.h>
4783
47842000-01-18 Martin Buchholz <martin@xemacs.org>
4785
4786 * etags.c (all functions): Made them static.
4787 (all functions): Write prototypes.
4788
47892000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4790
4791 * movemail.c (main): Improve error message if can't create lock file.
4792
47932000-01-28 Eric Hanchrow <offby1@blarg.net>
4794
4795 * emacsclient.c (socket_status): New function.
4796 (main): If $LOGNAME or $USER exist and differ from our euid, look
4797 for a socket based on the UID associated with the name.
4798
47992000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4800
4801 * emacsclient.c: Add option -a EDITOR and environment variable
4802 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4803
48041999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4805
4806 * movemail.c (popmail): Allow mailbox specifications of the
4807 form `po:username:hostname'.
4808
48091999-11-19 Francesco Potortì <pot@gnu.org>
4810
4811 * etags.c (_GNU_SOURCE): Define only if undefined.
4812 (get_scheme): Declaration deleted.
4813 (main): Error was called with an integer as second arg, instead of
4814 a char pointer.
4815 (canonicalize_filename): Bug removed.
4816
48171999-11-18 Dave Love <d.love@dl.ac.uk>
4818
4819 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4820 lossage from name clash with macro.
4821
48221999-11-13 Gerd Moellmann <gerd@gnu.org>
4823
4824 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4825
48261999-11-03 Gerd Moellmann <gerd@gnu.org>
4827
4828 * etags.c (print_help): Change email address to send bugs to.
4829
48301999-11-01 Francesco Potortì <pot@gnu.org>
4831
4832 * etags.c: Add suffix psw for PSWrap.
4833 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4834 (Postscript_functions): Add code for PSWrap.
4835 (Scheme_functions): Use local pointer and new get_tag function.
4836 (get_tag): New name for old get_scheme.
4837 (process_file): Do not free NULL when file does not exist.
4838 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4839 (C_entries): Modifications that make --members tag even inside
4840 typedefs and C nested structs (one level only).
4841 (consider_token): Correct a bug which prevented tagging of enum
4842 constants.
4843 (C_stab_entry): Add if, for, while, switch, return as
4844 st_C_ignore. This makes it simpler to work when cblev!=0.
4845
4846 * etags.c (C_entries): Tag member function declarations when
4847 --declarations is used.
4848
4849 * etags.c (C_entries, consider_token): C++ `operator' now is
4850 tagged in most cases.
4851 As before, :: is not recognized if surrounded by spaces.
4852
4853 * etags.c (relative_filename): Account for DOS file names such
4854 that is impossible to make one relative to another.
4855
4856 * etags.c (sym_type): New st_C_extern tag.
4857 (gperf input): Use it for spotting external declarations.
4858 (print_help): Document the new behavior of --declarations.
4859 (fvextern): New global variable.
4860 (consider_token, C_entries): Use it.
4861
4862 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4863 (etags_getcwd): Remove test for WINDOWSNT.
4864
4865 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4866 foo.cgz, foo.cz, etc.
4867
4868 * etags.c (declarations): New global switch.
4869 (longopts): Describe it.
4870 (print_help): Document it.
4871 (C_entries): Use it.
4872 (process_file): Don't process a file twice.
4873
4874 * etags.c (Fortran_functions): No tags for "procedure".
4875
48761999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4877
4878 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4879 non-zero, returns a pointer to where the extension begins; callers
4880 changed.
4881 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4882 were foo.c.gz.
4883
48841999-11-01 Francesco Potortì <pot@gnu.org>
4885
4886 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4887 (fvdev): New constant foperator.
4888 (consider_token): Use it to get "operator" in C++.
4889 (C_entries): Extend length of operator@ function name.
4890 (C_entries): Use foperator when necessary.
4891
4892 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4893
4894 * etags.c (compressor): New struct for compressed files.
4895 (get_compressor_from_suffix): New function.
4896 (get_language_from_suffix): Use it. Also, semantics changed.
4897 (process_file): Consider compressed files, close file.
4898 (find_entries): Use different call arg for get_language_from_suffix,
4899 don't close file.
4900
4901 * etags.c (main): Call free_tree.
4902 (find_entries): Do not free curfile.
4903 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4904 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4905 comparing.
4906 (canonicalize_filename): Shut up compiler warning.
4907 (Perl_functions): Make tag significant.
4908
49091999-11-01 Dave Love <d.love@dl.ac.uk>
4910
4911 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4912 (argument_type): New member at_icregexp.
4913 (lc_trans): New global.
4914 (main): Fill lc_trans. Process -c args.
4915 (add_regex): New arg determining whether to use translation table.
4916 (analyse_regex): New arg. Use it for add_regex.
4917
49181999-11-01 Francesco Potortì <pot@gnu.org>
4919
4920 * etags.c (init): Cosmetic change: NULL --> '\0'.
4921 (erlang_attribute): Bug corrected (uninitialized variable).
4922 (filename_is_absolute): New function replaces absolutefn macro and
4923 corrects a bug. All callers changed.
4924 (canonicalize_filename): New function.
4925 (process_file, etags_getcwd, absolute_dirname): Use it.
4926 (relative_filename, absolute_filename): Remove var shadowing.
4927 (C_entries, Pascal_functions): Add fake initializations to keep
4928 compilers quiet.
4929 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4930
4931 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4932 (language): New typedef (was struct lang_entry).
4933 (curlang): New global variable.
4934 (node): Typedef renamed from NODE.
4935 (linebuffer): New typedef (was struct linebuffer).
4936 (pattern): New typedef (was struct pattern). Some members added.
4937 Now used as element of a linked list.
4938 (patterns, num_patterns): Global variables deleted.
4939 (p_head): New global variable.
4940 (forced_lang): New global variable (replaces lang_func).
4941 (get_language_from_name, get_language_from_interpreter)
4942 (get_language_from_suffix): Semantics changed. All callers changed.
4943 (last_node): New global variable.
4944 (free_tree, add_node, put_entries, total_size_of_entries):
4945 Change name of local vars to avoid clashes with typedef node.
4946 (number_len): Rewritten for elegance.
4947 (token): New typedef replaces TOKEN.
4948 (analyse_regex, add_regex): Rewritten for new functionality.
4949 (free_patterns): New function called from main and add_regex.
4950 (initbuffer, readline_internal, readline, grow_linebuffer):
4951 Change name of local vars to avoid clashes with typedef linebuffer.
4952 (readline): Rewritten for new functionality.
4953
4954 * etags.c (Scheme_suffixes): New suffix ".ss".
4955 (print_help): --globals is now used for more than C-type languages.
4956 (Perl_functions): Tag global variables ("my" and "local").
4957
4958 * etags.c (print_help): Some messages clarified.
4959 (LOOP_ON_INPUT_LINES): New macro.
4960 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4961 (Python_functions, Cobol_paragraphs, Pascal_functions)
4962 (Lisp_functions, Postscript_functions, Scheme_functions)
4963 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4964 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4965 (Prolog_functions, Erlang_functions): Use a local variable instead
4966 of the global variable dbp.
4967 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4968 standard indentation.
4969
4970 * etags.c (Python_suffixes, lang_names, Python_functions):
4971 Python support.
4972 (skip_spaces, skip_non_spaces): Utility functions.
4973 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4974 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4975 (prolog_pred, erlanf_func, erlang_attribute): Use them.
4976 (eat_white): Delete.
4977
4978 * etags.c (CHAR, init): Keep into account non US-ASCII
4979 characters and compilers with default signed chars.
4980 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4981 constructs.
4982 (C_stab_entry): "interface" in Java behaves like "class".
4983
4984 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
4985 (main): Put interval syntax here.
4986 (add_regex): And remove it from here.
4987
4988 * etags.c (suggest_asking_for_help): Provide a
4989 meaningful help message with and without LONG_OPTIONS.
4990
4991 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
4992 <stdlib.h, string.h>: Don't test MSDOS when including them.
4993 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4994 (put_entries): Correctly use %ld instead of %d in printf.
4995
4996 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
4997 declare getcwd if HAVE_GETCWD.
4998 (consider_token): Dead break instruction removed.
4999
50001999-10-19 Paul Eggert <eggert@twinsun.com>
5001
5002 Add support for large files. Merge glibc 2.1.2.
5003
5004 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
5005 * movemail.c, pop.c:
5006 Do not include <stdlib.h>, as <config.h> does this now.
5007
5008 * b2m.c, emacsserver.c, etags.c, profile.c:
5009 Include <config.h> before any system include files.
5010
5011 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
5012 * test-distrib.c:
5013 (read, write, open, close): Do not undef.
5014
5015 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
5016 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
5017
5018 * getopt.h: Adopt glibc 2.1.2.
5019
50201999-10-15 Dave Love <fx@gnu.org>
5021
5022 * Makefile.in (pop.o): Depend on config.h.
5023
50241999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5025
5026 * pop.c: Use "pop3" as the POP service name on all platforms,
5027 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
5028 has been the standard service name since RFC 1340 was published in
5029 July 1992, so I think it's safe to start using it by default.
5030
50311999-09-27 Dave Love <fx@gnu.org>
5032
5033 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
5034
50351999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
5036
5037 * make-docfile.c (scan_lisp_file): Fix previous changes;
5038 swallow CRLF like just CR or just LF.
5039
50401999-09-03 Richard Stallman <rms@gnu.org>
5041
5042 * make-docfile.c: Include config.h not ../src/config.h.
5043 (main, fopen, chdir): Add #undef.
5044 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
5045 (scan_lisp_file): Handle \r like \n.
5046
50471999-08-30 Andreas Schwab <schwab@gnu.org>
5048
5049 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
5050
5051 * emacsserver.c: Include <stdlib.h> if available. Don't declare
5052 errno if it's a macro.
5053
5054 * test-distrib.c: Include <unistd.h> if available.
5055
50561999-08-29 Richard Stallman <rms@gnu.org>
5057
5058 * emacsclient.c (print_help_and_exit): Mention --version.
5059
50601999-08-25 Richard M. Stallman <rms@gnu.org>
5061
5062 * emacsclient.c (decode_options): Update version output.
5063 (print_help_and_exit): Update bug report address.
5064
50651999-08-13 Richard M. Stallman <rms@gnu.org>
5066
5067 * emacsclient.c (main): Move the dynamic allocation of
5068 system_name outside of the SERVER_HOME_DIR conditional.
5069 * emacsserver.c (main): Likewise.
5070
50711999-08-10 Gerd Moellmann <gerd@gnu.org>
5072
5073 * grep-changelog: New.
5074 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
5075
50761999-07-12 Richard Stallman <rms@gnu.org>
5077
5078 * Version 20.4 released.
5079
50801999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
5081
5082 * Makefile.in (clean): Remove fns*.el.
5083
50841999-06-23 Dave Love <fx@gnu.org>
5085
5086 * etags.c (erlang_attribute): Fix undefined variable usage (after
5087 Potortì).
5088
50891999-05-02 Andrew Innes <andrewi@gnu.org>
5090
5091 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
5092 mapped to _chsize.
5093
50941999-04-29 Richard M. Stallman <rms@gnu.org>
5095
5096 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
5097
50981999-03-30 Dave Love <fx@gnu.org>
5099
5100 * sorted-doc.c (main): Split up tables. Modify the preamble
5101 somewhat.
5102
51031999-03-05 Geoff Voelker <voelker@cs.washington.edu>
5104
5105 * makefile.nt: Remove common multiple file compilation commands.
5106
51071999-02-26 Richard Stallman <rms@gnu.org>
5108
5109 * Makefile.in (yow): Depend on epaths.h, not paths.h.
5110
5111 * yow.c: Refer to epaths.h.
5112
51131999-02-22 Simon Josefsson <jas@pdc.kth.se>
5114
5115 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
5116
51171999-01-27 Andrew Innes <andrewi@gnu.org>
5118
5119 * makefile.nt: Do make version comparison as strings.
5120
51211999-01-25 Richard Stallman <rms@gnu.org>
5122
5123 * emacsclient.c (xmalloc): Fix previous change.
5124
51251999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
5126
5127 * emacsclient.c (xmalloc): Declare to return long.
5128
51291999-01-22 Geoff Voelker <voelker@cs.washington.edu>
5130
5131 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
5132 the case of the drive letter.
5133
51341999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
5135
5136 * emacsserver.c (main): Eliminate arbitrary limit on
5137 length of system_name.
5138
5139 * emacsclient.c (main): Eliminate arbitrary limit on
5140 length of system_name.
5141 (xmalloc): Define unconditionally.
5142
51431999-01-12 Darrin B. Jewell <jewell@mit.edu>
5144
5145 * etags.c (relative_filename): Stop backward search at beginning
5146 of string, since non-Unix systems can have absolute paths with no
5147 initial slash.
5148
51491998-12-08 Geoff Voelker <voelker@cs.washington.edu>
5150
5151 * makefile.nt: Do string comparison of _NMAKE_VER.
5152
51531998-11-03 Theodore Jump <tjump@cais.com>
5154
5155 * makefile.nt: Compile multiple source files when possible.
5156
51571998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
5158
5159 * Makefile.in: Replace tabs with spaces
5160 when they might confuse some Make versions.
5161
51621998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
5163
5164 * emacsclient.c (main): Null-terminate system_name.
5165
5166 * emacsserver.c (main): Null-terminate system_name.
5167
51681998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5169
5170 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
5171 an error message from POP, mention that it's from POP, to
5172 distinguish it from local error messages.
5173
51741998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5175
5176 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
5177 order of messages downloaded from a POP server (e.g., if the
5178 server stores messages in mailboxes in reverse order).
5179
51801998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
5181
5182 * Version 20.3 released.
5183
51841998-08-11 Paul Eggert <eggert@twinsun.com>
5185
5186 * rcs2log: Update copyright date and bug report address.
5187 (initialize_fullname): Prefer getent if available.
5188
51891998-07-30 Paul Eggert <eggert@twinsun.com>
5190
5191 * Makefile.in (REGEXPDEPS, regex.o):
5192 Prepend $(srcdir)/ to rule dependencies outside this dir.
5193
51941998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
5195
5196 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
5197
51981998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
5199
5200 * Makefile.in: Properly terminate a comment.
5201
52021998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
5203
5204 * movemail.c (sys_wait): Rename to wait.
5205
5206 * ntlib.h: Undefine _WINSOCKAPI_.
5207
5208 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
5209
52101998-05-30 Geoff Voelker <voelker@cs.washington.edu>
5211
5212 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
5213
52141998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
5215
5216 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
5217 Force all file i/o to be in binary mode. Include ntlib.h.
5218
52191998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
5220
5221 * make-docfile.c: Include <unistd.h> for chdir.
5222
52231998-04-25 Richard Stallman <rms@psilocin.gnu.org>
5224
5225 * etags.c (TEX_decode_env): Don't free the value getenv returns.
5226
52271998-04-17 Geoff Voelker <voelker@cs.washington.edu>
5228
5229 * makefile.nt (obj): Update with new files in src.
5230 (clean): Delete patch scratch files, optimized compilation dir.
5231
52321998-04-08 Dave Love <fx@gnu.org>
5233
5234 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
5235 Irix6, at least.
5236
52371998-04-06 Andreas Schwab <schwab@gnu.org>
5238
5239 Silence -Wimplicit:
5240 * movemail.c: Move cancelations up. Include <stdlib.h> if
5241 available.
5242 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
5243 (parse_header): Explicitly declare return type.
5244 * emacsserver.c: Include <unistd.h> if available.
5245 (main, handle_signals, perror_1, fatal_error): Explicitly declare
5246 return types. Add forward declarations.
5247 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
5248 Don't declare geteuid.
5249 (print_help_and_exit): Change return type to void.
5250 Forward declare it.
5251 * b2m.c: Include <stdlib.h> if available.
5252 (main): Explicitly declare return type.
5253
52541998-04-03 Richard Stallman <rms@psilocin.gnu.org>
5255
5256 * etags.c (put_entries): Use %ld.
5257
5258 * b2m.c (fatal): Declare the arg.
5259
52601998-03-26 Richard Stallman <rms@psilocin.gnu.org>
5261
5262 * pop.c (pop_getline): Rename from getline.
5263
52641998-03-05 Richard Stallman <rms@psilocin.gnu.org>
5265
5266 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
5267 for the utilities.
5268
52691998-01-23 Dave Love <d.love@dl.ac.uk>
5270
5271 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
5272 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
5273 Always make named tags.
5274 (Fortran_functions): Grok BLOCK DATA.
5275
52761998-01-23 Andreas Schwab <schwab@gnu.org>
5277
5278 * movemail.c (main): Fix interwoven brace and cpp conditional
5279 nesting.
5280
52811997-12-03 Paul Eggert <eggert@delysid.gnu.org>
5282
5283 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
5284 with a '>' any lines starting with "From " read from the POP server,
5285 but leave the code in place, wrapped in #ifdef
5286 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5287 because it turns out that something is depending on it.
5288 Change suggested by Paul Eggert <eggert@twinsun.com>.
5289 Convert the character \037 (^_) at the beginning of a line into
5290 the character '^' followed by the character '_', because otherwise
5291 Emacs can't parse the resulting file as a valid BABYL file.
5292 Change suggested by Paul Eggert <eggert@twinsun.com>.
5293
52941997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5295
5296 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5297 server to contain embedded nulls.
5298
52991997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5300
5301 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5302 quotes with a '>' any lines starting with "From " read from the
5303 POP server, but leave the code in place, wrapped in #ifdef
5304 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5305 because it turns out that something is depending on it.
5306 Change suggested by Paul Eggert <eggert@twinsun.com>.
5307
5308 Convert the character \037 (^_) at the beginning of a line into
5309 the character '^' followed by the character '_', because otherwise
5310 Emacs can't parse the resulting file as a valid BABYL file.
5311 Change suggested by Paul Eggert <eggert@twinsun.com>.
5312
53131997-11-22 Richard Stallman <rms@gnu.org>
5314
5315 * b2m.c: Include getopt.h.
5316 (main): Use getopt_long to handle --version and --help.
5317
5318 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
5319
53201997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5321
5322 * pop.c (fullwrite): Get rid of an extra call to write.
5323 Problem pointed out by Chiaki Ishikawa.
5324
53251997-10-16 Dave Love <d.love@dl.ac.uk>
5326
5327 * etags.c (L_getit): Always make named tags so that Emacs
5328 completion on symbols containing `:' etc. works.
5329 (get_scheme): Likewise.
5330
53311997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5332
5333 * pop.c: Use system header files instead of declaring C-library
5334 functions explicitly.
5335
53361997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5337
5338 * Version 20.2 released.
5339
53401997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5341
5342 * Version 20.1 released.
5343
53441997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
5345
5346 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5347
5348 * ntlib.c (getpid): Delete function.
5349
53501997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5351
5352 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5353
53541997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5355
5356 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5357 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5358
53591997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5360
5361 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5362
53631997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
5364
5365 * profile.c (get_time): Cast arg to fprintf.
5366
5367 * hexl.c (main): Use %08lx instead of %08x in printf because the
5368 variable named addresses is long.
5369
53701997-08-08 Geoff Voelker <voelker@cs.washington.edu>
5371
5372 * makefile.nt (lisp): Update paths to lisp files that have moved.
5373
53741997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
5375
5376 * makefile.nt (ctags.obj): New target.
5377 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5378
5379 * ntlib.h: Add includes.
5380 Undo definitions of crt routines from config.h.
5381
53821997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5383
5384 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5385
53861997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5387
5388 * pop.c: Support auto-configuration of both Kerberos V4 and
5389 Kerberos V5 for movemail, including detection of V4 and V5 header
5390 files and libraries.
5391 Include <string.h> when STDC_HEADERS is defined, to get
5392 declarations of string functions.
5393 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
5394 V5 API rather than the old one.
5395 [KERBEROS] (socket_connection): Change a constant name from
5396 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5397 with a constant in a header file.
5398
5399 * Makefile.in: Support auto-configuration of both Kerberos V4 and
5400 Kerberos V5 for movemail, including detection of V4 and V5 header
5401 files and libraries.
5402
54031997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5404
5405 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5406
5407 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
5408
54091997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5410
5411 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5412
54131997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5414
5415 * movemail.c (rindex): Add declaration.
5416
54171997-07-01 Geoff Voelker <voelker@cs.washington.edu>
5418
5419 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5420 (movemail.exe): Depend upon and link with getopt files.
5421 (obj): Include new source files.
5422 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5423 (lisp): Include new and reorganized elisp files.
5424
54251997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5426
5427 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5428
54291997-06-25 Paul Eggert <eggert@twinsun.com>
5430
5431 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5432
54331997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
5434
5435 * b2m.c (readline): Terminate buffer properly when EOF seen.
5436 Test for valid pointer before dereferencing it.
5437
54381997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5439
5440 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5441 defined inside etags.c if HAVE_CONFIG_H is defined.
5442
54431997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5444
5445 * etags.c (logical): Type name changed to bool.
5446 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5447 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5448 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5449 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5450 (longopts): New long options without short counterpart are
5451 globals, members, no-globals, no-members. Regexp options are now
5452 defined conditionally to ETAGS_REGEXPS.
5453 (print_help): Update.
5454
54551997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5456
5457 * etags.c (C_entries): Use "." instead of "::" for Java.
5458 (consider_token): is_func renamed to is_func_or_var.
5459 (C_entries): is_func renamed to funorvar.
5460 (C_entries): Initialize tok.named.
5461 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5462 get rid of "import", "package" and "friend".
5463 (fvdef): Rename from funcdef. Also some constants renamed.
5464 All users changed.
5465 (C_entries): Make separate tags for variables separated by comma.
5466 (globals, members): New flags.
5467 (main, C_entries): Use them.
5468 (make_C_tag, C_entries): Make tok a global variable.
5469
54701997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5471
5472 * etags.c (funcdef): New vignore constant.
5473 (consider_token, C_entries): Use it to tag global variables.
5474 (print_help): Update for global variables.
5475 (consider_token, C_entries): Set the len member of token_name.
5476 (prolog_pred): Cleanup according to GNU coding standards.
5477 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
5478 (prolog_white, erlang_white): Rename to eat_white, callers changed.
5479
54801997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5481
5482 * etags.c (CHARS, CHAR): New constant and macro.
5483 (iswhite, begtoken, intoken, endtoken): Use them.
5484 (notinname, _nin, nonam): New macro, array, string.
5485 (init): Cleanup and init _nin.
5486 (new_pfnote): New function.
5487 (make_C_tag) [traditional_tag_style]: Use it.
5488 (traditional_tag_style): Constant set to TRUE for now.
5489
54901997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5491
5492 * etags.c (C_entries, Pascal_functions): Cleanup.
5493 (TeX_functions): NULL as a function arg needs a cast.
5494 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5495
54961997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5497
5498 * etags.c (TeX_functions): Cleaned up.
5499 (tex_getit): Remove.
5500
55011997-05-13 Paul Eggert <eggert@twinsun.com>
5502
5503 * rcs2log (files): When computing arguments automatically, ignore
5504 non-files within the RCS subdirectory.
5505
55061997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5507
5508 * etags.c (C_JAVA): New #define.
5509 (Cjava_suffixes): .java is Java.
5510 (Cjava_entries): New function.
5511 (lang_names): Add Java.
5512 (sym_type): Add st_C_javastruct for Java.
5513 (C_stab_entry): Add `extends' and `implements' keywords.
5514 (consider_token, C_entries): Recognize Java structures.
5515
55161997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5517
5518 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5519 (Postscript_suffixes): .ps is PostScript.
5520 (lang_names): Add postscript.
5521 (Postscript_functions): New function.
5522 (TEX_decode_env): Close minor memory leak.
5523 (just_read_file): Correct the char number of the tag.
5524
55251997-05-11 Paul Eggert <eggert@twinsun.com>
5526
5527 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5528 Don't prepend $nl since this causes some shells to generate the
5529 empty string when IFS is $nl.
5530 (printlogline): Use SOH (octal code 1), not CR, since some
5531 PC-based shells mishandle CR.
5532 (initialize_fullname): Set NIS_PATH to the empty string before invoking
5533 nismatch, in case it's set to some nonstandard value.
5534
55351997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5536
5537 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5538 read in separate blocks.
5539
55401997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5541
5542 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5543 (struct linebuffer): New member `len' is the length of the string.
5544 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5545 Use it instead of strlen.
5546 (TEX_getit): Declare and define unconditionally as static.
5547 (TeX_functions): Use if instead of #if TeX_named_tokens.
5548 (add_regex): Set RE_INTERVALS flag for regex compilation.
5549 (substitute): Code cleanup.
5550 (readline_internal): Code cleanup, set new member `len'.
5551 (readline): Bug corrected.
5552
55531997-04-23 Geoff Voelker <voelker@cs.washington.edu>
5554
5555 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5556 (obj): Change references of nt*.c files to w32*.c files.
5557
55581997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5559
5560 * etags.c (xnew): Add support for debugging with chkmalloc.
5561 (error): Use this instead of printf whenever possible.
5562 (main): Only call xnew after having initialized progname.
5563 (substitute): Bad memory corruption error corrected.
5564
55651997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5566
5567 * etags.c (add_regex): Undo previous change.
5568 (relative_filename): Small memory leak closed.
5569 (absolute_filename): Cleaned up the code, possibly closing a bug.
5570 (absolute_dirname): Always return a newly allocated string.
5571
55721997-03-21 Paul Eggert <eggert@twinsun.com>
5573
5574 * rcs2log (files): Ignore files in RCS directory whose names are
5575 of the form ,*, or *_; they are probably RCS lock files.
5576 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5577 they are used by rcsfreeze.
5578
55791997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5580
5581 * etags.c (add_regex): Reset *putbuf before using it.
5582
55831997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5584
5585 * movemail.c (popmail): Remove some unnecessary function
5586 declarations.
5587 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5588 into pop_retr, there's no reason to pass in mbx_write, and the
5589 file argument can be declared FILE * explicitly. This fixes a
5590 compilation problem on systems with 64-bit pointers.
5591
55921997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5593
5594 * movemail.c: Delete duplicate inclusion of fcntl.h
5595 and duplicate #undefs of open, read, write, close.
5596
55971997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5598
5599 * movemail.c (main): Do not display "[POP-password]" in the usage
5600 message when movemail is compiled without POP support.
5601 (main, popmail): Add the optional "-p" argument, which causes
5602 movemail to leave mail in the inbox after copying it into the
5603 output file.
5604
5605 * Makefile.in (movemail): Link with getopt.
5606
56071997-01-20 Paul Eggert <eggert@twinsun.com>
5608
5609 * rcs2log (--help, --version): New options, per GNU coding standards.
5610 (Copyright, Help, Id): New variables, for above.
5611 (rlog): Use -q option with cvs log, to avoid useless chatter.
5612
5613 Treat logs of "Initial revision" (RCS) or "file F was initially added
5614 on branch B." (CVS) as if they said "New file.", for consistency with
5615 change log entries.
5616
56171997-01-01 Paul Eggert <eggert@twinsun.com>
5618
5619 * vcdiff (PATH): Add /usr/xpg4/bin,
5620 where XPG4 SCCS hangs out in Solaris 2.5.
5621 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5622
56231996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5624
5625 * etags.c (streq, strneq): Use == NULL rather than !.
5626
56271996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5628
5629 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
5630 (movemail): Use LIBMAIL, to link against -lmail.
5631
5632 * movemail.c: Include maillock.h (conditionally).
5633 Remove a redundant inclusion of <stdio.h>.
5634 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5635 (main): Add variable spool_name.
5636 Support the usage of maillock and mailunlock to
5637 lock and unlock mailboxes.
5638 (mail_spool_name): New function.
5639
5640 * movemail.c: Fix an uninitialized variable which could cause
5641 movemail to exit with an error status incorrectly on systems which
5642 use lock files rather than a system locking function to lock
5643 mailboxes.
5644
56451996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5646
5647 * pop.c (socket_connection): Free realhost after using it.
5648
56491996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5650
5651 * etags.c (C_entries): Test tok.valid. This handles some
5652 particular cases involving function declarations that failed.
5653
56541996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
5655
5656 * pop.c (socket_connection):
5657 gethostbyname may return a pointer to static data.
5658 krb_realmofhost can clobber it. So copy it.
5659
56601996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5661
5662 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5663 must cast it to (char *) because we have no prototypes.
5664 (make_C_tag): Macro deleted, new function.
5665 (C_entries): Calls to make_C_tag macro changed to call function.
5666
56671996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5668
5669 * etags.c (grow_linebuffer): New function.
5670 (GROW_LINEBUFFER): Macro deleted. All callers changed.
5671 (make_tag): Macro renamed to make_C_tag. All callers changed.
5672 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
5673 (Prolog_functions): prolog_skip_comment was called with wrong
5674 number of arguments.
5675 (xrealloc): fatal was called with wrong number of arguments.
5676
56771996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5678
5679 * etags.c (relative_filename): Bug corrected.
5680 (etags_getcwd): Avoid warning of unused variable.
5681 (C_entries, consider_token): Add support for enum labels.
5682
56831996-11-03 Paul Eggert <eggert@twinsun.com>
5684
5685 * rcs2log: When processing cvs log output, remove `Attic/' from
5686 repository file names.
5687
56881996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
5689
5690 * emacsserver.c: Fix 1996-09-02 change.
5691
56921996-10-12 Paul Eggert <eggert@twinsun.com>
5693
5694 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
5695 option', since CVS says 'invalid option'.
5696 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
5697 revisions, since some hosts reject 1970-01-01 when east of UTC.
5698 (date): Remove.
5699
57001996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5701
5702 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
5703
57041996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5705
5706 * etags.c (print_version): Print copyright info.
5707
5708 * etags.c (print_help): Print the bug reporting address.
5709 (main): Use return as the last instruction, instead of exit.
5710
5711 * etags.c (main): Don't open the tags file in cxref mode.
5712
57131996-09-29 Dave Love <d.love@dl.ac.uk>
5714
5715 * rcs2log (date): Make default format acceptable to CVS post v1.8
5716 as well as earlier CVSs and RCS.
5717
57181996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5719
5720 * movemail.c (main): If the lock call fails with EBUSY or
5721 EAGAIN, retry a few times.
5722
57231996-09-25 Paul Eggert <eggert@twinsun.com>
5724
5725 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
5726 whether to append -zLT.
5727
57281996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5729
5730 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5731 * emacsclient.c, movemail.c: Likewise.
5732
57331996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5734
5735 * emacsclient.c (longopts): Change nowait to no-wait.
5736 (print_help_and_exit): Fix option name; upcase metavars.
5737
57381996-09-06 Erik Naggum <erik@naggum.no>
5739
5740 * emacsserver.c (main): Declare `fromlen' as size_t.
5741
57421996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5743
5744 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5745
57461996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5747
5748 * emacsclient.c (quote_file_name): Quote with &, not \.
5749 Quote `-' only at start of file name. Terminate the value string.
5750
5751 * emacsserver.c: Include signal.h properly;
5752 delete the duplicate includes for it.
5753
5754 * emacsserver.c: On fatal signal, delete socket-file:
5755 * emacsserver.c: Include signal.h.
5756 (xmalloc, fatal, error): New functions.
5757 (delete_socket, handle_signals): New functions.
5758 (progname, socket_name): New variables.
5759 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
5760
57611996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5762
5763 * emacsclient.c (quote_file_name): New function.
5764 (main, both versions): Use quote_file_name.
5765 (decode_options): Don't return a value.
5766 (main, both versions): Use optind.
5767 Don't check for -nowait here.
5768
5769 * emacsclient.c (decode_options): New function.
5770 (main, both versions): Call decode_options.
5771 (print_help_and_exit): New function.
5772 (VERSION): New macro.
5773
5774 * Makefile.in (emacsclient): Link with getopt.
5775 Add -DVERSION so emacsclient knows its version number.
5776
57771996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5778
5779 * makefile.nt (lisp): Include dos-nt.elc.
5780
57811996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5782
5783 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5784
57851996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5786
5787 * emacsclient.c (both versions): Handle -nowait and --nowait
5788 by sending data to the server.
5789
57901996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5791
5792 * Makefile.in (INSTALL_STRIP): New variable.
5793 (${archlibdir}): Use INSTALL_STRIP.
5794
5795 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5796 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5797
5798 * pop.c: Reverse conditional in previous change.
5799
58001996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5801
5802 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5803
58041996-08-24 Paul Eggert <eggert@twinsun.com>
5805
5806 * rcs2log: Use ISO 8601 date format, with time zone appended
5807 if change-log-time-zone-rule is non-nil, instead of
5808 traditional Unix date format.
5809
5810 (datearg): When computing default from ChangeLog, handle ISO format
5811 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5812 Don't worry about hh:mm:ss since the resolution is now by day.
5813 Use empty datearg, not empty rlog_options, to decide whether to pass
5814 "$datearg" option to $rlog.
5815 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5816 (month_data): Remove `mo'; no longer needed.
5817 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
5818
5819 Match `revision' line of rlog output more accurately.
5820
5821 Add -c, -v options.
5822
58231996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5824
5825 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5826
58271996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5828
5829 * Version 19.33 released.
5830
58311996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5832
5833 * Version 19.32 released.
5834
58351996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5836
5837 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5838 computing character positions in source files.
5839
58401996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5841
5842 * makefile.nt (clean): Use OBJDIR macro.
5843
58441996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5845
5846 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5847
58481996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
5849
5850 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
5851 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5852 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5853
58541996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5855
5856 * ntlib.h: Correct return type of getwd.
5857 * ntlib.c (getwd): Correct return type.
5858
58591996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5860
5861 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5862 to infile.
5863
58641996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5865
5866 * makefile.nt: Remove all references to wakeup.
5867
58681996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5869
5870 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5871 explicit, mutable, typename.
5872
58731996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5874
5875 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5876 streams, one for sending and one for reading the reply.
5877
58781996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5879
5880 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5881 (wakeup): Target deleted.
5882 (UTILITIES): Delete wakeup and timer.
5883
5884 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5885
58861996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5887
5888 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5889 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5890
58911996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5892
5893 * etags.c (main): Copy cwd when appending slash.
5894
58951996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5896
5897 * Version 19.31 released.
5898
58991996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5900
5901 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5902 (Pascal_functions): Increase linecharno by the correct number of
5903 chars, inline the GET_NEW_LINE macro and delete its definition.
5904
59051996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5906
5907 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5908
59091996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5910
5911 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
5912 (movemail.exe, fakemail.exe): Now built under Win32.o.
5913
5914 * ntlib.c: Include ntlib.h.
5915 (nt_sleep): Rename to sleep.
5916 (getwd): Return directory.
5917 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5918 sys_ctime, sys_fopen): New functions.
5919
5920 * ntlib.h: New file.
5921
59221996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5923
5924 * pop.c (SEND, RECV): Rename from send, recv.
5925 (pop_open, pop_trash): Make the trash_started code unconditional.
5926 (socket_connection): Delete casts to void.
5927
59281996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5929
5930 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5931 Definitions copied from lisp.h.
5932
59331996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5934
5935 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5936
5937 * hexl.c [DOSNT]: Include fcntl.h.
5938 [WINDOWSNT]: Include io.h.
5939 (main) [MSDOS]: Change conditional to DOS_NT.
5940
5941 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5942 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5943 [WINDOWSNT]: Include locking.h.
5944 (main): Update usage message. Use IS_DIRECTORY_SEP.
5945 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5946 (main) [WINDOWSNT]: Invoke locking instead of flock.
5947 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5948 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5949 Include winsock.h; don't include unix inet headers.
5950 (popmail): Add password argument and pass it to pop_open.
5951 Open output file in binary mode.
5952
5953 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
5954 Macro SOCKET_ERROR undefined.
5955 Don't declare h_errno.
5956 [!WINDOWSNT]: Define macros recv and send.
5957 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5958 (pop_open) [WINDOWSNT]: Initialize trash_started.
5959 (have_winsock) [WINDOWSNT]: New variable.
5960 (socket_connection) [WINDOWSNT]: Initialize winsock.
5961 (socket_connection): Use closesocket instead of close.
5962 (getline): Use recv instead of read.
5963 (fullwrite): Use send instead of write.
5964 (pop_trash): Use closesocket instead of close.
5965 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5966 Check if being called recursively by sendline.
5967
5968 * pop.h (struct _popserver): New field trash_started.
5969
5970 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5971
59721996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5973
5974 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5975
59761996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5977
5978 * etags.c [WINDOWSNT]: Include io.h.
5979
59801996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5981
5982 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5983
59841996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5985
5986 * hexl.c [DJGPP v2]: Include io.h.
5987 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5988
5989 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5990 DJGPP v2.
5991
59921996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5993
5994 * etags.c (absolute_filename): Use absolutefn.
5995
59961996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5997
5998 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5999 letter isn't an alphabetic character.
6000 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
6001 (process_file) [DOS_NT]: Convert all slashes to forward style.
6002 (absolute_filename) [DOS_NT]: Emit error message for relative
6003 paths with a drive letter.
6004 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
6005 DOS/NT drive letters which try to reference the parent of the root.
6006 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
6007
60081996-03-27 Geoff Voelker <voelker@cs.washington.edu>
6009
6010 * makefile.nt: Change uses of del to $(DEL).
6011
60121996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6013
6014 * etags.c (just_read_file): Reset lineno and charno on entry.
6015
60161996-03-15 Anders Lindgren <andersl@csd.uu.se>
6017
6018 * etags.c: Prolog language totally rewritten.
6019 (Prolog_functions): Rewritten from scratch.
6020 (skip_comment, prolog_getit): Remove.
6021 (prolog_skip_comment): New function, like old skip_comment.
6022 (prolog_pred, prolog_atom, prolog_white): New functions.
6023 (erlang_func, erlang_attributes): Forward declarations added.
6024 (erlang_atom): Check if backslash ends line inside quoted atom.
6025
60261996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6027
6028 * etags.c (absolutefn): DOS_NT version corrected.
6029 (main): Append "/" to the dir name only if not already there.
6030 (print_help): Explain the absolute/relative file name issue.
6031
60321996-03-08 Anders Lindgren <andersl@csd.uu.se>
6033
6034 * etags.c: New Language Erlang added.
6035 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
6036 (erlang_white): New functions.
6037 (Erlang_suffixes): New suffix list.
6038 (lang_names): Erlang entry added.
6039 (prolog_getit): Accepts headers spanning several lines.
6040 Always name tags.
6041 (Prolog_functions): Remove incorrect compensation for
6042 newline characters.
6043 (readline_internal): Zero-terminate last line.
6044
60451996-03-20 Mike Long <mike.long@analog.com>
6046
6047 * b2m.c (main): Initialize progname variable before using it.
6048 Quote `username' in From_ header.
6049
60501996-03-18 Geoff Voelker <voelker@cs.washington.edu>
6051
6052 * ntlib.c (getpid): New function.
6053
60541996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6055
6056 * emacsclient.c (main, both definitions):
6057 Print a newline for normal termination.
6058
60591996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
6060
6061 * tcp.c (main): Convert port to network byte order.
6062
60631996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
6064
6065 * pop.c (pop_retrieve, getline): Avoid type clashes.
6066
60671996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
6068
6069 * etags.c (enum sym_type, anonymous enum): Delete final comma.
6070
60711996-01-15 Paul Eggert <eggert@twinsun.com>
6072
6073 * rcs2log (initialize_fullname): Add support for NIS+.
6074 (hostname): Fully qualify the default hostname with the domainname
6075 if the hostname lacks a `.'.
6076
60771996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
6078
6079 * etags.c (consider_token): Fix typo in expression.
6080
60811996-01-04 Paul Eggert <eggert@twinsun.com>
6082
6083 * etags.c (substitute): Fix spelling in message.
6084
60851996-01-03 George V. Reilly <georger@microcrafts.com>
6086
6087 * makefile.nt (etags, ctags): Compile with regexp support.
6088 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
6089 subdirectory exists before compiling.
6090
60911996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
6092
6093 * emacsserver.c (main): Do chmod based on existing permission.
6094
60951995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6096
6097 * Makefile.in (install): Turn on read/execute permission.
6098
60991995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6100
6101 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
6102 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
6103
61041995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6105
6106 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
6107
61081995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
6109
6110 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
6111 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
6112 get_scheme, prolog_getit): Name the tag in ctags mode.
6113 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
6114 (Perl_interpreters): Accept "@PERL@" as an interpreter.
6115 (suggest_asking_for_help): New function.
6116 (main, get_language_from_name): Use suggest_asking_for_help.
6117 (main): Let get_language_from_name make language existence check.
6118 (streq, strneq): Check the arguments #if DEBUG.
6119
61201995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
6121
6122 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
6123 (gperf): Add keywords for Objective C and GNU macros.
6124 (sym_type): Add values to account for Objective C and GNU macros.
6125 (begtk): The '@' character can start a token.
6126 (objdef, methodlen, objtag): New variables for Objective C.
6127 (consider_token, C_entries): Add code for Objective C.
6128 (plain_C_suffixes): Add .m and .lm for Objective C.
6129 (Yacc_suffixes): Add .ym for Objective yacc.
6130 (GROW_LINEBUFFER): New macro.
6131 (consider_token, C_entries, Pascal_functions): Use the new macro.
6132 (consider_token): Take one more argument. Caller changed.
6133 (consider_token): Use the hashing function to spot GNU macros.
6134 (C_entries): Consider // as a comment start even in plain C for
6135 the sake of Objective C parsing.
6136
61371995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
6138
6139 * Makefile.in (ctags): Depend on etags only for simplicity;
6140 compile with regexp support enabled.
6141
61421995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6143
6144 * Version 19.30 released.
6145
61461995-11-22 Geoff Voelker <voelker@cs.washington.edu>
6147
6148 * makefile.nt (DOC, clean): Don't use switches to del not
6149 supported by Windows 95.
6150
61511995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6152
6153 * Makefile.in (regex.o): Depend on ../src/config.h.
6154
61551995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6156
6157 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
6158 (LOADLIBES): Use LIB_STANDARD.
6159
61601995-11-07 Kevin Gallo <kgallo@microsoft.com>
6161
6162 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
6163 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
6164 Windows 95 conditional.
6165
61661995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
6167
6168 * etags.c (get_lang_from_name, get_lang_from_interpreter)
6169 (get_lang_from_suffix): New functions.
6170 (get_language): Function deleted.
6171 (lang_entry): Two members added to struct.
6172 (lang_names): Reflect the new layout of lang_entry.
6173 (print_language_names, main, find_entries): Use the new functions.
6174 (find_entries): Look at the first line for #! if no language.
6175 (C_entries): Invalidate the token when funcdef is reset.
6176 (Perl_functions): New function.
6177 (lang_suffixes): .pl and .pm are Perl suffixes.
6178
61791995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
6180
6181 * etags.c (lowcase): Use the standard tolower function.
6182 (substitute): Remove some wrong and some useless code related with
6183 escape '\' character in regexp replacement string.
6184 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
6185 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
6186 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
6187 .prolog for prolog (.pl removed).
6188 (massage_name, etags_getcwd): Use lowcase instead of tolower.
6189 (C_entries, find_entries): Add comments about memory leakage.
6190 (add_node): Dead code removed.
6191
61921995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6193
6194 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
6195 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
6196
61971995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6198
6199 * test-distrib.c: Add #undef for open, close, read, write.
6200
62011995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6202
6203 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
6204 [! O_RDONLY]: Define it to zero.
6205 (main): Use O_RDONLY instead of explicit zero.
6206
62071995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
6208
6209 * etags.c (Pascal_functions): Close comment bug corrected.
6210 (add_node): Correctly compare node file names.
6211 (Pascal_functions): Correctly allocate and free memory for tline.
6212 (pfnote): Put the definition of fp in the innermost block.
6213 (NODE): `named' member removed.
6214 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
6215 use the `named' member, check whether `name' is NULL instead.
6216 (pfnote): `named' argument removed, all callers changed.
6217 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
6218 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
6219 removed from pfnote call, some code cleanup.
6220 (relative_filename): Free temporary space allocated by concat.
6221
62221995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6223
6224 * Makefile.in (getdate.c): New target.
6225 (getdate.o): Just compile getdate.c.
6226
62271995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
6228
6229 * fakemail.c (xrealloc): Change cast to match return type.
6230
62311995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6232
6233 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
6234
62351995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6236
6237 * movemail.c (main): Fix previous change.
6238 Add error check for empty OUTNAME.
6239
62401995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6241
6242 * movemail.c (main): Mention lock file name in error message.
6243
62441995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6245
6246 * profile.c (gettimeofday): New function, defined if necessary.
6247
62481995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6249
6250 * Makefile.in: Renamed from Makefile.in.in.
6251 (distclean): Delete Makefile.c, not Makefile.in.
6252
62531995-07-17 Michael Shields <shields@tembel.org>
6254
6255 * Makefile.in.in (tags): Synonym for `TAGS'.
6256
62571995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6258
6259 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
6260 configure has already set $(INSTALL) to the proper relative path.
6261
62621995-07-08 Paul Eggert <eggert@twinsun.com>
6263
6264 * rcs2log (datearg): Separate date from time with comma, not space,
6265 to work around CVS 1.5 bug.
6266 (CVSROOT): Don't abort when unset if repository is absolute.
6267
62681995-07-07 Paul Eggert <eggert@twinsun.com>
6269
6270 * rcs-checkin, rcs2log, vcdiff:
6271 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
6272 that interpret `#! /' as a 4-byte magic number.
6273
62741995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
6275
6276 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
6277 mailbox with "po:mailbox", the mailbox is everything after the
6278 "po:" prefix.
6279
62801995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6281
6282 * emacsserver.c: Make all error messages start with `Error: '.
6283 (fatal_error, perror_1): New functions, use throughout.
6284
62851995-06-28 Paul Eggert <eggert@twinsun.com>
6286
6287 * rcs2log (CVSROOT, repository):
6288 Allow remote repositories a la CVS 1.4.
6289
62901995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
6291
6292 * etags.c (plain_C_entries): New function.
6293 (lowcase): New macro.
6294 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6295 (lang_suffixes): New suffix ".pc" for Pro*C files.
6296 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6297 (tail): Look for the end of the token when comparing.
6298 (takeprec): Since now tail behaves differently, use strneq.
6299
63001995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6301
6302 * movemail.c (main): Add newline in usage message.
6303
63041995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6305
6306 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6307
63081995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
6309
6310 * etags.c (find_entries): Rewind before rereading the input file.
6311
63121995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6313
6314 * Version 19.29 released.
6315
6316 * make-docfile.c (main) [MSDOS]: Do set _fmode.
6317 This undoes part of the previous change.
6318
63191995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6320
6321 * make-docfile.c (main): On MSDOS, don't change stdout
6322 to binary, and insist on an -o option.
6323
63241995-06-13 Geoff Voelker <voelker@cs.washington.edu>
6325
6326 * etags.c (process_file, absolute_filename): Handle filenames
6327 starting with a drive letter.
6328
6329 * makefile.nt (install): Copy wakeup.exe properly.
6330
63311995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
6332
6333 * make-docfile.c [MSDOS]: #undef chdir.
6334
63351995-06-04 Paul Eggert <eggert@twinsun.com>
6336
6337 * rcs2log (output_authors): Allow ':' in time zone,
6338 as per ISO 8601 and RCS 5.6.8 beta.
6339
63401995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
6341
6342 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
6343 compatibility problems.
6344
63451995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
6346
6347 * etags.c (etags_getcwd): Don't use #elif.
6348 Have just one function body.
6349
63501995-05-25 Geoff Voelker <voelker@cs.washington.edu>
6351
6352 * makefile.nt (LIBS): Use BASE_LIBS.
6353 (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
6354 upon LIBS.
6355 (DOC): Use del instead of rm.
6356 (DOC) [WINDOWS95]: Use DOC.
6357 (clean): Handle MSVC aux files.
6358 (config.h, paths.h): Use $(CP) instead of cp.
6359 (config.h): Use $(CONFIG_H)
6360 (make-docfile.obj): Depend upon config.h.
6361 Clean up comments.
6362
63631995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
6364
6365 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6366 former gives the true path even in the presence of simlinks.
6367
63681995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6369
6370 * movemail.c (main): Increase lock timeout to five minutes.
6371
63721995-05-06 Geoff Voelker <voelker@cs.washington.edu>
6373
6374 * makefile.nt (obj): Use .c files.
6375
63761995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6377
6378 * make-docfile.c: Include config.h.
6379 (NO_SHORTNAMES): New definition.
6380 (xmalloc): Return long *.
6381
6382 * etags.c (C_entries): Cast result of xrealloc.
6383 (xmalloc, xrealloc): Declare them to return long *.
6384
6385 * b2m.c (xmalloc, xrealloc): Declare them long *.
6386
6387 * movemail.c (xmalloc): Declare it to return long *.
6388
63891995-04-30 Paul Eggert <eggert@twinsun.com>
6390
6391 * rcs2log (datearg): If rlog options are specified explicitly,
6392 omit the implicit '-d>DATE' option.
6393 (repository, rlog): Allow absolute paths to CVS repositories.
6394 Look only at the first line of CVS/Repository.
6395
63961995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
6397
6398 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6399 realclean.
6400
64011995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6402
6403 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6404 Alternative (empty) definitions.
6405
64061995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6407
6408 * emacsclient.c (main): Add argv[0] to an error message.
6409
64101995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
6411
6412 * emacsclient.c (main): Improve error handling.
6413 * cvtmail.c (main, skip_to_lf): Improve error handling.
6414 (sysfail): New function.
6415
6416 * b2m.c (main): Check for trailing ", " before trying to delete it.
6417
64181995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6419
6420 * Makefile.in.in (all): Build test-distrib and make-docfile.
6421
6422 * make-docfile.c (scan_c_file): At end, restore file name last char
6423 to its original value.
6424
64251995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6426
6427 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6428
64291995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6430
6431 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
6432 (alloca.o, regex.o): Use BASE_CFLAGS.
6433
64341995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6435
6436 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6437
64381995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
6439
6440 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
6441 (SOURCES, distclean): Remove obsolete references to aixcc.
6442
64431995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6444
6445 * aixcc.lex: File deleted--surely obsolete now.
6446
64471995-03-23 Paul Eggert <eggert@twinsun.com>
6448
6449 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6450 portability to mawk and nawk.
6451
64521995-03-21 Paul Eggert <eggert@twinsun.com>
6453
6454 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6455 -u "login<tab>fullname<tab>mailaddr".
6456
64571995-03-21 Paul Eggert <eggert@twinsun.com>
6458
6459 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6460 replaces the (now obsolescent) -n login fullname mailaddr option.
6461 Add -R option for recursive rlog.
6462 (AWK): New environment variable (default `awk') for awk program name.
6463 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6464 Quote authors and fullnames correctly.
6465 Don't omit path from repository root when logging CVS files.
6466
64671995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6468
6469 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6470 even if HAVE_SYSVIPC.
6471 * emacsclient.c (main): Use getcwd if not BSD.
6472
64731995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
6474
6475 * etags.c (process_file): Free (filename) after using it.
6476 (readline_internal): Do not access the char before start of line.
6477
64781995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
6479
6480 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
6481 savetok.valid. Mark token as valid when it is initialized.
6482 (make_tag): Make token only if token is valid and reset validity.
6483 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6484 (TOKEN): Add a new member: valid.
6485
64861995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
6487
6488 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6489 (main): Do not read twice the last filename in the stdin file list.
6490
64911995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
6492
6493 * etags.c (C_entries): Initialize the new members of TOKEN.
6494 (C_entries): Do not allocate a new space for each token found by
6495 consider_token. Let make_tag do that instead.
6496 (make_tag): Since now TOKEN has memory of where it is taken from,
6497 this new macro substitutes both make_tag_from_new_lb and
6498 make_tag_from_oth_lb. All callers changed.
6499 (TOKEN): Add linepos and buffer members.
6500 (main): Initialize token_str.
6501 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6502 (token_str): New global variable used by C_entries.
6503
65041995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
6505
6506 * Makefile.in.in (maintainer-clean): Rename from realclean.
6507
65081995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
6509
6510 * etags.c (pfnote): Initialize been_warned in the node.
6511 (C_entries): Remove a speed hack for the sake of clarity.
6512
65131995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
6514
6515 * etags.c (longopts, print_help, main): Use -I as abbreviation
6516 for the --ignore-indentation option.
6517 (main): Do not print an error message for unknown options.
6518
65191995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
6520
6521 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6522 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6523 (constantypedefs, update, vgrind_style, no_warnings)
6524 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6525 (permit_duplicates): Was a var, now a #define.
6526 (filename_lb): Was global, now local to main.
6527 (main): Open the tag file when in cxref mode.
6528 Use a BUFSIZ size buffer for making the shell commands.
6529 Look at the return value from the system routine.
6530 Exit when cannot open the tag file.
6531 (process_file): Open the file and pass the FILE* to find_entries.
6532 (find_entries): Now void, because does not open the file itself.
6533 (pfnote): Recovering from lack of memory does not work. Removed.
6534 Use savenstr and simplify the code.
6535 (free_tree): Only free the name space if node is named.
6536 (structtag): Now a pointer, not a fixed length array of chars.
6537 (consider_token): Don't take a token as argument. Use savenstr
6538 when saving a tag in structtag. Callers changed.
6539 (TOKEN): Structure changed. Now used only in C_entries.
6540 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6541 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
6542 (pfcnt): Delete. Users updated.
6543 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6544 (TEX_getit, prolog_getit): Use dinamic allocation for storing
6545 the tag instead of a fixed size buffer.
6546
65471995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6548
6549 * movemail.c (main): Skip past the colon in inname.
6550
65511995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6552
6553 * etags.c (pfatal): New function.
6554 (main, etags_getcwd): Use pfatal.
6555 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6556
65571995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6558
6559 * etags.c (Lang_function): Use void instead to declare the
6560 language functions, because many compilers are buggy.
6561 (etags_getcwd): Fix the previous fix on the #else branch.
6562 (readline_internal): Discard possible \r before \n here.
6563 (C_entries): Do not deal with \r here: undo previous fix.
6564
65651995-01-09 Francesco Potortì (pot@fly)
6566
6567 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6568 functions and a macro that allow the program to work on input
6569 lines of whatever length. Copied from etags.c.
6570 (fatal): Print a fatal error message and exit.
6571 (main): Use the new functions. Fixed a bug that made a \037 char
6572 appear at the end of the output.
6573
65741995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6575
6576 * etags.c (C_entries): Ignore carriage return at end of line.
6577
65781994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6579
6580 * fakemail.c (xmalloc, xrealloc): Add casts.
6581 (add_field): Handle <...> and "..." syntax.
6582 (setup_files, get_keyword): Clean up parens and line breaks.
6583 (args_size): Likewise.
6584
65851994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
6586
6587 * yow.c: Include program name in error messages.
6588
65891994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6590
6591 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6592 (xmalloc, fatal, error): New functions.
6593 (progname): New variable.
6594 (main): Set progname.
6595
65961994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6597
6598 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6599 (main): If socket/mqueue name is in home dir, add in the host name.
6600 Rename .emacs_server to .emacs-server....
6601
66021994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6603
6604 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6605
66061994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
6607
6608 * etags.c (print_help): Print --regex usage for ctags also.
6609 (main): Use -h in addition to -H as abbreviation for --help.
6610
66111994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6612
6613 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6614 is compiled if this is defined. The new functions and variables
6615 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6616 [VMS]: All VMS specific code previously contained in
6617 etags-vmslib.c is now included here, modified for dealing with
6618 language and regex options intermixed with filenames.
6619 (header_file): Global variable deleted.
6620 (Lang_Function): New typedef. All language parser functions
6621 changed to this new type.
6622 (string_numeric_p, substr, prestr): Functions deleted.
6623 (readline_internal): Does the job that readline did previously.
6624 (longopts): --language and --regex options added.
6625 (lang_names, lang_extensions, lang_func, print_language_names):
6626 New structures, variables and functions for choosing languages.
6627 (print_help): Help strings updated. Calls print_language_names.
6628 (argument_type, ARGUMENT): Typedefs for dealing with language and
6629 regex options intermixed with filenames.
6630 (main): Change the way of dealing with arguments on the command
6631 line to deal with language and regex options intermixed with
6632 filenames.
6633 (get_language, default_C_entries, Cplusplus_entries,
6634 Cstar_entries, Yacc_entries, just_read_file): New functions.
6635 (find_entries): Use the new method for choosing the language.
6636 (Pascal_functions): Allow intermixing of comment styles.
6637 (prolog_getit, skip_comment): Rewritten for speed.
6638 (readline): Rewritten to deal with regexps.
6639
66401994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6641
6642 * etags.c (<errno.h>): #include added.
6643 (etags_getcwd): Check return value from getcwd.
6644
66451994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6646
6647 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6648 (get_time): Use EMACS_SUB_TIME.
6649
66501994-10-30 Geoff Voelker <voelker@cs.washington.edu>
6651
6652 * ntlib.c: New file.
6653 * makefile.nt: New file.
6654
6655 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6656 [WINDOWSNT]: Include the NT headers.
6657 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6658
6659 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6660 [WINDOWSNT]: Include some NT headers.
6661
66621994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6663
6664 * pop.c (getline): When a search of already-read input for CRLF
6665 fails, store the fact that we've searched it and don't search it
6666 again after reading more data.
6667
6668 * pop.c (getline): When determining whether or not it's necessary
6669 to grow the input buffer, take into account the null that's stored
6670 at the end of already-read input in the buffer.
6671
66721994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
6673
6674 * etags.c (prestr, substr): Return a logical type.
6675 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
6676 (consider_token): Set funcdef to fignore when a DEFUN is met.
6677 (C_entries): Now we can use Tom Hageman patch for extern "C".
6678
66791994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6680
6681 * movemail.c: PopServer renamed to popserver throughout.
6682
66831994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6684
6685 * etags.c: Don't declare malloc, since we include config.h.
6686 * fakemail.c: Likewise.
6687
66881994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6689
6690 * movemail.c: Don't declare malloc.
6691
66921994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6693
6694 * rcs-checkin: Use test -r instead of < to check readability, to
6695 avoid syntax error.
6696
66971994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
6698
6699 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
6700 defined, and if HAVE_CONFIG_H isn't defined, define
6701 MAIL_USE_POP always (so that this file can be included in
6702 other programs besides emacs).
6703
6704 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
6705 HAVE_CONFIG_H isn't defined.
6706
6707 * pop.c (find_crlf, getline): Instead of using strstr, use a
6708 custom function for finding CRLF.
6709 (my_strstr): Function deleted.
6710
67111994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
6712
6713 * pop.c (getline): Fix a segfault because of passing a
6714 non-null-terminated string into strstr(). Fix from
6715 djm@va.pubnix.com (David J. MacKenzie).
6716
6717 * pop.c: Don't include <string.h> and <strings.h>.
6718
6719 * pop.c: Include <des.h> before <krb.h>, rather than after.
6720 They should be interchangeable, and indeed the inclusion is done in
6721 both orders in various files in the Kerberos 4 library sources,
6722 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6723 requires that <des.h> be included first, and I don't see any harm
6724 in changing the order.
6725
6726 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6727 STDC_HEADERS, if they're defined. Undef open, read, write and
6728 close after including it.
6729
67301994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6731
6732 * pop.c: Fix mismatch in conditionals.
6733
6734 * make-docfile.c (main): Don't process one input file twice.
6735 Never use exit code > 1.
6736
6737 * pop.c (open, close, read, write): Add #undefs.
6738
6739 * pop.c: Don't declare malloc, realloc, free.
6740 Include ../src/config.h.
6741 Don't include string.h or strings.h.
6742 Include des.h before krb.h.
6743 Do declare my_strstr.
6744 (getline): Really use my_strstr.
6745 Leave one empty place in server->buffer,
6746 and put a null at the end of the data in it.
6747
67481994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6749
6750 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6751 Don't call kill with pid 0. Handle EINTR when receiving messages.
6752
67531994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6754
6755 * Makefile.in.in (regex.o): Use full path to find regex.c.
6756
67571994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
6758
6759 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6760 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
6761
67621994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6763
6764 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6765 (${archlibdir}): Use mkinstalldirs instead.
6766
6767 * movemail.c: Make functions that return nothing void, not
6768 implicitly int.
6769 (main): Improve usage message.
6770 (error): Write to stderr, not stdout.
6771
6772 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6773 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6774 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6775 warnings from unused variables and implicitly declared functions.
6776
67771994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6778
6779 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6780 (distclean): Not here.
6781
6782 * Makefile.in.in (libexecdir): Rename from libdir.
6783
67841994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
6785
6786 * etags.c (C_entries): Name the #define's that are macros.
6787
67881994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6789
6790 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6791 fd_set arg is a pointer, descriptor arg comes first.
6792
67931994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
6794
6795 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6796 (C_entries): Recognize #define inside a struct.
6797 (C_entries): ANSI tells that preprocessor commands do not have to
6798 start on the first column.
6799 (print_help): Documentation corrected for -d and -D.
6800 (white, endtk): ANSI tells the vertical tab is a separator.
6801
68021994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6803
6804 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6805 (pop.o, movemail.o): New targets.
6806 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6807
6808 * pop.c, pop.h: New files.
6809
6810 * movemail.c: Improve POP code, move most of it into a separate file.
6811 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6812 (mbx_write): Check for errors and for From line.
6813 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6814 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6815 (pop_init): Functions deleted.
6816
68171994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6818
6819 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6820 Rename path to dirname.
6821
68221994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6823
6824 * Makefile.in.in (UTILITIES):
6825 Remove test-distrib, make-docfile, make-path.
6826 (DONT_INSTALL): New variable--list those files here.
6827 (clean): Delete the files in DONT_INSTALL.
6828
68291994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6830
6831 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6832 (main): Use fgets, not gets.
6833
68341994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6835
6836 * timer.c: Don't declare malloc.
6837
68381994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6839
6840 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6841 defined, use simple 32-bit versions of these macros.
6842 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6843
68441994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6845
6846 * etags.c (etags_getcwd): Use getcwd if available.
6847
68481994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6849
6850 * Version 19.27 released.
6851
68521994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6853
6854 * Version 19.26 released.
6855
68561994-08-15 Paul Eggert <eggert@twinsun.com>
6857
6858 * rcs2log: Add support for CVS.
6859 Work with `rlog's that output ISO 8601 dates.
6860
68611994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6862
6863 * rcs2log: Use <> to delimit email address.
6864
68651994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6866
6867 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6868 so we can listen for multiple requests.
6869
68701994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6871
6872 * movemail.c: Include config.h first thing.
6873
68741994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6875
6876 * emacsserver.c (main): Add casts to avoid warnings.
6877
68781994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6879
6880 * Makefile.in.in (${archlibdir}): Compare the proper dir
6881 before installing the scripts.
6882
68831994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6884
6885 * emacsclient.c (main): New local var progname saves argv[0].
6886
68871994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6888
6889 * emacsclient.c (main): Don't actually modify argv[0].
6890 Modify a copy instead.
6891
68921994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6893
6894 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6895 (tzp): Var deleted.
6896
6897 * Makefile.in.in: Add #undef alloca.
6898
68991994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6900
6901 * timer.c (xmalloc): New function.
6902
69031994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6904
6905 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6906 (alloca.o): New target.
6907
69081994-07-08 Dave Love (d.love@dl.ac.uk)
6909
6910 * etags.c (takeprec): Recognize `character*(*) function'.
6911
69121994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6913
6914 * etags.c (main): Don't barf on obsolete -t and -T switches.
6915 (main): Print an explicative message when a switch is not known.
6916
69171994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6918
6919 * hexl.c: Don't declare exit or perror.
6920
6921 * emacsserver.c (main): Don't declare geteuid.
6922 Don't declare getenv if convex.
6923
69241994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6925
6926 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6927
69281994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6929
6930 * etags.c (absolute_filename): Remove infinite loop bug when
6931 accessing files in directories whose name begins with a dot.
6932
69331994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6934
6935 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6936
69371994-06-01 Morten Welinder (terra@diku.dk)
6938
6939 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6940 location of data directory.
6941
69421994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6943
6944 * Version 19.25 released.
6945
69461994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6947
6948 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6949
69501994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6951
6952 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6953
69541994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6955
6956 * Version 19.24 released.
6957
69581994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6959
6960 * make-docfile.c (write_c_args): Put `default' in upper case.
6961
69621994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6963
6964 * etags.c (etags_getcwd): Cast result of popen.
6965 (popen): Declaration deleted.
6966
69671994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6968
6969 * etags.c [!MSDOS]: Declare popen.
6970
69711994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6972
6973 * b2m.c (main): Avoid crash if argc is 1.
6974
69751994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6976
6977 * Version 19.23 released.
6978
6979 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6980
69811994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6982
6983 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6984
69851994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6986
6987 * Makefile.in.in: Fix out of date comment.
6988
69891994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6990
6991 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6992 Move all autoconf substitutions above that point.
6993 Above that point, use Make-style comments.
6994 This goes with changes in ../configure.in.
6995
69961994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6997
6998 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6999 warning message.
7000 (${archlibdir}): Don't do it here. Don't depend on blessmail.
7001
70021994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
7003
7004 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
7005
70061994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7007
7008 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
7009 print advice to run it, if it has anything significant to do.
7010 And only if MOVEMAIL_NEEDS_BLESSING.
7011 (blessmail): Use emacs, not temacs.
7012 (configuration): Rename from configname.
7013
70141994-04-30 Morten Welinder (terra@diku.dk)
7015
7016 * etags.c (find_entries): Treat `*.cpp' as C++ files.
7017
70181994-04-30 Morten Welinder (terra@diku.dk)
7019
7020 * etags.c [MSDOS]: #include <sys/param.h> for the following.
7021 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
7022 a shell.
7023
70241994-04-29 Morten Welinder (terra@diku.dk)
7025
7026 * hexl.c [MSDOS]: Don't define proto type for exit.
7027
70281994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7029
7030 * b2m.c: Don't include string.h or strings.h.
7031
70321994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
7033
7034 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
7035 symbols, not make variables.
7036
70371994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7038
7039 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
7040 * etags.c (print_version): Print VERSION as a string.
7041
70421994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7043
7044 * fakemail.c (readline): Fix updating of p when buffer grows.
7045
70461994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
7047
7048 * Makefile.in.in (blessmail): New target.
7049 ${archlibdir}: Use blessmail when installing movemail.
7050
70511994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7052
7053 * fakemail.c (readline): When extending the buffer,
7054 calculate end afresh using the new size.
7055
70561994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
7057
7058 * etags.c (main, print_help): Eliminate the -F option.
7059
70601994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
7061
7062 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
7063
70641994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7065
7066 * Makefile.in.in: Renamed from Makefile.in.
7067 Makefile.in is now generated from it, and then preprocessed.
7068 Change comments to C syntax.
7069 Include config.h.
7070 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
7071 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
7072
70731994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7074
7075 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
7076
70771994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
7078
7079 * etags.c (etags_getcwd): Initialize bufsize.
7080
70811994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7082
7083 * profile.c (gettimeofday): If system doesn't have this, define it
7084 to give a fatal error.
7085
70861994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
7087
7088 * movemail.c (main): Use setuid, not seteuid.
7089
70901994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7091
7092 * etags.c: #undef static.
7093
70941994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
7095
7096 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
7097 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
7098 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
7099 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
7100 TeX_functions, Prolog_functions.
7101 (inf): No more a global variable.
7102 (C_entries): Take 2nd parameter `inf' instead of using the global one.
7103 (find_entries): Add the cp1 var for optimization.
7104 (find_entries): Add more suffixes for assembler files.
7105 (Asm_funcs): Now finds labels even without an ending colon.
7106
71071994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
7108
7109 * etags.c (main): Use etags_getcwd for compatibility.
7110 (etags_getcwd): New function.
7111
71121994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7113
7114 * Makefile.in (etags, ctags): Pass -D for VERSION.
7115
71161994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
7117
7118 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
7119 (main): Don't allow the use of -t and -T in etags mode.
7120 (print_help): Don't show options enabled by default.
7121 (print_version): Show the emacs version number if VERSION is #defined.
7122 (find_entries): Add "ss" as suffix for Chez Scheme.
7123
71241994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
7125
7126 * etags.c (cwd, outfiledir): Vars added.
7127 (relative_filename, absolute_filename, absolute_dirname):
7128 functions added to compute filenames in tags files.
7129 (process_file): Filenames in tags file are relative to the
7130 directory where the tags file is (useful with the -o option).
7131 (main): Initialize the outfiledir var.
7132 (TYPEDST): Add the `tignore' value.
7133 (C_entries): Corrected various small bugs.
7134
71351994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7136
7137 * Makefile.in (UTILITIES): `env' deleted.
7138 (env): Target deleted.
7139 * env.c: File deleted.
7140
71411994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7142
7143 * Makefile.in (install, ${archlibdir}): Switch back to ..
7144 before running INSTALL_PROGRAM.
7145
71461994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
7147
7148 * etags.c (TYPEDST): Add the `tignore' value.
7149 (C_entries): Corrected various bugs, now correctly parses the
7150 `extern "C" {' construction (patch by Tom R.Hageman).
7151
71521994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7153
7154 * b2m.c: Use <...> to include config.h.
7155 Don't include stdlib.h.
7156
71571994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
7158
7159 * b2m.c (main): Change delimiter from "^L" to "^_^L".
7160 Allow for text following "BABYL OPTIONS:".
7161 Add --help option. Use argv[0] in error messages.
7162
71631994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7164
7165 * emacsclient.c (main) [HAVE_SYSVIPC]:
7166 Make msgp->mtext longer if necessary.
7167 On HPUX, error if it's more than 512 chars.
7168
71691994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
7170
7171 * etags-vmslib.c: Use GPL.
7172 * emacstool.c: Use GPL.
7173 * fakemail.c: Update GPL.
7174
7175 * make-path.c (main): Return 1 on error, not -1.
7176 Update GPL.
7177
7178 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
7179 (xmalloc, xrealloc): Return char *, not int.
7180 (error): Write to stderr, not stdout.
7181 Update GPL.
7182
71831994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
7184
7185 * profile.c (main, get_time): Don't crash on invalid input.
7186
71871994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
7188
7189 * profile.c (get_time): Simplify; avoid calling index.
7190 (main): Exit on EOF.
7191
71921994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
7193
7194 * etags.c (--absolute-pathnames): Option removed.
7195
71961994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7197
7198 * fakemail.c (put_line): Don't break the line if it all fits.
7199
72001994-02-14 Francesco Potortì (pot@fly)
7201
7202 * etags.c (absolute_pathnames, cwd): Add global vars.
7203 (longopts, print_help, main, process_file): Put absolute filenames
7204 in the tag file if the -A --absolute-pathnames option is used.
7205 (print_help): Alphabetically order the options.
7206 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
7207
72081994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7209
7210 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
7211 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
7212
72131994-02-07 Christian Lynbech (lynbech@avignon)
7214
7215 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
7216
72171994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7218
7219 * Makefile.in (UTILITIES): Mention profile.
7220 (profile): New target.
7221
7222 * profile.c: New file.
7223
72241994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7225
7226 * make-docfile.c: Make the argument list output look more like the
7227 Lisp docstrings do.
7228 (write_c_args): Take new arg FUNC. Make output
7229 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
7230 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
7231
72321994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
7233
7234 * etags.c (stab_entry, stab_create, stab_find, stab_search,
7235 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
7236 Use gperf generated hash table instead of linked list.
7237 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
7238 Mostly code generated by gperf.
7239 (consider_token): Remove unused parameter `lp'.
7240 (PF_funcs, getit): Allow subroutine and similar declarations
7241 to span multiple lines.
7242 (C_entries): Check for newline if inchar to avoid bus errors.
7243 (process_file, find_entries): Distinguish among nonexistent
7244 and not regular file.
7245
72461994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7247
7248 * timer.c: Include errno.h; don't include fasync.h.
7249 (schedule): Don't return a value.
7250 (sigcatch): Reestablish the handler first.
7251 (getevent): Always call notify at the end.
7252 (notify): Defer alarms around the whole body of function.
7253
72541994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7255
7256 * timer.c (main): Don't request SIGIO, and don't handle it.
7257 Loop calling getevent.
7258 (sigcatch): Delete code to handle SIGIO.
7259 if defer_alarms is set, don't call notify, just set alarm_deferred.
7260 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
7261 Set defer_alarms around realloc and schedule.
7262 If alarm_deferred gets set, call notify.
7263 Likewise if this event is the only pending event.
7264 Make buf and buf_size global variables.
7265 Don't malloc buf if it is already non-zero.
7266 (schedule): Just exit if run out of memory.
7267 Return the number of events.
7268 (signal) [_CX_UX]: Add #undef.
7269
72701994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7271
7272 * timer.c [USG] (SIGIO): Define as SIGPOLL.
7273 (main) [USG]: Do ioctl to enable SIGPOLL.
7274
72751994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7276
7277 * timer.c: Don't declare sys_errlist; declare strerror instead.
7278 (schedule, main): Call strerror instead of using sys_errlist.
7279 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
7280 Call strerror instead of using sys_errlist.
7281 * env.c (main): Call strerror instead of using sys_errlist.
7282 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
7283 (main): Call strerror instead of using sys_errlist.
7284 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
7285 * env.c [! HAVE_STRERROR] (strerror): Likewise.
7286 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
7287 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
7288
72891994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7290
7291 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
7292
7293 * movemail.c (malloc): Don't declare it.
7294 (xmalloc): Cast result of malloc.
7295 (strcpy): Don't declare it.
7296
72971993-11-14 Morten Welinder (terra@diku.dk)
7298
7299 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7300 (main): Use fclose to close file opened by fopen.
7301
7302 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7303
7304 * movemail.c [MSDOS]: #undef `access'.
7305
7306 * b2m.c (main) [MSDOS]: Open all files as binary.
7307 * etags.c (main) [MSDOS]: Open all files as binary.
7308
7309 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7310 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7311 with.
7312
73131994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7314
7315 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7316 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7317 (LINK_CFLAGS): New variable.
7318 (timer): Use LINK_CFLAGS.
7319
73201993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7321
7322 * movemail.c: Include syswait.h.
7323 Fork a subprocess and use it to copy the mail file.
7324
73251993-12-07 Richard Stallman (rms@srarc2)
7326
7327 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7328
73291993-12-04 Richard Stallman (rms@srarc2)
7330
7331 * movemail.c (main): When making tempname, cast result of xmalloc.
7332 Include room for EXXXXXX in the size.
7333 Don't use result of strcpy.
7334
73351993-12-03 Paul Eggert (eggert@twinsun.com)
7336
7337 * vcdiff: Add --brief option.
7338
73391993-12-02 Richard Stallman (rms@srarc2)
7340
7341 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7342 for all executables and scripts.
7343
73441993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7345
7346 * Version 19.22 released.
7347
73481993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7349
7350 * Makefile.in (mostlyclean): Make it distinct from clean.
7351
73521993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7353
7354 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7355
73561993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7357
7358 * Version 19.21 released.
7359
7360 * Makefile.in (install): Don't change mode or group when installing.
7361
7362 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7363
73641993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7365
7366 * make-docfile.c (read_c_string): For "", concatenate the two strings.
7367
7368 * movemail.c (main): Fix error message text.
7369
73701993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7371
7372 * Version 19.20 released.
7373
73741993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
7375
7376 * etags.c (C_entries): Keep track of ()-parenthesis level so that
7377 functions returning a pointer to a function, a la `signal', can be
7378 parsed. This also required new state `fstartlist' to `FUNCST'.
7379 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
7380 (C_entries, CNL): Use it to isolate preprocessor directive processing
7381 from the other state engines.
7382 (begtk): Add '~', for C++ class destructors.
7383
73841993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
7385
7386 * etags.c (consider_token): Remove unused variable firsttok.
7387 (prolog_getit): Call pfnote with the right number of arguments.
7388
73891993-10-19 Paul Eggert (eggert@twinsun.com)
7390
7391 * rcs2log (printlogline): Don't generate lines containing only
7392 white space.
7393
73941993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7395
7396 * Makefile.in (${archlibdir}):
7397 Install ${SCRIPTS} from ${srcdir}, not cwd.
7398
73991993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7400
7401 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7402 the comment character.
7403
74041993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
7405
7406 * etags.c (process_file): Dead code removed.
7407 (S_ISREG): #define it using S_IFREG if not defined.
7408 (process_file): Regular files have nothing to do with symlinks.
7409
74101993-09-28 Brian J. Fox (bfox@ai.mit.edu)
7411
7412 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7413 from current directory. Only chmod and chgrp files that we
7414 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
7415 ${bindir}.
7416 (INSTALLFLAGS): Delete definition, since it is an unused variable
7417 now.
7418
74191993-09-27 Brian J. Fox (bfox@ai.mit.edu)
7420
7421 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7422 Let configure figure out the correct values for these variables.
7423
74241993-09-14 Brian J. Fox (bfox@ai.mit.edu)
7425
7426 * Makefile.in (archlibdir): Only install executables internally
7427 used by emacs; don't install bindir binaries here.
7428
74291993-09-24 Paul Eggert (eggert@twinsun.com)
7430
7431 * rcs2log: Add -h, -n, -r options.
7432 By default, look for *,v files as well as RCS/*,v files.
7433 Use $TMPDIR (default /tmp) instead of /tmp.
7434
74351993-09-20 Francesco Potortì (pot@fly)
7436
7437 * etags.c (C_entries): is_func is initialized here instead of in
7438 consider_token for the sake of the yacc rules section.
7439 (C_entries): Now class, struct, enum, union and typedef produce
7440 named tags.
7441
74421993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
7443
7444 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7445
74461993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7447
7448 * Makefile.in: Support configuring in a different directory when
7449 ${srcdir} has already been configured.
7450 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7451 -I${srcdir}/../src.
7452 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7453 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7454 is already in CPP_FLAGS.
7455 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7456 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7457
74581993-08-25 Paul Eggert (eggert@twinsun.com)
7459
7460 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
7461 otherwise, HP awk complains.
7462
7463 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7464 are common hangouts for SCCS commands.
7465
74661993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7467
7468 * Version 19.19 released.
7469
74701993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7471
7472 * Makefile.in (make-path): Dep on config.h.
7473
74741993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7475
7476 * b2m.c (TRUE, FALSE): Don't define if already defined.
7477
74781993-08-09 Paul Eggert (eggert@twinsun.com)
7479
7480 * rcs2log (awkscript):
7481 Some sites put comma-separated junk after the fullname.
7482 Remove it, but leave "Bill Gates, Jr" alone.
7483 Remove the junk from fullnames like "0000-Admin(0000)".
7484
74851993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7486
7487 * Version 19.18 released.
7488
74891993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
7490
7491 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7492 (L_funcs): The (foo::defmumble stuff now should work.
7493 (consider_token): Function returned random value--corrected.
7494 (C_entries): Corrected == versus = typo.
7495
74961993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7497
7498 * etags.c (put_entries): For NODE->rewritten, put pattern before
7499 \177 and name after, not vice versa.
7500
75011993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7502
7503 * timer.c (main): Generate a SIGIO as soon as we've initialized.
7504
75051993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
7506
7507 * etags.c (FINCST): Add the fignore status. Means we are
7508 after the parameter list and before the open curly brace.
7509 Allows correct parsing of C++ constructors.
7510 (C_entries, consider_token): Make use of fignore.
7511 (consider_token): Reset funcdef when next_token_is_func: when in
7512 ctags mode makes DEFVAR and others work better.
7513 (L_isquote): Function that recognizes the "(quote" string.
7514 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
7515
75161993-07-29 Paul Eggert (eggert@twinsun.com)
7517
7518 * rcs-checkin: Don't check whether a file is readable until we have
7519 decided not to ignore it.
7520
75211993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7522
7523 * Makefile.in (etags): Depend on ../src/config.h.
7524
7525 * emacsserver.c: Include types.h before file.h.
7526
75271993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7528
7529 * Makefile.in (install): Use .n, not .new, for temporary filenames.
7530
75311993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7532
7533 * Version 19.17 released.
7534
75351993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7536
7537 * etags.c (print_help): Break up the very long strings containing
7538 the help message into shorter strings, to placate chintzy C
7539 compilers which can't handle strings that long.
7540
7541 * wakeup.c: Use CPP tangle from autoconf manual to #include the
7542 correct combination of <time.h> and <sys/time.h>.
7543
75441993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7545
7546 * etags.c (alloca): Remove all references to it.
7547 (main): Now calls xnew instead of alloca for portability.
7548 (../src/config.h): Included only if HAVE_CONFIG_H.
7549 (const): Void definition removed--config.h takes care of it.
7550
75511993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7552
7553 * etags.c (consider_token): Was `==', now is `='.
7554 (consider_token): DEFUNs now treated like funcs in ctags mode.
7555
7556 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7557 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
7558 (C_entries): Remove a piece of useless code.
7559 (C_entries): Making typedef tags is delayed until a semicolon
7560 is met. This handles "typedef int X, Y, Z;" correctly.
7561
75621993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7563
7564 * Version 19.16 released.
7565
7566 * b2m.c: #include <sys/types.h>.
7567 (ltoday): Declare this to be time_t.
7568
75691993-06-30 Paul Eggert (eggert@twinsun.com)
7570
7571 * vcdiff: Add -q option.
7572
75731993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7574
7575 * etags.c: #include "config.h" and the alloca CPP tangle before
7576 #including the system headers and getopt.h. AIX requires the
7577 #pragma to come before any actual C code.
7578
75791993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7580
7581 * Makefile.in (ctags): Depend on etags, so that parallel makes
7582 don't write etags.o files on top of each other.
7583
75841993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7585
7586 * version 19.15 released.
7587
75881993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7589
7590 * etags.c (add_node): Move var last_node to file scope.
7591
75921993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7593
7594 * Version 19.14 released.
7595
75961993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7597
7598 Bring mumbleclean targets into conformance with GNU coding standards.
7599 * Makefile.in (distclean): Call clean to do most of the work.
7600 Delete aixcc.c and TAGS.
7601 (realclean): Just call distclean.
7602
7603 * Makefile.in: Remember, spaces are not tabs.
7604
76051993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7606
7607 * Makefile.in (CPP_CFLAGS): New variable.
7608 Use it instead of ALL_CFLAGS when compiling a .c file.
7609 (getopt.o, getopt1.o): Add explicit compilation commands.
7610
76111993-06-10 Mark D. Baushke (mdb@cisco.com)
7612
7613 * etags.c: Reinstate old -f option as an alias for -o for
7614 installed base uses.
7615
76161993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7617
7618 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7619 to bind or accept, cast the pointer, to avoid warnings on systems
7620 which declare prototypes for this.
7621 * emacsclient.c (main): Same.
7622
7623 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7624
76251993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7626
7627 * Version 19.13 released.
7628
7629 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7630 comes from, not sys/time.h.
7631
76321993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7633
7634 * wakeup.c: Include sys/time.h.
7635
7636 * etags.c: #undef static.
7637
7638 * Version 19.12 released.
7639
7640 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7641
76421993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7643
7644 * Version 19.11 released.
7645
7646 * timer.c [LINUX]: #undef signal.
7647 * emacsserver.c: #undef signal.
7648
76491993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7650
7651 * wakeup.c (main): Make when a time_t.
7652
76531993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7654
7655 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
7656 `(cd foo ; pwd)' to get the canonical name of a directory; cd
7657 might fail, and have pwd print out the current directory.
7658
7659 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7660 string-handling functions.
7661
76621993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7663
7664 * Version 19.10 released.
7665
76661993-05-29 Paul Eggert (eggert@twinsun.com)
7667
7668 * rcs2log: When given no file arguments, inspect RCS/.* as well
7669 as RCS/*. Don't report an error if RCS is empty or nonexistent.
7670
76711993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7672
7673 * Makefile.in (timer): Link with $(LOADLIBES).
7674
76751993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7676
7677 * fakemail.c (put_line): Don't output \n\t unless more text follows.
7678
76791993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7680
7681 * etags.c: Replace the CPP tangle for alloca with the one from the
7682 autoconf documentation, since that's working elsewhere.
7683
76841993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7685
7686 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
7687 description files can find their ancestors.
7688
76891993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7690
7691 * Makefile.in (install): Get the scripts from ${srcdir},
7692 unlike the executables.
7693 (ALL_CFLAGS): Add -I../src.
7694
76951993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7696
7697 * Version 19.9 released.
7698
76991993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7700
7701 * Makefile.in (install): Do install the programs listed in
7702 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
7703 INSTALLABLE_SCRIPTS, instead of writing the programs out.
7704
7705 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
7706 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
7707
77081993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7709
7710 * etags.c: Include ../src/config.h.
7711
7712 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
7713 in first loop. Delete files from bindir before installing new ones.
7714 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
7715
77161993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7717
7718 * Version 19.8 released.
7719
7720 * make-docfile.c: Doc fix.
7721
77221993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7723
7724 * tcp.c: Fix comment syntax at top of file.
7725 (main): Don't call htons with the port number.
7726
77271993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7728
7729 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
7730 appropriate.
7731
7732 * Makefile.in (install): Refer to the variables INSTALLABLES and
7733 INSTALLABLE_SCRIPTS, instead of writing them out.
7734
77351993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7736
7737 * make-path.c (main): Return 0.
7738
77391993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7740
7741 * Version 19.7 released.
7742
77431993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7744
7745 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7746
77471993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7748
7749 * tcp.c: New file.
7750
77511993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7752
7753 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7754
77551993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7756
7757 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7758 only. We should really fix this later, but let's just make it
7759 compile for now.
7760
7761 Install patches from David J. Mackenzie to make the srcdir option
7762 work.
7763 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7764 Makefile.
7765 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7766 INSTALLABLE_SCRIPTS.
7767 (INSTALLABLE_SCRIPTS): New list.
7768 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7769 (${archlibdir}): The scripts to be installed live in the source
7770 tree, not in the object tree.
7771 (test-distrib): Note that the data file lives in the source tree,
7772 not the object tree.
7773 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7774 (all other targets): Change references to source files to use
7775 ${srcdir}, except for config.h, which lives in the object dir.
7776 (timer.o): Note that this depends on ../src/config.h.
7777 * make-docfile.c (main): Add a -d option, to tell it where to find
7778 the source files.
7779 * test-distrib.c (main): Take the name of the distribution file to
7780 test from the command line.
7781
7782 * timer.c: Fix misspellings of get_date function's name.
7783
77841993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7785
7786 * etags.c (main):
7787 Don't require that there be input files if -i switches were given.
7788
77891993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7790
7791 The GNU coding standards specify that CFLAGS should be left for
7792 users to set.
7793 * Makefile.in (CFLAGS): Put this in the "things configure might
7794 edit" section, and have it default to -g.
7795 (ALL_CFLAGS): New variable, set to all the flags which should be
7796 passed to compilations. Replace all other uses of CFLAGS with
7797 ALL_CFLAGS.
7798 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7799
7800 * Makefile.in (DEFS): Remove this; it's always just going to be
7801 "-DHAVE_CONFIG_H -Demacs".
7802
78031993-05-03 Paul Eggert (eggert@twinsun.com)
7804
7805 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7806 /[/]/, so change it to /[\/]/. This should work on all
7807 POSIX-compliant awks. It's slightly wrong with traditional awk,
7808 since it matches \ too, but that's a minor problem compared to awk
7809 syntax errors.
7810
78111993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7812
7813 * Makefile.in (ALLOCA): New variable, whose value we should
7814 inherit from the top-level makefile.
7815 (etags, ctags): Include ALLOCA in the list of object files that
7816 these executables depend on and link.
7817
78181993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7819
7820 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
7821
78221993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7823
7824 * make-docfile.c (write_c_args): Print an argument named "defalt"
7825 as "default".
7826
78271993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7828
7829 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7830 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7831 compiler.
7832
78331993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
7834
7835 * etags.c (YACC): Flag added to c_ext.
7836 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7837 (find_entries): Consistently use streq when reasonable.
7838 (find_entries): A .y file is a yacc file.
7839 (get_C_stab): c_ext becomes c_ext&C_PLPL.
7840 (C_entries): Logical cplpl means c_ext&C_PLPL.
7841 (C_entries): Logical yacc_rules means we are after the first %%.
7842 (C_entries): Add logic for yacc files.
7843
78441993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
7845
7846 * etags.c (C_entries): ':' case moved to the second switch.
7847 (C_entries): Do not examine token if structdef==scolonseen.
7848 (consider_token): structtag set to null string for enum.
7849
78501993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
7851
7852 * etags.c (GET_COOKIE): And related macros removed.
7853 (logical): Is now int, no more a char.
7854 (reg): Define deleted.
7855 (isgood, _gd, notgd): Delete.
7856 (gotone): Delete.
7857 (TOKEN): Member linestart removed.
7858 (linepos, prev_linepos, lb1): Delete.
7859 (main): Call initbuffer on lbs array instead of lb1.
7860 (init): Remove the initialization of the logical _gd array.
7861 (find_entries): A .sa suffix means assembler file.
7862 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7863 All C state machines rewritten.
7864 (C_entries): Complete rewrite.
7865 (condider_token): Complete rewrite.
7866 (getline): Delete.
7867
78681993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7869
7870 * etags.c (C_entries): Add the quotednl logical variable.
7871 Used for parsing of #define's spanning multiple lines.
7872
78731993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7874
7875 * etags.c (C_entries): Save the definedef status even when a
7876 newline is met inside a string.
7877
78781993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7879
7880 * Makefile.in (EXECUTABLES): Add rcs-checkin.
7881
7882 * Makefile.in (unlock, relock): New productions.
7883
78841993-03-16 Paul Eggert (eggert@twinsun.com)
7885
7886 * rcs2log: Some awks don't understand "\r". Code around this.
7887 Unfortunately this requires putting a carriage return in the
7888 source code. Don't assume that rlog will tolerate times like
7889 `10:10:60'; RCS 5.7 won't allow this.
7890
78911993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7892
7893 * timer.c (main): Set the ownership of the stdin file descriptor
7894 to the current process. Print error messages if either of the
7895 fcntl's fails.
7896
7897 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7898 ../src/config.h), not void.
7899
79001993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7901
7902 * b2m.c (main): Don't exit upon reading a blank line.
7903
79041993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7905
7906 * etags.c (C_entries): New local variable quotednl. Used for
7907 parsing of #define's spanning multiple lines.
7908
7909 * etags.c (C_entries): Save the definedef status
7910 even when a newline is met inside a string.
7911
79121993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7913
7914 * timer.c (notify): Initialize waitfor properly.
7915
79161993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
7917
7918 * etags.c (C_entries): Don't reset definedef when a newline inside a
7919 comment is met.
7920
79211993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7922
7923 * etags.c (find_entries): If filename ends in .f or .for,
7924 don't try anything but Fortran.
7925
79261993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7927
7928 * timer.c (notify): Flush stdout after writing message to avoid lossage
7929 on terminals.
7930
7931 (notify): Also, write a newline after the token.
7932
79331992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7934
7935 * Makefile.in (exec_prefix): New variable.
7936 (bindir, libdir): Use it instead of `prefix'.
7937
7938 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7939
7940 * Makefile.in (libdir): Default to ${prefix}/lib.
7941 (archlibdir): Adjust to match.
7942
7943 * Makefile.in (distclean): Don't delete backup or autosave files.
7944 (extraclean): Like realclean, but does delete backup and autosave
7945 files.
7946
7947 * Makefile.in (realclean): Ignore errors from rm.
7948
7949 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7950 that doesn't exist anymore.
7951
79521992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7953
7954 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7955 described in the top-level Makefile.
7956 (UTILITIES): Add make-path to the list of utility programs.
7957 (../arch-lib): Replaced by the ${archlibdir} target, which places
7958 the executables in their permanent home.
7959 (install, install.sysv, install.xenix): Consolidated into one
7960 target which should work under all circumstances, modulo a few
7961 ignored error messages.
7962
7963 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7964 a different number of arguments than other DEFVARs, recognize it
7965 specially, and expect the right number of commas.
7966
79671992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7968
7969 * make-path.c: New program, to help with the installation process.
7970 * Makefile.in (make-path): New target.
7971
7972 * make-path.c (touchy_mkdir): Remove debugging output.
7973
79741992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7975
7976 * Makefile.in (getdate.o): Add explicit target for this, so we
7977 can indicate that it depends on ../src/config.h.
7978
79791992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7980
7981 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7982 instead of CFLAGS.
7983 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7984
79851992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7986
7987 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7988 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7989 that system.
7990
7991 * Makefile.in (arch-lib): Give rm the `-f' option.
7992
79931992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7994
7995 * make-docfile.c (write_c_args): Rewritten to correctly print
7996 &optionals before the first identifier, but after the first paren.
7997 This code used to just wait for commas or spaces; now it notices
7998 identifier boundaries.
7999
80001992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8001
8002 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
8003
80041992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8005
8006 * make-docfile.c (write_c_args): Print the argument lists properly
8007 when the first argument is optional.
8008
80091992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8010
8011 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
8012 Redefine @item. Set catcode of +.
8013
80141992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8015
8016 * emacsclient.c (main): Set IPC_CREAT in msgget call.
8017
80181992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8019
8020 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
8021 (TEX_decode_env): Make `tab' one element longer.
8022
80231992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8024
8025 * etags.c (PF_funcs): Recognize the "entry" keyword.
8026
80271992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8028
8029 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
8030
80311992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8032
8033 * timer.c (events): Rather than having slots marked as in use or
8034 out of use by the `token' field, keep all pending events at the
8035 beginning of the array. When we delete an event in the middle of
8036 the array, we move the last event into its place.
8037 (num_events): New variable.
8038 (schedule): It is now cheaper to find a free event slot;
8039 events[num_events] is the first free slot.
8040 (notify): Scan events[0 .. num_events-1], instead of the whole
8041 array. When an event fires, move the last event in the array into
8042 its spot. Use num_events to determine whether or not there are
8043 any pending events, not wait_for.
8044 (getevent): Delete unused variable `ep'.
8045 (sigcatch): It's now easier to find all the active events.
8046 (main): Initialize num_events.
8047
8048 * etags.c: Rather than fret about which systems have index and
8049 which systems have strchr, and how to tell the difference between
8050 them, we just write out our own versions. Big deal.
8051 (index, rindex): Extern declarations removed.
8052 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
8053 (etags_index, etags_rindex): New declarations.
8054 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
8055 TEX_getit, substr): Use the etags_*index functions, rather than
8056 the native *index functions.
8057 (rindex, index): Rename to etags_rindex and tags_rindex, and
8058 made them unconditionally defined, rather than having them depend
8059 on NEED_*INDEX.
8060
8061 * etags.c (savenstr): Add declaration for this at top of file.
8062 (TEX_decode_env): Don't declare it local to this function.
8063
8064 * b2m.c: #include "../src/config.h", so we can test for the USG
8065 macro, and decide whether to include <string.h> or <strings.h>.
8066 * Makefile.in: Note that b2m.c depends on ../src/config.h.
8067
80681992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8069
8070 * timer.c: Reformatted according to the GNU coding standards.
8071 Removed arbitrary limits on the number of events queued and the
8072 length of the tokens used to identify them.
8073 Removed casts to (void).
8074 Removed debugging printfs; they clutter the code, and the need
8075 can be better filled using a real debugger.
8076
80771992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8078
8079 * timer.c: Installed new version from Eric Raymond; this is more
8080 portable, since it doesn't try to use SIGIO.
8081
80821992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8083
8084 * emacsclient.c (main): If we can't find the socket in this
8085 person's home directory, print a message which asks if they've
8086 started the server, instead of just printing the message from
8087 sys_errmsg; Cygnus finds that people are much less confused by
8088 this.
8089
80901992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8091
8092 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
8093 so that index and rindex get defined, why don't we actually
8094 control index and rindex using symbols called "NEED_INDEX" and
8095 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
8096 little more readable than defining something whose name implies
8097 that it's not?
8098
80991992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8100
8101 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
8102 distribution:
8103 Miscellaneous doc fixes.
8104 (skip_white, read_lisp_symbol): New functions.
8105 (scan_lisp_file): Instead of using long hairy strings of ifs, call
8106 read_lisp_symbol and then see what we got. Call skip_white
8107 instead of writing out a loop to do its job. Correctly extract
8108 docstrings from "defmacro" declarations.
8109
81101992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8111
8112 * movemail.c (strcpy): Declare this to return char *.
8113
81141992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8115
8116 * etags.c (C_entries): When we find a C++ comment, do actually
8117 skip to the end of the line; do a 'break' instead of a 'continue'.
8118
81191992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8120
8121 * etags.c (getit): Add missing parenthesis to expression which
8122 decides if this token is an identifier.
8123
81241992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8125
8126 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
8127
81281992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8129
8130 * etags.c (put_entries): Always put space between name and line num.
8131
81321992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
8133
8134 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
8135 warning.
8136 (LEVEL_OK_FOR_FUNCDEF): Ditto.
8137
81381992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8139
8140 * make-docfile.c (write_c_args): Pass both arguments to putc.
8141
81421992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
8143
8144 * etags.c (C_entries): Fix reading of "..." strings.
8145 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
8146 the C library source.
8147
8148 * etags.c (C_entries): When we see a backslash inside a quoted
8149 string, skip to the next character. This allows us to correctly
8150 deal with strings containing quotes.
8151
81521992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8153
8154 * make-docfile.c (write_c_args): Print the C argument names as
8155 they would be written in Elisp; print '_' as '-'.
8156
81571992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8158
8159 * movemail.c [POP]: Get user name via getpwuid.
8160
81611992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8162
8163 * Makefile.in: Flags in CC invocations rearranged for no reason.
8164
81651992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8166
8167 * etags.c (print_help): Remember not to embed raw newlines in
8168 strings - end the lines with `\n\'.
8169
81701992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8171
8172 * timer.c (getevent): Remove declaration of memcpy; since
8173 different systems have different return types, and we're not even
8174 using the return type anyway, it wasn't doing us any good.
8175
81761992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8177
8178 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
8179 type of this function.
8180
81811992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8182
8183 * etags.c: "--no-warning" option renamed to "--no-warn",
8184 to be consistent with other GNU programs, like makeinfo.
8185
8186 * Makefile: Renamed to Makefile.in; the configure script
8187 will edit this to produce Makefile.
8188
81891992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8190
8191 New directory, with files previously in ../etc. [approximate date]
8192 * README: New file.
8193 * Makefile: Copy here from ../etc/Makefile.
8194 * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8195 * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8196 * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8197 * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8198 * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8199 * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8200 Move here from ../etc.
8201
8202;; Local Variables:
8203;; coding: utf-8
8204;; End:
8205
8206 Copyright (C) 1988-1999, 2001-2014 Free Software Foundation, Inc.
8207
8208 This file is part of GNU Emacs.
8209
8210 GNU Emacs is free software: you can redistribute it and/or modify
8211 it under the terms of the GNU General Public License as published by
8212 the Free Software Foundation, either version 3 of the License, or
8213 (at your option) any later version.
8214
8215 GNU Emacs is distributed in the hope that it will be useful,
8216 but WITHOUT ANY WARRANTY; without even the implied warranty of
8217 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8218 GNU General Public License for more details.
8219
8220 You should have received a copy of the GNU General Public License
8221 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.