(print_help_and_exit): Fix bug report instructions.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
9fc3db2b
GM
12009-10-15 Glenn Morris <rgm@gnu.org>
2
5f54cae6
GM
3 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
4
9fc3db2b
GM
5 * makefile.w32-in (echolisp): New rule.
6 (clean): Delete echolisp.tmp.
7
614bd9cf
EZ
82009-09-27 Eli Zaretskii <eliz@gnu.org>
9
10 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
11 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
12 be consistent with src/Makefile.in.
13
24e9e996
SM
142009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * update-game-score.c (main): Sort scores before trimming them,
17 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
18
c5a139ca
GM
192009-09-09 Glenn Morris <rgm@gnu.org>
20
21 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
22 before creating directories and game score files.
23
a8a8ec61
GM
242009-08-19 Glenn Morris <rgm@gnu.org>
25
0916a29e 26 * cvtmail.c: Remove file.
a8a8ec61
GM
27 * Makefile.in (UTILITIES): Remove cvtmail.
28 (cvtmail${EXEEXT}): Remove.
29
678bc1f5
CY
302009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
31
32 * b2m.c (main): Ensure that each message ends in two newlines.
33
0a3472c7
JR
342009-07-03 Jason Rumney <jasonr@gnu.org>
35
36 * emacsclient.c (w32_set_user_model_id): Use standard types.
37
f2d6b714
EZ
382009-07-03 Eli Zaretskii <eliz@gnu.org>
39
40 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
41 src/Makefile.in did.
42
ff90fbde
JR
432009-06-30 Jason Rumney <jasonr@gnu.org>
44
45 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
46 that is already loaded.
47 (w32_set_user_model_id): New function.
48 (main): Use it to associate emacsclient with emacs (bug#1849).
49
e0f59195
JM
502009-06-29 Jim Meyering <meyering@redhat.com>
51
52 Remove useless if-before-free test.
53 * make-docfile.c (scan_lisp_file): Remove useless test.
54
f5f20f6c
DN
552009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
56
57 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
58
70243478
CY
592009-06-21 Chong Yidong <cyd@stupidchicken.com>
60
61 * Branch for 23.1.
62
fa44da6e
AR
632006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
64
65 * mac-fix-env.m:
66 * Makefile.in (mac-fix-env): Remove.
67
a7f2b0b1
AR
682006-06-06 David Reitter <david.reitter@gmail.com>
69
70 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
71
9dfda22f
JB
722009-04-20 Juanma Barranquero <lekktu@gmail.com>
73
74 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
75 spacing is required in the message output, as the comment suggests).
76
24d5010d
CY
772009-04-20 Chong Yidong <cyd@stupidchicken.com>
78
79 * emacsclient.c (print_help_and_exit): Clarify argument placement
80 for short option names.
81
6133a1a9
DN
822009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
83
84 * emacsclient.c (print_help_and_exit): Fix typo.
85
22749e9a
EZ
862009-03-21 Eli Zaretskii <eliz@gnu.org>
87
88 * ntlib.c (setuid): Argument is now unsigned.
89 (getuid): Return value is now unsigned.
90 (getpwuid): Argument is now unsigned.
91 (fchown): UID and GID arguments are now unsigned.
92
93 * ntlib.h (fchown): UID and GID arguments are now unsigned.
94 (getuid): Return value is now unsigned.
95 (setuid): Argument is now unsigned.
96 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
97
b57ac69d 982009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
99
100 * emacsclient.c (main): Revert part of last change, so
101 drive-relative file names again work on Windows.
102
ba528748
SM
1032009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
106 names without prepending cwd to them, so Emacs uses its customary
107 rules to determine how to interpret the file name.
108
f213f2c0
GM
1092009-03-04 Glenn Morris <rgm@gnu.org>
110
111 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
112
8ee7d7be
CY
1132009-02-13 Sven Joachim <svenjoac@gmx.de>
114
115 * movemail.c: Include time.h unconditionally.
116 (main): Use time_t for time variables.
117
d228a23c
GM
1182009-02-11 Glenn Morris <rgm@gnu.org>
119
120 * movemail.c (mbx_delimit_begin): Also write the current time.
121
3f32be22
GM
1222009-02-10 Glenn Morris <rgm@gnu.org>
123
124 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
125 than Babyl format. (Bug#2196)
126
e7534fc4
AR
1272009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
128
129 * emacsclient.c (decode_options): Use a dummy display name under
130 NS/Cocoa.
131
9eb67dd9
CY
1322009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
133
134 * ebrowse.c (matching_regexp): Fix OB1 error.
135
b433a991
GM
1362009-01-05 Glenn Morris <rgm@gnu.org>
137
138 * ebrowse.c (version):
139 * etags.c (print_version):
140 * rcs2log (Copyright): Update copyright for 2009.
141
81f82586
CY
1422009-01-01 Chong Yidong <cyd@stupidchicken.com>
143
144 * movemail.c (main): Fatal if hard links cannot be created.
145
fd95644b
DN
1462008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
147
148 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
149 checking.
150
67c1df01
DN
1512008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
152
153 * emacsclient.c: Include syswait.h instead of sys/types.h.
154
f0131492 1552008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 156
d4835507
JB
157 * emacsclient.c (WCONTINUED): New compatibility define
158 for older systems.
5445ab06 159
d50299d5
DN
1602008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
161
162 * emacsclient.c (main): Fix previous change.
163
52016647
JB
1642008-12-10 Juanma Barranquero <lekktu@gmail.com>
165
166 * emacsclient.c (main): Fix mindless breakage where emacsclient
167 does not work *at all* on Windows, even if it *can* connect.
168
802bdb3c
DN
1692008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
170
171 * emacsclient.c (EMACS_DAEMON): Remove definition.
172 (decode_options): Do not allow an empty alternate_editor on
173 WINDOWSNT.
174 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
175 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 176 (main): Fail in case of not being able to connect.
802bdb3c 177
c3f995a2
JB
1782008-12-10 Juanma Barranquero <lekktu@gmail.com>
179
180 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
181 Changes when EMACS_DAEMON is not defined:
182 (print_help_and_exit): Don't add daemon information to help.
183 (start_daemon_and_retry_set_socket): Make a no-op.
184 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
185
636b507b
DN
1862008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
187
188 * emacsclient.c (print_help_and_exit): Describe what an empty
189 string argument does for --alternate-editor.
190 (set_socket): Make it possible to not exit in case of an error.
191 (start_daemon_and_retry_set_socket): New function.
192 (main): Use it. Restore the NULL value for socket_name and
193 server_file after the set_socket call.
194
448d4085
DN
1952008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
196
7b641241 197 * emacsclient.c: Include <arpa/inet.h>.
448d4085 198
938ebc4f
DN
1992008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
200
201 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
202
3d864325
GM
2032008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
204
205 * etags.c (add_regex): Pass correct length to re_compile_pattern.
206
48c2dc68
CY
2072008-11-02 Chong Yidong <cyd@stupidchicken.com>
208
209 * emacsclient.c (window_system): Delete redundant variable.
210 (decode_options): Don't use it.
211 (find_tty): New function.
212 (main): Use find_tty, and don't use window_system.
213
d41784ee
EZ
2142008-11-01 Eli Zaretskii <eliz@gnu.org>
215
216 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
217 `ttyname'.
218 (w32_getenv): Treat $TERM specially: if not found in the
219 environment and in the Registry, return "w32console".
220 (ttyname) [WINDOWSNT]: New function.
221
322ca650
AS
2222008-10-31 Andreas Schwab <schwab@suse.de>
223
224 * emacsclient.c (main): Don't force sending tty when in eval mode.
225
8a8a7cd3
CY
2262008-10-30 Chong Yidong <cyd@stupidchicken.com>
227
228 * emacsclient.c (main): If using the current frame, send tty
229 information to Emacs in case daemon mode needs to occupy this tty.
230
f8baa639
JB
2312008-10-29 Juanma Barranquero <lekktu@gmail.com>
232
bc558f3e
JB
233 * emacsclient.c (EXTRA_SPACE): New macro.
234 (get_server_config, set_local_socket): Use it.
235
f8baa639
JB
236 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
237 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
238
f77b11a0
JB
2392008-10-29 Ulrich Mueller <ulm@gentoo.org>
240
241 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
242 instead of hardcoded /tmp.
243
dc1cd5f7
DN
2442008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
245
246 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
247 (decode_options): Use getopt_long_only.
248
7a09249b
EZ
2492008-09-30 Eli Zaretskii <eliz@gnu.org>
250
251 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
252 codepage.elc.
253
997ec957
CY
2542008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
255
256 * emacsclient.c (main): Use stdout rather than stdin to obtain the
257 terminal (bug#427).
258
0d80bf29
FP
2592008-08-25 Francesco Potortì <pot@gnu.org>
260
261 * etags.c (main): Do not use static space for the tagfile string.
262
34a23e94
FP
2632008-08-17 Francesco Potortì <pot@gnu.org>
264
265 * etags.c (main): Use canonicalize_filename on tags file name.
266 (relative_filename): Revert 3.85: do not collapse slashes here.
267 (absolute_dirname): Remove useless call to canonicalize_filename.
268 (canonicalize_filename): Collapse multiple slashes here.
269
48fad8e8
DN
2702008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
271
10d1d0af
JB
272 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
273 Do not special case for NS_IMPL_COCOA.
48fad8e8 274
6088b51f 2752008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
276
277 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
278 (.m.o): Dispense with GNUstep-specific flags.
279
39b8bb9b
CY
2802008-08-05 Ulrich Mueller <ulm@gentoo.org>
281
282 * pop.c (socket_connection): Add conditionals for
283 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
284 compilation with MIT Kerberos and Heimdal, respectively.
285
7c2fb837
DN
2862008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
287
288 * etags.c:
289 * emacsclient.c: Remove VMS support.
290
9e2a2647
DN
2912008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
292
293 Remove support for Mac Carbon.
294 * makefile.w32-in:
295 * emacsclient.c: Remove code for Carbon.
296
7f619bab
DN
2972008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
298
299 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
300
32cc3925
AS
3012008-07-17 Andreas Schwab <schwab@suse.de>
302
303 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
304 (LIB_STANDARD_LIBSRC): Don't define.
305 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
306
ba60bd44 3072008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
308
309 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
310 NS_IMPL_COCOA.
311
50863f58
DN
3122008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
313
ba60bd44
JB
314 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
315 Remove, unused.
50863f58 316
ba60bd44 3172008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
318
319 * .cvsignore: Add mac-fix-env.
320 * mac-fix-env.m: New file, automatically update
321 ~/.MacOSX/environment.plist on OS X systems to expose environment
322 variables inside Emacs started from icon.
323 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
324 programs to build.
325 * make-docfile.c: Add .m to list of file extensions.
326
bba104c1
DN
3272008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
328
329 * movemail.c (main): Use int instead of WAITTYPE.
330
da007124
JB
3312008-07-05 Juanma Barranquero <lekktu@gmail.com>
332
333 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
334 Remove vmsproc.el and vms-patch.el.
335
c9fc02c7
JB
3362008-06-26 Juanma Barranquero <lekktu@gmail.com>
337
338 * makefile.w32-in (obj): Remove w32bdf.o.
339
f2a77c3a
DN
3402008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
341
342 * fakemail.c: Remove references to obsolete variables.
343
c2cd06e6
JM
3442008-06-02 Jim Meyering <meyering@redhat.com>
345
e914c409 346 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 347
e914c409 348 Remove useless if-before-free tests.
70fdbb46
JM
349 * ebrowse.c (xfree): Likewise.
350 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 351 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 352 * pop.c (pop_quit): Likewise.
c2cd06e6 353
01b996ad
JB
3542008-05-30 Juanma Barranquero <lekktu@gmail.com>
355
356 * makefile.w32-in (lisp2): Add minibuffer.elc.
357
2926947a
SM
3582008-05-29 Tom Tromey <tromey@redhat.com>
359
360 * etags.c (relative_filename): Treat "///" like "/" in filenames.
361
10fea9c4
EZ
3622008-05-09 Eli Zaretskii <eliz@gnu.org>
363
364 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
365 (IS_DIRECTORY_SEP): New macro.
366 (convert_time, is_exec, stat): New functions.
367
86914123
EZ
3682008-05-08 Eli Zaretskii <eliz@gnu.org>
369
370 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
371
58bb7d50
EZ
3722008-05-03 Eli Zaretskii <eliz@gnu.org>
373
374 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
375 corresponding change in src/Makefile.in.
376
63b9b605
GM
3772008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
378
379 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
380
4429f88c
JR
3812008-04-10 Jason Rumney <jasonr@gnu.org>
382
383 * makefile.w32-in (CLIENTRES): New variable and target.
384 (TRES): Remove.
385 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
386
14b11401
SM
3872008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
390
95de358c
RF
3912008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
392
393 * vcdiff: Use mktemp (CVE-2008-1694).
394
6948400c
JR
3952008-04-09 Jason Rumney <jasonr@gnu.org>
396
397 * makefile.w32-in (distclean, maintainer-clean): New targets.
398
afd27920
GM
3992008-03-13 Glenn Morris <rgm@gnu.org>
400
401 * makefile.w32-in (VERSION): Set to 23.0.60.
402
3d193d0f
JB
4032008-03-04 Juanma Barranquero <lekktu@gmail.com>
404
405 * .cvsignore: Add oo.
406
1797886f
SM
4072008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
408
409 * etags.c (Perl_functions): Fix call to skip_spaces.
410
9d2818d6
DN
4112008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
412
413 * Makefile.in (NO_SHORTNAMES):
414 * emacsclient.c (NO_SHORTNAMES):
415 * fakemail.c (NO_SHORTNAMES):
416 * make-docfile.c (NO_SHORTNAMES):
417 * movemail.c (NO_SHORTNAMES):
418 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
419
79d48c1a
JR
4202008-02-23 Jason Rumney <jasonr@gnu.org>
421
422 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
423 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 424 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
425 (lisp2): Add new languages.
426 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
427
9c61c734
JB
4282008-02-22 Juanma Barranquero <lekktu@gmail.com>
429
430 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
431 malayalam.el, and tamil.el. Add sinhala.el.
432
50f271cb
JB
4332008-02-20 Juanma Barranquero <lekktu@gmail.com>
434
435 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
436 where NAME is relative to DRIVE'S current directory.
437
d07529f3
JB
4382008-02-15 Juanma Barranquero <lekktu@gmail.com>
439
440 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
441
45c1955d
DN
4422008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
443
444 * fakemail.c: Undo previous change.
445
deeaffe1
DN
4462008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
447
4624371d
DN
448 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
449 (main): Replace MAIL_PROGRAM_NAME with its value.
450
d07529f3 451 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 452
9997dc15
SM
4532008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacsclient.c (decode_options): Pass --display implicitly if -c
456 is specified. Only set tty if -t or -c is specified.
457
0c55bf82
JR
4582008-02-04 Jason Rumney <jasonr@gnu.org>
459
460 * makefile.w32-in (lisp1): Use (), not {}.
461
31cdf671
CY
4622008-02-04 Tom Tromey <tromey@redhat.com>
463
d07529f3
JB
464 * etags.c: Add "GTY" as synonym for __attribute__.
465 Update gperf output.
31cdf671 466
9303f985 4672008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
468
469 * makefile.w32-in (obj): Sync with src/Makefile.in
470 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
471 (WINNT_SUPPORT): Add term/w32-win.elc.
472 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
473
9303f985 4742008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 475
d07529f3 476 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 477
d07529f3 4782008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 479
290afd83 480 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
481 utf-8.elc, and latin-*.el.
482
0ea5797a
SM
4832008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
484
bcc891c2 485 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
486 Allow the -d option under w32 again, for those rare cases where it
487 actually does make sense.
488
5ab73228
JB
4892008-01-25 Juanma Barranquero <lekktu@gmail.com>
490
491 * emacsclient.c (set_tcp_socket): Don't send "\n" after
492 the authentication string; there's no need to haste.
493
702123a8
CY
4942008-01-22 Chong Yidong <cyd@stupidchicken.com>
495
496 * pop.c (pop_stat, pop_last): Fix last fix.
497
76ed5e01
DN
4982008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
499
500 * movemail.c: Remove references to XENIX.
501
e39a993c
DN
5022008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
503
504 * movemail.c:
505 * make-docfile.c: Remove reference to symbols defined by systems
506 not supported anymore: MAC_OS8, XENIX and STRIDE.
507
0ebec7d3
EZ
5082008-01-12 Eli Zaretskii <eliz@gnu.org>
509
510 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
511 of DISPLAY in the environment. Don't support -d.
512 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
513 (longopts) [WINDOWSNT]: Remove --display.
514
6eae3ad4
CY
5152008-01-10 Chong Yidong <cyd@stupidchicken.com>
516
517 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
518 conversion. Mistakes spotted by Nico Golde.
519
78da39c6
GM
5202008-01-09 Glenn Morris <rgm@gnu.org>
521
522 * emacsclient.c: Add missing final newlines to message calls.
523
34a14ec9 5242008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
525
526 * emacsclient.c (set_socket): Add final newline to socket error message.
527
a408ea17
GM
5282008-01-04 Glenn Morris <rgm@gnu.org>
529
07655e62
JB
530 * ebrowse.c (version) <emacs_copyright>: New variable.
531 Just use current year for copyright.
a408ea17
GM
532
533 * etags.c (print_version):
534 * rcs2log (Copyright): Update to 2008.
535
0dc7a8bc
JR
5362007-11-28 Jason Rumney <jasonr@gnu.org>
537
538 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
539
880820fe 5402007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
541
542 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
543
880820fe 5442007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
545
546 * pop.c (socket_connection): Move realhost out of #ifdefs.
547 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
548
880820fe 5492007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
550
551 * pop.c (socket_connection): Use getaddrinfo if available.
552
880820fe 5532007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 554
65841dd8 555 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 556 as the defaults in ctags are different from etags.
63f018cd 557
880820fe 5582007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
559
560 * etags.c: Make prototypes for extern definitions, and add all
561 that are needed to quench warnings on 64-bit.
562 (main): Use the same defaults for ctags as for etags: find
563 typedefs, structure tags, macro constants, enum constants, struct
564 members and global variables.
565 (make_C_tag) [DEBUG]: Add debugging printout.
566 (C_entries): In case '}' decrement bracelev before testing it.
567
7455effc
FP
5682007-11-15 Masatake YAMATO <jet@gyve.org>
569
570 * etags.c (C_entries): In case '}', set fvdef to fvnone
571 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
572
04a697fe
DN
5732007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
574
575 * makefile.w32-in (obj): Remove sunfns.o.
576
a2666217
JB
5772007-10-28 Juanma Barranquero <lekktu@gmail.com>
578
579 * makefile.w32-in (obj): Remove abbrev.o.
580
7ce8671d
JB
5812007-10-26 Juanma Barranquero <lekktu@gmail.com>
582
583 * emacsclient.c: Add a wrapper for getenv so it also checks the
584 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
585 Code partially based on w32_get_resource and init_environment (w32.c).
586 (egetenv): New wrapper for getenv.
587 (get_current_dir_name, decode_options, get_server_config)
588 (set_local_socket, set_socket, main): Use egetenv, not getenv.
589 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
590
d22b00e5
JR
5912007-10-25 Jason Rumney <jasonr@gnu.org>
592
593 * emacsclient.c (sock_err_message): New function.
594 (set_tcp_socket): Use it.
595
c4b858e3
JB
5962007-10-09 Juanma Barranquero <lekktu@gmail.com>
597
598 * emacsclient.c (print_help_and_exit): Fix space to improve
599 alignment in output messages.
600
dbf60b07
JR
6012007-09-27 Jason Rumney <jasonr@gnu.org>
602
603 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
604
605 * emacsclient.c (w32_window_app): Init common controls when windowed.
606
165e85b2
GM
6072007-09-21 Glenn Morris <rgm@gnu.org>
608
609 * emacstool.c: Remove file.
610 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
611 Delete targets built from emacstool.
612
c1b8e896
SM
6132007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacsclient.c (decode_options): -t implies -c.
616
cb06b8dc
SM
6172007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
620 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
621 (main_argc): Remove.
622 (strprefix): Use strncmp.
623
c801ad51
JR
6242007-09-20 Jason Rumney <jasonr@gnu.org>
625
626 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
627
31fa6595
SM
6282007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * emacsclient.c (current_frame): Change the default.
631 (longopts): Replace --current-frame by --create-frame.
632 (decode_options): Reverse the meaning of -c.
633 (print_help_and_exit): Update help text accordingly.
634 (main): Remove the -version and -good-version messages.
635
58573230
GM
6362007-09-12 Glenn Morris <rgm@gnu.org>
637
638 * Makefile.in (SOURCES, unlock, relock): Delete.
639
bfd9ce71
GM
6402007-08-29 Glenn Morris <rgm@gnu.org>
641
642 * makefile.w32-in (VERSION): Increase to 23.0.50.
643
8d9cc0b7
MB
6442007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
645
646 * emacsclient.c (w32_execvp): Move definition before use.
647 (decode_options): Don't use a tty on mac carbon or windows.
648
6492007-08-29 Jason Rumney <jasonr@gnu.org>
650
31fa6595 651 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
652 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
653 (main): Expand removed macros inline.
654 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
655 option.
656 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
657
880820fe 6582007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
659
660 * emacsclient.c (signal.h): New include.
661 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
662 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
663 Copy definitions here from src/lisp.h.
664 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
665 (longopts): Add tty, current-frame.
666 (xmalloc, xstrdup): New functions.
667 (get_current_dir_name): New function, copied from src/sysdep.c.
668 (decode_options): Set display from environment. Add tty and
669 current_frame options. Make --no-wait imply --current-frame,
670 except when it is the only option given. Make sure no frame is
671 opened when --current-frame is set.
672 (print_help_and_exit): Document tty and current-frame options.
673 (fail): Change arguments to void.
674 (main): When sockets are not defined, set main_argc, main_argv,
675 and call fail() with no arguments.
676 (emacs_socket): New variable (moved out from main `s').
677 (quote_file_name): Rename to quote_argument.
678 (quote_argument): New name for old quote_file_name.
679 (unquote_argument, strprefix, pass_signal_to_emacs)
680 (handle_sigcont, handle_sigtstp, init_signals): New functions.
681 (set_local_socket): Initialize saved_errno to 0. If socket-name
682 is too long, call `fail' rather than `exit'.
683 (main): Doc update. Set main_argc, main_argv. New var `str'.
684 Don't need a filename or argument if tty or window_system set.
685 Call fail with no arguments. Use get_current_dir_name to send
686 over the current directory. Send version number to Emacs for
687 verification. If tty is set, check TERM, and pass name and type
688 to Emacs. Pass window_system to Emacs. Move sending of eval to
689 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
690 fflush. Check for a client/server version match.
691 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
692 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
693 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
694 environment and pwd to Emacs. Send current-frame to Emacs.
695
ca4ea90f
EZ
6962007-08-25 Eli Zaretskii <eliz@gnu.org>
697
698 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
699 Prepend "-" to the command, in case srcdir=. and file is copied
700 into itself.
701
cacc7b51
GM
7022007-07-25 Glenn Morris <rgm@gnu.org>
703
704 * Relicense all FSF files to GPLv3 or later.
705
706 * COPYING: Switch to GPLv3.
707
880820fe 7082007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
709
710 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
711 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
712 (print_help): Use it in if() rather than #if.
713 (print_help): Conditionally print help about --no-line-directive.
180f5b99 714
9724908a
EZ
7152007-07-16 Eli Zaretskii <eliz@gnu.org>
716
717 * makefile.w32-in (clean): Don't delete *~.
718
5cf9ca93
GM
7192007-06-07 Glenn Morris <rgm@gnu.org>
720
721 * etags.c (print_version): Add `emacs_copyright' string, for
722 easier automatic updating.
723
880820fe 7242007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
725
726 * etags.c: Extern definitions of some more pointer functions for
727 standalone compilation, especially important for 64bit platforms.
728 (main, print_help): --members is now the default for etags.
729 (C_entries): Parse start of C comment as a space == end of token.
730 This is not necessary for C++ comment, already parsed as newline.
731
07016031
GM
7322007-04-26 Glenn Morris <rgm@gnu.org>
733
734 * makefile.w32-in (VERSION): Increase to 22.1.50.
735
7dfc4cda
CY
7362007-06-02 Chong Yidong <cyd@stupidchicken.com>
737
738 * Version 22.1 released.
739
880820fe 7402007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 741
d620ddb3 742 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 743
0971f887
GM
7442007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
745
746 * Makefile.in (EMACS, EMACSOPT): New variables.
747 (blessmail): Use `--no-site-file' when compiling.
748
880820fe 7492007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
750
751 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
752 (main): Now --members is the default for etags, not for ctags yet.
753
d881944f 7542007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 755
47dad44f 756 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
757 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
758 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
759 import, package, extends, implements and interface to be treated
760 specially for all kinds of C-style files, not just Java files.
761
880820fe 7622007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 763
47dad44f 764 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
765 (no_duplicates): Static variables for the above option.
766 (print_help): Do not print help for --no-warn, now undocumented.
767 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 768 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 769
880820fe 7702006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
771
772 * etags.c (readline): When creating a relative file name from a
773 #line directive, leave the file name alone. The previous
a7c29764 774 behavior was to make it relative to the tags file directory,
18f9bf25
FP
775 under the hypothesis that the #line directive file name was
776 relative to the directory of the tagged file. That hypothesis is
777 wrong with Cpp and Lex.
17d5f8a6 778 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 779
5e059fc1
EZ
7802006-12-22 Eli Zaretskii <eliz@gnu.org>
781
782 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
783 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 784 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
785 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
786 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
787 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
788 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
789 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 790 (clean): Delete stamp_BLD.
5e059fc1 791
880820fe 7922006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
793
794 * etags.c (C_entries): DEFUN names were longer by one: corrected.
795
0e0dced5
JB
7962006-12-18 Juanma Barranquero <lekktu@gmail.com>
797
798 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
799 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
800 (main) [WINDOWSNT]: Remove code to release the focus; call
801 w32_give_focus instead.
802
4472aef4
JB
8032006-12-15 Juanma Barranquero <lekktu@gmail.com>
804
805 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
806 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
807 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
808 Suggestions and comment by Eli Zaretskii.
809
12f7728e 8102006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
811
812 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
813 Use $(USER32) for compatibility with Visual Studio .NET 2003.
814
310afa17
JB
8152006-11-30 Juanma Barranquero <lekktu@gmail.com>
816
817 * emacsclient.c (emacs_pid): New variable.
818 (message): Remove leftover code.
819 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
820 focus yet; emacsclient can still display an informational message
821 before sending requests to Emacs.
822 (main): Allow Emacs to grab the focus. Simplify message() call.
823
8242006-11-30 Michael Mauger <mmaug@yahoo.com>
825
826 * emacsclient.c (message): Make sure the message is properly
827 written even if it contains printf escapes, and flush the result.
828 (set_tcp_socket): Make the message for non-local connections
829 informational rather than an error.
830
8c57275b 8312006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
832
833 * etags.c (readline): Check for double quote after #line.
834
880820fe 8352006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
836
837 * etags.c (readline): sscanf could in principle return 2.
838
880820fe 8392006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
840
841 * etags.c (readline): lno is unsigned.
842 (TeX_commands): Use p++ (rather than *p++) to increment p.
843 (Lua_functions): Explicitly discard LOOKING_AT's return value.
844
4d91c8f9
JB
8452006-11-27 Juanma Barranquero <lekktu@gmail.com>
846
847 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
848 ($(TRES)): New rule (copied from nt/makefile.w32-in).
849 ($(BLD)/emacsclientw.exe): Add dependency.
850
340d34a5
EZ
8512006-11-27 Eli Zaretskii <eliz@gnu.org>
852
d620ddb3 853 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 854
7dce1990
JB
8552006-11-25 Juanma Barranquero <lekktu@gmail.com>
856
857 * makefile.w32-in (VERSION): New macro.
858 (ECLIENT_CFLAGS): Add -DVERSION.
859
410797a5 8602006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
861
862 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
863
410797a5 8642006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 865
4472aef4
JB
866 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
867 file names with forward slashes.
cb0297bb 868
30aa95ce
JB
8692006-11-23 Juanma Barranquero <lekktu@gmail.com>
870
871 * emacsclient.c (print_help_and_exit): Tweak message contents and
872 tabs/spaces to improve alignment in message boxes.
873
42073bfb
JB
8742006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
875
876 * emacsclient.c: Include <stdarg.h>.
877 [WINDOWSNT]: Include <windows.h>.
878 (w32_check_console_app): New function.
879 (message): New function.
880 (decode_options, print_help_and_exit, fail, main)
881 (initialize_sockets, get_server_config, set_tcp_socket)
882 (set_local_socket, set_socket): Use message().
883
32dd9283 8842006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 885
32dd9283
JR
886 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
887 HAVE_INET_SOCKETS.
888
1bbea9fc
JB
8892006-11-13 Juanma Barranquero <lekktu@gmail.com>
890
891 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
892 ($(BLD)/emacsclientw.exe): New target.
893 (install): Install emacsclientw.exe.
894 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
895 (ECLIENT_CFLAGS): Remove redundant flags.
896
897 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
898
a48db427
JR
8992006-11-13 Jason Rumney <jasonr@gnu.org>
900
901 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
902
21f89bb7 9032006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
904
905 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
906
d5abc12c
JB
9072006-11-08 Juanma Barranquero <lekktu@gmail.com>
908
ed4a3730
JB
909 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
910 FARPROC to avoid a compiler warning.
d5abc12c 911
18b8c421
JB
9122006-11-07 Juanma Barranquero <lekktu@gmail.com>
913
88b46d84
JB
914 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
915 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
916
18b8c421
JB
917 * emacsclient.c (get_server_config): Extract also the Emacs pid
918 from the server file. On Windows, try to force the Emacs frame to
919 the foreground.
920
b03d27bd
JB
9212006-11-06 Juanma Barranquero <lekktu@gmail.com>
922
21f89bb7 923 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
924 option --socket-name.
925 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
926 command line options.
21f89bb7 927 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
928 (fail): Don't check for missing arguments, it is now done in set_socket.
929 (file_name_absolute_p): New function (loosely based on the one in
930 fileio.c).
931 (initialize_sockets): Don't check for duplicate loading of Winsock.
932 (get_server_config): Only try relative paths in the default
933 directory locations.
934 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
935 a remote server.
936 (set_socket): Call INITIALIZE(). Search explicit command-line
937 arguments, then environment variable EMACS_SERVER_FILE, then implicit
938 socket paths, before trying the alternate editor.
939 (main): Use file_name_absolute_p.
940
b20d6154
EZ
9412006-11-04 Eli Zaretskii <eliz@gnu.org>
942
943 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
944 file if it doesn't already exist.
945
9c92edca
JB
9462006-11-03 Juanma Barranquero <lekktu@gmail.com>
947
948 * emacsclient.c (initialize_sockets): Don't initialize Winsock
949 more than once.
950
b6ce9c46
JB
9512006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
952
953 * Makefile.in (INSTALL_SCRIPT): New macro.
954 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
955
4418616b
JB
9562006-11-02 Juanma Barranquero <lekktu@gmail.com>
957
958 * grep-changelog: When called with no arguments (not even a
959 filter), show help instead of blindingly dumping every single
960 ChangeLog available. Doc fix. Update version.
961
1e7823d0
JB
9622006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
963
964 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
965 [!WINDOWSNT]: Include <netinet/in.h> if available.
966 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
967 (IOCTL, IOCTL_BOOL_ARG): Remove.
968 (set_tcp_socket): Don't set the socket in blocking mode.
969 Remove c_arg.
970
ebc20ca0
JB
9712006-11-01 Juanma Barranquero <lekktu@gmail.com>
972
973 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
974 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
975
880820fe 9762006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
977
978 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
979 (close_winsock): Declare as __cdecl.
980
880820fe 9812006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
982
983 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
984 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
985 to set the socket in non-blocking mode.
986
e35fc962
JB
9872006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
988
d4fa60c8 989 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
990 (INVALID_SOCKET): Define.
991 (initialize_sockets): Put #endif at the right place.
992 (set_local_socket): Use progname, not argv[0].
993
ecc54057
JB
9942006-10-31 Juanma Barranquero <lekktu@gmail.com>
995
996 * makefile.w32-in (ALL): Add emacsclient.
997 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
998 (emacsclient, $(BLD)/emacsclient.exe): New targets.
999 (install): Install emacsclient.
1000
1001 * emacsclient.c: Add support for TCP sockets.
1002 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1003 (INITIALIZE): New macros.
1004 (IOCTL_BOOL_ARG): New typedef.
1005 (server_file): New global variable.
1006 (longopts): New option --server-file.
1007 (decode_options): Process new option --server-file and environment
1008 variable EMACS_SERVER_FILE.
1009 (print_help_and_exit): Document new option.
1010 (fail): If no connection available and no alternate editor,
1011 suggest using options to make them explicit.
1012 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1013 (send_buffer, sblen): New variables.
31fa6595 1014 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1015 (quote_file_name): Use SEND_STRING.
1016 (close_winsock, initialize_sockets): New functions to load and
1017 unload Winsock.
1018 (get_server_config, set_tcp_socket): New functions to create and
1019 set up TCP sockets.
1020 (set_local_socket): New function to create and set up Unix
1021 socket (code moved from previous implementation).
10d1d0af 1022 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1023 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1024 set_local_socket. Use set_socket. Get answers from server.el with
1025 recv(), not file stream functions.
1026
70846e2a
EZ
10272006-10-09 Eli Zaretskii <eliz@gnu.org>
1028
1029 * makefile.w32-in (../src/config.h): Fix error message.
1030
e2247cd0
EZ
10312006-09-30 Eli Zaretskii <eliz@gnu.org>
1032
1033 * .cvsignore: Add blessmail.
1034
45a2056c
JB
10352006-09-15 Jay Belanger <belanger@truman.edu>
1036
1037 * COPYING: Replace "Library Public License" by "Lesser Public
1038 License" throughout.
1039
880820fe 10402006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1041
ecc54057 1042 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1043 (readline): Change position on %n and \" in sscanf.
1f4edc37 1044
1520a816
JD
10452006-08-07 Masatake YAMATO <jet@gyve.org>
1046
ecc54057
JB
1047 * etags.c (readline): Expect sscanf returns 2, not 1.
1048
867cc23e
JD
10492006-08-07 Masatake YAMATO <jet@gyve.org>
1050
9984b9d5 1051 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1052 File ended without newline causes infinite loop.
1053
6088b51f 10542006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1055
ecc54057 1056 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1057
880820fe 10582006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1059
1060 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1061 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1062 (Objc_suffixes): Suggest using --lang=c for full help.
1063 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1064
116e754b
AS
10652006-07-20 Andreas Schwab <schwab@suse.de>
1066
1067 * fakemail.c (fatal): Drop second parameter and treat first
1068 parameter as a plain string. Callers changed.
1069
2381d38d
DN
10702006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1071
1072 * ebrowse.c (usage, version): Mark as NO_RETURN.
1073
1074 * emacsclient.c (print_help_and_exit): Likewise.
1075
880820fe 10762006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1077
1078 * etags.c (absolute_filename): Free unused space (cosmetic change).
1079 (in_word_set): In C, also tag #undef symbols.
1080
7cb93181
EZ
10812006-06-09 Eli Zaretskii <eliz@gnu.org>
1082
1083 * yow.c: Remove file.
1084
1085 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1086
1087 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1088 yow${EXEEXT}: Remove target.
1089
0f29c66d
MY
10902006-06-04 Masatake YAMATO <jet@gyve.org>
1091
63fbb644 1092 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1093 doesn't exist, is not seekable, not is failed in ftall.
1094
a941b26b
EZ
10952006-06-03 Eli Zaretskii <eliz@gnu.org>
1096
9781fb53
EZ
1097 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1098 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1099 ($(BLD)/test-distrib.exe): New targets.
1100 (sorted-doc, digest-doc, test-distrib): New targets.
1101 (install): Install sorted-doc.exe and digest-doc.exe.
1102 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1103
1b178b99
EZ
1104 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1105 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1106 terminal device.
1107
ae85efdb
EZ
1108 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1109 [WINDOWSNT] <top level>: Don't redeclare malloc.
1110 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1111 terminal device.
6088b51f 1112 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1113
a941b26b
EZ
1114 * makefile.w32-in: Delete traces of leditcfns.c.
1115
1116 * leditcfns.c: Remove file.
1117
880820fe 11182006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1119
31fa6595
SM
1120 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1121 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1122
642c61f3
EZ
11232006-05-13 Eli Zaretskii <eliz@gnu.org>
1124
1125 * makefile.w32-in (lisp1): Add fringe.elc.
1126
880820fe 11272006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1128
1129 * etags.c (Perl_functions): Free space allocated for var package.
1130 (Erlang_functions): Possibly free space allocated for var last.
1131 (Prolog_functions): Possibly free space allocated for var last.
1132
7c47913b
DN
11332006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1134
7fe8b491
DN
1135 * sorted-doc.c (main): Initialize docs to NULL.
1136
cdeda579
DN
1137 * yow.c (yow): Free buf.
1138
7c47913b
DN
1139 * etags.c: Delete c-indentation-style local variable.
1140
2ef88a94
RS
11412006-04-29 Richard Stallman <rms@gnu.org>
1142
5e5b35c7
RS
1143 * movemail.c (main): Check for negative value from `read'.
1144
2ef88a94
RS
1145 * fakemail.c (read_header): Give fatal error if input has no header.
1146
d65b4235
PE
11472006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1148
1149 * b2m.c (main): Don't include <limits.h>.
1150 (TM_YEAR_BASE): New macro.
1151 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1152 that s/ files can override this. Use the more-conservative range
1153 1000-9999.
1154 (main): Check for asctime returning NULL.
1155 * fakemail.c: Likewise.
1156
f5565804
PE
11572006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1158
1159 * b2m.c: Include <limits.h>.
1160 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1161 (main): Check for out-of-range time stamps.
1162 * fakemail.c: Likewise.
1163
90c9c343
AS
11642006-03-18 Andre Spiegel <spiegel@gnu.org>
1165
1166 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1167 execute $DIFF twice, and once with the wrong options.
1168
a6a2b5d4
EZ
11692006-02-23 Claudio Fontana <claudio@gnu.org>
1170
9e2bcc86
EZ
1171 * Makefile.in (install, uninstall): Add DESTDIR variable to
1172 support staged installations.
a6a2b5d4 1173
ef3f69f9
EZ
11742005-12-30 Eli Zaretskii <eliz@gnu.org>
1175
1176 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1177 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1178 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1179 Rearrange the list to be similar to $(shortlisp) in
1180 src/Makefile.in.
ef3f69f9
EZ
1181 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1182 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1183 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1184 src/Makefile.in.
1185
30cfcf7f
RS
11862005-12-22 Richard M. Stallman <rms@gnu.org>
1187
1188 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1189
ecc54057 11902005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1191
1192 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1193 which was never opened.
1194
283879ef 11952005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1196
1197 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1198 header files.)
1199
880820fe 12002005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1201
1202 * etags.c: Preliminary Forth support.
1203 (prolog_pr): Cast strlen to int before comparison.
1204 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1205 the second argument is indeed a literal string.
b9509712 1206 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1207
12082005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1209
1210 * etags.c (longopts, print_help, main): The -a (--append) option
1211 can be used in ctags also; for one, the Linux make file uses it.
1212
41ea4df8
CY
12132005-09-20 Chong Yidong <cyd@stupidchicken.com>
1214
1215 * ebrowse.c (add_sym): Compare namespace names instead of
1216 namespace objects. This prevents the parser from incorrectly
1217 treating classes whose superclass is in another namespace.
1218
5c4757d3
RS
12192005-09-15 Richard M. Stallman <rms@gnu.org>
1220
1221 * Makefile.in (update-game-score.o): New target.
10d1d0af 1222 Compile and link this program separately.
5c4757d3
RS
1223 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1224
df1b2142
JR
12252005-09-11 Jason Rumney <jasonr@gnu.org>
1226
ecc54057 1227 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1228 message instead.
31fa6595 1229 (../src/paths.h): Remove.
df1b2142 1230
c638055f
JB
12312005-07-27 Juanma Barranquero <lekktu@gmail.com>
1232
1233 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1234 generated. Ignore also ctags.c and getopt.h.
1235
1236 * makefile.w32-in (clean): Delete getopt.h.
1237 (getopt.h): New rule.
1238
9eff9fe3
PE
12392005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1240
1241 Merge gnulib getopt implementation into Emacs.
1242
1243 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1244 (GETOPT_H): New macro, from gnulib.
1245 (getopt.h): New rule, from gnulib.
1246 (GETOPTOBJS): Now autoconfigured.
1247 (GETOPTDEPS): getopt.h is now autoconfigured.
1248 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1249 (getopt.o): Depend on ${srcdir}/gettext.h.
1250 (movemail.o): Depend on $(GETOPT_H).
1251 * getopt.c, getopt1.c: Sync from gnulib.
1252 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1253 * getopt.h: Removed (now is getopt_.h).
1254
ec641d50
KR
12552005-07-13 Ken Raeburn <raeburn@gnu.org>
1256
0e0dced5
JB
1257 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1258 (sendline): Add the \r\n to the line in a temporary buffer, and write
1259 it all at once.
ec641d50 1260
a0ec7a4a
LK
12612005-07-04 Lute Kamstra <lute@gnu.org>
1262
1263 Update FSF's address in GPL notices.
1264
0e0dddda
EZ
12652005-06-13 Eli Zaretskii <eliz@gnu.org>
1266
1267 * makefile.w32-in ($(DOC)): Fix last change.
1268
5a77c8e2
EZ
12692005-06-12 Eli Zaretskii <eliz@gnu.org>
1270
1271 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1272 temacs.exe, and the preloaded *.elc files. This avoids
1273 unnecessary dumping and DOC rebuilding.
1274
1a8fb426
EZ
12752005-06-04 Eli Zaretskii <eliz@gnu.org>
1276
1277 * ntlib.h (fileno): Don't define if already defined.
1278
7235a58f
TTN
12792005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1280
1281 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1282 (yow): Use EXIT_FAILURE in case of memory error.
1283
5063dbbf
YM
12842005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1285
1286 * make-docfile.c (DIRECTORY_SEP): New macro.
1287 (IS_DIRECTORY_SEP): Use it.
1288
880820fe 12892005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1290
1291 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1292
ba025f6d
YM
12932005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1294
1295 * make-docfile.c: Undo previous change.
1296
a9eedf40
AS
12972005-02-04 Andreas Schwab <schwab@suse.de>
1298
0e0dced5
JB
1299 * movemail.c (fatal): Accept third parameter and pass down to error.
1300 (pfatal_with_name): Pass error string as format parameter instead of
1301 as part of format string.
a9eedf40
AS
1302 (pfatal_and_delete): Likewise.
1303 (main): Adjust call to fatal.
1304 (xmalloc): Likewise.
1305
5a92a9eb
RS
13062005-01-29 Richard M. Stallman <rms@gnu.org>
1307
1308 * movemail.c (popmail): Don't use Errmsg as format string.
1309
e6973a25
ST
13102004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1311
0e0dced5 1312 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1313
1bb3da38
AS
13142004-12-15 Andreas Schwab <schwab@suse.de>
1315
1316 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1317 preprocessing to compile time constant.
1318
d4a38fdd
KS
13192004-11-17 Kim F. Storm <storm@cua.dk>
1320
1321 * etags.c: Undo last change.
1322
f2eb41c8
KS
13232004-11-09 Kim F. Storm <storm@cua.dk>
1324
1325 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1326 silence compiler.
1327
1328 * hexl.c (main): Init local var c to silence compiler.
1329
1330 * etags.c (main, consider_token, C_entries): Add misc switch
1331 default targets to silence compiler.
1332
880820fe 13332004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1334
1335 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1336 resulting DOC file can be used on Unix/Mac also.
1337
880820fe 13382004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1339
1340 * etags.c (main): When relative file names are given as argument,
1341 make them relative to the current working dir, rather than
1342 relative to the output tags file, if the latter is in /dev.
1343
880820fe 13442004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1345
1346 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1347 <stdlib.h> is available.
1348 (enum sym_type): New st_C_attribute value for parsing
1349 gcc's __attribute__. Deleted st_C_typespec value.
1350 (gperf, in_word_set): Use gperf 3, options changed. Added the
1351 __attribute__ keyword, removed all the st_C_typespec keywords,
1352 changed attribute for Java to (C_JAVA & !C_PLPL).
1353 (inattribute): New global bool, part of the C state machine.
1354 (cblev): Identifier renamed to bracelev throughout.
1355 (consider_token, C_entries): Numerous changes for making the
1356 parser more robust and adding support for __attribute__.
1357
13582004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1359
ecc54057 1360 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1361 Support the Lua scripting language <http://www.lua.org>.
1362
880820fe 13632004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1364
d57727c9 1365 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1366 for ease of use.
1367
3751eb00
RS
13682004-07-17 Richard M. Stallman <rms@gnu.org>
1369
1370 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1371
86d373e6
JB
13722004-06-01 Juanma Barranquero <lektu@terra.es>
1373
1374 * makefile.w32-in (obj): Add image.c.
1375
80e26b66
TTN
13762004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1377
0e0dced5 1378 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1379
e6662c8b
JR
13802004-05-08 Jason Rumney <jasonr@gnu.org>
1381
1382 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1383 command-lines.
1384
65396510
TTN
13852004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1386
1387 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1388 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1389 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1390
1391 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1392 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1393 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1394
c2bcfb19
TTN
13952004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1396
1397 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1398
3f0656ff
TTN
13992004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1400
1401 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1402 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1403 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1404
1405 * etags.c: Likewise.
1406
238add5e
JR
14072004-05-03 Jason Rumney <jasonr@gnu.org>
1408
1409 * makefile.nt: Remove.
1410
b09c5608
EZ
14112004-04-26 Eli Zaretskii <eliz@gnu.org>
1412
1413 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1414 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1415 instead of a literal '/'.
1416
d814862a
JB
14172004-04-23 Juanma Barranquero <lektu@terra.es>
1418
1419 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1420
442a2160
PE
14212004-04-17 Paul Eggert <eggert@gnu.org>
1422
1423 * rcs2log (Help): Clarify wording of the usage message.
1424 Problem reported by Alan Mackenzie in
1425 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1426
d5d66b7e
SM
14272004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * make-docfile.c (xmalloc): Fix return type.
1430 (put_filename): New fun.
1431 (scan_file): Use it.
1432
bdfd0369
JB
14332004-03-09 Juanma Barranquero <lektu@terra.es>
1434
1435 * grep-changelog: Changes to support ChangeLog.10+.
1436 (main): Tidy up usage string. Fix "Use of uninitialized value"
1437 warning. Set version to 0.2. Parse the directory listing to get
1438 any ChangeLog.n file, not just 1..9.
1439 (header_match_p, entry_match_p, print_log, parse_changelog):
1440 Remove Perl prototypes (their purpose is to help the parser, which
1441 isn't needed here, not declare arguments).
1442 (parse_changelog): Make --reverse faster on big batches by not
1443 modifying the entries list.
1444
a64387ee
JB
14452004-03-01 Juanma Barranquero <lektu@terra.es>
1446
1447 * makefile.w32-in (obj): Add fringe.c.
1448
9766d41b
PE
14492004-02-14 Paul Eggert <eggert@twinsun.com>
1450
1451 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1452 :local: methods, or omits the colon between the hostname
1453 and the path. Allow :/ in repository path, since CVS does.
1454 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1455 This fixes a bug reported by Wolfgang Scherer in
1456 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1457 along with some related bugs I discovered by inspecting how
1458 CVS itself parses $CVSROOT.
1459
880820fe 14602004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1461
1462 * emacsclient.c (decode_options): Fix handling of alternate editor.
1463
0734b0d0
SM
14642004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacsclient.c (main): Don't use the hostname in the socket name.
1467 Look for relative socket names in the /tmp dir rather than in cwd.
1468
2a6fc2d9
RS
14692004-01-24 Richard M. Stallman <rms@gnu.org>
1470
1471 * emacsclient.c (main): Restore errno from saved_errno,
1472 so the error message comes from socket_status.
1473
0734b0d0
SM
14742004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * emacsclient.c (main): Stop if socket name too long.
1477 Only try su-fallback if the socket name was not explicit.
1478 Check socket name length in su-fallback case as well.
1479
152b6e83
AS
14802004-01-08 Andreas Schwab <schwab@suse.de>
1481
1482 * emacsclient.c (main): Save errno from socket_status.
1483
e8228824
AS
14842004-01-04 Andreas Schwab <schwab@suse.de>
1485
1486 * emacsclient.c (main): Fix socket name when using another user.
1487
c9140662
PE
14882003-12-27 Paul Eggert <eggert@twinsun.com>
1489
1490 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1491 a tag, and if the user has not specified an rlog option.
1492 Adapted from a suggestion by Martin Stjernholm in
1493 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1494 (Copyright): Update to 2003.
1495
8babaa59
TTN
14962003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1497
1498 * make-docfile.c (main): For return code, no longer special-case VMS.
1499 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1500
880820fe 15012003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1502
1503 * emacsclient.c (quote_file_name): Print the result instead of
1504 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1505 (main): With --eval, if no file name, read from stdin.
1506 Quote file names.
14ef7288 1507
f387bdea
RS
15082003-09-10 Richard M. Stallman <rms@gnu.org>
1509
07655e62 1510 * emacsclient.c (main): Use socket_name.
f387bdea 1511
880820fe 15122003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1513
1514 * emacsclient.c (socket_name): New variable.
1515 (longopts, decode_options, print_help_and_exit):
1516 Handle --socket-name argument.
1517
0b7e7337
FP
15182003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1519
783bcffa 1520 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1521 token len is long enough.
1522
ac06b30b
DL
15232003-08-20 Dave Love <fx@gnu.org>
1524
1525 * Makefile.in: Remove obsolete references to alloca.
1526
32b0a3c6
JB
15272003-07-29 Ken Brush <ken@wirex.com>
1528
1529 * emacsclient.c (main)
1530 * etags.c (suggest_asking_for_help)
1531 * movemail.c (main): Fix having macros in a printf statement.
1532
3867c42d
JB
15332003-05-31 Juanma Barranquero <lektu@terra.es>
1534
1535 * makefile.w32-in (lisp): Fix references to byte-run.el,
1536 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1537
7933722a
DL
15382003-05-22 Dave Love <fx@gnu.org>
1539
1540 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1541 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1542
463f55ee
DL
15432003-05-20 Dave Love <fx@gnu.org>
1544
1545 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1546
1547 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1548
1b7a835b
JB
15492003-04-27 Oliver Scholz <alkibiades@gmx.de>
1550
0e0dced5 1551 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1552
eec54bd7
SM
15532003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1554
1555 * emacsclient.c (main): Use new safe location for socket.
1556
ff4bd681
JB
15572003-03-12 Tom Tromey <tromey@redhat.com>
1558
eec54bd7
SM
1559 * emacsclient.c (print_help_and_exit): Print to stdout.
1560 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1561 (decode_options): Don't call print_help_and_exit in default case.
1562 Print version information to stdout.
1563 (main): Don't call print_help_and_exit.
1564
dd132e44
RS
15652003-02-15 Richard M. Stallman <rms@gnu.org>
1566
1567 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1568 Don't include stdlib.h, because config.h does.
dd132e44 1569 (malloc, realloc): Declarations deleted.
ff4bd681 1570
dd132e44
RS
1571 * yow.c (yow): Cast result of malloc and realloc.
1572 (malloc, realloc): Declarations deleted.
1573
71ffc53a
JB
15742003-02-11 Juanma Barranquero <lektu@terra.es>
1575
1576 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1577
0dfd93c0
AS
15782003-02-08 Andreas Schwab <schwab@suse.de>
1579
1580 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1581 instead of the substitution.
1582
37d1e680
RS
15832003-02-04 Richard M. Stallman <rms@gnu.org>
1584
1585 * update-game-score.c (push_score, read_scores): Cast values
1586 of malloc and realloc.
1587 (main, lock_file): Avoid assignment inside if.
1588
c60ee5e7
JB
15892003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1590
1591 * Makefile.in: Use @EXEEXT@ for Cygwin.
1592
b24e2dc7
DL
15932003-01-21 Dave Love <fx@gnu.org>
1594
1595 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1596 column-0 `('.
1597
1598 * yow.c: Don't include string.h.
1599
675d000f
RS
16002003-01-20 Richard M. Stallman <rms@gnu.org>
1601
1602 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1603 New targets.
1604
207aa3ff
KS
16052003-01-06 Kim F. Storm <storm@cua.dk>
1606
31fa6595 1607 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1608 All uses changed.
1609
cf6d30d7
AI
16102002-12-18 Andrew Innes <andrewi@gnu.org>
1611
1612 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1613 because GNU make doesn't append when using >> redirection.
1614
f0131492 16152002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1616
1617 * b2m.pl: Make sure every message ends with a blank line, because
1618 some mbox parsers require a blank line before "From " lines.
1619
85cce843
RS
16202002-12-08 Richard M. Stallman <rms@gnu.org>
1621
1622 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1623 (_): Test only HAVE_LIBINTL_H to decide what to do.
1624
2ccc4d34
RS
16252002-12-05 Richard M. Stallman <rms@gnu.org>
1626
1627 * getopt.c: Comment out include of libintl.h or gettext.h.
1628
c5992177
RS
16292002-12-04 Richard M. Stallman <rms@gnu.org>
1630
1631 * Update getopt from gnulib version; changes described below.
1632
1633 * getopt1.c: Conditionally find getopt.h.
1634 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1635
1636 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1637 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1638 (wchar.h): Include, maybe.
10d1d0af 1639 (attribute_hidden): Define if not defined.
c5992177
RS
1640 (__getopt_initialized): Use attribute_hidden.
1641 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1642 (__getopt_nonoption_flags, nonoption_flags_max_len)
1643 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1644 (SWAP_FLAGS): New definitions.
1645 (exchange): Test USE_NONOPTION_FLAGS.
1646 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1647 (_getopt_internal): Error if argc < 1. New local var print_errors.
1648 Improve test for ambiguous long option.
1649 Add LIBIO support for error message output.
1650 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1651
1652 * getopt.h: Maybe include ctype.h.
1653 Treat __cplusplus like __STDC__.
1654 (decls): Use __ in arg names.
1655
4b5e69bd
SE
16562002-12-02 Stephen Eglen <stephen@gnu.org>
1657
1658 * emacsclient.c (main): Tell user how to start server within Emacs
1659 if socket could not be found.
1660
19fa03f3
RS
16612002-12-02 Richard M. Stallman <rms@gnu.org>
1662
1663 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1664
7be215b4
JB
16652002-11-19 Ben Key <bkey1@tampabay.rr.com>
1666
29f538e6
BK
1667 * makefile.w32-in: Fixed a bug that caused the documentation for
1668 the built in function play-sound-internal not to be included in
1669 /etc/DOC.
7be215b4 1670
1998560a
DL
16712002-11-18 Dave Love <fx@gnu.org>
1672
1673 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1674 fcntl.h, stdarg.h conditionally.
1675 (_GNU_SOURCE, __attribute__): Don't define.
1676 (optarg, optind, opterr): Declare.
1677 (lose, lose_syserr): Use NO_RETURN.
1678 (get_user_id): Use P_.
1679
8b96caf3
RS
16802002-11-17 Richard M. Stallman <rms@gnu.org>
1681
1682 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1683
59daa29a
DL
16842002-11-14 Dave Love <fx@gnu.org>
1685
1686 * movemail.c (pop_retr): Declare comment.
1687
1688 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1689
1690 * Makefile.in (YACC): Deleted.
1691
f1b443bf
AS
16922002-10-19 Andreas Schwab <schwab@suse.de>
1693
1694 * Makefile.in (${archlibdir}): Always create $(gamedir).
1695 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1696
52402e4f
JB
16972002-10-04 Juanma Barranquero <lektu@terra.es>
1698
1699 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1700
15dab115
MR
17012002-09-30 Markus Rost <rost@math.ohio-state.edu>
1702
1703 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1704 completely.
1705
30be2360
SM
17062002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1707
1708 * emacsclient.c: Remove SYSV support.
1709 (eval, display): New vars.
1710 (longopts): Add --eval and --display.
1711 (decode_options): Add -e and -d processing.
1712 (print_help_and_exit): Update the usage string.
1713 (main): Add support for --eval and --display.
3ecdcd59 1714 (main): Always use /tmp and non-qualified hostname.
30be2360 1715
4208da83
SM
17162002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1717
1718 * emacsserver.c: Remove.
1719
3cf8c6aa
SM
17202002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1721
1722 * emacsclient.c (quote_file_name): Quote \n.
1723 (main): Print a final \n when needed.
1724
880820fe 17252002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1726
1727 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1728 string that cannot be freed.
1729
880820fe 17302002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1731
1732 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1733 auto-detection is enabled and the `::' qualifier is met.
1734 (consider_token, C_entries): Several bugs corrected that tagged
1735 some declarations even though --declarations was not used.
1736 (plainc): New macro.
1737 (C_entries): Use it.
1738 (C_entries): Several cosmetic changes.
1739 (C_entries): Invalidate the token is some cases.
1740
880820fe 17412002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1742
eec54bd7 1743 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1744 (ignoreindent): Renamed from noindentypedefs.
1745 (cjava, cplpl): They are now macros instead of local vars.
1746
880820fe 17472002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1748
1749 * etags.c (HTML_labels): Tag ID= also.
1750
880820fe 17512002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1752
1753 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1754
ecc54057 1755 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1756 (etags_strcasecmp): Like BSD's, for compatibility.
1757 (strcaseeq): Make it into a macro.
1758
1759 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1760 (linebuffer_init): Renamed from initbuffer. All callers changed.
1761 (pattern): Structure renamed to `regexp', member regex renamed to
1762 pattern.
1763 (node_st): Member pat renamed to regex.
eec54bd7
SM
1764 (pattern); New member force_explicit_name, for future use.
1765 Now always set to true, cannot be reset.
87046df8
FP
1766 (add_regex, regex_tag_multiline, readline): Use it.
1767 (main): Free some global structures.
8ee14629 1768 (fdesc): New member `written'.
87046df8
FP
1769 (readline, process_file): Initialise it.
1770 (put_entries): Set it.
1771 (main): Use it to create entries for files without tags.
1772 (total_size_of_entries): Do not count invalid tags.
87046df8 1773
02ce3e80
SM
17742002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1775
1776 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1777 for the function name in the usage info.
1778
5fba5c21
CW
17792002-07-31 Colin Walters <walters@gnu.org>
1780
1781 * update-game-score.c (P_): New macro. Use it for all prototypes.
1782 (lose): Don't use varargs.
1783 (lose_syserr): New function.
1784
1785 * update-game-score.c: Change all functions to K&R style.
1786
712eaee0
AS
17872002-07-30 Andreas Schwab <schwab@suse.de>
1788
1789 * Makefile.in (localstatedir): New variable.
1790
f0131492 17912002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1792
1793 * b2m.pl: Fix regexp for finding return address fields.
1794
1e042160
SM
17952002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1796
1797 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1798
f0131492 17992002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 1800
02ce3e80 1801 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1802
880820fe 18032002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1804
1805 * b2m.pl: New file.
1806
880820fe 18072002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1808
ecc54057 1809 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1810 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1811 (PHP_functions, PHP_functions, Cobol_paragraphs)
1812 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1813 (prolog_pr, erlang_func, erlang_attribute)
1814 (Perl_functions, Perl_functions, Pascal_functions)
1815 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1816 (get_tag): Prototype changed, all callers changed.
1817
880820fe 18182002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1819
d76132d0
FP
1820 * etags.c: Implement implicit tag names, that is, unnamed tags
1821 whose name is automatically deduced by etags.el. The advantage is
1822 that there is no explicit tag name in most tags, so the size of
1823 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1824 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1825 (make_tag): New function (was the disabled function new_pfnote).
1826 (make_C_tag): Use it.
1827
880820fe 18282002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1829
1830 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1831 (Makefile_targets): Tag variables unless --no-globals.
1832 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1833
880820fe 18342002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1835
1836 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1837 (invalidate_nodes): Bug corrected.
1838 (print_help): Better help for regexps.
1839
7a8940da
JB
18402002-06-13 Juanma Barranquero <lektu@terra.es>
1841
1842 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1843 font-core.elc.
1844
880820fe 18452002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1846
1847 * etags.c: New multi-line regexp and new regexp syntax.
1848 (arg_type): at_icregexp label removed (obsolete).
1849 (pattern): New member multi_line for multi-line regexps.
1850 (filebuf): A global buffer containing the whole file as a string
1851 for multi-line regexp matching.
1852 (need_filebuf): Global flag raised if multi-line regexps used.
1853 (print_help): Document new regexp modifiers, remove references to
1854 obsolete option --ignore-case-regexp.
1855 (main): Do not set regexp syntax and translation table here.
1856 (main): Treat -c option as a backward compatibility hack.
1857 (main, find_entries): Init and free filebuf.
1858 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1859 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1860 (analyse_regex, add_regex): Remove the ignore_case argument, which
1861 is now a modifier to the regexp. All callers changed.
1862 (add_regex): Manage the regexp modifiers.
1863 (regex_tag_multiline): New function. Reads from filebuf.
1864 (readline_internal): If necessary, copy the whole file into filebuf.
1865 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1866
880820fe 18672002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1868
1869 * etags.c (add_regex): Better check for null regexps.
1870 (readline): Check for regex matching null string.
6772c8e1 1871 (find_entries): Reorganization.
6861f0e3 1872
880820fe 18732002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1874
1875 * etags.c (scan_separators): Support all character escape
1876 sequences supported by Gcc.
02ce3e80 1877 (find_entries): Rewind unconditionally.
f0da41a6
FP
1878 (find_entries): Do not call language functions directly, now calls
1879 itself.
1880 (find_entries): Do general initialisations here.
1881 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1882 (Ada_getit, Pascal_functions, Pascal_functions)
1883 (prolog_skip_comment): Do not do them here.
1884 (readline_internal): Increment lineno here.
1885 (readline): Conditionally undo readline_internal increment.
1886 (readline): Do not return a value.
1887
880820fe 18882002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1889
88c71720 1890 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1891 (enum arg_type): New label at_stdin.
1892 (STDIN): New constant.
1893 (parsing_stdin): New flag.
1894 (longopts): New option --parse-stdin=NAME.
1895 (print_help): Document it.
1896 (main): Handle it.
1897 (process_file): Split into process_file and process_file_name.
1898 (process_file_name): New function.
1899
88c71720 1900 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1901 (TeX_commands): Skip comments.
10d1d0af 1902 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1903 (TEX_cmt): Make it a static char and move it before TeX_commands.
1904 (TeX_commands): Shorten the tag to the brace after the name.
1905 (TeX_commands): Names now include the initial backslash.
1906 (TeX_commands): Names do not include numeric args #n.
1907 (TeX_commands): Correct line char number in tags.
1908 (TEX_tabent, TEX_token): Deleted.
1909 (TeX_commands, TEX_decode_env): Streamlined.
1910
880820fe 19112002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1912
1913 * etags.c (main): Avoid a buffer overrun with sprintf.
1914
a71867c5
RS
19152002-05-30 Richard M. Stallman <rms@gnu.org>
1916
1917 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1918 (LIBS_MOVE): Renamed from MOVE_LIBS.
1919
b7e67db6
PE
19202002-05-26 Paul Eggert <eggert@twinsun.com>
1921
1922 Reinstate the following change from 2002-03-22, which was
1923 inadvertently lost on 2002-04-13.
1924
1925 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1926 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1927 the latter usage.
1928
5f226e2c
EZ
19292002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1930
1931 * pop.c (socket_connection): Move the code to resolve the POP
1932 host right before trying to connect with it.
1933
9021bb49
GM
19342002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
1935
1936 * tcp.c: Delete file since the TCP emulation is no longer in use on any
1937 platform.
1938
5167cfda
CW
19392002-04-28 Colin Walters <walters@verbum.org>
1940
1941 * Makefile.in (${archlibdir}): Don't conditionalize on
1942 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1943 or not we have access to the specified game user.
50496bd9 1944
5167cfda
CW
1945 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1946 (main): New argument -d, for specifying directory.
1947 (usage): Document.
02ce3e80 1948 (get_user_id): Compute.
5167cfda
CW
1949 (get_home_dir): Deleted.
1950 (get_prefix): New function, taken from main.
1951 (main): Check whether or not we are running setuid. Move prefix
1952 computation to get_prefix. Don't call getpwent; we don't need to
1953 any more. Instead, move it to get_user_id().
1954
880820fe 19552002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1956
1957 * ebrowse.c (skip_initializer): Return void.
1958
973c3c87
CW
19592002-04-23 Colin Walters <walters@verbum.org>
1960
1961 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1962 space.
1963
880820fe 19642002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1965
ecc54057 1966 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1967 (process_file): Print the tags from the nodes as soon as
1968 possible, and delete the nodes. This brings down the memory
1969 occupancy as etags to almost the same level as when the #line
1970 directives were not parsed.
1971 (free_fdesc): New function.
1972 (find_entries): Use it.
1973 (invalidate_nodes): In etags mode, do not just mark the nodes as
1974 invalid, do delete them.
1975
c901ceff
GM
19762002-04-21 Gerd Moellmann <gerd@gnu.org>
1977
1978 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1979
c42d6dbd
EZ
19802002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1981
1982 * update-game-score.c: Move config.h before the other headers, to
1983 avoid compiler warnings.
1984
880820fe 19852002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
1986
1987 * etags.c (find_entries): Bug fix in list management.
1988
880820fe 19892002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
1990
1991 * etags.c (get_language_from_filename): Add one argument.
1992 (strcaseeq): New function.
10d1d0af 1993 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
1994 comparison if called with appropriate args.
1995 (find_entries): Try with case insensitive match.
1996 (process_file): Bug fixed.
1997
880820fe 19982002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
1999
2000 * etags.c (find_entries): Delete tags previously obtained from
2001 file xxx.c's #line directives when parsing file xxx.y. This is
2002 generally done for automatically generated files containing
2003 #line directives. This handles the case when xxx.y is tagged
2004 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2005 be discarded.
eec54bd7 2006 (language): Add the metasource member. Initializers changed.
c150db23
FP
2007 (invalidate_nodes): New function.
2008 (readline): Discard lines after having found a #line
02ce3e80 2009 directive pointing to an already tagged file. This handles the
c150db23
FP
2010 case when xxx.y is tagged before xxx.c, and the entries of
2011 xxx.c pointing to xxx.y should be discarded.
2012 (fdesc): New structure for keeping track of input files.
2013 (fdesc): Remove `file' member (a string) and use instead a pointer
2014 to a file description structure.
02ce3e80
SM
2015 (curfile, curfiledir, curtagfname, curlang, nocharno)
2016 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2017 curfdp, pointers to file description structures.
c150db23
FP
2018 (longopts, main, print_help): Use the CTAGS conditional to include
2019 or exclude options that work on etags or ctags only.
02ce3e80
SM
2020 (process_file, find_entries, pfnote, add_node, put_entries)
2021 (readline): Use fdhead and curfdp.
c150db23
FP
2022 (process_file, find_entries): Do not take an arg string, all
2023 callers changed.
2024
2025 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2026 options that are not right for either etags or ctags.
2027
2028 * etags.c (number_len, total_size_of_entries): Define them also
2029 in CTAGS mode, because gcc does not compile all refs away.
2030
e9d1f248
CW
20312002-04-14 Colin Walters <walters@debian.org>
2032
2033 * update-game-score.c (lock_file): If the lock file is older than
2034 an hour, delete it. Reset attempts to zero if we have to break
2035 the lock.
2036
7605f1bd
AS
20372002-04-14 Andreas Schwab <schwab@suse.de>
2038
2039 * update-game-score.c (read_score): Fix type of second parameter
2040 of getdelim to be of type size_t instead of int. Use 0 instead of
2041 ESUCCES.
2042
e82defd1
CW
20432002-04-10 Colin Walters <walters@verbum.org>
2044
ecc54057 2045 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2046 (MAX_DATA_LEN, MAX_SCORES): New.
2047 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2048 default to ~/.emacs.d/games.
2049 (get_user_id): Don't zero uid in the case where we can't get the
2050 username.
2051 (lose): New function.
2052 (main): Actually use `max', and default it to MAX_SCORES.
2053 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2054 function.
2055 (read_score): Handle the case of reading unamelen characters, then
2056 finishing. Use mktemp if mkstemp isn't available.
2057 (lock_file, unlock_file): Delete unused versions.
2058 (lock_file): Always sleep, even if we unlinked the lock file.
2059
e82defd1
CW
2060 * Makefile.in (gamedir, gameuser): New variables.
2061 (toplevel, UTILITIES): Add update-game-score.
2062 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2063
5795b420
CW
20642002-04-07 Colin Walters <walters@verbum.org>
2065
2066 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2067 (get_user_id): Take struct passwd as an argument.
2068 (get_home_dir): New function.
2069 (main): Read in user information here. Discover home directory if
2070 necessary.
2071 (read_score): Trim newline only in `getline' case.
2072
cd553ffb 20732002-04-05 Colin Walters <walters@debian.org>
c150db23 2074
cd553ffb
CW
2075 * update-game-score.c (toplevel): Include pwd.h.
2076 (struct score_entry): Add username field.
2077 (push_score): Use it.
2078 (get_user_id): New function.
2079 (main): Don't malloc excessively.
2080 (main): Use username field.
2081 (read_score): Read it.
2082 (push_score): Handle it.
07655e62 2083 (write_scores): Write it.
c150db23
FP
2084 (read_score): Handle arbitrary length data.
2085
b74bd4a3
EZ
20862002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2087
2088 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2089
fa8bc89d
GM
20902002-03-29 Gerd Moellmann <gerd@gnu.org>
2091
2092 * ebrowse.c (add_declarator, skip_initializer): New functions.
2093 (declaration): Use them.
2094
dd87b4cc
JR
20952002-03-28 Jason Rumney <jasonr@gnu.org>
2096
2097 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2098
cd553ffb
CW
20992002-03-27 Colin Walters <walters@debian.org>
2100
2101 * update-game-score.c: New file.
2102
dfef6d49
PE
21032002-03-22 Paul Eggert <eggert@twinsun.com>
2104
2105 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2106 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2107 the latter usage.
2108
880820fe 21092002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2110
4fff90e4 2111 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2112 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2113 (TeX_commands): Name tags. Correction of old disabled code.
2114
2115 * etags.c (curfiledir, curtagfname): New global variables.
2116 (process_file): Initialise them.
2117 (readline): Canonicalize the name found in #line directive.
893a741e 2118
4fff90e4 21192002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2120
893a741e
JR
2121 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2122 compilers that don't optimize out dead code.
2123
880820fe 21242002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2125
2126 * etags.c: Honour #line directives.
a7c29764 2127 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2128 (main): Remove some #ifdef in the getopt switch.
2129 (add_node, put_entries): Code added to merge different chunks of
2130 nodes referring to the same file. Currently the tags are just
2131 appended, without any check for duplicates.
2132 (Perl_functions): Do not special case ctags.
2133 (readline): Identify #line directives and do the right thing.
2134 (nocharno, invalidcharno): New global vars.
2135 (process_file): Reset nocharno.
2136 (readline): Set nocharno.
2137 (pfnote): Read nocharno and maybe put invalidcharno in node.
2138 (total_size_of_entries, put_entries): Use invalidcharno.
2139
2140 * etags.c: Keep the whole tag table in memory, even in etags mode.
2141 (main): Call put_entries here even in CTAGS mode.
2142 (main, process_file): Check the return values of fclose and pclose.
2143 (process_file): Do not call put_entries after parsing each file.
2144 (process_file): Canonicalise file names even for ctags.
2145 (process_file): Set curfile here...
2146 (find_entries): ... not here any more.
2147 (add_node): In etags mode, build a linked list of entries (on
2148 right pointer) for each file, and link the first entry of each
2149 file on left nodes.
2150 (put_entries): Print here the name of the file.
2151 (put_entries): Print the entries starting from the first file.
c150db23 2152 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2153 mode, make the second work only on the right nodes.
2154
2155 * etags.c: Make all global variables static.
2156
50ce1f62
JB
21572002-02-25 Juanma Barranquero <lektu@terra.es>
2158
2159 * makefile.w32-in (lisp): Add missing backslash.
2160
82a399d2
JR
21612002-02-24 Jason Rumney <jasonr@gnu.org>
2162
2163 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2164 using .elc files.
2165 (lisp): Sync with list in src/Makefile.in
2166 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2167
a279c920
PE
21682002-02-10 Paul Eggert <eggert@twinsun.com>
2169
2170 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2171 disallows the old syntax.
2172
0caa685d
PE
21732002-02-03 Paul Eggert <eggert@twinsun.com>
2174
d7982012 2175 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2176 (AWK, TMPDIR): Work around portability problem in broken shells that
2177 don't understand `: ${VAR=val}'.
2178 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2179 Prefer the new -k option to the traditional +M -N option.
2180
880820fe 21812002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2182
2183 * b2m.c (main): Parenthesize assignment when used as truth value
2184 to prevent gcc warnings.
2185
2186 * fakemail.c: Include <config.h>.
2187
880820fe 21882001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2189
2190 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2191 * yow.c: Include <config.h>.
2192
880820fe 21932001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2194
2195 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2196 (get_tag): Return a pointer to the tag that is found.
2197
2198 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2199 (F_takeprec): Renamed from takeprec. All callers changed.
2200 (F_getit): Renamed from getit. All callers changed.
2201 (nocase_tail): Renamed from tail. All callers changed.
2202 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2203 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2204 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2205 modified LOOKING_AT.
2206 (notinname): Removed '[' and added ')' to the recognised chars.
2207 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2208 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2209 Clarified, using strneq or notinname.
2210 (L_isdef, L_isquote): Removed.
2211 (Lisp_functions, L_getit): Clarified.
2212
ecc54057 2213 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2214 [HAVE_CONFIG_H]: Let config.h deal with __P.
2215 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2216 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2217 gperf code needs it.
ecc54057
JB
2218 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2219 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2220 (xmalloc, xrealloc): Use PTR instead of long *.
2221 (bool): Make it a define, not a typedef, for C++ compilers.
2222 (pattern): Members renamed to avoid name clash in some C++ compilers.
2223 (get_language_from_langname): Use const argument.
2224
880820fe 22252001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2226
2227 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2228
880820fe 22292001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2230
b8509940
PJ
2231 * emacsserver.c: Conditionally include config.h.
2232
594aa066
PJ
2233 * fakemail.c: Likewise.
2234
e69233c2
PJ
2235 * emacsclient.c: Include "config.h", not <../src/config.h>.
2236 (main): Parenthesize assignment when used as truth value to
2237 prevent gcc warnings.
2238
69bfc389
PJ
2239 * ebrowse.c: Include stdlib.h and string.h conditionally.
2240
e4e34e31
EZ
22412001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2242
2243 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2244
880820fe 22452001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2246
2247 * test-distrib.c: Fix previous change.
2248
fb5aa7ac
DL
22492001-12-18 Dave Love <fx@gnu.org>
2250
2251 * test-distrib.c: Conditionally include fcntl.h.
2252
2253 * fakemail.c: Include "config.h", not <../src/config.h>.
2254 (_XOPEN_SOURCE): Define as 500.
2255
2256 * emacsserver.c: Include "config.h", not <../src/config.h>.
2257
2258 * cvtmail.c: Include config.h, stdlib.h.
2259 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2260
2261 * yow.c: Conditionally include various headers. Use "epaths.h",
2262 not <../src/epaths.h>.
2263 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2264
880820fe 22652001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2266
13dc0576 2267 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2268 (LOOKING_AT): New macro.
2269 (Perl_functions, Python_functions, PHP_functions)
2270 (Scheme_functions, Texinfo_nodes): Use it.
2271 (Perl_functions): Use strneq.
2272 (prolog_pred): Renamed to prolog_pr.
13dc0576 2273 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2274 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2275 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2276 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2277
34e39c95
RS
22782001-12-11 Richard M. Stallman <rms@gnu.org>
2279
2280 * Makefile.in (clean): Don't delete ../etc/DOC*.
2281
880820fe 22822001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2283
2284 * COPYING: Moved back.
2285
76054cc8
AI
22862001-11-30 Andrew Innes <andrewi@gnu.org>
2287
e94a3679
FP
2288 * makefile.w32-in (FACE_SUPPORT):
2289 (MOUSE_SUPPORT):
2290 (FLOAT_SUPPORT):
2291 (WINNT_SUPPORT):
76054cc8
AI
2292 (lisp): Reference .el files instead of .elc files, to simplify
2293 bootstrapping.
2294 ($(DOC)): Change dependency to just `make-docfile'.
2295
880820fe 22962001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2297
2298 * COPYING: Removed.
2299
e8d6a09b
PE
23002001-11-28 Paul Eggert <eggert@twinsun.com>
2301
2302 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2303
2304 The following changes are derived from suggestions by Bob Chapman
2305 <rechapman@compuserve.com>.
2306
2307 * rcs2log (printlogline): Also allow tab and newline to separate
2308 '(function):' from the rest of a comment.
2309 (reformat the sorted log entries): Require date and author to
2310 match the clumpname.
2311
9a190096
GM
23122001-11-16 Gerd Moellmann <gerd@gnu.org>
2313
2314 * ebrowse.c (matching_regexp): Escape '\\'.
2315
880820fe 23162001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2317
2318 * Makefile.in: Add support for --program-prefix, --program-suffix
2319 and --program-transform-name options.
2320
6d8f7d5d
RS
23212001-11-03 Richard M. Stallman <rms@gnu.org>
2322
2323 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2324
2325 * movemail.c (popmail): Always pass two args to `error'.
2326
84e70f78
KR
23272001-10-24 Ken Raeburn <raeburn@gnu.org>
2328
2329 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2330 -lhesiod and maybe -lresolv.
2331 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2332 support if it's available.
2333
386ca361
MB
23342001-10-21 Miles Bader <miles@gnu.org>
2335
a3b10252
MB
2336 * make-docfile.c (struct rcsoc_state): New type.
2337 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2338 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2339 Use a variable of type `rcsoc_state' to hold most of our state.
2340 (put_char): Add STATE parameter, and remove all other parameters
2341 except CH. Use STATE to get access to all needed state.
2342 (scan_keyword_or_put_char): New function.
386ca361
MB
2343 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2344 Don't output a usage-string if there was one in the doc-string.
2345
71431a0e
GM
23462001-10-20 Gerd Moellmann <gerd@gnu.org>
2347
6aa97356 2348 * (Version 21.1 released.)
71431a0e 2349
880820fe 23502001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2351
2352 * b2m.c: Properly spell the name of Emacs.
2353
945220bd
MB
23542001-10-17 Miles Bader <miles@gnu.org>
2355
2356 * make-docfile.c (put_char): New function.
2357 (read_c_string_or_comment): Strip trailing spaces and newlines.
2358
14242528
MB
23592001-10-16 Miles Bader <miles@gnu.org>
2360
2361 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2362 comments [with `doc:' keyword prefix].
2363
9f5eb4a3
GM
23642001-10-15 Gerd Moellmann <gerd@gnu.org>
2365
2366 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2367 in a C doc comment.
2368
e641b454
GM
23692001-10-13 Gerd Moellmann <gerd@gnu.org>
2370
2371 * make-docfile.c (read_c_string_or_comment): Renamed from
2372 read_c_string. Add parameter COMMENT. Read C-style comments.
2373 (scan_c_file): Handle doc strings in C comments.
2374
967d7793
AI
23752001-10-12 Andrew Innes <andrewi@gnu.org>
2376
2377 * makefile.nt (ALL): Do not include fakemail.
2378
2379 * makefile.w32-in (install): Do not copy fakemail.
2380
d682756a
JR
23812001-10-10 Jason Rumney <jasonr@gnu.org>
2382
07655e62 2383 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2384
07655e62 2385 * makefile.nt (install): Ditto.
d682756a 2386
14a3dff7
GM
23872001-10-09 Gerd Moellmann <gerd@gnu.org>
2388
2389 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2390
95bc7904 2391 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2392
880820fe 23932001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2394
2395 * profile.c: Include config.h, not ../src/config.h.
2396 Include systime.h, not ../src/systime.h.
2397
ab952a4f
GM
23982001-10-05 Gerd Moellmann <gerd@gnu.org>
2399
2400 * Branch for 21.1.
dff28924 2401
12c64503
GM
24022001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2403
2404 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2405 ALIASEE to help work with namespace aliases.
2406 (struct sym): Remove struct member NAMESP_ALIASES.
2407 (namespace_alias_table): New variable.
2408 (make_namespace): Add parameter CONTEXT.
2409 (check_namespace): New function.
2410 (find_namespace): Add parameter CONTEXT.
2411 (check_namespace_alias): New function.
02ce3e80
SM
2412 (register_namespace_alias): Change type of parameter OLD_NAME.
2413 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2414 (check_namespace): New function.
2415 (enter_namespace): Call find_namespace with CONTEXT parameter.
2416 (match_qualified_namespace_alias): New function.
eec54bd7 2417 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2418 While parsing qualified ident or type update namespace context and
12c64503 2419 restore it on exit.
eec54bd7
SM
2420 (parse_qualified_param_ident_or_type): Fix typo in comment.
2421 (globals): Change handling of namespace aliases.
2422 (version): Add year 2001.
12c64503 2423
990e1190
FP
24242001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2425
2426 * etags.c (analyse_regex): If regex_arg is NULL, return
2427 immediately after a call to free_patterns.
2428
f2e7e23e
AS
24292001-09-05 Paul Eggert <eggert@twinsun.com>
2430
2431 * rcs2log (Help, mainline code): Add new option -L FILE.
2432 (Copyright): Update year.
02ce3e80
SM
2433 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2434 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2435 C locale.
2436 (mainline code): Handle nonstandard -u option differently, by
2437 transforming it to standard form. Check for "Working file: ", not
2438 "Working file:". Allow file names with spaces.
2439 (SOH, rlogfile): New shell vars.
dff28924 2440 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2441 rlogfile.
2442
2443 Append ';;' to the last arm of every case statement, for
2444 portability to ancient broken BSD shells.
2445
02ce3e80 2446 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2447 (pository): New var. This fixes some bugs where repositories are
2448 remote, or have trailing slashes.
02ce3e80 2449 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2450 about that possibility.
dff28924 2451 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2452 the output.
dff28924 2453
75c911eb
EZ
24542001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2455
2456 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2457 Suggested by Dave Love <d.love@dl.ac.uk>.
2458
5ae10f4a
EZ
24592001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2460
2461 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2462 * makefile.w32-in (lisp): Ditto.
2463
0e4011d8 24642001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2465
2466 * grep-changelog (parse_changelog): Remove unused local variable.
2467
2468 * grep-changelog (main): Add new option --reverse.
2469 (print_log): Use it.
2470 (parse_changelog): Use it.
2471
3c88ae74
GM
24722001-07-20 Gerd Moellmann <gerd@gnu.org>
2473
2474 * grep-changelog: Remove RCS Id keyword.
2475
41848daa
GM
24762001-07-20 Juanma Barranquero <lektu@terra.es>
2477
6e07c0a5
GM
2478 * grep-changelog (parse_changelog): Add tests for defined values
2479 to quiet warning from Perl 5.005 or above.
177ab8ce 2480 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2481 argument to prevent duplicate headers.
2482
2483 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2484
467f1209
GM
24852001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2486
2487 * emacsclient.c (print_help_and_exit): Fix help message for
2488 +LINE:COLUMN option.
2489
24902000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2491
467f1209
GM
2492 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2493 argument.
2494
bb24c64f
GM
24952001-07-16 Gerd Moellmann <gerd@gnu.org>
2496
2497 * ebrowse.c (main): Check that the output file exists and
2498 is non-empty if invoked with `--append'.
2499
880820fe 25002001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2501
e335b66a
GM
2502 * etags.c (add_regex): Reset the whole newly allocated pattern
2503 buffer instead of the individual members. It's safer and works
ecc54057 2504 with XEmacs.
fa829470 2505
e335b66a 2506 * etags.1: Markups corrected.
fa829470 2507
6da5c7da
GM
25082001-05-08 Gerd Moellmann <gerd@gnu.org>
2509
02ce3e80 2510 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2511
efbecf9d
GM
25122001-05-03 Gerd Moellmann <gerd@gnu.org>
2513
2514 * ebrowse.c (globals): Fix handling of namespace aliases.
2515
f4976ebc
EZ
25162001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2517
2518 * etags.c (print_help): Enclose the regexp in the help text
2519 example in quotes.
2520
23431241
DL
25212001-04-05 Dave Love <fx@gnu.org>
2522
2523 * emacsclient.c (fail): Don't return a value.
fa829470 2524 (main): Cast uid values for sprintf.
23431241 2525
476bf681
GM
25262001-04-03 Gerd Moellmann <gerd@gnu.org>
2527
b3f6107b
GM
2528 * emacsclient.c (fail, main): Don't use implicit int return type.
2529
476bf681
GM
2530 * b2m.c (main): Always return a value.
2531
ef53d75e
GM
25322001-03-02 Gerd Moellmann <gerd@gnu.org>
2533
2534 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2535 freshly allocated object in *LAST_ID.
2536 (read_line): Accept \r\n line endings.
2537
425de386
AI
25382001-02-24 Andrew Innes <andrewi@gnu.org>
2539
2540 * makefile.w32-in: Fix copyright notice.
2541
880820fe 25422001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2543
2544 * etags.c (enum sym_type): New label st_C_template.
2545 (gperf input): Use it for switching to C++ from C.
2546 (consider_token): Do it.
c2a642c0
FP
2547 (C_entries): Initialise typdefcblev to quiet compilers.
2548 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2549
f6839838
AI
25502001-02-22 Andrew Innes <andrewi@gnu.org>
2551
2552 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2553 VMS header files.
2554 ($(BLD)\profile.obj): Ditto.
2555
2556 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2557 VMS header files.
2558 ($(BLD)/profile.$(O)): Ditto.
2559
193fba87
AI
25602001-02-05 Andrew Innes <andrewi@gnu.org>
2561
2562 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2563 invocation of make-docfile, to work with Windows 2000.
2564
30526cc6
DL
25652001-01-31 Dave Love <fx@gnu.org>
2566
2567 * etags.c (in_word_set): Use `static' in definition (for pcc).
2568
880820fe 25692001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2570
ecc54057 2571 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2572 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2573 (C_entries): Tag token renamed to still_in_token because sunos4
2574 pcc wants to expand it as the token() macro even though it has no
2575 arguments.
2576
914d7258
AI
25772001-01-30 Andrew Innes <andrewi@gnu.org>
2578
2579 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2580 bug in the Mingw32 assert.h header file.
2581
880820fe 25822001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2583
ecc54057
JB
2584 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2585 #define it for the sake of XEmacs.
b28e26be
FP
2586 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2587 HAVE_CONFIG_H. This change only affects a standalone etags.
2588 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2589 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2590 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2591 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2592 WINDOWSNT, as this is the correct way to use it.
2593
880820fe 25942001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2595
2596 * etags.c: Be capable to parse nested struct-like structures.
2597 (structdef, structtag): Struct state machine revisited.
2598 (struct tok): Revisited.
2599 (cstack, nestlev, instruct): New struct and macros.
2600 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2601 for dealing with nested class names.
8c463abe
FP
2602 (consider_token, make_C_tag, C_entries): Many changes for dealing
2603 with arbitrarily nested structures.
2604 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2605 (C_entries): Consider templates in C++.
2606 (sym_type): New constant st_C_class for detecting "class" also in
2607 C mode.
2608 (C_AUTO): New macro for automatic detection of C++.
2609 (consider_token): Automatic set C++ mode.
2610 (C_entries): New security check for yacc.
2611 (print_language_names, print_help): Mention the autodetect
07655e62 2612 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2613 (C_entries): Tag C++ forward declarations if --declarations.
2614 (C_entries): Don't be fooled by things like XDEFUN.
2615 (consider_token): Discard asm pseudo function.
2616
e26f9ced
EZ
26172001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2618
2619 * etags.c: Add a coding: tag.
2620
a47b7816
GM
26212001-01-26 Gerd Moellmann <gerd@gnu.org>
2622
8c463abe 2623 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2624 New variables.
2625 (matching_regexp): Use them instead of static variables in
2626 function scope.
2627
880820fe 26282001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2629
2630 * etags.c (struct tok): Renamed from struct token.
2631 (token): Renamed from tok.
2632 (structtype): Make it a local variable.
2633 [DEBUG]: Use assert.
2634 (xrnew): Change the synopsis.
2635 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2636 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2637 (token): Buffer renamed to line.
d22a24fa 2638 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2639 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2640 (linebuffer_setlen): Was grow_buffer, now also sets len.
2641 (consider_token, C_entries, Pascal_functions): Use it.
2642 (C_entries): Preventing problems relative to extern "C".
2643 (C_entries): Can tag more than one variable or func separated by
2644 comma when --declarations is used.
2645 (C_entries): More accurate tagging of members and declarations.
2646 (yacc_rules): Was global, made local to C_entries.
2647 (next_token_is_func): Removed.
2648 (fvdef): New constants fdefunkey, fdefunname.
2649 (consider_token, C_entries): Use them.
2650 (C_entries): Build proper lisp names for Emacs DEFUNs.
2651
21c2bbe0
GM
26522001-01-22 Gerd Moellmann <gerd@gnu.org>
2653
2654 * ebrowse.c (xfree): New function.
2655 (member, declaration, globals): Use xmalloc instead of alloca.
2656
880820fe 26572001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2658
2659 * etags.c (print_language_names): Print filenames in addition to
2660 suffixes.
2661
880820fe 26622001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2663
2664 * etags.c (get_language_from_langname): Renamed from
2665 get_language_from_name.
eec54bd7
SM
2666 (get_language_from_filename): Renamed from get_language_from_suffix.
2667 Now first looks for the complete file name.
47df1a5e
EZ
2668 (language): New member char **filenames.
2669 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2670 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2671 for makefiles.
13dc0576 2672 (Makefile_targets): New function.
47df1a5e
EZ
2673 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2674 it conformant to the style of the rest of the code.
2675
291c7e74
GM
26762001-01-13 Gerd Moellmann <gerd@gnu.org>
2677
2678 * make-docfile.c (write_c_args): Print newlines as spaces.
2679
0dac6924
AI
26802001-01-06 Andrew Innes <andrewi@gnu.org>
2681
2682 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2683 of *.pdb.
2684
3e99d3b4
GM
26852001-01-03 Paul Eggert <eggert@twinsun.com>
2686
290afd83 2687 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2688 cause user of rcs2log to overwrite arbitrary files, fixing
2689 a bug reported by Morten Welinder.
2690
2691 Don't put "exit 1" at the end of the exit trap; it's
2692 ineffective in POSIX shells.
2693
d6bb0c0d
GM
26942001-01-02 Gerd Moellmann <gerd@gnu.org>
2695
eec54bd7
SM
2696 * ebrowse.c (yyerror): Change to take two arguments.
2697 Add prototype. Change callers.
d6bb0c0d 2698
d5c00476 26992001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2700
2701 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2702 compiler warnings.
2703 (yyerror): Change parameter declarations to be of type long, so
2704 that they can take pointers on 64-bit platforms.
2705
2706 * emacsclient.c (main): Remove unused local variable statbfr.
2707 (main) <homedir>: Make its declaration conditional on
2708 SERVER_HOME_DIR, to avoid compiler warnings.
2709
2710 * emacsserver.c (main) <homedir>: Make its declaration conditional
2711 on SERVER_HOME_DIR, to avoid compiler warnings.
2712
2713 * fakemail.c (readline): Cast buffer to "long *" to pacify
2714 over-zealous compilers.
2715
7c89ea61
EZ
27162000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2717
2718 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2719
a6768cc5
GM
27202000-12-15 Gerd Moellmann <gerd@gnu.org>
2721
2722 * ebrowse.c (operator_name): Cast argument of isalpha to
2723 unsigned char.
2724
2725 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2726 Use them throughout instead of ctype functions/macros.
2727 (lowcase): Cast to unsigned char.
2728 (UPCASE): New macro.
2729 (canonicalize_filename): Use UPCASE instead toupper.
2730
2731 * fakemail.c (get_keyword): Make sure that isspace and
2732 similar aren't called with a negative argument.
2733
70de49cc
DL
27342000-12-13 Dave Love <fx@gnu.org>
2735
2736 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2737
4e8b894c
AI
27382000-12-06 Andrew Innes <andrewi@gnu.org>
2739
2740 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2741 don't know the real version, and I can't seem to get the quoting
2742 right in all circumstances.
2743
2744 * ebrowse.c (VERSION): Provide default definition, like etags.c
2745 does, because Windows build can't snarf this from version.el.
2746
88257bc8
AI
27472000-11-30 Andrew Innes <andrewi@gnu.org>
2748
2749 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2750 (install): Ditto.
2751
d19249e7
JR
27522000-11-23 Jason Rumney <jasonr@gnu.org>
2753
2754 * makefile.w32-in: Add targets for ebrowse.exe.
2755 (LOCAL_FLAGS): Add -DVERSION flag.
2756
7df6adc3
DL
27572000-09-25 Dave Love <fx@gnu.org>
2758
2759 * sorted-doc.c: Include config.h.
2760 [!HAVE_STDLIB_H]: Declare malloc.
2761
fe83b953
AI
27622000-09-14 Andrew Innes <andrewi@gnu.org>
2763
2764 * makefile.w32-in: Revert to Unix line endings.
2765
517699ca
DL
27662000-09-04 Dave Love <fx@gnu.org>
2767
2768 * movemail.c (index, rindex): Prototype conditionally.
2769
f8803e97
AI
27702000-09-03 Andrew Innes <andrewi@gnu.org>
2771
2772 * makefile.w32-in: Change to DOS line endings.
2773
f72adc12
EZ
27742000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2775
4034f3a8 2776 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2777 [!F_OK]: Provide default definitions only after including both
2778 fcntl.h and unistd.h.
2779
f678f592
DL
27802000-08-29 Dave Love <fx@gnu.org>
2781
2782 * movemail.c: Revert previous change.
2783
5b671d04
EZ
27842000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2785
2786 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2787
6fa86045
DL
27882000-08-28 Dave Love <fx@gnu.org>
2789
2790 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2791 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2792
746d9caf
AI
27932000-08-22 Andrew Innes <andrewi@gnu.org>
2794
2795 * ntlib.h (WIN32): Remove unnecessary definition.
2796 (sleep): Make argument unsigned long.
2797 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2798
2799 * ntlib.c (sleep): Make argument unsigned long.
2800
2801 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2802
2803 * makefile.w32-in: New file.
2804
3b541489
EZ
28052000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2806
2807 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2808 letter only if it is a drive letter.
2809
e5acf0ca
GM
28102000-07-14 Gerd Moellmann <gerd@gnu.org>
2811
02ce3e80 2812 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2813
2814 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2815 by alloca.o.
2816
02ce3e80 2817 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2818
4b92c49a
GM
28192000-07-10 Gerd Moellmann <gerd@gnu.org>
2820
2821 * ebrowse.c (yylex): Accept string literals with newlines in them.
2822 (process_pp_line): Handle case of string literal with newline
2823 in it in replacement text, which counts as continuing the
2824 replacement text in GNU C.
2825
831a6cb0
GM
28262000-07-02 Gerd Moellmann <gerd@gnu.org>
2827
2828 * ebrowse.c (token_string): Add missing tokens.
2829 (parm_list): Handle case of qualified pointers.
2830
53245ee2
DL
28312000-06-23 Dave Love <fx@gnu.org>
2832
2833 * ebrowse.c: Move config.h before other includes (which may use
2834 feature tests).
2835
dcbf2cd2
JM
28362000-06-14 Jim Meyering <meyering@lucent.com>
2837
2838 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2839
f1c7754a
JR
28402000-06-11 Jason Rumney <jasonr@gnu.org>
2841
2842 * makefile.nt: Add targets for ebrowse.
2843
2844 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2845 compare filenames.
2846
5f1aea9a
GM
28472000-06-06 Gerd Moellmann <gerd@gnu.org>
2848
2849 * ebrowse.c (ymalloc): Renamed from xmalloc.
2850 (yrealloc): Renamed from xrealloc.
2851
5bf244f1
DL
28522000-05-21 Dave Love <fx@gnu.org>
2853
2854 * movemail.c: Include config.h, not ../src/config.h.
2855 (Errmsg): Bump length.
2856
2857 * pop.c (ERROR_MAX): Increase to 160.
2858
ec82fb2f
GM
28592000-05-04 Gerd Moellmann <gerd@gnu.org>
2860
2861 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2862
5c922ea7
EZ
28632000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2864
02ce3e80
SM
2865 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2866 Define to semi-colon.
5c922ea7 2867 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2868 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2869 (process_file): Don't assume that fread always reads as many bytes
2870 as it was told to (DOS-style CR-LF text files fail this logic).
2871 (open_file): Allocate enough space for path->path plus the file
2872 name and the slash.
2873
6142fdcb 28742000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2875
2876 * etags.c (Texinfo_functions): New function.
2877 (lang_names): Install it.
2878 (Texinfo_suffixes): New variable.
2879
cb9215e4
GM
28802000-04-19 Gerd Moellmann <gerd@gnu.org>
2881
2882 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2883 (declaration): Remove parameter IS_EXTERN.
2884 (class_definition): Remove unused variable.
2885
be0dbdab
GM
28862000-04-09 Gerd Moellmann <gerd@gnu.org>
2887
2888 * Makefile.in (INSTALLABLES): Add ebrowse.
2889 (ebrowse): New target.
2890
2891 * ebrowse.c: New file.
2892
c5aa0fc2
AS
28932000-03-29 Andreas Schwab <schwab@suse.de>
2894
2895 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2896
d054101f
GM
28972000-03-02 Gerd Moellmann <gerd@gnu.org>
2898
2899 * etags.c (lisp_suffixes) Add `LSP'.
2900
880820fe 29012000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2902
eec54bd7 2903 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2904 space, and use it throughout in place of isspace, thus preventing a
2905 potential signed char to int conversion problem.
10d1d0af 2906 (MSDOS): #undefine before redefining.
71cbb895 2907
880820fe 29082000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2909
2910 * etags.c (many functions): Add prototypes.
2911
97fa0cc8
DL
29122000-02-10 Dave Love <fx@gnu.org>
2913
2914 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2915 (erlang_func): Add `static' to definitions to keep pcc happy.
2916
880820fe 29172000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2918
2919 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2920 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2921 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2922 (getenv, getcwd): Only declare them if necessary.
2923 (EMACS_NAME): New constant macro.
2924 (print_version): Use it.
2925 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2926
19e262bd 29272000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2928
2929 * etags.c [WINDOWSNT]: #include <direct.h>
2930
19e262bd 29312000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2932
19e262bd
FP
2933 * etags.c (all functions): Made them static.
2934 (all functions): Write prototypes.
e4100b7f 2935
55e30d2a
RS
29362000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2937
2938 * movemail.c (main): Improve error message if can't create lock file.
2939
c60ee5e7 29402000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2941
2942 * emacsclient.c (socket_status): New function.
02ce3e80 2943 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2944 for a socket based on the UID associated with the name.
2945
e4936aa9
GM
29462000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2947
2948 * emacsclient.c: Add option -a EDITOR and environment variable
2949 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2950
f0131492 29511999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2952
2953 * movemail.c (popmail): Allow mailbox specifications of the
2954 form `po:username:hostname'.
2955
880820fe 29561999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2957
2958 * etags.c (_GNU_SOURCE): Define only if undefined.
2959 (get_scheme): Declaration deleted.
02ce3e80 2960 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2961 a char pointer.
2962 (canonicalize_filename): Bug removed.
2963
29641999-11-18 Dave Love <d.love@dl.ac.uk>
2965
2966 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2967 lossage from name clash with macro.
2968
b05d3bee
GM
29691999-11-13 Gerd Moellmann <gerd@gnu.org>
2970
2971 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2972
cb3a6c48
GM
29731999-11-03 Gerd Moellmann <gerd@gnu.org>
2974
2975 * etags.c (print_help): Change email address to send bugs to.
2976
6088b51f 29771999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2978
2979 * etags.c: Add suffix psw for PSWrap.
2980 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2981 (Postscript_functions): Add code for PSWrap.
2982 (Scheme_functions): Use local pointer and new get_tag function.
2983 (get_tag): New name for old get_scheme.
2984 (process_file): Do not free NULL when file does not exist.
2985 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2986 (C_entries): Modifications that make --members tag even inside
2987 typedefs and C nested structs (one level only).
eec54bd7 2988 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2989 constants.
eec54bd7 2990 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2991 st_C_ignore. This makes it simpler to work when cblev!=0.
2992
02ce3e80 2993 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2994 --declarations is used.
2995
2996 * etags.c (C_entries, consider_token): C++ `operator' now is
2997 tagged in most cases.
2998 As before, :: is not recognised if surrounded by spaces.
2999
3000 * etags.c (relative_filename): Account for DOS file names such
3001 that is impossible to make one relative to another.
3002
3003 * etags.c (sym_type): New st_C_extern tag.
3004 (gperf input): Use it for spotting external declarations.
a7c29764 3005 (print_help): Document the new behavior of --declarations.
1c478461
FP
3006 (fvextern): New global variable.
3007 (consider_token, C_entries): Use it.
3008
3009 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3010 (etags_getcwd): Remove test for WINDOWSNT.
3011
3012 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3013 foo.cgz, foo.cz, etc.
3014
3015 * etags.c (declarations): New global switch.
3016 (longopts): Describe it.
3017 (print_help): Document it.
3018 (C_entries): Use it.
3019 (process_file): Don't process a file twice.
3020
3021 * etags.c (Fortran_functions): No tags for "procedure".
3022
30231999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3024
3025 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3026 non-zero, returns a pointer to where the extension begins; callers
3027 changed.
3028 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3029 were foo.c.gz.
3030
880820fe 30311999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3032
3033 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3034 (fvdev): New constant foperator.
3035 (consider_token): Use it to get "operator" in C++.
3036 (C_entries): Extend length of operator@ function name.
3037 (C_entries): Use foperator when necessary.
3038
3039 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3040
3041 * etags.c (compressor): New struct for compressed files.
3042 (get_compressor_from_suffix): New function.
3043 (get_language_from_suffix): Use it. Also, semantics changed.
3044 (process_file): Consider compressed files, close file.
3045 (find_entries): Use different call arg for get_language_from_suffix,
3046 don't close file.
3047
3048 * etags.c (main): Call free_tree.
3049 (find_entries): Do not free curfile.
3050 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3051 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3052 comparing.
3053 (canonicalize_filename): Shut up compiler warning.
3054 (Perl_functions): Make tag significant.
3055
30561999-11-01 Dave Love <d.love@dl.ac.uk>
3057
3058 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3059 (argument_type): New member at_icregexp.
3060 (lc_trans): New global.
3061 (main): Fill lc_trans. Process -c args.
3062 (add_regex): New arg determining whether to use translation table.
3063 (analyse_regex): New arg. Use it for add_regex.
3064
880820fe 30651999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3066
3067 * etags.c (init): Cosmetic change: NULL --> '\0'.
3068 (erlang_attribute): Bug corrected (uninitialized variable).
3069 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3070 corrects a bug. All callers changed.
1c478461
FP
3071 (canonicalize_filename): New function.
3072 (process_file, etags_getcwd, absolute_dirname): Use it.
3073 (relative_filename, absolute_filename): Removed var shadowing.
3074 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3075 compilers quiet.
1c478461
FP
3076 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3077
3078 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3079 (language): New typedef (was struct lang_entry).
3080 (curlang): New global variable.
02ce3e80 3081 (node): Typedef renamed from NODE.
1c478461
FP
3082 (linebuffer): New typedef (was struct linebuffer).
3083 (pattern): New typedef (was struct pattern). Some members added.
3084 Now used as element of a linked list.
3085 (patterns, num_patterns): Global variables deleted.
3086 (p_head): New global variable.
a64387ee 3087 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3088 (get_language_from_name, get_language_from_interpreter)
3089 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3090 (last_node): New global variable.
02ce3e80
SM
3091 (free_tree, add_node, put_entries, total_size_of_entries):
3092 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3093 (number_len): Rewritten for elegance.
3094 (token): New typedef replaces TOKEN.
3095 (analyse_regex, add_regex): Rewritten for new functionality.
3096 (free_patterns): New function called from main and add_regex.
3097 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3098 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3099 (readline): Rewritten for new functionality.
3100
ecc54057 3101 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3102 (print_help): --globals is now used for more than C-type languages.
3103 (Perl_functions): Tag global variables ("my" and "local").
3104
3105 * etags.c (print_help): Some messages clarified.
3106 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3107 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3108 (Python_functions, Cobol_paragraphs, Pascal_functions)
3109 (Lisp_functions, Postscript_functions, Scheme_functions)
3110 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3111 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3112 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3113 of the global variable dbp.
3114 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3115 standard indentation.
3116
02ce3e80
SM
3117 * etags.c (Python_suffixes, lang_names, Python_functions):
3118 Python support.
1c478461 3119 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3120 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3121 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3122 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3123 (eat_white): Deleted.
3124
3125 * etags.c (CHAR, init): Keep into account non US-ASCII
3126 characters and compilers with default signed chars.
3127 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3128 constructs.
ecc54057 3129 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3130
ecc54057 3131 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3132 (main): Put interval syntax here.
3133 (add_regex): And remove it from here.
3134
3135 * etags.c (suggest_asking_for_help): Provide a
3136 meaningful help message with and without LONG_OPTIONS.
3137
d07529f3 3138 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3139 <stdlib.h, string.h>: Don't test MSDOS when including them.
3140 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3141 (put_entries): Correctly use %ld instead of %d in printf.
3142
d07529f3 3143 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3144 declare getcwd if HAVE_GETCWD.
3145 (consider_token): Dead break instruction removed.
3146
4ee9629e
PE
31471999-10-19 Paul Eggert <eggert@twinsun.com>
3148
3149 Add support for large files. Merge glibc 2.1.2.
1c478461 3150
4ee9629e 3151 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3152 * movemail.c, pop.c:
4ee9629e
PE
3153 Do not include <stdlib.h>, as <config.h> does this now.
3154
3155 * b2m.c, emacsserver.c, etags.c, profile.c:
3156 Include <config.h> before any system include files.
1c478461 3157
4ee9629e 3158 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3159 * test-distrib.c:
4ee9629e
PE
3160 (read, write, open, close): Do not undef.
3161
3162 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3163 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3164
3165 * getopt.h: Adopt glibc 2.1.2.
1c478461 3166
93c8d183
DL
31671999-10-15 Dave Love <fx@gnu.org>
3168
3169 * Makefile.in (pop.o): Depend on config.h.
3170
b358f91c
GM
31711999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3172
3173 * pop.c: Use "pop3" as the POP service name on all platforms,
3174 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3175 has been the standard service name since RFC 1340 was published in
3176 July 1992, so I think it's safe to start using it by default.
3177
362bc2da
DL
31781999-09-27 Dave Love <fx@gnu.org>
3179
3180 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3181
74e4cb59
PR
31821999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3183
3184 * make-docfile.c (scan_lisp_file): Fix previous changes;
3185 swallow CRLF like just CR or just LF.
3186
362bc2da
DL
31871999-09-03 Richard Stallman <rms@gnu.org>
3188
3189 * make-docfile.c: Include config.h not ../src/config.h.
3190 (main, fopen, chdir): Add #undef.
3191 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3192 (scan_lisp_file): Handle \r like \n.
3193
31941999-08-30 Andreas Schwab <schwab@gnu.org>
3195
3196 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3197
3198 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3199 errno if it's a macro.
3200
3201 * test-distrib.c: Include <unistd.h> if available.
3202
32031999-08-29 Richard Stallman <rms@gnu.org>
3204
3205 * emacsclient.c (print_help_and_exit): Mention --version.
3206
32071999-08-25 Richard M. Stallman <rms@gnu.org>
3208
3209 * emacsclient.c (decode_options): Update version output.
3210 (print_help_and_exit): Update bug report address.
3211
32121999-08-13 Richard M. Stallman <rms@gnu.org>
3213
3214 * emacsclient.c (main): Move the dynamic allocation of
3215 system_name outside of the SERVER_HOME_DIR conditional.
3216 * emacsserver.c (main): Likewise.
3217
32181999-08-10 Gerd Moellmann <gerd@gnu.org>
3219
3220 * grep-changelog: New.
3221 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3222
32231999-07-12 Richard Stallman <rms@gnu.org>
3224
3225 * Version 20.4 released.
3226
32271999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3228
1c478461 3229 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3230
32311999-06-23 Dave Love <fx@gnu.org>
3232
3233 * etags.c (erlang_attribute): Fix undefined variable usage (after
3234 Potorti).
3235
86e888c2 32361999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3237
3238 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3239 mapped to _chsize.
3240
32411999-04-29 Richard M. Stallman <rms@gnu.org>
3242
3243 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3244
32451999-03-30 Dave Love <fx@gnu.org>
3246
3247 * sorted-doc.c (main): Split up tables. Modify the preamble
3248 somewhat.
3249
32501999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3251
3252 * makefile.nt: Remove common multiple file compilation commands.
3253
32541999-02-26 Richard Stallman <rms@gnu.org>
3255
362bc2da
DL
3256 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3257
3258 * yow.c: Refer to epaths.h.
3259
32601999-02-22 Simon Josefsson <jas@pdc.kth.se>
3261
3262 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3263
32641999-01-27 Andrew Innes <andrewi@gnu.org>
3265
3266 * makefile.nt: Do make version comparison as strings.
3267
32681999-01-25 Richard Stallman <rms@gnu.org>
3269
3270 * emacsclient.c (xmalloc): Fix previous change.
3271
32721999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3273
3274 * emacsclient.c (xmalloc): Declare to return long.
3275
32761999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3277
3278 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3279 the case of the drive letter.
3280
32811999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3282
3283 * emacsserver.c (main): Eliminate arbitrary limit on
3284 length of system_name.
3285
3286 * emacsclient.c (main): Eliminate arbitrary limit on
3287 length of system_name.
3288 (xmalloc): Define unconditionally.
3289
32901999-01-12 Darrin B. Jewell <jewell@mit.edu>
3291
3292 * etags.c (relative_filename): Stop backward search at beginning
3293 of string, since non-Unix systems can have absolute paths with no
3294 initial slash.
3295
32961998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3297
3298 * makefile.nt: Do string comparision of _NMAKE_VER.
3299
c60ee5e7 33001998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3301
3302 * makefile.nt: Compile multiple source files when possible.
3303
33041998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3305
3306 * Makefile.in: Replace tabs with spaces
3307 when they might confuse some Make versions.
3308
33091998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3310
3311 * emacsclient.c (main): Null-terminate system_name.
3312
3313 * emacsserver.c (main): Null-terminate system_name.
3314
33151998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3316
3317 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3318 an error message from POP, mention that it's from POP, to
3319 distinguish it from local error messages.
3320
33211998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3322
3323 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3324 order of messages downloaded from a POP server (e.g., if the
3325 server stores messages in mailboxes in reverse order).
3326
33271998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3328
3329 * Version 20.3 released.
3330
33311998-08-11 Paul Eggert <eggert@twinsun.com>
3332
3333 * rcs2log: Update copyright date and bug report address.
3334 (initialize_fullname): Prefer getent if available.
3335
33361998-07-30 Paul Eggert <eggert@twinsun.com>
3337
290afd83 3338 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3339 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3340
362bc2da
DL
33411998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3342
3343 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3344
33451998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3346
3347 * Makefile.in: Properly terminate a comment.
3348
33491998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3350
3351 * movemail.c (sys_wait): Rename to wait.
3352
3353 * ntlib.h: Undefine _WINSOCKAPI_.
3354
3355 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3356
33571998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3358
3359 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3360
33611998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3362
3363 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3364 all file i/o to be in binary mode. Include ntlib.h.
3365
33661998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3367
3368 * make-docfile.c: Include <unistd.h> for chdir.
3369
33701998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3371
3372 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3373
33741998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3375
3376 * makefile.nt (obj): Update with new files in src.
3377 (clean): Delete patch scratch files, optimized compilation dir.
3378
33791998-04-08 Dave Love <fx@gnu.org>
3380
3381 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3382 Irix6, at least.
3383
33841998-04-06 Andreas Schwab <schwab@gnu.org>
3385
3386 Silence -Wimplicit:
3387 * movemail.c: Move cancelations up. Include <stdlib.h> if
3388 available.
3389 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3390 (parse_header): Explicitly declare return type.
3391 * emacsserver.c: Include <unistd.h> if available.
3392 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3393 return types. Add forward declarations.
3394 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3395 Don't declare geteuid.
3396 (print_help_and_exit): Change return type to void. Forward
3397 declare it.
3398 * b2m.c: Include <stdlib.h> if available.
3399 (main): Explicitly declare return type.
3400
362bc2da
DL
34011998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3402
3403 * etags.c (put_entries): Use %ld.
3404
3405 * b2m.c (fatal): Declare the arg.
3406
34071998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3408
3409 * pop.c (pop_getline): Renamed from getline.
3410
34111998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3412
3413 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3414 for the utilities.
3415
34161998-01-23 Dave Love <d.love@dl.ac.uk>
3417
3418 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3419 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3420 Always make named tags.
3421 (Fortran_functions): Grok BLOCK DATA.
3422
34231998-01-23 Andreas Schwab <schwab@gnu.org>
3424
3425 * movemail.c (main): Fix interwoven brace and cpp conditional
3426 nesting.
3427
362bc2da
DL
34281997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3429
cb438d6e
JB
3430 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3431 with a '>' any lines starting with "From " read from the POP server,
3432 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3433 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3434 because it turns out that something is depending on it. Change
3435 suggested by Paul Eggert <eggert@twinsun.com>.
3436 Convert the character \037 (^_) at the beginning of a line into
3437 the character '^' followed by the character '_', because otherwise
3438 Emacs can't parse the resulting file as a valid BABYL file.
3439 Change suggested by Paul Eggert <eggert@twinsun.com>.
3440
34411997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3442
3443 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3444 server to contain embedded nulls.
3445
34461997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3447
362bc2da
DL
3448 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3449 quotes with a '>' any lines starting with "From " read from the
3450 POP server, but leave the code in place, wrapped in #ifdef
3451 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3452 because it turns out that something is depending on it. Change
3453 suggested by Paul Eggert <eggert@twinsun.com>.
3454
3455 Convert the character \037 (^_) at the beginning of a line into
3456 the character '^' followed by the character '_', because otherwise
3457 Emacs can't parse the resulting file as a valid BABYL file.
3458 Change suggested by Paul Eggert <eggert@twinsun.com>.
3459
34601997-11-22 Richard Stallman <rms@gnu.org>
3461
3462 * b2m.c: Include getopt.h.
3463 (main): Use getopt_long to handle --version and --help.
3464
3465 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3466
34671997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3468
3469 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3470 pointed out by Chiaki Ishikawa.
3471
34721997-10-16 Dave Love <d.love@dl.ac.uk>
3473
ecc54057
JB
3474 * etags.c (L_getit): Always make named tags so that Emacs
3475 completion on symbols containing `:' etc. works.
3476 (get_scheme): Likewise.
362bc2da
DL
3477
34781997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3479
3480 * pop.c: Use system header files instead of declaring C-library
3481 functions explicitly.
3482
34831997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3484
3485 * Version 20.2 released.
3486
34871997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3488
3489 * Version 20.1 released.
3490
34911997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3492
3493 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3494
3495 * ntlib.c (getpid): Delete function.
3496
34971997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3498
3499 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3500
35011997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3502
3503 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3504 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3505
35061997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3507
3508 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3509
35101997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3511
3512 * profile.c (get_time): Cast arg to fprintf.
3513
3514 * hexl.c (main): Use %08lx instead of %08x in printf because the
3515 variable named addresses is long.
3516
35171997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3518
3519 * makefile.nt (lisp): Update paths to lisp files that have moved.
3520
35211997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3522
3523 * makefile.nt (ctags.obj): New target.
3524 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3525
3526 * ntlib.h: Add includes.
3527 Undo definitions of crt routines from config.h.
3528
35291997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3530
3531 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3532
35331997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3534
3535 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3536 Kerberos V5 for movemail, including detection of V4 and V5 header
3537 files and libraries.
362bc2da 3538 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3539 declarations of string functions.
362bc2da 3540 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3541 V5 API rather than the old one.
362bc2da 3542 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3543 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3544 with a constant in a header file.
362bc2da
DL
3545
3546 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3547 Kerberos V5 for movemail, including detection of V4 and V5 header
3548 files and libraries.
362bc2da
DL
3549
35501997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3551
3552 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3553
3554 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3555
362bc2da
DL
35561997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3557
3558 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3559
35601997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3561
3562 * movemail.c (rindex): Add declaration.
3563
d57727c9 35641997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3565
3566 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3567 (movemail.exe): Depend upon and link with getopt files.
3568 (obj): Include new source files.
3569 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3570 (lisp): Include new and reorganized elisp files.
3571
35721997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3573
3574 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3575
35761997-06-25 Paul Eggert <eggert@twinsun.com>
3577
3578 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3579
35801997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3581
3582 * b2m.c (readline): Terminate buffer properly when EOF seen.
3583 Test for valid pointer before dereferencing it.
3584
880820fe 35851997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3586
3587 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3588 defined inside etags.c if HAVE_CONFIG_H is defined.
3589
880820fe 35901997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3591
ecc54057 3592 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3593 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3594 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3595 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3596 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3597 (longopts): New long options without short counterpart are
3598 globals, members, no-globals, no-members. Regexp options are now
3599 defined conditionally to ETAGS_REGEXPS.
3600 (print_help): Updated.
3601
880820fe 36021997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3603
3604 * etags.c (C_entries): Use "." instead of "::" for Java.
3605 (consider_token): is_func renamed to is_func_or_var.
3606 (C_entries): is_func renamed to funorvar.
3607 (C_entries): Initialise tok.named.
3608 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3609 get rid of "import", "package" and "friend".
3610 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3611 users changed.
362bc2da
DL
3612 (C_entries): Make separate tags for variables separated by comma.
3613 (globals, members): New flags.
3614 (main, C_entries): Use them.
3615 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3616
880820fe 36171997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3618
3619 * etags.c (funcdef): New vignore constant.
3620 (consider_token, C_entries): Use it to tag global variables.
3621 (print_help): Update for global variables.
3622 (consider_token, C_entries): Set the len member of token_name.
3623 (prolog_pred): Cleanup according to GNU coding standards.
3624 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3625 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3626
880820fe 36271997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3628
3629 * etags.c (CHARS, CHAR): New constant and macro.
3630 (iswhite, begtoken, intoken, endtoken): Use them.
3631 (notinname, _nin, nonam): New macro, array, string.
3632 (init): Cleanup and init _nin.
3633 (new_pfnote): New function.
3634 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3635 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3636
880820fe 36371997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3638
3639 * etags.c (C_entries, Pascal_functions): Cleanup.
3640 (TeX_functions): NULL as a function arg needs a cast.
3641 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3642
880820fe 36431997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3644
3645 * etags.c (TeX_functions): Cleaned up.
3646 (tex_getit): Removed.
3647
36481997-05-13 Paul Eggert <eggert@twinsun.com>
3649
3650 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3651 non-files within the RCS subdirectory.
362bc2da 3652
880820fe 36531997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3654
3655 * etags.c (C_JAVA): New #define.
3656 (Cjava_suffixes): .java is Java.
3657 (Cjava_entries): New function.
3658 (lang_names): Add Java.
3659 (sym_type): Add st_C_javastruct for Java.
3660 (C_stab_entry): Add `extends' and `implements' keywords.
3661 (consider_token, C_entries): Recognise Java structures.
3662
880820fe 36631997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3664
ecc54057 3665 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3666 (Postscript_suffixes): .ps is Postscript.
3667 (lang_names): Add Postscript.
3668 (Postscript_functions): New function.
3669 (TEX_decode_env): Close minor memory leak.
3670 (just_read_file): Correct the char number of the tag.
3671
36721997-05-11 Paul Eggert <eggert@twinsun.com>
3673
3674 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3675 Don't prepend $nl since this causes some shells to generate the
3676 empty string when IFS is $nl.
362bc2da 3677 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3678 PC-based shells mishandle CR.
362bc2da
DL
3679 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3680 nismatch, in case it's set to some nonstandard value.
1c478461 3681
362bc2da
DL
36821997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3683
3684 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3685 read in separate blocks.
3686
880820fe 36871997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3688
3689 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3690 (struct linebuffer): New member `len' is the length of the string.
3691 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3692 Use it instead of strlen.
3693 (TEX_getit): Declare and define unconditionally as static.
3694 (TeX_functions): Use if instead of #if TeX_named_tokens.
3695 (add_regex): Set RE_INTERVALS flag for regex compilation.
3696 (substitute): Code cleanup.
3697 (readline_internal): Code cleanup, set new member `len'.
3698 (readline): Bug corrected.
3699
37001997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3701
3702 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3703 (obj): Change references of nt*.c files to w32*.c files.
3704
880820fe 37051997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3706
3707 * etags.c (xnew): Add support for debugging with chkmalloc.
3708 (error): Use this instead of printf whenever possible.
3709 (main): Only call xnew after having initialised progname.
3710 (substitute): Bad memory corruption error corrected.
3711
880820fe 37121997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3713
3714 * etags.c (add_regex): Undo previous change.
3715 (relative_filename): Small memory leak closed.
3716 (absolute_filename): Cleaned up the code, possibly closing a bug.
3717 (absolute_dirname): Always return a newly allocated string.
1c478461 3718
362bc2da
DL
37191997-03-21 Paul Eggert <eggert@twinsun.com>
3720
3721 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3722 of the form ,*, or *_; they are probably RCS lock files.
3723 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3724 they are used by rcsfreeze.
3725
880820fe 37261997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3727
2f2c687b 3728 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3729
37301997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3731
3732 * movemail.c (popmail): Remove some unnecessary function
3733 declarations.
3734 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3735 into pop_retr, there's no reason to pass in mbx_write, and the
3736 file argument can be declared FILE * explicitly. This fixes a
3737 compilation problem on systems with 64-bit pointers.
3738
37391997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3740
3741 * movemail.c: Delete duplicate inclusion of fcntl.h
3742 and duplicate #undefs of open, read, write, close.
3743
37441997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3745
3746 * movemail.c (main): Do not display "[POP-password]" in the usage
3747 message when movemail is compiled without POP support.
3748 (main, popmail): Add the optional "-p" argument, which causes
3749 movemail to leave mail in the inbox after copying it into the
3750 output file.
1c478461 3751
362bc2da
DL
3752 * Makefile.in (movemail): Link with getopt.
3753
37541997-01-20 Paul Eggert <eggert@twinsun.com>
3755
ecc54057 3756 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3757 (Copyright, Help, Id): New variables, for above.
3758 (rlog): Use -q option with cvs log, to avoid useless chatter.
3759
3760 Treat logs of "Initial revision" (RCS) or "file F was initially added
3761 on branch B." (CVS) as if they said "New file.", for consistency with
3762 change log entries.
3763
37641997-01-01 Paul Eggert <eggert@twinsun.com>
3765
3766 * vcdiff (PATH): Add /usr/xpg4/bin,
3767 where XPG4 SCCS hangs out in Solaris 2.5.
3768 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3769
37701996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3771
3772 * etags.c (streq, strneq): Use == NULL rather than !.
3773
37741996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3775
3776 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3777 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3778
3779 * movemail.c: Include maillock.h (conditionally).
3780 Remove a redundant inclusion of <stdio.h>.
3781 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3782 (main): Add variable spool_name.
3783 Support the usage of maillock and mailunlock to
ecc54057 3784 lock and unlock mailboxes.
362bc2da
DL
3785 (mail_spool_name): New function.
3786
3787 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3788 movemail to exit with an error status incorrectly on systems which
3789 use lock files rather than a system locking function to lock
3790 mailboxes.
362bc2da
DL
3791
37921996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3793
3794 * pop.c (socket_connection): Free realhost after using it.
3795
880820fe 37961996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3797
3798 * etags.c (C_entries): Test tok.valid. This handles some
3799 particular cases involving function declarations that failed.
3800
38011996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3802
362bc2da
DL
3803 * pop.c (socket_connection):
3804 gethostbyname may return a pointer to static data.
3805 krb_realmofhost can clobber it. So copy it.
3806
880820fe 38071996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3808
3809 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3810 must cast it to (char *) because we have no prototypes.
3811 (make_C_tag): Macro deleted, new function.
3812 (C_entries): Calls to make_C_tag macro changed to call function.
3813
880820fe 38141996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3815
3816 * etags.c (grow_linebuffer): New function.
3817 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3818 (make_tag): Macro renamed to make_C_tag. All callers changed.
3819 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3820 (Prolog_functions): prolog_skip_comment was called with wrong
3821 number of arguments.
6088b51f 3822 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 3823
880820fe 38241996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3825
3826 * etags.c (relative_filename): Bug corrected.
3827 (etags_getcwd): Avoid warning of unused variable.
3828 (C_entries, consider_token): Added support for enum labels.
3829
38301996-11-03 Paul Eggert <eggert@twinsun.com>
3831
3832 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3833 repository file names.
362bc2da
DL
3834
38351996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3836
3837 * emacsserver.c: Fix 1996-09-02 change.
3838
38391996-10-12 Paul Eggert <eggert@twinsun.com>
3840
3841 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3842 option', since CVS says 'invalid option'.
362bc2da
DL
3843 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3844 revisions, since some hosts reject 1970-01-01 when east of UTC.
3845 (date): Remove.
3846
38471996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3848
3849 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3850
880820fe 38511996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3852
3853 * etags.c (print_version): Print copyright info.
3854
3855 * etags.c (print_help): Print the bug reporting address.
3856 (main): Use return as the last instruction, instead of exit.
3857
3858 * etags.c (main): Don't open the tags file in cxref mode.
3859
38601996-09-29 Dave Love <d.love@dl.ac.uk>
3861
3862 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3863 as well as earlier CVSs and RCS.
362bc2da
DL
3864
38651996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3866
3867 * movemail.c (main): If the lock call fails with EBUSY or
3868 EAGAIN, retry a few times.
3869
38701996-09-25 Paul Eggert <eggert@twinsun.com>
3871
3872 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3873 whether to append -zLT.
362bc2da
DL
3874
38751996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3876
3877 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3878 * emacsclient.c, movemail.c: Likewise.
3879
38801996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3881
3882 * emacsclient.c (longopts): Change nowait to no-wait.
3883 (print_help_and_exit): Fix option name; upcase metavars.
3884
38851996-09-06 Erik Naggum <erik@naggum.no>
3886
3887 * emacsserver.c (main): Declare `fromlen' as size_t.
3888
38891996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3890
3891 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3892
38931996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3894
3895 * emacsclient.c (quote_file_name): Quote with &, not \.
3896 Quote `-' only at start of file name. Terminate the value string.
3897
3898 * emacsserver.c: Include signal.h properly;
3899 delete the duplicate includes for it.
3900
3901 * emacsserver.c: On fatal signal, delete socket-file:
3902 * emacsserver.c: Include signal.h.
ecc54057 3903 (xmalloc, fatal, error): New functions.
362bc2da
DL
3904 (delete_socket, handle_signals): New functions.
3905 (progname, socket_name): New variables.
3906 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3907
39081996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3909
3910 * emacsclient.c (quote_file_name): New function.
3911 (main, both versions): Use quote_file_name.
3912 (decode_options): Don't return a value.
3913 (main, both versions): Use optind.
3914 Don't check for -nowait here.
1c478461 3915
362bc2da
DL
3916 * emacsclient.c (decode_options): New function.
3917 (main, both versions): Call decode_options.
3918 (print_help_and_exit): New function.
3919 (VERSION): New macro.
3920
3921 * Makefile.in (emacsclient): Link with getopt.
3922 Add -DVERSION so emacsclient knows its version number.
3923
39241996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3925
3926 * makefile.nt (lisp): Include dos-nt.elc.
3927
39281996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3929
3930 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3931
39321996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3933
3934 * emacsclient.c (both versions): Handle -nowait and --nowait
3935 by sending data to the server.
3936
39371996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3938
3939 * Makefile.in (INSTALL_STRIP): New variable.
3940 (${archlibdir}): Use INSTALL_STRIP.
3941
3942 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3943 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3944
3945 * pop.c: Reverse conditional in previous change.
3946
39471996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3948
3949 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3950
39511996-08-24 Paul Eggert <eggert@twinsun.com>
3952
3953 * rcs2log: Use ISO 8601 date format, with time zone appended
3954 if change-log-time-zone-rule is non-nil, instead of
3955 traditional Unix date format.
3956
3957 (datearg): When computing default from ChangeLog, handle ISO format
3958 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3959 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 3960 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
3961 "$datearg" option to $rlog.
3962 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3963 (month_data): Remove `mo'; no longer needed.
10d1d0af 3964 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
3965
3966 Match `revision' line of rlog output more accurately.
3967
3968 Add -c, -v options.
3969
39701996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3971
3972 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3973
39741996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3975
3976 * Version 19.33 released.
3977
39781996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3979
3980 * Version 19.32 released.
3981
39821996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3983
3984 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3985 computing character positions in source files.
3986
39871996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3988
3989 * makefile.nt (clean): Use OBJDIR macro.
3990
39911996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3992
3993 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3994
c60ee5e7 39951996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3996
ecc54057 3997 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3998 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3999 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4000
40011996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4002
4003 * ntlib.h: Correct return type of getwd.
4004 * ntlib.c (getwd): Correct return type.
4005
40061996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4007
4008 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4009 to infile.
4010
40111996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4012
4013 * makefile.nt: Remove all references to wakeup.
4014
880820fe 40151996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4016
4017 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4018 explicit, mutable, typename.
4019
40201996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4021
4022 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4023 streams, one for sending and one for reading the reply.
4024
40251996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4026
4027 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4028 (wakeup): Target deleted.
4029 (UTILITIES): Delete wakeup and timer.
4030
4031 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4032
40331996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4034
4035 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4036 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4037
40381996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4039
4040 * etags.c (main): Copy cwd when appending slash.
4041
40421996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4043
4044 * Version 19.31 released.
4045
880820fe 40461996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4047
4048 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4049 (Pascal_functions): Increase linecharno by the correct number of
4050 chars, inline the GET_NEW_LINE macro and delete its definition.
4051
c60ee5e7 40521996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4053
4054 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4055
c60ee5e7 40561996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4057
4058 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4059 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4060
4061 * ntlib.c: Include ntlib.h.
4062 (nt_sleep): Rename to sleep.
4063 (getwd): Return directory.
4064 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4065 sys_ctime, sys_fopen): New functions.
4066
4067 * ntlib.h: New file.
4068
40691996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4070
4071 * pop.c (SEND, RECV): Renamed from send, recv.
4072 (pop_open, pop_trash): Make the trash_started code unconditional.
4073 (socket_connection): Delete casts to void.
4074
40751996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4076
4077 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4078 copied from lisp.h.
4079
40801996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4081
4082 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4083
4084 * hexl.c [DOSNT]: Include fcntl.h.
4085 [WINDOWSNT]: Include io.h.
4086 (main) [MSDOS]: Change conditional to DOS_NT.
4087
4088 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4089 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4090 [WINDOWSNT]: Include locking.h.
4091 (main): Update usage message. Use IS_DIRECTORY_SEP.
4092 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4093 (main) [WINDOWSNT]: Invoke locking instead of flock.
4094 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4095 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4096 Include winsock.h; don't include unix inet headers.
4097 (popmail): Add password argument and pass it to pop_open.
4098 Open output file in binary mode.
4099
4100 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4101 Macro SOCKET_ERROR undefined.
362bc2da
DL
4102 Don't declare h_errno.
4103 [!WINDOWSNT]: Define macros recv and send.
4104 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4105 (pop_open) [WINDOWSNT]: Initialize trash_started.
4106 (have_winsock) [WINDOWSNT]: New variable.
4107 (socket_connection) [WINDOWSNT]: Initialize winsock.
4108 (socket_connection): Use closesocket instead of close.
4109 (getline): Use recv instead of read.
4110 (fullwrite): Use send instead of write.
4111 (pop_trash): Use closesocket instead of close.
4112 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4113 Check if being called recursively by sendline.
4114
4115 * pop.h (struct _popserver): New field trash_started.
4116
4117 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4118
41191996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4120
4121 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4122
41231996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4124
4125 * etags.c [WINDOWSNT]: Include io.h.
4126
41271996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4128
4129 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4130
41311996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4132
4133 * hexl.c [DJGPP v2]: Include io.h.
4134 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4135
4136 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4137 DJGPP v2.
4138
41391996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4140
4141 * etags.c (absolute_filename): Use absolutefn.
4142
41431996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4144
4145 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4146 letter isn't an alphabetic character.
4147 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4148 (process_file) [DOS_NT]: Convert all slashes to forward style.
4149 (absolute_filename) [DOS_NT]: Emit error message for relative
4150 paths with a drive letter.
4151 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4152 DOS/NT drive letters which try to reference the parent of the root.
4153 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4154
41551996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4156
4157 * makefile.nt: Change uses of del to $(DEL).
4158
880820fe 41591996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4160
4161 * etags.c (just_read_file): Reset lineno and charno on entry.
4162
41631996-03-15 Anders Lindgren <andersl@csd.uu.se>
4164
4165 * etags.c: Prolog language totaly rewritten.
ecc54057 4166 (Prolog_functions): Rewritten from scratch.
362bc2da 4167 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4168 (prolog_skip_comment): New function, like old skip_comment.
4169 (prolog_pred, prolog_atom, prolog_white): New functions.
4170 (erlang_func, erlang_attributes): Forward declarations added.
4171 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4172
880820fe 41731996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4174
4175 * etags.c (absolutefn): DOS_NT version corrected.
4176 (main): Append "/" to the dir name only if not already there.
4177 (print_help): Explain the absolute/relative file name issue.
1c478461 4178
362bc2da
DL
41791996-03-08 Anders Lindgren <andersl@csd.uu.se>
4180
10d1d0af
JB
4181 * etags.c: New Language Erlang added.
4182 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4183 (erlang_white): New functions.
362bc2da
DL
4184 (Erlang_suffixes): New suffix list.
4185 (lang_names): Erlang entry added.
4186 (prolog_getit): Accepts headers spanning several lines.
4187 Always name tags.
4188 (Prolog_functions): Removed incorrect compensation for
4189 newline characters.
4190 (readline_internal): Zero-terminate last line.
4191
41921996-03-20 Mike Long <mike.long@analog.com>
4193
4194 * b2m.c (main): Initialize progname variable before using it.
4195 Quote `username' in From_ header.
4196
41971996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4198
4199 * ntlib.c (getpid): New function.
4200
42011996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4202
4203 * emacsclient.c (main, both definitions):
4204 Print a newline for normal termination.
4205
42061996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4207
4208 * tcp.c (main): Convert port to network byte order.
4209
42101996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4211
4212 * pop.c (pop_retrieve, getline): Avoid type clashes.
4213
42141996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4215
4216 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4217
42181996-01-15 Paul Eggert <eggert@twinsun.com>
4219
4220 * rcs2log (initialize_fullname): Add support for NIS+.
4221 (hostname): Fully qualify the default hostname with the domainname
4222 if the hostname lacks a `.'.
4223
362bc2da
DL
42241996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4225
4226 * etags.c (consider_token): Fix typo in expression.
4227
42281996-01-04 Paul Eggert <eggert@twinsun.com>
4229
4230 * etags.c (substitute): Fix spelling in message.
4231
42321996-01-03 George V. Reilly <georger@microcrafts.com>
4233
4234 * makefile.nt (etags, ctags): Compile with regexp support.
4235 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4236 subdirectory exists before compiling.
1c478461 4237
362bc2da
DL
42381996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4239
4240 * emacsserver.c (main): Do chmod based on existing permission.
4241
42421995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4243
4244 * Makefile.in (install): Turn on read/execute permission.
4245
42461995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4247
4248 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4249 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4250
42511995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4252
4253 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4254
880820fe 42551995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4256
4257 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4258 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4259 get_scheme, prolog_getit): Name the tag in ctags mode.
4260 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4261 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4262 (suggest_asking_for_help): New function.
4263 (main, get_language_from_name): Use suggest_asking_for_help.
4264 (main): Let get_language_from_name make language existence check.
4265 (streq, strneq): Check the arguments #if DEBUG.
4266
880820fe 42671995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4268
4269 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4270 (gperf): Added keywords for Objective C and GNU macros.
4271 (sym_type): Added values to account for Objective C and GNU macros.
4272 (begtk): The '@' character can start a token.
4273 (objdef, methodlen, objtag): New variables for Objective C.
4274 (consider_token, C_entries): Added code for Objective C.
4275 (plain_C_suffixes): Add .m and .lm for Objective C.
4276 (Yacc_suffixes): Add .ym for Objective yacc.
4277 (GROW_LINEBUFFER): New macro.
4278 (consider_token, C_entries, Pascal_functions): Use the new macro.
4279 (consider_token): Take one more argument. Caller changed.
4280 (consider_token): Use the hashing function to spot GNU macros.
4281 (C_entries): Consider // as a comment start even in plain C for
4282 the sake of Objective C parsing.
4283
880820fe 42841995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4285
2f2c687b 4286 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4287 compile with regexp support enabled.
362bc2da
DL
4288
42891995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4290
4291 * Version 19.30 released.
4292
42931995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4294
4295 * makefile.nt (DOC, clean): Don't use switches to del not
4296 supported by Windows 95.
4297
42981995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4299
4300 * Makefile.in (regex.o): Depend on ../src/config.h.
4301
43021995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4303
4304 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4305 (LOADLIBES): Use LIB_STANDARD.
4306
43071995-11-07 Kevin Gallo <kgallo@microsoft.com>
4308
4309 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4310 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4311 Windows 95 conditional.
4312
880820fe 43131995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4314
4315 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4316 get_lang_from_suffix): New functions.
4317 (get_language): Function deleted.
4318 (lang_entry): Two members added to struct.
4319 (lang_names): Reflect the new layout of lang_entry.
4320 (print_language_names, main, find_entries): Use the new functions.
4321 (find_entries): Look at the first line for #! if no language.
4322 (C_entries): Invalidate the token when funcdef is reset.
4323 (Perl_functions): New function.
4324 (lang_suffixes): .pl and .pm are Perl suffixes.
4325
880820fe 43261995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4327
4328 * etags.c (lowcase): Use the standard tolower function.
4329 (substitute): Remove some wrong and some useless code related with
a64387ee 4330 escape '\' character in regexp replacement string.
362bc2da
DL
4331 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4332 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4333 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4334 .prolog for prolog (.pl removed).
4335 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4336 (C_entries, find_entries): Added comments about memory leakage.
4337 (add_node): Dead code removed.
4338
43391995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4340
4341 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4342 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4343
43441995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4345
4346 * test-distrib.c: Add #undef for open, close, read, write.
4347
43481995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4349
4350 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4351 [! O_RDONLY]: Define it to zero.
4352 (main): Use O_RDONLY instead of explicit zero.
4353
880820fe 43541995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4355
4356 * etags.c (Pascal_functions): Close comment bug corrected.
4357 (add_node): Correctly compare node file names.
4358 (Pascal_functions): Correctly allocate and free memory for tline.
4359 (pfnote): Put the definition of fp in the innermost block.
4360 (NODE): `named' member removed.
4361 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4362 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4363 (pfnote): `named' argument removed, all callers changed.
4364 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4365 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4366 removed from pfnote call, some code cleanup.
362bc2da
DL
4367 (relative_filename): Free temporary space allocated by concat.
4368
43691995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4370
4371 * Makefile.in (getdate.c): New target.
4372 (getdate.o): Just compile getdate.c.
4373
43741995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4375
4376 * fakemail.c (xrealloc): Change cast to match return type.
4377
43781995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4379
4380 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4381
43821995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4383
4384 * movemail.c (main): Fix previous change.
4385 Add error check for empty OUTNAME.
4386
43871995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4388
4389 * movemail.c (main): Mention lock file name in error message.
4390
43911995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4392
4393 * profile.c (gettimeofday): New function, defined if necessary.
4394
43951995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4396
4397 * Makefile.in: Renamed from Makefile.in.in.
4398 (distclean): Delete Makefile.c, not Makefile.in.
4399
44001995-07-17 Michael Shields <shields@tembel.org>
4401
4402 * Makefile.in.in (tags): Synonym for `TAGS'.
4403
44041995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4405
4406 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4407 configure has already set $(INSTALL) to the proper relative path.
4408
880820fe 44091995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4410
2f2c687b
JB
4411 * etags.c (plain_C_entries): New function.
4412 (lowcase): New macro.
4413 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4414 (lang_suffixes): New suffix ".pc" for Pro*C files.
4415 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4416 (tail): Look for the end of the token when comparing.
4417 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4418
44191995-07-08 Paul Eggert <eggert@twinsun.com>
4420
4421 * rcs2log (datearg): Separate date from time with comma, not space,
4422 to work around CVS 1.5 bug.
4423 (CVSROOT): Don't abort when unset if repository is absolute.
4424
44251995-07-07 Paul Eggert <eggert@twinsun.com>
4426
4427 * rcs-checkin, rcs2log, vcdiff:
4428 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4429 that interpret `#! /' as a 4-byte magic number.
4430
44311995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4432
4433 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4434 mailbox with "po:mailbox", the mailbox is everything after the
4435 "po:" prefix.
4436
44371995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4438
4439 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4440 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4441
44421995-06-28 Paul Eggert <eggert@twinsun.com>
4443
4444 * rcs2log (CVSROOT, repository):
4445 Allow remote repositories a la CVS 1.4.
4446
880820fe 44471995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4448
2f2c687b
JB
4449 * etags.c (plain_C_entries): New function.
4450 (lowcase): New macro.
4451 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4452 (lang_suffixes): New suffix ".pc" for Pro*C files.
4453 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4454 (tail): Look for the end of the token when comparing.
4455 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4456
44571995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4458
4459 * movemail.c (main): Add newline in usage message.
4460
44611995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4462
4463 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4464
880820fe 44651995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4466
4467 * etags.c (find_entries): Rewind before rereading the input file.
4468
44691995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4470
4471 * Version 19.29 released.
4472
4473 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4474 This undoes part of the previous change.
4475
44761995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4477
4478 * make-docfile.c (main): On MSDOS, don't change stdout
4479 to binary, and insist on an -o option.
4480
44811995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4482
4483 * etags.c (process_file,absolute_filename): Handle filenames
4484 starting with a drive letter.
4485
4486 * makefile.nt (install): Copy wakeup.exe properly.
4487
44881995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4489
4490 * make-docfile.c [MSDOS]: #undef chdir.
4491
44921995-06-04 Paul Eggert <eggert@twinsun.com>
4493
4494 * rcs2log (output_authors): Allow ':' in time zone,
4495 as per ISO 8601 and RCS 5.6.8 beta.
4496
880820fe 44971995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4498
4499 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4500 compatibility problems.
4501
45021995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4503
4504 * etags.c (etags_getcwd): Don't use #elif.
4505 Have just one function body.
4506
45071995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4508
4509 * makefile.nt (LIBS): Use BASE_LIBS.
4510 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4511 upon LIBS.
4512 (DOC): Use del instead of rm.
4513 (DOC) [WINDOWS95]: Use DOC.
4514 (clean): Handle MSVC aux files.
4515 (config.h,paths.h): Use $(CP) instead of cp.
4516 (config.h): Use $(CONFIG_H)
4517 (make-docfile.obj): Depend upon config.h.
4518 Clean up comments.
4519
880820fe 45201995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4521
4522 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4523 former gives the true path even in the presence of simlinks.
4524
45251995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4526
4527 * movemail.c (main): Increase lock timeout to five minutes.
4528
45291995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4530
4531 * makefile.nt (obj): Use .c files.
4532
45331995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4534
4535 * make-docfile.c: Include config.h.
4536 (NO_SHORTNAMES): New definition.
4537 (xmalloc): Return long *.
4538
4539 * etags.c (C_entries): Cast result of xrealloc.
4540 (xmalloc, xrealloc): Declare them to return long *.
4541
4542 * b2m.c (xmalloc, xrealloc): Declare them long *.
4543
4544 * movemail.c (xmalloc): Declare it to return long *.
4545
45461995-04-30 Paul Eggert <eggert@twinsun.com>
4547
4548 * rcs2log (datearg): If rlog options are specified explicitly,
4549 omit the implicit '-d>DATE' option.
4550 (repository, rlog): Allow absolute paths to CVS repositories.
4551 Look only at the first line of CVS/Repository.
4552
45531995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4554
4555 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4556 realclean.
4557
45581995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4559
4560 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4561 Alternative (empty) definitions.
4562
45631995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4564
4565 * emacsclient.c (main): Add argv[0] to an error message.
4566
45671995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4568
4569 * emacsclient.c (main): Improve error handling.
4570 * cvtmail.c (main, skip_to_lf): Improve error handling.
4571 (sysfail): New function.
4572
4573 * b2m.c (main): Check for trailing ", " before trying to delete it.
4574
45751995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4576
4577 * Makefile.in.in (all): Build test-distrib and make-docfile.
4578
4579 * make-docfile.c (scan_c_file): At end, restore file name last char
4580 to its original value.
4581
45821995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4583
4584 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4585
45861995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4587
4588 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4589 (alloca.o, regex.o): Use BASE_CFLAGS.
4590
45911995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4592
4593 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4594
45951995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4596
4597 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4598 (SOURCES, distclean): Removed obsolete references to aixcc.
4599
46001995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4601
4602 * aixcc.lex: File deleted--surely obsolete now.
4603
46041995-03-23 Paul Eggert <eggert@twinsun.com>
4605
4606 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4607 portability to mawk and nawk.
4608
46091995-03-21 Paul Eggert <eggert@twinsun.com>
4610
4611 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4612 -u "login<tab>fullname<tab>mailaddr".
4613
46141995-03-21 Paul Eggert <eggert@twinsun.com>
4615
4616 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4617 replaces the (now obsolescent) -n login fullname mailaddr option.
4618 Add -R option for recursive rlog.
07655e62 4619 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4620 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4621 Quote authors and fullnames correctly.
4622 Don't omit path from repository root when logging CVS files.
4623
46241995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4625
4626 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4627 even if HAVE_SYSVIPC.
4628 * emacsclient.c (main): Use getcwd if not BSD.
4629
880820fe 46301995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4631
2f2c687b 4632 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4633 (readline_internal): Do not access the char before start of line.
4634
880820fe 46351995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4636
4637 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4638 savetok.valid. Mark token as valid when it is initialised.
4639 (make_tag): Make token only if token is valid and reset validity.
4640 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4641 (TOKEN): Added a new member: valid.
4642
880820fe 46431995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4644
4645 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4646 (main): Do not read twice the last filename in the stdin file list.
4647
880820fe 46481995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4649
4650 * etags.c (C_entries): Initialise the new members of TOKEN.
4651 (C_entries): Do not allocate a new space for each token found by
4652 consider_token. Let make_tag do that instead.
4653 (make_tag): Since now TOKEN has memory of where it is taken from,
4654 this new macro substitutes both make_tag_from_new_lb and
4655 make_tag_from_oth_lb. All callers changed.
4656 (TOKEN): Add linepos and buffer members.
4657 (main): Initialise token_str.
4658 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4659 (token_str): New global variable used by C_entries.
4660
46611995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4662
4663 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4664
880820fe 46651995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4666
4667 * etags.c (pfnote): Initialise been_warned in the node.
4668 (C_entries): Removed a speed hack for the sake of clarity.
4669
880820fe 46701995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4671
4672 * etags.c (longopts, print_help, main): Use -I as abbreviation
4673 for the --ignore-indentation option.
4674 (main): Do not print an error message for unknown options.
4675
880820fe 46761995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4677
4678 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4679 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4680 constantypedefs, update, vgrind_style, no_warnings,
4681 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4682 (permit_duplicates): Was a var, now a #define.
4683 (filename_lb): Was global, now local to main.
4684 (main): Open the tag file when in cxref mode.
4685 Use a BUFSIZ size buffer for making the shell commands.
4686 Look at the return value from the system routine.
4687 Exit when cannot open the tag file.
4688 (process_file): Open the file and pass the FILE* to find_entries.
4689 (find_entries): Now void, because does not open the file itself.
4690 (pfnote): Recovering from lack of memory does not work. Removed.
4691 Use savenstr and simplify the code.
4692 (free_tree): Only free the name space if node is named.
4693 (structtag): Now a pointer, not a fixed length array of chars.
4694 (consider_token): Don't take a token as argument. Use savenstr
4695 when saving a tag in structtag. Callers changed.
4696 (TOKEN): Structure changed. Now used only in C_entries.
4697 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4698 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4699 (pfcnt): Deleted. Users updated.
4700 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4701 TEX_getit, prolog_getit): Use dinamic allocation for storing
4702 the tag instead of a fixed size buffer.
4703
47041995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4705
4706 * movemail.c (main): Skip past the colon in inname.
4707
880820fe 47081995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4709
4710 * etags.c (pfatal): New function.
4711 (main, etags_getcwd): Use pfatal.
4712 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4713
880820fe 47141995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4715
4716 * etags.c (Lang_function): Use void instead to declare the
4717 language functions, because many compilers are buggy.
4718 (etags_getcwd): Fix the previous fix on the #else branch.
4719 (readline_internal): Discard possible \r before \n here.
4720 (C_entries): Do not deal with \r here: undo previous fix.
4721
880820fe 47221995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4723
4724 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4725 functions and a macro that allow the program to work on input
4726 lines of whatever length. Copied from etags.c.
4727 (fatal): Print a fatal error message and exit.
4728 (main): Use the new functions. Fixed a bug that made a \037 char
4729 appear at the end of the output.
4730
47311995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4732
4733 * etags.c (C_entries): Ignore carriage return at end of line.
4734
47351994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4736
4737 * fakemail.c (xmalloc, xrealloc): Add casts.
4738 (add_field): Handle <...> and "..." syntax.
4739 (setup_files, get_keyword): Clean up parens and line breaks.
4740 (args_size): Likewise.
4741
47421994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4743
4744 * yow.c: Include program name in error messages.
4745
47461994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4747
4748 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4749 (xmalloc, fatal, error): New functions.
4750 (progname): New variable.
4751 (main): Set progname.
4752
47531994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4754
4755 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4756 (main): If socket/mqueue name is in home dir, add in the host name.
4757 Rename .emacs_server to .emacs-server....
4758
47591994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4760
4761 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4762
880820fe 47631994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4764
2f2c687b
JB
4765 * etags.c (print_help): Print --regex usage for ctags also.
4766 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4767
880820fe 47681994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4769
4770 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4771 is compiled if this is defined. The new functions and variables
4772 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4773 [VMS]: All VMS specific code previously contained in
4774 etags-vmslib.c is now included here, modified for dealing with
4775 language and regex options intermixed with filenames.
4776 (header_file): Global variable deleted.
4777 (Lang_Function): New typedef. All language parser functions
4778 changed to this new type.
4779 (string_numeric_p, substr, prestr): Functions deleted.
4780 (readline_internal): Does the job that readline did previously.
4781 (longopts): --language and --regex options added.
4782 (lang_names, lang_extensions, lang_func, print_language_names):
4783 New structures, variables and functions for choosing languages.
4784 (print_help): Help strings updated. Calls print_language_names.
4785 (argument_type, ARGUMENT): Typedefs for dealing with language and
4786 regex options intermixed with filenames.
4787 (main): Changed the way of dealing with arguments on the command
4788 line to deal with language and regex options intermixed with
4789 filenames.
4790 (get_language, default_C_entries, Cplusplus_entries,
4791 Cstar_entries, Yacc_entries, just_read_file): New functions.
4792 (find_entries): Use the new method for choosing the language.
4793 (Pascal_functions): Allow intermixing of comment styles.
4794 (prolog_getit, skip_comment): Rewritten for speed.
4795 (readline): Rewritten to deal with regexps.
4796
880820fe 47971994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4798
4799 * etags.c (<errno.h>): #include added.
4800 (etags_getcwd): Check return value from getcwd.
4801
48021994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4803
4804 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4805 (get_time): Use EMACS_SUB_TIME.
4806
d57727c9 48071994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4808
4809 * ntlib.c: New file.
4810 * makefile.nt: New file.
4811
4812 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4813 [WINDOWSNT]: Include the NT headers.
4814 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4815
4816 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4817 [WINDOWSNT]: Include some NT headers.
4818
48191994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4820
4821 * pop.c (getline): When a search of already-read input for CRLF
4822 fails, store the fact that we've searched it and don't search it
4823 again after reading more data.
4824
4825 * pop.c (getline): When determining whether or not it's necessary
4826 to grow the input buffer, take into account the null that's stored
4827 at the end of already-read input in the buffer.
4828
880820fe 48291994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4830
2f2c687b 4831 * etags.c (prestr, substr): Return a logical type.
362bc2da 4832 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4833 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4834 (C_entries): Now we can use Tom Hageman patch for extern "C".
4835
48361994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4837
4838 * movemail.c: PopServer renamed to popserver throughout.
4839
48401994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4841
4842 * etags.c: Don't declare malloc, since we include config.h.
4843 * fakemail.c: Likewise.
4844
48451994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4846
4847 * movemail.c: Don't declare malloc.
4848
48491994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4850
4851 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4852 avoid syntax error.
362bc2da
DL
4853
48541994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4855
4856 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4857 defined, and if HAVE_CONFIG_H isn't defined, define
4858 MAIL_USE_POP always (so that this file can be included in
4859 other programs besides emacs).
4860
4861 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4862 HAVE_CONFIG_H isn't defined.
4863
4864 * pop.c (find_crlf, getline): Instead of using strstr, use a
4865 custom function for finding CRLF.
4866 (my_strstr): Function deleted.
4867
48681994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4869
4870 * pop.c (getline): Fix a segfault because of passing a
4871 non-null-terminated string into strstr(). Fix from
4872 djm@va.pubnix.com (David J. MacKenzie).
4873
4874 * pop.c: Don't include <string.h> and <strings.h>.
4875
4876 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4877 should be interchangeable, and indeed the inclusion is done in
4878 both orders in various files in the Kerberos 4 library sources,
4879 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4880 requires that <des.h> be included first, and I don't see any harm
4881 in changing the order.
4882
4883 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4884 STDC_HEADERS, if they're defined. Undef open, read, write and
4885 close after including it.
4886
48871994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4888
4889 * pop.c: Fix mismatch in conditionals.
4890
4891 * make-docfile.c (main): Don't process one input file twice.
4892 Never use exit code > 1.
4893
4894 * pop.c (open, close, read, write): Add #undefs.
4895
4896 * pop.c: Don't declare malloc, realloc, free.
4897 Include ../src/config.h.
4898 Don't include string.h or strings.h.
4899 Include des.h before krb.h.
4900 Do declare my_strstr.
4901 (getline): Really use my_strstr.
4902 Leave one empty place in server->buffer,
4903 and put a null at the end of the data in it.
4904
49051994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4906
4907 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4908 call kill with pid 0. Handle EINTR when receiving messages.
4909
49101994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4911
4912 * Makefile.in.in (regex.o): Use full path to find regex.c.
4913
880820fe 49141994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4915
2f2c687b
JB
4916 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4917 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4918
49191994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4920
4921 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4922 (${archlibdir}): Use mkinstalldirs instead.
4923
4924 * movemail.c: Make functions that return nothing void, not
4925 implicitly int.
4926 (main): Improve usage message.
4927 (error): Write to stderr, not stdout.
4928
4929 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4930 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4931 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4932 variables and implicitly declared functions.
4933
49341994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4935
4936 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4937 (distclean): Not here.
4938
4939 * Makefile.in.in (libexecdir): Renamed from libdir.
4940
880820fe 49411994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4942
4943 * etags.c (C_entries): Name the #define's that are macros.
4944
49451994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4946
4947 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4948 fd_set arg is a pointer, descriptor arg comes first.
4949
880820fe 49501994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4951
4952 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4953 (C_entries): Recognise #define inside a struct.
4954 (C_entries): ANSI tells that preprocessor commands do not have to
4955 start on the first column.
4956 (print_help): Documentation corrected for -d and -D.
4957 (white, endtk): ANSI tells the vertical tab is a separator.
4958
49591994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4960
4961 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4962 (pop.o, movemail.o): New targets.
4963 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4964
4965 * pop.c, pop.h: New files.
4966
4967 * movemail.c: Improve POP code, move most of it into a separate file.
4968 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4969 (mbx_write): Check for errors and for From line.
4970 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4971 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4972 (pop_init): Functions deleted.
4973
49741994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4975
4976 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4977 Rename path to dirname.
4978
49791994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4980
4981 * Makefile.in.in (UTILITIES):
4982 Remove test-distrib, make-docfile, make-path.
4983 (DONT_INSTALL): New variable--list those files here.
4984 (clean): Delete the files in DONT_INSTALL.
4985
49861994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4987
4988 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4989 (main): Use fgets, not gets.
4990
49911994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4992
4993 * timer.c: Don't declare malloc.
4994
49951994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4996
4997 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4998 defined, use simple 32-bit versions of these macros.
4999 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5000
c60ee5e7 50011994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5002
5003 * etags.c (etags_getcwd): Use getcwd if available.
5004
50051994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5006
5007 * Version 19.27 released.
5008
50091994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5010
5011 * Version 19.26 released.
5012
50131994-08-15 Paul Eggert <eggert@twinsun.com>
5014
5015 * rcs2log: Add support for CVS.
5016 Work with `rlog's that output ISO 8601 dates.
5017
50181994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5019
5020 * rcs2log: Use <> to delimit email address.
5021
50221994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5023
5024 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5025 so we can listen for multiple requests.
5026
50271994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5028
5029 * movemail.c: Include config.h first thing.
5030
50311994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5032
5033 * emacsserver.c (main): Add casts to avoid warnings.
5034
50351994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5036
5037 * Makefile.in.in (${archlibdir}): Compare the proper dir
5038 before installing the scripts.
5039
50401994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5041
5042 * emacsclient.c (main): New local var progname saves argv[0].
5043
50441994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5045
5046 * emacsclient.c (main): Don't actually modify argv[0].
5047 Modify a copy instead.
5048
50491994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5050
5051 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5052 (tzp): Var deleted.
5053
5054 * Makefile.in.in: Add #undef alloca.
5055
50561994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5057
5058 * timer.c (xmalloc): New function.
5059
50601994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5061
5062 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5063 (alloca.o): New target.
5064
50651994-07-08 Dave Love (d.love@dl.ac.uk)
5066
2f2c687b 5067 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5068
880820fe 50691994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5070
ecc54057
JB
5071 * etags.c (main): Don't barf on obsolete -t and -T switches.
5072 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5073
50741994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5075
5076 * hexl.c: Don't declare exit or perror.
5077
5078 * emacsserver.c (main): Don't declare geteuid.
5079 Don't declare getenv if convex.
5080
50811994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5082
5083 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5084
880820fe 50851994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5086
5087 * etags.c (absolute_filename): Remove infinite loop bug when
5088 accessing files in directories whose name begins with a dot.
5089
880820fe 50901994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5091
5092 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5093
50941994-06-01 Morten Welinder (terra@diku.dk)
5095
5096 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5097 location of data directory.
5098
50991994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5100
5101 * Version 19.25 released.
5102
51031994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5104
5105 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5106
51071994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5108
5109 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5110
51111994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5112
5113 * Version 19.24 released.
5114
51151994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5116
5117 * make-docfile.c (write_c_args): Put `default' in upper case.
5118
51191994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5120
5121 * etags.c (etags_getcwd): Cast result of popen.
5122 (popen): Declaration deleted.
5123
51241994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5125
5126 * etags.c [!MSDOS]: Declare popen.
5127
51281994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5129
5130 * b2m.c (main): Avoid crash if argc is 1.
5131
51321994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5133
5134 * Version 19.23 released.
5135
5136 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5137
51381994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5139
5140 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5141
51421994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5143
5144 * Makefile.in.in: Fix out of date comment.
5145
51461994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5147
5148 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5149 Move all autoconf substitutions above that point.
5150 Above that point, use Make-style comments.
5151 This goes with changes in ../configure.in.
5152
51531994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5154
5155 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5156 warning message.
5157 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5158
51591994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5160
5161 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5162
51631994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5164
5165 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5166 print advice to run it, if it has anything significant to do.
5167 And only if MOVEMAIL_NEEDS_BLESSING.
5168 (blessmail): Use emacs, not temacs.
5169 (configuration): Renamed from configname.
5170
51711994-04-30 Morten Welinder (terra@diku.dk)
5172
5173 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5174
51751994-04-30 Morten Welinder (terra@diku.dk)
5176
5177 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5178 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5179 a shell.
5180
51811994-04-29 Morten Welinder (terra@diku.dk)
5182
5183 * hexl.c [MSDOS]: Don't define proto type for exit.
5184
51851994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5186
5187 * b2m.c: Don't include string.h or strings.h.
5188
51891994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5190
5191 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5192 symbols, not make variables.
5193
51941994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5195
5196 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5197 * etags.c (print_version): Print VERSION as a string.
5198
51991994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5200
5201 * fakemail.c (readline): Fix updating of p when buffer grows.
5202
52031994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5204
5205 * Makefile.in.in (blessmail): New target.
5206 ${archlibdir}: Use blessmail when installing movemail.
5207
52081994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5209
5210 * fakemail.c (readline): When extending the buffer,
5211 calculate end afresh using the new size.
5212
880820fe 52131994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5214
2f2c687b 5215 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5216
880820fe 52171994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5218
2f2c687b 5219 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5220
52211994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5222
5223 * Makefile.in.in: Renamed from Makefile.in.
5224 Makefile.in is now generated from it, and then preprocessed.
5225 Change comments to C syntax.
5226 Include config.h.
5227 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5228 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5229
52301994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5231
5232 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5233
880820fe 52341994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5235
5236 * etags.c (etags_getcwd): Initialize bufsize.
5237
52381994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5239
5240 * profile.c (gettimeofday): If system doesn't have this, define it
5241 to give a fatal error.
5242
52431994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5244
5245 * movemail.c (main): Use setuid, not seteuid.
5246
52471994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5248
5249 * etags.c: #undef static.
5250
880820fe 52511994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5252
2f2c687b
JB
5253 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5254 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5255 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5256 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5257 TeX_functions, Prolog_functions.
2f2c687b
JB
5258 (inf): No more a global variable.
5259 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5260 (find_entries): Added the cp1 var for optimisation.
5261 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5262 (Asm_funcs): Now finds labels even without an ending colon.
5263
880820fe 52641994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5265
2f2c687b
JB
5266 * etags.c (main): Use etags_getcwd for compatibility.
5267 (etags_getcwd): New function.
362bc2da
DL
5268
52691994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5270
5271 * Makefile.in (etags, ctags): Pass -D for VERSION.
5272
880820fe 52731994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5274
2f2c687b
JB
5275 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5276 (main): Don't allow the use of -t and -T in etags mode.
5277 (print_help): Don't show options enabled by default.
5278 (print_version): Show the emacs version number if VERSION is #defined.
5279 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5280
880820fe 52811994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5282
2f2c687b 5283 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5284 (relative_filename, absolute_filename, absolute_dirname):
5285 functions added to compute filenames in tags files.
2f2c687b 5286 (process_file): Filenames in tags file are relative to the
362bc2da 5287 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5288 (main): Initialise the outfiledir var.
5289 (TYPEDST): Added the `tignore' value.
5290 (C_entries): Corrected various small bugs.
362bc2da
DL
5291
52921994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5293
5294 * Makefile.in (UTILITIES): `env' deleted.
5295 (env): Target deleted.
5296 * env.c: File deleted.
1c478461 5297
362bc2da
DL
52981994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5299
5300 * Makefile.in (install, ${archlibdir}): Switch back to ..
5301 before running INSTALL_PROGRAM.
5302
880820fe 53031994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5304
2f2c687b
JB
5305 * etags.c (TYPEDST): Added the `tignore' value.
5306 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5307 `extern "C" {' construction (patch by Tom R.Hageman).
5308
53091994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5310
5311 * b2m.c: Use <...> to include config.h.
5312 Don't include stdlib.h.
5313
177c0ea7 53141994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5315
5316 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5317 Allow for text following "BABYL OPTIONS:".
5318 Add --help option. Use argv[0] in error messages.
5319
53201994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5321
5322 * emacsclient.c (main) [HAVE_SYSVIPC]:
5323 Make msgp->mtext longer if necessary.
5324 On HPUX, error if it's more than 512 chars.
5325
53261994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5327
5328 * etags-vmslib.c: Use GPL.
5329 * emacstool.c: Use GPL.
5330 * fakemail.c: Update GPL.
5331
5332 * make-path.c (main): Return 1 on error, not -1.
5333 Update GPL.
5334
5335 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5336 (xmalloc, xrealloc): Return char *, not int.
5337 (error): Write to stderr, not stdout.
5338 Update GPL.
5339
53401994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5341
5342 * profile.c (main, get_time): Don't crash on invalid input.
5343
53441994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5345
5346 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5347 (main): Exit on EOF.
362bc2da 5348
880820fe 53491994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5350
a64387ee 5351 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5352
53531994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5354
5355 * fakemail.c (put_line): Don't break the line if it all fits.
5356
880820fe 53571994-02-14 Francesco Potortì (pot@fly)
362bc2da 5358
2f2c687b
JB
5359 * etags.c (absolute_pathnames, cwd): Added global vars.
5360 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5361 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5362 (print_help): Alphabetically order the options.
2f2c687b 5363 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5364
53651994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5366
5367 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5368 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5369
53701994-02-07 Christian Lynbech (lynbech@avignon)
5371
5372 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5373
53741994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5375
5376 * Makefile.in (UTILITIES): Mention profile.
5377 (profile): New target.
5378
5379 * profile.c: New file.
5380
53811994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5382
88c71720 5383 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5384 Lisp docstrings do.
88c71720 5385 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5386 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5387 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5388
880820fe 53891994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5390
5391 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5392 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5393 Use gperf generated hash table instead of linked list.
2f2c687b 5394 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5395 Mostly code generated by gperf.
2f2c687b
JB
5396 (consider_token): Removed unused parameter `lp'.
5397 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5398 to span multiple lines.
2f2c687b
JB
5399 (C_entries): Check for newline if inchar to avoid bus errors.
5400 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5401 and not regular file.
5402
54031994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5404
5405 * timer.c: Include errno.h; don't include fasync.h.
5406 (schedule): Don't return a value.
5407 (sigcatch): Reestablish the handler first.
5408 (getevent): Always call notify at the end.
5409 (notify): Defer alarms around the whole body of function.
5410
54111994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5412
5413 * timer.c (main): Don't request SIGIO, and don't handle it.
5414 Loop calling getevent.
5415 (sigcatch): Delete code to handle SIGIO.
5416 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5417 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5418 Set defer_alarms around realloc and schedule.
5419 If alarm_deferred gets set, call notify.
5420 Likewise if this event is the only pending event.
5421 Make buf and buf_size global variables.
5422 Don't malloc buf if it is already non-zero.
5423 (schedule): Just exit if run out of memory.
5424 Return the number of events.
5425 (signal) [_CX_UX]: Add #undef.
5426
54271994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5428
5429 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5430 (main) [USG]: Do ioctl to enable SIGPOLL.
5431
54321994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5433
5434 * timer.c: Don't declare sys_errlist; declare strerror instead.
5435 (schedule, main): Call strerror instead of using sys_errlist.
5436 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5437 Call strerror instead of using sys_errlist.
5438 * env.c (main): Call strerror instead of using sys_errlist.
5439 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5440 (main): Call strerror instead of using sys_errlist.
5441 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5442 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5443 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5444 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5445
54461994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5447
5448 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5449
5450 * movemail.c (malloc): Don't declare it.
5451 (xmalloc): Cast result of malloc.
5452 (strcpy): Don't declare it.
5453
54541993-11-14 Morten Welinder (terra@diku.dk)
5455
5456 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5457 (main): Use fclose to close file opened by fopen.
5458
5459 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5460
5461 * movemail.c [MSDOS]: #undef `access'.
5462
5463 * b2m.c (main) [MSDOS]: Open all files as binary.
5464 * etags.c (main) [MSDOS]: Open all files as binary.
5465
5466 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5467 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5468 with.
5469
54701994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5471
5472 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5473 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5474 (LINK_CFLAGS): New variable.
5475 (timer): Use LINK_CFLAGS.
5476
54771993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5478
5479 * movemail.c: Include syswait.h.
5480 Fork a subprocess and use it to copy the mail file.
5481
54821993-12-07 Richard Stallman (rms@srarc2)
5483
5484 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5485
54861993-12-04 Richard Stallman (rms@srarc2)
5487
5488 * movemail.c (main): When making tempname, cast result of xmalloc.
5489 Include room for EXXXXXX in the size.
5490 Don't use result of strcpy.
5491
54921993-12-03 Paul Eggert (eggert@twinsun.com)
5493
5494 * vcdiff: Add --brief option.
5495
54961993-12-02 Richard Stallman (rms@srarc2)
5497
5498 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5499 for all executables and scripts.
5500
55011993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5502
5503 * Version 19.22 released.
5504
55051993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5506
5507 * Makefile.in (mostlyclean): Make it distinct from clean.
5508
55091993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5510
5511 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5512
55131993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5514
5515 * Version 19.21 released.
5516
5517 * Makefile.in (install): Don't change mode or group when installing.
5518
5519 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5520
55211993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5522
5523 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5524
5525 * movemail.c (main): Fix error message text.
5526
55271993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5528
5529 * Version 19.20 released.
5530
177c0ea7 55311993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5532
ecc54057 5533 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5534 functions returning a pointer to a function, a la `signal', can be
5535 parsed. This also required new state `fstartlist' to `FUNCST'.
5536 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5537 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5538 from the other state engines.
2f2c687b 5539 (begtk): Add '~', for C++ class destructors.
362bc2da 5540
880820fe 55411993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5542
2f2c687b
JB
5543 * etags.c (consider_token): Removed unused variable firsttok.
5544 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5545
55461993-10-19 Paul Eggert (eggert@twinsun.com)
5547
5548 * rcs2log (printlogline): Don't generate lines containing only
5549 white space.
5550
55511993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5552
5553 * Makefile.in (${archlibdir}):
5554 Install ${SCRIPTS} from ${srcdir}, not cwd.
5555
55561993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5557
5558 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5559 the comment character.
5560
880820fe 55611993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5562
2f2c687b 5563 * etags.c (process_file): Dead code removed.
362bc2da 5564 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5565 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5566
f0131492 55671993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5568
5569 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5570 from current directory. Only chmod and chgrp files that we
5571 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5572 ${bindir}.
5573 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5574 now.
5575
f0131492 55761993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5577
5578 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5579 configure figure out the correct values for these variables.
5580
f0131492 55811993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5582
10d1d0af 5583 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5584 used by emacs; don't install bindir binaries here.
5585
55861993-09-24 Paul Eggert (eggert@twinsun.com)
5587
5588 * rcs2log: Add -h, -n, -r options.
5589 By default, look for *,v files as well as RCS/*,v files.
5590 Use $TMPDIR (default /tmp) instead of /tmp.
5591
880820fe 55921993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5593
5594 * etags.c (C_entries): is_func is initialised here instead of in
5595 consider_token for the sake of the yacc rules section.
5596 (C_entries): Now class, struct, enum, union and typedef produce
5597 named tags.
5598
55991993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5600
5601 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5602
56031993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5604
88c71720
KS
5605 * Makefile.in: Support configuring in a different directory when
5606 ${srcdir} has already been configured.
5607 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5608 -I${srcdir}/../src.
362bc2da
DL
5609 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5610 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5611 is already in CPP_FLAGS.
5612 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5613 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5614
56151993-08-25 Paul Eggert (eggert@twinsun.com)
5616
5617 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5618 otherwise, HP awk complains.
5619
5620 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5621 are common hangouts for SCCS commands.
5622
56231993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5624
5625 * Version 19.19 released.
5626
56271993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5628
5629 * Makefile.in (make-path): Dep on config.h.
5630
56311993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5632
5633 * b2m.c (TRUE, FALSE): Don't define if already defined.
5634
56351993-08-09 Paul Eggert (eggert@twinsun.com)
5636
5637 * rcs2log (awkscript):
5638 Some sites put comma-separated junk after the fullname.
5639 Remove it, but leave "Bill Gates, Jr" alone.
5640 Remove the junk from fullnames like "0000-Admin(0000)".
5641
56421993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5643
5644 * Version 19.18 released.
5645
880820fe 56461993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5647
2f2c687b
JB
5648 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5649 (L_funcs): The (foo::defmumble stuff now should work.
5650 (consider_token): Function returned random value--corrected.
5651 (C_entries): Corrected == versus = typo.
362bc2da
DL
5652
56531993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5654
5655 * etags.c (put_entries): For NODE->rewritten, put pattern before
5656 \177 and name after, not vice versa.
5657
56581993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5659
5660 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5661
880820fe 56621993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5663
ecc54057 5664 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5665 after the parameter list and before the open curly brace.
5666 Allows correct parsing of C++ constructors.
2f2c687b
JB
5667 (C_entries, consider_token): Make use of fignore.
5668 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5669 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5670 (L_isquote): Function that recognises the "(quote" string.
5671 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5672
56731993-07-29 Paul Eggert (eggert@twinsun.com)
5674
5675 * rcs-checkin: Don't check whether a file is readable until we have
5676 decided not to ignore it.
5677
56781993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5679
5680 * Makefile.in (etags): Depend on ../src/config.h.
5681
5682 * emacsserver.c: Include types.h before file.h.
5683
56841993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5685
5686 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5687
56881993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5689
ecc54057 5690 * Version 19.17 released.
362bc2da
DL
5691
56921993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5693
5694 * etags.c (print_help): Break up the very long strings containing
5695 the help message into shorter strings, to placate chintzy C
5696 compilers which can't handle strings that long.
5697
5698 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5699 correct combination of <time.h> and <sys/time.h>.
5700
880820fe 57011993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5702
2f2c687b
JB
5703 * etags.c (alloca): Removed all references to it.
5704 (main): Now calls xnew instead of alloca for portability.
5705 (../src/config.h): Included only if HAVE_CONFIG_H.
5706 (const): Void definition removed--config.h takes care of it.
362bc2da 5707
880820fe 57081993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5709
2f2c687b 5710 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5711 (consider_token): DEFUNs now treated like funcs in ctags mode.
5712
2f2c687b
JB
5713 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5714 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5715 (C_entries): Removed a piece of useless code.
5716 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5717 is met. This handles "typedef int X, Y, Z;" correctly.
5718
57191993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5720
5721 * Version 19.16 released.
5722
5723 * b2m.c: #include <sys/types.h>.
5724 (ltoday): Declare this to be time_t.
5725
57261993-06-30 Paul Eggert (eggert@twinsun.com)
5727
5728 * vcdiff: Add -q option.
5729
57301993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5731
5732 * etags.c: #include "config.h" and the alloca CPP tangle before
5733 #including the system headers and getopt.h. AIX requires the
5734 #pragma to come before any actual C code.
5735
57361993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5737
5738 * Makefile.in (ctags): Depend on etags, so that parallel makes
5739 don't write etags.o files on top of each other.
5740
57411993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5742
5743 * version 19.15 released.
5744
57451993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5746
5747 * etags.c (add_node): Move var last_node to file scope.
5748
57491993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5750
5751 * Version 19.14 released.
5752
57531993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5754
ecc54057 5755 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5756 * Makefile.in (distclean): Call clean to do most of the work.
5757 Delete aixcc.c and TAGS.
5758 (realclean): Just call distclean.
1c478461 5759
362bc2da
DL
5760 * Makefile.in: Remember, spaces are not tabs.
5761
57621993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5763
5764 * Makefile.in (CPP_CFLAGS): New variable.
5765 Use it instead of ALL_CFLAGS when compiling a .c file.
5766 (getopt.o, getopt1.o): Add explicit compilation commands.
5767
57681993-06-10 Mark D. Baushke (mdb@cisco.com)
5769
5770 * etags.c: Reinstate old -f option as an alias for -o for
5771 installed base uses.
5772
57731993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5774
5775 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5776 to bind or accept, cast the pointer, to avoid warnings on systems
5777 which declare prototypes for this.
5778 * emacsclient.c (main): Same.
5779
5780 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5781
57821993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5783
5784 * Version 19.13 released.
5785
5786 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5787 comes from, not sys/time.h.
5788
57891993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5790
5791 * wakeup.c: Include sys/time.h.
5792
5793 * etags.c: #undef static.
5794
5795 * Version 19.12 released.
5796
5797 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5798
57991993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5800
5801 * Version 19.11 released.
5802
5803 * timer.c [LINUX]: #undef signal.
5804 * emacsserver.c: #undef signal.
5805
58061993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5807
5808 * wakeup.c (main): Make when a time_t.
5809
58101993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5811
ecc54057 5812 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5813 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5814 might fail, and have pwd print out the current directory.
5815
5816 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5817 string-handling functions.
5818
58191993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5820
5821 * Version 19.10 released.
5822
58231993-05-29 Paul Eggert (eggert@twinsun.com)
5824
5825 * rcs2log: When given no file arguments, inspect RCS/.* as well
5826 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5827
58281993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5829
5830 * Makefile.in (timer): Link with $(LOADLIBES).
5831
58321993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5833
5834 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5835
58361993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5837
5838 * etags.c: Replace the CPP tangle for alloca with the one from the
5839 autoconf documentation, since that's working elsewhere.
5840
58411993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5842
5843 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5844 description files can find their ancestors.
5845
58461993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5847
5848 * Makefile.in (install): Get the scripts from ${srcdir},
5849 unlike the executables.
6088b51f 5850 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
5851
58521993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5853
5854 * Version 19.9 released.
5855
58561993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5857
5858 * Makefile.in (install): Do install the programs listed in
5859 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5860 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5861
5862 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5863 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5864
58651993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5866
5867 * etags.c: Include ../src/config.h.
5868
5869 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5870 in first loop. Delete files from bindir before installing new ones.
5871 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5872
58731993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5874
5875 * Version 19.8 released.
5876
5877 * make-docfile.c: Doc fix.
5878
58791993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5880
5881 * tcp.c: Fix comment syntax at top of file.
5882 (main): Don't call htons with the port number.
5883
58841993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5885
5886 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5887 appropriate.
362bc2da
DL
5888
5889 * Makefile.in (install): Refer to the variables INSTALLABLES and
5890 INSTALLABLE_SCRIPTS, instead of writing them out.
5891
58921993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5893
5894 * make-path.c (main): Return 0.
5895
58961993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5897
ecc54057 5898 * Version 19.7 released.
362bc2da
DL
5899
59001993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5901
5902 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5903
59041993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5905
5906 * tcp.c: New file.
5907
59081993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5909
5910 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5911
59121993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5913
5914 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5915 only. We should really fix this later, but let's just make it
5916 compile for now.
5917
5918 Install patches from David J. Mackenzie to make the srcdir option
5919 work.
5920 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5921 Makefile.
5922 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5923 INSTALLABLE_SCRIPTS.
5924 (INSTALLABLE_SCRIPTS): New list.
5925 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5926 (${archlibdir}): The scripts to be installed live in the source
5927 tree, not in the object tree.
5928 (test-distrib): Note that the data file lives in the source tree,
5929 not the object tree.
5930 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5931 (all other targets): Change references to source files to use
5932 ${srcdir}, except for config.h, which lives in the object dir.
5933 (timer.o): Note that this depends on ../src/config.h.
5934 * make-docfile.c (main): Add a -d option, to tell it where to find
5935 the source files.
5936 * test-distrib.c (main): Take the name of the distribution file to
5937 test from the command line.
5938
10d1d0af 5939 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
5940
59411993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5942
5943 * etags.c (main):
5944 Don't require that there be input files if -i switches were given.
5945
59461993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5947
5948 The GNU coding standards specify that CFLAGS should be left for
5949 users to set.
5950 * Makefile.in (CFLAGS): Put this in the "things configure might
5951 edit" section, and have it default to -g.
5952 (ALL_CFLAGS): New variable, set to all the flags which should be
5953 passed to compilations. Replace all other uses of CFLAGS with
5954 ALL_CFLAGS.
5955 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5956
5957 * Makefile.in (DEFS): Remove this; it's always just going to be
5958 "-DHAVE_CONFIG_H -Demacs".
5959
59601993-05-03 Paul Eggert (eggert@twinsun.com)
5961
5962 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5963 /[/]/, so change it to /[\/]/. This should work on all
5964 Posix-compliant awks. It's slightly wrong with traditional awk,
5965 since it matches \ too, but that's a minor problem compared to awk
5966 syntax errors.
5967
59681993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5969
5970 * Makefile.in (ALLOCA): New variable, whose value we should
5971 inherit from the top-level makefile.
5972 (etags, ctags): Include ALLOCA in the list of object files that
5973 these executables depend on and link.
5974
59751993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5976
5977 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5978
59791993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5980
5981 * make-docfile.c (write_c_args): Print an argument named "defalt"
5982 as "default".
5983
59841993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5985
5986 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5987 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5988 compiler.
5989
880820fe 59901993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5991
2f2c687b
JB
5992 * etags.c (YACC): Flag added to c_ext.
5993 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5994 (find_entries): Consistently use streq when reasonable.
5995 (find_entries): A .y file is a yacc file.
362bc2da 5996 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5997 (C_entries): Logical cplpl means c_ext&C_PLPL.
5998 (C_entries): Logical yacc_rules means we are after the first %%.
5999 (C_entries): Added logic for yacc files.
362bc2da 6000
880820fe 60011993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6002
6003 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6004 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6005 (consider_token): structtag set to null string for enum.
6006
880820fe 60071993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6008
2f2c687b
JB
6009 * etags.c (GET_COOKIE): And related macros removed.
6010 (logical): Is now int, no more a char.
6011 (reg): Define deleted.
6012 (isgood, _gd, notgd): Deleted.
6013 (gotone): Deleted.
6014 (TOKEN): Member linestart removed.
6015 (linepos, prev_linepos, lb1): Deleted.
6016 (main): Call initbuffer on lbs array instead of lb1.
6017 (init): Removed the initialisation of the logical _gd array;
6018 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6019 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6020 All C state machines rewritten.
2f2c687b
JB
6021 (C_entries): Complete rewrite.
6022 (condider_token): Complete rewrite.
6023 (getline): Deleted.
362bc2da 6024
880820fe 60251993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6026
6027 * etags.c (C_entries): Added the quotednl logical variable.
6028 Used for parsing of #define's spanning multiple lines.
6029
880820fe 60301993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6031
6032 * etags.c (C_entries): Save the definedef status even when a
6033 newline is met inside a string.
6034
60351993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6036
2f2c687b 6037 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
6038
6039 * Makefile.in (unlock, relock): New productions.
6040
60411993-03-16 Paul Eggert (eggert@twinsun.com)
6042
6043 * rcs2log: Some awks don't understand "\r". Code around this.
6044 Unfortunately this requires putting a carriage return in the
6045 source code. Don't assume that rlog will tolerate times like
6046 `10:10:60'; RCS 5.7 won't allow this.
6047
60481993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6049
6050 * timer.c (main): Set the ownership of the stdin file descriptor
6051 to the current process. Print error messages if either of the
6052 fcntl's fails.
6053
6054 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6055 ../src/config.h), not void.
6056
60571993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6058
6059 * b2m.c (main): Don't exit upon reading a blank line.
6060
880820fe 60611993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6062
6063 * etags.c (C_entries): New local variable quotednl. Used for
6064 parsing of #define's spanning multiple lines.
6065
6066 * etags.c (C_entries): Save the definedef status
6067 even when a newline is met inside a string.
6068
60691993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6070
6071 * timer.c (notify): Initialize waitfor properly.
6072
880820fe 60731993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6074
6075 * etags.c (C_entries): Don't reset definedef when a newline inside a
6076 comment is met.
6077
60781993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6079
6080 * etags.c (find_entries): If filename ends in .f or .for,
6081 don't try anything but Fortran.
6082
60831993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6084
6085 * timer.c (notify): Flush stdout after writing message to avoid lossage
6086 on terminals.
6087
6088 (notify): Also, write a newline after the token.
6089
60901992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6091
6092 * Makefile.in (exec_prefix): New variable.
6093 (bindir, libdir): Use it instead of `prefix'.
6094
6095 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6096
6097 * Makefile.in (libdir): Default to ${prefix}/lib.
6098 (archlibdir): Adjusted to match.
6099
6100 * Makefile.in (distclean): Don't delete backup or autosave files.
6101 (extraclean): Like realclean, but does delete backup and autosave
6102 files.
6103
6104 * Makefile.in (realclean): Ignore errors from rm.
6105
6106 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6107 that doesn't exist anymore.
6108
61091992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6110
6111 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6112 described in the top-level Makefile.
6113 (UTILITIES): Add make-path to the list of utility programs.
6114 (../arch-lib): Replaced by the ${archlibdir} target, which places
6115 the executables in their permanent home.
6116 (install, install.sysv, install.xenix): Consolidated into one
6117 target which should work under all circumstances, modulo a few
6118 ignored error messages.
6119
6120 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6121 a different number of arguments than other DEFVARs, recognize it
6122 specially, and expect the right number of commas.
6123
61241992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6125
6126 * make-path.c: New program, to help with the installation process.
6127 * Makefile.in (make-path): New target.
6128
6129 * make-path.c (touchy_mkdir): Remove debugging output.
6130
61311992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6132
6133 * Makefile.in (getdate.o): Added explicit target for this, so we
6134 can indicate that it depends on ../src/config.h.
6135
61361992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6137
6138 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6139 instead of CFLAGS.
6140 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6141
61421992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6143
6144 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6145 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6146 that system.
6147
6148 * Makefile.in (arch-lib): Give rm the `-f' option.
6149
61501992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6151
6152 * make-docfile.c (write_c_args): Rewritten to correctly print
6153 &optionals before the first identifier, but after the first paren.
6154 This code used to just wait for commas or spaces; now it notices
6155 identifier boundaries.
6156
61571992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6158
6159 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6160
61611992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6162
6163 * make-docfile.c (write_c_args): Print the argument lists properly
6164 when the first argument is optional.
6165
61661992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6167
6168 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6169 Redefine @item. Set catcode of +.
6170
61711992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6172
6173 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6174
61751992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6176
6177 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6178 (TEX_decode_env): Make `tab' one element longer.
6179
61801992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6181
6182 * etags.c (PF_funcs): Recognize the "entry" keyword.
6183
61841992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6185
6186 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6187
61881992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6189
6190 * timer.c (events): Rather than having slots marked as in use or
6191 out of use by the `token' field, keep all pending events at the
6192 beginning of the array. When we delete an event in the middle of
6193 the array, we move the last event into its place.
6194 (num_events): New variable.
6195 (schedule): It is now cheaper to find a free event slot;
6196 events[num_events] is the first free slot.
6197 (notify): Scan events[0 .. num_events-1], instead of the whole
6198 array. When an event fires, move the last event in the array into
6199 its spot. Use num_events to determine whether or not there are
6200 any pending events, not wait_for.
6201 (getevent): Deleted unused variable `ep'.
6202 (sigcatch): It's now easier to find all the active events.
6203 (main): Initialize num_events.
6204
6205 * etags.c: Rather than fret about which systems have index and
6206 which systems have strchr, and how to tell the difference between
6207 them, we just write out our own versions. Big deal.
6208 (index, rindex): Extern declarations removed.
6209 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6210 (etags_index, etags_rindex): New declarations.
6211 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6212 TEX_getit, substr): Use the etags_*index functions, rather than
6213 the native *index functions.
6214 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6215 made them unconditionally defined, rather than having them depend
6216 on NEED_*INDEX.
6217
6218 * etags.c (savenstr): Add declaration for this at top of file.
6219 (TEX_decode_env): Don't declare it local to this function.
6220
6221 * b2m.c: #include "../src/config.h", so we can test for the USG
6222 macro, and decide whether to include <string.h> or <strings.h>.
6223 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6224
62251992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6226
6227 * timer.c: Reformatted according to the GNU coding standards.
6228 Removed arbitrary limits on the number of events queued and the
6229 length of the tokens used to identify them.
6230 Removed casts to (void).
6231 Removed debugging printfs; they clutter the code, and the need
6232 can be better filled using a real debugger.
6233
62341992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6235
6236 * timer.c: Installed new version from Eric Raymond; this is more
6237 portable, since it doesn't try to use SIGIO.
6238
62391992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6240
6241 * emacsclient.c (main): If we can't find the socket in this
6242 person's home directory, print a message which asks if they've
6243 started the server, instead of just printing the message from
6244 sys_errmsg; Cygnus finds that people are much less confused by
6245 this.
6246
62471992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6248
6249 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6250 so that index and rindex get defined, why don't we actually
6251 control index and rindex using symbols called "NEED_INDEX" and
6252 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6253 little more readable than defining something whose name implies
6254 that it's not?
6255
62561992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6257
6258 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6259 distribution:
6260 Miscellaneous doc fixes.
1c478461 6261 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6262 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6263 read_lisp_symbol and then see what we got. Call skip_white
6264 instead of writing out a loop to do its job. Correctly extract
6265 docstrings from "defmacro" declarations.
6266
62671992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6268
6269 * movemail.c (strcpy): Declare this to return char *.
6270
62711992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6272
6273 * etags.c (C_entries): When we find a C++ comment, do actually
6274 skip to the end of the line; do a 'break' instead of a 'continue'.
6275
62761992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6277
6278 * etags.c (getit): Add missing parenthesis to expression which
6279 decides if this token is an identifier.
6280
62811992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6282
6283 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6284
62851992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6286
6287 * etags.c (put_entries): Always put space between name and line num.
6288
62891992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6290
6291 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6292 warning.
6293 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6294
62951992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6296
6297 * make-docfile.c (write_c_args): Pass both arguments to putc.
6298
62991992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6300
6301 * etags.c (C_entries): Fixed reading of "..." strings.
6302 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6303 the C library source.
6304
6305 * etags.c (C_entries): When we see a backslash inside a quoted
6306 string, skip to the next character. This allows us to correctly
6307 deal with strings containing quotes.
6308
63091992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6310
6311 * make-docfile.c (write_c_args): Print the C argument names as
6312 they would be written in Elisp; print '_' as '-'.
6313
63141992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6315
6316 * movemail.c [POP]: Get user name via getpwuid.
6317
63181992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6319
2f2c687b 6320 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6321
63221992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6323
10d1d0af 6324 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6325 strings - end the lines with `\n\'.
6326
63271992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6328
6329 * timer.c (getevent): Removed declaration of memcpy; since
6330 different systems have different return types, and we're not even
6331 using the return type anyway, it wasn't doing us any good.
6332
63331992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6334
6335 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6336 type of this function.
6337
63381992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6339
6340 * ChangeLog: Since the old etc contents have been split into etc
6341 and lib-src, the old etc's ChangeLog has been duplicated in the
6342 new etc and lib-src. That means that each contains complete and
6343 coherent information, although each contains extraneous
1c478461 6344 information.
362bc2da
DL
6345
63461992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6347
290afd83 6348 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6349 to be consistent with other GNU programs, like makeinfo.
6350
290afd83 6351 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6352 will edit this to produce Makefile.
6353
63541992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6355
6356 * etags.c (print_help, print_version): New functions.
6357 (main): Options added to support them.
6358
6359 * etags.c (longopts): New array of long names for the options.
6360 (main): Recognize them.
6361
63621992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6363
6364 * etags.c (C_entries): Removed comment saying that \" in a string
6365 isn't recognized as magic, because it is correctly handled.
6366
6367 * getopt.c, getopt.h: New files, from GNU C library.
6368 * etags.c: Rewritten to use getopt.
6369 #include "getopt.h".
6370 (file_num): Variable deleted; its role is now played by getopt's
6371 optind.
6372 (main): Argument processing loop rewritten to call getopt to get
6373 next option. Options which take parameters (-o and -i) rewritten
6374 to get parameter from optarg instead of argv[1]. Filename
6375 preprocessing loop and update command changed similarly.
6376 * Makefile (etags, ctags): Depend on and link with getopt.h,
6377 getopt.o, and getopt1.o.
6378 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6379
6380 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6381 is non-zero.
6382
6383 (main): In the argument processing loop, the 'goto next_arg'
6384 statements are breaking out of the switch statement in exactly the
6385 same way that a simple 'break' statement would; replace the gotos
6386 with breaks, and remove the label.
6387
63881992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6389
6390 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6391 (consider_token): Move next_token_is_func to global.
6392
63931992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6394
6395 * Makefile: Conform with GNU coding standards:
6396 (mostlyclean): New target, synonymous with clean.
6397 (TAGS, check): New targets.
6398 (INSTALL, INSTALLFLAGS): New variables.
6399
64001992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6401
ecc54057 6402 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6403 `config.emacs' to `configure'.
6404
6405 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6406 * etc/MACHINES: Same.
6407
64081992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6409
6410 * movemail.c (main): Allow tempname to be as long as necessary,
6411 instead of limiting it to 39 characters.
6412
6413 * movemail.c (main): Move declaration of buf from top of function
6414 to local block surrounding the copy loop. This makes it less
6415 likely to be confused with the buf used by the code which checks the
6416 permissions on outname's directory.
6417
64181992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6419
6420 * SERVICE: Remove my entry.
6421
64221992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6423
6424 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6425 hardcoded -g.
6426
6427 * movemail.c (xmalloc): Return char *, not int.
6428 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6429 that is off by default -- normally don't unlink the mail spool
6430 file, just empty it. Pass creat mode 0600, not 0666.
6431
dff28924 64321992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6433
6434 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6435 (all): Instead of here.
6436 (install): Don't use the -s option, since people need symbols to
6437 debug code.
6438
dff28924 64391992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6440
6441 * etags-vmslib.c (fn_exp): Add type cast.
6442
64431992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6444
6445 * movemail.c: Changes in comments.
6446
dff28924 64471992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6448
6449 * Makefile: Make the distclean target erase the DOC files from
6450 ../share-lib and the executables from ../arch-lib.
6451
dff28924 64521992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6453
6454 * emacsclient.c: #include <sys/stat.h>
6455 (main): Do declare statbfr.
6456
dff28924 64571991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6458
6459 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6460 for the socket, depending on SERVER_HOME_DIR.
6461 If using /tmp, put host name in the socket name.
6462
6463 * movemail.c (pfatal_and_delete): New function.
6464 (main, popmail): Use it.
6465 (popmail): Close output before deleting messages.
6466 Check for error on close and on fsync.
6467 Use `fatal' where appropriate.
6468 (main): Remove (void).
6469
6470 * aixcc.lex: New file. Not officially part of Emacs.
6471 * Makefile: Rules for that.
6472
dff28924 64731991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6474
6475 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6476
6477 * etags.c (main): Properly cast call to alloca that initializes
6478 included_files.
6479
64801991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6481
6482 * etags.c (files_are_tag_tables): Remove global var.
6483 (process_file): Don't test it. Also remove hack checking for a
6484 file named "TAGS".
6485 (main): -i now takes an arg which is the name of a file to include.
6486 Collect these names and emit include tags for them after processing
6487 all the argument files.
6488
dff28924 64891991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6490
6491 * wakeup.c: Terminate if parent goes away.
6492
dff28924 64931991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6494
6495 * etags.c (C_entries): Process token before handling end of line.
6496 When inner loops reach end of line, just back up.
6497 Let the real end of line processing happen in just one place.
a64387ee 6498 (consider_token): Likewise.
362bc2da 6499
dff28924 65001991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6501
6502 * etags.c (TEX_mode): Skip comments while scanning the text to see
6503 which escape character this file uses.
6504
dff28924 65051991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6506
6507 * emacsserver.c [USG]: Terminate if msgrcv fails.
6508
dff28924 65091991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6510
6511 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6512
dff28924 65131991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6514
6515 * make-docfile: Find the arguments to a C function correctly,
6516 by not ignoring the character that read_c_string returns. Don't
6517 even try to find argument names for functions that take MANY
6518 or UNEVALLED arguments, since they're a figment of the docstring's
6519 imagination.
6520
dff28924 65211991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6522
6523 * make-docfile: Read the .elc files generated by the new byte
6524 compiler.
6525
dff28924 65261990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6527
6528 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6529
dff28924 65301990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6531
6532 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6533
dff28924 65341990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6535
6536 * Makefile (install*): No need to install wakeup.
6537
dff28924 65381990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6539
6540 * Makefile (install*): Install emacsclient like etags.
6541
dff28924 65421990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6543
6544 * movemail.c (error): Handle 3 args.
6545 (main): Don't check input access if using pop.
6546
dff28924 65471990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6548
6549 * etags.c (find_entries): Check for numbers after Scheme suffix.
6550
dff28924 65511990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6552
6553 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6554
dff28924 65551990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6556
6557 * Makefile (nemacstool, xvetool): New targets.
6558
dff28924 65591990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6560
6561 * emacsclient.c: Include errno.h and define related variables.
6562
dff28924 65631990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6564
6565 * emacsclient.c: Change usage message.
6566
dff28924 65671990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6568
ecc54057 6569 * emacs.1: Add break before -nw option.
362bc2da 6570
dff28924 65711990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6572
6573 * qsort.c: Replace with GNU version.
6574
dff28924 65751990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6576
6577 * wakeup.c: New program replacing loadst.c.
6578
dff28924 65791990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6580
6581 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6582
dff28924 65831990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6584
6585 * etags.c: Rename `flag' variables for what they do instead of
6586 which option character sets them.
6587
dff28924 65881990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6589
6590 * loadst.c (main): Conditional to get load average on Apollo.
6591
dff28924 65921990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6593
6594 * emacsserver.c: Set the permission on the socket to 0600.
6595
dff28924 65961990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6597
6598 * emacsclient.c [BSD]: Print clean message for failing getwd.
6599
dff28924 66001990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6601
6602 * getdate.y: Use the getdate.y from GNU tar for timer.
6603
dff28924 66041990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6605
6606 * emacsclient.c (main): Don't put brackets around "filename" in
6607 usage message. It isn't optional.
6608
dff28924 66091990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6610
a64387ee 6611 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6612
dff28924 66131990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6614
6615 * emacsserver.c: Renamed from server.c.
6616 * Makefile: Reference emacsserver rather than server.
6617 * MACHINES: Doc fix for new emacsserver name.
6618
dff28924 66191990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6620
6621 * emacsclient.c: Print program name in error messages.
6622
dff28924 66231990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6624
6625 * timer.c, getdate.y (new files) and Makefile:
6626 Sub-process support for run-at-time in timer.el.
1c478461 6627 Doesn't yet work correctly for USG.
362bc2da 6628
dff28924 66291990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6630
6631 * MACHINES: Add HP 300 running BSD.
6632
dff28924 66331990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6634
6635 * yow.c: Dynamically allocate buffer; skip header before random
6636 choice to avoid bias toward first item.
6637
dff28924 66381989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6639
6640 * etags.c (readline): Separate out init of `pend'.
6641
dff28924 66421989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6643
6644 * etags.c: Undo changes relating to isgoodhdr.
6645
dff28924 66461989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6647
6648 * etags.c (isgoodhdr): New macro.
6649 (_gdh, notgdh): New variable used by that.
6650 (init): Initialize _gdh.
6651 (find_entries): Set header_file.
6652 (consider_token): Use isgoodhdr if in header file.
6653
6654 * etags.c (total_size_of_entries):
6655 Was miscalculating by 1 in rewritten case.
6656
6657 * etags.c (PAS_funcs): One arg to pfnote was missing.
6658
dff28924 66591989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6660
6661 * MACHINES: Change for the ULTRIX entry.
6662
dff28924 66631989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6664
6665 * etags.c (process_file): If file is not regular, return.
6666
dff28924 66671989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6668
6669 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6670
dff28924 66711989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6672
6673 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6674 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6675
dff28924 66761989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6677
6678 * etags.c (consider_token): Allow any number of typespec keywords
6679 after `typedef', before new type name.
6680 (enum sym_type): Add st_C_typespec.
6681 (C_create_stab): Put typespec kwds in table.
6682
dff28924 66831989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6684
6685 * etags.c (main): Don't depend on name invoked by.
6686 If CTAGS is not defined, assume it is ETAGS.
6687
dff28924 66881989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6689
6690 * etags.c (L_funcs): Allow package name in define construct,
6691 as in (foo::defmumble name-defined ...).
6692
dff28924 66931989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6694
6695 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6696
6697 * Makefile (yow): Depends on ../src/paths.h.
6698
dff28924 66991989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6700
6701 * etags.c: Fix compilation by moving Pascal after Fortran.
6702
dff28924 67031989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6704
6705 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6706
dff28924 67071989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6708
6709 * hexl.c: New file, supports hexl-mode.
6710
dff28924 67111989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6712
6713 * movemail.c: New compilation flag MAIL_USE_MMDF.
6714
dff28924 67151989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6716
6717 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6718 * server.c: Likewise.
6719
6720 * make-docfile.c (scan_c_file): Output argument names at end of string.
6721 (write_c_args): New subroutine.
6722
dff28924 67231989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6724
6725 * movemail.c: Report failure of flock.
6726
dff28924 67271989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6728
6729 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6730
dff28924 67311989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6732
2f2c687b 6733 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6734
dff28924 67351989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6736
6737 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6738
30a7ee9f 6739 * emacstool.1: Update to document environment variables.
362bc2da 6740
dff28924 67411989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6742
6743 * etags.c (PAS_funcs): New function by Mosur Mohan.
6744
6745 * movemail.c: On sysv, include unistd.h.
6746
dff28924 67471989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6748
6749 * b2m.c: New file.
6750
dff28924 67511989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6752
6088b51f 6753 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 6754
dff28924 67551989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6756
6757 * Makefile (clean): New target.
6758
dff28924 67591989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6760
6761 * fakemail.c (put_line): Break header lines at 79 cols.
6762
dff28924 67631989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6764
6765 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6766 multiple tags per line.
6767
dff28924 67681989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6769
6770 * movemail.c: Check access before doing real work.
6771 Check that outfile is in a writable directory.
6772 On fatal error, delete the lock file.
6773
dff28924 67741988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6775
ecc54057 6776 * env.c: Add decl for my-index
6088b51f 6777 * etags.c (file-entries): .oak => scheme.
362bc2da 6778
dff28924 67791988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6780
6781 * movemail.c: Use `access' to check input and output files.
6782
dff28924 67831988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6784
6785 * emacsclient.c (main): Ignore all of CWD before first slash.
6786
dff28924 67871988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6788
6789 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6790
dff28924 67911988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6792
6793 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6794 * server.c: chmod the socket to 0700.
6795
dff28924 67961988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6797
6798 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6799 (add_field): Delete comments and turn `<', `>' to spaces
6800 in header lines.
6801 (USE_FAKEMAIL): New customization macro says to make fakemail
6802 not be a no-op even on a BSD system.
6803
dff28924 68041988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6805
6806 * etags.c (consider_token): Skip comments just like whitespace.
6807 Notice `struct', etc. and set strtag for those tokens.
6808 Return 1 for the token following `struct' if an open-brace follows it.
6809 (C_entries): Special handling of token following `struct'
6810 needed because we have probably advanced to the following line
6811 to find the `{'.
6812 (main): New option `T' sets tflag and strflag.
6813 Set both of them by default if eflags.
6814
dff28924 68151988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6816
6817 * movemail.c: Do fsync before closing output.
6818
dff28924 68191988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6820
ecc54057
JB
6821 * movemail.c: Better error message when can't create tempname.
6822 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6823
dff28924 68241988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6825
6826 * etags.c: Support assembler code for .s and .a files.
6827 (getit): Allow underscore in a tag.
6828
dff28924 68291988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6830
6831 * movemail.c: Close output and check errors before deleting input.
6832
dff28924 68331988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6834
6835 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6836 whether to prefix it. Handle line number args.
6837
dff28924 68381988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6839
2f2c687b 6840 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6841
dff28924 68421988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6843
6844 * etags.c: New option -i. -f renamed -o.
6845 `-' as input file means read input file names from stdin.
6846 -i spec'd or input file named TAGS means the input file is another
6847 tag table; output an "include" line for it.
6848
dff28924 68491988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6850
6851 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6852 New targets install, install.sysv, install.xenix.
6853 This makefile is now responsible for installing executables
6854 and documentation from this directory into system directories.
6855
dff28924 68561988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6857
6858 * server.c, emacsclient.c (main): Compute socket name from euid.
6859
dff28924 68601988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6861
6862 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6863
dff28924 68641988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6865
6866 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6867 * emacsclient.c: Likewise.
6868 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6869
dff28924 68701988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6871
6872 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6873 (istoken): New string-comparison macro.
362bc2da
DL
6874 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6875
dff28924 68761988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6877
6878 * etags.c: Changes for VMS.
6879 Always define ETAGS on VMS.
6880 Define macros GOOD and BAD for success and failure exit codes.
6881 (begtk, intk): Allow `$' in identifiers
6882 (main): Don't support -B, -F or -u on VMS.
6883 Alternate loop for scanning filename arguments.
6884 (system): Delete definition of this function.
6885
6886 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6887
dff28924 68881988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6889
6890 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6891 around include of param.h. (Like fns.c.)
6892
dff28924 68931988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6894
6895 * loadst.c (load_average): Move load-average code to this new fn.
6896 Add conditionals to compute load ave on UMAX.
6897
dff28924 68981988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6899
6900 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6901 with opposite sense.
6902
dff28924 69031988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6904
6905 * emacsclient.c: Delete references to unused variable `out'. This
6906 caused a bus error when used under hp-ux.
6907
dff28924 69081988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6909
6910 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6911
dff28924 69121988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6913
6914 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6915
dff28924 69161988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6917
6918 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6919
dff28924 69201988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6921
6922 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6923 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6924
dff28924 69251988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6926
6927 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6928 invalid escape sequences such as `\{'.
6929
6930 * loadst.c: Add `sequent' conditional for file dk.h.
6931
dff28924 69321988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6933
2f2c687b 6934 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6935
2f2c687b 6936 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6937
6938;; Local Variables:
880820fe 6939;; coding: utf-8
33462dfa 6940;; add-log-time-zone-rule: t
6922b018 6941;; End:
2a34a036 6942
9766d41b 6943 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 6944 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
f5d0ac07 6945 2007, 2008, 2009 Free Software Foundation, Inc.
5b87ad55
GM
6946
6947 This file is part of GNU Emacs.
6948
294981c7 6949 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 6950 it under the terms of the GNU General Public License as published by
294981c7
GM
6951 the Free Software Foundation, either version 3 of the License, or
6952 (at your option) any later version.
5b87ad55
GM
6953
6954 GNU Emacs is distributed in the hope that it will be useful,
6955 but WITHOUT ANY WARRANTY; without even the implied warranty of
6956 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6957 GNU General Public License for more details.
6958
6959 You should have received a copy of the GNU General Public License
294981c7 6960 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
6961
6962;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc