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