Renamed lisp/epa-file-hook.el to lisp/epa-hook.el.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
86914123
EZ
12008-05-08 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
4
58bb7d50
EZ
52008-05-03 Eli Zaretskii <eliz@gnu.org>
6
7 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
8 corresponding change in src/Makefile.in.
9
63b9b605
GM
102008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
11
12 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
13
4429f88c
JR
142008-04-10 Jason Rumney <jasonr@gnu.org>
15
16 * makefile.w32-in (CLIENTRES): New variable and target.
17 (TRES): Remove.
18 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
19
14b11401
SM
202008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
23
95de358c
RF
242008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
25
26 * vcdiff: Use mktemp (CVE-2008-1694).
27
6948400c
JR
282008-04-09 Jason Rumney <jasonr@gnu.org>
29
30 * makefile.w32-in (distclean, maintainer-clean): New targets.
31
afd27920
GM
322008-03-13 Glenn Morris <rgm@gnu.org>
33
34 * makefile.w32-in (VERSION): Set to 23.0.60.
35
3d193d0f
JB
362008-03-04 Juanma Barranquero <lekktu@gmail.com>
37
38 * .cvsignore: Add oo.
39
1797886f
SM
402008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
41
42 * etags.c (Perl_functions): Fix call to skip_spaces.
43
9d2818d6
DN
442008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
45
46 * Makefile.in (NO_SHORTNAMES):
47 * emacsclient.c (NO_SHORTNAMES):
48 * fakemail.c (NO_SHORTNAMES):
49 * make-docfile.c (NO_SHORTNAMES):
50 * movemail.c (NO_SHORTNAMES):
51 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
52
79d48c1a
JR
532008-02-23 Jason Rumney <jasonr@gnu.org>
54
55 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
56 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 57 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
58 (lisp2): Add new languages.
59 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
60
9c61c734
JB
612008-02-22 Juanma Barranquero <lekktu@gmail.com>
62
63 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
64 malayalam.el, and tamil.el. Add sinhala.el.
65
50f271cb
JB
662008-02-20 Juanma Barranquero <lekktu@gmail.com>
67
68 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
69 where NAME is relative to DRIVE'S current directory.
70
d07529f3
JB
712008-02-15 Juanma Barranquero <lekktu@gmail.com>
72
73 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
74
45c1955d
DN
752008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
76
77 * fakemail.c: Undo previous change.
78
deeaffe1
DN
792008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
80
4624371d
DN
81 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
82 (main): Replace MAIL_PROGRAM_NAME with its value.
83
d07529f3 84 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 85
9997dc15
SM
862008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * emacsclient.c (decode_options): Pass --display implicitly if -c
89 is specified. Only set tty if -t or -c is specified.
90
0c55bf82
JR
912008-02-04 Jason Rumney <jasonr@gnu.org>
92
93 * makefile.w32-in (lisp1): Use (), not {}.
94
31cdf671
CY
952008-02-04 Tom Tromey <tromey@redhat.com>
96
d07529f3
JB
97 * etags.c: Add "GTY" as synonym for __attribute__.
98 Update gperf output.
31cdf671 99
9303f985 1002008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
101
102 * makefile.w32-in (obj): Sync with src/Makefile.in
103 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
104 (WINNT_SUPPORT): Add term/w32-win.elc.
105 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
106
9303f985 1072008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 108
d07529f3 109 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 110
d07529f3 1112008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 112
290afd83 113 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
114 utf-8.elc, and latin-*.el.
115
0ea5797a
SM
1162008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
117
bcc891c2 118 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
119 Allow the -d option under w32 again, for those rare cases where it
120 actually does make sense.
121
5ab73228
JB
1222008-01-25 Juanma Barranquero <lekktu@gmail.com>
123
124 * emacsclient.c (set_tcp_socket): Don't send "\n" after
125 the authentication string; there's no need to haste.
126
702123a8
CY
1272008-01-22 Chong Yidong <cyd@stupidchicken.com>
128
129 * pop.c (pop_stat, pop_last): Fix last fix.
130
76ed5e01
DN
1312008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
132
133 * movemail.c: Remove references to XENIX.
134
e39a993c
DN
1352008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
136
137 * movemail.c:
138 * make-docfile.c: Remove reference to symbols defined by systems
139 not supported anymore: MAC_OS8, XENIX and STRIDE.
140
0ebec7d3
EZ
1412008-01-12 Eli Zaretskii <eliz@gnu.org>
142
143 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
144 of DISPLAY in the environment. Don't support -d.
145 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
146 (longopts) [WINDOWSNT]: Remove --display.
147
6eae3ad4
CY
1482008-01-10 Chong Yidong <cyd@stupidchicken.com>
149
150 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
151 conversion. Mistakes spotted by Nico Golde.
152
78da39c6
GM
1532008-01-09 Glenn Morris <rgm@gnu.org>
154
155 * emacsclient.c: Add missing final newlines to message calls.
156
34a14ec9 1572008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
158
159 * emacsclient.c (set_socket): Add final newline to socket error message.
160
a408ea17
GM
1612008-01-04 Glenn Morris <rgm@gnu.org>
162
07655e62
JB
163 * ebrowse.c (version) <emacs_copyright>: New variable.
164 Just use current year for copyright.
a408ea17
GM
165
166 * etags.c (print_version):
167 * rcs2log (Copyright): Update to 2008.
168
0dc7a8bc
JR
1692007-11-28 Jason Rumney <jasonr@gnu.org>
170
171 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
172
880820fe 1732007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
174
175 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
176
880820fe 1772007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
178
179 * pop.c (socket_connection): Move realhost out of #ifdefs.
180 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
181
880820fe 1822007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
183
184 * pop.c (socket_connection): Use getaddrinfo if available.
185
880820fe 1862007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 187
65841dd8 188 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 189 as the defaults in ctags are different from etags.
63f018cd 190
880820fe 1912007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
192
193 * etags.c: Make prototypes for extern definitions, and add all
194 that are needed to quench warnings on 64-bit.
195 (main): Use the same defaults for ctags as for etags: find
196 typedefs, structure tags, macro constants, enum constants, struct
197 members and global variables.
198 (make_C_tag) [DEBUG]: Add debugging printout.
199 (C_entries): In case '}' decrement bracelev before testing it.
200
7455effc
FP
2012007-11-15 Masatake YAMATO <jet@gyve.org>
202
203 * etags.c (C_entries): In case '}', set fvdef to fvnone
204 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
205
04a697fe
DN
2062007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
207
208 * makefile.w32-in (obj): Remove sunfns.o.
209
a2666217
JB
2102007-10-28 Juanma Barranquero <lekktu@gmail.com>
211
212 * makefile.w32-in (obj): Remove abbrev.o.
213
7ce8671d
JB
2142007-10-26 Juanma Barranquero <lekktu@gmail.com>
215
216 * emacsclient.c: Add a wrapper for getenv so it also checks the
217 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
218 Code partially based on w32_get_resource and init_environment (w32.c).
219 (egetenv): New wrapper for getenv.
220 (get_current_dir_name, decode_options, get_server_config)
221 (set_local_socket, set_socket, main): Use egetenv, not getenv.
222 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
223
d22b00e5
JR
2242007-10-25 Jason Rumney <jasonr@gnu.org>
225
226 * emacsclient.c (sock_err_message): New function.
227 (set_tcp_socket): Use it.
228
c4b858e3
JB
2292007-10-09 Juanma Barranquero <lekktu@gmail.com>
230
231 * emacsclient.c (print_help_and_exit): Fix space to improve
232 alignment in output messages.
233
dbf60b07
JR
2342007-09-27 Jason Rumney <jasonr@gnu.org>
235
236 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
237
238 * emacsclient.c (w32_window_app): Init common controls when windowed.
239
165e85b2
GM
2402007-09-21 Glenn Morris <rgm@gnu.org>
241
242 * emacstool.c: Remove file.
243 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
244 Delete targets built from emacstool.
245
c1b8e896
SM
2462007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * emacsclient.c (decode_options): -t implies -c.
249
cb06b8dc
SM
2502007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
253 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
254 (main_argc): Remove.
255 (strprefix): Use strncmp.
256
c801ad51
JR
2572007-09-20 Jason Rumney <jasonr@gnu.org>
258
259 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
260
31fa6595
SM
2612007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * emacsclient.c (current_frame): Change the default.
264 (longopts): Replace --current-frame by --create-frame.
265 (decode_options): Reverse the meaning of -c.
266 (print_help_and_exit): Update help text accordingly.
267 (main): Remove the -version and -good-version messages.
268
58573230
GM
2692007-09-12 Glenn Morris <rgm@gnu.org>
270
271 * Makefile.in (SOURCES, unlock, relock): Delete.
272
bfd9ce71
GM
2732007-08-29 Glenn Morris <rgm@gnu.org>
274
275 * makefile.w32-in (VERSION): Increase to 23.0.50.
276
8d9cc0b7
MB
2772007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
278
279 * emacsclient.c (w32_execvp): Move definition before use.
280 (decode_options): Don't use a tty on mac carbon or windows.
281
2822007-08-29 Jason Rumney <jasonr@gnu.org>
283
31fa6595 284 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
285 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
286 (main): Expand removed macros inline.
287 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
288 option.
289 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
290
880820fe 2912007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
292
293 * emacsclient.c (signal.h): New include.
294 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
295 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
296 Copy definitions here from src/lisp.h.
297 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
298 (longopts): Add tty, current-frame.
299 (xmalloc, xstrdup): New functions.
300 (get_current_dir_name): New function, copied from src/sysdep.c.
301 (decode_options): Set display from environment. Add tty and
302 current_frame options. Make --no-wait imply --current-frame,
303 except when it is the only option given. Make sure no frame is
304 opened when --current-frame is set.
305 (print_help_and_exit): Document tty and current-frame options.
306 (fail): Change arguments to void.
307 (main): When sockets are not defined, set main_argc, main_argv,
308 and call fail() with no arguments.
309 (emacs_socket): New variable (moved out from main `s').
310 (quote_file_name): Rename to quote_argument.
311 (quote_argument): New name for old quote_file_name.
312 (unquote_argument, strprefix, pass_signal_to_emacs)
313 (handle_sigcont, handle_sigtstp, init_signals): New functions.
314 (set_local_socket): Initialize saved_errno to 0. If socket-name
315 is too long, call `fail' rather than `exit'.
316 (main): Doc update. Set main_argc, main_argv. New var `str'.
317 Don't need a filename or argument if tty or window_system set.
318 Call fail with no arguments. Use get_current_dir_name to send
319 over the current directory. Send version number to Emacs for
320 verification. If tty is set, check TERM, and pass name and type
321 to Emacs. Pass window_system to Emacs. Move sending of eval to
322 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
323 fflush. Check for a client/server version match.
324 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
325 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
326 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
327 environment and pwd to Emacs. Send current-frame to Emacs.
328
ca4ea90f
EZ
3292007-08-25 Eli Zaretskii <eliz@gnu.org>
330
331 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
332 Prepend "-" to the command, in case srcdir=. and file is copied
333 into itself.
334
cacc7b51
GM
3352007-07-25 Glenn Morris <rgm@gnu.org>
336
337 * Relicense all FSF files to GPLv3 or later.
338
339 * COPYING: Switch to GPLv3.
340
880820fe 3412007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
342
343 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
344 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
345 (print_help): Use it in if() rather than #if.
346 (print_help): Conditionally print help about --no-line-directive.
180f5b99 347
9724908a
EZ
3482007-07-16 Eli Zaretskii <eliz@gnu.org>
349
350 * makefile.w32-in (clean): Don't delete *~.
351
5cf9ca93
GM
3522007-06-07 Glenn Morris <rgm@gnu.org>
353
354 * etags.c (print_version): Add `emacs_copyright' string, for
355 easier automatic updating.
356
880820fe 3572007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
358
359 * etags.c: Extern definitions of some more pointer functions for
360 standalone compilation, especially important for 64bit platforms.
361 (main, print_help): --members is now the default for etags.
362 (C_entries): Parse start of C comment as a space == end of token.
363 This is not necessary for C++ comment, already parsed as newline.
364
07016031
GM
3652007-04-26 Glenn Morris <rgm@gnu.org>
366
367 * makefile.w32-in (VERSION): Increase to 22.1.50.
368
7dfc4cda
CY
3692007-06-02 Chong Yidong <cyd@stupidchicken.com>
370
371 * Version 22.1 released.
372
880820fe 3732007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 374
d620ddb3 375 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 376
0971f887
GM
3772007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
378
379 * Makefile.in (EMACS, EMACSOPT): New variables.
380 (blessmail): Use `--no-site-file' when compiling.
381
880820fe 3822007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
383
384 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
385 (main): Now --members is the default for etags, not for ctags yet.
386
d881944f 3872007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 388
47dad44f 389 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
390 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
391 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
392 import, package, extends, implements and interface to be treated
393 specially for all kinds of C-style files, not just Java files.
394
880820fe 3952007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 396
47dad44f 397 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
398 (no_duplicates): Static variables for the above option.
399 (print_help): Do not print help for --no-warn, now undocumented.
400 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 401 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 402
880820fe 4032006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
404
405 * etags.c (readline): When creating a relative file name from a
406 #line directive, leave the file name alone. The previous
407 behaviour was to make it relative to the tags file directory,
408 under the hypothesis that the #line directive file name was
409 relative to the directory of the tagged file. That hypothesis is
410 wrong with Cpp and Lex.
17d5f8a6 411 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 412
5e059fc1
EZ
4132006-12-22 Eli Zaretskii <eliz@gnu.org>
414
415 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
416 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 417 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
418 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
419 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
420 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
421 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
422 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 423 (clean): Delete stamp_BLD.
5e059fc1 424
880820fe 4252006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
426
427 * etags.c (C_entries): DEFUN names were longer by one: corrected.
428
0e0dced5
JB
4292006-12-18 Juanma Barranquero <lekktu@gmail.com>
430
431 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
432 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
433 (main) [WINDOWSNT]: Remove code to release the focus; call
434 w32_give_focus instead.
435
4472aef4
JB
4362006-12-15 Juanma Barranquero <lekktu@gmail.com>
437
438 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
439 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
440 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
441 Suggestions and comment by Eli Zaretskii.
442
12f7728e 4432006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
444
445 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
446 Use $(USER32) for compatibility with Visual Studio .NET 2003.
447
310afa17
JB
4482006-11-30 Juanma Barranquero <lekktu@gmail.com>
449
450 * emacsclient.c (emacs_pid): New variable.
451 (message): Remove leftover code.
452 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
453 focus yet; emacsclient can still display an informational message
454 before sending requests to Emacs.
455 (main): Allow Emacs to grab the focus. Simplify message() call.
456
4572006-11-30 Michael Mauger <mmaug@yahoo.com>
458
459 * emacsclient.c (message): Make sure the message is properly
460 written even if it contains printf escapes, and flush the result.
461 (set_tcp_socket): Make the message for non-local connections
462 informational rather than an error.
463
8c57275b 4642006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
465
466 * etags.c (readline): Check for double quote after #line.
467
880820fe 4682006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
469
470 * etags.c (readline): sscanf could in principle return 2.
471
880820fe 4722006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
473
474 * etags.c (readline): lno is unsigned.
475 (TeX_commands): Use p++ (rather than *p++) to increment p.
476 (Lua_functions): Explicitly discard LOOKING_AT's return value.
477
4d91c8f9
JB
4782006-11-27 Juanma Barranquero <lekktu@gmail.com>
479
480 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
481 ($(TRES)): New rule (copied from nt/makefile.w32-in).
482 ($(BLD)/emacsclientw.exe): Add dependency.
483
340d34a5
EZ
4842006-11-27 Eli Zaretskii <eliz@gnu.org>
485
d620ddb3 486 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 487
7dce1990
JB
4882006-11-25 Juanma Barranquero <lekktu@gmail.com>
489
490 * makefile.w32-in (VERSION): New macro.
491 (ECLIENT_CFLAGS): Add -DVERSION.
492
410797a5 4932006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
494
495 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
496
410797a5 4972006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 498
4472aef4
JB
499 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
500 file names with forward slashes.
cb0297bb 501
30aa95ce
JB
5022006-11-23 Juanma Barranquero <lekktu@gmail.com>
503
504 * emacsclient.c (print_help_and_exit): Tweak message contents and
505 tabs/spaces to improve alignment in message boxes.
506
42073bfb
JB
5072006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
508
509 * emacsclient.c: Include <stdarg.h>.
510 [WINDOWSNT]: Include <windows.h>.
511 (w32_check_console_app): New function.
512 (message): New function.
513 (decode_options, print_help_and_exit, fail, main)
514 (initialize_sockets, get_server_config, set_tcp_socket)
515 (set_local_socket, set_socket): Use message().
516
32dd9283 5172006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 518
32dd9283
JR
519 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
520 HAVE_INET_SOCKETS.
521
1bbea9fc
JB
5222006-11-13 Juanma Barranquero <lekktu@gmail.com>
523
524 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
525 ($(BLD)/emacsclientw.exe): New target.
526 (install): Install emacsclientw.exe.
527 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
528 (ECLIENT_CFLAGS): Remove redundant flags.
529
530 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
531
a48db427
JR
5322006-11-13 Jason Rumney <jasonr@gnu.org>
533
534 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
535
21f89bb7 5362006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
537
538 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
539
d5abc12c
JB
5402006-11-08 Juanma Barranquero <lekktu@gmail.com>
541
ed4a3730
JB
542 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
543 FARPROC to avoid a compiler warning.
d5abc12c 544
18b8c421
JB
5452006-11-07 Juanma Barranquero <lekktu@gmail.com>
546
88b46d84
JB
547 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
548 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
549
18b8c421
JB
550 * emacsclient.c (get_server_config): Extract also the Emacs pid
551 from the server file. On Windows, try to force the Emacs frame to
552 the foreground.
553
b03d27bd
JB
5542006-11-06 Juanma Barranquero <lekktu@gmail.com>
555
21f89bb7 556 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
557 option --socket-name.
558 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
559 command line options.
21f89bb7 560 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
561 (fail): Don't check for missing arguments, it is now done in set_socket.
562 (file_name_absolute_p): New function (loosely based on the one in
563 fileio.c).
564 (initialize_sockets): Don't check for duplicate loading of Winsock.
565 (get_server_config): Only try relative paths in the default
566 directory locations.
567 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
568 a remote server.
569 (set_socket): Call INITIALIZE(). Search explicit command-line
570 arguments, then environment variable EMACS_SERVER_FILE, then implicit
571 socket paths, before trying the alternate editor.
572 (main): Use file_name_absolute_p.
573
b20d6154
EZ
5742006-11-04 Eli Zaretskii <eliz@gnu.org>
575
576 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
577 file if it doesn't already exist.
578
9c92edca
JB
5792006-11-03 Juanma Barranquero <lekktu@gmail.com>
580
581 * emacsclient.c (initialize_sockets): Don't initialize Winsock
582 more than once.
583
b6ce9c46
JB
5842006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
585
586 * Makefile.in (INSTALL_SCRIPT): New macro.
587 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
588
4418616b
JB
5892006-11-02 Juanma Barranquero <lekktu@gmail.com>
590
591 * grep-changelog: When called with no arguments (not even a
592 filter), show help instead of blindingly dumping every single
593 ChangeLog available. Doc fix. Update version.
594
1e7823d0
JB
5952006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
596
597 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
598 [!WINDOWSNT]: Include <netinet/in.h> if available.
599 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
600 (IOCTL, IOCTL_BOOL_ARG): Remove.
601 (set_tcp_socket): Don't set the socket in blocking mode.
602 Remove c_arg.
603
ebc20ca0
JB
6042006-11-01 Juanma Barranquero <lekktu@gmail.com>
605
606 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
607 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
608
880820fe 6092006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
610
611 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
612 (close_winsock): Declare as __cdecl.
613
880820fe 6142006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
615
616 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
617 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
618 to set the socket in non-blocking mode.
619
e35fc962
JB
6202006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
621
d4fa60c8 622 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
623 (INVALID_SOCKET): Define.
624 (initialize_sockets): Put #endif at the right place.
625 (set_local_socket): Use progname, not argv[0].
626
ecc54057
JB
6272006-10-31 Juanma Barranquero <lekktu@gmail.com>
628
629 * makefile.w32-in (ALL): Add emacsclient.
630 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
631 (emacsclient, $(BLD)/emacsclient.exe): New targets.
632 (install): Install emacsclient.
633
634 * emacsclient.c: Add support for TCP sockets.
635 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
636 (INITIALIZE): New macros.
637 (IOCTL_BOOL_ARG): New typedef.
638 (server_file): New global variable.
639 (longopts): New option --server-file.
640 (decode_options): Process new option --server-file and environment
641 variable EMACS_SERVER_FILE.
642 (print_help_and_exit): Document new option.
643 (fail): If no connection available and no alternate editor,
644 suggest using options to make them explicit.
645 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
646 (send_buffer, sblen): New variables.
31fa6595 647 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
648 (quote_file_name): Use SEND_STRING.
649 (close_winsock, initialize_sockets): New functions to load and
650 unload Winsock.
651 (get_server_config, set_tcp_socket): New functions to create and
652 set up TCP sockets.
653 (set_local_socket): New function to create and set up Unix
654 socket (code moved from previous implementation).
655 (set_socket): New function to chose between TCP and Unix sockets.
656 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
657 set_local_socket. Use set_socket. Get answers from server.el with
658 recv(), not file stream functions.
659
70846e2a
EZ
6602006-10-09 Eli Zaretskii <eliz@gnu.org>
661
662 * makefile.w32-in (../src/config.h): Fix error message.
663
e2247cd0
EZ
6642006-09-30 Eli Zaretskii <eliz@gnu.org>
665
666 * .cvsignore: Add blessmail.
667
45a2056c
JB
6682006-09-15 Jay Belanger <belanger@truman.edu>
669
670 * COPYING: Replace "Library Public License" by "Lesser Public
671 License" throughout.
672
880820fe 6732006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 674
ecc54057 675 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 676 (readline): Change position on %n and \" in sscanf.
1f4edc37 677
1520a816
JD
6782006-08-07 Masatake YAMATO <jet@gyve.org>
679
ecc54057
JB
680 * etags.c (readline): Expect sscanf returns 2, not 1.
681
867cc23e
JD
6822006-08-07 Masatake YAMATO <jet@gyve.org>
683
9984b9d5 684 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
685 File ended without newline causes infinite loop.
686
fc185ae6
FP
6872002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
688
ecc54057 689 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 690
880820fe 6912006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
692
693 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
694 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
695 (Objc_suffixes): Suggest using --lang=c for full help.
696 (C_entries): Initialise savetoken to 0 to shut up the compiler.
697
116e754b
AS
6982006-07-20 Andreas Schwab <schwab@suse.de>
699
700 * fakemail.c (fatal): Drop second parameter and treat first
701 parameter as a plain string. Callers changed.
702
2381d38d
DN
7032006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
704
705 * ebrowse.c (usage, version): Mark as NO_RETURN.
706
707 * emacsclient.c (print_help_and_exit): Likewise.
708
880820fe 7092006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
710
711 * etags.c (absolute_filename): Free unused space (cosmetic change).
712 (in_word_set): In C, also tag #undef symbols.
713
7cb93181
EZ
7142006-06-09 Eli Zaretskii <eliz@gnu.org>
715
716 * yow.c: Remove file.
717
718 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
719
720 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
721 yow${EXEEXT}: Remove target.
722
0f29c66d
MY
7232006-06-04 Masatake YAMATO <jet@gyve.org>
724
63fbb644 725 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
726 doesn't exist, is not seekable, not is failed in ftall.
727
a941b26b
EZ
7282006-06-03 Eli Zaretskii <eliz@gnu.org>
729
9781fb53
EZ
730 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
731 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
732 ($(BLD)/test-distrib.exe): New targets.
733 (sorted-doc, digest-doc, test-distrib): New targets.
734 (install): Install sorted-doc.exe and digest-doc.exe.
735 ($(BLD)/sorted-doc.$(O)): Update dependencies.
736
1b178b99
EZ
737 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
738 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
739 terminal device.
740
ae85efdb
EZ
741 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
742 [WINDOWSNT] <top level>: Don't redeclare malloc.
743 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
744 terminal device.
1b178b99 745 (main): Initialize bp, to avoid compiler warnings
ae85efdb 746
a941b26b
EZ
747 * makefile.w32-in: Delete traces of leditcfns.c.
748
749 * leditcfns.c: Remove file.
750
880820fe 7512006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 752
31fa6595
SM
753 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
754 Add comments explaining why the "kpop" service is never used.
8a6d5da7 755
642c61f3
EZ
7562006-05-13 Eli Zaretskii <eliz@gnu.org>
757
758 * makefile.w32-in (lisp1): Add fringe.elc.
759
880820fe 7602006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
761
762 * etags.c (Perl_functions): Free space allocated for var package.
763 (Erlang_functions): Possibly free space allocated for var last.
764 (Prolog_functions): Possibly free space allocated for var last.
765
7c47913b
DN
7662006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
767
7fe8b491
DN
768 * sorted-doc.c (main): Initialize docs to NULL.
769
cdeda579
DN
770 * yow.c (yow): Free buf.
771
7c47913b
DN
772 * etags.c: Delete c-indentation-style local variable.
773
2ef88a94
RS
7742006-04-29 Richard Stallman <rms@gnu.org>
775
5e5b35c7
RS
776 * movemail.c (main): Check for negative value from `read'.
777
2ef88a94
RS
778 * fakemail.c (read_header): Give fatal error if input has no header.
779
d65b4235
PE
7802006-04-02 Paul Eggert <eggert@cs.ucla.edu>
781
782 * b2m.c (main): Don't include <limits.h>.
783 (TM_YEAR_BASE): New macro.
784 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
785 that s/ files can override this. Use the more-conservative range
786 1000-9999.
787 (main): Check for asctime returning NULL.
788 * fakemail.c: Likewise.
789
f5565804
PE
7902006-03-27 Paul Eggert <eggert@cs.ucla.edu>
791
792 * b2m.c: Include <limits.h>.
793 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
794 (main): Check for out-of-range time stamps.
795 * fakemail.c: Likewise.
796
90c9c343
AS
7972006-03-18 Andre Spiegel <spiegel@gnu.org>
798
799 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
800 execute $DIFF twice, and once with the wrong options.
801
a6a2b5d4
EZ
8022006-02-23 Claudio Fontana <claudio@gnu.org>
803
9e2bcc86
EZ
804 * Makefile.in (install, uninstall): Add DESTDIR variable to
805 support staged installations.
a6a2b5d4 806
ef3f69f9
EZ
8072005-12-30 Eli Zaretskii <eliz@gnu.org>
808
809 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
810 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
811 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
812 Rearrange the list to be similar to $(shortlisp) in
813 src/Makefile.in.
ef3f69f9
EZ
814 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
815 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
816 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
817 src/Makefile.in.
818
30cfcf7f
RS
8192005-12-22 Richard M. Stallman <rms@gnu.org>
820
821 * Makefile.in (update-game-score.o): Delete spurious final `\'.
822
ecc54057 8232005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
824
825 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
826 which was never opened.
827
283879ef 8282005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
829
830 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
831 header files.)
832
880820fe 8332005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
834
835 * etags.c: Preliminary Forth support.
836 (prolog_pr): Cast strlen to int before comparison.
837 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
838 the second argument is indeed a literal string.
b9509712 839 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
840
8412005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
842
843 * etags.c (longopts, print_help, main): The -a (--append) option
844 can be used in ctags also; for one, the Linux make file uses it.
845
41ea4df8
CY
8462005-09-20 Chong Yidong <cyd@stupidchicken.com>
847
848 * ebrowse.c (add_sym): Compare namespace names instead of
849 namespace objects. This prevents the parser from incorrectly
850 treating classes whose superclass is in another namespace.
851
5c4757d3
RS
8522005-09-15 Richard M. Stallman <rms@gnu.org>
853
854 * Makefile.in (update-game-score.o): New target.
855 Compile and link this progranm separately.
856 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
857
df1b2142
JR
8582005-09-11 Jason Rumney <jasonr@gnu.org>
859
ecc54057 860 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 861 message instead.
31fa6595 862 (../src/paths.h): Remove.
df1b2142 863
c638055f
JB
8642005-07-27 Juanma Barranquero <lekktu@gmail.com>
865
866 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
867 generated. Ignore also ctags.c and getopt.h.
868
869 * makefile.w32-in (clean): Delete getopt.h.
870 (getopt.h): New rule.
871
9eff9fe3
PE
8722005-07-26 Paul Eggert <eggert@cs.ucla.edu>
873
874 Merge gnulib getopt implementation into Emacs.
875
876 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
877 (GETOPT_H): New macro, from gnulib.
878 (getopt.h): New rule, from gnulib.
879 (GETOPTOBJS): Now autoconfigured.
880 (GETOPTDEPS): getopt.h is now autoconfigured.
881 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
882 (getopt.o): Depend on ${srcdir}/gettext.h.
883 (movemail.o): Depend on $(GETOPT_H).
884 * getopt.c, getopt1.c: Sync from gnulib.
885 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
886 * getopt.h: Removed (now is getopt_.h).
887
ec641d50
KR
8882005-07-13 Ken Raeburn <raeburn@gnu.org>
889
0e0dced5
JB
890 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
891 (sendline): Add the \r\n to the line in a temporary buffer, and write
892 it all at once.
ec641d50 893
a0ec7a4a
LK
8942005-07-04 Lute Kamstra <lute@gnu.org>
895
896 Update FSF's address in GPL notices.
897
0e0dddda
EZ
8982005-06-13 Eli Zaretskii <eliz@gnu.org>
899
900 * makefile.w32-in ($(DOC)): Fix last change.
901
5a77c8e2
EZ
9022005-06-12 Eli Zaretskii <eliz@gnu.org>
903
904 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
905 temacs.exe, and the preloaded *.elc files. This avoids
906 unnecessary dumping and DOC rebuilding.
907
1a8fb426
EZ
9082005-06-04 Eli Zaretskii <eliz@gnu.org>
909
910 * ntlib.h (fileno): Don't define if already defined.
911
7235a58f
TTN
9122005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
913
914 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
915 (yow): Use EXIT_FAILURE in case of memory error.
916
5063dbbf
YM
9172005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
918
919 * make-docfile.c (DIRECTORY_SEP): New macro.
920 (IS_DIRECTORY_SEP): Use it.
921
880820fe 9222005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
923
924 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
925
ba025f6d
YM
9262005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
927
928 * make-docfile.c: Undo previous change.
929
a9eedf40
AS
9302005-02-04 Andreas Schwab <schwab@suse.de>
931
0e0dced5
JB
932 * movemail.c (fatal): Accept third parameter and pass down to error.
933 (pfatal_with_name): Pass error string as format parameter instead of
934 as part of format string.
a9eedf40
AS
935 (pfatal_and_delete): Likewise.
936 (main): Adjust call to fatal.
937 (xmalloc): Likewise.
938
5a92a9eb
RS
9392005-01-29 Richard M. Stallman <rms@gnu.org>
940
941 * movemail.c (popmail): Don't use Errmsg as format string.
942
e6973a25
ST
9432004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
944
0e0dced5 945 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 946
1bb3da38
AS
9472004-12-15 Andreas Schwab <schwab@suse.de>
948
949 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
950 preprocessing to compile time constant.
951
d4a38fdd
KS
9522004-11-17 Kim F. Storm <storm@cua.dk>
953
954 * etags.c: Undo last change.
955
f2eb41c8
KS
9562004-11-09 Kim F. Storm <storm@cua.dk>
957
958 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
959 silence compiler.
960
961 * hexl.c (main): Init local var c to silence compiler.
962
963 * etags.c (main, consider_token, C_entries): Add misc switch
964 default targets to silence compiler.
965
880820fe 9662004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
967
968 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
969 resulting DOC file can be used on Unix/Mac also.
970
880820fe 9712004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
972
973 * etags.c (main): When relative file names are given as argument,
974 make them relative to the current working dir, rather than
975 relative to the output tags file, if the latter is in /dev.
976
880820fe 9772004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
978
979 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
980 <stdlib.h> is available.
981 (enum sym_type): New st_C_attribute value for parsing
982 gcc's __attribute__. Deleted st_C_typespec value.
983 (gperf, in_word_set): Use gperf 3, options changed. Added the
984 __attribute__ keyword, removed all the st_C_typespec keywords,
985 changed attribute for Java to (C_JAVA & !C_PLPL).
986 (inattribute): New global bool, part of the C state machine.
987 (cblev): Identifier renamed to bracelev throughout.
988 (consider_token, C_entries): Numerous changes for making the
989 parser more robust and adding support for __attribute__.
990
9912004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
992
ecc54057 993 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
994 Support the Lua scripting language <http://www.lua.org>.
995
880820fe 9962004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 997
d57727c9 998 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
999 for ease of use.
1000
3751eb00
RS
10012004-07-17 Richard M. Stallman <rms@gnu.org>
1002
1003 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1004
86d373e6
JB
10052004-06-01 Juanma Barranquero <lektu@terra.es>
1006
1007 * makefile.w32-in (obj): Add image.c.
1008
80e26b66
TTN
10092004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1010
0e0dced5 1011 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1012
e6662c8b
JR
10132004-05-08 Jason Rumney <jasonr@gnu.org>
1014
1015 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1016 command-lines.
1017
65396510
TTN
10182004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1019
1020 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1021 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1022 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1023
1024 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1025 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1026 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1027
c2bcfb19
TTN
10282004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1029
1030 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1031
3f0656ff
TTN
10322004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1033
1034 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1035 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1036 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1037
1038 * etags.c: Likewise.
1039
238add5e
JR
10402004-05-03 Jason Rumney <jasonr@gnu.org>
1041
1042 * makefile.nt: Remove.
1043
b09c5608
EZ
10442004-04-26 Eli Zaretskii <eliz@gnu.org>
1045
1046 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1047 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1048 instead of a literal '/'.
1049
d814862a
JB
10502004-04-23 Juanma Barranquero <lektu@terra.es>
1051
1052 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1053
442a2160
PE
10542004-04-17 Paul Eggert <eggert@gnu.org>
1055
1056 * rcs2log (Help): Clarify wording of the usage message.
1057 Problem reported by Alan Mackenzie in
1058 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1059
d5d66b7e
SM
10602004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * make-docfile.c (xmalloc): Fix return type.
1063 (put_filename): New fun.
1064 (scan_file): Use it.
1065
bdfd0369
JB
10662004-03-09 Juanma Barranquero <lektu@terra.es>
1067
1068 * grep-changelog: Changes to support ChangeLog.10+.
1069 (main): Tidy up usage string. Fix "Use of uninitialized value"
1070 warning. Set version to 0.2. Parse the directory listing to get
1071 any ChangeLog.n file, not just 1..9.
1072 (header_match_p, entry_match_p, print_log, parse_changelog):
1073 Remove Perl prototypes (their purpose is to help the parser, which
1074 isn't needed here, not declare arguments).
1075 (parse_changelog): Make --reverse faster on big batches by not
1076 modifying the entries list.
1077
a64387ee
JB
10782004-03-01 Juanma Barranquero <lektu@terra.es>
1079
1080 * makefile.w32-in (obj): Add fringe.c.
1081
9766d41b
PE
10822004-02-14 Paul Eggert <eggert@twinsun.com>
1083
1084 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1085 :local: methods, or omits the colon between the hostname
1086 and the path. Allow :/ in repository path, since CVS does.
1087 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1088 This fixes a bug reported by Wolfgang Scherer in
1089 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1090 along with some related bugs I discovered by inspecting how
1091 CVS itself parses $CVSROOT.
1092
880820fe 10932004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1094
1095 * emacsclient.c (decode_options): Fix handling of alternate editor.
1096
0734b0d0
SM
10972004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacsclient.c (main): Don't use the hostname in the socket name.
1100 Look for relative socket names in the /tmp dir rather than in cwd.
1101
2a6fc2d9
RS
11022004-01-24 Richard M. Stallman <rms@gnu.org>
1103
1104 * emacsclient.c (main): Restore errno from saved_errno,
1105 so the error message comes from socket_status.
1106
0734b0d0
SM
11072004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * emacsclient.c (main): Stop if socket name too long.
1110 Only try su-fallback if the socket name was not explicit.
1111 Check socket name length in su-fallback case as well.
1112
152b6e83
AS
11132004-01-08 Andreas Schwab <schwab@suse.de>
1114
1115 * emacsclient.c (main): Save errno from socket_status.
1116
e8228824
AS
11172004-01-04 Andreas Schwab <schwab@suse.de>
1118
1119 * emacsclient.c (main): Fix socket name when using another user.
1120
c9140662
PE
11212003-12-27 Paul Eggert <eggert@twinsun.com>
1122
1123 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1124 a tag, and if the user has not specified an rlog option.
1125 Adapted from a suggestion by Martin Stjernholm in
1126 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1127 (Copyright): Update to 2003.
1128
8babaa59
TTN
11292003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1130
1131 * make-docfile.c (main): For return code, no longer special-case VMS.
1132 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1133
880820fe 11342003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1135
1136 * emacsclient.c (quote_file_name): Print the result instead of
1137 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1138 (main): With --eval, if no file name, read from stdin.
1139 Quote file names.
14ef7288 1140
f387bdea
RS
11412003-09-10 Richard M. Stallman <rms@gnu.org>
1142
07655e62 1143 * emacsclient.c (main): Use socket_name.
f387bdea 1144
880820fe 11452003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1146
1147 * emacsclient.c (socket_name): New variable.
1148 (longopts, decode_options, print_help_and_exit):
1149 Handle --socket-name argument.
1150
0b7e7337
FP
11512003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1152
783bcffa 1153 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1154 token len is long enough.
1155
ac06b30b
DL
11562003-08-20 Dave Love <fx@gnu.org>
1157
1158 * Makefile.in: Remove obsolete references to alloca.
1159
32b0a3c6
JB
11602003-07-29 Ken Brush <ken@wirex.com>
1161
1162 * emacsclient.c (main)
1163 * etags.c (suggest_asking_for_help)
1164 * movemail.c (main): Fix having macros in a printf statement.
1165
3867c42d
JB
11662003-05-31 Juanma Barranquero <lektu@terra.es>
1167
1168 * makefile.w32-in (lisp): Fix references to byte-run.el,
1169 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1170
7933722a
DL
11712003-05-22 Dave Love <fx@gnu.org>
1172
1173 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1174 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1175
463f55ee
DL
11762003-05-20 Dave Love <fx@gnu.org>
1177
1178 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1179
1180 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1181
1b7a835b
JB
11822003-04-27 Oliver Scholz <alkibiades@gmx.de>
1183
0e0dced5 1184 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1185
eec54bd7
SM
11862003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1187
1188 * emacsclient.c (main): Use new safe location for socket.
1189
ff4bd681
JB
11902003-03-12 Tom Tromey <tromey@redhat.com>
1191
eec54bd7
SM
1192 * emacsclient.c (print_help_and_exit): Print to stdout.
1193 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1194 (decode_options): Don't call print_help_and_exit in default case.
1195 Print version information to stdout.
1196 (main): Don't call print_help_and_exit.
1197
dd132e44
RS
11982003-02-15 Richard M. Stallman <rms@gnu.org>
1199
1200 * cvtmail.c: Cast result of malloc and realloc.
1201 Don't include stdlib.h, becuase config.h does.
1202 (malloc, realloc): Declarations deleted.
ff4bd681 1203
dd132e44
RS
1204 * yow.c (yow): Cast result of malloc and realloc.
1205 (malloc, realloc): Declarations deleted.
1206
71ffc53a
JB
12072003-02-11 Juanma Barranquero <lektu@terra.es>
1208
1209 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1210
0dfd93c0
AS
12112003-02-08 Andreas Schwab <schwab@suse.de>
1212
1213 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1214 instead of the substitution.
1215
37d1e680
RS
12162003-02-04 Richard M. Stallman <rms@gnu.org>
1217
1218 * update-game-score.c (push_score, read_scores): Cast values
1219 of malloc and realloc.
1220 (main, lock_file): Avoid assignment inside if.
1221
c60ee5e7
JB
12222003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1223
1224 * Makefile.in: Use @EXEEXT@ for Cygwin.
1225
b24e2dc7
DL
12262003-01-21 Dave Love <fx@gnu.org>
1227
1228 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1229 column-0 `('.
1230
1231 * yow.c: Don't include string.h.
1232
675d000f
RS
12332003-01-20 Richard M. Stallman <rms@gnu.org>
1234
1235 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1236 New targets.
1237
207aa3ff
KS
12382003-01-06 Kim F. Storm <storm@cua.dk>
1239
31fa6595 1240 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1241 All uses changed.
1242
cf6d30d7
AI
12432002-12-18 Andrew Innes <andrewi@gnu.org>
1244
1245 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1246 because GNU make doesn't append when using >> redirection.
1247
649fc2c5
PJ
12482002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
1249
1250 * b2m.pl: Make sure every message ends with a blank line, because
1251 some mbox parsers require a blank line before "From " lines.
1252
85cce843
RS
12532002-12-08 Richard M. Stallman <rms@gnu.org>
1254
1255 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1256 (_): Test only HAVE_LIBINTL_H to decide what to do.
1257
2ccc4d34
RS
12582002-12-05 Richard M. Stallman <rms@gnu.org>
1259
1260 * getopt.c: Comment out include of libintl.h or gettext.h.
1261
c5992177
RS
12622002-12-04 Richard M. Stallman <rms@gnu.org>
1263
1264 * Update getopt from gnulib version; changes described below.
1265
1266 * getopt1.c: Conditionally find getopt.h.
1267 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1268
1269 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1270 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1271 (wchar.h): Include, maybe.
c5992177
RS
1272 (attribute_hidden): Define if not defind.
1273 (__getopt_initialized): Use attribute_hidden.
1274 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
1275 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
1276 Conditional on USE_NONOPTION_FLAGS.
1277 (SWAP_FLAGS): New definitions.
1278 (exchange): Test USE_NONOPTION_FLAGS.
1279 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1280 (_getopt_internal): Error if argc < 1. New local var print_errors.
1281 Improve test for ambiguous long option.
1282 Add LIBIO support for error message output.
1283 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1284
1285 * getopt.h: Maybe include ctype.h.
1286 Treat __cplusplus like __STDC__.
1287 (decls): Use __ in arg names.
1288
4b5e69bd
SE
12892002-12-02 Stephen Eglen <stephen@gnu.org>
1290
1291 * emacsclient.c (main): Tell user how to start server within Emacs
1292 if socket could not be found.
1293
19fa03f3
RS
12942002-12-02 Richard M. Stallman <rms@gnu.org>
1295
1296 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1297
7be215b4
JB
12982002-11-19 Ben Key <bkey1@tampabay.rr.com>
1299
29f538e6
BK
1300 * makefile.w32-in: Fixed a bug that caused the documentation for
1301 the built in function play-sound-internal not to be included in
1302 /etc/DOC.
7be215b4 1303
1998560a
DL
13042002-11-18 Dave Love <fx@gnu.org>
1305
1306 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1307 fcntl.h, stdarg.h conditionally.
1308 (_GNU_SOURCE, __attribute__): Don't define.
1309 (optarg, optind, opterr): Declare.
1310 (lose, lose_syserr): Use NO_RETURN.
1311 (get_user_id): Use P_.
1312
8b96caf3
RS
13132002-11-17 Richard M. Stallman <rms@gnu.org>
1314
1315 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1316
59daa29a
DL
13172002-11-14 Dave Love <fx@gnu.org>
1318
1319 * movemail.c (pop_retr): Declare comment.
1320
1321 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1322
1323 * Makefile.in (YACC): Deleted.
1324
f1b443bf
AS
13252002-10-19 Andreas Schwab <schwab@suse.de>
1326
1327 * Makefile.in (${archlibdir}): Always create $(gamedir).
1328 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1329
52402e4f
JB
13302002-10-04 Juanma Barranquero <lektu@terra.es>
1331
1332 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1333
15dab115
MR
13342002-09-30 Markus Rost <rost@math.ohio-state.edu>
1335
1336 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1337 completely.
1338
30be2360
SM
13392002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1340
1341 * emacsclient.c: Remove SYSV support.
1342 (eval, display): New vars.
1343 (longopts): Add --eval and --display.
1344 (decode_options): Add -e and -d processing.
1345 (print_help_and_exit): Update the usage string.
1346 (main): Add support for --eval and --display.
3ecdcd59 1347 (main): Always use /tmp and non-qualified hostname.
30be2360 1348
4208da83
SM
13492002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1350
1351 * emacsserver.c: Remove.
1352
3cf8c6aa
SM
13532002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1354
1355 * emacsclient.c (quote_file_name): Quote \n.
1356 (main): Print a final \n when needed.
1357
880820fe 13582002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1359
1360 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1361 string that cannot be freed.
1362
880820fe 13632002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1364
1365 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1366 auto-detection is enabled and the `::' qualifier is met.
1367 (consider_token, C_entries): Several bugs corrected that tagged
1368 some declarations even though --declarations was not used.
1369 (plainc): New macro.
1370 (C_entries): Use it.
1371 (C_entries): Several cosmetic changes.
1372 (C_entries): Invalidate the token is some cases.
1373
880820fe 13742002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1375
eec54bd7 1376 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1377 (ignoreindent): Renamed from noindentypedefs.
1378 (cjava, cplpl): They are now macros instead of local vars.
1379
880820fe 13802002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1381
1382 * etags.c (HTML_labels): Tag ID= also.
1383
880820fe 13842002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1385
1386 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1387
ecc54057 1388 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1389 (etags_strcasecmp): Like BSD's, for compatibility.
1390 (strcaseeq): Make it into a macro.
1391
1392 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1393 (linebuffer_init): Renamed from initbuffer. All callers changed.
1394 (pattern): Structure renamed to `regexp', member regex renamed to
1395 pattern.
1396 (node_st): Member pat renamed to regex.
eec54bd7
SM
1397 (pattern); New member force_explicit_name, for future use.
1398 Now always set to true, cannot be reset.
87046df8
FP
1399 (add_regex, regex_tag_multiline, readline): Use it.
1400 (main): Free some global structures.
8ee14629 1401 (fdesc): New member `written'.
87046df8
FP
1402 (readline, process_file): Initialise it.
1403 (put_entries): Set it.
1404 (main): Use it to create entries for files without tags.
1405 (total_size_of_entries): Do not count invalid tags.
87046df8 1406
02ce3e80
SM
14072002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1408
1409 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1410 for the function name in the usage info.
1411
5fba5c21
CW
14122002-07-31 Colin Walters <walters@gnu.org>
1413
1414 * update-game-score.c (P_): New macro. Use it for all prototypes.
1415 (lose): Don't use varargs.
1416 (lose_syserr): New function.
1417
1418 * update-game-score.c: Change all functions to K&R style.
1419
712eaee0
AS
14202002-07-30 Andreas Schwab <schwab@suse.de>
1421
1422 * Makefile.in (localstatedir): New variable.
1423
c89ed6ef
PJ
14242002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1425
1426 * b2m.pl: Fix regexp for finding return address fields.
1427
1e042160
SM
14282002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1429
1430 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1431
c60ee5e7 14322002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 1433
02ce3e80 1434 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1435
880820fe 14362002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1437
1438 * b2m.pl: New file.
1439
880820fe 14402002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1441
ecc54057 1442 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1443 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1444 (PHP_functions, PHP_functions, Cobol_paragraphs)
1445 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1446 (prolog_pr, erlang_func, erlang_attribute)
1447 (Perl_functions, Perl_functions, Pascal_functions)
1448 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1449 (get_tag): Prototype changed, all callers changed.
1450
880820fe 14512002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1452
d76132d0
FP
1453 * etags.c: Implement implicit tag names, that is, unnamed tags
1454 whose name is automatically deduced by etags.el. The advantage is
1455 that there is no explicit tag name in most tags, so the size of
1456 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1457 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1458 (make_tag): New function (was the disabled function new_pfnote).
1459 (make_C_tag): Use it.
1460
880820fe 14612002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1462
1463 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1464 (Makefile_targets): Tag variables unless --no-globals.
1465 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1466
880820fe 14672002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1468
1469 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1470 (invalidate_nodes): Bug corrected.
1471 (print_help): Better help for regexps.
1472
7a8940da
JB
14732002-06-13 Juanma Barranquero <lektu@terra.es>
1474
1475 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1476 font-core.elc.
1477
880820fe 14782002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1479
1480 * etags.c: New multi-line regexp and new regexp syntax.
1481 (arg_type): at_icregexp label removed (obsolete).
1482 (pattern): New member multi_line for multi-line regexps.
1483 (filebuf): A global buffer containing the whole file as a string
1484 for multi-line regexp matching.
1485 (need_filebuf): Global flag raised if multi-line regexps used.
1486 (print_help): Document new regexp modifiers, remove references to
1487 obsolete option --ignore-case-regexp.
1488 (main): Do not set regexp syntax and translation table here.
1489 (main): Treat -c option as a backward compatibility hack.
1490 (main, find_entries): Init and free filebuf.
1491 (find_entries): Call regex_tag_multiline after the regular parser.
1492 (scan_separators): Check for untermintaed regexp and return NULL.
1493 (analyse_regex, add_regex): Remove the ignore_case argument, which
1494 is now a modifier to the regexp. All callers changed.
1495 (add_regex): Manage the regexp modifiers.
1496 (regex_tag_multiline): New function. Reads from filebuf.
1497 (readline_internal): If necessary, copy the whole file into filebuf.
1498 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1499
880820fe 15002002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1501
1502 * etags.c (add_regex): Better check for null regexps.
1503 (readline): Check for regex matching null string.
1504 (find_entries): Reorganisation.
1505
880820fe 15062002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1507
1508 * etags.c (scan_separators): Support all character escape
1509 sequences supported by Gcc.
02ce3e80 1510 (find_entries): Rewind unconditionally.
f0da41a6
FP
1511 (find_entries): Do not call language functions directly, now calls
1512 itself.
1513 (find_entries): Do general initialisations here.
1514 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1515 (Ada_getit, Pascal_functions, Pascal_functions)
1516 (prolog_skip_comment): Do not do them here.
1517 (readline_internal): Increment lineno here.
1518 (readline): Conditionally undo readline_internal increment.
1519 (readline): Do not return a value.
1520
880820fe 15212002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1522
88c71720 1523 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1524 (enum arg_type): New label at_stdin.
1525 (STDIN): New constant.
1526 (parsing_stdin): New flag.
1527 (longopts): New option --parse-stdin=NAME.
1528 (print_help): Document it.
1529 (main): Handle it.
1530 (process_file): Split into process_file and process_file_name.
1531 (process_file_name): New function.
1532
88c71720 1533 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1534 (TeX_commands): Skip comments.
5526f1f6
FP
1535 (TEX_defenv): Now contains more contructs.
1536 (TEX_cmt): Make it a static char and move it before TeX_commands.
1537 (TeX_commands): Shorten the tag to the brace after the name.
1538 (TeX_commands): Names now include the initial backslash.
1539 (TeX_commands): Names do not include numeric args #n.
1540 (TeX_commands): Correct line char number in tags.
1541 (TEX_tabent, TEX_token): Deleted.
1542 (TeX_commands, TEX_decode_env): Streamlined.
1543
880820fe 15442002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1545
1546 * etags.c (main): Avoid a buffer overrun with sprintf.
1547
a71867c5
RS
15482002-05-30 Richard M. Stallman <rms@gnu.org>
1549
1550 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1551 (LIBS_MOVE): Renamed from MOVE_LIBS.
1552
b7e67db6
PE
15532002-05-26 Paul Eggert <eggert@twinsun.com>
1554
1555 Reinstate the following change from 2002-03-22, which was
1556 inadvertently lost on 2002-04-13.
1557
1558 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1559 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1560 the latter usage.
1561
5f226e2c
EZ
15622002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1563
1564 * pop.c (socket_connection): Move the code to resolve the POP
1565 host right before trying to connect with it.
1566
5167cfda
CW
15672002-04-28 Colin Walters <walters@verbum.org>
1568
1569 * Makefile.in (${archlibdir}): Don't conditionalize on
1570 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1571 or not we have access to the specified game user.
50496bd9 1572
5167cfda
CW
1573 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1574 (main): New argument -d, for specifying directory.
1575 (usage): Document.
02ce3e80 1576 (get_user_id): Compute.
5167cfda
CW
1577 (get_home_dir): Deleted.
1578 (get_prefix): New function, taken from main.
1579 (main): Check whether or not we are running setuid. Move prefix
1580 computation to get_prefix. Don't call getpwent; we don't need to
1581 any more. Instead, move it to get_user_id().
1582
880820fe 15832002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1584
1585 * ebrowse.c (skip_initializer): Return void.
1586
973c3c87
CW
15872002-04-23 Colin Walters <walters@verbum.org>
1588
1589 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1590 space.
1591
880820fe 15922002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1593
ecc54057 1594 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1595 (process_file): Print the tags from the nodes as soon as
1596 possible, and delete the nodes. This brings down the memory
1597 occupancy as etags to almost the same level as when the #line
1598 directives were not parsed.
1599 (free_fdesc): New function.
1600 (find_entries): Use it.
1601 (invalidate_nodes): In etags mode, do not just mark the nodes as
1602 invalid, do delete them.
1603
c901ceff
GM
16042002-04-21 Gerd Moellmann <gerd@gnu.org>
1605
1606 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1607
c42d6dbd
EZ
16082002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1609
1610 * update-game-score.c: Move config.h before the other headers, to
1611 avoid compiler warnings.
1612
880820fe 16132002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
1614
1615 * etags.c (find_entries): Bug fix in list management.
1616
880820fe 16172002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
1618
1619 * etags.c (get_language_from_filename): Add one argument.
1620 (strcaseeq): New function.
1621 (get_language_from_filename): Use it to do a case insenstitive
1622 comparison if called with appropriate args.
1623 (find_entries): Try with case insensitive match.
1624 (process_file): Bug fixed.
1625
880820fe 16262002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
1627
1628 * etags.c (find_entries): Delete tags previously obtained from
1629 file xxx.c's #line directives when parsing file xxx.y. This is
1630 generally done for automatically generated files containing
1631 #line directives. This handles the case when xxx.y is tagged
1632 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1633 be discarded.
eec54bd7 1634 (language): Add the metasource member. Initializers changed.
c150db23
FP
1635 (invalidate_nodes): New function.
1636 (readline): Discard lines after having found a #line
02ce3e80 1637 directive pointing to an already tagged file. This handles the
c150db23
FP
1638 case when xxx.y is tagged before xxx.c, and the entries of
1639 xxx.c pointing to xxx.y should be discarded.
1640 (fdesc): New structure for keeping track of input files.
1641 (fdesc): Remove `file' member (a string) and use instead a pointer
1642 to a file description structure.
02ce3e80
SM
1643 (curfile, curfiledir, curtagfname, curlang, nocharno)
1644 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
1645 curfdp, pointers to file description strucures.
1646 (longopts, main, print_help): Use the CTAGS conditional to include
1647 or exclude options that work on etags or ctags only.
02ce3e80
SM
1648 (process_file, find_entries, pfnote, add_node, put_entries)
1649 (readline): Use fdhead and curfdp.
c150db23
FP
1650 (process_file, find_entries): Do not take an arg string, all
1651 callers changed.
1652
1653 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1654 options that are not right for either etags or ctags.
1655
1656 * etags.c (number_len, total_size_of_entries): Define them also
1657 in CTAGS mode, because gcc does not compile all refs away.
1658
e9d1f248
CW
16592002-04-14 Colin Walters <walters@debian.org>
1660
1661 * update-game-score.c (lock_file): If the lock file is older than
1662 an hour, delete it. Reset attempts to zero if we have to break
1663 the lock.
1664
7605f1bd
AS
16652002-04-14 Andreas Schwab <schwab@suse.de>
1666
1667 * update-game-score.c (read_score): Fix type of second parameter
1668 of getdelim to be of type size_t instead of int. Use 0 instead of
1669 ESUCCES.
1670
e82defd1
CW
16712002-04-10 Colin Walters <walters@verbum.org>
1672
ecc54057 1673 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1674 (MAX_DATA_LEN, MAX_SCORES): New.
1675 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1676 default to ~/.emacs.d/games.
1677 (get_user_id): Don't zero uid in the case where we can't get the
1678 username.
1679 (lose): New function.
1680 (main): Actually use `max', and default it to MAX_SCORES.
1681 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1682 function.
1683 (read_score): Handle the case of reading unamelen characters, then
1684 finishing. Use mktemp if mkstemp isn't available.
1685 (lock_file, unlock_file): Delete unused versions.
1686 (lock_file): Always sleep, even if we unlinked the lock file.
1687
e82defd1
CW
1688 * Makefile.in (gamedir, gameuser): New variables.
1689 (toplevel, UTILITIES): Add update-game-score.
1690 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1691
5795b420
CW
16922002-04-07 Colin Walters <walters@verbum.org>
1693
1694 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1695 (get_user_id): Take struct passwd as an argument.
1696 (get_home_dir): New function.
1697 (main): Read in user information here. Discover home directory if
1698 necessary.
1699 (read_score): Trim newline only in `getline' case.
1700
cd553ffb 17012002-04-05 Colin Walters <walters@debian.org>
c150db23 1702
cd553ffb
CW
1703 * update-game-score.c (toplevel): Include pwd.h.
1704 (struct score_entry): Add username field.
1705 (push_score): Use it.
1706 (get_user_id): New function.
1707 (main): Don't malloc excessively.
1708 (main): Use username field.
1709 (read_score): Read it.
1710 (push_score): Handle it.
07655e62 1711 (write_scores): Write it.
c150db23
FP
1712 (read_score): Handle arbitrary length data.
1713
b74bd4a3
EZ
17142002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1715
1716 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1717
fa8bc89d
GM
17182002-03-29 Gerd Moellmann <gerd@gnu.org>
1719
1720 * ebrowse.c (add_declarator, skip_initializer): New functions.
1721 (declaration): Use them.
1722
dd87b4cc
JR
17232002-03-28 Jason Rumney <jasonr@gnu.org>
1724
1725 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1726
cd553ffb
CW
17272002-03-27 Colin Walters <walters@debian.org>
1728
1729 * update-game-score.c: New file.
1730
dfef6d49
PE
17312002-03-22 Paul Eggert <eggert@twinsun.com>
1732
1733 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1734 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1735 the latter usage.
1736
880820fe 17372002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 1738
4fff90e4 1739 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1740 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1741 (TeX_commands): Name tags. Correction of old disabled code.
1742
1743 * etags.c (curfiledir, curtagfname): New global variables.
1744 (process_file): Initialise them.
1745 (readline): Canonicalize the name found in #line directive.
893a741e 1746
4fff90e4 17472002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1748
893a741e
JR
1749 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1750 compilers that don't optimize out dead code.
1751
880820fe 17522002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
1753
1754 * etags.c: Honour #line directives.
1755 (no_line_directive): New global var; set it for old behaviour.
1756 (main): Remove some #ifdef in the getopt switch.
1757 (add_node, put_entries): Code added to merge different chunks of
1758 nodes referring to the same file. Currently the tags are just
1759 appended, without any check for duplicates.
1760 (Perl_functions): Do not special case ctags.
1761 (readline): Identify #line directives and do the right thing.
1762 (nocharno, invalidcharno): New global vars.
1763 (process_file): Reset nocharno.
1764 (readline): Set nocharno.
1765 (pfnote): Read nocharno and maybe put invalidcharno in node.
1766 (total_size_of_entries, put_entries): Use invalidcharno.
1767
1768 * etags.c: Keep the whole tag table in memory, even in etags mode.
1769 (main): Call put_entries here even in CTAGS mode.
1770 (main, process_file): Check the return values of fclose and pclose.
1771 (process_file): Do not call put_entries after parsing each file.
1772 (process_file): Canonicalise file names even for ctags.
1773 (process_file): Set curfile here...
1774 (find_entries): ... not here any more.
1775 (add_node): In etags mode, build a linked list of entries (on
1776 right pointer) for each file, and link the first entry of each
1777 file on left nodes.
1778 (put_entries): Print here the name of the file.
1779 (put_entries): Print the entries starting from the first file.
c150db23 1780 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1781 mode, make the second work only on the right nodes.
1782
1783 * etags.c: Make all global variables static.
1784
50ce1f62
JB
17852002-02-25 Juanma Barranquero <lektu@terra.es>
1786
1787 * makefile.w32-in (lisp): Add missing backslash.
1788
82a399d2
JR
17892002-02-24 Jason Rumney <jasonr@gnu.org>
1790
1791 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1792 using .elc files.
1793 (lisp): Sync with list in src/Makefile.in
1794 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1795
a279c920
PE
17962002-02-10 Paul Eggert <eggert@twinsun.com>
1797
1798 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1799 disallows the old syntax.
1800
0caa685d
PE
18012002-02-03 Paul Eggert <eggert@twinsun.com>
1802
1803 * rcs2log(Copyright): Update to 2002.
1804 (AWK, TMPDIR): Work around portability problem in broken shells that
1805 don't understand `: ${VAR=val}'.
1806 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1807 Prefer the new -k option to the traditional +M -N option.
1808
880820fe 18092002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
1810
1811 * b2m.c (main): Parenthesize assignment when used as truth value
1812 to prevent gcc warnings.
1813
1814 * fakemail.c: Include <config.h>.
1815
880820fe 18162001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
1817
1818 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1819 * yow.c: Include <config.h>.
1820
880820fe 18212001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
1822
1823 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1824 (get_tag): Return a pointer to the tag that is found.
1825
1826 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1827 (F_takeprec): Renamed from takeprec. All callers changed.
1828 (F_getit): Renamed from getit. All callers changed.
1829 (nocase_tail): Renamed from tail. All callers changed.
1830 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1831 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1832 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1833 modified LOOKING_AT.
1834 (notinname): Removed '[' and added ')' to the recognised chars.
1835 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1836 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1837 Clarified, using strneq or notinname.
1838 (L_isdef, L_isquote): Removed.
1839 (Lisp_functions, L_getit): Clarified.
1840
ecc54057 1841 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
1842 [HAVE_CONFIG_H]: Let config.h deal with __P.
1843 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1844 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1845 gperf code needs it.
ecc54057
JB
1846 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1847 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
1848 (xmalloc, xrealloc): Use PTR instead of long *.
1849 (bool): Make it a define, not a typedef, for C++ compilers.
1850 (pattern): Members renamed to avoid name clash in some C++ compilers.
1851 (get_language_from_langname): Use const argument.
1852
880820fe 18532001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
1854
1855 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1856
880820fe 18572001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 1858
b8509940
PJ
1859 * emacsserver.c: Conditionally include config.h.
1860
594aa066
PJ
1861 * fakemail.c: Likewise.
1862
e69233c2
PJ
1863 * emacsclient.c: Include "config.h", not <../src/config.h>.
1864 (main): Parenthesize assignment when used as truth value to
1865 prevent gcc warnings.
1866
69bfc389
PJ
1867 * ebrowse.c: Include stdlib.h and string.h conditionally.
1868
e4e34e31
EZ
18692001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1870
1871 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1872
880820fe 18732001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
1874
1875 * test-distrib.c: Fix previous change.
1876
fb5aa7ac
DL
18772001-12-18 Dave Love <fx@gnu.org>
1878
1879 * test-distrib.c: Conditionally include fcntl.h.
1880
1881 * fakemail.c: Include "config.h", not <../src/config.h>.
1882 (_XOPEN_SOURCE): Define as 500.
1883
1884 * emacsserver.c: Include "config.h", not <../src/config.h>.
1885
1886 * cvtmail.c: Include config.h, stdlib.h.
1887 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1888
1889 * yow.c: Conditionally include various headers. Use "epaths.h",
1890 not <../src/epaths.h>.
1891 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1892
880820fe 18932001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 1894
13dc0576 1895 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1896 (LOOKING_AT): New macro.
1897 (Perl_functions, Python_functions, PHP_functions)
1898 (Scheme_functions, Texinfo_nodes): Use it.
1899 (Perl_functions): Use strneq.
1900 (prolog_pred): Renamed to prolog_pr.
13dc0576 1901 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1902 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1903 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1904 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1905
34e39c95
RS
19062001-12-11 Richard M. Stallman <rms@gnu.org>
1907
1908 * Makefile.in (clean): Don't delete ../etc/DOC*.
1909
880820fe 19102001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
1911
1912 * COPYING: Moved back.
1913
76054cc8
AI
19142001-11-30 Andrew Innes <andrewi@gnu.org>
1915
e94a3679
FP
1916 * makefile.w32-in (FACE_SUPPORT):
1917 (MOUSE_SUPPORT):
1918 (FLOAT_SUPPORT):
1919 (WINNT_SUPPORT):
76054cc8
AI
1920 (lisp): Reference .el files instead of .elc files, to simplify
1921 bootstrapping.
1922 ($(DOC)): Change dependency to just `make-docfile'.
1923
880820fe 19242001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
1925
1926 * COPYING: Removed.
1927
e8d6a09b
PE
19282001-11-28 Paul Eggert <eggert@twinsun.com>
1929
1930 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1931
1932 The following changes are derived from suggestions by Bob Chapman
1933 <rechapman@compuserve.com>.
1934
1935 * rcs2log (printlogline): Also allow tab and newline to separate
1936 '(function):' from the rest of a comment.
1937 (reformat the sorted log entries): Require date and author to
1938 match the clumpname.
1939
9a190096
GM
19402001-11-16 Gerd Moellmann <gerd@gnu.org>
1941
1942 * ebrowse.c (matching_regexp): Escape '\\'.
1943
880820fe 19442001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
1945
1946 * Makefile.in: Add support for --program-prefix, --program-suffix
1947 and --program-transform-name options.
1948
6d8f7d5d
RS
19492001-11-03 Richard M. Stallman <rms@gnu.org>
1950
1951 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1952
1953 * movemail.c (popmail): Always pass two args to `error'.
1954
84e70f78
KR
19552001-10-24 Ken Raeburn <raeburn@gnu.org>
1956
1957 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1958 -lhesiod and maybe -lresolv.
1959 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1960 support if it's available.
1961
386ca361
MB
19622001-10-21 Miles Bader <miles@gnu.org>
1963
a3b10252
MB
1964 * make-docfile.c (struct rcsoc_state): New type.
1965 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1966 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1967 Use a variable of type `rcsoc_state' to hold most of our state.
1968 (put_char): Add STATE parameter, and remove all other parameters
1969 except CH. Use STATE to get access to all needed state.
1970 (scan_keyword_or_put_char): New function.
386ca361
MB
1971 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1972 Don't output a usage-string if there was one in the doc-string.
1973
71431a0e
GM
19742001-10-20 Gerd Moellmann <gerd@gnu.org>
1975
6aa97356 1976 * (Version 21.1 released.)
71431a0e 1977
880820fe 19782001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
1979
1980 * b2m.c: Properly spell the name of Emacs.
1981
945220bd
MB
19822001-10-17 Miles Bader <miles@gnu.org>
1983
1984 * make-docfile.c (put_char): New function.
1985 (read_c_string_or_comment): Strip trailing spaces and newlines.
1986
14242528
MB
19872001-10-16 Miles Bader <miles@gnu.org>
1988
1989 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1990 comments [with `doc:' keyword prefix].
1991
9f5eb4a3
GM
19922001-10-15 Gerd Moellmann <gerd@gnu.org>
1993
1994 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1995 in a C doc comment.
1996
e641b454
GM
19972001-10-13 Gerd Moellmann <gerd@gnu.org>
1998
1999 * make-docfile.c (read_c_string_or_comment): Renamed from
2000 read_c_string. Add parameter COMMENT. Read C-style comments.
2001 (scan_c_file): Handle doc strings in C comments.
2002
967d7793
AI
20032001-10-12 Andrew Innes <andrewi@gnu.org>
2004
2005 * makefile.nt (ALL): Do not include fakemail.
2006
2007 * makefile.w32-in (install): Do not copy fakemail.
2008
d682756a
JR
20092001-10-10 Jason Rumney <jasonr@gnu.org>
2010
07655e62 2011 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2012
07655e62 2013 * makefile.nt (install): Ditto.
d682756a 2014
14a3dff7
GM
20152001-10-09 Gerd Moellmann <gerd@gnu.org>
2016
2017 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2018
95bc7904 2019 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2020
880820fe 20212001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2022
2023 * profile.c: Include config.h, not ../src/config.h.
2024 Include systime.h, not ../src/systime.h.
2025
ab952a4f
GM
20262001-10-05 Gerd Moellmann <gerd@gnu.org>
2027
2028 * Branch for 21.1.
dff28924 2029
12c64503
GM
20302001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2031
2032 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2033 ALIASEE to help work with namespace aliases.
2034 (struct sym): Remove struct member NAMESP_ALIASES.
2035 (namespace_alias_table): New variable.
2036 (make_namespace): Add parameter CONTEXT.
2037 (check_namespace): New function.
2038 (find_namespace): Add parameter CONTEXT.
2039 (check_namespace_alias): New function.
02ce3e80
SM
2040 (register_namespace_alias): Change type of parameter OLD_NAME.
2041 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2042 (check_namespace): New function.
2043 (enter_namespace): Call find_namespace with CONTEXT parameter.
2044 (match_qualified_namespace_alias): New function.
eec54bd7 2045 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2046 While parsing qualified ident or type update namespace context and
12c64503 2047 restore it on exit.
eec54bd7
SM
2048 (parse_qualified_param_ident_or_type): Fix typo in comment.
2049 (globals): Change handling of namespace aliases.
2050 (version): Add year 2001.
12c64503 2051
990e1190
FP
20522001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2053
2054 * etags.c (analyse_regex): If regex_arg is NULL, return
2055 immediately after a call to free_patterns.
2056
f2e7e23e
AS
20572001-09-05 Paul Eggert <eggert@twinsun.com>
2058
2059 * rcs2log (Help, mainline code): Add new option -L FILE.
2060 (Copyright): Update year.
02ce3e80
SM
2061 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2062 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2063 C locale.
2064 (mainline code): Handle nonstandard -u option differently, by
2065 transforming it to standard form. Check for "Working file: ", not
2066 "Working file:". Allow file names with spaces.
2067 (SOH, rlogfile): New shell vars.
dff28924 2068 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2069 rlogfile.
2070
2071 Append ';;' to the last arm of every case statement, for
2072 portability to ancient broken BSD shells.
2073
02ce3e80 2074 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2075 (pository): New var. This fixes some bugs where repositories are
2076 remote, or have trailing slashes.
02ce3e80 2077 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2078 about that possibility.
dff28924 2079 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2080 the output.
dff28924 2081
75c911eb
EZ
20822001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2083
2084 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2085 Suggested by Dave Love <d.love@dl.ac.uk>.
2086
5ae10f4a
EZ
20872001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2088
2089 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2090 * makefile.w32-in (lisp): Ditto.
2091
0e4011d8 20922001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2093
2094 * grep-changelog (parse_changelog): Remove unused local variable.
2095
2096 * grep-changelog (main): Add new option --reverse.
2097 (print_log): Use it.
2098 (parse_changelog): Use it.
2099
3c88ae74
GM
21002001-07-20 Gerd Moellmann <gerd@gnu.org>
2101
2102 * grep-changelog: Remove RCS Id keyword.
2103
41848daa
GM
21042001-07-20 Juanma Barranquero <lektu@terra.es>
2105
6e07c0a5
GM
2106 * grep-changelog (parse_changelog): Add tests for defined values
2107 to quiet warning from Perl 5.005 or above.
177ab8ce 2108 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2109 argument to prevent duplicate headers.
2110
2111 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2112
467f1209
GM
21132001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2114
2115 * emacsclient.c (print_help_and_exit): Fix help message for
2116 +LINE:COLUMN option.
2117
21182000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2119
467f1209
GM
2120 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2121 argument.
2122
bb24c64f
GM
21232001-07-16 Gerd Moellmann <gerd@gnu.org>
2124
2125 * ebrowse.c (main): Check that the output file exists and
2126 is non-empty if invoked with `--append'.
2127
880820fe 21282001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2129
e335b66a
GM
2130 * etags.c (add_regex): Reset the whole newly allocated pattern
2131 buffer instead of the individual members. It's safer and works
ecc54057 2132 with XEmacs.
fa829470 2133
e335b66a 2134 * etags.1: Markups corrected.
fa829470 2135
6da5c7da
GM
21362001-05-08 Gerd Moellmann <gerd@gnu.org>
2137
02ce3e80 2138 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2139
efbecf9d
GM
21402001-05-03 Gerd Moellmann <gerd@gnu.org>
2141
2142 * ebrowse.c (globals): Fix handling of namespace aliases.
2143
f4976ebc
EZ
21442001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2145
2146 * etags.c (print_help): Enclose the regexp in the help text
2147 example in quotes.
2148
23431241
DL
21492001-04-05 Dave Love <fx@gnu.org>
2150
2151 * emacsclient.c (fail): Don't return a value.
fa829470 2152 (main): Cast uid values for sprintf.
23431241 2153
476bf681
GM
21542001-04-03 Gerd Moellmann <gerd@gnu.org>
2155
b3f6107b
GM
2156 * emacsclient.c (fail, main): Don't use implicit int return type.
2157
476bf681
GM
2158 * b2m.c (main): Always return a value.
2159
ef53d75e
GM
21602001-03-02 Gerd Moellmann <gerd@gnu.org>
2161
2162 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2163 freshly allocated object in *LAST_ID.
2164 (read_line): Accept \r\n line endings.
2165
425de386
AI
21662001-02-24 Andrew Innes <andrewi@gnu.org>
2167
2168 * makefile.w32-in: Fix copyright notice.
2169
880820fe 21702001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2171
2172 * etags.c (enum sym_type): New label st_C_template.
2173 (gperf input): Use it for switching to C++ from C.
2174 (consider_token): Do it.
c2a642c0
FP
2175 (C_entries): Initialise typdefcblev to quiet compilers.
2176 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2177
f6839838
AI
21782001-02-22 Andrew Innes <andrewi@gnu.org>
2179
2180 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2181 VMS header files.
2182 ($(BLD)\profile.obj): Ditto.
2183
2184 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2185 VMS header files.
2186 ($(BLD)/profile.$(O)): Ditto.
2187
193fba87
AI
21882001-02-05 Andrew Innes <andrewi@gnu.org>
2189
2190 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2191 invocation of make-docfile, to work with Windows 2000.
2192
30526cc6
DL
21932001-01-31 Dave Love <fx@gnu.org>
2194
2195 * etags.c (in_word_set): Use `static' in definition (for pcc).
2196
880820fe 21972001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2198
ecc54057 2199 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2200 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2201 (C_entries): Tag token renamed to still_in_token because sunos4
2202 pcc wants to expand it as the token() macro even though it has no
2203 arguments.
2204
914d7258
AI
22052001-01-30 Andrew Innes <andrewi@gnu.org>
2206
2207 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2208 bug in the Mingw32 assert.h header file.
2209
880820fe 22102001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2211
ecc54057
JB
2212 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2213 #define it for the sake of XEmacs.
b28e26be
FP
2214 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2215 HAVE_CONFIG_H. This change only affects a standalone etags.
2216 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2217 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2218 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2219 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2220 WINDOWSNT, as this is the correct way to use it.
2221
880820fe 22222001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2223
2224 * etags.c: Be capable to parse nested struct-like structures.
2225 (structdef, structtag): Struct state machine revisited.
2226 (struct tok): Revisited.
2227 (cstack, nestlev, instruct): New struct and macros.
2228 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2229 for dealing with nested class names.
8c463abe
FP
2230 (consider_token, make_C_tag, C_entries): Many changes for dealing
2231 with arbitrarily nested structures.
2232 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2233 (C_entries): Consider templates in C++.
2234 (sym_type): New constant st_C_class for detecting "class" also in
2235 C mode.
2236 (C_AUTO): New macro for automatic detection of C++.
2237 (consider_token): Automatic set C++ mode.
2238 (C_entries): New security check for yacc.
2239 (print_language_names, print_help): Mention the autodetect
07655e62 2240 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2241 (C_entries): Tag C++ forward declarations if --declarations.
2242 (C_entries): Don't be fooled by things like XDEFUN.
2243 (consider_token): Discard asm pseudo function.
2244
e26f9ced
EZ
22452001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2246
2247 * etags.c: Add a coding: tag.
2248
a47b7816
GM
22492001-01-26 Gerd Moellmann <gerd@gnu.org>
2250
8c463abe 2251 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2252 New variables.
2253 (matching_regexp): Use them instead of static variables in
2254 function scope.
2255
880820fe 22562001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2257
2258 * etags.c (struct tok): Renamed from struct token.
2259 (token): Renamed from tok.
2260 (structtype): Make it a local variable.
2261 [DEBUG]: Use assert.
2262 (xrnew): Change the synopsis.
2263 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2264 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2265 (token): Buffer renamed to line.
d22a24fa 2266 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2267 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2268 (linebuffer_setlen): Was grow_buffer, now also sets len.
2269 (consider_token, C_entries, Pascal_functions): Use it.
2270 (C_entries): Preventing problems relative to extern "C".
2271 (C_entries): Can tag more than one variable or func separated by
2272 comma when --declarations is used.
2273 (C_entries): More accurate tagging of members and declarations.
2274 (yacc_rules): Was global, made local to C_entries.
2275 (next_token_is_func): Removed.
2276 (fvdef): New constants fdefunkey, fdefunname.
2277 (consider_token, C_entries): Use them.
2278 (C_entries): Build proper lisp names for Emacs DEFUNs.
2279
21c2bbe0
GM
22802001-01-22 Gerd Moellmann <gerd@gnu.org>
2281
2282 * ebrowse.c (xfree): New function.
2283 (member, declaration, globals): Use xmalloc instead of alloca.
2284
880820fe 22852001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2286
2287 * etags.c (print_language_names): Print filenames in addition to
2288 suffixes.
2289
880820fe 22902001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2291
2292 * etags.c (get_language_from_langname): Renamed from
2293 get_language_from_name.
eec54bd7
SM
2294 (get_language_from_filename): Renamed from get_language_from_suffix.
2295 Now first looks for the complete file name.
47df1a5e
EZ
2296 (language): New member char **filenames.
2297 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2298 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2299 for makefiles.
13dc0576 2300 (Makefile_targets): New function.
47df1a5e
EZ
2301 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2302 it conformant to the style of the rest of the code.
2303
291c7e74
GM
23042001-01-13 Gerd Moellmann <gerd@gnu.org>
2305
2306 * make-docfile.c (write_c_args): Print newlines as spaces.
2307
0dac6924
AI
23082001-01-06 Andrew Innes <andrewi@gnu.org>
2309
2310 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2311 of *.pdb.
2312
3e99d3b4
GM
23132001-01-03 Paul Eggert <eggert@twinsun.com>
2314
290afd83 2315 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2316 cause user of rcs2log to overwrite arbitrary files, fixing
2317 a bug reported by Morten Welinder.
2318
2319 Don't put "exit 1" at the end of the exit trap; it's
2320 ineffective in POSIX shells.
2321
d6bb0c0d
GM
23222001-01-02 Gerd Moellmann <gerd@gnu.org>
2323
eec54bd7
SM
2324 * ebrowse.c (yyerror): Change to take two arguments.
2325 Add prototype. Change callers.
d6bb0c0d 2326
d5c00476 23272001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2328
2329 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2330 compiler warnings.
2331 (yyerror): Change parameter declarations to be of type long, so
2332 that they can take pointers on 64-bit platforms.
2333
2334 * emacsclient.c (main): Remove unused local variable statbfr.
2335 (main) <homedir>: Make its declaration conditional on
2336 SERVER_HOME_DIR, to avoid compiler warnings.
2337
2338 * emacsserver.c (main) <homedir>: Make its declaration conditional
2339 on SERVER_HOME_DIR, to avoid compiler warnings.
2340
2341 * fakemail.c (readline): Cast buffer to "long *" to pacify
2342 over-zealous compilers.
2343
7c89ea61
EZ
23442000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2345
2346 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2347
a6768cc5
GM
23482000-12-15 Gerd Moellmann <gerd@gnu.org>
2349
2350 * ebrowse.c (operator_name): Cast argument of isalpha to
2351 unsigned char.
2352
2353 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2354 Use them throughout instead of ctype functions/macros.
2355 (lowcase): Cast to unsigned char.
2356 (UPCASE): New macro.
2357 (canonicalize_filename): Use UPCASE instead toupper.
2358
2359 * fakemail.c (get_keyword): Make sure that isspace and
2360 similar aren't called with a negative argument.
2361
70de49cc
DL
23622000-12-13 Dave Love <fx@gnu.org>
2363
2364 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2365
4e8b894c
AI
23662000-12-06 Andrew Innes <andrewi@gnu.org>
2367
2368 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2369 don't know the real version, and I can't seem to get the quoting
2370 right in all circumstances.
2371
2372 * ebrowse.c (VERSION): Provide default definition, like etags.c
2373 does, because Windows build can't snarf this from version.el.
2374
88257bc8
AI
23752000-11-30 Andrew Innes <andrewi@gnu.org>
2376
2377 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2378 (install): Ditto.
2379
d19249e7
JR
23802000-11-23 Jason Rumney <jasonr@gnu.org>
2381
2382 * makefile.w32-in: Add targets for ebrowse.exe.
2383 (LOCAL_FLAGS): Add -DVERSION flag.
2384
7df6adc3
DL
23852000-09-25 Dave Love <fx@gnu.org>
2386
2387 * sorted-doc.c: Include config.h.
2388 [!HAVE_STDLIB_H]: Declare malloc.
2389
fe83b953
AI
23902000-09-14 Andrew Innes <andrewi@gnu.org>
2391
2392 * makefile.w32-in: Revert to Unix line endings.
2393
517699ca
DL
23942000-09-04 Dave Love <fx@gnu.org>
2395
2396 * movemail.c (index, rindex): Prototype conditionally.
2397
f8803e97
AI
23982000-09-03 Andrew Innes <andrewi@gnu.org>
2399
2400 * makefile.w32-in: Change to DOS line endings.
2401
f72adc12
EZ
24022000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2403
4034f3a8 2404 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2405 [!F_OK]: Provide default definitions only after including both
2406 fcntl.h and unistd.h.
2407
f678f592
DL
24082000-08-29 Dave Love <fx@gnu.org>
2409
2410 * movemail.c: Revert previous change.
2411
5b671d04
EZ
24122000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2413
2414 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2415
6fa86045
DL
24162000-08-28 Dave Love <fx@gnu.org>
2417
2418 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2419 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2420
746d9caf
AI
24212000-08-22 Andrew Innes <andrewi@gnu.org>
2422
2423 * ntlib.h (WIN32): Remove unnecessary definition.
2424 (sleep): Make argument unsigned long.
2425 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2426
2427 * ntlib.c (sleep): Make argument unsigned long.
2428
2429 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2430
2431 * makefile.w32-in: New file.
2432
3b541489
EZ
24332000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2434
2435 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2436 letter only if it is a drive letter.
2437
e5acf0ca
GM
24382000-07-14 Gerd Moellmann <gerd@gnu.org>
2439
02ce3e80 2440 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2441
2442 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2443 by alloca.o.
2444
02ce3e80 2445 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2446
4b92c49a
GM
24472000-07-10 Gerd Moellmann <gerd@gnu.org>
2448
2449 * ebrowse.c (yylex): Accept string literals with newlines in them.
2450 (process_pp_line): Handle case of string literal with newline
2451 in it in replacement text, which counts as continuing the
2452 replacement text in GNU C.
2453
831a6cb0
GM
24542000-07-02 Gerd Moellmann <gerd@gnu.org>
2455
2456 * ebrowse.c (token_string): Add missing tokens.
2457 (parm_list): Handle case of qualified pointers.
2458
53245ee2
DL
24592000-06-23 Dave Love <fx@gnu.org>
2460
2461 * ebrowse.c: Move config.h before other includes (which may use
2462 feature tests).
2463
dcbf2cd2
JM
24642000-06-14 Jim Meyering <meyering@lucent.com>
2465
2466 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2467
f1c7754a
JR
24682000-06-11 Jason Rumney <jasonr@gnu.org>
2469
2470 * makefile.nt: Add targets for ebrowse.
2471
2472 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2473 compare filenames.
2474
5f1aea9a
GM
24752000-06-06 Gerd Moellmann <gerd@gnu.org>
2476
2477 * ebrowse.c (ymalloc): Renamed from xmalloc.
2478 (yrealloc): Renamed from xrealloc.
2479
5bf244f1
DL
24802000-05-21 Dave Love <fx@gnu.org>
2481
2482 * movemail.c: Include config.h, not ../src/config.h.
2483 (Errmsg): Bump length.
2484
2485 * pop.c (ERROR_MAX): Increase to 160.
2486
ec82fb2f
GM
24872000-05-04 Gerd Moellmann <gerd@gnu.org>
2488
2489 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2490
5c922ea7
EZ
24912000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2492
02ce3e80
SM
2493 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2494 Define to semi-colon.
5c922ea7 2495 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2496 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2497 (process_file): Don't assume that fread always reads as many bytes
2498 as it was told to (DOS-style CR-LF text files fail this logic).
2499 (open_file): Allocate enough space for path->path plus the file
2500 name and the slash.
2501
6142fdcb 25022000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2503
2504 * etags.c (Texinfo_functions): New function.
2505 (lang_names): Install it.
2506 (Texinfo_suffixes): New variable.
2507
cb9215e4
GM
25082000-04-19 Gerd Moellmann <gerd@gnu.org>
2509
2510 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2511 (declaration): Remove parameter IS_EXTERN.
2512 (class_definition): Remove unused variable.
2513
be0dbdab
GM
25142000-04-09 Gerd Moellmann <gerd@gnu.org>
2515
2516 * Makefile.in (INSTALLABLES): Add ebrowse.
2517 (ebrowse): New target.
2518
2519 * ebrowse.c: New file.
2520
c5aa0fc2
AS
25212000-03-29 Andreas Schwab <schwab@suse.de>
2522
2523 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2524
d054101f
GM
25252000-03-02 Gerd Moellmann <gerd@gnu.org>
2526
2527 * etags.c (lisp_suffixes) Add `LSP'.
2528
880820fe 25292000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2530
eec54bd7 2531 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2532 space, and use it throughout in place of isspace, thus preventing a
2533 potential signed char to int conversion problem.
2534 (MSDOS): #undefine befere redefining
2535
880820fe 25362000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2537
2538 * etags.c (many functions): Add prototypes.
2539
97fa0cc8
DL
25402000-02-10 Dave Love <fx@gnu.org>
2541
2542 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2543 (erlang_func): Add `static' to definitions to keep pcc happy.
2544
880820fe 25452000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2546
2547 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2548 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2549 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2550 (getenv, getcwd): Only declare them if necessary.
2551 (EMACS_NAME): New constant macro.
2552 (print_version): Use it.
2553 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2554
19e262bd 25552000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2556
2557 * etags.c [WINDOWSNT]: #include <direct.h>
2558
19e262bd 25592000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2560
19e262bd
FP
2561 * etags.c (all functions): Made them static.
2562 (all functions): Write prototypes.
e4100b7f 2563
55e30d2a
RS
25642000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2565
2566 * movemail.c (main): Improve error message if can't create lock file.
2567
c60ee5e7 25682000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2569
2570 * emacsclient.c (socket_status): New function.
02ce3e80 2571 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2572 for a socket based on the UID associated with the name.
2573
e4936aa9
GM
25742000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2575
2576 * emacsclient.c: Add option -a EDITOR and environment variable
2577 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2578
c60ee5e7 25791999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2580
2581 * movemail.c (popmail): Allow mailbox specifications of the
2582 form `po:username:hostname'.
2583
880820fe 25841999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2585
2586 * etags.c (_GNU_SOURCE): Define only if undefined.
2587 (get_scheme): Declaration deleted.
02ce3e80 2588 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2589 a char pointer.
2590 (canonicalize_filename): Bug removed.
2591
25921999-11-18 Dave Love <d.love@dl.ac.uk>
2593
2594 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2595 lossage from name clash with macro.
2596
b05d3bee
GM
25971999-11-13 Gerd Moellmann <gerd@gnu.org>
2598
2599 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2600
cb3a6c48
GM
26011999-11-03 Gerd Moellmann <gerd@gnu.org>
2602
2603 * etags.c (print_help): Change email address to send bugs to.
2604
880820fe 26051999-11-01 Francesco Potortì <pot@gnu.org>>
1c478461
FP
2606
2607 * etags.c: Add suffix psw for PSWrap.
2608 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2609 (Postscript_functions): Add code for PSWrap.
2610 (Scheme_functions): Use local pointer and new get_tag function.
2611 (get_tag): New name for old get_scheme.
2612 (process_file): Do not free NULL when file does not exist.
2613 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2614 (C_entries): Modifications that make --members tag even inside
2615 typedefs and C nested structs (one level only).
eec54bd7 2616 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2617 constants.
eec54bd7 2618 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2619 st_C_ignore. This makes it simpler to work when cblev!=0.
2620
02ce3e80 2621 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2622 --declarations is used.
2623
2624 * etags.c (C_entries, consider_token): C++ `operator' now is
2625 tagged in most cases.
2626 As before, :: is not recognised if surrounded by spaces.
2627
2628 * etags.c (relative_filename): Account for DOS file names such
2629 that is impossible to make one relative to another.
2630
2631 * etags.c (sym_type): New st_C_extern tag.
2632 (gperf input): Use it for spotting external declarations.
2633 (print_help): Document the new behaviour of --declarations.
2634 (fvextern): New global variable.
2635 (consider_token, C_entries): Use it.
2636
2637 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2638 (etags_getcwd): Remove test for WINDOWSNT.
2639
2640 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2641 foo.cgz, foo.cz, etc.
2642
2643 * etags.c (declarations): New global switch.
2644 (longopts): Describe it.
2645 (print_help): Document it.
2646 (C_entries): Use it.
2647 (process_file): Don't process a file twice.
2648
2649 * etags.c (Fortran_functions): No tags for "procedure".
2650
26511999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2652
2653 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2654 non-zero, returns a pointer to where the extension begins; callers
2655 changed.
2656 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2657 were foo.c.gz.
2658
880820fe 26591999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2660
2661 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2662 (fvdev): New constant foperator.
2663 (consider_token): Use it to get "operator" in C++.
2664 (C_entries): Extend length of operator@ function name.
2665 (C_entries): Use foperator when necessary.
2666
2667 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2668
2669 * etags.c (compressor): New struct for compressed files.
2670 (get_compressor_from_suffix): New function.
2671 (get_language_from_suffix): Use it. Also, semantics changed.
2672 (process_file): Consider compressed files, close file.
2673 (find_entries): Use different call arg for get_language_from_suffix,
2674 don't close file.
2675
2676 * etags.c (main): Call free_tree.
2677 (find_entries): Do not free curfile.
2678 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2679 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2680 comparing.
2681 (canonicalize_filename): Shut up compiler warning.
2682 (Perl_functions): Make tag significant.
2683
26841999-11-01 Dave Love <d.love@dl.ac.uk>
2685
2686 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2687 (argument_type): New member at_icregexp.
2688 (lc_trans): New global.
2689 (main): Fill lc_trans. Process -c args.
2690 (add_regex): New arg determining whether to use translation table.
2691 (analyse_regex): New arg. Use it for add_regex.
2692
880820fe 26931999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2694
2695 * etags.c (init): Cosmetic change: NULL --> '\0'.
2696 (erlang_attribute): Bug corrected (uninitialized variable).
2697 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 2698 corrects a bug. All callers changed.
1c478461
FP
2699 (canonicalize_filename): New function.
2700 (process_file, etags_getcwd, absolute_dirname): Use it.
2701 (relative_filename, absolute_filename): Removed var shadowing.
2702 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 2703 compilers quiet.
1c478461
FP
2704 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2705
2706 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2707 (language): New typedef (was struct lang_entry).
2708 (curlang): New global variable.
02ce3e80 2709 (node): Typedef renamed from NODE.
1c478461
FP
2710 (linebuffer): New typedef (was struct linebuffer).
2711 (pattern): New typedef (was struct pattern). Some members added.
2712 Now used as element of a linked list.
2713 (patterns, num_patterns): Global variables deleted.
2714 (p_head): New global variable.
a64387ee 2715 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
2716 (get_language_from_name, get_language_from_interpreter)
2717 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 2718 (last_node): New global variable.
02ce3e80
SM
2719 (free_tree, add_node, put_entries, total_size_of_entries):
2720 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
2721 (number_len): Rewritten for elegance.
2722 (token): New typedef replaces TOKEN.
2723 (analyse_regex, add_regex): Rewritten for new functionality.
2724 (free_patterns): New function called from main and add_regex.
2725 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 2726 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
2727 (readline): Rewritten for new functionality.
2728
ecc54057 2729 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
2730 (print_help): --globals is now used for more than C-type languages.
2731 (Perl_functions): Tag global variables ("my" and "local").
2732
2733 * etags.c (print_help): Some messages clarified.
2734 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2735 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2736 (Python_functions, Cobol_paragraphs, Pascal_functions)
2737 (Lisp_functions, Postscript_functions, Scheme_functions)
2738 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2739 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2740 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2741 of the global variable dbp.
2742 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2743 standard indentation.
2744
02ce3e80
SM
2745 * etags.c (Python_suffixes, lang_names, Python_functions):
2746 Python support.
1c478461 2747 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2748 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2749 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2750 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2751 (eat_white): Deleted.
2752
2753 * etags.c (CHAR, init): Keep into account non US-ASCII
2754 characters and compilers with default signed chars.
2755 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2756 constructs.
ecc54057 2757 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 2758
ecc54057 2759 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
2760 (main): Put interval syntax here.
2761 (add_regex): And remove it from here.
2762
2763 * etags.c (suggest_asking_for_help): Provide a
2764 meaningful help message with and without LONG_OPTIONS.
2765
d07529f3 2766 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
2767 <stdlib.h, string.h>: Don't test MSDOS when including them.
2768 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2769 (put_entries): Correctly use %ld instead of %d in printf.
2770
d07529f3 2771 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
2772 declare getcwd if HAVE_GETCWD.
2773 (consider_token): Dead break instruction removed.
2774
4ee9629e
PE
27751999-10-19 Paul Eggert <eggert@twinsun.com>
2776
2777 Add support for large files. Merge glibc 2.1.2.
1c478461 2778
4ee9629e 2779 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 2780 * movemail.c, pop.c:
4ee9629e
PE
2781 Do not include <stdlib.h>, as <config.h> does this now.
2782
2783 * b2m.c, emacsserver.c, etags.c, profile.c:
2784 Include <config.h> before any system include files.
1c478461 2785
4ee9629e 2786 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 2787 * test-distrib.c:
4ee9629e
PE
2788 (read, write, open, close): Do not undef.
2789
2790 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2791 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2792
2793 * getopt.h: Adopt glibc 2.1.2.
1c478461 2794
93c8d183
DL
27951999-10-15 Dave Love <fx@gnu.org>
2796
2797 * Makefile.in (pop.o): Depend on config.h.
2798
b358f91c
GM
27991999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2800
2801 * pop.c: Use "pop3" as the POP service name on all platforms,
2802 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2803 has been the standard service name since RFC 1340 was published in
2804 July 1992, so I think it's safe to start using it by default.
2805
362bc2da
DL
28061999-09-27 Dave Love <fx@gnu.org>
2807
2808 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2809
74e4cb59
PR
28101999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2811
2812 * make-docfile.c (scan_lisp_file): Fix previous changes;
2813 swallow CRLF like just CR or just LF.
2814
362bc2da
DL
28151999-09-03 Richard Stallman <rms@gnu.org>
2816
2817 * make-docfile.c: Include config.h not ../src/config.h.
2818 (main, fopen, chdir): Add #undef.
2819 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2820 (scan_lisp_file): Handle \r like \n.
2821
28221999-08-30 Andreas Schwab <schwab@gnu.org>
2823
2824 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2825
2826 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2827 errno if it's a macro.
2828
2829 * test-distrib.c: Include <unistd.h> if available.
2830
28311999-08-29 Richard Stallman <rms@gnu.org>
2832
2833 * emacsclient.c (print_help_and_exit): Mention --version.
2834
28351999-08-25 Richard M. Stallman <rms@gnu.org>
2836
2837 * emacsclient.c (decode_options): Update version output.
2838 (print_help_and_exit): Update bug report address.
2839
28401999-08-13 Richard M. Stallman <rms@gnu.org>
2841
2842 * emacsclient.c (main): Move the dynamic allocation of
2843 system_name outside of the SERVER_HOME_DIR conditional.
2844 * emacsserver.c (main): Likewise.
2845
28461999-08-10 Gerd Moellmann <gerd@gnu.org>
2847
2848 * grep-changelog: New.
2849 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2850
28511999-07-12 Richard Stallman <rms@gnu.org>
2852
2853 * Version 20.4 released.
2854
28551999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2856
1c478461 2857 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2858
28591999-06-23 Dave Love <fx@gnu.org>
2860
2861 * etags.c (erlang_attribute): Fix undefined variable usage (after
2862 Potorti).
2863
28641999-05-2 Andrew Innes <andrewi@gnu.org>
2865
2866 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2867 mapped to _chsize.
2868
28691999-04-29 Richard M. Stallman <rms@gnu.org>
2870
2871 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2872
28731999-03-30 Dave Love <fx@gnu.org>
2874
2875 * sorted-doc.c (main): Split up tables. Modify the preamble
2876 somewhat.
2877
28781999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2879
2880 * makefile.nt: Remove common multiple file compilation commands.
2881
28821999-02-26 Richard Stallman <rms@gnu.org>
2883
362bc2da
DL
2884 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2885
2886 * yow.c: Refer to epaths.h.
2887
28881999-02-22 Simon Josefsson <jas@pdc.kth.se>
2889
2890 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2891
28921999-01-27 Andrew Innes <andrewi@gnu.org>
2893
2894 * makefile.nt: Do make version comparison as strings.
2895
28961999-01-25 Richard Stallman <rms@gnu.org>
2897
2898 * emacsclient.c (xmalloc): Fix previous change.
2899
29001999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2901
2902 * emacsclient.c (xmalloc): Declare to return long.
2903
29041999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2905
2906 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2907 the case of the drive letter.
2908
29091999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2910
2911 * emacsserver.c (main): Eliminate arbitrary limit on
2912 length of system_name.
2913
2914 * emacsclient.c (main): Eliminate arbitrary limit on
2915 length of system_name.
2916 (xmalloc): Define unconditionally.
2917
29181999-01-12 Darrin B. Jewell <jewell@mit.edu>
2919
2920 * etags.c (relative_filename): Stop backward search at beginning
2921 of string, since non-Unix systems can have absolute paths with no
2922 initial slash.
2923
29241998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2925
2926 * makefile.nt: Do string comparision of _NMAKE_VER.
2927
c60ee5e7 29281998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2929
2930 * makefile.nt: Compile multiple source files when possible.
2931
29321998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2933
2934 * Makefile.in: Replace tabs with spaces
2935 when they might confuse some Make versions.
2936
29371998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2938
2939 * emacsclient.c (main): Null-terminate system_name.
2940
2941 * emacsserver.c (main): Null-terminate system_name.
2942
29431998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2944
2945 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2946 an error message from POP, mention that it's from POP, to
2947 distinguish it from local error messages.
2948
29491998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2950
2951 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2952 order of messages downloaded from a POP server (e.g., if the
2953 server stores messages in mailboxes in reverse order).
2954
29551998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2956
2957 * Version 20.3 released.
2958
29591998-08-11 Paul Eggert <eggert@twinsun.com>
2960
2961 * rcs2log: Update copyright date and bug report address.
2962 (initialize_fullname): Prefer getent if available.
2963
29641998-07-30 Paul Eggert <eggert@twinsun.com>
2965
290afd83 2966 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 2967 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2968
362bc2da
DL
29691998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2970
2971 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2972
29731998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2974
2975 * Makefile.in: Properly terminate a comment.
2976
29771998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2978
2979 * movemail.c (sys_wait): Rename to wait.
2980
2981 * ntlib.h: Undefine _WINSOCKAPI_.
2982
2983 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2984
29851998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2986
2987 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2988
29891998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2990
2991 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2992 all file i/o to be in binary mode. Include ntlib.h.
2993
29941998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2995
2996 * make-docfile.c: Include <unistd.h> for chdir.
2997
29981998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2999
3000 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3001
30021998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3003
3004 * makefile.nt (obj): Update with new files in src.
3005 (clean): Delete patch scratch files, optimized compilation dir.
3006
30071998-04-08 Dave Love <fx@gnu.org>
3008
3009 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3010 Irix6, at least.
3011
30121998-04-06 Andreas Schwab <schwab@gnu.org>
3013
3014 Silence -Wimplicit:
3015 * movemail.c: Move cancelations up. Include <stdlib.h> if
3016 available.
3017 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3018 (parse_header): Explicitly declare return type.
3019 * emacsserver.c: Include <unistd.h> if available.
3020 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3021 return types. Add forward declarations.
3022 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3023 Don't declare geteuid.
3024 (print_help_and_exit): Change return type to void. Forward
3025 declare it.
3026 * b2m.c: Include <stdlib.h> if available.
3027 (main): Explicitly declare return type.
3028
362bc2da
DL
30291998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3030
3031 * etags.c (put_entries): Use %ld.
3032
3033 * b2m.c (fatal): Declare the arg.
3034
30351998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3036
3037 * pop.c (pop_getline): Renamed from getline.
3038
30391998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3040
3041 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3042 for the utilities.
3043
30441998-01-23 Dave Love <d.love@dl.ac.uk>
3045
3046 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3047 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3048 Always make named tags.
3049 (Fortran_functions): Grok BLOCK DATA.
3050
30511998-01-23 Andreas Schwab <schwab@gnu.org>
3052
3053 * movemail.c (main): Fix interwoven brace and cpp conditional
3054 nesting.
3055
362bc2da
DL
30561997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3057
cb438d6e
JB
3058 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3059 with a '>' any lines starting with "From " read from the POP server,
3060 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3061 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3062 because it turns out that something is depending on it. Change
3063 suggested by Paul Eggert <eggert@twinsun.com>.
3064 Convert the character \037 (^_) at the beginning of a line into
3065 the character '^' followed by the character '_', because otherwise
3066 Emacs can't parse the resulting file as a valid BABYL file.
3067 Change suggested by Paul Eggert <eggert@twinsun.com>.
3068
30691997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3070
3071 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3072 server to contain embedded nulls.
3073
30741997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3075
362bc2da
DL
3076 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3077 quotes with a '>' any lines starting with "From " read from the
3078 POP server, but leave the code in place, wrapped in #ifdef
3079 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3080 because it turns out that something is depending on it. Change
3081 suggested by Paul Eggert <eggert@twinsun.com>.
3082
3083 Convert the character \037 (^_) at the beginning of a line into
3084 the character '^' followed by the character '_', because otherwise
3085 Emacs can't parse the resulting file as a valid BABYL file.
3086 Change suggested by Paul Eggert <eggert@twinsun.com>.
3087
30881997-11-22 Richard Stallman <rms@gnu.org>
3089
3090 * b2m.c: Include getopt.h.
3091 (main): Use getopt_long to handle --version and --help.
3092
3093 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3094
30951997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3096
3097 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3098 pointed out by Chiaki Ishikawa.
3099
31001997-10-16 Dave Love <d.love@dl.ac.uk>
3101
ecc54057
JB
3102 * etags.c (L_getit): Always make named tags so that Emacs
3103 completion on symbols containing `:' etc. works.
3104 (get_scheme): Likewise.
362bc2da
DL
3105
31061997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3107
3108 * pop.c: Use system header files instead of declaring C-library
3109 functions explicitly.
3110
31111997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3112
3113 * Version 20.2 released.
3114
31151997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3116
3117 * Version 20.1 released.
3118
31191997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3120
3121 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3122
3123 * ntlib.c (getpid): Delete function.
3124
31251997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3126
3127 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3128
31291997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3130
3131 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3132 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3133
31341997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3135
3136 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3137
31381997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3139
3140 * profile.c (get_time): Cast arg to fprintf.
3141
3142 * hexl.c (main): Use %08lx instead of %08x in printf because the
3143 variable named addresses is long.
3144
31451997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3146
3147 * makefile.nt (lisp): Update paths to lisp files that have moved.
3148
31491997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3150
3151 * makefile.nt (ctags.obj): New target.
3152 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3153
3154 * ntlib.h: Add includes.
3155 Undo definitions of crt routines from config.h.
3156
31571997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3158
3159 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3160
31611997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3162
3163 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3164 Kerberos V5 for movemail, including detection of V4 and V5 header
3165 files and libraries.
362bc2da 3166 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3167 declarations of string functions.
362bc2da 3168 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3169 V5 API rather than the old one.
362bc2da 3170 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3171 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3172 with a constant in a header file.
362bc2da
DL
3173
3174 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3175 Kerberos V5 for movemail, including detection of V4 and V5 header
3176 files and libraries.
362bc2da
DL
3177
31781997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3179
3180 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3181
3182 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3183
362bc2da
DL
31841997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3185
3186 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3187
31881997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3189
3190 * movemail.c (rindex): Add declaration.
3191
d57727c9 31921997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3193
3194 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3195 (movemail.exe): Depend upon and link with getopt files.
3196 (obj): Include new source files.
3197 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3198 (lisp): Include new and reorganized elisp files.
3199
32001997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3201
3202 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3203
32041997-06-25 Paul Eggert <eggert@twinsun.com>
3205
3206 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3207
32081997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3209
3210 * b2m.c (readline): Terminate buffer properly when EOF seen.
3211 Test for valid pointer before dereferencing it.
3212
880820fe 32131997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3214
3215 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3216 defined inside etags.c if HAVE_CONFIG_H is defined.
3217
880820fe 32181997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3219
ecc54057 3220 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3221 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3222 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3223 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3224 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3225 (longopts): New long options without short counterpart are
3226 globals, members, no-globals, no-members. Regexp options are now
3227 defined conditionally to ETAGS_REGEXPS.
3228 (print_help): Updated.
3229
880820fe 32301997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3231
3232 * etags.c (C_entries): Use "." instead of "::" for Java.
3233 (consider_token): is_func renamed to is_func_or_var.
3234 (C_entries): is_func renamed to funorvar.
3235 (C_entries): Initialise tok.named.
3236 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3237 get rid of "import", "package" and "friend".
3238 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3239 users changed.
362bc2da
DL
3240 (C_entries): Make separate tags for variables separated by comma.
3241 (globals, members): New flags.
3242 (main, C_entries): Use them.
3243 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3244
880820fe 32451997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3246
3247 * etags.c (funcdef): New vignore constant.
3248 (consider_token, C_entries): Use it to tag global variables.
3249 (print_help): Update for global variables.
3250 (consider_token, C_entries): Set the len member of token_name.
3251 (prolog_pred): Cleanup according to GNU coding standards.
3252 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3253 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3254
880820fe 32551997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3256
3257 * etags.c (CHARS, CHAR): New constant and macro.
3258 (iswhite, begtoken, intoken, endtoken): Use them.
3259 (notinname, _nin, nonam): New macro, array, string.
3260 (init): Cleanup and init _nin.
3261 (new_pfnote): New function.
3262 (make_C_tag) [traditional_tag_style]: Use it.
3263 (traditional_tag_style): Costant set to TRUE for now.
3264
880820fe 32651997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3266
3267 * etags.c (C_entries, Pascal_functions): Cleanup.
3268 (TeX_functions): NULL as a function arg needs a cast.
3269 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3270
880820fe 32711997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3272
3273 * etags.c (TeX_functions): Cleaned up.
3274 (tex_getit): Removed.
3275
32761997-05-13 Paul Eggert <eggert@twinsun.com>
3277
3278 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3279 non-files within the RCS subdirectory.
362bc2da 3280
880820fe 32811997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3282
3283 * etags.c (C_JAVA): New #define.
3284 (Cjava_suffixes): .java is Java.
3285 (Cjava_entries): New function.
3286 (lang_names): Add Java.
3287 (sym_type): Add st_C_javastruct for Java.
3288 (C_stab_entry): Add `extends' and `implements' keywords.
3289 (consider_token, C_entries): Recognise Java structures.
3290
880820fe 32911997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3292
ecc54057 3293 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3294 (Postscript_suffixes): .ps is Postscript.
3295 (lang_names): Add Postscript.
3296 (Postscript_functions): New function.
3297 (TEX_decode_env): Close minor memory leak.
3298 (just_read_file): Correct the char number of the tag.
3299
33001997-05-11 Paul Eggert <eggert@twinsun.com>
3301
3302 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3303 Don't prepend $nl since this causes some shells to generate the
3304 empty string when IFS is $nl.
362bc2da 3305 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3306 PC-based shells mishandle CR.
362bc2da
DL
3307 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3308 nismatch, in case it's set to some nonstandard value.
1c478461 3309
362bc2da
DL
33101997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3311
3312 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3313 read in separate blocks.
3314
880820fe 33151997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3316
3317 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3318 (struct linebuffer): New member `len' is the length of the string.
3319 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3320 Use it instead of strlen.
3321 (TEX_getit): Declare and define unconditionally as static.
3322 (TeX_functions): Use if instead of #if TeX_named_tokens.
3323 (add_regex): Set RE_INTERVALS flag for regex compilation.
3324 (substitute): Code cleanup.
3325 (readline_internal): Code cleanup, set new member `len'.
3326 (readline): Bug corrected.
3327
33281997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3329
3330 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3331 (obj): Change references of nt*.c files to w32*.c files.
3332
880820fe 33331997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3334
3335 * etags.c (xnew): Add support for debugging with chkmalloc.
3336 (error): Use this instead of printf whenever possible.
3337 (main): Only call xnew after having initialised progname.
3338 (substitute): Bad memory corruption error corrected.
3339
880820fe 33401997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3341
3342 * etags.c (add_regex): Undo previous change.
3343 (relative_filename): Small memory leak closed.
3344 (absolute_filename): Cleaned up the code, possibly closing a bug.
3345 (absolute_dirname): Always return a newly allocated string.
1c478461 3346
362bc2da
DL
33471997-03-21 Paul Eggert <eggert@twinsun.com>
3348
3349 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3350 of the form ,*, or *_; they are probably RCS lock files.
3351 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3352 they are used by rcsfreeze.
3353
880820fe 33541997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3355
2f2c687b 3356 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3357
33581997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3359
3360 * movemail.c (popmail): Remove some unnecessary function
3361 declarations.
3362 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3363 into pop_retr, there's no reason to pass in mbx_write, and the
3364 file argument can be declared FILE * explicitly. This fixes a
3365 compilation problem on systems with 64-bit pointers.
3366
33671997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3368
3369 * movemail.c: Delete duplicate inclusion of fcntl.h
3370 and duplicate #undefs of open, read, write, close.
3371
33721997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3373
3374 * movemail.c (main): Do not display "[POP-password]" in the usage
3375 message when movemail is compiled without POP support.
3376 (main, popmail): Add the optional "-p" argument, which causes
3377 movemail to leave mail in the inbox after copying it into the
3378 output file.
1c478461 3379
362bc2da
DL
3380 * Makefile.in (movemail): Link with getopt.
3381
33821997-01-20 Paul Eggert <eggert@twinsun.com>
3383
ecc54057 3384 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3385 (Copyright, Help, Id): New variables, for above.
3386 (rlog): Use -q option with cvs log, to avoid useless chatter.
3387
3388 Treat logs of "Initial revision" (RCS) or "file F was initially added
3389 on branch B." (CVS) as if they said "New file.", for consistency with
3390 change log entries.
3391
33921997-01-01 Paul Eggert <eggert@twinsun.com>
3393
3394 * vcdiff (PATH): Add /usr/xpg4/bin,
3395 where XPG4 SCCS hangs out in Solaris 2.5.
3396 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3397
33981996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3399
3400 * etags.c (streq, strneq): Use == NULL rather than !.
3401
34021996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3403
3404 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3405 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3406
3407 * movemail.c: Include maillock.h (conditionally).
3408 Remove a redundant inclusion of <stdio.h>.
3409 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3410 (main): Add variable spool_name.
3411 Support the usage of maillock and mailunlock to
ecc54057 3412 lock and unlock mailboxes.
362bc2da
DL
3413 (mail_spool_name): New function.
3414
3415 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3416 movemail to exit with an error status incorrectly on systems which
3417 use lock files rather than a system locking function to lock
3418 mailboxes.
362bc2da
DL
3419
34201996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3421
3422 * pop.c (socket_connection): Free realhost after using it.
3423
880820fe 34241996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3425
3426 * etags.c (C_entries): Test tok.valid. This handles some
3427 particular cases involving function declarations that failed.
3428
34291996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3430
362bc2da
DL
3431 * pop.c (socket_connection):
3432 gethostbyname may return a pointer to static data.
3433 krb_realmofhost can clobber it. So copy it.
3434
880820fe 34351996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3436
3437 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3438 must cast it to (char *) because we have no prototypes.
3439 (make_C_tag): Macro deleted, new function.
3440 (C_entries): Calls to make_C_tag macro changed to call function.
3441
880820fe 34421996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3443
3444 * etags.c (grow_linebuffer): New function.
3445 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3446 (make_tag): Macro renamed to make_C_tag. All callers changed.
3447 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3448 (Prolog_functions): prolog_skip_comment was called with wrong
3449 number of arguments.
3450 (xrealloc): fatal was called with wrong number of arguments
3451
880820fe 34521996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3453
3454 * etags.c (relative_filename): Bug corrected.
3455 (etags_getcwd): Avoid warning of unused variable.
3456 (C_entries, consider_token): Added support for enum labels.
3457
34581996-11-03 Paul Eggert <eggert@twinsun.com>
3459
3460 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3461 repository file names.
362bc2da
DL
3462
34631996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3464
3465 * emacsserver.c: Fix 1996-09-02 change.
3466
34671996-10-12 Paul Eggert <eggert@twinsun.com>
3468
3469 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3470 option', since CVS says 'invalid option'.
362bc2da
DL
3471 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3472 revisions, since some hosts reject 1970-01-01 when east of UTC.
3473 (date): Remove.
3474
34751996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3476
3477 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3478
880820fe 34791996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3480
3481 * etags.c (print_version): Print copyright info.
3482
3483 * etags.c (print_help): Print the bug reporting address.
3484 (main): Use return as the last instruction, instead of exit.
3485
3486 * etags.c (main): Don't open the tags file in cxref mode.
3487
34881996-09-29 Dave Love <d.love@dl.ac.uk>
3489
3490 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3491 as well as earlier CVSs and RCS.
362bc2da
DL
3492
34931996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3494
3495 * movemail.c (main): If the lock call fails with EBUSY or
3496 EAGAIN, retry a few times.
3497
34981996-09-25 Paul Eggert <eggert@twinsun.com>
3499
3500 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3501 whether to append -zLT.
362bc2da
DL
3502
35031996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3504
3505 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3506 * emacsclient.c, movemail.c: Likewise.
3507
35081996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3509
3510 * emacsclient.c (longopts): Change nowait to no-wait.
3511 (print_help_and_exit): Fix option name; upcase metavars.
3512
35131996-09-06 Erik Naggum <erik@naggum.no>
3514
3515 * emacsserver.c (main): Declare `fromlen' as size_t.
3516
35171996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3518
3519 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3520
35211996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3522
3523 * emacsclient.c (quote_file_name): Quote with &, not \.
3524 Quote `-' only at start of file name. Terminate the value string.
3525
3526 * emacsserver.c: Include signal.h properly;
3527 delete the duplicate includes for it.
3528
3529 * emacsserver.c: On fatal signal, delete socket-file:
3530 * emacsserver.c: Include signal.h.
ecc54057 3531 (xmalloc, fatal, error): New functions.
362bc2da
DL
3532 (delete_socket, handle_signals): New functions.
3533 (progname, socket_name): New variables.
3534 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3535
35361996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3537
3538 * emacsclient.c (quote_file_name): New function.
3539 (main, both versions): Use quote_file_name.
3540 (decode_options): Don't return a value.
3541 (main, both versions): Use optind.
3542 Don't check for -nowait here.
1c478461 3543
362bc2da
DL
3544 * emacsclient.c (decode_options): New function.
3545 (main, both versions): Call decode_options.
3546 (print_help_and_exit): New function.
3547 (VERSION): New macro.
3548
3549 * Makefile.in (emacsclient): Link with getopt.
3550 Add -DVERSION so emacsclient knows its version number.
3551
35521996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3553
3554 * makefile.nt (lisp): Include dos-nt.elc.
3555
35561996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3557
3558 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3559
35601996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3561
3562 * emacsclient.c (both versions): Handle -nowait and --nowait
3563 by sending data to the server.
3564
35651996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3566
3567 * Makefile.in (INSTALL_STRIP): New variable.
3568 (${archlibdir}): Use INSTALL_STRIP.
3569
3570 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3571 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3572
3573 * pop.c: Reverse conditional in previous change.
3574
35751996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3576
3577 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3578
35791996-08-24 Paul Eggert <eggert@twinsun.com>
3580
3581 * rcs2log: Use ISO 8601 date format, with time zone appended
3582 if change-log-time-zone-rule is non-nil, instead of
3583 traditional Unix date format.
3584
3585 (datearg): When computing default from ChangeLog, handle ISO format
3586 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3587 Don't worry about hh:mm:ss since the resolution is now by day.
3588 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3589 "$datearg" option to $rlog.
3590 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3591 (month_data): Remove `mo'; no longer needed.
3592 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3593
3594 Match `revision' line of rlog output more accurately.
3595
3596 Add -c, -v options.
3597
35981996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3599
3600 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3601
36021996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3603
3604 * Version 19.33 released.
3605
36061996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3607
3608 * Version 19.32 released.
3609
36101996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3611
3612 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3613 computing character positions in source files.
3614
36151996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3616
3617 * makefile.nt (clean): Use OBJDIR macro.
3618
36191996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3620
3621 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3622
c60ee5e7 36231996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3624
ecc54057 3625 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3626 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3627 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3628
36291996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3630
3631 * ntlib.h: Correct return type of getwd.
3632 * ntlib.c (getwd): Correct return type.
3633
36341996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3635
3636 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3637 to infile.
3638
36391996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3640
3641 * makefile.nt: Remove all references to wakeup.
3642
880820fe 36431996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3644
3645 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3646 explicit, mutable, typename.
3647
36481996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3649
3650 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3651 streams, one for sending and one for reading the reply.
3652
36531996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3654
3655 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3656 (wakeup): Target deleted.
3657 (UTILITIES): Delete wakeup and timer.
3658
3659 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3660
36611996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3662
3663 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3664 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3665
36661996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3667
3668 * etags.c (main): Copy cwd when appending slash.
3669
36701996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3671
3672 * Version 19.31 released.
3673
880820fe 36741996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3675
3676 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3677 (Pascal_functions): Increase linecharno by the correct number of
3678 chars, inline the GET_NEW_LINE macro and delete its definition.
3679
c60ee5e7 36801996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3681
3682 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3683
c60ee5e7 36841996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3685
3686 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3687 (movemail.exe, fakemail.exe): Now built under Win32.o
3688
3689 * ntlib.c: Include ntlib.h.
3690 (nt_sleep): Rename to sleep.
3691 (getwd): Return directory.
3692 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3693 sys_ctime, sys_fopen): New functions.
3694
3695 * ntlib.h: New file.
3696
36971996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3698
3699 * pop.c (SEND, RECV): Renamed from send, recv.
3700 (pop_open, pop_trash): Make the trash_started code unconditional.
3701 (socket_connection): Delete casts to void.
3702
37031996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3704
3705 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3706 copied from lisp.h.
3707
37081996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3709
3710 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3711
3712 * hexl.c [DOSNT]: Include fcntl.h.
3713 [WINDOWSNT]: Include io.h.
3714 (main) [MSDOS]: Change conditional to DOS_NT.
3715
3716 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3717 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3718 [WINDOWSNT]: Include locking.h.
3719 (main): Update usage message. Use IS_DIRECTORY_SEP.
3720 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3721 (main) [WINDOWSNT]: Invoke locking instead of flock.
3722 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3723 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3724 Include winsock.h; don't include unix inet headers.
3725 (popmail): Add password argument and pass it to pop_open.
3726 Open output file in binary mode.
3727
3728 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3729 Macro SOCKET_ERROR undefined.
362bc2da
DL
3730 Don't declare h_errno.
3731 [!WINDOWSNT]: Define macros recv and send.
3732 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3733 (pop_open) [WINDOWSNT]: Initialize trash_started.
3734 (have_winsock) [WINDOWSNT]: New variable.
3735 (socket_connection) [WINDOWSNT]: Initialize winsock.
3736 (socket_connection): Use closesocket instead of close.
3737 (getline): Use recv instead of read.
3738 (fullwrite): Use send instead of write.
3739 (pop_trash): Use closesocket instead of close.
3740 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3741 Check if being called recursively by sendline.
3742
3743 * pop.h (struct _popserver): New field trash_started.
3744
3745 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3746
37471996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3748
3749 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3750
37511996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3752
3753 * etags.c [WINDOWSNT]: Include io.h.
3754
37551996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3756
3757 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3758
37591996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3760
3761 * hexl.c [DJGPP v2]: Include io.h.
3762 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3763
3764 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3765 DJGPP v2.
3766
37671996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3768
3769 * etags.c (absolute_filename): Use absolutefn.
3770
37711996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3772
3773 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3774 letter isn't an alphabetic character.
3775 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3776 (process_file) [DOS_NT]: Convert all slashes to forward style.
3777 (absolute_filename) [DOS_NT]: Emit error message for relative
3778 paths with a drive letter.
3779 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3780 DOS/NT drive letters which try to reference the parent of the root.
3781 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3782
37831996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3784
3785 * makefile.nt: Change uses of del to $(DEL).
3786
880820fe 37871996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3788
3789 * etags.c (just_read_file): Reset lineno and charno on entry.
3790
37911996-03-15 Anders Lindgren <andersl@csd.uu.se>
3792
3793 * etags.c: Prolog language totaly rewritten.
ecc54057 3794 (Prolog_functions): Rewritten from scratch.
362bc2da 3795 (skip_comment, prolog_getit): Removed.
ecc54057
JB
3796 (prolog_skip_comment): New function, like old skip_comment.
3797 (prolog_pred, prolog_atom, prolog_white): New functions.
3798 (erlang_func, erlang_attributes): Forward declarations added.
3799 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 3800
880820fe 38011996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3802
3803 * etags.c (absolutefn): DOS_NT version corrected.
3804 (main): Append "/" to the dir name only if not already there.
3805 (print_help): Explain the absolute/relative file name issue.
1c478461 3806
362bc2da
DL
38071996-03-08 Anders Lindgren <andersl@csd.uu.se>
3808
3809 * etags.c: New Languange Erlang added.
3810 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3811 erlang_white): New functions.
3812 (Erlang_suffixes): New suffix list.
3813 (lang_names): Erlang entry added.
3814 (prolog_getit): Accepts headers spanning several lines.
3815 Always name tags.
3816 (Prolog_functions): Removed incorrect compensation for
3817 newline characters.
3818 (readline_internal): Zero-terminate last line.
3819
38201996-03-20 Mike Long <mike.long@analog.com>
3821
3822 * b2m.c (main): Initialize progname variable before using it.
3823 Quote `username' in From_ header.
3824
38251996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3826
3827 * ntlib.c (getpid): New function.
3828
38291996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3830
3831 * emacsclient.c (main, both definitions):
3832 Print a newline for normal termination.
3833
38341996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3835
3836 * tcp.c (main): Convert port to network byte order.
3837
38381996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3839
3840 * pop.c (pop_retrieve, getline): Avoid type clashes.
3841
38421996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3843
3844 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3845
38461996-01-15 Paul Eggert <eggert@twinsun.com>
3847
3848 * rcs2log (initialize_fullname): Add support for NIS+.
3849 (hostname): Fully qualify the default hostname with the domainname
3850 if the hostname lacks a `.'.
3851
362bc2da
DL
38521996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3853
3854 * etags.c (consider_token): Fix typo in expression.
3855
38561996-01-04 Paul Eggert <eggert@twinsun.com>
3857
3858 * etags.c (substitute): Fix spelling in message.
3859
38601996-01-03 George V. Reilly <georger@microcrafts.com>
3861
3862 * makefile.nt (etags, ctags): Compile with regexp support.
3863 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3864 subdirectory exists before compiling.
1c478461 3865
362bc2da
DL
38661996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3867
3868 * emacsserver.c (main): Do chmod based on existing permission.
3869
38701995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3871
3872 * Makefile.in (install): Turn on read/execute permission.
3873
38741995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3875
3876 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3877 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3878
38791995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3880
3881 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3882
880820fe 38831995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
3884
3885 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3886 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3887 get_scheme, prolog_getit): Name the tag in ctags mode.
3888 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3889 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3890 (suggest_asking_for_help): New function.
3891 (main, get_language_from_name): Use suggest_asking_for_help.
3892 (main): Let get_language_from_name make language existence check.
3893 (streq, strneq): Check the arguments #if DEBUG.
3894
880820fe 38951995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
3896
3897 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3898 (gperf): Added keywords for Objective C and GNU macros.
3899 (sym_type): Added values to account for Objective C and GNU macros.
3900 (begtk): The '@' character can start a token.
3901 (objdef, methodlen, objtag): New variables for Objective C.
3902 (consider_token, C_entries): Added code for Objective C.
3903 (plain_C_suffixes): Add .m and .lm for Objective C.
3904 (Yacc_suffixes): Add .ym for Objective yacc.
3905 (GROW_LINEBUFFER): New macro.
3906 (consider_token, C_entries, Pascal_functions): Use the new macro.
3907 (consider_token): Take one more argument. Caller changed.
3908 (consider_token): Use the hashing function to spot GNU macros.
3909 (C_entries): Consider // as a comment start even in plain C for
3910 the sake of Objective C parsing.
3911
880820fe 39121995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 3913
2f2c687b 3914 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 3915 compile with regexp support enabled.
362bc2da
DL
3916
39171995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3918
3919 * Version 19.30 released.
3920
39211995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3922
3923 * makefile.nt (DOC, clean): Don't use switches to del not
3924 supported by Windows 95.
3925
39261995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3927
3928 * Makefile.in (regex.o): Depend on ../src/config.h.
3929
39301995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3931
3932 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3933 (LOADLIBES): Use LIB_STANDARD.
3934
39351995-11-07 Kevin Gallo <kgallo@microsoft.com>
3936
3937 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3938 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3939 Windows 95 conditional.
3940
880820fe 39411995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
3942
3943 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3944 get_lang_from_suffix): New functions.
3945 (get_language): Function deleted.
3946 (lang_entry): Two members added to struct.
3947 (lang_names): Reflect the new layout of lang_entry.
3948 (print_language_names, main, find_entries): Use the new functions.
3949 (find_entries): Look at the first line for #! if no language.
3950 (C_entries): Invalidate the token when funcdef is reset.
3951 (Perl_functions): New function.
3952 (lang_suffixes): .pl and .pm are Perl suffixes.
3953
880820fe 39541995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
3955
3956 * etags.c (lowcase): Use the standard tolower function.
3957 (substitute): Remove some wrong and some useless code related with
a64387ee 3958 escape '\' character in regexp replacement string.
362bc2da
DL
3959 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3960 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3961 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3962 .prolog for prolog (.pl removed).
3963 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3964 (C_entries, find_entries): Added comments about memory leakage.
3965 (add_node): Dead code removed.
3966
39671995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3968
3969 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3970 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3971
39721995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3973
3974 * test-distrib.c: Add #undef for open, close, read, write.
3975
39761995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3977
3978 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3979 [! O_RDONLY]: Define it to zero.
3980 (main): Use O_RDONLY instead of explicit zero.
3981
880820fe 39821995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
3983
3984 * etags.c (Pascal_functions): Close comment bug corrected.
3985 (add_node): Correctly compare node file names.
3986 (Pascal_functions): Correctly allocate and free memory for tline.
3987 (pfnote): Put the definition of fp in the innermost block.
3988 (NODE): `named' member removed.
3989 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3990 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3991 (pfnote): `named' argument removed, all callers changed.
3992 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3993 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3994 removed from pfnote call, some code cleanup.
362bc2da
DL
3995 (relative_filename): Free temporary space allocated by concat.
3996
39971995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3998
3999 * Makefile.in (getdate.c): New target.
4000 (getdate.o): Just compile getdate.c.
4001
40021995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4003
4004 * fakemail.c (xrealloc): Change cast to match return type.
4005
40061995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4007
4008 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4009
40101995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4011
4012 * movemail.c (main): Fix previous change.
4013 Add error check for empty OUTNAME.
4014
40151995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4016
4017 * movemail.c (main): Mention lock file name in error message.
4018
40191995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4020
4021 * profile.c (gettimeofday): New function, defined if necessary.
4022
40231995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4024
4025 * Makefile.in: Renamed from Makefile.in.in.
4026 (distclean): Delete Makefile.c, not Makefile.in.
4027
40281995-07-17 Michael Shields <shields@tembel.org>
4029
4030 * Makefile.in.in (tags): Synonym for `TAGS'.
4031
40321995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4033
4034 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4035 configure has already set $(INSTALL) to the proper relative path.
4036
880820fe 40371995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4038
2f2c687b
JB
4039 * etags.c (plain_C_entries): New function.
4040 (lowcase): New macro.
4041 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4042 (lang_suffixes): New suffix ".pc" for Pro*C files.
4043 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4044 (tail): Look for the end of the token when comparing.
4045 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4046
40471995-07-08 Paul Eggert <eggert@twinsun.com>
4048
4049 * rcs2log (datearg): Separate date from time with comma, not space,
4050 to work around CVS 1.5 bug.
4051 (CVSROOT): Don't abort when unset if repository is absolute.
4052
40531995-07-07 Paul Eggert <eggert@twinsun.com>
4054
4055 * rcs-checkin, rcs2log, vcdiff:
4056 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4057 that interpret `#! /' as a 4-byte magic number.
4058
40591995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4060
4061 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4062 mailbox with "po:mailbox", the mailbox is everything after the
4063 "po:" prefix.
4064
40651995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4066
4067 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4068 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4069
40701995-06-28 Paul Eggert <eggert@twinsun.com>
4071
4072 * rcs2log (CVSROOT, repository):
4073 Allow remote repositories a la CVS 1.4.
4074
880820fe 40751995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4076
2f2c687b
JB
4077 * etags.c (plain_C_entries): New function.
4078 (lowcase): New macro.
4079 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4080 (lang_suffixes): New suffix ".pc" for Pro*C files.
4081 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4082 (tail): Look for the end of the token when comparing.
4083 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4084
40851995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4086
4087 * movemail.c (main): Add newline in usage message.
4088
40891995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4090
4091 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4092
880820fe 40931995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4094
4095 * etags.c (find_entries): Rewind before rereading the input file.
4096
40971995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4098
4099 * Version 19.29 released.
4100
4101 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4102 This undoes part of the previous change.
4103
41041995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4105
4106 * make-docfile.c (main): On MSDOS, don't change stdout
4107 to binary, and insist on an -o option.
4108
41091995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4110
4111 * etags.c (process_file,absolute_filename): Handle filenames
4112 starting with a drive letter.
4113
4114 * makefile.nt (install): Copy wakeup.exe properly.
4115
41161995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4117
4118 * make-docfile.c [MSDOS]: #undef chdir.
4119
41201995-06-04 Paul Eggert <eggert@twinsun.com>
4121
4122 * rcs2log (output_authors): Allow ':' in time zone,
4123 as per ISO 8601 and RCS 5.6.8 beta.
4124
880820fe 41251995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4126
4127 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4128 compatibility problems.
4129
41301995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4131
4132 * etags.c (etags_getcwd): Don't use #elif.
4133 Have just one function body.
4134
41351995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4136
4137 * makefile.nt (LIBS): Use BASE_LIBS.
4138 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4139 upon LIBS.
4140 (DOC): Use del instead of rm.
4141 (DOC) [WINDOWS95]: Use DOC.
4142 (clean): Handle MSVC aux files.
4143 (config.h,paths.h): Use $(CP) instead of cp.
4144 (config.h): Use $(CONFIG_H)
4145 (make-docfile.obj): Depend upon config.h.
4146 Clean up comments.
4147
880820fe 41481995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4149
4150 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4151 former gives the true path even in the presence of simlinks.
4152
41531995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4154
4155 * movemail.c (main): Increase lock timeout to five minutes.
4156
41571995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4158
4159 * makefile.nt (obj): Use .c files.
4160
41611995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4162
4163 * make-docfile.c: Include config.h.
4164 (NO_SHORTNAMES): New definition.
4165 (xmalloc): Return long *.
4166
4167 * etags.c (C_entries): Cast result of xrealloc.
4168 (xmalloc, xrealloc): Declare them to return long *.
4169
4170 * b2m.c (xmalloc, xrealloc): Declare them long *.
4171
4172 * movemail.c (xmalloc): Declare it to return long *.
4173
41741995-04-30 Paul Eggert <eggert@twinsun.com>
4175
4176 * rcs2log (datearg): If rlog options are specified explicitly,
4177 omit the implicit '-d>DATE' option.
4178 (repository, rlog): Allow absolute paths to CVS repositories.
4179 Look only at the first line of CVS/Repository.
4180
41811995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4182
4183 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4184 realclean.
4185
41861995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4187
4188 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4189 Alternative (empty) definitions.
4190
41911995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4192
4193 * emacsclient.c (main): Add argv[0] to an error message.
4194
41951995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4196
4197 * emacsclient.c (main): Improve error handling.
4198 * cvtmail.c (main, skip_to_lf): Improve error handling.
4199 (sysfail): New function.
4200
4201 * b2m.c (main): Check for trailing ", " before trying to delete it.
4202
42031995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4204
4205 * Makefile.in.in (all): Build test-distrib and make-docfile.
4206
4207 * make-docfile.c (scan_c_file): At end, restore file name last char
4208 to its original value.
4209
42101995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4211
4212 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4213
42141995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4215
4216 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4217 (alloca.o, regex.o): Use BASE_CFLAGS.
4218
42191995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4220
4221 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4222
42231995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4224
4225 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4226 (SOURCES, distclean): Removed obsolete references to aixcc.
4227
42281995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4229
4230 * aixcc.lex: File deleted--surely obsolete now.
4231
42321995-03-23 Paul Eggert <eggert@twinsun.com>
4233
4234 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4235 portability to mawk and nawk.
4236
42371995-03-21 Paul Eggert <eggert@twinsun.com>
4238
4239 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4240 -u "login<tab>fullname<tab>mailaddr".
4241
42421995-03-21 Paul Eggert <eggert@twinsun.com>
4243
4244 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4245 replaces the (now obsolescent) -n login fullname mailaddr option.
4246 Add -R option for recursive rlog.
07655e62 4247 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4248 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4249 Quote authors and fullnames correctly.
4250 Don't omit path from repository root when logging CVS files.
4251
42521995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4253
4254 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4255 even if HAVE_SYSVIPC.
4256 * emacsclient.c (main): Use getcwd if not BSD.
4257
880820fe 42581995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4259
2f2c687b 4260 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4261 (readline_internal): Do not access the char before start of line.
4262
880820fe 42631995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4264
4265 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4266 savetok.valid. Mark token as valid when it is initialised.
4267 (make_tag): Make token only if token is valid and reset validity.
4268 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4269 (TOKEN): Added a new member: valid.
4270
880820fe 42711995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4272
4273 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4274 (main): Do not read twice the last filename in the stdin file list.
4275
880820fe 42761995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4277
4278 * etags.c (C_entries): Initialise the new members of TOKEN.
4279 (C_entries): Do not allocate a new space for each token found by
4280 consider_token. Let make_tag do that instead.
4281 (make_tag): Since now TOKEN has memory of where it is taken from,
4282 this new macro substitutes both make_tag_from_new_lb and
4283 make_tag_from_oth_lb. All callers changed.
4284 (TOKEN): Add linepos and buffer members.
4285 (main): Initialise token_str.
4286 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4287 (token_str): New global variable used by C_entries.
4288
42891995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4290
4291 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4292
880820fe 42931995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4294
4295 * etags.c (pfnote): Initialise been_warned in the node.
4296 (C_entries): Removed a speed hack for the sake of clarity.
4297
880820fe 42981995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4299
4300 * etags.c (longopts, print_help, main): Use -I as abbreviation
4301 for the --ignore-indentation option.
4302 (main): Do not print an error message for unknown options.
4303
880820fe 43041995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4305
4306 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4307 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4308 constantypedefs, update, vgrind_style, no_warnings,
4309 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4310 (permit_duplicates): Was a var, now a #define.
4311 (filename_lb): Was global, now local to main.
4312 (main): Open the tag file when in cxref mode.
4313 Use a BUFSIZ size buffer for making the shell commands.
4314 Look at the return value from the system routine.
4315 Exit when cannot open the tag file.
4316 (process_file): Open the file and pass the FILE* to find_entries.
4317 (find_entries): Now void, because does not open the file itself.
4318 (pfnote): Recovering from lack of memory does not work. Removed.
4319 Use savenstr and simplify the code.
4320 (free_tree): Only free the name space if node is named.
4321 (structtag): Now a pointer, not a fixed length array of chars.
4322 (consider_token): Don't take a token as argument. Use savenstr
4323 when saving a tag in structtag. Callers changed.
4324 (TOKEN): Structure changed. Now used only in C_entries.
4325 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4326 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4327 (pfcnt): Deleted. Users updated.
4328 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4329 TEX_getit, prolog_getit): Use dinamic allocation for storing
4330 the tag instead of a fixed size buffer.
4331
43321995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4333
4334 * movemail.c (main): Skip past the colon in inname.
4335
880820fe 43361995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4337
4338 * etags.c (pfatal): New function.
4339 (main, etags_getcwd): Use pfatal.
4340 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4341
880820fe 43421995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4343
4344 * etags.c (Lang_function): Use void instead to declare the
4345 language functions, because many compilers are buggy.
4346 (etags_getcwd): Fix the previous fix on the #else branch.
4347 (readline_internal): Discard possible \r before \n here.
4348 (C_entries): Do not deal with \r here: undo previous fix.
4349
880820fe 43501995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4351
4352 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4353 functions and a macro that allow the program to work on input
4354 lines of whatever length. Copied from etags.c.
4355 (fatal): Print a fatal error message and exit.
4356 (main): Use the new functions. Fixed a bug that made a \037 char
4357 appear at the end of the output.
4358
43591995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4360
4361 * etags.c (C_entries): Ignore carriage return at end of line.
4362
43631994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4364
4365 * fakemail.c (xmalloc, xrealloc): Add casts.
4366 (add_field): Handle <...> and "..." syntax.
4367 (setup_files, get_keyword): Clean up parens and line breaks.
4368 (args_size): Likewise.
4369
43701994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4371
4372 * yow.c: Include program name in error messages.
4373
43741994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4375
4376 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4377 (xmalloc, fatal, error): New functions.
4378 (progname): New variable.
4379 (main): Set progname.
4380
43811994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4382
4383 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4384 (main): If socket/mqueue name is in home dir, add in the host name.
4385 Rename .emacs_server to .emacs-server....
4386
43871994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4388
4389 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4390
880820fe 43911994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4392
2f2c687b
JB
4393 * etags.c (print_help): Print --regex usage for ctags also.
4394 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4395
880820fe 43961994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4397
4398 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4399 is compiled if this is defined. The new functions and variables
4400 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4401 [VMS]: All VMS specific code previously contained in
4402 etags-vmslib.c is now included here, modified for dealing with
4403 language and regex options intermixed with filenames.
4404 (header_file): Global variable deleted.
4405 (Lang_Function): New typedef. All language parser functions
4406 changed to this new type.
4407 (string_numeric_p, substr, prestr): Functions deleted.
4408 (readline_internal): Does the job that readline did previously.
4409 (longopts): --language and --regex options added.
4410 (lang_names, lang_extensions, lang_func, print_language_names):
4411 New structures, variables and functions for choosing languages.
4412 (print_help): Help strings updated. Calls print_language_names.
4413 (argument_type, ARGUMENT): Typedefs for dealing with language and
4414 regex options intermixed with filenames.
4415 (main): Changed the way of dealing with arguments on the command
4416 line to deal with language and regex options intermixed with
4417 filenames.
4418 (get_language, default_C_entries, Cplusplus_entries,
4419 Cstar_entries, Yacc_entries, just_read_file): New functions.
4420 (find_entries): Use the new method for choosing the language.
4421 (Pascal_functions): Allow intermixing of comment styles.
4422 (prolog_getit, skip_comment): Rewritten for speed.
4423 (readline): Rewritten to deal with regexps.
4424
880820fe 44251994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4426
4427 * etags.c (<errno.h>): #include added.
4428 (etags_getcwd): Check return value from getcwd.
4429
44301994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4431
4432 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4433 (get_time): Use EMACS_SUB_TIME.
4434
d57727c9 44351994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4436
4437 * ntlib.c: New file.
4438 * makefile.nt: New file.
4439
4440 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4441 [WINDOWSNT]: Include the NT headers.
4442 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4443
4444 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4445 [WINDOWSNT]: Include some NT headers.
4446
44471994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4448
4449 * pop.c (getline): When a search of already-read input for CRLF
4450 fails, store the fact that we've searched it and don't search it
4451 again after reading more data.
4452
4453 * pop.c (getline): When determining whether or not it's necessary
4454 to grow the input buffer, take into account the null that's stored
4455 at the end of already-read input in the buffer.
4456
880820fe 44571994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4458
2f2c687b 4459 * etags.c (prestr, substr): Return a logical type.
362bc2da 4460 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4461 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4462 (C_entries): Now we can use Tom Hageman patch for extern "C".
4463
44641994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4465
4466 * movemail.c: PopServer renamed to popserver throughout.
4467
44681994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4469
4470 * etags.c: Don't declare malloc, since we include config.h.
4471 * fakemail.c: Likewise.
4472
44731994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4474
4475 * movemail.c: Don't declare malloc.
4476
44771994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4478
4479 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4480 avoid syntax error.
362bc2da
DL
4481
44821994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4483
4484 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4485 defined, and if HAVE_CONFIG_H isn't defined, define
4486 MAIL_USE_POP always (so that this file can be included in
4487 other programs besides emacs).
4488
4489 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4490 HAVE_CONFIG_H isn't defined.
4491
4492 * pop.c (find_crlf, getline): Instead of using strstr, use a
4493 custom function for finding CRLF.
4494 (my_strstr): Function deleted.
4495
44961994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4497
4498 * pop.c (getline): Fix a segfault because of passing a
4499 non-null-terminated string into strstr(). Fix from
4500 djm@va.pubnix.com (David J. MacKenzie).
4501
4502 * pop.c: Don't include <string.h> and <strings.h>.
4503
4504 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4505 should be interchangeable, and indeed the inclusion is done in
4506 both orders in various files in the Kerberos 4 library sources,
4507 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4508 requires that <des.h> be included first, and I don't see any harm
4509 in changing the order.
4510
4511 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4512 STDC_HEADERS, if they're defined. Undef open, read, write and
4513 close after including it.
4514
45151994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4516
4517 * pop.c: Fix mismatch in conditionals.
4518
4519 * make-docfile.c (main): Don't process one input file twice.
4520 Never use exit code > 1.
4521
4522 * pop.c (open, close, read, write): Add #undefs.
4523
4524 * pop.c: Don't declare malloc, realloc, free.
4525 Include ../src/config.h.
4526 Don't include string.h or strings.h.
4527 Include des.h before krb.h.
4528 Do declare my_strstr.
4529 (getline): Really use my_strstr.
4530 Leave one empty place in server->buffer,
4531 and put a null at the end of the data in it.
4532
45331994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4534
4535 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4536 call kill with pid 0. Handle EINTR when receiving messages.
4537
45381994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4539
4540 * Makefile.in.in (regex.o): Use full path to find regex.c.
4541
880820fe 45421994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4543
2f2c687b
JB
4544 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4545 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4546
45471994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4548
4549 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4550 (${archlibdir}): Use mkinstalldirs instead.
4551
4552 * movemail.c: Make functions that return nothing void, not
4553 implicitly int.
4554 (main): Improve usage message.
4555 (error): Write to stderr, not stdout.
4556
4557 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4558 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4559 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4560 variables and implicitly declared functions.
4561
45621994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4563
4564 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4565 (distclean): Not here.
4566
4567 * Makefile.in.in (libexecdir): Renamed from libdir.
4568
880820fe 45691994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4570
4571 * etags.c (C_entries): Name the #define's that are macros.
4572
45731994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4574
4575 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4576 fd_set arg is a pointer, descriptor arg comes first.
4577
880820fe 45781994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4579
4580 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4581 (C_entries): Recognise #define inside a struct.
4582 (C_entries): ANSI tells that preprocessor commands do not have to
4583 start on the first column.
4584 (print_help): Documentation corrected for -d and -D.
4585 (white, endtk): ANSI tells the vertical tab is a separator.
4586
45871994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4588
4589 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4590 (pop.o, movemail.o): New targets.
4591 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4592
4593 * pop.c, pop.h: New files.
4594
4595 * movemail.c: Improve POP code, move most of it into a separate file.
4596 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4597 (mbx_write): Check for errors and for From line.
4598 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4599 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4600 (pop_init): Functions deleted.
4601
46021994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4603
4604 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4605 Rename path to dirname.
4606
46071994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4608
4609 * Makefile.in.in (UTILITIES):
4610 Remove test-distrib, make-docfile, make-path.
4611 (DONT_INSTALL): New variable--list those files here.
4612 (clean): Delete the files in DONT_INSTALL.
4613
46141994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4615
4616 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4617 (main): Use fgets, not gets.
4618
46191994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4620
4621 * timer.c: Don't declare malloc.
4622
46231994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4624
4625 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4626 defined, use simple 32-bit versions of these macros.
4627 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4628
c60ee5e7 46291994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4630
4631 * etags.c (etags_getcwd): Use getcwd if available.
4632
46331994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4634
4635 * Version 19.27 released.
4636
46371994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4638
4639 * Version 19.26 released.
4640
46411994-08-15 Paul Eggert <eggert@twinsun.com>
4642
4643 * rcs2log: Add support for CVS.
4644 Work with `rlog's that output ISO 8601 dates.
4645
46461994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4647
4648 * rcs2log: Use <> to delimit email address.
4649
46501994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4651
4652 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4653 so we can listen for multiple requests.
4654
46551994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4656
4657 * movemail.c: Include config.h first thing.
4658
46591994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4660
4661 * emacsserver.c (main): Add casts to avoid warnings.
4662
46631994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4664
4665 * Makefile.in.in (${archlibdir}): Compare the proper dir
4666 before installing the scripts.
4667
46681994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4669
4670 * emacsclient.c (main): New local var progname saves argv[0].
4671
46721994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4673
4674 * emacsclient.c (main): Don't actually modify argv[0].
4675 Modify a copy instead.
4676
46771994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4678
4679 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4680 (tzp): Var deleted.
4681
4682 * Makefile.in.in: Add #undef alloca.
4683
46841994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4685
4686 * timer.c (xmalloc): New function.
4687
46881994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4689
4690 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4691 (alloca.o): New target.
4692
46931994-07-08 Dave Love (d.love@dl.ac.uk)
4694
2f2c687b 4695 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 4696
880820fe 46971994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4698
ecc54057
JB
4699 * etags.c (main): Don't barf on obsolete -t and -T switches.
4700 (main): Print an explicative message when a switch is not known.
362bc2da
DL
4701
47021994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4703
4704 * hexl.c: Don't declare exit or perror.
4705
4706 * emacsserver.c (main): Don't declare geteuid.
4707 Don't declare getenv if convex.
4708
47091994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4710
4711 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4712
880820fe 47131994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
4714
4715 * etags.c (absolute_filename): Remove infinite loop bug when
4716 accessing files in directories whose name begins with a dot.
4717
880820fe 47181994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
4719
4720 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4721
47221994-06-01 Morten Welinder (terra@diku.dk)
4723
4724 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4725 location of data directory.
4726
47271994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4728
4729 * Version 19.25 released.
4730
47311994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4732
4733 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4734
47351994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4736
4737 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4738
47391994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4740
4741 * Version 19.24 released.
4742
47431994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4744
4745 * make-docfile.c (write_c_args): Put `default' in upper case.
4746
47471994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4748
4749 * etags.c (etags_getcwd): Cast result of popen.
4750 (popen): Declaration deleted.
4751
47521994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4753
4754 * etags.c [!MSDOS]: Declare popen.
4755
47561994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4757
4758 * b2m.c (main): Avoid crash if argc is 1.
4759
47601994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4761
4762 * Version 19.23 released.
4763
4764 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4765
47661994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4767
4768 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4769
47701994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4771
4772 * Makefile.in.in: Fix out of date comment.
4773
47741994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4775
4776 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4777 Move all autoconf substitutions above that point.
4778 Above that point, use Make-style comments.
4779 This goes with changes in ../configure.in.
4780
47811994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4782
4783 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4784 warning message.
4785 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4786
47871994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4788
4789 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4790
47911994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4792
4793 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4794 print advice to run it, if it has anything significant to do.
4795 And only if MOVEMAIL_NEEDS_BLESSING.
4796 (blessmail): Use emacs, not temacs.
4797 (configuration): Renamed from configname.
4798
47991994-04-30 Morten Welinder (terra@diku.dk)
4800
4801 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4802
48031994-04-30 Morten Welinder (terra@diku.dk)
4804
4805 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4806 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4807 a shell.
4808
48091994-04-29 Morten Welinder (terra@diku.dk)
4810
4811 * hexl.c [MSDOS]: Don't define proto type for exit.
4812
48131994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4814
4815 * b2m.c: Don't include string.h or strings.h.
4816
48171994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4818
4819 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4820 symbols, not make variables.
4821
48221994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4823
4824 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4825 * etags.c (print_version): Print VERSION as a string.
4826
48271994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4828
4829 * fakemail.c (readline): Fix updating of p when buffer grows.
4830
48311994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4832
4833 * Makefile.in.in (blessmail): New target.
4834 ${archlibdir}: Use blessmail when installing movemail.
4835
48361994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4837
4838 * fakemail.c (readline): When extending the buffer,
4839 calculate end afresh using the new size.
4840
880820fe 48411994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4842
2f2c687b 4843 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 4844
880820fe 48451994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4846
2f2c687b 4847 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
4848
48491994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4850
4851 * Makefile.in.in: Renamed from Makefile.in.
4852 Makefile.in is now generated from it, and then preprocessed.
4853 Change comments to C syntax.
4854 Include config.h.
4855 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4856 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4857
48581994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4859
4860 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4861
880820fe 48621994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
4863
4864 * etags.c (etags_getcwd): Initialize bufsize.
4865
48661994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4867
4868 * profile.c (gettimeofday): If system doesn't have this, define it
4869 to give a fatal error.
4870
48711994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4872
4873 * movemail.c (main): Use setuid, not seteuid.
4874
48751994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4876
4877 * etags.c: #undef static.
4878
880820fe 48791994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4880
2f2c687b
JB
4881 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
4882 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
4883 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
4884 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4885 TeX_functions, Prolog_functions.
2f2c687b
JB
4886 (inf): No more a global variable.
4887 (C_entries): Take 2nd parameter `inf' instead of using the global one.
4888 (find_entries): Added the cp1 var for optimisation.
4889 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
4890 (Asm_funcs): Now finds labels even without an ending colon.
4891
880820fe 48921994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4893
2f2c687b
JB
4894 * etags.c (main): Use etags_getcwd for compatibility.
4895 (etags_getcwd): New function.
362bc2da
DL
4896
48971994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4898
4899 * Makefile.in (etags, ctags): Pass -D for VERSION.
4900
880820fe 49011994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4902
2f2c687b
JB
4903 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
4904 (main): Don't allow the use of -t and -T in etags mode.
4905 (print_help): Don't show options enabled by default.
4906 (print_version): Show the emacs version number if VERSION is #defined.
4907 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 4908
880820fe 49091994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4910
2f2c687b 4911 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
4912 (relative_filename, absolute_filename, absolute_dirname):
4913 functions added to compute filenames in tags files.
2f2c687b 4914 (process_file): Filenames in tags file are relative to the
362bc2da 4915 directory where the tags file is (useful with the -o option).
2f2c687b
JB
4916 (main): Initialise the outfiledir var.
4917 (TYPEDST): Added the `tignore' value.
4918 (C_entries): Corrected various small bugs.
362bc2da
DL
4919
49201994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4921
4922 * Makefile.in (UTILITIES): `env' deleted.
4923 (env): Target deleted.
4924 * env.c: File deleted.
1c478461 4925
362bc2da
DL
49261994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4927
4928 * Makefile.in (install, ${archlibdir}): Switch back to ..
4929 before running INSTALL_PROGRAM.
4930
880820fe 49311994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4932
2f2c687b
JB
4933 * etags.c (TYPEDST): Added the `tignore' value.
4934 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
4935 `extern "C" {' construction (patch by Tom R.Hageman).
4936
49371994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4938
4939 * b2m.c: Use <...> to include config.h.
4940 Don't include stdlib.h.
4941
177c0ea7 49421994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4943
4944 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4945 Allow for text following "BABYL OPTIONS:".
4946 Add --help option. Use argv[0] in error messages.
4947
49481994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4949
4950 * emacsclient.c (main) [HAVE_SYSVIPC]:
4951 Make msgp->mtext longer if necessary.
4952 On HPUX, error if it's more than 512 chars.
4953
49541994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4955
4956 * etags-vmslib.c: Use GPL.
4957 * emacstool.c: Use GPL.
4958 * fakemail.c: Update GPL.
4959
4960 * make-path.c (main): Return 1 on error, not -1.
4961 Update GPL.
4962
4963 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4964 (xmalloc, xrealloc): Return char *, not int.
4965 (error): Write to stderr, not stdout.
4966 Update GPL.
4967
49681994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4969
4970 * profile.c (main, get_time): Don't crash on invalid input.
4971
49721994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4973
4974 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 4975 (main): Exit on EOF.
362bc2da 4976
880820fe 49771994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4978
a64387ee 4979 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4980
49811994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4982
4983 * fakemail.c (put_line): Don't break the line if it all fits.
4984
880820fe 49851994-02-14 Francesco Potortì (pot@fly)
362bc2da 4986
2f2c687b
JB
4987 * etags.c (absolute_pathnames, cwd): Added global vars.
4988 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 4989 in the tag file if the -A --absolute-pathnames option is used.
2f2c687b
JB
4990 (print_help): Alfabetically order the options.
4991 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
4992
49931994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4994
4995 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4996 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4997
49981994-02-07 Christian Lynbech (lynbech@avignon)
4999
5000 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5001
50021994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5003
5004 * Makefile.in (UTILITIES): Mention profile.
5005 (profile): New target.
5006
5007 * profile.c: New file.
5008
50091994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5010
88c71720 5011 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5012 Lisp docstrings do.
88c71720 5013 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5014 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5015 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5016
880820fe 50171994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5018
5019 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5020 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5021 Use gperf generated hash table instead of linked list.
2f2c687b 5022 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5023 Mostly code generated by gperf.
2f2c687b
JB
5024 (consider_token): Removed unused parameter `lp'.
5025 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5026 to span multiple lines.
2f2c687b
JB
5027 (C_entries): Check for newline if inchar to avoid bus errors.
5028 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5029 and not regular file.
5030
50311994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5032
5033 * timer.c: Include errno.h; don't include fasync.h.
5034 (schedule): Don't return a value.
5035 (sigcatch): Reestablish the handler first.
5036 (getevent): Always call notify at the end.
5037 (notify): Defer alarms around the whole body of function.
5038
50391994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5040
5041 * timer.c (main): Don't request SIGIO, and don't handle it.
5042 Loop calling getevent.
5043 (sigcatch): Delete code to handle SIGIO.
5044 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5045 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5046 Set defer_alarms around realloc and schedule.
5047 If alarm_deferred gets set, call notify.
5048 Likewise if this event is the only pending event.
5049 Make buf and buf_size global variables.
5050 Don't malloc buf if it is already non-zero.
5051 (schedule): Just exit if run out of memory.
5052 Return the number of events.
5053 (signal) [_CX_UX]: Add #undef.
5054
50551994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5056
5057 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5058 (main) [USG]: Do ioctl to enable SIGPOLL.
5059
50601994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5061
5062 * timer.c: Don't declare sys_errlist; declare strerror instead.
5063 (schedule, main): Call strerror instead of using sys_errlist.
5064 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5065 Call strerror instead of using sys_errlist.
5066 * env.c (main): Call strerror instead of using sys_errlist.
5067 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5068 (main): Call strerror instead of using sys_errlist.
5069 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5070 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5071 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5072 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5073
50741994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5075
5076 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5077
5078 * movemail.c (malloc): Don't declare it.
5079 (xmalloc): Cast result of malloc.
5080 (strcpy): Don't declare it.
5081
50821993-11-14 Morten Welinder (terra@diku.dk)
5083
5084 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5085 (main): Use fclose to close file opened by fopen.
5086
5087 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5088
5089 * movemail.c [MSDOS]: #undef `access'.
5090
5091 * b2m.c (main) [MSDOS]: Open all files as binary.
5092 * etags.c (main) [MSDOS]: Open all files as binary.
5093
5094 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5095 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5096 with.
5097
50981994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5099
5100 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5101 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5102 (LINK_CFLAGS): New variable.
5103 (timer): Use LINK_CFLAGS.
5104
51051993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5106
5107 * movemail.c: Include syswait.h.
5108 Fork a subprocess and use it to copy the mail file.
5109
51101993-12-07 Richard Stallman (rms@srarc2)
5111
5112 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5113
51141993-12-04 Richard Stallman (rms@srarc2)
5115
5116 * movemail.c (main): When making tempname, cast result of xmalloc.
5117 Include room for EXXXXXX in the size.
5118 Don't use result of strcpy.
5119
51201993-12-03 Paul Eggert (eggert@twinsun.com)
5121
5122 * vcdiff: Add --brief option.
5123
51241993-12-02 Richard Stallman (rms@srarc2)
5125
5126 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5127 for all executables and scripts.
5128
51291993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5130
5131 * Version 19.22 released.
5132
51331993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5134
5135 * Makefile.in (mostlyclean): Make it distinct from clean.
5136
51371993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5138
5139 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5140
51411993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5142
5143 * Version 19.21 released.
5144
5145 * Makefile.in (install): Don't change mode or group when installing.
5146
5147 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5148
51491993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5150
5151 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5152
5153 * movemail.c (main): Fix error message text.
5154
51551993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5156
5157 * Version 19.20 released.
5158
177c0ea7 51591993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5160
ecc54057 5161 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5162 functions returning a pointer to a function, a la `signal', can be
5163 parsed. This also required new state `fstartlist' to `FUNCST'.
5164 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5165 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5166 from the other state engines.
2f2c687b 5167 (begtk): Add '~', for C++ class destructors.
362bc2da 5168
880820fe 51691993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5170
2f2c687b
JB
5171 * etags.c (consider_token): Removed unused variable firsttok.
5172 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5173
51741993-10-19 Paul Eggert (eggert@twinsun.com)
5175
5176 * rcs2log (printlogline): Don't generate lines containing only
5177 white space.
5178
51791993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5180
5181 * Makefile.in (${archlibdir}):
5182 Install ${SCRIPTS} from ${srcdir}, not cwd.
5183
51841993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5185
5186 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5187 the comment character.
5188
880820fe 51891993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5190
2f2c687b 5191 * etags.c (process_file): Dead code removed.
362bc2da 5192 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5193 (process_file): Regular files have nothing to do with symlinks.
362bc2da
DL
5194
51951993-09-28 Brian Fox (bfox@ai.mit.edu)
5196
5197 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5198 from current directory. Only chmod and chgrp files that we
5199 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5200 ${bindir}.
5201 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5202 now.
5203
52041993-09-27 Brian Fox (bfox@ai.mit.edu)
5205
5206 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5207 configure figure out the correct values for these variables.
5208
52091993-09-14 Brian Fox (bfox@ai.mit.edu)
5210
5211 * Makefile.in (archlibdir): Only install execuatables internally
5212 used by emacs; don't install bindir binaries here.
5213
52141993-09-24 Paul Eggert (eggert@twinsun.com)
5215
5216 * rcs2log: Add -h, -n, -r options.
5217 By default, look for *,v files as well as RCS/*,v files.
5218 Use $TMPDIR (default /tmp) instead of /tmp.
5219
880820fe 52201993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5221
5222 * etags.c (C_entries): is_func is initialised here instead of in
5223 consider_token for the sake of the yacc rules section.
5224 (C_entries): Now class, struct, enum, union and typedef produce
5225 named tags.
5226
52271993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5228
5229 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5230
52311993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5232
88c71720
KS
5233 * Makefile.in: Support configuring in a different directory when
5234 ${srcdir} has already been configured.
5235 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5236 -I${srcdir}/../src.
362bc2da
DL
5237 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5238 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5239 is already in CPP_FLAGS.
5240 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5241 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5242
52431993-08-25 Paul Eggert (eggert@twinsun.com)
5244
5245 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5246 otherwise, HP awk complains.
5247
5248 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5249 are common hangouts for SCCS commands.
5250
52511993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5252
5253 * Version 19.19 released.
5254
52551993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5256
5257 * Makefile.in (make-path): Dep on config.h.
5258
52591993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5260
5261 * b2m.c (TRUE, FALSE): Don't define if already defined.
5262
52631993-08-09 Paul Eggert (eggert@twinsun.com)
5264
5265 * rcs2log (awkscript):
5266 Some sites put comma-separated junk after the fullname.
5267 Remove it, but leave "Bill Gates, Jr" alone.
5268 Remove the junk from fullnames like "0000-Admin(0000)".
5269
52701993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5271
5272 * Version 19.18 released.
5273
880820fe 52741993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5275
2f2c687b
JB
5276 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5277 (L_funcs): The (foo::defmumble stuff now should work.
5278 (consider_token): Function returned random value--corrected.
5279 (C_entries): Corrected == versus = typo.
362bc2da
DL
5280
52811993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5282
5283 * etags.c (put_entries): For NODE->rewritten, put pattern before
5284 \177 and name after, not vice versa.
5285
52861993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5287
5288 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5289
880820fe 52901993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5291
ecc54057 5292 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5293 after the parameter list and before the open curly brace.
5294 Allows correct parsing of C++ constructors.
2f2c687b
JB
5295 (C_entries, consider_token): Make use of fignore.
5296 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5297 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5298 (L_isquote): Function that recognises the "(quote" string.
5299 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5300
53011993-07-29 Paul Eggert (eggert@twinsun.com)
5302
5303 * rcs-checkin: Don't check whether a file is readable until we have
5304 decided not to ignore it.
5305
53061993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5307
5308 * Makefile.in (etags): Depend on ../src/config.h.
5309
5310 * emacsserver.c: Include types.h before file.h.
5311
53121993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5313
5314 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5315
53161993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5317
ecc54057 5318 * Version 19.17 released.
362bc2da
DL
5319
53201993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5321
5322 * etags.c (print_help): Break up the very long strings containing
5323 the help message into shorter strings, to placate chintzy C
5324 compilers which can't handle strings that long.
5325
5326 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5327 correct combination of <time.h> and <sys/time.h>.
5328
880820fe 53291993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5330
2f2c687b
JB
5331 * etags.c (alloca): Removed all references to it.
5332 (main): Now calls xnew instead of alloca for portability.
5333 (../src/config.h): Included only if HAVE_CONFIG_H.
5334 (const): Void definition removed--config.h takes care of it.
362bc2da 5335
880820fe 53361993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5337
2f2c687b 5338 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5339 (consider_token): DEFUNs now treated like funcs in ctags mode.
5340
2f2c687b
JB
5341 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5342 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5343 (C_entries): Removed a piece of useless code.
5344 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5345 is met. This handles "typedef int X, Y, Z;" correctly.
5346
53471993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5348
5349 * Version 19.16 released.
5350
5351 * b2m.c: #include <sys/types.h>.
5352 (ltoday): Declare this to be time_t.
5353
53541993-06-30 Paul Eggert (eggert@twinsun.com)
5355
5356 * vcdiff: Add -q option.
5357
53581993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5359
5360 * etags.c: #include "config.h" and the alloca CPP tangle before
5361 #including the system headers and getopt.h. AIX requires the
5362 #pragma to come before any actual C code.
5363
53641993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5365
5366 * Makefile.in (ctags): Depend on etags, so that parallel makes
5367 don't write etags.o files on top of each other.
5368
53691993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5370
5371 * version 19.15 released.
5372
53731993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5374
5375 * etags.c (add_node): Move var last_node to file scope.
5376
53771993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5378
5379 * Version 19.14 released.
5380
53811993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5382
ecc54057 5383 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5384 * Makefile.in (distclean): Call clean to do most of the work.
5385 Delete aixcc.c and TAGS.
5386 (realclean): Just call distclean.
1c478461 5387
362bc2da
DL
5388 * Makefile.in: Remember, spaces are not tabs.
5389
53901993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5391
5392 * Makefile.in (CPP_CFLAGS): New variable.
5393 Use it instead of ALL_CFLAGS when compiling a .c file.
5394 (getopt.o, getopt1.o): Add explicit compilation commands.
5395
53961993-06-10 Mark D. Baushke (mdb@cisco.com)
5397
5398 * etags.c: Reinstate old -f option as an alias for -o for
5399 installed base uses.
5400
54011993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5402
5403 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5404 to bind or accept, cast the pointer, to avoid warnings on systems
5405 which declare prototypes for this.
5406 * emacsclient.c (main): Same.
5407
5408 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5409
54101993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5411
5412 * Version 19.13 released.
5413
5414 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5415 comes from, not sys/time.h.
5416
54171993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5418
5419 * wakeup.c: Include sys/time.h.
5420
5421 * etags.c: #undef static.
5422
5423 * Version 19.12 released.
5424
5425 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5426
54271993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5428
5429 * Version 19.11 released.
5430
5431 * timer.c [LINUX]: #undef signal.
5432 * emacsserver.c: #undef signal.
5433
54341993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5435
5436 * wakeup.c (main): Make when a time_t.
5437
54381993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5439
ecc54057 5440 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5441 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5442 might fail, and have pwd print out the current directory.
5443
5444 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5445 string-handling functions.
5446
54471993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5448
5449 * Version 19.10 released.
5450
54511993-05-29 Paul Eggert (eggert@twinsun.com)
5452
5453 * rcs2log: When given no file arguments, inspect RCS/.* as well
5454 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5455
54561993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5457
5458 * Makefile.in (timer): Link with $(LOADLIBES).
5459
54601993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5461
5462 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5463
54641993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5465
5466 * etags.c: Replace the CPP tangle for alloca with the one from the
5467 autoconf documentation, since that's working elsewhere.
5468
54691993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5470
5471 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5472 description files can find their ancestors.
5473
54741993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5475
5476 * Makefile.in (install): Get the scripts from ${srcdir},
5477 unlike the executables.
5478 (ALL_CFLAGS): Add -I../src
5479
54801993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5481
5482 * Version 19.9 released.
5483
54841993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5485
5486 * Makefile.in (install): Do install the programs listed in
5487 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5488 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5489
5490 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5491 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5492
54931993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5494
5495 * etags.c: Include ../src/config.h.
5496
5497 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5498 in first loop. Delete files from bindir before installing new ones.
5499 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5500
55011993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5502
5503 * Version 19.8 released.
5504
5505 * make-docfile.c: Doc fix.
5506
55071993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5508
5509 * tcp.c: Fix comment syntax at top of file.
5510 (main): Don't call htons with the port number.
5511
55121993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5513
5514 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5515 appropriate.
362bc2da
DL
5516
5517 * Makefile.in (install): Refer to the variables INSTALLABLES and
5518 INSTALLABLE_SCRIPTS, instead of writing them out.
5519
55201993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5521
5522 * make-path.c (main): Return 0.
5523
55241993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5525
ecc54057 5526 * Version 19.7 released.
362bc2da
DL
5527
55281993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5529
5530 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5531
55321993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5533
5534 * tcp.c: New file.
5535
55361993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5537
5538 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5539
55401993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5541
5542 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5543 only. We should really fix this later, but let's just make it
5544 compile for now.
5545
5546 Install patches from David J. Mackenzie to make the srcdir option
5547 work.
5548 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5549 Makefile.
5550 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5551 INSTALLABLE_SCRIPTS.
5552 (INSTALLABLE_SCRIPTS): New list.
5553 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5554 (${archlibdir}): The scripts to be installed live in the source
5555 tree, not in the object tree.
5556 (test-distrib): Note that the data file lives in the source tree,
5557 not the object tree.
5558 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5559 (all other targets): Change references to source files to use
5560 ${srcdir}, except for config.h, which lives in the object dir.
5561 (timer.o): Note that this depends on ../src/config.h.
5562 * make-docfile.c (main): Add a -d option, to tell it where to find
5563 the source files.
5564 * test-distrib.c (main): Take the name of the distribution file to
5565 test from the command line.
5566
5567 * timer.c: Fix mispellings of get_date function's name.
5568
55691993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5570
5571 * etags.c (main):
5572 Don't require that there be input files if -i switches were given.
5573
55741993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5575
5576 The GNU coding standards specify that CFLAGS should be left for
5577 users to set.
5578 * Makefile.in (CFLAGS): Put this in the "things configure might
5579 edit" section, and have it default to -g.
5580 (ALL_CFLAGS): New variable, set to all the flags which should be
5581 passed to compilations. Replace all other uses of CFLAGS with
5582 ALL_CFLAGS.
5583 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5584
5585 * Makefile.in (DEFS): Remove this; it's always just going to be
5586 "-DHAVE_CONFIG_H -Demacs".
5587
55881993-05-03 Paul Eggert (eggert@twinsun.com)
5589
5590 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5591 /[/]/, so change it to /[\/]/. This should work on all
5592 Posix-compliant awks. It's slightly wrong with traditional awk,
5593 since it matches \ too, but that's a minor problem compared to awk
5594 syntax errors.
5595
55961993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5597
5598 * Makefile.in (ALLOCA): New variable, whose value we should
5599 inherit from the top-level makefile.
5600 (etags, ctags): Include ALLOCA in the list of object files that
5601 these executables depend on and link.
5602
56031993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5604
5605 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5606
56071993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5608
5609 * make-docfile.c (write_c_args): Print an argument named "defalt"
5610 as "default".
5611
56121993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5613
5614 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5615 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5616 compiler.
5617
880820fe 56181993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5619
2f2c687b
JB
5620 * etags.c (YACC): Flag added to c_ext.
5621 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5622 (find_entries): Consistently use streq when reasonable.
5623 (find_entries): A .y file is a yacc file.
362bc2da 5624 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5625 (C_entries): Logical cplpl means c_ext&C_PLPL.
5626 (C_entries): Logical yacc_rules means we are after the first %%.
5627 (C_entries): Added logic for yacc files.
362bc2da 5628
880820fe 56291993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5630
5631 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 5632 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
5633 (consider_token): structtag set to null string for enum.
5634
880820fe 56351993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5636
2f2c687b
JB
5637 * etags.c (GET_COOKIE): And related macros removed.
5638 (logical): Is now int, no more a char.
5639 (reg): Define deleted.
5640 (isgood, _gd, notgd): Deleted.
5641 (gotone): Deleted.
5642 (TOKEN): Member linestart removed.
5643 (linepos, prev_linepos, lb1): Deleted.
5644 (main): Call initbuffer on lbs array instead of lb1.
5645 (init): Removed the initialisation of the logical _gd array;
5646 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
5647 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5648 All C state machines rewritten.
2f2c687b
JB
5649 (C_entries): Complete rewrite.
5650 (condider_token): Complete rewrite.
5651 (getline): Deleted.
362bc2da 5652
880820fe 56531993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5654
5655 * etags.c (C_entries): Added the quotednl logical variable.
5656 Used for parsing of #define's spanning multiple lines.
5657
880820fe 56581993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5659
5660 * etags.c (C_entries): Save the definedef status even when a
5661 newline is met inside a string.
5662
56631993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5664
2f2c687b 5665 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
5666
5667 * Makefile.in (unlock, relock): New productions.
5668
56691993-03-16 Paul Eggert (eggert@twinsun.com)
5670
5671 * rcs2log: Some awks don't understand "\r". Code around this.
5672 Unfortunately this requires putting a carriage return in the
5673 source code. Don't assume that rlog will tolerate times like
5674 `10:10:60'; RCS 5.7 won't allow this.
5675
56761993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5677
5678 * timer.c (main): Set the ownership of the stdin file descriptor
5679 to the current process. Print error messages if either of the
5680 fcntl's fails.
5681
5682 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5683 ../src/config.h), not void.
5684
56851993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5686
5687 * b2m.c (main): Don't exit upon reading a blank line.
5688
880820fe 56891993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5690
5691 * etags.c (C_entries): New local variable quotednl. Used for
5692 parsing of #define's spanning multiple lines.
5693
5694 * etags.c (C_entries): Save the definedef status
5695 even when a newline is met inside a string.
5696
56971993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5698
5699 * timer.c (notify): Initialize waitfor properly.
5700
880820fe 57011993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
5702
5703 * etags.c (C_entries): Don't reset definedef when a newline inside a
5704 comment is met.
5705
57061993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5707
5708 * etags.c (find_entries): If filename ends in .f or .for,
5709 don't try anything but Fortran.
5710
57111993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5712
5713 * timer.c (notify): Flush stdout after writing message to avoid lossage
5714 on terminals.
5715
5716 (notify): Also, write a newline after the token.
5717
57181992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5719
5720 * Makefile.in (exec_prefix): New variable.
5721 (bindir, libdir): Use it instead of `prefix'.
5722
5723 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5724
5725 * Makefile.in (libdir): Default to ${prefix}/lib.
5726 (archlibdir): Adjusted to match.
5727
5728 * Makefile.in (distclean): Don't delete backup or autosave files.
5729 (extraclean): Like realclean, but does delete backup and autosave
5730 files.
5731
5732 * Makefile.in (realclean): Ignore errors from rm.
5733
5734 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5735 that doesn't exist anymore.
5736
57371992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5738
5739 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5740 described in the top-level Makefile.
5741 (UTILITIES): Add make-path to the list of utility programs.
5742 (../arch-lib): Replaced by the ${archlibdir} target, which places
5743 the executables in their permanent home.
5744 (install, install.sysv, install.xenix): Consolidated into one
5745 target which should work under all circumstances, modulo a few
5746 ignored error messages.
5747
5748 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5749 a different number of arguments than other DEFVARs, recognize it
5750 specially, and expect the right number of commas.
5751
57521992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5753
5754 * make-path.c: New program, to help with the installation process.
5755 * Makefile.in (make-path): New target.
5756
5757 * make-path.c (touchy_mkdir): Remove debugging output.
5758
57591992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5760
5761 * Makefile.in (getdate.o): Added explicit target for this, so we
5762 can indicate that it depends on ../src/config.h.
5763
57641992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5765
5766 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5767 instead of CFLAGS.
5768 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5769
57701992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5771
5772 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5773 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5774 that system.
5775
5776 * Makefile.in (arch-lib): Give rm the `-f' option.
5777
57781992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5779
5780 * make-docfile.c (write_c_args): Rewritten to correctly print
5781 &optionals before the first identifier, but after the first paren.
5782 This code used to just wait for commas or spaces; now it notices
5783 identifier boundaries.
5784
57851992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5786
5787 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5788
57891992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5790
5791 * make-docfile.c (write_c_args): Print the argument lists properly
5792 when the first argument is optional.
5793
57941992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5795
5796 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5797 Redefine @item. Set catcode of +.
5798
57991992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5800
5801 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5802
58031992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5804
5805 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5806 (TEX_decode_env): Make `tab' one element longer.
5807
58081992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5809
5810 * etags.c (PF_funcs): Recognize the "entry" keyword.
5811
58121992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5813
5814 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5815
58161992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5817
5818 * timer.c (events): Rather than having slots marked as in use or
5819 out of use by the `token' field, keep all pending events at the
5820 beginning of the array. When we delete an event in the middle of
5821 the array, we move the last event into its place.
5822 (num_events): New variable.
5823 (schedule): It is now cheaper to find a free event slot;
5824 events[num_events] is the first free slot.
5825 (notify): Scan events[0 .. num_events-1], instead of the whole
5826 array. When an event fires, move the last event in the array into
5827 its spot. Use num_events to determine whether or not there are
5828 any pending events, not wait_for.
5829 (getevent): Deleted unused variable `ep'.
5830 (sigcatch): It's now easier to find all the active events.
5831 (main): Initialize num_events.
5832
5833 * etags.c: Rather than fret about which systems have index and
5834 which systems have strchr, and how to tell the difference between
5835 them, we just write out our own versions. Big deal.
5836 (index, rindex): Extern declarations removed.
5837 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5838 (etags_index, etags_rindex): New declarations.
5839 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5840 TEX_getit, substr): Use the etags_*index functions, rather than
5841 the native *index functions.
5842 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5843 made them unconditionally defined, rather than having them depend
5844 on NEED_*INDEX.
5845
5846 * etags.c (savenstr): Add declaration for this at top of file.
5847 (TEX_decode_env): Don't declare it local to this function.
5848
5849 * b2m.c: #include "../src/config.h", so we can test for the USG
5850 macro, and decide whether to include <string.h> or <strings.h>.
5851 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5852
58531992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5854
5855 * timer.c: Reformatted according to the GNU coding standards.
5856 Removed arbitrary limits on the number of events queued and the
5857 length of the tokens used to identify them.
5858 Removed casts to (void).
5859 Removed debugging printfs; they clutter the code, and the need
5860 can be better filled using a real debugger.
5861
58621992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5863
5864 * timer.c: Installed new version from Eric Raymond; this is more
5865 portable, since it doesn't try to use SIGIO.
5866
58671992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5868
5869 * emacsclient.c (main): If we can't find the socket in this
5870 person's home directory, print a message which asks if they've
5871 started the server, instead of just printing the message from
5872 sys_errmsg; Cygnus finds that people are much less confused by
5873 this.
5874
58751992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5876
5877 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5878 so that index and rindex get defined, why don't we actually
5879 control index and rindex using symbols called "NEED_INDEX" and
5880 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5881 little more readable than defining something whose name implies
5882 that it's not?
5883
58841992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5885
5886 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5887 distribution:
5888 Miscellaneous doc fixes.
1c478461 5889 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5890 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5891 read_lisp_symbol and then see what we got. Call skip_white
5892 instead of writing out a loop to do its job. Correctly extract
5893 docstrings from "defmacro" declarations.
5894
58951992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5896
5897 * movemail.c (strcpy): Declare this to return char *.
5898
58991992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5900
5901 * etags.c (C_entries): When we find a C++ comment, do actually
5902 skip to the end of the line; do a 'break' instead of a 'continue'.
5903
59041992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5905
5906 * etags.c (getit): Add missing parenthesis to expression which
5907 decides if this token is an identifier.
5908
59091992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5910
5911 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5912
59131992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5914
5915 * etags.c (put_entries): Always put space between name and line num.
5916
59171992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5918
5919 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5920 warning.
5921 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5922
59231992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5924
5925 * make-docfile.c (write_c_args): Pass both arguments to putc.
5926
59271992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5928
5929 * etags.c (C_entries): Fixed reading of "..." strings.
5930 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5931 the C library source.
5932
5933 * etags.c (C_entries): When we see a backslash inside a quoted
5934 string, skip to the next character. This allows us to correctly
5935 deal with strings containing quotes.
5936
59371992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5938
5939 * make-docfile.c (write_c_args): Print the C argument names as
5940 they would be written in Elisp; print '_' as '-'.
5941
59421992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5943
5944 * movemail.c [POP]: Get user name via getpwuid.
5945
59461992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5947
2f2c687b 5948 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
5949
59501992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5951
5952 * etags.c (print_help): Remember not to imbed raw newlines in
5953 strings - end the lines with `\n\'.
5954
59551992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5956
5957 * timer.c (getevent): Removed declaration of memcpy; since
5958 different systems have different return types, and we're not even
5959 using the return type anyway, it wasn't doing us any good.
5960
59611992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5962
5963 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5964 type of this function.
5965
59661992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5967
5968 * ChangeLog: Since the old etc contents have been split into etc
5969 and lib-src, the old etc's ChangeLog has been duplicated in the
5970 new etc and lib-src. That means that each contains complete and
5971 coherent information, although each contains extraneous
1c478461 5972 information.
362bc2da
DL
5973
59741992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5975
290afd83 5976 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
5977 to be consistent with other GNU programs, like makeinfo.
5978
290afd83 5979 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
5980 will edit this to produce Makefile.
5981
59821992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5983
5984 * etags.c (print_help, print_version): New functions.
5985 (main): Options added to support them.
5986
5987 * etags.c (longopts): New array of long names for the options.
5988 (main): Recognize them.
5989
59901992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5991
5992 * etags.c (C_entries): Removed comment saying that \" in a string
5993 isn't recognized as magic, because it is correctly handled.
5994
5995 * getopt.c, getopt.h: New files, from GNU C library.
5996 * etags.c: Rewritten to use getopt.
5997 #include "getopt.h".
5998 (file_num): Variable deleted; its role is now played by getopt's
5999 optind.
6000 (main): Argument processing loop rewritten to call getopt to get
6001 next option. Options which take parameters (-o and -i) rewritten
6002 to get parameter from optarg instead of argv[1]. Filename
6003 preprocessing loop and update command changed similarly.
6004 * Makefile (etags, ctags): Depend on and link with getopt.h,
6005 getopt.o, and getopt1.o.
6006 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6007
6008 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6009 is non-zero.
6010
6011 (main): In the argument processing loop, the 'goto next_arg'
6012 statements are breaking out of the switch statement in exactly the
6013 same way that a simple 'break' statement would; replace the gotos
6014 with breaks, and remove the label.
6015
60161992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6017
6018 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6019 (consider_token): Move next_token_is_func to global.
6020
60211992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6022
6023 * Makefile: Conform with GNU coding standards:
6024 (mostlyclean): New target, synonymous with clean.
6025 (TAGS, check): New targets.
6026 (INSTALL, INSTALLFLAGS): New variables.
6027
60281992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6029
ecc54057 6030 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6031 `config.emacs' to `configure'.
6032
6033 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6034 * etc/MACHINES: Same.
6035
60361992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6037
6038 * movemail.c (main): Allow tempname to be as long as necessary,
6039 instead of limiting it to 39 characters.
6040
6041 * movemail.c (main): Move declaration of buf from top of function
6042 to local block surrounding the copy loop. This makes it less
6043 likely to be confused with the buf used by the code which checks the
6044 permissions on outname's directory.
6045
60461992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6047
6048 * SERVICE: Remove my entry.
6049
60501992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6051
6052 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6053 hardcoded -g.
6054
6055 * movemail.c (xmalloc): Return char *, not int.
6056 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6057 that is off by default -- normally don't unlink the mail spool
6058 file, just empty it. Pass creat mode 0600, not 0666.
6059
dff28924 60601992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6061
6062 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6063 (all): Instead of here.
6064 (install): Don't use the -s option, since people need symbols to
6065 debug code.
6066
dff28924 60671992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6068
6069 * etags-vmslib.c (fn_exp): Add type cast.
6070
60711992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6072
6073 * movemail.c: Changes in comments.
6074
dff28924 60751992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6076
6077 * Makefile: Make the distclean target erase the DOC files from
6078 ../share-lib and the executables from ../arch-lib.
6079
dff28924 60801992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6081
6082 * emacsclient.c: #include <sys/stat.h>
6083 (main): Do declare statbfr.
6084
dff28924 60851991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6086
6087 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6088 for the socket, depending on SERVER_HOME_DIR.
6089 If using /tmp, put host name in the socket name.
6090
6091 * movemail.c (pfatal_and_delete): New function.
6092 (main, popmail): Use it.
6093 (popmail): Close output before deleting messages.
6094 Check for error on close and on fsync.
6095 Use `fatal' where appropriate.
6096 (main): Remove (void).
6097
6098 * aixcc.lex: New file. Not officially part of Emacs.
6099 * Makefile: Rules for that.
6100
dff28924 61011991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6102
6103 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6104
6105 * etags.c (main): Properly cast call to alloca that initializes
6106 included_files.
6107
61081991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6109
6110 * etags.c (files_are_tag_tables): Remove global var.
6111 (process_file): Don't test it. Also remove hack checking for a
6112 file named "TAGS".
6113 (main): -i now takes an arg which is the name of a file to include.
6114 Collect these names and emit include tags for them after processing
6115 all the argument files.
6116
dff28924 61171991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6118
6119 * wakeup.c: Terminate if parent goes away.
6120
dff28924 61211991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6122
6123 * etags.c (C_entries): Process token before handling end of line.
6124 When inner loops reach end of line, just back up.
6125 Let the real end of line processing happen in just one place.
a64387ee 6126 (consider_token): Likewise.
362bc2da 6127
dff28924 61281991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6129
6130 * etags.c (TEX_mode): Skip comments while scanning the text to see
6131 which escape character this file uses.
6132
dff28924 61331991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6134
6135 * emacsserver.c [USG]: Terminate if msgrcv fails.
6136
dff28924 61371991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6138
6139 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6140
dff28924 61411991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6142
6143 * make-docfile: Find the arguments to a C function correctly,
6144 by not ignoring the character that read_c_string returns. Don't
6145 even try to find argument names for functions that take MANY
6146 or UNEVALLED arguments, since they're a figment of the docstring's
6147 imagination.
6148
dff28924 61491991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6150
6151 * make-docfile: Read the .elc files generated by the new byte
6152 compiler.
6153
dff28924 61541990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6155
6156 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6157
dff28924 61581990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6159
6160 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6161
dff28924 61621990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6163
6164 * Makefile (install*): No need to install wakeup.
6165
dff28924 61661990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6167
6168 * Makefile (install*): Install emacsclient like etags.
6169
dff28924 61701990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6171
6172 * movemail.c (error): Handle 3 args.
6173 (main): Don't check input access if using pop.
6174
dff28924 61751990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6176
6177 * etags.c (find_entries): Check for numbers after Scheme suffix.
6178
dff28924 61791990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6180
6181 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6182
dff28924 61831990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6184
6185 * Makefile (nemacstool, xvetool): New targets.
6186
dff28924 61871990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6188
6189 * emacsclient.c: Include errno.h and define related variables.
6190
dff28924 61911990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6192
6193 * emacsclient.c: Change usage message.
6194
dff28924 61951990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6196
ecc54057 6197 * emacs.1: Add break before -nw option.
362bc2da 6198
dff28924 61991990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6200
6201 * qsort.c: Replace with GNU version.
6202
dff28924 62031990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6204
6205 * wakeup.c: New program replacing loadst.c.
6206
dff28924 62071990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6208
6209 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6210
dff28924 62111990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6212
6213 * etags.c: Rename `flag' variables for what they do instead of
6214 which option character sets them.
6215
dff28924 62161990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6217
6218 * loadst.c (main): Conditional to get load average on Apollo.
6219
dff28924 62201990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6221
6222 * emacsserver.c: Set the permission on the socket to 0600.
6223
dff28924 62241990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6225
6226 * emacsclient.c [BSD]: Print clean message for failing getwd.
6227
dff28924 62281990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6229
6230 * getdate.y: Use the getdate.y from GNU tar for timer.
6231
dff28924 62321990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6233
6234 * emacsclient.c (main): Don't put brackets around "filename" in
6235 usage message. It isn't optional.
6236
dff28924 62371990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6238
a64387ee 6239 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6240
dff28924 62411990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6242
6243 * emacsserver.c: Renamed from server.c.
6244 * Makefile: Reference emacsserver rather than server.
6245 * MACHINES: Doc fix for new emacsserver name.
6246
dff28924 62471990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6248
6249 * emacsclient.c: Print program name in error messages.
6250
dff28924 62511990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6252
6253 * timer.c, getdate.y (new files) and Makefile:
6254 Sub-process support for run-at-time in timer.el.
1c478461 6255 Doesn't yet work correctly for USG.
362bc2da 6256
dff28924 62571990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6258
6259 * MACHINES: Add HP 300 running BSD.
6260
dff28924 62611990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6262
6263 * yow.c: Dynamically allocate buffer; skip header before random
6264 choice to avoid bias toward first item.
6265
dff28924 62661989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6267
6268 * etags.c (readline): Separate out init of `pend'.
6269
dff28924 62701989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6271
6272 * etags.c: Undo changes relating to isgoodhdr.
6273
dff28924 62741989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6275
6276 * etags.c (isgoodhdr): New macro.
6277 (_gdh, notgdh): New variable used by that.
6278 (init): Initialize _gdh.
6279 (find_entries): Set header_file.
6280 (consider_token): Use isgoodhdr if in header file.
6281
6282 * etags.c (total_size_of_entries):
6283 Was miscalculating by 1 in rewritten case.
6284
6285 * etags.c (PAS_funcs): One arg to pfnote was missing.
6286
dff28924 62871989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6288
6289 * MACHINES: Change for the ULTRIX entry.
6290
dff28924 62911989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6292
6293 * etags.c (process_file): If file is not regular, return.
6294
dff28924 62951989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6296
6297 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6298
dff28924 62991989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6300
6301 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6302 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6303
dff28924 63041989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6305
6306 * etags.c (consider_token): Allow any number of typespec keywords
6307 after `typedef', before new type name.
6308 (enum sym_type): Add st_C_typespec.
6309 (C_create_stab): Put typespec kwds in table.
6310
dff28924 63111989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6312
6313 * etags.c (main): Don't depend on name invoked by.
6314 If CTAGS is not defined, assume it is ETAGS.
6315
dff28924 63161989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6317
6318 * etags.c (L_funcs): Allow package name in define construct,
6319 as in (foo::defmumble name-defined ...).
6320
dff28924 63211989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6322
6323 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6324
6325 * Makefile (yow): Depends on ../src/paths.h.
6326
dff28924 63271989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6328
6329 * etags.c: Fix compilation by moving Pascal after Fortran.
6330
dff28924 63311989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6332
6333 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6334
dff28924 63351989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6336
6337 * hexl.c: New file, supports hexl-mode.
6338
dff28924 63391989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6340
6341 * movemail.c: New compilation flag MAIL_USE_MMDF.
6342
dff28924 63431989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6344
6345 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6346 * server.c: Likewise.
6347
6348 * make-docfile.c (scan_c_file): Output argument names at end of string.
6349 (write_c_args): New subroutine.
6350
dff28924 63511989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6352
6353 * movemail.c: Report failure of flock.
6354
dff28924 63551989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6356
6357 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6358
dff28924 63591989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6360
2f2c687b 6361 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6362
dff28924 63631989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6364
6365 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6366
2f2c687b 6367 * emacsstool.1: Update to document environment variables.
362bc2da 6368
dff28924 63691989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6370
6371 * etags.c (PAS_funcs): New function by Mosur Mohan.
6372
6373 * movemail.c: On sysv, include unistd.h.
6374
dff28924 63751989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6376
6377 * b2m.c: New file.
6378
dff28924 63791989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6380
6381 * etags.c: Prolog support from Sunichirou Sugou
6382
dff28924 63831989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6384
6385 * Makefile (clean): New target.
6386
dff28924 63871989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6388
6389 * fakemail.c (put_line): Break header lines at 79 cols.
6390
dff28924 63911989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6392
6393 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6394 multiple tags per line.
6395
dff28924 63961989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6397
6398 * movemail.c: Check access before doing real work.
6399 Check that outfile is in a writable directory.
6400 On fatal error, delete the lock file.
6401
dff28924 64021988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6403
ecc54057
JB
6404 * env.c: Add decl for my-index
6405 * etags.c (file-entries): .oak => scheme
362bc2da 6406
dff28924 64071988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6408
6409 * movemail.c: Use `access' to check input and output files.
6410
dff28924 64111988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6412
6413 * emacsclient.c (main): Ignore all of CWD before first slash.
6414
dff28924 64151988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6416
6417 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6418
dff28924 64191988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6420
6421 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6422 * server.c: chmod the socket to 0700.
6423
dff28924 64241988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6425
6426 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6427 (add_field): Delete comments and turn `<', `>' to spaces
6428 in header lines.
6429 (USE_FAKEMAIL): New customization macro says to make fakemail
6430 not be a no-op even on a BSD system.
6431
dff28924 64321988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6433
6434 * etags.c (consider_token): Skip comments just like whitespace.
6435 Notice `struct', etc. and set strtag for those tokens.
6436 Return 1 for the token following `struct' if an open-brace follows it.
6437 (C_entries): Special handling of token following `struct'
6438 needed because we have probably advanced to the following line
6439 to find the `{'.
6440 (main): New option `T' sets tflag and strflag.
6441 Set both of them by default if eflags.
6442
dff28924 64431988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6444
6445 * movemail.c: Do fsync before closing output.
6446
dff28924 64471988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6448
ecc54057
JB
6449 * movemail.c: Better error message when can't create tempname.
6450 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6451
dff28924 64521988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6453
6454 * etags.c: Support assembler code for .s and .a files.
6455 (getit): Allow underscore in a tag.
6456
dff28924 64571988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6458
6459 * movemail.c: Close output and check errors before deleting input.
6460
dff28924 64611988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6462
6463 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6464 whether to prefix it. Handle line number args.
6465
dff28924 64661988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6467
2f2c687b 6468 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6469
dff28924 64701988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6471
6472 * etags.c: New option -i. -f renamed -o.
6473 `-' as input file means read input file names from stdin.
6474 -i spec'd or input file named TAGS means the input file is another
6475 tag table; output an "include" line for it.
6476
dff28924 64771988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6478
6479 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6480 New targets install, install.sysv, install.xenix.
6481 This makefile is now responsible for installing executables
6482 and documentation from this directory into system directories.
6483
dff28924 64841988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6485
6486 * server.c, emacsclient.c (main): Compute socket name from euid.
6487
dff28924 64881988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6489
6490 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6491
dff28924 64921988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6493
6494 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6495 * emacsclient.c: Likewise.
6496 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6497
dff28924 64981988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6499
6500 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6501 (istoken): New string-comparison macro.
362bc2da
DL
6502 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6503
dff28924 65041988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6505
6506 * etags.c: Changes for VMS.
6507 Always define ETAGS on VMS.
6508 Define macros GOOD and BAD for success and failure exit codes.
6509 (begtk, intk): Allow `$' in identifiers
6510 (main): Don't support -B, -F or -u on VMS.
6511 Alternate loop for scanning filename arguments.
6512 (system): Delete definition of this function.
6513
6514 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6515
dff28924 65161988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6517
6518 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6519 around include of param.h. (Like fns.c.)
6520
dff28924 65211988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6522
6523 * loadst.c (load_average): Move load-average code to this new fn.
6524 Add conditionals to compute load ave on UMAX.
6525
dff28924 65261988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6527
6528 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6529 with opposite sense.
6530
dff28924 65311988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6532
6533 * emacsclient.c: Delete references to unused variable `out'. This
6534 caused a bus error when used under hp-ux.
6535
dff28924 65361988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6537
6538 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6539
dff28924 65401988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6541
6542 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6543
dff28924 65441988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6545
6546 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6547
dff28924 65481988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6549
6550 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6551 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6552
dff28924 65531988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6554
6555 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6556 invalid escape sequences such as `\{'.
6557
6558 * loadst.c: Add `sequent' conditional for file dk.h.
6559
dff28924 65601988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6561
2f2c687b 6562 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6563
2f2c687b 6564 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6565
6566;; Local Variables:
880820fe 6567;; coding: utf-8
33462dfa 6568;; add-log-time-zone-rule: t
6922b018 6569;; End:
2a34a036 6570
9766d41b 6571 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
273dc16a 6572 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
a5b68355 6573 2006, 2007, 2008 Free Software Foundation, Inc.
5b87ad55
GM
6574
6575 This file is part of GNU Emacs.
6576
6577 GNU Emacs is free software; you can redistribute it and/or modify
6578 it under the terms of the GNU General Public License as published by
4a9f99bd 6579 the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
6580 any later version.
6581
6582 GNU Emacs is distributed in the hope that it will be useful,
6583 but WITHOUT ANY WARRANTY; without even the implied warranty of
6584 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6585 GNU General Public License for more details.
6586
6587 You should have received a copy of the GNU General Public License
6588 along with GNU Emacs; see the file COPYING. If not, write to the
6589 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6590 Boston, MA 02110-1301, USA.
ab5796a9
MB
6591
6592;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc