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