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