*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
1 2007-01-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
2
3 * etags.c: (longopts): New undocumented option --no-duplicates.
4 (no_duplicates): Static variables for the above option.
5 (print_help): Do not print help for --no-warn, now undocumented.
6 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
7 (main): Pass the -u option to sort in ctags mode.
8
9 2006-12-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
10
11 * etags.c (readline): When creating a relative file name from a
12 #line directive, leave the file name alone. The previous
13 behaviour was to make it relative to the tags file directory,
14 under the hypothesis that the #line directive file name was
15 relative to the directory of the tagged file. That hypothesis is
16 wrong with Cpp and Lex.
17 (Makefile_targets): Do not include spaces in tag names.
18
19 2006-12-22 Eli Zaretskii <eliz@gnu.org>
20
21 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
22 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
23 (test-distrib, $(DOC), all): depend on stamp_BLD instead of $(BLD).
24 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
25 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
26 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
27 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
28 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
29 (clean): Delete stamp_BLD.
30
31 2006-12-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
32
33 * etags.c (C_entries): DEFUN names were longer by one: corrected.
34
35 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
36
37 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
38 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
39 (main) [WINDOWSNT]: Remove code to release the focus; call
40 w32_give_focus instead.
41
42 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
43
44 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
45 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
46 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
47 Suggestions and comment by Eli Zaretskii.
48
49 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
50
51 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
52 Use $(USER32) for compatibility with Visual Studio .NET 2003.
53
54 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
55
56 * emacsclient.c (emacs_pid): New variable.
57 (message): Remove leftover code.
58 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
59 focus yet; emacsclient can still display an informational message
60 before sending requests to Emacs.
61 (main): Allow Emacs to grab the focus. Simplify message() call.
62
63 2006-11-30 Michael Mauger <mmaug@yahoo.com>
64
65 * emacsclient.c (message): Make sure the message is properly
66 written even if it contains printf escapes, and flush the result.
67 (set_tcp_socket): Make the message for non-local connections
68 informational rather than an error.
69
70 2006-11-28 Kevin Ryde <user42@zip.com.au>
71
72 * etags.c (readline): Check for double quote after #line.
73
74 2006-11-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
75
76 * etags.c (readline): sscanf could in principle return 2.
77
78 2006-11-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
79
80 * etags.c (readline): lno is unsigned.
81 (TeX_commands): Use p++ (rather than *p++) to increment p.
82 (Lua_functions): Explicitly discard LOOKING_AT's return value.
83
84 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
85
86 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
87 ($(TRES)): New rule (copied from nt/makefile.w32-in).
88 ($(BLD)/emacsclientw.exe): Add dependency.
89
90 2006-11-27 Eli Zaretskii <eliz@gnu.org>
91
92 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on
93 makefile.w32-in.
94
95 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
96
97 * makefile.w32-in (VERSION): New macro.
98 (ECLIENT_CFLAGS): Add -DVERSION.
99
100 2006-11-25 Jason Rumney <jasonr@gnu.org>
101
102 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
103
104 2006-11-24 Michael Mauger <mmaug@yahoo.com>
105
106 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
107 file names with forward slashes.
108
109 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
110
111 * emacsclient.c (print_help_and_exit): Tweak message contents and
112 tabs/spaces to improve alignment in message boxes.
113
114 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
115
116 * emacsclient.c: Include <stdarg.h>.
117 [WINDOWSNT]: Include <windows.h>.
118 (w32_check_console_app): New function.
119 (message): New function.
120 (decode_options, print_help_and_exit, fail, main)
121 (initialize_sockets, get_server_config, set_tcp_socket)
122 (set_local_socket, set_socket): Use message().
123
124 2006-11-13 Jason Rumney <jasonr@gnu.org>
125
126 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
127 HAVE_INET_SOCKETS.
128
129 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
130
131 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
132 ($(BLD)/emacsclientw.exe): New target.
133 (install): Install emacsclientw.exe.
134 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
135 (ECLIENT_CFLAGS): Remove redundant flags.
136
137 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
138
139 2006-11-13 Jason Rumney <jasonr@gnu.org>
140
141 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
142
143 2006-11-10 David Reitter <david.reitter@gmail.com>
144
145 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
146
147 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
148
149 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
150 FARPROC to avoid a compiler warning.
151
152 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
153
154 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
155 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
156
157 * emacsclient.c (get_server_config): Extract also the Emacs pid
158 from the server file. On Windows, try to force the Emacs frame to
159 the foreground.
160
161 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
162
163 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
164 option --socket-name.
165 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
166 command line options.
167 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
168 (fail): Don't check for missing arguments, it is now done in set_socket.
169 (file_name_absolute_p): New function (loosely based on the one in
170 fileio.c).
171 (initialize_sockets): Don't check for duplicate loading of Winsock.
172 (get_server_config): Only try relative paths in the default
173 directory locations.
174 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
175 a remote server.
176 (set_socket): Call INITIALIZE(). Search explicit command-line
177 arguments, then environment variable EMACS_SERVER_FILE, then implicit
178 socket paths, before trying the alternate editor.
179 (main): Use file_name_absolute_p.
180
181 2006-11-04 Eli Zaretskii <eliz@gnu.org>
182
183 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
184 file if it doesn't already exist.
185
186 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
187
188 * emacsclient.c (initialize_sockets): Don't initialize Winsock
189 more than once.
190
191 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
192
193 * Makefile.in (INSTALL_SCRIPT): New macro.
194 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
195
196 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
197
198 * grep-changelog: When called with no arguments (not even a
199 filter), show help instead of blindingly dumping every single
200 ChangeLog available. Doc fix. Update version.
201
202 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
203
204 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
205 [!WINDOWSNT]: Include <netinet/in.h> if available.
206 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
207 (IOCTL, IOCTL_BOOL_ARG): Remove.
208 (set_tcp_socket): Don't set the socket in blocking mode.
209 Remove c_arg.
210
211 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
212
213 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
214 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
215
216 2006-10-31 \e,bS\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
217
218 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
219 (close_winsock): Declare as __cdecl.
220
221 2006-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
222
223 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
224 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
225 to set the socket in non-blocking mode.
226
227 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
228
229 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
230 (INVALID_SOCKET): Define.
231 (initialize_sockets): Put #endif at the right place.
232 (set_local_socket): Use progname, not argv[0].
233
234 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
235
236 * makefile.w32-in (ALL): Add emacsclient.
237 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
238 (emacsclient, $(BLD)/emacsclient.exe): New targets.
239 (install): Install emacsclient.
240
241 * emacsclient.c: Add support for TCP sockets.
242 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
243 (INITIALIZE): New macros.
244 (IOCTL_BOOL_ARG): New typedef.
245 (server_file): New global variable.
246 (longopts): New option --server-file.
247 (decode_options): Process new option --server-file and environment
248 variable EMACS_SERVER_FILE.
249 (print_help_and_exit): Document new option.
250 (fail): If no connection available and no alternate editor,
251 suggest using options to make them explicit.
252 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
253 (send_buffer, sblen): New variables.
254 (send_to_emacs): New function to buffer output and send it with
255 send().
256 (quote_file_name): Use SEND_STRING.
257 (close_winsock, initialize_sockets): New functions to load and
258 unload Winsock.
259 (get_server_config, set_tcp_socket): New functions to create and
260 set up TCP sockets.
261 (set_local_socket): New function to create and set up Unix
262 socket (code moved from previous implementation).
263 (set_socket): New function to chose between TCP and Unix sockets.
264 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
265 set_local_socket. Use set_socket. Get answers from server.el with
266 recv(), not file stream functions.
267
268 2006-10-09 Eli Zaretskii <eliz@gnu.org>
269
270 * makefile.w32-in (../src/config.h): Fix error message.
271
272 2006-09-30 Eli Zaretskii <eliz@gnu.org>
273
274 * .cvsignore: Add blessmail.
275
276 2006-09-15 Jay Belanger <belanger@truman.edu>
277
278 * COPYING: Replace "Library Public License" by "Lesser Public
279 License" throughout.
280
281 2006-08-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
282
283 * etags.c (readline): Expect sscanf returns >= 1.
284 (readline): Change position on %n and \" in sscanf.
285
286 2006-08-07 Masatake YAMATO <jet@gyve.org>
287
288 * etags.c (readline): Expect sscanf returns 2, not 1.
289
290 2006-08-07 Masatake YAMATO <jet@gyve.org>
291
292 * etags.c (TEX_mode): Check getc returns EOF.
293 File ended without newline causes infinite loop.
294
295 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
296
297 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
298
299 2006-07-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
300
301 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
302 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
303 (Objc_suffixes): Suggest using --lang=c for full help.
304 (C_entries): Initialise savetoken to 0 to shut up the compiler.
305
306 2006-07-20 Andreas Schwab <schwab@suse.de>
307
308 * fakemail.c (fatal): Drop second parameter and treat first
309 parameter as a plain string. Callers changed.
310
311 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
312
313 * ebrowse.c (usage, version): Mark as NO_RETURN.
314
315 * emacsclient.c (print_help_and_exit): Likewise.
316
317 2006-07-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
318
319 * etags.c (absolute_filename): Free unused space (cosmetic change).
320 (in_word_set): In C, also tag #undef symbols.
321
322 2006-06-09 Eli Zaretskii <eliz@gnu.org>
323
324 * yow.c: Remove file.
325
326 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
327
328 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
329 yow${EXEEXT}: Remove target.
330
331 2006-06-04 Masatake YAMATO <jet@gyve.org>
332
333 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
334 doesn't exist, is not seekable, not is failed in ftall.
335
336 2006-06-03 Eli Zaretskii <eliz@gnu.org>
337
338 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
339 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
340 ($(BLD)/test-distrib.exe): New targets.
341 (sorted-doc, digest-doc, test-distrib): New targets.
342 (install): Install sorted-doc.exe and digest-doc.exe.
343 ($(BLD)/sorted-doc.$(O)): Update dependencies.
344
345 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
346 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
347 terminal device.
348
349 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
350 [WINDOWSNT] <top level>: Don't redeclare malloc.
351 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
352 terminal device.
353 (main): Initialize bp, to avoid compiler warnings
354
355 * makefile.w32-in: Delete traces of leditcfns.c.
356
357 * leditcfns.c: Remove file.
358
359 2006-05-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
360
361 * pop.c (pop_open, socket_connection, KPOP_SERVICE): Added
362 comments explaining why the "kpop" service is never used.
363
364 2006-05-13 Eli Zaretskii <eliz@gnu.org>
365
366 * makefile.w32-in (lisp1): Add fringe.elc.
367
368 2006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
369
370 * etags.c (Perl_functions): Free space allocated for var package.
371 (Erlang_functions): Possibly free space allocated for var last.
372 (Prolog_functions): Possibly free space allocated for var last.
373
374 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
375
376 * sorted-doc.c (main): Initialize docs to NULL.
377
378 * yow.c (yow): Free buf.
379
380 * etags.c: Delete c-indentation-style local variable.
381
382 2006-04-29 Richard Stallman <rms@gnu.org>
383
384 * movemail.c (main): Check for negative value from `read'.
385
386 * fakemail.c (read_header): Give fatal error if input has no header.
387
388 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
389
390 * b2m.c (main): Don't include <limits.h>.
391 (TM_YEAR_BASE): New macro.
392 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
393 that s/ files can override this. Use the more-conservative range
394 1000-9999.
395 (main): Check for asctime returning NULL.
396 * fakemail.c: Likewise.
397
398 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
399
400 * b2m.c: Include <limits.h>.
401 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
402 (main): Check for out-of-range time stamps.
403 * fakemail.c: Likewise.
404
405 2006-03-18 Andre Spiegel <spiegel@gnu.org>
406
407 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
408 execute $DIFF twice, and once with the wrong options.
409
410 2006-02-23 Claudio Fontana <claudio@gnu.org>
411
412 * Makefile.in (install, uninstall): Add DESTDIR variable to
413 support staged installations.
414
415 2005-12-30 Eli Zaretskii <eliz@gnu.org>
416
417 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
418 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
419 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
420 Rearrange the list to be similar to $(shortlisp) in
421 src/Makefile.in.
422 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
423 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
424 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
425 src/Makefile.in.
426
427 2005-12-22 Richard M. Stallman <rms@gnu.org>
428
429 * Makefile.in (update-game-score.o): Delete spurious final `\'.
430
431 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
432
433 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
434 which was never opened.
435
436 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
437
438 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
439 header files.)
440
441 2005-09-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
442
443 * etags.c: Preliminary Forth support.
444 (prolog_pr): Cast strlen to int before comparison.
445 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
446 the second argument is indeed a literal string.
447 (main): In append mode, sort the tags file after writing it.
448
449 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
450
451 * etags.c (longopts, print_help, main): The -a (--append) option
452 can be used in ctags also; for one, the Linux make file uses it.
453
454 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
455
456 * ebrowse.c (add_sym): Compare namespace names instead of
457 namespace objects. This prevents the parser from incorrectly
458 treating classes whose superclass is in another namespace.
459
460 2005-09-15 Richard M. Stallman <rms@gnu.org>
461
462 * Makefile.in (update-game-score.o): New target.
463 Compile and link this progranm separately.
464 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
465
466 2005-09-11 Jason Rumney <jasonr@gnu.org>
467
468 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
469 message instead.
470 (../src/paths.h): Removed.
471
472 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
473
474 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
475 generated. Ignore also ctags.c and getopt.h.
476
477 * makefile.w32-in (clean): Delete getopt.h.
478 (getopt.h): New rule.
479
480 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
481
482 Merge gnulib getopt implementation into Emacs.
483
484 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
485 (GETOPT_H): New macro, from gnulib.
486 (getopt.h): New rule, from gnulib.
487 (GETOPTOBJS): Now autoconfigured.
488 (GETOPTDEPS): getopt.h is now autoconfigured.
489 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
490 (getopt.o): Depend on ${srcdir}/gettext.h.
491 (movemail.o): Depend on $(GETOPT_H).
492 * getopt.c, getopt1.c: Sync from gnulib.
493 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
494 * getopt.h: Removed (now is getopt_.h).
495
496 2005-07-13 Ken Raeburn <raeburn@gnu.org>
497
498 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
499 (sendline): Add the \r\n to the line in a temporary buffer, and write
500 it all at once.
501
502 2005-07-04 Lute Kamstra <lute@gnu.org>
503
504 Update FSF's address in GPL notices.
505
506 2005-06-13 Eli Zaretskii <eliz@gnu.org>
507
508 * makefile.w32-in ($(DOC)): Fix last change.
509
510 2005-06-12 Eli Zaretskii <eliz@gnu.org>
511
512 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
513 temacs.exe, and the preloaded *.elc files. This avoids
514 unnecessary dumping and DOC rebuilding.
515
516 2005-06-04 Eli Zaretskii <eliz@gnu.org>
517
518 * ntlib.h (fileno): Don't define if already defined.
519
520 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
521
522 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
523 (yow): Use EXIT_FAILURE in case of memory error.
524
525 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
526
527 * make-docfile.c (DIRECTORY_SEP): New macro.
528 (IS_DIRECTORY_SEP): Use it.
529
530 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
531
532 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
533
534 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
535
536 * make-docfile.c: Undo previous change.
537
538 2005-02-04 Andreas Schwab <schwab@suse.de>
539
540 * movemail.c (fatal): Accept third parameter and pass down to error.
541 (pfatal_with_name): Pass error string as format parameter instead of
542 as part of format string.
543 (pfatal_and_delete): Likewise.
544 (main): Adjust call to fatal.
545 (xmalloc): Likewise.
546
547 2005-01-29 Richard M. Stallman <rms@gnu.org>
548
549 * movemail.c (popmail): Don't use Errmsg as format string.
550
551 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
552
553 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
554
555 2004-12-15 Andreas Schwab <schwab@suse.de>
556
557 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
558 preprocessing to compile time constant.
559
560 2004-11-17 Kim F. Storm <storm@cua.dk>
561
562 * etags.c: Undo last change.
563
564 2004-11-09 Kim F. Storm <storm@cua.dk>
565
566 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
567 silence compiler.
568
569 * hexl.c (main): Init local var c to silence compiler.
570
571 * etags.c (main, consider_token, C_entries): Add misc switch
572 default targets to silence compiler.
573
574 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
575
576 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
577 resulting DOC file can be used on Unix/Mac also.
578
579 2004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
580
581 * etags.c (main): When relative file names are given as argument,
582 make them relative to the current working dir, rather than
583 relative to the output tags file, if the latter is in /dev.
584
585 2004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
586
587 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
588 <stdlib.h> is available.
589 (enum sym_type): New st_C_attribute value for parsing
590 gcc's __attribute__. Deleted st_C_typespec value.
591 (gperf, in_word_set): Use gperf 3, options changed. Added the
592 __attribute__ keyword, removed all the st_C_typespec keywords,
593 changed attribute for Java to (C_JAVA & !C_PLPL).
594 (inattribute): New global bool, part of the C state machine.
595 (cblev): Identifier renamed to bracelev throughout.
596 (consider_token, C_entries): Numerous changes for making the
597 parser more robust and adding support for __attribute__.
598
599 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
600
601 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
602 Support the Lua scripting language <http://www.lua.org>.
603
604 2004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
605
606 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
607 for ease of use.
608
609 2004-07-17 Richard M. Stallman <rms@gnu.org>
610
611 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
612
613 2004-06-01 Juanma Barranquero <lektu@terra.es>
614
615 * makefile.w32-in (obj): Add image.c.
616
617 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
618
619 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
620
621 2004-05-08 Jason Rumney <jasonr@gnu.org>
622
623 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
624 command-lines.
625
626 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
627
628 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
629 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
630 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
631
632 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
633 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
634 * test-distrib.c, update-game-score.c, yow.c: Likewise.
635
636 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
637
638 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
639
640 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
641
642 * b2m.c (GOOD, BAD): Delete macros. Throughout,
643 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
644 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
645
646 * etags.c: Likewise.
647
648 2004-05-03 Jason Rumney <jasonr@gnu.org>
649
650 * makefile.nt: Remove.
651
652 2004-04-26 Eli Zaretskii <eliz@gnu.org>
653
654 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
655 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
656 instead of a literal '/'.
657
658 2004-04-23 Juanma Barranquero <lektu@terra.es>
659
660 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
661
662 2004-04-17 Paul Eggert <eggert@gnu.org>
663
664 * rcs2log (Help): Clarify wording of the usage message.
665 Problem reported by Alan Mackenzie in
666 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
667
668 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * make-docfile.c (xmalloc): Fix return type.
671 (put_filename): New fun.
672 (scan_file): Use it.
673
674 2004-03-09 Juanma Barranquero <lektu@terra.es>
675
676 * grep-changelog: Changes to support ChangeLog.10+.
677 (main): Tidy up usage string. Fix "Use of uninitialized value"
678 warning. Set version to 0.2. Parse the directory listing to get
679 any ChangeLog.n file, not just 1..9.
680 (header_match_p, entry_match_p, print_log, parse_changelog):
681 Remove Perl prototypes (their purpose is to help the parser, which
682 isn't needed here, not declare arguments).
683 (parse_changelog): Make --reverse faster on big batches by not
684 modifying the entries list.
685
686 2004-03-01 Juanma Barranquero <lektu@terra.es>
687
688 * makefile.w32-in (obj): Add fringe.c.
689
690 2004-02-14 Paul Eggert <eggert@twinsun.com>
691
692 * rcs2log: Work correctly if CVSROOT specifies :fork: or
693 :local: methods, or omits the colon between the hostname
694 and the path. Allow :/ in repository path, since CVS does.
695 Fix typo: "pository" should be set from $CVSROOT, not $repository.
696 This fixes a bug reported by Wolfgang Scherer in
697 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
698 along with some related bugs I discovered by inspecting how
699 CVS itself parses $CVSROOT.
700
701 2004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
702
703 * emacsclient.c (decode_options): Fix handling of alternate editor.
704
705 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacsclient.c (main): Don't use the hostname in the socket name.
708 Look for relative socket names in the /tmp dir rather than in cwd.
709
710 2004-01-24 Richard M. Stallman <rms@gnu.org>
711
712 * emacsclient.c (main): Restore errno from saved_errno,
713 so the error message comes from socket_status.
714
715 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * emacsclient.c (main): Stop if socket name too long.
718 Only try su-fallback if the socket name was not explicit.
719 Check socket name length in su-fallback case as well.
720
721 2004-01-08 Andreas Schwab <schwab@suse.de>
722
723 * emacsclient.c (main): Save errno from socket_status.
724
725 2004-01-04 Andreas Schwab <schwab@suse.de>
726
727 * emacsclient.c (main): Fix socket name when using another user.
728
729 2003-12-27 Paul Eggert <eggert@twinsun.com>
730
731 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
732 a tag, and if the user has not specified an rlog option.
733 Adapted from a suggestion by Martin Stjernholm in
734 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
735 (Copyright): Update to 2003.
736
737 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
738
739 * make-docfile.c (main): For return code, no longer special-case VMS.
740 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
741
742 2003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
743
744 * emacsclient.c (quote_file_name): Print the result instead of
745 returning it. Fix the return type accordingly.
746 (main): With --eval, if no file name, read from stdin.
747 Quote file names.
748
749 2003-09-10 Richard M. Stallman <rms@gnu.org>
750
751 * emacsclient.c (main): Use socket_name.
752
753 2003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
754
755 * emacsclient.c (socket_name): New variable.
756 (longopts, decode_options, print_help_and_exit):
757 Handle --socket-name argument.
758
759 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
760
761 * etags.c (consider_token): Check C++ `operator' only when the
762 token len is long enough.
763
764 2003-08-20 Dave Love <fx@gnu.org>
765
766 * Makefile.in: Remove obsolete references to alloca.
767
768 2003-07-29 Ken Brush <ken@wirex.com>
769
770 * emacsclient.c (main)
771 * etags.c (suggest_asking_for_help)
772 * movemail.c (main): Fix having macros in a printf statement.
773
774 2003-05-31 Juanma Barranquero <lektu@terra.es>
775
776 * makefile.w32-in (lisp): Fix references to byte-run.el,
777 float-sup.el and map-ynp.el, which are now in emacs-lisp.
778
779 2003-05-22 Dave Love <fx@gnu.org>
780
781 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
782 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
783
784 2003-05-20 Dave Love <fx@gnu.org>
785
786 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
787
788 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
789
790 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
791
792 * update-game-score.c (read_scores): Fix corruption of scores on read.
793
794 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
795
796 * emacsclient.c (main): Use new safe location for socket.
797
798 2003-03-12 Tom Tromey <tromey@redhat.com>
799
800 * emacsclient.c (print_help_and_exit): Print to stdout.
801 Exit successfully. Added some blank lines for readability.
802 (decode_options): Don't call print_help_and_exit in default case.
803 Print version information to stdout.
804 (main): Don't call print_help_and_exit.
805
806 2003-02-15 Richard M. Stallman <rms@gnu.org>
807
808 * cvtmail.c: Cast result of malloc and realloc.
809 Don't include stdlib.h, becuase config.h does.
810 (malloc, realloc): Declarations deleted.
811
812 * yow.c (yow): Cast result of malloc and realloc.
813 (malloc, realloc): Declarations deleted.
814
815 2003-02-11 Juanma Barranquero <lektu@terra.es>
816
817 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
818
819 2003-02-08 Andreas Schwab <schwab@suse.de>
820
821 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
822 instead of the substitution.
823
824 2003-02-04 Richard M. Stallman <rms@gnu.org>
825
826 * update-game-score.c (push_score, read_scores): Cast values
827 of malloc and realloc.
828 (main, lock_file): Avoid assignment inside if.
829
830 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
831
832 * Makefile.in: Use @EXEEXT@ for Cygwin.
833
834 2003-01-21 Dave Love <fx@gnu.org>
835
836 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
837 column-0 `('.
838
839 * yow.c: Don't include string.h.
840
841 2003-01-20 Richard M. Stallman <rms@gnu.org>
842
843 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
844 New targets.
845
846 2003-01-06 Kim F. Storm <storm@cua.dk>
847
848 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
849 All uses changed.
850
851 2002-12-18 Andrew Innes <andrewi@gnu.org>
852
853 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
854 because GNU make doesn't append when using >> redirection.
855
856 2002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
857
858 * b2m.pl: Make sure every message ends with a blank line, because
859 some mbox parsers require a blank line before "From " lines.
860
861 2002-12-08 Richard M. Stallman <rms@gnu.org>
862
863 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
864 (_): Test only HAVE_LIBINTL_H to decide what to do.
865
866 2002-12-05 Richard M. Stallman <rms@gnu.org>
867
868 * getopt.c: Comment out include of libintl.h or gettext.h.
869
870 2002-12-04 Richard M. Stallman <rms@gnu.org>
871
872 * Update getopt from gnulib version; changes described below.
873
874 * getopt1.c: Conditionally find getopt.h.
875 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
876
877 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
878 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
879 (wchar.h): Include, maybe.
880 (attribute_hidden): Define if not defind.
881 (__getopt_initialized): Use attribute_hidden.
882 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
883 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
884 Conditional on USE_NONOPTION_FLAGS.
885 (SWAP_FLAGS): New definitions.
886 (exchange): Test USE_NONOPTION_FLAGS.
887 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
888 (_getopt_internal): Error if argc < 1. New local var print_errors.
889 Improve test for ambiguous long option.
890 Add LIBIO support for error message output.
891 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
892
893 * getopt.h: Maybe include ctype.h.
894 Treat __cplusplus like __STDC__.
895 (decls): Use __ in arg names.
896
897 2002-12-02 Stephen Eglen <stephen@gnu.org>
898
899 * emacsclient.c (main): Tell user how to start server within Emacs
900 if socket could not be found.
901
902 2002-12-02 Richard M. Stallman <rms@gnu.org>
903
904 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
905
906 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
907
908 * makefile.w32-in: Fixed a bug that caused the documentation for
909 the built in function play-sound-internal not to be included in
910 /etc/DOC.
911
912 2002-11-18 Dave Love <fx@gnu.org>
913
914 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
915 fcntl.h, stdarg.h conditionally.
916 (_GNU_SOURCE, __attribute__): Don't define.
917 (optarg, optind, opterr): Declare.
918 (lose, lose_syserr): Use NO_RETURN.
919 (get_user_id): Use P_.
920
921 2002-11-17 Richard M. Stallman <rms@gnu.org>
922
923 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
924
925 2002-11-14 Dave Love <fx@gnu.org>
926
927 * movemail.c (pop_retr): Declare comment.
928
929 * make-docfile.c (read_c_string_or_comment): Declare msgno.
930
931 * Makefile.in (YACC): Deleted.
932
933 2002-10-19 Andreas Schwab <schwab@suse.de>
934
935 * Makefile.in (${archlibdir}): Always create $(gamedir).
936 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
937
938 2002-10-04 Juanma Barranquero <lektu@terra.es>
939
940 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
941
942 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
943
944 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
945 completely.
946
947 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
948
949 * emacsclient.c: Remove SYSV support.
950 (eval, display): New vars.
951 (longopts): Add --eval and --display.
952 (decode_options): Add -e and -d processing.
953 (print_help_and_exit): Update the usage string.
954 (main): Add support for --eval and --display.
955 (main): Always use /tmp and non-qualified hostname.
956
957 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
958
959 * emacsserver.c: Remove.
960
961 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
962
963 * emacsclient.c (quote_file_name): Quote \n.
964 (main): Print a final \n when needed.
965
966 2002-09-03 Francesco Potort\e,Al\e(B <pot@gnu.org>
967
968 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
969 string that cannot be freed.
970
971 2002-08-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
972
973 * etags.c (consider_token, C_entries): Switch to C++ parsing when
974 auto-detection is enabled and the `::' qualifier is met.
975 (consider_token, C_entries): Several bugs corrected that tagged
976 some declarations even though --declarations was not used.
977 (plainc): New macro.
978 (C_entries): Use it.
979 (C_entries): Several cosmetic changes.
980 (C_entries): Invalidate the token is some cases.
981
982 2002-08-29 Francesco Potort\e,Al\e(B <pot@gnu.org>
983
984 * etags.c (C_entries): Correct a problem with const C++ funcs.
985 (ignoreindent): Renamed from noindentypedefs.
986 (cjava, cplpl): They are now macros instead of local vars.
987
988 2002-08-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
989
990 * etags.c (HTML_labels): Tag ID= also.
991
992 2002-08-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
993
994 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
995
996 * etags.c (HTML_labels): New language HTML.
997 (etags_strcasecmp): Like BSD's, for compatibility.
998 (strcaseeq): Make it into a macro.
999
1000 * etags.c (make_tag): Never generate null length tag names.
1001 (linebuffer_init): Renamed from initbuffer. All callers changed.
1002 (pattern): Structure renamed to `regexp', member regex renamed to
1003 pattern.
1004 (node_st): Member pat renamed to regex.
1005 (pattern); New member force_explicit_name, for future use.
1006 Now always set to true, cannot be reset.
1007 (add_regex, regex_tag_multiline, readline): Use it.
1008 (main): Free some global structures.
1009 (fdesc): New member `written'.
1010 (readline, process_file): Initialise it.
1011 (put_entries): Set it.
1012 (main): Use it to create entries for files without tags.
1013 (total_size_of_entries): Do not count invalid tags.
1014
1015 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1016
1017 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1018 for the function name in the usage info.
1019
1020 2002-07-31 Colin Walters <walters@gnu.org>
1021
1022 * update-game-score.c (P_): New macro. Use it for all prototypes.
1023 (lose): Don't use varargs.
1024 (lose_syserr): New function.
1025
1026 * update-game-score.c: Change all functions to K&R style.
1027
1028 2002-07-30 Andreas Schwab <schwab@suse.de>
1029
1030 * Makefile.in (localstatedir): New variable.
1031
1032 2002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1033
1034 * b2m.pl: Fix regexp for finding return address fields.
1035
1036 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1037
1038 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1039
1040 2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
1041
1042 * b2m.pl: Obey the rmail file and use the unpruned header properly.
1043
1044 2002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1045
1046 * b2m.pl: New file.
1047
1048 2002-06-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
1049
1050 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
1051 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1052 (PHP_functions, PHP_functions, Cobol_paragraphs)
1053 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1054 (prolog_pr, erlang_func, erlang_attribute)
1055 (Perl_functions, Perl_functions, Pascal_functions)
1056 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1057 (get_tag): Prototype changed, all callers changed.
1058
1059 2002-06-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
1060
1061 * etags.c: Implement implicit tag names, that is, unnamed tags
1062 whose name is automatically deduced by etags.el. The advantage is
1063 that there is no explicit tag name in most tags, so the size of
1064 the tags file is reduced, yet find-tag is able to do a match as
1065 accurate as with named tags. See the comment in make_tag for details.
1066 (make_tag): New function (was the disabled function new_pfnote).
1067 (make_C_tag): Use it.
1068
1069 2002-06-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
1070
1071 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1072 (Makefile_targets): Tag variables unless --no-globals.
1073 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1074
1075 2002-06-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
1076
1077 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1078 (invalidate_nodes): Bug corrected.
1079 (print_help): Better help for regexps.
1080
1081 2002-06-13 Juanma Barranquero <lektu@terra.es>
1082
1083 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1084 font-core.elc.
1085
1086 2002-06-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
1087
1088 * etags.c: New multi-line regexp and new regexp syntax.
1089 (arg_type): at_icregexp label removed (obsolete).
1090 (pattern): New member multi_line for multi-line regexps.
1091 (filebuf): A global buffer containing the whole file as a string
1092 for multi-line regexp matching.
1093 (need_filebuf): Global flag raised if multi-line regexps used.
1094 (print_help): Document new regexp modifiers, remove references to
1095 obsolete option --ignore-case-regexp.
1096 (main): Do not set regexp syntax and translation table here.
1097 (main): Treat -c option as a backward compatibility hack.
1098 (main, find_entries): Init and free filebuf.
1099 (find_entries): Call regex_tag_multiline after the regular parser.
1100 (scan_separators): Check for untermintaed regexp and return NULL.
1101 (analyse_regex, add_regex): Remove the ignore_case argument, which
1102 is now a modifier to the regexp. All callers changed.
1103 (add_regex): Manage the regexp modifiers.
1104 (regex_tag_multiline): New function. Reads from filebuf.
1105 (readline_internal): If necessary, copy the whole file into filebuf.
1106 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1107
1108 2002-06-11 Francesco Potort\e,Al\e(B <pot@gnu.org>
1109
1110 * etags.c (add_regex): Better check for null regexps.
1111 (readline): Check for regex matching null string.
1112 (find_entries): Reorganisation.
1113
1114 2002-06-07 Francesco Potort\e,Al\e(B <pot@gnu.org>
1115
1116 * etags.c (scan_separators): Support all character escape
1117 sequences supported by Gcc.
1118 (find_entries): Rewind unconditionally.
1119 (find_entries): Do not call language functions directly, now calls
1120 itself.
1121 (find_entries): Do general initialisations here.
1122 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1123 (Ada_getit, Pascal_functions, Pascal_functions)
1124 (prolog_skip_comment): Do not do them here.
1125 (readline_internal): Increment lineno here.
1126 (readline): Conditionally undo readline_internal increment.
1127 (readline): Do not return a value.
1128
1129 2002-06-06 Francesco Potort\e,Al\e(B <pot@gnu.org>
1130
1131 * etags.c: New option --parse-stdin=FILE.
1132 (enum arg_type): New label at_stdin.
1133 (STDIN): New constant.
1134 (parsing_stdin): New flag.
1135 (longopts): New option --parse-stdin=NAME.
1136 (print_help): Document it.
1137 (main): Handle it.
1138 (process_file): Split into process_file and process_file_name.
1139 (process_file_name): New function.
1140
1141 * etags.c: Improvements and bug squashing in TeX handling.
1142 (TeX_commands): Skip comments.
1143 (TEX_defenv): Now contains more contructs.
1144 (TEX_cmt): Make it a static char and move it before TeX_commands.
1145 (TeX_commands): Shorten the tag to the brace after the name.
1146 (TeX_commands): Names now include the initial backslash.
1147 (TeX_commands): Names do not include numeric args #n.
1148 (TeX_commands): Correct line char number in tags.
1149 (TEX_tabent, TEX_token): Deleted.
1150 (TeX_commands, TEX_decode_env): Streamlined.
1151
1152 2002-06-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
1153
1154 * etags.c (main): Avoid a buffer overrun with sprintf.
1155
1156 2002-05-30 Richard M. Stallman <rms@gnu.org>
1157
1158 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1159 (LIBS_MOVE): Renamed from MOVE_LIBS.
1160
1161 2002-05-26 Paul Eggert <eggert@twinsun.com>
1162
1163 Reinstate the following change from 2002-03-22, which was
1164 inadvertently lost on 2002-04-13.
1165
1166 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1167 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1168 the latter usage.
1169
1170 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1171
1172 * pop.c (socket_connection): Move the code to resolve the POP
1173 host right before trying to connect with it.
1174
1175 2002-04-28 Colin Walters <walters@verbum.org>
1176
1177 * Makefile.in (${archlibdir}): Don't conditionalize on
1178 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1179 or not we have access to the specified game user.
1180
1181 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1182 (main): New argument -d, for specifying directory.
1183 (usage): Document.
1184 (get_user_id): Compute.
1185 (get_home_dir): Deleted.
1186 (get_prefix): New function, taken from main.
1187 (main): Check whether or not we are running setuid. Move prefix
1188 computation to get_prefix. Don't call getpwent; we don't need to
1189 any more. Instead, move it to get_user_id().
1190
1191 2002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1192
1193 * ebrowse.c (skip_initializer): Return void.
1194
1195 2002-04-23 Colin Walters <walters@verbum.org>
1196
1197 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1198 space.
1199
1200 2002-04-22 Francesco Potort\e,Al\e(B <pot@gnu.org>
1201
1202 * etags.c (last_node): Make it a global variable.
1203 (process_file): Print the tags from the nodes as soon as
1204 possible, and delete the nodes. This brings down the memory
1205 occupancy as etags to almost the same level as when the #line
1206 directives were not parsed.
1207 (free_fdesc): New function.
1208 (find_entries): Use it.
1209 (invalidate_nodes): In etags mode, do not just mark the nodes as
1210 invalid, do delete them.
1211
1212 2002-04-21 Gerd Moellmann <gerd@gnu.org>
1213
1214 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1215
1216 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1217
1218 * update-game-score.c: Move config.h before the other headers, to
1219 avoid compiler warnings.
1220
1221 2002-04-16 Francesco Potort\e,Al\e(B <pot@gnu.org>
1222
1223 * etags.c (find_entries): Bug fix in list management.
1224
1225 2002-04-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
1226
1227 * etags.c (get_language_from_filename): Add one argument.
1228 (strcaseeq): New function.
1229 (get_language_from_filename): Use it to do a case insenstitive
1230 comparison if called with appropriate args.
1231 (find_entries): Try with case insensitive match.
1232 (process_file): Bug fixed.
1233
1234 2002-04-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
1235
1236 * etags.c (find_entries): Delete tags previously obtained from
1237 file xxx.c's #line directives when parsing file xxx.y. This is
1238 generally done for automatically generated files containing
1239 #line directives. This handles the case when xxx.y is tagged
1240 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1241 be discarded.
1242 (language): Add the metasource member. Initializers changed.
1243 (invalidate_nodes): New function.
1244 (readline): Discard lines after having found a #line
1245 directive pointing to an already tagged file. This handles the
1246 case when xxx.y is tagged before xxx.c, and the entries of
1247 xxx.c pointing to xxx.y should be discarded.
1248 (fdesc): New structure for keeping track of input files.
1249 (fdesc): Remove `file' member (a string) and use instead a pointer
1250 to a file description structure.
1251 (curfile, curfiledir, curtagfname, curlang, nocharno)
1252 (forced_lang): Global variables removed in favor of fdhead and
1253 curfdp, pointers to file description strucures.
1254 (longopts, main, print_help): Use the CTAGS conditional to include
1255 or exclude options that work on etags or ctags only.
1256 (process_file, find_entries, pfnote, add_node, put_entries)
1257 (readline): Use fdhead and curfdp.
1258 (process_file, find_entries): Do not take an arg string, all
1259 callers changed.
1260
1261 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1262 options that are not right for either etags or ctags.
1263
1264 * etags.c (number_len, total_size_of_entries): Define them also
1265 in CTAGS mode, because gcc does not compile all refs away.
1266
1267 2002-04-14 Colin Walters <walters@debian.org>
1268
1269 * update-game-score.c (lock_file): If the lock file is older than
1270 an hour, delete it. Reset attempts to zero if we have to break
1271 the lock.
1272
1273 2002-04-14 Andreas Schwab <schwab@suse.de>
1274
1275 * update-game-score.c (read_score): Fix type of second parameter
1276 of getdelim to be of type size_t instead of int. Use 0 instead of
1277 ESUCCES.
1278
1279 2002-04-10 Colin Walters <walters@verbum.org>
1280
1281 * update-game-score.c (toplevel): Include stdarg.h.
1282 (MAX_DATA_LEN, MAX_SCORES): New.
1283 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1284 default to ~/.emacs.d/games.
1285 (get_user_id): Don't zero uid in the case where we can't get the
1286 username.
1287 (lose): New function.
1288 (main): Actually use `max', and default it to MAX_SCORES.
1289 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1290 function.
1291 (read_score): Handle the case of reading unamelen characters, then
1292 finishing. Use mktemp if mkstemp isn't available.
1293 (lock_file, unlock_file): Delete unused versions.
1294 (lock_file): Always sleep, even if we unlinked the lock file.
1295
1296 * Makefile.in (gamedir, gameuser): New variables.
1297 (toplevel, UTILITIES): Add update-game-score.
1298 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1299
1300 2002-04-07 Colin Walters <walters@verbum.org>
1301
1302 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1303 (get_user_id): Take struct passwd as an argument.
1304 (get_home_dir): New function.
1305 (main): Read in user information here. Discover home directory if
1306 necessary.
1307 (read_score): Trim newline only in `getline' case.
1308
1309 2002-04-05 Colin Walters <walters@debian.org>
1310
1311 * update-game-score.c (toplevel): Include pwd.h.
1312 (struct score_entry): Add username field.
1313 (push_score): Use it.
1314 (get_user_id): New function.
1315 (main): Don't malloc excessively.
1316 (main): Use username field.
1317 (read_score): Read it.
1318 (push_score): Handle it.
1319 (write_scores) Write it.
1320 (read_score): Handle arbitrary length data.
1321
1322 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1323
1324 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1325
1326 2002-03-29 Gerd Moellmann <gerd@gnu.org>
1327
1328 * ebrowse.c (add_declarator, skip_initializer): New functions.
1329 (declaration): Use them.
1330
1331 2002-03-28 Jason Rumney <jasonr@gnu.org>
1332
1333 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1334
1335 2002-03-27 Colin Walters <walters@debian.org>
1336
1337 * update-game-score.c: New file.
1338
1339 2002-03-22 Paul Eggert <eggert@twinsun.com>
1340
1341 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1342 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1343 the latter usage.
1344
1345 2002-03-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
1346
1347 * etags.c (Python_functions): Skip spaces at beginning of lines.
1348 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1349 (TeX_commands): Name tags. Correction of old disabled code.
1350
1351 * etags.c (curfiledir, curtagfname): New global variables.
1352 (process_file): Initialise them.
1353 (readline): Canonicalize the name found in #line directive.
1354
1355 2002-03-06 Jason Rumney <jasonr@gnu.org>
1356
1357 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1358 compilers that don't optimize out dead code.
1359
1360 2002-03-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
1361
1362 * etags.c: Honour #line directives.
1363 (no_line_directive): New global var; set it for old behaviour.
1364 (main): Remove some #ifdef in the getopt switch.
1365 (add_node, put_entries): Code added to merge different chunks of
1366 nodes referring to the same file. Currently the tags are just
1367 appended, without any check for duplicates.
1368 (Perl_functions): Do not special case ctags.
1369 (readline): Identify #line directives and do the right thing.
1370 (nocharno, invalidcharno): New global vars.
1371 (process_file): Reset nocharno.
1372 (readline): Set nocharno.
1373 (pfnote): Read nocharno and maybe put invalidcharno in node.
1374 (total_size_of_entries, put_entries): Use invalidcharno.
1375
1376 * etags.c: Keep the whole tag table in memory, even in etags mode.
1377 (main): Call put_entries here even in CTAGS mode.
1378 (main, process_file): Check the return values of fclose and pclose.
1379 (process_file): Do not call put_entries after parsing each file.
1380 (process_file): Canonicalise file names even for ctags.
1381 (process_file): Set curfile here...
1382 (find_entries): ... not here any more.
1383 (add_node): In etags mode, build a linked list of entries (on
1384 right pointer) for each file, and link the first entry of each
1385 file on left nodes.
1386 (put_entries): Print here the name of the file.
1387 (put_entries): Print the entries starting from the first file.
1388 (number_len, total_size_of_entries): Define these only in etags
1389 mode, make the second work only on the right nodes.
1390
1391 * etags.c: Make all global variables static.
1392
1393 2002-02-25 Juanma Barranquero <lektu@terra.es>
1394
1395 * makefile.w32-in (lisp): Add missing backslash.
1396
1397 2002-02-24 Jason Rumney <jasonr@gnu.org>
1398
1399 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1400 using .elc files.
1401 (lisp): Sync with list in src/Makefile.in
1402 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1403
1404 2002-02-10 Paul Eggert <eggert@twinsun.com>
1405
1406 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1407 disallows the old syntax.
1408
1409 2002-02-03 Paul Eggert <eggert@twinsun.com>
1410
1411 * rcs2log(Copyright): Update to 2002.
1412 (AWK, TMPDIR): Work around portability problem in broken shells that
1413 don't understand `: ${VAR=val}'.
1414 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1415 Prefer the new -k option to the traditional +M -N option.
1416
1417 2002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1418
1419 * b2m.c (main): Parenthesize assignment when used as truth value
1420 to prevent gcc warnings.
1421
1422 * fakemail.c: Include <config.h>.
1423
1424 2001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1425
1426 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1427 * yow.c: Include <config.h>.
1428
1429 2001-12-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
1430
1431 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1432 (get_tag): Return a pointer to the tag that is found.
1433
1434 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1435 (F_takeprec): Renamed from takeprec. All callers changed.
1436 (F_getit): Renamed from getit. All callers changed.
1437 (nocase_tail): Renamed from tail. All callers changed.
1438 (Ada_getit): Renamed from adagetit. All callers changed.
1439 (L_getit): Simplify by using get_tag.
1440 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1441 modified LOOKING_AT.
1442 (notinname): Removed '[' and added ')' to the recognised chars.
1443 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1444 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1445 Clarified, using strneq or notinname.
1446 (L_isdef, L_isquote): Removed.
1447 (Lisp_functions, L_getit): Clarified.
1448
1449 * etags.c (P_): Renamed to __P for consistency with config.h.
1450 [HAVE_CONFIG_H]: Let config.h deal with __P.
1451 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1452 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1453 gperf code needs it.
1454 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1455 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
1456 (xmalloc, xrealloc): Use PTR instead of long *.
1457 (bool): Make it a define, not a typedef, for C++ compilers.
1458 (pattern): Members renamed to avoid name clash in some C++ compilers.
1459 (get_language_from_langname): Use const argument.
1460
1461 2001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1462
1463 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1464
1465 2001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1466
1467 * emacsserver.c: Conditionally include config.h.
1468
1469 * fakemail.c: Likewise.
1470
1471 * emacsclient.c: Include "config.h", not <../src/config.h>.
1472 (main): Parenthesize assignment when used as truth value to
1473 prevent gcc warnings.
1474
1475 * ebrowse.c: Include stdlib.h and string.h conditionally.
1476
1477 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1478
1479 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1480
1481 2001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1482
1483 * test-distrib.c: Fix previous change.
1484
1485 2001-12-18 Dave Love <fx@gnu.org>
1486
1487 * test-distrib.c: Conditionally include fcntl.h.
1488
1489 * fakemail.c: Include "config.h", not <../src/config.h>.
1490 (_XOPEN_SOURCE): Define as 500.
1491
1492 * emacsserver.c: Include "config.h", not <../src/config.h>.
1493
1494 * cvtmail.c: Include config.h, stdlib.h.
1495 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1496
1497 * yow.c: Conditionally include various headers. Use "epaths.h",
1498 not <../src/epaths.h>.
1499 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1500
1501 2001-12-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
1502
1503 * etags.c (PHP_functions): New function for parsing PHP.
1504 (LOOKING_AT): New macro.
1505 (Perl_functions, Python_functions, PHP_functions)
1506 (Scheme_functions, Texinfo_nodes): Use it.
1507 (Perl_functions): Use strneq.
1508 (prolog_pred): Renamed to prolog_pr.
1509 (prolog_pr): Recognise Prolog rules in addition to predicates.
1510 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
1511 unmodified compile, as Cygwin's regex.h is incompatible with us.
1512 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1513
1514 2001-12-11 Richard M. Stallman <rms@gnu.org>
1515
1516 * Makefile.in (clean): Don't delete ../etc/DOC*.
1517
1518 2001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1519
1520 * COPYING: Moved back.
1521
1522 2001-11-30 Andrew Innes <andrewi@gnu.org>
1523
1524 * makefile.w32-in (FACE_SUPPORT):
1525 (MOUSE_SUPPORT):
1526 (FLOAT_SUPPORT):
1527 (WINNT_SUPPORT):
1528 (lisp): Reference .el files instead of .elc files, to simplify
1529 bootstrapping.
1530 ($(DOC)): Change dependency to just `make-docfile'.
1531
1532 2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1533
1534 * COPYING: Removed.
1535
1536 2001-11-28 Paul Eggert <eggert@twinsun.com>
1537
1538 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1539
1540 The following changes are derived from suggestions by Bob Chapman
1541 <rechapman@compuserve.com>.
1542
1543 * rcs2log (printlogline): Also allow tab and newline to separate
1544 '(function):' from the rest of a comment.
1545 (reformat the sorted log entries): Require date and author to
1546 match the clumpname.
1547
1548 2001-11-16 Gerd Moellmann <gerd@gnu.org>
1549
1550 * ebrowse.c (matching_regexp): Escape '\\'.
1551
1552 2001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1553
1554 * Makefile.in: Add support for --program-prefix, --program-suffix
1555 and --program-transform-name options.
1556
1557 2001-11-03 Richard M. Stallman <rms@gnu.org>
1558
1559 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1560
1561 * movemail.c (popmail): Always pass two args to `error'.
1562
1563 2001-10-24 Ken Raeburn <raeburn@gnu.org>
1564
1565 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1566 -lhesiod and maybe -lresolv.
1567 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1568 support if it's available.
1569
1570 2001-10-21 Miles Bader <miles@gnu.org>
1571
1572 * make-docfile.c (struct rcsoc_state): New type.
1573 (read_c_string_or_comment): Add SAW_USAGE
1574 parameter, and implement scanning for a `usage:' keyword.
1575 Use a variable of type `rcsoc_state' to hold most of our state.
1576 (put_char): Add STATE parameter, and remove all other parameters
1577 except CH. Use STATE to get access to all needed state.
1578 (scan_keyword_or_put_char): New function.
1579 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1580 Don't output a usage-string if there was one in the doc-string.
1581
1582 2001-10-20 Gerd Moellmann <gerd@gnu.org>
1583
1584 * (Version 21.1 released.)
1585
1586 2001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1587
1588 * b2m.c: Properly spell the name of Emacs.
1589
1590 2001-10-17 Miles Bader <miles@gnu.org>
1591
1592 * make-docfile.c (put_char): New function.
1593 (read_c_string_or_comment): Strip trailing spaces and newlines.
1594
1595 2001-10-16 Miles Bader <miles@gnu.org>
1596
1597 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1598 comments [with `doc:' keyword prefix].
1599
1600 2001-10-15 Gerd Moellmann <gerd@gnu.org>
1601
1602 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1603 in a C doc comment.
1604
1605 2001-10-13 Gerd Moellmann <gerd@gnu.org>
1606
1607 * make-docfile.c (read_c_string_or_comment): Renamed from
1608 read_c_string. Add parameter COMMENT. Read C-style comments.
1609 (scan_c_file): Handle doc strings in C comments.
1610
1611 2001-10-12 Andrew Innes <andrewi@gnu.org>
1612
1613 * makefile.nt (ALL): Do not include fakemail.
1614
1615 * makefile.w32-in (install): Do not copy fakemail.
1616
1617 2001-10-10 Jason Rumney <jasonr@gnu.org>
1618
1619 * makefile.w32-in (ALL) Do not include fakemail.
1620
1621 * makefile.nt (install) Ditto.
1622
1623 2001-10-09 Gerd Moellmann <gerd@gnu.org>
1624
1625 * emacsserver.c (main): Cast geteuid in sprintf to int.
1626
1627 * emacsclient.c (main): Cast isdigit argument to unsigned char.
1628
1629 2001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1630
1631 * profile.c: Include config.h, not ../src/config.h.
1632 Include systime.h, not ../src/systime.h.
1633
1634 2001-10-05 Gerd Moellmann <gerd@gnu.org>
1635
1636 * Branch for 21.1.
1637
1638 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1639
1640 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1641 ALIASEE to help work with namespace aliases.
1642 (struct sym): Remove struct member NAMESP_ALIASES.
1643 (namespace_alias_table): New variable.
1644 (make_namespace): Add parameter CONTEXT.
1645 (check_namespace): New function.
1646 (find_namespace): Add parameter CONTEXT.
1647 (check_namespace_alias): New function.
1648 (register_namespace_alias): Change type of parameter OLD_NAME.
1649 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
1650 (check_namespace): New function.
1651 (enter_namespace): Call find_namespace with CONTEXT parameter.
1652 (match_qualified_namespace_alias): New function.
1653 (parse_qualified_ident_or_type): Fix typo in comment.
1654 While parsing qualified ident or type update namespace context and
1655 restore it on exit.
1656 (parse_qualified_param_ident_or_type): Fix typo in comment.
1657 (globals): Change handling of namespace aliases.
1658 (version): Add year 2001.
1659
1660 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1661
1662 * etags.c (analyse_regex): If regex_arg is NULL, return
1663 immediately after a call to free_patterns.
1664
1665 2001-09-05 Paul Eggert <eggert@twinsun.com>
1666
1667 * rcs2log (Help, mainline code): Add new option -L FILE.
1668 (Copyright): Update year.
1669 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1670 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
1671 C locale.
1672 (mainline code): Handle nonstandard -u option differently, by
1673 transforming it to standard form. Check for "Working file: ", not
1674 "Working file:". Allow file names with spaces.
1675 (SOH, rlogfile): New shell vars.
1676 (rlogout): Remove. Its old functionality is mostly migrated to
1677 rlogfile.
1678
1679 Append ';;' to the last arm of every case statement, for
1680 portability to ancient broken BSD shells.
1681
1682 (logins): Fix bug; was not being computed at all, lowering performance.
1683 (pository): New var. This fixes some bugs where repositories are
1684 remote, or have trailing slashes.
1685 (authors): $llogout is never an empty shell var, so don't worry
1686 about that possibility.
1687 (printlogline, mainline code): Fix bug with SOH's being put into
1688 the output.
1689
1690 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1691
1692 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1693 Suggested by Dave Love <d.love@dl.ac.uk>.
1694
1695 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1696
1697 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1698 * makefile.w32-in (lisp): Ditto.
1699
1700 2001-07-25 Juanma Barranquero <lektu@terra.es>
1701
1702 * grep-changelog (parse_changelog): Remove unused local variable.
1703
1704 * grep-changelog (main): Add new option --reverse.
1705 (print_log): Use it.
1706 (parse_changelog): Use it.
1707
1708 2001-07-20 Gerd Moellmann <gerd@gnu.org>
1709
1710 * grep-changelog: Remove RCS Id keyword.
1711
1712 2001-07-20 Juanma Barranquero <lektu@terra.es>
1713
1714 * grep-changelog (parse_changelog): Add tests for defined values
1715 to quiet warning from Perl 5.005 or above.
1716 (entry_match_p, header_match_p): Fix handling of null or empty
1717 argument to prevent duplicate headers.
1718
1719 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
1720
1721 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1722
1723 * emacsclient.c (print_help_and_exit): Fix help message for
1724 +LINE:COLUMN option.
1725
1726 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1727
1728 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1729 argument.
1730
1731 2001-07-16 Gerd Moellmann <gerd@gnu.org>
1732
1733 * ebrowse.c (main): Check that the output file exists and
1734 is non-empty if invoked with `--append'.
1735
1736 2001-05-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
1737
1738 * etags.c (add_regex): Reset the whole newly allocated pattern
1739 buffer instead of the individual members. It's safer and works
1740 with XEmacs.
1741
1742 * etags.1: Markups corrected.
1743
1744 2001-05-08 Gerd Moellmann <gerd@gnu.org>
1745
1746 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
1747
1748 2001-05-03 Gerd Moellmann <gerd@gnu.org>
1749
1750 * ebrowse.c (globals): Fix handling of namespace aliases.
1751
1752 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1753
1754 * etags.c (print_help): Enclose the regexp in the help text
1755 example in quotes.
1756
1757 2001-04-05 Dave Love <fx@gnu.org>
1758
1759 * emacsclient.c (fail): Don't return a value.
1760 (main): Cast uid values for sprintf.
1761
1762 2001-04-03 Gerd Moellmann <gerd@gnu.org>
1763
1764 * emacsclient.c (fail, main): Don't use implicit int return type.
1765
1766 * b2m.c (main): Always return a value.
1767
1768 2001-03-02 Gerd Moellmann <gerd@gnu.org>
1769
1770 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1771 freshly allocated object in *LAST_ID.
1772 (read_line): Accept \r\n line endings.
1773
1774 2001-02-24 Andrew Innes <andrewi@gnu.org>
1775
1776 * makefile.w32-in: Fix copyright notice.
1777
1778 2001-02-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
1779
1780 * etags.c (enum sym_type): New label st_C_template.
1781 (gperf input): Use it for switching to C++ from C.
1782 (consider_token): Do it.
1783 (C_entries): Initialise typdefcblev to quiet compilers.
1784 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
1785
1786 2001-02-22 Andrew Innes <andrewi@gnu.org>
1787
1788 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1789 VMS header files.
1790 ($(BLD)\profile.obj): Ditto.
1791
1792 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1793 VMS header files.
1794 ($(BLD)/profile.$(O)): Ditto.
1795
1796 2001-02-05 Andrew Innes <andrewi@gnu.org>
1797
1798 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1799 invocation of make-docfile, to work with Windows 2000.
1800
1801 2001-01-31 Dave Love <fx@gnu.org>
1802
1803 * etags.c (in_word_set): Use `static' in definition (for pcc).
1804
1805 2001-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
1806
1807 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
1808 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1809 (C_entries): Tag token renamed to still_in_token because sunos4
1810 pcc wants to expand it as the token() macro even though it has no
1811 arguments.
1812
1813 2001-01-30 Andrew Innes <andrewi@gnu.org>
1814
1815 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1816 bug in the Mingw32 assert.h header file.
1817
1818 2001-01-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
1819
1820 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1821 #define it for the sake of XEmacs.
1822 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1823 HAVE_CONFIG_H. This change only affects a standalone etags.
1824 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1825 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1826 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1827 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1828 WINDOWSNT, as this is the correct way to use it.
1829
1830 2001-01-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
1831
1832 * etags.c: Be capable to parse nested struct-like structures.
1833 (structdef, structtag): Struct state machine revisited.
1834 (struct tok): Revisited.
1835 (cstack, nestlev, instruct): New struct and macros.
1836 (pushclass_above, popclass_above, write_classname): New functions
1837 for dealing with nested class names.
1838 (consider_token, make_C_tag, C_entries): Many changes for dealing
1839 with arbitrarily nested structures.
1840 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1841 (C_entries): Consider templates in C++.
1842 (sym_type): New constant st_C_class for detecting "class" also in
1843 C mode.
1844 (C_AUTO): New macro for automatic detection of C++.
1845 (consider_token): Automatic set C++ mode.
1846 (C_entries): New security check for yacc.
1847 (print_language_names, print_help): Mention the autodetect
1848 feature, do not show help for the -C option, now mostly useless.
1849 (C_entries): Tag C++ forward declarations if --declarations.
1850 (C_entries): Don't be fooled by things like XDEFUN.
1851 (consider_token): Discard asm pseudo function.
1852
1853 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1854
1855 * etags.c: Add a coding: tag.
1856
1857 2001-01-26 Gerd Moellmann <gerd@gnu.org>
1858
1859 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
1860 New variables.
1861 (matching_regexp): Use them instead of static variables in
1862 function scope.
1863
1864 2001-01-25 Francesco Potort\e,Al\e(B <pot@gnu.org>
1865
1866 * etags.c (struct tok): Renamed from struct token.
1867 (token): Renamed from tok.
1868 (structtype): Make it a local variable.
1869 [DEBUG]: Use assert.
1870 (xrnew): Change the synopsis.
1871 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1872 (grow_linebuffer): Don't call xrnew when not needed.
1873 (token): Buffer renamed to line.
1874 (C_entries): Three calls to inibuffer moved here from main.
1875 (C_entries): Remove all references to var methodlen, delete it.
1876 (linebuffer_setlen): Was grow_buffer, now also sets len.
1877 (consider_token, C_entries, Pascal_functions): Use it.
1878 (C_entries): Preventing problems relative to extern "C".
1879 (C_entries): Can tag more than one variable or func separated by
1880 comma when --declarations is used.
1881 (C_entries): More accurate tagging of members and declarations.
1882 (yacc_rules): Was global, made local to C_entries.
1883 (next_token_is_func): Removed.
1884 (fvdef): New constants fdefunkey, fdefunname.
1885 (consider_token, C_entries): Use them.
1886 (C_entries): Build proper lisp names for Emacs DEFUNs.
1887
1888 2001-01-22 Gerd Moellmann <gerd@gnu.org>
1889
1890 * ebrowse.c (xfree): New function.
1891 (member, declaration, globals): Use xmalloc instead of alloca.
1892
1893 2001-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
1894
1895 * etags.c (print_language_names): Print filenames in addition to
1896 suffixes.
1897
1898 2001-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
1899
1900 * etags.c (get_language_from_langname): Renamed from
1901 get_language_from_name.
1902 (get_language_from_filename): Renamed from get_language_from_suffix.
1903 Now first looks for the complete file name.
1904 (language): New member char **filenames.
1905 (Makefile_filenames): List of possible filenames for makefiles.
1906 (lang_names): Add a NULL member for every entry, added an entry
1907 for makefiles.
1908 (Makefile_targets): New function.
1909 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1910 it conformant to the style of the rest of the code.
1911
1912 2001-01-13 Gerd Moellmann <gerd@gnu.org>
1913
1914 * make-docfile.c (write_c_args): Print newlines as spaces.
1915
1916 2001-01-06 Andrew Innes <andrewi@gnu.org>
1917
1918 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1919 of *.pdb.
1920
1921 2001-01-03 Paul Eggert <eggert@twinsun.com>
1922
1923 * lib-src/rcs2log: Avoid security hole allowing attacker to
1924 cause user of rcs2log to overwrite arbitrary files, fixing
1925 a bug reported by Morten Welinder.
1926
1927 Don't put "exit 1" at the end of the exit trap; it's
1928 ineffective in POSIX shells.
1929
1930 2001-01-02 Gerd Moellmann <gerd@gnu.org>
1931
1932 * ebrowse.c (yyerror): Change to take two arguments.
1933 Add prototype. Change callers.
1934
1935 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
1936
1937 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1938 compiler warnings.
1939 (yyerror): Change parameter declarations to be of type long, so
1940 that they can take pointers on 64-bit platforms.
1941
1942 * emacsclient.c (main): Remove unused local variable statbfr.
1943 (main) <homedir>: Make its declaration conditional on
1944 SERVER_HOME_DIR, to avoid compiler warnings.
1945
1946 * emacsserver.c (main) <homedir>: Make its declaration conditional
1947 on SERVER_HOME_DIR, to avoid compiler warnings.
1948
1949 * fakemail.c (readline): Cast buffer to "long *" to pacify
1950 over-zealous compilers.
1951
1952 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1953
1954 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1955
1956 2000-12-15 Gerd Moellmann <gerd@gnu.org>
1957
1958 * ebrowse.c (operator_name): Cast argument of isalpha to
1959 unsigned char.
1960
1961 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1962 Use them throughout instead of ctype functions/macros.
1963 (lowcase): Cast to unsigned char.
1964 (UPCASE): New macro.
1965 (canonicalize_filename): Use UPCASE instead toupper.
1966
1967 * fakemail.c (get_keyword): Make sure that isspace and
1968 similar aren't called with a negative argument.
1969
1970 2000-12-13 Dave Love <fx@gnu.org>
1971
1972 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1973
1974 2000-12-06 Andrew Innes <andrewi@gnu.org>
1975
1976 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1977 don't know the real version, and I can't seem to get the quoting
1978 right in all circumstances.
1979
1980 * ebrowse.c (VERSION): Provide default definition, like etags.c
1981 does, because Windows build can't snarf this from version.el.
1982
1983 2000-11-30 Andrew Innes <andrewi@gnu.org>
1984
1985 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1986 (install): Ditto.
1987
1988 2000-11-23 Jason Rumney <jasonr@gnu.org>
1989
1990 * makefile.w32-in: Add targets for ebrowse.exe.
1991 (LOCAL_FLAGS): Add -DVERSION flag.
1992
1993 2000-09-25 Dave Love <fx@gnu.org>
1994
1995 * sorted-doc.c: Include config.h.
1996 [!HAVE_STDLIB_H]: Declare malloc.
1997
1998 2000-09-14 Andrew Innes <andrewi@gnu.org>
1999
2000 * makefile.w32-in: Revert to Unix line endings.
2001
2002 2000-09-04 Dave Love <fx@gnu.org>
2003
2004 * movemail.c (index, rindex): Prototype conditionally.
2005
2006 2000-09-03 Andrew Innes <andrewi@gnu.org>
2007
2008 * makefile.w32-in: Change to DOS line endings.
2009
2010 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2011
2012 * movemail.c (toplevel): Remove redundant fcntl.h.
2013 [!F_OK]: Provide default definitions only after including both
2014 fcntl.h and unistd.h.
2015
2016 2000-08-29 Dave Love <fx@gnu.org>
2017
2018 * movemail.c: Revert previous change.
2019
2020 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2021
2022 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2023
2024 2000-08-28 Dave Love <fx@gnu.org>
2025
2026 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2027 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2028
2029 2000-08-22 Andrew Innes <andrewi@gnu.org>
2030
2031 * ntlib.h (WIN32): Remove unnecessary definition.
2032 (sleep): Make argument unsigned long.
2033 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2034
2035 * ntlib.c (sleep): Make argument unsigned long.
2036
2037 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2038
2039 * makefile.w32-in: New file.
2040
2041 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2042
2043 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2044 letter only if it is a drive letter.
2045
2046 2000-07-14 Gerd Moellmann <gerd@gnu.org>
2047
2048 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
2049
2050 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2051 by alloca.o.
2052
2053 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
2054
2055 2000-07-10 Gerd Moellmann <gerd@gnu.org>
2056
2057 * ebrowse.c (yylex): Accept string literals with newlines in them.
2058 (process_pp_line): Handle case of string literal with newline
2059 in it in replacement text, which counts as continuing the
2060 replacement text in GNU C.
2061
2062 2000-07-02 Gerd Moellmann <gerd@gnu.org>
2063
2064 * ebrowse.c (token_string): Add missing tokens.
2065 (parm_list): Handle case of qualified pointers.
2066
2067 2000-06-23 Dave Love <fx@gnu.org>
2068
2069 * ebrowse.c: Move config.h before other includes (which may use
2070 feature tests).
2071
2072 2000-06-14 Jim Meyering <meyering@lucent.com>
2073
2074 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2075
2076 2000-06-11 Jason Rumney <jasonr@gnu.org>
2077
2078 * makefile.nt: Add targets for ebrowse.
2079
2080 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2081 compare filenames.
2082
2083 2000-06-06 Gerd Moellmann <gerd@gnu.org>
2084
2085 * ebrowse.c (ymalloc): Renamed from xmalloc.
2086 (yrealloc): Renamed from xrealloc.
2087
2088 2000-05-21 Dave Love <fx@gnu.org>
2089
2090 * movemail.c: Include config.h, not ../src/config.h.
2091 (Errmsg): Bump length.
2092
2093 * pop.c (ERROR_MAX): Increase to 160.
2094
2095 2000-05-04 Gerd Moellmann <gerd@gnu.org>
2096
2097 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2098
2099 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2100
2101 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2102 Define to semi-colon.
2103 (FILENAME_EQ): New macro, for comparing file names.
2104 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
2105 (process_file): Don't assume that fread always reads as many bytes
2106 as it was told to (DOS-style CR-LF text files fail this logic).
2107 (open_file): Allocate enough space for path->path plus the file
2108 name and the slash.
2109
2110 2000-04-19 Dave Love <fx@gnu.org>
2111
2112 * etags.c (Texinfo_functions): New function.
2113 (lang_names): Install it.
2114 (Texinfo_suffixes): New variable.
2115
2116 2000-04-19 Gerd Moellmann <gerd@gnu.org>
2117
2118 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2119 (declaration): Remove parameter IS_EXTERN.
2120 (class_definition): Remove unused variable.
2121
2122 2000-04-09 Gerd Moellmann <gerd@gnu.org>
2123
2124 * Makefile.in (INSTALLABLES): Add ebrowse.
2125 (ebrowse): New target.
2126
2127 * ebrowse.c: New file.
2128
2129 2000-03-29 Andreas Schwab <schwab@suse.de>
2130
2131 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2132
2133 2000-03-02 Gerd Moellmann <gerd@gnu.org>
2134
2135 * etags.c (lisp_suffixes) Add `LSP'.
2136
2137 2000-02-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
2138
2139 * etags.c (iswhite): Redefine not to consider '\0' as white
2140 space, and use it throughout in place of isspace, thus preventing a
2141 potential signed char to int conversion problem.
2142 (MSDOS): #undefine befere redefining
2143
2144 2000-02-04 Francesco Potort\e,Al\e(B <pot@gnu.org>
2145
2146 * etags.c (many functions): Add prototypes.
2147
2148 2000-02-10 Dave Love <fx@gnu.org>
2149
2150 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2151 (erlang_func): Add `static' to definitions to keep pcc happy.
2152
2153 2000-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
2154
2155 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2156 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2157 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2158 (getenv, getcwd): Only declare them if necessary.
2159 (EMACS_NAME): New constant macro.
2160 (print_version): Use it.
2161 (P_) [__STDC__]: Macro for defining function prototypes.
2162
2163 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
2164
2165 * etags.c [WINDOWSNT]: #include <direct.h>
2166
2167 2000-01-18 Martin Buchholz <martin@xemacs.org>
2168
2169 * etags.c (all functions): Made them static.
2170 (all functions): Write prototypes.
2171
2172 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2173
2174 * movemail.c (main): Improve error message if can't create lock file.
2175
2176 2000-01-28 Eric Hanchrow <offby1@blarg.net>
2177
2178 * emacsclient.c (socket_status): New function.
2179 (main): If $LOGNAME or $USER exist and differ from our euid, look
2180 for a socket based on the UID associated with the name.
2181
2182 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2183
2184 * emacsclient.c: Add option -a EDITOR and environment variable
2185 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2186
2187 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
2188
2189 * movemail.c (popmail): Allow mailbox specifications of the
2190 form `po:username:hostname'.
2191
2192 1999-11-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
2193
2194 * etags.c (_GNU_SOURCE): Define only if undefined.
2195 (get_scheme): Declaration deleted.
2196 (main): Error was called with an integer as second arg, instead of
2197 a char pointer.
2198 (canonicalize_filename): Bug removed.
2199
2200 1999-11-18 Dave Love <d.love@dl.ac.uk>
2201
2202 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2203 lossage from name clash with macro.
2204
2205 1999-11-13 Gerd Moellmann <gerd@gnu.org>
2206
2207 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2208
2209 1999-11-03 Gerd Moellmann <gerd@gnu.org>
2210
2211 * etags.c (print_help): Change email address to send bugs to.
2212
2213 1999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>>
2214
2215 * etags.c: Add suffix psw for PSWrap.
2216 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2217 (Postscript_functions): Add code for PSWrap.
2218 (Scheme_functions): Use local pointer and new get_tag function.
2219 (get_tag): New name for old get_scheme.
2220 (process_file): Do not free NULL when file does not exist.
2221 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2222 (C_entries): Modifications that make --members tag even inside
2223 typedefs and C nested structs (one level only).
2224 (consider_token): Correct a bug which prevented tagging of enum
2225 constants.
2226 (C_stab_entry): Add if, for, while, switch, return as
2227 st_C_ignore. This makes it simpler to work when cblev!=0.
2228
2229 * etags.c (C_entries): Tag member function declarations when
2230 --declarations is used.
2231
2232 * etags.c (C_entries, consider_token): C++ `operator' now is
2233 tagged in most cases.
2234 As before, :: is not recognised if surrounded by spaces.
2235
2236 * etags.c (relative_filename): Account for DOS file names such
2237 that is impossible to make one relative to another.
2238
2239 * etags.c (sym_type): New st_C_extern tag.
2240 (gperf input): Use it for spotting external declarations.
2241 (print_help): Document the new behaviour of --declarations.
2242 (fvextern): New global variable.
2243 (consider_token, C_entries): Use it.
2244
2245 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2246 (etags_getcwd): Remove test for WINDOWSNT.
2247
2248 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2249 foo.cgz, foo.cz, etc.
2250
2251 * etags.c (declarations): New global switch.
2252 (longopts): Describe it.
2253 (print_help): Document it.
2254 (C_entries): Use it.
2255 (process_file): Don't process a file twice.
2256
2257 * etags.c (Fortran_functions): No tags for "procedure".
2258
2259 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2260
2261 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2262 non-zero, returns a pointer to where the extension begins; callers
2263 changed.
2264 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2265 were foo.c.gz.
2266
2267 1999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
2268
2269 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2270 (fvdev): New constant foperator.
2271 (consider_token): Use it to get "operator" in C++.
2272 (C_entries): Extend length of operator@ function name.
2273 (C_entries): Use foperator when necessary.
2274
2275 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2276
2277 * etags.c (compressor): New struct for compressed files.
2278 (get_compressor_from_suffix): New function.
2279 (get_language_from_suffix): Use it. Also, semantics changed.
2280 (process_file): Consider compressed files, close file.
2281 (find_entries): Use different call arg for get_language_from_suffix,
2282 don't close file.
2283
2284 * etags.c (main): Call free_tree.
2285 (find_entries): Do not free curfile.
2286 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2287 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2288 comparing.
2289 (canonicalize_filename): Shut up compiler warning.
2290 (Perl_functions): Make tag significant.
2291
2292 1999-11-01 Dave Love <d.love@dl.ac.uk>
2293
2294 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2295 (argument_type): New member at_icregexp.
2296 (lc_trans): New global.
2297 (main): Fill lc_trans. Process -c args.
2298 (add_regex): New arg determining whether to use translation table.
2299 (analyse_regex): New arg. Use it for add_regex.
2300
2301 1999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
2302
2303 * etags.c (init): Cosmetic change: NULL --> '\0'.
2304 (erlang_attribute): Bug corrected (uninitialized variable).
2305 (filename_is_absolute): New function replaces absolutefn macro and
2306 corrects a bug. All callers changed.
2307 (canonicalize_filename): New function.
2308 (process_file, etags_getcwd, absolute_dirname): Use it.
2309 (relative_filename, absolute_filename): Removed var shadowing.
2310 (C_entries, Pascal_functions): Add fake initializations to keep
2311 compilers quiet.
2312 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2313
2314 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2315 (language): New typedef (was struct lang_entry).
2316 (curlang): New global variable.
2317 (node): Typedef renamed from NODE.
2318 (linebuffer): New typedef (was struct linebuffer).
2319 (pattern): New typedef (was struct pattern). Some members added.
2320 Now used as element of a linked list.
2321 (patterns, num_patterns): Global variables deleted.
2322 (p_head): New global variable.
2323 (forced_lang): New global variable (replaces lang_func).
2324 (get_language_from_name, get_language_from_interpreter)
2325 (get_language_from_suffix): Semantics changed. All callers changed.
2326 (last_node): New global variable.
2327 (free_tree, add_node, put_entries, total_size_of_entries):
2328 Change name of local vars to avoid clashes with typedef node.
2329 (number_len): Rewritten for elegance.
2330 (token): New typedef replaces TOKEN.
2331 (analyse_regex, add_regex): Rewritten for new functionality.
2332 (free_patterns): New function called from main and add_regex.
2333 (initbuffer, readline_internal, readline, grow_linebuffer):
2334 Change name of local vars to avoid clashes with typedef linebuffer.
2335 (readline): Rewritten for new functionality.
2336
2337 * etags.c (Scheme_suffixes): New suffix ".ss".
2338 (print_help): --globals is now used for more than C-type languages.
2339 (Perl_functions): Tag global variables ("my" and "local").
2340
2341 * etags.c (print_help): Some messages clarified.
2342 (LOOP_ON_INPUT_LINES): New macro.
2343 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2344 (Python_functions, Cobol_paragraphs, Pascal_functions)
2345 (Lisp_functions, Postscript_functions, Scheme_functions)
2346 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2347 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2348 (Prolog_functions, Erlang_functions): Use a local variable instead
2349 of the global variable dbp.
2350 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2351 standard indentation.
2352
2353 * etags.c (Python_suffixes, lang_names, Python_functions):
2354 Python support.
2355 (skip_spaces, skip_non_spaces): Utility functions.
2356 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2357 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2358 (prolog_pred, erlanf_func, erlang_attribute): Use them.
2359 (eat_white): Deleted.
2360
2361 * etags.c (CHAR, init): Keep into account non US-ASCII
2362 characters and compilers with default signed chars.
2363 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2364 constructs.
2365 (C_stab_entry): "interface" in Java behaves like "class".
2366
2367 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2368 (main): Put interval syntax here.
2369 (add_regex): And remove it from here.
2370
2371 * etags.c (suggest_asking_for_help): Provide a
2372 meaningful help message with and without LONG_OPTIONS.
2373
2374 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2375 <stdlib.h, string.h>: Don't test MSDOS when including them.
2376 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2377 (put_entries): Correctly use %ld instead of %d in printf.
2378
2379 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2380 declare getcwd if HAVE_GETCWD.
2381 (consider_token): Dead break instruction removed.
2382
2383 1999-10-19 Paul Eggert <eggert@twinsun.com>
2384
2385 Add support for large files. Merge glibc 2.1.2.
2386
2387 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2388 movemail.c, pop.c:
2389 Do not include <stdlib.h>, as <config.h> does this now.
2390
2391 * b2m.c, emacsserver.c, etags.c, profile.c:
2392 Include <config.h> before any system include files.
2393
2394 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2395 test-distrib.c:
2396 (read, write, open, close): Do not undef.
2397
2398 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2399 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2400
2401 * getopt.h: Adopt glibc 2.1.2.
2402
2403 1999-10-15 Dave Love <fx@gnu.org>
2404
2405 * Makefile.in (pop.o): Depend on config.h.
2406
2407 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2408
2409 * pop.c: Use "pop3" as the POP service name on all platforms,
2410 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2411 has been the standard service name since RFC 1340 was published in
2412 July 1992, so I think it's safe to start using it by default.
2413
2414 1999-09-27 Dave Love <fx@gnu.org>
2415
2416 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2417
2418 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2419
2420 * make-docfile.c (scan_lisp_file): Fix previous changes;
2421 swallow CRLF like just CR or just LF.
2422
2423 1999-09-03 Richard Stallman <rms@gnu.org>
2424
2425 * make-docfile.c: Include config.h not ../src/config.h.
2426 (main, fopen, chdir): Add #undef.
2427 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2428 (scan_lisp_file): Handle \r like \n.
2429
2430 1999-08-30 Andreas Schwab <schwab@gnu.org>
2431
2432 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2433
2434 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2435 errno if it's a macro.
2436
2437 * test-distrib.c: Include <unistd.h> if available.
2438
2439 1999-08-29 Richard Stallman <rms@gnu.org>
2440
2441 * emacsclient.c (print_help_and_exit): Mention --version.
2442
2443 1999-08-25 Richard M. Stallman <rms@gnu.org>
2444
2445 * emacsclient.c (decode_options): Update version output.
2446 (print_help_and_exit): Update bug report address.
2447
2448 1999-08-13 Richard M. Stallman <rms@gnu.org>
2449
2450 * emacsclient.c (main): Move the dynamic allocation of
2451 system_name outside of the SERVER_HOME_DIR conditional.
2452 * emacsserver.c (main): Likewise.
2453
2454 1999-08-10 Gerd Moellmann <gerd@gnu.org>
2455
2456 * grep-changelog: New.
2457 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2458
2459 1999-07-12 Richard Stallman <rms@gnu.org>
2460
2461 * Version 20.4 released.
2462
2463 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2464
2465 * Makefile.in (clean): Remove fns*.el.
2466
2467 1999-06-23 Dave Love <fx@gnu.org>
2468
2469 * etags.c (erlang_attribute): Fix undefined variable usage (after
2470 Potorti).
2471
2472 1999-05-2 Andrew Innes <andrewi@gnu.org>
2473
2474 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2475 mapped to _chsize.
2476
2477 1999-04-29 Richard M. Stallman <rms@gnu.org>
2478
2479 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2480
2481 1999-03-30 Dave Love <fx@gnu.org>
2482
2483 * sorted-doc.c (main): Split up tables. Modify the preamble
2484 somewhat.
2485
2486 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2487
2488 * makefile.nt: Remove common multiple file compilation commands.
2489
2490 1999-02-26 Richard Stallman <rms@gnu.org>
2491
2492 * Version 20.4 released.
2493
2494 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2495
2496 * yow.c: Refer to epaths.h.
2497
2498 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
2499
2500 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2501
2502 1999-01-27 Andrew Innes <andrewi@gnu.org>
2503
2504 * makefile.nt: Do make version comparison as strings.
2505
2506 1999-01-25 Richard Stallman <rms@gnu.org>
2507
2508 * emacsclient.c (xmalloc): Fix previous change.
2509
2510 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2511
2512 * emacsclient.c (xmalloc): Declare to return long.
2513
2514 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2515
2516 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2517 the case of the drive letter.
2518
2519 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2520
2521 * emacsserver.c (main): Eliminate arbitrary limit on
2522 length of system_name.
2523
2524 * emacsclient.c (main): Eliminate arbitrary limit on
2525 length of system_name.
2526 (xmalloc): Define unconditionally.
2527
2528 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
2529
2530 * etags.c (relative_filename): Stop backward search at beginning
2531 of string, since non-Unix systems can have absolute paths with no
2532 initial slash.
2533
2534 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2535
2536 * makefile.nt: Do string comparision of _NMAKE_VER.
2537
2538 1998-11-03 Theodore Jump <tjump@cais.com>
2539
2540 * makefile.nt: Compile multiple source files when possible.
2541
2542 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2543
2544 * Makefile.in: Replace tabs with spaces
2545 when they might confuse some Make versions.
2546
2547 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2548
2549 * emacsclient.c (main): Null-terminate system_name.
2550
2551 * emacsserver.c (main): Null-terminate system_name.
2552
2553 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2554
2555 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2556 an error message from POP, mention that it's from POP, to
2557 distinguish it from local error messages.
2558
2559 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2560
2561 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2562 order of messages downloaded from a POP server (e.g., if the
2563 server stores messages in mailboxes in reverse order).
2564
2565 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2566
2567 * Version 20.3 released.
2568
2569 1998-08-11 Paul Eggert <eggert@twinsun.com>
2570
2571 * rcs2log: Update copyright date and bug report address.
2572 (initialize_fullname): Prefer getent if available.
2573
2574 1998-07-30 Paul Eggert <eggert@twinsun.com>
2575
2576 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2577 Prepend $(srcdir)/ to rule dependencies outside this dir.
2578
2579 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2580
2581 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2582
2583 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2584
2585 * Makefile.in: Properly terminate a comment.
2586
2587 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2588
2589 * movemail.c (sys_wait): Rename to wait.
2590
2591 * ntlib.h: Undefine _WINSOCKAPI_.
2592
2593 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2594
2595 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2596
2597 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2598
2599 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2600
2601 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2602 all file i/o to be in binary mode. Include ntlib.h.
2603
2604 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2605
2606 * make-docfile.c: Include <unistd.h> for chdir.
2607
2608 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2609
2610 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2611
2612 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2613
2614 * makefile.nt (obj): Update with new files in src.
2615 (clean): Delete patch scratch files, optimized compilation dir.
2616
2617 1998-04-08 Dave Love <fx@gnu.org>
2618
2619 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2620 Irix6, at least.
2621
2622 1998-04-06 Andreas Schwab <schwab@gnu.org>
2623
2624 Silence -Wimplicit:
2625 * movemail.c: Move cancelations up. Include <stdlib.h> if
2626 available.
2627 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2628 (parse_header): Explicitly declare return type.
2629 * emacsserver.c: Include <unistd.h> if available.
2630 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2631 return types. Add forward declarations.
2632 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2633 Don't declare geteuid.
2634 (print_help_and_exit): Change return type to void. Forward
2635 declare it.
2636 * b2m.c: Include <stdlib.h> if available.
2637 (main): Explicitly declare return type.
2638
2639 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
2640
2641 * etags.c (put_entries): Use %ld.
2642
2643 * b2m.c (fatal): Declare the arg.
2644
2645 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2646
2647 * etags.c (put_entries): Use %ld.
2648
2649 * b2m.c (fatal): Declare the arg.
2650
2651 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2652
2653 * pop.c (pop_getline): Renamed from getline.
2654
2655 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2656
2657 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2658 for the utilities.
2659
2660 1998-01-23 Dave Love <d.love@dl.ac.uk>
2661
2662 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2663 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2664 Always make named tags.
2665 (Fortran_functions): Grok BLOCK DATA.
2666
2667 1998-01-23 Andreas Schwab <schwab@gnu.org>
2668
2669 * movemail.c (main): Fix interwoven brace and cpp conditional
2670 nesting.
2671
2672 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2673
2674 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2675 server to contain embedded nulls.
2676
2677 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2678
2679 * movemail.c:
2680 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2681 '>' any lines starting with "From " read from the POP server, but
2682 leave the code in place, wrapped in #ifdef
2683 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2684 because it turns out that something is depending on it. Change
2685 suggested by Paul Eggert <eggert@twinsun.com>.
2686 Convert the character \037 (^_) at the beginning of a line into
2687 the character '^' followed by the character '_', because otherwise
2688 Emacs can't parse the resulting file as a valid BABYL file.
2689 Change suggested by Paul Eggert <eggert@twinsun.com>.
2690
2691 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2692
2693 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2694 server to contain embedded nulls.
2695
2696 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2697
2698 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2699 quotes with a '>' any lines starting with "From " read from the
2700 POP server, but leave the code in place, wrapped in #ifdef
2701 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2702 because it turns out that something is depending on it. Change
2703 suggested by Paul Eggert <eggert@twinsun.com>.
2704
2705 Convert the character \037 (^_) at the beginning of a line into
2706 the character '^' followed by the character '_', because otherwise
2707 Emacs can't parse the resulting file as a valid BABYL file.
2708 Change suggested by Paul Eggert <eggert@twinsun.com>.
2709
2710 1997-11-22 Richard Stallman <rms@gnu.org>
2711
2712 * b2m.c: Include getopt.h.
2713 (main): Use getopt_long to handle --version and --help.
2714
2715 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2716
2717 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2718
2719 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2720 pointed out by Chiaki Ishikawa.
2721
2722 1997-10-16 Dave Love <d.love@dl.ac.uk>
2723
2724 * etags.c (L_getit): Always make named tags so that Emacs
2725 completion on symbols containing `:' etc. works.
2726 (get_scheme): Likewise.
2727
2728 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2729
2730 * pop.c: Use system header files instead of declaring C-library
2731 functions explicitly.
2732
2733 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2734
2735 * Version 20.2 released.
2736
2737 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2738
2739 * Version 20.1 released.
2740
2741 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2742
2743 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2744
2745 * ntlib.c (getpid): Delete function.
2746
2747 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2748
2749 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2750
2751 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2752
2753 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2754 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2755
2756 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2757
2758 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2759
2760 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2761
2762 * profile.c (get_time): Cast arg to fprintf.
2763
2764 * hexl.c (main): Use %08lx instead of %08x in printf because the
2765 variable named addresses is long.
2766
2767 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2768
2769 * makefile.nt (lisp): Update paths to lisp files that have moved.
2770
2771 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2772
2773 * makefile.nt (ctags.obj): New target.
2774 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2775
2776 * ntlib.h: Add includes.
2777 Undo definitions of crt routines from config.h.
2778
2779 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2780
2781 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2782
2783 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2784
2785 * pop.c: Support auto-configuration of both Kerberos V4 and
2786 Kerberos V5 for movemail, including detection of V4 and V5 header
2787 files and libraries.
2788 Include <string.h> when STDC_HEADERS is defined, to get
2789 declarations of string functions.
2790 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2791 V5 API rather than the old one.
2792 [KERBEROS] (socket_connection): Change a constant name from
2793 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2794 with a constant in a header file.
2795
2796 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2797 Kerberos V5 for movemail, including detection of V4 and V5 header
2798 files and libraries.
2799
2800 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2801
2802 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2803
2804 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
2805
2806 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2807
2808 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2809
2810 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2811
2812 * movemail.c (rindex): Add declaration.
2813
2814 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
2815
2816 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2817 (movemail.exe): Depend upon and link with getopt files.
2818 (obj): Include new source files.
2819 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2820 (lisp): Include new and reorganized elisp files.
2821
2822 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2823
2824 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2825
2826 1997-06-25 Paul Eggert <eggert@twinsun.com>
2827
2828 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2829
2830 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2831
2832 * b2m.c (readline): Terminate buffer properly when EOF seen.
2833 Test for valid pointer before dereferencing it.
2834
2835 1997-05-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2836
2837 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2838 defined inside etags.c if HAVE_CONFIG_H is defined.
2839
2840 1997-05-29 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2841
2842 * etags.c (logical): Type name changed to bool.
2843 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2844 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2845 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2846 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2847 (longopts): New long options without short counterpart are
2848 globals, members, no-globals, no-members. Regexp options are now
2849 defined conditionally to ETAGS_REGEXPS.
2850 (print_help): Updated.
2851
2852 1997-05-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2853
2854 * etags.c (C_entries): Use "." instead of "::" for Java.
2855 (consider_token): is_func renamed to is_func_or_var.
2856 (C_entries): is_func renamed to funorvar.
2857 (C_entries): Initialise tok.named.
2858 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2859 get rid of "import", "package" and "friend".
2860 (fvdef): Renamed from funcdef. Also some constants renamed. All
2861 users changed.
2862 (C_entries): Make separate tags for variables separated by comma.
2863 (globals, members): New flags.
2864 (main, C_entries): Use them.
2865 (make_C_tag, C_entries): Make tok a global variable.
2866
2867 1997-05-16 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2868
2869 * etags.c (funcdef): New vignore constant.
2870 (consider_token, C_entries): Use it to tag global variables.
2871 (print_help): Update for global variables.
2872 (consider_token, C_entries): Set the len member of token_name.
2873 (prolog_pred): Cleanup according to GNU coding standards.
2874 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2875 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2876
2877 1997-05-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2878
2879 * etags.c (CHARS, CHAR): New constant and macro.
2880 (iswhite, begtoken, intoken, endtoken): Use them.
2881 (notinname, _nin, nonam): New macro, array, string.
2882 (init): Cleanup and init _nin.
2883 (new_pfnote): New function.
2884 (make_C_tag) [traditional_tag_style]: Use it.
2885 (traditional_tag_style): Costant set to TRUE for now.
2886
2887 1997-05-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2888
2889 * etags.c (C_entries, Pascal_functions): Cleanup.
2890 (TeX_functions): NULL as a function arg needs a cast.
2891 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2892
2893 1997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2894
2895 * etags.c (TeX_functions): Cleaned up.
2896 (tex_getit): Removed.
2897
2898 1997-05-13 Paul Eggert <eggert@twinsun.com>
2899
2900 * rcs2log (files): When computing arguments automatically, ignore
2901 non-files within the RCS subdirectory.
2902
2903 1997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2904
2905 * etags.c (C_JAVA): New #define.
2906 (Cjava_suffixes): .java is Java.
2907 (Cjava_entries): New function.
2908 (lang_names): Add Java.
2909 (sym_type): Add st_C_javastruct for Java.
2910 (C_stab_entry): Add `extends' and `implements' keywords.
2911 (consider_token, C_entries): Recognise Java structures.
2912
2913 1997-05-12 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2914
2915 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2916 (Postscript_suffixes): .ps is Postscript.
2917 (lang_names): Add Postscript.
2918 (Postscript_functions): New function.
2919 (TEX_decode_env): Close minor memory leak.
2920 (just_read_file): Correct the char number of the tag.
2921
2922 1997-05-11 Paul Eggert <eggert@twinsun.com>
2923
2924 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2925 Don't prepend $nl since this causes some shells to generate the
2926 empty string when IFS is $nl.
2927 (printlogline): Use SOH (octal code 1), not CR, since some
2928 PC-based shells mishandle CR.
2929 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2930 nismatch, in case it's set to some nonstandard value.
2931
2932 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2933
2934 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2935 read in separate blocks.
2936
2937 1997-04-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2938
2939 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2940 (struct linebuffer): New member `len' is the length of the string.
2941 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2942 Use it instead of strlen.
2943 (TEX_getit): Declare and define unconditionally as static.
2944 (TeX_functions): Use if instead of #if TeX_named_tokens.
2945 (add_regex): Set RE_INTERVALS flag for regex compilation.
2946 (substitute): Code cleanup.
2947 (readline_internal): Code cleanup, set new member `len'.
2948 (readline): Bug corrected.
2949
2950 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2951
2952 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2953 (obj): Change references of nt*.c files to w32*.c files.
2954
2955 1997-04-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2956
2957 * etags.c (xnew): Add support for debugging with chkmalloc.
2958 (error): Use this instead of printf whenever possible.
2959 (main): Only call xnew after having initialised progname.
2960 (substitute): Bad memory corruption error corrected.
2961
2962 1997-04-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2963
2964 * etags.c (add_regex): Undo previous change.
2965 (relative_filename): Small memory leak closed.
2966 (absolute_filename): Cleaned up the code, possibly closing a bug.
2967 (absolute_dirname): Always return a newly allocated string.
2968
2969 1997-03-21 Paul Eggert <eggert@twinsun.com>
2970
2971 * rcs2log (files): Ignore files in RCS directory whose names are
2972 of the form ,*, or *_; they are probably RCS lock files.
2973 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2974 they are used by rcsfreeze.
2975
2976 1997-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
2977
2978 * etags.c (add_regex): reset *putbuf before using it.
2979
2980 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2981
2982 * movemail.c (popmail): Remove some unnecessary function
2983 declarations.
2984 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2985 into pop_retr, there's no reason to pass in mbx_write, and the
2986 file argument can be declared FILE * explicitly. This fixes a
2987 compilation problem on systems with 64-bit pointers.
2988
2989 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2990
2991 * movemail.c: Delete duplicate inclusion of fcntl.h
2992 and duplicate #undefs of open, read, write, close.
2993
2994 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2995
2996 * movemail.c (main): Do not display "[POP-password]" in the usage
2997 message when movemail is compiled without POP support.
2998 (main, popmail): Add the optional "-p" argument, which causes
2999 movemail to leave mail in the inbox after copying it into the
3000 output file.
3001
3002 * Makefile.in (movemail): Link with getopt.
3003
3004 1997-01-20 Paul Eggert <eggert@twinsun.com>
3005
3006 * rcs2log (--help, --version): New options, per GNU coding standards.
3007 (Copyright, Help, Id): New variables, for above.
3008 (rlog): Use -q option with cvs log, to avoid useless chatter.
3009
3010 Treat logs of "Initial revision" (RCS) or "file F was initially added
3011 on branch B." (CVS) as if they said "New file.", for consistency with
3012 change log entries.
3013
3014 1997-01-01 Paul Eggert <eggert@twinsun.com>
3015
3016 * vcdiff (PATH): Add /usr/xpg4/bin,
3017 where XPG4 SCCS hangs out in Solaris 2.5.
3018 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3019
3020 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3021
3022 * etags.c (streq, strneq): Use == NULL rather than !.
3023
3024 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3025
3026 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
3027 (movemail): Use LIBMAIL, to link against -lmail.
3028
3029 * movemail.c: Include maillock.h (conditionally).
3030 Remove a redundant inclusion of <stdio.h>.
3031 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3032 (main): Add variable spool_name.
3033 Support the usage of maillock and mailunlock to
3034 lock and unlock mailboxes.
3035 (mail_spool_name): New function.
3036
3037 * movemail.c: Fix an uninitialized variable which could cause
3038 movemail to exit with an error status incorrectly on systems which
3039 use lock files rather than a system locking function to lock
3040 mailboxes.
3041
3042 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3043
3044 * pop.c (socket_connection): Free realhost after using it.
3045
3046 1996-12-04 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3047
3048 * etags.c (C_entries): Test tok.valid. This handles some
3049 particular cases involving function declarations that failed.
3050
3051 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
3052
3053 * pop.c (socket_connection):
3054 gethostbyname may return a pointer to static data.
3055 krb_realmofhost can clobber it. So copy it.
3056
3057 1996-11-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3058
3059 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3060 must cast it to (char *) because we have no prototypes.
3061 (make_C_tag): Macro deleted, new function.
3062 (C_entries): Calls to make_C_tag macro changed to call function.
3063
3064 1996-11-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3065
3066 * etags.c (grow_linebuffer): New function.
3067 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3068 (make_tag): Macro renamed to make_C_tag. All callers changed.
3069 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3070 (Prolog_functions): prolog_skip_comment was called with wrong
3071 number of arguments.
3072 (xrealloc): fatal was called with wrong number of arguments
3073
3074 1996-11-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3075
3076 * etags.c (relative_filename): Bug corrected.
3077 (etags_getcwd): Avoid warning of unused variable.
3078 (C_entries, consider_token): Added support for enum labels.
3079
3080 1996-11-03 Paul Eggert <eggert@twinsun.com>
3081
3082 * rcs2log: When processing cvs log output, remove `Attic/' from
3083 repository file names.
3084
3085 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3086
3087 * emacsserver.c: Fix 1996-09-02 change.
3088
3089 1996-10-12 Paul Eggert <eggert@twinsun.com>
3090
3091 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
3092 option', since CVS says 'invalid option'.
3093 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3094 revisions, since some hosts reject 1970-01-01 when east of UTC.
3095 (date): Remove.
3096
3097 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3098
3099 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3100
3101 1996-10-02 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3102
3103 * etags.c (print_version): Print copyright info.
3104
3105 * etags.c (print_help): Print the bug reporting address.
3106 (main): Use return as the last instruction, instead of exit.
3107
3108 * etags.c (main): Don't open the tags file in cxref mode.
3109
3110 1996-09-29 Dave Love <d.love@dl.ac.uk>
3111
3112 * rcs2log (date): Make default format acceptable to CVS post v1.8
3113 as well as earlier CVSs and RCS.
3114
3115 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3116
3117 * movemail.c (main): If the lock call fails with EBUSY or
3118 EAGAIN, retry a few times.
3119
3120 1996-09-25 Paul Eggert <eggert@twinsun.com>
3121
3122 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
3123 whether to append -zLT.
3124
3125 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3126
3127 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3128 * emacsclient.c, movemail.c: Likewise.
3129
3130 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3131
3132 * emacsclient.c (longopts): Change nowait to no-wait.
3133 (print_help_and_exit): Fix option name; upcase metavars.
3134
3135 1996-09-06 Erik Naggum <erik@naggum.no>
3136
3137 * emacsserver.c (main): Declare `fromlen' as size_t.
3138
3139 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3140
3141 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3142
3143 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3144
3145 * emacsclient.c (quote_file_name): Quote with &, not \.
3146 Quote `-' only at start of file name. Terminate the value string.
3147
3148 * emacsserver.c: Include signal.h properly;
3149 delete the duplicate includes for it.
3150
3151 * emacsserver.c: On fatal signal, delete socket-file:
3152 * emacsserver.c: Include signal.h.
3153 (xmalloc, fatal, error): New functions.
3154 (delete_socket, handle_signals): New functions.
3155 (progname, socket_name): New variables.
3156 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3157
3158 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3159
3160 * emacsclient.c (quote_file_name): New function.
3161 (main, both versions): Use quote_file_name.
3162 (decode_options): Don't return a value.
3163 (main, both versions): Use optind.
3164 Don't check for -nowait here.
3165
3166 * emacsclient.c (decode_options): New function.
3167 (main, both versions): Call decode_options.
3168 (print_help_and_exit): New function.
3169 (VERSION): New macro.
3170
3171 * Makefile.in (emacsclient): Link with getopt.
3172 Add -DVERSION so emacsclient knows its version number.
3173
3174 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3175
3176 * makefile.nt (lisp): Include dos-nt.elc.
3177
3178 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3179
3180 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3181
3182 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3183
3184 * emacsclient.c (both versions): Handle -nowait and --nowait
3185 by sending data to the server.
3186
3187 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3188
3189 * Makefile.in (INSTALL_STRIP): New variable.
3190 (${archlibdir}): Use INSTALL_STRIP.
3191
3192 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3193 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3194
3195 * pop.c: Reverse conditional in previous change.
3196
3197 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3198
3199 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3200
3201 1996-08-24 Paul Eggert <eggert@twinsun.com>
3202
3203 * rcs2log: Use ISO 8601 date format, with time zone appended
3204 if change-log-time-zone-rule is non-nil, instead of
3205 traditional Unix date format.
3206
3207 (datearg): When computing default from ChangeLog, handle ISO format
3208 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3209 Don't worry about hh:mm:ss since the resolution is now by day.
3210 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3211 "$datearg" option to $rlog.
3212 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3213 (month_data): Remove `mo'; no longer needed.
3214 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3215
3216 Match `revision' line of rlog output more accurately.
3217
3218 Add -c, -v options.
3219
3220 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3221
3222 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3223
3224 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3225
3226 * Version 19.33 released.
3227
3228 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3229
3230 * Version 19.32 released.
3231
3232 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3233
3234 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3235 computing character positions in source files.
3236
3237 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3238
3239 * makefile.nt (clean): Use OBJDIR macro.
3240
3241 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3242
3243 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3244
3245 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
3246
3247 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
3248 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3249 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3250
3251 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3252
3253 * ntlib.h: Correct return type of getwd.
3254 * ntlib.c (getwd): Correct return type.
3255
3256 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3257
3258 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3259 to infile.
3260
3261 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3262
3263 * makefile.nt: Remove all references to wakeup.
3264
3265 1996-06-28 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3266
3267 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3268 explicit, mutable, typename.
3269
3270 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3271
3272 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3273 streams, one for sending and one for reading the reply.
3274
3275 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3276
3277 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3278 (wakeup): Target deleted.
3279 (UTILITIES): Delete wakeup and timer.
3280
3281 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3282
3283 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3284
3285 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3286 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3287
3288 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3289
3290 * etags.c (main): Copy cwd when appending slash.
3291
3292 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3293
3294 * Version 19.31 released.
3295
3296 1996-05-17 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3297
3298 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3299 (Pascal_functions): Increase linecharno by the correct number of
3300 chars, inline the GET_NEW_LINE macro and delete its definition.
3301
3302 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3303
3304 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3305
3306 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3307
3308 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3309 (movemail.exe, fakemail.exe): Now built under Win32.o
3310
3311 * ntlib.c: Include ntlib.h.
3312 (nt_sleep): Rename to sleep.
3313 (getwd): Return directory.
3314 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3315 sys_ctime, sys_fopen): New functions.
3316
3317 * ntlib.h: New file.
3318
3319 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3320
3321 * pop.c (SEND, RECV): Renamed from send, recv.
3322 (pop_open, pop_trash): Make the trash_started code unconditional.
3323 (socket_connection): Delete casts to void.
3324
3325 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3326
3327 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3328 copied from lisp.h.
3329
3330 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3331
3332 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3333
3334 * hexl.c [DOSNT]: Include fcntl.h.
3335 [WINDOWSNT]: Include io.h.
3336 (main) [MSDOS]: Change conditional to DOS_NT.
3337
3338 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3339 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3340 [WINDOWSNT]: Include locking.h.
3341 (main): Update usage message. Use IS_DIRECTORY_SEP.
3342 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3343 (main) [WINDOWSNT]: Invoke locking instead of flock.
3344 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3345 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3346 Include winsock.h; don't include unix inet headers.
3347 (popmail): Add password argument and pass it to pop_open.
3348 Open output file in binary mode.
3349
3350 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
3351 Macro SOCKET_ERROR undefined.
3352 Don't declare h_errno.
3353 [!WINDOWSNT]: Define macros recv and send.
3354 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3355 (pop_open) [WINDOWSNT]: Initialize trash_started.
3356 (have_winsock) [WINDOWSNT]: New variable.
3357 (socket_connection) [WINDOWSNT]: Initialize winsock.
3358 (socket_connection): Use closesocket instead of close.
3359 (getline): Use recv instead of read.
3360 (fullwrite): Use send instead of write.
3361 (pop_trash): Use closesocket instead of close.
3362 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3363 Check if being called recursively by sendline.
3364
3365 * pop.h (struct _popserver): New field trash_started.
3366
3367 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3368
3369 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3370
3371 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3372
3373 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3374
3375 * etags.c [WINDOWSNT]: Include io.h.
3376
3377 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3378
3379 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3380
3381 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3382
3383 * hexl.c [DJGPP v2]: Include io.h.
3384 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3385
3386 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3387 DJGPP v2.
3388
3389 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3390
3391 * etags.c (absolute_filename): Use absolutefn.
3392
3393 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3394
3395 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3396 letter isn't an alphabetic character.
3397 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3398 (process_file) [DOS_NT]: Convert all slashes to forward style.
3399 (absolute_filename) [DOS_NT]: Emit error message for relative
3400 paths with a drive letter.
3401 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3402 DOS/NT drive letters which try to reference the parent of the root.
3403 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3404
3405 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3406
3407 * makefile.nt: Change uses of del to $(DEL).
3408
3409 1996-03-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3410
3411 * etags.c (just_read_file): Reset lineno and charno on entry.
3412
3413 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
3414
3415 * etags.c: Prolog language totaly rewritten.
3416 (Prolog_functions): Rewritten from scratch.
3417 (skip_comment, prolog_getit): Removed.
3418 (prolog_skip_comment): New function, like old skip_comment.
3419 (prolog_pred, prolog_atom, prolog_white): New functions.
3420 (erlang_func, erlang_attributes): Forward declarations added.
3421 (erlang_atom): Check if backslash ends line inside quoted atom.
3422
3423 1996-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
3424
3425 * etags.c (absolutefn): DOS_NT version corrected.
3426 (main): Append "/" to the dir name only if not already there.
3427 (print_help): Explain the absolute/relative file name issue.
3428
3429 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
3430
3431 * etags.c: New Languange Erlang added.
3432 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3433 erlang_white): New functions.
3434 (Erlang_suffixes): New suffix list.
3435 (lang_names): Erlang entry added.
3436 (prolog_getit): Accepts headers spanning several lines.
3437 Always name tags.
3438 (Prolog_functions): Removed incorrect compensation for
3439 newline characters.
3440 (readline_internal): Zero-terminate last line.
3441
3442 1996-03-20 Mike Long <mike.long@analog.com>
3443
3444 * b2m.c (main): Initialize progname variable before using it.
3445 Quote `username' in From_ header.
3446
3447 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3448
3449 * ntlib.c (getpid): New function.
3450
3451 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3452
3453 * emacsclient.c (main, both definitions):
3454 Print a newline for normal termination.
3455
3456 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3457
3458 * tcp.c (main): Convert port to network byte order.
3459
3460 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3461
3462 * pop.c (pop_retrieve, getline): Avoid type clashes.
3463
3464 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3465
3466 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3467
3468 1996-01-15 Paul Eggert <eggert@twinsun.com>
3469
3470 * rcs2log (initialize_fullname): Add support for NIS+.
3471 (hostname): Fully qualify the default hostname with the domainname
3472 if the hostname lacks a `.'.
3473
3474 1996-01-15 Paul Eggert <eggert@twinsun.com>
3475
3476 * rcs2log (initialize_fullname): Add support for NIS+.
3477 (hostname): Fully qualify the default hostname with the domainname
3478 if the hostname lacks a `.'.
3479
3480 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3481
3482 * etags.c (consider_token): Fix typo in expression.
3483
3484 1996-01-04 Paul Eggert <eggert@twinsun.com>
3485
3486 * etags.c (substitute): Fix spelling in message.
3487
3488 1996-01-03 George V. Reilly <georger@microcrafts.com>
3489
3490 * makefile.nt (etags, ctags): Compile with regexp support.
3491 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3492 subdirectory exists before compiling.
3493
3494 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3495
3496 * emacsserver.c (main): Do chmod based on existing permission.
3497
3498 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3499
3500 * Makefile.in (install): Turn on read/execute permission.
3501
3502 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3503
3504 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3505 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3506
3507 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3508
3509 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3510
3511 1995-12-07 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
3512
3513 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3514 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3515 get_scheme, prolog_getit): Name the tag in ctags mode.
3516 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3517 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3518 (suggest_asking_for_help): New function.
3519 (main, get_language_from_name): Use suggest_asking_for_help.
3520 (main): Let get_language_from_name make language existence check.
3521 (streq, strneq): Check the arguments #if DEBUG.
3522
3523 1995-12-06 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
3524
3525 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3526 (gperf): Added keywords for Objective C and GNU macros.
3527 (sym_type): Added values to account for Objective C and GNU macros.
3528 (begtk): The '@' character can start a token.
3529 (objdef, methodlen, objtag): New variables for Objective C.
3530 (consider_token, C_entries): Added code for Objective C.
3531 (plain_C_suffixes): Add .m and .lm for Objective C.
3532 (Yacc_suffixes): Add .ym for Objective yacc.
3533 (GROW_LINEBUFFER): New macro.
3534 (consider_token, C_entries, Pascal_functions): Use the new macro.
3535 (consider_token): Take one more argument. Caller changed.
3536 (consider_token): Use the hashing function to spot GNU macros.
3537 (C_entries): Consider // as a comment start even in plain C for
3538 the sake of Objective C parsing.
3539
3540 1995-12-04 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
3541
3542 * Makefile.in (ctags): depend on etags only for simplicity;
3543 compile with regexp support enabled.
3544
3545 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3546
3547 * Version 19.30 released.
3548
3549 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3550
3551 * makefile.nt (DOC, clean): Don't use switches to del not
3552 supported by Windows 95.
3553
3554 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3555
3556 * Makefile.in (regex.o): Depend on ../src/config.h.
3557
3558 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3559
3560 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3561 (LOADLIBES): Use LIB_STANDARD.
3562
3563 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3564
3565 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3566 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3567 Windows 95 conditional.
3568
3569 1995-11-06 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3570
3571 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3572 get_lang_from_suffix): New functions.
3573 (get_language): Function deleted.
3574 (lang_entry): Two members added to struct.
3575 (lang_names): Reflect the new layout of lang_entry.
3576 (print_language_names, main, find_entries): Use the new functions.
3577 (find_entries): Look at the first line for #! if no language.
3578 (C_entries): Invalidate the token when funcdef is reset.
3579 (Perl_functions): New function.
3580 (lang_suffixes): .pl and .pm are Perl suffixes.
3581
3582 1995-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3583
3584 * etags.c (lowcase): Use the standard tolower function.
3585 (substitute): Remove some wrong and some useless code related with
3586 escape '\' character in regexp replacement string.
3587 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3588 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3589 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3590 .prolog for prolog (.pl removed).
3591 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3592 (C_entries, find_entries): Added comments about memory leakage.
3593 (add_node): Dead code removed.
3594
3595 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3596
3597 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3598 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3599
3600 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3601
3602 * test-distrib.c: Add #undef for open, close, read, write.
3603
3604 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3605
3606 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3607 [! O_RDONLY]: Define it to zero.
3608 (main): Use O_RDONLY instead of explicit zero.
3609
3610 1995-08-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3611
3612 * etags.c (Pascal_functions): Close comment bug corrected.
3613 (add_node): Correctly compare node file names.
3614 (Pascal_functions): Correctly allocate and free memory for tline.
3615 (pfnote): Put the definition of fp in the innermost block.
3616 (NODE): `named' member removed.
3617 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
3618 use the `named' member, check whether `name' is NULL instead.
3619 (pfnote): `named' argument removed, all callers changed.
3620 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3621 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
3622 removed from pfnote call, some code cleanup.
3623 (relative_filename): Free temporary space allocated by concat.
3624
3625 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3626
3627 * Makefile.in (getdate.c): New target.
3628 (getdate.o): Just compile getdate.c.
3629
3630 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3631
3632 * fakemail.c (xrealloc): Change cast to match return type.
3633
3634 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3635
3636 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3637
3638 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3639
3640 * movemail.c (main): Fix previous change.
3641 Add error check for empty OUTNAME.
3642
3643 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3644
3645 * movemail.c (main): Mention lock file name in error message.
3646
3647 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3648
3649 * profile.c (gettimeofday): New function, defined if necessary.
3650
3651 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3652
3653 * Makefile.in: Renamed from Makefile.in.in.
3654 (distclean): Delete Makefile.c, not Makefile.in.
3655
3656 1995-07-17 Michael Shields <shields@tembel.org>
3657
3658 * Makefile.in.in (tags): Synonym for `TAGS'.
3659
3660 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3661
3662 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3663 configure has already set $(INSTALL) to the proper relative path.
3664
3665 1995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3666
3667 * etags.c (plain_C_entries): new function.
3668 (lowcase): new macro.
3669 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3670 (lang_suffixes): new suffix ".pc" for Pro*C files.
3671 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3672 (tail): look for the end of the token when comparing.
3673 (takeprec): since now tail behaves differently, use strneq.
3674
3675 1995-07-08 Paul Eggert <eggert@twinsun.com>
3676
3677 * rcs2log (datearg): Separate date from time with comma, not space,
3678 to work around CVS 1.5 bug.
3679 (CVSROOT): Don't abort when unset if repository is absolute.
3680
3681 1995-07-07 Paul Eggert <eggert@twinsun.com>
3682
3683 * rcs-checkin, rcs2log, vcdiff:
3684 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3685 that interpret `#! /' as a 4-byte magic number.
3686
3687 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3688
3689 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3690 mailbox with "po:mailbox", the mailbox is everything after the
3691 "po:" prefix.
3692
3693 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3694
3695 * emacsserver.c: Make all error messages start with `Error: '.
3696 (fatal_error, perror_1): New functions, use throughout.
3697
3698 1995-06-28 Paul Eggert <eggert@twinsun.com>
3699
3700 * rcs2log (CVSROOT, repository):
3701 Allow remote repositories a la CVS 1.4.
3702
3703 1995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3704
3705 * etags.c (plain_C_entries): new function.
3706 (lowcase): new macro.
3707 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3708 (lang_suffixes): new suffix ".pc" for Pro*C files.
3709 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3710 (tail): look for the end of the token when comparing.
3711 (takeprec): since now tail behaves differently, use strneq.
3712
3713 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3714
3715 * movemail.c (main): Add newline in usage message.
3716
3717 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3718
3719 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3720
3721 1995-06-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3722
3723 * etags.c (find_entries): Rewind before rereading the input file.
3724
3725 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3726
3727 * Version 19.29 released.
3728
3729 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3730 This undoes part of the previous change.
3731
3732 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3733
3734 * make-docfile.c (main): On MSDOS, don't change stdout
3735 to binary, and insist on an -o option.
3736
3737 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3738
3739 * etags.c (process_file,absolute_filename): Handle filenames
3740 starting with a drive letter.
3741
3742 * makefile.nt (install): Copy wakeup.exe properly.
3743
3744 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3745
3746 * make-docfile.c [MSDOS]: #undef chdir.
3747
3748 1995-06-04 Paul Eggert <eggert@twinsun.com>
3749
3750 * rcs2log (output_authors): Allow ':' in time zone,
3751 as per ISO 8601 and RCS 5.6.8 beta.
3752
3753 1995-05-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3754
3755 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3756 compatibility problems.
3757
3758 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3759
3760 * etags.c (etags_getcwd): Don't use #elif.
3761 Have just one function body.
3762
3763 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3764
3765 * makefile.nt (LIBS): Use BASE_LIBS.
3766 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3767 upon LIBS.
3768 (DOC): Use del instead of rm.
3769 (DOC) [WINDOWS95]: Use DOC.
3770 (clean): Handle MSVC aux files.
3771 (config.h,paths.h): Use $(CP) instead of cp.
3772 (config.h): Use $(CONFIG_H)
3773 (make-docfile.obj): Depend upon config.h.
3774 Clean up comments.
3775
3776 1995-05-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3777
3778 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3779 former gives the true path even in the presence of simlinks.
3780
3781 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3782
3783 * movemail.c (main): Increase lock timeout to five minutes.
3784
3785 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3786
3787 * makefile.nt (obj): Use .c files.
3788
3789 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3790
3791 * make-docfile.c: Include config.h.
3792 (NO_SHORTNAMES): New definition.
3793 (xmalloc): Return long *.
3794
3795 * etags.c (C_entries): Cast result of xrealloc.
3796 (xmalloc, xrealloc): Declare them to return long *.
3797
3798 * b2m.c (xmalloc, xrealloc): Declare them long *.
3799
3800 * movemail.c (xmalloc): Declare it to return long *.
3801
3802 1995-04-30 Paul Eggert <eggert@twinsun.com>
3803
3804 * rcs2log (datearg): If rlog options are specified explicitly,
3805 omit the implicit '-d>DATE' option.
3806 (repository, rlog): Allow absolute paths to CVS repositories.
3807 Look only at the first line of CVS/Repository.
3808
3809 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3810
3811 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3812 realclean.
3813
3814 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3815
3816 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3817 Alternative (empty) definitions.
3818
3819 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3820
3821 * emacsclient.c (main): Add argv[0] to an error message.
3822
3823 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3824
3825 * emacsclient.c (main): Improve error handling.
3826 * cvtmail.c (main, skip_to_lf): Improve error handling.
3827 (sysfail): New function.
3828
3829 * b2m.c (main): Check for trailing ", " before trying to delete it.
3830
3831 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3832
3833 * Makefile.in.in (all): Build test-distrib and make-docfile.
3834
3835 * make-docfile.c (scan_c_file): At end, restore file name last char
3836 to its original value.
3837
3838 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3839
3840 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3841
3842 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3843
3844 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3845 (alloca.o, regex.o): Use BASE_CFLAGS.
3846
3847 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3848
3849 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3850
3851 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3852
3853 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3854 (SOURCES, distclean): Removed obsolete references to aixcc.
3855
3856 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3857
3858 * aixcc.lex: File deleted--surely obsolete now.
3859
3860 1995-03-23 Paul Eggert <eggert@twinsun.com>
3861
3862 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3863 portability to mawk and nawk.
3864
3865 1995-03-21 Paul Eggert <eggert@twinsun.com>
3866
3867 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3868 -u "login<tab>fullname<tab>mailaddr".
3869
3870 1995-03-21 Paul Eggert <eggert@twinsun.com>
3871
3872 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3873 replaces the (now obsolescent) -n login fullname mailaddr option.
3874 Add -R option for recursive rlog.
3875 (AWK): New environment variable (default `awk') for awk program name.
3876 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3877 Quote authors and fullnames correctly.
3878 Don't omit path from repository root when logging CVS files.
3879
3880 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3881
3882 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3883 even if HAVE_SYSVIPC.
3884 * emacsclient.c (main): Use getcwd if not BSD.
3885
3886 1995-03-13 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3887
3888 * etags.c (process_file): free (filename) after using it.
3889 (readline_internal): Do not access the char before start of line.
3890
3891 1995-02-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3892
3893 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3894 savetok.valid. Mark token as valid when it is initialised.
3895 (make_tag): Make token only if token is valid and reset validity.
3896 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3897 (TOKEN): Added a new member: valid.
3898
3899 1995-02-15 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3900
3901 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3902 (main): Do not read twice the last filename in the stdin file list.
3903
3904 1995-02-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3905
3906 * etags.c (C_entries): Initialise the new members of TOKEN.
3907 (C_entries): Do not allocate a new space for each token found by
3908 consider_token. Let make_tag do that instead.
3909 (make_tag): Since now TOKEN has memory of where it is taken from,
3910 this new macro substitutes both make_tag_from_new_lb and
3911 make_tag_from_oth_lb. All callers changed.
3912 (TOKEN): Add linepos and buffer members.
3913 (main): Initialise token_str.
3914 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3915 (token_str): New global variable used by C_entries.
3916
3917 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3918
3919 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3920
3921 1995-02-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3922
3923 * etags.c (pfnote): Initialise been_warned in the node.
3924 (C_entries): Removed a speed hack for the sake of clarity.
3925
3926 1995-01-18 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3927
3928 * etags.c (longopts, print_help, main): Use -I as abbreviation
3929 for the --ignore-indentation option.
3930 (main): Do not print an error message for unknown options.
3931
3932 1995-01-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3933
3934 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3935 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3936 constantypedefs, update, vgrind_style, no_warnings,
3937 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3938 (permit_duplicates): Was a var, now a #define.
3939 (filename_lb): Was global, now local to main.
3940 (main): Open the tag file when in cxref mode.
3941 Use a BUFSIZ size buffer for making the shell commands.
3942 Look at the return value from the system routine.
3943 Exit when cannot open the tag file.
3944 (process_file): Open the file and pass the FILE* to find_entries.
3945 (find_entries): Now void, because does not open the file itself.
3946 (pfnote): Recovering from lack of memory does not work. Removed.
3947 Use savenstr and simplify the code.
3948 (free_tree): Only free the name space if node is named.
3949 (structtag): Now a pointer, not a fixed length array of chars.
3950 (consider_token): Don't take a token as argument. Use savenstr
3951 when saving a tag in structtag. Callers changed.
3952 (TOKEN): Structure changed. Now used only in C_entries.
3953 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3954 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3955 (pfcnt): Deleted. Users updated.
3956 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3957 TEX_getit, prolog_getit): Use dinamic allocation for storing
3958 the tag instead of a fixed size buffer.
3959
3960 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3961
3962 * movemail.c (main): Skip past the colon in inname.
3963
3964 1995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3965
3966 * etags.c (pfatal): New function.
3967 (main, etags_getcwd): Use pfatal.
3968 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3969
3970 1995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
3971
3972 * etags.c (Lang_function): Use void instead to declare the
3973 language functions, because many compilers are buggy.
3974 (etags_getcwd): Fix the previous fix on the #else branch.
3975 (readline_internal): Discard possible \r before \n here.
3976 (C_entries): Do not deal with \r here: undo previous fix.
3977
3978 1995-01-09 Francesco Potort\e,Al\e(B (pot@fly)
3979
3980 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3981 functions and a macro that allow the program to work on input
3982 lines of whatever length. Copied from etags.c.
3983 (fatal): Print a fatal error message and exit.
3984 (main): Use the new functions. Fixed a bug that made a \037 char
3985 appear at the end of the output.
3986
3987 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3988
3989 * etags.c (C_entries): Ignore carriage return at end of line.
3990
3991 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3992
3993 * fakemail.c (xmalloc, xrealloc): Add casts.
3994 (add_field): Handle <...> and "..." syntax.
3995 (setup_files, get_keyword): Clean up parens and line breaks.
3996 (args_size): Likewise.
3997
3998 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3999
4000 * yow.c: Include program name in error messages.
4001
4002 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4003
4004 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4005 (xmalloc, fatal, error): New functions.
4006 (progname): New variable.
4007 (main): Set progname.
4008
4009 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4010
4011 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4012 (main): If socket/mqueue name is in home dir, add in the host name.
4013 Rename .emacs_server to .emacs-server....
4014
4015 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4016
4017 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4018
4019 1994-11-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4020
4021 * etags.c (print_help): print --regex usage for ctags also.
4022 (main): use -h in addition to -H as abbreviation for --help.
4023
4024 1994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4025
4026 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4027 is compiled if this is defined. The new functions and variables
4028 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4029 [VMS]: All VMS specific code previously contained in
4030 etags-vmslib.c is now included here, modified for dealing with
4031 language and regex options intermixed with filenames.
4032 (header_file): Global variable deleted.
4033 (Lang_Function): New typedef. All language parser functions
4034 changed to this new type.
4035 (string_numeric_p, substr, prestr): Functions deleted.
4036 (readline_internal): Does the job that readline did previously.
4037 (longopts): --language and --regex options added.
4038 (lang_names, lang_extensions, lang_func, print_language_names):
4039 New structures, variables and functions for choosing languages.
4040 (print_help): Help strings updated. Calls print_language_names.
4041 (argument_type, ARGUMENT): Typedefs for dealing with language and
4042 regex options intermixed with filenames.
4043 (main): Changed the way of dealing with arguments on the command
4044 line to deal with language and regex options intermixed with
4045 filenames.
4046 (get_language, default_C_entries, Cplusplus_entries,
4047 Cstar_entries, Yacc_entries, just_read_file): New functions.
4048 (find_entries): Use the new method for choosing the language.
4049 (Pascal_functions): Allow intermixing of comment styles.
4050 (prolog_getit, skip_comment): Rewritten for speed.
4051 (readline): Rewritten to deal with regexps.
4052
4053 1994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4054
4055 * etags.c (<errno.h>): #include added.
4056 (etags_getcwd): Check return value from getcwd.
4057
4058 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4059
4060 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4061 (get_time): Use EMACS_SUB_TIME.
4062
4063 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
4064
4065 * ntlib.c: New file.
4066 * makefile.nt: New file.
4067
4068 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4069 [WINDOWSNT]: Include the NT headers.
4070 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4071
4072 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4073 [WINDOWSNT]: Include some NT headers.
4074
4075 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4076
4077 * pop.c (getline): When a search of already-read input for CRLF
4078 fails, store the fact that we've searched it and don't search it
4079 again after reading more data.
4080
4081 * pop.c (getline): When determining whether or not it's necessary
4082 to grow the input buffer, take into account the null that's stored
4083 at the end of already-read input in the buffer.
4084
4085 1994-10-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4086
4087 * etags.c (prestr, substr): return a logical type.
4088 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
4089 (consider_token): set funcdef to fignore when a DEFUN is met.
4090 (C_entries): Now we can use Tom Hageman patch for extern "C".
4091
4092 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4093
4094 * movemail.c: PopServer renamed to popserver throughout.
4095
4096 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4097
4098 * etags.c: Don't declare malloc, since we include config.h.
4099 * fakemail.c: Likewise.
4100
4101 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4102
4103 * movemail.c: Don't declare malloc.
4104
4105 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4106
4107 * rcs-checkin: Use test -r instead of < to check readability, to
4108 avoid syntax error.
4109
4110 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4111
4112 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4113 defined, and if HAVE_CONFIG_H isn't defined, define
4114 MAIL_USE_POP always (so that this file can be included in
4115 other programs besides emacs).
4116
4117 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4118 HAVE_CONFIG_H isn't defined.
4119
4120 * pop.c (find_crlf, getline): Instead of using strstr, use a
4121 custom function for finding CRLF.
4122 (my_strstr): Function deleted.
4123
4124 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4125
4126 * pop.c (getline): Fix a segfault because of passing a
4127 non-null-terminated string into strstr(). Fix from
4128 djm@va.pubnix.com (David J. MacKenzie).
4129
4130 * pop.c: Don't include <string.h> and <strings.h>.
4131
4132 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4133 should be interchangeable, and indeed the inclusion is done in
4134 both orders in various files in the Kerberos 4 library sources,
4135 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4136 requires that <des.h> be included first, and I don't see any harm
4137 in changing the order.
4138
4139 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4140 STDC_HEADERS, if they're defined. Undef open, read, write and
4141 close after including it.
4142
4143 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4144
4145 * pop.c: Fix mismatch in conditionals.
4146
4147 * make-docfile.c (main): Don't process one input file twice.
4148 Never use exit code > 1.
4149
4150 * pop.c (open, close, read, write): Add #undefs.
4151
4152 * pop.c: Don't declare malloc, realloc, free.
4153 Include ../src/config.h.
4154 Don't include string.h or strings.h.
4155 Include des.h before krb.h.
4156 Do declare my_strstr.
4157 (getline): Really use my_strstr.
4158 Leave one empty place in server->buffer,
4159 and put a null at the end of the data in it.
4160
4161 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4162
4163 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4164 call kill with pid 0. Handle EINTR when receiving messages.
4165
4166 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4167
4168 * Makefile.in.in (regex.o): Use full path to find regex.c.
4169
4170 1994-10-17 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4171
4172 * Makefile.in.in (etags): add dependency on regex.o, link with it.
4173 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
4174
4175 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4176
4177 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4178 (${archlibdir}): Use mkinstalldirs instead.
4179
4180 * movemail.c: Make functions that return nothing void, not
4181 implicitly int.
4182 (main): Improve usage message.
4183 (error): Write to stderr, not stdout.
4184
4185 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4186 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4187 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4188 variables and implicitly declared functions.
4189
4190 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4191
4192 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4193 (distclean): Not here.
4194
4195 * Makefile.in.in (libexecdir): Renamed from libdir.
4196
4197 1994-10-11 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4198
4199 * etags.c (C_entries): Name the #define's that are macros.
4200
4201 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4202
4203 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4204 fd_set arg is a pointer, descriptor arg comes first.
4205
4206 1994-09-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4207
4208 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4209 (C_entries): Recognise #define inside a struct.
4210 (C_entries): ANSI tells that preprocessor commands do not have to
4211 start on the first column.
4212 (print_help): Documentation corrected for -d and -D.
4213 (white, endtk): ANSI tells the vertical tab is a separator.
4214
4215 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4216
4217 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4218 (pop.o, movemail.o): New targets.
4219 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4220
4221 * pop.c, pop.h: New files.
4222
4223 * movemail.c: Improve POP code, move most of it into a separate file.
4224 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4225 (mbx_write): Check for errors and for From line.
4226 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4227 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4228 (pop_init): Functions deleted.
4229
4230 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4231
4232 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4233 Rename path to dirname.
4234
4235 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4236
4237 * Makefile.in.in (UTILITIES):
4238 Remove test-distrib, make-docfile, make-path.
4239 (DONT_INSTALL): New variable--list those files here.
4240 (clean): Delete the files in DONT_INSTALL.
4241
4242 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4243
4244 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4245 (main): Use fgets, not gets.
4246
4247 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4248
4249 * timer.c: Don't declare malloc.
4250
4251 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4252
4253 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4254 defined, use simple 32-bit versions of these macros.
4255 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4256
4257 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4258
4259 * etags.c (etags_getcwd): Use getcwd if available.
4260
4261 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4262
4263 * Version 19.27 released.
4264
4265 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4266
4267 * Version 19.26 released.
4268
4269 1994-08-15 Paul Eggert <eggert@twinsun.com>
4270
4271 * rcs2log: Add support for CVS.
4272 Work with `rlog's that output ISO 8601 dates.
4273
4274 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4275
4276 * rcs2log: Use <> to delimit email address.
4277
4278 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4279
4280 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4281 so we can listen for multiple requests.
4282
4283 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4284
4285 * movemail.c: Include config.h first thing.
4286
4287 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4288
4289 * emacsserver.c (main): Add casts to avoid warnings.
4290
4291 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4292
4293 * Makefile.in.in (${archlibdir}): Compare the proper dir
4294 before installing the scripts.
4295
4296 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4297
4298 * emacsclient.c (main): New local var progname saves argv[0].
4299
4300 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4301
4302 * emacsclient.c (main): Don't actually modify argv[0].
4303 Modify a copy instead.
4304
4305 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4306
4307 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4308 (tzp): Var deleted.
4309
4310 * Makefile.in.in: Add #undef alloca.
4311
4312 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4313
4314 * timer.c (xmalloc): New function.
4315
4316 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4317
4318 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4319 (alloca.o): New target.
4320
4321 1994-07-08 Dave Love (d.love@dl.ac.uk)
4322
4323 * etags.c (takeprec): recognise `character*(*) function'
4324
4325 1994-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4326
4327 * etags.c (main): Don't barf on obsolete -t and -T switches.
4328 (main): Print an explicative message when a switch is not known.
4329
4330 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4331
4332 * hexl.c: Don't declare exit or perror.
4333
4334 * emacsserver.c (main): Don't declare geteuid.
4335 Don't declare getenv if convex.
4336
4337 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4338
4339 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4340
4341 1994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4342
4343 * etags.c (absolute_filename): Remove infinite loop bug when
4344 accessing files in directories whose name begins with a dot.
4345
4346 1994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4347
4348 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4349
4350 1994-06-01 Morten Welinder (terra@diku.dk)
4351
4352 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4353 location of data directory.
4354
4355 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4356
4357 * Version 19.25 released.
4358
4359 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4360
4361 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4362
4363 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4364
4365 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4366
4367 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4368
4369 * Version 19.24 released.
4370
4371 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4372
4373 * make-docfile.c (write_c_args): Put `default' in upper case.
4374
4375 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4376
4377 * etags.c (etags_getcwd): Cast result of popen.
4378 (popen): Declaration deleted.
4379
4380 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4381
4382 * etags.c [!MSDOS]: Declare popen.
4383
4384 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4385
4386 * b2m.c (main): Avoid crash if argc is 1.
4387
4388 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4389
4390 * Version 19.23 released.
4391
4392 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4393
4394 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4395
4396 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4397
4398 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4399
4400 * Makefile.in.in: Fix out of date comment.
4401
4402 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4403
4404 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4405 Move all autoconf substitutions above that point.
4406 Above that point, use Make-style comments.
4407 This goes with changes in ../configure.in.
4408
4409 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4410
4411 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4412 warning message.
4413 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4414
4415 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4416
4417 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4418
4419 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4420
4421 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4422 print advice to run it, if it has anything significant to do.
4423 And only if MOVEMAIL_NEEDS_BLESSING.
4424 (blessmail): Use emacs, not temacs.
4425 (configuration): Renamed from configname.
4426
4427 1994-04-30 Morten Welinder (terra@diku.dk)
4428
4429 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4430
4431 1994-04-30 Morten Welinder (terra@diku.dk)
4432
4433 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4434 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4435 a shell.
4436
4437 1994-04-29 Morten Welinder (terra@diku.dk)
4438
4439 * hexl.c [MSDOS]: Don't define proto type for exit.
4440
4441 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4442
4443 * b2m.c: Don't include string.h or strings.h.
4444
4445 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4446
4447 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4448 symbols, not make variables.
4449
4450 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4451
4452 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4453 * etags.c (print_version): Print VERSION as a string.
4454
4455 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4456
4457 * fakemail.c (readline): Fix updating of p when buffer grows.
4458
4459 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4460
4461 * Makefile.in.in (blessmail): New target.
4462 ${archlibdir}: Use blessmail when installing movemail.
4463
4464 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4465
4466 * fakemail.c (readline): When extending the buffer,
4467 calculate end afresh using the new size.
4468
4469 1994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4470
4471 * etags.c (main, print_help): eliminate the -F option.
4472
4473 1994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4474
4475 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4476
4477 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4478
4479 * Makefile.in.in: Renamed from Makefile.in.
4480 Makefile.in is now generated from it, and then preprocessed.
4481 Change comments to C syntax.
4482 Include config.h.
4483 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4484 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4485
4486 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4487
4488 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4489
4490 1994-04-12 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4491
4492 * etags.c (etags_getcwd): Initialize bufsize.
4493
4494 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4495
4496 * profile.c (gettimeofday): If system doesn't have this, define it
4497 to give a fatal error.
4498
4499 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4500
4501 * movemail.c (main): Use setuid, not seteuid.
4502
4503 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4504
4505 * etags.c: #undef static.
4506
4507 1994-04-08 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4508
4509 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4510 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4511 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4512 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4513 TeX_functions, Prolog_functions.
4514 (inf): no more a global variable.
4515 (C_entries): take 2nd parameter `inf' instead of using the global one.
4516 (find_entries): added the cp1 var for optimisation.
4517 (find_entries): added more suffixes for assembler files.
4518 (Asm_funcs): Now finds labels even without an ending colon.
4519
4520 1994-03-30 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
4521
4522 * etags.c (main): use etags_getcwd for compatibility.
4523 (etags_getcwd): new function.
4524
4525 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4526
4527 * Makefile.in (etags, ctags): Pass -D for VERSION.
4528
4529 1994-03-25 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4530
4531 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4532 (main): don't allow the use of -t and -T in etags mode.
4533 (print_help): don't show options enabled by default.
4534 (print_version): show the emacs version number if VERSION is #defined.
4535 (find_entries): add "ss" as suffix for Chez Scheme.
4536
4537 1994-03-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4538
4539 * etags.c (cwd, outfiledir): vars added.
4540 (relative_filename, absolute_filename, absolute_dirname):
4541 functions added to compute filenames in tags files.
4542 (process_file): filenames in tags file are relative to the
4543 directory where the tags file is (useful with the -o option).
4544 (main): initialise the outfiledir var.
4545 (TYPEDST): added the `tignore' value.
4546 (C_entries): corrected various small bugs.
4547
4548 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4549
4550 * Makefile.in (UTILITIES): `env' deleted.
4551 (env): Target deleted.
4552 * env.c: File deleted.
4553
4554 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4555
4556 * Makefile.in (install, ${archlibdir}): Switch back to ..
4557 before running INSTALL_PROGRAM.
4558
4559 1994-03-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4560
4561 * etags.c (TYPEDST): added the `tignore' value.
4562 (C_entries): corrected various bugs, now correctly parses the
4563 `extern "C" {' construction (patch by Tom R.Hageman).
4564
4565 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4566
4567 * b2m.c: Use <...> to include config.h.
4568 Don't include stdlib.h.
4569
4570 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
4571
4572 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4573 Allow for text following "BABYL OPTIONS:".
4574 Add --help option. Use argv[0] in error messages.
4575
4576 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4577
4578 * emacsclient.c (main) [HAVE_SYSVIPC]:
4579 Make msgp->mtext longer if necessary.
4580 On HPUX, error if it's more than 512 chars.
4581
4582 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4583
4584 * etags-vmslib.c: Use GPL.
4585 * emacstool.c: Use GPL.
4586 * fakemail.c: Update GPL.
4587
4588 * make-path.c (main): Return 1 on error, not -1.
4589 Update GPL.
4590
4591 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4592 (xmalloc, xrealloc): Return char *, not int.
4593 (error): Write to stderr, not stdout.
4594 Update GPL.
4595
4596 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4597
4598 * profile.c (main, get_time): Don't crash on invalid input.
4599
4600 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4601
4602 * profile.c (get_time): Simplify; avoid calling index.
4603 (main): exit on EOF.
4604
4605 1994-02-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4606
4607 * etags.c (--absolute-pathnames): Option removed.
4608
4609 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4610
4611 * fakemail.c (put_line): Don't break the line if it all fits.
4612
4613 1994-02-14 Francesco Potort\e,Al\e(B (pot@fly)
4614
4615 * etags.c (absolute_pathnames, cwd): added global vars.
4616 (longopts, print_help, main, process_file): put absolute filenames
4617 in the tag file if the -A --absolute-pathnames option is used.
4618 (print_help): alfabetically order the options.
4619 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4620
4621 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4622
4623 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4624 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4625
4626 1994-02-07 Christian Lynbech (lynbech@avignon)
4627
4628 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4629
4630 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4631
4632 * Makefile.in (UTILITIES): Mention profile.
4633 (profile): New target.
4634
4635 * profile.c: New file.
4636
4637 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4638
4639 * make-docfile.c: Make the argument list output look more like the
4640 Lisp docstrings do.
4641 (write_c_args): Take new arg FUNC. Make output
4642 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4643 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4644
4645 1994-01-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4646
4647 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4648 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4649 Use gperf generated hash table instead of linked list.
4650 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4651 Mostly code generated by gperf.
4652 (consider_token): removed unused parameter `lp'.
4653 (PF_funcs, getit): allow subroutine and similar declarations
4654 to span multiple lines.
4655 (C_entries): check for newline if inchar to avoid bus errors.
4656 (process_file, find_entries): distinguish among nonexistent
4657 and not regular file.
4658
4659 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4660
4661 * timer.c: Include errno.h; don't include fasync.h.
4662 (schedule): Don't return a value.
4663 (sigcatch): Reestablish the handler first.
4664 (getevent): Always call notify at the end.
4665 (notify): Defer alarms around the whole body of function.
4666
4667 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4668
4669 * timer.c (main): Don't request SIGIO, and don't handle it.
4670 Loop calling getevent.
4671 (sigcatch): Delete code to handle SIGIO.
4672 if defer_alarms is set, don't call notify, just set alarm_deferred.
4673 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
4674 Set defer_alarms around realloc and schedule.
4675 If alarm_deferred gets set, call notify.
4676 Likewise if this event is the only pending event.
4677 Make buf and buf_size global variables.
4678 Don't malloc buf if it is already non-zero.
4679 (schedule): Just exit if run out of memory.
4680 Return the number of events.
4681 (signal) [_CX_UX]: Add #undef.
4682
4683 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4684
4685 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4686 (main) [USG]: Do ioctl to enable SIGPOLL.
4687
4688 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4689
4690 * timer.c: Don't declare sys_errlist; declare strerror instead.
4691 (schedule, main): Call strerror instead of using sys_errlist.
4692 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4693 Call strerror instead of using sys_errlist.
4694 * env.c (main): Call strerror instead of using sys_errlist.
4695 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4696 (main): Call strerror instead of using sys_errlist.
4697 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4698 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4699 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4700 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4701
4702 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4703
4704 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4705
4706 * movemail.c (malloc): Don't declare it.
4707 (xmalloc): Cast result of malloc.
4708 (strcpy): Don't declare it.
4709
4710 1993-11-14 Morten Welinder (terra@diku.dk)
4711
4712 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4713 (main): Use fclose to close file opened by fopen.
4714
4715 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4716
4717 * movemail.c [MSDOS]: #undef `access'.
4718
4719 * b2m.c (main) [MSDOS]: Open all files as binary.
4720 * etags.c (main) [MSDOS]: Open all files as binary.
4721
4722 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4723 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4724 with.
4725
4726 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4727
4728 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4729 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4730 (LINK_CFLAGS): New variable.
4731 (timer): Use LINK_CFLAGS.
4732
4733 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4734
4735 * movemail.c: Include syswait.h.
4736 Fork a subprocess and use it to copy the mail file.
4737
4738 1993-12-07 Richard Stallman (rms@srarc2)
4739
4740 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4741
4742 1993-12-04 Richard Stallman (rms@srarc2)
4743
4744 * movemail.c (main): When making tempname, cast result of xmalloc.
4745 Include room for EXXXXXX in the size.
4746 Don't use result of strcpy.
4747
4748 1993-12-03 Paul Eggert (eggert@twinsun.com)
4749
4750 * vcdiff: Add --brief option.
4751
4752 1993-12-02 Richard Stallman (rms@srarc2)
4753
4754 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4755 for all executables and scripts.
4756
4757 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4758
4759 * Version 19.22 released.
4760
4761 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4762
4763 * Makefile.in (mostlyclean): Make it distinct from clean.
4764
4765 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4766
4767 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4768
4769 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4770
4771 * Version 19.21 released.
4772
4773 * Makefile.in (install): Don't change mode or group when installing.
4774
4775 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4776
4777 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4778
4779 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4780
4781 * movemail.c (main): Fix error message text.
4782
4783 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4784
4785 * Version 19.20 released.
4786
4787 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
4788
4789 * etags.c (C_entries): Keep track of ()-parenthesis level so that
4790 functions returning a pointer to a function, a la `signal', can be
4791 parsed. This also required new state `fstartlist' to `FUNCST'.
4792 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4793 (C_entries, CNL): use it to isolate preprocessor directive processing
4794 from the other state engines.
4795 (begtk): add '~', for C++ class destructors.
4796
4797 1993-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4798
4799 * etags.c (consider_token): removed unused variable firsttok.
4800 (prolog_getit): call pfnote with the right number of arguments.
4801
4802 1993-10-19 Paul Eggert (eggert@twinsun.com)
4803
4804 * rcs2log (printlogline): Don't generate lines containing only
4805 white space.
4806
4807 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4808
4809 * Makefile.in (${archlibdir}):
4810 Install ${SCRIPTS} from ${srcdir}, not cwd.
4811
4812 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4813
4814 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4815 the comment character.
4816
4817 1993-10-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4818
4819 * etags.c (process_file): dead code removed.
4820 (S_ISREG): #define it using S_IFREG if not defined.
4821 (process_file): regular files have nothing to do with symlinks.
4822
4823 1993-09-28 Brian Fox (bfox@ai.mit.edu)
4824
4825 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4826 from current directory. Only chmod and chgrp files that we
4827 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4828 ${bindir}.
4829 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4830 now.
4831
4832 1993-09-27 Brian Fox (bfox@ai.mit.edu)
4833
4834 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4835 configure figure out the correct values for these variables.
4836
4837 1993-09-14 Brian Fox (bfox@ai.mit.edu)
4838
4839 * Makefile.in (archlibdir): Only install execuatables internally
4840 used by emacs; don't install bindir binaries here.
4841
4842 1993-09-24 Paul Eggert (eggert@twinsun.com)
4843
4844 * rcs2log: Add -h, -n, -r options.
4845 By default, look for *,v files as well as RCS/*,v files.
4846 Use $TMPDIR (default /tmp) instead of /tmp.
4847
4848 1993-09-20 Francesco Potort\e,Al\e(B (pot@fly)
4849
4850 * etags.c (C_entries): is_func is initialised here instead of in
4851 consider_token for the sake of the yacc rules section.
4852 (C_entries): Now class, struct, enum, union and typedef produce
4853 named tags.
4854
4855 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4856
4857 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4858
4859 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4860
4861 * Makefile.in: Support configuring in a different directory when
4862 ${srcdir} has already been configured.
4863 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4864 -I${srcdir}/../src.
4865 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4866 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4867 is already in CPP_FLAGS.
4868 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4869 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4870
4871 1993-08-25 Paul Eggert (eggert@twinsun.com)
4872
4873 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4874 otherwise, HP awk complains.
4875
4876 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4877 are common hangouts for SCCS commands.
4878
4879 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4880
4881 * Version 19.19 released.
4882
4883 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4884
4885 * Makefile.in (make-path): Dep on config.h.
4886
4887 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4888
4889 * b2m.c (TRUE, FALSE): Don't define if already defined.
4890
4891 1993-08-09 Paul Eggert (eggert@twinsun.com)
4892
4893 * rcs2log (awkscript):
4894 Some sites put comma-separated junk after the fullname.
4895 Remove it, but leave "Bill Gates, Jr" alone.
4896 Remove the junk from fullnames like "0000-Admin(0000)".
4897
4898 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4899
4900 * Version 19.18 released.
4901
4902 1993-08-04 Francesco Potort\e,Al\e(B (pot@spiff.gnu.ai.mit.edu)
4903
4904 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4905 (L_funcs): the (foo::defmumble stuff now should work.
4906 (consider_token): function returned random value--corrected.
4907 (C_entries): corrected == versus = typo.
4908
4909 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4910
4911 * etags.c (put_entries): For NODE->rewritten, put pattern before
4912 \177 and name after, not vice versa.
4913
4914 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4915
4916 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4917
4918 1993-07-30 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4919
4920 * etags.c (FINCST): Added the fignore status. Means we are
4921 after the parameter list and before the open curly brace.
4922 Allows correct parsing of C++ constructors.
4923 (C_entries, consider_token): make use of fignore.
4924 (consider_token): reset funcdef when next_token_is_func: when in
4925 ctags mode makes DEFVAR and others work better.
4926 (L_isquote): function that recognises the "(quote" string.
4927 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4928
4929 1993-07-29 Paul Eggert (eggert@twinsun.com)
4930
4931 * rcs-checkin: Don't check whether a file is readable until we have
4932 decided not to ignore it.
4933
4934 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4935
4936 * Makefile.in (etags): Depend on ../src/config.h.
4937
4938 * emacsserver.c: Include types.h before file.h.
4939
4940 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4941
4942 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4943
4944 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4945
4946 * Version 19.17 released.
4947
4948 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4949
4950 * etags.c (print_help): Break up the very long strings containing
4951 the help message into shorter strings, to placate chintzy C
4952 compilers which can't handle strings that long.
4953
4954 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4955 correct combination of <time.h> and <sys/time.h>.
4956
4957 1993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4958
4959 * etags.c (alloca): removed all references to it.
4960 (main): now calls xnew instead of alloca for portability.
4961 (../src/config.h): included only if HAVE_CONFIG_H.
4962 (const): void definition removed--config.h takes care of it.
4963
4964 1993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
4965
4966 * etags.c (consider_token): was `==', now is `='.
4967 (consider_token): DEFUNs now treated like funcs in ctags mode.
4968
4969 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4970 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4971 (C_entries): removed a piece of useless code.
4972 (C_entries): making typedef tags is delayed until a semicolon
4973 is met. This handles "typedef int X, Y, Z;" correctly.
4974
4975 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4976
4977 * Version 19.16 released.
4978
4979 * b2m.c: #include <sys/types.h>.
4980 (ltoday): Declare this to be time_t.
4981
4982 1993-06-30 Paul Eggert (eggert@twinsun.com)
4983
4984 * vcdiff: Add -q option.
4985
4986 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4987
4988 * etags.c: #include "config.h" and the alloca CPP tangle before
4989 #including the system headers and getopt.h. AIX requires the
4990 #pragma to come before any actual C code.
4991
4992 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4993
4994 * Makefile.in (ctags): Depend on etags, so that parallel makes
4995 don't write etags.o files on top of each other.
4996
4997 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4998
4999 * version 19.15 released.
5000
5001 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5002
5003 * etags.c (add_node): Move var last_node to file scope.
5004
5005 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5006
5007 * Version 19.14 released.
5008
5009 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5010
5011 Bring mumbleclean targets into conformance with GNU coding standards.
5012 * Makefile.in (distclean): Call clean to do most of the work.
5013 Delete aixcc.c and TAGS.
5014 (realclean): Just call distclean.
5015
5016 * Makefile.in: Remember, spaces are not tabs.
5017
5018 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5019
5020 * Makefile.in (CPP_CFLAGS): New variable.
5021 Use it instead of ALL_CFLAGS when compiling a .c file.
5022 (getopt.o, getopt1.o): Add explicit compilation commands.
5023
5024 1993-06-10 Mark D. Baushke (mdb@cisco.com)
5025
5026 * etags.c: Reinstate old -f option as an alias for -o for
5027 installed base uses.
5028
5029 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5030
5031 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5032 to bind or accept, cast the pointer, to avoid warnings on systems
5033 which declare prototypes for this.
5034 * emacsclient.c (main): Same.
5035
5036 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5037
5038 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5039
5040 * Version 19.13 released.
5041
5042 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5043 comes from, not sys/time.h.
5044
5045 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5046
5047 * wakeup.c: Include sys/time.h.
5048
5049 * etags.c: #undef static.
5050
5051 * Version 19.12 released.
5052
5053 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5054
5055 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5056
5057 * Version 19.11 released.
5058
5059 * timer.c [LINUX]: #undef signal.
5060 * emacsserver.c: #undef signal.
5061
5062 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5063
5064 * wakeup.c (main): Make when a time_t.
5065
5066 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5067
5068 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
5069 `(cd foo ; pwd)' to get the canonical name of a directory; cd
5070 might fail, and have pwd print out the current directory.
5071
5072 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5073 string-handling functions.
5074
5075 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5076
5077 * Version 19.10 released.
5078
5079 1993-05-29 Paul Eggert (eggert@twinsun.com)
5080
5081 * rcs2log: When given no file arguments, inspect RCS/.* as well
5082 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5083
5084 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5085
5086 * Makefile.in (timer): Link with $(LOADLIBES).
5087
5088 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5089
5090 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5091
5092 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5093
5094 * etags.c: Replace the CPP tangle for alloca with the one from the
5095 autoconf documentation, since that's working elsewhere.
5096
5097 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5098
5099 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5100 description files can find their ancestors.
5101
5102 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5103
5104 * Makefile.in (install): Get the scripts from ${srcdir},
5105 unlike the executables.
5106 (ALL_CFLAGS): Add -I../src
5107
5108 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5109
5110 * Version 19.9 released.
5111
5112 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5113
5114 * Makefile.in (install): Do install the programs listed in
5115 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5116 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5117
5118 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5119 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5120
5121 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5122
5123 * etags.c: Include ../src/config.h.
5124
5125 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5126 in first loop. Delete files from bindir before installing new ones.
5127 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5128
5129 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5130
5131 * Version 19.8 released.
5132
5133 * make-docfile.c: Doc fix.
5134
5135 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5136
5137 * tcp.c: Fix comment syntax at top of file.
5138 (main): Don't call htons with the port number.
5139
5140 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5141
5142 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
5143 appropriate.
5144
5145 * Makefile.in (install): Refer to the variables INSTALLABLES and
5146 INSTALLABLE_SCRIPTS, instead of writing them out.
5147
5148 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5149
5150 * make-path.c (main): Return 0.
5151
5152 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5153
5154 * Version 19.7 released.
5155
5156 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5157
5158 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5159
5160 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5161
5162 * tcp.c: New file.
5163
5164 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5165
5166 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5167
5168 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5169
5170 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5171 only. We should really fix this later, but let's just make it
5172 compile for now.
5173
5174 Install patches from David J. Mackenzie to make the srcdir option
5175 work.
5176 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5177 Makefile.
5178 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5179 INSTALLABLE_SCRIPTS.
5180 (INSTALLABLE_SCRIPTS): New list.
5181 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5182 (${archlibdir}): The scripts to be installed live in the source
5183 tree, not in the object tree.
5184 (test-distrib): Note that the data file lives in the source tree,
5185 not the object tree.
5186 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5187 (all other targets): Change references to source files to use
5188 ${srcdir}, except for config.h, which lives in the object dir.
5189 (timer.o): Note that this depends on ../src/config.h.
5190 * make-docfile.c (main): Add a -d option, to tell it where to find
5191 the source files.
5192 * test-distrib.c (main): Take the name of the distribution file to
5193 test from the command line.
5194
5195 * timer.c: Fix mispellings of get_date function's name.
5196
5197 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5198
5199 * etags.c (main):
5200 Don't require that there be input files if -i switches were given.
5201
5202 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5203
5204 The GNU coding standards specify that CFLAGS should be left for
5205 users to set.
5206 * Makefile.in (CFLAGS): Put this in the "things configure might
5207 edit" section, and have it default to -g.
5208 (ALL_CFLAGS): New variable, set to all the flags which should be
5209 passed to compilations. Replace all other uses of CFLAGS with
5210 ALL_CFLAGS.
5211 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5212
5213 * Makefile.in (DEFS): Remove this; it's always just going to be
5214 "-DHAVE_CONFIG_H -Demacs".
5215
5216 1993-05-03 Paul Eggert (eggert@twinsun.com)
5217
5218 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5219 /[/]/, so change it to /[\/]/. This should work on all
5220 Posix-compliant awks. It's slightly wrong with traditional awk,
5221 since it matches \ too, but that's a minor problem compared to awk
5222 syntax errors.
5223
5224 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5225
5226 * Makefile.in (ALLOCA): New variable, whose value we should
5227 inherit from the top-level makefile.
5228 (etags, ctags): Include ALLOCA in the list of object files that
5229 these executables depend on and link.
5230
5231 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5232
5233 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5234
5235 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5236
5237 * make-docfile.c (write_c_args): Print an argument named "defalt"
5238 as "default".
5239
5240 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5241
5242 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5243 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5244 compiler.
5245
5246 1993-03-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
5247
5248 * etags.c (YACC): flag added to c_ext.
5249 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
5250 (find_entries): consistently use streq when reasonable.
5251 (find_entries): a .y file is a yacc file.
5252 (get_C_stab): c_ext becomes c_ext&C_PLPL.
5253 (C_entries): logical cplpl means c_ext&C_PLPL.
5254 (C_entries): logical yacc_rules means we are after the first %%.
5255 (C_entries): added logic for yacc files.
5256
5257 1993-03-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
5258
5259 * etags.c (C_entries): ':' case moved to the second switch.
5260 (C_entries): do not examine token if structdef==scolonseen.
5261 (consider_token): structtag set to null string for enum.
5262
5263 1993-03-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
5264
5265 * etags.c (GET_COOKIE): and related macros removed.
5266 (logical): is now int, no more a char.
5267 (reg): define deleted.
5268 (isgood, _gd, notgd): deleted.
5269 (gotone): deleted.
5270 (TOKEN): member linestart removed.
5271 (linepos, prev_linepos, lb1): deleted.
5272 (main): call initbuffer on lbs array instead of lb1.
5273 (init): removed the initialisation of the logical _gd array;
5274 (find_entries): a .sa suffix means assembler file.
5275 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5276 All C state machines rewritten.
5277 (C_entries): complete rewrite.
5278 (condider_token): complete rewrite.
5279 (getline): deleted.
5280
5281 1993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
5282
5283 * etags.c (C_entries): Added the quotednl logical variable.
5284 Used for parsing of #define's spanning multiple lines.
5285
5286 1993-02-23 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
5287
5288 * etags.c (C_entries): Save the definedef status even when a
5289 newline is met inside a string.
5290
5291 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5292
5293 * Makefile.in (EXECUTABLES): added rcs-checkin.
5294
5295 * Makefile.in (unlock, relock): New productions.
5296
5297 1993-03-16 Paul Eggert (eggert@twinsun.com)
5298
5299 * rcs2log: Some awks don't understand "\r". Code around this.
5300 Unfortunately this requires putting a carriage return in the
5301 source code. Don't assume that rlog will tolerate times like
5302 `10:10:60'; RCS 5.7 won't allow this.
5303
5304 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5305
5306 * timer.c (main): Set the ownership of the stdin file descriptor
5307 to the current process. Print error messages if either of the
5308 fcntl's fails.
5309
5310 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5311 ../src/config.h), not void.
5312
5313 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5314
5315 * b2m.c (main): Don't exit upon reading a blank line.
5316
5317 1993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
5318
5319 * etags.c (C_entries): New local variable quotednl. Used for
5320 parsing of #define's spanning multiple lines.
5321
5322 * etags.c (C_entries): Save the definedef status
5323 even when a newline is met inside a string.
5324
5325 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5326
5327 * timer.c (notify): Initialize waitfor properly.
5328
5329 1993-02-22 Francesco Potort\e,Al\e(B (pot@CNUCE.CNR.IT)
5330
5331 * etags.c (C_entries): Don't reset definedef when a newline inside a
5332 comment is met.
5333
5334 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5335
5336 * etags.c (find_entries): If filename ends in .f or .for,
5337 don't try anything but Fortran.
5338
5339 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5340
5341 * timer.c (notify): Flush stdout after writing message to avoid lossage
5342 on terminals.
5343
5344 (notify): Also, write a newline after the token.
5345
5346 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5347
5348 * Makefile.in (exec_prefix): New variable.
5349 (bindir, libdir): Use it instead of `prefix'.
5350
5351 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5352
5353 * Makefile.in (libdir): Default to ${prefix}/lib.
5354 (archlibdir): Adjusted to match.
5355
5356 * Makefile.in (distclean): Don't delete backup or autosave files.
5357 (extraclean): Like realclean, but does delete backup and autosave
5358 files.
5359
5360 * Makefile.in (realclean): Ignore errors from rm.
5361
5362 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5363 that doesn't exist anymore.
5364
5365 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5366
5367 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5368 described in the top-level Makefile.
5369 (UTILITIES): Add make-path to the list of utility programs.
5370 (../arch-lib): Replaced by the ${archlibdir} target, which places
5371 the executables in their permanent home.
5372 (install, install.sysv, install.xenix): Consolidated into one
5373 target which should work under all circumstances, modulo a few
5374 ignored error messages.
5375
5376 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5377 a different number of arguments than other DEFVARs, recognize it
5378 specially, and expect the right number of commas.
5379
5380 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5381
5382 * make-path.c: New program, to help with the installation process.
5383 * Makefile.in (make-path): New target.
5384
5385 * make-path.c (touchy_mkdir): Remove debugging output.
5386
5387 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5388
5389 * Makefile.in (getdate.o): Added explicit target for this, so we
5390 can indicate that it depends on ../src/config.h.
5391
5392 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5393
5394 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5395 instead of CFLAGS.
5396 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5397
5398 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5399
5400 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5401 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5402 that system.
5403
5404 * Makefile.in (arch-lib): Give rm the `-f' option.
5405
5406 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5407
5408 * make-docfile.c (write_c_args): Rewritten to correctly print
5409 &optionals before the first identifier, but after the first paren.
5410 This code used to just wait for commas or spaces; now it notices
5411 identifier boundaries.
5412
5413 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5414
5415 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5416
5417 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5418
5419 * make-docfile.c (write_c_args): Print the argument lists properly
5420 when the first argument is optional.
5421
5422 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5423
5424 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5425 Redefine @item. Set catcode of +.
5426
5427 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5428
5429 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5430
5431 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5432
5433 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5434 (TEX_decode_env): Make `tab' one element longer.
5435
5436 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5437
5438 * etags.c (PF_funcs): Recognize the "entry" keyword.
5439
5440 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5441
5442 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5443
5444 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5445
5446 * timer.c (events): Rather than having slots marked as in use or
5447 out of use by the `token' field, keep all pending events at the
5448 beginning of the array. When we delete an event in the middle of
5449 the array, we move the last event into its place.
5450 (num_events): New variable.
5451 (schedule): It is now cheaper to find a free event slot;
5452 events[num_events] is the first free slot.
5453 (notify): Scan events[0 .. num_events-1], instead of the whole
5454 array. When an event fires, move the last event in the array into
5455 its spot. Use num_events to determine whether or not there are
5456 any pending events, not wait_for.
5457 (getevent): Deleted unused variable `ep'.
5458 (sigcatch): It's now easier to find all the active events.
5459 (main): Initialize num_events.
5460
5461 * etags.c: Rather than fret about which systems have index and
5462 which systems have strchr, and how to tell the difference between
5463 them, we just write out our own versions. Big deal.
5464 (index, rindex): Extern declarations removed.
5465 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5466 (etags_index, etags_rindex): New declarations.
5467 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5468 TEX_getit, substr): Use the etags_*index functions, rather than
5469 the native *index functions.
5470 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5471 made them unconditionally defined, rather than having them depend
5472 on NEED_*INDEX.
5473
5474 * etags.c (savenstr): Add declaration for this at top of file.
5475 (TEX_decode_env): Don't declare it local to this function.
5476
5477 * b2m.c: #include "../src/config.h", so we can test for the USG
5478 macro, and decide whether to include <string.h> or <strings.h>.
5479 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5480
5481 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5482
5483 * timer.c: Reformatted according to the GNU coding standards.
5484 Removed arbitrary limits on the number of events queued and the
5485 length of the tokens used to identify them.
5486 Removed casts to (void).
5487 Removed debugging printfs; they clutter the code, and the need
5488 can be better filled using a real debugger.
5489
5490 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5491
5492 * timer.c: Installed new version from Eric Raymond; this is more
5493 portable, since it doesn't try to use SIGIO.
5494
5495 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5496
5497 * emacsclient.c (main): If we can't find the socket in this
5498 person's home directory, print a message which asks if they've
5499 started the server, instead of just printing the message from
5500 sys_errmsg; Cygnus finds that people are much less confused by
5501 this.
5502
5503 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5504
5505 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5506 so that index and rindex get defined, why don't we actually
5507 control index and rindex using symbols called "NEED_INDEX" and
5508 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5509 little more readable than defining something whose name implies
5510 that it's not?
5511
5512 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5513
5514 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5515 distribution:
5516 Miscellaneous doc fixes.
5517 (skip_white, read_lisp_symbol): New functions.
5518 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5519 read_lisp_symbol and then see what we got. Call skip_white
5520 instead of writing out a loop to do its job. Correctly extract
5521 docstrings from "defmacro" declarations.
5522
5523 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5524
5525 * movemail.c (strcpy): Declare this to return char *.
5526
5527 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5528
5529 * etags.c (C_entries): When we find a C++ comment, do actually
5530 skip to the end of the line; do a 'break' instead of a 'continue'.
5531
5532 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5533
5534 * etags.c (getit): Add missing parenthesis to expression which
5535 decides if this token is an identifier.
5536
5537 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5538
5539 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5540
5541 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5542
5543 * etags.c (put_entries): Always put space between name and line num.
5544
5545 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5546
5547 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5548 warning.
5549 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5550
5551 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5552
5553 * make-docfile.c (write_c_args): Pass both arguments to putc.
5554
5555 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5556
5557 * etags.c (C_entries): Fixed reading of "..." strings.
5558 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5559 the C library source.
5560
5561 * etags.c (C_entries): When we see a backslash inside a quoted
5562 string, skip to the next character. This allows us to correctly
5563 deal with strings containing quotes.
5564
5565 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5566
5567 * make-docfile.c (write_c_args): Print the C argument names as
5568 they would be written in Elisp; print '_' as '-'.
5569
5570 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5571
5572 * movemail.c [POP]: Get user name via getpwuid.
5573
5574 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5575
5576 * Makefile.in: flags in CC invocations rearranged for no reason.
5577
5578 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5579
5580 * etags.c (print_help): Remember not to imbed raw newlines in
5581 strings - end the lines with `\n\'.
5582
5583 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5584
5585 * timer.c (getevent): Removed declaration of memcpy; since
5586 different systems have different return types, and we're not even
5587 using the return type anyway, it wasn't doing us any good.
5588
5589 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5590
5591 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5592 type of this function.
5593
5594 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5595
5596 * ChangeLog: Since the old etc contents have been split into etc
5597 and lib-src, the old etc's ChangeLog has been duplicated in the
5598 new etc and lib-src. That means that each contains complete and
5599 coherent information, although each contains extraneous
5600 information.
5601
5602 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5603
5604 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5605 to be consistent with other GNU programs, like makeinfo.
5606
5607 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5608 will edit this to produce Makefile.
5609
5610 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5611
5612 * etags.c (print_help, print_version): New functions.
5613 (main): Options added to support them.
5614
5615 * etags.c (longopts): New array of long names for the options.
5616 (main): Recognize them.
5617
5618 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5619
5620 * etags.c (C_entries): Removed comment saying that \" in a string
5621 isn't recognized as magic, because it is correctly handled.
5622
5623 * getopt.c, getopt.h: New files, from GNU C library.
5624 * etags.c: Rewritten to use getopt.
5625 #include "getopt.h".
5626 (file_num): Variable deleted; its role is now played by getopt's
5627 optind.
5628 (main): Argument processing loop rewritten to call getopt to get
5629 next option. Options which take parameters (-o and -i) rewritten
5630 to get parameter from optarg instead of argv[1]. Filename
5631 preprocessing loop and update command changed similarly.
5632 * Makefile (etags, ctags): Depend on and link with getopt.h,
5633 getopt.o, and getopt1.o.
5634 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5635
5636 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5637 is non-zero.
5638
5639 (main): In the argument processing loop, the 'goto next_arg'
5640 statements are breaking out of the switch statement in exactly the
5641 same way that a simple 'break' statement would; replace the gotos
5642 with breaks, and remove the label.
5643
5644 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5645
5646 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5647 (consider_token): Move next_token_is_func to global.
5648
5649 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5650
5651 * Makefile: Conform with GNU coding standards:
5652 (mostlyclean): New target, synonymous with clean.
5653 (TAGS, check): New targets.
5654 (INSTALL, INSTALLFLAGS): New variables.
5655
5656 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5657
5658 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5659 `config.emacs' to `configure'.
5660
5661 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5662 * etc/MACHINES: Same.
5663
5664 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5665
5666 * movemail.c (main): Allow tempname to be as long as necessary,
5667 instead of limiting it to 39 characters.
5668
5669 * movemail.c (main): Move declaration of buf from top of function
5670 to local block surrounding the copy loop. This makes it less
5671 likely to be confused with the buf used by the code which checks the
5672 permissions on outname's directory.
5673
5674 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5675
5676 * SERVICE: Remove my entry.
5677
5678 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5679
5680 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5681 hardcoded -g.
5682
5683 * movemail.c (xmalloc): Return char *, not int.
5684 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5685 that is off by default -- normally don't unlink the mail spool
5686 file, just empty it. Pass creat mode 0600, not 0666.
5687
5688 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5689
5690 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5691 (all): Instead of here.
5692 (install): Don't use the -s option, since people need symbols to
5693 debug code.
5694
5695 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
5696
5697 * etags-vmslib.c (fn_exp): Add type cast.
5698
5699 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5700
5701 * movemail.c: Changes in comments.
5702
5703 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5704
5705 * Makefile: Make the distclean target erase the DOC files from
5706 ../share-lib and the executables from ../arch-lib.
5707
5708 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5709
5710 * emacsclient.c: #include <sys/stat.h>
5711 (main): Do declare statbfr.
5712
5713 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5714
5715 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5716 for the socket, depending on SERVER_HOME_DIR.
5717 If using /tmp, put host name in the socket name.
5718
5719 * movemail.c (pfatal_and_delete): New function.
5720 (main, popmail): Use it.
5721 (popmail): Close output before deleting messages.
5722 Check for error on close and on fsync.
5723 Use `fatal' where appropriate.
5724 (main): Remove (void).
5725
5726 * aixcc.lex: New file. Not officially part of Emacs.
5727 * Makefile: Rules for that.
5728
5729 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
5730
5731 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5732
5733 * etags.c (main): Properly cast call to alloca that initializes
5734 included_files.
5735
5736 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5737
5738 * etags.c (files_are_tag_tables): Remove global var.
5739 (process_file): Don't test it. Also remove hack checking for a
5740 file named "TAGS".
5741 (main): -i now takes an arg which is the name of a file to include.
5742 Collect these names and emit include tags for them after processing
5743 all the argument files.
5744
5745 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5746
5747 * wakeup.c: Terminate if parent goes away.
5748
5749 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5750
5751 * etags.c (C_entries): Process token before handling end of line.
5752 When inner loops reach end of line, just back up.
5753 Let the real end of line processing happen in just one place.
5754 (consider_token): Likewise.
5755
5756 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5757
5758 * etags.c (TEX_mode): Skip comments while scanning the text to see
5759 which escape character this file uses.
5760
5761 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5762
5763 * emacsserver.c [USG]: Terminate if msgrcv fails.
5764
5765 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
5766
5767 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5768
5769 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
5770
5771 * make-docfile: Find the arguments to a C function correctly,
5772 by not ignoring the character that read_c_string returns. Don't
5773 even try to find argument names for functions that take MANY
5774 or UNEVALLED arguments, since they're a figment of the docstring's
5775 imagination.
5776
5777 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
5778
5779 * make-docfile: Read the .elc files generated by the new byte
5780 compiler.
5781
5782 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
5783
5784 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5785
5786 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
5787
5788 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5789
5790 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
5791
5792 * Makefile (install*): No need to install wakeup.
5793
5794 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
5795
5796 * Makefile (install*): Install emacsclient like etags.
5797
5798 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
5799
5800 * movemail.c (error): Handle 3 args.
5801 (main): Don't check input access if using pop.
5802
5803 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
5804
5805 * etags.c (find_entries): Check for numbers after Scheme suffix.
5806
5807 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
5808
5809 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5810
5811 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
5812
5813 * Makefile (nemacstool, xvetool): New targets.
5814
5815 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
5816
5817 * emacsclient.c: Include errno.h and define related variables.
5818
5819 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
5820
5821 * emacsclient.c: Change usage message.
5822
5823 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
5824
5825 * emacs.1: Add break before -nw option.
5826
5827 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
5828
5829 * qsort.c: Replace with GNU version.
5830
5831 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
5832
5833 * wakeup.c: New program replacing loadst.c.
5834
5835 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5836
5837 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5838
5839 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
5840
5841 * etags.c: Rename `flag' variables for what they do instead of
5842 which option character sets them.
5843
5844 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5845
5846 * loadst.c (main): Conditional to get load average on Apollo.
5847
5848 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
5849
5850 * emacsserver.c: Set the permission on the socket to 0600.
5851
5852 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5853
5854 * emacsclient.c [BSD]: Print clean message for failing getwd.
5855
5856 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
5857
5858 * getdate.y: Use the getdate.y from GNU tar for timer.
5859
5860 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
5861
5862 * emacsclient.c (main): Don't put brackets around "filename" in
5863 usage message. It isn't optional.
5864
5865 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
5866
5867 * etags.c (getit): Recognize '$' as beginning identifiers.
5868
5869 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
5870
5871 * emacsserver.c: Renamed from server.c.
5872 * Makefile: Reference emacsserver rather than server.
5873 * MACHINES: Doc fix for new emacsserver name.
5874
5875 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5876
5877 * emacsclient.c: Print program name in error messages.
5878
5879 1990-01-19 David Lawrence (tale@cocoa-puffs)
5880
5881 * timer.c, getdate.y (new files) and Makefile:
5882 Sub-process support for run-at-time in timer.el.
5883 Doesn't yet work correctly for USG.
5884
5885 1990-01-10 Jim Kingdon (kingdon@pogo)
5886
5887 * MACHINES: Add HP 300 running BSD.
5888
5889 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5890
5891 * yow.c: Dynamically allocate buffer; skip header before random
5892 choice to avoid bias toward first item.
5893
5894 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5895
5896 * etags.c (readline): Separate out init of `pend'.
5897
5898 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5899
5900 * etags.c: Undo changes relating to isgoodhdr.
5901
5902 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
5903
5904 * etags.c (isgoodhdr): New macro.
5905 (_gdh, notgdh): New variable used by that.
5906 (init): Initialize _gdh.
5907 (find_entries): Set header_file.
5908 (consider_token): Use isgoodhdr if in header file.
5909
5910 * etags.c (total_size_of_entries):
5911 Was miscalculating by 1 in rewritten case.
5912
5913 * etags.c (PAS_funcs): One arg to pfnote was missing.
5914
5915 1989-12-05 Joseph Arceneaux (jla@spiff)
5916
5917 * MACHINES: Change for the ULTRIX entry.
5918
5919 1989-11-21 Joseph Arceneaux (jla@spiff)
5920
5921 * etags.c (process_file): If file is not regular, return.
5922
5923 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5924
5925 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5926
5927 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5928
5929 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5930 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5931
5932 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5933
5934 * etags.c (consider_token): Allow any number of typespec keywords
5935 after `typedef', before new type name.
5936 (enum sym_type): Add st_C_typespec.
5937 (C_create_stab): Put typespec kwds in table.
5938
5939 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5940
5941 * etags.c (main): Don't depend on name invoked by.
5942 If CTAGS is not defined, assume it is ETAGS.
5943
5944 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5945
5946 * etags.c (L_funcs): Allow package name in define construct,
5947 as in (foo::defmumble name-defined ...).
5948
5949 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5950
5951 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5952
5953 * Makefile (yow): Depends on ../src/paths.h.
5954
5955 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5956
5957 * etags.c: Fix compilation by moving Pascal after Fortran.
5958
5959 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5960
5961 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5962
5963 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5964
5965 * hexl.c: New file, supports hexl-mode.
5966
5967 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5968
5969 * movemail.c: New compilation flag MAIL_USE_MMDF.
5970
5971 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5972
5973 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5974 * server.c: Likewise.
5975
5976 * make-docfile.c (scan_c_file): Output argument names at end of string.
5977 (write_c_args): New subroutine.
5978
5979 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5980
5981 * movemail.c: Report failure of flock.
5982
5983 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5984
5985 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5986
5987 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5988
5989 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5990
5991 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
5992
5993 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5994
5995 * emacsstool.1: update to document environment variables.
5996
5997 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5998
5999 * etags.c (PAS_funcs): New function by Mosur Mohan.
6000
6001 * movemail.c: On sysv, include unistd.h.
6002
6003 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6004
6005 * b2m.c: New file.
6006
6007 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6008
6009 * etags.c: Prolog support from Sunichirou Sugou
6010
6011 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6012
6013 * Makefile (clean): New target.
6014
6015 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6016
6017 * fakemail.c (put_line): Break header lines at 79 cols.
6018
6019 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6020
6021 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6022 multiple tags per line.
6023
6024 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6025
6026 * movemail.c: Check access before doing real work.
6027 Check that outfile is in a writable directory.
6028 On fatal error, delete the lock file.
6029
6030 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
6031
6032 * env.c: Add decl for my-index
6033 * etags.c (file-entries): .oak => scheme
6034
6035 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6036
6037 * movemail.c: Use `access' to check input and output files.
6038
6039 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6040
6041 * emacsclient.c (main): Ignore all of CWD before first slash.
6042
6043 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6044
6045 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6046
6047 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6048
6049 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6050 * server.c: chmod the socket to 0700.
6051
6052 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6053
6054 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6055 (add_field): Delete comments and turn `<', `>' to spaces
6056 in header lines.
6057 (USE_FAKEMAIL): New customization macro says to make fakemail
6058 not be a no-op even on a BSD system.
6059
6060 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6061
6062 * etags.c (consider_token): Skip comments just like whitespace.
6063 Notice `struct', etc. and set strtag for those tokens.
6064 Return 1 for the token following `struct' if an open-brace follows it.
6065 (C_entries): Special handling of token following `struct'
6066 needed because we have probably advanced to the following line
6067 to find the `{'.
6068 (main): New option `T' sets tflag and strflag.
6069 Set both of them by default if eflags.
6070
6071 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6072
6073 * movemail.c: Do fsync before closing output.
6074
6075 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
6076
6077 * movemail.c: Better error message when can't create tempname.
6078 This file needs a great deal of extra error-checking and lucid reporting...
6079
6080 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6081
6082 * etags.c: Support assembler code for .s and .a files.
6083 (getit): Allow underscore in a tag.
6084
6085 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6086
6087 * movemail.c: Close output and check errors before deleting input.
6088
6089 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
6090
6091 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6092 whether to prefix it. Handle line number args.
6093
6094 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
6095
6096 * etags.c (main): default setting of eflag was backwards.
6097
6098 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6099
6100 * etags.c: New option -i. -f renamed -o.
6101 `-' as input file means read input file names from stdin.
6102 -i spec'd or input file named TAGS means the input file is another
6103 tag table; output an "include" line for it.
6104
6105 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6106
6107 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6108 New targets install, install.sysv, install.xenix.
6109 This makefile is now responsible for installing executables
6110 and documentation from this directory into system directories.
6111
6112 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
6113
6114 * server.c, emacsclient.c (main): Compute socket name from euid.
6115
6116 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6117
6118 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6119
6120 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6121
6122 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6123 * emacsclient.c: Likewise.
6124 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6125
6126 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6127
6128 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6129 (istoken) New string-comparison macro.
6130 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6131
6132 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6133
6134 * etags.c: Changes for VMS.
6135 Always define ETAGS on VMS.
6136 Define macros GOOD and BAD for success and failure exit codes.
6137 (begtk, intk): Allow `$' in identifiers
6138 (main): Don't support -B, -F or -u on VMS.
6139 Alternate loop for scanning filename arguments.
6140 (system): Delete definition of this function.
6141
6142 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6143
6144 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6145
6146 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6147 around include of param.h. (Like fns.c.)
6148
6149 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6150
6151 * loadst.c (load_average): Move load-average code to this new fn.
6152 Add conditionals to compute load ave on UMAX.
6153
6154 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6155
6156 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6157 with opposite sense.
6158
6159 1988-05-13 Chris Hanson (cph@kleph)
6160
6161 * emacsclient.c: Delete references to unused variable `out'. This
6162 caused a bus error when used under hp-ux.
6163
6164 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6165
6166 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6167
6168 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
6169
6170 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6171
6172 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6173
6174 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6175
6176 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6177
6178 * movemail.c: #undef close, since config can #define it on V.3.
6179 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
6180
6181 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6182
6183 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6184 invalid escape sequences such as `\{'.
6185
6186 * loadst.c: Add `sequent' conditional for file dk.h.
6187
6188 1988-03-20 Richard M. Stallman (rms@wilson)
6189
6190 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
6191
6192 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6193
6194 ;; Local Variables:
6195 ;; coding: iso-2022-7bit
6196 ;; add-log-time-zone-rule: t
6197 ;; End:
6198
6199 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
6200 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
6201 2006 Free Software Foundation, Inc.
6202 Copying and distribution of this file, with or without modification,
6203 are permitted provided the copyright notice and this notice are preserved.
6204
6205 ;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc