(compile-first): New target.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
3d864325
GM
12008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
2
3 * etags.c (add_regex): Pass correct length to re_compile_pattern.
4
48c2dc68
CY
52008-11-02 Chong Yidong <cyd@stupidchicken.com>
6
7 * emacsclient.c (window_system): Delete redundant variable.
8 (decode_options): Don't use it.
9 (find_tty): New function.
10 (main): Use find_tty, and don't use window_system.
11
d41784ee
EZ
122008-11-01 Eli Zaretskii <eliz@gnu.org>
13
14 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
15 `ttyname'.
16 (w32_getenv): Treat $TERM specially: if not found in the
17 environment and in the Registry, return "w32console".
18 (ttyname) [WINDOWSNT]: New function.
19
322ca650
AS
202008-10-31 Andreas Schwab <schwab@suse.de>
21
22 * emacsclient.c (main): Don't force sending tty when in eval mode.
23
8a8a7cd3
CY
242008-10-30 Chong Yidong <cyd@stupidchicken.com>
25
26 * emacsclient.c (main): If using the current frame, send tty
27 information to Emacs in case daemon mode needs to occupy this tty.
28
f8baa639
JB
292008-10-29 Juanma Barranquero <lekktu@gmail.com>
30
bc558f3e
JB
31 * emacsclient.c (EXTRA_SPACE): New macro.
32 (get_server_config, set_local_socket): Use it.
33
f8baa639
JB
34 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
35 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
36
f77b11a0
JB
372008-10-29 Ulrich Mueller <ulm@gentoo.org>
38
39 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
40 instead of hardcoded /tmp.
41
dc1cd5f7
DN
422008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
43
44 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
45 (decode_options): Use getopt_long_only.
46
7a09249b
EZ
472008-09-30 Eli Zaretskii <eliz@gnu.org>
48
49 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
50 codepage.elc.
51
997ec957
CY
522008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
53
54 * emacsclient.c (main): Use stdout rather than stdin to obtain the
55 terminal (bug#427).
56
0d80bf29
FP
572008-08-25 Francesco Potortì <pot@gnu.org>
58
59 * etags.c (main): Do not use static space for the tagfile string.
60
34a23e94
FP
612008-08-17 Francesco Potortì <pot@gnu.org>
62
63 * etags.c (main): Use canonicalize_filename on tags file name.
64 (relative_filename): Revert 3.85: do not collapse slashes here.
65 (absolute_dirname): Remove useless call to canonicalize_filename.
66 (canonicalize_filename): Collapse multiple slashes here.
67
48fad8e8
DN
682008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
69
10d1d0af
JB
70 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
71 Do not special case for NS_IMPL_COCOA.
48fad8e8 72
f4494e84
AR
732008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
74
75 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
76 (.m.o): Dispense with GNUstep-specific flags.
77
39b8bb9b
CY
782008-08-05 Ulrich Mueller <ulm@gentoo.org>
79
80 * pop.c (socket_connection): Add conditionals for
81 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
82 compilation with MIT Kerberos and Heimdal, respectively.
83
7c2fb837
DN
842008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
85
86 * etags.c:
87 * emacsclient.c: Remove VMS support.
88
9e2a2647
DN
892008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
90
91 Remove support for Mac Carbon.
92 * makefile.w32-in:
93 * emacsclient.c: Remove code for Carbon.
94
7f619bab
DN
952008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
96
97 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
98
32cc3925
AS
992008-07-17 Andreas Schwab <schwab@suse.de>
100
101 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
102 (LIB_STANDARD_LIBSRC): Don't define.
103 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
104
ba60bd44 1052008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
106
107 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
108 NS_IMPL_COCOA.
109
50863f58
DN
1102008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
111
ba60bd44
JB
112 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
113 Remove, unused.
50863f58 114
ba60bd44 1152008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
116
117 * .cvsignore: Add mac-fix-env.
118 * mac-fix-env.m: New file, automatically update
119 ~/.MacOSX/environment.plist on OS X systems to expose environment
120 variables inside Emacs started from icon.
121 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
122 programs to build.
123 * make-docfile.c: Add .m to list of file extensions.
124
bba104c1
DN
1252008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
126
127 * movemail.c (main): Use int instead of WAITTYPE.
128
da007124
JB
1292008-07-05 Juanma Barranquero <lekktu@gmail.com>
130
131 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
132 Remove vmsproc.el and vms-patch.el.
133
c9fc02c7
JB
1342008-06-26 Juanma Barranquero <lekktu@gmail.com>
135
136 * makefile.w32-in (obj): Remove w32bdf.o.
137
f2a77c3a
DN
1382008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
139
140 * fakemail.c: Remove references to obsolete variables.
141
c2cd06e6
JM
1422008-06-02 Jim Meyering <meyering@redhat.com>
143
e914c409 144 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 145
e914c409 146 Remove useless if-before-free tests.
70fdbb46
JM
147 * ebrowse.c (xfree): Likewise.
148 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 149 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 150 * pop.c (pop_quit): Likewise.
c2cd06e6 151
01b996ad
JB
1522008-05-30 Juanma Barranquero <lekktu@gmail.com>
153
154 * makefile.w32-in (lisp2): Add minibuffer.elc.
155
2926947a
SM
1562008-05-29 Tom Tromey <tromey@redhat.com>
157
158 * etags.c (relative_filename): Treat "///" like "/" in filenames.
159
10fea9c4
EZ
1602008-05-09 Eli Zaretskii <eliz@gnu.org>
161
162 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
163 (IS_DIRECTORY_SEP): New macro.
164 (convert_time, is_exec, stat): New functions.
165
86914123
EZ
1662008-05-08 Eli Zaretskii <eliz@gnu.org>
167
168 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
169
58bb7d50
EZ
1702008-05-03 Eli Zaretskii <eliz@gnu.org>
171
172 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
173 corresponding change in src/Makefile.in.
174
63b9b605
GM
1752008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
176
177 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
178
4429f88c
JR
1792008-04-10 Jason Rumney <jasonr@gnu.org>
180
181 * makefile.w32-in (CLIENTRES): New variable and target.
182 (TRES): Remove.
183 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
184
14b11401
SM
1852008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
188
95de358c
RF
1892008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
190
191 * vcdiff: Use mktemp (CVE-2008-1694).
192
6948400c
JR
1932008-04-09 Jason Rumney <jasonr@gnu.org>
194
195 * makefile.w32-in (distclean, maintainer-clean): New targets.
196
afd27920
GM
1972008-03-13 Glenn Morris <rgm@gnu.org>
198
199 * makefile.w32-in (VERSION): Set to 23.0.60.
200
3d193d0f
JB
2012008-03-04 Juanma Barranquero <lekktu@gmail.com>
202
203 * .cvsignore: Add oo.
204
1797886f
SM
2052008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
206
207 * etags.c (Perl_functions): Fix call to skip_spaces.
208
9d2818d6
DN
2092008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
210
211 * Makefile.in (NO_SHORTNAMES):
212 * emacsclient.c (NO_SHORTNAMES):
213 * fakemail.c (NO_SHORTNAMES):
214 * make-docfile.c (NO_SHORTNAMES):
215 * movemail.c (NO_SHORTNAMES):
216 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
217
79d48c1a
JR
2182008-02-23 Jason Rumney <jasonr@gnu.org>
219
220 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
221 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 222 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
223 (lisp2): Add new languages.
224 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
225
9c61c734
JB
2262008-02-22 Juanma Barranquero <lekktu@gmail.com>
227
228 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
229 malayalam.el, and tamil.el. Add sinhala.el.
230
50f271cb
JB
2312008-02-20 Juanma Barranquero <lekktu@gmail.com>
232
233 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
234 where NAME is relative to DRIVE'S current directory.
235
d07529f3
JB
2362008-02-15 Juanma Barranquero <lekktu@gmail.com>
237
238 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
239
45c1955d
DN
2402008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
241
242 * fakemail.c: Undo previous change.
243
deeaffe1
DN
2442008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
245
4624371d
DN
246 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
247 (main): Replace MAIL_PROGRAM_NAME with its value.
248
d07529f3 249 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 250
9997dc15
SM
2512008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacsclient.c (decode_options): Pass --display implicitly if -c
254 is specified. Only set tty if -t or -c is specified.
255
0c55bf82
JR
2562008-02-04 Jason Rumney <jasonr@gnu.org>
257
258 * makefile.w32-in (lisp1): Use (), not {}.
259
31cdf671
CY
2602008-02-04 Tom Tromey <tromey@redhat.com>
261
d07529f3
JB
262 * etags.c: Add "GTY" as synonym for __attribute__.
263 Update gperf output.
31cdf671 264
9303f985 2652008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
266
267 * makefile.w32-in (obj): Sync with src/Makefile.in
268 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
269 (WINNT_SUPPORT): Add term/w32-win.elc.
270 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
271
9303f985 2722008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 273
d07529f3 274 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 275
d07529f3 2762008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 277
290afd83 278 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
279 utf-8.elc, and latin-*.el.
280
0ea5797a
SM
2812008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
282
bcc891c2 283 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
284 Allow the -d option under w32 again, for those rare cases where it
285 actually does make sense.
286
5ab73228
JB
2872008-01-25 Juanma Barranquero <lekktu@gmail.com>
288
289 * emacsclient.c (set_tcp_socket): Don't send "\n" after
290 the authentication string; there's no need to haste.
291
702123a8
CY
2922008-01-22 Chong Yidong <cyd@stupidchicken.com>
293
294 * pop.c (pop_stat, pop_last): Fix last fix.
295
76ed5e01
DN
2962008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
297
298 * movemail.c: Remove references to XENIX.
299
e39a993c
DN
3002008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
301
302 * movemail.c:
303 * make-docfile.c: Remove reference to symbols defined by systems
304 not supported anymore: MAC_OS8, XENIX and STRIDE.
305
0ebec7d3
EZ
3062008-01-12 Eli Zaretskii <eliz@gnu.org>
307
308 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
309 of DISPLAY in the environment. Don't support -d.
310 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
311 (longopts) [WINDOWSNT]: Remove --display.
312
6eae3ad4
CY
3132008-01-10 Chong Yidong <cyd@stupidchicken.com>
314
315 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
316 conversion. Mistakes spotted by Nico Golde.
317
78da39c6
GM
3182008-01-09 Glenn Morris <rgm@gnu.org>
319
320 * emacsclient.c: Add missing final newlines to message calls.
321
34a14ec9 3222008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
323
324 * emacsclient.c (set_socket): Add final newline to socket error message.
325
a408ea17
GM
3262008-01-04 Glenn Morris <rgm@gnu.org>
327
07655e62
JB
328 * ebrowse.c (version) <emacs_copyright>: New variable.
329 Just use current year for copyright.
a408ea17
GM
330
331 * etags.c (print_version):
332 * rcs2log (Copyright): Update to 2008.
333
0dc7a8bc
JR
3342007-11-28 Jason Rumney <jasonr@gnu.org>
335
336 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
337
880820fe 3382007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
339
340 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
341
880820fe 3422007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
343
344 * pop.c (socket_connection): Move realhost out of #ifdefs.
345 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
346
880820fe 3472007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
348
349 * pop.c (socket_connection): Use getaddrinfo if available.
350
880820fe 3512007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 352
65841dd8 353 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 354 as the defaults in ctags are different from etags.
63f018cd 355
880820fe 3562007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
357
358 * etags.c: Make prototypes for extern definitions, and add all
359 that are needed to quench warnings on 64-bit.
360 (main): Use the same defaults for ctags as for etags: find
361 typedefs, structure tags, macro constants, enum constants, struct
362 members and global variables.
363 (make_C_tag) [DEBUG]: Add debugging printout.
364 (C_entries): In case '}' decrement bracelev before testing it.
365
7455effc
FP
3662007-11-15 Masatake YAMATO <jet@gyve.org>
367
368 * etags.c (C_entries): In case '}', set fvdef to fvnone
369 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
370
04a697fe
DN
3712007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
372
373 * makefile.w32-in (obj): Remove sunfns.o.
374
a2666217
JB
3752007-10-28 Juanma Barranquero <lekktu@gmail.com>
376
377 * makefile.w32-in (obj): Remove abbrev.o.
378
7ce8671d
JB
3792007-10-26 Juanma Barranquero <lekktu@gmail.com>
380
381 * emacsclient.c: Add a wrapper for getenv so it also checks the
382 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
383 Code partially based on w32_get_resource and init_environment (w32.c).
384 (egetenv): New wrapper for getenv.
385 (get_current_dir_name, decode_options, get_server_config)
386 (set_local_socket, set_socket, main): Use egetenv, not getenv.
387 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
388
d22b00e5
JR
3892007-10-25 Jason Rumney <jasonr@gnu.org>
390
391 * emacsclient.c (sock_err_message): New function.
392 (set_tcp_socket): Use it.
393
c4b858e3
JB
3942007-10-09 Juanma Barranquero <lekktu@gmail.com>
395
396 * emacsclient.c (print_help_and_exit): Fix space to improve
397 alignment in output messages.
398
dbf60b07
JR
3992007-09-27 Jason Rumney <jasonr@gnu.org>
400
401 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
402
403 * emacsclient.c (w32_window_app): Init common controls when windowed.
404
165e85b2
GM
4052007-09-21 Glenn Morris <rgm@gnu.org>
406
407 * emacstool.c: Remove file.
408 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
409 Delete targets built from emacstool.
410
c1b8e896
SM
4112007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * emacsclient.c (decode_options): -t implies -c.
414
cb06b8dc
SM
4152007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
418 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
419 (main_argc): Remove.
420 (strprefix): Use strncmp.
421
c801ad51
JR
4222007-09-20 Jason Rumney <jasonr@gnu.org>
423
424 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
425
31fa6595
SM
4262007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * emacsclient.c (current_frame): Change the default.
429 (longopts): Replace --current-frame by --create-frame.
430 (decode_options): Reverse the meaning of -c.
431 (print_help_and_exit): Update help text accordingly.
432 (main): Remove the -version and -good-version messages.
433
58573230
GM
4342007-09-12 Glenn Morris <rgm@gnu.org>
435
436 * Makefile.in (SOURCES, unlock, relock): Delete.
437
bfd9ce71
GM
4382007-08-29 Glenn Morris <rgm@gnu.org>
439
440 * makefile.w32-in (VERSION): Increase to 23.0.50.
441
8d9cc0b7
MB
4422007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
443
444 * emacsclient.c (w32_execvp): Move definition before use.
445 (decode_options): Don't use a tty on mac carbon or windows.
446
4472007-08-29 Jason Rumney <jasonr@gnu.org>
448
31fa6595 449 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
450 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
451 (main): Expand removed macros inline.
452 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
453 option.
454 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
455
880820fe 4562007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
457
458 * emacsclient.c (signal.h): New include.
459 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
460 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
461 Copy definitions here from src/lisp.h.
462 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
463 (longopts): Add tty, current-frame.
464 (xmalloc, xstrdup): New functions.
465 (get_current_dir_name): New function, copied from src/sysdep.c.
466 (decode_options): Set display from environment. Add tty and
467 current_frame options. Make --no-wait imply --current-frame,
468 except when it is the only option given. Make sure no frame is
469 opened when --current-frame is set.
470 (print_help_and_exit): Document tty and current-frame options.
471 (fail): Change arguments to void.
472 (main): When sockets are not defined, set main_argc, main_argv,
473 and call fail() with no arguments.
474 (emacs_socket): New variable (moved out from main `s').
475 (quote_file_name): Rename to quote_argument.
476 (quote_argument): New name for old quote_file_name.
477 (unquote_argument, strprefix, pass_signal_to_emacs)
478 (handle_sigcont, handle_sigtstp, init_signals): New functions.
479 (set_local_socket): Initialize saved_errno to 0. If socket-name
480 is too long, call `fail' rather than `exit'.
481 (main): Doc update. Set main_argc, main_argv. New var `str'.
482 Don't need a filename or argument if tty or window_system set.
483 Call fail with no arguments. Use get_current_dir_name to send
484 over the current directory. Send version number to Emacs for
485 verification. If tty is set, check TERM, and pass name and type
486 to Emacs. Pass window_system to Emacs. Move sending of eval to
487 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
488 fflush. Check for a client/server version match.
489 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
490 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
491 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
492 environment and pwd to Emacs. Send current-frame to Emacs.
493
ca4ea90f
EZ
4942007-08-25 Eli Zaretskii <eliz@gnu.org>
495
496 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
497 Prepend "-" to the command, in case srcdir=. and file is copied
498 into itself.
499
cacc7b51
GM
5002007-07-25 Glenn Morris <rgm@gnu.org>
501
502 * Relicense all FSF files to GPLv3 or later.
503
504 * COPYING: Switch to GPLv3.
505
880820fe 5062007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
507
508 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
509 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
510 (print_help): Use it in if() rather than #if.
511 (print_help): Conditionally print help about --no-line-directive.
180f5b99 512
9724908a
EZ
5132007-07-16 Eli Zaretskii <eliz@gnu.org>
514
515 * makefile.w32-in (clean): Don't delete *~.
516
5cf9ca93
GM
5172007-06-07 Glenn Morris <rgm@gnu.org>
518
519 * etags.c (print_version): Add `emacs_copyright' string, for
520 easier automatic updating.
521
880820fe 5222007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
523
524 * etags.c: Extern definitions of some more pointer functions for
525 standalone compilation, especially important for 64bit platforms.
526 (main, print_help): --members is now the default for etags.
527 (C_entries): Parse start of C comment as a space == end of token.
528 This is not necessary for C++ comment, already parsed as newline.
529
07016031
GM
5302007-04-26 Glenn Morris <rgm@gnu.org>
531
532 * makefile.w32-in (VERSION): Increase to 22.1.50.
533
7dfc4cda
CY
5342007-06-02 Chong Yidong <cyd@stupidchicken.com>
535
536 * Version 22.1 released.
537
880820fe 5382007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 539
d620ddb3 540 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 541
0971f887
GM
5422007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
543
544 * Makefile.in (EMACS, EMACSOPT): New variables.
545 (blessmail): Use `--no-site-file' when compiling.
546
880820fe 5472007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
548
549 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
550 (main): Now --members is the default for etags, not for ctags yet.
551
d881944f 5522007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 553
47dad44f 554 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
555 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
556 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
557 import, package, extends, implements and interface to be treated
558 specially for all kinds of C-style files, not just Java files.
559
880820fe 5602007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 561
47dad44f 562 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
563 (no_duplicates): Static variables for the above option.
564 (print_help): Do not print help for --no-warn, now undocumented.
565 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 566 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 567
880820fe 5682006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
569
570 * etags.c (readline): When creating a relative file name from a
571 #line directive, leave the file name alone. The previous
a7c29764 572 behavior was to make it relative to the tags file directory,
18f9bf25
FP
573 under the hypothesis that the #line directive file name was
574 relative to the directory of the tagged file. That hypothesis is
575 wrong with Cpp and Lex.
17d5f8a6 576 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 577
5e059fc1
EZ
5782006-12-22 Eli Zaretskii <eliz@gnu.org>
579
580 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
581 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 582 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
583 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
584 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
585 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
586 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
587 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 588 (clean): Delete stamp_BLD.
5e059fc1 589
880820fe 5902006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
591
592 * etags.c (C_entries): DEFUN names were longer by one: corrected.
593
0e0dced5
JB
5942006-12-18 Juanma Barranquero <lekktu@gmail.com>
595
596 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
597 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
598 (main) [WINDOWSNT]: Remove code to release the focus; call
599 w32_give_focus instead.
600
4472aef4
JB
6012006-12-15 Juanma Barranquero <lekktu@gmail.com>
602
603 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
604 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
605 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
606 Suggestions and comment by Eli Zaretskii.
607
12f7728e 6082006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
609
610 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
611 Use $(USER32) for compatibility with Visual Studio .NET 2003.
612
310afa17
JB
6132006-11-30 Juanma Barranquero <lekktu@gmail.com>
614
615 * emacsclient.c (emacs_pid): New variable.
616 (message): Remove leftover code.
617 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
618 focus yet; emacsclient can still display an informational message
619 before sending requests to Emacs.
620 (main): Allow Emacs to grab the focus. Simplify message() call.
621
6222006-11-30 Michael Mauger <mmaug@yahoo.com>
623
624 * emacsclient.c (message): Make sure the message is properly
625 written even if it contains printf escapes, and flush the result.
626 (set_tcp_socket): Make the message for non-local connections
627 informational rather than an error.
628
8c57275b 6292006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
630
631 * etags.c (readline): Check for double quote after #line.
632
880820fe 6332006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
634
635 * etags.c (readline): sscanf could in principle return 2.
636
880820fe 6372006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
638
639 * etags.c (readline): lno is unsigned.
640 (TeX_commands): Use p++ (rather than *p++) to increment p.
641 (Lua_functions): Explicitly discard LOOKING_AT's return value.
642
4d91c8f9
JB
6432006-11-27 Juanma Barranquero <lekktu@gmail.com>
644
645 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
646 ($(TRES)): New rule (copied from nt/makefile.w32-in).
647 ($(BLD)/emacsclientw.exe): Add dependency.
648
340d34a5
EZ
6492006-11-27 Eli Zaretskii <eliz@gnu.org>
650
d620ddb3 651 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 652
7dce1990
JB
6532006-11-25 Juanma Barranquero <lekktu@gmail.com>
654
655 * makefile.w32-in (VERSION): New macro.
656 (ECLIENT_CFLAGS): Add -DVERSION.
657
410797a5 6582006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
659
660 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
661
410797a5 6622006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 663
4472aef4
JB
664 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
665 file names with forward slashes.
cb0297bb 666
30aa95ce
JB
6672006-11-23 Juanma Barranquero <lekktu@gmail.com>
668
669 * emacsclient.c (print_help_and_exit): Tweak message contents and
670 tabs/spaces to improve alignment in message boxes.
671
42073bfb
JB
6722006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
673
674 * emacsclient.c: Include <stdarg.h>.
675 [WINDOWSNT]: Include <windows.h>.
676 (w32_check_console_app): New function.
677 (message): New function.
678 (decode_options, print_help_and_exit, fail, main)
679 (initialize_sockets, get_server_config, set_tcp_socket)
680 (set_local_socket, set_socket): Use message().
681
32dd9283 6822006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 683
32dd9283
JR
684 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
685 HAVE_INET_SOCKETS.
686
1bbea9fc
JB
6872006-11-13 Juanma Barranquero <lekktu@gmail.com>
688
689 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
690 ($(BLD)/emacsclientw.exe): New target.
691 (install): Install emacsclientw.exe.
692 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
693 (ECLIENT_CFLAGS): Remove redundant flags.
694
695 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
696
a48db427
JR
6972006-11-13 Jason Rumney <jasonr@gnu.org>
698
699 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
700
21f89bb7 7012006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
702
703 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
704
d5abc12c
JB
7052006-11-08 Juanma Barranquero <lekktu@gmail.com>
706
ed4a3730
JB
707 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
708 FARPROC to avoid a compiler warning.
d5abc12c 709
18b8c421
JB
7102006-11-07 Juanma Barranquero <lekktu@gmail.com>
711
88b46d84
JB
712 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
713 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
714
18b8c421
JB
715 * emacsclient.c (get_server_config): Extract also the Emacs pid
716 from the server file. On Windows, try to force the Emacs frame to
717 the foreground.
718
b03d27bd
JB
7192006-11-06 Juanma Barranquero <lekktu@gmail.com>
720
21f89bb7 721 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
722 option --socket-name.
723 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
724 command line options.
21f89bb7 725 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
726 (fail): Don't check for missing arguments, it is now done in set_socket.
727 (file_name_absolute_p): New function (loosely based on the one in
728 fileio.c).
729 (initialize_sockets): Don't check for duplicate loading of Winsock.
730 (get_server_config): Only try relative paths in the default
731 directory locations.
732 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
733 a remote server.
734 (set_socket): Call INITIALIZE(). Search explicit command-line
735 arguments, then environment variable EMACS_SERVER_FILE, then implicit
736 socket paths, before trying the alternate editor.
737 (main): Use file_name_absolute_p.
738
b20d6154
EZ
7392006-11-04 Eli Zaretskii <eliz@gnu.org>
740
741 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
742 file if it doesn't already exist.
743
9c92edca
JB
7442006-11-03 Juanma Barranquero <lekktu@gmail.com>
745
746 * emacsclient.c (initialize_sockets): Don't initialize Winsock
747 more than once.
748
b6ce9c46
JB
7492006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
750
751 * Makefile.in (INSTALL_SCRIPT): New macro.
752 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
753
4418616b
JB
7542006-11-02 Juanma Barranquero <lekktu@gmail.com>
755
756 * grep-changelog: When called with no arguments (not even a
757 filter), show help instead of blindingly dumping every single
758 ChangeLog available. Doc fix. Update version.
759
1e7823d0
JB
7602006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
761
762 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
763 [!WINDOWSNT]: Include <netinet/in.h> if available.
764 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
765 (IOCTL, IOCTL_BOOL_ARG): Remove.
766 (set_tcp_socket): Don't set the socket in blocking mode.
767 Remove c_arg.
768
ebc20ca0
JB
7692006-11-01 Juanma Barranquero <lekktu@gmail.com>
770
771 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
772 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
773
880820fe 7742006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
775
776 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
777 (close_winsock): Declare as __cdecl.
778
880820fe 7792006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
780
781 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
782 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
783 to set the socket in non-blocking mode.
784
e35fc962
JB
7852006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
786
d4fa60c8 787 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
788 (INVALID_SOCKET): Define.
789 (initialize_sockets): Put #endif at the right place.
790 (set_local_socket): Use progname, not argv[0].
791
ecc54057
JB
7922006-10-31 Juanma Barranquero <lekktu@gmail.com>
793
794 * makefile.w32-in (ALL): Add emacsclient.
795 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
796 (emacsclient, $(BLD)/emacsclient.exe): New targets.
797 (install): Install emacsclient.
798
799 * emacsclient.c: Add support for TCP sockets.
800 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
801 (INITIALIZE): New macros.
802 (IOCTL_BOOL_ARG): New typedef.
803 (server_file): New global variable.
804 (longopts): New option --server-file.
805 (decode_options): Process new option --server-file and environment
806 variable EMACS_SERVER_FILE.
807 (print_help_and_exit): Document new option.
808 (fail): If no connection available and no alternate editor,
809 suggest using options to make them explicit.
810 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
811 (send_buffer, sblen): New variables.
31fa6595 812 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
813 (quote_file_name): Use SEND_STRING.
814 (close_winsock, initialize_sockets): New functions to load and
815 unload Winsock.
816 (get_server_config, set_tcp_socket): New functions to create and
817 set up TCP sockets.
818 (set_local_socket): New function to create and set up Unix
819 socket (code moved from previous implementation).
10d1d0af 820 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
821 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
822 set_local_socket. Use set_socket. Get answers from server.el with
823 recv(), not file stream functions.
824
70846e2a
EZ
8252006-10-09 Eli Zaretskii <eliz@gnu.org>
826
827 * makefile.w32-in (../src/config.h): Fix error message.
828
e2247cd0
EZ
8292006-09-30 Eli Zaretskii <eliz@gnu.org>
830
831 * .cvsignore: Add blessmail.
832
45a2056c
JB
8332006-09-15 Jay Belanger <belanger@truman.edu>
834
835 * COPYING: Replace "Library Public License" by "Lesser Public
836 License" throughout.
837
880820fe 8382006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 839
ecc54057 840 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 841 (readline): Change position on %n and \" in sscanf.
1f4edc37 842
1520a816
JD
8432006-08-07 Masatake YAMATO <jet@gyve.org>
844
ecc54057
JB
845 * etags.c (readline): Expect sscanf returns 2, not 1.
846
867cc23e
JD
8472006-08-07 Masatake YAMATO <jet@gyve.org>
848
9984b9d5 849 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
850 File ended without newline causes infinite loop.
851
fc185ae6
FP
8522002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
853
ecc54057 854 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 855
880820fe 8562006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
857
858 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
859 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
860 (Objc_suffixes): Suggest using --lang=c for full help.
861 (C_entries): Initialise savetoken to 0 to shut up the compiler.
862
116e754b
AS
8632006-07-20 Andreas Schwab <schwab@suse.de>
864
865 * fakemail.c (fatal): Drop second parameter and treat first
866 parameter as a plain string. Callers changed.
867
2381d38d
DN
8682006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
869
870 * ebrowse.c (usage, version): Mark as NO_RETURN.
871
872 * emacsclient.c (print_help_and_exit): Likewise.
873
880820fe 8742006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
875
876 * etags.c (absolute_filename): Free unused space (cosmetic change).
877 (in_word_set): In C, also tag #undef symbols.
878
7cb93181
EZ
8792006-06-09 Eli Zaretskii <eliz@gnu.org>
880
881 * yow.c: Remove file.
882
883 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
884
885 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
886 yow${EXEEXT}: Remove target.
887
0f29c66d
MY
8882006-06-04 Masatake YAMATO <jet@gyve.org>
889
63fbb644 890 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
891 doesn't exist, is not seekable, not is failed in ftall.
892
a941b26b
EZ
8932006-06-03 Eli Zaretskii <eliz@gnu.org>
894
9781fb53
EZ
895 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
896 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
897 ($(BLD)/test-distrib.exe): New targets.
898 (sorted-doc, digest-doc, test-distrib): New targets.
899 (install): Install sorted-doc.exe and digest-doc.exe.
900 ($(BLD)/sorted-doc.$(O)): Update dependencies.
901
1b178b99
EZ
902 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
903 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
904 terminal device.
905
ae85efdb
EZ
906 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
907 [WINDOWSNT] <top level>: Don't redeclare malloc.
908 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
909 terminal device.
1b178b99 910 (main): Initialize bp, to avoid compiler warnings
ae85efdb 911
a941b26b
EZ
912 * makefile.w32-in: Delete traces of leditcfns.c.
913
914 * leditcfns.c: Remove file.
915
880820fe 9162006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 917
31fa6595
SM
918 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
919 Add comments explaining why the "kpop" service is never used.
8a6d5da7 920
642c61f3
EZ
9212006-05-13 Eli Zaretskii <eliz@gnu.org>
922
923 * makefile.w32-in (lisp1): Add fringe.elc.
924
880820fe 9252006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
926
927 * etags.c (Perl_functions): Free space allocated for var package.
928 (Erlang_functions): Possibly free space allocated for var last.
929 (Prolog_functions): Possibly free space allocated for var last.
930
7c47913b
DN
9312006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
932
7fe8b491
DN
933 * sorted-doc.c (main): Initialize docs to NULL.
934
cdeda579
DN
935 * yow.c (yow): Free buf.
936
7c47913b
DN
937 * etags.c: Delete c-indentation-style local variable.
938
2ef88a94
RS
9392006-04-29 Richard Stallman <rms@gnu.org>
940
5e5b35c7
RS
941 * movemail.c (main): Check for negative value from `read'.
942
2ef88a94
RS
943 * fakemail.c (read_header): Give fatal error if input has no header.
944
d65b4235
PE
9452006-04-02 Paul Eggert <eggert@cs.ucla.edu>
946
947 * b2m.c (main): Don't include <limits.h>.
948 (TM_YEAR_BASE): New macro.
949 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
950 that s/ files can override this. Use the more-conservative range
951 1000-9999.
952 (main): Check for asctime returning NULL.
953 * fakemail.c: Likewise.
954
f5565804
PE
9552006-03-27 Paul Eggert <eggert@cs.ucla.edu>
956
957 * b2m.c: Include <limits.h>.
958 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
959 (main): Check for out-of-range time stamps.
960 * fakemail.c: Likewise.
961
90c9c343
AS
9622006-03-18 Andre Spiegel <spiegel@gnu.org>
963
964 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
965 execute $DIFF twice, and once with the wrong options.
966
a6a2b5d4
EZ
9672006-02-23 Claudio Fontana <claudio@gnu.org>
968
9e2bcc86
EZ
969 * Makefile.in (install, uninstall): Add DESTDIR variable to
970 support staged installations.
a6a2b5d4 971
ef3f69f9
EZ
9722005-12-30 Eli Zaretskii <eliz@gnu.org>
973
974 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
975 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
976 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
977 Rearrange the list to be similar to $(shortlisp) in
978 src/Makefile.in.
ef3f69f9
EZ
979 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
980 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
981 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
982 src/Makefile.in.
983
30cfcf7f
RS
9842005-12-22 Richard M. Stallman <rms@gnu.org>
985
986 * Makefile.in (update-game-score.o): Delete spurious final `\'.
987
ecc54057 9882005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
989
990 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
991 which was never opened.
992
283879ef 9932005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
994
995 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
996 header files.)
997
880820fe 9982005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
999
1000 * etags.c: Preliminary Forth support.
1001 (prolog_pr): Cast strlen to int before comparison.
1002 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1003 the second argument is indeed a literal string.
b9509712 1004 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1005
10062005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1007
1008 * etags.c (longopts, print_help, main): The -a (--append) option
1009 can be used in ctags also; for one, the Linux make file uses it.
1010
41ea4df8
CY
10112005-09-20 Chong Yidong <cyd@stupidchicken.com>
1012
1013 * ebrowse.c (add_sym): Compare namespace names instead of
1014 namespace objects. This prevents the parser from incorrectly
1015 treating classes whose superclass is in another namespace.
1016
5c4757d3
RS
10172005-09-15 Richard M. Stallman <rms@gnu.org>
1018
1019 * Makefile.in (update-game-score.o): New target.
10d1d0af 1020 Compile and link this program separately.
5c4757d3
RS
1021 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1022
df1b2142
JR
10232005-09-11 Jason Rumney <jasonr@gnu.org>
1024
ecc54057 1025 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1026 message instead.
31fa6595 1027 (../src/paths.h): Remove.
df1b2142 1028
c638055f
JB
10292005-07-27 Juanma Barranquero <lekktu@gmail.com>
1030
1031 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1032 generated. Ignore also ctags.c and getopt.h.
1033
1034 * makefile.w32-in (clean): Delete getopt.h.
1035 (getopt.h): New rule.
1036
9eff9fe3
PE
10372005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1038
1039 Merge gnulib getopt implementation into Emacs.
1040
1041 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1042 (GETOPT_H): New macro, from gnulib.
1043 (getopt.h): New rule, from gnulib.
1044 (GETOPTOBJS): Now autoconfigured.
1045 (GETOPTDEPS): getopt.h is now autoconfigured.
1046 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1047 (getopt.o): Depend on ${srcdir}/gettext.h.
1048 (movemail.o): Depend on $(GETOPT_H).
1049 * getopt.c, getopt1.c: Sync from gnulib.
1050 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1051 * getopt.h: Removed (now is getopt_.h).
1052
ec641d50
KR
10532005-07-13 Ken Raeburn <raeburn@gnu.org>
1054
0e0dced5
JB
1055 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1056 (sendline): Add the \r\n to the line in a temporary buffer, and write
1057 it all at once.
ec641d50 1058
a0ec7a4a
LK
10592005-07-04 Lute Kamstra <lute@gnu.org>
1060
1061 Update FSF's address in GPL notices.
1062
0e0dddda
EZ
10632005-06-13 Eli Zaretskii <eliz@gnu.org>
1064
1065 * makefile.w32-in ($(DOC)): Fix last change.
1066
5a77c8e2
EZ
10672005-06-12 Eli Zaretskii <eliz@gnu.org>
1068
1069 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1070 temacs.exe, and the preloaded *.elc files. This avoids
1071 unnecessary dumping and DOC rebuilding.
1072
1a8fb426
EZ
10732005-06-04 Eli Zaretskii <eliz@gnu.org>
1074
1075 * ntlib.h (fileno): Don't define if already defined.
1076
7235a58f
TTN
10772005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1078
1079 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1080 (yow): Use EXIT_FAILURE in case of memory error.
1081
5063dbbf
YM
10822005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1083
1084 * make-docfile.c (DIRECTORY_SEP): New macro.
1085 (IS_DIRECTORY_SEP): Use it.
1086
880820fe 10872005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1088
1089 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1090
ba025f6d
YM
10912005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1092
1093 * make-docfile.c: Undo previous change.
1094
a9eedf40
AS
10952005-02-04 Andreas Schwab <schwab@suse.de>
1096
0e0dced5
JB
1097 * movemail.c (fatal): Accept third parameter and pass down to error.
1098 (pfatal_with_name): Pass error string as format parameter instead of
1099 as part of format string.
a9eedf40
AS
1100 (pfatal_and_delete): Likewise.
1101 (main): Adjust call to fatal.
1102 (xmalloc): Likewise.
1103
5a92a9eb
RS
11042005-01-29 Richard M. Stallman <rms@gnu.org>
1105
1106 * movemail.c (popmail): Don't use Errmsg as format string.
1107
e6973a25
ST
11082004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1109
0e0dced5 1110 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1111
1bb3da38
AS
11122004-12-15 Andreas Schwab <schwab@suse.de>
1113
1114 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1115 preprocessing to compile time constant.
1116
d4a38fdd
KS
11172004-11-17 Kim F. Storm <storm@cua.dk>
1118
1119 * etags.c: Undo last change.
1120
f2eb41c8
KS
11212004-11-09 Kim F. Storm <storm@cua.dk>
1122
1123 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1124 silence compiler.
1125
1126 * hexl.c (main): Init local var c to silence compiler.
1127
1128 * etags.c (main, consider_token, C_entries): Add misc switch
1129 default targets to silence compiler.
1130
880820fe 11312004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1132
1133 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1134 resulting DOC file can be used on Unix/Mac also.
1135
880820fe 11362004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1137
1138 * etags.c (main): When relative file names are given as argument,
1139 make them relative to the current working dir, rather than
1140 relative to the output tags file, if the latter is in /dev.
1141
880820fe 11422004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1143
1144 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1145 <stdlib.h> is available.
1146 (enum sym_type): New st_C_attribute value for parsing
1147 gcc's __attribute__. Deleted st_C_typespec value.
1148 (gperf, in_word_set): Use gperf 3, options changed. Added the
1149 __attribute__ keyword, removed all the st_C_typespec keywords,
1150 changed attribute for Java to (C_JAVA & !C_PLPL).
1151 (inattribute): New global bool, part of the C state machine.
1152 (cblev): Identifier renamed to bracelev throughout.
1153 (consider_token, C_entries): Numerous changes for making the
1154 parser more robust and adding support for __attribute__.
1155
11562004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1157
ecc54057 1158 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1159 Support the Lua scripting language <http://www.lua.org>.
1160
880820fe 11612004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1162
d57727c9 1163 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1164 for ease of use.
1165
3751eb00
RS
11662004-07-17 Richard M. Stallman <rms@gnu.org>
1167
1168 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1169
86d373e6
JB
11702004-06-01 Juanma Barranquero <lektu@terra.es>
1171
1172 * makefile.w32-in (obj): Add image.c.
1173
80e26b66
TTN
11742004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1175
0e0dced5 1176 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1177
e6662c8b
JR
11782004-05-08 Jason Rumney <jasonr@gnu.org>
1179
1180 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1181 command-lines.
1182
65396510
TTN
11832004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1184
1185 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1186 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1187 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1188
1189 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1190 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1191 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1192
c2bcfb19
TTN
11932004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1194
1195 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1196
3f0656ff
TTN
11972004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1198
1199 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1200 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1201 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1202
1203 * etags.c: Likewise.
1204
238add5e
JR
12052004-05-03 Jason Rumney <jasonr@gnu.org>
1206
1207 * makefile.nt: Remove.
1208
b09c5608
EZ
12092004-04-26 Eli Zaretskii <eliz@gnu.org>
1210
1211 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1212 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1213 instead of a literal '/'.
1214
d814862a
JB
12152004-04-23 Juanma Barranquero <lektu@terra.es>
1216
1217 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1218
442a2160
PE
12192004-04-17 Paul Eggert <eggert@gnu.org>
1220
1221 * rcs2log (Help): Clarify wording of the usage message.
1222 Problem reported by Alan Mackenzie in
1223 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1224
d5d66b7e
SM
12252004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * make-docfile.c (xmalloc): Fix return type.
1228 (put_filename): New fun.
1229 (scan_file): Use it.
1230
bdfd0369
JB
12312004-03-09 Juanma Barranquero <lektu@terra.es>
1232
1233 * grep-changelog: Changes to support ChangeLog.10+.
1234 (main): Tidy up usage string. Fix "Use of uninitialized value"
1235 warning. Set version to 0.2. Parse the directory listing to get
1236 any ChangeLog.n file, not just 1..9.
1237 (header_match_p, entry_match_p, print_log, parse_changelog):
1238 Remove Perl prototypes (their purpose is to help the parser, which
1239 isn't needed here, not declare arguments).
1240 (parse_changelog): Make --reverse faster on big batches by not
1241 modifying the entries list.
1242
a64387ee
JB
12432004-03-01 Juanma Barranquero <lektu@terra.es>
1244
1245 * makefile.w32-in (obj): Add fringe.c.
1246
9766d41b
PE
12472004-02-14 Paul Eggert <eggert@twinsun.com>
1248
1249 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1250 :local: methods, or omits the colon between the hostname
1251 and the path. Allow :/ in repository path, since CVS does.
1252 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1253 This fixes a bug reported by Wolfgang Scherer in
1254 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1255 along with some related bugs I discovered by inspecting how
1256 CVS itself parses $CVSROOT.
1257
880820fe 12582004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1259
1260 * emacsclient.c (decode_options): Fix handling of alternate editor.
1261
0734b0d0
SM
12622004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * emacsclient.c (main): Don't use the hostname in the socket name.
1265 Look for relative socket names in the /tmp dir rather than in cwd.
1266
2a6fc2d9
RS
12672004-01-24 Richard M. Stallman <rms@gnu.org>
1268
1269 * emacsclient.c (main): Restore errno from saved_errno,
1270 so the error message comes from socket_status.
1271
0734b0d0
SM
12722004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacsclient.c (main): Stop if socket name too long.
1275 Only try su-fallback if the socket name was not explicit.
1276 Check socket name length in su-fallback case as well.
1277
152b6e83
AS
12782004-01-08 Andreas Schwab <schwab@suse.de>
1279
1280 * emacsclient.c (main): Save errno from socket_status.
1281
e8228824
AS
12822004-01-04 Andreas Schwab <schwab@suse.de>
1283
1284 * emacsclient.c (main): Fix socket name when using another user.
1285
c9140662
PE
12862003-12-27 Paul Eggert <eggert@twinsun.com>
1287
1288 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1289 a tag, and if the user has not specified an rlog option.
1290 Adapted from a suggestion by Martin Stjernholm in
1291 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1292 (Copyright): Update to 2003.
1293
8babaa59
TTN
12942003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1295
1296 * make-docfile.c (main): For return code, no longer special-case VMS.
1297 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1298
880820fe 12992003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1300
1301 * emacsclient.c (quote_file_name): Print the result instead of
1302 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1303 (main): With --eval, if no file name, read from stdin.
1304 Quote file names.
14ef7288 1305
f387bdea
RS
13062003-09-10 Richard M. Stallman <rms@gnu.org>
1307
07655e62 1308 * emacsclient.c (main): Use socket_name.
f387bdea 1309
880820fe 13102003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1311
1312 * emacsclient.c (socket_name): New variable.
1313 (longopts, decode_options, print_help_and_exit):
1314 Handle --socket-name argument.
1315
0b7e7337
FP
13162003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1317
783bcffa 1318 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1319 token len is long enough.
1320
ac06b30b
DL
13212003-08-20 Dave Love <fx@gnu.org>
1322
1323 * Makefile.in: Remove obsolete references to alloca.
1324
32b0a3c6
JB
13252003-07-29 Ken Brush <ken@wirex.com>
1326
1327 * emacsclient.c (main)
1328 * etags.c (suggest_asking_for_help)
1329 * movemail.c (main): Fix having macros in a printf statement.
1330
3867c42d
JB
13312003-05-31 Juanma Barranquero <lektu@terra.es>
1332
1333 * makefile.w32-in (lisp): Fix references to byte-run.el,
1334 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1335
7933722a
DL
13362003-05-22 Dave Love <fx@gnu.org>
1337
1338 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1339 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1340
463f55ee
DL
13412003-05-20 Dave Love <fx@gnu.org>
1342
1343 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1344
1345 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1346
1b7a835b
JB
13472003-04-27 Oliver Scholz <alkibiades@gmx.de>
1348
0e0dced5 1349 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1350
eec54bd7
SM
13512003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1352
1353 * emacsclient.c (main): Use new safe location for socket.
1354
ff4bd681
JB
13552003-03-12 Tom Tromey <tromey@redhat.com>
1356
eec54bd7
SM
1357 * emacsclient.c (print_help_and_exit): Print to stdout.
1358 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1359 (decode_options): Don't call print_help_and_exit in default case.
1360 Print version information to stdout.
1361 (main): Don't call print_help_and_exit.
1362
dd132e44
RS
13632003-02-15 Richard M. Stallman <rms@gnu.org>
1364
1365 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1366 Don't include stdlib.h, because config.h does.
dd132e44 1367 (malloc, realloc): Declarations deleted.
ff4bd681 1368
dd132e44
RS
1369 * yow.c (yow): Cast result of malloc and realloc.
1370 (malloc, realloc): Declarations deleted.
1371
71ffc53a
JB
13722003-02-11 Juanma Barranquero <lektu@terra.es>
1373
1374 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1375
0dfd93c0
AS
13762003-02-08 Andreas Schwab <schwab@suse.de>
1377
1378 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1379 instead of the substitution.
1380
37d1e680
RS
13812003-02-04 Richard M. Stallman <rms@gnu.org>
1382
1383 * update-game-score.c (push_score, read_scores): Cast values
1384 of malloc and realloc.
1385 (main, lock_file): Avoid assignment inside if.
1386
c60ee5e7
JB
13872003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1388
1389 * Makefile.in: Use @EXEEXT@ for Cygwin.
1390
b24e2dc7
DL
13912003-01-21 Dave Love <fx@gnu.org>
1392
1393 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1394 column-0 `('.
1395
1396 * yow.c: Don't include string.h.
1397
675d000f
RS
13982003-01-20 Richard M. Stallman <rms@gnu.org>
1399
1400 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1401 New targets.
1402
207aa3ff
KS
14032003-01-06 Kim F. Storm <storm@cua.dk>
1404
31fa6595 1405 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1406 All uses changed.
1407
cf6d30d7
AI
14082002-12-18 Andrew Innes <andrewi@gnu.org>
1409
1410 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1411 because GNU make doesn't append when using >> redirection.
1412
649fc2c5
PJ
14132002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
1414
1415 * b2m.pl: Make sure every message ends with a blank line, because
1416 some mbox parsers require a blank line before "From " lines.
1417
85cce843
RS
14182002-12-08 Richard M. Stallman <rms@gnu.org>
1419
1420 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1421 (_): Test only HAVE_LIBINTL_H to decide what to do.
1422
2ccc4d34
RS
14232002-12-05 Richard M. Stallman <rms@gnu.org>
1424
1425 * getopt.c: Comment out include of libintl.h or gettext.h.
1426
c5992177
RS
14272002-12-04 Richard M. Stallman <rms@gnu.org>
1428
1429 * Update getopt from gnulib version; changes described below.
1430
1431 * getopt1.c: Conditionally find getopt.h.
1432 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1433
1434 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1435 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1436 (wchar.h): Include, maybe.
10d1d0af 1437 (attribute_hidden): Define if not defined.
c5992177
RS
1438 (__getopt_initialized): Use attribute_hidden.
1439 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1440 (__getopt_nonoption_flags, nonoption_flags_max_len)
1441 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1442 (SWAP_FLAGS): New definitions.
1443 (exchange): Test USE_NONOPTION_FLAGS.
1444 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1445 (_getopt_internal): Error if argc < 1. New local var print_errors.
1446 Improve test for ambiguous long option.
1447 Add LIBIO support for error message output.
1448 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1449
1450 * getopt.h: Maybe include ctype.h.
1451 Treat __cplusplus like __STDC__.
1452 (decls): Use __ in arg names.
1453
4b5e69bd
SE
14542002-12-02 Stephen Eglen <stephen@gnu.org>
1455
1456 * emacsclient.c (main): Tell user how to start server within Emacs
1457 if socket could not be found.
1458
19fa03f3
RS
14592002-12-02 Richard M. Stallman <rms@gnu.org>
1460
1461 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1462
7be215b4
JB
14632002-11-19 Ben Key <bkey1@tampabay.rr.com>
1464
29f538e6
BK
1465 * makefile.w32-in: Fixed a bug that caused the documentation for
1466 the built in function play-sound-internal not to be included in
1467 /etc/DOC.
7be215b4 1468
1998560a
DL
14692002-11-18 Dave Love <fx@gnu.org>
1470
1471 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1472 fcntl.h, stdarg.h conditionally.
1473 (_GNU_SOURCE, __attribute__): Don't define.
1474 (optarg, optind, opterr): Declare.
1475 (lose, lose_syserr): Use NO_RETURN.
1476 (get_user_id): Use P_.
1477
8b96caf3
RS
14782002-11-17 Richard M. Stallman <rms@gnu.org>
1479
1480 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1481
59daa29a
DL
14822002-11-14 Dave Love <fx@gnu.org>
1483
1484 * movemail.c (pop_retr): Declare comment.
1485
1486 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1487
1488 * Makefile.in (YACC): Deleted.
1489
f1b443bf
AS
14902002-10-19 Andreas Schwab <schwab@suse.de>
1491
1492 * Makefile.in (${archlibdir}): Always create $(gamedir).
1493 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1494
52402e4f
JB
14952002-10-04 Juanma Barranquero <lektu@terra.es>
1496
1497 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1498
15dab115
MR
14992002-09-30 Markus Rost <rost@math.ohio-state.edu>
1500
1501 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1502 completely.
1503
30be2360
SM
15042002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1505
1506 * emacsclient.c: Remove SYSV support.
1507 (eval, display): New vars.
1508 (longopts): Add --eval and --display.
1509 (decode_options): Add -e and -d processing.
1510 (print_help_and_exit): Update the usage string.
1511 (main): Add support for --eval and --display.
3ecdcd59 1512 (main): Always use /tmp and non-qualified hostname.
30be2360 1513
4208da83
SM
15142002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1515
1516 * emacsserver.c: Remove.
1517
3cf8c6aa
SM
15182002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1519
1520 * emacsclient.c (quote_file_name): Quote \n.
1521 (main): Print a final \n when needed.
1522
880820fe 15232002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1524
1525 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1526 string that cannot be freed.
1527
880820fe 15282002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1529
1530 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1531 auto-detection is enabled and the `::' qualifier is met.
1532 (consider_token, C_entries): Several bugs corrected that tagged
1533 some declarations even though --declarations was not used.
1534 (plainc): New macro.
1535 (C_entries): Use it.
1536 (C_entries): Several cosmetic changes.
1537 (C_entries): Invalidate the token is some cases.
1538
880820fe 15392002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1540
eec54bd7 1541 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1542 (ignoreindent): Renamed from noindentypedefs.
1543 (cjava, cplpl): They are now macros instead of local vars.
1544
880820fe 15452002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1546
1547 * etags.c (HTML_labels): Tag ID= also.
1548
880820fe 15492002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1550
1551 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1552
ecc54057 1553 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1554 (etags_strcasecmp): Like BSD's, for compatibility.
1555 (strcaseeq): Make it into a macro.
1556
1557 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1558 (linebuffer_init): Renamed from initbuffer. All callers changed.
1559 (pattern): Structure renamed to `regexp', member regex renamed to
1560 pattern.
1561 (node_st): Member pat renamed to regex.
eec54bd7
SM
1562 (pattern); New member force_explicit_name, for future use.
1563 Now always set to true, cannot be reset.
87046df8
FP
1564 (add_regex, regex_tag_multiline, readline): Use it.
1565 (main): Free some global structures.
8ee14629 1566 (fdesc): New member `written'.
87046df8
FP
1567 (readline, process_file): Initialise it.
1568 (put_entries): Set it.
1569 (main): Use it to create entries for files without tags.
1570 (total_size_of_entries): Do not count invalid tags.
87046df8 1571
02ce3e80
SM
15722002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1573
1574 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1575 for the function name in the usage info.
1576
5fba5c21
CW
15772002-07-31 Colin Walters <walters@gnu.org>
1578
1579 * update-game-score.c (P_): New macro. Use it for all prototypes.
1580 (lose): Don't use varargs.
1581 (lose_syserr): New function.
1582
1583 * update-game-score.c: Change all functions to K&R style.
1584
712eaee0
AS
15852002-07-30 Andreas Schwab <schwab@suse.de>
1586
1587 * Makefile.in (localstatedir): New variable.
1588
c89ed6ef
PJ
15892002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1590
1591 * b2m.pl: Fix regexp for finding return address fields.
1592
1e042160
SM
15932002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1594
1595 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1596
c60ee5e7 15972002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 1598
02ce3e80 1599 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1600
880820fe 16012002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1602
1603 * b2m.pl: New file.
1604
880820fe 16052002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1606
ecc54057 1607 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1608 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1609 (PHP_functions, PHP_functions, Cobol_paragraphs)
1610 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1611 (prolog_pr, erlang_func, erlang_attribute)
1612 (Perl_functions, Perl_functions, Pascal_functions)
1613 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1614 (get_tag): Prototype changed, all callers changed.
1615
880820fe 16162002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1617
d76132d0
FP
1618 * etags.c: Implement implicit tag names, that is, unnamed tags
1619 whose name is automatically deduced by etags.el. The advantage is
1620 that there is no explicit tag name in most tags, so the size of
1621 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1622 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1623 (make_tag): New function (was the disabled function new_pfnote).
1624 (make_C_tag): Use it.
1625
880820fe 16262002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1627
1628 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1629 (Makefile_targets): Tag variables unless --no-globals.
1630 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1631
880820fe 16322002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1633
1634 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1635 (invalidate_nodes): Bug corrected.
1636 (print_help): Better help for regexps.
1637
7a8940da
JB
16382002-06-13 Juanma Barranquero <lektu@terra.es>
1639
1640 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1641 font-core.elc.
1642
880820fe 16432002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1644
1645 * etags.c: New multi-line regexp and new regexp syntax.
1646 (arg_type): at_icregexp label removed (obsolete).
1647 (pattern): New member multi_line for multi-line regexps.
1648 (filebuf): A global buffer containing the whole file as a string
1649 for multi-line regexp matching.
1650 (need_filebuf): Global flag raised if multi-line regexps used.
1651 (print_help): Document new regexp modifiers, remove references to
1652 obsolete option --ignore-case-regexp.
1653 (main): Do not set regexp syntax and translation table here.
1654 (main): Treat -c option as a backward compatibility hack.
1655 (main, find_entries): Init and free filebuf.
1656 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1657 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1658 (analyse_regex, add_regex): Remove the ignore_case argument, which
1659 is now a modifier to the regexp. All callers changed.
1660 (add_regex): Manage the regexp modifiers.
1661 (regex_tag_multiline): New function. Reads from filebuf.
1662 (readline_internal): If necessary, copy the whole file into filebuf.
1663 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1664
880820fe 16652002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1666
1667 * etags.c (add_regex): Better check for null regexps.
1668 (readline): Check for regex matching null string.
6772c8e1 1669 (find_entries): Reorganization.
6861f0e3 1670
880820fe 16712002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1672
1673 * etags.c (scan_separators): Support all character escape
1674 sequences supported by Gcc.
02ce3e80 1675 (find_entries): Rewind unconditionally.
f0da41a6
FP
1676 (find_entries): Do not call language functions directly, now calls
1677 itself.
1678 (find_entries): Do general initialisations here.
1679 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1680 (Ada_getit, Pascal_functions, Pascal_functions)
1681 (prolog_skip_comment): Do not do them here.
1682 (readline_internal): Increment lineno here.
1683 (readline): Conditionally undo readline_internal increment.
1684 (readline): Do not return a value.
1685
880820fe 16862002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1687
88c71720 1688 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1689 (enum arg_type): New label at_stdin.
1690 (STDIN): New constant.
1691 (parsing_stdin): New flag.
1692 (longopts): New option --parse-stdin=NAME.
1693 (print_help): Document it.
1694 (main): Handle it.
1695 (process_file): Split into process_file and process_file_name.
1696 (process_file_name): New function.
1697
88c71720 1698 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1699 (TeX_commands): Skip comments.
10d1d0af 1700 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1701 (TEX_cmt): Make it a static char and move it before TeX_commands.
1702 (TeX_commands): Shorten the tag to the brace after the name.
1703 (TeX_commands): Names now include the initial backslash.
1704 (TeX_commands): Names do not include numeric args #n.
1705 (TeX_commands): Correct line char number in tags.
1706 (TEX_tabent, TEX_token): Deleted.
1707 (TeX_commands, TEX_decode_env): Streamlined.
1708
880820fe 17092002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1710
1711 * etags.c (main): Avoid a buffer overrun with sprintf.
1712
a71867c5
RS
17132002-05-30 Richard M. Stallman <rms@gnu.org>
1714
1715 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1716 (LIBS_MOVE): Renamed from MOVE_LIBS.
1717
b7e67db6
PE
17182002-05-26 Paul Eggert <eggert@twinsun.com>
1719
1720 Reinstate the following change from 2002-03-22, which was
1721 inadvertently lost on 2002-04-13.
1722
1723 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1724 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1725 the latter usage.
1726
5f226e2c
EZ
17272002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1728
1729 * pop.c (socket_connection): Move the code to resolve the POP
1730 host right before trying to connect with it.
1731
5167cfda
CW
17322002-04-28 Colin Walters <walters@verbum.org>
1733
1734 * Makefile.in (${archlibdir}): Don't conditionalize on
1735 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1736 or not we have access to the specified game user.
50496bd9 1737
5167cfda
CW
1738 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1739 (main): New argument -d, for specifying directory.
1740 (usage): Document.
02ce3e80 1741 (get_user_id): Compute.
5167cfda
CW
1742 (get_home_dir): Deleted.
1743 (get_prefix): New function, taken from main.
1744 (main): Check whether or not we are running setuid. Move prefix
1745 computation to get_prefix. Don't call getpwent; we don't need to
1746 any more. Instead, move it to get_user_id().
1747
880820fe 17482002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1749
1750 * ebrowse.c (skip_initializer): Return void.
1751
973c3c87
CW
17522002-04-23 Colin Walters <walters@verbum.org>
1753
1754 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1755 space.
1756
880820fe 17572002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1758
ecc54057 1759 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1760 (process_file): Print the tags from the nodes as soon as
1761 possible, and delete the nodes. This brings down the memory
1762 occupancy as etags to almost the same level as when the #line
1763 directives were not parsed.
1764 (free_fdesc): New function.
1765 (find_entries): Use it.
1766 (invalidate_nodes): In etags mode, do not just mark the nodes as
1767 invalid, do delete them.
1768
c901ceff
GM
17692002-04-21 Gerd Moellmann <gerd@gnu.org>
1770
1771 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1772
c42d6dbd
EZ
17732002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1774
1775 * update-game-score.c: Move config.h before the other headers, to
1776 avoid compiler warnings.
1777
880820fe 17782002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
1779
1780 * etags.c (find_entries): Bug fix in list management.
1781
880820fe 17822002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
1783
1784 * etags.c (get_language_from_filename): Add one argument.
1785 (strcaseeq): New function.
10d1d0af 1786 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
1787 comparison if called with appropriate args.
1788 (find_entries): Try with case insensitive match.
1789 (process_file): Bug fixed.
1790
880820fe 17912002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
1792
1793 * etags.c (find_entries): Delete tags previously obtained from
1794 file xxx.c's #line directives when parsing file xxx.y. This is
1795 generally done for automatically generated files containing
1796 #line directives. This handles the case when xxx.y is tagged
1797 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1798 be discarded.
eec54bd7 1799 (language): Add the metasource member. Initializers changed.
c150db23
FP
1800 (invalidate_nodes): New function.
1801 (readline): Discard lines after having found a #line
02ce3e80 1802 directive pointing to an already tagged file. This handles the
c150db23
FP
1803 case when xxx.y is tagged before xxx.c, and the entries of
1804 xxx.c pointing to xxx.y should be discarded.
1805 (fdesc): New structure for keeping track of input files.
1806 (fdesc): Remove `file' member (a string) and use instead a pointer
1807 to a file description structure.
02ce3e80
SM
1808 (curfile, curfiledir, curtagfname, curlang, nocharno)
1809 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 1810 curfdp, pointers to file description structures.
c150db23
FP
1811 (longopts, main, print_help): Use the CTAGS conditional to include
1812 or exclude options that work on etags or ctags only.
02ce3e80
SM
1813 (process_file, find_entries, pfnote, add_node, put_entries)
1814 (readline): Use fdhead and curfdp.
c150db23
FP
1815 (process_file, find_entries): Do not take an arg string, all
1816 callers changed.
1817
1818 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1819 options that are not right for either etags or ctags.
1820
1821 * etags.c (number_len, total_size_of_entries): Define them also
1822 in CTAGS mode, because gcc does not compile all refs away.
1823
e9d1f248
CW
18242002-04-14 Colin Walters <walters@debian.org>
1825
1826 * update-game-score.c (lock_file): If the lock file is older than
1827 an hour, delete it. Reset attempts to zero if we have to break
1828 the lock.
1829
7605f1bd
AS
18302002-04-14 Andreas Schwab <schwab@suse.de>
1831
1832 * update-game-score.c (read_score): Fix type of second parameter
1833 of getdelim to be of type size_t instead of int. Use 0 instead of
1834 ESUCCES.
1835
e82defd1
CW
18362002-04-10 Colin Walters <walters@verbum.org>
1837
ecc54057 1838 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1839 (MAX_DATA_LEN, MAX_SCORES): New.
1840 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1841 default to ~/.emacs.d/games.
1842 (get_user_id): Don't zero uid in the case where we can't get the
1843 username.
1844 (lose): New function.
1845 (main): Actually use `max', and default it to MAX_SCORES.
1846 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1847 function.
1848 (read_score): Handle the case of reading unamelen characters, then
1849 finishing. Use mktemp if mkstemp isn't available.
1850 (lock_file, unlock_file): Delete unused versions.
1851 (lock_file): Always sleep, even if we unlinked the lock file.
1852
e82defd1
CW
1853 * Makefile.in (gamedir, gameuser): New variables.
1854 (toplevel, UTILITIES): Add update-game-score.
1855 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1856
5795b420
CW
18572002-04-07 Colin Walters <walters@verbum.org>
1858
1859 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1860 (get_user_id): Take struct passwd as an argument.
1861 (get_home_dir): New function.
1862 (main): Read in user information here. Discover home directory if
1863 necessary.
1864 (read_score): Trim newline only in `getline' case.
1865
cd553ffb 18662002-04-05 Colin Walters <walters@debian.org>
c150db23 1867
cd553ffb
CW
1868 * update-game-score.c (toplevel): Include pwd.h.
1869 (struct score_entry): Add username field.
1870 (push_score): Use it.
1871 (get_user_id): New function.
1872 (main): Don't malloc excessively.
1873 (main): Use username field.
1874 (read_score): Read it.
1875 (push_score): Handle it.
07655e62 1876 (write_scores): Write it.
c150db23
FP
1877 (read_score): Handle arbitrary length data.
1878
b74bd4a3
EZ
18792002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1880
1881 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1882
fa8bc89d
GM
18832002-03-29 Gerd Moellmann <gerd@gnu.org>
1884
1885 * ebrowse.c (add_declarator, skip_initializer): New functions.
1886 (declaration): Use them.
1887
dd87b4cc
JR
18882002-03-28 Jason Rumney <jasonr@gnu.org>
1889
1890 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1891
cd553ffb
CW
18922002-03-27 Colin Walters <walters@debian.org>
1893
1894 * update-game-score.c: New file.
1895
dfef6d49
PE
18962002-03-22 Paul Eggert <eggert@twinsun.com>
1897
1898 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1899 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1900 the latter usage.
1901
880820fe 19022002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 1903
4fff90e4 1904 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1905 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1906 (TeX_commands): Name tags. Correction of old disabled code.
1907
1908 * etags.c (curfiledir, curtagfname): New global variables.
1909 (process_file): Initialise them.
1910 (readline): Canonicalize the name found in #line directive.
893a741e 1911
4fff90e4 19122002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1913
893a741e
JR
1914 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1915 compilers that don't optimize out dead code.
1916
880820fe 19172002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
1918
1919 * etags.c: Honour #line directives.
a7c29764 1920 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
1921 (main): Remove some #ifdef in the getopt switch.
1922 (add_node, put_entries): Code added to merge different chunks of
1923 nodes referring to the same file. Currently the tags are just
1924 appended, without any check for duplicates.
1925 (Perl_functions): Do not special case ctags.
1926 (readline): Identify #line directives and do the right thing.
1927 (nocharno, invalidcharno): New global vars.
1928 (process_file): Reset nocharno.
1929 (readline): Set nocharno.
1930 (pfnote): Read nocharno and maybe put invalidcharno in node.
1931 (total_size_of_entries, put_entries): Use invalidcharno.
1932
1933 * etags.c: Keep the whole tag table in memory, even in etags mode.
1934 (main): Call put_entries here even in CTAGS mode.
1935 (main, process_file): Check the return values of fclose and pclose.
1936 (process_file): Do not call put_entries after parsing each file.
1937 (process_file): Canonicalise file names even for ctags.
1938 (process_file): Set curfile here...
1939 (find_entries): ... not here any more.
1940 (add_node): In etags mode, build a linked list of entries (on
1941 right pointer) for each file, and link the first entry of each
1942 file on left nodes.
1943 (put_entries): Print here the name of the file.
1944 (put_entries): Print the entries starting from the first file.
c150db23 1945 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1946 mode, make the second work only on the right nodes.
1947
1948 * etags.c: Make all global variables static.
1949
50ce1f62
JB
19502002-02-25 Juanma Barranquero <lektu@terra.es>
1951
1952 * makefile.w32-in (lisp): Add missing backslash.
1953
82a399d2
JR
19542002-02-24 Jason Rumney <jasonr@gnu.org>
1955
1956 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1957 using .elc files.
1958 (lisp): Sync with list in src/Makefile.in
1959 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1960
a279c920
PE
19612002-02-10 Paul Eggert <eggert@twinsun.com>
1962
1963 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1964 disallows the old syntax.
1965
0caa685d
PE
19662002-02-03 Paul Eggert <eggert@twinsun.com>
1967
d7982012 1968 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
1969 (AWK, TMPDIR): Work around portability problem in broken shells that
1970 don't understand `: ${VAR=val}'.
1971 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1972 Prefer the new -k option to the traditional +M -N option.
1973
880820fe 19742002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
1975
1976 * b2m.c (main): Parenthesize assignment when used as truth value
1977 to prevent gcc warnings.
1978
1979 * fakemail.c: Include <config.h>.
1980
880820fe 19812001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
1982
1983 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1984 * yow.c: Include <config.h>.
1985
880820fe 19862001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
1987
1988 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1989 (get_tag): Return a pointer to the tag that is found.
1990
1991 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1992 (F_takeprec): Renamed from takeprec. All callers changed.
1993 (F_getit): Renamed from getit. All callers changed.
1994 (nocase_tail): Renamed from tail. All callers changed.
1995 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1996 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1997 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1998 modified LOOKING_AT.
1999 (notinname): Removed '[' and added ')' to the recognised chars.
2000 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2001 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2002 Clarified, using strneq or notinname.
2003 (L_isdef, L_isquote): Removed.
2004 (Lisp_functions, L_getit): Clarified.
2005
ecc54057 2006 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2007 [HAVE_CONFIG_H]: Let config.h deal with __P.
2008 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2009 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2010 gperf code needs it.
ecc54057
JB
2011 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2012 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2013 (xmalloc, xrealloc): Use PTR instead of long *.
2014 (bool): Make it a define, not a typedef, for C++ compilers.
2015 (pattern): Members renamed to avoid name clash in some C++ compilers.
2016 (get_language_from_langname): Use const argument.
2017
880820fe 20182001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2019
2020 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2021
880820fe 20222001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2023
b8509940
PJ
2024 * emacsserver.c: Conditionally include config.h.
2025
594aa066
PJ
2026 * fakemail.c: Likewise.
2027
e69233c2
PJ
2028 * emacsclient.c: Include "config.h", not <../src/config.h>.
2029 (main): Parenthesize assignment when used as truth value to
2030 prevent gcc warnings.
2031
69bfc389
PJ
2032 * ebrowse.c: Include stdlib.h and string.h conditionally.
2033
e4e34e31
EZ
20342001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2035
2036 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2037
880820fe 20382001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2039
2040 * test-distrib.c: Fix previous change.
2041
fb5aa7ac
DL
20422001-12-18 Dave Love <fx@gnu.org>
2043
2044 * test-distrib.c: Conditionally include fcntl.h.
2045
2046 * fakemail.c: Include "config.h", not <../src/config.h>.
2047 (_XOPEN_SOURCE): Define as 500.
2048
2049 * emacsserver.c: Include "config.h", not <../src/config.h>.
2050
2051 * cvtmail.c: Include config.h, stdlib.h.
2052 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2053
2054 * yow.c: Conditionally include various headers. Use "epaths.h",
2055 not <../src/epaths.h>.
2056 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2057
880820fe 20582001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2059
13dc0576 2060 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2061 (LOOKING_AT): New macro.
2062 (Perl_functions, Python_functions, PHP_functions)
2063 (Scheme_functions, Texinfo_nodes): Use it.
2064 (Perl_functions): Use strneq.
2065 (prolog_pred): Renamed to prolog_pr.
13dc0576 2066 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2067 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2068 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2069 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2070
34e39c95
RS
20712001-12-11 Richard M. Stallman <rms@gnu.org>
2072
2073 * Makefile.in (clean): Don't delete ../etc/DOC*.
2074
880820fe 20752001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2076
2077 * COPYING: Moved back.
2078
76054cc8
AI
20792001-11-30 Andrew Innes <andrewi@gnu.org>
2080
e94a3679
FP
2081 * makefile.w32-in (FACE_SUPPORT):
2082 (MOUSE_SUPPORT):
2083 (FLOAT_SUPPORT):
2084 (WINNT_SUPPORT):
76054cc8
AI
2085 (lisp): Reference .el files instead of .elc files, to simplify
2086 bootstrapping.
2087 ($(DOC)): Change dependency to just `make-docfile'.
2088
880820fe 20892001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2090
2091 * COPYING: Removed.
2092
e8d6a09b
PE
20932001-11-28 Paul Eggert <eggert@twinsun.com>
2094
2095 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2096
2097 The following changes are derived from suggestions by Bob Chapman
2098 <rechapman@compuserve.com>.
2099
2100 * rcs2log (printlogline): Also allow tab and newline to separate
2101 '(function):' from the rest of a comment.
2102 (reformat the sorted log entries): Require date and author to
2103 match the clumpname.
2104
9a190096
GM
21052001-11-16 Gerd Moellmann <gerd@gnu.org>
2106
2107 * ebrowse.c (matching_regexp): Escape '\\'.
2108
880820fe 21092001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2110
2111 * Makefile.in: Add support for --program-prefix, --program-suffix
2112 and --program-transform-name options.
2113
6d8f7d5d
RS
21142001-11-03 Richard M. Stallman <rms@gnu.org>
2115
2116 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2117
2118 * movemail.c (popmail): Always pass two args to `error'.
2119
84e70f78
KR
21202001-10-24 Ken Raeburn <raeburn@gnu.org>
2121
2122 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2123 -lhesiod and maybe -lresolv.
2124 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2125 support if it's available.
2126
386ca361
MB
21272001-10-21 Miles Bader <miles@gnu.org>
2128
a3b10252
MB
2129 * make-docfile.c (struct rcsoc_state): New type.
2130 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2131 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2132 Use a variable of type `rcsoc_state' to hold most of our state.
2133 (put_char): Add STATE parameter, and remove all other parameters
2134 except CH. Use STATE to get access to all needed state.
2135 (scan_keyword_or_put_char): New function.
386ca361
MB
2136 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2137 Don't output a usage-string if there was one in the doc-string.
2138
71431a0e
GM
21392001-10-20 Gerd Moellmann <gerd@gnu.org>
2140
6aa97356 2141 * (Version 21.1 released.)
71431a0e 2142
880820fe 21432001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2144
2145 * b2m.c: Properly spell the name of Emacs.
2146
945220bd
MB
21472001-10-17 Miles Bader <miles@gnu.org>
2148
2149 * make-docfile.c (put_char): New function.
2150 (read_c_string_or_comment): Strip trailing spaces and newlines.
2151
14242528
MB
21522001-10-16 Miles Bader <miles@gnu.org>
2153
2154 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2155 comments [with `doc:' keyword prefix].
2156
9f5eb4a3
GM
21572001-10-15 Gerd Moellmann <gerd@gnu.org>
2158
2159 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2160 in a C doc comment.
2161
e641b454
GM
21622001-10-13 Gerd Moellmann <gerd@gnu.org>
2163
2164 * make-docfile.c (read_c_string_or_comment): Renamed from
2165 read_c_string. Add parameter COMMENT. Read C-style comments.
2166 (scan_c_file): Handle doc strings in C comments.
2167
967d7793
AI
21682001-10-12 Andrew Innes <andrewi@gnu.org>
2169
2170 * makefile.nt (ALL): Do not include fakemail.
2171
2172 * makefile.w32-in (install): Do not copy fakemail.
2173
d682756a
JR
21742001-10-10 Jason Rumney <jasonr@gnu.org>
2175
07655e62 2176 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2177
07655e62 2178 * makefile.nt (install): Ditto.
d682756a 2179
14a3dff7
GM
21802001-10-09 Gerd Moellmann <gerd@gnu.org>
2181
2182 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2183
95bc7904 2184 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2185
880820fe 21862001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2187
2188 * profile.c: Include config.h, not ../src/config.h.
2189 Include systime.h, not ../src/systime.h.
2190
ab952a4f
GM
21912001-10-05 Gerd Moellmann <gerd@gnu.org>
2192
2193 * Branch for 21.1.
dff28924 2194
12c64503
GM
21952001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2196
2197 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2198 ALIASEE to help work with namespace aliases.
2199 (struct sym): Remove struct member NAMESP_ALIASES.
2200 (namespace_alias_table): New variable.
2201 (make_namespace): Add parameter CONTEXT.
2202 (check_namespace): New function.
2203 (find_namespace): Add parameter CONTEXT.
2204 (check_namespace_alias): New function.
02ce3e80
SM
2205 (register_namespace_alias): Change type of parameter OLD_NAME.
2206 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2207 (check_namespace): New function.
2208 (enter_namespace): Call find_namespace with CONTEXT parameter.
2209 (match_qualified_namespace_alias): New function.
eec54bd7 2210 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2211 While parsing qualified ident or type update namespace context and
12c64503 2212 restore it on exit.
eec54bd7
SM
2213 (parse_qualified_param_ident_or_type): Fix typo in comment.
2214 (globals): Change handling of namespace aliases.
2215 (version): Add year 2001.
12c64503 2216
990e1190
FP
22172001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2218
2219 * etags.c (analyse_regex): If regex_arg is NULL, return
2220 immediately after a call to free_patterns.
2221
f2e7e23e
AS
22222001-09-05 Paul Eggert <eggert@twinsun.com>
2223
2224 * rcs2log (Help, mainline code): Add new option -L FILE.
2225 (Copyright): Update year.
02ce3e80
SM
2226 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2227 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2228 C locale.
2229 (mainline code): Handle nonstandard -u option differently, by
2230 transforming it to standard form. Check for "Working file: ", not
2231 "Working file:". Allow file names with spaces.
2232 (SOH, rlogfile): New shell vars.
dff28924 2233 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2234 rlogfile.
2235
2236 Append ';;' to the last arm of every case statement, for
2237 portability to ancient broken BSD shells.
2238
02ce3e80 2239 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2240 (pository): New var. This fixes some bugs where repositories are
2241 remote, or have trailing slashes.
02ce3e80 2242 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2243 about that possibility.
dff28924 2244 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2245 the output.
dff28924 2246
75c911eb
EZ
22472001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2248
2249 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2250 Suggested by Dave Love <d.love@dl.ac.uk>.
2251
5ae10f4a
EZ
22522001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2253
2254 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2255 * makefile.w32-in (lisp): Ditto.
2256
0e4011d8 22572001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2258
2259 * grep-changelog (parse_changelog): Remove unused local variable.
2260
2261 * grep-changelog (main): Add new option --reverse.
2262 (print_log): Use it.
2263 (parse_changelog): Use it.
2264
3c88ae74
GM
22652001-07-20 Gerd Moellmann <gerd@gnu.org>
2266
2267 * grep-changelog: Remove RCS Id keyword.
2268
41848daa
GM
22692001-07-20 Juanma Barranquero <lektu@terra.es>
2270
6e07c0a5
GM
2271 * grep-changelog (parse_changelog): Add tests for defined values
2272 to quiet warning from Perl 5.005 or above.
177ab8ce 2273 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2274 argument to prevent duplicate headers.
2275
2276 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2277
467f1209
GM
22782001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2279
2280 * emacsclient.c (print_help_and_exit): Fix help message for
2281 +LINE:COLUMN option.
2282
22832000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2284
467f1209
GM
2285 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2286 argument.
2287
bb24c64f
GM
22882001-07-16 Gerd Moellmann <gerd@gnu.org>
2289
2290 * ebrowse.c (main): Check that the output file exists and
2291 is non-empty if invoked with `--append'.
2292
880820fe 22932001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2294
e335b66a
GM
2295 * etags.c (add_regex): Reset the whole newly allocated pattern
2296 buffer instead of the individual members. It's safer and works
ecc54057 2297 with XEmacs.
fa829470 2298
e335b66a 2299 * etags.1: Markups corrected.
fa829470 2300
6da5c7da
GM
23012001-05-08 Gerd Moellmann <gerd@gnu.org>
2302
02ce3e80 2303 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2304
efbecf9d
GM
23052001-05-03 Gerd Moellmann <gerd@gnu.org>
2306
2307 * ebrowse.c (globals): Fix handling of namespace aliases.
2308
f4976ebc
EZ
23092001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2310
2311 * etags.c (print_help): Enclose the regexp in the help text
2312 example in quotes.
2313
23431241
DL
23142001-04-05 Dave Love <fx@gnu.org>
2315
2316 * emacsclient.c (fail): Don't return a value.
fa829470 2317 (main): Cast uid values for sprintf.
23431241 2318
476bf681
GM
23192001-04-03 Gerd Moellmann <gerd@gnu.org>
2320
b3f6107b
GM
2321 * emacsclient.c (fail, main): Don't use implicit int return type.
2322
476bf681
GM
2323 * b2m.c (main): Always return a value.
2324
ef53d75e
GM
23252001-03-02 Gerd Moellmann <gerd@gnu.org>
2326
2327 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2328 freshly allocated object in *LAST_ID.
2329 (read_line): Accept \r\n line endings.
2330
425de386
AI
23312001-02-24 Andrew Innes <andrewi@gnu.org>
2332
2333 * makefile.w32-in: Fix copyright notice.
2334
880820fe 23352001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2336
2337 * etags.c (enum sym_type): New label st_C_template.
2338 (gperf input): Use it for switching to C++ from C.
2339 (consider_token): Do it.
c2a642c0
FP
2340 (C_entries): Initialise typdefcblev to quiet compilers.
2341 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2342
f6839838
AI
23432001-02-22 Andrew Innes <andrewi@gnu.org>
2344
2345 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2346 VMS header files.
2347 ($(BLD)\profile.obj): Ditto.
2348
2349 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2350 VMS header files.
2351 ($(BLD)/profile.$(O)): Ditto.
2352
193fba87
AI
23532001-02-05 Andrew Innes <andrewi@gnu.org>
2354
2355 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2356 invocation of make-docfile, to work with Windows 2000.
2357
30526cc6
DL
23582001-01-31 Dave Love <fx@gnu.org>
2359
2360 * etags.c (in_word_set): Use `static' in definition (for pcc).
2361
880820fe 23622001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2363
ecc54057 2364 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2365 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2366 (C_entries): Tag token renamed to still_in_token because sunos4
2367 pcc wants to expand it as the token() macro even though it has no
2368 arguments.
2369
914d7258
AI
23702001-01-30 Andrew Innes <andrewi@gnu.org>
2371
2372 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2373 bug in the Mingw32 assert.h header file.
2374
880820fe 23752001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2376
ecc54057
JB
2377 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2378 #define it for the sake of XEmacs.
b28e26be
FP
2379 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2380 HAVE_CONFIG_H. This change only affects a standalone etags.
2381 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2382 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2383 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2384 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2385 WINDOWSNT, as this is the correct way to use it.
2386
880820fe 23872001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2388
2389 * etags.c: Be capable to parse nested struct-like structures.
2390 (structdef, structtag): Struct state machine revisited.
2391 (struct tok): Revisited.
2392 (cstack, nestlev, instruct): New struct and macros.
2393 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2394 for dealing with nested class names.
8c463abe
FP
2395 (consider_token, make_C_tag, C_entries): Many changes for dealing
2396 with arbitrarily nested structures.
2397 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2398 (C_entries): Consider templates in C++.
2399 (sym_type): New constant st_C_class for detecting "class" also in
2400 C mode.
2401 (C_AUTO): New macro for automatic detection of C++.
2402 (consider_token): Automatic set C++ mode.
2403 (C_entries): New security check for yacc.
2404 (print_language_names, print_help): Mention the autodetect
07655e62 2405 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2406 (C_entries): Tag C++ forward declarations if --declarations.
2407 (C_entries): Don't be fooled by things like XDEFUN.
2408 (consider_token): Discard asm pseudo function.
2409
e26f9ced
EZ
24102001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2411
2412 * etags.c: Add a coding: tag.
2413
a47b7816
GM
24142001-01-26 Gerd Moellmann <gerd@gnu.org>
2415
8c463abe 2416 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2417 New variables.
2418 (matching_regexp): Use them instead of static variables in
2419 function scope.
2420
880820fe 24212001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2422
2423 * etags.c (struct tok): Renamed from struct token.
2424 (token): Renamed from tok.
2425 (structtype): Make it a local variable.
2426 [DEBUG]: Use assert.
2427 (xrnew): Change the synopsis.
2428 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2429 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2430 (token): Buffer renamed to line.
d22a24fa 2431 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2432 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2433 (linebuffer_setlen): Was grow_buffer, now also sets len.
2434 (consider_token, C_entries, Pascal_functions): Use it.
2435 (C_entries): Preventing problems relative to extern "C".
2436 (C_entries): Can tag more than one variable or func separated by
2437 comma when --declarations is used.
2438 (C_entries): More accurate tagging of members and declarations.
2439 (yacc_rules): Was global, made local to C_entries.
2440 (next_token_is_func): Removed.
2441 (fvdef): New constants fdefunkey, fdefunname.
2442 (consider_token, C_entries): Use them.
2443 (C_entries): Build proper lisp names for Emacs DEFUNs.
2444
21c2bbe0
GM
24452001-01-22 Gerd Moellmann <gerd@gnu.org>
2446
2447 * ebrowse.c (xfree): New function.
2448 (member, declaration, globals): Use xmalloc instead of alloca.
2449
880820fe 24502001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2451
2452 * etags.c (print_language_names): Print filenames in addition to
2453 suffixes.
2454
880820fe 24552001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2456
2457 * etags.c (get_language_from_langname): Renamed from
2458 get_language_from_name.
eec54bd7
SM
2459 (get_language_from_filename): Renamed from get_language_from_suffix.
2460 Now first looks for the complete file name.
47df1a5e
EZ
2461 (language): New member char **filenames.
2462 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2463 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2464 for makefiles.
13dc0576 2465 (Makefile_targets): New function.
47df1a5e
EZ
2466 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2467 it conformant to the style of the rest of the code.
2468
291c7e74
GM
24692001-01-13 Gerd Moellmann <gerd@gnu.org>
2470
2471 * make-docfile.c (write_c_args): Print newlines as spaces.
2472
0dac6924
AI
24732001-01-06 Andrew Innes <andrewi@gnu.org>
2474
2475 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2476 of *.pdb.
2477
3e99d3b4
GM
24782001-01-03 Paul Eggert <eggert@twinsun.com>
2479
290afd83 2480 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2481 cause user of rcs2log to overwrite arbitrary files, fixing
2482 a bug reported by Morten Welinder.
2483
2484 Don't put "exit 1" at the end of the exit trap; it's
2485 ineffective in POSIX shells.
2486
d6bb0c0d
GM
24872001-01-02 Gerd Moellmann <gerd@gnu.org>
2488
eec54bd7
SM
2489 * ebrowse.c (yyerror): Change to take two arguments.
2490 Add prototype. Change callers.
d6bb0c0d 2491
d5c00476 24922001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2493
2494 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2495 compiler warnings.
2496 (yyerror): Change parameter declarations to be of type long, so
2497 that they can take pointers on 64-bit platforms.
2498
2499 * emacsclient.c (main): Remove unused local variable statbfr.
2500 (main) <homedir>: Make its declaration conditional on
2501 SERVER_HOME_DIR, to avoid compiler warnings.
2502
2503 * emacsserver.c (main) <homedir>: Make its declaration conditional
2504 on SERVER_HOME_DIR, to avoid compiler warnings.
2505
2506 * fakemail.c (readline): Cast buffer to "long *" to pacify
2507 over-zealous compilers.
2508
7c89ea61
EZ
25092000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2510
2511 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2512
a6768cc5
GM
25132000-12-15 Gerd Moellmann <gerd@gnu.org>
2514
2515 * ebrowse.c (operator_name): Cast argument of isalpha to
2516 unsigned char.
2517
2518 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2519 Use them throughout instead of ctype functions/macros.
2520 (lowcase): Cast to unsigned char.
2521 (UPCASE): New macro.
2522 (canonicalize_filename): Use UPCASE instead toupper.
2523
2524 * fakemail.c (get_keyword): Make sure that isspace and
2525 similar aren't called with a negative argument.
2526
70de49cc
DL
25272000-12-13 Dave Love <fx@gnu.org>
2528
2529 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2530
4e8b894c
AI
25312000-12-06 Andrew Innes <andrewi@gnu.org>
2532
2533 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2534 don't know the real version, and I can't seem to get the quoting
2535 right in all circumstances.
2536
2537 * ebrowse.c (VERSION): Provide default definition, like etags.c
2538 does, because Windows build can't snarf this from version.el.
2539
88257bc8
AI
25402000-11-30 Andrew Innes <andrewi@gnu.org>
2541
2542 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2543 (install): Ditto.
2544
d19249e7
JR
25452000-11-23 Jason Rumney <jasonr@gnu.org>
2546
2547 * makefile.w32-in: Add targets for ebrowse.exe.
2548 (LOCAL_FLAGS): Add -DVERSION flag.
2549
7df6adc3
DL
25502000-09-25 Dave Love <fx@gnu.org>
2551
2552 * sorted-doc.c: Include config.h.
2553 [!HAVE_STDLIB_H]: Declare malloc.
2554
fe83b953
AI
25552000-09-14 Andrew Innes <andrewi@gnu.org>
2556
2557 * makefile.w32-in: Revert to Unix line endings.
2558
517699ca
DL
25592000-09-04 Dave Love <fx@gnu.org>
2560
2561 * movemail.c (index, rindex): Prototype conditionally.
2562
f8803e97
AI
25632000-09-03 Andrew Innes <andrewi@gnu.org>
2564
2565 * makefile.w32-in: Change to DOS line endings.
2566
f72adc12
EZ
25672000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2568
4034f3a8 2569 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2570 [!F_OK]: Provide default definitions only after including both
2571 fcntl.h and unistd.h.
2572
f678f592
DL
25732000-08-29 Dave Love <fx@gnu.org>
2574
2575 * movemail.c: Revert previous change.
2576
5b671d04
EZ
25772000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2578
2579 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2580
6fa86045
DL
25812000-08-28 Dave Love <fx@gnu.org>
2582
2583 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2584 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2585
746d9caf
AI
25862000-08-22 Andrew Innes <andrewi@gnu.org>
2587
2588 * ntlib.h (WIN32): Remove unnecessary definition.
2589 (sleep): Make argument unsigned long.
2590 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2591
2592 * ntlib.c (sleep): Make argument unsigned long.
2593
2594 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2595
2596 * makefile.w32-in: New file.
2597
3b541489
EZ
25982000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2599
2600 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2601 letter only if it is a drive letter.
2602
e5acf0ca
GM
26032000-07-14 Gerd Moellmann <gerd@gnu.org>
2604
02ce3e80 2605 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2606
2607 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2608 by alloca.o.
2609
02ce3e80 2610 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2611
4b92c49a
GM
26122000-07-10 Gerd Moellmann <gerd@gnu.org>
2613
2614 * ebrowse.c (yylex): Accept string literals with newlines in them.
2615 (process_pp_line): Handle case of string literal with newline
2616 in it in replacement text, which counts as continuing the
2617 replacement text in GNU C.
2618
831a6cb0
GM
26192000-07-02 Gerd Moellmann <gerd@gnu.org>
2620
2621 * ebrowse.c (token_string): Add missing tokens.
2622 (parm_list): Handle case of qualified pointers.
2623
53245ee2
DL
26242000-06-23 Dave Love <fx@gnu.org>
2625
2626 * ebrowse.c: Move config.h before other includes (which may use
2627 feature tests).
2628
dcbf2cd2
JM
26292000-06-14 Jim Meyering <meyering@lucent.com>
2630
2631 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2632
f1c7754a
JR
26332000-06-11 Jason Rumney <jasonr@gnu.org>
2634
2635 * makefile.nt: Add targets for ebrowse.
2636
2637 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2638 compare filenames.
2639
5f1aea9a
GM
26402000-06-06 Gerd Moellmann <gerd@gnu.org>
2641
2642 * ebrowse.c (ymalloc): Renamed from xmalloc.
2643 (yrealloc): Renamed from xrealloc.
2644
5bf244f1
DL
26452000-05-21 Dave Love <fx@gnu.org>
2646
2647 * movemail.c: Include config.h, not ../src/config.h.
2648 (Errmsg): Bump length.
2649
2650 * pop.c (ERROR_MAX): Increase to 160.
2651
ec82fb2f
GM
26522000-05-04 Gerd Moellmann <gerd@gnu.org>
2653
2654 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2655
5c922ea7
EZ
26562000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2657
02ce3e80
SM
2658 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2659 Define to semi-colon.
5c922ea7 2660 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2661 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2662 (process_file): Don't assume that fread always reads as many bytes
2663 as it was told to (DOS-style CR-LF text files fail this logic).
2664 (open_file): Allocate enough space for path->path plus the file
2665 name and the slash.
2666
6142fdcb 26672000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2668
2669 * etags.c (Texinfo_functions): New function.
2670 (lang_names): Install it.
2671 (Texinfo_suffixes): New variable.
2672
cb9215e4
GM
26732000-04-19 Gerd Moellmann <gerd@gnu.org>
2674
2675 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2676 (declaration): Remove parameter IS_EXTERN.
2677 (class_definition): Remove unused variable.
2678
be0dbdab
GM
26792000-04-09 Gerd Moellmann <gerd@gnu.org>
2680
2681 * Makefile.in (INSTALLABLES): Add ebrowse.
2682 (ebrowse): New target.
2683
2684 * ebrowse.c: New file.
2685
c5aa0fc2
AS
26862000-03-29 Andreas Schwab <schwab@suse.de>
2687
2688 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2689
d054101f
GM
26902000-03-02 Gerd Moellmann <gerd@gnu.org>
2691
2692 * etags.c (lisp_suffixes) Add `LSP'.
2693
880820fe 26942000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2695
eec54bd7 2696 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2697 space, and use it throughout in place of isspace, thus preventing a
2698 potential signed char to int conversion problem.
10d1d0af 2699 (MSDOS): #undefine before redefining.
71cbb895 2700
880820fe 27012000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2702
2703 * etags.c (many functions): Add prototypes.
2704
97fa0cc8
DL
27052000-02-10 Dave Love <fx@gnu.org>
2706
2707 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2708 (erlang_func): Add `static' to definitions to keep pcc happy.
2709
880820fe 27102000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2711
2712 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2713 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2714 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2715 (getenv, getcwd): Only declare them if necessary.
2716 (EMACS_NAME): New constant macro.
2717 (print_version): Use it.
2718 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2719
19e262bd 27202000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2721
2722 * etags.c [WINDOWSNT]: #include <direct.h>
2723
19e262bd 27242000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2725
19e262bd
FP
2726 * etags.c (all functions): Made them static.
2727 (all functions): Write prototypes.
e4100b7f 2728
55e30d2a
RS
27292000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2730
2731 * movemail.c (main): Improve error message if can't create lock file.
2732
c60ee5e7 27332000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2734
2735 * emacsclient.c (socket_status): New function.
02ce3e80 2736 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2737 for a socket based on the UID associated with the name.
2738
e4936aa9
GM
27392000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2740
2741 * emacsclient.c: Add option -a EDITOR and environment variable
2742 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2743
c60ee5e7 27441999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2745
2746 * movemail.c (popmail): Allow mailbox specifications of the
2747 form `po:username:hostname'.
2748
880820fe 27491999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2750
2751 * etags.c (_GNU_SOURCE): Define only if undefined.
2752 (get_scheme): Declaration deleted.
02ce3e80 2753 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2754 a char pointer.
2755 (canonicalize_filename): Bug removed.
2756
27571999-11-18 Dave Love <d.love@dl.ac.uk>
2758
2759 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2760 lossage from name clash with macro.
2761
b05d3bee
GM
27621999-11-13 Gerd Moellmann <gerd@gnu.org>
2763
2764 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2765
cb3a6c48
GM
27661999-11-03 Gerd Moellmann <gerd@gnu.org>
2767
2768 * etags.c (print_help): Change email address to send bugs to.
2769
880820fe 27701999-11-01 Francesco Potortì <pot@gnu.org>>
1c478461
FP
2771
2772 * etags.c: Add suffix psw for PSWrap.
2773 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2774 (Postscript_functions): Add code for PSWrap.
2775 (Scheme_functions): Use local pointer and new get_tag function.
2776 (get_tag): New name for old get_scheme.
2777 (process_file): Do not free NULL when file does not exist.
2778 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2779 (C_entries): Modifications that make --members tag even inside
2780 typedefs and C nested structs (one level only).
eec54bd7 2781 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2782 constants.
eec54bd7 2783 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2784 st_C_ignore. This makes it simpler to work when cblev!=0.
2785
02ce3e80 2786 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2787 --declarations is used.
2788
2789 * etags.c (C_entries, consider_token): C++ `operator' now is
2790 tagged in most cases.
2791 As before, :: is not recognised if surrounded by spaces.
2792
2793 * etags.c (relative_filename): Account for DOS file names such
2794 that is impossible to make one relative to another.
2795
2796 * etags.c (sym_type): New st_C_extern tag.
2797 (gperf input): Use it for spotting external declarations.
a7c29764 2798 (print_help): Document the new behavior of --declarations.
1c478461
FP
2799 (fvextern): New global variable.
2800 (consider_token, C_entries): Use it.
2801
2802 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2803 (etags_getcwd): Remove test for WINDOWSNT.
2804
2805 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2806 foo.cgz, foo.cz, etc.
2807
2808 * etags.c (declarations): New global switch.
2809 (longopts): Describe it.
2810 (print_help): Document it.
2811 (C_entries): Use it.
2812 (process_file): Don't process a file twice.
2813
2814 * etags.c (Fortran_functions): No tags for "procedure".
2815
28161999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2817
2818 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2819 non-zero, returns a pointer to where the extension begins; callers
2820 changed.
2821 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2822 were foo.c.gz.
2823
880820fe 28241999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2825
2826 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2827 (fvdev): New constant foperator.
2828 (consider_token): Use it to get "operator" in C++.
2829 (C_entries): Extend length of operator@ function name.
2830 (C_entries): Use foperator when necessary.
2831
2832 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2833
2834 * etags.c (compressor): New struct for compressed files.
2835 (get_compressor_from_suffix): New function.
2836 (get_language_from_suffix): Use it. Also, semantics changed.
2837 (process_file): Consider compressed files, close file.
2838 (find_entries): Use different call arg for get_language_from_suffix,
2839 don't close file.
2840
2841 * etags.c (main): Call free_tree.
2842 (find_entries): Do not free curfile.
2843 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2844 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2845 comparing.
2846 (canonicalize_filename): Shut up compiler warning.
2847 (Perl_functions): Make tag significant.
2848
28491999-11-01 Dave Love <d.love@dl.ac.uk>
2850
2851 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2852 (argument_type): New member at_icregexp.
2853 (lc_trans): New global.
2854 (main): Fill lc_trans. Process -c args.
2855 (add_regex): New arg determining whether to use translation table.
2856 (analyse_regex): New arg. Use it for add_regex.
2857
880820fe 28581999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2859
2860 * etags.c (init): Cosmetic change: NULL --> '\0'.
2861 (erlang_attribute): Bug corrected (uninitialized variable).
2862 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 2863 corrects a bug. All callers changed.
1c478461
FP
2864 (canonicalize_filename): New function.
2865 (process_file, etags_getcwd, absolute_dirname): Use it.
2866 (relative_filename, absolute_filename): Removed var shadowing.
2867 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 2868 compilers quiet.
1c478461
FP
2869 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2870
2871 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2872 (language): New typedef (was struct lang_entry).
2873 (curlang): New global variable.
02ce3e80 2874 (node): Typedef renamed from NODE.
1c478461
FP
2875 (linebuffer): New typedef (was struct linebuffer).
2876 (pattern): New typedef (was struct pattern). Some members added.
2877 Now used as element of a linked list.
2878 (patterns, num_patterns): Global variables deleted.
2879 (p_head): New global variable.
a64387ee 2880 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
2881 (get_language_from_name, get_language_from_interpreter)
2882 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 2883 (last_node): New global variable.
02ce3e80
SM
2884 (free_tree, add_node, put_entries, total_size_of_entries):
2885 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
2886 (number_len): Rewritten for elegance.
2887 (token): New typedef replaces TOKEN.
2888 (analyse_regex, add_regex): Rewritten for new functionality.
2889 (free_patterns): New function called from main and add_regex.
2890 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 2891 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
2892 (readline): Rewritten for new functionality.
2893
ecc54057 2894 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
2895 (print_help): --globals is now used for more than C-type languages.
2896 (Perl_functions): Tag global variables ("my" and "local").
2897
2898 * etags.c (print_help): Some messages clarified.
2899 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2900 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2901 (Python_functions, Cobol_paragraphs, Pascal_functions)
2902 (Lisp_functions, Postscript_functions, Scheme_functions)
2903 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2904 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2905 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2906 of the global variable dbp.
2907 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2908 standard indentation.
2909
02ce3e80
SM
2910 * etags.c (Python_suffixes, lang_names, Python_functions):
2911 Python support.
1c478461 2912 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2913 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2914 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2915 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2916 (eat_white): Deleted.
2917
2918 * etags.c (CHAR, init): Keep into account non US-ASCII
2919 characters and compilers with default signed chars.
2920 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2921 constructs.
ecc54057 2922 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 2923
ecc54057 2924 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
2925 (main): Put interval syntax here.
2926 (add_regex): And remove it from here.
2927
2928 * etags.c (suggest_asking_for_help): Provide a
2929 meaningful help message with and without LONG_OPTIONS.
2930
d07529f3 2931 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
2932 <stdlib.h, string.h>: Don't test MSDOS when including them.
2933 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2934 (put_entries): Correctly use %ld instead of %d in printf.
2935
d07529f3 2936 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
2937 declare getcwd if HAVE_GETCWD.
2938 (consider_token): Dead break instruction removed.
2939
4ee9629e
PE
29401999-10-19 Paul Eggert <eggert@twinsun.com>
2941
2942 Add support for large files. Merge glibc 2.1.2.
1c478461 2943
4ee9629e 2944 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 2945 * movemail.c, pop.c:
4ee9629e
PE
2946 Do not include <stdlib.h>, as <config.h> does this now.
2947
2948 * b2m.c, emacsserver.c, etags.c, profile.c:
2949 Include <config.h> before any system include files.
1c478461 2950
4ee9629e 2951 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 2952 * test-distrib.c:
4ee9629e
PE
2953 (read, write, open, close): Do not undef.
2954
2955 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2956 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2957
2958 * getopt.h: Adopt glibc 2.1.2.
1c478461 2959
93c8d183
DL
29601999-10-15 Dave Love <fx@gnu.org>
2961
2962 * Makefile.in (pop.o): Depend on config.h.
2963
b358f91c
GM
29641999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2965
2966 * pop.c: Use "pop3" as the POP service name on all platforms,
2967 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2968 has been the standard service name since RFC 1340 was published in
2969 July 1992, so I think it's safe to start using it by default.
2970
362bc2da
DL
29711999-09-27 Dave Love <fx@gnu.org>
2972
2973 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2974
74e4cb59
PR
29751999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2976
2977 * make-docfile.c (scan_lisp_file): Fix previous changes;
2978 swallow CRLF like just CR or just LF.
2979
362bc2da
DL
29801999-09-03 Richard Stallman <rms@gnu.org>
2981
2982 * make-docfile.c: Include config.h not ../src/config.h.
2983 (main, fopen, chdir): Add #undef.
2984 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2985 (scan_lisp_file): Handle \r like \n.
2986
29871999-08-30 Andreas Schwab <schwab@gnu.org>
2988
2989 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2990
2991 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2992 errno if it's a macro.
2993
2994 * test-distrib.c: Include <unistd.h> if available.
2995
29961999-08-29 Richard Stallman <rms@gnu.org>
2997
2998 * emacsclient.c (print_help_and_exit): Mention --version.
2999
30001999-08-25 Richard M. Stallman <rms@gnu.org>
3001
3002 * emacsclient.c (decode_options): Update version output.
3003 (print_help_and_exit): Update bug report address.
3004
30051999-08-13 Richard M. Stallman <rms@gnu.org>
3006
3007 * emacsclient.c (main): Move the dynamic allocation of
3008 system_name outside of the SERVER_HOME_DIR conditional.
3009 * emacsserver.c (main): Likewise.
3010
30111999-08-10 Gerd Moellmann <gerd@gnu.org>
3012
3013 * grep-changelog: New.
3014 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3015
30161999-07-12 Richard Stallman <rms@gnu.org>
3017
3018 * Version 20.4 released.
3019
30201999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3021
1c478461 3022 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3023
30241999-06-23 Dave Love <fx@gnu.org>
3025
3026 * etags.c (erlang_attribute): Fix undefined variable usage (after
3027 Potorti).
3028
86e888c2 30291999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3030
3031 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3032 mapped to _chsize.
3033
30341999-04-29 Richard M. Stallman <rms@gnu.org>
3035
3036 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3037
30381999-03-30 Dave Love <fx@gnu.org>
3039
3040 * sorted-doc.c (main): Split up tables. Modify the preamble
3041 somewhat.
3042
30431999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3044
3045 * makefile.nt: Remove common multiple file compilation commands.
3046
30471999-02-26 Richard Stallman <rms@gnu.org>
3048
362bc2da
DL
3049 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3050
3051 * yow.c: Refer to epaths.h.
3052
30531999-02-22 Simon Josefsson <jas@pdc.kth.se>
3054
3055 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3056
30571999-01-27 Andrew Innes <andrewi@gnu.org>
3058
3059 * makefile.nt: Do make version comparison as strings.
3060
30611999-01-25 Richard Stallman <rms@gnu.org>
3062
3063 * emacsclient.c (xmalloc): Fix previous change.
3064
30651999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3066
3067 * emacsclient.c (xmalloc): Declare to return long.
3068
30691999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3070
3071 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3072 the case of the drive letter.
3073
30741999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3075
3076 * emacsserver.c (main): Eliminate arbitrary limit on
3077 length of system_name.
3078
3079 * emacsclient.c (main): Eliminate arbitrary limit on
3080 length of system_name.
3081 (xmalloc): Define unconditionally.
3082
30831999-01-12 Darrin B. Jewell <jewell@mit.edu>
3084
3085 * etags.c (relative_filename): Stop backward search at beginning
3086 of string, since non-Unix systems can have absolute paths with no
3087 initial slash.
3088
30891998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3090
3091 * makefile.nt: Do string comparision of _NMAKE_VER.
3092
c60ee5e7 30931998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3094
3095 * makefile.nt: Compile multiple source files when possible.
3096
30971998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3098
3099 * Makefile.in: Replace tabs with spaces
3100 when they might confuse some Make versions.
3101
31021998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3103
3104 * emacsclient.c (main): Null-terminate system_name.
3105
3106 * emacsserver.c (main): Null-terminate system_name.
3107
31081998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3109
3110 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3111 an error message from POP, mention that it's from POP, to
3112 distinguish it from local error messages.
3113
31141998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3115
3116 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3117 order of messages downloaded from a POP server (e.g., if the
3118 server stores messages in mailboxes in reverse order).
3119
31201998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3121
3122 * Version 20.3 released.
3123
31241998-08-11 Paul Eggert <eggert@twinsun.com>
3125
3126 * rcs2log: Update copyright date and bug report address.
3127 (initialize_fullname): Prefer getent if available.
3128
31291998-07-30 Paul Eggert <eggert@twinsun.com>
3130
290afd83 3131 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3132 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3133
362bc2da
DL
31341998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3135
3136 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3137
31381998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3139
3140 * Makefile.in: Properly terminate a comment.
3141
31421998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3143
3144 * movemail.c (sys_wait): Rename to wait.
3145
3146 * ntlib.h: Undefine _WINSOCKAPI_.
3147
3148 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3149
31501998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3151
3152 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3153
31541998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3155
3156 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3157 all file i/o to be in binary mode. Include ntlib.h.
3158
31591998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3160
3161 * make-docfile.c: Include <unistd.h> for chdir.
3162
31631998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3164
3165 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3166
31671998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3168
3169 * makefile.nt (obj): Update with new files in src.
3170 (clean): Delete patch scratch files, optimized compilation dir.
3171
31721998-04-08 Dave Love <fx@gnu.org>
3173
3174 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3175 Irix6, at least.
3176
31771998-04-06 Andreas Schwab <schwab@gnu.org>
3178
3179 Silence -Wimplicit:
3180 * movemail.c: Move cancelations up. Include <stdlib.h> if
3181 available.
3182 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3183 (parse_header): Explicitly declare return type.
3184 * emacsserver.c: Include <unistd.h> if available.
3185 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3186 return types. Add forward declarations.
3187 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3188 Don't declare geteuid.
3189 (print_help_and_exit): Change return type to void. Forward
3190 declare it.
3191 * b2m.c: Include <stdlib.h> if available.
3192 (main): Explicitly declare return type.
3193
362bc2da
DL
31941998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3195
3196 * etags.c (put_entries): Use %ld.
3197
3198 * b2m.c (fatal): Declare the arg.
3199
32001998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3201
3202 * pop.c (pop_getline): Renamed from getline.
3203
32041998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3205
3206 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3207 for the utilities.
3208
32091998-01-23 Dave Love <d.love@dl.ac.uk>
3210
3211 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3212 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3213 Always make named tags.
3214 (Fortran_functions): Grok BLOCK DATA.
3215
32161998-01-23 Andreas Schwab <schwab@gnu.org>
3217
3218 * movemail.c (main): Fix interwoven brace and cpp conditional
3219 nesting.
3220
362bc2da
DL
32211997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3222
cb438d6e
JB
3223 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3224 with a '>' any lines starting with "From " read from the POP server,
3225 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3226 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3227 because it turns out that something is depending on it. Change
3228 suggested by Paul Eggert <eggert@twinsun.com>.
3229 Convert the character \037 (^_) at the beginning of a line into
3230 the character '^' followed by the character '_', because otherwise
3231 Emacs can't parse the resulting file as a valid BABYL file.
3232 Change suggested by Paul Eggert <eggert@twinsun.com>.
3233
32341997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3235
3236 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3237 server to contain embedded nulls.
3238
32391997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3240
362bc2da
DL
3241 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3242 quotes with a '>' any lines starting with "From " read from the
3243 POP server, but leave the code in place, wrapped in #ifdef
3244 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3245 because it turns out that something is depending on it. Change
3246 suggested by Paul Eggert <eggert@twinsun.com>.
3247
3248 Convert the character \037 (^_) at the beginning of a line into
3249 the character '^' followed by the character '_', because otherwise
3250 Emacs can't parse the resulting file as a valid BABYL file.
3251 Change suggested by Paul Eggert <eggert@twinsun.com>.
3252
32531997-11-22 Richard Stallman <rms@gnu.org>
3254
3255 * b2m.c: Include getopt.h.
3256 (main): Use getopt_long to handle --version and --help.
3257
3258 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3259
32601997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3261
3262 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3263 pointed out by Chiaki Ishikawa.
3264
32651997-10-16 Dave Love <d.love@dl.ac.uk>
3266
ecc54057
JB
3267 * etags.c (L_getit): Always make named tags so that Emacs
3268 completion on symbols containing `:' etc. works.
3269 (get_scheme): Likewise.
362bc2da
DL
3270
32711997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3272
3273 * pop.c: Use system header files instead of declaring C-library
3274 functions explicitly.
3275
32761997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3277
3278 * Version 20.2 released.
3279
32801997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3281
3282 * Version 20.1 released.
3283
32841997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3285
3286 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3287
3288 * ntlib.c (getpid): Delete function.
3289
32901997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3291
3292 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3293
32941997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3295
3296 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3297 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3298
32991997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3300
3301 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3302
33031997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3304
3305 * profile.c (get_time): Cast arg to fprintf.
3306
3307 * hexl.c (main): Use %08lx instead of %08x in printf because the
3308 variable named addresses is long.
3309
33101997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3311
3312 * makefile.nt (lisp): Update paths to lisp files that have moved.
3313
33141997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3315
3316 * makefile.nt (ctags.obj): New target.
3317 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3318
3319 * ntlib.h: Add includes.
3320 Undo definitions of crt routines from config.h.
3321
33221997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3323
3324 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3325
33261997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3327
3328 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3329 Kerberos V5 for movemail, including detection of V4 and V5 header
3330 files and libraries.
362bc2da 3331 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3332 declarations of string functions.
362bc2da 3333 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3334 V5 API rather than the old one.
362bc2da 3335 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3336 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3337 with a constant in a header file.
362bc2da
DL
3338
3339 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3340 Kerberos V5 for movemail, including detection of V4 and V5 header
3341 files and libraries.
362bc2da
DL
3342
33431997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3344
3345 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3346
3347 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3348
362bc2da
DL
33491997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3350
3351 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3352
33531997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3354
3355 * movemail.c (rindex): Add declaration.
3356
d57727c9 33571997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3358
3359 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3360 (movemail.exe): Depend upon and link with getopt files.
3361 (obj): Include new source files.
3362 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3363 (lisp): Include new and reorganized elisp files.
3364
33651997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3366
3367 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3368
33691997-06-25 Paul Eggert <eggert@twinsun.com>
3370
3371 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3372
33731997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3374
3375 * b2m.c (readline): Terminate buffer properly when EOF seen.
3376 Test for valid pointer before dereferencing it.
3377
880820fe 33781997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3379
3380 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3381 defined inside etags.c if HAVE_CONFIG_H is defined.
3382
880820fe 33831997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3384
ecc54057 3385 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3386 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3387 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3388 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3389 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3390 (longopts): New long options without short counterpart are
3391 globals, members, no-globals, no-members. Regexp options are now
3392 defined conditionally to ETAGS_REGEXPS.
3393 (print_help): Updated.
3394
880820fe 33951997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3396
3397 * etags.c (C_entries): Use "." instead of "::" for Java.
3398 (consider_token): is_func renamed to is_func_or_var.
3399 (C_entries): is_func renamed to funorvar.
3400 (C_entries): Initialise tok.named.
3401 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3402 get rid of "import", "package" and "friend".
3403 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3404 users changed.
362bc2da
DL
3405 (C_entries): Make separate tags for variables separated by comma.
3406 (globals, members): New flags.
3407 (main, C_entries): Use them.
3408 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3409
880820fe 34101997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3411
3412 * etags.c (funcdef): New vignore constant.
3413 (consider_token, C_entries): Use it to tag global variables.
3414 (print_help): Update for global variables.
3415 (consider_token, C_entries): Set the len member of token_name.
3416 (prolog_pred): Cleanup according to GNU coding standards.
3417 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3418 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3419
880820fe 34201997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3421
3422 * etags.c (CHARS, CHAR): New constant and macro.
3423 (iswhite, begtoken, intoken, endtoken): Use them.
3424 (notinname, _nin, nonam): New macro, array, string.
3425 (init): Cleanup and init _nin.
3426 (new_pfnote): New function.
3427 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3428 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3429
880820fe 34301997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3431
3432 * etags.c (C_entries, Pascal_functions): Cleanup.
3433 (TeX_functions): NULL as a function arg needs a cast.
3434 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3435
880820fe 34361997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3437
3438 * etags.c (TeX_functions): Cleaned up.
3439 (tex_getit): Removed.
3440
34411997-05-13 Paul Eggert <eggert@twinsun.com>
3442
3443 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3444 non-files within the RCS subdirectory.
362bc2da 3445
880820fe 34461997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3447
3448 * etags.c (C_JAVA): New #define.
3449 (Cjava_suffixes): .java is Java.
3450 (Cjava_entries): New function.
3451 (lang_names): Add Java.
3452 (sym_type): Add st_C_javastruct for Java.
3453 (C_stab_entry): Add `extends' and `implements' keywords.
3454 (consider_token, C_entries): Recognise Java structures.
3455
880820fe 34561997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3457
ecc54057 3458 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3459 (Postscript_suffixes): .ps is Postscript.
3460 (lang_names): Add Postscript.
3461 (Postscript_functions): New function.
3462 (TEX_decode_env): Close minor memory leak.
3463 (just_read_file): Correct the char number of the tag.
3464
34651997-05-11 Paul Eggert <eggert@twinsun.com>
3466
3467 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3468 Don't prepend $nl since this causes some shells to generate the
3469 empty string when IFS is $nl.
362bc2da 3470 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3471 PC-based shells mishandle CR.
362bc2da
DL
3472 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3473 nismatch, in case it's set to some nonstandard value.
1c478461 3474
362bc2da
DL
34751997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3476
3477 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3478 read in separate blocks.
3479
880820fe 34801997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3481
3482 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3483 (struct linebuffer): New member `len' is the length of the string.
3484 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3485 Use it instead of strlen.
3486 (TEX_getit): Declare and define unconditionally as static.
3487 (TeX_functions): Use if instead of #if TeX_named_tokens.
3488 (add_regex): Set RE_INTERVALS flag for regex compilation.
3489 (substitute): Code cleanup.
3490 (readline_internal): Code cleanup, set new member `len'.
3491 (readline): Bug corrected.
3492
34931997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3494
3495 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3496 (obj): Change references of nt*.c files to w32*.c files.
3497
880820fe 34981997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3499
3500 * etags.c (xnew): Add support for debugging with chkmalloc.
3501 (error): Use this instead of printf whenever possible.
3502 (main): Only call xnew after having initialised progname.
3503 (substitute): Bad memory corruption error corrected.
3504
880820fe 35051997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3506
3507 * etags.c (add_regex): Undo previous change.
3508 (relative_filename): Small memory leak closed.
3509 (absolute_filename): Cleaned up the code, possibly closing a bug.
3510 (absolute_dirname): Always return a newly allocated string.
1c478461 3511
362bc2da
DL
35121997-03-21 Paul Eggert <eggert@twinsun.com>
3513
3514 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3515 of the form ,*, or *_; they are probably RCS lock files.
3516 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3517 they are used by rcsfreeze.
3518
880820fe 35191997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3520
2f2c687b 3521 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3522
35231997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3524
3525 * movemail.c (popmail): Remove some unnecessary function
3526 declarations.
3527 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3528 into pop_retr, there's no reason to pass in mbx_write, and the
3529 file argument can be declared FILE * explicitly. This fixes a
3530 compilation problem on systems with 64-bit pointers.
3531
35321997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3533
3534 * movemail.c: Delete duplicate inclusion of fcntl.h
3535 and duplicate #undefs of open, read, write, close.
3536
35371997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3538
3539 * movemail.c (main): Do not display "[POP-password]" in the usage
3540 message when movemail is compiled without POP support.
3541 (main, popmail): Add the optional "-p" argument, which causes
3542 movemail to leave mail in the inbox after copying it into the
3543 output file.
1c478461 3544
362bc2da
DL
3545 * Makefile.in (movemail): Link with getopt.
3546
35471997-01-20 Paul Eggert <eggert@twinsun.com>
3548
ecc54057 3549 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3550 (Copyright, Help, Id): New variables, for above.
3551 (rlog): Use -q option with cvs log, to avoid useless chatter.
3552
3553 Treat logs of "Initial revision" (RCS) or "file F was initially added
3554 on branch B." (CVS) as if they said "New file.", for consistency with
3555 change log entries.
3556
35571997-01-01 Paul Eggert <eggert@twinsun.com>
3558
3559 * vcdiff (PATH): Add /usr/xpg4/bin,
3560 where XPG4 SCCS hangs out in Solaris 2.5.
3561 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3562
35631996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3564
3565 * etags.c (streq, strneq): Use == NULL rather than !.
3566
35671996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3568
3569 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3570 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3571
3572 * movemail.c: Include maillock.h (conditionally).
3573 Remove a redundant inclusion of <stdio.h>.
3574 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3575 (main): Add variable spool_name.
3576 Support the usage of maillock and mailunlock to
ecc54057 3577 lock and unlock mailboxes.
362bc2da
DL
3578 (mail_spool_name): New function.
3579
3580 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3581 movemail to exit with an error status incorrectly on systems which
3582 use lock files rather than a system locking function to lock
3583 mailboxes.
362bc2da
DL
3584
35851996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3586
3587 * pop.c (socket_connection): Free realhost after using it.
3588
880820fe 35891996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3590
3591 * etags.c (C_entries): Test tok.valid. This handles some
3592 particular cases involving function declarations that failed.
3593
35941996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3595
362bc2da
DL
3596 * pop.c (socket_connection):
3597 gethostbyname may return a pointer to static data.
3598 krb_realmofhost can clobber it. So copy it.
3599
880820fe 36001996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3601
3602 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3603 must cast it to (char *) because we have no prototypes.
3604 (make_C_tag): Macro deleted, new function.
3605 (C_entries): Calls to make_C_tag macro changed to call function.
3606
880820fe 36071996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3608
3609 * etags.c (grow_linebuffer): New function.
3610 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3611 (make_tag): Macro renamed to make_C_tag. All callers changed.
3612 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3613 (Prolog_functions): prolog_skip_comment was called with wrong
3614 number of arguments.
3615 (xrealloc): fatal was called with wrong number of arguments
3616
880820fe 36171996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3618
3619 * etags.c (relative_filename): Bug corrected.
3620 (etags_getcwd): Avoid warning of unused variable.
3621 (C_entries, consider_token): Added support for enum labels.
3622
36231996-11-03 Paul Eggert <eggert@twinsun.com>
3624
3625 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3626 repository file names.
362bc2da
DL
3627
36281996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3629
3630 * emacsserver.c: Fix 1996-09-02 change.
3631
36321996-10-12 Paul Eggert <eggert@twinsun.com>
3633
3634 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3635 option', since CVS says 'invalid option'.
362bc2da
DL
3636 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3637 revisions, since some hosts reject 1970-01-01 when east of UTC.
3638 (date): Remove.
3639
36401996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3641
3642 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3643
880820fe 36441996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3645
3646 * etags.c (print_version): Print copyright info.
3647
3648 * etags.c (print_help): Print the bug reporting address.
3649 (main): Use return as the last instruction, instead of exit.
3650
3651 * etags.c (main): Don't open the tags file in cxref mode.
3652
36531996-09-29 Dave Love <d.love@dl.ac.uk>
3654
3655 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3656 as well as earlier CVSs and RCS.
362bc2da
DL
3657
36581996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3659
3660 * movemail.c (main): If the lock call fails with EBUSY or
3661 EAGAIN, retry a few times.
3662
36631996-09-25 Paul Eggert <eggert@twinsun.com>
3664
3665 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3666 whether to append -zLT.
362bc2da
DL
3667
36681996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3669
3670 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3671 * emacsclient.c, movemail.c: Likewise.
3672
36731996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3674
3675 * emacsclient.c (longopts): Change nowait to no-wait.
3676 (print_help_and_exit): Fix option name; upcase metavars.
3677
36781996-09-06 Erik Naggum <erik@naggum.no>
3679
3680 * emacsserver.c (main): Declare `fromlen' as size_t.
3681
36821996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3683
3684 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3685
36861996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3687
3688 * emacsclient.c (quote_file_name): Quote with &, not \.
3689 Quote `-' only at start of file name. Terminate the value string.
3690
3691 * emacsserver.c: Include signal.h properly;
3692 delete the duplicate includes for it.
3693
3694 * emacsserver.c: On fatal signal, delete socket-file:
3695 * emacsserver.c: Include signal.h.
ecc54057 3696 (xmalloc, fatal, error): New functions.
362bc2da
DL
3697 (delete_socket, handle_signals): New functions.
3698 (progname, socket_name): New variables.
3699 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3700
37011996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3702
3703 * emacsclient.c (quote_file_name): New function.
3704 (main, both versions): Use quote_file_name.
3705 (decode_options): Don't return a value.
3706 (main, both versions): Use optind.
3707 Don't check for -nowait here.
1c478461 3708
362bc2da
DL
3709 * emacsclient.c (decode_options): New function.
3710 (main, both versions): Call decode_options.
3711 (print_help_and_exit): New function.
3712 (VERSION): New macro.
3713
3714 * Makefile.in (emacsclient): Link with getopt.
3715 Add -DVERSION so emacsclient knows its version number.
3716
37171996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3718
3719 * makefile.nt (lisp): Include dos-nt.elc.
3720
37211996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3722
3723 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3724
37251996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3726
3727 * emacsclient.c (both versions): Handle -nowait and --nowait
3728 by sending data to the server.
3729
37301996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3731
3732 * Makefile.in (INSTALL_STRIP): New variable.
3733 (${archlibdir}): Use INSTALL_STRIP.
3734
3735 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3736 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3737
3738 * pop.c: Reverse conditional in previous change.
3739
37401996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3741
3742 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3743
37441996-08-24 Paul Eggert <eggert@twinsun.com>
3745
3746 * rcs2log: Use ISO 8601 date format, with time zone appended
3747 if change-log-time-zone-rule is non-nil, instead of
3748 traditional Unix date format.
3749
3750 (datearg): When computing default from ChangeLog, handle ISO format
3751 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3752 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 3753 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
3754 "$datearg" option to $rlog.
3755 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3756 (month_data): Remove `mo'; no longer needed.
10d1d0af 3757 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
3758
3759 Match `revision' line of rlog output more accurately.
3760
3761 Add -c, -v options.
3762
37631996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3764
3765 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3766
37671996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3768
3769 * Version 19.33 released.
3770
37711996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3772
3773 * Version 19.32 released.
3774
37751996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3776
3777 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3778 computing character positions in source files.
3779
37801996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3781
3782 * makefile.nt (clean): Use OBJDIR macro.
3783
37841996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3785
3786 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3787
c60ee5e7 37881996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3789
ecc54057 3790 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3791 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3792 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3793
37941996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3795
3796 * ntlib.h: Correct return type of getwd.
3797 * ntlib.c (getwd): Correct return type.
3798
37991996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3800
3801 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3802 to infile.
3803
38041996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3805
3806 * makefile.nt: Remove all references to wakeup.
3807
880820fe 38081996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3809
3810 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3811 explicit, mutable, typename.
3812
38131996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3814
3815 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3816 streams, one for sending and one for reading the reply.
3817
38181996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3819
3820 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3821 (wakeup): Target deleted.
3822 (UTILITIES): Delete wakeup and timer.
3823
3824 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3825
38261996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3827
3828 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3829 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3830
38311996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3832
3833 * etags.c (main): Copy cwd when appending slash.
3834
38351996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3836
3837 * Version 19.31 released.
3838
880820fe 38391996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3840
3841 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3842 (Pascal_functions): Increase linecharno by the correct number of
3843 chars, inline the GET_NEW_LINE macro and delete its definition.
3844
c60ee5e7 38451996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3846
3847 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3848
c60ee5e7 38491996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3850
3851 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3852 (movemail.exe, fakemail.exe): Now built under Win32.o
3853
3854 * ntlib.c: Include ntlib.h.
3855 (nt_sleep): Rename to sleep.
3856 (getwd): Return directory.
3857 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3858 sys_ctime, sys_fopen): New functions.
3859
3860 * ntlib.h: New file.
3861
38621996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3863
3864 * pop.c (SEND, RECV): Renamed from send, recv.
3865 (pop_open, pop_trash): Make the trash_started code unconditional.
3866 (socket_connection): Delete casts to void.
3867
38681996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3869
3870 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3871 copied from lisp.h.
3872
38731996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3874
3875 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3876
3877 * hexl.c [DOSNT]: Include fcntl.h.
3878 [WINDOWSNT]: Include io.h.
3879 (main) [MSDOS]: Change conditional to DOS_NT.
3880
3881 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3882 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3883 [WINDOWSNT]: Include locking.h.
3884 (main): Update usage message. Use IS_DIRECTORY_SEP.
3885 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3886 (main) [WINDOWSNT]: Invoke locking instead of flock.
3887 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3888 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3889 Include winsock.h; don't include unix inet headers.
3890 (popmail): Add password argument and pass it to pop_open.
3891 Open output file in binary mode.
3892
3893 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3894 Macro SOCKET_ERROR undefined.
362bc2da
DL
3895 Don't declare h_errno.
3896 [!WINDOWSNT]: Define macros recv and send.
3897 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3898 (pop_open) [WINDOWSNT]: Initialize trash_started.
3899 (have_winsock) [WINDOWSNT]: New variable.
3900 (socket_connection) [WINDOWSNT]: Initialize winsock.
3901 (socket_connection): Use closesocket instead of close.
3902 (getline): Use recv instead of read.
3903 (fullwrite): Use send instead of write.
3904 (pop_trash): Use closesocket instead of close.
3905 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3906 Check if being called recursively by sendline.
3907
3908 * pop.h (struct _popserver): New field trash_started.
3909
3910 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3911
39121996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3913
3914 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3915
39161996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3917
3918 * etags.c [WINDOWSNT]: Include io.h.
3919
39201996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3921
3922 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3923
39241996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3925
3926 * hexl.c [DJGPP v2]: Include io.h.
3927 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3928
3929 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3930 DJGPP v2.
3931
39321996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3933
3934 * etags.c (absolute_filename): Use absolutefn.
3935
39361996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3937
3938 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3939 letter isn't an alphabetic character.
3940 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3941 (process_file) [DOS_NT]: Convert all slashes to forward style.
3942 (absolute_filename) [DOS_NT]: Emit error message for relative
3943 paths with a drive letter.
3944 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3945 DOS/NT drive letters which try to reference the parent of the root.
3946 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3947
39481996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3949
3950 * makefile.nt: Change uses of del to $(DEL).
3951
880820fe 39521996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3953
3954 * etags.c (just_read_file): Reset lineno and charno on entry.
3955
39561996-03-15 Anders Lindgren <andersl@csd.uu.se>
3957
3958 * etags.c: Prolog language totaly rewritten.
ecc54057 3959 (Prolog_functions): Rewritten from scratch.
362bc2da 3960 (skip_comment, prolog_getit): Removed.
ecc54057
JB
3961 (prolog_skip_comment): New function, like old skip_comment.
3962 (prolog_pred, prolog_atom, prolog_white): New functions.
3963 (erlang_func, erlang_attributes): Forward declarations added.
3964 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 3965
880820fe 39661996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3967
3968 * etags.c (absolutefn): DOS_NT version corrected.
3969 (main): Append "/" to the dir name only if not already there.
3970 (print_help): Explain the absolute/relative file name issue.
1c478461 3971
362bc2da
DL
39721996-03-08 Anders Lindgren <andersl@csd.uu.se>
3973
10d1d0af
JB
3974 * etags.c: New Language Erlang added.
3975 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
3976 (erlang_white): New functions.
362bc2da
DL
3977 (Erlang_suffixes): New suffix list.
3978 (lang_names): Erlang entry added.
3979 (prolog_getit): Accepts headers spanning several lines.
3980 Always name tags.
3981 (Prolog_functions): Removed incorrect compensation for
3982 newline characters.
3983 (readline_internal): Zero-terminate last line.
3984
39851996-03-20 Mike Long <mike.long@analog.com>
3986
3987 * b2m.c (main): Initialize progname variable before using it.
3988 Quote `username' in From_ header.
3989
39901996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3991
3992 * ntlib.c (getpid): New function.
3993
39941996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3995
3996 * emacsclient.c (main, both definitions):
3997 Print a newline for normal termination.
3998
39991996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4000
4001 * tcp.c (main): Convert port to network byte order.
4002
40031996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4004
4005 * pop.c (pop_retrieve, getline): Avoid type clashes.
4006
40071996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4008
4009 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4010
40111996-01-15 Paul Eggert <eggert@twinsun.com>
4012
4013 * rcs2log (initialize_fullname): Add support for NIS+.
4014 (hostname): Fully qualify the default hostname with the domainname
4015 if the hostname lacks a `.'.
4016
362bc2da
DL
40171996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4018
4019 * etags.c (consider_token): Fix typo in expression.
4020
40211996-01-04 Paul Eggert <eggert@twinsun.com>
4022
4023 * etags.c (substitute): Fix spelling in message.
4024
40251996-01-03 George V. Reilly <georger@microcrafts.com>
4026
4027 * makefile.nt (etags, ctags): Compile with regexp support.
4028 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4029 subdirectory exists before compiling.
1c478461 4030
362bc2da
DL
40311996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4032
4033 * emacsserver.c (main): Do chmod based on existing permission.
4034
40351995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4036
4037 * Makefile.in (install): Turn on read/execute permission.
4038
40391995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4040
4041 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4042 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4043
40441995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4045
4046 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4047
880820fe 40481995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4049
4050 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4051 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4052 get_scheme, prolog_getit): Name the tag in ctags mode.
4053 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4054 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4055 (suggest_asking_for_help): New function.
4056 (main, get_language_from_name): Use suggest_asking_for_help.
4057 (main): Let get_language_from_name make language existence check.
4058 (streq, strneq): Check the arguments #if DEBUG.
4059
880820fe 40601995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4061
4062 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4063 (gperf): Added keywords for Objective C and GNU macros.
4064 (sym_type): Added values to account for Objective C and GNU macros.
4065 (begtk): The '@' character can start a token.
4066 (objdef, methodlen, objtag): New variables for Objective C.
4067 (consider_token, C_entries): Added code for Objective C.
4068 (plain_C_suffixes): Add .m and .lm for Objective C.
4069 (Yacc_suffixes): Add .ym for Objective yacc.
4070 (GROW_LINEBUFFER): New macro.
4071 (consider_token, C_entries, Pascal_functions): Use the new macro.
4072 (consider_token): Take one more argument. Caller changed.
4073 (consider_token): Use the hashing function to spot GNU macros.
4074 (C_entries): Consider // as a comment start even in plain C for
4075 the sake of Objective C parsing.
4076
880820fe 40771995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4078
2f2c687b 4079 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4080 compile with regexp support enabled.
362bc2da
DL
4081
40821995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4083
4084 * Version 19.30 released.
4085
40861995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4087
4088 * makefile.nt (DOC, clean): Don't use switches to del not
4089 supported by Windows 95.
4090
40911995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4092
4093 * Makefile.in (regex.o): Depend on ../src/config.h.
4094
40951995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4096
4097 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4098 (LOADLIBES): Use LIB_STANDARD.
4099
41001995-11-07 Kevin Gallo <kgallo@microsoft.com>
4101
4102 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4103 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4104 Windows 95 conditional.
4105
880820fe 41061995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4107
4108 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4109 get_lang_from_suffix): New functions.
4110 (get_language): Function deleted.
4111 (lang_entry): Two members added to struct.
4112 (lang_names): Reflect the new layout of lang_entry.
4113 (print_language_names, main, find_entries): Use the new functions.
4114 (find_entries): Look at the first line for #! if no language.
4115 (C_entries): Invalidate the token when funcdef is reset.
4116 (Perl_functions): New function.
4117 (lang_suffixes): .pl and .pm are Perl suffixes.
4118
880820fe 41191995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4120
4121 * etags.c (lowcase): Use the standard tolower function.
4122 (substitute): Remove some wrong and some useless code related with
a64387ee 4123 escape '\' character in regexp replacement string.
362bc2da
DL
4124 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4125 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4126 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4127 .prolog for prolog (.pl removed).
4128 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4129 (C_entries, find_entries): Added comments about memory leakage.
4130 (add_node): Dead code removed.
4131
41321995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4133
4134 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4135 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4136
41371995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4138
4139 * test-distrib.c: Add #undef for open, close, read, write.
4140
41411995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4142
4143 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4144 [! O_RDONLY]: Define it to zero.
4145 (main): Use O_RDONLY instead of explicit zero.
4146
880820fe 41471995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4148
4149 * etags.c (Pascal_functions): Close comment bug corrected.
4150 (add_node): Correctly compare node file names.
4151 (Pascal_functions): Correctly allocate and free memory for tline.
4152 (pfnote): Put the definition of fp in the innermost block.
4153 (NODE): `named' member removed.
4154 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4155 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4156 (pfnote): `named' argument removed, all callers changed.
4157 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4158 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4159 removed from pfnote call, some code cleanup.
362bc2da
DL
4160 (relative_filename): Free temporary space allocated by concat.
4161
41621995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4163
4164 * Makefile.in (getdate.c): New target.
4165 (getdate.o): Just compile getdate.c.
4166
41671995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4168
4169 * fakemail.c (xrealloc): Change cast to match return type.
4170
41711995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4172
4173 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4174
41751995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4176
4177 * movemail.c (main): Fix previous change.
4178 Add error check for empty OUTNAME.
4179
41801995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4181
4182 * movemail.c (main): Mention lock file name in error message.
4183
41841995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4185
4186 * profile.c (gettimeofday): New function, defined if necessary.
4187
41881995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4189
4190 * Makefile.in: Renamed from Makefile.in.in.
4191 (distclean): Delete Makefile.c, not Makefile.in.
4192
41931995-07-17 Michael Shields <shields@tembel.org>
4194
4195 * Makefile.in.in (tags): Synonym for `TAGS'.
4196
41971995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4198
4199 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4200 configure has already set $(INSTALL) to the proper relative path.
4201
880820fe 42021995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4203
2f2c687b
JB
4204 * etags.c (plain_C_entries): New function.
4205 (lowcase): New macro.
4206 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4207 (lang_suffixes): New suffix ".pc" for Pro*C files.
4208 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4209 (tail): Look for the end of the token when comparing.
4210 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4211
42121995-07-08 Paul Eggert <eggert@twinsun.com>
4213
4214 * rcs2log (datearg): Separate date from time with comma, not space,
4215 to work around CVS 1.5 bug.
4216 (CVSROOT): Don't abort when unset if repository is absolute.
4217
42181995-07-07 Paul Eggert <eggert@twinsun.com>
4219
4220 * rcs-checkin, rcs2log, vcdiff:
4221 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4222 that interpret `#! /' as a 4-byte magic number.
4223
42241995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4225
4226 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4227 mailbox with "po:mailbox", the mailbox is everything after the
4228 "po:" prefix.
4229
42301995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4231
4232 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4233 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4234
42351995-06-28 Paul Eggert <eggert@twinsun.com>
4236
4237 * rcs2log (CVSROOT, repository):
4238 Allow remote repositories a la CVS 1.4.
4239
880820fe 42401995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4241
2f2c687b
JB
4242 * etags.c (plain_C_entries): New function.
4243 (lowcase): New macro.
4244 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4245 (lang_suffixes): New suffix ".pc" for Pro*C files.
4246 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4247 (tail): Look for the end of the token when comparing.
4248 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4249
42501995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4251
4252 * movemail.c (main): Add newline in usage message.
4253
42541995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4255
4256 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4257
880820fe 42581995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4259
4260 * etags.c (find_entries): Rewind before rereading the input file.
4261
42621995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4263
4264 * Version 19.29 released.
4265
4266 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4267 This undoes part of the previous change.
4268
42691995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4270
4271 * make-docfile.c (main): On MSDOS, don't change stdout
4272 to binary, and insist on an -o option.
4273
42741995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4275
4276 * etags.c (process_file,absolute_filename): Handle filenames
4277 starting with a drive letter.
4278
4279 * makefile.nt (install): Copy wakeup.exe properly.
4280
42811995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4282
4283 * make-docfile.c [MSDOS]: #undef chdir.
4284
42851995-06-04 Paul Eggert <eggert@twinsun.com>
4286
4287 * rcs2log (output_authors): Allow ':' in time zone,
4288 as per ISO 8601 and RCS 5.6.8 beta.
4289
880820fe 42901995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4291
4292 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4293 compatibility problems.
4294
42951995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4296
4297 * etags.c (etags_getcwd): Don't use #elif.
4298 Have just one function body.
4299
43001995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4301
4302 * makefile.nt (LIBS): Use BASE_LIBS.
4303 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4304 upon LIBS.
4305 (DOC): Use del instead of rm.
4306 (DOC) [WINDOWS95]: Use DOC.
4307 (clean): Handle MSVC aux files.
4308 (config.h,paths.h): Use $(CP) instead of cp.
4309 (config.h): Use $(CONFIG_H)
4310 (make-docfile.obj): Depend upon config.h.
4311 Clean up comments.
4312
880820fe 43131995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4314
4315 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4316 former gives the true path even in the presence of simlinks.
4317
43181995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4319
4320 * movemail.c (main): Increase lock timeout to five minutes.
4321
43221995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4323
4324 * makefile.nt (obj): Use .c files.
4325
43261995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4327
4328 * make-docfile.c: Include config.h.
4329 (NO_SHORTNAMES): New definition.
4330 (xmalloc): Return long *.
4331
4332 * etags.c (C_entries): Cast result of xrealloc.
4333 (xmalloc, xrealloc): Declare them to return long *.
4334
4335 * b2m.c (xmalloc, xrealloc): Declare them long *.
4336
4337 * movemail.c (xmalloc): Declare it to return long *.
4338
43391995-04-30 Paul Eggert <eggert@twinsun.com>
4340
4341 * rcs2log (datearg): If rlog options are specified explicitly,
4342 omit the implicit '-d>DATE' option.
4343 (repository, rlog): Allow absolute paths to CVS repositories.
4344 Look only at the first line of CVS/Repository.
4345
43461995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4347
4348 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4349 realclean.
4350
43511995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4352
4353 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4354 Alternative (empty) definitions.
4355
43561995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4357
4358 * emacsclient.c (main): Add argv[0] to an error message.
4359
43601995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4361
4362 * emacsclient.c (main): Improve error handling.
4363 * cvtmail.c (main, skip_to_lf): Improve error handling.
4364 (sysfail): New function.
4365
4366 * b2m.c (main): Check for trailing ", " before trying to delete it.
4367
43681995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4369
4370 * Makefile.in.in (all): Build test-distrib and make-docfile.
4371
4372 * make-docfile.c (scan_c_file): At end, restore file name last char
4373 to its original value.
4374
43751995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4376
4377 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4378
43791995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4380
4381 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4382 (alloca.o, regex.o): Use BASE_CFLAGS.
4383
43841995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4385
4386 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4387
43881995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4389
4390 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4391 (SOURCES, distclean): Removed obsolete references to aixcc.
4392
43931995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4394
4395 * aixcc.lex: File deleted--surely obsolete now.
4396
43971995-03-23 Paul Eggert <eggert@twinsun.com>
4398
4399 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4400 portability to mawk and nawk.
4401
44021995-03-21 Paul Eggert <eggert@twinsun.com>
4403
4404 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4405 -u "login<tab>fullname<tab>mailaddr".
4406
44071995-03-21 Paul Eggert <eggert@twinsun.com>
4408
4409 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4410 replaces the (now obsolescent) -n login fullname mailaddr option.
4411 Add -R option for recursive rlog.
07655e62 4412 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4413 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4414 Quote authors and fullnames correctly.
4415 Don't omit path from repository root when logging CVS files.
4416
44171995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4418
4419 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4420 even if HAVE_SYSVIPC.
4421 * emacsclient.c (main): Use getcwd if not BSD.
4422
880820fe 44231995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4424
2f2c687b 4425 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4426 (readline_internal): Do not access the char before start of line.
4427
880820fe 44281995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4429
4430 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4431 savetok.valid. Mark token as valid when it is initialised.
4432 (make_tag): Make token only if token is valid and reset validity.
4433 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4434 (TOKEN): Added a new member: valid.
4435
880820fe 44361995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4437
4438 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4439 (main): Do not read twice the last filename in the stdin file list.
4440
880820fe 44411995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4442
4443 * etags.c (C_entries): Initialise the new members of TOKEN.
4444 (C_entries): Do not allocate a new space for each token found by
4445 consider_token. Let make_tag do that instead.
4446 (make_tag): Since now TOKEN has memory of where it is taken from,
4447 this new macro substitutes both make_tag_from_new_lb and
4448 make_tag_from_oth_lb. All callers changed.
4449 (TOKEN): Add linepos and buffer members.
4450 (main): Initialise token_str.
4451 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4452 (token_str): New global variable used by C_entries.
4453
44541995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4455
4456 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4457
880820fe 44581995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4459
4460 * etags.c (pfnote): Initialise been_warned in the node.
4461 (C_entries): Removed a speed hack for the sake of clarity.
4462
880820fe 44631995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4464
4465 * etags.c (longopts, print_help, main): Use -I as abbreviation
4466 for the --ignore-indentation option.
4467 (main): Do not print an error message for unknown options.
4468
880820fe 44691995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4470
4471 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4472 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4473 constantypedefs, update, vgrind_style, no_warnings,
4474 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4475 (permit_duplicates): Was a var, now a #define.
4476 (filename_lb): Was global, now local to main.
4477 (main): Open the tag file when in cxref mode.
4478 Use a BUFSIZ size buffer for making the shell commands.
4479 Look at the return value from the system routine.
4480 Exit when cannot open the tag file.
4481 (process_file): Open the file and pass the FILE* to find_entries.
4482 (find_entries): Now void, because does not open the file itself.
4483 (pfnote): Recovering from lack of memory does not work. Removed.
4484 Use savenstr and simplify the code.
4485 (free_tree): Only free the name space if node is named.
4486 (structtag): Now a pointer, not a fixed length array of chars.
4487 (consider_token): Don't take a token as argument. Use savenstr
4488 when saving a tag in structtag. Callers changed.
4489 (TOKEN): Structure changed. Now used only in C_entries.
4490 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4491 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4492 (pfcnt): Deleted. Users updated.
4493 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4494 TEX_getit, prolog_getit): Use dinamic allocation for storing
4495 the tag instead of a fixed size buffer.
4496
44971995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4498
4499 * movemail.c (main): Skip past the colon in inname.
4500
880820fe 45011995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4502
4503 * etags.c (pfatal): New function.
4504 (main, etags_getcwd): Use pfatal.
4505 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4506
880820fe 45071995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4508
4509 * etags.c (Lang_function): Use void instead to declare the
4510 language functions, because many compilers are buggy.
4511 (etags_getcwd): Fix the previous fix on the #else branch.
4512 (readline_internal): Discard possible \r before \n here.
4513 (C_entries): Do not deal with \r here: undo previous fix.
4514
880820fe 45151995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4516
4517 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4518 functions and a macro that allow the program to work on input
4519 lines of whatever length. Copied from etags.c.
4520 (fatal): Print a fatal error message and exit.
4521 (main): Use the new functions. Fixed a bug that made a \037 char
4522 appear at the end of the output.
4523
45241995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4525
4526 * etags.c (C_entries): Ignore carriage return at end of line.
4527
45281994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4529
4530 * fakemail.c (xmalloc, xrealloc): Add casts.
4531 (add_field): Handle <...> and "..." syntax.
4532 (setup_files, get_keyword): Clean up parens and line breaks.
4533 (args_size): Likewise.
4534
45351994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4536
4537 * yow.c: Include program name in error messages.
4538
45391994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4540
4541 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4542 (xmalloc, fatal, error): New functions.
4543 (progname): New variable.
4544 (main): Set progname.
4545
45461994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4547
4548 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4549 (main): If socket/mqueue name is in home dir, add in the host name.
4550 Rename .emacs_server to .emacs-server....
4551
45521994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4553
4554 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4555
880820fe 45561994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4557
2f2c687b
JB
4558 * etags.c (print_help): Print --regex usage for ctags also.
4559 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4560
880820fe 45611994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4562
4563 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4564 is compiled if this is defined. The new functions and variables
4565 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4566 [VMS]: All VMS specific code previously contained in
4567 etags-vmslib.c is now included here, modified for dealing with
4568 language and regex options intermixed with filenames.
4569 (header_file): Global variable deleted.
4570 (Lang_Function): New typedef. All language parser functions
4571 changed to this new type.
4572 (string_numeric_p, substr, prestr): Functions deleted.
4573 (readline_internal): Does the job that readline did previously.
4574 (longopts): --language and --regex options added.
4575 (lang_names, lang_extensions, lang_func, print_language_names):
4576 New structures, variables and functions for choosing languages.
4577 (print_help): Help strings updated. Calls print_language_names.
4578 (argument_type, ARGUMENT): Typedefs for dealing with language and
4579 regex options intermixed with filenames.
4580 (main): Changed the way of dealing with arguments on the command
4581 line to deal with language and regex options intermixed with
4582 filenames.
4583 (get_language, default_C_entries, Cplusplus_entries,
4584 Cstar_entries, Yacc_entries, just_read_file): New functions.
4585 (find_entries): Use the new method for choosing the language.
4586 (Pascal_functions): Allow intermixing of comment styles.
4587 (prolog_getit, skip_comment): Rewritten for speed.
4588 (readline): Rewritten to deal with regexps.
4589
880820fe 45901994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4591
4592 * etags.c (<errno.h>): #include added.
4593 (etags_getcwd): Check return value from getcwd.
4594
45951994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4596
4597 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4598 (get_time): Use EMACS_SUB_TIME.
4599
d57727c9 46001994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4601
4602 * ntlib.c: New file.
4603 * makefile.nt: New file.
4604
4605 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4606 [WINDOWSNT]: Include the NT headers.
4607 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4608
4609 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4610 [WINDOWSNT]: Include some NT headers.
4611
46121994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4613
4614 * pop.c (getline): When a search of already-read input for CRLF
4615 fails, store the fact that we've searched it and don't search it
4616 again after reading more data.
4617
4618 * pop.c (getline): When determining whether or not it's necessary
4619 to grow the input buffer, take into account the null that's stored
4620 at the end of already-read input in the buffer.
4621
880820fe 46221994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4623
2f2c687b 4624 * etags.c (prestr, substr): Return a logical type.
362bc2da 4625 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4626 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4627 (C_entries): Now we can use Tom Hageman patch for extern "C".
4628
46291994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4630
4631 * movemail.c: PopServer renamed to popserver throughout.
4632
46331994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4634
4635 * etags.c: Don't declare malloc, since we include config.h.
4636 * fakemail.c: Likewise.
4637
46381994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4639
4640 * movemail.c: Don't declare malloc.
4641
46421994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4643
4644 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4645 avoid syntax error.
362bc2da
DL
4646
46471994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4648
4649 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4650 defined, and if HAVE_CONFIG_H isn't defined, define
4651 MAIL_USE_POP always (so that this file can be included in
4652 other programs besides emacs).
4653
4654 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4655 HAVE_CONFIG_H isn't defined.
4656
4657 * pop.c (find_crlf, getline): Instead of using strstr, use a
4658 custom function for finding CRLF.
4659 (my_strstr): Function deleted.
4660
46611994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4662
4663 * pop.c (getline): Fix a segfault because of passing a
4664 non-null-terminated string into strstr(). Fix from
4665 djm@va.pubnix.com (David J. MacKenzie).
4666
4667 * pop.c: Don't include <string.h> and <strings.h>.
4668
4669 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4670 should be interchangeable, and indeed the inclusion is done in
4671 both orders in various files in the Kerberos 4 library sources,
4672 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4673 requires that <des.h> be included first, and I don't see any harm
4674 in changing the order.
4675
4676 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4677 STDC_HEADERS, if they're defined. Undef open, read, write and
4678 close after including it.
4679
46801994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4681
4682 * pop.c: Fix mismatch in conditionals.
4683
4684 * make-docfile.c (main): Don't process one input file twice.
4685 Never use exit code > 1.
4686
4687 * pop.c (open, close, read, write): Add #undefs.
4688
4689 * pop.c: Don't declare malloc, realloc, free.
4690 Include ../src/config.h.
4691 Don't include string.h or strings.h.
4692 Include des.h before krb.h.
4693 Do declare my_strstr.
4694 (getline): Really use my_strstr.
4695 Leave one empty place in server->buffer,
4696 and put a null at the end of the data in it.
4697
46981994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4699
4700 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4701 call kill with pid 0. Handle EINTR when receiving messages.
4702
47031994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4704
4705 * Makefile.in.in (regex.o): Use full path to find regex.c.
4706
880820fe 47071994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4708
2f2c687b
JB
4709 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4710 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4711
47121994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4713
4714 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4715 (${archlibdir}): Use mkinstalldirs instead.
4716
4717 * movemail.c: Make functions that return nothing void, not
4718 implicitly int.
4719 (main): Improve usage message.
4720 (error): Write to stderr, not stdout.
4721
4722 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4723 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4724 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4725 variables and implicitly declared functions.
4726
47271994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4728
4729 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4730 (distclean): Not here.
4731
4732 * Makefile.in.in (libexecdir): Renamed from libdir.
4733
880820fe 47341994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4735
4736 * etags.c (C_entries): Name the #define's that are macros.
4737
47381994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4739
4740 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4741 fd_set arg is a pointer, descriptor arg comes first.
4742
880820fe 47431994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4744
4745 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4746 (C_entries): Recognise #define inside a struct.
4747 (C_entries): ANSI tells that preprocessor commands do not have to
4748 start on the first column.
4749 (print_help): Documentation corrected for -d and -D.
4750 (white, endtk): ANSI tells the vertical tab is a separator.
4751
47521994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4753
4754 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4755 (pop.o, movemail.o): New targets.
4756 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4757
4758 * pop.c, pop.h: New files.
4759
4760 * movemail.c: Improve POP code, move most of it into a separate file.
4761 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4762 (mbx_write): Check for errors and for From line.
4763 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4764 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4765 (pop_init): Functions deleted.
4766
47671994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4768
4769 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4770 Rename path to dirname.
4771
47721994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4773
4774 * Makefile.in.in (UTILITIES):
4775 Remove test-distrib, make-docfile, make-path.
4776 (DONT_INSTALL): New variable--list those files here.
4777 (clean): Delete the files in DONT_INSTALL.
4778
47791994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4780
4781 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4782 (main): Use fgets, not gets.
4783
47841994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4785
4786 * timer.c: Don't declare malloc.
4787
47881994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4789
4790 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4791 defined, use simple 32-bit versions of these macros.
4792 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4793
c60ee5e7 47941994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4795
4796 * etags.c (etags_getcwd): Use getcwd if available.
4797
47981994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4799
4800 * Version 19.27 released.
4801
48021994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4803
4804 * Version 19.26 released.
4805
48061994-08-15 Paul Eggert <eggert@twinsun.com>
4807
4808 * rcs2log: Add support for CVS.
4809 Work with `rlog's that output ISO 8601 dates.
4810
48111994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4812
4813 * rcs2log: Use <> to delimit email address.
4814
48151994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4816
4817 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4818 so we can listen for multiple requests.
4819
48201994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4821
4822 * movemail.c: Include config.h first thing.
4823
48241994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4825
4826 * emacsserver.c (main): Add casts to avoid warnings.
4827
48281994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4829
4830 * Makefile.in.in (${archlibdir}): Compare the proper dir
4831 before installing the scripts.
4832
48331994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4834
4835 * emacsclient.c (main): New local var progname saves argv[0].
4836
48371994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4838
4839 * emacsclient.c (main): Don't actually modify argv[0].
4840 Modify a copy instead.
4841
48421994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4843
4844 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4845 (tzp): Var deleted.
4846
4847 * Makefile.in.in: Add #undef alloca.
4848
48491994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4850
4851 * timer.c (xmalloc): New function.
4852
48531994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4854
4855 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4856 (alloca.o): New target.
4857
48581994-07-08 Dave Love (d.love@dl.ac.uk)
4859
2f2c687b 4860 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 4861
880820fe 48621994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4863
ecc54057
JB
4864 * etags.c (main): Don't barf on obsolete -t and -T switches.
4865 (main): Print an explicative message when a switch is not known.
362bc2da
DL
4866
48671994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4868
4869 * hexl.c: Don't declare exit or perror.
4870
4871 * emacsserver.c (main): Don't declare geteuid.
4872 Don't declare getenv if convex.
4873
48741994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4875
4876 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4877
880820fe 48781994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
4879
4880 * etags.c (absolute_filename): Remove infinite loop bug when
4881 accessing files in directories whose name begins with a dot.
4882
880820fe 48831994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
4884
4885 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4886
48871994-06-01 Morten Welinder (terra@diku.dk)
4888
4889 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4890 location of data directory.
4891
48921994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4893
4894 * Version 19.25 released.
4895
48961994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4897
4898 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4899
49001994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4901
4902 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4903
49041994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4905
4906 * Version 19.24 released.
4907
49081994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4909
4910 * make-docfile.c (write_c_args): Put `default' in upper case.
4911
49121994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4913
4914 * etags.c (etags_getcwd): Cast result of popen.
4915 (popen): Declaration deleted.
4916
49171994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4918
4919 * etags.c [!MSDOS]: Declare popen.
4920
49211994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4922
4923 * b2m.c (main): Avoid crash if argc is 1.
4924
49251994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4926
4927 * Version 19.23 released.
4928
4929 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4930
49311994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4932
4933 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4934
49351994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4936
4937 * Makefile.in.in: Fix out of date comment.
4938
49391994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4940
4941 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4942 Move all autoconf substitutions above that point.
4943 Above that point, use Make-style comments.
4944 This goes with changes in ../configure.in.
4945
49461994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4947
4948 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4949 warning message.
4950 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4951
49521994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4953
4954 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4955
49561994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4957
4958 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4959 print advice to run it, if it has anything significant to do.
4960 And only if MOVEMAIL_NEEDS_BLESSING.
4961 (blessmail): Use emacs, not temacs.
4962 (configuration): Renamed from configname.
4963
49641994-04-30 Morten Welinder (terra@diku.dk)
4965
4966 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4967
49681994-04-30 Morten Welinder (terra@diku.dk)
4969
4970 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4971 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4972 a shell.
4973
49741994-04-29 Morten Welinder (terra@diku.dk)
4975
4976 * hexl.c [MSDOS]: Don't define proto type for exit.
4977
49781994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4979
4980 * b2m.c: Don't include string.h or strings.h.
4981
49821994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4983
4984 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4985 symbols, not make variables.
4986
49871994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4988
4989 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4990 * etags.c (print_version): Print VERSION as a string.
4991
49921994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4993
4994 * fakemail.c (readline): Fix updating of p when buffer grows.
4995
49961994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4997
4998 * Makefile.in.in (blessmail): New target.
4999 ${archlibdir}: Use blessmail when installing movemail.
5000
50011994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5002
5003 * fakemail.c (readline): When extending the buffer,
5004 calculate end afresh using the new size.
5005
880820fe 50061994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5007
2f2c687b 5008 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5009
880820fe 50101994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5011
2f2c687b 5012 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5013
50141994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5015
5016 * Makefile.in.in: Renamed from Makefile.in.
5017 Makefile.in is now generated from it, and then preprocessed.
5018 Change comments to C syntax.
5019 Include config.h.
5020 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5021 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5022
50231994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5024
5025 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5026
880820fe 50271994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5028
5029 * etags.c (etags_getcwd): Initialize bufsize.
5030
50311994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5032
5033 * profile.c (gettimeofday): If system doesn't have this, define it
5034 to give a fatal error.
5035
50361994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5037
5038 * movemail.c (main): Use setuid, not seteuid.
5039
50401994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5041
5042 * etags.c: #undef static.
5043
880820fe 50441994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5045
2f2c687b
JB
5046 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5047 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5048 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5049 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5050 TeX_functions, Prolog_functions.
2f2c687b
JB
5051 (inf): No more a global variable.
5052 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5053 (find_entries): Added the cp1 var for optimisation.
5054 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5055 (Asm_funcs): Now finds labels even without an ending colon.
5056
880820fe 50571994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5058
2f2c687b
JB
5059 * etags.c (main): Use etags_getcwd for compatibility.
5060 (etags_getcwd): New function.
362bc2da
DL
5061
50621994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5063
5064 * Makefile.in (etags, ctags): Pass -D for VERSION.
5065
880820fe 50661994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5067
2f2c687b
JB
5068 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5069 (main): Don't allow the use of -t and -T in etags mode.
5070 (print_help): Don't show options enabled by default.
5071 (print_version): Show the emacs version number if VERSION is #defined.
5072 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5073
880820fe 50741994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5075
2f2c687b 5076 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5077 (relative_filename, absolute_filename, absolute_dirname):
5078 functions added to compute filenames in tags files.
2f2c687b 5079 (process_file): Filenames in tags file are relative to the
362bc2da 5080 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5081 (main): Initialise the outfiledir var.
5082 (TYPEDST): Added the `tignore' value.
5083 (C_entries): Corrected various small bugs.
362bc2da
DL
5084
50851994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5086
5087 * Makefile.in (UTILITIES): `env' deleted.
5088 (env): Target deleted.
5089 * env.c: File deleted.
1c478461 5090
362bc2da
DL
50911994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5092
5093 * Makefile.in (install, ${archlibdir}): Switch back to ..
5094 before running INSTALL_PROGRAM.
5095
880820fe 50961994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5097
2f2c687b
JB
5098 * etags.c (TYPEDST): Added the `tignore' value.
5099 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5100 `extern "C" {' construction (patch by Tom R.Hageman).
5101
51021994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5103
5104 * b2m.c: Use <...> to include config.h.
5105 Don't include stdlib.h.
5106
177c0ea7 51071994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5108
5109 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5110 Allow for text following "BABYL OPTIONS:".
5111 Add --help option. Use argv[0] in error messages.
5112
51131994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5114
5115 * emacsclient.c (main) [HAVE_SYSVIPC]:
5116 Make msgp->mtext longer if necessary.
5117 On HPUX, error if it's more than 512 chars.
5118
51191994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5120
5121 * etags-vmslib.c: Use GPL.
5122 * emacstool.c: Use GPL.
5123 * fakemail.c: Update GPL.
5124
5125 * make-path.c (main): Return 1 on error, not -1.
5126 Update GPL.
5127
5128 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5129 (xmalloc, xrealloc): Return char *, not int.
5130 (error): Write to stderr, not stdout.
5131 Update GPL.
5132
51331994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5134
5135 * profile.c (main, get_time): Don't crash on invalid input.
5136
51371994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5138
5139 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5140 (main): Exit on EOF.
362bc2da 5141
880820fe 51421994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5143
a64387ee 5144 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5145
51461994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5147
5148 * fakemail.c (put_line): Don't break the line if it all fits.
5149
880820fe 51501994-02-14 Francesco Potortì (pot@fly)
362bc2da 5151
2f2c687b
JB
5152 * etags.c (absolute_pathnames, cwd): Added global vars.
5153 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5154 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5155 (print_help): Alphabetically order the options.
2f2c687b 5156 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5157
51581994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5159
5160 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5161 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5162
51631994-02-07 Christian Lynbech (lynbech@avignon)
5164
5165 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5166
51671994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5168
5169 * Makefile.in (UTILITIES): Mention profile.
5170 (profile): New target.
5171
5172 * profile.c: New file.
5173
51741994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5175
88c71720 5176 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5177 Lisp docstrings do.
88c71720 5178 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5179 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5180 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5181
880820fe 51821994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5183
5184 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5185 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5186 Use gperf generated hash table instead of linked list.
2f2c687b 5187 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5188 Mostly code generated by gperf.
2f2c687b
JB
5189 (consider_token): Removed unused parameter `lp'.
5190 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5191 to span multiple lines.
2f2c687b
JB
5192 (C_entries): Check for newline if inchar to avoid bus errors.
5193 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5194 and not regular file.
5195
51961994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5197
5198 * timer.c: Include errno.h; don't include fasync.h.
5199 (schedule): Don't return a value.
5200 (sigcatch): Reestablish the handler first.
5201 (getevent): Always call notify at the end.
5202 (notify): Defer alarms around the whole body of function.
5203
52041994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5205
5206 * timer.c (main): Don't request SIGIO, and don't handle it.
5207 Loop calling getevent.
5208 (sigcatch): Delete code to handle SIGIO.
5209 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5210 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5211 Set defer_alarms around realloc and schedule.
5212 If alarm_deferred gets set, call notify.
5213 Likewise if this event is the only pending event.
5214 Make buf and buf_size global variables.
5215 Don't malloc buf if it is already non-zero.
5216 (schedule): Just exit if run out of memory.
5217 Return the number of events.
5218 (signal) [_CX_UX]: Add #undef.
5219
52201994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5221
5222 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5223 (main) [USG]: Do ioctl to enable SIGPOLL.
5224
52251994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5226
5227 * timer.c: Don't declare sys_errlist; declare strerror instead.
5228 (schedule, main): Call strerror instead of using sys_errlist.
5229 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5230 Call strerror instead of using sys_errlist.
5231 * env.c (main): Call strerror instead of using sys_errlist.
5232 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5233 (main): Call strerror instead of using sys_errlist.
5234 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5235 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5236 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5237 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5238
52391994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5240
5241 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5242
5243 * movemail.c (malloc): Don't declare it.
5244 (xmalloc): Cast result of malloc.
5245 (strcpy): Don't declare it.
5246
52471993-11-14 Morten Welinder (terra@diku.dk)
5248
5249 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5250 (main): Use fclose to close file opened by fopen.
5251
5252 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5253
5254 * movemail.c [MSDOS]: #undef `access'.
5255
5256 * b2m.c (main) [MSDOS]: Open all files as binary.
5257 * etags.c (main) [MSDOS]: Open all files as binary.
5258
5259 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5260 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5261 with.
5262
52631994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5264
5265 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5266 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5267 (LINK_CFLAGS): New variable.
5268 (timer): Use LINK_CFLAGS.
5269
52701993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5271
5272 * movemail.c: Include syswait.h.
5273 Fork a subprocess and use it to copy the mail file.
5274
52751993-12-07 Richard Stallman (rms@srarc2)
5276
5277 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5278
52791993-12-04 Richard Stallman (rms@srarc2)
5280
5281 * movemail.c (main): When making tempname, cast result of xmalloc.
5282 Include room for EXXXXXX in the size.
5283 Don't use result of strcpy.
5284
52851993-12-03 Paul Eggert (eggert@twinsun.com)
5286
5287 * vcdiff: Add --brief option.
5288
52891993-12-02 Richard Stallman (rms@srarc2)
5290
5291 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5292 for all executables and scripts.
5293
52941993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5295
5296 * Version 19.22 released.
5297
52981993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5299
5300 * Makefile.in (mostlyclean): Make it distinct from clean.
5301
53021993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5303
5304 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5305
53061993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5307
5308 * Version 19.21 released.
5309
5310 * Makefile.in (install): Don't change mode or group when installing.
5311
5312 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5313
53141993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5315
5316 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5317
5318 * movemail.c (main): Fix error message text.
5319
53201993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5321
5322 * Version 19.20 released.
5323
177c0ea7 53241993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5325
ecc54057 5326 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5327 functions returning a pointer to a function, a la `signal', can be
5328 parsed. This also required new state `fstartlist' to `FUNCST'.
5329 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5330 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5331 from the other state engines.
2f2c687b 5332 (begtk): Add '~', for C++ class destructors.
362bc2da 5333
880820fe 53341993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5335
2f2c687b
JB
5336 * etags.c (consider_token): Removed unused variable firsttok.
5337 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5338
53391993-10-19 Paul Eggert (eggert@twinsun.com)
5340
5341 * rcs2log (printlogline): Don't generate lines containing only
5342 white space.
5343
53441993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5345
5346 * Makefile.in (${archlibdir}):
5347 Install ${SCRIPTS} from ${srcdir}, not cwd.
5348
53491993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5350
5351 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5352 the comment character.
5353
880820fe 53541993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5355
2f2c687b 5356 * etags.c (process_file): Dead code removed.
362bc2da 5357 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5358 (process_file): Regular files have nothing to do with symlinks.
362bc2da
DL
5359
53601993-09-28 Brian Fox (bfox@ai.mit.edu)
5361
5362 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5363 from current directory. Only chmod and chgrp files that we
5364 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5365 ${bindir}.
5366 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5367 now.
5368
53691993-09-27 Brian Fox (bfox@ai.mit.edu)
5370
5371 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5372 configure figure out the correct values for these variables.
5373
53741993-09-14 Brian Fox (bfox@ai.mit.edu)
5375
10d1d0af 5376 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5377 used by emacs; don't install bindir binaries here.
5378
53791993-09-24 Paul Eggert (eggert@twinsun.com)
5380
5381 * rcs2log: Add -h, -n, -r options.
5382 By default, look for *,v files as well as RCS/*,v files.
5383 Use $TMPDIR (default /tmp) instead of /tmp.
5384
880820fe 53851993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5386
5387 * etags.c (C_entries): is_func is initialised here instead of in
5388 consider_token for the sake of the yacc rules section.
5389 (C_entries): Now class, struct, enum, union and typedef produce
5390 named tags.
5391
53921993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5393
5394 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5395
53961993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5397
88c71720
KS
5398 * Makefile.in: Support configuring in a different directory when
5399 ${srcdir} has already been configured.
5400 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5401 -I${srcdir}/../src.
362bc2da
DL
5402 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5403 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5404 is already in CPP_FLAGS.
5405 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5406 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5407
54081993-08-25 Paul Eggert (eggert@twinsun.com)
5409
5410 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5411 otherwise, HP awk complains.
5412
5413 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5414 are common hangouts for SCCS commands.
5415
54161993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5417
5418 * Version 19.19 released.
5419
54201993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5421
5422 * Makefile.in (make-path): Dep on config.h.
5423
54241993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5425
5426 * b2m.c (TRUE, FALSE): Don't define if already defined.
5427
54281993-08-09 Paul Eggert (eggert@twinsun.com)
5429
5430 * rcs2log (awkscript):
5431 Some sites put comma-separated junk after the fullname.
5432 Remove it, but leave "Bill Gates, Jr" alone.
5433 Remove the junk from fullnames like "0000-Admin(0000)".
5434
54351993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5436
5437 * Version 19.18 released.
5438
880820fe 54391993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5440
2f2c687b
JB
5441 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5442 (L_funcs): The (foo::defmumble stuff now should work.
5443 (consider_token): Function returned random value--corrected.
5444 (C_entries): Corrected == versus = typo.
362bc2da
DL
5445
54461993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5447
5448 * etags.c (put_entries): For NODE->rewritten, put pattern before
5449 \177 and name after, not vice versa.
5450
54511993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5452
5453 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5454
880820fe 54551993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5456
ecc54057 5457 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5458 after the parameter list and before the open curly brace.
5459 Allows correct parsing of C++ constructors.
2f2c687b
JB
5460 (C_entries, consider_token): Make use of fignore.
5461 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5462 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5463 (L_isquote): Function that recognises the "(quote" string.
5464 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5465
54661993-07-29 Paul Eggert (eggert@twinsun.com)
5467
5468 * rcs-checkin: Don't check whether a file is readable until we have
5469 decided not to ignore it.
5470
54711993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5472
5473 * Makefile.in (etags): Depend on ../src/config.h.
5474
5475 * emacsserver.c: Include types.h before file.h.
5476
54771993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5478
5479 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5480
54811993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5482
ecc54057 5483 * Version 19.17 released.
362bc2da
DL
5484
54851993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5486
5487 * etags.c (print_help): Break up the very long strings containing
5488 the help message into shorter strings, to placate chintzy C
5489 compilers which can't handle strings that long.
5490
5491 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5492 correct combination of <time.h> and <sys/time.h>.
5493
880820fe 54941993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5495
2f2c687b
JB
5496 * etags.c (alloca): Removed all references to it.
5497 (main): Now calls xnew instead of alloca for portability.
5498 (../src/config.h): Included only if HAVE_CONFIG_H.
5499 (const): Void definition removed--config.h takes care of it.
362bc2da 5500
880820fe 55011993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5502
2f2c687b 5503 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5504 (consider_token): DEFUNs now treated like funcs in ctags mode.
5505
2f2c687b
JB
5506 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5507 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5508 (C_entries): Removed a piece of useless code.
5509 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5510 is met. This handles "typedef int X, Y, Z;" correctly.
5511
55121993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5513
5514 * Version 19.16 released.
5515
5516 * b2m.c: #include <sys/types.h>.
5517 (ltoday): Declare this to be time_t.
5518
55191993-06-30 Paul Eggert (eggert@twinsun.com)
5520
5521 * vcdiff: Add -q option.
5522
55231993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5524
5525 * etags.c: #include "config.h" and the alloca CPP tangle before
5526 #including the system headers and getopt.h. AIX requires the
5527 #pragma to come before any actual C code.
5528
55291993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5530
5531 * Makefile.in (ctags): Depend on etags, so that parallel makes
5532 don't write etags.o files on top of each other.
5533
55341993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5535
5536 * version 19.15 released.
5537
55381993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5539
5540 * etags.c (add_node): Move var last_node to file scope.
5541
55421993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5543
5544 * Version 19.14 released.
5545
55461993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5547
ecc54057 5548 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5549 * Makefile.in (distclean): Call clean to do most of the work.
5550 Delete aixcc.c and TAGS.
5551 (realclean): Just call distclean.
1c478461 5552
362bc2da
DL
5553 * Makefile.in: Remember, spaces are not tabs.
5554
55551993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5556
5557 * Makefile.in (CPP_CFLAGS): New variable.
5558 Use it instead of ALL_CFLAGS when compiling a .c file.
5559 (getopt.o, getopt1.o): Add explicit compilation commands.
5560
55611993-06-10 Mark D. Baushke (mdb@cisco.com)
5562
5563 * etags.c: Reinstate old -f option as an alias for -o for
5564 installed base uses.
5565
55661993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5567
5568 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5569 to bind or accept, cast the pointer, to avoid warnings on systems
5570 which declare prototypes for this.
5571 * emacsclient.c (main): Same.
5572
5573 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5574
55751993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5576
5577 * Version 19.13 released.
5578
5579 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5580 comes from, not sys/time.h.
5581
55821993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5583
5584 * wakeup.c: Include sys/time.h.
5585
5586 * etags.c: #undef static.
5587
5588 * Version 19.12 released.
5589
5590 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5591
55921993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5593
5594 * Version 19.11 released.
5595
5596 * timer.c [LINUX]: #undef signal.
5597 * emacsserver.c: #undef signal.
5598
55991993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5600
5601 * wakeup.c (main): Make when a time_t.
5602
56031993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5604
ecc54057 5605 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5606 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5607 might fail, and have pwd print out the current directory.
5608
5609 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5610 string-handling functions.
5611
56121993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5613
5614 * Version 19.10 released.
5615
56161993-05-29 Paul Eggert (eggert@twinsun.com)
5617
5618 * rcs2log: When given no file arguments, inspect RCS/.* as well
5619 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5620
56211993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5622
5623 * Makefile.in (timer): Link with $(LOADLIBES).
5624
56251993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5626
5627 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5628
56291993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5630
5631 * etags.c: Replace the CPP tangle for alloca with the one from the
5632 autoconf documentation, since that's working elsewhere.
5633
56341993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5635
5636 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5637 description files can find their ancestors.
5638
56391993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5640
5641 * Makefile.in (install): Get the scripts from ${srcdir},
5642 unlike the executables.
5643 (ALL_CFLAGS): Add -I../src
5644
56451993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5646
5647 * Version 19.9 released.
5648
56491993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5650
5651 * Makefile.in (install): Do install the programs listed in
5652 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5653 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5654
5655 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5656 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5657
56581993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5659
5660 * etags.c: Include ../src/config.h.
5661
5662 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5663 in first loop. Delete files from bindir before installing new ones.
5664 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5665
56661993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5667
5668 * Version 19.8 released.
5669
5670 * make-docfile.c: Doc fix.
5671
56721993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5673
5674 * tcp.c: Fix comment syntax at top of file.
5675 (main): Don't call htons with the port number.
5676
56771993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5678
5679 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5680 appropriate.
362bc2da
DL
5681
5682 * Makefile.in (install): Refer to the variables INSTALLABLES and
5683 INSTALLABLE_SCRIPTS, instead of writing them out.
5684
56851993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5686
5687 * make-path.c (main): Return 0.
5688
56891993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5690
ecc54057 5691 * Version 19.7 released.
362bc2da
DL
5692
56931993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5694
5695 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5696
56971993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5698
5699 * tcp.c: New file.
5700
57011993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5702
5703 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5704
57051993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5706
5707 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5708 only. We should really fix this later, but let's just make it
5709 compile for now.
5710
5711 Install patches from David J. Mackenzie to make the srcdir option
5712 work.
5713 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5714 Makefile.
5715 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5716 INSTALLABLE_SCRIPTS.
5717 (INSTALLABLE_SCRIPTS): New list.
5718 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5719 (${archlibdir}): The scripts to be installed live in the source
5720 tree, not in the object tree.
5721 (test-distrib): Note that the data file lives in the source tree,
5722 not the object tree.
5723 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5724 (all other targets): Change references to source files to use
5725 ${srcdir}, except for config.h, which lives in the object dir.
5726 (timer.o): Note that this depends on ../src/config.h.
5727 * make-docfile.c (main): Add a -d option, to tell it where to find
5728 the source files.
5729 * test-distrib.c (main): Take the name of the distribution file to
5730 test from the command line.
5731
10d1d0af 5732 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
5733
57341993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5735
5736 * etags.c (main):
5737 Don't require that there be input files if -i switches were given.
5738
57391993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5740
5741 The GNU coding standards specify that CFLAGS should be left for
5742 users to set.
5743 * Makefile.in (CFLAGS): Put this in the "things configure might
5744 edit" section, and have it default to -g.
5745 (ALL_CFLAGS): New variable, set to all the flags which should be
5746 passed to compilations. Replace all other uses of CFLAGS with
5747 ALL_CFLAGS.
5748 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5749
5750 * Makefile.in (DEFS): Remove this; it's always just going to be
5751 "-DHAVE_CONFIG_H -Demacs".
5752
57531993-05-03 Paul Eggert (eggert@twinsun.com)
5754
5755 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5756 /[/]/, so change it to /[\/]/. This should work on all
5757 Posix-compliant awks. It's slightly wrong with traditional awk,
5758 since it matches \ too, but that's a minor problem compared to awk
5759 syntax errors.
5760
57611993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5762
5763 * Makefile.in (ALLOCA): New variable, whose value we should
5764 inherit from the top-level makefile.
5765 (etags, ctags): Include ALLOCA in the list of object files that
5766 these executables depend on and link.
5767
57681993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5769
5770 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5771
57721993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5773
5774 * make-docfile.c (write_c_args): Print an argument named "defalt"
5775 as "default".
5776
57771993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5778
5779 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5780 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5781 compiler.
5782
880820fe 57831993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5784
2f2c687b
JB
5785 * etags.c (YACC): Flag added to c_ext.
5786 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5787 (find_entries): Consistently use streq when reasonable.
5788 (find_entries): A .y file is a yacc file.
362bc2da 5789 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5790 (C_entries): Logical cplpl means c_ext&C_PLPL.
5791 (C_entries): Logical yacc_rules means we are after the first %%.
5792 (C_entries): Added logic for yacc files.
362bc2da 5793
880820fe 57941993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5795
5796 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 5797 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
5798 (consider_token): structtag set to null string for enum.
5799
880820fe 58001993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5801
2f2c687b
JB
5802 * etags.c (GET_COOKIE): And related macros removed.
5803 (logical): Is now int, no more a char.
5804 (reg): Define deleted.
5805 (isgood, _gd, notgd): Deleted.
5806 (gotone): Deleted.
5807 (TOKEN): Member linestart removed.
5808 (linepos, prev_linepos, lb1): Deleted.
5809 (main): Call initbuffer on lbs array instead of lb1.
5810 (init): Removed the initialisation of the logical _gd array;
5811 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
5812 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5813 All C state machines rewritten.
2f2c687b
JB
5814 (C_entries): Complete rewrite.
5815 (condider_token): Complete rewrite.
5816 (getline): Deleted.
362bc2da 5817
880820fe 58181993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5819
5820 * etags.c (C_entries): Added the quotednl logical variable.
5821 Used for parsing of #define's spanning multiple lines.
5822
880820fe 58231993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5824
5825 * etags.c (C_entries): Save the definedef status even when a
5826 newline is met inside a string.
5827
58281993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5829
2f2c687b 5830 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
5831
5832 * Makefile.in (unlock, relock): New productions.
5833
58341993-03-16 Paul Eggert (eggert@twinsun.com)
5835
5836 * rcs2log: Some awks don't understand "\r". Code around this.
5837 Unfortunately this requires putting a carriage return in the
5838 source code. Don't assume that rlog will tolerate times like
5839 `10:10:60'; RCS 5.7 won't allow this.
5840
58411993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5842
5843 * timer.c (main): Set the ownership of the stdin file descriptor
5844 to the current process. Print error messages if either of the
5845 fcntl's fails.
5846
5847 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5848 ../src/config.h), not void.
5849
58501993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5851
5852 * b2m.c (main): Don't exit upon reading a blank line.
5853
880820fe 58541993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5855
5856 * etags.c (C_entries): New local variable quotednl. Used for
5857 parsing of #define's spanning multiple lines.
5858
5859 * etags.c (C_entries): Save the definedef status
5860 even when a newline is met inside a string.
5861
58621993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5863
5864 * timer.c (notify): Initialize waitfor properly.
5865
880820fe 58661993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
5867
5868 * etags.c (C_entries): Don't reset definedef when a newline inside a
5869 comment is met.
5870
58711993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5872
5873 * etags.c (find_entries): If filename ends in .f or .for,
5874 don't try anything but Fortran.
5875
58761993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5877
5878 * timer.c (notify): Flush stdout after writing message to avoid lossage
5879 on terminals.
5880
5881 (notify): Also, write a newline after the token.
5882
58831992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5884
5885 * Makefile.in (exec_prefix): New variable.
5886 (bindir, libdir): Use it instead of `prefix'.
5887
5888 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5889
5890 * Makefile.in (libdir): Default to ${prefix}/lib.
5891 (archlibdir): Adjusted to match.
5892
5893 * Makefile.in (distclean): Don't delete backup or autosave files.
5894 (extraclean): Like realclean, but does delete backup and autosave
5895 files.
5896
5897 * Makefile.in (realclean): Ignore errors from rm.
5898
5899 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5900 that doesn't exist anymore.
5901
59021992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5903
5904 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5905 described in the top-level Makefile.
5906 (UTILITIES): Add make-path to the list of utility programs.
5907 (../arch-lib): Replaced by the ${archlibdir} target, which places
5908 the executables in their permanent home.
5909 (install, install.sysv, install.xenix): Consolidated into one
5910 target which should work under all circumstances, modulo a few
5911 ignored error messages.
5912
5913 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5914 a different number of arguments than other DEFVARs, recognize it
5915 specially, and expect the right number of commas.
5916
59171992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5918
5919 * make-path.c: New program, to help with the installation process.
5920 * Makefile.in (make-path): New target.
5921
5922 * make-path.c (touchy_mkdir): Remove debugging output.
5923
59241992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5925
5926 * Makefile.in (getdate.o): Added explicit target for this, so we
5927 can indicate that it depends on ../src/config.h.
5928
59291992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5930
5931 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5932 instead of CFLAGS.
5933 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5934
59351992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5936
5937 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5938 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5939 that system.
5940
5941 * Makefile.in (arch-lib): Give rm the `-f' option.
5942
59431992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5944
5945 * make-docfile.c (write_c_args): Rewritten to correctly print
5946 &optionals before the first identifier, but after the first paren.
5947 This code used to just wait for commas or spaces; now it notices
5948 identifier boundaries.
5949
59501992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5951
5952 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5953
59541992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5955
5956 * make-docfile.c (write_c_args): Print the argument lists properly
5957 when the first argument is optional.
5958
59591992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5960
5961 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5962 Redefine @item. Set catcode of +.
5963
59641992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5965
5966 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5967
59681992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5969
5970 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5971 (TEX_decode_env): Make `tab' one element longer.
5972
59731992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5974
5975 * etags.c (PF_funcs): Recognize the "entry" keyword.
5976
59771992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5978
5979 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5980
59811992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5982
5983 * timer.c (events): Rather than having slots marked as in use or
5984 out of use by the `token' field, keep all pending events at the
5985 beginning of the array. When we delete an event in the middle of
5986 the array, we move the last event into its place.
5987 (num_events): New variable.
5988 (schedule): It is now cheaper to find a free event slot;
5989 events[num_events] is the first free slot.
5990 (notify): Scan events[0 .. num_events-1], instead of the whole
5991 array. When an event fires, move the last event in the array into
5992 its spot. Use num_events to determine whether or not there are
5993 any pending events, not wait_for.
5994 (getevent): Deleted unused variable `ep'.
5995 (sigcatch): It's now easier to find all the active events.
5996 (main): Initialize num_events.
5997
5998 * etags.c: Rather than fret about which systems have index and
5999 which systems have strchr, and how to tell the difference between
6000 them, we just write out our own versions. Big deal.
6001 (index, rindex): Extern declarations removed.
6002 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6003 (etags_index, etags_rindex): New declarations.
6004 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6005 TEX_getit, substr): Use the etags_*index functions, rather than
6006 the native *index functions.
6007 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6008 made them unconditionally defined, rather than having them depend
6009 on NEED_*INDEX.
6010
6011 * etags.c (savenstr): Add declaration for this at top of file.
6012 (TEX_decode_env): Don't declare it local to this function.
6013
6014 * b2m.c: #include "../src/config.h", so we can test for the USG
6015 macro, and decide whether to include <string.h> or <strings.h>.
6016 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6017
60181992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6019
6020 * timer.c: Reformatted according to the GNU coding standards.
6021 Removed arbitrary limits on the number of events queued and the
6022 length of the tokens used to identify them.
6023 Removed casts to (void).
6024 Removed debugging printfs; they clutter the code, and the need
6025 can be better filled using a real debugger.
6026
60271992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6028
6029 * timer.c: Installed new version from Eric Raymond; this is more
6030 portable, since it doesn't try to use SIGIO.
6031
60321992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6033
6034 * emacsclient.c (main): If we can't find the socket in this
6035 person's home directory, print a message which asks if they've
6036 started the server, instead of just printing the message from
6037 sys_errmsg; Cygnus finds that people are much less confused by
6038 this.
6039
60401992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6041
6042 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6043 so that index and rindex get defined, why don't we actually
6044 control index and rindex using symbols called "NEED_INDEX" and
6045 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6046 little more readable than defining something whose name implies
6047 that it's not?
6048
60491992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6050
6051 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6052 distribution:
6053 Miscellaneous doc fixes.
1c478461 6054 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6055 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6056 read_lisp_symbol and then see what we got. Call skip_white
6057 instead of writing out a loop to do its job. Correctly extract
6058 docstrings from "defmacro" declarations.
6059
60601992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6061
6062 * movemail.c (strcpy): Declare this to return char *.
6063
60641992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6065
6066 * etags.c (C_entries): When we find a C++ comment, do actually
6067 skip to the end of the line; do a 'break' instead of a 'continue'.
6068
60691992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6070
6071 * etags.c (getit): Add missing parenthesis to expression which
6072 decides if this token is an identifier.
6073
60741992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6075
6076 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6077
60781992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6079
6080 * etags.c (put_entries): Always put space between name and line num.
6081
60821992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6083
6084 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6085 warning.
6086 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6087
60881992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6089
6090 * make-docfile.c (write_c_args): Pass both arguments to putc.
6091
60921992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6093
6094 * etags.c (C_entries): Fixed reading of "..." strings.
6095 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6096 the C library source.
6097
6098 * etags.c (C_entries): When we see a backslash inside a quoted
6099 string, skip to the next character. This allows us to correctly
6100 deal with strings containing quotes.
6101
61021992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6103
6104 * make-docfile.c (write_c_args): Print the C argument names as
6105 they would be written in Elisp; print '_' as '-'.
6106
61071992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6108
6109 * movemail.c [POP]: Get user name via getpwuid.
6110
61111992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6112
2f2c687b 6113 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6114
61151992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6116
10d1d0af 6117 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6118 strings - end the lines with `\n\'.
6119
61201992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6121
6122 * timer.c (getevent): Removed declaration of memcpy; since
6123 different systems have different return types, and we're not even
6124 using the return type anyway, it wasn't doing us any good.
6125
61261992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6127
6128 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6129 type of this function.
6130
61311992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6132
6133 * ChangeLog: Since the old etc contents have been split into etc
6134 and lib-src, the old etc's ChangeLog has been duplicated in the
6135 new etc and lib-src. That means that each contains complete and
6136 coherent information, although each contains extraneous
1c478461 6137 information.
362bc2da
DL
6138
61391992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6140
290afd83 6141 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6142 to be consistent with other GNU programs, like makeinfo.
6143
290afd83 6144 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6145 will edit this to produce Makefile.
6146
61471992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6148
6149 * etags.c (print_help, print_version): New functions.
6150 (main): Options added to support them.
6151
6152 * etags.c (longopts): New array of long names for the options.
6153 (main): Recognize them.
6154
61551992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6156
6157 * etags.c (C_entries): Removed comment saying that \" in a string
6158 isn't recognized as magic, because it is correctly handled.
6159
6160 * getopt.c, getopt.h: New files, from GNU C library.
6161 * etags.c: Rewritten to use getopt.
6162 #include "getopt.h".
6163 (file_num): Variable deleted; its role is now played by getopt's
6164 optind.
6165 (main): Argument processing loop rewritten to call getopt to get
6166 next option. Options which take parameters (-o and -i) rewritten
6167 to get parameter from optarg instead of argv[1]. Filename
6168 preprocessing loop and update command changed similarly.
6169 * Makefile (etags, ctags): Depend on and link with getopt.h,
6170 getopt.o, and getopt1.o.
6171 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6172
6173 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6174 is non-zero.
6175
6176 (main): In the argument processing loop, the 'goto next_arg'
6177 statements are breaking out of the switch statement in exactly the
6178 same way that a simple 'break' statement would; replace the gotos
6179 with breaks, and remove the label.
6180
61811992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6182
6183 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6184 (consider_token): Move next_token_is_func to global.
6185
61861992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6187
6188 * Makefile: Conform with GNU coding standards:
6189 (mostlyclean): New target, synonymous with clean.
6190 (TAGS, check): New targets.
6191 (INSTALL, INSTALLFLAGS): New variables.
6192
61931992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6194
ecc54057 6195 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6196 `config.emacs' to `configure'.
6197
6198 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6199 * etc/MACHINES: Same.
6200
62011992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6202
6203 * movemail.c (main): Allow tempname to be as long as necessary,
6204 instead of limiting it to 39 characters.
6205
6206 * movemail.c (main): Move declaration of buf from top of function
6207 to local block surrounding the copy loop. This makes it less
6208 likely to be confused with the buf used by the code which checks the
6209 permissions on outname's directory.
6210
62111992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6212
6213 * SERVICE: Remove my entry.
6214
62151992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6216
6217 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6218 hardcoded -g.
6219
6220 * movemail.c (xmalloc): Return char *, not int.
6221 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6222 that is off by default -- normally don't unlink the mail spool
6223 file, just empty it. Pass creat mode 0600, not 0666.
6224
dff28924 62251992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6226
6227 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6228 (all): Instead of here.
6229 (install): Don't use the -s option, since people need symbols to
6230 debug code.
6231
dff28924 62321992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6233
6234 * etags-vmslib.c (fn_exp): Add type cast.
6235
62361992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6237
6238 * movemail.c: Changes in comments.
6239
dff28924 62401992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6241
6242 * Makefile: Make the distclean target erase the DOC files from
6243 ../share-lib and the executables from ../arch-lib.
6244
dff28924 62451992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6246
6247 * emacsclient.c: #include <sys/stat.h>
6248 (main): Do declare statbfr.
6249
dff28924 62501991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6251
6252 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6253 for the socket, depending on SERVER_HOME_DIR.
6254 If using /tmp, put host name in the socket name.
6255
6256 * movemail.c (pfatal_and_delete): New function.
6257 (main, popmail): Use it.
6258 (popmail): Close output before deleting messages.
6259 Check for error on close and on fsync.
6260 Use `fatal' where appropriate.
6261 (main): Remove (void).
6262
6263 * aixcc.lex: New file. Not officially part of Emacs.
6264 * Makefile: Rules for that.
6265
dff28924 62661991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6267
6268 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6269
6270 * etags.c (main): Properly cast call to alloca that initializes
6271 included_files.
6272
62731991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6274
6275 * etags.c (files_are_tag_tables): Remove global var.
6276 (process_file): Don't test it. Also remove hack checking for a
6277 file named "TAGS".
6278 (main): -i now takes an arg which is the name of a file to include.
6279 Collect these names and emit include tags for them after processing
6280 all the argument files.
6281
dff28924 62821991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6283
6284 * wakeup.c: Terminate if parent goes away.
6285
dff28924 62861991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6287
6288 * etags.c (C_entries): Process token before handling end of line.
6289 When inner loops reach end of line, just back up.
6290 Let the real end of line processing happen in just one place.
a64387ee 6291 (consider_token): Likewise.
362bc2da 6292
dff28924 62931991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6294
6295 * etags.c (TEX_mode): Skip comments while scanning the text to see
6296 which escape character this file uses.
6297
dff28924 62981991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6299
6300 * emacsserver.c [USG]: Terminate if msgrcv fails.
6301
dff28924 63021991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6303
6304 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6305
dff28924 63061991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6307
6308 * make-docfile: Find the arguments to a C function correctly,
6309 by not ignoring the character that read_c_string returns. Don't
6310 even try to find argument names for functions that take MANY
6311 or UNEVALLED arguments, since they're a figment of the docstring's
6312 imagination.
6313
dff28924 63141991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6315
6316 * make-docfile: Read the .elc files generated by the new byte
6317 compiler.
6318
dff28924 63191990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6320
6321 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6322
dff28924 63231990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6324
6325 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6326
dff28924 63271990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6328
6329 * Makefile (install*): No need to install wakeup.
6330
dff28924 63311990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6332
6333 * Makefile (install*): Install emacsclient like etags.
6334
dff28924 63351990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6336
6337 * movemail.c (error): Handle 3 args.
6338 (main): Don't check input access if using pop.
6339
dff28924 63401990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6341
6342 * etags.c (find_entries): Check for numbers after Scheme suffix.
6343
dff28924 63441990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6345
6346 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6347
dff28924 63481990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6349
6350 * Makefile (nemacstool, xvetool): New targets.
6351
dff28924 63521990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6353
6354 * emacsclient.c: Include errno.h and define related variables.
6355
dff28924 63561990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6357
6358 * emacsclient.c: Change usage message.
6359
dff28924 63601990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6361
ecc54057 6362 * emacs.1: Add break before -nw option.
362bc2da 6363
dff28924 63641990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6365
6366 * qsort.c: Replace with GNU version.
6367
dff28924 63681990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6369
6370 * wakeup.c: New program replacing loadst.c.
6371
dff28924 63721990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6373
6374 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6375
dff28924 63761990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6377
6378 * etags.c: Rename `flag' variables for what they do instead of
6379 which option character sets them.
6380
dff28924 63811990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6382
6383 * loadst.c (main): Conditional to get load average on Apollo.
6384
dff28924 63851990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6386
6387 * emacsserver.c: Set the permission on the socket to 0600.
6388
dff28924 63891990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6390
6391 * emacsclient.c [BSD]: Print clean message for failing getwd.
6392
dff28924 63931990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6394
6395 * getdate.y: Use the getdate.y from GNU tar for timer.
6396
dff28924 63971990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6398
6399 * emacsclient.c (main): Don't put brackets around "filename" in
6400 usage message. It isn't optional.
6401
dff28924 64021990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6403
a64387ee 6404 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6405
dff28924 64061990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6407
6408 * emacsserver.c: Renamed from server.c.
6409 * Makefile: Reference emacsserver rather than server.
6410 * MACHINES: Doc fix for new emacsserver name.
6411
dff28924 64121990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6413
6414 * emacsclient.c: Print program name in error messages.
6415
dff28924 64161990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6417
6418 * timer.c, getdate.y (new files) and Makefile:
6419 Sub-process support for run-at-time in timer.el.
1c478461 6420 Doesn't yet work correctly for USG.
362bc2da 6421
dff28924 64221990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6423
6424 * MACHINES: Add HP 300 running BSD.
6425
dff28924 64261990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6427
6428 * yow.c: Dynamically allocate buffer; skip header before random
6429 choice to avoid bias toward first item.
6430
dff28924 64311989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6432
6433 * etags.c (readline): Separate out init of `pend'.
6434
dff28924 64351989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6436
6437 * etags.c: Undo changes relating to isgoodhdr.
6438
dff28924 64391989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6440
6441 * etags.c (isgoodhdr): New macro.
6442 (_gdh, notgdh): New variable used by that.
6443 (init): Initialize _gdh.
6444 (find_entries): Set header_file.
6445 (consider_token): Use isgoodhdr if in header file.
6446
6447 * etags.c (total_size_of_entries):
6448 Was miscalculating by 1 in rewritten case.
6449
6450 * etags.c (PAS_funcs): One arg to pfnote was missing.
6451
dff28924 64521989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6453
6454 * MACHINES: Change for the ULTRIX entry.
6455
dff28924 64561989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6457
6458 * etags.c (process_file): If file is not regular, return.
6459
dff28924 64601989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6461
6462 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6463
dff28924 64641989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6465
6466 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6467 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6468
dff28924 64691989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6470
6471 * etags.c (consider_token): Allow any number of typespec keywords
6472 after `typedef', before new type name.
6473 (enum sym_type): Add st_C_typespec.
6474 (C_create_stab): Put typespec kwds in table.
6475
dff28924 64761989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6477
6478 * etags.c (main): Don't depend on name invoked by.
6479 If CTAGS is not defined, assume it is ETAGS.
6480
dff28924 64811989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6482
6483 * etags.c (L_funcs): Allow package name in define construct,
6484 as in (foo::defmumble name-defined ...).
6485
dff28924 64861989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6487
6488 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6489
6490 * Makefile (yow): Depends on ../src/paths.h.
6491
dff28924 64921989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6493
6494 * etags.c: Fix compilation by moving Pascal after Fortran.
6495
dff28924 64961989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6497
6498 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6499
dff28924 65001989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6501
6502 * hexl.c: New file, supports hexl-mode.
6503
dff28924 65041989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6505
6506 * movemail.c: New compilation flag MAIL_USE_MMDF.
6507
dff28924 65081989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6509
6510 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6511 * server.c: Likewise.
6512
6513 * make-docfile.c (scan_c_file): Output argument names at end of string.
6514 (write_c_args): New subroutine.
6515
dff28924 65161989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6517
6518 * movemail.c: Report failure of flock.
6519
dff28924 65201989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6521
6522 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6523
dff28924 65241989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6525
2f2c687b 6526 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6527
dff28924 65281989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6529
6530 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6531
2f2c687b 6532 * emacsstool.1: Update to document environment variables.
362bc2da 6533
dff28924 65341989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6535
6536 * etags.c (PAS_funcs): New function by Mosur Mohan.
6537
6538 * movemail.c: On sysv, include unistd.h.
6539
dff28924 65401989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6541
6542 * b2m.c: New file.
6543
dff28924 65441989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6545
6546 * etags.c: Prolog support from Sunichirou Sugou
6547
dff28924 65481989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6549
6550 * Makefile (clean): New target.
6551
dff28924 65521989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6553
6554 * fakemail.c (put_line): Break header lines at 79 cols.
6555
dff28924 65561989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6557
6558 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6559 multiple tags per line.
6560
dff28924 65611989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6562
6563 * movemail.c: Check access before doing real work.
6564 Check that outfile is in a writable directory.
6565 On fatal error, delete the lock file.
6566
dff28924 65671988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6568
ecc54057
JB
6569 * env.c: Add decl for my-index
6570 * etags.c (file-entries): .oak => scheme
362bc2da 6571
dff28924 65721988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6573
6574 * movemail.c: Use `access' to check input and output files.
6575
dff28924 65761988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6577
6578 * emacsclient.c (main): Ignore all of CWD before first slash.
6579
dff28924 65801988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6581
6582 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6583
dff28924 65841988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6585
6586 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6587 * server.c: chmod the socket to 0700.
6588
dff28924 65891988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6590
6591 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6592 (add_field): Delete comments and turn `<', `>' to spaces
6593 in header lines.
6594 (USE_FAKEMAIL): New customization macro says to make fakemail
6595 not be a no-op even on a BSD system.
6596
dff28924 65971988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6598
6599 * etags.c (consider_token): Skip comments just like whitespace.
6600 Notice `struct', etc. and set strtag for those tokens.
6601 Return 1 for the token following `struct' if an open-brace follows it.
6602 (C_entries): Special handling of token following `struct'
6603 needed because we have probably advanced to the following line
6604 to find the `{'.
6605 (main): New option `T' sets tflag and strflag.
6606 Set both of them by default if eflags.
6607
dff28924 66081988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6609
6610 * movemail.c: Do fsync before closing output.
6611
dff28924 66121988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6613
ecc54057
JB
6614 * movemail.c: Better error message when can't create tempname.
6615 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6616
dff28924 66171988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6618
6619 * etags.c: Support assembler code for .s and .a files.
6620 (getit): Allow underscore in a tag.
6621
dff28924 66221988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6623
6624 * movemail.c: Close output and check errors before deleting input.
6625
dff28924 66261988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6627
6628 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6629 whether to prefix it. Handle line number args.
6630
dff28924 66311988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6632
2f2c687b 6633 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6634
dff28924 66351988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6636
6637 * etags.c: New option -i. -f renamed -o.
6638 `-' as input file means read input file names from stdin.
6639 -i spec'd or input file named TAGS means the input file is another
6640 tag table; output an "include" line for it.
6641
dff28924 66421988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6643
6644 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6645 New targets install, install.sysv, install.xenix.
6646 This makefile is now responsible for installing executables
6647 and documentation from this directory into system directories.
6648
dff28924 66491988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6650
6651 * server.c, emacsclient.c (main): Compute socket name from euid.
6652
dff28924 66531988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6654
6655 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6656
dff28924 66571988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6658
6659 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6660 * emacsclient.c: Likewise.
6661 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6662
dff28924 66631988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6664
6665 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6666 (istoken): New string-comparison macro.
362bc2da
DL
6667 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6668
dff28924 66691988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6670
6671 * etags.c: Changes for VMS.
6672 Always define ETAGS on VMS.
6673 Define macros GOOD and BAD for success and failure exit codes.
6674 (begtk, intk): Allow `$' in identifiers
6675 (main): Don't support -B, -F or -u on VMS.
6676 Alternate loop for scanning filename arguments.
6677 (system): Delete definition of this function.
6678
6679 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6680
dff28924 66811988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6682
6683 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6684 around include of param.h. (Like fns.c.)
6685
dff28924 66861988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6687
6688 * loadst.c (load_average): Move load-average code to this new fn.
6689 Add conditionals to compute load ave on UMAX.
6690
dff28924 66911988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6692
6693 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6694 with opposite sense.
6695
dff28924 66961988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6697
6698 * emacsclient.c: Delete references to unused variable `out'. This
6699 caused a bus error when used under hp-ux.
6700
dff28924 67011988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6702
6703 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6704
dff28924 67051988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6706
6707 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6708
dff28924 67091988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6710
6711 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6712
dff28924 67131988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6714
6715 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6716 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6717
dff28924 67181988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6719
6720 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6721 invalid escape sequences such as `\{'.
6722
6723 * loadst.c: Add `sequent' conditional for file dk.h.
6724
dff28924 67251988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6726
2f2c687b 6727 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6728
2f2c687b 6729 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6730
6731;; Local Variables:
880820fe 6732;; coding: utf-8
33462dfa 6733;; add-log-time-zone-rule: t
6922b018 6734;; End:
2a34a036 6735
9766d41b 6736 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7
GM
6737 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
6738 2007, 2008 Free Software Foundation, Inc.
5b87ad55
GM
6739
6740 This file is part of GNU Emacs.
6741
294981c7 6742 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 6743 it under the terms of the GNU General Public License as published by
294981c7
GM
6744 the Free Software Foundation, either version 3 of the License, or
6745 (at your option) any later version.
5b87ad55
GM
6746
6747 GNU Emacs is distributed in the hope that it will be useful,
6748 but WITHOUT ANY WARRANTY; without even the implied warranty of
6749 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6750 GNU General Public License for more details.
6751
6752 You should have received a copy of the GNU General Public License
294981c7 6753 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
6754
6755;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc