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