(globals): Fix handling of namespace aliases.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
efbecf9d
GM
12001-05-03 Gerd Moellmann <gerd@gnu.org>
2
3 * ebrowse.c (globals): Fix handling of namespace aliases.
4
f4976ebc
EZ
52001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
6
7 * etags.c (print_help): Enclose the regexp in the help text
8 example in quotes.
9
23431241
DL
102001-04-05 Dave Love <fx@gnu.org>
11
12 * emacsclient.c (fail): Don't return a value.
13 (main): Cast uid values for sprintf.
14
476bf681
GM
152001-04-03 Gerd Moellmann <gerd@gnu.org>
16
b3f6107b
GM
17 * emacsclient.c (fail, main): Don't use implicit int return type.
18
476bf681
GM
19 * b2m.c (main): Always return a value.
20
ef53d75e
GM
212001-03-02 Gerd Moellmann <gerd@gnu.org>
22
23 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
24 freshly allocated object in *LAST_ID.
25 (read_line): Accept \r\n line endings.
26
425de386
AI
272001-02-24 Andrew Innes <andrewi@gnu.org>
28
29 * makefile.w32-in: Fix copyright notice.
30
f55ae599
FP
312001-02-23 Francesco Potorti` <pot@gnu.org>
32
33 * etags.c (enum sym_type): New label st_C_template.
34 (gperf input): Use it for switching to C++ from C.
35 (consider_token): Do it.
c2a642c0
FP
36 (C_entries): Initialise typdefcblev to quiet compilers.
37 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 38
f6839838
AI
392001-02-22 Andrew Innes <andrewi@gnu.org>
40
41 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
42 VMS header files.
43 ($(BLD)\profile.obj): Ditto.
44
45 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
46 VMS header files.
47 ($(BLD)/profile.$(O)): Ditto.
48
193fba87
AI
492001-02-05 Andrew Innes <andrewi@gnu.org>
50
51 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
52 invocation of make-docfile, to work with Windows 2000.
53
30526cc6
DL
542001-01-31 Dave Love <fx@gnu.org>
55
56 * etags.c (in_word_set): Use `static' in definition (for pcc).
57
8f79fe72
FP
582001-01-31 Francesco Potorti` <pot@gnu.org>
59
60 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
61 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
62 (C_entries): Tag token renamed to still_in_token because sunos4
63 pcc wants to expand it as the token() macro even though it has no
64 arguments.
65
914d7258
AI
662001-01-30 Andrew Innes <andrewi@gnu.org>
67
68 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
69 bug in the Mingw32 assert.h header file.
70
b28e26be
FP
712001-01-30 Francesco Potorti` <pot@gnu.org>
72
73 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
74 #define it for the sake of Xemacs.
75 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
76 HAVE_CONFIG_H. This change only affects a standalone etags.
77 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
78 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
79 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
80 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
81 WINDOWSNT, as this is the correct way to use it.
82
8c463abe
FP
832001-01-28 Francesco Potorti` <pot@gnu.org>
84
85 * etags.c: Be capable to parse nested struct-like structures.
86 (structdef, structtag): Struct state machine revisited.
87 (struct tok): Revisited.
88 (cstack, nestlev, instruct): New struct and macros.
89 (pushclass_above, popclass_above, write_classname): New functions
90 for dealing with nested class names, inspired by Mykola Dzyuba.
91 (consider_token, make_C_tag, C_entries): Many changes for dealing
92 with arbitrarily nested structures.
93 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
94 (C_entries): Consider templates in C++.
95 (sym_type): New constant st_C_class for detecting "class" also in
96 C mode.
97 (C_AUTO): New macro for automatic detection of C++.
98 (consider_token): Automatic set C++ mode.
99 (C_entries): New security check for yacc.
100 (print_language_names, print_help): Mention the autodetect
101 feature, do not show help for the -C option, now mostly useless.
102 (C_entries): Tag C++ forward declarations if --declarations.
103 (C_entries): Don't be fooled by things like XDEFUN.
104 (consider_token): Discard asm pseudo function.
105
e26f9ced
EZ
1062001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
107
108 * etags.c: Add a coding: tag.
109
a47b7816
GM
1102001-01-26 Gerd Moellmann <gerd@gnu.org>
111
8c463abe 112 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
113 New variables.
114 (matching_regexp): Use them instead of static variables in
115 function scope.
116
7df65e91 1172001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
118
119 * etags.c (struct tok): Renamed from struct token.
120 (token): Renamed from tok.
121 (structtype): Make it a local variable.
122 [DEBUG]: Use assert.
123 (xrnew): Change the synopsis.
124 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
125 (grow_linebuffer): Don't call xrnew when not needed.
126 (token): buffer renamed to line.
127 (C_entries): Three calls to inibuffer moved here from main.
128 (C_entries): Removed all references to var methodlen, delete it.
129 (linebuffer_setlen): Was grow_buffer, now also sets len.
130 (consider_token, C_entries, Pascal_functions): Use it.
131 (C_entries): Preventing problems relative to extern "C".
132 (C_entries): Can tag more than one variable or func separated by
133 comma when --declarations is used.
134 (C_entries): More accurate tagging of members and declarations.
135 (yacc_rules): Was global, made local to C_entries.
136 (next_token_is_func): Removed.
137 (fvdef): New constants fdefunkey, fdefunname.
138 (consider_token, C_entries): Use them.
139 (C_entries): Build proper lisp names for Emacs DEFUNs.
140
21c2bbe0
GM
1412001-01-22 Gerd Moellmann <gerd@gnu.org>
142
143 * ebrowse.c (xfree): New function.
144 (member, declaration, globals): Use xmalloc instead of alloca.
145
7df65e91 1462001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
147
148 * etags.c (print_language_names): Print filenames in addition to
149 suffixes.
150
47df1a5e
EZ
1512001-01-14 Francesco Potorti` <pot@gnu.org>
152
153 * etags.c (get_language_from_langname): Renamed from
154 get_language_from_name.
155 (get_language_from_filename): Renamed from
156 get_language_from_suffix. Now first looks for the complete file
157 name.
158 (language): New member char **filenames.
159 (Makefile_filenames): List of possible filenames for makefiles.
160 (lang_names): Added a NULL member for every entry, added an entry
161 for makefiles.
162 (Makefile_targets): New function, inspired by Assar Westerlund
163 <assar@sics.se>.
164 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
165 it conformant to the style of the rest of the code.
166
291c7e74
GM
1672001-01-13 Gerd Moellmann <gerd@gnu.org>
168
169 * make-docfile.c (write_c_args): Print newlines as spaces.
170
0dac6924
AI
1712001-01-06 Andrew Innes <andrewi@gnu.org>
172
173 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
174 of *.pdb.
175
3e99d3b4
GM
1762001-01-03 Paul Eggert <eggert@twinsun.com>
177
178 * lib-src/rcs2log: Avoid security hole allowing attacker to
179 cause user of rcs2log to overwrite arbitrary files, fixing
180 a bug reported by Morten Welinder.
181
182 Don't put "exit 1" at the end of the exit trap; it's
183 ineffective in POSIX shells.
184
d6bb0c0d
GM
1852001-01-02 Gerd Moellmann <gerd@gnu.org>
186
187 * ebrowse.c (yyerror): Changed to take two arguments. Prototype
188 added. Callers changed.
189
d5c00476 1902001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
191
192 * ebrowse.c (enter_namespace, main): Cast variables to shut up
193 compiler warnings.
194 (yyerror): Change parameter declarations to be of type long, so
195 that they can take pointers on 64-bit platforms.
196
197 * emacsclient.c (main): Remove unused local variable statbfr.
198 (main) <homedir>: Make its declaration conditional on
199 SERVER_HOME_DIR, to avoid compiler warnings.
200
201 * emacsserver.c (main) <homedir>: Make its declaration conditional
202 on SERVER_HOME_DIR, to avoid compiler warnings.
203
204 * fakemail.c (readline): Cast buffer to "long *" to pacify
205 over-zealous compilers.
206
7c89ea61
EZ
2072000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
208
209 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
210
a6768cc5
GM
2112000-12-15 Gerd Moellmann <gerd@gnu.org>
212
213 * ebrowse.c (operator_name): Cast argument of isalpha to
214 unsigned char.
215
216 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
217 Use them throughout instead of ctype functions/macros.
218 (lowcase): Cast to unsigned char.
219 (UPCASE): New macro.
220 (canonicalize_filename): Use UPCASE instead toupper.
221
222 * fakemail.c (get_keyword): Make sure that isspace and
223 similar aren't called with a negative argument.
224
70de49cc
DL
2252000-12-13 Dave Love <fx@gnu.org>
226
227 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
228
4e8b894c
AI
2292000-12-06 Andrew Innes <andrewi@gnu.org>
230
231 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
232 don't know the real version, and I can't seem to get the quoting
233 right in all circumstances.
234
235 * ebrowse.c (VERSION): Provide default definition, like etags.c
236 does, because Windows build can't snarf this from version.el.
237
88257bc8
AI
2382000-11-30 Andrew Innes <andrewi@gnu.org>
239
240 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
241 (install): Ditto.
242
d19249e7
JR
2432000-11-23 Jason Rumney <jasonr@gnu.org>
244
245 * makefile.w32-in: Add targets for ebrowse.exe.
246 (LOCAL_FLAGS): Add -DVERSION flag.
247
7df6adc3
DL
2482000-09-25 Dave Love <fx@gnu.org>
249
250 * sorted-doc.c: Include config.h.
251 [!HAVE_STDLIB_H]: Declare malloc.
252
fe83b953
AI
2532000-09-14 Andrew Innes <andrewi@gnu.org>
254
255 * makefile.w32-in: Revert to Unix line endings.
256
517699ca
DL
2572000-09-04 Dave Love <fx@gnu.org>
258
259 * movemail.c (index, rindex): Prototype conditionally.
260
f8803e97
AI
2612000-09-03 Andrew Innes <andrewi@gnu.org>
262
263 * makefile.w32-in: Change to DOS line endings.
264
f72adc12
EZ
2652000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
266
4034f3a8 267 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
268 [!F_OK]: Provide default definitions only after including both
269 fcntl.h and unistd.h.
270
f678f592
DL
2712000-08-29 Dave Love <fx@gnu.org>
272
273 * movemail.c: Revert previous change.
274
5b671d04
EZ
2752000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
276
277 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
278
6fa86045
DL
2792000-08-28 Dave Love <fx@gnu.org>
280
281 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
282 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
283
746d9caf
AI
2842000-08-22 Andrew Innes <andrewi@gnu.org>
285
286 * ntlib.h (WIN32): Remove unnecessary definition.
287 (sleep): Make argument unsigned long.
288 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
289
290 * ntlib.c (sleep): Make argument unsigned long.
291
292 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
293
294 * makefile.w32-in: New file.
295
3b541489
EZ
2962000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
297
298 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
299 letter only if it is a drive letter.
300
e5acf0ca
GM
3012000-07-14 Gerd Moellmann <gerd@gnu.org>
302
303 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and
304 ymalloc.
305
306 * etags.c (xmalloc, xrealloc): Make externally visible, for use
307 by alloca.o.
308
309 * Makefile.in (alloca.o): Add -Demacs so that alloca will use
310 xmalloc.
311
4b92c49a
GM
3122000-07-10 Gerd Moellmann <gerd@gnu.org>
313
314 * ebrowse.c (yylex): Accept string literals with newlines in them.
315 (process_pp_line): Handle case of string literal with newline
316 in it in replacement text, which counts as continuing the
317 replacement text in GNU C.
318
831a6cb0
GM
3192000-07-02 Gerd Moellmann <gerd@gnu.org>
320
321 * ebrowse.c (token_string): Add missing tokens.
322 (parm_list): Handle case of qualified pointers.
323
53245ee2
DL
3242000-06-23 Dave Love <fx@gnu.org>
325
326 * ebrowse.c: Move config.h before other includes (which may use
327 feature tests).
328
dcbf2cd2
JM
3292000-06-14 Jim Meyering <meyering@lucent.com>
330
331 * grep-changelog: Fix typos in comments. Remove trailing blanks.
332
f1c7754a
JR
3332000-06-11 Jason Rumney <jasonr@gnu.org>
334
335 * makefile.nt: Add targets for ebrowse.
336
337 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
338 compare filenames.
339
5f1aea9a
GM
3402000-06-06 Gerd Moellmann <gerd@gnu.org>
341
342 * ebrowse.c (ymalloc): Renamed from xmalloc.
343 (yrealloc): Renamed from xrealloc.
344
5bf244f1
DL
3452000-05-21 Dave Love <fx@gnu.org>
346
347 * movemail.c: Include config.h, not ../src/config.h.
348 (Errmsg): Bump length.
349
350 * pop.c (ERROR_MAX): Increase to 160.
351
ec82fb2f
GM
3522000-05-04 Gerd Moellmann <gerd@gnu.org>
353
354 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
355
5c922ea7
EZ
3562000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
357
358 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
359 to semi-colon.
360 (FILENAME_EQ): New macro, for comparing file names.
361 (add_member_decl, add_global_decl, add_member_defn): Use
362 FILENAME_EQ.
363 (process_file): Don't assume that fread always reads as many bytes
364 as it was told to (DOS-style CR-LF text files fail this logic).
365 (open_file): Allocate enough space for path->path plus the file
366 name and the slash.
367
6142fdcb 3682000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
369
370 * etags.c (Texinfo_functions): New function.
371 (lang_names): Install it.
372 (Texinfo_suffixes): New variable.
373
cb9215e4
GM
3742000-04-19 Gerd Moellmann <gerd@gnu.org>
375
376 * ebrowse.c (xmalloc, xrealloc): Rewritten.
377 (declaration): Remove parameter IS_EXTERN.
378 (class_definition): Remove unused variable.
379
be0dbdab
GM
3802000-04-09 Gerd Moellmann <gerd@gnu.org>
381
382 * Makefile.in (INSTALLABLES): Add ebrowse.
383 (ebrowse): New target.
384
385 * ebrowse.c: New file.
386
c5aa0fc2
AS
3872000-03-29 Andreas Schwab <schwab@suse.de>
388
389 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
390
d054101f
GM
3912000-03-02 Gerd Moellmann <gerd@gnu.org>
392
393 * etags.c (lisp_suffixes) Add `LSP'.
394
71cbb895
FP
3952000-02-10 Francesco Potorti` <pot@gnu.org>
396
397 * etags.c (iswhite): Redefined not to consider '\0' as white
398 space, and use it throughout in place of isspace, thus preventing a
399 potential signed char to int conversion problem.
400 (MSDOS): #undefine befere redefining
401
7df65e91 4022000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
403
404 * etags.c (many functions): Add prototypes.
405
97fa0cc8
DL
4062000-02-10 Dave Love <fx@gnu.org>
407
408 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
409 (erlang_func): Add `static' to definitions to keep pcc happy.
410
7df65e91 4112000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
412
413 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
414 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
415 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
416 (getenv, getcwd): Only declare them if necessary.
417 (EMACS_NAME): New constant macro.
418 (print_version): Use it.
419 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 420
19e262bd 4212000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
422
423 * etags.c [WINDOWSNT]: #include <direct.h>
424
19e262bd 4252000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 426
19e262bd
FP
427 * etags.c (all functions): Made them static.
428 (all functions): Write prototypes.
e4100b7f 429
55e30d2a
RS
4302000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
431
432 * movemail.c (main): Improve error message if can't create lock file.
433
875c1439
GM
4342000-01-28 Eric Hanchrow <offby1@blarg.net>
435
436 * emacsclient.c (socket_status): New function.
437 (main): if $LOGNAME or $USER exist and differ from our euid, look
438 for a socket based on the UID associated with the name.
439
e4936aa9
GM
4402000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
441
442 * emacsclient.c: Add option -a EDITOR and environment variable
443 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
444
791a9087
GM
4451999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
446
447 * movemail.c (popmail): Allow mailbox specifications of the
448 form `po:username:hostname'.
449
7df65e91 4501999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
451
452 * etags.c (_GNU_SOURCE): Define only if undefined.
453 (get_scheme): Declaration deleted.
454 (main): error was called with an integer as second arg, instead of
455 a char pointer.
456 (canonicalize_filename): Bug removed.
457
4581999-11-18 Dave Love <d.love@dl.ac.uk>
459
460 * etags.c (C_entries): Rename label `intoken', avoiding K&R
461 lossage from name clash with macro.
462
b05d3bee
GM
4631999-11-13 Gerd Moellmann <gerd@gnu.org>
464
465 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
466
cb3a6c48
GM
4671999-11-03 Gerd Moellmann <gerd@gnu.org>
468
469 * etags.c (print_help): Change email address to send bugs to.
470
7df65e91 4711999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
472
473 * etags.c: Add suffix psw for PSWrap.
474 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
475 (Postscript_functions): Add code for PSWrap.
476 (Scheme_functions): Use local pointer and new get_tag function.
477 (get_tag): New name for old get_scheme.
478 (process_file): Do not free NULL when file does not exist.
479 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
480 (C_entries): Modifications that make --members tag even inside
481 typedefs and C nested structs (one level only).
482 (consider_token): Corrected a bug which prevented tagging of enum
483 constants.
484 (C_stab_entry): Added if, for, while, switch, return as
485 st_C_ignore. This makes it simpler to work when cblev!=0.
486
487 * etags.c (C_entries): tag member function declarations when
488 --declarations is used.
489
490 * etags.c (C_entries, consider_token): C++ `operator' now is
491 tagged in most cases.
492 As before, :: is not recognised if surrounded by spaces.
493
494 * etags.c (relative_filename): Account for DOS file names such
495 that is impossible to make one relative to another.
496
497 * etags.c (sym_type): New st_C_extern tag.
498 (gperf input): Use it for spotting external declarations.
499 (print_help): Document the new behaviour of --declarations.
500 (fvextern): New global variable.
501 (consider_token, C_entries): Use it.
502
503 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
504 (etags_getcwd): Remove test for WINDOWSNT.
505
506 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
507 foo.cgz, foo.cz, etc.
508
509 * etags.c (declarations): New global switch.
510 (longopts): Describe it.
511 (print_help): Document it.
512 (C_entries): Use it.
513 (process_file): Don't process a file twice.
514
515 * etags.c (Fortran_functions): No tags for "procedure".
516
5171999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
518
519 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
520 non-zero, returns a pointer to where the extension begins; callers
521 changed.
522 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
523 were foo.c.gz.
524
7df65e91 5251999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
526
527 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
528 (fvdev): New constant foperator.
529 (consider_token): Use it to get "operator" in C++.
530 (C_entries): Extend length of operator@ function name.
531 (C_entries): Use foperator when necessary.
532
533 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
534
535 * etags.c (compressor): New struct for compressed files.
536 (get_compressor_from_suffix): New function.
537 (get_language_from_suffix): Use it. Also, semantics changed.
538 (process_file): Consider compressed files, close file.
539 (find_entries): Use different call arg for get_language_from_suffix,
540 don't close file.
541
542 * etags.c (main): Call free_tree.
543 (find_entries): Do not free curfile.
544 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
545 (prolog_pred, erlang_func, substitute): Cast strlen to int when
546 comparing.
547 (canonicalize_filename): Shut up compiler warning.
548 (Perl_functions): Make tag significant.
549
5501999-11-01 Dave Love <d.love@dl.ac.uk>
551
552 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
553 (argument_type): New member at_icregexp.
554 (lc_trans): New global.
555 (main): Fill lc_trans. Process -c args.
556 (add_regex): New arg determining whether to use translation table.
557 (analyse_regex): New arg. Use it for add_regex.
558
7df65e91 5591999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
560
561 * etags.c (init): Cosmetic change: NULL --> '\0'.
562 (erlang_attribute): Bug corrected (uninitialized variable).
563 (filename_is_absolute): New function replaces absolutefn macro and
564 corrects a bug. All callers changed.
565 (canonicalize_filename): New function.
566 (process_file, etags_getcwd, absolute_dirname): Use it.
567 (relative_filename, absolute_filename): Removed var shadowing.
568 (C_entries, Pascal_functions): Add fake initializations to keep
569 compilers quiet.
570 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
571
572 * etags.c (xrnew): New macro. All callers of xrealloc changed.
573 (language): New typedef (was struct lang_entry).
574 (curlang): New global variable.
575 (node): typedef renamed from NODE.
576 (linebuffer): New typedef (was struct linebuffer).
577 (pattern): New typedef (was struct pattern). Some members added.
578 Now used as element of a linked list.
579 (patterns, num_patterns): Global variables deleted.
580 (p_head): New global variable.
581 (forced_lang): New global variable (replaces lang_func).
582 (get_language_from_name, get_language_from_interpreter,
583 get_language_from_suffix): Semantics changed. All callers changed.
584 (last_node): New global variable.
585 (free_tree, add_node, put_entries, total_size_of_entries): Change
586 name of local vars to avoid clashes with typedef node.
587 (number_len): Rewritten for elegance.
588 (token): New typedef replaces TOKEN.
589 (analyse_regex, add_regex): Rewritten for new functionality.
590 (free_patterns): New function called from main and add_regex.
591 (initbuffer, readline_internal, readline, grow_linebuffer):
592 Change name of local vars to avoid clashes with typedef
593 linebuffer.
594 (readline): Rewritten for new functionality.
595
596 * etags.c: (Scheme_suffixes): New suffix ".ss".
597 (print_help): --globals is now used for more than C-type languages.
598 (Perl_functions): Tag global variables ("my" and "local").
599
600 * etags.c (print_help): Some messages clarified.
601 (LOOP_ON_INPUT_LINES): New macro.
602 (just_read_file, Fortran_functions, Asm_labels, Perl_functions,
603 Python_functions, Cobol_paragraphs, Pascal_functions,
604 Lisp_functions, Postscript_functions, Scheme_functions,
605 TeX_functions, Prolog_functions, Erlang_functions): Use it.
606 (Cobol_paragraphs, Postscript_functions, TeX_functions,
607 Prolog_functions, Erlang_functions): Use a local variable instead
608 of the global variable dbp.
609 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
610 standard indentation.
611
612 * etags.c (Python_suffixes, lang_names, Python_functions): Python
613 support.
614 (skip_spaces, skip_non_spaces): Utility functions.
615 (find_entries, takeprec, getit, Fortran_functions, Perl_functions,
616 Python_functions, L_getit, Lisp_functions, Scheme_functions,
617 prolog_pred, erlanf_func, erlang_attribute): Use them.
618 (eat_white): Deleted.
619
620 * etags.c (CHAR, init): Keep into account non US-ASCII
621 characters and compilers with default signed chars.
622 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
623 constructs.
624
625 * (C_stab_entry): "interface" in Java behaves like "class".
626
627 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
628 (main): Put interval syntax here.
629 (add_regex): And remove it from here.
630
631 * etags.c (suggest_asking_for_help): Provide a
632 meaningful help message with and without LONG_OPTIONS.
633
634 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
635 <stdlib.h, string.h>: Don't test MSDOS when including them.
636 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
637 (put_entries): Correctly use %ld instead of %d in printf.
638
639 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
640 declare getcwd if HAVE_GETCWD.
641 (consider_token): Dead break instruction removed.
642
4ee9629e
PE
6431999-10-19 Paul Eggert <eggert@twinsun.com>
644
645 Add support for large files. Merge glibc 2.1.2.
1c478461 646
4ee9629e
PE
647 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
648 movemail.c, pop.c:
649 Do not include <stdlib.h>, as <config.h> does this now.
650
651 * b2m.c, emacsserver.c, etags.c, profile.c:
652 Include <config.h> before any system include files.
1c478461 653
4ee9629e
PE
654 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
655 test-distrib.c:
656 (read, write, open, close): Do not undef.
657
658 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
659 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
660
661 * getopt.h: Adopt glibc 2.1.2.
1c478461 662
93c8d183
DL
6631999-10-15 Dave Love <fx@gnu.org>
664
665 * Makefile.in (pop.o): Depend on config.h.
666
b358f91c
GM
6671999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
668
669 * pop.c: Use "pop3" as the POP service name on all platforms,
670 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
671 has been the standard service name since RFC 1340 was published in
672 July 1992, so I think it's safe to start using it by default.
673
362bc2da
DL
6741999-09-27 Dave Love <fx@gnu.org>
675
676 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
677
74e4cb59
PR
6781999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
679
680 * make-docfile.c (scan_lisp_file): Fix previous changes;
681 swallow CRLF like just CR or just LF.
682
362bc2da
DL
6831999-09-03 Richard Stallman <rms@gnu.org>
684
685 * make-docfile.c: Include config.h not ../src/config.h.
686 (main, fopen, chdir): Add #undef.
687 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
688 (scan_lisp_file): Handle \r like \n.
689
6901999-08-30 Andreas Schwab <schwab@gnu.org>
691
692 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
693
694 * emacsserver.c: Include <stdlib.h> if available. Don't declare
695 errno if it's a macro.
696
697 * test-distrib.c: Include <unistd.h> if available.
698
6991999-08-29 Richard Stallman <rms@gnu.org>
700
701 * emacsclient.c (print_help_and_exit): Mention --version.
702
7031999-08-25 Richard M. Stallman <rms@gnu.org>
704
705 * emacsclient.c (decode_options): Update version output.
706 (print_help_and_exit): Update bug report address.
707
7081999-08-13 Richard M. Stallman <rms@gnu.org>
709
710 * emacsclient.c (main): Move the dynamic allocation of
711 system_name outside of the SERVER_HOME_DIR conditional.
712 * emacsserver.c (main): Likewise.
713
7141999-08-10 Gerd Moellmann <gerd@gnu.org>
715
716 * grep-changelog: New.
717 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
718
6567e9b5
GM
719After the release of 20.4, development was split into two separate
720code lines. One line contained the code for Emacs 21, and the other
721one the code for the 20.x releases after 20.4. The following change
722log entries up to the entry ``20.4 released'' are for the 20.x code
723line. Change logs above this notice are those for the 21.x code line.
724
7252000-06-13 Gerd Moellmann <gerd@gnu.org>
726
727 * Version 20.7 released.
83be933c 728
6567e9b5
GM
7292000-02-26 Gerd Moellmann <gerd@gnu.org>
730
731 * Version 20.6 released.
83be933c 732
6567e9b5
GM
7331999-12-04 Gerd Moellmann <gerd@gnu.org>
734
735 * Version 20.5 released.
83be933c 736
6567e9b5
GM
7371999-11-13 Gerd Moellmann <gerd@gnu.org>
738
739 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
740
7411999-11-03 Gerd Moellmann <gerd@gnu.org>
742
743 * emacsclient.c, etags.c: Change email address to send bugs
744 to.
745
362bc2da
DL
7461999-07-12 Richard Stallman <rms@gnu.org>
747
748 * Version 20.4 released.
749
7501999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
751
1c478461 752 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
753
7541999-06-23 Dave Love <fx@gnu.org>
755
756 * etags.c (erlang_attribute): Fix undefined variable usage (after
757 Potorti).
758
7591999-05-2 Andrew Innes <andrewi@gnu.org>
760
761 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
762 mapped to _chsize.
763
7641999-04-29 Richard M. Stallman <rms@gnu.org>
765
766 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
767
7681999-03-30 Dave Love <fx@gnu.org>
769
770 * sorted-doc.c (main): Split up tables. Modify the preamble
771 somewhat.
772
7731999-03-05 Geoff Voelker <voelker@cs.washington.edu>
774
775 * makefile.nt: Remove common multiple file compilation commands.
776
7771999-02-26 Richard Stallman <rms@gnu.org>
778
779 * Version 20.4 released.
780
781 * Makefile.in (yow): Depend on epaths.h, not paths.h.
782
783 * yow.c: Refer to epaths.h.
784
7851999-02-22 Simon Josefsson <jas@pdc.kth.se>
786
787 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
788
7891999-01-27 Andrew Innes <andrewi@gnu.org>
790
791 * makefile.nt: Do make version comparison as strings.
792
7931999-01-25 Richard Stallman <rms@gnu.org>
794
795 * emacsclient.c (xmalloc): Fix previous change.
796
7971999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
798
799 * emacsclient.c (xmalloc): Declare to return long.
800
8011999-01-22 Geoff Voelker <voelker@cs.washington.edu>
802
803 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
804 the case of the drive letter.
805
8061999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
807
808 * emacsserver.c (main): Eliminate arbitrary limit on
809 length of system_name.
810
811 * emacsclient.c (main): Eliminate arbitrary limit on
812 length of system_name.
813 (xmalloc): Define unconditionally.
814
8151999-01-12 Darrin B. Jewell <jewell@mit.edu>
816
817 * etags.c (relative_filename): Stop backward search at beginning
818 of string, since non-Unix systems can have absolute paths with no
819 initial slash.
820
8211998-12-08 Geoff Voelker <voelker@cs.washington.edu>
822
823 * makefile.nt: Do string comparision of _NMAKE_VER.
824
8251998-11-03 Theodore Jump <tjump@cais.com>
826
827 * makefile.nt: Compile multiple source files when possible.
828
8291998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
830
831 * Makefile.in: Replace tabs with spaces
832 when they might confuse some Make versions.
833
8341998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
835
836 * emacsclient.c (main): Null-terminate system_name.
837
838 * emacsserver.c (main): Null-terminate system_name.
839
8401998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
841
842 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
843 an error message from POP, mention that it's from POP, to
844 distinguish it from local error messages.
845
8461998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
847
848 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
849 order of messages downloaded from a POP server (e.g., if the
850 server stores messages in mailboxes in reverse order).
851
8521998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
853
854 * Version 20.3 released.
855
8561998-08-11 Paul Eggert <eggert@twinsun.com>
857
858 * rcs2log: Update copyright date and bug report address.
859 (initialize_fullname): Prefer getent if available.
860
8611998-07-30 Paul Eggert <eggert@twinsun.com>
862
863 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
864 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 865
362bc2da
DL
8661998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
867
868 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
869
8701998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
871
872 * Makefile.in: Properly terminate a comment.
873
8741998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
875
876 * movemail.c (sys_wait): Rename to wait.
877
878 * ntlib.h: Undefine _WINSOCKAPI_.
879
880 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
881
8821998-05-30 Geoff Voelker <voelker@cs.washington.edu>
883
884 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
885
8861998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
887
888 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
889 all file i/o to be in binary mode. Include ntlib.h.
890
8911998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
892
893 * make-docfile.c: Include <unistd.h> for chdir.
894
8951998-04-25 Richard Stallman <rms@psilocin.gnu.org>
896
897 * etags.c (TEX_decode_env): Don't free the value getenv returns.
898
8991998-04-17 Geoff Voelker <voelker@cs.washington.edu>
900
901 * makefile.nt (obj): Update with new files in src.
902 (clean): Delete patch scratch files, optimized compilation dir.
903
9041998-04-08 Dave Love <fx@gnu.org>
905
906 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
907 Irix6, at least.
908
9091998-04-06 Andreas Schwab <schwab@gnu.org>
910
911 Silence -Wimplicit:
912 * movemail.c: Move cancelations up. Include <stdlib.h> if
913 available.
914 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
915 (parse_header): Explicitly declare return type.
916 * emacsserver.c: Include <unistd.h> if available.
917 (main, handle_signals, perror_1, fatal_error): Explicitly declare
918 return types. Add forward declarations.
919 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
920 Don't declare geteuid.
921 (print_help_and_exit): Change return type to void. Forward
922 declare it.
923 * b2m.c: Include <stdlib.h> if available.
924 (main): Explicitly declare return type.
925
9261998-04-03 Richard Stallman <rms@delysid.gnu.org>
927
928 * etags.c (put_entries): Use %ld.
929
930 * b2m.c (fatal): Declare the arg.
931
9321998-04-03 Richard Stallman <rms@psilocin.gnu.org>
933
934 * etags.c (put_entries): Use %ld.
935
936 * b2m.c (fatal): Declare the arg.
937
9381998-03-26 Richard Stallman <rms@psilocin.gnu.org>
939
940 * pop.c (pop_getline): Renamed from getline.
941
9421998-03-05 Richard Stallman <rms@psilocin.gnu.org>
943
944 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
945 for the utilities.
946
9471998-01-23 Dave Love <d.love@dl.ac.uk>
948
949 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
950 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
951 Always make named tags.
952 (Fortran_functions): Grok BLOCK DATA.
953
9541998-01-23 Andreas Schwab <schwab@gnu.org>
955
956 * movemail.c (main): Fix interwoven brace and cpp conditional
957 nesting.
958
9591997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
960
961 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
962 server to contain embedded nulls.
963
9641997-12-03 Paul Eggert <eggert@delysid.gnu.org>
965
966 * movemail.c:
967 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
968 '>' any lines starting with "From " read from the POP server, but
969 leave the code in place, wrapped in #ifdef
970 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
971 because it turns out that something is depending on it. Change
972 suggested by Paul Eggert <eggert@twinsun.com>.
973 Convert the character \037 (^_) at the beginning of a line into
974 the character '^' followed by the character '_', because otherwise
975 Emacs can't parse the resulting file as a valid BABYL file.
976 Change suggested by Paul Eggert <eggert@twinsun.com>.
977
9781997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
979
980 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
981 server to contain embedded nulls.
982
9831997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 984
362bc2da
DL
985 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
986 quotes with a '>' any lines starting with "From " read from the
987 POP server, but leave the code in place, wrapped in #ifdef
988 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
989 because it turns out that something is depending on it. Change
990 suggested by Paul Eggert <eggert@twinsun.com>.
991
992 Convert the character \037 (^_) at the beginning of a line into
993 the character '^' followed by the character '_', because otherwise
994 Emacs can't parse the resulting file as a valid BABYL file.
995 Change suggested by Paul Eggert <eggert@twinsun.com>.
996
9971997-11-22 Richard Stallman <rms@gnu.org>
998
999 * b2m.c: Include getopt.h.
1000 (main): Use getopt_long to handle --version and --help.
1001
1002 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1003
10041997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1005
1006 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1007 pointed out by Chiaki Ishikawa.
1008
10091997-10-16 Dave Love <d.love@dl.ac.uk>
1010
1011 * etags.c (L_getit): Always make named tags so that Emacs
1012 completion on symbols containing `:' etc. works.
1013 (get_scheme): Likewise.
1014
10151997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1016
1017 * pop.c: Use system header files instead of declaring C-library
1018 functions explicitly.
1019
10201997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1021
1022 * Version 20.2 released.
1023
10241997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1025
1026 * Version 20.1 released.
1027
10281997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1029
1030 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1031
1032 * ntlib.c (getpid): Delete function.
1033
10341997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1035
1036 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1037
10381997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1039
1040 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1041 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1042
10431997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1044
1045 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1046
10471997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1048
1049 * profile.c (get_time): Cast arg to fprintf.
1050
1051 * hexl.c (main): Use %08lx instead of %08x in printf because the
1052 variable named addresses is long.
1053
10541997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1055
1056 * makefile.nt (lisp): Update paths to lisp files that have moved.
1057
10581997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1059
1060 * makefile.nt (ctags.obj): New target.
1061 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1062
1063 * ntlib.h: Add includes.
1064 Undo definitions of crt routines from config.h.
1065
10661997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1067
1068 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1069
10701997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1071
1072 * pop.c: Support auto-configuration of both Kerberos V4 and
1073 Kerberos V5 for movemail, including detection of V4 and V5 header
1074 files and libraries.
1075 Include <string.h> when STDC_HEADERS is defined, to get
1076 declarations of string functions.
1077 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1078 V5 API rather than the old one.
1079 [KERBEROS] (socket_connection): Change a constant name from
1080 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1081 with a constant in a header file.
1082
1083 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1084 Kerberos V5 for movemail, including detection of V4 and V5 header
1085 files and libraries.
1086
10871997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1088
1089 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1090
1091 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 1092
362bc2da
DL
10931997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1094
1095 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1096
10971997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1098
1099 * movemail.c (rindex): Add declaration.
1100
1101Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1102
1103 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1104 (movemail.exe): Depend upon and link with getopt files.
1105 (obj): Include new source files.
1106 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1107 (lisp): Include new and reorganized elisp files.
1108
11091997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1110
1111 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1112
11131997-06-25 Paul Eggert <eggert@twinsun.com>
1114
1115 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1116
11171997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1118
1119 * b2m.c (readline): Terminate buffer properly when EOF seen.
1120 Test for valid pointer before dereferencing it.
1121
11221997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1123
1124 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1125 defined inside etags.c if HAVE_CONFIG_H is defined.
1126
11271997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1128
1129 * etags.c: (logical): Type name changed to bool.
1130 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1131 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1132 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1133 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1134 (longopts): New long options without short counterpart are
1135 globals, members, no-globals, no-members. Regexp options are now
1136 defined conditionally to ETAGS_REGEXPS.
1137 (print_help): Updated.
1138
11391997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1140
1141 * etags.c (C_entries): Use "." instead of "::" for Java.
1142 (consider_token): is_func renamed to is_func_or_var.
1143 (C_entries): is_func renamed to funorvar.
1144 (C_entries): Initialise tok.named.
1145 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1146 get rid of "import", "package" and "friend".
1147 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 1148 users changed.
362bc2da
DL
1149 (C_entries): Make separate tags for variables separated by comma.
1150 (globals, members): New flags.
1151 (main, C_entries): Use them.
1152 (make_C_tag, C_entries): Make tok a global variable.
1c478461 1153
362bc2da
DL
11541997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1155
1156 * etags.c (funcdef): New vignore constant.
1157 (consider_token, C_entries): Use it to tag global variables.
1158 (print_help): Update for global variables.
1159 (consider_token, C_entries): Set the len member of token_name.
1160 (prolog_pred): Cleanup according to GNU coding standards.
1161 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1162 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1163
11641997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1165
1166 * etags.c (CHARS, CHAR): New constant and macro.
1167 (iswhite, begtoken, intoken, endtoken): Use them.
1168 (notinname, _nin, nonam): New macro, array, string.
1169 (init): Cleanup and init _nin.
1170 (new_pfnote): New function.
1171 (make_C_tag) [traditional_tag_style]: Use it.
1172 (traditional_tag_style): Costant set to TRUE for now.
1173
11741997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1175
1176 * etags.c (C_entries, Pascal_functions): Cleanup.
1177 (TeX_functions): NULL as a function arg needs a cast.
1178 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1179
11801997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1181
1182 * etags.c (TeX_functions): Cleaned up.
1183 (tex_getit): Removed.
1184
11851997-05-13 Paul Eggert <eggert@twinsun.com>
1186
1187 * rcs2log (files): When computing arguments automatically, ignore
1188 non-files within the RCS subdirectory.
1189
11901997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1191
1192 * etags.c (C_JAVA): New #define.
1193 (Cjava_suffixes): .java is Java.
1194 (Cjava_entries): New function.
1195 (lang_names): Add Java.
1196 (sym_type): Add st_C_javastruct for Java.
1197 (C_stab_entry): Add `extends' and `implements' keywords.
1198 (consider_token, C_entries): Recognise Java structures.
1199
12001997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1201
1202 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1203 (Postscript_suffixes): .ps is Postscript.
1204 (lang_names): Add Postscript.
1205 (Postscript_functions): New function.
1206 (TEX_decode_env): Close minor memory leak.
1207 (just_read_file): Correct the char number of the tag.
1208
12091997-05-11 Paul Eggert <eggert@twinsun.com>
1210
1211 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1212 Don't prepend $nl since this causes some shells to generate the
1213 empty string when IFS is $nl.
1214 (printlogline): Use SOH (octal code 1), not CR, since some
1215 PC-based shells mishandle CR.
1216 (initialize_fullname): Set NIS_PATH to the empty string before invoking
1217 nismatch, in case it's set to some nonstandard value.
1c478461 1218
362bc2da
DL
12191997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1220
1221 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
1222 read in separate blocks.
1223
12241997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1225
1226 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
1227 (struct linebuffer): New member `len' is the length of the string.
1228 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
1229 Use it instead of strlen.
1230 (TEX_getit): Declare and define unconditionally as static.
1231 (TeX_functions): Use if instead of #if TeX_named_tokens.
1232 (add_regex): Set RE_INTERVALS flag for regex compilation.
1233 (substitute): Code cleanup.
1234 (readline_internal): Code cleanup, set new member `len'.
1235 (readline): Bug corrected.
1236
12371997-04-23 Geoff Voelker <voelker@cs.washington.edu>
1238
1239 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
1240 (obj): Change references of nt*.c files to w32*.c files.
1241
12421997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1243
1244 * etags.c (xnew): Add support for debugging with chkmalloc.
1245 (error): Use this instead of printf whenever possible.
1246 (main): Only call xnew after having initialised progname.
1247 (substitute): Bad memory corruption error corrected.
1248
12491997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1250
1251 * etags.c (add_regex): Undo previous change.
1252 (relative_filename): Small memory leak closed.
1253 (absolute_filename): Cleaned up the code, possibly closing a bug.
1254 (absolute_dirname): Always return a newly allocated string.
1c478461 1255
362bc2da
DL
12561997-03-21 Paul Eggert <eggert@twinsun.com>
1257
1258 * rcs2log (files): Ignore files in RCS directory whose names are
1259 of the form ,*, or *_; they are probably RCS lock files.
1260 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
1261 they are used by rcsfreeze.
1262
12631997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1264
1265 * etags.c (add_regex): reset *putbuf before using it.
1266
12671997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1268
1269 * movemail.c (popmail): Remove some unnecessary function
1270 declarations.
1271 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
1272 into pop_retr, there's no reason to pass in mbx_write, and the
1273 file argument can be declared FILE * explicitly. This fixes a
1274 compilation problem on systems with 64-bit pointers.
1275
12761997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1277
1278 * movemail.c: Delete duplicate inclusion of fcntl.h
1279 and duplicate #undefs of open, read, write, close.
1280
12811997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1282
1283 * movemail.c (main): Do not display "[POP-password]" in the usage
1284 message when movemail is compiled without POP support.
1285 (main, popmail): Add the optional "-p" argument, which causes
1286 movemail to leave mail in the inbox after copying it into the
1287 output file.
1c478461 1288
362bc2da
DL
1289 * Makefile.in (movemail): Link with getopt.
1290
12911997-01-20 Paul Eggert <eggert@twinsun.com>
1292
1293 * rcs2log: (--help, --version): New options, per GNU coding standards.
1294 (Copyright, Help, Id): New variables, for above.
1295 (rlog): Use -q option with cvs log, to avoid useless chatter.
1296
1297 Treat logs of "Initial revision" (RCS) or "file F was initially added
1298 on branch B." (CVS) as if they said "New file.", for consistency with
1299 change log entries.
1300
13011997-01-01 Paul Eggert <eggert@twinsun.com>
1302
1303 * vcdiff (PATH): Add /usr/xpg4/bin,
1304 where XPG4 SCCS hangs out in Solaris 2.5.
1305 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1306
13071996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1308
1309 * etags.c (streq, strneq): Use == NULL rather than !.
1310
13111996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
1312
1313 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
1314 (movemail): Use LIBMAIL, to link against -lmail.
1315
1316 * movemail.c: Include maillock.h (conditionally).
1317 Remove a redundant inclusion of <stdio.h>.
1318 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
1319 (main): Add variable spool_name.
1320 Support the usage of maillock and mailunlock to
1321 lock and unlock mailboxes.
1322 (mail_spool_name): New function.
1323
1324 * movemail.c: Fix an uninitialized variable which could cause
1325 movemail to exit with an error status incorrectly on systems which
1326 use lock files rather than a system locking function to lock
1327 mailboxes.
1328
13291996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1330
1331 * pop.c (socket_connection): Free realhost after using it.
1332
13331996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1334
1335 * etags.c (C_entries): Test tok.valid. This handles some
1336 particular cases involving function declarations that failed.
1337
13381996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 1339
362bc2da
DL
1340 * pop.c (socket_connection):
1341 gethostbyname may return a pointer to static data.
1342 krb_realmofhost can clobber it. So copy it.
1343
13441996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1345
1346 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
1347 must cast it to (char *) because we have no prototypes.
1348 (make_C_tag): Macro deleted, new function.
1349 (C_entries): Calls to make_C_tag macro changed to call function.
1350
13511996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1352
1353 * etags.c (grow_linebuffer): New function.
1354 (GROW_LINEBUFFER): Macro deleted. All callers changed.
1355 (make_tag): Macro renamed to make_C_tag. All callers changed.
1356 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
1357 (Prolog_functions): prolog_skip_comment was called with wrong
1358 number of arguments.
1359 (xrealloc): fatal was called with wrong number of arguments
1360
13611996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1362
1363 * etags.c (relative_filename): Bug corrected.
1364 (etags_getcwd): Avoid warning of unused variable.
1365 (C_entries, consider_token): Added support for enum labels.
1366
13671996-11-03 Paul Eggert <eggert@twinsun.com>
1368
1369 * rcs2log: When processing cvs log output, remove `Attic/' from
1370 repository file names.
1371
13721996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
1373
1374 * emacsserver.c: Fix 1996-09-02 change.
1375
13761996-10-12 Paul Eggert <eggert@twinsun.com>
1377
1378 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
1379 option', since CVS says 'invalid option'.
1380 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
1381 revisions, since some hosts reject 1970-01-01 when east of UTC.
1382 (date): Remove.
1383
13841996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1385
1386 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
1387
13881996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1389
1390 * etags.c (print_version): Print copyright info.
1391
1392 * etags.c (print_help): Print the bug reporting address.
1393 (main): Use return as the last instruction, instead of exit.
1394
1395 * etags.c (main): Don't open the tags file in cxref mode.
1396
13971996-09-29 Dave Love <d.love@dl.ac.uk>
1398
1399 * rcs2log (date): Make default format acceptable to CVS post v1.8
1400 as well as earlier CVSs and RCS.
1401
14021996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1403
1404 * movemail.c (main): If the lock call fails with EBUSY or
1405 EAGAIN, retry a few times.
1406
14071996-09-25 Paul Eggert <eggert@twinsun.com>
1408
1409 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
1410 whether to append -zLT.
1411
14121996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1413
1414 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
1415 * emacsclient.c, movemail.c: Likewise.
1416
14171996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1418
1419 * emacsclient.c (longopts): Change nowait to no-wait.
1420 (print_help_and_exit): Fix option name; upcase metavars.
1421
14221996-09-06 Erik Naggum <erik@naggum.no>
1423
1424 * emacsserver.c (main): Declare `fromlen' as size_t.
1425
14261996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1427
1428 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
1429
14301996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1431
1432 * emacsclient.c (quote_file_name): Quote with &, not \.
1433 Quote `-' only at start of file name. Terminate the value string.
1434
1435 * emacsserver.c: Include signal.h properly;
1436 delete the duplicate includes for it.
1437
1438 * emacsserver.c: On fatal signal, delete socket-file:
1439 * emacsserver.c: Include signal.h.
1440 (xmalloc, fatal, error): New functions.
1441 (delete_socket, handle_signals): New functions.
1442 (progname, socket_name): New variables.
1443 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1444
14451996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1446
1447 * emacsclient.c (quote_file_name): New function.
1448 (main, both versions): Use quote_file_name.
1449 (decode_options): Don't return a value.
1450 (main, both versions): Use optind.
1451 Don't check for -nowait here.
1c478461 1452
362bc2da
DL
1453 * emacsclient.c (decode_options): New function.
1454 (main, both versions): Call decode_options.
1455 (print_help_and_exit): New function.
1456 (VERSION): New macro.
1457
1458 * Makefile.in (emacsclient): Link with getopt.
1459 Add -DVERSION so emacsclient knows its version number.
1460
14611996-08-31 Geoff Voelker <voelker@cs.washington.edu>
1462
1463 * makefile.nt (lisp): Include dos-nt.elc.
1464
14651996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1466
1467 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
1468
14691996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1470
1471 * emacsclient.c (both versions): Handle -nowait and --nowait
1472 by sending data to the server.
1473
14741996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1475
1476 * Makefile.in (INSTALL_STRIP): New variable.
1477 (${archlibdir}): Use INSTALL_STRIP.
1478
1479 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
1480 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1481
1482 * pop.c: Reverse conditional in previous change.
1483
14841996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
1485
1486 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
1487
14881996-08-24 Paul Eggert <eggert@twinsun.com>
1489
1490 * rcs2log: Use ISO 8601 date format, with time zone appended
1491 if change-log-time-zone-rule is non-nil, instead of
1492 traditional Unix date format.
1493
1494 (datearg): When computing default from ChangeLog, handle ISO format
1495 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
1496 Don't worry about hh:mm:ss since the resolution is now by day.
1497 Use emtpy datearg, not empty rlog_options, to decide whether to pass
1498 "$datearg" option to $rlog.
1499 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
1500 (month_data): Remove `mo'; no longer needed.
1501 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
1502
1503 Match `revision' line of rlog output more accurately.
1504
1505 Add -c, -v options.
1506
15071996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
1508
1509 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
1510
15111996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1512
1513 * Version 19.33 released.
1514
15151996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1516
1517 * Version 19.32 released.
1518
15191996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
1520
1521 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
1522 computing character positions in source files.
1523
15241996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
1525
1526 * makefile.nt (clean): Use OBJDIR macro.
1527
15281996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1529
1530 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1531
15321996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1533
1534 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
1535 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
1536 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
1537
15381996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
1539
1540 * ntlib.h: Correct return type of getwd.
1541 * ntlib.c (getwd): Correct return type.
1542
15431996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1544
1545 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
1546 to infile.
1547
15481996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
1549
1550 * makefile.nt: Remove all references to wakeup.
1551
15521996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1553
1554 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
1555 explicit, mutable, typename.
1556
15571996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1558
1559 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
1560 streams, one for sending and one for reading the reply.
1561
15621996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1563
1564 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
1565 (wakeup): Target deleted.
1566 (UTILITIES): Delete wakeup and timer.
1567
1568 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
1569
15701996-06-11 Geoff Voelker <voelker@cs.washington.edu>
1571
1572 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
1573 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
1574
15751996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1576
1577 * etags.c (main): Copy cwd when appending slash.
1578
15791996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
1580
1581 * Version 19.31 released.
1582
15831996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1584
1585 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
1586 (Pascal_functions): Increase linecharno by the correct number of
1587 chars, inline the GET_NEW_LINE macro and delete its definition.
1588
15891996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1590
1591 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
1592
15931996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1594
1595 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
1596 (movemail.exe, fakemail.exe): Now built under Win32.o
1597
1598 * ntlib.c: Include ntlib.h.
1599 (nt_sleep): Rename to sleep.
1600 (getwd): Return directory.
1601 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
1602 sys_ctime, sys_fopen): New functions.
1603
1604 * ntlib.h: New file.
1605
16061996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1607
1608 * pop.c (SEND, RECV): Renamed from send, recv.
1609 (pop_open, pop_trash): Make the trash_started code unconditional.
1610 (socket_connection): Delete casts to void.
1611
16121996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
1613
1614 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
1615 copied from lisp.h.
1616
16171996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1618
1619 * fakemail.c [WINDOWSNT]: Include ntlib.h.
1620
1621 * hexl.c [DOSNT]: Include fcntl.h.
1622 [WINDOWSNT]: Include io.h.
1623 (main) [MSDOS]: Change conditional to DOS_NT.
1624
1625 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
1626 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
1627 [WINDOWSNT]: Include locking.h.
1628 (main): Update usage message. Use IS_DIRECTORY_SEP.
1629 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
1630 (main) [WINDOWSNT]: Invoke locking instead of flock.
1631 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
1632 (main) [MAIL_USE_POP]: Pass password to popmail if used.
1633 Include winsock.h; don't include unix inet headers.
1634 (popmail): Add password argument and pass it to pop_open.
1635 Open output file in binary mode.
1636
1637 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 1638 Macro SOCKET_ERROR undefined.
362bc2da
DL
1639 Don't declare h_errno.
1640 [!WINDOWSNT]: Define macros recv and send.
1641 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
1642 (pop_open) [WINDOWSNT]: Initialize trash_started.
1643 (have_winsock) [WINDOWSNT]: New variable.
1644 (socket_connection) [WINDOWSNT]: Initialize winsock.
1645 (socket_connection): Use closesocket instead of close.
1646 (getline): Use recv instead of read.
1647 (fullwrite): Use send instead of write.
1648 (pop_trash): Use closesocket instead of close.
1649 (pop_trash) [WINDOWSNT]: Cleanup winsock.
1650 Check if being called recursively by sendline.
1651
1652 * pop.h (struct _popserver): New field trash_started.
1653
1654 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
1655
16561996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1657
1658 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
1659
16601996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1661
1662 * etags.c [WINDOWSNT]: Include io.h.
1663
16641996-04-10 Geoff Voelker <voelker@cs.washington.edu>
1665
1666 * makefile.nt (CTAGSOBJ): Compile with regexp support.
1667
16681996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
1669
1670 * hexl.c [DJGPP v2]: Include io.h.
1671 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
1672
1673 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
1674 DJGPP v2.
1675
16761996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1677
1678 * etags.c (absolute_filename): Use absolutefn.
1679
16801996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
1681
1682 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
1683 letter isn't an alphabetic character.
1684 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
1685 (process_file) [DOS_NT]: Convert all slashes to forward style.
1686 (absolute_filename) [DOS_NT]: Emit error message for relative
1687 paths with a drive letter.
1688 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
1689 DOS/NT drive letters which try to reference the parent of the root.
1690 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
1691
16921996-03-27 Geoff Voelker <voelker@cs.washington.edu>
1693
1694 * makefile.nt: Change uses of del to $(DEL).
1695
16961996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1697
1698 * etags.c (just_read_file): Reset lineno and charno on entry.
1699
17001996-03-15 Anders Lindgren <andersl@csd.uu.se>
1701
1702 * etags.c: Prolog language totaly rewritten.
1703 (Prolog_functions): Rewritten from scratch.
1704 (skip_comment, prolog_getit): Removed.
1705 (prolog_skip_comment): New function, like old skip_comment.
1706 (prolog_pred, prolog_atom, prolog_white): New functions.
1707 (erlang_func, erlang_attributes): Forward declarations added.
1708 (erlang_atom): Check if backslash ends line inside quoted atom.
1709
17101996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1711
1712 * etags.c (absolutefn): DOS_NT version corrected.
1713 (main): Append "/" to the dir name only if not already there.
1714 (print_help): Explain the absolute/relative file name issue.
1c478461 1715
362bc2da
DL
17161996-03-08 Anders Lindgren <andersl@csd.uu.se>
1717
1718 * etags.c: New Languange Erlang added.
1719 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
1720 erlang_white): New functions.
1721 (Erlang_suffixes): New suffix list.
1722 (lang_names): Erlang entry added.
1723 (prolog_getit): Accepts headers spanning several lines.
1724 Always name tags.
1725 (Prolog_functions): Removed incorrect compensation for
1726 newline characters.
1727 (readline_internal): Zero-terminate last line.
1728
17291996-03-20 Mike Long <mike.long@analog.com>
1730
1731 * b2m.c (main): Initialize progname variable before using it.
1732 Quote `username' in From_ header.
1733
17341996-03-18 Geoff Voelker <voelker@cs.washington.edu>
1735
1736 * ntlib.c (getpid): New function.
1737
17381996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1739
1740 * emacsclient.c (main, both definitions):
1741 Print a newline for normal termination.
1742
17431996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
1744
1745 * tcp.c (main): Convert port to network byte order.
1746
17471996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
1748
1749 * pop.c (pop_retrieve, getline): Avoid type clashes.
1750
17511996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1752
1753 * etags.c (enum sym_type, anonymous enum): Delete final comma.
1754
17551996-01-15 Paul Eggert <eggert@twinsun.com>
1756
1757 * rcs2log (initialize_fullname): Add support for NIS+.
1758 (hostname): Fully qualify the default hostname with the domainname
1759 if the hostname lacks a `.'.
1760
17611996-01-15 Paul Eggert <eggert@twinsun.com>
1762
1763 * rcs2log (initialize_fullname): Add support for NIS+.
1764 (hostname): Fully qualify the default hostname with the domainname
1765 if the hostname lacks a `.'.
1766
17671996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
1768
1769 * etags.c (consider_token): Fix typo in expression.
1770
17711996-01-04 Paul Eggert <eggert@twinsun.com>
1772
1773 * etags.c (substitute): Fix spelling in message.
1774
17751996-01-03 George V. Reilly <georger@microcrafts.com>
1776
1777 * makefile.nt (etags, ctags): Compile with regexp support.
1778 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
1779 subdirectory exists before compiling.
1c478461 1780
362bc2da
DL
17811996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
1782
1783 * emacsserver.c (main): Do chmod based on existing permission.
1784
17851995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1786
1787 * Makefile.in (install): Turn on read/execute permission.
1788
17891995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1790
1791 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
1792 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
1793
17941995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1795
1796 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
1797
17981995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
1799
1800 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
1801 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
1802 get_scheme, prolog_getit): Name the tag in ctags mode.
1803 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
1804 (Perl_interpreters): Accept "@PERL@" as an interpreter.
1805 (suggest_asking_for_help): New function.
1806 (main, get_language_from_name): Use suggest_asking_for_help.
1807 (main): Let get_language_from_name make language existence check.
1808 (streq, strneq): Check the arguments #if DEBUG.
1809
18101995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
1811
1812 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
1813 (gperf): Added keywords for Objective C and GNU macros.
1814 (sym_type): Added values to account for Objective C and GNU macros.
1815 (begtk): The '@' character can start a token.
1816 (objdef, methodlen, objtag): New variables for Objective C.
1817 (consider_token, C_entries): Added code for Objective C.
1818 (plain_C_suffixes): Add .m and .lm for Objective C.
1819 (Yacc_suffixes): Add .ym for Objective yacc.
1820 (GROW_LINEBUFFER): New macro.
1821 (consider_token, C_entries, Pascal_functions): Use the new macro.
1822 (consider_token): Take one more argument. Caller changed.
1823 (consider_token): Use the hashing function to spot GNU macros.
1824 (C_entries): Consider // as a comment start even in plain C for
1825 the sake of Objective C parsing.
1826
18271995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1828
1829 * Makefile.in (ctags): depend on etags only for simplicity;
1830 compile with regexp support enabled.
1831
18321995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1833
1834 * Version 19.30 released.
1835
18361995-11-22 Geoff Voelker <voelker@cs.washington.edu>
1837
1838 * makefile.nt (DOC, clean): Don't use switches to del not
1839 supported by Windows 95.
1840
18411995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1842
1843 * Makefile.in (regex.o): Depend on ../src/config.h.
1844
18451995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1846
1847 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
1848 (LOADLIBES): Use LIB_STANDARD.
1849
18501995-11-07 Kevin Gallo <kgallo@microsoft.com>
1851
1852 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
1853 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
1854 Windows 95 conditional.
1855
18561995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
1857
1858 * etags.c (get_lang_from_name, get_lang_from_interpreter,
1859 get_lang_from_suffix): New functions.
1860 (get_language): Function deleted.
1861 (lang_entry): Two members added to struct.
1862 (lang_names): Reflect the new layout of lang_entry.
1863 (print_language_names, main, find_entries): Use the new functions.
1864 (find_entries): Look at the first line for #! if no language.
1865 (C_entries): Invalidate the token when funcdef is reset.
1866 (Perl_functions): New function.
1867 (lang_suffixes): .pl and .pm are Perl suffixes.
1868
18691995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
1870
1871 * etags.c (lowcase): Use the standard tolower function.
1872 (substitute): Remove some wrong and some useless code related with
1873 escape `\` character in regexp replacement string.
1874 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
1875 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
1876 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
1877 .prolog for prolog (.pl removed).
1878 (massage_name, etags_getcwd): Use lowcase instead of tolower.
1879 (C_entries, find_entries): Added comments about memory leakage.
1880 (add_node): Dead code removed.
1881
18821995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1883
1884 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
1885 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
1886
18871995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1888
1889 * test-distrib.c: Add #undef for open, close, read, write.
1890
18911995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1892
1893 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
1894 [! O_RDONLY]: Define it to zero.
1895 (main): Use O_RDONLY instead of explicit zero.
1896
18971995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
1898
1899 * etags.c (Pascal_functions): Close comment bug corrected.
1900 (add_node): Correctly compare node file names.
1901 (Pascal_functions): Correctly allocate and free memory for tline.
1902 (pfnote): Put the definition of fp in the innermost block.
1903 (NODE): `named' member removed.
1904 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 1905 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
1906 (pfnote): `named' argument removed, all callers changed.
1907 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
1908 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 1909 removed from pfnote call, some code cleanup.
362bc2da
DL
1910 (relative_filename): Free temporary space allocated by concat.
1911
19121995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1913
1914 * Makefile.in (getdate.c): New target.
1915 (getdate.o): Just compile getdate.c.
1916
19171995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
1918
1919 * fakemail.c (xrealloc): Change cast to match return type.
1920
19211995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1922
1923 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
1924
19251995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1926
1927 * movemail.c (main): Fix previous change.
1928 Add error check for empty OUTNAME.
1929
19301995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1931
1932 * movemail.c (main): Mention lock file name in error message.
1933
19341995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1935
1936 * profile.c (gettimeofday): New function, defined if necessary.
1937
19381995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1939
1940 * Makefile.in: Renamed from Makefile.in.in.
1941 (distclean): Delete Makefile.c, not Makefile.in.
1942
19431995-07-17 Michael Shields <shields@tembel.org>
1944
1945 * Makefile.in.in (tags): Synonym for `TAGS'.
1946
19471995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
1948
1949 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
1950 configure has already set $(INSTALL) to the proper relative path.
1951
19521995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1953
1954 * etags.c (plain_C_entries): new function.
1955 (lowcase): new macro.
1956 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1957 (lang_suffixes): new suffix ".pc" for Pro*C files.
1958 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1959 (tail): look for the end of the token when comparing.
1960 (takeprec): since now tail behaves differently, use strneq.
1961
19621995-07-08 Paul Eggert <eggert@twinsun.com>
1963
1964 * rcs2log (datearg): Separate date from time with comma, not space,
1965 to work around CVS 1.5 bug.
1966 (CVSROOT): Don't abort when unset if repository is absolute.
1967
19681995-07-07 Paul Eggert <eggert@twinsun.com>
1969
1970 * rcs-checkin, rcs2log, vcdiff:
1971 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
1972 that interpret `#! /' as a 4-byte magic number.
1973
19741995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
1975
1976 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
1977 mailbox with "po:mailbox", the mailbox is everything after the
1978 "po:" prefix.
1979
19801995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1981
1982 * emacsserver.c: Make all error messages start with `Error: '.
1983 (fatal_error, perror_1): New functions, use throughout.
1984
19851995-06-28 Paul Eggert <eggert@twinsun.com>
1986
1987 * rcs2log (CVSROOT, repository):
1988 Allow remote repositories a la CVS 1.4.
1989
19901995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
1991
1992 * etags.c (plain_C_entries): new function.
1993 (lowcase): new macro.
1994 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
1995 (lang_suffixes): new suffix ".pc" for Pro*C files.
1996 (consider_token): don't tag all tokens beginning with DEFUN & Co..
1997 (tail): look for the end of the token when comparing.
1998 (takeprec): since now tail behaves differently, use strneq.
1999
20001995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2001
2002 * movemail.c (main): Add newline in usage message.
2003
20041995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2005
2006 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2007
20081995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2009
2010 * etags.c (find_entries): Rewind before rereading the input file.
2011
20121995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2013
2014 * Version 19.29 released.
2015
2016 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2017 This undoes part of the previous change.
2018
20191995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2020
2021 * make-docfile.c (main): On MSDOS, don't change stdout
2022 to binary, and insist on an -o option.
2023
20241995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2025
2026 * etags.c (process_file,absolute_filename): Handle filenames
2027 starting with a drive letter.
2028
2029 * makefile.nt (install): Copy wakeup.exe properly.
2030
20311995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2032
2033 * make-docfile.c [MSDOS]: #undef chdir.
2034
20351995-06-04 Paul Eggert <eggert@twinsun.com>
2036
2037 * rcs2log (output_authors): Allow ':' in time zone,
2038 as per ISO 8601 and RCS 5.6.8 beta.
2039
20401995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2041
2042 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2043 compatibility problems.
2044
20451995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2046
2047 * etags.c (etags_getcwd): Don't use #elif.
2048 Have just one function body.
2049
20501995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2051
2052 * makefile.nt (LIBS): Use BASE_LIBS.
2053 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2054 upon LIBS.
2055 (DOC): Use del instead of rm.
2056 (DOC) [WINDOWS95]: Use DOC.
2057 (clean): Handle MSVC aux files.
2058 (config.h,paths.h): Use $(CP) instead of cp.
2059 (config.h): Use $(CONFIG_H)
2060 (make-docfile.obj): Depend upon config.h.
2061 Clean up comments.
2062
20631995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2064
2065 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2066 former gives the true path even in the presence of simlinks.
2067
20681995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2069
2070 * movemail.c (main): Increase lock timeout to five minutes.
2071
20721995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2073
2074 * makefile.nt (obj): Use .c files.
2075
20761995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2077
2078 * make-docfile.c: Include config.h.
2079 (NO_SHORTNAMES): New definition.
2080 (xmalloc): Return long *.
2081
2082 * etags.c (C_entries): Cast result of xrealloc.
2083 (xmalloc, xrealloc): Declare them to return long *.
2084
2085 * b2m.c (xmalloc, xrealloc): Declare them long *.
2086
2087 * movemail.c (xmalloc): Declare it to return long *.
2088
20891995-04-30 Paul Eggert <eggert@twinsun.com>
2090
2091 * rcs2log (datearg): If rlog options are specified explicitly,
2092 omit the implicit '-d>DATE' option.
2093 (repository, rlog): Allow absolute paths to CVS repositories.
2094 Look only at the first line of CVS/Repository.
2095
20961995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2097
2098 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2099 realclean.
2100
21011995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2102
2103 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2104 Alternative (empty) definitions.
2105
21061995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2107
2108 * emacsclient.c (main): Add argv[0] to an error message.
2109
21101995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2111
2112 * emacsclient.c (main): Improve error handling.
2113 * cvtmail.c (main, skip_to_lf): Improve error handling.
2114 (sysfail): New function.
2115
2116 * b2m.c (main): Check for trailing ", " before trying to delete it.
2117
21181995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2119
2120 * Makefile.in.in (all): Build test-distrib and make-docfile.
2121
2122 * make-docfile.c (scan_c_file): At end, restore file name last char
2123 to its original value.
2124
21251995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2126
2127 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2128
21291995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2130
2131 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2132 (alloca.o, regex.o): Use BASE_CFLAGS.
2133
21341995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2135
2136 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2137
21381995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2139
2140 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2141 (SOURCES, distclean): Removed obsolete references to aixcc.
2142
21431995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2144
2145 * aixcc.lex: File deleted--surely obsolete now.
2146
21471995-03-23 Paul Eggert <eggert@twinsun.com>
2148
2149 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2150 portability to mawk and nawk.
2151
21521995-03-21 Paul Eggert <eggert@twinsun.com>
2153
2154 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2155 -u "login<tab>fullname<tab>mailaddr".
2156
21571995-03-21 Paul Eggert <eggert@twinsun.com>
2158
2159 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2160 replaces the (now obsolescent) -n login fullname mailaddr option.
2161 Add -R option for recursive rlog.
2162 (AWK): New environment variable (default `awk') for awk program name.
2163 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2164 Quote authors and fullnames correctly.
2165 Don't omit path from repository root when logging CVS files.
2166
21671995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2168
2169 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2170 even if HAVE_SYSVIPC.
2171 * emacsclient.c (main): Use getcwd if not BSD.
2172
21731995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2174
2175 * etags.c (process_file): free (filename) after using it.
2176 (readline_internal): Do not access the char before start of line.
2177
21781995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2179
2180 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2181 savetok.valid. Mark token as valid when it is initialised.
2182 (make_tag): Make token only if token is valid and reset validity.
2183 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2184 (TOKEN): Added a new member: valid.
2185
21861995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2187
2188 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2189 (main): Do not read twice the last filename in the stdin file list.
2190
21911995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2192
2193 * etags.c (C_entries): Initialise the new members of TOKEN.
2194 (C_entries): Do not allocate a new space for each token found by
2195 consider_token. Let make_tag do that instead.
2196 (make_tag): Since now TOKEN has memory of where it is taken from,
2197 this new macro substitutes both make_tag_from_new_lb and
2198 make_tag_from_oth_lb. All callers changed.
2199 (TOKEN): Add linepos and buffer members.
2200 (main): Initialise token_str.
2201 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2202 (token_str): New global variable used by C_entries.
2203
22041995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2205
2206 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2207
22081995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2209
2210 * etags.c (pfnote): Initialise been_warned in the node.
2211 (C_entries): Removed a speed hack for the sake of clarity.
2212
22131995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
2214
2215 * etags.c (longopts, print_help, main): Use -I as abbreviation
2216 for the --ignore-indentation option.
2217 (main): Do not print an error message for unknown options.
2218
22191995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
2220
2221 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
2222 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
2223 constantypedefs, update, vgrind_style, no_warnings,
2224 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
2225 (permit_duplicates): Was a var, now a #define.
2226 (filename_lb): Was global, now local to main.
2227 (main): Open the tag file when in cxref mode.
2228 Use a BUFSIZ size buffer for making the shell commands.
2229 Look at the return value from the system routine.
2230 Exit when cannot open the tag file.
2231 (process_file): Open the file and pass the FILE* to find_entries.
2232 (find_entries): Now void, because does not open the file itself.
2233 (pfnote): Recovering from lack of memory does not work. Removed.
2234 Use savenstr and simplify the code.
2235 (free_tree): Only free the name space if node is named.
2236 (structtag): Now a pointer, not a fixed length array of chars.
2237 (consider_token): Don't take a token as argument. Use savenstr
2238 when saving a tag in structtag. Callers changed.
2239 (TOKEN): Structure changed. Now used only in C_entries.
2240 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
2241 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
2242 (pfcnt): Deleted. Users updated.
2243 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2244 TEX_getit, prolog_getit): Use dinamic allocation for storing
2245 the tag instead of a fixed size buffer.
2246
22471995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2248
2249 * movemail.c (main): Skip past the colon in inname.
2250
22511995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2252
2253 * etags.c (pfatal): New function.
2254 (main, etags_getcwd): Use pfatal.
2255 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
2256
22571995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
2258
2259 * etags.c (Lang_function): Use void instead to declare the
2260 language functions, because many compilers are buggy.
2261 (etags_getcwd): Fix the previous fix on the #else branch.
2262 (readline_internal): Discard possible \r before \n here.
2263 (C_entries): Do not deal with \r here: undo previous fix.
2264
22651995-01-09 Francesco Potorti` (pot at fly)
2266
2267 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
2268 functions and a macro that allow the program to work on input
2269 lines of whatever length. Copied from etags.c.
2270 (fatal): Print a fatal error message and exit.
2271 (main): Use the new functions. Fixed a bug that made a \037 char
2272 appear at the end of the output.
2273
22741995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2275
2276 * etags.c (C_entries): Ignore carriage return at end of line.
2277
22781994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2279
2280 * fakemail.c (xmalloc, xrealloc): Add casts.
2281 (add_field): Handle <...> and "..." syntax.
2282 (setup_files, get_keyword): Clean up parens and line breaks.
2283 (args_size): Likewise.
2284
22851994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
2286
2287 * yow.c: Include program name in error messages.
2288
22891994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2290
2291 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
2292 (xmalloc, fatal, error): New functions.
2293 (progname): New variable.
2294 (main): Set progname.
2295
22961994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2297
2298 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
2299 (main): If socket/mqueue name is in home dir, add in the host name.
2300 Rename .emacs_server to .emacs-server....
2301
23021994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2303
2304 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
2305
23061994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
2307
2308 * etags.c (print_help): print --regex usage for ctags also.
2309 (main): use -h in addition to -H as abbreviation for --help.
2310
23111994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2312
2313 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
2314 is compiled if this is defined. The new functions and variables
2315 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
2316 [VMS]: All VMS specific code previously contained in
2317 etags-vmslib.c is now included here, modified for dealing with
2318 language and regex options intermixed with filenames.
2319 (header_file): Global variable deleted.
2320 (Lang_Function): New typedef. All language parser functions
2321 changed to this new type.
2322 (string_numeric_p, substr, prestr): Functions deleted.
2323 (readline_internal): Does the job that readline did previously.
2324 (longopts): --language and --regex options added.
2325 (lang_names, lang_extensions, lang_func, print_language_names):
2326 New structures, variables and functions for choosing languages.
2327 (print_help): Help strings updated. Calls print_language_names.
2328 (argument_type, ARGUMENT): Typedefs for dealing with language and
2329 regex options intermixed with filenames.
2330 (main): Changed the way of dealing with arguments on the command
2331 line to deal with language and regex options intermixed with
2332 filenames.
2333 (get_language, default_C_entries, Cplusplus_entries,
2334 Cstar_entries, Yacc_entries, just_read_file): New functions.
2335 (find_entries): Use the new method for choosing the language.
2336 (Pascal_functions): Allow intermixing of comment styles.
2337 (prolog_getit, skip_comment): Rewritten for speed.
2338 (readline): Rewritten to deal with regexps.
2339
23401994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
2341
2342 * etags.c (<errno.h>): #include added.
2343 (etags_getcwd): Check return value from getcwd.
2344
23451994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2346
2347 * profile.c (TV1, TV2): Use EMACS_TIME as type.
2348 (get_time): Use EMACS_SUB_TIME.
2349
23501994-10-30 voelker <voelker@cs.washington.edu>
2351
2352 * ntlib.c: New file.
2353 * makefile.nt: New file.
2354
2355 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
2356 [WINDOWSNT]: Include the NT headers.
2357 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
2358
2359 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
2360 [WINDOWSNT]: Include some NT headers.
2361
23621994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
2363
2364 * pop.c (getline): When a search of already-read input for CRLF
2365 fails, store the fact that we've searched it and don't search it
2366 again after reading more data.
2367
2368 * pop.c (getline): When determining whether or not it's necessary
2369 to grow the input buffer, take into account the null that's stored
2370 at the end of already-read input in the buffer.
2371
23721994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
2373
2374 * etags.c (prestr, substr): return a logical type.
2375 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2376 (consider_token): set funcdef to fignore when a DEFUN is met.
2377 (C_entries): Now we can use Tom Hageman patch for extern "C".
2378
23791994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2380
2381 * movemail.c: PopServer renamed to popserver throughout.
2382
23831994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2384
2385 * etags.c: Don't declare malloc, since we include config.h.
2386 * fakemail.c: Likewise.
2387
23881994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2389
2390 * movemail.c: Don't declare malloc.
2391
23921994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
2393
2394 * rcs-checkin: Use test -r instead of < to check readability, to
2395 avoid syntax error.
2396
23971994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
2398
2399 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
2400 defined, and if HAVE_CONFIG_H isn't defined, define
2401 MAIL_USE_POP always (so that this file can be included in
2402 other programs besides emacs).
2403
2404 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
2405 HAVE_CONFIG_H isn't defined.
2406
2407 * pop.c (find_crlf, getline): Instead of using strstr, use a
2408 custom function for finding CRLF.
2409 (my_strstr): Function deleted.
2410
24111994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
2412
2413 * pop.c (getline): Fix a segfault because of passing a
2414 non-null-terminated string into strstr(). Fix from
2415 djm@va.pubnix.com (David J. MacKenzie).
2416
2417 * pop.c: Don't include <string.h> and <strings.h>.
2418
2419 * pop.c: Include <des.h> before <krb.h>, rather than after. They
2420 should be interchangeable, and indeed the inclusion is done in
2421 both orders in various files in the Kerberos 4 library sources,
2422 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
2423 requires that <des.h> be included first, and I don't see any harm
2424 in changing the order.
2425
2426 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
2427 STDC_HEADERS, if they're defined. Undef open, read, write and
2428 close after including it.
2429
24301994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2431
2432 * pop.c: Fix mismatch in conditionals.
2433
2434 * make-docfile.c (main): Don't process one input file twice.
2435 Never use exit code > 1.
2436
2437 * pop.c (open, close, read, write): Add #undefs.
2438
2439 * pop.c: Don't declare malloc, realloc, free.
2440 Include ../src/config.h.
2441 Don't include string.h or strings.h.
2442 Include des.h before krb.h.
2443 Do declare my_strstr.
2444 (getline): Really use my_strstr.
2445 Leave one empty place in server->buffer,
2446 and put a null at the end of the data in it.
2447
24481994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2449
2450 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
2451 call kill with pid 0. Handle EINTR when receiving messages.
2452
24531994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
2454
2455 * Makefile.in.in (regex.o): Use full path to find regex.c.
2456
24571994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2458
2459 * Makefile.in.in (etags): add dependency on regex.o, link with it.
2460 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
2461
24621994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
2463
2464 * Makefile.in.in (DONT_INSTALL): Remove make-path.
2465 (${archlibdir}): Use mkinstalldirs instead.
2466
2467 * movemail.c: Make functions that return nothing void, not
2468 implicitly int.
2469 (main): Improve usage message.
2470 (error): Write to stderr, not stdout.
2471
2472 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
2473 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
2474 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
2475 variables and implicitly declared functions.
2476
24771994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2478
2479 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
2480 (distclean): Not here.
2481
2482 * Makefile.in.in (libexecdir): Renamed from libdir.
2483
24841994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
2485
2486 * etags.c (C_entries): Name the #define's that are macros.
2487
24881994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2489
2490 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
2491 fd_set arg is a pointer, descriptor arg comes first.
2492
24931994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
2494
2495 * etags.c (C_entries): Recognise typedef of ANSI style functions.
2496 (C_entries): Recognise #define inside a struct.
2497 (C_entries): ANSI tells that preprocessor commands do not have to
2498 start on the first column.
2499 (print_help): Documentation corrected for -d and -D.
2500 (white, endtk): ANSI tells the vertical tab is a separator.
2501
25021994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
2503
2504 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
2505 (pop.o, movemail.o): New targets.
2506 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
2507
2508 * pop.c, pop.h: New files.
2509
2510 * movemail.c: Improve POP code, move most of it into a separate file.
2511 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
2512 (mbx_write): Check for errors and for From line.
2513 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
2514 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
2515 (pop_init): Functions deleted.
2516
25171994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
2518
2519 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
2520 Rename path to dirname.
2521
25221994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2523
2524 * Makefile.in.in (UTILITIES):
2525 Remove test-distrib, make-docfile, make-path.
2526 (DONT_INSTALL): New variable--list those files here.
2527 (clean): Delete the files in DONT_INSTALL.
2528
25291994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2530
2531 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
2532 (main): Use fgets, not gets.
2533
25341994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2535
2536 * timer.c: Don't declare malloc.
2537
25381994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2539
2540 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
2541 defined, use simple 32-bit versions of these macros.
2542 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
2543
25441994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2545
2546 * etags.c (etags_getcwd): Use getcwd if available.
2547
25481994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2549
2550 * Version 19.27 released.
2551
25521994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2553
2554 * Version 19.26 released.
2555
25561994-08-15 Paul Eggert <eggert@twinsun.com>
2557
2558 * rcs2log: Add support for CVS.
2559 Work with `rlog's that output ISO 8601 dates.
2560
25611994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
2562
2563 * rcs2log: Use <> to delimit email address.
2564
25651994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2566
2567 * emacsserver.c [SYSV_IPC] (main): Make a separate process
2568 so we can listen for multiple requests.
2569
25701994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2571
2572 * movemail.c: Include config.h first thing.
2573
25741994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2575
2576 * emacsserver.c (main): Add casts to avoid warnings.
2577
25781994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2579
2580 * Makefile.in.in (${archlibdir}): Compare the proper dir
2581 before installing the scripts.
2582
25831994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2584
2585 * emacsclient.c (main): New local var progname saves argv[0].
2586
25871994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2588
2589 * emacsclient.c (main): Don't actually modify argv[0].
2590 Modify a copy instead.
2591
25921994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2593
2594 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
2595 (tzp): Var deleted.
2596
2597 * Makefile.in.in: Add #undef alloca.
2598
25991994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2600
2601 * timer.c (xmalloc): New function.
2602
26031994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2604
2605 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
2606 (alloca.o): New target.
2607
26081994-07-08 Dave Love (d.love@dl.ac.uk)
2609
2610 * etags.c (takeprec): recognise `character*(*) function'
2611
26121994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
2613
2614 * etags.c (main): Don't barf on obsolete -t and -T switches.
2615 (main): Print an explicative message when a switch is not known.
2616
26171994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2618
2619 * hexl.c: Don't declare exit or perror.
2620
2621 * emacsserver.c (main): Don't declare geteuid.
2622 Don't declare getenv if convex.
2623
26241994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2625
2626 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
2627
26281994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2629
2630 * etags.c (absolute_filename): Remove infinite loop bug when
2631 accessing files in directories whose name begins with a dot.
2632
26331994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2634
2635 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
2636
26371994-06-01 Morten Welinder (terra@diku.dk)
2638
2639 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
2640 location of data directory.
2641
26421994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2643
2644 * Version 19.25 released.
2645
26461994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2647
2648 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
2649
26501994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2651
2652 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
2653
26541994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2655
2656 * Version 19.24 released.
2657
26581994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2659
2660 * make-docfile.c (write_c_args): Put `default' in upper case.
2661
26621994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2663
2664 * etags.c (etags_getcwd): Cast result of popen.
2665 (popen): Declaration deleted.
2666
26671994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
2668
2669 * etags.c [!MSDOS]: Declare popen.
2670
26711994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2672
2673 * b2m.c (main): Avoid crash if argc is 1.
2674
26751994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2676
2677 * Version 19.23 released.
2678
2679 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
2680
26811994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2682
2683 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
2684
26851994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
2686
2687 * Makefile.in.in: Fix out of date comment.
2688
26891994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2690
2691 * Makefile.in.in: Put in a separator for where to start cpp procssing.
2692 Move all autoconf substitutions above that point.
2693 Above that point, use Make-style comments.
2694 This goes with changes in ../configure.in.
2695
26961994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2697
2698 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
2699 warning message.
2700 (${archlibdir}): Don't do it here. Don't depend on blessmail.
2701
27021994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
2703
2704 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
2705
27061994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2707
2708 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
2709 print advice to run it, if it has anything significant to do.
2710 And only if MOVEMAIL_NEEDS_BLESSING.
2711 (blessmail): Use emacs, not temacs.
2712 (configuration): Renamed from configname.
2713
27141994-04-30 Morten Welinder (terra@diku.dk)
2715
2716 * etags.c (find_entries): Treat `*.cpp' as C++ files.
2717
27181994-04-30 Morten Welinder (terra@diku.dk)
2719
2720 * etags.c [MSDOS]: #include <sys/param.h> for the following.
2721 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
2722 a shell.
2723
27241994-04-29 Morten Welinder (terra@diku.dk)
2725
2726 * hexl.c [MSDOS]: Don't define proto type for exit.
2727
27281994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2729
2730 * b2m.c: Don't include string.h or strings.h.
2731
27321994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
2733
2734 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
2735 symbols, not make variables.
2736
27371994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2738
2739 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
2740 * etags.c (print_version): Print VERSION as a string.
2741
27421994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2743
2744 * fakemail.c (readline): Fix updating of p when buffer grows.
2745
27461994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
2747
2748 * Makefile.in.in (blessmail): New target.
2749 ${archlibdir}: Use blessmail when installing movemail.
2750
27511994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2752
2753 * fakemail.c (readline): When extending the buffer,
2754 calculate end afresh using the new size.
2755
27561994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2757
2758 * etags.c (main, print_help): eliminate the -F option.
2759
27601994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2761
2762 * etags.c (absolute_filename): compare against '\0' instead of NULL.
2763
27641994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2765
2766 * Makefile.in.in: Renamed from Makefile.in.
2767 Makefile.in is now generated from it, and then preprocessed.
2768 Change comments to C syntax.
2769 Include config.h.
2770 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
2771 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
2772
27731994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2774
2775 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
2776
27771994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2778
2779 * etags.c (etags_getcwd): Initialize bufsize.
2780
27811994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2782
2783 * profile.c (gettimeofday): If system doesn't have this, define it
2784 to give a fatal error.
2785
27861994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
2787
2788 * movemail.c (main): Use setuid, not seteuid.
2789
27901994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2791
2792 * etags.c: #undef static.
2793
27941994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2795
2796 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
2797 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
2798 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
2799 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
2800 TeX_functions, Prolog_functions.
2801 (inf): no more a global variable.
2802 (C_entries): take 2nd parameter `inf' instead of using the global one.
2803 (find_entries): added the cp1 var for optimisation.
2804 (find_entries): added more suffixes for assembler files.
2805 (Asm_funcs): Now finds labels even without an ending colon.
2806
28071994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
2808
2809 * etags.c (main): use etags_getcwd for compatibility.
2810 (etags_getcwd): new function.
2811
28121994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2813
2814 * Makefile.in (etags, ctags): Pass -D for VERSION.
2815
28161994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
2817
2818 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
2819 (main): don't allow the use of -t and -T in etags mode.
2820 (print_help): don't show options enabled by default.
2821 (print_version): show the emacs version number if VERSION is #defined.
2822 (find_entries): add "ss" as suffix for Chez Scheme.
2823
28241994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
2825
2826 * etags.c (cwd, outfiledir): vars added.
2827 (relative_filename, absolute_filename, absolute_dirname):
2828 functions added to compute filenames in tags files.
2829 (process_file): filenames in tags file are relative to the
2830 directory where the tags file is (useful with the -o option).
2831 (main): initialise the outfiledir var.
2832 (TYPEDST): added the `tignore' value.
2833 (C_entries): corrected various small bugs.
2834
28351994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2836
2837 * Makefile.in (UTILITIES): `env' deleted.
2838 (env): Target deleted.
2839 * env.c: File deleted.
1c478461 2840
362bc2da
DL
28411994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2842
2843 * Makefile.in (install, ${archlibdir}): Switch back to ..
2844 before running INSTALL_PROGRAM.
2845
28461994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
2847
2848 * etags.c (TYPEDST): added the `tignore' value.
2849 (C_entries): corrected various bugs, now correctly parses the
2850 `extern "C" {' construction (patch by Tom R.Hageman).
2851
28521994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2853
2854 * b2m.c: Use <...> to include config.h.
2855 Don't include stdlib.h.
2856
28571994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
2858
2859 * b2m.c (main): Change delimiter from "^L" to "^_^L".
2860 Allow for text following "BABYL OPTIONS:".
2861 Add --help option. Use argv[0] in error messages.
2862
28631994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2864
2865 * emacsclient.c (main) [HAVE_SYSVIPC]:
2866 Make msgp->mtext longer if necessary.
2867 On HPUX, error if it's more than 512 chars.
2868
28691994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
2870
2871 * etags-vmslib.c: Use GPL.
2872 * emacstool.c: Use GPL.
2873 * fakemail.c: Update GPL.
2874
2875 * make-path.c (main): Return 1 on error, not -1.
2876 Update GPL.
2877
2878 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
2879 (xmalloc, xrealloc): Return char *, not int.
2880 (error): Write to stderr, not stdout.
2881 Update GPL.
2882
28831994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
2884
2885 * profile.c (main, get_time): Don't crash on invalid input.
2886
28871994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
2888
2889 * profile.c (get_time): Simplify; avoid calling index.
2890 (main): exit on EOF.
2891
28921994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
2893
2894 * etags.c (--absolute-pathnames): option removed.
2895
28961994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2897
2898 * fakemail.c (put_line): Don't break the line if it all fits.
2899
29001994-02-14 Francesco Potorti` (pot at fly)
2901
2902 * etags.c (absolute_pathnames, cwd): added global vars.
2903 (longopts, print_help, main, process_file): put absolute filenames
2904 in the tag file if the -A --absolute-pathnames option is used.
2905 (print_help): alfabetically order the options.
2906 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
2907
29081994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2909
2910 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
2911 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
2912
29131994-02-07 Christian Lynbech (lynbech@avignon)
2914
2915 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
2916
29171994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2918
2919 * Makefile.in (UTILITIES): Mention profile.
2920 (profile): New target.
2921
2922 * profile.c: New file.
2923
29241994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2925
2926 * Make the argument list output look more like the Lisp docstrings do.
2927 make-docfile.c (write_c_args): Take new arg FUNC. Make output
2928 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
2929 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
2930
29311994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
2932
2933 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2934 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
2935 Use gperf generated hash table instead of linked list.
2936 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
2937 Mostly code generated by gperf.
2938 (consider_token): removed unused parameter `lp'.
2939 (PF_funcs, getit): allow subroutine and similar declarations
2940 to span multiple lines.
2941 (C_entries): check for newline if inchar to avoid bus errors.
2942 (process_file, find_entries): distinguish among nonexistent
2943 and not regular file.
2944
29451994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2946
2947 * timer.c: Include errno.h; don't include fasync.h.
2948 (schedule): Don't return a value.
2949 (sigcatch): Reestablish the handler first.
2950 (getevent): Always call notify at the end.
2951 (notify): Defer alarms around the whole body of function.
2952
29531994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2954
2955 * timer.c (main): Don't request SIGIO, and don't handle it.
2956 Loop calling getevent.
2957 (sigcatch): Delete code to handle SIGIO.
2958 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 2959 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
2960 Set defer_alarms around realloc and schedule.
2961 If alarm_deferred gets set, call notify.
2962 Likewise if this event is the only pending event.
2963 Make buf and buf_size global variables.
2964 Don't malloc buf if it is already non-zero.
2965 (schedule): Just exit if run out of memory.
2966 Return the number of events.
2967 (signal) [_CX_UX]: Add #undef.
2968
29691994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2970
2971 * timer.c [USG] (SIGIO): Define as SIGPOLL.
2972 (main) [USG]: Do ioctl to enable SIGPOLL.
2973
29741994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2975
2976 * timer.c: Don't declare sys_errlist; declare strerror instead.
2977 (schedule, main): Call strerror instead of using sys_errlist.
2978 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
2979 Call strerror instead of using sys_errlist.
2980 * env.c (main): Call strerror instead of using sys_errlist.
2981 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
2982 (main): Call strerror instead of using sys_errlist.
2983 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
2984 * env.c [! HAVE_STRERROR] (strerror): Likewise.
2985 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
2986 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
2987
29881994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2989
2990 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
2991
2992 * movemail.c (malloc): Don't declare it.
2993 (xmalloc): Cast result of malloc.
2994 (strcpy): Don't declare it.
2995
29961993-11-14 Morten Welinder (terra@diku.dk)
2997
2998 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
2999 (main): Use fclose to close file opened by fopen.
3000
3001 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3002
3003 * movemail.c [MSDOS]: #undef `access'.
3004
3005 * b2m.c (main) [MSDOS]: Open all files as binary.
3006 * etags.c (main) [MSDOS]: Open all files as binary.
3007
3008 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3009 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3010 with.
3011
30121994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3013
3014 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3015 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3016 (LINK_CFLAGS): New variable.
3017 (timer): Use LINK_CFLAGS.
3018
30191993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3020
3021 * movemail.c: Include syswait.h.
3022 Fork a subprocess and use it to copy the mail file.
3023
30241993-12-07 Richard Stallman (rms@srarc2)
3025
3026 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3027
30281993-12-04 Richard Stallman (rms@srarc2)
3029
3030 * movemail.c (main): When making tempname, cast result of xmalloc.
3031 Include room for EXXXXXX in the size.
3032 Don't use result of strcpy.
3033
30341993-12-03 Paul Eggert (eggert@twinsun.com)
3035
3036 * vcdiff: Add --brief option.
3037
30381993-12-02 Richard Stallman (rms@srarc2)
3039
3040 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3041 for all executables and scripts.
3042
30431993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3044
3045 * Version 19.22 released.
3046
30471993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3048
3049 * Makefile.in (mostlyclean): Make it distinct from clean.
3050
30511993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3052
3053 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3054
30551993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3056
3057 * Version 19.21 released.
3058
3059 * Makefile.in (install): Don't change mode or group when installing.
3060
3061 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3062
30631993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3064
3065 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3066
3067 * movemail.c (main): Fix error message text.
3068
30691993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3070
3071 * Version 19.20 released.
3072
30731993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3074
3075 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3076 functions returning a pointer to a function, a la `signal', can be
3077 parsed. This also required new state `fstartlist' to `FUNCST'.
3078 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3079 (C_entries, CNL): use it to isolate preprocessor directive processing
3080 from the other state engines.
3081 (begtk): add '~', for C++ class destructors.
3082
30831993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3084
3085 * etags.c (consider_token): removed unused variable firsttok.
3086 (prolog_getit): call pfnote with the right number of arguments.
3087
30881993-10-19 Paul Eggert (eggert@twinsun.com)
3089
3090 * rcs2log (printlogline): Don't generate lines containing only
3091 white space.
3092
30931993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3094
3095 * Makefile.in (${archlibdir}):
3096 Install ${SCRIPTS} from ${srcdir}, not cwd.
3097
30981993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3099
3100 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3101 the comment character.
3102
31031993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3104
3105 * etags.c (process_file): dead code removed.
3106 (S_ISREG): #define it using S_IFREG if not defined.
3107 (process_file): regular files have nothing to do with symlinks.
3108
31091993-09-28 Brian Fox (bfox@ai.mit.edu)
3110
3111 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3112 from current directory. Only chmod and chgrp files that we
3113 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3114 ${bindir}.
3115 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3116 now.
3117
31181993-09-27 Brian Fox (bfox@ai.mit.edu)
3119
3120 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3121 configure figure out the correct values for these variables.
3122
31231993-09-14 Brian Fox (bfox@ai.mit.edu)
3124
3125 * Makefile.in (archlibdir): Only install execuatables internally
3126 used by emacs; don't install bindir binaries here.
3127
31281993-09-24 Paul Eggert (eggert@twinsun.com)
3129
3130 * rcs2log: Add -h, -n, -r options.
3131 By default, look for *,v files as well as RCS/*,v files.
3132 Use $TMPDIR (default /tmp) instead of /tmp.
3133
31341993-09-20 Francesco Potorti` (pot at fly)
3135
3136 * etags.c (C_entries): is_func is initialised here instead of in
3137 consider_token for the sake of the yacc rules section.
3138 (C_entries): Now class, struct, enum, union and typedef produce
3139 named tags.
3140
31411993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3142
3143 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3144
31451993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3146
3147 * Support configuring in a different directory when ${srcdir} has
3148 already been configured.
3149 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3150 -I${srcdir} -I${srcdir}/../src.
3151 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3152 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3153 is already in CPP_FLAGS.
3154 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3155 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3156
31571993-08-25 Paul Eggert (eggert@twinsun.com)
3158
3159 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3160 otherwise, HP awk complains.
3161
3162 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3163 are common hangouts for SCCS commands.
3164
31651993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3166
3167 * Version 19.19 released.
3168
31691993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3170
3171 * Makefile.in (make-path): Dep on config.h.
3172
31731993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3174
3175 * b2m.c (TRUE, FALSE): Don't define if already defined.
3176
31771993-08-09 Paul Eggert (eggert@twinsun.com)
3178
3179 * rcs2log (awkscript):
3180 Some sites put comma-separated junk after the fullname.
3181 Remove it, but leave "Bill Gates, Jr" alone.
3182 Remove the junk from fullnames like "0000-Admin(0000)".
3183
31841993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3185
3186 * Version 19.18 released.
3187
31881993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3189
3190 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3191 (L_funcs): the (foo::defmumble stuff now should work.
3192 (consider_token): function returned random value--corrected.
3193 (C_entries): corrected == versus = typo.
3194
31951993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3196
3197 * etags.c (put_entries): For NODE->rewritten, put pattern before
3198 \177 and name after, not vice versa.
3199
32001993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3201
3202 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3203
32041993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3205
3206 * etags.c (FINCST): added the fignore status. Means we are
3207 after the parameter list and before the open curly brace.
3208 Allows correct parsing of C++ constructors.
3209 (C_entries, consider_token): make use of fignore.
3210 (consider_token): reset funcdef when next_token_is_func: when in
3211 ctags mode makes DEFVAR and others work better.
3212 (L_isquote): function that recognises the "(quote" string.
3213 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
3214
32151993-07-29 Paul Eggert (eggert@twinsun.com)
3216
3217 * rcs-checkin: Don't check whether a file is readable until we have
3218 decided not to ignore it.
3219
32201993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3221
3222 * Makefile.in (etags): Depend on ../src/config.h.
3223
3224 * emacsserver.c: Include types.h before file.h.
3225
32261993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3227
3228 * Makefile.in (install): Use .n, not .new, for temporary filenames.
3229
32301993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3231
3232 * Version 19.17 released.
3233
32341993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3235
3236 * etags.c (print_help): Break up the very long strings containing
3237 the help message into shorter strings, to placate chintzy C
3238 compilers which can't handle strings that long.
3239
3240 * wakeup.c: Use CPP tangle from autoconf manual to #include the
3241 correct combination of <time.h> and <sys/time.h>.
3242
32431993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3244
3245 * etags.c (alloca): removed all references to it.
3246 (main): now calls xnew instead of alloca for portability.
3247 (../src/config.h): included only if HAVE_CONFIG_H.
3248 (const): void definition removed--config.h takes care of it.
3249
32501993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3251
3252 * etags.c (consider_token): was `==', now is `='.
3253 (consider_token): DEFUNs now treated like funcs in ctags mode.
3254
3255 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
3256 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
3257 (C_entries): removed a piece of useless code.
3258 (C_entries): making typedef tags is delayed until a semicolon
3259 is met. This handles "typedef int X, Y, Z;" correctly.
3260
32611993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3262
3263 * Version 19.16 released.
3264
3265 * b2m.c: #include <sys/types.h>.
3266 (ltoday): Declare this to be time_t.
3267
32681993-06-30 Paul Eggert (eggert@twinsun.com)
3269
3270 * vcdiff: Add -q option.
3271
32721993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3273
3274 * etags.c: #include "config.h" and the alloca CPP tangle before
3275 #including the system headers and getopt.h. AIX requires the
3276 #pragma to come before any actual C code.
3277
32781993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3279
3280 * Makefile.in (ctags): Depend on etags, so that parallel makes
3281 don't write etags.o files on top of each other.
3282
32831993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3284
3285 * version 19.15 released.
3286
32871993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3288
3289 * etags.c (add_node): Move var last_node to file scope.
3290
32911993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3292
3293 * Version 19.14 released.
3294
32951993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3296
3297 Bring mumbleclean targets into conformance with GNU coding standards.
3298 * Makefile.in (distclean): Call clean to do most of the work.
3299 Delete aixcc.c and TAGS.
3300 (realclean): Just call distclean.
1c478461 3301
362bc2da
DL
3302 * Makefile.in: Remember, spaces are not tabs.
3303
33041993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3305
3306 * Makefile.in (CPP_CFLAGS): New variable.
3307 Use it instead of ALL_CFLAGS when compiling a .c file.
3308 (getopt.o, getopt1.o): Add explicit compilation commands.
3309
33101993-06-10 Mark D. Baushke (mdb@cisco.com)
3311
3312 * etags.c: Reinstate old -f option as an alias for -o for
3313 installed base uses.
3314
33151993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3316
3317 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
3318 to bind or accept, cast the pointer, to avoid warnings on systems
3319 which declare prototypes for this.
3320 * emacsclient.c (main): Same.
3321
3322 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
3323
33241993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3325
3326 * Version 19.13 released.
3327
3328 * wakeup.c: Include sys/types.h, too; I think that's where time_t
3329 comes from, not sys/time.h.
3330
33311993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3332
3333 * wakeup.c: Include sys/time.h.
3334
3335 * etags.c: #undef static.
3336
3337 * Version 19.12 released.
3338
3339 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
3340
33411993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3342
3343 * Version 19.11 released.
3344
3345 * timer.c [LINUX]: #undef signal.
3346 * emacsserver.c: #undef signal.
3347
33481993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3349
3350 * wakeup.c (main): Make when a time_t.
3351
33521993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3353
3354 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
3355 `(cd foo ; pwd)` to get the canonical name of a directory; cd
3356 might fail, and have pwd print out the current directory.
3357
3358 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
3359 string-handling functions.
3360
33611993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3362
3363 * Version 19.10 released.
3364
33651993-05-29 Paul Eggert (eggert@twinsun.com)
3366
3367 * rcs2log: When given no file arguments, inspect RCS/.* as well
3368 as RCS/*. Don't report an error if RCS is empty or nonexistent.
3369
33701993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3371
3372 * Makefile.in (timer): Link with $(LOADLIBES).
3373
33741993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3375
3376 * fakemail.c (put_line): Don't output \n\t unless more text follows.
3377
33781993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3379
3380 * etags.c: Replace the CPP tangle for alloca with the one from the
3381 autoconf documentation, since that's working elsewhere.
3382
33831993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3384
3385 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
3386 description files can find their ancestors.
3387
33881993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3389
3390 * Makefile.in (install): Get the scripts from ${srcdir},
3391 unlike the executables.
3392 (ALL_CFLAGS): Add -I../src
3393
33941993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3395
3396 * Version 19.9 released.
3397
33981993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3399
3400 * Makefile.in (install): Do install the programs listed in
3401 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
3402 INSTALLABLE_SCRIPTS, instead of writing the programs out.
3403
3404 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
3405 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
3406
34071993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3408
3409 * etags.c: Include ../src/config.h.
3410
3411 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
3412 in first loop. Delete files from bindir before installing new ones.
3413 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
3414
34151993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3416
3417 * Version 19.8 released.
3418
3419 * make-docfile.c: Doc fix.
3420
34211993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3422
3423 * tcp.c: Fix comment syntax at top of file.
3424 (main): Don't call htons with the port number.
3425
34261993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3427
3428 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 3429 appropriate.
362bc2da
DL
3430
3431 * Makefile.in (install): Refer to the variables INSTALLABLES and
3432 INSTALLABLE_SCRIPTS, instead of writing them out.
3433
34341993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3435
3436 * make-path.c (main): Return 0.
3437
34381993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3439
3440 * Version 19.7 released.
3441
34421993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3443
3444 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
3445
34461993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3447
3448 * tcp.c: New file.
3449
34501993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3451
3452 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
3453
34541993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3455
3456 * timer.c (notify): Don't call sighold or sigrelse; they're USG
3457 only. We should really fix this later, but let's just make it
3458 compile for now.
3459
3460 Install patches from David J. Mackenzie to make the srcdir option
3461 work.
3462 * Makefile.in (srcdir, VPATH): Get this value from the top-level
3463 Makefile.
3464 (INSTALLABLES): Split this into two lists - INSTALLABLES and
3465 INSTALLABLE_SCRIPTS.
3466 (INSTALLABLE_SCRIPTS): New list.
3467 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
3468 (${archlibdir}): The scripts to be installed live in the source
3469 tree, not in the object tree.
3470 (test-distrib): Note that the data file lives in the source tree,
3471 not the object tree.
3472 (GETOPTDEPS): Note that getopt.h lives in the source tree.
3473 (all other targets): Change references to source files to use
3474 ${srcdir}, except for config.h, which lives in the object dir.
3475 (timer.o): Note that this depends on ../src/config.h.
3476 * make-docfile.c (main): Add a -d option, to tell it where to find
3477 the source files.
3478 * test-distrib.c (main): Take the name of the distribution file to
3479 test from the command line.
3480
3481 * timer.c: Fix mispellings of get_date function's name.
3482
34831993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3484
3485 * etags.c (main):
3486 Don't require that there be input files if -i switches were given.
3487
34881993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3489
3490 The GNU coding standards specify that CFLAGS should be left for
3491 users to set.
3492 * Makefile.in (CFLAGS): Put this in the "things configure might
3493 edit" section, and have it default to -g.
3494 (ALL_CFLAGS): New variable, set to all the flags which should be
3495 passed to compilations. Replace all other uses of CFLAGS with
3496 ALL_CFLAGS.
3497 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
3498
3499 * Makefile.in (DEFS): Remove this; it's always just going to be
3500 "-DHAVE_CONFIG_H -Demacs".
3501
35021993-05-03 Paul Eggert (eggert@twinsun.com)
3503
3504 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
3505 /[/]/, so change it to /[\/]/. This should work on all
3506 Posix-compliant awks. It's slightly wrong with traditional awk,
3507 since it matches \ too, but that's a minor problem compared to awk
3508 syntax errors.
3509
35101993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3511
3512 * Makefile.in (ALLOCA): New variable, whose value we should
3513 inherit from the top-level makefile.
3514 (etags, ctags): Include ALLOCA in the list of object files that
3515 these executables depend on and link.
3516
35171993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3518
3519 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
3520
35211993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
3522
3523 * make-docfile.c (write_c_args): Print an argument named "defalt"
3524 as "default".
3525
35261993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
3527
3528 * Makefile.in (C_SWITCH_SYSTEM): New variable.
3529 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
3530 compiler.
3531
35321993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
3533
3534 * etags.c (YACC): flag added to c_ext.
3535 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
3536 (find_entries): consistently use streq when reasonable.
3537 (find_entries): a .y file is a yacc file.
3538 (get_C_stab): c_ext becomes c_ext&C_PLPL.
3539 (C_entries): logical cplpl means c_ext&C_PLPL.
3540 (C_entries): logical yacc_rules means we are after the first %%.
3541 (C_entries): added logic for yacc files.
3542
35431993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
3544
3545 * etags.c (C_entries): ':' case moved to the second switch.
3546 (C_entries): do not examine token if structdef==scolonseen.
3547 (consider_token): structtag set to null string for enum.
3548
35491993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
3550
3551 * etags.c (GET_COOKIE): and related macros removed.
3552 (logical): is now int, no more a char.
3553 (reg): define deleted.
3554 (isgood, _gd, notgd): deleted.
3555 (gotone): deleted.
3556 (TOKEN): member linestart removed.
3557 (linepos, prev_linepos, lb1): deleted.
3558 (main): call initbuffer on lbs array instead of lb1.
3559 (init): removed the initialisation of the logical _gd array;
3560 (find_entries): a .sa suffix means assembler file.
3561 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
3562 All C state machines rewritten.
3563 (C_entries): complete rewrite.
3564 (condider_token): complete rewrite.
3565 (getline): deleted.
3566
35671993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3568
3569 * etags.c (C_entries): Added the quotednl logical variable.
3570 Used for parsing of #define's spanning multiple lines.
3571
35721993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3573
3574 * etags.c (C_entries): Save the definedef status even when a
3575 newline is met inside a string.
3576
35771993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
3578
3579 * Makefile.in (EXECUTABLES): added rcs-checkin.
3580
3581 * Makefile.in (unlock, relock): New productions.
3582
35831993-03-16 Paul Eggert (eggert@twinsun.com)
3584
3585 * rcs2log: Some awks don't understand "\r". Code around this.
3586 Unfortunately this requires putting a carriage return in the
3587 source code. Don't assume that rlog will tolerate times like
3588 `10:10:60'; RCS 5.7 won't allow this.
3589
35901993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3591
3592 * timer.c (main): Set the ownership of the stdin file descriptor
3593 to the current process. Print error messages if either of the
3594 fcntl's fails.
3595
3596 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
3597 ../src/config.h), not void.
3598
35991993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3600
3601 * b2m.c (main): Don't exit upon reading a blank line.
3602
36031993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
3604
3605 * etags.c (C_entries): New local variable quotednl. Used for
3606 parsing of #define's spanning multiple lines.
3607
3608 * etags.c (C_entries): Save the definedef status
3609 even when a newline is met inside a string.
3610
36111993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3612
3613 * timer.c (notify): Initialize waitfor properly.
3614
36151993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
3616
3617 * etags.c (C_entries): Don't reset definedef when a newline inside a
3618 comment is met.
3619
36201993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3621
3622 * etags.c (find_entries): If filename ends in .f or .for,
3623 don't try anything but Fortran.
3624
36251993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
3626
3627 * timer.c (notify): Flush stdout after writing message to avoid lossage
3628 on terminals.
3629
3630 (notify): Also, write a newline after the token.
3631
36321992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3633
3634 * Makefile.in (exec_prefix): New variable.
3635 (bindir, libdir): Use it instead of `prefix'.
3636
3637 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
3638
3639 * Makefile.in (libdir): Default to ${prefix}/lib.
3640 (archlibdir): Adjusted to match.
3641
3642 * Makefile.in (distclean): Don't delete backup or autosave files.
3643 (extraclean): Like realclean, but does delete backup and autosave
3644 files.
3645
3646 * Makefile.in (realclean): Ignore errors from rm.
3647
3648 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
3649 that doesn't exist anymore.
3650
36511992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3652
3653 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
3654 described in the top-level Makefile.
3655 (UTILITIES): Add make-path to the list of utility programs.
3656 (../arch-lib): Replaced by the ${archlibdir} target, which places
3657 the executables in their permanent home.
3658 (install, install.sysv, install.xenix): Consolidated into one
3659 target which should work under all circumstances, modulo a few
3660 ignored error messages.
3661
3662 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
3663 a different number of arguments than other DEFVARs, recognize it
3664 specially, and expect the right number of commas.
3665
36661992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3667
3668 * make-path.c: New program, to help with the installation process.
3669 * Makefile.in (make-path): New target.
3670
3671 * make-path.c (touchy_mkdir): Remove debugging output.
3672
36731992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3674
3675 * Makefile.in (getdate.o): Added explicit target for this, so we
3676 can indicate that it depends on ../src/config.h.
3677
36781992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3679
3680 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
3681 instead of CFLAGS.
3682 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
3683
36841992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3685
3686 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
3687 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
3688 that system.
3689
3690 * Makefile.in (arch-lib): Give rm the `-f' option.
3691
36921992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3693
3694 * make-docfile.c (write_c_args): Rewritten to correctly print
3695 &optionals before the first identifier, but after the first paren.
3696 This code used to just wait for commas or spaces; now it notices
3697 identifier boundaries.
3698
36991992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3700
3701 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
3702
37031992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3704
3705 * make-docfile.c (write_c_args): Print the argument lists properly
3706 when the first argument is optional.
3707
37081992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3709
3710 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
3711 Redefine @item. Set catcode of +.
3712
37131992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3714
3715 * emacsclient.c (main): Set IPC_CREAT in msgget call.
3716
37171992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3718
3719 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
3720 (TEX_decode_env): Make `tab' one element longer.
3721
37221992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3723
3724 * etags.c (PF_funcs): Recognize the "entry" keyword.
3725
37261992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3727
3728 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
3729
37301992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3731
3732 * timer.c (events): Rather than having slots marked as in use or
3733 out of use by the `token' field, keep all pending events at the
3734 beginning of the array. When we delete an event in the middle of
3735 the array, we move the last event into its place.
3736 (num_events): New variable.
3737 (schedule): It is now cheaper to find a free event slot;
3738 events[num_events] is the first free slot.
3739 (notify): Scan events[0 .. num_events-1], instead of the whole
3740 array. When an event fires, move the last event in the array into
3741 its spot. Use num_events to determine whether or not there are
3742 any pending events, not wait_for.
3743 (getevent): Deleted unused variable `ep'.
3744 (sigcatch): It's now easier to find all the active events.
3745 (main): Initialize num_events.
3746
3747 * etags.c: Rather than fret about which systems have index and
3748 which systems have strchr, and how to tell the difference between
3749 them, we just write out our own versions. Big deal.
3750 (index, rindex): Extern declarations removed.
3751 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
3752 (etags_index, etags_rindex): New declarations.
3753 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
3754 TEX_getit, substr): Use the etags_*index functions, rather than
3755 the native *index functions.
3756 (rindex, index): Renamed to etags_rindex and tags_rindex, and
3757 made them unconditionally defined, rather than having them depend
3758 on NEED_*INDEX.
3759
3760 * etags.c (savenstr): Add declaration for this at top of file.
3761 (TEX_decode_env): Don't declare it local to this function.
3762
3763 * b2m.c: #include "../src/config.h", so we can test for the USG
3764 macro, and decide whether to include <string.h> or <strings.h>.
3765 * Makefile.in: Note that b2m.c depends on ../src/config.h.
3766
37671992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3768
3769 * timer.c: Reformatted according to the GNU coding standards.
3770 Removed arbitrary limits on the number of events queued and the
3771 length of the tokens used to identify them.
3772 Removed casts to (void).
3773 Removed debugging printfs; they clutter the code, and the need
3774 can be better filled using a real debugger.
3775
37761992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3777
3778 * timer.c: Installed new version from Eric Raymond; this is more
3779 portable, since it doesn't try to use SIGIO.
3780
37811992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3782
3783 * emacsclient.c (main): If we can't find the socket in this
3784 person's home directory, print a message which asks if they've
3785 started the server, instead of just printing the message from
3786 sys_errmsg; Cygnus finds that people are much less confused by
3787 this.
3788
37891992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3790
3791 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
3792 so that index and rindex get defined, why don't we actually
3793 control index and rindex using symbols called "NEED_INDEX" and
3794 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
3795 little more readable than defining something whose name implies
3796 that it's not?
3797
37981992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3799
3800 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
3801 distribution:
3802 Miscellaneous doc fixes.
1c478461 3803 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
3804 (scan_lisp_file): Instead of using long hairy strings of ifs, call
3805 read_lisp_symbol and then see what we got. Call skip_white
3806 instead of writing out a loop to do its job. Correctly extract
3807 docstrings from "defmacro" declarations.
3808
38091992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3810
3811 * movemail.c (strcpy): Declare this to return char *.
3812
38131992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3814
3815 * etags.c (C_entries): When we find a C++ comment, do actually
3816 skip to the end of the line; do a 'break' instead of a 'continue'.
3817
38181992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3819
3820 * etags.c (getit): Add missing parenthesis to expression which
3821 decides if this token is an identifier.
3822
38231992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
3824
3825 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
3826
38271992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3828
3829 * etags.c (put_entries): Always put space between name and line num.
3830
38311992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
3832
3833 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
3834 warning.
3835 (LEVEL_OK_FOR_FUNCDEF): Ditto.
3836
38371992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
3838
3839 * make-docfile.c (write_c_args): Pass both arguments to putc.
3840
38411992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
3842
3843 * etags.c (C_entries): Fixed reading of "..." strings.
3844 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
3845 the C library source.
3846
3847 * etags.c (C_entries): When we see a backslash inside a quoted
3848 string, skip to the next character. This allows us to correctly
3849 deal with strings containing quotes.
3850
38511992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3852
3853 * make-docfile.c (write_c_args): Print the C argument names as
3854 they would be written in Elisp; print '_' as '-'.
3855
38561992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3857
3858 * movemail.c [POP]: Get user name via getpwuid.
3859
38601992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3861
3862 * Makefile.in: flags in CC invocations rearranged for no reason.
3863
38641992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3865
3866 * etags.c (print_help): Remember not to imbed raw newlines in
3867 strings - end the lines with `\n\'.
3868
38691992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3870
3871 * timer.c (getevent): Removed declaration of memcpy; since
3872 different systems have different return types, and we're not even
3873 using the return type anyway, it wasn't doing us any good.
3874
38751992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3876
3877 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
3878 type of this function.
3879
38801992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3881
3882 * ChangeLog: Since the old etc contents have been split into etc
3883 and lib-src, the old etc's ChangeLog has been duplicated in the
3884 new etc and lib-src. That means that each contains complete and
3885 coherent information, although each contains extraneous
1c478461 3886 information.
362bc2da
DL
3887
38881992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3889
3890 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
3891 to be consistent with other GNU programs, like makeinfo.
3892
3893 * lib-src/Makefile: Renamed to Makefile.in; the configure script
3894 will edit this to produce Makefile.
3895
38961992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3897
3898 * etags.c (print_help, print_version): New functions.
3899 (main): Options added to support them.
3900
3901 * etags.c (longopts): New array of long names for the options.
3902 (main): Recognize them.
3903
39041992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3905
3906 * etags.c (C_entries): Removed comment saying that \" in a string
3907 isn't recognized as magic, because it is correctly handled.
3908
3909 * getopt.c, getopt.h: New files, from GNU C library.
3910 * etags.c: Rewritten to use getopt.
3911 #include "getopt.h".
3912 (file_num): Variable deleted; its role is now played by getopt's
3913 optind.
3914 (main): Argument processing loop rewritten to call getopt to get
3915 next option. Options which take parameters (-o and -i) rewritten
3916 to get parameter from optarg instead of argv[1]. Filename
3917 preprocessing loop and update command changed similarly.
3918 * Makefile (etags, ctags): Depend on and link with getopt.h,
3919 getopt.o, and getopt1.o.
3920 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
3921
3922 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
3923 is non-zero.
3924
3925 (main): In the argument processing loop, the 'goto next_arg'
3926 statements are breaking out of the switch statement in exactly the
3927 same way that a simple 'break' statement would; replace the gotos
3928 with breaks, and remove the label.
3929
39301992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3931
3932 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
3933 (consider_token): Move next_token_is_func to global.
3934
39351992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3936
3937 * Makefile: Conform with GNU coding standards:
3938 (mostlyclean): New target, synonymous with clean.
3939 (TAGS, check): New targets.
3940 (INSTALL, INSTALLFLAGS): New variables.
3941
39421992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3943
3944 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
3945 `config.emacs' to `configure'.
3946
3947 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
3948 * etc/MACHINES: Same.
3949
39501992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
3951
3952 * movemail.c (main): Allow tempname to be as long as necessary,
3953 instead of limiting it to 39 characters.
3954
3955 * movemail.c (main): Move declaration of buf from top of function
3956 to local block surrounding the copy loop. This makes it less
3957 likely to be confused with the buf used by the code which checks the
3958 permissions on outname's directory.
3959
39601992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
3961
3962 * SERVICE: Remove my entry.
3963
39641992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3965
3966 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
3967 hardcoded -g.
3968
3969 * movemail.c (xmalloc): Return char *, not int.
3970 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
3971 that is off by default -- normally don't unlink the mail spool
3972 file, just empty it. Pass creat mode 0600, not 0666.
3973
39741992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3975
3976 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
3977 (all): Instead of here.
3978 (install): Don't use the -s option, since people need symbols to
3979 debug code.
3980
39811992-01-19 (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
3982
3983 * etags-vmslib.c (fn_exp): Add type cast.
3984
39851992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3986
3987 * movemail.c: Changes in comments.
3988
39891992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3990
3991 * Makefile: Make the distclean target erase the DOC files from
3992 ../share-lib and the executables from ../arch-lib.
3993
39941992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu)
3995
3996 * emacsclient.c: #include <sys/stat.h>
3997 (main): Do declare statbfr.
3998
39991991-12-21 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4000
4001 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4002 for the socket, depending on SERVER_HOME_DIR.
4003 If using /tmp, put host name in the socket name.
4004
4005 * movemail.c (pfatal_and_delete): New function.
4006 (main, popmail): Use it.
4007 (popmail): Close output before deleting messages.
4008 Check for error on close and on fsync.
4009 Use `fatal' where appropriate.
4010 (main): Remove (void).
4011
4012 * aixcc.lex: New file. Not officially part of Emacs.
4013 * Makefile: Rules for that.
4014
40151991-12-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu)
4016
4017 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4018
4019 * etags.c (main): Properly cast call to alloca that initializes
4020 included_files.
4021
40221991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4023
4024 * etags.c (files_are_tag_tables): Remove global var.
4025 (process_file): Don't test it. Also remove hack checking for a
4026 file named "TAGS".
4027 (main): -i now takes an arg which is the name of a file to include.
4028 Collect these names and emit include tags for them after processing
4029 all the argument files.
4030
40311991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4032
4033 * wakeup.c: Terminate if parent goes away.
4034
40351991-07-18 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4036
4037 * etags.c (C_entries): Process token before handling end of line.
4038 When inner loops reach end of line, just back up.
4039 Let the real end of line processing happen in just one place.
4040 (consider_token): Likewise.
4041
40421991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu)
4043
4044 * etags.c (TEX_mode): Skip comments while scanning the text to see
4045 which escape character this file uses.
4046
40471991-03-29 Richard Stallman (rms at mole.gnu.ai.mit.edu)
4048
4049 * emacsserver.c [USG]: Terminate if msgrcv fails.
4050
40511991-03-03 Richard Stallman (rms at mole.ai.mit.edu)
4052
4053 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4054
40551991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu)
4056
4057 * make-docfile: Find the arguments to a C function correctly,
4058 by not ignoring the character that read_c_string returns. Don't
4059 even try to find argument names for functions that take MANY
4060 or UNEVALLED arguments, since they're a figment of the docstring's
4061 imagination.
4062
40631991-01-14 Jim Blandy (jimb at churchy.ai.mit.edu)
4064
4065 * make-docfile: Read the .elc files generated by the new byte
4066 compiler.
4067
40681990-12-31 Richard Stallman (rms at mole.ai.mit.edu)
4069
4070 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4071
40721990-11-29 Richard Stallman (rms at mole.ai.mit.edu)
4073
4074 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4075
40761990-11-27 Richard Stallman (rms at mole.ai.mit.edu)
4077
4078 * Makefile (install*): No need to install wakeup.
4079
40801990-11-26 Richard Stallman (rms at mole.ai.mit.edu)
4081
4082 * Makefile (install*): Install emacsclient like etags.
4083
40841990-11-13 Richard Stallman (rms at mole.ai.mit.edu)
4085
4086 * movemail.c (error): Handle 3 args.
4087 (main): Don't check input access if using pop.
4088
40891990-10-16 Richard Stallman (rms at mole.ai.mit.edu)
4090
4091 * etags.c (find_entries): Check for numbers after Scheme suffix.
4092
40931990-10-14 Richard Stallman (rms at mole.ai.mit.edu)
4094
4095 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4096
40971990-10-09 Richard Stallman (rms at mole.ai.mit.edu)
4098
4099 * Makefile (nemacstool, xvetool): New targets.
4100
41011990-09-26 Richard Stallman (rms at mole.ai.mit.edu)
4102
4103 * emacsclient.c: Include errno.h and define related variables.
4104
41051990-09-23 Richard Stallman (rms at mole.ai.mit.edu)
4106
4107 * emacsclient.c: Change usage message.
4108
41091990-08-30 David Lawrence (tale at pogo.ai.mit.edu)
4110
4111 * emacs.1: Add break before -nw option.
4112
41131990-08-19 David J. MacKenzie (djm at apple-gunkies)
4114
4115 * qsort.c: Replace with GNU version.
4116
41171990-08-14 David J. MacKenzie (djm at apple-gunkies)
4118
4119 * wakeup.c: New program replacing loadst.c.
4120
41211990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4122
4123 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4124
41251990-08-09 David J. MacKenzie (djm at pogo.ai.mit.edu)
4126
4127 * etags.c: Rename `flag' variables for what they do instead of
4128 which option character sets them.
4129
41301990-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4131
4132 * loadst.c (main): Conditional to get load average on Apollo.
4133
41341990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu)
4135
4136 * emacsserver.c: Set the permission on the socket to 0600.
4137
41381990-03-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4139
4140 * emacsclient.c [BSD]: Print clean message for failing getwd.
4141
41421990-03-20 David Lawrence (tale at pogo.ai.mit.edu)
4143
4144 * getdate.y: Use the getdate.y from GNU tar for timer.
4145
41461990-03-18 Jim Kingdon (kingdon at pogo.ai.mit.edu)
4147
4148 * emacsclient.c (main): Don't put brackets around "filename" in
4149 usage message. It isn't optional.
4150
41511990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu)
4152
4153 * etags.c (getit): Recognize '$' as beginning identifiers.
4154
41551990-02-22 David Lawrence (tale at pogo.ai.mit.edu)
4156
4157 * emacsserver.c: Renamed from server.c.
4158 * Makefile: Reference emacsserver rather than server.
4159 * MACHINES: Doc fix for new emacsserver name.
4160
41611990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4162
4163 * emacsclient.c: Print program name in error messages.
4164
41651990-01-19 David Lawrence (tale at cocoa-puffs)
4166
4167 * timer.c, getdate.y (new files) and Makefile:
4168 Sub-process support for run-at-time in timer.el.
1c478461 4169 Doesn't yet work correctly for USG.
362bc2da
DL
4170
41711990-01-10 Jim Kingdon (kingdon at pogo)
4172
4173 * MACHINES: Add HP 300 running BSD.
4174
41751990-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4176
4177 * yow.c: Dynamically allocate buffer; skip header before random
4178 choice to avoid bias toward first item.
4179
41801989-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4181
4182 * etags.c (readline): Separate out init of `pend'.
4183
41841989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4185
4186 * etags.c: Undo changes relating to isgoodhdr.
4187
41881989-12-16 Mosur Mohan (rms at sugar-bombs.ai.mit.edu)
4189
4190 * etags.c (isgoodhdr): New macro.
4191 (_gdh, notgdh): New variable used by that.
4192 (init): Initialize _gdh.
4193 (find_entries): Set header_file.
4194 (consider_token): Use isgoodhdr if in header file.
4195
4196 * etags.c (total_size_of_entries):
4197 Was miscalculating by 1 in rewritten case.
4198
4199 * etags.c (PAS_funcs): One arg to pfnote was missing.
4200
42011989-12-05 Joseph Arceneaux (jla at spiff)
4202
4203 * MACHINES: Change for the ULTRIX entry.
4204
42051989-11-21 Joseph Arceneaux (jla at spiff)
4206
4207 * etags.c (process_file): If file is not regular, return.
4208
42091989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4210
4211 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4212
42131989-10-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4214
4215 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
4216 (main): If HAVE_GETLOADAVG, don't call `nlist'.
4217
42181989-10-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4219
4220 * etags.c (consider_token): Allow any number of typespec keywords
4221 after `typedef', before new type name.
4222 (enum sym_type): Add st_C_typespec.
4223 (C_create_stab): Put typespec kwds in table.
4224
42251989-08-27 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4226
4227 * etags.c (main): Don't depend on name invoked by.
4228 If CTAGS is not defined, assume it is ETAGS.
4229
42301989-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4231
4232 * etags.c (L_funcs): Allow package name in define construct,
4233 as in (foo::defmumble name-defined ...).
4234
42351989-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4236
4237 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
4238
4239 * Makefile (yow): Depends on ../src/paths.h.
4240
42411989-07-04 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4242
4243 * etags.c: Fix compilation by moving Pascal after Fortran.
4244
42451989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4246
4247 * movemail.c [USG]: Define F_OK, etc., if not found in header.
4248
42491989-05-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4250
4251 * hexl.c: New file, supports hexl-mode.
4252
42531989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4254
4255 * movemail.c: New compilation flag MAIL_USE_MMDF.
4256
42571989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4258
4259 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
4260 * server.c: Likewise.
4261
4262 * make-docfile.c (scan_c_file): Output argument names at end of string.
4263 (write_c_args): New subroutine.
4264
42651989-04-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4266
4267 * movemail.c: Report failure of flock.
4268
42691989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4270
4271 * etags.c (find_entries): Allow multi-letter extensions for fortran.
4272
42731989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4274
4275 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
4276
42771989-03-15 Jeff Peck (rms at sugar-bombs.ai.mit.edu)
4278
4279 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
4280
4281 * emacsstool.1: update to document environment variables.
4282
42831989-02-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4284
4285 * etags.c (PAS_funcs): New function by Mosur Mohan.
4286
4287 * movemail.c: On sysv, include unistd.h.
4288
42891989-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4290
4291 * b2m.c: New file.
4292
42931989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4294
4295 * etags.c: Prolog support from Sunichirou Sugou
4296
42971989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4298
4299 * Makefile (clean): New target.
4300
43011989-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4302
4303 * fakemail.c (put_line): Break header lines at 79 cols.
4304
43051989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4306
4307 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
4308 multiple tags per line.
4309
43101989-01-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4311
4312 * movemail.c: Check access before doing real work.
4313 Check that outfile is in a writable directory.
4314 On fatal error, delete the lock file.
4315
43161988-12-31 Richard Mlynarik (mly at rice-chex.ai.mit.edu)
4317
4318 * env.c: Add decl for my-index
4319 * etags.c (file-entries): .oak => scheme
4320
43211988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4322
4323 * movemail.c: Use `access' to check input and output files.
4324
43251988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4326
4327 * emacsclient.c (main): Ignore all of CWD before first slash.
4328
43291988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4330
4331 * etags.c (readline): Double linebuffer->size outside the xrealloc.
4332
43331988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4334
4335 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
4336 * server.c: chmod the socket to 0700.
4337
43381988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4339
4340 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
4341 (add_field): Delete comments and turn `<', `>' to spaces
4342 in header lines.
4343 (USE_FAKEMAIL): New customization macro says to make fakemail
4344 not be a no-op even on a BSD system.
4345
43461988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4347
4348 * etags.c (consider_token): Skip comments just like whitespace.
4349 Notice `struct', etc. and set strtag for those tokens.
4350 Return 1 for the token following `struct' if an open-brace follows it.
4351 (C_entries): Special handling of token following `struct'
4352 needed because we have probably advanced to the following line
4353 to find the `{'.
4354 (main): New option `T' sets tflag and strflag.
4355 Set both of them by default if eflags.
4356
43571988-11-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4358
4359 * movemail.c: Do fsync before closing output.
4360
43611988-11-29 Richard Mlynarik (mly at pickled-brain.ai.mit.edu)
4362
4363 * movemail.c: Better error message when can't create tempname.
4364 This file needs a great deal of extra error-checking and lucid reporting...
4365
43661988-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4367
4368 * etags.c: Support assembler code for .s and .a files.
4369 (getit): Allow underscore in a tag.
4370
43711988-11-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4372
4373 * movemail.c: Close output and check errors before deleting input.
4374
43751988-10-01 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
4376
4377 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
4378 whether to prefix it. Handle line number args.
4379
43801988-09-24 Richard Stallman (rms at gluteus.ai.mit.edu)
4381
4382 * etags.c (main): default setting of eflag was backwards.
4383
43841988-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4385
4386 * etags.c: New option -i. -f renamed -o.
4387 `-' as input file means read input file names from stdin.
4388 -i spec'd or input file named TAGS means the input file is another
4389 tag table; output an "include" line for it.
4390
43911988-09-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4392
4393 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
4394 New targets install, install.sysv, install.xenix.
4395 This makefile is now responsible for installing executables
4396 and documentation from this directory into system directories.
4397
43981988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu)
4399
4400 * server.c, emacsclient.c (main): Compute socket name from euid.
4401
44021988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4403
4404 * emacsclient.c: Args like +DIGITS are passed through unchanged.
4405
44061988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4407
4408 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
4409 * emacsclient.c: Likewise.
4410 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
4411
44121988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4413
4414 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
4415 (istoken) New string-comparison macro.
4416 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
4417
44181988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4419
4420 * etags.c: Changes for VMS.
4421 Always define ETAGS on VMS.
4422 Define macros GOOD and BAD for success and failure exit codes.
4423 (begtk, intk): Allow `$' in identifiers
4424 (main): Don't support -B, -F or -u on VMS.
4425 Alternate loop for scanning filename arguments.
4426 (system): Delete definition of this function.
4427
4428 * etags-vmslib.c (system): Undefine this; VMS now provides it.
4429
44301988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
4431
4432 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
4433 around include of param.h. (Like fns.c.)
4434
44351988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4436
4437 * loadst.c (load_average): Move load-average code to this new fn.
4438 Add conditionals to compute load ave on UMAX.
4439
44401988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4441
4442 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
4443 with opposite sense.
4444
44451988-05-13 Chris Hanson (cph at kleph)
4446
4447 * emacsclient.c: Delete references to unused variable `out'. This
4448 caused a bus error when used under hp-ux.
4449
44501988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4451
4452 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
4453
44541988-05-04 Richard Stallman (rms at rice-krispies.ai.mit.edu)
4455
4456 * etags.c (find_entries): `.t' or `.sch' means scheme code.
4457
44581988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4459
4460 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
4461
44621988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
4463
4464 * movemail.c: #undef close, since config can #define it on V.3.
4465 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
4466
44671988-04-26 Richard Stallman (rms at lucky-charms.ai.mit.edu)
4468
4469 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
4470 invalid escape sequences such as `\{'.
4471
4472 * loadst.c: Add `sequent' conditional for file dk.h.
4473
44741988-03-20 Richard M. Stallman (rms at wilson)
4475
4476 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
4477
4478 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
4479
4480;; Local Variables:
d19249e7 4481;; coding: iso-2022-7bit
6922b018 4482;; End: