Merge from emacs-24; up to 2012-12-23T17:06:58Z!eliz@gnu.org
[bpt/emacs.git] / lib-src / ChangeLog
... / ...
CommitLineData
12013-02-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 * movemail.c (getenv): Remove decl (unused since 1994).
4
52013-01-15 Paul Eggert <eggert@cs.ucla.edu>
6
7 * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
8 This pacifies GCC 4.7.2 when Emacs is configured with
9 --enable-link-time-optimization and --enable-gcc-warnings.
10
112013-01-01 Juanma Barranquero <lekktu@gmail.com>
12
13 * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
14
152012-12-11 Juanma Barranquero <lekktu@gmail.com>
16
17 * makefile.w32-in (SYSWAIT_H): Update dependencies.
18
192012-12-10 Eli Zaretskii <eliz@gnu.org>
20
21 * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix
22 sources.
23
242012-12-02 Kevin Ryde <user42@zip.com.au>
25
26 * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
27 the --declarations flag is enabled (Bug#5600).
28 (Lisp_help): Update.
29 (skip_name): New function.
30
312012-12-01 Kevin Ryde <user42@zip.com.au>
32
33 * etags.c (Perl_functions): Support "use constant" (Bug#5055).
34
352012-11-27 Paul Eggert <eggert@cs.ucla.edu>
36
37 Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
38 * movemail.c (main): Assume EAGAIN and EBUSY.
39
402012-11-23 Paul Eggert <eggert@cs.ucla.edu>
41
42 movemail: treat EACCES etc. failures as permanent
43 * movemail.c (main): Treat any link failure other than EEXIST as a
44 permanent failure, not just EPERM. EACCES, for example.
45
462012-11-21 Paul Eggert <eggert@cs.ucla.edu>
47
48 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
49 * emacsclient.c (getcwd): Remove decl.
50 (get_current_dir_name): Assume getcwd exists.
51 * etags.c (HAVE_GETCWD): Remove.
52 (getcwd): Remove decl.
53 (NO_LONG_OPTIONS): Remove this. All uses removed.
54 Emacs always has GNU getopt.
55 (etags_getcwd): Assume getcwd exists.
56 * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
57
582012-11-20 Paul Eggert <eggert@cs.ucla.edu>
59
60 * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
61 rather than kill (getpid (), sig), as it's simpler and safer.
62
632012-11-17 Juanma Barranquero <lekktu@gmail.com>
64
65 * makefile.w32-in (SYSWAIT_H): New macro.
66 ($(BLD)/movemail.$(O)): Update dependencies.
67
682012-11-17 Paul Eggert <eggert@cs.ucla.edu>
69
70 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
71 * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
72
732012-10-26 Glenn Morris <rgm@gnu.org>
74
75 * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
76
77 * Makefile.in (install, uninstall): Transformations should not be
78 applied to $EXEEXT.
79
802012-10-23 Eli Zaretskii <eliz@gnu.org>
81
82 * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
83 follow src/lisp.mk.
84
852012-10-21 Glenn Morris <rgm@gnu.org>
86
87 * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
88
892012-10-20 Eli Zaretskii <eliz@gnu.org>
90
91 * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
92 (scan_lisp_file): Only pass a .el file if its basename matches a
93 known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE.
94
952012-10-20 Andreas Schwab <schwab@linux-m68k.org>
96
97 * make-docfile.c (scan_lisp_file): Add bounds checking.
98
992012-10-20 Eli Zaretskii <eliz@gnu.org>
100
101 Prevent silent omission of doc strings from uncompiled Lisp files.
102 * make-docfile.c (scan_lisp_file): Barf if called with a .el file
103 other than one of a small list of supported un-compiled files.
104
105 * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
106 exist. (Bug#12395)
107
1082012-10-17 Eli Zaretskii <eliz@gnu.org>
109
110 * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
111 _mbspbrk.
112
1132012-10-08 Eli Zaretskii <eliz@gnu.org>
114
115 * makefile.w32-in (obj): Add cygw32.o.
116
1172012-10-08 Daniel Colascione <dancol@dancol.org>
118
119 * emacsclient.c: Include windows.h when HAVE_NTGUI.
120 (alt_display): New variable. We send the display held by this
121 variable when the primary display is either unsupported or not
122 present.
123 (longopts): Allow display everywhere.
124 (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
125 section.
126 (decode_options): Use alt_display. Explain why.
127 (main): Retry connection with alt_display if connection with main
128 display fails.
129
1302012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
131
132 * make-docfile.c (write_globals): Special-case
133 Fexit_recursive_edit and Fabort_recursive_edit as well, as
134 functions that are _Noreturn, to be consistent with
135 src/keyboard.c.
136
1372012-09-30 Eli Zaretskii <eliz@gnu.org>
138
139 * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c
140 needs this function.
141
1422012-09-26 Juanma Barranquero <lekktu@gmail.com>
143
144 * makefile.w32-in (obj): Add profiler.o.
145
1462012-09-17 Glenn Morris <rgm@gnu.org>
147
148 * ebrowse.c (version):
149 * etags.c (print_version): Use COPYRIGHT.
150
1512012-09-11 Paul Eggert <eggert@cs.ucla.edu>
152
153 * pop.c (socket_connection) [HAVE_GETADDRINFO]:
154 Prefer assignment to memcpy when either will do.
155
1562012-08-31 Andreas Schwab <schwab@linux-m68k.org>
157
158 * etags.c (consider_token): Always zero-terminate token buffer.
159 (Bug#12306)
160
1612012-08-19 Paul Eggert <eggert@cs.ucla.edu>
162
163 Rely on <config.h> + <unistd.h> to declare 'environ'.
164 * emacsclient.c (environ): Remove decl.
165
1662012-08-17 Juanma Barranquero <lekktu@gmail.com>
167
168 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
169
1702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
171
172 * etags.c (Pascal_functions): Fix parenthesization typo.
173
1742012-08-14 Paul Eggert <eggert@cs.ucla.edu>
175
176 * make-docfile.c (enum global_type): Sort values roughly in
177 decreasing alignment, except put functions last.
178 (compare_globals): Use this new property of enum global_type.
179 (write_globals): Use bool, not int, for booleans.
180
1812012-08-10 Glenn Morris <rgm@gnu.org>
182
183 * make-docfile.c (IF_LINT):
184 * emacsclient.c (IF_LINT): Remove (in config.h now).
185
186 * make-docfile.c (main):
187 (fopen) [!WINDOWSNT]:
188 (chdir) [!DOS_NT]: No more need to undef.
189
190 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
191 * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
192 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
193 Remove (they are in config.h now).
194
195 * ebrowse.c (PATH_LIST_SEPARATOR):
196 Remove, and replace with SEPCHAR from config.h.
197
1982012-08-03 Juanma Barranquero <lekktu@gmail.com>
199
200 * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
201 they are always defined in config.h.
202
2032012-08-03 Eli Zaretskii <eliz@gnu.org>
204
205 * ntlib.c (lstat): New function, calls 'stat'.
206
2072012-08-02 Paul Eggert <eggert@cs.ucla.edu>
208
209 Use C99-style 'extern inline' if available.
210 * profile.c (SYSTIME_INLINE): Define.
211
2122012-08-02 Glenn Morris <rgm@gnu.org>
213
214 * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
215
2162012-08-01 Glenn Morris <rgm@gnu.org>
217
218 * Makefile.in (config_h): New variable.
219 Use throughout in place of ../src/config.h.
220
2212012-08-01 Juanma Barranquero <lekktu@gmail.com>
222
223 * makefile.w32-in (CONFIG_H): Update dependencies.
224 (CONF_POST_H): New macro.
225
2262012-07-30 Paul Eggert <eggert@cs.ucla.edu>
227
228 Update .PHONY listings in makefiles.
229 * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
230 install, uninstall, mostlyclean, clean, distclean,
231 maintainer-clean, extraclean, check, tags.
232
2332012-07-29 Eli Zaretskii <eliz@gnu.org>
234
235 * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
236
2372012-07-12 Paul Eggert <eggert@cs.ucla.edu>
238
239 * movemail.c: Add missing 'defined'.
240 Suggested by Sven Joachim in
241 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
242
2432012-07-11 Paul Eggert <eggert@cs.ucla.edu>
244
245 Port 'movemail' again to Solaris and similar hosts.
246 See Susan Cragin's report in
247 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
248 * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
249 !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
250 need a forward declaration.
251 (main): Rewrite to avoid no-longer-present function 'concat', if
252 !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
253
254 Assume strerror.
255 * emacsclient.c, movemail.c, update-game-score.c (strerror)
256 [!HAVE_STRERROR]: Remove.
257
2582012-07-10 Paul Eggert <eggert@cs.ucla.edu>
259
260 EMACS_TIME simplification (Bug#11875).
261 * profile.c (TV2): Remove no-longer-needed static var.
262
263 Simplify by avoiding confusing use of strncpy etc.
264 * etags.c (write_classname, C_entries):
265 Use sprintf rather than strncpy or strncat.
266 * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
267 (Erlang_functions, substitute, readline_internal, savenstr):
268 * movemail.c (mail_spool_name):
269 Use memcpy rather than strncpy or strncat when either will do.
270 * make-docfile.c (write_c_args):
271 Use memcmp rather than strncmp when either will do.
272 * movemail.c (pop_retr):
273 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
274 (socket_connection, pop_getline, sendline, getok):
275 Use snprintf rather than strncpy or strncat.
276 * movemail.c (concat): Remove; no longer needed.
277 (xmalloc): Define only if needed, now that concat has gone away.
278 Return void *. All uses changed.
279
2802012-07-09 Paul Eggert <eggert@cs.ucla.edu>
281
282 Add GCC-style 'const' attribute to functions that can use it.
283 * etags.c (number_len): Add ATTRIBUTE_CONST.
284
2852012-07-09 Juanma Barranquero <lekktu@gmail.com>
286
287 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
288
2892012-07-09 Juanma Barranquero <lekktu@gmail.com>
290
291 * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
292 (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
293 (SYSTIME_H): New macros.
294 (SRC): Redefine to point to src/, not current directory.
295 ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
296 ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
297 ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
298 ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
299 ($(BLD)/regex.$(O)): New dependency.
300
3012012-07-09 Juanma Barranquero <lekktu@gmail.com>
302
303 * makefile.w32-in (ALL): Add profile.exe.
304 (PROFILEOBJS): New macro.
305 ($(BLD)/profile.exe): New target.
306 (install): Copy profile.exe.
307 ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
308
3092012-07-07 Juanma Barranquero <lekktu@gmail.com>
310
311 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
312 Update dependencies.
313
3142012-07-06 Paul Eggert <eggert@cs.ucla.edu>
315
316 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
317 * etags.c: Include c-strcase.h.
318 (etags_strcasecmp, etags_strncasecmp): Remove.
319 All uses replaced with c_strcasecmp and c_strncasecmp.
320
3212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
322
323 * make-docfile.c (write_globals): Warn about duplicate function
324 definitions with differing signatures.
325
3262012-07-03 Paul Eggert <eggert@cs.ucla.edu>
327
328 * make-docfile.c (scan_c_file): Suppress GCC warning.
329
3302012-06-29 Tom Tromey <tromey@redhat.com>
331
332 * make-docfile.c (enum global_type) <FUNCTION>: New constant.
333 (struct global) <value>: New field.
334 (add_global): Add 'value' argument.
335 (compare_globals): Sort functions at the end.
336 (close_emacs_globals): New function.
337 (write_globals): Handle functions.
338 (scan_c_file): Call add_global for DEFUN.
339
3402012-06-30 Juanma Barranquero <lekktu@gmail.com>
341
342 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
343 already defined in ETAGS_CFLAGS.
344
3452012-06-27 Glenn Morris <rgm@gnu.org>
346
347 * makefile.w32-in (lisp2): Remove paths.el.
348
3492012-06-26 Paul Eggert <eggert@cs.ucla.edu>
350
351 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
352 * Makefile.in (BASE_CFLAGS):
353 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
354 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
355 * etags.c (DOS_NT):
356 * pop.c (MAIL_USE_POP, h_errno):
357 Remove code that was conditioned on !HAVE_CONFIG_H.
358
3592012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
360
361 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
362 library functions strcasecmp and strncasecmp if available.
363
3642012-06-24 Paul Eggert <eggert@cs.ucla.edu>
365
366 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
367 * ebrowse.c (usage, version):
368 * emacsclient.c (print_help_and_exit, fail):
369 * etags.c (suggest_asking_for_help, fatal, pfatal):
370 * hexl.c (usage):
371 * make-docfile.c (fatal):
372 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
373 * update-game-score.c (usage):
374 * ebrowse.c (usage, version):
375 * emacsclient.c (print_help_and_exit, fail):
376 Use _Noreturn rather than NO_RETURN.
377 No need for separate decl merely because of _Noreturn.
378
3792012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change)
380
381 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
382
3832012-06-22 Paul Eggert <eggert@cs.ucla.edu>
384
385 Support higher-resolution time stamps (Bug#9000).
386 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
387 (profile${EXEEXT}): Use it.
388 * profile.c: Include inttypes.h, intprops.h.
389 (time_string): Size conservatively; do not guess size.
390 (get_time): Now prints nanoseconds.
391 (gettimeofday): Remove replacement function; gnulib now does this.
392
3932012-06-08 Andreas Schwab <schwab@linux-m68k.org>
394
395 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
396 character.
397
3982012-06-06 Glenn Morris <rgm@gnu.org>
399
400 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
401 (stamp-rcs2log, stamp-grep-changelog): Remove.
402 (all, clean): Remove references to stamps.
403
404 * vcdiff: Remove file.
405 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
406 (stamp-vcdiff): Remove.
407
4082012-06-05 Glenn Morris <rgm@gnu.org>
409
410 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
411 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
412 ($(BLD)/timer.$(O)): Remove cruft.
413
4142012-06-03 Glenn Morris <rgm@gnu.org>
415
416 * rcs-checkin: Remove file.
417 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
418 Remove rcs-checkin.
419 (stamp-rcs-checkin): Remove.
420
4212012-05-31 Eli Zaretskii <eliz@gnu.org>
422
423 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
424 instead of a literal -mwindows, which is not supported by MSVC.
425 (Bug#11405)
426
4272012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * make-docfile.c: Improve comment style.
430 (search_lisp_doc_at_eol): New function.
431 (scan_lisp_file): Use it.
432
4332012-05-26 Glenn Morris <rgm@gnu.org>
434
435 * Makefile.in (INSTALL_DATA): Remove; unused.
436
4372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
438
439 Remove src/m/*.
440 * makefile.w32-in: Remove dependencies on
441 $(EMACS_ROOT)/src/m/intel386.h.
442
4432012-05-22 Glenn Morris <rgm@gnu.org>
444
445 * Makefile.in (install): Remove unneeded chmods.
446
4472012-05-21 Paul Eggert <eggert@cs.ucla.edu>
448
449 Assume C89 or later.
450 * etags.c (static, const): Remove macros.
451 (PTR): Remove; all uses replaced with void *. Omit needless casts.
452
4532012-05-21 Glenn Morris <rgm@gnu.org>
454
455 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
456 Scrap superfluous subshells.
457
4582012-05-18 Glenn Morris <rgm@gnu.org>
459
460 * Makefile.in (install): Ensure $bindir exists.
461
4622012-05-17 Glenn Morris <rgm@gnu.org>
463
464 * Makefile.in (ns_appbindir): New, set by configure.
465
4662012-05-12 Glenn Morris <rgm@gnu.org>
467
468 * Makefile.in (MKDIR_P): New, set by configure.
469 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
470
4712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
472
473 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
474 * etags.c: Include <stdarg.h>.
475 (error): Declare as printf-style, as that's what it really is.
476 All uses changed.
477 (add_regex): Use single char rather than array-of-one char.
478
4792012-05-05 Jim Meyering <meyering@redhat.com>
480
481 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
482 NUL-terminate the error buffer (Bug#11372).
483
4842012-05-02 Juanma Barranquero <lekktu@gmail.com>
485
486 * emacsclient.c (min): Undef before redefining it.
487
4882012-05-02 Jim Meyering <jim@meyering.net>
489
490 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
491 send (Bug#11374).
492
4932012-04-29 Andreas Schwab <schwab@linux-m68k.org>
494
495 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
496 byte-code forms. (Bug#11380)
497
4982012-04-20 Chong Yidong <cyd@gnu.org>
499
500 * emacsclient.c (decode_options): Move -t -n corner case handling
501 into server.el (Bug#11102).
502 (main): Send -tty to Emacs under more circumstances (Bug#8314).
503
5042012-04-18 Paul Eggert <eggert@cs.ucla.edu>
505
506 configure: new option --enable-gcc-warnings (Bug#11207)
507 * Makefile.in (C_WARNINGS_SWITCH): Remove.
508 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
509 (BASE_CFLAGS): Use new macros rather than old.
510
5112012-04-16 Paul Eggert <eggert@cs.ucla.edu>
512
513 Assume less-ancient POSIX support.
514 * update-game-score.c: Include <getopt.h> rather than rolling our
515 own decls for optarg, optind, opterr. See
516 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
517
5182012-04-14 Juanma Barranquero <lekktu@gmail.com>
519
520 * emacsclient.c (decode_options) [WINDOWSNT]:
521 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
522
5232012-04-07 Eli Zaretskii <eliz@gnu.org>
524
525 * makefile.w32-in (obj): Add xml.o.
526
5272012-04-07 Eli Zaretskii <eliz@gnu.org>
528
529 * makefile.w32-in (ALL): Now the list of executables, not of phony
530 targets.
531 (.PHONY): Only make-docfile is its prerequisite now.
532 (make-docfile): Don't depend on stamp_BLD. Add a comment about
533 the need in this target.
534 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
535 (test-distrib): Phony targets removed.
536 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
537 (all): Don't depend on stamp_BLD.
538 (ALL): Include $(BLD)/test-distrib.exe.
539
5402012-03-11 Andreas Schwab <schwab@linux-m68k.org>
541
542 * emacsclient.c (main): Handle -print-nonl command.
543
544 * emacsclient.c (main): Handle multiple messages in a single
545 datagram.
546
547 * emacsclient.c (socket_name): Add const.
548 (get_server_config): Add parameter config_file, use it instead of
549 global server_file.
550 (set_tcp_socket): Add parameter local_server_file, pass it down to
551 get_server_config.
552 (set_local_socket): Add parameter local_socket_name, use it
553 instead of global socket_name.
554 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
555 Don't clobber global server_file or socket_name.
556 (main): No longer reset server_file or socket_name.
557
5582012-01-05 Glenn Morris <rgm@gnu.org>
559
560 * ebrowse.c (version) <emacs_copyright>:
561 * etags.c (print_version) <emacs_copyright>:
562 * rcs2log (Copyright): Update short copyright year to 2012.
563
5642011-12-25 Andreas Schwab <schwab@linux-m68k.org>
565
566 * etags.c (C_entries): Properly skip over string and character
567 constants and comments inside brackets. (Bug#10357)
568
5692011-12-04 Juanma Barranquero <lekktu@gmail.com>
570
571 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
572 instead, treat both -c and -t as always requesting a new "tty" frame,
573 and let server.el decide which kind is actually required.
574 Reported by Uwe Siart <usenet@siart.de> in this thread:
575 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
576
5772011-11-30 Chong Yidong <cyd@gnu.org>
578
579 * emacsclient.c (main): Condition last change on WINDOWSNT
580 (Bug#10155).
581
5822011-11-27 Eli Zaretskii <eliz@gnu.org>
583
584 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
585
586 * emacsclient.c (main) <environ>: Remove declaration, already
587 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
588
5892011-11-24 Glenn Morris <rgm@gnu.org>
590
591 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
592
5932011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
594
595 * Makefile.in (all): Make sure "all" is the first target.
596
5972011-10-27 Juanma Barranquero <lekktu@gmail.com>
598
599 * emacsclient.c (w32_getenv): Silence compiler warnings.
600
6012011-09-07 Glenn Morris <rgm@gnu.org>
602
603 * etags.c (Fortran_functions): Handle "elemental" functions.
604
6052011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
606
607 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
608
6092011-09-06 Paul Eggert <eggert@cs.ucla.edu>
610
611 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
612 to build-aux (Bug#9169).
613
6142011-09-04 Paul Eggert <eggert@cs.ucla.edu>
615
616 Integer and memory overflow issues (Bug#9397).
617
618 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
619 avoid potential buffer overflow issues on typical 64-bit hosts.
620 Return void *, not long *.
621 (get_current_dir_name): Report a failure, instead of looping
622 forever, if buffer size calculation overflows. Treat malloc
623 failures like realloc failures, as that has better behavior and is
624 more consistent. Do not check whether xmalloc returns NULL, as
625 that's not possible.
626 (message): Do not arbitrarily truncate message to 2048 bytes when
627 sending it to stderr; use vfprintf instead.
628 (get_server_config, set_local_socket)
629 (start_daemon_and_retry_set_socket): Do not alloca
630 arbitrarily-large buffers; that's not safe.
631 (get_server_config, set_local_socket): Do not use sprintf when its
632 result might not fit in 'int'.
633 (set_local_socket): Do not assume uid fits in 'int'.
634
635 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
636 to avoid potential buffer overflow issues on typical 64-bit hosts.
637 (whatlen_max): New static var.
638 (main): Avoid buffer overflow if subsidiary command length is
639 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
640 result might not fit in 'int'.
641
642 * movemail.c (main): Do not use sprintf when its result might not fit
643 in 'int'. Instead, put the possibly-long file name into the
644 output of pfatal_with_name.
645
646 * update-game-score.c: Include <limits.h>
647 (get_user_id): Do not assume uid fits in 'int'. Simplify.
648
6492011-07-28 Paul Eggert <eggert@cs.ucla.edu>
650
651 Assume freestanding C89 headers, string.h, stdlib.h.
652 * ebrowse.c: Include stdlib.h unconditionally.
653 * etags.c, update-game-score.c:
654 Include string.h and stdlib.h unconditionally.
655 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
656 * movemail.c, pop.c: Include string.h unconditionally.
657 * update-game-score.c: No need to include stdarg.h; not used.
658
659 Assume support for memcmp, memcpy, memmove, memset.
660 * etags.c (absolute_filename): Assume memmove exists.
661
6622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
663
664 * update-game-score.c (usage): Update usage line.
665
6662011-07-02 Jason Rumney <jasonr@gnu.org>
667
668 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
669 Windows (Bug#5486).
670
6712011-06-25 Glenn Morris <rgm@gnu.org>
672
673 * emacsclient.c (decode_options) <opt>: Add `F:'.
674 (print_help_and_exit): Mention --frame-parameters.
675
6762011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
677
678 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
679
6802011-06-10 Paul Eggert <eggert@cs.ucla.edu>
681
682 * movemail.c: Fix race condition and related bugs (Bug#8836).
683 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
684 fixes some race conditions. Report mkstemp/mktemp errno rather
685 than a possibly-garbage errno. Reinitialize the template each
686 time through the loop, as earlier mkstemp/mktemp calls could have
687 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
688 with mkstemp; the permissions don't matter anyway.
689
6902011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
691
692 * emacsclient.c (socket_status): Use constant pointer.
693
6942011-05-28 Paul Eggert <eggert@cs.ucla.edu>
695
696 Use 'inline', not 'INLINE'.
697 * etags.c (hash): Now inline unconditionally.
698 * make-docfile.c (put_char): inline, not INLINE.
699
7002011-05-25 Glenn Morris <rgm@gnu.org>
701
702 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
703 (insrcdir): New.
704 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
705 Use $insrcdir to suppress unaesthetic ignored errors.
706 (clean): Simplify list of things to delete.
707 (all, clean): Use $EXE_FILES.
708
709 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
710
711 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
712 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
713
7142011-05-24 Glenn Morris <rgm@gnu.org>
715
716 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
717
7182011-05-19 Glenn Morris <rgm@gnu.org>
719
720 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
721 (clean): No more echolisp.tmp.
722
7232011-05-18 Glenn Morris <rgm@gnu.org>
724
725 * fakemail.c: Remove file.
726 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
727 ($(BLD)/fakemail.$(O)): Remove.
728 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
729 (fakemail${EXEEXT}): Remove rule.
730
7312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
732
733 * makefile.w32-in (obj): Add gnutls.o.
734
7352011-04-16 Paul Eggert <eggert@cs.ucla.edu>
736
737 Static checks with GCC 4.6.0 and non-default toolkits.
738
739 * movemail.c (mail_spool_name): Protoize.
740 (main): Remove unused var. Mark var as initialized.
741 Move locals to avoid shadowing, and use time_t for times.
742
743 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
744 with void *. This avoids warnings about pointer casts.
745
746 * emacsclient.c (main): Don't use uninitialized var.
747 (IS_ANY_SEP): Remove; unused.
748 (get_current_dir_name): Add an extern decl.
749
7502011-04-06 Paul Eggert <eggert@cs.ucla.edu>
751
752 Fix more problems found by GCC 4.6.0's static checks.
753
754 * emacsclient.c (message): Mark it as a printf-like function.
755
756 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
757 (write_c_args): Use it to suppress GCC warning.
758
7592011-03-30 Paul Eggert <eggert@cs.ucla.edu>
760
761 Fix a problem found by GCC 4.6.0's static checks.
762 * etags.c (just_read_file): Remove dummy variable and simplify.
763
7642011-03-27 Glenn Morris <rgm@gnu.org>
765
766 * emacsclient.c: Replace SIGTYPE with void.
767
7682011-03-23 Juanma Barranquero <lekktu@gmail.com>
769
770 * ntlib.c: Include <ctype.h>.
771
7722011-03-23 Glenn Morris <rgm@gnu.org>
773
774 * Makefile.in ($(DESTDIR)${archlibdir}):
775 Use `install-sh -d' rather than mkinstalldirs.
776
7772011-03-23 Paul Eggert <eggert@cs.ucla.edu>
778
779 * ebrowse.c: Use size_t, not int, for sizes.
780 This avoids a warning with gcc -Wstrict-overflow, and works
781 better for very large objects.
782 (inbuffer_size): Now size_t. All uses changed.
783 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
784 sizes. Don't bother testing whether a size_t value can be negative.
785
786 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
787
788 etags: In Prolog functions, don't assume int fits in size_t.
789 This avoids a warning with gcc -Wstrict-overflow.
790 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
791 not int, to store sizes.
792 (prolog_atom): Return 0, not -1, on error. All callers changed.
793
794 update-game-score: fix bug with -r
795 * update-game-score.c (main): Don't set 'scores' to garbage when
796 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
797 was introduced in the 2002-04-10 change, and was found with gcc
798 -Wstrict-overflow (GCC 4.5.2, x86-64).
799
800 fakemail: Remove dependency on ignore-value.
801 This undoes some of the recent fakemail-related changes.
802 It is made possible due to recent changes to gnulib's stdio module.
803 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
804 * fakemail.c: Do not include ignore-value.h.
805 (put_line): Do not use ignore_value.
806
8072011-03-07 Chong Yidong <cyd@stupidchicken.com>
808
809 * Version 23.3 released.
810
8112011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
812
813 * emacsclient.c (longopts): Add quiet.
814 (decode_options): Handle q/quiet.
815 (print_help_and_exit): Add q/quiet.
816 (main): Suppress some messages if quiet option is used.
817
8182011-02-26 Eli Zaretskii <eliz@gnu.org>
819
820 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
821
822 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
823 (w32_getenv): Use xstrdup to return all values in malloc'ed
824 storage.
825
8262011-02-26 Paul Eggert <eggert@cs.ucla.edu>
827
828 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
829 to reader (and to the compiler) that the loop always executes at
830 least once. This prevents a warning with recent GCC.
831 (BROWSE_STRUCT): Remove unused macro.
832
833 * fakemail.c: Include <ignore-value.h>.
834 (put_line): Explicitly ignore fwrite return value, for benefit of
835 recent glibc + gcc.
836 (close_the_streams): Diagnose output errors instead of merely
837 exiting with nonzero status.
838 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
839 Formerly, input errors were silently ignored.
840
841 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
842 All callers changed. This is cleaner, and avoids GCC warnings about
843 passing NULL to fputs.
844 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
845
8462011-02-25 Paul Eggert <eggert@cs.ucla.edu>
847
848 * emacsclient.c (main): Avoid dangling 'if'.
849 (xstrdup): Remove; no longer needed.
850 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
851 (set_local_socket, main):
852 Use const char *, not char *, for pointers that are not assigned
853 through.
854 (IF_LINT): New macro.
855 (set_local_socket, main): Use it to suppress warnings with
856 GCC -Wuninitialized.
857
858 * emacsclient.c: Redo local variables to avoid shadowing problems.
859 (message, socket_status, start_daemon_and_retry_set_socket):
860 Rename locals.
861 (main): Move decl of "i".
862
863 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
864 This avoids an unused-macro warning with some GCC settings.
865
866 * make-docfile.c (write_globals): Change char * to char const *
867 to avoid a GCC "assignment discards qualifiers" diagnostic
868 in some configurations.
869 (scan_c_file): Refactor local variable decls to make their scope
870 more accurate and to avoid a GCC -Wuninitialized diagnostic.
871
8722011-02-22 Eli Zaretskii <eliz@gnu.org>
873
874 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
875
876 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
877 Depend on ../lib/min-max.h.
878
8792011-02-22 Paul Eggert <eggert@cs.ucla.edu>
880
881 etags: Downcase drive letters, for consistency with Emacs proper.
882 * etags.c (upcase): Remove; no longer used.
883 (canonicalize_filename): Downcase drive letters.
884
885 Assume S_ISLNK etc. work, since gnulib supports this.
886 * etags.c (S_ISREG): Remove.
887
8882011-02-22 Paul Eggert <eggert@cs.ucla.edu>
889
890 Assume S_ISLNK etc. work, since gnulib supports this.
891 * etags.c (S_ISREG): Remove.
892
8932011-02-22 Juanma Barranquero <lekktu@gmail.com>
894
895 * makefile.w32-in (obj): Remove filemode.o.
896
8972011-02-21 Paul Eggert <eggert@cs.ucla.edu>
898
899 New file "lib/min-max.h".
900 * ebrowse.c (min, max): Define them by including <min-max.h>
901 instead of defining it ourselves.
902 * pop.c (min): Likewise.
903 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
904
905 * movemail.c (popmail): Report fchown failure instead of ignoring it.
906 But if the file already has the right ownership, don't worry about it.
907
908 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
909 * test-distrib.c (buf): Make this local, to avoid shadowing.
910
911 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
912 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
913 (DONE): Remove unused macro.
914 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
915 Define these macros only in the contexts that need them.
916 * pop.c (index): Remove unused macro.
917 (KPOP_PORT): Define only if KERBEROS is defined.
918
919 Declare file-scope functions and variables static if not exported.
920 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
921 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
922 * profile.c, test-distrib.c, update-game-score.c:
923 Declare non-'main' functions and variables to be static.
924 * ebrowse.c: Omit redundant function prototypes.
925
9262011-02-21 Eli Zaretskii <eliz@gnu.org>
927
928 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
929 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
930 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
931
9322011-02-21 Ben Key <bkey76@gmail.com>
933
934 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
935 the new BVAR macro.
936
9372011-02-20 Juanma Barranquero <lekktu@gmail.com>
938
939 * makefile.w32-in (obj): Remove md5.o.
940
9412011-02-18 Karl Chen <Karl.Chen@quarl.org>
942
943 * emacsclient.c (main): Loop while `recv' return EINTR.
944
9452011-02-09 Paul Eggert <eggert@cs.ucla.edu>
946
947 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
948 This avoids collision with config.h's EMACS_INT on some
949 configurations. All uses changed.
950
9512011-02-08 Tom Tromey <tromey@redhat.com>
952
953 * make-docfile.c: Unconditionally include stdlib.h.
954 (generate_globals): New global.
955 (xrealloc): New function.
956 (main): Handle '-g'. Call start_globals, write_globals.
957 (scan_file): Conditionally call put_filename.
958 (start_globals): New function.
959 (struct global): New.
960 (num_globals, globals): New globals.
961 (add_global, compare_globals, write_globals): New functions.
962 (scan_c_file): Update for "-g".
963 (scan_lisp_file): Fail if "-g".
964
9652011-02-05 Paul Eggert <eggert@cs.ucla.edu>
966
967 * emacsclient.c: Conform to C89 pointer rules.
968 (file_name_absolute_p): Accept const char *, not const unsigned
969 char *, to satisfy C89 rules.
970
9712011-02-02 Eli Zaretskii <eliz@gnu.org>
972
973 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
974 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
975 (obj): Remove strftime.o.
976
9772011-01-31 Eli Zaretskii <eliz@gnu.org>
978
979 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
980 (ECLIENT_CFLAGS): Remove -DVERSION.
981 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
982
9832011-01-31 Paul Eggert <eggert@cs.ucla.edu>
984
985 src/emacs.c now gets version number from configure.in
986 * ebrowse.c: Adjust comment to say that.
987
9882011-01-30 Jim Meyering <meyering@redhat.com>
989
990 make-docfile: don't corrupt heap for an invalid .elc file
991 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
992 one byte before just-malloc'd saved_string buffer.
993 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
994 doc string length. Also fix an always-false while-loop test.
995
9962011-01-29 Eli Zaretskii <eliz@gnu.org>
997
998 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
999 (GETOPTOBJS, GETOPTDEPS): Remove targets.
1000 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1001 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1002 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1003 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1004 (clean): Don't remove getopt.h.
1005 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1006 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1007 $(EMACS_ROOT)/lib/getopt.h.
1008
10092011-01-28 Chong Yidong <cyd@stupidchicken.com>
1010
1011 * ntlib.c (setregid): New stub, renamed from setegid.
1012
1013 * ntlib.h: Update prototype.
1014
10152011-01-25 Chong Yidong <cyd@stupidchicken.com>
1016
1017 * movemail.c (main): Use setregid instead of setegid, which is
1018 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
1019
10202011-01-23 Paul Eggert <eggert@cs.ucla.edu>
1021
1022 Check return values of some library calls.
1023 * hexl.c (main): Check fread result.
1024 * make-docfile.c (main): Check chdir result.
1025 (scan_c_file): Check fscanf result.
1026 * movemail.c (main): Check ftruncate result.
1027
10282011-01-17 Paul Eggert <eggert@cs.ucla.edu>
1029
1030 Include <unistd.h> unilaterally.
1031 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1032 * pop.c, test-distrib.c, update-game-score.c:
1033 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1034 unistd.h is always present now, possibly supplied by gnulib.
1035
1036 Include <getopt.h> not "getopt.h".
1037 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1038 Since getopt.h is no longer in this directory, there's no point
1039 using the form with double-quotes.
1040
1041 Remove unused files.
1042 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1043 These files are now in ../lib, copied from gnulib.
1044
1045 Use gnulib's getopt-gnu module.
1046 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1047 as these are now done by gnulib.
1048 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1049 Remove; now done by gnulib. All uses removed.
1050
1051 Automate syncing from gnulib.
1052 * Makefile.in (EXE_FILES): New macro.
1053 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1054 for gnulib's .h files.
1055 (LOADLIBES): Add ../lib/libgnu.a.
1056 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1057 (../lib/libgnu.a): New rule.
1058
10592011-01-08 Paul Eggert <eggert@cs.ucla.edu>
1060
1061 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1062
10632011-01-08 Glenn Morris <rgm@gnu.org>
1064
1065 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1066
1067 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1068
10692011-01-02 Glenn Morris <rgm@gnu.org>
1070
1071 * ebrowse.c (version) <emacs_copyright>:
1072 * etags.c (print_version) <emacs_copyright>:
1073 * rcs2log (Copyright): Set short copyright year to 2011.
1074
10752010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
1076
1077 * ebrowse.c (yylex): If end of input buffer encountered while
1078 searching for a newline after "//", return YYEOF. (Bug#7446)
1079
10802010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1081
1082 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1083 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1084
10852010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1086
1087 * test-distrib.c: Remove include guards for config.h and fcntl.h.
1088 (O_RDONLY): Do not define.
1089 (cool_read): Fix type for variable "sofar".
1090
10912010-10-25 Glenn Morris <rgm@gnu.org>
1092
1093 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1094
10952010-10-23 Glenn Morris <rgm@gnu.org>
1096
1097 * digest-doc.c, sorted-doc.c: Remove files.
1098 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1099 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1100 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1101 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1102 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1103 (install): Don't install digest-doc.exe or sorted-doc.exe.
1104
11052010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1106
1107 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1108
11092010-10-09 Glenn Morris <rgm@gnu.org>
1110
1111 * b2m.c, b2m.pl: Remove files.
1112 * Makefile.in (INSTALLABLES): Remove b2m.
1113 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1114
11152010-10-08 Glenn Morris <rgm@gnu.org>
1116
1117 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1118 DARWIN_USER_TEMP_DIR. (Bug#3992)
1119
11202010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1121
1122 * test-distrib.c (cool_read):
1123 * movemail.c (main, concat):
1124 * make-docfile.c (scan_file, write_c_args):
1125 * emacsclient.c (get_server_config): Fix -Wconversion warning.
1126 (egetenv): Move conditional definition earlier.
1127 (progname): Use const.
1128 * sorted-doc.c (xstrdup): Use const.
1129
1130 * Makefile.in: Remove ^L, old makes choke on it.
1131
11322010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
1133
1134 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1135 error string (Bug#6963).
1136
11372010-10-02 Juanma Barranquero <lekktu@gmail.com>
1138
1139 * makefile.w32-in (tags): Remove target.
1140
11412010-10-01 Eli Zaretskii <eliz@gnu.org>
1142
1143 * makefile.w32-in (tags, TAGS): New targets.
1144
11452010-09-30 Juanma Barranquero <lekktu@gmail.com>
1146
1147 * emacsclient.c (get_server_config): Don't read Emacs pid from
1148 the authentication file.
1149
11502010-09-29 Juanma Barranquero <lekktu@gmail.com>
1151
1152 * makefile.w32-in (../src/config.h): Remove target, it is stale.
1153
1154 * emacsclient.c (main): Remove unused variables.
1155 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1156
11572010-09-25 Ulrich Mueller <ulm@gentoo.org>
1158
1159 * etags.c (compressors, print_language_names): Support xz compression.
1160
11612010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1162
1163 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
1164 popen, fclose and pclose.
1165 (my_name, fatal, error, put_line): Use const char*.
1166 (main): Remove extern getenv, mail_program_name is const char*.
1167
1168 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1169
1170 * sorted-doc.c (error, fatal, states): Use const char *.
1171
1172 * pop.h (pop_multi_first): Use const char *.
1173 (_ARGS): Remove.
1174
1175 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
1176
1177 * movemail.c (fatal, error, concat): Use const char *.
1178
1179 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1180 Use const char *.
1181
1182 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1183 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1184 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1185 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
1186 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
1187 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1188 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1189 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1190 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1191 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1192 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1193 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1194 (no_lang_help, print_language_names)
1195 (get_language_from_interpreter, get_language_from_filename)
1196 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1197 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1198 (concat): Use const char*.
1199
1200 * emacsclient.c (message, sock_err_message, send_to_emacs)
1201 (quote_argument, set_local_socket)
1202 (start_daemon_and_retry_set_socket): Use const char*.
1203
1204 * ebrowse.c (struct member): filename, def_filename is const.
1205 (struct sym): filename, sfilename is const.
1206 (struct kw): name is const.
1207 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1208
1209 * b2m.c (concat, fatal): Use const char*.
1210 (main): Don't assign labels a string literal.
1211
12122010-08-07 Juanma Barranquero <lekktu@gmail.com>
1213
1214 * ebrowse.c (usage, version, mark_virtual):
1215 Remove duplicate declarations.
1216
12172010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1218
1219 * emacsclient.c: Move socket related #includes together with the
1220 rest of the #includes. Move WINDOWSNT includes closer together.
1221 (HAVE_CONFIG_H): Remove.
1222 (NO_RETURN): Remove, defined in config.h.
1223 (main): Convert definition to standard C.
1224
12252010-07-29 Juanma Barranquero <lekktu@gmail.com>
1226
1227 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1228
12292010-07-25 Juanma Barranquero <lekktu@gmail.com>
1230
1231 * emacsclient.c (getcwd): Fix previous change: make getcwd
1232 conditional on HAVE_GETCWD and declare with the correct POSIX
1233 profile (for some reason MinGW headers define its 2nd arg as int,
1234 not size_t; but getcwd is not used on Windows nonetheless).
1235
12362010-07-25 Juanma Barranquero <lekktu@gmail.com>
1237
1238 * emacsclient.c (getcwd, w32_getenv):
1239 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1240
12412010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
1242
1243 * update-game-score.c (usage): Add NO_RETURN specifier.
1244 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1245 * make-docfile.c (fatal):
1246 * hexl.c (usage):
1247 * fakemail.c (fatal):
1248 * etags.c (fatal, suggest_asking_for_help, pfatal):
1249 * emacsclient.c (fatal):
1250 * b2m.c (fatal): Likewise.
1251
12522010-07-23 Juanma Barranquero <lekktu@gmail.com>
1253
1254 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1255
12562010-07-20 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * emacsclient.c (get_current_dir_name, w32_get_resource)
1259 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1260 (close_winsock, initialize_sockets, w32_find_emacs_process)
1261 (w32_give_focus):
1262 * ntlib.c (getlogin, getuid, getgid, getegid):
1263 Convert definitions to standard C.
1264
12652010-07-12 Andreas Schwab <schwab@linux-m68k.org>
1266
1267 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1268 (PROFILING_LDFLAGS): Set from substitution.
1269 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
1270 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1271 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1272
12732010-07-12 Eli Zaretskii <eliz@gnu.org>
1274
1275 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1276 2010-07-12T05:25:46Z!handa@etlken).
1277
12782010-07-11 Andreas Schwab <schwab@linux-m68k.org>
1279
1280 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1281 index, rindex.
1282 * movemail.c (mail_spool_name, popmail): Likewise.
1283 * pop.c (pop_list): Likewise.
1284
12852010-07-11 Eli Zaretskii <eliz@gnu.org>
1286
1287 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1288 and unexw32.o. (Bug#6603)
1289
12902010-07-10 Eli Zaretskii <eliz@gnu.org>
1291
1292 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1293
12942010-07-09 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * make-docfile.c (write_c_args): Restructure scanning loop.
1297
12982010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
1299
1300 * make-docfile.c (write_c_args): Deal with type names in DEFUN
1301 arguments.
1302
13032010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
1304
1305 * update-game-score.c (P_): Remove macro.
1306 * ebrowse.c: Remove include guards.
1307 (P_): Remove macro.
1308
13092010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1310
1311 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1312 memcpy, memmove, memset.
1313 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1314
13152010-07-06 Andreas Schwab <schwab@linux-m68k.org>
1316
1317 * movemail.c: Add MAIL_USE_POP around prototypes.
1318 Include <string.h> if HAVE_STRING_H.
1319 (strerror): Only declare if !HAVE_STRERROR.
1320 (fatal): Make static.
1321 (error): Likewise.
1322 (pfatal_with_name): Likewise.
1323 (pfatal_and_delete): Likewise.
1324 (concat): Likewise.
1325 (xmalloc): Likewise.
1326 (popmail): Likewise.
1327 (pop_retr): Likewise.
1328 (mbx_write): Likewise.
1329 (mbx_delimit_begin): Likewise.
1330 (mbx_delimit_end): Likewise.
1331
13322010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1333
1334 * fakemail.c (action): Convert function definitions to standard C.
1335 (add_a_stream):
1336 * test-distrib.c (cool_read):
1337 (main): Likewise.
1338
13392010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1340
1341 * sorted-doc.c (cmpdoc): Fix signature.
1342 (qsort_compare): Delete.
1343 (main): Remove cast.
1344
13452010-07-03 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1348
13492010-07-03 Juanma Barranquero <lekktu@gmail.com>
1350
1351 Fix prototype warnings.
1352
1353 * ebrowse.c (match_qualified_namespace_alias):
1354 Pass sym* to find_namespace, not link*.
1355
1356 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1357
1358 * sorted-doc.c (qsort_compare): New typedef.
1359 (main): Use it to cast cmpdoc.
1360
13612010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1362
1363 * update-game-score.c: Convert function definitions to standard C.
1364 * sorted-doc.c:
1365 * profile.c:
1366 * pop.c:
1367 * movemail.c:
1368 * make-docfile.c:
1369 * hexl.c:
1370 * fakemail.c:
1371 * etags.c:
1372 * ebrowse.c:
1373 * digest-doc.c:
1374 * b2m.c: Likewise.
1375
13762010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
1377
1378 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
1379 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
1380 standard C prototypes.
1381
13822010-07-02 Jan Djärv <jan.h.d@swipnet.se>
1383
1384 * ebrowse.c: Remove P_ and __P.
1385 * etags.c:
1386 * movemail.c:
1387 * pop.c:
1388 * update-game-score.c: Likewise.
1389
13902010-06-24 Juanma Barranquero <lekktu@gmail.com>
1391
1392 * movemail.c (error): Avoid warning when there are no args.
1393
13942010-06-11 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
1397 and vc/ediff-hook.elc.
1398
13992010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1400
1401 * ntlib.h: Remove code dealing with BSTRING.
1402
14032010-05-29 Chong Yidong <cyd@stupidchicken.com>
1404
1405 * emacsclient.c (longopts, decode_options, print_help_and_exit):
1406 New arg `-parent-id'.
1407 (main): Send parent-id to Emacs.
1408
14092010-05-27 Glenn Morris <rgm@gnu.org>
1410
1411 * Makefile.in (distclean): No more Makefile.c.
1412
14132010-05-22 Jan Djärv <jan.h.d@swipnet.se>
1414
1415 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
1416 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
1417 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1418 New rules (Bug #6246).
1419 (clean): Remove stamp-* (Bug #6246).
1420
14212010-05-12 Glenn Morris <rgm@gnu.org>
1422
1423 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
1424
14252010-05-11 Glenn Morris <rgm@gnu.org>
1426
1427 * Makefile.in (.m.o): Remove, there are no .m files.
1428 (BASE_CFLAGS): New variable.
1429 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
1430 (check): Update the message.
1431 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1432
1433 * Makefile.in: Convert comments to makefile format.
1434
1435 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1436 (config.h) [MSDOS]: Do not include.
1437
14382010-05-10 Glenn Morris <rgm@gnu.org>
1439
1440 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1441 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1442 (NOT_C_CODE): Remove, no longer used.
1443 (config.h) [!MSDOS]: No longer include.
1444 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1445
1446 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1447
14482010-05-08 Glenn Morris <rgm@gnu.org>
1449
1450 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1451
14522010-05-07 Chong Yidong <cyd@stupidchicken.com>
1453
1454 * Version 23.2 released.
1455
14562010-05-06 Glenn Morris <rgm@gnu.org>
1457
1458 * Makefile.in: Minimize blessmail-related cpp usage.
1459 (BLESSMAIL_TARGET): New variable.
1460 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1461 (blessmail): Always define this rule.
1462 (need-blessmail): New rule, split out from maybe-blessmail.
1463 (maybe-blessmail): Use BLESSMAIL_TARGET.
1464
14652010-05-04 Glenn Morris <rgm@gnu.org>
1466
1467 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1468 @c_switch_system@, @c_switch_machine@.
1469
14702010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1471
1472 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1473
14742010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1475
1476 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1477 non-cpp section.
1478
14792010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1480
1481 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1482 autoconf, not cpp.
1483 (ALL_CFLAGS): Use them as make variables.
1484
14852010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
1486
1487 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1488 for macros for nmake compatibility.
1489
14902010-04-03 Juanma Barranquero <lekktu@gmail.com>
1491
1492 Add stubs for Windows, required after CVE-2010-0825 change.
1493 * ntlib.c (getgid, getegid, setegid): New stubs.
1494 * ntlib.h (getgid, getegid, setegid): Declare them.
1495
14962010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1497
1498 * movemail.c (main): Check return values of setuid.
1499 Avoid possibility of symlink attack when movemail is setgid mail
1500 (CVE-2010-0825).
1501
15022010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1503
1504 Remove extern errno declarations.
1505 * movemail.c:
1506 * etags.c:
1507 * emacsclient.c: Remove extern errno declarations.
1508
15092010-03-20 Glenn Morris <rgm@gnu.org>
1510
1511 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1512 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1513 defining these as Makefile variables.
1514 (LIBS_MOVE): Add LIBS_MAIL into this.
1515 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1516
15172010-03-18 Glenn Morris <rgm@gnu.org>
1518
1519 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1520 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1521 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1522
15232010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1524
1525 * Makefile.in (uninstall): Handle the case where archlibdir does not
1526 exist. (Bug#5720)
1527
15282010-03-10 Chong Yidong <cyd@stupidchicken.com>
1529
1530 * Branch for 23.2.
1531
15322010-02-20 Kevin Ryde <user42@zip.com.au>
1533
1534 * etags.c (Scheme_functions): Don't loop past a null character
1535 (Bug#5601).
1536
15372010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
1538
1539 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
1540
15412010-01-11 Glenn Morris <rgm@gnu.org>
1542
1543 * ebrowse.c (version):
1544 * etags.c (print_version):
1545 * rcs2log (Copyright): Set copyright year to 2010.
1546
15472009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1548
1549 * makefile.w32-in: Use parenthesis for macros for nmake
1550 compatibility.
1551
15522009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
1553
1554 * etags.c (absolute_filename): Use memmove if we have it for
1555 overlapping copy.
1556
15572009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1558
1559 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1560
15612009-10-15 Juanma Barranquero <lekktu@gmail.com>
1562
1563 * .gitignore: Add echolisp.tmp.
1564
15652009-10-15 Glenn Morris <rgm@gnu.org>
1566
1567 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1568
1569 * makefile.w32-in (echolisp): New rule.
1570 (clean): Delete echolisp.tmp.
1571
15722009-09-27 Eli Zaretskii <eliz@gnu.org>
1573
1574 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1575 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1576 be consistent with src/Makefile.in.
1577
15782009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * update-game-score.c (main): Sort scores before trimming them,
1581 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1582
15832009-09-09 Glenn Morris <rgm@gnu.org>
1584
1585 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1586 before creating directories and game score files.
1587
15882009-08-19 Glenn Morris <rgm@gnu.org>
1589
1590 * cvtmail.c: Remove file.
1591 * Makefile.in (UTILITIES): Remove cvtmail.
1592 (cvtmail${EXEEXT}): Remove.
1593
15942009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1595
1596 * b2m.c (main): Ensure that each message ends in two newlines.
1597
15982009-07-03 Jason Rumney <jasonr@gnu.org>
1599
1600 * emacsclient.c (w32_set_user_model_id): Use standard types.
1601
16022009-07-03 Eli Zaretskii <eliz@gnu.org>
1603
1604 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1605 src/Makefile.in did.
1606
16072009-06-30 Jason Rumney <jasonr@gnu.org>
1608
1609 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1610 that is already loaded.
1611 (w32_set_user_model_id): New function.
1612 (main): Use it to associate emacsclient with emacs (bug#1849).
1613
16142009-06-29 Jim Meyering <meyering@redhat.com>
1615
1616 Remove useless if-before-free test.
1617 * make-docfile.c (scan_lisp_file): Remove useless test.
1618
16192009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1620
1621 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1622
16232009-06-21 Chong Yidong <cyd@stupidchicken.com>
1624
1625 * Branch for 23.1.
1626
16272006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1628
1629 * mac-fix-env.m:
1630 * Makefile.in (mac-fix-env): Remove.
1631
16322006-06-06 David Reitter <david.reitter@gmail.com>
1633
1634 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1635
16362009-04-20 Juanma Barranquero <lekktu@gmail.com>
1637
1638 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1639 spacing is required in the message output, as the comment suggests).
1640
16412009-04-20 Chong Yidong <cyd@stupidchicken.com>
1642
1643 * emacsclient.c (print_help_and_exit): Clarify argument placement
1644 for short option names.
1645
16462009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1647
1648 * emacsclient.c (print_help_and_exit): Fix typo.
1649
16502009-03-21 Eli Zaretskii <eliz@gnu.org>
1651
1652 * ntlib.c (setuid): Argument is now unsigned.
1653 (getuid): Return value is now unsigned.
1654 (getpwuid): Argument is now unsigned.
1655 (fchown): UID and GID arguments are now unsigned.
1656
1657 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1658 (getuid): Return value is now unsigned.
1659 (setuid): Argument is now unsigned.
1660 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1661
16622009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * emacsclient.c (main): Revert part of last change, so
1665 drive-relative file names again work on Windows.
1666
16672009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1670 names without prepending cwd to them, so Emacs uses its customary
1671 rules to determine how to interpret the file name.
1672
16732009-03-04 Glenn Morris <rgm@gnu.org>
1674
1675 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1676
16772009-02-13 Sven Joachim <svenjoac@gmx.de>
1678
1679 * movemail.c: Include time.h unconditionally.
1680 (main): Use time_t for time variables.
1681
16822009-02-11 Glenn Morris <rgm@gnu.org>
1683
1684 * movemail.c (mbx_delimit_begin): Also write the current time.
1685
16862009-02-10 Glenn Morris <rgm@gnu.org>
1687
1688 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1689 than Babyl format. (Bug#2196)
1690
16912009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1692
1693 * emacsclient.c (decode_options): Use a dummy display name under
1694 NS/Cocoa.
1695
16962009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1697
1698 * ebrowse.c (matching_regexp): Fix OB1 error.
1699
17002009-01-05 Glenn Morris <rgm@gnu.org>
1701
1702 * ebrowse.c (version):
1703 * etags.c (print_version):
1704 * rcs2log (Copyright): Update copyright for 2009.
1705
17062009-01-01 Chong Yidong <cyd@stupidchicken.com>
1707
1708 * movemail.c (main): Fatal if hard links cannot be created.
1709
17102008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1711
1712 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1713 checking.
1714
17152008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1716
1717 * emacsclient.c: Include syswait.h instead of sys/types.h.
1718
17192008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
1720
1721 * emacsclient.c (WCONTINUED): New compatibility define
1722 for older systems.
1723
17242008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1725
1726 * emacsclient.c (main): Fix previous change.
1727
17282008-12-10 Juanma Barranquero <lekktu@gmail.com>
1729
1730 * emacsclient.c (main): Fix mindless breakage where emacsclient
1731 does not work *at all* on Windows, even if it *can* connect.
1732
17332008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1734
1735 * emacsclient.c (EMACS_DAEMON): Remove definition.
1736 (decode_options): Do not allow an empty alternate_editor on
1737 WINDOWSNT.
1738 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1739 (start_daemon_and_retry_set_socket): Likewise.
1740 (main): Fail in case of not being able to connect.
1741
17422008-12-10 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1745 Changes when EMACS_DAEMON is not defined:
1746 (print_help_and_exit): Don't add daemon information to help.
1747 (start_daemon_and_retry_set_socket): Make a no-op.
1748 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1749
17502008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1751
1752 * emacsclient.c (print_help_and_exit): Describe what an empty
1753 string argument does for --alternate-editor.
1754 (set_socket): Make it possible to not exit in case of an error.
1755 (start_daemon_and_retry_set_socket): New function.
1756 (main): Use it. Restore the NULL value for socket_name and
1757 server_file after the set_socket call.
1758
17592008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1760
1761 * emacsclient.c: Include <arpa/inet.h>.
1762
17632008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1764
1765 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1766
17672008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1768
1769 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1770
17712008-11-02 Chong Yidong <cyd@stupidchicken.com>
1772
1773 * emacsclient.c (window_system): Delete redundant variable.
1774 (decode_options): Don't use it.
1775 (find_tty): New function.
1776 (main): Use find_tty, and don't use window_system.
1777
17782008-11-01 Eli Zaretskii <eliz@gnu.org>
1779
1780 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1781 `ttyname'.
1782 (w32_getenv): Treat $TERM specially: if not found in the
1783 environment and in the Registry, return "w32console".
1784 (ttyname) [WINDOWSNT]: New function.
1785
17862008-10-31 Andreas Schwab <schwab@suse.de>
1787
1788 * emacsclient.c (main): Don't force sending tty when in eval mode.
1789
17902008-10-30 Chong Yidong <cyd@stupidchicken.com>
1791
1792 * emacsclient.c (main): If using the current frame, send tty
1793 information to Emacs in case daemon mode needs to occupy this tty.
1794
17952008-10-29 Juanma Barranquero <lekktu@gmail.com>
1796
1797 * emacsclient.c (EXTRA_SPACE): New macro.
1798 (get_server_config, set_local_socket): Use it.
1799
1800 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1801 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1802
18032008-10-29 Ulrich Mueller <ulm@gentoo.org>
1804
1805 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1806 instead of hardcoded /tmp.
1807
18082008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1809
1810 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1811 (decode_options): Use getopt_long_only.
1812
18132008-09-30 Eli Zaretskii <eliz@gnu.org>
1814
1815 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1816 codepage.elc.
1817
18182008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1819
1820 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1821 terminal (bug#427).
1822
18232008-08-25 Francesco Potortì <pot@gnu.org>
1824
1825 * etags.c (main): Do not use static space for the tagfile string.
1826
18272008-08-17 Francesco Potortì <pot@gnu.org>
1828
1829 * etags.c (main): Use canonicalize_filename on tags file name.
1830 (relative_filename): Revert 3.85: do not collapse slashes here.
1831 (absolute_dirname): Remove useless call to canonicalize_filename.
1832 (canonicalize_filename): Collapse multiple slashes here.
1833
18342008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1835
1836 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1837 Do not special case for NS_IMPL_COCOA.
1838
18392008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
1840
1841 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1842 (.m.o): Dispense with GNUstep-specific flags.
1843
18442008-08-05 Ulrich Mueller <ulm@gentoo.org>
1845
1846 * pop.c (socket_connection): Add conditionals for
1847 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1848 compilation with MIT Kerberos and Heimdal, respectively.
1849
18502008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1851
1852 * etags.c:
1853 * emacsclient.c: Remove VMS support.
1854
18552008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1856
1857 Remove support for Mac Carbon.
1858 * makefile.w32-in:
1859 * emacsclient.c: Remove code for Carbon.
1860
18612008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1862
1863 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1864
18652008-07-17 Andreas Schwab <schwab@suse.de>
1866
1867 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1868 (LIB_STANDARD_LIBSRC): Don't define.
1869 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1870
18712008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
1872
1873 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1874 NS_IMPL_COCOA.
1875
18762008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1877
1878 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1879 Remove, unused.
1880
18812008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
1882
1883 * .cvsignore: Add mac-fix-env.
1884 * mac-fix-env.m: New file, automatically update
1885 ~/.MacOSX/environment.plist on OS X systems to expose environment
1886 variables inside Emacs started from icon.
1887 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1888 programs to build.
1889 * make-docfile.c: Add .m to list of file extensions.
1890
18912008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1892
1893 * movemail.c (main): Use int instead of WAITTYPE.
1894
18952008-07-05 Juanma Barranquero <lekktu@gmail.com>
1896
1897 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1898 Remove vmsproc.el and vms-patch.el.
1899
19002008-06-26 Juanma Barranquero <lekktu@gmail.com>
1901
1902 * makefile.w32-in (obj): Remove w32bdf.o.
1903
19042008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1905
1906 * fakemail.c: Remove references to obsolete variables.
1907
19082008-06-02 Jim Meyering <meyering@redhat.com>
1909
1910 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
1911
1912 Remove useless if-before-free tests.
1913 * ebrowse.c (xfree): Likewise.
1914 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
1915 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
1916 * pop.c (pop_quit): Likewise.
1917
19182008-05-30 Juanma Barranquero <lekktu@gmail.com>
1919
1920 * makefile.w32-in (lisp2): Add minibuffer.elc.
1921
19222008-05-29 Tom Tromey <tromey@redhat.com>
1923
1924 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1925
19262008-05-09 Eli Zaretskii <eliz@gnu.org>
1927
1928 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1929 (IS_DIRECTORY_SEP): New macro.
1930 (convert_time, is_exec, stat): New functions.
1931
19322008-05-08 Eli Zaretskii <eliz@gnu.org>
1933
1934 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1935
19362008-05-03 Eli Zaretskii <eliz@gnu.org>
1937
1938 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1939 corresponding change in src/Makefile.in.
1940
19412008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1942
1943 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1944
19452008-04-10 Jason Rumney <jasonr@gnu.org>
1946
1947 * makefile.w32-in (CLIENTRES): New variable and target.
1948 (TRES): Remove.
1949 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1950
19512008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1954
19552008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1956
1957 * vcdiff: Use mktemp (CVE-2008-1694).
1958
19592008-04-09 Jason Rumney <jasonr@gnu.org>
1960
1961 * makefile.w32-in (distclean, maintainer-clean): New targets.
1962
19632008-03-13 Glenn Morris <rgm@gnu.org>
1964
1965 * makefile.w32-in (VERSION): Set to 23.0.60.
1966
19672008-03-04 Juanma Barranquero <lekktu@gmail.com>
1968
1969 * .cvsignore: Add oo.
1970
19712008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1972
1973 * etags.c (Perl_functions): Fix call to skip_spaces.
1974
19752008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1976
1977 * Makefile.in (NO_SHORTNAMES):
1978 * emacsclient.c (NO_SHORTNAMES):
1979 * fakemail.c (NO_SHORTNAMES):
1980 * make-docfile.c (NO_SHORTNAMES):
1981 * movemail.c (NO_SHORTNAMES):
1982 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1983
19842008-02-23 Jason Rumney <jasonr@gnu.org>
1985
1986 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1987 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
1988 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
1989 (lisp2): Add new languages.
1990 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1991
19922008-02-22 Juanma Barranquero <lekktu@gmail.com>
1993
1994 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1995 malayalam.el, and tamil.el. Add sinhala.el.
1996
19972008-02-20 Juanma Barranquero <lekktu@gmail.com>
1998
1999 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2000 where NAME is relative to DRIVE'S current directory.
2001
20022008-02-15 Juanma Barranquero <lekktu@gmail.com>
2003
2004 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2005
20062008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
2007
2008 * fakemail.c: Undo previous change.
2009
20102008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2011
2012 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2013 (main): Replace MAIL_PROGRAM_NAME with its value.
2014
2015 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
2016
20172008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * emacsclient.c (decode_options): Pass --display implicitly if -c
2020 is specified. Only set tty if -t or -c is specified.
2021
20222008-02-04 Jason Rumney <jasonr@gnu.org>
2023
2024 * makefile.w32-in (lisp1): Use (), not {}.
2025
20262008-02-04 Tom Tromey <tromey@redhat.com>
2027
2028 * etags.c: Add "GTY" as synonym for __attribute__.
2029 Update gperf output.
2030
20312008-02-01 Jason Rumney <jasonr@gnu.org>
2032
2033 * makefile.w32-in (obj): Sync with src/Makefile.in.
2034 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2035 (WINNT_SUPPORT): Add term/w32-win.elc.
2036 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2037
20382008-02-01 Jason Rumney <jasonr@gnu.org>
2039
2040 * makefile.w32-in (obj): Add font.o and w32font.o.
2041
20422008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
2043
2044 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
2045 utf-8.elc, and latin-*.el.
2046
20472008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
2050 Allow the -d option under w32 again, for those rare cases where it
2051 actually does make sense.
2052
20532008-01-25 Juanma Barranquero <lekktu@gmail.com>
2054
2055 * emacsclient.c (set_tcp_socket): Don't send "\n" after
2056 the authentication string; there's no need to haste.
2057
20582008-01-22 Chong Yidong <cyd@stupidchicken.com>
2059
2060 * pop.c (pop_stat, pop_last): Fix last fix.
2061
20622008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2063
2064 * movemail.c: Remove references to XENIX.
2065
20662008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2067
2068 * movemail.c:
2069 * make-docfile.c: Remove reference to symbols defined by systems
2070 not supported anymore: MAC_OS8, XENIX and STRIDE.
2071
20722008-01-12 Eli Zaretskii <eliz@gnu.org>
2073
2074 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2075 of DISPLAY in the environment. Don't support -d.
2076 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2077 (longopts) [WINDOWSNT]: Remove --display.
2078
20792008-01-10 Chong Yidong <cyd@stupidchicken.com>
2080
2081 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2082 conversion. Mistakes spotted by Nico Golde.
2083
20842008-01-09 Glenn Morris <rgm@gnu.org>
2085
2086 * emacsclient.c: Add missing final newlines to message calls.
2087
20882008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
2089
2090 * emacsclient.c (set_socket): Add final newline to socket error message.
2091
20922008-01-04 Glenn Morris <rgm@gnu.org>
2093
2094 * ebrowse.c (version) <emacs_copyright>: New variable.
2095 Just use current year for copyright.
2096
2097 * etags.c (print_version):
2098 * rcs2log (Copyright): Update to 2008.
2099
21002007-11-28 Jason Rumney <jasonr@gnu.org>
2101
2102 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2103
21042007-11-27 Jan Djärv <jan.h.d@swipnet.se>
2105
2106 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2107
21082007-11-19 Jan Djärv <jan.h.d@swipnet.se>
2109
2110 * pop.c (socket_connection): Move realhost out of #ifdefs.
2111 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2112
21132007-11-18 Jan Djärv <jan.h.d@swipnet.se>
2114
2115 * pop.c (socket_connection): Use getaddrinfo if available.
2116
21172007-11-22 Francesco Potortì <pot@gnu.org>
2118
2119 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
2120 as the defaults in ctags are different from etags.
2121
21222007-11-15 Francesco Potortì <pot@gnu.org>
2123
2124 * etags.c: Make prototypes for extern definitions, and add all
2125 that are needed to quench warnings on 64-bit.
2126 (main): Use the same defaults for ctags as for etags: find
2127 typedefs, structure tags, macro constants, enum constants, struct
2128 members and global variables.
2129 (make_C_tag) [DEBUG]: Add debugging printout.
2130 (C_entries): In case '}' decrement bracelev before testing it.
2131
21322007-11-15 Masatake YAMATO <jet@gyve.org>
2133
2134 * etags.c (C_entries): In case '}', set fvdef to fvnone
2135 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2136
21372007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
2138
2139 * makefile.w32-in (obj): Remove sunfns.o.
2140
21412007-10-28 Juanma Barranquero <lekktu@gmail.com>
2142
2143 * makefile.w32-in (obj): Remove abbrev.o.
2144
21452007-10-26 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * emacsclient.c: Add a wrapper for getenv so it also checks the
2148 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
2149 Code partially based on w32_get_resource and init_environment (w32.c).
2150 (egetenv): New wrapper for getenv.
2151 (get_current_dir_name, decode_options, get_server_config)
2152 (set_local_socket, set_socket, main): Use egetenv, not getenv.
2153 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2154
21552007-10-25 Jason Rumney <jasonr@gnu.org>
2156
2157 * emacsclient.c (sock_err_message): New function.
2158 (set_tcp_socket): Use it.
2159
21602007-10-09 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * emacsclient.c (print_help_and_exit): Fix space to improve
2163 alignment in output messages.
2164
21652007-09-27 Jason Rumney <jasonr@gnu.org>
2166
2167 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2168
2169 * emacsclient.c (w32_window_app): Init common controls when windowed.
2170
21712007-09-21 Glenn Morris <rgm@gnu.org>
2172
2173 * emacstool.c: Remove file.
2174 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2175 Delete targets built from emacstool.
2176
21772007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacsclient.c (decode_options): -t implies -c.
2180
21812007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2184 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2185 (main_argc): Remove.
2186 (strprefix): Use strncmp.
2187
21882007-09-20 Jason Rumney <jasonr@gnu.org>
2189
2190 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2191
21922007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * emacsclient.c (current_frame): Change the default.
2195 (longopts): Replace --current-frame by --create-frame.
2196 (decode_options): Reverse the meaning of -c.
2197 (print_help_and_exit): Update help text accordingly.
2198 (main): Remove the -version and -good-version messages.
2199
22002007-09-12 Glenn Morris <rgm@gnu.org>
2201
2202 * Makefile.in (SOURCES, unlock, relock): Delete.
2203
22042007-08-29 Glenn Morris <rgm@gnu.org>
2205
2206 * makefile.w32-in (VERSION): Increase to 23.0.50.
2207
22082007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2209
2210 * emacsclient.c (w32_execvp): Move definition before use.
2211 (decode_options): Don't use a tty on mac carbon or windows.
2212
22132007-08-29 Jason Rumney <jasonr@gnu.org>
2214
2215 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2216 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
2217 (main): Expand removed macros inline.
2218 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
2219 option.
2220 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2221
22222007-08-29 Károly Lőrentey <lorentey@elte.hu>
2223
2224 * emacsclient.c (signal.h): New include.
2225 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2226 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2227 Copy definitions here from src/lisp.h.
2228 (main_argc, main_argv, current_frame, window_system, tty): New vars.
2229 (longopts): Add tty, current-frame.
2230 (xmalloc, xstrdup): New functions.
2231 (get_current_dir_name): New function, copied from src/sysdep.c.
2232 (decode_options): Set display from environment. Add tty and
2233 current_frame options. Make --no-wait imply --current-frame,
2234 except when it is the only option given. Make sure no frame is
2235 opened when --current-frame is set.
2236 (print_help_and_exit): Document tty and current-frame options.
2237 (fail): Change arguments to void.
2238 (main): When sockets are not defined, set main_argc, main_argv,
2239 and call fail() with no arguments.
2240 (emacs_socket): New variable (moved out from main `s').
2241 (quote_file_name): Rename to quote_argument.
2242 (quote_argument): New name for old quote_file_name.
2243 (unquote_argument, strprefix, pass_signal_to_emacs)
2244 (handle_sigcont, handle_sigtstp, init_signals): New functions.
2245 (set_local_socket): Initialize saved_errno to 0. If socket-name
2246 is too long, call `fail' rather than `exit'.
2247 (main): Doc update. Set main_argc, main_argv. New var `str'.
2248 Don't need a filename or argument if tty or window_system set.
2249 Call fail with no arguments. Use get_current_dir_name to send
2250 over the current directory. Send version number to Emacs for
2251 verification. If tty is set, check TERM, and pass name and type
2252 to Emacs. Pass window_system to Emacs. Move sending of eval to
2253 optind loop. Send -position, -file to Emacs. Call fsync after
2254 fflush. Check for a client/server version match.
2255 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2256 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
2257 close the connection for us. When creating a new frame, send
2258 environment and pwd to Emacs. Send current-frame to Emacs.
2259
22602007-08-25 Eli Zaretskii <eliz@gnu.org>
2261
2262 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2263 Prepend "-" to the command, in case srcdir=. and file is copied
2264 into itself.
2265
22662007-07-25 Glenn Morris <rgm@gnu.org>
2267
2268 * Relicense all FSF files to GPLv3 or later.
2269
2270 * COPYING: Switch to GPLv3.
2271
22722007-07-17 Francesco Potortì <pot@gnu.org>
2273
2274 * etags.c (C_entries): Reset the fvdef machine when out of function.
2275 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2276 (print_help): Use it in if() rather than #if.
2277 (print_help): Conditionally print help about --no-line-directive.
2278
22792007-07-16 Eli Zaretskii <eliz@gnu.org>
2280
2281 * makefile.w32-in (clean): Don't delete *~.
2282
22832007-06-07 Glenn Morris <rgm@gnu.org>
2284
2285 * etags.c (print_version): Add `emacs_copyright' string, for
2286 easier automatic updating.
2287
22882007-05-18 Francesco Potortì <pot@gnu.org>
2289
2290 * etags.c: Extern definitions of some more pointer functions for
2291 standalone compilation, especially important for 64bit platforms.
2292 (main, print_help): --members is now the default for etags.
2293 (C_entries): Parse start of C comment as a space == end of token.
2294 This is not necessary for C++ comment, already parsed as newline.
2295
22962007-04-26 Glenn Morris <rgm@gnu.org>
2297
2298 * makefile.w32-in (VERSION): Increase to 22.1.50.
2299
23002007-06-02 Chong Yidong <cyd@stupidchicken.com>
2301
2302 * Version 22.1 released.
2303
23042007-02-26 Francesco Potortì <pot@gnu.org>
2305
2306 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2307
23082007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2309
2310 * Makefile.in (EMACS, EMACSOPT): New variables.
2311 (blessmail): Use `--no-site-file' when compiling.
2312
23132007-02-05 Francesco Potortì <pot@gnu.org>
2314
2315 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2316 (main): Now --members is the default for etags, not for ctags yet.
2317
23182007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
2319
2320 * etags.c (gperf, in_word_set): Change attribute for Java to
2321 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
2322 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
2323 import, package, extends, implements and interface to be treated
2324 specially for all kinds of C-style files, not just Java files.
2325
23262007-01-02 Francesco Potortì <pot@gnu.org>
2327
2328 * etags.c (longopts): New undocumented option --no-duplicates.
2329 (no_duplicates): Static variables for the above option.
2330 (print_help): Do not print help for --no-warn, now undocumented.
2331 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2332 (main): Pass the -u option to sort in ctags mode.
2333
23342006-12-28 Francesco Potortì <pot@gnu.org>
2335
2336 * etags.c (readline): When creating a relative file name from a
2337 #line directive, leave the file name alone. The previous
2338 behavior was to make it relative to the tags file directory,
2339 under the hypothesis that the #line directive file name was
2340 relative to the directory of the tagged file. That hypothesis is
2341 wrong with Cpp and Lex.
2342 (Makefile_targets): Do not include spaces in tag names.
2343
23442006-12-22 Eli Zaretskii <eliz@gnu.org>
2345
2346 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2347 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2348 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2349 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2350 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2351 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2352 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2353 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
2354 (clean): Delete stamp_BLD.
2355
23562006-12-20 Francesco Potortì <pot@gnu.org>
2357
2358 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2359
23602006-12-18 Juanma Barranquero <lekktu@gmail.com>
2361
2362 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2363 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2364 (main) [WINDOWSNT]: Remove code to release the focus; call
2365 w32_give_focus instead.
2366
23672006-12-15 Juanma Barranquero <lekktu@gmail.com>
2368
2369 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2370 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2371 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2372 Suggestions and comment by Eli Zaretskii.
2373
23742006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
2375
2376 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
2377 Use $(USER32) for compatibility with Visual Studio .NET 2003.
2378
23792006-11-30 Juanma Barranquero <lekktu@gmail.com>
2380
2381 * emacsclient.c (emacs_pid): New variable.
2382 (message): Remove leftover code.
2383 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
2384 focus yet; emacsclient can still display an informational message
2385 before sending requests to Emacs.
2386 (main): Allow Emacs to grab the focus. Simplify message() call.
2387
23882006-11-30 Michael Mauger <mmaug@yahoo.com>
2389
2390 * emacsclient.c (message): Make sure the message is properly
2391 written even if it contains printf escapes, and flush the result.
2392 (set_tcp_socket): Make the message for non-local connections
2393 informational rather than an error.
2394
23952006-11-28 Kevin Ryde <user42@zip.com.au>
2396
2397 * etags.c (readline): Check for double quote after #line.
2398
23992006-11-28 Jan Djärv <jan.h.d@swipnet.se>
2400
2401 * etags.c (readline): sscanf could in principle return 2.
2402
24032006-11-28 Francesco Potortì <pot@gnu.org>
2404
2405 * etags.c (readline): lno is unsigned.
2406 (TeX_commands): Use p++ (rather than *p++) to increment p.
2407 (Lua_functions): Explicitly discard LOOKING_AT's return value.
2408
24092006-11-27 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
2412 ($(TRES)): New rule (copied from nt/makefile.w32-in).
2413 ($(BLD)/emacsclientw.exe): Add dependency.
2414
24152006-11-27 Eli Zaretskii <eliz@gnu.org>
2416
2417 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
2418
24192006-11-25 Juanma Barranquero <lekktu@gmail.com>
2420
2421 * makefile.w32-in (VERSION): New macro.
2422 (ECLIENT_CFLAGS): Add -DVERSION.
2423
24242006-11-25 Jason Rumney <jasonr@gnu.org>
2425
2426 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
2427
24282006-11-24 Michael Mauger <mmaug@yahoo.com>
2429
2430 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
2431 file names with forward slashes.
2432
24332006-11-23 Juanma Barranquero <lekktu@gmail.com>
2434
2435 * emacsclient.c (print_help_and_exit): Tweak message contents and
2436 tabs/spaces to improve alignment in message boxes.
2437
24382006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2439
2440 * emacsclient.c: Include <stdarg.h>.
2441 [WINDOWSNT]: Include <windows.h>.
2442 (w32_check_console_app): New function.
2443 (message): New function.
2444 (decode_options, print_help_and_exit, fail, main)
2445 (initialize_sockets, get_server_config, set_tcp_socket)
2446 (set_local_socket, set_socket): Use message().
2447
24482006-11-13 Jason Rumney <jasonr@gnu.org>
2449
2450 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2451 HAVE_INET_SOCKETS.
2452
24532006-11-13 Juanma Barranquero <lekktu@gmail.com>
2454
2455 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2456 ($(BLD)/emacsclientw.exe): New target.
2457 (install): Install emacsclientw.exe.
2458 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2459 (ECLIENT_CFLAGS): Remove redundant flags.
2460
2461 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2462
24632006-11-13 Jason Rumney <jasonr@gnu.org>
2464
2465 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2466
24672006-11-10 David Reitter <david.reitter@gmail.com>
2468
2469 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2470
24712006-11-08 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2474 FARPROC to avoid a compiler warning.
2475
24762006-11-07 Juanma Barranquero <lekktu@gmail.com>
2477
2478 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2479 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2480
2481 * emacsclient.c (get_server_config): Extract also the Emacs pid
2482 from the server file. On Windows, try to force the Emacs frame to
2483 the foreground.
2484
24852006-11-06 Juanma Barranquero <lekktu@gmail.com>
2486
2487 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
2488 option --socket-name.
2489 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2490 command line options.
2491 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
2492 (fail): Don't check for missing arguments, it is now done in set_socket.
2493 (file_name_absolute_p): New function (loosely based on the one in
2494 fileio.c).
2495 (initialize_sockets): Don't check for duplicate loading of Winsock.
2496 (get_server_config): Only try relative paths in the default
2497 directory locations.
2498 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2499 a remote server.
2500 (set_socket): Call INITIALIZE(). Search explicit command-line
2501 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2502 socket paths, before trying the alternate editor.
2503 (main): Use file_name_absolute_p.
2504
25052006-11-04 Eli Zaretskii <eliz@gnu.org>
2506
2507 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2508 file if it doesn't already exist.
2509
25102006-11-03 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2513 more than once.
2514
25152006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2516
2517 * Makefile.in (INSTALL_SCRIPT): New macro.
2518 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2519
25202006-11-02 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * grep-changelog: When called with no arguments (not even a
2523 filter), show help instead of blindingly dumping every single
2524 ChangeLog available. Doc fix. Update version.
2525
25262006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2527
2528 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2529 [!WINDOWSNT]: Include <netinet/in.h> if available.
2530 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2531 (IOCTL, IOCTL_BOOL_ARG): Remove.
2532 (set_tcp_socket): Don't set the socket in blocking mode.
2533 Remove c_arg.
2534
25352006-11-01 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2538 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2539
25402006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
2541
2542 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2543 (close_winsock): Declare as __cdecl.
2544
25452006-10-31 Jan Djärv <jan.h.d@swipnet.se>
2546
2547 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2548 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2549 to set the socket in non-blocking mode.
2550
25512006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2552
2553 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
2554 (INVALID_SOCKET): Define.
2555 (initialize_sockets): Put #endif at the right place.
2556 (set_local_socket): Use progname, not argv[0].
2557
25582006-10-31 Juanma Barranquero <lekktu@gmail.com>
2559
2560 * makefile.w32-in (ALL): Add emacsclient.
2561 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2562 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2563 (install): Install emacsclient.
2564
2565 * emacsclient.c: Add support for TCP sockets.
2566 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2567 (INITIALIZE): New macros.
2568 (IOCTL_BOOL_ARG): New typedef.
2569 (server_file): New global variable.
2570 (longopts): New option --server-file.
2571 (decode_options): Process new option --server-file and environment
2572 variable EMACS_SERVER_FILE.
2573 (print_help_and_exit): Document new option.
2574 (fail): If no connection available and no alternate editor,
2575 suggest using options to make them explicit.
2576 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2577 (send_buffer, sblen): New variables.
2578 (send_to_emacs): New function to buffer output and send it with `send'.
2579 (quote_file_name): Use SEND_STRING.
2580 (close_winsock, initialize_sockets): New functions to load and
2581 unload Winsock.
2582 (get_server_config, set_tcp_socket): New functions to create and
2583 set up TCP sockets.
2584 (set_local_socket): New function to create and set up Unix
2585 socket (code moved from previous implementation).
2586 (set_socket): New function to choose between TCP and Unix sockets.
2587 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2588 set_local_socket. Use set_socket. Get answers from server.el with
2589 recv(), not file stream functions.
2590
25912006-10-09 Eli Zaretskii <eliz@gnu.org>
2592
2593 * makefile.w32-in (../src/config.h): Fix error message.
2594
25952006-09-30 Eli Zaretskii <eliz@gnu.org>
2596
2597 * .cvsignore: Add blessmail.
2598
25992006-09-15 Jay Belanger <belanger@truman.edu>
2600
2601 * COPYING: Replace "Library Public License" by "Lesser Public
2602 License" throughout.
2603
26042006-08-09 Jan Djärv <jan.h.d@swipnet.se>
2605
2606 * etags.c (readline): Expect sscanf returns >= 1.
2607 (readline): Change position on %n and \" in sscanf.
2608
26092006-08-07 Masatake YAMATO <jet@gyve.org>
2610
2611 * etags.c (readline): Expect sscanf returns 2, not 1.
2612
26132006-08-07 Masatake YAMATO <jet@gyve.org>
2614
2615 * etags.c (TEX_mode): Check getc returns EOF.
2616 File ended without newline causes infinite loop.
2617
26182006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
2619
2620 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
2621
26222006-07-30 Francesco Potortì <pot@gnu.org>
2623
2624 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2625 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2626 (Objc_suffixes): Suggest using --lang=c for full help.
2627 (C_entries): Initialize savetoken to 0 to shut up the compiler.
2628
26292006-07-20 Andreas Schwab <schwab@suse.de>
2630
2631 * fakemail.c (fatal): Drop second parameter and treat first
2632 parameter as a plain string. Callers changed.
2633
26342006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2635
2636 * ebrowse.c (usage, version): Mark as NO_RETURN.
2637
2638 * emacsclient.c (print_help_and_exit): Likewise.
2639
26402006-07-10 Francesco Potortì <pot@gnu.org>
2641
2642 * etags.c (absolute_filename): Free unused space (cosmetic change).
2643 (in_word_set): In C, also tag #undef symbols.
2644
26452006-06-09 Eli Zaretskii <eliz@gnu.org>
2646
2647 * yow.c: Remove file.
2648
2649 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2650
2651 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2652 yow${EXEEXT}: Remove target.
2653
26542006-06-04 Masatake YAMATO <jet@gyve.org>
2655
2656 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
2657 doesn't exist, is not seekable, not is failed in ftall.
2658
26592006-06-03 Eli Zaretskii <eliz@gnu.org>
2660
2661 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2662 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2663 ($(BLD)/test-distrib.exe): New targets.
2664 (sorted-doc, digest-doc, test-distrib): New targets.
2665 (install): Install sorted-doc.exe and digest-doc.exe.
2666 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2667
2668 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2669 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2670 terminal device.
2671
2672 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2673 [WINDOWSNT] <top level>: Don't redeclare malloc.
2674 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2675 terminal device.
2676 (main): Initialize bp, to avoid compiler warnings.
2677
2678 * makefile.w32-in: Delete traces of leditcfns.c.
2679
2680 * leditcfns.c: Remove file.
2681
26822006-05-23 Francesco Potortì <pot@gnu.org>
2683
2684 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2685 Add comments explaining why the "kpop" service is never used.
2686
26872006-05-13 Eli Zaretskii <eliz@gnu.org>
2688
2689 * makefile.w32-in (lisp1): Add fringe.elc.
2690
26912006-05-02 Francesco Potortì <pot@gnu.org>
2692
2693 * etags.c (Perl_functions): Free space allocated for var package.
2694 (Erlang_functions): Possibly free space allocated for var last.
2695 (Prolog_functions): Possibly free space allocated for var last.
2696
26972006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2698
2699 * sorted-doc.c (main): Initialize docs to NULL.
2700
2701 * yow.c (yow): Free buf.
2702
2703 * etags.c: Delete c-indentation-style local variable.
2704
27052006-04-29 Richard Stallman <rms@gnu.org>
2706
2707 * movemail.c (main): Check for negative value from `read'.
2708
2709 * fakemail.c (read_header): Give fatal error if input has no header.
2710
27112006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2712
2713 * b2m.c (main): Don't include <limits.h>.
2714 (TM_YEAR_BASE): New macro.
2715 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2716 that s/ files can override this. Use the more-conservative range
2717 1000-9999.
2718 (main): Check for asctime returning NULL.
2719 * fakemail.c: Likewise.
2720
27212006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2722
2723 * b2m.c: Include <limits.h>.
2724 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2725 (main): Check for out-of-range time stamps.
2726 * fakemail.c: Likewise.
2727
27282006-03-18 Andre Spiegel <spiegel@gnu.org>
2729
2730 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2731 execute $DIFF twice, and once with the wrong options.
2732
27332006-02-23 Claudio Fontana <claudio@gnu.org>
2734
2735 * Makefile.in (install, uninstall): Add DESTDIR variable to
2736 support staged installations.
2737
27382005-12-30 Eli Zaretskii <eliz@gnu.org>
2739
2740 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
2741 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2742 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2743 Rearrange the list to be similar to $(shortlisp) in
2744 src/Makefile.in.
2745 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2746 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2747 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2748 src/Makefile.in.
2749
27502005-12-22 Richard M. Stallman <rms@gnu.org>
2751
2752 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2753
27542005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2755
2756 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2757 which was never opened.
2758
27592005-10-20 Olli Savia <ops@iki.fi> (tiny change)
2760
2761 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2762 header files.)
2763
27642005-09-27 Francesco Potortì <pot@gnu.org>
2765
2766 * etags.c: Preliminary Forth support.
2767 (prolog_pr): Cast strlen to int before comparison.
2768 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2769 the second argument is indeed a literal string.
2770 (main): In append mode, sort the tags file after writing it.
2771
27722005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2773
2774 * etags.c (longopts, print_help, main): The -a (--append) option
2775 can be used in ctags also; for one, the Linux make file uses it.
2776
27772005-09-20 Chong Yidong <cyd@stupidchicken.com>
2778
2779 * ebrowse.c (add_sym): Compare namespace names instead of
2780 namespace objects. This prevents the parser from incorrectly
2781 treating classes whose superclass is in another namespace.
2782
27832005-09-15 Richard M. Stallman <rms@gnu.org>
2784
2785 * Makefile.in (update-game-score.o): New target.
2786 Compile and link this program separately.
2787 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2788
27892005-09-11 Jason Rumney <jasonr@gnu.org>
2790
2791 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
2792 message instead.
2793 (../src/paths.h): Remove.
2794
27952005-07-27 Juanma Barranquero <lekktu@gmail.com>
2796
2797 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2798 generated. Ignore also ctags.c and getopt.h.
2799
2800 * makefile.w32-in (clean): Delete getopt.h.
2801 (getopt.h): New rule.
2802
28032005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2804
2805 Merge gnulib getopt implementation into Emacs.
2806
2807 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2808 (GETOPT_H): New macro, from gnulib.
2809 (getopt.h): New rule, from gnulib.
2810 (GETOPTOBJS): Now autoconfigured.
2811 (GETOPTDEPS): getopt.h is now autoconfigured.
2812 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2813 (getopt.o): Depend on ${srcdir}/gettext.h.
2814 (movemail.o): Depend on $(GETOPT_H).
2815 * getopt.c, getopt1.c: Sync from gnulib.
2816 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2817 * getopt.h: Removed (now is getopt_.h).
2818
28192005-07-13 Ken Raeburn <raeburn@gnu.org>
2820
2821 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2822 (sendline): Add the \r\n to the line in a temporary buffer, and write
2823 it all at once.
2824
28252005-07-04 Lute Kamstra <lute@gnu.org>
2826
2827 Update FSF's address in GPL notices.
2828
28292005-06-13 Eli Zaretskii <eliz@gnu.org>
2830
2831 * makefile.w32-in ($(DOC)): Fix last change.
2832
28332005-06-12 Eli Zaretskii <eliz@gnu.org>
2834
2835 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2836 temacs.exe, and the preloaded *.elc files. This avoids
2837 unnecessary dumping and DOC rebuilding.
2838
28392005-06-04 Eli Zaretskii <eliz@gnu.org>
2840
2841 * ntlib.h (fileno): Don't define if already defined.
2842
28432005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2844
2845 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2846 (yow): Use EXIT_FAILURE in case of memory error.
2847
28482005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2849
2850 * make-docfile.c (DIRECTORY_SEP): New macro.
2851 (IS_DIRECTORY_SEP): Use it.
2852
28532005-03-18 Jan Djärv <jan.h.d@swipnet.se>
2854
2855 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2856
28572005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2858
2859 * make-docfile.c: Undo previous change.
2860
28612005-02-04 Andreas Schwab <schwab@suse.de>
2862
2863 * movemail.c (fatal): Accept third parameter and pass down to error.
2864 (pfatal_with_name): Pass error string as format parameter instead of
2865 as part of format string.
2866 (pfatal_and_delete): Likewise.
2867 (main): Adjust call to fatal.
2868 (xmalloc): Likewise.
2869
28702005-01-29 Richard M. Stallman <rms@gnu.org>
2871
2872 * movemail.c (popmail): Don't use Errmsg as format string.
2873
28742004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2875
2876 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
2877
28782004-12-15 Andreas Schwab <schwab@suse.de>
2879
2880 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2881 preprocessing to compile time constant.
2882
28832004-11-17 Kim F. Storm <storm@cua.dk>
2884
2885 * etags.c: Undo last change.
2886
28872004-11-09 Kim F. Storm <storm@cua.dk>
2888
2889 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2890 silence compiler.
2891
2892 * hexl.c (main): Init local var c to silence compiler.
2893
2894 * etags.c (main, consider_token, C_entries): Add misc switch
2895 default targets to silence compiler.
2896
28972004-11-09 Jan Djärv <jan.h.d@swipnet.se>
2898
2899 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2900 resulting DOC file can be used on Unix/Mac also.
2901
29022004-09-13 Francesco Potortì <pot@gnu.org>
2903
2904 * etags.c (main): When relative file names are given as argument,
2905 make them relative to the current working dir, rather than
2906 relative to the output tags file, if the latter is in /dev.
2907
29082004-09-13 Francesco Potortì <pot@gnu.org>
2909
2910 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2911 <stdlib.h> is available.
2912 (enum sym_type): New st_C_attribute value for parsing
2913 gcc's __attribute__. Deleted st_C_typespec value.
2914 (gperf, in_word_set): Use gperf 3, options changed. Added the
2915 __attribute__ keyword, removed all the st_C_typespec keywords,
2916 changed attribute for Java to (C_JAVA & !C_PLPL).
2917 (inattribute): New global bool, part of the C state machine.
2918 (cblev): Identifier renamed to bracelev throughout.
2919 (consider_token, C_entries): Numerous changes for making the
2920 parser more robust and adding support for __attribute__.
2921
29222004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2923
2924 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
2925 Support the Lua scripting language <http://www.lua.org>.
2926
29272004-09-08 Francesco Potortì <pot@gnu.org>
2928
2929 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
2930 for ease of use.
2931
29322004-07-17 Richard M. Stallman <rms@gnu.org>
2933
2934 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2935
29362004-06-01 Juanma Barranquero <lektu@terra.es>
2937
2938 * makefile.w32-in (obj): Add image.c.
2939
29402004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2941
2942 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
2943
29442004-05-08 Jason Rumney <jasonr@gnu.org>
2945
2946 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2947 command-lines.
2948
29492004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2950
2951 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2952 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2953 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2954
2955 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
2956 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2957 * test-distrib.c, update-game-score.c, yow.c: Likewise.
2958
29592004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2960
2961 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2962
29632004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2964
2965 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2966 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2967 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2968
2969 * etags.c: Likewise.
2970
29712004-05-03 Jason Rumney <jasonr@gnu.org>
2972
2973 * makefile.nt: Remove.
2974
29752004-04-26 Eli Zaretskii <eliz@gnu.org>
2976
2977 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2978 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2979 instead of a literal '/'.
2980
29812004-04-23 Juanma Barranquero <lektu@terra.es>
2982
2983 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2984
29852004-04-17 Paul Eggert <eggert@gnu.org>
2986
2987 * rcs2log (Help): Clarify wording of the usage message.
2988 Problem reported by Alan Mackenzie in
2989 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2990
29912004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * make-docfile.c (xmalloc): Fix return type.
2994 (put_filename): New fun.
2995 (scan_file): Use it.
2996
29972004-03-09 Juanma Barranquero <lektu@terra.es>
2998
2999 * grep-changelog: Changes to support ChangeLog.10+.
3000 (main): Tidy up usage string. Fix "Use of uninitialized value"
3001 warning. Set version to 0.2. Parse the directory listing to get
3002 any ChangeLog.n file, not just 1..9.
3003 (header_match_p, entry_match_p, print_log, parse_changelog):
3004 Remove Perl prototypes (their purpose is to help the parser, which
3005 isn't needed here, not declare arguments).
3006 (parse_changelog): Make --reverse faster on big batches by not
3007 modifying the entries list.
3008
30092004-03-01 Juanma Barranquero <lektu@terra.es>
3010
3011 * makefile.w32-in (obj): Add fringe.c.
3012
30132004-02-14 Paul Eggert <eggert@twinsun.com>
3014
3015 * rcs2log: Work correctly if CVSROOT specifies :fork: or
3016 :local: methods, or omits the colon between the hostname
3017 and the path. Allow :/ in repository path, since CVS does.
3018 Fix typo: "pository" should be set from $CVSROOT, not $repository.
3019 This fixes a bug reported by Wolfgang Scherer in
3020 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3021 along with some related bugs I discovered by inspecting how
3022 CVS itself parses $CVSROOT.
3023
30242004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
3025
3026 * emacsclient.c (decode_options): Fix handling of alternate editor.
3027
30282004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacsclient.c (main): Don't use the hostname in the socket name.
3031 Look for relative socket names in the /tmp dir rather than in cwd.
3032
30332004-01-24 Richard M. Stallman <rms@gnu.org>
3034
3035 * emacsclient.c (main): Restore errno from saved_errno,
3036 so the error message comes from socket_status.
3037
30382004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * emacsclient.c (main): Stop if socket name too long.
3041 Only try su-fallback if the socket name was not explicit.
3042 Check socket name length in su-fallback case as well.
3043
30442004-01-08 Andreas Schwab <schwab@suse.de>
3045
3046 * emacsclient.c (main): Save errno from socket_status.
3047
30482004-01-04 Andreas Schwab <schwab@suse.de>
3049
3050 * emacsclient.c (main): Fix socket name when using another user.
3051
30522003-12-27 Paul Eggert <eggert@twinsun.com>
3053
3054 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3055 a tag, and if the user has not specified an rlog option.
3056 Adapted from a suggestion by Martin Stjernholm in
3057 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3058 (Copyright): Update to 2003.
3059
30602003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
3061
3062 * make-docfile.c (main): For return code, no longer special-case VMS.
3063 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3064
30652003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
3066
3067 * emacsclient.c (quote_file_name): Print the result instead of
3068 returning it. Fix the return type accordingly.
3069 (main): With --eval, if no file name, read from stdin.
3070 Quote file names.
3071
30722003-09-10 Richard M. Stallman <rms@gnu.org>
3073
3074 * emacsclient.c (main): Use socket_name.
3075
30762003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
3077
3078 * emacsclient.c (socket_name): New variable.
3079 (longopts, decode_options, print_help_and_exit):
3080 Handle --socket-name argument.
3081
30822003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
3083
3084 * etags.c (consider_token): Check C++ `operator' only when the
3085 token len is long enough.
3086
30872003-08-20 Dave Love <fx@gnu.org>
3088
3089 * Makefile.in: Remove obsolete references to alloca.
3090
30912003-07-29 Ken Brush <ken@wirex.com>
3092
3093 * emacsclient.c (main)
3094 * etags.c (suggest_asking_for_help)
3095 * movemail.c (main): Fix having macros in a printf statement.
3096
30972003-05-31 Juanma Barranquero <lektu@terra.es>
3098
3099 * makefile.w32-in (lisp): Fix references to byte-run.el,
3100 float-sup.el and map-ynp.el, which are now in emacs-lisp.
3101
31022003-05-22 Dave Love <fx@gnu.org>
3103
3104 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3105 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3106
31072003-05-20 Dave Love <fx@gnu.org>
3108
3109 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3110
3111 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3112
31132003-04-27 Oliver Scholz <alkibiades@gmx.de>
3114
3115 * update-game-score.c (read_scores): Fix corruption of scores on read.
3116
31172003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3118
3119 * emacsclient.c (main): Use new safe location for socket.
3120
31212003-03-12 Tom Tromey <tromey@redhat.com>
3122
3123 * emacsclient.c (print_help_and_exit): Print to stdout.
3124 Exit successfully. Added some blank lines for readability.
3125 (decode_options): Don't call print_help_and_exit in default case.
3126 Print version information to stdout.
3127 (main): Don't call print_help_and_exit.
3128
31292003-02-15 Richard M. Stallman <rms@gnu.org>
3130
3131 * cvtmail.c: Cast result of malloc and realloc.
3132 Don't include stdlib.h, because config.h does.
3133 (malloc, realloc): Declarations deleted.
3134
3135 * yow.c (yow): Cast result of malloc and realloc.
3136 (malloc, realloc): Declarations deleted.
3137
31382003-02-11 Juanma Barranquero <lektu@terra.es>
3139
3140 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3141
31422003-02-08 Andreas Schwab <schwab@suse.de>
3143
3144 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3145 instead of the substitution.
3146
31472003-02-04 Richard M. Stallman <rms@gnu.org>
3148
3149 * update-game-score.c (push_score, read_scores): Cast values
3150 of malloc and realloc.
3151 (main, lock_file): Avoid assignment inside if.
3152
31532003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
3154
3155 * Makefile.in: Use @EXEEXT@ for Cygwin.
3156
31572003-01-21 Dave Love <fx@gnu.org>
3158
3159 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3160 column-0 `('.
3161
3162 * yow.c: Don't include string.h.
3163
31642003-01-20 Richard M. Stallman <rms@gnu.org>
3165
3166 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3167 New targets.
3168
31692003-01-06 Kim F. Storm <storm@cua.dk>
3170
3171 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
3172 All uses changed.
3173
31742002-12-18 Andrew Innes <andrewi@gnu.org>
3175
3176 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3177 because GNU make doesn't append when using >> redirection.
3178
31792002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3180
3181 * b2m.pl: Make sure every message ends with a blank line, because
3182 some mbox parsers require a blank line before "From " lines.
3183
31842002-12-08 Richard M. Stallman <rms@gnu.org>
3185
3186 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3187 (_): Test only HAVE_LIBINTL_H to decide what to do.
3188
31892002-12-05 Richard M. Stallman <rms@gnu.org>
3190
3191 * getopt.c: Comment out include of libintl.h or gettext.h.
3192
31932002-12-04 Richard M. Stallman <rms@gnu.org>
3194
3195 * Update getopt from gnulib version; changes described below.
3196
3197 * getopt1.c: Conditionally find getopt.h.
3198 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3199
3200 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3201 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
3202 (wchar.h): Include, maybe.
3203 (attribute_hidden): Define if not defined.
3204 (__getopt_initialized): Use attribute_hidden.
3205 (__libc_argc, __libc_argv): Rename from original_argc, etc.
3206 (__getopt_nonoption_flags, nonoption_flags_max_len)
3207 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3208 (SWAP_FLAGS): New definitions.
3209 (exchange): Test USE_NONOPTION_FLAGS.
3210 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3211 (_getopt_internal): Error if argc < 1. New local var print_errors.
3212 Improve test for ambiguous long option.
3213 Add LIBIO support for error message output.
3214 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3215
3216 * getopt.h: Maybe include ctype.h.
3217 Treat __cplusplus like __STDC__.
3218 (decls): Use __ in arg names.
3219
32202002-12-02 Stephen Eglen <stephen@gnu.org>
3221
3222 * emacsclient.c (main): Tell user how to start server within Emacs
3223 if socket could not be found.
3224
32252002-12-02 Richard M. Stallman <rms@gnu.org>
3226
3227 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3228
32292002-11-19 Ben Key <bkey1@tampabay.rr.com>
3230
3231 * makefile.w32-in: Fixed a bug that caused the documentation for
3232 the built in function play-sound-internal not to be included in
3233 /etc/DOC.
3234
32352002-11-18 Dave Love <fx@gnu.org>
3236
3237 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3238 fcntl.h, stdarg.h conditionally.
3239 (_GNU_SOURCE, __attribute__): Don't define.
3240 (optarg, optind, opterr): Declare.
3241 (lose, lose_syserr): Use NO_RETURN.
3242 (get_user_id): Use P_.
3243
32442002-11-17 Richard M. Stallman <rms@gnu.org>
3245
3246 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3247
32482002-11-14 Dave Love <fx@gnu.org>
3249
3250 * movemail.c (pop_retr): Declare comment.
3251
3252 * make-docfile.c (read_c_string_or_comment): Declare msgno.
3253
3254 * Makefile.in (YACC): Delete.
3255
32562002-10-19 Andreas Schwab <schwab@suse.de>
3257
3258 * Makefile.in (${archlibdir}): Always create $(gamedir).
3259 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3260
32612002-10-04 Juanma Barranquero <lektu@terra.es>
3262
3263 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3264
32652002-09-30 Markus Rost <rost@math.ohio-state.edu>
3266
3267 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3268 completely.
3269
32702002-09-27 Stefan Monnier <monnier@cs.yale.edu>
3271
3272 * emacsclient.c: Remove SYSV support.
3273 (eval, display): New vars.
3274 (longopts): Add --eval and --display.
3275 (decode_options): Add -e and -d processing.
3276 (print_help_and_exit): Update the usage string.
3277 (main): Add support for --eval and --display.
3278 (main): Always use /tmp and non-qualified hostname.
3279
32802002-09-25 Stefan Monnier <monnier@cs.yale.edu>
3281
3282 * emacsserver.c: Remove.
3283
32842002-09-17 Stefan Monnier <monnier@cs.yale.edu>
3285
3286 * emacsclient.c (quote_file_name): Quote \n.
3287 (main): Print a final \n when needed.
3288
32892002-09-03 Francesco Potortì <pot@gnu.org>
3290
3291 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3292 string that cannot be freed.
3293
32942002-08-30 Francesco Potortì <pot@gnu.org>
3295
3296 * etags.c (consider_token, C_entries): Switch to C++ parsing when
3297 auto-detection is enabled and the `::' qualifier is met.
3298 (consider_token, C_entries): Several bugs corrected that tagged
3299 some declarations even though --declarations was not used.
3300 (plainc): New macro.
3301 (C_entries): Use it.
3302 (C_entries): Several cosmetic changes.
3303 (C_entries): Invalidate the token is some cases.
3304
33052002-08-29 Francesco Potortì <pot@gnu.org>
3306
3307 * etags.c (C_entries): Correct a problem with const C++ funcs.
3308 (ignoreindent): Rename from noindentypedefs.
3309 (cjava, cplpl): They are now macros instead of local vars.
3310
33112002-08-28 Francesco Potortì <pot@gnu.org>
3312
3313 * etags.c (HTML_labels): Tag ID= also.
3314
33152002-08-27 Francesco Potortì <pot@gnu.org>
3316
3317 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3318
3319 * etags.c (HTML_labels): New language HTML.
3320 (etags_strcasecmp): Like BSD's, for compatibility.
3321 (strcaseeq): Make it into a macro.
3322
3323 * etags.c (make_tag): Never generate null length tag names.
3324 (linebuffer_init): Rename from initbuffer. All callers changed.
3325 (pattern): Structure renamed to `regexp', member regex renamed to
3326 pattern.
3327 (node_st): Member pat renamed to regex.
3328 (pattern); New member force_explicit_name, for future use.
3329 Now always set to true, cannot be reset.
3330 (add_regex, regex_tag_multiline, readline): Use it.
3331 (main): Free some global structures.
3332 (fdesc): New member `written'.
3333 (readline, process_file): Initialize it.
3334 (put_entries): Set it.
3335 (main): Use it to create entries for files without tags.
3336 (total_size_of_entries): Do not count invalid tags.
3337
33382002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3339
3340 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3341 for the function name in the usage info.
3342
33432002-07-31 Colin Walters <walters@gnu.org>
3344
3345 * update-game-score.c (P_): New macro. Use it for all prototypes.
3346 (lose): Don't use varargs.
3347 (lose_syserr): New function.
3348
3349 * update-game-score.c: Change all functions to K&R style.
3350
33512002-07-30 Andreas Schwab <schwab@suse.de>
3352
3353 * Makefile.in (localstatedir): New variable.
3354
33552002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3356
3357 * b2m.pl: Fix regexp for finding return address fields.
3358
33592002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3360
3361 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3362
33632002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3364
3365 * b2m.pl: Obey the rmail file and use the unpruned header properly.
3366
33672002-06-26 Pavel Janík <Pavel@Janik.cz>
3368
3369 * b2m.pl: New file.
3370
33712002-06-21 Francesco Potortì <pot@gnu.org>
3372
3373 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
3374 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
3375 (PHP_functions, PHP_functions, Cobol_paragraphs)
3376 (Makefile_targets, Postscript_functions, Texinfo_nodes)
3377 (prolog_pr, erlang_func, erlang_attribute)
3378 (Perl_functions, Perl_functions, Pascal_functions)
3379 (TeX_commands, get_tag): Use make_tag instead of pfnote.
3380 (get_tag): Prototype changed, all callers changed.
3381
33822002-06-20 Francesco Potortì <pot@gnu.org>
3383
3384 * etags.c: Implement implicit tag names, that is, unnamed tags
3385 whose name is automatically deduced by etags.el. The advantage is
3386 that there is no explicit tag name in most tags, so the size of
3387 the tags file is reduced, yet find-tag is able to do a match as
3388 accurate as with named tags. See the comment in make_tag for details.
3389 (make_tag): New function (was the disabled function new_pfnote).
3390 (make_C_tag): Use it.
3391
33922002-06-19 Francesco Potortì <pot@gnu.org>
3393
3394 * etags.c (add_regex): Invalid regexp modifiers are ignored.
3395 (Makefile_targets): Tag variables unless --no-globals.
3396 (LOOP_ON_INPUT_LINES): Serious bug corrected.
3397
33982002-06-13 Francesco Potortì <pot@gnu.org>
3399
3400 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
3401 (invalidate_nodes): Bug corrected.
3402 (print_help): Better help for regexps.
3403
34042002-06-13 Juanma Barranquero <lektu@terra.es>
3405
3406 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
3407 font-core.elc.
3408
34092002-06-12 Francesco Potortì <pot@gnu.org>
3410
3411 * etags.c: New multi-line regexp and new regexp syntax.
3412 (arg_type): at_icregexp label removed (obsolete).
3413 (pattern): New member multi_line for multi-line regexps.
3414 (filebuf): A global buffer containing the whole file as a string
3415 for multi-line regexp matching.
3416 (need_filebuf): Global flag raised if multi-line regexps used.
3417 (print_help): Document new regexp modifiers, remove references to
3418 obsolete option --ignore-case-regexp.
3419 (main): Do not set regexp syntax and translation table here.
3420 (main): Treat -c option as a backward compatibility hack.
3421 (main, find_entries): Init and free filebuf.
3422 (find_entries): Call regex_tag_multiline after the regular parser.
3423 (scan_separators): Check for unterminated regexp and return NULL.
3424 (analyse_regex, add_regex): Remove the ignore_case argument, which
3425 is now a modifier to the regexp. All callers changed.
3426 (add_regex): Manage the regexp modifiers.
3427 (regex_tag_multiline): New function. Reads from filebuf.
3428 (readline_internal): If necessary, copy the whole file into filebuf.
3429 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
3430
34312002-06-11 Francesco Potortì <pot@gnu.org>
3432
3433 * etags.c (add_regex): Better check for null regexps.
3434 (readline): Check for regex matching null string.
3435 (find_entries): Reorganization.
3436
34372002-06-07 Francesco Potortì <pot@gnu.org>
3438
3439 * etags.c (scan_separators): Support all character escape
3440 sequences supported by Gcc.
3441 (find_entries): Rewind unconditionally.
3442 (find_entries): Do not call language functions directly, now calls
3443 itself.
3444 (find_entries): Do general initializations here.
3445 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3446 (Ada_getit, Pascal_functions, Pascal_functions)
3447 (prolog_skip_comment): Do not do them here.
3448 (readline_internal): Increment lineno here.
3449 (readline): Conditionally undo readline_internal increment.
3450 (readline): Do not return a value.
3451
34522002-06-06 Francesco Potortì <pot@gnu.org>
3453
3454 * etags.c: New option --parse-stdin=FILE.
3455 (enum arg_type): New label at_stdin.
3456 (STDIN): New constant.
3457 (parsing_stdin): New flag.
3458 (longopts): New option --parse-stdin=NAME.
3459 (print_help): Document it.
3460 (main): Handle it.
3461 (process_file): Split into process_file and process_file_name.
3462 (process_file_name): New function.
3463
3464 * etags.c: Improvements and bug squashing in TeX handling.
3465 (TeX_commands): Skip comments.
3466 (TEX_defenv): Now contains more constructs.
3467 (TEX_cmt): Make it a static char and move it before TeX_commands.
3468 (TeX_commands): Shorten the tag to the brace after the name.
3469 (TeX_commands): Names now include the initial backslash.
3470 (TeX_commands): Names do not include numeric args #n.
3471 (TeX_commands): Correct line char number in tags.
3472 (TEX_tabent, TEX_token): Delete.
3473 (TeX_commands, TEX_decode_env): Streamlined.
3474
34752002-06-05 Francesco Potortì <pot@gnu.org>
3476
3477 * etags.c (main): Avoid a buffer overrun with sprintf.
3478
34792002-05-30 Richard M. Stallman <rms@gnu.org>
3480
3481 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3482 (LIBS_MOVE): Rename from MOVE_LIBS.
3483
34842002-05-26 Paul Eggert <eggert@twinsun.com>
3485
3486 Reinstate the following change from 2002-03-22, which was
3487 inadvertently lost on 2002-04-13.
3488
3489 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3490 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3491 the latter usage.
3492
34932002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3494
3495 * pop.c (socket_connection): Move the code to resolve the POP
3496 host right before trying to connect with it.
3497
34982002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3499
3500 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3501 platform.
3502
35032002-04-28 Colin Walters <walters@verbum.org>
3504
3505 * Makefile.in (${archlibdir}): Don't conditionalize on
3506 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3507 or not we have access to the specified game user.
3508
3509 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3510 (main): New argument -d, for specifying directory.
3511 (usage): Document.
3512 (get_user_id): Compute.
3513 (get_home_dir): Delete.
3514 (get_prefix): New function, taken from main.
3515 (main): Check whether or not we are running setuid. Move prefix
3516 computation to get_prefix. Don't call getpwent; we don't need to
3517 any more. Instead, move it to get_user_id().
3518
35192002-04-24 Pavel Janík <Pavel@Janik.cz>
3520
3521 * ebrowse.c (skip_initializer): Return void.
3522
35232002-04-23 Colin Walters <walters@verbum.org>
3524
3525 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3526 space.
3527
35282002-04-22 Francesco Potortì <pot@gnu.org>
3529
3530 * etags.c (last_node): Make it a global variable.
3531 (process_file): Print the tags from the nodes as soon as
3532 possible, and delete the nodes. This brings down the memory
3533 occupancy as etags to almost the same level as when the #line
3534 directives were not parsed.
3535 (free_fdesc): New function.
3536 (find_entries): Use it.
3537 (invalidate_nodes): In etags mode, do not just mark the nodes as
3538 invalid, do delete them.
3539
35402002-04-21 Gerd Moellmann <gerd@gnu.org>
3541
3542 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3543
35442002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3545
3546 * update-game-score.c: Move config.h before the other headers, to
3547 avoid compiler warnings.
3548
35492002-04-16 Francesco Potortì <pot@gnu.org>
3550
3551 * etags.c (find_entries): Bug fix in list management.
3552
35532002-04-15 Francesco Potortì <pot@gnu.org>
3554
3555 * etags.c (get_language_from_filename): Add one argument.
3556 (strcaseeq): New function.
3557 (get_language_from_filename): Use it to do a case insensitive
3558 comparison if called with appropriate args.
3559 (find_entries): Try with case insensitive match.
3560 (process_file): Bug fixed.
3561
35622002-04-13 Francesco Potortì <pot@gnu.org>
3563
3564 * etags.c (find_entries): Delete tags previously obtained from
3565 file xxx.c's #line directives when parsing file xxx.y. This is
3566 generally done for automatically generated files containing
3567 #line directives. This handles the case when xxx.y is tagged
3568 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3569 be discarded.
3570 (language): Add the metasource member. Initializers changed.
3571 (invalidate_nodes): New function.
3572 (readline): Discard lines after having found a #line
3573 directive pointing to an already tagged file. This handles the
3574 case when xxx.y is tagged before xxx.c, and the entries of
3575 xxx.c pointing to xxx.y should be discarded.
3576 (fdesc): New structure for keeping track of input files.
3577 (fdesc): Remove `file' member (a string) and use instead a pointer
3578 to a file description structure.
3579 (curfile, curfiledir, curtagfname, curlang, nocharno)
3580 (forced_lang): Global variables removed in favor of fdhead and
3581 curfdp, pointers to file description structures.
3582 (longopts, main, print_help): Use the CTAGS conditional to include
3583 or exclude options that work on etags or ctags only.
3584 (process_file, find_entries, pfnote, add_node, put_entries)
3585 (readline): Use fdhead and curfdp.
3586 (process_file, find_entries): Do not take an arg string, all
3587 callers changed.
3588
3589 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3590 options that are not right for either etags or ctags.
3591
3592 * etags.c (number_len, total_size_of_entries): Define them also
3593 in CTAGS mode, because gcc does not compile all refs away.
3594
35952002-04-14 Colin Walters <walters@debian.org>
3596
3597 * update-game-score.c (lock_file): If the lock file is older than
3598 an hour, delete it. Reset attempts to zero if we have to break
3599 the lock.
3600
36012002-04-14 Andreas Schwab <schwab@suse.de>
3602
3603 * update-game-score.c (read_score): Fix type of second parameter
3604 of getdelim to be of type size_t instead of int. Use 0 instead of
3605 ESUCCES.
3606
36072002-04-10 Colin Walters <walters@verbum.org>
3608
3609 * update-game-score.c (toplevel): Include stdarg.h.
3610 (MAX_DATA_LEN, MAX_SCORES): New.
3611 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3612 default to ~/.emacs.d/games.
3613 (get_user_id): Don't zero uid in the case where we can't get the
3614 username.
3615 (lose): New function.
3616 (main): Actually use `max', and default it to MAX_SCORES.
3617 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3618 function.
3619 (read_score): Handle the case of reading unamelen characters, then
3620 finishing. Use mktemp if mkstemp isn't available.
3621 (lock_file, unlock_file): Delete unused versions.
3622 (lock_file): Always sleep, even if we unlinked the lock file.
3623
3624 * Makefile.in (gamedir, gameuser): New variables.
3625 (toplevel, UTILITIES): Add update-game-score.
3626 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3627
36282002-04-07 Colin Walters <walters@verbum.org>
3629
3630 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3631 (get_user_id): Take struct passwd as an argument.
3632 (get_home_dir): New function.
3633 (main): Read in user information here. Discover home directory if
3634 necessary.
3635 (read_score): Trim newline only in `getline' case.
3636
36372002-04-05 Colin Walters <walters@debian.org>
3638
3639 * update-game-score.c (toplevel): Include pwd.h.
3640 (struct score_entry): Add username field.
3641 (push_score): Use it.
3642 (get_user_id): New function.
3643 (main): Don't malloc excessively.
3644 (main): Use username field.
3645 (read_score): Read it.
3646 (push_score): Handle it.
3647 (write_scores): Write it.
3648 (read_score): Handle arbitrary length data.
3649
36502002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3651
3652 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3653
36542002-03-29 Gerd Moellmann <gerd@gnu.org>
3655
3656 * ebrowse.c (add_declarator, skip_initializer): New functions.
3657 (declaration): Use them.
3658
36592002-03-28 Jason Rumney <jasonr@gnu.org>
3660
3661 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3662
36632002-03-27 Colin Walters <walters@debian.org>
3664
3665 * update-game-score.c: New file.
3666
36672002-03-22 Paul Eggert <eggert@twinsun.com>
3668
3669 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3670 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3671 the latter usage.
3672
36732002-03-12 Francesco Potortì <pot@gnu.org>
3674
3675 * etags.c (Python_functions): Skip spaces at beginning of lines.
3676 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3677 (TeX_commands): Name tags. Correction of old disabled code.
3678
3679 * etags.c (curfiledir, curtagfname): New global variables.
3680 (process_file): Initialize them.
3681 (readline): Canonicalize the name found in #line directive.
3682
36832002-03-06 Jason Rumney <jasonr@gnu.org>
3684
3685 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3686 compilers that don't optimize out dead code.
3687
36882002-03-05 Francesco Potortì <pot@gnu.org>
3689
3690 * etags.c: Honour #line directives.
3691 (no_line_directive): New global var; set it for old behavior.
3692 (main): Remove some #ifdef in the getopt switch.
3693 (add_node, put_entries): Code added to merge different chunks of
3694 nodes referring to the same file. Currently the tags are just
3695 appended, without any check for duplicates.
3696 (Perl_functions): Do not special case ctags.
3697 (readline): Identify #line directives and do the right thing.
3698 (nocharno, invalidcharno): New global vars.
3699 (process_file): Reset nocharno.
3700 (readline): Set nocharno.
3701 (pfnote): Read nocharno and maybe put invalidcharno in node.
3702 (total_size_of_entries, put_entries): Use invalidcharno.
3703
3704 * etags.c: Keep the whole tag table in memory, even in etags mode.
3705 (main): Call put_entries here even in CTAGS mode.
3706 (main, process_file): Check the return values of fclose and pclose.
3707 (process_file): Do not call put_entries after parsing each file.
3708 (process_file): Canonicalize file names even for ctags.
3709 (process_file): Set curfile here...
3710 (find_entries): ... not here any more.
3711 (add_node): In etags mode, build a linked list of entries (on
3712 right pointer) for each file, and link the first entry of each
3713 file on left nodes.
3714 (put_entries): Print here the name of the file.
3715 (put_entries): Print the entries starting from the first file.
3716 (number_len, total_size_of_entries): Define these only in etags
3717 mode, make the second work only on the right nodes.
3718
3719 * etags.c: Make all global variables static.
3720
37212002-02-25 Juanma Barranquero <lektu@terra.es>
3722
3723 * makefile.w32-in (lisp): Add missing backslash.
3724
37252002-02-24 Jason Rumney <jasonr@gnu.org>
3726
3727 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3728 using .elc files.
3729 (lisp): Sync with list in src/Makefile.in.
3730 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3731
37322002-02-10 Paul Eggert <eggert@twinsun.com>
3733
3734 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3735 disallows the old syntax.
3736
37372002-02-03 Paul Eggert <eggert@twinsun.com>
3738
3739 * rcs2log (Copyright): Update to 2002.
3740 (AWK, TMPDIR): Work around portability problem in broken shells that
3741 don't understand `: ${VAR=val}'.
3742 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3743 Prefer the new -k option to the traditional +M -N option.
3744
37452002-01-01 Pavel Janík <Pavel@Janik.cz>
3746
3747 * b2m.c (main): Parenthesize assignment when used as truth value
3748 to prevent gcc warnings.
3749
3750 * fakemail.c: Include <config.h>.
3751
37522001-12-29 Pavel Janík <Pavel@Janik.cz>
3753
3754 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3755 * yow.c: Include <config.h>.
3756
37572001-12-21 Francesco Potortì <pot@gnu.org>
3758
3759 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3760 (get_tag): Return a pointer to the tag that is found.
3761
3762 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
3763 (F_takeprec): Rename from takeprec. All callers changed.
3764 (F_getit): Rename from getit. All callers changed.
3765 (nocase_tail): Rename from tail. All callers changed.
3766 (Ada_getit): Rename from adagetit. All callers changed.
3767 (L_getit): Simplify by using get_tag.
3768 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3769 modified LOOKING_AT.
3770 (notinname): Remove '[' and added ')' to the recognized chars.
3771 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3772 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3773 Clarified, using strneq or notinname.
3774 (L_isdef, L_isquote): Remove.
3775 (Lisp_functions, L_getit): Clarified.
3776
3777 * etags.c (P_): Rename to __P for consistency with config.h.
3778 [HAVE_CONFIG_H]: Let config.h deal with __P.
3779 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3780 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3781 gperf code needs it.
3782 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3783 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
3784 (xmalloc, xrealloc): Use PTR instead of long *.
3785 (bool): Make it a define, not a typedef, for C++ compilers.
3786 (pattern): Members renamed to avoid name clash in some C++ compilers.
3787 (get_language_from_langname): Use const argument.
3788
37892001-12-22 Pavel Janík <Pavel@Janik.cz>
3790
3791 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3792
37932001-12-19 Pavel Janík <Pavel@Janik.cz>
3794
3795 * emacsserver.c: Conditionally include config.h.
3796
3797 * fakemail.c: Likewise.
3798
3799 * emacsclient.c: Include "config.h", not <../src/config.h>.
3800 (main): Parenthesize assignment when used as truth value to
3801 prevent gcc warnings.
3802
3803 * ebrowse.c: Include stdlib.h and string.h conditionally.
3804
38052001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3806
3807 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3808
38092001-12-18 Pavel Janík <Pavel@Janik.cz>
3810
3811 * test-distrib.c: Fix previous change.
3812
38132001-12-18 Dave Love <fx@gnu.org>
3814
3815 * test-distrib.c: Conditionally include fcntl.h.
3816
3817 * fakemail.c: Include "config.h", not <../src/config.h>.
3818 (_XOPEN_SOURCE): Define as 500.
3819
3820 * emacsserver.c: Include "config.h", not <../src/config.h>.
3821
3822 * cvtmail.c: Include config.h, stdlib.h.
3823 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3824
3825 * yow.c: Conditionally include various headers. Use "epaths.h",
3826 not <../src/epaths.h>.
3827 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3828
38292001-12-12 Francesco Potortì <pot@gnu.org>
3830
3831 * etags.c (PHP_functions): New function for parsing PHP.
3832 (LOOKING_AT): New macro.
3833 (Perl_functions, Python_functions, PHP_functions)
3834 (Scheme_functions, Texinfo_nodes): Use it.
3835 (Perl_functions): Use strneq.
3836 (prolog_pred): Rename to prolog_pr.
3837 (prolog_pr): Recognize Prolog rules in addition to predicates.
3838 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
3839 unmodified compile, as Cygwin's regex.h is incompatible with us.
3840 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3841
38422001-12-11 Richard M. Stallman <rms@gnu.org>
3843
3844 * Makefile.in (clean): Don't delete ../etc/DOC*.
3845
38462001-12-11 Pavel Janík <Pavel@Janik.cz>
3847
3848 * COPYING: Moved back.
3849
38502001-11-30 Andrew Innes <andrewi@gnu.org>
3851
3852 * makefile.w32-in (FACE_SUPPORT):
3853 (MOUSE_SUPPORT):
3854 (FLOAT_SUPPORT):
3855 (WINNT_SUPPORT):
3856 (lisp): Reference .el files instead of .elc files, to simplify
3857 bootstrapping.
3858 ($(DOC)): Change dependency to just `make-docfile'.
3859
38602001-11-29 Pavel Janík <Pavel@Janik.cz>
3861
3862 * COPYING: Removed.
3863
38642001-11-28 Paul Eggert <eggert@twinsun.com>
3865
3866 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3867
3868 The following changes are derived from suggestions by Bob Chapman
3869 <rechapman@compuserve.com>.
3870
3871 * rcs2log (printlogline): Also allow tab and newline to separate
3872 '(function):' from the rest of a comment.
3873 (reformat the sorted log entries): Require date and author to
3874 match the clumpname.
3875
38762001-11-16 Gerd Moellmann <gerd@gnu.org>
3877
3878 * ebrowse.c (matching_regexp): Escape '\\'.
3879
38802001-11-15 Pavel Janík <Pavel@Janik.cz>
3881
3882 * Makefile.in: Add support for --program-prefix, --program-suffix
3883 and --program-transform-name options.
3884
38852001-11-03 Richard M. Stallman <rms@gnu.org>
3886
3887 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3888
3889 * movemail.c (popmail): Always pass two args to `error'.
3890
38912001-10-24 Ken Raeburn <raeburn@gnu.org>
3892
3893 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3894 -lhesiod and maybe -lresolv.
3895 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3896 support if it's available.
3897
38982001-10-21 Miles Bader <miles@gnu.org>
3899
3900 * make-docfile.c (struct rcsoc_state): New type.
3901 (read_c_string_or_comment): Add SAW_USAGE
3902 parameter, and implement scanning for a `usage:' keyword.
3903 Use a variable of type `rcsoc_state' to hold most of our state.
3904 (put_char): Add STATE parameter, and remove all other parameters
3905 except CH. Use STATE to get access to all needed state.
3906 (scan_keyword_or_put_char): New function.
3907 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3908 Don't output a usage-string if there was one in the doc-string.
3909
39102001-10-20 Gerd Moellmann <gerd@gnu.org>
3911
3912 * (Version 21.1 released.)
3913
39142001-10-19 Pavel Janík <Pavel@Janik.cz>
3915
3916 * b2m.c: Properly spell the name of Emacs.
3917
39182001-10-17 Miles Bader <miles@gnu.org>
3919
3920 * make-docfile.c (put_char): New function.
3921 (read_c_string_or_comment): Strip trailing spaces and newlines.
3922
39232001-10-16 Miles Bader <miles@gnu.org>
3924
3925 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3926 comments [with `doc:' keyword prefix].
3927
39282001-10-15 Gerd Moellmann <gerd@gnu.org>
3929
3930 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3931 in a C doc comment.
3932
39332001-10-13 Gerd Moellmann <gerd@gnu.org>
3934
3935 * make-docfile.c (read_c_string_or_comment): Rename from
3936 read_c_string. Add parameter COMMENT. Read C-style comments.
3937 (scan_c_file): Handle doc strings in C comments.
3938
39392001-10-12 Andrew Innes <andrewi@gnu.org>
3940
3941 * makefile.nt (ALL): Do not include fakemail.
3942
3943 * makefile.w32-in (install): Do not copy fakemail.
3944
39452001-10-10 Jason Rumney <jasonr@gnu.org>
3946
3947 * makefile.w32-in (ALL): Do not include fakemail.
3948
3949 * makefile.nt (install): Ditto.
3950
39512001-10-09 Gerd Moellmann <gerd@gnu.org>
3952
3953 * emacsserver.c (main): Cast geteuid in sprintf to int.
3954
3955 * emacsclient.c (main): Cast isdigit argument to unsigned char.
3956
39572001-10-07 Pavel Janík <Pavel@Janik.cz>
3958
3959 * profile.c: Include config.h, not ../src/config.h.
3960 Include systime.h, not ../src/systime.h.
3961
39622001-10-05 Gerd Moellmann <gerd@gnu.org>
3963
3964 * Branch for 21.1.
3965
39662001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3967
3968 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3969 ALIASEE to help work with namespace aliases.
3970 (struct sym): Remove struct member NAMESP_ALIASES.
3971 (namespace_alias_table): New variable.
3972 (make_namespace): Add parameter CONTEXT.
3973 (check_namespace): New function.
3974 (find_namespace): Add parameter CONTEXT.
3975 (check_namespace_alias): New function.
3976 (register_namespace_alias): Change type of parameter OLD_NAME.
3977 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
3978 (check_namespace): New function.
3979 (enter_namespace): Call find_namespace with CONTEXT parameter.
3980 (match_qualified_namespace_alias): New function.
3981 (parse_qualified_ident_or_type): Fix typo in comment.
3982 While parsing qualified ident or type update namespace context and
3983 restore it on exit.
3984 (parse_qualified_param_ident_or_type): Fix typo in comment.
3985 (globals): Change handling of namespace aliases.
3986 (version): Add year 2001.
3987
39882001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3989
3990 * etags.c (analyse_regex): If regex_arg is NULL, return
3991 immediately after a call to free_patterns.
3992
39932001-09-05 Paul Eggert <eggert@twinsun.com>
3994
3995 * rcs2log (Help, mainline code): Add new option -L FILE.
3996 (Copyright): Update year.
3997 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3998 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
3999 C locale.
4000 (mainline code): Handle nonstandard -u option differently, by
4001 transforming it to standard form. Check for "Working file: ", not
4002 "Working file:". Allow file names with spaces.
4003 (SOH, rlogfile): New shell vars.
4004 (rlogout): Remove. Its old functionality is mostly migrated to
4005 rlogfile.
4006
4007 Append ';;' to the last arm of every case statement, for
4008 portability to ancient broken BSD shells.
4009
4010 (logins): Fix bug; was not being computed at all, lowering performance.
4011 (pository): New var. This fixes some bugs where repositories are
4012 remote, or have trailing slashes.
4013 (authors): $llogout is never an empty shell var, so don't worry
4014 about that possibility.
4015 (printlogline, mainline code): Fix bug with SOH's being put into
4016 the output.
4017
40182001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4019
4020 * ebrowse.c (SEEK_END): #define if not defined by system headers.
4021 Suggested by Dave Love <d.love@dl.ac.uk>.
4022
40232001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4024
4025 * makefile.nt (lisp): Synchronize with src/Makefile.in.
4026 * makefile.w32-in (lisp): Ditto.
4027
40282001-07-25 Juanma Barranquero <lektu@terra.es>
4029
4030 * grep-changelog (parse_changelog): Remove unused local variable.
4031
4032 * grep-changelog (main): Add new option --reverse.
4033 (print_log): Use it.
4034 (parse_changelog): Use it.
4035
40362001-07-20 Gerd Moellmann <gerd@gnu.org>
4037
4038 * grep-changelog: Remove RCS Id keyword.
4039
40402001-07-20 Juanma Barranquero <lektu@terra.es>
4041
4042 * grep-changelog (parse_changelog): Add tests for defined values
4043 to quiet warning from Perl 5.005 or above.
4044 (entry_match_p, header_match_p): Fix handling of null or empty
4045 argument to prevent duplicate headers.
4046
4047 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
4048
40492001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
4050
4051 * emacsclient.c (print_help_and_exit): Fix help message for
4052 +LINE:COLUMN option.
4053
40542000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4055
4056 * emacsclient.c (main): Add support for +LINE:COLUMN command line
4057 argument.
4058
40592001-07-16 Gerd Moellmann <gerd@gnu.org>
4060
4061 * ebrowse.c (main): Check that the output file exists and
4062 is non-empty if invoked with `--append'.
4063
40642001-05-14 Francesco Potortì <pot@gnu.org>
4065
4066 * etags.c (add_regex): Reset the whole newly allocated pattern
4067 buffer instead of the individual members. It's safer and works
4068 with XEmacs.
4069
4070 * etags.1: Markups corrected.
4071
40722001-05-08 Gerd Moellmann <gerd@gnu.org>
4073
4074 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
4075
40762001-05-03 Gerd Moellmann <gerd@gnu.org>
4077
4078 * ebrowse.c (globals): Fix handling of namespace aliases.
4079
40802001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
4081
4082 * etags.c (print_help): Enclose the regexp in the help text
4083 example in quotes.
4084
40852001-04-05 Dave Love <fx@gnu.org>
4086
4087 * emacsclient.c (fail): Don't return a value.
4088 (main): Cast uid values for sprintf.
4089
40902001-04-03 Gerd Moellmann <gerd@gnu.org>
4091
4092 * emacsclient.c (fail, main): Don't use implicit int return type.
4093
4094 * b2m.c (main): Always return a value.
4095
40962001-03-02 Gerd Moellmann <gerd@gnu.org>
4097
4098 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4099 freshly allocated object in *LAST_ID.
4100 (read_line): Accept \r\n line endings.
4101
41022001-02-24 Andrew Innes <andrewi@gnu.org>
4103
4104 * makefile.w32-in: Fix copyright notice.
4105
41062001-02-23 Francesco Potortì <pot@gnu.org>
4107
4108 * etags.c (enum sym_type): New label st_C_template.
4109 (gperf input): Use it for switching to C++ from C.
4110 (consider_token): Do it.
4111 (C_entries): Initialize typdefcblev to quiet compilers.
4112 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
4113
41142001-02-22 Andrew Innes <andrewi@gnu.org>
4115
4116 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4117 VMS header files.
4118 ($(BLD)\profile.obj): Ditto.
4119
4120 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4121 VMS header files.
4122 ($(BLD)/profile.$(O)): Ditto.
4123
41242001-02-05 Andrew Innes <andrewi@gnu.org>
4125
4126 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4127 invocation of make-docfile, to work with Windows 2000.
4128
41292001-01-31 Dave Love <fx@gnu.org>
4130
4131 * etags.c (in_word_set): Use `static' in definition (for pcc).
4132
41332001-01-31 Francesco Potortì <pot@gnu.org>
4134
4135 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
4136 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4137 (C_entries): Tag token renamed to still_in_token because sunos4
4138 pcc wants to expand it as the token() macro even though it has no
4139 arguments.
4140
41412001-01-30 Andrew Innes <andrewi@gnu.org>
4142
4143 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4144 bug in the Mingw32 assert.h header file.
4145
41462001-01-30 Francesco Potortì <pot@gnu.org>
4147
4148 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4149 #define it for the sake of XEmacs.
4150 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4151 HAVE_CONFIG_H. This change only affects a standalone etags.
4152 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4153 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
4154 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
4155 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
4156 WINDOWSNT, as this is the correct way to use it.
4157
41582001-01-28 Francesco Potortì <pot@gnu.org>
4159
4160 * etags.c: Be capable to parse nested struct-like structures.
4161 (structdef, structtag): Struct state machine revisited.
4162 (struct tok): Revisited.
4163 (cstack, nestlev, instruct): New struct and macros.
4164 (pushclass_above, popclass_above, write_classname): New functions
4165 for dealing with nested class names.
4166 (consider_token, make_C_tag, C_entries): Many changes for dealing
4167 with arbitrarily nested structures.
4168 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4169 (C_entries): Consider templates in C++.
4170 (sym_type): New constant st_C_class for detecting "class" also in
4171 C mode.
4172 (C_AUTO): New macro for automatic detection of C++.
4173 (consider_token): Automatic set C++ mode.
4174 (C_entries): New security check for yacc.
4175 (print_language_names, print_help): Mention the autodetect
4176 feature, do not show help for the -C option, now mostly useless.
4177 (C_entries): Tag C++ forward declarations if --declarations.
4178 (C_entries): Don't be fooled by things like XDEFUN.
4179 (consider_token): Discard asm pseudo function.
4180
41812001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
4182
4183 * etags.c: Add a coding: tag.
4184
41852001-01-26 Gerd Moellmann <gerd@gnu.org>
4186
4187 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
4188 New variables.
4189 (matching_regexp): Use them instead of static variables in
4190 function scope.
4191
41922001-01-25 Francesco Potortì <pot@gnu.org>
4193
4194 * etags.c (struct tok): Rename from struct token.
4195 (token): Rename from tok.
4196 (structtype): Make it a local variable.
4197 [DEBUG]: Use assert.
4198 (xrnew): Change the synopsis.
4199 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4200 (grow_linebuffer): Don't call xrnew when not needed.
4201 (token): Buffer renamed to line.
4202 (C_entries): Three calls to inibuffer moved here from main.
4203 (C_entries): Remove all references to var methodlen, delete it.
4204 (linebuffer_setlen): Was grow_buffer, now also sets len.
4205 (consider_token, C_entries, Pascal_functions): Use it.
4206 (C_entries): Preventing problems relative to extern "C".
4207 (C_entries): Can tag more than one variable or func separated by
4208 comma when --declarations is used.
4209 (C_entries): More accurate tagging of members and declarations.
4210 (yacc_rules): Was global, made local to C_entries.
4211 (next_token_is_func): Remove.
4212 (fvdef): New constants fdefunkey, fdefunname.
4213 (consider_token, C_entries): Use them.
4214 (C_entries): Build proper lisp names for Emacs DEFUNs.
4215
42162001-01-22 Gerd Moellmann <gerd@gnu.org>
4217
4218 * ebrowse.c (xfree): New function.
4219 (member, declaration, globals): Use xmalloc instead of alloca.
4220
42212001-01-15 Francesco Potortì <pot@gnu.org>
4222
4223 * etags.c (print_language_names): Print filenames in addition to
4224 suffixes.
4225
42262001-01-14 Francesco Potortì <pot@gnu.org>
4227
4228 * etags.c (get_language_from_langname): Rename from
4229 get_language_from_name.
4230 (get_language_from_filename): Rename from get_language_from_suffix.
4231 Now first looks for the complete file name.
4232 (language): New member char **filenames.
4233 (Makefile_filenames): List of possible filenames for makefiles.
4234 (lang_names): Add a NULL member for every entry, added an entry
4235 for makefiles.
4236 (Makefile_targets): New function.
4237 (Texinfo_nodes): Rename from Texinfo_functions and made
4238 it conformant to the style of the rest of the code.
4239
42402001-01-13 Gerd Moellmann <gerd@gnu.org>
4241
4242 * make-docfile.c (write_c_args): Print newlines as spaces.
4243
42442001-01-06 Andrew Innes <andrewi@gnu.org>
4245
4246 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4247 of *.pdb.
4248
42492001-01-03 Paul Eggert <eggert@twinsun.com>
4250
4251 * rcs2log: Avoid security hole allowing attacker to
4252 cause user of rcs2log to overwrite arbitrary files, fixing
4253 a bug reported by Morten Welinder.
4254
4255 Don't put "exit 1" at the end of the exit trap; it's
4256 ineffective in POSIX shells.
4257
42582001-01-02 Gerd Moellmann <gerd@gnu.org>
4259
4260 * ebrowse.c (yyerror): Change to take two arguments.
4261 Add prototype. Change callers.
4262
42632001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
4264
4265 * ebrowse.c (enter_namespace, main): Cast variables to shut up
4266 compiler warnings.
4267 (yyerror): Change parameter declarations to be of type long, so
4268 that they can take pointers on 64-bit platforms.
4269
4270 * emacsclient.c (main): Remove unused local variable statbfr.
4271 (main) <homedir>: Make its declaration conditional on
4272 SERVER_HOME_DIR, to avoid compiler warnings.
4273
4274 * emacsserver.c (main) <homedir>: Make its declaration conditional
4275 on SERVER_HOME_DIR, to avoid compiler warnings.
4276
4277 * fakemail.c (readline): Cast buffer to "long *" to pacify
4278 over-zealous compilers.
4279
42802000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
4281
4282 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4283
42842000-12-15 Gerd Moellmann <gerd@gnu.org>
4285
4286 * ebrowse.c (operator_name): Cast argument of isalpha to
4287 unsigned char.
4288
4289 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4290 Use them throughout instead of ctype functions/macros.
4291 (lowcase): Cast to unsigned char.
4292 (UPCASE): New macro.
4293 (canonicalize_filename): Use UPCASE instead toupper.
4294
4295 * fakemail.c (get_keyword): Make sure that isspace and
4296 similar aren't called with a negative argument.
4297
42982000-12-13 Dave Love <fx@gnu.org>
4299
4300 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4301
43022000-12-06 Andrew Innes <andrewi@gnu.org>
4303
4304 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4305 don't know the real version, and I can't seem to get the quoting
4306 right in all circumstances.
4307
4308 * ebrowse.c (VERSION): Provide default definition, like etags.c
4309 does, because Windows build can't snarf this from version.el.
4310
43112000-11-30 Andrew Innes <andrewi@gnu.org>
4312
4313 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4314 (install): Ditto.
4315
43162000-11-23 Jason Rumney <jasonr@gnu.org>
4317
4318 * makefile.w32-in: Add targets for ebrowse.exe.
4319 (LOCAL_FLAGS): Add -DVERSION flag.
4320
43212000-09-25 Dave Love <fx@gnu.org>
4322
4323 * sorted-doc.c: Include config.h.
4324 [!HAVE_STDLIB_H]: Declare malloc.
4325
43262000-09-14 Andrew Innes <andrewi@gnu.org>
4327
4328 * makefile.w32-in: Revert to Unix line endings.
4329
43302000-09-04 Dave Love <fx@gnu.org>
4331
4332 * movemail.c (index, rindex): Prototype conditionally.
4333
43342000-09-03 Andrew Innes <andrewi@gnu.org>
4335
4336 * makefile.w32-in: Change to DOS line endings.
4337
43382000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4339
4340 * movemail.c (toplevel): Remove redundant fcntl.h.
4341 [!F_OK]: Provide default definitions only after including both
4342 fcntl.h and unistd.h.
4343
43442000-08-29 Dave Love <fx@gnu.org>
4345
4346 * movemail.c: Revert previous change.
4347
43482000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4349
4350 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4351
43522000-08-28 Dave Love <fx@gnu.org>
4353
4354 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4355 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4356
43572000-08-22 Andrew Innes <andrewi@gnu.org>
4358
4359 * ntlib.h (WIN32): Remove unnecessary definition.
4360 (sleep): Make argument unsigned long.
4361 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4362
4363 * ntlib.c (sleep): Make argument unsigned long.
4364
4365 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4366
4367 * makefile.w32-in: New file.
4368
43692000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4370
4371 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4372 letter only if it is a drive letter.
4373
43742000-07-14 Gerd Moellmann <gerd@gnu.org>
4375
4376 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
4377
4378 * etags.c (xmalloc, xrealloc): Make externally visible, for use
4379 by alloca.o.
4380
4381 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
4382
43832000-07-10 Gerd Moellmann <gerd@gnu.org>
4384
4385 * ebrowse.c (yylex): Accept string literals with newlines in them.
4386 (process_pp_line): Handle case of string literal with newline
4387 in it in replacement text, which counts as continuing the
4388 replacement text in GNU C.
4389
43902000-07-02 Gerd Moellmann <gerd@gnu.org>
4391
4392 * ebrowse.c (token_string): Add missing tokens.
4393 (parm_list): Handle case of qualified pointers.
4394
43952000-06-23 Dave Love <fx@gnu.org>
4396
4397 * ebrowse.c: Move config.h before other includes (which may use
4398 feature tests).
4399
44002000-06-14 Jim Meyering <meyering@lucent.com>
4401
4402 * grep-changelog: Fix typos in comments. Remove trailing blanks.
4403
44042000-06-11 Jason Rumney <jasonr@gnu.org>
4405
4406 * makefile.nt: Add targets for ebrowse.
4407
4408 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
4409 compare filenames.
4410
44112000-06-06 Gerd Moellmann <gerd@gnu.org>
4412
4413 * ebrowse.c (ymalloc): Rename from xmalloc.
4414 (yrealloc): Rename from xrealloc.
4415
44162000-05-21 Dave Love <fx@gnu.org>
4417
4418 * movemail.c: Include config.h, not ../src/config.h.
4419 (Errmsg): Bump length.
4420
4421 * pop.c (ERROR_MAX): Increase to 160.
4422
44232000-05-04 Gerd Moellmann <gerd@gnu.org>
4424
4425 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
4426
44272000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
4428
4429 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
4430 Define to semi-colon.
4431 (FILENAME_EQ): New macro, for comparing file names.
4432 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
4433 (process_file): Don't assume that fread always reads as many bytes
4434 as it was told to (DOS-style CR-LF text files fail this logic).
4435 (open_file): Allocate enough space for path->path plus the file
4436 name and the slash.
4437
44382000-04-19 Dave Love <fx@gnu.org>
4439
4440 * etags.c (Texinfo_functions): New function.
4441 (lang_names): Install it.
4442 (Texinfo_suffixes): New variable.
4443
44442000-04-19 Gerd Moellmann <gerd@gnu.org>
4445
4446 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4447 (declaration): Remove parameter IS_EXTERN.
4448 (class_definition): Remove unused variable.
4449
44502000-04-09 Gerd Moellmann <gerd@gnu.org>
4451
4452 * Makefile.in (INSTALLABLES): Add ebrowse.
4453 (ebrowse): New target.
4454
4455 * ebrowse.c: New file.
4456
44572000-03-29 Andreas Schwab <schwab@suse.de>
4458
4459 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4460
44612000-03-02 Gerd Moellmann <gerd@gnu.org>
4462
4463 * etags.c (lisp_suffixes): Add `LSP'.
4464
44652000-02-10 Francesco Potortì <pot@gnu.org>
4466
4467 * etags.c (iswhite): Redefine not to consider '\0' as white
4468 space, and use it throughout in place of isspace, thus preventing a
4469 potential signed char to int conversion problem.
4470 (MSDOS): #undefine before redefining.
4471
44722000-02-04 Francesco Potortì <pot@gnu.org>
4473
4474 * etags.c (many functions): Add prototypes.
4475
44762000-02-10 Dave Love <fx@gnu.org>
4477
4478 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4479 (erlang_func): Add `static' to definitions to keep pcc happy.
4480
44812000-01-31 Francesco Potortì <pot@gnu.org>
4482
4483 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4484 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4485 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4486 (getenv, getcwd): Only declare them if necessary.
4487 (EMACS_NAME): New constant macro.
4488 (print_version): Use it.
4489 (P_) [__STDC__]: Macro for defining function prototypes.
4490
44912000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
4492
4493 * etags.c [WINDOWSNT]: #include <direct.h>
4494
44952000-01-18 Martin Buchholz <martin@xemacs.org>
4496
4497 * etags.c (all functions): Made them static.
4498 (all functions): Write prototypes.
4499
45002000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4501
4502 * movemail.c (main): Improve error message if can't create lock file.
4503
45042000-01-28 Eric Hanchrow <offby1@blarg.net>
4505
4506 * emacsclient.c (socket_status): New function.
4507 (main): If $LOGNAME or $USER exist and differ from our euid, look
4508 for a socket based on the UID associated with the name.
4509
45102000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4511
4512 * emacsclient.c: Add option -a EDITOR and environment variable
4513 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4514
45151999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4516
4517 * movemail.c (popmail): Allow mailbox specifications of the
4518 form `po:username:hostname'.
4519
45201999-11-19 Francesco Potortì <pot@gnu.org>
4521
4522 * etags.c (_GNU_SOURCE): Define only if undefined.
4523 (get_scheme): Declaration deleted.
4524 (main): Error was called with an integer as second arg, instead of
4525 a char pointer.
4526 (canonicalize_filename): Bug removed.
4527
45281999-11-18 Dave Love <d.love@dl.ac.uk>
4529
4530 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4531 lossage from name clash with macro.
4532
45331999-11-13 Gerd Moellmann <gerd@gnu.org>
4534
4535 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4536
45371999-11-03 Gerd Moellmann <gerd@gnu.org>
4538
4539 * etags.c (print_help): Change email address to send bugs to.
4540
45411999-11-01 Francesco Potortì <pot@gnu.org>
4542
4543 * etags.c: Add suffix psw for PSWrap.
4544 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4545 (Postscript_functions): Add code for PSWrap.
4546 (Scheme_functions): Use local pointer and new get_tag function.
4547 (get_tag): New name for old get_scheme.
4548 (process_file): Do not free NULL when file does not exist.
4549 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4550 (C_entries): Modifications that make --members tag even inside
4551 typedefs and C nested structs (one level only).
4552 (consider_token): Correct a bug which prevented tagging of enum
4553 constants.
4554 (C_stab_entry): Add if, for, while, switch, return as
4555 st_C_ignore. This makes it simpler to work when cblev!=0.
4556
4557 * etags.c (C_entries): Tag member function declarations when
4558 --declarations is used.
4559
4560 * etags.c (C_entries, consider_token): C++ `operator' now is
4561 tagged in most cases.
4562 As before, :: is not recognized if surrounded by spaces.
4563
4564 * etags.c (relative_filename): Account for DOS file names such
4565 that is impossible to make one relative to another.
4566
4567 * etags.c (sym_type): New st_C_extern tag.
4568 (gperf input): Use it for spotting external declarations.
4569 (print_help): Document the new behavior of --declarations.
4570 (fvextern): New global variable.
4571 (consider_token, C_entries): Use it.
4572
4573 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4574 (etags_getcwd): Remove test for WINDOWSNT.
4575
4576 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4577 foo.cgz, foo.cz, etc.
4578
4579 * etags.c (declarations): New global switch.
4580 (longopts): Describe it.
4581 (print_help): Document it.
4582 (C_entries): Use it.
4583 (process_file): Don't process a file twice.
4584
4585 * etags.c (Fortran_functions): No tags for "procedure".
4586
45871999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4588
4589 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4590 non-zero, returns a pointer to where the extension begins; callers
4591 changed.
4592 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4593 were foo.c.gz.
4594
45951999-11-01 Francesco Potortì <pot@gnu.org>
4596
4597 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4598 (fvdev): New constant foperator.
4599 (consider_token): Use it to get "operator" in C++.
4600 (C_entries): Extend length of operator@ function name.
4601 (C_entries): Use foperator when necessary.
4602
4603 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4604
4605 * etags.c (compressor): New struct for compressed files.
4606 (get_compressor_from_suffix): New function.
4607 (get_language_from_suffix): Use it. Also, semantics changed.
4608 (process_file): Consider compressed files, close file.
4609 (find_entries): Use different call arg for get_language_from_suffix,
4610 don't close file.
4611
4612 * etags.c (main): Call free_tree.
4613 (find_entries): Do not free curfile.
4614 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4615 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4616 comparing.
4617 (canonicalize_filename): Shut up compiler warning.
4618 (Perl_functions): Make tag significant.
4619
46201999-11-01 Dave Love <d.love@dl.ac.uk>
4621
4622 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4623 (argument_type): New member at_icregexp.
4624 (lc_trans): New global.
4625 (main): Fill lc_trans. Process -c args.
4626 (add_regex): New arg determining whether to use translation table.
4627 (analyse_regex): New arg. Use it for add_regex.
4628
46291999-11-01 Francesco Potortì <pot@gnu.org>
4630
4631 * etags.c (init): Cosmetic change: NULL --> '\0'.
4632 (erlang_attribute): Bug corrected (uninitialized variable).
4633 (filename_is_absolute): New function replaces absolutefn macro and
4634 corrects a bug. All callers changed.
4635 (canonicalize_filename): New function.
4636 (process_file, etags_getcwd, absolute_dirname): Use it.
4637 (relative_filename, absolute_filename): Remove var shadowing.
4638 (C_entries, Pascal_functions): Add fake initializations to keep
4639 compilers quiet.
4640 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4641
4642 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4643 (language): New typedef (was struct lang_entry).
4644 (curlang): New global variable.
4645 (node): Typedef renamed from NODE.
4646 (linebuffer): New typedef (was struct linebuffer).
4647 (pattern): New typedef (was struct pattern). Some members added.
4648 Now used as element of a linked list.
4649 (patterns, num_patterns): Global variables deleted.
4650 (p_head): New global variable.
4651 (forced_lang): New global variable (replaces lang_func).
4652 (get_language_from_name, get_language_from_interpreter)
4653 (get_language_from_suffix): Semantics changed. All callers changed.
4654 (last_node): New global variable.
4655 (free_tree, add_node, put_entries, total_size_of_entries):
4656 Change name of local vars to avoid clashes with typedef node.
4657 (number_len): Rewritten for elegance.
4658 (token): New typedef replaces TOKEN.
4659 (analyse_regex, add_regex): Rewritten for new functionality.
4660 (free_patterns): New function called from main and add_regex.
4661 (initbuffer, readline_internal, readline, grow_linebuffer):
4662 Change name of local vars to avoid clashes with typedef linebuffer.
4663 (readline): Rewritten for new functionality.
4664
4665 * etags.c (Scheme_suffixes): New suffix ".ss".
4666 (print_help): --globals is now used for more than C-type languages.
4667 (Perl_functions): Tag global variables ("my" and "local").
4668
4669 * etags.c (print_help): Some messages clarified.
4670 (LOOP_ON_INPUT_LINES): New macro.
4671 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4672 (Python_functions, Cobol_paragraphs, Pascal_functions)
4673 (Lisp_functions, Postscript_functions, Scheme_functions)
4674 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4675 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4676 (Prolog_functions, Erlang_functions): Use a local variable instead
4677 of the global variable dbp.
4678 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4679 standard indentation.
4680
4681 * etags.c (Python_suffixes, lang_names, Python_functions):
4682 Python support.
4683 (skip_spaces, skip_non_spaces): Utility functions.
4684 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4685 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4686 (prolog_pred, erlanf_func, erlang_attribute): Use them.
4687 (eat_white): Delete.
4688
4689 * etags.c (CHAR, init): Keep into account non US-ASCII
4690 characters and compilers with default signed chars.
4691 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4692 constructs.
4693 (C_stab_entry): "interface" in Java behaves like "class".
4694
4695 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
4696 (main): Put interval syntax here.
4697 (add_regex): And remove it from here.
4698
4699 * etags.c (suggest_asking_for_help): Provide a
4700 meaningful help message with and without LONG_OPTIONS.
4701
4702 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
4703 <stdlib.h, string.h>: Don't test MSDOS when including them.
4704 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4705 (put_entries): Correctly use %ld instead of %d in printf.
4706
4707 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
4708 declare getcwd if HAVE_GETCWD.
4709 (consider_token): Dead break instruction removed.
4710
47111999-10-19 Paul Eggert <eggert@twinsun.com>
4712
4713 Add support for large files. Merge glibc 2.1.2.
4714
4715 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
4716 * movemail.c, pop.c:
4717 Do not include <stdlib.h>, as <config.h> does this now.
4718
4719 * b2m.c, emacsserver.c, etags.c, profile.c:
4720 Include <config.h> before any system include files.
4721
4722 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
4723 * test-distrib.c:
4724 (read, write, open, close): Do not undef.
4725
4726 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4727 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4728
4729 * getopt.h: Adopt glibc 2.1.2.
4730
47311999-10-15 Dave Love <fx@gnu.org>
4732
4733 * Makefile.in (pop.o): Depend on config.h.
4734
47351999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4736
4737 * pop.c: Use "pop3" as the POP service name on all platforms,
4738 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4739 has been the standard service name since RFC 1340 was published in
4740 July 1992, so I think it's safe to start using it by default.
4741
47421999-09-27 Dave Love <fx@gnu.org>
4743
4744 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4745
47461999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4747
4748 * make-docfile.c (scan_lisp_file): Fix previous changes;
4749 swallow CRLF like just CR or just LF.
4750
47511999-09-03 Richard Stallman <rms@gnu.org>
4752
4753 * make-docfile.c: Include config.h not ../src/config.h.
4754 (main, fopen, chdir): Add #undef.
4755 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4756 (scan_lisp_file): Handle \r like \n.
4757
47581999-08-30 Andreas Schwab <schwab@gnu.org>
4759
4760 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4761
4762 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4763 errno if it's a macro.
4764
4765 * test-distrib.c: Include <unistd.h> if available.
4766
47671999-08-29 Richard Stallman <rms@gnu.org>
4768
4769 * emacsclient.c (print_help_and_exit): Mention --version.
4770
47711999-08-25 Richard M. Stallman <rms@gnu.org>
4772
4773 * emacsclient.c (decode_options): Update version output.
4774 (print_help_and_exit): Update bug report address.
4775
47761999-08-13 Richard M. Stallman <rms@gnu.org>
4777
4778 * emacsclient.c (main): Move the dynamic allocation of
4779 system_name outside of the SERVER_HOME_DIR conditional.
4780 * emacsserver.c (main): Likewise.
4781
47821999-08-10 Gerd Moellmann <gerd@gnu.org>
4783
4784 * grep-changelog: New.
4785 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4786
47871999-07-12 Richard Stallman <rms@gnu.org>
4788
4789 * Version 20.4 released.
4790
47911999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4792
4793 * Makefile.in (clean): Remove fns*.el.
4794
47951999-06-23 Dave Love <fx@gnu.org>
4796
4797 * etags.c (erlang_attribute): Fix undefined variable usage (after
4798 Potorti).
4799
48001999-05-02 Andrew Innes <andrewi@gnu.org>
4801
4802 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4803 mapped to _chsize.
4804
48051999-04-29 Richard M. Stallman <rms@gnu.org>
4806
4807 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4808
48091999-03-30 Dave Love <fx@gnu.org>
4810
4811 * sorted-doc.c (main): Split up tables. Modify the preamble
4812 somewhat.
4813
48141999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4815
4816 * makefile.nt: Remove common multiple file compilation commands.
4817
48181999-02-26 Richard Stallman <rms@gnu.org>
4819
4820 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4821
4822 * yow.c: Refer to epaths.h.
4823
48241999-02-22 Simon Josefsson <jas@pdc.kth.se>
4825
4826 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4827
48281999-01-27 Andrew Innes <andrewi@gnu.org>
4829
4830 * makefile.nt: Do make version comparison as strings.
4831
48321999-01-25 Richard Stallman <rms@gnu.org>
4833
4834 * emacsclient.c (xmalloc): Fix previous change.
4835
48361999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4837
4838 * emacsclient.c (xmalloc): Declare to return long.
4839
48401999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4841
4842 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4843 the case of the drive letter.
4844
48451999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4846
4847 * emacsserver.c (main): Eliminate arbitrary limit on
4848 length of system_name.
4849
4850 * emacsclient.c (main): Eliminate arbitrary limit on
4851 length of system_name.
4852 (xmalloc): Define unconditionally.
4853
48541999-01-12 Darrin B. Jewell <jewell@mit.edu>
4855
4856 * etags.c (relative_filename): Stop backward search at beginning
4857 of string, since non-Unix systems can have absolute paths with no
4858 initial slash.
4859
48601998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4861
4862 * makefile.nt: Do string comparison of _NMAKE_VER.
4863
48641998-11-03 Theodore Jump <tjump@cais.com>
4865
4866 * makefile.nt: Compile multiple source files when possible.
4867
48681998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4869
4870 * Makefile.in: Replace tabs with spaces
4871 when they might confuse some Make versions.
4872
48731998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4874
4875 * emacsclient.c (main): Null-terminate system_name.
4876
4877 * emacsserver.c (main): Null-terminate system_name.
4878
48791998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4880
4881 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4882 an error message from POP, mention that it's from POP, to
4883 distinguish it from local error messages.
4884
48851998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4886
4887 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4888 order of messages downloaded from a POP server (e.g., if the
4889 server stores messages in mailboxes in reverse order).
4890
48911998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4892
4893 * Version 20.3 released.
4894
48951998-08-11 Paul Eggert <eggert@twinsun.com>
4896
4897 * rcs2log: Update copyright date and bug report address.
4898 (initialize_fullname): Prefer getent if available.
4899
49001998-07-30 Paul Eggert <eggert@twinsun.com>
4901
4902 * Makefile.in (REGEXPDEPS, regex.o):
4903 Prepend $(srcdir)/ to rule dependencies outside this dir.
4904
49051998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4906
4907 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4908
49091998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4910
4911 * Makefile.in: Properly terminate a comment.
4912
49131998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4914
4915 * movemail.c (sys_wait): Rename to wait.
4916
4917 * ntlib.h: Undefine _WINSOCKAPI_.
4918
4919 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4920
49211998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4922
4923 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4924
49251998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4926
4927 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4928 Force all file i/o to be in binary mode. Include ntlib.h.
4929
49301998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4931
4932 * make-docfile.c: Include <unistd.h> for chdir.
4933
49341998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4935
4936 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4937
49381998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4939
4940 * makefile.nt (obj): Update with new files in src.
4941 (clean): Delete patch scratch files, optimized compilation dir.
4942
49431998-04-08 Dave Love <fx@gnu.org>
4944
4945 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4946 Irix6, at least.
4947
49481998-04-06 Andreas Schwab <schwab@gnu.org>
4949
4950 Silence -Wimplicit:
4951 * movemail.c: Move cancelations up. Include <stdlib.h> if
4952 available.
4953 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4954 (parse_header): Explicitly declare return type.
4955 * emacsserver.c: Include <unistd.h> if available.
4956 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4957 return types. Add forward declarations.
4958 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4959 Don't declare geteuid.
4960 (print_help_and_exit): Change return type to void.
4961 Forward declare it.
4962 * b2m.c: Include <stdlib.h> if available.
4963 (main): Explicitly declare return type.
4964
49651998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4966
4967 * etags.c (put_entries): Use %ld.
4968
4969 * b2m.c (fatal): Declare the arg.
4970
49711998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4972
4973 * pop.c (pop_getline): Rename from getline.
4974
49751998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4976
4977 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4978 for the utilities.
4979
49801998-01-23 Dave Love <d.love@dl.ac.uk>
4981
4982 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4983 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4984 Always make named tags.
4985 (Fortran_functions): Grok BLOCK DATA.
4986
49871998-01-23 Andreas Schwab <schwab@gnu.org>
4988
4989 * movemail.c (main): Fix interwoven brace and cpp conditional
4990 nesting.
4991
49921997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4993
4994 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4995 with a '>' any lines starting with "From " read from the POP server,
4996 but leave the code in place, wrapped in #ifdef
4997 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4998 because it turns out that something is depending on it.
4999 Change suggested by Paul Eggert <eggert@twinsun.com>.
5000 Convert the character \037 (^_) at the beginning of a line into
5001 the character '^' followed by the character '_', because otherwise
5002 Emacs can't parse the resulting file as a valid BABYL file.
5003 Change suggested by Paul Eggert <eggert@twinsun.com>.
5004
50051997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5006
5007 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5008 server to contain embedded nulls.
5009
50101997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5011
5012 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5013 quotes with a '>' any lines starting with "From " read from the
5014 POP server, but leave the code in place, wrapped in #ifdef
5015 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5016 because it turns out that something is depending on it.
5017 Change suggested by Paul Eggert <eggert@twinsun.com>.
5018
5019 Convert the character \037 (^_) at the beginning of a line into
5020 the character '^' followed by the character '_', because otherwise
5021 Emacs can't parse the resulting file as a valid BABYL file.
5022 Change suggested by Paul Eggert <eggert@twinsun.com>.
5023
50241997-11-22 Richard Stallman <rms@gnu.org>
5025
5026 * b2m.c: Include getopt.h.
5027 (main): Use getopt_long to handle --version and --help.
5028
5029 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
5030
50311997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5032
5033 * pop.c (fullwrite): Get rid of an extra call to write.
5034 Problem pointed out by Chiaki Ishikawa.
5035
50361997-10-16 Dave Love <d.love@dl.ac.uk>
5037
5038 * etags.c (L_getit): Always make named tags so that Emacs
5039 completion on symbols containing `:' etc. works.
5040 (get_scheme): Likewise.
5041
50421997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5043
5044 * pop.c: Use system header files instead of declaring C-library
5045 functions explicitly.
5046
50471997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5048
5049 * Version 20.2 released.
5050
50511997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5052
5053 * Version 20.1 released.
5054
50551997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
5056
5057 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5058
5059 * ntlib.c (getpid): Delete function.
5060
50611997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5062
5063 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5064
50651997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5066
5067 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5068 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5069
50701997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5071
5072 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5073
50741997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
5075
5076 * profile.c (get_time): Cast arg to fprintf.
5077
5078 * hexl.c (main): Use %08lx instead of %08x in printf because the
5079 variable named addresses is long.
5080
50811997-08-08 Geoff Voelker <voelker@cs.washington.edu>
5082
5083 * makefile.nt (lisp): Update paths to lisp files that have moved.
5084
50851997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
5086
5087 * makefile.nt (ctags.obj): New target.
5088 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5089
5090 * ntlib.h: Add includes.
5091 Undo definitions of crt routines from config.h.
5092
50931997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5094
5095 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5096
50971997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5098
5099 * pop.c: Support auto-configuration of both Kerberos V4 and
5100 Kerberos V5 for movemail, including detection of V4 and V5 header
5101 files and libraries.
5102 Include <string.h> when STDC_HEADERS is defined, to get
5103 declarations of string functions.
5104 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
5105 V5 API rather than the old one.
5106 [KERBEROS] (socket_connection): Change a constant name from
5107 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5108 with a constant in a header file.
5109
5110 * Makefile.in: Support auto-configuration of both Kerberos V4 and
5111 Kerberos V5 for movemail, including detection of V4 and V5 header
5112 files and libraries.
5113
51141997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5115
5116 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5117
5118 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
5119
51201997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5121
5122 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5123
51241997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5125
5126 * movemail.c (rindex): Add declaration.
5127
51281997-07-01 Geoff Voelker <voelker@cs.washington.edu>
5129
5130 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5131 (movemail.exe): Depend upon and link with getopt files.
5132 (obj): Include new source files.
5133 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5134 (lisp): Include new and reorganized elisp files.
5135
51361997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5137
5138 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5139
51401997-06-25 Paul Eggert <eggert@twinsun.com>
5141
5142 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5143
51441997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
5145
5146 * b2m.c (readline): Terminate buffer properly when EOF seen.
5147 Test for valid pointer before dereferencing it.
5148
51491997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5150
5151 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5152 defined inside etags.c if HAVE_CONFIG_H is defined.
5153
51541997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5155
5156 * etags.c (logical): Type name changed to bool.
5157 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5158 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5159 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5160 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5161 (longopts): New long options without short counterpart are
5162 globals, members, no-globals, no-members. Regexp options are now
5163 defined conditionally to ETAGS_REGEXPS.
5164 (print_help): Updated.
5165
51661997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5167
5168 * etags.c (C_entries): Use "." instead of "::" for Java.
5169 (consider_token): is_func renamed to is_func_or_var.
5170 (C_entries): is_func renamed to funorvar.
5171 (C_entries): Initialize tok.named.
5172 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5173 get rid of "import", "package" and "friend".
5174 (fvdef): Rename from funcdef. Also some constants renamed.
5175 All users changed.
5176 (C_entries): Make separate tags for variables separated by comma.
5177 (globals, members): New flags.
5178 (main, C_entries): Use them.
5179 (make_C_tag, C_entries): Make tok a global variable.
5180
51811997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5182
5183 * etags.c (funcdef): New vignore constant.
5184 (consider_token, C_entries): Use it to tag global variables.
5185 (print_help): Update for global variables.
5186 (consider_token, C_entries): Set the len member of token_name.
5187 (prolog_pred): Cleanup according to GNU coding standards.
5188 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
5189 (prolog_white, erlang_white): Rename to eat_white, callers changed.
5190
51911997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5192
5193 * etags.c (CHARS, CHAR): New constant and macro.
5194 (iswhite, begtoken, intoken, endtoken): Use them.
5195 (notinname, _nin, nonam): New macro, array, string.
5196 (init): Cleanup and init _nin.
5197 (new_pfnote): New function.
5198 (make_C_tag) [traditional_tag_style]: Use it.
5199 (traditional_tag_style): Constant set to TRUE for now.
5200
52011997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5202
5203 * etags.c (C_entries, Pascal_functions): Cleanup.
5204 (TeX_functions): NULL as a function arg needs a cast.
5205 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5206
52071997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5208
5209 * etags.c (TeX_functions): Cleaned up.
5210 (tex_getit): Remove.
5211
52121997-05-13 Paul Eggert <eggert@twinsun.com>
5213
5214 * rcs2log (files): When computing arguments automatically, ignore
5215 non-files within the RCS subdirectory.
5216
52171997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5218
5219 * etags.c (C_JAVA): New #define.
5220 (Cjava_suffixes): .java is Java.
5221 (Cjava_entries): New function.
5222 (lang_names): Add Java.
5223 (sym_type): Add st_C_javastruct for Java.
5224 (C_stab_entry): Add `extends' and `implements' keywords.
5225 (consider_token, C_entries): Recognize Java structures.
5226
52271997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5228
5229 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5230 (Postscript_suffixes): .ps is PostScript.
5231 (lang_names): Add postscript.
5232 (Postscript_functions): New function.
5233 (TEX_decode_env): Close minor memory leak.
5234 (just_read_file): Correct the char number of the tag.
5235
52361997-05-11 Paul Eggert <eggert@twinsun.com>
5237
5238 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5239 Don't prepend $nl since this causes some shells to generate the
5240 empty string when IFS is $nl.
5241 (printlogline): Use SOH (octal code 1), not CR, since some
5242 PC-based shells mishandle CR.
5243 (initialize_fullname): Set NIS_PATH to the empty string before invoking
5244 nismatch, in case it's set to some nonstandard value.
5245
52461997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5247
5248 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5249 read in separate blocks.
5250
52511997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5252
5253 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5254 (struct linebuffer): New member `len' is the length of the string.
5255 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5256 Use it instead of strlen.
5257 (TEX_getit): Declare and define unconditionally as static.
5258 (TeX_functions): Use if instead of #if TeX_named_tokens.
5259 (add_regex): Set RE_INTERVALS flag for regex compilation.
5260 (substitute): Code cleanup.
5261 (readline_internal): Code cleanup, set new member `len'.
5262 (readline): Bug corrected.
5263
52641997-04-23 Geoff Voelker <voelker@cs.washington.edu>
5265
5266 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5267 (obj): Change references of nt*.c files to w32*.c files.
5268
52691997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5270
5271 * etags.c (xnew): Add support for debugging with chkmalloc.
5272 (error): Use this instead of printf whenever possible.
5273 (main): Only call xnew after having initialized progname.
5274 (substitute): Bad memory corruption error corrected.
5275
52761997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5277
5278 * etags.c (add_regex): Undo previous change.
5279 (relative_filename): Small memory leak closed.
5280 (absolute_filename): Cleaned up the code, possibly closing a bug.
5281 (absolute_dirname): Always return a newly allocated string.
5282
52831997-03-21 Paul Eggert <eggert@twinsun.com>
5284
5285 * rcs2log (files): Ignore files in RCS directory whose names are
5286 of the form ,*, or *_; they are probably RCS lock files.
5287 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5288 they are used by rcsfreeze.
5289
52901997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5291
5292 * etags.c (add_regex): Reset *putbuf before using it.
5293
52941997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5295
5296 * movemail.c (popmail): Remove some unnecessary function
5297 declarations.
5298 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5299 into pop_retr, there's no reason to pass in mbx_write, and the
5300 file argument can be declared FILE * explicitly. This fixes a
5301 compilation problem on systems with 64-bit pointers.
5302
53031997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5304
5305 * movemail.c: Delete duplicate inclusion of fcntl.h
5306 and duplicate #undefs of open, read, write, close.
5307
53081997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5309
5310 * movemail.c (main): Do not display "[POP-password]" in the usage
5311 message when movemail is compiled without POP support.
5312 (main, popmail): Add the optional "-p" argument, which causes
5313 movemail to leave mail in the inbox after copying it into the
5314 output file.
5315
5316 * Makefile.in (movemail): Link with getopt.
5317
53181997-01-20 Paul Eggert <eggert@twinsun.com>
5319
5320 * rcs2log (--help, --version): New options, per GNU coding standards.
5321 (Copyright, Help, Id): New variables, for above.
5322 (rlog): Use -q option with cvs log, to avoid useless chatter.
5323
5324 Treat logs of "Initial revision" (RCS) or "file F was initially added
5325 on branch B." (CVS) as if they said "New file.", for consistency with
5326 change log entries.
5327
53281997-01-01 Paul Eggert <eggert@twinsun.com>
5329
5330 * vcdiff (PATH): Add /usr/xpg4/bin,
5331 where XPG4 SCCS hangs out in Solaris 2.5.
5332 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5333
53341996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5335
5336 * etags.c (streq, strneq): Use == NULL rather than !.
5337
53381996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5339
5340 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
5341 (movemail): Use LIBMAIL, to link against -lmail.
5342
5343 * movemail.c: Include maillock.h (conditionally).
5344 Remove a redundant inclusion of <stdio.h>.
5345 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5346 (main): Add variable spool_name.
5347 Support the usage of maillock and mailunlock to
5348 lock and unlock mailboxes.
5349 (mail_spool_name): New function.
5350
5351 * movemail.c: Fix an uninitialized variable which could cause
5352 movemail to exit with an error status incorrectly on systems which
5353 use lock files rather than a system locking function to lock
5354 mailboxes.
5355
53561996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5357
5358 * pop.c (socket_connection): Free realhost after using it.
5359
53601996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5361
5362 * etags.c (C_entries): Test tok.valid. This handles some
5363 particular cases involving function declarations that failed.
5364
53651996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
5366
5367 * pop.c (socket_connection):
5368 gethostbyname may return a pointer to static data.
5369 krb_realmofhost can clobber it. So copy it.
5370
53711996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5372
5373 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5374 must cast it to (char *) because we have no prototypes.
5375 (make_C_tag): Macro deleted, new function.
5376 (C_entries): Calls to make_C_tag macro changed to call function.
5377
53781996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5379
5380 * etags.c (grow_linebuffer): New function.
5381 (GROW_LINEBUFFER): Macro deleted. All callers changed.
5382 (make_tag): Macro renamed to make_C_tag. All callers changed.
5383 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
5384 (Prolog_functions): prolog_skip_comment was called with wrong
5385 number of arguments.
5386 (xrealloc): fatal was called with wrong number of arguments.
5387
53881996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5389
5390 * etags.c (relative_filename): Bug corrected.
5391 (etags_getcwd): Avoid warning of unused variable.
5392 (C_entries, consider_token): Add support for enum labels.
5393
53941996-11-03 Paul Eggert <eggert@twinsun.com>
5395
5396 * rcs2log: When processing cvs log output, remove `Attic/' from
5397 repository file names.
5398
53991996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
5400
5401 * emacsserver.c: Fix 1996-09-02 change.
5402
54031996-10-12 Paul Eggert <eggert@twinsun.com>
5404
5405 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
5406 option', since CVS says 'invalid option'.
5407 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
5408 revisions, since some hosts reject 1970-01-01 when east of UTC.
5409 (date): Remove.
5410
54111996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5412
5413 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
5414
54151996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5416
5417 * etags.c (print_version): Print copyright info.
5418
5419 * etags.c (print_help): Print the bug reporting address.
5420 (main): Use return as the last instruction, instead of exit.
5421
5422 * etags.c (main): Don't open the tags file in cxref mode.
5423
54241996-09-29 Dave Love <d.love@dl.ac.uk>
5425
5426 * rcs2log (date): Make default format acceptable to CVS post v1.8
5427 as well as earlier CVSs and RCS.
5428
54291996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5430
5431 * movemail.c (main): If the lock call fails with EBUSY or
5432 EAGAIN, retry a few times.
5433
54341996-09-25 Paul Eggert <eggert@twinsun.com>
5435
5436 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
5437 whether to append -zLT.
5438
54391996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5440
5441 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5442 * emacsclient.c, movemail.c: Likewise.
5443
54441996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5445
5446 * emacsclient.c (longopts): Change nowait to no-wait.
5447 (print_help_and_exit): Fix option name; upcase metavars.
5448
54491996-09-06 Erik Naggum <erik@naggum.no>
5450
5451 * emacsserver.c (main): Declare `fromlen' as size_t.
5452
54531996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5454
5455 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5456
54571996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5458
5459 * emacsclient.c (quote_file_name): Quote with &, not \.
5460 Quote `-' only at start of file name. Terminate the value string.
5461
5462 * emacsserver.c: Include signal.h properly;
5463 delete the duplicate includes for it.
5464
5465 * emacsserver.c: On fatal signal, delete socket-file:
5466 * emacsserver.c: Include signal.h.
5467 (xmalloc, fatal, error): New functions.
5468 (delete_socket, handle_signals): New functions.
5469 (progname, socket_name): New variables.
5470 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
5471
54721996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5473
5474 * emacsclient.c (quote_file_name): New function.
5475 (main, both versions): Use quote_file_name.
5476 (decode_options): Don't return a value.
5477 (main, both versions): Use optind.
5478 Don't check for -nowait here.
5479
5480 * emacsclient.c (decode_options): New function.
5481 (main, both versions): Call decode_options.
5482 (print_help_and_exit): New function.
5483 (VERSION): New macro.
5484
5485 * Makefile.in (emacsclient): Link with getopt.
5486 Add -DVERSION so emacsclient knows its version number.
5487
54881996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5489
5490 * makefile.nt (lisp): Include dos-nt.elc.
5491
54921996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5493
5494 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5495
54961996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5497
5498 * emacsclient.c (both versions): Handle -nowait and --nowait
5499 by sending data to the server.
5500
55011996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5502
5503 * Makefile.in (INSTALL_STRIP): New variable.
5504 (${archlibdir}): Use INSTALL_STRIP.
5505
5506 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5507 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5508
5509 * pop.c: Reverse conditional in previous change.
5510
55111996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5512
5513 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5514
55151996-08-24 Paul Eggert <eggert@twinsun.com>
5516
5517 * rcs2log: Use ISO 8601 date format, with time zone appended
5518 if change-log-time-zone-rule is non-nil, instead of
5519 traditional Unix date format.
5520
5521 (datearg): When computing default from ChangeLog, handle ISO format
5522 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5523 Don't worry about hh:mm:ss since the resolution is now by day.
5524 Use empty datearg, not empty rlog_options, to decide whether to pass
5525 "$datearg" option to $rlog.
5526 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5527 (month_data): Remove `mo'; no longer needed.
5528 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
5529
5530 Match `revision' line of rlog output more accurately.
5531
5532 Add -c, -v options.
5533
55341996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5535
5536 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5537
55381996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5539
5540 * Version 19.33 released.
5541
55421996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5543
5544 * Version 19.32 released.
5545
55461996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5547
5548 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5549 computing character positions in source files.
5550
55511996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5552
5553 * makefile.nt (clean): Use OBJDIR macro.
5554
55551996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5556
5557 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5558
55591996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
5560
5561 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
5562 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5563 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5564
55651996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5566
5567 * ntlib.h: Correct return type of getwd.
5568 * ntlib.c (getwd): Correct return type.
5569
55701996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5571
5572 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5573 to infile.
5574
55751996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5576
5577 * makefile.nt: Remove all references to wakeup.
5578
55791996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5580
5581 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5582 explicit, mutable, typename.
5583
55841996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5585
5586 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5587 streams, one for sending and one for reading the reply.
5588
55891996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5590
5591 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5592 (wakeup): Target deleted.
5593 (UTILITIES): Delete wakeup and timer.
5594
5595 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5596
55971996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5598
5599 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5600 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5601
56021996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5603
5604 * etags.c (main): Copy cwd when appending slash.
5605
56061996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5607
5608 * Version 19.31 released.
5609
56101996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5611
5612 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5613 (Pascal_functions): Increase linecharno by the correct number of
5614 chars, inline the GET_NEW_LINE macro and delete its definition.
5615
56161996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5617
5618 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5619
56201996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5621
5622 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
5623 (movemail.exe, fakemail.exe): Now built under Win32.o.
5624
5625 * ntlib.c: Include ntlib.h.
5626 (nt_sleep): Rename to sleep.
5627 (getwd): Return directory.
5628 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5629 sys_ctime, sys_fopen): New functions.
5630
5631 * ntlib.h: New file.
5632
56331996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5634
5635 * pop.c (SEND, RECV): Rename from send, recv.
5636 (pop_open, pop_trash): Make the trash_started code unconditional.
5637 (socket_connection): Delete casts to void.
5638
56391996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5640
5641 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5642 Definitions copied from lisp.h.
5643
56441996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5645
5646 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5647
5648 * hexl.c [DOSNT]: Include fcntl.h.
5649 [WINDOWSNT]: Include io.h.
5650 (main) [MSDOS]: Change conditional to DOS_NT.
5651
5652 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5653 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5654 [WINDOWSNT]: Include locking.h.
5655 (main): Update usage message. Use IS_DIRECTORY_SEP.
5656 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5657 (main) [WINDOWSNT]: Invoke locking instead of flock.
5658 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5659 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5660 Include winsock.h; don't include unix inet headers.
5661 (popmail): Add password argument and pass it to pop_open.
5662 Open output file in binary mode.
5663
5664 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
5665 Macro SOCKET_ERROR undefined.
5666 Don't declare h_errno.
5667 [!WINDOWSNT]: Define macros recv and send.
5668 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5669 (pop_open) [WINDOWSNT]: Initialize trash_started.
5670 (have_winsock) [WINDOWSNT]: New variable.
5671 (socket_connection) [WINDOWSNT]: Initialize winsock.
5672 (socket_connection): Use closesocket instead of close.
5673 (getline): Use recv instead of read.
5674 (fullwrite): Use send instead of write.
5675 (pop_trash): Use closesocket instead of close.
5676 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5677 Check if being called recursively by sendline.
5678
5679 * pop.h (struct _popserver): New field trash_started.
5680
5681 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5682
56831996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5684
5685 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5686
56871996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5688
5689 * etags.c [WINDOWSNT]: Include io.h.
5690
56911996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5692
5693 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5694
56951996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5696
5697 * hexl.c [DJGPP v2]: Include io.h.
5698 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5699
5700 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5701 DJGPP v2.
5702
57031996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5704
5705 * etags.c (absolute_filename): Use absolutefn.
5706
57071996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5708
5709 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5710 letter isn't an alphabetic character.
5711 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5712 (process_file) [DOS_NT]: Convert all slashes to forward style.
5713 (absolute_filename) [DOS_NT]: Emit error message for relative
5714 paths with a drive letter.
5715 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5716 DOS/NT drive letters which try to reference the parent of the root.
5717 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5718
57191996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5720
5721 * makefile.nt: Change uses of del to $(DEL).
5722
57231996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5724
5725 * etags.c (just_read_file): Reset lineno and charno on entry.
5726
57271996-03-15 Anders Lindgren <andersl@csd.uu.se>
5728
5729 * etags.c: Prolog language totally rewritten.
5730 (Prolog_functions): Rewritten from scratch.
5731 (skip_comment, prolog_getit): Remove.
5732 (prolog_skip_comment): New function, like old skip_comment.
5733 (prolog_pred, prolog_atom, prolog_white): New functions.
5734 (erlang_func, erlang_attributes): Forward declarations added.
5735 (erlang_atom): Check if backslash ends line inside quoted atom.
5736
57371996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5738
5739 * etags.c (absolutefn): DOS_NT version corrected.
5740 (main): Append "/" to the dir name only if not already there.
5741 (print_help): Explain the absolute/relative file name issue.
5742
57431996-03-08 Anders Lindgren <andersl@csd.uu.se>
5744
5745 * etags.c: New Language Erlang added.
5746 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5747 (erlang_white): New functions.
5748 (Erlang_suffixes): New suffix list.
5749 (lang_names): Erlang entry added.
5750 (prolog_getit): Accepts headers spanning several lines.
5751 Always name tags.
5752 (Prolog_functions): Remove incorrect compensation for
5753 newline characters.
5754 (readline_internal): Zero-terminate last line.
5755
57561996-03-20 Mike Long <mike.long@analog.com>
5757
5758 * b2m.c (main): Initialize progname variable before using it.
5759 Quote `username' in From_ header.
5760
57611996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5762
5763 * ntlib.c (getpid): New function.
5764
57651996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5766
5767 * emacsclient.c (main, both definitions):
5768 Print a newline for normal termination.
5769
57701996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5771
5772 * tcp.c (main): Convert port to network byte order.
5773
57741996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5775
5776 * pop.c (pop_retrieve, getline): Avoid type clashes.
5777
57781996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5779
5780 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5781
57821996-01-15 Paul Eggert <eggert@twinsun.com>
5783
5784 * rcs2log (initialize_fullname): Add support for NIS+.
5785 (hostname): Fully qualify the default hostname with the domainname
5786 if the hostname lacks a `.'.
5787
57881996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5789
5790 * etags.c (consider_token): Fix typo in expression.
5791
57921996-01-04 Paul Eggert <eggert@twinsun.com>
5793
5794 * etags.c (substitute): Fix spelling in message.
5795
57961996-01-03 George V. Reilly <georger@microcrafts.com>
5797
5798 * makefile.nt (etags, ctags): Compile with regexp support.
5799 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5800 subdirectory exists before compiling.
5801
58021996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5803
5804 * emacsserver.c (main): Do chmod based on existing permission.
5805
58061995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5807
5808 * Makefile.in (install): Turn on read/execute permission.
5809
58101995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5811
5812 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5813 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5814
58151995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5816
5817 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
5818
58191995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
5820
5821 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5822 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5823 get_scheme, prolog_getit): Name the tag in ctags mode.
5824 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5825 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5826 (suggest_asking_for_help): New function.
5827 (main, get_language_from_name): Use suggest_asking_for_help.
5828 (main): Let get_language_from_name make language existence check.
5829 (streq, strneq): Check the arguments #if DEBUG.
5830
58311995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
5832
5833 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
5834 (gperf): Add keywords for Objective C and GNU macros.
5835 (sym_type): Add values to account for Objective C and GNU macros.
5836 (begtk): The '@' character can start a token.
5837 (objdef, methodlen, objtag): New variables for Objective C.
5838 (consider_token, C_entries): Add code for Objective C.
5839 (plain_C_suffixes): Add .m and .lm for Objective C.
5840 (Yacc_suffixes): Add .ym for Objective yacc.
5841 (GROW_LINEBUFFER): New macro.
5842 (consider_token, C_entries, Pascal_functions): Use the new macro.
5843 (consider_token): Take one more argument. Caller changed.
5844 (consider_token): Use the hashing function to spot GNU macros.
5845 (C_entries): Consider // as a comment start even in plain C for
5846 the sake of Objective C parsing.
5847
58481995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
5849
5850 * Makefile.in (ctags): Depend on etags only for simplicity;
5851 compile with regexp support enabled.
5852
58531995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5854
5855 * Version 19.30 released.
5856
58571995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5858
5859 * makefile.nt (DOC, clean): Don't use switches to del not
5860 supported by Windows 95.
5861
58621995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5863
5864 * Makefile.in (regex.o): Depend on ../src/config.h.
5865
58661995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5867
5868 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5869 (LOADLIBES): Use LIB_STANDARD.
5870
58711995-11-07 Kevin Gallo <kgallo@microsoft.com>
5872
5873 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5874 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5875 Windows 95 conditional.
5876
58771995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
5878
5879 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5880 (get_lang_from_suffix): New functions.
5881 (get_language): Function deleted.
5882 (lang_entry): Two members added to struct.
5883 (lang_names): Reflect the new layout of lang_entry.
5884 (print_language_names, main, find_entries): Use the new functions.
5885 (find_entries): Look at the first line for #! if no language.
5886 (C_entries): Invalidate the token when funcdef is reset.
5887 (Perl_functions): New function.
5888 (lang_suffixes): .pl and .pm are Perl suffixes.
5889
58901995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
5891
5892 * etags.c (lowcase): Use the standard tolower function.
5893 (substitute): Remove some wrong and some useless code related with
5894 escape '\' character in regexp replacement string.
5895 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
5896 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5897 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5898 .prolog for prolog (.pl removed).
5899 (massage_name, etags_getcwd): Use lowcase instead of tolower.
5900 (C_entries, find_entries): Add comments about memory leakage.
5901 (add_node): Dead code removed.
5902
59031995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5904
5905 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5906 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5907
59081995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5909
5910 * test-distrib.c: Add #undef for open, close, read, write.
5911
59121995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5913
5914 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5915 [! O_RDONLY]: Define it to zero.
5916 (main): Use O_RDONLY instead of explicit zero.
5917
59181995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
5919
5920 * etags.c (Pascal_functions): Close comment bug corrected.
5921 (add_node): Correctly compare node file names.
5922 (Pascal_functions): Correctly allocate and free memory for tline.
5923 (pfnote): Put the definition of fp in the innermost block.
5924 (NODE): `named' member removed.
5925 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
5926 use the `named' member, check whether `name' is NULL instead.
5927 (pfnote): `named' argument removed, all callers changed.
5928 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5929 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
5930 removed from pfnote call, some code cleanup.
5931 (relative_filename): Free temporary space allocated by concat.
5932
59331995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5934
5935 * Makefile.in (getdate.c): New target.
5936 (getdate.o): Just compile getdate.c.
5937
59381995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5939
5940 * fakemail.c (xrealloc): Change cast to match return type.
5941
59421995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5943
5944 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5945
59461995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5947
5948 * movemail.c (main): Fix previous change.
5949 Add error check for empty OUTNAME.
5950
59511995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5952
5953 * movemail.c (main): Mention lock file name in error message.
5954
59551995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5956
5957 * profile.c (gettimeofday): New function, defined if necessary.
5958
59591995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5960
5961 * Makefile.in: Renamed from Makefile.in.in.
5962 (distclean): Delete Makefile.c, not Makefile.in.
5963
59641995-07-17 Michael Shields <shields@tembel.org>
5965
5966 * Makefile.in.in (tags): Synonym for `TAGS'.
5967
59681995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5969
5970 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5971 configure has already set $(INSTALL) to the proper relative path.
5972
59731995-07-08 Paul Eggert <eggert@twinsun.com>
5974
5975 * rcs2log (datearg): Separate date from time with comma, not space,
5976 to work around CVS 1.5 bug.
5977 (CVSROOT): Don't abort when unset if repository is absolute.
5978
59791995-07-07 Paul Eggert <eggert@twinsun.com>
5980
5981 * rcs-checkin, rcs2log, vcdiff:
5982 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5983 that interpret `#! /' as a 4-byte magic number.
5984
59851995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5986
5987 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5988 mailbox with "po:mailbox", the mailbox is everything after the
5989 "po:" prefix.
5990
59911995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5992
5993 * emacsserver.c: Make all error messages start with `Error: '.
5994 (fatal_error, perror_1): New functions, use throughout.
5995
59961995-06-28 Paul Eggert <eggert@twinsun.com>
5997
5998 * rcs2log (CVSROOT, repository):
5999 Allow remote repositories a la CVS 1.4.
6000
60011995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
6002
6003 * etags.c (plain_C_entries): New function.
6004 (lowcase): New macro.
6005 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6006 (lang_suffixes): New suffix ".pc" for Pro*C files.
6007 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6008 (tail): Look for the end of the token when comparing.
6009 (takeprec): Since now tail behaves differently, use strneq.
6010
60111995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6012
6013 * movemail.c (main): Add newline in usage message.
6014
60151995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6016
6017 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6018
60191995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
6020
6021 * etags.c (find_entries): Rewind before rereading the input file.
6022
60231995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6024
6025 * Version 19.29 released.
6026
6027 * make-docfile.c (main) [MSDOS]: Do set _fmode.
6028 This undoes part of the previous change.
6029
60301995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6031
6032 * make-docfile.c (main): On MSDOS, don't change stdout
6033 to binary, and insist on an -o option.
6034
60351995-06-13 Geoff Voelker <voelker@cs.washington.edu>
6036
6037 * etags.c (process_file,absolute_filename): Handle filenames
6038 starting with a drive letter.
6039
6040 * makefile.nt (install): Copy wakeup.exe properly.
6041
60421995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
6043
6044 * make-docfile.c [MSDOS]: #undef chdir.
6045
60461995-06-04 Paul Eggert <eggert@twinsun.com>
6047
6048 * rcs2log (output_authors): Allow ':' in time zone,
6049 as per ISO 8601 and RCS 5.6.8 beta.
6050
60511995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
6052
6053 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
6054 compatibility problems.
6055
60561995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
6057
6058 * etags.c (etags_getcwd): Don't use #elif.
6059 Have just one function body.
6060
60611995-05-25 Geoff Voelker <voelker@cs.washington.edu>
6062
6063 * makefile.nt (LIBS): Use BASE_LIBS.
6064 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
6065 upon LIBS.
6066 (DOC): Use del instead of rm.
6067 (DOC) [WINDOWS95]: Use DOC.
6068 (clean): Handle MSVC aux files.
6069 (config.h,paths.h): Use $(CP) instead of cp.
6070 (config.h): Use $(CONFIG_H)
6071 (make-docfile.obj): Depend upon config.h.
6072 Clean up comments.
6073
60741995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
6075
6076 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6077 former gives the true path even in the presence of simlinks.
6078
60791995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6080
6081 * movemail.c (main): Increase lock timeout to five minutes.
6082
60831995-05-06 Geoff Voelker <voelker@cs.washington.edu>
6084
6085 * makefile.nt (obj): Use .c files.
6086
60871995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6088
6089 * make-docfile.c: Include config.h.
6090 (NO_SHORTNAMES): New definition.
6091 (xmalloc): Return long *.
6092
6093 * etags.c (C_entries): Cast result of xrealloc.
6094 (xmalloc, xrealloc): Declare them to return long *.
6095
6096 * b2m.c (xmalloc, xrealloc): Declare them long *.
6097
6098 * movemail.c (xmalloc): Declare it to return long *.
6099
61001995-04-30 Paul Eggert <eggert@twinsun.com>
6101
6102 * rcs2log (datearg): If rlog options are specified explicitly,
6103 omit the implicit '-d>DATE' option.
6104 (repository, rlog): Allow absolute paths to CVS repositories.
6105 Look only at the first line of CVS/Repository.
6106
61071995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
6108
6109 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6110 realclean.
6111
61121995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6113
6114 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6115 Alternative (empty) definitions.
6116
61171995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6118
6119 * emacsclient.c (main): Add argv[0] to an error message.
6120
61211995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
6122
6123 * emacsclient.c (main): Improve error handling.
6124 * cvtmail.c (main, skip_to_lf): Improve error handling.
6125 (sysfail): New function.
6126
6127 * b2m.c (main): Check for trailing ", " before trying to delete it.
6128
61291995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6130
6131 * Makefile.in.in (all): Build test-distrib and make-docfile.
6132
6133 * make-docfile.c (scan_c_file): At end, restore file name last char
6134 to its original value.
6135
61361995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6137
6138 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6139
61401995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6141
6142 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
6143 (alloca.o, regex.o): Use BASE_CFLAGS.
6144
61451995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6146
6147 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6148
61491995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
6150
6151 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
6152 (SOURCES, distclean): Remove obsolete references to aixcc.
6153
61541995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6155
6156 * aixcc.lex: File deleted--surely obsolete now.
6157
61581995-03-23 Paul Eggert <eggert@twinsun.com>
6159
6160 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6161 portability to mawk and nawk.
6162
61631995-03-21 Paul Eggert <eggert@twinsun.com>
6164
6165 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6166 -u "login<tab>fullname<tab>mailaddr".
6167
61681995-03-21 Paul Eggert <eggert@twinsun.com>
6169
6170 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6171 replaces the (now obsolescent) -n login fullname mailaddr option.
6172 Add -R option for recursive rlog.
6173 (AWK): New environment variable (default `awk') for awk program name.
6174 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6175 Quote authors and fullnames correctly.
6176 Don't omit path from repository root when logging CVS files.
6177
61781995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6179
6180 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6181 even if HAVE_SYSVIPC.
6182 * emacsclient.c (main): Use getcwd if not BSD.
6183
61841995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
6185
6186 * etags.c (process_file): Free (filename) after using it.
6187 (readline_internal): Do not access the char before start of line.
6188
61891995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
6190
6191 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
6192 savetok.valid. Mark token as valid when it is initialized.
6193 (make_tag): Make token only if token is valid and reset validity.
6194 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6195 (TOKEN): Add a new member: valid.
6196
61971995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
6198
6199 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6200 (main): Do not read twice the last filename in the stdin file list.
6201
62021995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
6203
6204 * etags.c (C_entries): Initialize the new members of TOKEN.
6205 (C_entries): Do not allocate a new space for each token found by
6206 consider_token. Let make_tag do that instead.
6207 (make_tag): Since now TOKEN has memory of where it is taken from,
6208 this new macro substitutes both make_tag_from_new_lb and
6209 make_tag_from_oth_lb. All callers changed.
6210 (TOKEN): Add linepos and buffer members.
6211 (main): Initialize token_str.
6212 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6213 (token_str): New global variable used by C_entries.
6214
62151995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
6216
6217 * Makefile.in.in (maintainer-clean): Rename from realclean.
6218
62191995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
6220
6221 * etags.c (pfnote): Initialize been_warned in the node.
6222 (C_entries): Remove a speed hack for the sake of clarity.
6223
62241995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
6225
6226 * etags.c (longopts, print_help, main): Use -I as abbreviation
6227 for the --ignore-indentation option.
6228 (main): Do not print an error message for unknown options.
6229
62301995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
6231
6232 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6233 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6234 (constantypedefs, update, vgrind_style, no_warnings)
6235 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6236 (permit_duplicates): Was a var, now a #define.
6237 (filename_lb): Was global, now local to main.
6238 (main): Open the tag file when in cxref mode.
6239 Use a BUFSIZ size buffer for making the shell commands.
6240 Look at the return value from the system routine.
6241 Exit when cannot open the tag file.
6242 (process_file): Open the file and pass the FILE* to find_entries.
6243 (find_entries): Now void, because does not open the file itself.
6244 (pfnote): Recovering from lack of memory does not work. Removed.
6245 Use savenstr and simplify the code.
6246 (free_tree): Only free the name space if node is named.
6247 (structtag): Now a pointer, not a fixed length array of chars.
6248 (consider_token): Don't take a token as argument. Use savenstr
6249 when saving a tag in structtag. Callers changed.
6250 (TOKEN): Structure changed. Now used only in C_entries.
6251 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6252 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
6253 (pfcnt): Delete. Users updated.
6254 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6255 (TEX_getit, prolog_getit): Use dinamic allocation for storing
6256 the tag instead of a fixed size buffer.
6257
62581995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6259
6260 * movemail.c (main): Skip past the colon in inname.
6261
62621995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6263
6264 * etags.c (pfatal): New function.
6265 (main, etags_getcwd): Use pfatal.
6266 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6267
62681995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6269
6270 * etags.c (Lang_function): Use void instead to declare the
6271 language functions, because many compilers are buggy.
6272 (etags_getcwd): Fix the previous fix on the #else branch.
6273 (readline_internal): Discard possible \r before \n here.
6274 (C_entries): Do not deal with \r here: undo previous fix.
6275
62761995-01-09 Francesco Potortì (pot@fly)
6277
6278 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6279 functions and a macro that allow the program to work on input
6280 lines of whatever length. Copied from etags.c.
6281 (fatal): Print a fatal error message and exit.
6282 (main): Use the new functions. Fixed a bug that made a \037 char
6283 appear at the end of the output.
6284
62851995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6286
6287 * etags.c (C_entries): Ignore carriage return at end of line.
6288
62891994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6290
6291 * fakemail.c (xmalloc, xrealloc): Add casts.
6292 (add_field): Handle <...> and "..." syntax.
6293 (setup_files, get_keyword): Clean up parens and line breaks.
6294 (args_size): Likewise.
6295
62961994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
6297
6298 * yow.c: Include program name in error messages.
6299
63001994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6301
6302 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6303 (xmalloc, fatal, error): New functions.
6304 (progname): New variable.
6305 (main): Set progname.
6306
63071994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6308
6309 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6310 (main): If socket/mqueue name is in home dir, add in the host name.
6311 Rename .emacs_server to .emacs-server....
6312
63131994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6314
6315 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6316
63171994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
6318
6319 * etags.c (print_help): Print --regex usage for ctags also.
6320 (main): Use -h in addition to -H as abbreviation for --help.
6321
63221994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6323
6324 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6325 is compiled if this is defined. The new functions and variables
6326 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6327 [VMS]: All VMS specific code previously contained in
6328 etags-vmslib.c is now included here, modified for dealing with
6329 language and regex options intermixed with filenames.
6330 (header_file): Global variable deleted.
6331 (Lang_Function): New typedef. All language parser functions
6332 changed to this new type.
6333 (string_numeric_p, substr, prestr): Functions deleted.
6334 (readline_internal): Does the job that readline did previously.
6335 (longopts): --language and --regex options added.
6336 (lang_names, lang_extensions, lang_func, print_language_names):
6337 New structures, variables and functions for choosing languages.
6338 (print_help): Help strings updated. Calls print_language_names.
6339 (argument_type, ARGUMENT): Typedefs for dealing with language and
6340 regex options intermixed with filenames.
6341 (main): Change the way of dealing with arguments on the command
6342 line to deal with language and regex options intermixed with
6343 filenames.
6344 (get_language, default_C_entries, Cplusplus_entries,
6345 Cstar_entries, Yacc_entries, just_read_file): New functions.
6346 (find_entries): Use the new method for choosing the language.
6347 (Pascal_functions): Allow intermixing of comment styles.
6348 (prolog_getit, skip_comment): Rewritten for speed.
6349 (readline): Rewritten to deal with regexps.
6350
63511994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6352
6353 * etags.c (<errno.h>): #include added.
6354 (etags_getcwd): Check return value from getcwd.
6355
63561994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6357
6358 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6359 (get_time): Use EMACS_SUB_TIME.
6360
63611994-10-30 Geoff Voelker <voelker@cs.washington.edu>
6362
6363 * ntlib.c: New file.
6364 * makefile.nt: New file.
6365
6366 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6367 [WINDOWSNT]: Include the NT headers.
6368 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6369
6370 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6371 [WINDOWSNT]: Include some NT headers.
6372
63731994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6374
6375 * pop.c (getline): When a search of already-read input for CRLF
6376 fails, store the fact that we've searched it and don't search it
6377 again after reading more data.
6378
6379 * pop.c (getline): When determining whether or not it's necessary
6380 to grow the input buffer, take into account the null that's stored
6381 at the end of already-read input in the buffer.
6382
63831994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
6384
6385 * etags.c (prestr, substr): Return a logical type.
6386 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
6387 (consider_token): Set funcdef to fignore when a DEFUN is met.
6388 (C_entries): Now we can use Tom Hageman patch for extern "C".
6389
63901994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6391
6392 * movemail.c: PopServer renamed to popserver throughout.
6393
63941994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6395
6396 * etags.c: Don't declare malloc, since we include config.h.
6397 * fakemail.c: Likewise.
6398
63991994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6400
6401 * movemail.c: Don't declare malloc.
6402
64031994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6404
6405 * rcs-checkin: Use test -r instead of < to check readability, to
6406 avoid syntax error.
6407
64081994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
6409
6410 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
6411 defined, and if HAVE_CONFIG_H isn't defined, define
6412 MAIL_USE_POP always (so that this file can be included in
6413 other programs besides emacs).
6414
6415 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
6416 HAVE_CONFIG_H isn't defined.
6417
6418 * pop.c (find_crlf, getline): Instead of using strstr, use a
6419 custom function for finding CRLF.
6420 (my_strstr): Function deleted.
6421
64221994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
6423
6424 * pop.c (getline): Fix a segfault because of passing a
6425 non-null-terminated string into strstr(). Fix from
6426 djm@va.pubnix.com (David J. MacKenzie).
6427
6428 * pop.c: Don't include <string.h> and <strings.h>.
6429
6430 * pop.c: Include <des.h> before <krb.h>, rather than after.
6431 They should be interchangeable, and indeed the inclusion is done in
6432 both orders in various files in the Kerberos 4 library sources,
6433 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6434 requires that <des.h> be included first, and I don't see any harm
6435 in changing the order.
6436
6437 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6438 STDC_HEADERS, if they're defined. Undef open, read, write and
6439 close after including it.
6440
64411994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6442
6443 * pop.c: Fix mismatch in conditionals.
6444
6445 * make-docfile.c (main): Don't process one input file twice.
6446 Never use exit code > 1.
6447
6448 * pop.c (open, close, read, write): Add #undefs.
6449
6450 * pop.c: Don't declare malloc, realloc, free.
6451 Include ../src/config.h.
6452 Don't include string.h or strings.h.
6453 Include des.h before krb.h.
6454 Do declare my_strstr.
6455 (getline): Really use my_strstr.
6456 Leave one empty place in server->buffer,
6457 and put a null at the end of the data in it.
6458
64591994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6460
6461 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6462 Don't call kill with pid 0. Handle EINTR when receiving messages.
6463
64641994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6465
6466 * Makefile.in.in (regex.o): Use full path to find regex.c.
6467
64681994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
6469
6470 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6471 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
6472
64731994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6474
6475 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6476 (${archlibdir}): Use mkinstalldirs instead.
6477
6478 * movemail.c: Make functions that return nothing void, not
6479 implicitly int.
6480 (main): Improve usage message.
6481 (error): Write to stderr, not stdout.
6482
6483 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6484 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6485 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6486 warnings from unused variables and implicitly declared functions.
6487
64881994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6489
6490 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6491 (distclean): Not here.
6492
6493 * Makefile.in.in (libexecdir): Rename from libdir.
6494
64951994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
6496
6497 * etags.c (C_entries): Name the #define's that are macros.
6498
64991994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6500
6501 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6502 fd_set arg is a pointer, descriptor arg comes first.
6503
65041994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
6505
6506 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6507 (C_entries): Recognize #define inside a struct.
6508 (C_entries): ANSI tells that preprocessor commands do not have to
6509 start on the first column.
6510 (print_help): Documentation corrected for -d and -D.
6511 (white, endtk): ANSI tells the vertical tab is a separator.
6512
65131994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6514
6515 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6516 (pop.o, movemail.o): New targets.
6517 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6518
6519 * pop.c, pop.h: New files.
6520
6521 * movemail.c: Improve POP code, move most of it into a separate file.
6522 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6523 (mbx_write): Check for errors and for From line.
6524 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6525 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6526 (pop_init): Functions deleted.
6527
65281994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6529
6530 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6531 Rename path to dirname.
6532
65331994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6534
6535 * Makefile.in.in (UTILITIES):
6536 Remove test-distrib, make-docfile, make-path.
6537 (DONT_INSTALL): New variable--list those files here.
6538 (clean): Delete the files in DONT_INSTALL.
6539
65401994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6541
6542 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6543 (main): Use fgets, not gets.
6544
65451994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6546
6547 * timer.c: Don't declare malloc.
6548
65491994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6550
6551 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6552 defined, use simple 32-bit versions of these macros.
6553 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6554
65551994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6556
6557 * etags.c (etags_getcwd): Use getcwd if available.
6558
65591994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6560
6561 * Version 19.27 released.
6562
65631994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6564
6565 * Version 19.26 released.
6566
65671994-08-15 Paul Eggert <eggert@twinsun.com>
6568
6569 * rcs2log: Add support for CVS.
6570 Work with `rlog's that output ISO 8601 dates.
6571
65721994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6573
6574 * rcs2log: Use <> to delimit email address.
6575
65761994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6577
6578 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6579 so we can listen for multiple requests.
6580
65811994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6582
6583 * movemail.c: Include config.h first thing.
6584
65851994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6586
6587 * emacsserver.c (main): Add casts to avoid warnings.
6588
65891994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6590
6591 * Makefile.in.in (${archlibdir}): Compare the proper dir
6592 before installing the scripts.
6593
65941994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6595
6596 * emacsclient.c (main): New local var progname saves argv[0].
6597
65981994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6599
6600 * emacsclient.c (main): Don't actually modify argv[0].
6601 Modify a copy instead.
6602
66031994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6604
6605 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6606 (tzp): Var deleted.
6607
6608 * Makefile.in.in: Add #undef alloca.
6609
66101994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6611
6612 * timer.c (xmalloc): New function.
6613
66141994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6615
6616 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6617 (alloca.o): New target.
6618
66191994-07-08 Dave Love (d.love@dl.ac.uk)
6620
6621 * etags.c (takeprec): Recognize `character*(*) function'.
6622
66231994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6624
6625 * etags.c (main): Don't barf on obsolete -t and -T switches.
6626 (main): Print an explicative message when a switch is not known.
6627
66281994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6629
6630 * hexl.c: Don't declare exit or perror.
6631
6632 * emacsserver.c (main): Don't declare geteuid.
6633 Don't declare getenv if convex.
6634
66351994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6636
6637 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6638
66391994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6640
6641 * etags.c (absolute_filename): Remove infinite loop bug when
6642 accessing files in directories whose name begins with a dot.
6643
66441994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6645
6646 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6647
66481994-06-01 Morten Welinder (terra@diku.dk)
6649
6650 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6651 location of data directory.
6652
66531994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6654
6655 * Version 19.25 released.
6656
66571994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6658
6659 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6660
66611994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6662
6663 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6664
66651994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6666
6667 * Version 19.24 released.
6668
66691994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6670
6671 * make-docfile.c (write_c_args): Put `default' in upper case.
6672
66731994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6674
6675 * etags.c (etags_getcwd): Cast result of popen.
6676 (popen): Declaration deleted.
6677
66781994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6679
6680 * etags.c [!MSDOS]: Declare popen.
6681
66821994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6683
6684 * b2m.c (main): Avoid crash if argc is 1.
6685
66861994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6687
6688 * Version 19.23 released.
6689
6690 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6691
66921994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6693
6694 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6695
66961994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6697
6698 * Makefile.in.in: Fix out of date comment.
6699
67001994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6701
6702 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6703 Move all autoconf substitutions above that point.
6704 Above that point, use Make-style comments.
6705 This goes with changes in ../configure.in.
6706
67071994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6708
6709 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6710 warning message.
6711 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6712
67131994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6714
6715 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6716
67171994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6718
6719 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6720 print advice to run it, if it has anything significant to do.
6721 And only if MOVEMAIL_NEEDS_BLESSING.
6722 (blessmail): Use emacs, not temacs.
6723 (configuration): Rename from configname.
6724
67251994-04-30 Morten Welinder (terra@diku.dk)
6726
6727 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6728
67291994-04-30 Morten Welinder (terra@diku.dk)
6730
6731 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6732 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6733 a shell.
6734
67351994-04-29 Morten Welinder (terra@diku.dk)
6736
6737 * hexl.c [MSDOS]: Don't define proto type for exit.
6738
67391994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6740
6741 * b2m.c: Don't include string.h or strings.h.
6742
67431994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6744
6745 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6746 symbols, not make variables.
6747
67481994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6749
6750 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6751 * etags.c (print_version): Print VERSION as a string.
6752
67531994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6754
6755 * fakemail.c (readline): Fix updating of p when buffer grows.
6756
67571994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6758
6759 * Makefile.in.in (blessmail): New target.
6760 ${archlibdir}: Use blessmail when installing movemail.
6761
67621994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6763
6764 * fakemail.c (readline): When extending the buffer,
6765 calculate end afresh using the new size.
6766
67671994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
6768
6769 * etags.c (main, print_help): Eliminate the -F option.
6770
67711994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
6772
6773 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
6774
67751994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6776
6777 * Makefile.in.in: Renamed from Makefile.in.
6778 Makefile.in is now generated from it, and then preprocessed.
6779 Change comments to C syntax.
6780 Include config.h.
6781 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6782 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6783
67841994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6785
6786 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6787
67881994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
6789
6790 * etags.c (etags_getcwd): Initialize bufsize.
6791
67921994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6793
6794 * profile.c (gettimeofday): If system doesn't have this, define it
6795 to give a fatal error.
6796
67971994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6798
6799 * movemail.c (main): Use setuid, not seteuid.
6800
68011994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6802
6803 * etags.c: #undef static.
6804
68051994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
6806
6807 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
6808 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
6809 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
6810 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6811 TeX_functions, Prolog_functions.
6812 (inf): No more a global variable.
6813 (C_entries): Take 2nd parameter `inf' instead of using the global one.
6814 (find_entries): Add the cp1 var for optimization.
6815 (find_entries): Add more suffixes for assembler files.
6816 (Asm_funcs): Now finds labels even without an ending colon.
6817
68181994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
6819
6820 * etags.c (main): Use etags_getcwd for compatibility.
6821 (etags_getcwd): New function.
6822
68231994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6824
6825 * Makefile.in (etags, ctags): Pass -D for VERSION.
6826
68271994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
6828
6829 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
6830 (main): Don't allow the use of -t and -T in etags mode.
6831 (print_help): Don't show options enabled by default.
6832 (print_version): Show the emacs version number if VERSION is #defined.
6833 (find_entries): Add "ss" as suffix for Chez Scheme.
6834
68351994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
6836
6837 * etags.c (cwd, outfiledir): Vars added.
6838 (relative_filename, absolute_filename, absolute_dirname):
6839 functions added to compute filenames in tags files.
6840 (process_file): Filenames in tags file are relative to the
6841 directory where the tags file is (useful with the -o option).
6842 (main): Initialize the outfiledir var.
6843 (TYPEDST): Add the `tignore' value.
6844 (C_entries): Corrected various small bugs.
6845
68461994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6847
6848 * Makefile.in (UTILITIES): `env' deleted.
6849 (env): Target deleted.
6850 * env.c: File deleted.
6851
68521994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6853
6854 * Makefile.in (install, ${archlibdir}): Switch back to ..
6855 before running INSTALL_PROGRAM.
6856
68571994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
6858
6859 * etags.c (TYPEDST): Add the `tignore' value.
6860 (C_entries): Corrected various bugs, now correctly parses the
6861 `extern "C" {' construction (patch by Tom R.Hageman).
6862
68631994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6864
6865 * b2m.c: Use <...> to include config.h.
6866 Don't include stdlib.h.
6867
68681994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
6869
6870 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6871 Allow for text following "BABYL OPTIONS:".
6872 Add --help option. Use argv[0] in error messages.
6873
68741994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6875
6876 * emacsclient.c (main) [HAVE_SYSVIPC]:
6877 Make msgp->mtext longer if necessary.
6878 On HPUX, error if it's more than 512 chars.
6879
68801994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6881
6882 * etags-vmslib.c: Use GPL.
6883 * emacstool.c: Use GPL.
6884 * fakemail.c: Update GPL.
6885
6886 * make-path.c (main): Return 1 on error, not -1.
6887 Update GPL.
6888
6889 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6890 (xmalloc, xrealloc): Return char *, not int.
6891 (error): Write to stderr, not stdout.
6892 Update GPL.
6893
68941994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6895
6896 * profile.c (main, get_time): Don't crash on invalid input.
6897
68981994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6899
6900 * profile.c (get_time): Simplify; avoid calling index.
6901 (main): Exit on EOF.
6902
69031994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
6904
6905 * etags.c (--absolute-pathnames): Option removed.
6906
69071994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6908
6909 * fakemail.c (put_line): Don't break the line if it all fits.
6910
69111994-02-14 Francesco Potortì (pot@fly)
6912
6913 * etags.c (absolute_pathnames, cwd): Add global vars.
6914 (longopts, print_help, main, process_file): Put absolute filenames
6915 in the tag file if the -A --absolute-pathnames option is used.
6916 (print_help): Alphabetically order the options.
6917 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
6918
69191994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6920
6921 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6922 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6923
69241994-02-07 Christian Lynbech (lynbech@avignon)
6925
6926 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6927
69281994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6929
6930 * Makefile.in (UTILITIES): Mention profile.
6931 (profile): New target.
6932
6933 * profile.c: New file.
6934
69351994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6936
6937 * make-docfile.c: Make the argument list output look more like the
6938 Lisp docstrings do.
6939 (write_c_args): Take new arg FUNC. Make output
6940 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6941 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6942
69431994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
6944
6945 * etags.c (stab_entry, stab_create, stab_find, stab_search,
6946 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
6947 Use gperf generated hash table instead of linked list.
6948 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
6949 Mostly code generated by gperf.
6950 (consider_token): Remove unused parameter `lp'.
6951 (PF_funcs, getit): Allow subroutine and similar declarations
6952 to span multiple lines.
6953 (C_entries): Check for newline if inchar to avoid bus errors.
6954 (process_file, find_entries): Distinguish among nonexistent
6955 and not regular file.
6956
69571994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6958
6959 * timer.c: Include errno.h; don't include fasync.h.
6960 (schedule): Don't return a value.
6961 (sigcatch): Reestablish the handler first.
6962 (getevent): Always call notify at the end.
6963 (notify): Defer alarms around the whole body of function.
6964
69651994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6966
6967 * timer.c (main): Don't request SIGIO, and don't handle it.
6968 Loop calling getevent.
6969 (sigcatch): Delete code to handle SIGIO.
6970 if defer_alarms is set, don't call notify, just set alarm_deferred.
6971 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
6972 Set defer_alarms around realloc and schedule.
6973 If alarm_deferred gets set, call notify.
6974 Likewise if this event is the only pending event.
6975 Make buf and buf_size global variables.
6976 Don't malloc buf if it is already non-zero.
6977 (schedule): Just exit if run out of memory.
6978 Return the number of events.
6979 (signal) [_CX_UX]: Add #undef.
6980
69811994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6982
6983 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6984 (main) [USG]: Do ioctl to enable SIGPOLL.
6985
69861994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6987
6988 * timer.c: Don't declare sys_errlist; declare strerror instead.
6989 (schedule, main): Call strerror instead of using sys_errlist.
6990 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6991 Call strerror instead of using sys_errlist.
6992 * env.c (main): Call strerror instead of using sys_errlist.
6993 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6994 (main): Call strerror instead of using sys_errlist.
6995 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6996 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6997 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6998 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6999
70001994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7001
7002 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
7003
7004 * movemail.c (malloc): Don't declare it.
7005 (xmalloc): Cast result of malloc.
7006 (strcpy): Don't declare it.
7007
70081993-11-14 Morten Welinder (terra@diku.dk)
7009
7010 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7011 (main): Use fclose to close file opened by fopen.
7012
7013 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7014
7015 * movemail.c [MSDOS]: #undef `access'.
7016
7017 * b2m.c (main) [MSDOS]: Open all files as binary.
7018 * etags.c (main) [MSDOS]: Open all files as binary.
7019
7020 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7021 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7022 with.
7023
70241994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7025
7026 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7027 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7028 (LINK_CFLAGS): New variable.
7029 (timer): Use LINK_CFLAGS.
7030
70311993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7032
7033 * movemail.c: Include syswait.h.
7034 Fork a subprocess and use it to copy the mail file.
7035
70361993-12-07 Richard Stallman (rms@srarc2)
7037
7038 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7039
70401993-12-04 Richard Stallman (rms@srarc2)
7041
7042 * movemail.c (main): When making tempname, cast result of xmalloc.
7043 Include room for EXXXXXX in the size.
7044 Don't use result of strcpy.
7045
70461993-12-03 Paul Eggert (eggert@twinsun.com)
7047
7048 * vcdiff: Add --brief option.
7049
70501993-12-02 Richard Stallman (rms@srarc2)
7051
7052 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7053 for all executables and scripts.
7054
70551993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7056
7057 * Version 19.22 released.
7058
70591993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7060
7061 * Makefile.in (mostlyclean): Make it distinct from clean.
7062
70631993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7064
7065 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7066
70671993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7068
7069 * Version 19.21 released.
7070
7071 * Makefile.in (install): Don't change mode or group when installing.
7072
7073 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7074
70751993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7076
7077 * make-docfile.c (read_c_string): For "", concatenate the two strings.
7078
7079 * movemail.c (main): Fix error message text.
7080
70811993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7082
7083 * Version 19.20 released.
7084
70851993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
7086
7087 * etags.c (C_entries): Keep track of ()-parenthesis level so that
7088 functions returning a pointer to a function, a la `signal', can be
7089 parsed. This also required new state `fstartlist' to `FUNCST'.
7090 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
7091 (C_entries, CNL): Use it to isolate preprocessor directive processing
7092 from the other state engines.
7093 (begtk): Add '~', for C++ class destructors.
7094
70951993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
7096
7097 * etags.c (consider_token): Remove unused variable firsttok.
7098 (prolog_getit): Call pfnote with the right number of arguments.
7099
71001993-10-19 Paul Eggert (eggert@twinsun.com)
7101
7102 * rcs2log (printlogline): Don't generate lines containing only
7103 white space.
7104
71051993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7106
7107 * Makefile.in (${archlibdir}):
7108 Install ${SCRIPTS} from ${srcdir}, not cwd.
7109
71101993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7111
7112 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7113 the comment character.
7114
71151993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
7116
7117 * etags.c (process_file): Dead code removed.
7118 (S_ISREG): #define it using S_IFREG if not defined.
7119 (process_file): Regular files have nothing to do with symlinks.
7120
71211993-09-28 Brian J. Fox (bfox@ai.mit.edu)
7122
7123 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7124 from current directory. Only chmod and chgrp files that we
7125 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
7126 ${bindir}.
7127 (INSTALLFLAGS): Delete definition, since it is an unused variable
7128 now.
7129
71301993-09-27 Brian J. Fox (bfox@ai.mit.edu)
7131
7132 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7133 Let configure figure out the correct values for these variables.
7134
71351993-09-14 Brian J. Fox (bfox@ai.mit.edu)
7136
7137 * Makefile.in (archlibdir): Only install executables internally
7138 used by emacs; don't install bindir binaries here.
7139
71401993-09-24 Paul Eggert (eggert@twinsun.com)
7141
7142 * rcs2log: Add -h, -n, -r options.
7143 By default, look for *,v files as well as RCS/*,v files.
7144 Use $TMPDIR (default /tmp) instead of /tmp.
7145
71461993-09-20 Francesco Potortì (pot@fly)
7147
7148 * etags.c (C_entries): is_func is initialized here instead of in
7149 consider_token for the sake of the yacc rules section.
7150 (C_entries): Now class, struct, enum, union and typedef produce
7151 named tags.
7152
71531993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
7154
7155 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7156
71571993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7158
7159 * Makefile.in: Support configuring in a different directory when
7160 ${srcdir} has already been configured.
7161 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7162 -I${srcdir}/../src.
7163 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7164 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7165 is already in CPP_FLAGS.
7166 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7167 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7168
71691993-08-25 Paul Eggert (eggert@twinsun.com)
7170
7171 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
7172 otherwise, HP awk complains.
7173
7174 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7175 are common hangouts for SCCS commands.
7176
71771993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7178
7179 * Version 19.19 released.
7180
71811993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7182
7183 * Makefile.in (make-path): Dep on config.h.
7184
71851993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7186
7187 * b2m.c (TRUE, FALSE): Don't define if already defined.
7188
71891993-08-09 Paul Eggert (eggert@twinsun.com)
7190
7191 * rcs2log (awkscript):
7192 Some sites put comma-separated junk after the fullname.
7193 Remove it, but leave "Bill Gates, Jr" alone.
7194 Remove the junk from fullnames like "0000-Admin(0000)".
7195
71961993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7197
7198 * Version 19.18 released.
7199
72001993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
7201
7202 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7203 (L_funcs): The (foo::defmumble stuff now should work.
7204 (consider_token): Function returned random value--corrected.
7205 (C_entries): Corrected == versus = typo.
7206
72071993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7208
7209 * etags.c (put_entries): For NODE->rewritten, put pattern before
7210 \177 and name after, not vice versa.
7211
72121993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7213
7214 * timer.c (main): Generate a SIGIO as soon as we've initialized.
7215
72161993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
7217
7218 * etags.c (FINCST): Add the fignore status. Means we are
7219 after the parameter list and before the open curly brace.
7220 Allows correct parsing of C++ constructors.
7221 (C_entries, consider_token): Make use of fignore.
7222 (consider_token): Reset funcdef when next_token_is_func: when in
7223 ctags mode makes DEFVAR and others work better.
7224 (L_isquote): Function that recognizes the "(quote" string.
7225 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
7226
72271993-07-29 Paul Eggert (eggert@twinsun.com)
7228
7229 * rcs-checkin: Don't check whether a file is readable until we have
7230 decided not to ignore it.
7231
72321993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7233
7234 * Makefile.in (etags): Depend on ../src/config.h.
7235
7236 * emacsserver.c: Include types.h before file.h.
7237
72381993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7239
7240 * Makefile.in (install): Use .n, not .new, for temporary filenames.
7241
72421993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7243
7244 * Version 19.17 released.
7245
72461993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7247
7248 * etags.c (print_help): Break up the very long strings containing
7249 the help message into shorter strings, to placate chintzy C
7250 compilers which can't handle strings that long.
7251
7252 * wakeup.c: Use CPP tangle from autoconf manual to #include the
7253 correct combination of <time.h> and <sys/time.h>.
7254
72551993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7256
7257 * etags.c (alloca): Remove all references to it.
7258 (main): Now calls xnew instead of alloca for portability.
7259 (../src/config.h): Included only if HAVE_CONFIG_H.
7260 (const): Void definition removed--config.h takes care of it.
7261
72621993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7263
7264 * etags.c (consider_token): Was `==', now is `='.
7265 (consider_token): DEFUNs now treated like funcs in ctags mode.
7266
7267 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7268 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
7269 (C_entries): Remove a piece of useless code.
7270 (C_entries): Making typedef tags is delayed until a semicolon
7271 is met. This handles "typedef int X, Y, Z;" correctly.
7272
72731993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7274
7275 * Version 19.16 released.
7276
7277 * b2m.c: #include <sys/types.h>.
7278 (ltoday): Declare this to be time_t.
7279
72801993-06-30 Paul Eggert (eggert@twinsun.com)
7281
7282 * vcdiff: Add -q option.
7283
72841993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7285
7286 * etags.c: #include "config.h" and the alloca CPP tangle before
7287 #including the system headers and getopt.h. AIX requires the
7288 #pragma to come before any actual C code.
7289
72901993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7291
7292 * Makefile.in (ctags): Depend on etags, so that parallel makes
7293 don't write etags.o files on top of each other.
7294
72951993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7296
7297 * version 19.15 released.
7298
72991993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7300
7301 * etags.c (add_node): Move var last_node to file scope.
7302
73031993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7304
7305 * Version 19.14 released.
7306
73071993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7308
7309 Bring mumbleclean targets into conformance with GNU coding standards.
7310 * Makefile.in (distclean): Call clean to do most of the work.
7311 Delete aixcc.c and TAGS.
7312 (realclean): Just call distclean.
7313
7314 * Makefile.in: Remember, spaces are not tabs.
7315
73161993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7317
7318 * Makefile.in (CPP_CFLAGS): New variable.
7319 Use it instead of ALL_CFLAGS when compiling a .c file.
7320 (getopt.o, getopt1.o): Add explicit compilation commands.
7321
73221993-06-10 Mark D. Baushke (mdb@cisco.com)
7323
7324 * etags.c: Reinstate old -f option as an alias for -o for
7325 installed base uses.
7326
73271993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7328
7329 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7330 to bind or accept, cast the pointer, to avoid warnings on systems
7331 which declare prototypes for this.
7332 * emacsclient.c (main): Same.
7333
7334 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7335
73361993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7337
7338 * Version 19.13 released.
7339
7340 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7341 comes from, not sys/time.h.
7342
73431993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7344
7345 * wakeup.c: Include sys/time.h.
7346
7347 * etags.c: #undef static.
7348
7349 * Version 19.12 released.
7350
7351 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7352
73531993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7354
7355 * Version 19.11 released.
7356
7357 * timer.c [LINUX]: #undef signal.
7358 * emacsserver.c: #undef signal.
7359
73601993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7361
7362 * wakeup.c (main): Make when a time_t.
7363
73641993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7365
7366 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
7367 `(cd foo ; pwd)' to get the canonical name of a directory; cd
7368 might fail, and have pwd print out the current directory.
7369
7370 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7371 string-handling functions.
7372
73731993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7374
7375 * Version 19.10 released.
7376
73771993-05-29 Paul Eggert (eggert@twinsun.com)
7378
7379 * rcs2log: When given no file arguments, inspect RCS/.* as well
7380 as RCS/*. Don't report an error if RCS is empty or nonexistent.
7381
73821993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7383
7384 * Makefile.in (timer): Link with $(LOADLIBES).
7385
73861993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7387
7388 * fakemail.c (put_line): Don't output \n\t unless more text follows.
7389
73901993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7391
7392 * etags.c: Replace the CPP tangle for alloca with the one from the
7393 autoconf documentation, since that's working elsewhere.
7394
73951993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7396
7397 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
7398 description files can find their ancestors.
7399
74001993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7401
7402 * Makefile.in (install): Get the scripts from ${srcdir},
7403 unlike the executables.
7404 (ALL_CFLAGS): Add -I../src.
7405
74061993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7407
7408 * Version 19.9 released.
7409
74101993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7411
7412 * Makefile.in (install): Do install the programs listed in
7413 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
7414 INSTALLABLE_SCRIPTS, instead of writing the programs out.
7415
7416 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
7417 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
7418
74191993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7420
7421 * etags.c: Include ../src/config.h.
7422
7423 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
7424 in first loop. Delete files from bindir before installing new ones.
7425 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
7426
74271993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7428
7429 * Version 19.8 released.
7430
7431 * make-docfile.c: Doc fix.
7432
74331993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7434
7435 * tcp.c: Fix comment syntax at top of file.
7436 (main): Don't call htons with the port number.
7437
74381993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7439
7440 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
7441 appropriate.
7442
7443 * Makefile.in (install): Refer to the variables INSTALLABLES and
7444 INSTALLABLE_SCRIPTS, instead of writing them out.
7445
74461993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7447
7448 * make-path.c (main): Return 0.
7449
74501993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7451
7452 * Version 19.7 released.
7453
74541993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7455
7456 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7457
74581993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7459
7460 * tcp.c: New file.
7461
74621993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7463
7464 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7465
74661993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7467
7468 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7469 only. We should really fix this later, but let's just make it
7470 compile for now.
7471
7472 Install patches from David J. Mackenzie to make the srcdir option
7473 work.
7474 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7475 Makefile.
7476 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7477 INSTALLABLE_SCRIPTS.
7478 (INSTALLABLE_SCRIPTS): New list.
7479 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7480 (${archlibdir}): The scripts to be installed live in the source
7481 tree, not in the object tree.
7482 (test-distrib): Note that the data file lives in the source tree,
7483 not the object tree.
7484 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7485 (all other targets): Change references to source files to use
7486 ${srcdir}, except for config.h, which lives in the object dir.
7487 (timer.o): Note that this depends on ../src/config.h.
7488 * make-docfile.c (main): Add a -d option, to tell it where to find
7489 the source files.
7490 * test-distrib.c (main): Take the name of the distribution file to
7491 test from the command line.
7492
7493 * timer.c: Fix misspellings of get_date function's name.
7494
74951993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7496
7497 * etags.c (main):
7498 Don't require that there be input files if -i switches were given.
7499
75001993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7501
7502 The GNU coding standards specify that CFLAGS should be left for
7503 users to set.
7504 * Makefile.in (CFLAGS): Put this in the "things configure might
7505 edit" section, and have it default to -g.
7506 (ALL_CFLAGS): New variable, set to all the flags which should be
7507 passed to compilations. Replace all other uses of CFLAGS with
7508 ALL_CFLAGS.
7509 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7510
7511 * Makefile.in (DEFS): Remove this; it's always just going to be
7512 "-DHAVE_CONFIG_H -Demacs".
7513
75141993-05-03 Paul Eggert (eggert@twinsun.com)
7515
7516 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7517 /[/]/, so change it to /[\/]/. This should work on all
7518 POSIX-compliant awks. It's slightly wrong with traditional awk,
7519 since it matches \ too, but that's a minor problem compared to awk
7520 syntax errors.
7521
75221993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7523
7524 * Makefile.in (ALLOCA): New variable, whose value we should
7525 inherit from the top-level makefile.
7526 (etags, ctags): Include ALLOCA in the list of object files that
7527 these executables depend on and link.
7528
75291993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7530
7531 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
7532
75331993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7534
7535 * make-docfile.c (write_c_args): Print an argument named "defalt"
7536 as "default".
7537
75381993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7539
7540 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7541 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7542 compiler.
7543
75441993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
7545
7546 * etags.c (YACC): Flag added to c_ext.
7547 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7548 (find_entries): Consistently use streq when reasonable.
7549 (find_entries): A .y file is a yacc file.
7550 (get_C_stab): c_ext becomes c_ext&C_PLPL.
7551 (C_entries): Logical cplpl means c_ext&C_PLPL.
7552 (C_entries): Logical yacc_rules means we are after the first %%.
7553 (C_entries): Add logic for yacc files.
7554
75551993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
7556
7557 * etags.c (C_entries): ':' case moved to the second switch.
7558 (C_entries): Do not examine token if structdef==scolonseen.
7559 (consider_token): structtag set to null string for enum.
7560
75611993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
7562
7563 * etags.c (GET_COOKIE): And related macros removed.
7564 (logical): Is now int, no more a char.
7565 (reg): Define deleted.
7566 (isgood, _gd, notgd): Delete.
7567 (gotone): Delete.
7568 (TOKEN): Member linestart removed.
7569 (linepos, prev_linepos, lb1): Delete.
7570 (main): Call initbuffer on lbs array instead of lb1.
7571 (init): Remove the initialization of the logical _gd array.
7572 (find_entries): A .sa suffix means assembler file.
7573 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7574 All C state machines rewritten.
7575 (C_entries): Complete rewrite.
7576 (condider_token): Complete rewrite.
7577 (getline): Delete.
7578
75791993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7580
7581 * etags.c (C_entries): Add the quotednl logical variable.
7582 Used for parsing of #define's spanning multiple lines.
7583
75841993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7585
7586 * etags.c (C_entries): Save the definedef status even when a
7587 newline is met inside a string.
7588
75891993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7590
7591 * Makefile.in (EXECUTABLES): Add rcs-checkin.
7592
7593 * Makefile.in (unlock, relock): New productions.
7594
75951993-03-16 Paul Eggert (eggert@twinsun.com)
7596
7597 * rcs2log: Some awks don't understand "\r". Code around this.
7598 Unfortunately this requires putting a carriage return in the
7599 source code. Don't assume that rlog will tolerate times like
7600 `10:10:60'; RCS 5.7 won't allow this.
7601
76021993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7603
7604 * timer.c (main): Set the ownership of the stdin file descriptor
7605 to the current process. Print error messages if either of the
7606 fcntl's fails.
7607
7608 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7609 ../src/config.h), not void.
7610
76111993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7612
7613 * b2m.c (main): Don't exit upon reading a blank line.
7614
76151993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7616
7617 * etags.c (C_entries): New local variable quotednl. Used for
7618 parsing of #define's spanning multiple lines.
7619
7620 * etags.c (C_entries): Save the definedef status
7621 even when a newline is met inside a string.
7622
76231993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7624
7625 * timer.c (notify): Initialize waitfor properly.
7626
76271993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
7628
7629 * etags.c (C_entries): Don't reset definedef when a newline inside a
7630 comment is met.
7631
76321993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7633
7634 * etags.c (find_entries): If filename ends in .f or .for,
7635 don't try anything but Fortran.
7636
76371993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7638
7639 * timer.c (notify): Flush stdout after writing message to avoid lossage
7640 on terminals.
7641
7642 (notify): Also, write a newline after the token.
7643
76441992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7645
7646 * Makefile.in (exec_prefix): New variable.
7647 (bindir, libdir): Use it instead of `prefix'.
7648
7649 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7650
7651 * Makefile.in (libdir): Default to ${prefix}/lib.
7652 (archlibdir): Adjust to match.
7653
7654 * Makefile.in (distclean): Don't delete backup or autosave files.
7655 (extraclean): Like realclean, but does delete backup and autosave
7656 files.
7657
7658 * Makefile.in (realclean): Ignore errors from rm.
7659
7660 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7661 that doesn't exist anymore.
7662
76631992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7664
7665 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7666 described in the top-level Makefile.
7667 (UTILITIES): Add make-path to the list of utility programs.
7668 (../arch-lib): Replaced by the ${archlibdir} target, which places
7669 the executables in their permanent home.
7670 (install, install.sysv, install.xenix): Consolidated into one
7671 target which should work under all circumstances, modulo a few
7672 ignored error messages.
7673
7674 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7675 a different number of arguments than other DEFVARs, recognize it
7676 specially, and expect the right number of commas.
7677
76781992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7679
7680 * make-path.c: New program, to help with the installation process.
7681 * Makefile.in (make-path): New target.
7682
7683 * make-path.c (touchy_mkdir): Remove debugging output.
7684
76851992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7686
7687 * Makefile.in (getdate.o): Add explicit target for this, so we
7688 can indicate that it depends on ../src/config.h.
7689
76901992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7691
7692 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7693 instead of CFLAGS.
7694 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7695
76961992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7697
7698 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7699 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7700 that system.
7701
7702 * Makefile.in (arch-lib): Give rm the `-f' option.
7703
77041992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7705
7706 * make-docfile.c (write_c_args): Rewritten to correctly print
7707 &optionals before the first identifier, but after the first paren.
7708 This code used to just wait for commas or spaces; now it notices
7709 identifier boundaries.
7710
77111992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7712
7713 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7714
77151992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7716
7717 * make-docfile.c (write_c_args): Print the argument lists properly
7718 when the first argument is optional.
7719
77201992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7721
7722 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7723 Redefine @item. Set catcode of +.
7724
77251992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7726
7727 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7728
77291992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7730
7731 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7732 (TEX_decode_env): Make `tab' one element longer.
7733
77341992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7735
7736 * etags.c (PF_funcs): Recognize the "entry" keyword.
7737
77381992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7739
7740 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7741
77421992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7743
7744 * timer.c (events): Rather than having slots marked as in use or
7745 out of use by the `token' field, keep all pending events at the
7746 beginning of the array. When we delete an event in the middle of
7747 the array, we move the last event into its place.
7748 (num_events): New variable.
7749 (schedule): It is now cheaper to find a free event slot;
7750 events[num_events] is the first free slot.
7751 (notify): Scan events[0 .. num_events-1], instead of the whole
7752 array. When an event fires, move the last event in the array into
7753 its spot. Use num_events to determine whether or not there are
7754 any pending events, not wait_for.
7755 (getevent): Delete unused variable `ep'.
7756 (sigcatch): It's now easier to find all the active events.
7757 (main): Initialize num_events.
7758
7759 * etags.c: Rather than fret about which systems have index and
7760 which systems have strchr, and how to tell the difference between
7761 them, we just write out our own versions. Big deal.
7762 (index, rindex): Extern declarations removed.
7763 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7764 (etags_index, etags_rindex): New declarations.
7765 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7766 TEX_getit, substr): Use the etags_*index functions, rather than
7767 the native *index functions.
7768 (rindex, index): Rename to etags_rindex and tags_rindex, and
7769 made them unconditionally defined, rather than having them depend
7770 on NEED_*INDEX.
7771
7772 * etags.c (savenstr): Add declaration for this at top of file.
7773 (TEX_decode_env): Don't declare it local to this function.
7774
7775 * b2m.c: #include "../src/config.h", so we can test for the USG
7776 macro, and decide whether to include <string.h> or <strings.h>.
7777 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7778
77791992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7780
7781 * timer.c: Reformatted according to the GNU coding standards.
7782 Removed arbitrary limits on the number of events queued and the
7783 length of the tokens used to identify them.
7784 Removed casts to (void).
7785 Removed debugging printfs; they clutter the code, and the need
7786 can be better filled using a real debugger.
7787
77881992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7789
7790 * timer.c: Installed new version from Eric Raymond; this is more
7791 portable, since it doesn't try to use SIGIO.
7792
77931992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7794
7795 * emacsclient.c (main): If we can't find the socket in this
7796 person's home directory, print a message which asks if they've
7797 started the server, instead of just printing the message from
7798 sys_errmsg; Cygnus finds that people are much less confused by
7799 this.
7800
78011992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7802
7803 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7804 so that index and rindex get defined, why don't we actually
7805 control index and rindex using symbols called "NEED_INDEX" and
7806 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7807 little more readable than defining something whose name implies
7808 that it's not?
7809
78101992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7811
7812 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7813 distribution:
7814 Miscellaneous doc fixes.
7815 (skip_white, read_lisp_symbol): New functions.
7816 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7817 read_lisp_symbol and then see what we got. Call skip_white
7818 instead of writing out a loop to do its job. Correctly extract
7819 docstrings from "defmacro" declarations.
7820
78211992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7822
7823 * movemail.c (strcpy): Declare this to return char *.
7824
78251992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7826
7827 * etags.c (C_entries): When we find a C++ comment, do actually
7828 skip to the end of the line; do a 'break' instead of a 'continue'.
7829
78301992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7831
7832 * etags.c (getit): Add missing parenthesis to expression which
7833 decides if this token is an identifier.
7834
78351992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7836
7837 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7838
78391992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7840
7841 * etags.c (put_entries): Always put space between name and line num.
7842
78431992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7844
7845 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7846 warning.
7847 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7848
78491992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7850
7851 * make-docfile.c (write_c_args): Pass both arguments to putc.
7852
78531992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7854
7855 * etags.c (C_entries): Fix reading of "..." strings.
7856 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7857 the C library source.
7858
7859 * etags.c (C_entries): When we see a backslash inside a quoted
7860 string, skip to the next character. This allows us to correctly
7861 deal with strings containing quotes.
7862
78631992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7864
7865 * make-docfile.c (write_c_args): Print the C argument names as
7866 they would be written in Elisp; print '_' as '-'.
7867
78681992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7869
7870 * movemail.c [POP]: Get user name via getpwuid.
7871
78721992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7873
7874 * Makefile.in: Flags in CC invocations rearranged for no reason.
7875
78761992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7877
7878 * etags.c (print_help): Remember not to embed raw newlines in
7879 strings - end the lines with `\n\'.
7880
78811992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7882
7883 * timer.c (getevent): Remove declaration of memcpy; since
7884 different systems have different return types, and we're not even
7885 using the return type anyway, it wasn't doing us any good.
7886
78871992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7888
7889 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7890 type of this function.
7891
78921992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7893
7894 * ChangeLog: Since the old etc contents have been split into etc
7895 and lib-src, the old etc's ChangeLog has been duplicated in the
7896 new etc and lib-src. That means that each contains complete and
7897 coherent information, although each contains extraneous
7898 information.
7899
79001992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7901
7902 * etags.c: "--no-warning" option renamed to "--no-warn",
7903 to be consistent with other GNU programs, like makeinfo.
7904
7905 * Makefile: Renamed to Makefile.in; the configure script
7906 will edit this to produce Makefile.
7907
79081992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7909
7910 * etags.c (print_help, print_version): New functions.
7911 (main): Options added to support them.
7912
7913 * etags.c (longopts): New array of long names for the options.
7914 (main): Recognize them.
7915
79161992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7917
7918 * etags.c (C_entries): Remove comment saying that \" in a string
7919 isn't recognized as magic, because it is correctly handled.
7920
7921 * getopt.c, getopt.h: New files, from GNU C library.
7922 * etags.c: Rewritten to use getopt.
7923 #include "getopt.h".
7924 (file_num): Variable deleted; its role is now played by getopt's
7925 optind.
7926 (main): Argument processing loop rewritten to call getopt to get
7927 next option. Options which take parameters (-o and -i) rewritten
7928 to get parameter from optarg instead of argv[1].
7929 Filename preprocessing loop and update command changed similarly.
7930 * Makefile (etags, ctags): Depend on and link with getopt.h,
7931 getopt.o, and getopt1.o.
7932 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7933
7934 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7935 is non-zero.
7936
7937 (main): In the argument processing loop, the 'goto next_arg'
7938 statements are breaking out of the switch statement in exactly the
7939 same way that a simple 'break' statement would; replace the gotos
7940 with breaks, and remove the label.
7941
79421992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7943
7944 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7945 (consider_token): Move next_token_is_func to global.
7946
79471992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7948
7949 * Makefile: Conform with GNU coding standards:
7950 (mostlyclean): New target, synonymous with clean.
7951 (TAGS, check): New targets.
7952 (INSTALL, INSTALLFLAGS): New variables.
7953
79541992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7955
7956 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
7957 `config.emacs' to `configure'.
7958
7959 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7960 * etc/MACHINES: Same.
7961
79621992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7963
7964 * movemail.c (main): Allow tempname to be as long as necessary,
7965 instead of limiting it to 39 characters.
7966
7967 * movemail.c (main): Move declaration of buf from top of function
7968 to local block surrounding the copy loop. This makes it less
7969 likely to be confused with the buf used by the code which checks the
7970 permissions on outname's directory.
7971
79721992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7973
7974 * SERVICE: Remove my entry.
7975
79761992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7977
7978 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7979 hardcoded -g.
7980
7981 * movemail.c (xmalloc): Return char *, not int.
7982 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7983 that is off by default -- normally don't unlink the mail spool
7984 file, just empty it. Pass creat mode 0600, not 0666.
7985
79861992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7987
7988 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7989 (all): Instead of here.
7990 (install): Don't use the -s option, since people need symbols to
7991 debug code.
7992
79931992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
7994
7995 * etags-vmslib.c (fn_exp): Add type cast.
7996
79971992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7998
7999 * movemail.c: Changes in comments.
8000
80011992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8002
8003 * Makefile: Make the distclean target erase the DOC files from
8004 ../share-lib and the executables from ../arch-lib.
8005
80061992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8007
8008 * emacsclient.c: #include <sys/stat.h>
8009 (main): Do declare statbfr.
8010
80111991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8012
8013 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
8014 for the socket, depending on SERVER_HOME_DIR.
8015 If using /tmp, put host name in the socket name.
8016
8017 * movemail.c (pfatal_and_delete): New function.
8018 (main, popmail): Use it.
8019 (popmail): Close output before deleting messages.
8020 Check for error on close and on fsync.
8021 Use `fatal' where appropriate.
8022 (main): Remove (void).
8023
8024 * aixcc.lex: New file. Not officially part of Emacs.
8025 * Makefile: Rules for that.
8026
80271991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8028
8029 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
8030
8031 * etags.c (main): Properly cast call to alloca that initializes
8032 included_files.
8033
80341991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8035
8036 * etags.c (files_are_tag_tables): Remove global var.
8037 (process_file): Don't test it. Also remove hack checking for a
8038 file named "TAGS".
8039 (main): -i now takes an arg which is the name of a file to include.
8040 Collect these names and emit include tags for them after processing
8041 all the argument files.
8042
80431991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8044
8045 * wakeup.c: Terminate if parent goes away.
8046
80471991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8048
8049 * etags.c (C_entries): Process token before handling end of line.
8050 When inner loops reach end of line, just back up.
8051 Let the real end of line processing happen in just one place.
8052 (consider_token): Likewise.
8053
80541991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8055
8056 * etags.c (TEX_mode): Skip comments while scanning the text to see
8057 which escape character this file uses.
8058
80591991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8060
8061 * emacsserver.c [USG]: Terminate if msgrcv fails.
8062
80631991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
8064
8065 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
8066
80671991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
8068
8069 * make-docfile: Find the arguments to a C function correctly,
8070 by not ignoring the character that read_c_string returns.
8071 Don't even try to find argument names for functions that take MANY
8072 or UNEVALLED arguments, since they're a figment of the docstring's
8073 imagination.
8074
80751991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
8076
8077 * make-docfile: Read the .elc files generated by the new byte
8078 compiler.
8079
80801990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
8081
8082 * refcard.tex: Use cm fonts, not am, in multi-column mode.
8083
80841990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
8085
8086 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
8087
80881990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
8089
8090 * Makefile (install*): No need to install wakeup.
8091
80921990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
8093
8094 * Makefile (install*): Install emacsclient like etags.
8095
80961990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
8097
8098 * movemail.c (error): Handle 3 args.
8099 (main): Don't check input access if using pop.
8100
81011990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
8102
8103 * etags.c (find_entries): Check for numbers after Scheme suffix.
8104
81051990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
8106
8107 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
8108
81091990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
8110
8111 * Makefile (nemacstool, xvetool): New targets.
8112
81131990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
8114
8115 * emacsclient.c: Include errno.h and define related variables.
8116
81171990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
8118
8119 * emacsclient.c: Change usage message.
8120
81211990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
8122
8123 * emacs.1: Add break before -nw option.
8124
81251990-08-19 David J. MacKenzie (djm@apple-gunkies)
8126
8127 * qsort.c: Replace with GNU version.
8128
81291990-08-14 David J. MacKenzie (djm@apple-gunkies)
8130
8131 * wakeup.c: New program replacing loadst.c.
8132
81331990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8134
8135 * emacsclient.c [USG]: Pass msgsnd only 4 args.
8136
81371990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
8138
8139 * etags.c: Rename `flag' variables for what they do instead of
8140 which option character sets them.
8141
81421990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8143
8144 * loadst.c (main): Conditional to get load average on Apollo.
8145
81461990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
8147
8148 * emacsserver.c: Set the permission on the socket to 0600.
8149
81501990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8151
8152 * emacsclient.c [BSD]: Print clean message for failing getwd.
8153
81541990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
8155
8156 * getdate.y: Use the getdate.y from GNU tar for timer.
8157
81581990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
8159
8160 * emacsclient.c (main): Don't put brackets around "filename" in
8161 usage message. It isn't optional.
8162
81631990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
8164
8165 * etags.c (getit): Recognize '$' as beginning identifiers.
8166
81671990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
8168
8169 * emacsserver.c: Renamed from server.c.
8170 * Makefile: Reference emacsserver rather than server.
8171 * MACHINES: Doc fix for new emacsserver name.
8172
81731990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8174
8175 * emacsclient.c: Print program name in error messages.
8176
81771990-01-19 David Lawrence (tale@cocoa-puffs)
8178
8179 * timer.c, getdate.y (new files) and Makefile:
8180 Sub-process support for run-at-time in timer.el.
8181 Doesn't yet work correctly for USG.
8182
81831990-01-10 Jim Kingdon (kingdon@pogo)
8184
8185 * MACHINES: Add HP 300 running BSD.
8186
81871990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8188
8189 * yow.c: Dynamically allocate buffer; skip header before random
8190 choice to avoid bias toward first item.
8191
81921989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8193
8194 * etags.c (readline): Separate out init of `pend'.
8195
81961989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8197
8198 * etags.c: Undo changes relating to isgoodhdr.
8199
82001989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
8201
8202 * etags.c (isgoodhdr): New macro.
8203 (_gdh, notgdh): New variable used by that.
8204 (init): Initialize _gdh.
8205 (find_entries): Set header_file.
8206 (consider_token): Use isgoodhdr if in header file.
8207
8208 * etags.c (total_size_of_entries):
8209 Was miscalculating by 1 in rewritten case.
8210
8211 * etags.c (PAS_funcs): One arg to pfnote was missing.
8212
82131989-12-05 Joseph Arceneaux (jla@spiff)
8214
8215 * MACHINES: Change for the ULTRIX entry.
8216
82171989-11-21 Joseph Arceneaux (jla@spiff)
8218
8219 * etags.c (process_file): If file is not regular, return.
8220
82211989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8222
8223 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
8224
82251989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8226
8227 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
8228 (main): If HAVE_GETLOADAVG, don't call `nlist'.
8229
82301989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8231
8232 * etags.c (consider_token): Allow any number of typespec keywords
8233 after `typedef', before new type name.
8234 (enum sym_type): Add st_C_typespec.
8235 (C_create_stab): Put typespec kwds in table.
8236
82371989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8238
8239 * etags.c (main): Don't depend on name invoked by.
8240 If CTAGS is not defined, assume it is ETAGS.
8241
82421989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8243
8244 * etags.c (L_funcs): Allow package name in define construct,
8245 as in (foo::defmumble name-defined ...).
8246
82471989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8248
8249 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
8250
8251 * Makefile (yow): Depends on ../src/paths.h.
8252
82531989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8254
8255 * etags.c: Fix compilation by moving Pascal after Fortran.
8256
82571989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8258
8259 * movemail.c [USG]: Define F_OK, etc., if not found in header.
8260
82611989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8262
8263 * hexl.c: New file, supports hexl-mode.
8264
82651989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8266
8267 * movemail.c: New compilation flag MAIL_USE_MMDF.
8268
82691989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8270
8271 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
8272 * server.c: Likewise.
8273
8274 * make-docfile.c (scan_c_file): Output argument names at end of string.
8275 (write_c_args): New subroutine.
8276
82771989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8278
8279 * movemail.c: Report failure of flock.
8280
82811989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8282
8283 * etags.c (find_entries): Allow multi-letter extensions for fortran.
8284
82851989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8286
8287 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
8288
82891989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
8290
8291 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
8292
8293 * emacstool.1: Update to document environment variables.
8294
82951989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8296
8297 * etags.c (PAS_funcs): New function by Mosur Mohan.
8298
8299 * movemail.c: On sysv, include unistd.h.
8300
83011989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8302
8303 * b2m.c: New file.
8304
83051989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8306
8307 * etags.c: Prolog support from Sunichirou Sugou.
8308
83091989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8310
8311 * Makefile (clean): New target.
8312
83131989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8314
8315 * fakemail.c (put_line): Break header lines at 79 cols.
8316
83171989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8318
8319 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
8320 multiple tags per line.
8321
83221989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8323
8324 * movemail.c: Check access before doing real work.
8325 Check that outfile is in a writable directory.
8326 On fatal error, delete the lock file.
8327
83281988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
8329
8330 * env.c: Add decl for my-index
8331 * etags.c (file-entries): .oak => scheme.
8332
83331988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8334
8335 * movemail.c: Use `access' to check input and output files.
8336
83371988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8338
8339 * emacsclient.c (main): Ignore all of CWD before first slash.
8340
83411988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8342
8343 * etags.c (readline): Double linebuffer->size outside the xrealloc.
8344
83451988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8346
8347 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
8348 * server.c: chmod the socket to 0700.
8349
83501988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8351
8352 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
8353 (add_field): Delete comments and turn `<', `>' to spaces
8354 in header lines.
8355 (USE_FAKEMAIL): New customization macro says to make fakemail
8356 not be a no-op even on a BSD system.
8357
83581988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8359
8360 * etags.c (consider_token): Skip comments just like whitespace.
8361 Notice `struct', etc. and set strtag for those tokens.
8362 Return 1 for the token following `struct' if an open-brace follows it.
8363 (C_entries): Special handling of token following `struct'
8364 needed because we have probably advanced to the following line
8365 to find the `{'.
8366 (main): New option `T' sets tflag and strflag.
8367 Set both of them by default if eflags.
8368
83691988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8370
8371 * movemail.c: Do fsync before closing output.
8372
83731988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
8374
8375 * movemail.c: Better error message when can't create tempname.
8376 This file needs a great deal of extra error-checking and lucid reporting...
8377
83781988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8379
8380 * etags.c: Support assembler code for .s and .a files.
8381 (getit): Allow underscore in a tag.
8382
83831988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8384
8385 * movemail.c: Close output and check errors before deleting input.
8386
83871988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8388
8389 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
8390 whether to prefix it. Handle line number args.
8391
83921988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
8393
8394 * etags.c (main): Default setting of eflag was backwards.
8395
83961988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8397
8398 * etags.c: New option -i. -f renamed -o.
8399 `-' as input file means read input file names from stdin.
8400 -i spec'd or input file named TAGS means the input file is another
8401 tag table; output an "include" line for it.
8402
84031988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8404
8405 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
8406 New targets install, install.sysv, install.xenix.
8407 This makefile is now responsible for installing executables
8408 and documentation from this directory into system directories.
8409
84101988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
8411
8412 * server.c, emacsclient.c (main): Compute socket name from euid.
8413
84141988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8415
8416 * emacsclient.c: Args like +DIGITS are passed through unchanged.
8417
84181988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8419
8420 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
8421 * emacsclient.c: Likewise.
8422 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
8423
84241988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8425
8426 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
8427 (istoken): New string-comparison macro.
8428 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
8429
84301988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8431
8432 * etags.c: Changes for VMS.
8433 Always define ETAGS on VMS.
8434 Define macros GOOD and BAD for success and failure exit codes.
8435 (begtk, intk): Allow `$' in identifiers.
8436 (main): Don't support -B, -F or -u on VMS.
8437 Alternate loop for scanning filename arguments.
8438 (system): Delete definition of this function.
8439
8440 * etags-vmslib.c (system): Undefine this; VMS now provides it.
8441
84421988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8443
8444 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
8445 around include of param.h. (Like fns.c.)
8446
84471988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8448
8449 * loadst.c (load_average): Move load-average code to this new fn.
8450 Add conditionals to compute load ave on UMAX.
8451
84521988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8453
8454 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
8455 with opposite sense.
8456
84571988-05-13 Chris Hanson (cph@kleph)
8458
8459 * emacsclient.c: Delete references to unused variable `out'.
8460 This caused a bus error when used under hp-ux.
8461
84621988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8463
8464 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
8465
84661988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
8467
8468 * etags.c (find_entries): `.t' or `.sch' means scheme code.
8469
84701988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8471
8472 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
8473
84741988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8475
8476 * movemail.c: #undef close, since config can #define it on V.3.
8477 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
8478
84791988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8480
8481 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
8482 invalid escape sequences such as `\{'.
8483
8484 * loadst.c: Add `sequent' conditional for file dk.h.
8485
84861988-03-20 Richard M. Stallman (rms@wilson)
8487
8488 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
8489
8490 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
8491
8492;; Local Variables:
8493;; coding: utf-8
8494;; End:
8495
8496 Copyright (C) 1988-1999, 2001-2013 Free Software Foundation, Inc.
8497
8498 This file is part of GNU Emacs.
8499
8500 GNU Emacs is free software: you can redistribute it and/or modify
8501 it under the terms of the GNU General Public License as published by
8502 the Free Software Foundation, either version 3 of the License, or
8503 (at your option) any later version.
8504
8505 GNU Emacs is distributed in the hope that it will be useful,
8506 but WITHOUT ANY WARRANTY; without even the implied warranty of
8507 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8508 GNU General Public License for more details.
8509
8510 You should have received a copy of the GNU General Public License
8511 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.