* movemail.c (mail_spool_name): Protoize.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
c5443aa5
PE
12011-04-16 Paul Eggert <eggert@cs.ucla.edu>
2
5a9c1e26
PE
3 * movemail.c (mail_spool_name): Protoize.
4 (main): Remove unused var. Mark var as initialized.
5 Move locals to avoid shadowing, and use time_t for times.
6
cd52b244
PE
7 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
8 with void *. This avoids warnings about pointer casts.
9
c5443aa5
PE
10 * emacsclient.c (main): Don't use uninitialized var.
11 (IS_ANY_SEP): Remove; unused.
12 (get_current_dir_name): Add an extern decl.
13
41cf7d1a 142011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 15
41cf7d1a 16 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 17
41cf7d1a 18 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
19
20 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
21 (write_c_args): Use it to suppress GCC warning.
22
77861b95 232011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 24
77861b95 25 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
26 * etags.c (just_read_file): Remove dummy variable and simplify.
27
9af30bdf
GM
282011-03-27 Glenn Morris <rgm@gnu.org>
29
30 * emacsclient.c: Replace SIGTYPE with void.
31
9c88f339
JB
322011-03-23 Juanma Barranquero <lekktu@gmail.com>
33
34 * ntlib.c: Include <ctype.h>.
35
8cc1d519
GM
362011-03-23 Glenn Morris <rgm@gnu.org>
37
38 * Makefile.in ($(DESTDIR)${archlibdir}):
39 Use `install-sh -d' rather than mkinstalldirs.
40
c9c49752 412011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 42
b1f961e1
PE
43 * ebrowse.c: Use size_t, not int, for sizes.
44 This avoids a warning with gcc -Wstrict-overflow, and works
45 better for very large objects.
46 (inbuffer_size): Now size_t. All uses changed.
47 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
48 sizes. Don't bother testing whether a size_t value can be negative.
49
58cb46fb
PE
50 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
51
3ef271f2
PE
52 etags: In Prolog functions, don't assume int fits in size_t.
53 This avoids a warning with gcc -Wstrict-overflow.
54 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
55 not int, to store sizes.
56 (prolog_atom): Return 0, not -1, on error. All callers changed.
57
f0d80d43
PE
58 update-game-score: fix bug with -r
59 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
60 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
61 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
62 -Wstrict-overflow (GCC 4.5.2, x86-64).
63
d5cad867
PE
64 fakemail: Remove dependency on ignore-value.
65 This undoes some of the recent fakemail-related changes.
66 It is made possible due to recent changes to gnulib's stdio module.
67 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
68 * fakemail.c: Do not include ignore-value.h.
69 (put_line): Do not use ignore_value.
70
33383987
JB
712011-03-07 Chong Yidong <cyd@stupidchicken.com>
72
73 * Version 23.3 released.
74
0b973fc5
DW
752011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
76
77 * emacsclient.c (longopts): Add quiet.
78 (decode_options): Handle q/quiet.
79 (print_help_and_exit): Add q/quiet.
80 (main): Suppress some messages if quiet option is used.
81
a54af40e
EZ
822011-02-26 Eli Zaretskii <eliz@gnu.org>
83
00030ef0
EZ
84 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
85
a54af40e
EZ
86 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
87 (w32_getenv): Use xstrdup to return all values in malloc'ed
88 storage.
89
34e6d782
PE
902011-02-26 Paul Eggert <eggert@cs.ucla.edu>
91
6c0668d9
PE
92 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
93 to reader (and to the compiler) that the loop always executes at
94 least once. This prevents a warning with recent GCC.
9e1b7fe6 95 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 96
a4fe4e89
PE
97 * fakemail.c: Include <ignore-value.h>.
98 (put_line): Explicitly ignore fwrite return value, for benefit of
99 recent glibc + gcc.
100 (close_the_streams): Diagnose output errors instead of merely
101 exiting with nonzero status.
102 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
103 Formerly, input errors were silently ignored.
104
34e6d782
PE
105 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
106 All callers changed. This is cleaner, and avoids GCC warnings about
107 passing NULL to fputs.
70279bd1 108 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 109
564ff1f2
PE
1102011-02-25 Paul Eggert <eggert@cs.ucla.edu>
111
7e6bb4c9 112 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
113 (xstrdup): Remove; no longer needed.
114 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
115 (set_local_socket, main):
116 Use const char *, not char *, for pointers that are not assigned
117 through.
4be3dfc5
PE
118 (IF_LINT): New macro.
119 (set_local_socket, main): Use it to suppress warnings with
120 GCC -Wuninitialized.
7e6bb4c9 121
b0bbc07d
PE
122 * emacsclient.c: Redo local variables to avoid shadowing problems.
123 (message, socket_status, start_daemon_and_retry_set_socket):
124 Rename locals.
125 (main): Move decl of "i".
126
3f5e6230
PE
127 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
128 This avoids an unused-macro warning with some GCC settings.
129
564ff1f2
PE
130 * make-docfile.c (write_globals): Change char * to char const *
131 to avoid a GCC "assignment discards qualifiers" diagnostic
132 in some configurations.
8dfa32f6
PE
133 (scan_c_file): Refactor local variable decls to make their scope
134 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 135
b97decf2
EZ
1362011-02-22 Eli Zaretskii <eliz@gnu.org>
137
32e793fa
EZ
138 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
139
b97decf2
EZ
140 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
141 on ../lib/min-max.h.
142
f68c809d
PE
1432011-02-22 Paul Eggert <eggert@cs.ucla.edu>
144
e5075711
PE
145 etags: Downcase drive letters, for consistency with Emacs proper.
146 * etags.c (upcase): Remove; no longer used.
147 (canonicalize_filename): Downcase drive letters.
148
f68c809d
PE
149 Assume S_ISLNK etc. work, since gnulib supports this.
150 * etags.c (S_ISREG): Remove.
151
b97decf2
EZ
1522011-02-22 Paul Eggert <eggert@cs.ucla.edu>
153
154 Assume S_ISLNK etc. work, since gnulib supports this.
155 * etags.c (S_ISREG): Remove.
156
602a5739
JB
1572011-02-22 Juanma Barranquero <lekktu@gmail.com>
158
159 * makefile.w32-in (obj): Remove filemode.o.
160
b23b5a5b
PE
1612011-02-21 Paul Eggert <eggert@cs.ucla.edu>
162
ba01e9d7
PE
163 New file "lib/min-max.h".
164 * ebrowse.c (min, max): Define them by including <min-max.h>
165 instead of defining it ourselves.
166 * pop.c (min): Likewise.
d47d6319 167 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 168
f0939c31
PE
169 * movemail.c (popmail): Report fchown failure instead of ignoring it.
170 But if the file already has the right ownership, don't worry about it.
171
4df52042 172 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 173 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 174
27d41fb4 175 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 176 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
177 (DONE): Remove unused macro.
178 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
179 Define these macros only in the contexts that need them.
0d7fdc0e
PE
180 * pop.c (index): Remove unused macro.
181 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 182
b23b5a5b
PE
183 Declare file-scope functions and variables static if not exported.
184 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
185 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
186 * profile.c, test-distrib.c, update-game-score.c:
187 Declare non-'main' functions and variables to be static.
188 * ebrowse.c: Omit redundant function prototypes.
189
25c51af3
EZ
1902011-02-21 Eli Zaretskii <eliz@gnu.org>
191
192 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
193 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
194 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
195
e18c0aa3 1962011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
197
198 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
199 the new BVAR macro.
200
50a4e25a
JB
2012011-02-20 Juanma Barranquero <lekktu@gmail.com>
202
203 * makefile.w32-in (obj): Remove md5.o.
204
b166dcd8
KC
2052011-02-18 Karl Chen <Karl.Chen@quarl.org>
206
207 * emacsclient.c (main): Loop while `recv' return EINTR.
208
64df8c10
PE
2092011-02-09 Paul Eggert <eggert@cs.ucla.edu>
210
211 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
212 This avoids collision with config.h's EMACS_INT on some
213 configurations. All uses changed.
214
00b3c7ac
TT
2152011-02-08 Tom Tromey <tromey@redhat.com>
216
217 * make-docfile.c: Unconditionally include stdlib.h.
218 (generate_globals): New global.
219 (xrealloc): New function.
220 (main): Handle '-g'. Call start_globals, write_globals.
221 (scan_file): Conditionally call put_filename.
222 (start_globals): New function.
223 (struct global): New.
224 (num_globals, globals): New globals.
225 (add_global, compare_globals, write_globals): New functions.
226 (scan_c_file): Update for "-g".
227 (scan_lisp_file): Fail if "-g".
228
03fc768b
PE
2292011-02-05 Paul Eggert <eggert@cs.ucla.edu>
230
602a5739 231 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
232 (file_name_absolute_p): Accept const char *, not const unsigned
233 char *, to satisfy C89 rules.
234
d9f1f55e
EZ
2352011-02-02 Eli Zaretskii <eliz@gnu.org>
236
b166dcd8
KC
237 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
238 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 239 (obj): Remove strftime.o.
d9f1f55e 240
70b0d280
EZ
2412011-01-31 Eli Zaretskii <eliz@gnu.org>
242
243 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
244 (ECLIENT_CFLAGS): Remove -DVERSION.
245 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
246
16fab143
PE
2472011-01-31 Paul Eggert <eggert@cs.ucla.edu>
248
249 src/emacs.c now gets version number from configure.in
250 * ebrowse.c: Adjust comment to say that.
251
8aec9916
JM
2522011-01-30 Jim Meyering <meyering@redhat.com>
253
254 make-docfile: don't corrupt heap for an invalid .elc file
255 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
256 one byte before just-malloc'd saved_string buffer.
257 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
258 doc string length. Also fix an always-false while-loop test.
259
f915f0f7
EZ
2602011-01-29 Eli Zaretskii <eliz@gnu.org>
261
262 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
263 (GETOPTOBJS, GETOPTDEPS): Remove targets.
264 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
265 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
266 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
267 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
268 (clean): Don't remove getopt.h.
269 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
270 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
271 $(EMACS_ROOT)/lib/getopt.h.
272
2732011-01-28 Chong Yidong <cyd@stupidchicken.com>
274
275 * ntlib.c (setregid): New stub, renamed from setegid.
276
277 * ntlib.h: Update prototype.
278
06d8ace5 2792011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
280
281 * movemail.c (main): Use setregid instead of setegid, which is
282 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
283
9055082e
PE
2842011-01-23 Paul Eggert <eggert@cs.ucla.edu>
285
286 Check return values of some library calls.
287 * hexl.c (main): Check fread result.
288 * make-docfile.c (main): Check chdir result.
289 (scan_c_file): Check fscanf result.
290 * movemail.c (main): Check ftruncate result.
291
33fe4243 2922011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 293
4004364e
PE
294 Include <unistd.h> unilaterally.
295 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
296 * pop.c, test-distrib.c, update-game-score.c:
297 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
298 unistd.h is always present now, possibly supplied by gnulib.
299
613f7bda
PE
300 Include <getopt.h> not "getopt.h".
301 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
302 Since getopt.h is no longer in this directory, there's no point
303 using the form with double-quotes.
304
e275c824
PE
305 Remove unused files.
306 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
307 These files are now in ../lib, copied from gnulib.
308
309 Use gnulib's getopt-gnu module.
310 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
311 as these are now done by gnulib.
312 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
313 Remove; now done by gnulib. All uses removed.
314
9a514d4a
PE
315 Automate syncing from gnulib.
316 * Makefile.in (EXE_FILES): New macro.
317 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
318 for gnulib's .h files.
319 (LOADLIBES): Add ../lib/libgnu.a.
320 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
321 (../lib/libgnu.a): New rule.
322
72427c46
PE
3232011-01-08 Paul Eggert <eggert@cs.ucla.edu>
324
325 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
326
4967fa34
GM
3272011-01-08 Glenn Morris <rgm@gnu.org>
328
e7a42417
GM
329 * Makefile.in (EMACSOPT): Add --no-site-lisp.
330
4967fa34
GM
331 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
332
d7bfa7a1
GM
3332011-01-02 Glenn Morris <rgm@gnu.org>
334
335 * ebrowse.c (version) <emacs_copyright>:
336 * etags.c (print_version) <emacs_copyright>:
337 * rcs2log (Copyright): Set short copyright year to 2011.
338
da2b5401
JM
3392010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
340
341 * ebrowse.c (yylex): If end of input buffer encountered while
342 searching for a newline after "//", return YYEOF. (Bug#7446)
343
4a47c275 3442010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
345
346 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
347 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
348
f16cafe3
DN
3492010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
350
351 * test-distrib.c: Remove include guards for config.h and fcntl.h.
352 (O_RDONLY): Do not define.
353 (cool_read): Fix type for variable "sofar".
354
6a5c2175
GM
3552010-10-25 Glenn Morris <rgm@gnu.org>
356
357 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
358
17284e30
GM
3592010-10-23 Glenn Morris <rgm@gnu.org>
360
361 * digest-doc.c, sorted-doc.c: Remove files.
362 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
363 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
364 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
365 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
366 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
367 (install): Don't install digest-doc.exe or sorted-doc.exe.
368
a4daeecf
DN
3692010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
370
371 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
372
3fb78d1f
GM
3732010-10-09 Glenn Morris <rgm@gnu.org>
374
375 * b2m.c, b2m.pl: Remove files.
376 * Makefile.in (INSTALLABLES): Remove b2m.
377 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
378
4628bef1 3792010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
380
381 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
382 DARWIN_USER_TEMP_DIR. (Bug#3992)
383
f99d75f5
DN
3842010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
385
728a982d
DN
386 * test-distrib.c (cool_read):
387 * movemail.c (main, concat):
388 * make-docfile.c (scan_file, write_c_args):
602a5739 389 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
390 (egetenv): Move conditional definition earlier.
391 (progname): Use const.
392 * sorted-doc.c (xstrdup): Use const.
393
f99d75f5
DN
394 * Makefile.in: Remove ^L, old makes choke on it.
395
3ecb8d93
WS
3962010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
397
398 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
399 error string (Bug#6963).
400
54b65f7b
JB
4012010-10-02 Juanma Barranquero <lekktu@gmail.com>
402
403 * makefile.w32-in (tags): Remove target.
404
73077a9a
EZ
4052010-10-01 Eli Zaretskii <eliz@gnu.org>
406
407 * makefile.w32-in (tags, TAGS): New targets.
408
968ef9b4
JB
4092010-09-30 Juanma Barranquero <lekktu@gmail.com>
410
411 * emacsclient.c (get_server_config): Don't read Emacs pid from
412 the authentication file.
413
6ab88e02
JB
4142010-09-29 Juanma Barranquero <lekktu@gmail.com>
415
a69edb8a
JB
416 * makefile.w32-in (../src/config.h): Remove target, it is stale.
417
6ab88e02
JB
418 * emacsclient.c (main): Remove unused variables.
419 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
420
4c964351
UM
4212010-09-25 Ulrich Mueller <ulm@gentoo.org>
422
423 * etags.c (compressors, print_language_names): Support xz compression.
424
988e88ab
J
4252010-08-11 Jan Djärv <jan.h.d@swipnet.se>
426
70e31436 427 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 428 popen, fclose and pclose.
70e31436 429 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
430 (main): Remove extern getenv, mail_program_name is const char*.
431
988e88ab
J
432 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
433
434 * sorted-doc.c (error, fatal, states): Use const char *.
435
436 * pop.h (pop_multi_first): Use const char *.
437 (_ARGS): Remove.
438
70e31436 439 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
440
441 * movemail.c (fatal, error, concat): Use const char *.
442
b166dcd8
KC
443 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
444 Use const char *.
988e88ab
J
445
446 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
447 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
448 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
449 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
450 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
451 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
452 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
453 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
454 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
455 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
456 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
457 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
458 (no_lang_help, print_language_names)
459 (get_language_from_interpreter, get_language_from_filename)
460 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
461 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
462 (concat): Use const char*.
463
464 * emacsclient.c (message, sock_err_message, send_to_emacs)
465 (quote_argument, set_local_socket)
466 (start_daemon_and_retry_set_socket): Use const char*.
467
468 * ebrowse.c (struct member): filename, def_filename is const.
469 (struct sym): filename, sfilename is const.
470 (struct kw): name is const.
471 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
472
473 * b2m.c (concat, fatal): Use const char*.
474 (main): Don't assign labels a string literal.
475
0e9c8657
JB
4762010-08-07 Juanma Barranquero <lekktu@gmail.com>
477
478 * ebrowse.c (usage, version, mark_virtual):
479 Remove duplicate declarations.
480
0613f5d5
DN
4812010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
482
483 * emacsclient.c: Move socket related #includes together with the
70e31436 484 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
485 (HAVE_CONFIG_H): Remove.
486 (NO_RETURN): Remove, defined in config.h.
487 (main): Convert definition to standard C.
488
a94a477d
JB
4892010-07-29 Juanma Barranquero <lekktu@gmail.com>
490
491 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
492
35a7804d
JB
4932010-07-25 Juanma Barranquero <lekktu@gmail.com>
494
495 * emacsclient.c (getcwd): Fix previous change: make getcwd
496 conditional on HAVE_GETCWD and declare with the correct POSIX
497 profile (for some reason MinGW headers define its 2nd arg as int,
498 not size_t; but getcwd is not used on Windows nonetheless).
499
361358ea
JB
5002010-07-25 Juanma Barranquero <lekktu@gmail.com>
501
502 * emacsclient.c (getcwd, w32_getenv):
503 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
504
68441b90
DN
5052010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
506
087b38a0 507 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
508 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
509 * make-docfile.c (fatal):
510 * hexl.c (usage):
511 * fakemail.c (fatal):
512 * etags.c (fatal, suggest_asking_for_help, pfatal):
513 * emacsclient.c (fatal):
514 * b2m.c (fatal): Likewise.
515
554d39be
JB
5162010-07-23 Juanma Barranquero <lekktu@gmail.com>
517
518 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
519
7c3320d8
JB
5202010-07-20 Juanma Barranquero <lekktu@gmail.com>
521
522 * emacsclient.c (get_current_dir_name, w32_get_resource)
523 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
524 (close_winsock, initialize_sockets, w32_find_emacs_process)
525 (w32_give_focus):
526 * ntlib.c (getlogin, getuid, getgid, getegid):
527 Convert definitions to standard C.
528
e6cfa7c3
AS
5292010-07-12 Andreas Schwab <schwab@linux-m68k.org>
530
531 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
532 (PROFILING_LDFLAGS): Set from substitution.
533 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
534 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
535 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
536
f09e4c6b
EZ
5372010-07-12 Eli Zaretskii <eliz@gnu.org>
538
539 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
540 2010-07-12T05:25:46Z!handa@etlken).
541
8966b757
AS
5422010-07-11 Andreas Schwab <schwab@linux-m68k.org>
543
544 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
545 index, rindex.
546 * movemail.c (mail_spool_name, popmail): Likewise.
547 * pop.c (pop_list): Likewise.
548
994a7c3b
EZ
5492010-07-11 Eli Zaretskii <eliz@gnu.org>
550
a628ad9d 551 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
552 and unexw32.o. (Bug#6603)
553
c971758d
EZ
5542010-07-10 Eli Zaretskii <eliz@gnu.org>
555
556 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
557
91a7f76d
AS
5582010-07-09 Andreas Schwab <schwab@linux-m68k.org>
559
560 * make-docfile.c (write_c_args): Restructure scanning loop.
561
0508c67f
DN
5622010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
563
564 * make-docfile.c (write_c_args): Deal with type names in DEFUN
565 arguments.
566
0216627e
DN
5672010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
568
569 * update-game-score.c (P_): Remove macro.
570 * ebrowse.c: Remove include guards.
571 (P_): Remove macro.
572
72af86bd
AS
5732010-07-07 Andreas Schwab <schwab@linux-m68k.org>
574
575 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
576 memcpy, memmove, memset.
577 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
578
e2ad23ef
AS
5792010-07-06 Andreas Schwab <schwab@linux-m68k.org>
580
581 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
582 Include <string.h> if HAVE_STRING_H.
583 (strerror): Only declare if !HAVE_STRERROR.
584 (fatal): Make static.
585 (error): Likewise.
586 (pfatal_with_name): Likewise.
70e31436 587 (pfatal_and_delete): Likewise.
1725ae55
AS
588 (concat): Likewise.
589 (xmalloc): Likewise.
590 (popmail): Likewise.
591 (pop_retr): Likewise.
592 (mbx_write): Likewise.
593 (mbx_delimit_begin): Likewise.
594 (mbx_delimit_end): Likewise.
e2ad23ef 595
b8463cbf
DN
5962010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
597
598 * fakemail.c (action): Convert function definitions to standard C.
599 (add_a_stream):
600 * test-distrib.c (cool_read):
601 (main): Likewise.
602
a52a00a3
AS
6032010-07-03 Andreas Schwab <schwab@linux-m68k.org>
604
605 * sorted-doc.c (cmpdoc): Fix signature.
606 (qsort_compare): Delete.
607 (main): Remove cast.
608
35d99b72
JB
6092010-07-03 Juanma Barranquero <lekktu@gmail.com>
610
611 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
612
3a35a84c
JB
6132010-07-03 Juanma Barranquero <lekktu@gmail.com>
614
615 Fix prototype warnings.
616
617 * ebrowse.c (match_qualified_namespace_alias):
618 Pass sym* to find_namespace, not link*.
619
620 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
621
622 * sorted-doc.c (qsort_compare): New typedef.
623 (main): Use it to cast cmpdoc.
624
873fbd0b
DN
6252010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
626
627 * update-game-score.c: Convert function definitions to standard C.
628 * sorted-doc.c:
629 * profile.c:
630 * pop.c:
631 * movemail.c:
632 * make-docfile.c:
633 * hexl.c:
634 * fakemail.c:
635 * etags.c:
636 * ebrowse.c:
637 * digest-doc.c:
638 * b2m.c: Likewise.
639
c532d349
DN
6402010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
641
642 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
643 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
644 standard C prototypes.
645
f57e2426
J
6462010-07-02 Jan Djärv <jan.h.d@swipnet.se>
647
648 * ebrowse.c: Remove P_ and __P.
649 * etags.c:
650 * movemail.c:
651 * pop.c:
652 * update-game-score.c: Likewise.
653
3b3807f8
JB
6542010-06-24 Juanma Barranquero <lekktu@gmail.com>
655
656 * movemail.c (error): Avoid warning when there are no args.
657
5fee75d4
JB
6582010-06-11 Juanma Barranquero <lekktu@gmail.com>
659
660 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
661 and vc/ediff-hook.elc.
662
3085237c
DN
6632010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
664
665 * ntlib.h: Remove code dealing with BSTRING.
666
0191e222
CY
6672010-05-29 Chong Yidong <cyd@stupidchicken.com>
668
669 * emacsclient.c (longopts, decode_options, print_help_and_exit):
670 New arg `-parent-id'.
671 (main): Send parent-id to Emacs.
672
81ac4f35
GM
6732010-05-27 Glenn Morris <rgm@gnu.org>
674
675 * Makefile.in (distclean): No more Makefile.c.
676
4e3028f8
JD
6772010-05-22 Jan Djärv <jan.h.d@swipnet.se>
678
679 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
680 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
681 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
682 New rules (Bug #6246).
683 (clean): Remove stamp-* (Bug #6246).
684
44b031a6
GM
6852010-05-12 Glenn Morris <rgm@gnu.org>
686
687 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
688
acddf8ae
GM
6892010-05-11 Glenn Morris <rgm@gnu.org>
690
c88b05a9
GM
691 * Makefile.in (.m.o): Remove, there are no .m files.
692 (BASE_CFLAGS): New variable.
693 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
694 (check): Update the message.
695 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
696
d3b23034
GM
697 * Makefile.in: Convert comments to makefile format.
698
acddf8ae
GM
699 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
700 (config.h) [MSDOS]: Do not include.
701
7490175b
GM
7022010-05-10 Glenn Morris <rgm@gnu.org>
703
97efb629
GM
704 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
705 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
706 (NOT_C_CODE): Remove, no longer used.
707 (config.h) [!MSDOS]: No longer include.
708 (LOADLIBES): Use LIBS_SYSTEM as a variable.
709
7490175b
GM
710 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
711
7b42b29f
GM
7122010-05-08 Glenn Morris <rgm@gnu.org>
713
714 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
715
61a808e8
CY
7162010-05-07 Chong Yidong <cyd@stupidchicken.com>
717
718 * Version 23.2 released.
719
f6c0ee20
GM
7202010-05-06 Glenn Morris <rgm@gnu.org>
721
722 * Makefile.in: Minimize blessmail-related cpp usage.
723 (BLESSMAIL_TARGET): New variable.
724 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
725 (blessmail): Always define this rule.
726 (need-blessmail): New rule, split out from maybe-blessmail.
727 (maybe-blessmail): Use BLESSMAIL_TARGET.
728
49628785
GM
7292010-05-04 Glenn Morris <rgm@gnu.org>
730
731 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
732 @c_switch_system@, @c_switch_machine@.
733
7e10844c
DN
7342010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
735
736 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
737
4794a582
DN
7382010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
739
740 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
741 non-cpp section.
742
76bd8202
DN
7432010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
744
745 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
746 autoconf, not cpp.
747 (ALL_CFLAGS): Use them as make variables.
748
53cfe624 7492010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
750
751 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
752 for macros for nmake compatibility.
753
b372fceb
JB
7542010-04-03 Juanma Barranquero <lekktu@gmail.com>
755
756 Add stubs for Windows, required after CVE-2010-0825 change.
757 * ntlib.c (getgid, getegid, setegid): New stubs.
758 * ntlib.h (getgid, getegid, setegid): Declare them.
759
51a91f9d
CY
7602010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
761
b166dcd8
KC
762 * movemail.c (main): Check return values of setuid.
763 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
764 (CVE-2010-0825).
765
42a2c622
DN
7662010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
767
768 Remove extern errno declarations.
769 * movemail.c:
770 * etags.c:
771 * emacsclient.c: Remove extern errno declarations.
772
5e58e3a4
GM
7732010-03-20 Glenn Morris <rgm@gnu.org>
774
775 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
776 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
777 defining these as Makefile variables.
778 (LIBS_MOVE): Add LIBS_MAIL into this.
779 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
780
aded53ff
GM
7812010-03-18 Glenn Morris <rgm@gnu.org>
782
783 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
784 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
785 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
786
f8388570
TO
7872010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
788
789 * Makefile.in (uninstall): Handle the case where archlibdir does not
790 exist. (Bug#5720)
791
288f9fc0
CY
7922010-03-10 Chong Yidong <cyd@stupidchicken.com>
793
794 * Branch for 23.2.
795
f9b84f9f
CY
7962010-02-20 Kevin Ryde <user42@zip.com.au>
797
798 * etags.c (Scheme_functions): Don't loop past a null character
799 (Bug#5601).
800
c14902e0 8012010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 802
a628ad9d 803 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 804
6589a2f9
GM
8052010-01-11 Glenn Morris <rgm@gnu.org>
806
807 * ebrowse.c (version):
808 * etags.c (print_version):
809 * rcs2log (Copyright): Set copyright year to 2010.
810
03dcfe01
CY
8112009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
812
813 * makefile.w32-in: Use parenthesis for macros for nmake
814 compatibility.
815
5ce6e4f4 8162009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 817
f7e0618c 818 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
819 overlapping copy.
820
f6195dfb
DN
8212009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
822
823 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
824
b53f6df2
JB
8252009-10-15 Juanma Barranquero <lekktu@gmail.com>
826
827 * .gitignore: Add echolisp.tmp.
828
9fc3db2b
GM
8292009-10-15 Glenn Morris <rgm@gnu.org>
830
5f54cae6
GM
831 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
832
9fc3db2b
GM
833 * makefile.w32-in (echolisp): New rule.
834 (clean): Delete echolisp.tmp.
835
614bd9cf
EZ
8362009-09-27 Eli Zaretskii <eliz@gnu.org>
837
838 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
839 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
840 be consistent with src/Makefile.in.
841
24e9e996
SM
8422009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * update-game-score.c (main): Sort scores before trimming them,
845 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
846
c5a139ca
GM
8472009-09-09 Glenn Morris <rgm@gnu.org>
848
849 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
850 before creating directories and game score files.
851
a8a8ec61
GM
8522009-08-19 Glenn Morris <rgm@gnu.org>
853
0916a29e 854 * cvtmail.c: Remove file.
a8a8ec61
GM
855 * Makefile.in (UTILITIES): Remove cvtmail.
856 (cvtmail${EXEEXT}): Remove.
857
678bc1f5
CY
8582009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
859
860 * b2m.c (main): Ensure that each message ends in two newlines.
861
0a3472c7
JR
8622009-07-03 Jason Rumney <jasonr@gnu.org>
863
864 * emacsclient.c (w32_set_user_model_id): Use standard types.
865
f2d6b714
EZ
8662009-07-03 Eli Zaretskii <eliz@gnu.org>
867
868 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
869 src/Makefile.in did.
870
ff90fbde
JR
8712009-06-30 Jason Rumney <jasonr@gnu.org>
872
873 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
874 that is already loaded.
875 (w32_set_user_model_id): New function.
876 (main): Use it to associate emacsclient with emacs (bug#1849).
877
e0f59195
JM
8782009-06-29 Jim Meyering <meyering@redhat.com>
879
880 Remove useless if-before-free test.
881 * make-docfile.c (scan_lisp_file): Remove useless test.
882
f5f20f6c
DN
8832009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
884
885 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
886
70243478
CY
8872009-06-21 Chong Yidong <cyd@stupidchicken.com>
888
889 * Branch for 23.1.
890
fa44da6e
AR
8912006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
892
893 * mac-fix-env.m:
894 * Makefile.in (mac-fix-env): Remove.
895
a7f2b0b1
AR
8962006-06-06 David Reitter <david.reitter@gmail.com>
897
898 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
899
9dfda22f
JB
9002009-04-20 Juanma Barranquero <lekktu@gmail.com>
901
902 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
903 spacing is required in the message output, as the comment suggests).
904
24d5010d
CY
9052009-04-20 Chong Yidong <cyd@stupidchicken.com>
906
907 * emacsclient.c (print_help_and_exit): Clarify argument placement
908 for short option names.
909
6133a1a9
DN
9102009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
911
912 * emacsclient.c (print_help_and_exit): Fix typo.
913
22749e9a
EZ
9142009-03-21 Eli Zaretskii <eliz@gnu.org>
915
916 * ntlib.c (setuid): Argument is now unsigned.
917 (getuid): Return value is now unsigned.
918 (getpwuid): Argument is now unsigned.
919 (fchown): UID and GID arguments are now unsigned.
920
921 * ntlib.h (fchown): UID and GID arguments are now unsigned.
922 (getuid): Return value is now unsigned.
923 (setuid): Argument is now unsigned.
924 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
925
b57ac69d 9262009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
927
928 * emacsclient.c (main): Revert part of last change, so
929 drive-relative file names again work on Windows.
930
ba528748
SM
9312009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
934 names without prepending cwd to them, so Emacs uses its customary
935 rules to determine how to interpret the file name.
936
f213f2c0
GM
9372009-03-04 Glenn Morris <rgm@gnu.org>
938
939 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
940
8ee7d7be
CY
9412009-02-13 Sven Joachim <svenjoac@gmx.de>
942
943 * movemail.c: Include time.h unconditionally.
944 (main): Use time_t for time variables.
945
d228a23c
GM
9462009-02-11 Glenn Morris <rgm@gnu.org>
947
948 * movemail.c (mbx_delimit_begin): Also write the current time.
949
3f32be22
GM
9502009-02-10 Glenn Morris <rgm@gnu.org>
951
952 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
953 than Babyl format. (Bug#2196)
954
e7534fc4
AR
9552009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
956
957 * emacsclient.c (decode_options): Use a dummy display name under
958 NS/Cocoa.
959
9eb67dd9
CY
9602009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
961
962 * ebrowse.c (matching_regexp): Fix OB1 error.
963
b433a991
GM
9642009-01-05 Glenn Morris <rgm@gnu.org>
965
966 * ebrowse.c (version):
967 * etags.c (print_version):
968 * rcs2log (Copyright): Update copyright for 2009.
969
81f82586
CY
9702009-01-01 Chong Yidong <cyd@stupidchicken.com>
971
972 * movemail.c (main): Fatal if hard links cannot be created.
973
fd95644b
DN
9742008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
975
976 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
977 checking.
978
67c1df01
DN
9792008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
980
981 * emacsclient.c: Include syswait.h instead of sys/types.h.
982
f0131492 9832008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 984
d4835507
JB
985 * emacsclient.c (WCONTINUED): New compatibility define
986 for older systems.
5445ab06 987
d50299d5
DN
9882008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
989
990 * emacsclient.c (main): Fix previous change.
991
52016647
JB
9922008-12-10 Juanma Barranquero <lekktu@gmail.com>
993
994 * emacsclient.c (main): Fix mindless breakage where emacsclient
995 does not work *at all* on Windows, even if it *can* connect.
996
802bdb3c
DN
9972008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
998
999 * emacsclient.c (EMACS_DAEMON): Remove definition.
1000 (decode_options): Do not allow an empty alternate_editor on
1001 WINDOWSNT.
1002 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1003 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 1004 (main): Fail in case of not being able to connect.
802bdb3c 1005
c3f995a2
JB
10062008-12-10 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1009 Changes when EMACS_DAEMON is not defined:
1010 (print_help_and_exit): Don't add daemon information to help.
1011 (start_daemon_and_retry_set_socket): Make a no-op.
1012 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1013
636b507b
DN
10142008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1015
1016 * emacsclient.c (print_help_and_exit): Describe what an empty
1017 string argument does for --alternate-editor.
1018 (set_socket): Make it possible to not exit in case of an error.
1019 (start_daemon_and_retry_set_socket): New function.
1020 (main): Use it. Restore the NULL value for socket_name and
1021 server_file after the set_socket call.
1022
448d4085
DN
10232008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1024
7b641241 1025 * emacsclient.c: Include <arpa/inet.h>.
448d4085 1026
938ebc4f
DN
10272008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1028
1029 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1030
3d864325
GM
10312008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1032
1033 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1034
48c2dc68
CY
10352008-11-02 Chong Yidong <cyd@stupidchicken.com>
1036
1037 * emacsclient.c (window_system): Delete redundant variable.
1038 (decode_options): Don't use it.
1039 (find_tty): New function.
1040 (main): Use find_tty, and don't use window_system.
1041
d41784ee
EZ
10422008-11-01 Eli Zaretskii <eliz@gnu.org>
1043
1044 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1045 `ttyname'.
1046 (w32_getenv): Treat $TERM specially: if not found in the
1047 environment and in the Registry, return "w32console".
1048 (ttyname) [WINDOWSNT]: New function.
1049
322ca650
AS
10502008-10-31 Andreas Schwab <schwab@suse.de>
1051
1052 * emacsclient.c (main): Don't force sending tty when in eval mode.
1053
8a8a7cd3
CY
10542008-10-30 Chong Yidong <cyd@stupidchicken.com>
1055
1056 * emacsclient.c (main): If using the current frame, send tty
1057 information to Emacs in case daemon mode needs to occupy this tty.
1058
f8baa639
JB
10592008-10-29 Juanma Barranquero <lekktu@gmail.com>
1060
bc558f3e
JB
1061 * emacsclient.c (EXTRA_SPACE): New macro.
1062 (get_server_config, set_local_socket): Use it.
1063
f8baa639
JB
1064 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1065 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1066
f77b11a0
JB
10672008-10-29 Ulrich Mueller <ulm@gentoo.org>
1068
1069 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1070 instead of hardcoded /tmp.
1071
dc1cd5f7
DN
10722008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1073
1074 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1075 (decode_options): Use getopt_long_only.
1076
7a09249b
EZ
10772008-09-30 Eli Zaretskii <eliz@gnu.org>
1078
1079 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1080 codepage.elc.
1081
997ec957
CY
10822008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1083
1084 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1085 terminal (bug#427).
1086
0d80bf29
FP
10872008-08-25 Francesco Potortì <pot@gnu.org>
1088
1089 * etags.c (main): Do not use static space for the tagfile string.
1090
34a23e94
FP
10912008-08-17 Francesco Potortì <pot@gnu.org>
1092
1093 * etags.c (main): Use canonicalize_filename on tags file name.
1094 (relative_filename): Revert 3.85: do not collapse slashes here.
1095 (absolute_dirname): Remove useless call to canonicalize_filename.
1096 (canonicalize_filename): Collapse multiple slashes here.
1097
48fad8e8
DN
10982008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1099
10d1d0af
JB
1100 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1101 Do not special case for NS_IMPL_COCOA.
48fad8e8 1102
6088b51f 11032008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
1104
1105 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1106 (.m.o): Dispense with GNUstep-specific flags.
1107
39b8bb9b
CY
11082008-08-05 Ulrich Mueller <ulm@gentoo.org>
1109
1110 * pop.c (socket_connection): Add conditionals for
1111 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1112 compilation with MIT Kerberos and Heimdal, respectively.
1113
7c2fb837
DN
11142008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1115
1116 * etags.c:
1117 * emacsclient.c: Remove VMS support.
1118
9e2a2647
DN
11192008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1120
1121 Remove support for Mac Carbon.
1122 * makefile.w32-in:
1123 * emacsclient.c: Remove code for Carbon.
1124
7f619bab
DN
11252008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1126
1127 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1128
32cc3925
AS
11292008-07-17 Andreas Schwab <schwab@suse.de>
1130
1131 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1132 (LIB_STANDARD_LIBSRC): Don't define.
1133 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1134
ba60bd44 11352008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
1136
1137 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1138 NS_IMPL_COCOA.
1139
50863f58
DN
11402008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1141
ba60bd44
JB
1142 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1143 Remove, unused.
50863f58 1144
ba60bd44 11452008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
1146
1147 * .cvsignore: Add mac-fix-env.
1148 * mac-fix-env.m: New file, automatically update
1149 ~/.MacOSX/environment.plist on OS X systems to expose environment
1150 variables inside Emacs started from icon.
1151 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1152 programs to build.
1153 * make-docfile.c: Add .m to list of file extensions.
1154
bba104c1
DN
11552008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1156
1157 * movemail.c (main): Use int instead of WAITTYPE.
1158
da007124
JB
11592008-07-05 Juanma Barranquero <lekktu@gmail.com>
1160
1161 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1162 Remove vmsproc.el and vms-patch.el.
1163
c9fc02c7
JB
11642008-06-26 Juanma Barranquero <lekktu@gmail.com>
1165
1166 * makefile.w32-in (obj): Remove w32bdf.o.
1167
f2a77c3a
DN
11682008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1169
1170 * fakemail.c: Remove references to obsolete variables.
1171
c2cd06e6
JM
11722008-06-02 Jim Meyering <meyering@redhat.com>
1173
e914c409 1174 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 1175
e914c409 1176 Remove useless if-before-free tests.
70fdbb46
JM
1177 * ebrowse.c (xfree): Likewise.
1178 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 1179 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 1180 * pop.c (pop_quit): Likewise.
c2cd06e6 1181
01b996ad
JB
11822008-05-30 Juanma Barranquero <lekktu@gmail.com>
1183
1184 * makefile.w32-in (lisp2): Add minibuffer.elc.
1185
2926947a
SM
11862008-05-29 Tom Tromey <tromey@redhat.com>
1187
1188 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1189
10fea9c4
EZ
11902008-05-09 Eli Zaretskii <eliz@gnu.org>
1191
1192 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1193 (IS_DIRECTORY_SEP): New macro.
1194 (convert_time, is_exec, stat): New functions.
1195
86914123
EZ
11962008-05-08 Eli Zaretskii <eliz@gnu.org>
1197
1198 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1199
58bb7d50
EZ
12002008-05-03 Eli Zaretskii <eliz@gnu.org>
1201
1202 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1203 corresponding change in src/Makefile.in.
1204
63b9b605
GM
12052008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1206
1207 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1208
4429f88c
JR
12092008-04-10 Jason Rumney <jasonr@gnu.org>
1210
1211 * makefile.w32-in (CLIENTRES): New variable and target.
1212 (TRES): Remove.
1213 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1214
14b11401
SM
12152008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1218
95de358c
RF
12192008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1220
1221 * vcdiff: Use mktemp (CVE-2008-1694).
1222
6948400c
JR
12232008-04-09 Jason Rumney <jasonr@gnu.org>
1224
1225 * makefile.w32-in (distclean, maintainer-clean): New targets.
1226
afd27920
GM
12272008-03-13 Glenn Morris <rgm@gnu.org>
1228
1229 * makefile.w32-in (VERSION): Set to 23.0.60.
1230
3d193d0f
JB
12312008-03-04 Juanma Barranquero <lekktu@gmail.com>
1232
1233 * .cvsignore: Add oo.
1234
1797886f
SM
12352008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1236
1237 * etags.c (Perl_functions): Fix call to skip_spaces.
1238
9d2818d6
DN
12392008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1240
1241 * Makefile.in (NO_SHORTNAMES):
1242 * emacsclient.c (NO_SHORTNAMES):
1243 * fakemail.c (NO_SHORTNAMES):
1244 * make-docfile.c (NO_SHORTNAMES):
1245 * movemail.c (NO_SHORTNAMES):
1246 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1247
79d48c1a
JR
12482008-02-23 Jason Rumney <jasonr@gnu.org>
1249
1250 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1251 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1252 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1253 (lisp2): Add new languages.
1254 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1255
9c61c734
JB
12562008-02-22 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1259 malayalam.el, and tamil.el. Add sinhala.el.
1260
50f271cb
JB
12612008-02-20 Juanma Barranquero <lekktu@gmail.com>
1262
1263 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1264 where NAME is relative to DRIVE'S current directory.
1265
d07529f3
JB
12662008-02-15 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1269
45c1955d
DN
12702008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1271
1272 * fakemail.c: Undo previous change.
1273
deeaffe1
DN
12742008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1275
4624371d
DN
1276 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1277 (main): Replace MAIL_PROGRAM_NAME with its value.
1278
d07529f3 1279 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1280
9997dc15
SM
12812008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacsclient.c (decode_options): Pass --display implicitly if -c
1284 is specified. Only set tty if -t or -c is specified.
1285
0c55bf82
JR
12862008-02-04 Jason Rumney <jasonr@gnu.org>
1287
1288 * makefile.w32-in (lisp1): Use (), not {}.
1289
31cdf671
CY
12902008-02-04 Tom Tromey <tromey@redhat.com>
1291
d07529f3
JB
1292 * etags.c: Add "GTY" as synonym for __attribute__.
1293 Update gperf output.
31cdf671 1294
9303f985 12952008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1296
c4cc8b9a 1297 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1298 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1299 (WINNT_SUPPORT): Add term/w32-win.elc.
1300 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1301
9303f985 13022008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1303
d07529f3 1304 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1305
d07529f3 13062008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1307
290afd83 1308 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1309 utf-8.elc, and latin-*.el.
1310
0ea5797a
SM
13112008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1312
bcc891c2 1313 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1314 Allow the -d option under w32 again, for those rare cases where it
1315 actually does make sense.
1316
5ab73228
JB
13172008-01-25 Juanma Barranquero <lekktu@gmail.com>
1318
1319 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1320 the authentication string; there's no need to haste.
1321
702123a8
CY
13222008-01-22 Chong Yidong <cyd@stupidchicken.com>
1323
1324 * pop.c (pop_stat, pop_last): Fix last fix.
1325
76ed5e01
DN
13262008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1327
1328 * movemail.c: Remove references to XENIX.
1329
e39a993c
DN
13302008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1331
1332 * movemail.c:
1333 * make-docfile.c: Remove reference to symbols defined by systems
1334 not supported anymore: MAC_OS8, XENIX and STRIDE.
1335
0ebec7d3
EZ
13362008-01-12 Eli Zaretskii <eliz@gnu.org>
1337
1338 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1339 of DISPLAY in the environment. Don't support -d.
1340 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1341 (longopts) [WINDOWSNT]: Remove --display.
1342
6eae3ad4
CY
13432008-01-10 Chong Yidong <cyd@stupidchicken.com>
1344
1345 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1346 conversion. Mistakes spotted by Nico Golde.
1347
78da39c6
GM
13482008-01-09 Glenn Morris <rgm@gnu.org>
1349
1350 * emacsclient.c: Add missing final newlines to message calls.
1351
34a14ec9 13522008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1353
1354 * emacsclient.c (set_socket): Add final newline to socket error message.
1355
a408ea17
GM
13562008-01-04 Glenn Morris <rgm@gnu.org>
1357
07655e62
JB
1358 * ebrowse.c (version) <emacs_copyright>: New variable.
1359 Just use current year for copyright.
a408ea17
GM
1360
1361 * etags.c (print_version):
1362 * rcs2log (Copyright): Update to 2008.
1363
0dc7a8bc
JR
13642007-11-28 Jason Rumney <jasonr@gnu.org>
1365
1366 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1367
880820fe 13682007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1369
1370 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1371
880820fe 13722007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1373
1374 * pop.c (socket_connection): Move realhost out of #ifdefs.
1375 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1376
880820fe 13772007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1378
1379 * pop.c (socket_connection): Use getaddrinfo if available.
1380
880820fe 13812007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1382
65841dd8 1383 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1384 as the defaults in ctags are different from etags.
63f018cd 1385
880820fe 13862007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1387
1388 * etags.c: Make prototypes for extern definitions, and add all
1389 that are needed to quench warnings on 64-bit.
1390 (main): Use the same defaults for ctags as for etags: find
1391 typedefs, structure tags, macro constants, enum constants, struct
1392 members and global variables.
1393 (make_C_tag) [DEBUG]: Add debugging printout.
1394 (C_entries): In case '}' decrement bracelev before testing it.
1395
7455effc
FP
13962007-11-15 Masatake YAMATO <jet@gyve.org>
1397
1398 * etags.c (C_entries): In case '}', set fvdef to fvnone
1399 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1400
04a697fe
DN
14012007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1402
1403 * makefile.w32-in (obj): Remove sunfns.o.
1404
a2666217
JB
14052007-10-28 Juanma Barranquero <lekktu@gmail.com>
1406
1407 * makefile.w32-in (obj): Remove abbrev.o.
1408
7ce8671d
JB
14092007-10-26 Juanma Barranquero <lekktu@gmail.com>
1410
1411 * emacsclient.c: Add a wrapper for getenv so it also checks the
1412 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1413 Code partially based on w32_get_resource and init_environment (w32.c).
1414 (egetenv): New wrapper for getenv.
1415 (get_current_dir_name, decode_options, get_server_config)
1416 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1417 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1418
d22b00e5
JR
14192007-10-25 Jason Rumney <jasonr@gnu.org>
1420
1421 * emacsclient.c (sock_err_message): New function.
1422 (set_tcp_socket): Use it.
1423
c4b858e3
JB
14242007-10-09 Juanma Barranquero <lekktu@gmail.com>
1425
1426 * emacsclient.c (print_help_and_exit): Fix space to improve
1427 alignment in output messages.
1428
dbf60b07
JR
14292007-09-27 Jason Rumney <jasonr@gnu.org>
1430
1431 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1432
1433 * emacsclient.c (w32_window_app): Init common controls when windowed.
1434
165e85b2
GM
14352007-09-21 Glenn Morris <rgm@gnu.org>
1436
1437 * emacstool.c: Remove file.
1438 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1439 Delete targets built from emacstool.
1440
c1b8e896
SM
14412007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * emacsclient.c (decode_options): -t implies -c.
1444
cb06b8dc
SM
14452007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1448 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1449 (main_argc): Remove.
1450 (strprefix): Use strncmp.
1451
c801ad51
JR
14522007-09-20 Jason Rumney <jasonr@gnu.org>
1453
1454 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1455
31fa6595
SM
14562007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * emacsclient.c (current_frame): Change the default.
1459 (longopts): Replace --current-frame by --create-frame.
1460 (decode_options): Reverse the meaning of -c.
1461 (print_help_and_exit): Update help text accordingly.
1462 (main): Remove the -version and -good-version messages.
1463
58573230
GM
14642007-09-12 Glenn Morris <rgm@gnu.org>
1465
1466 * Makefile.in (SOURCES, unlock, relock): Delete.
1467
bfd9ce71
GM
14682007-08-29 Glenn Morris <rgm@gnu.org>
1469
1470 * makefile.w32-in (VERSION): Increase to 23.0.50.
1471
8d9cc0b7
MB
14722007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1473
1474 * emacsclient.c (w32_execvp): Move definition before use.
1475 (decode_options): Don't use a tty on mac carbon or windows.
1476
14772007-08-29 Jason Rumney <jasonr@gnu.org>
1478
31fa6595 1479 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1480 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1481 (main): Expand removed macros inline.
1482 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1483 option.
1484 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1485
880820fe 14862007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1487
1488 * emacsclient.c (signal.h): New include.
1489 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1490 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1491 Copy definitions here from src/lisp.h.
1492 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1493 (longopts): Add tty, current-frame.
1494 (xmalloc, xstrdup): New functions.
1495 (get_current_dir_name): New function, copied from src/sysdep.c.
1496 (decode_options): Set display from environment. Add tty and
1497 current_frame options. Make --no-wait imply --current-frame,
1498 except when it is the only option given. Make sure no frame is
1499 opened when --current-frame is set.
1500 (print_help_and_exit): Document tty and current-frame options.
1501 (fail): Change arguments to void.
1502 (main): When sockets are not defined, set main_argc, main_argv,
1503 and call fail() with no arguments.
1504 (emacs_socket): New variable (moved out from main `s').
1505 (quote_file_name): Rename to quote_argument.
1506 (quote_argument): New name for old quote_file_name.
1507 (unquote_argument, strprefix, pass_signal_to_emacs)
1508 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1509 (set_local_socket): Initialize saved_errno to 0. If socket-name
1510 is too long, call `fail' rather than `exit'.
1511 (main): Doc update. Set main_argc, main_argv. New var `str'.
1512 Don't need a filename or argument if tty or window_system set.
1513 Call fail with no arguments. Use get_current_dir_name to send
1514 over the current directory. Send version number to Emacs for
1515 verification. If tty is set, check TERM, and pass name and type
1516 to Emacs. Pass window_system to Emacs. Move sending of eval to
1517 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1518 fflush. Check for a client/server version match.
1519 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1520 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1521 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1522 environment and pwd to Emacs. Send current-frame to Emacs.
1523
ca4ea90f
EZ
15242007-08-25 Eli Zaretskii <eliz@gnu.org>
1525
1526 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1527 Prepend "-" to the command, in case srcdir=. and file is copied
1528 into itself.
1529
cacc7b51
GM
15302007-07-25 Glenn Morris <rgm@gnu.org>
1531
1532 * Relicense all FSF files to GPLv3 or later.
1533
1534 * COPYING: Switch to GPLv3.
1535
880820fe 15362007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1537
1538 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1539 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1540 (print_help): Use it in if() rather than #if.
1541 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1542
9724908a
EZ
15432007-07-16 Eli Zaretskii <eliz@gnu.org>
1544
1545 * makefile.w32-in (clean): Don't delete *~.
1546
5cf9ca93
GM
15472007-06-07 Glenn Morris <rgm@gnu.org>
1548
1549 * etags.c (print_version): Add `emacs_copyright' string, for
1550 easier automatic updating.
1551
880820fe 15522007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1553
1554 * etags.c: Extern definitions of some more pointer functions for
1555 standalone compilation, especially important for 64bit platforms.
1556 (main, print_help): --members is now the default for etags.
1557 (C_entries): Parse start of C comment as a space == end of token.
1558 This is not necessary for C++ comment, already parsed as newline.
1559
07016031
GM
15602007-04-26 Glenn Morris <rgm@gnu.org>
1561
1562 * makefile.w32-in (VERSION): Increase to 22.1.50.
1563
7dfc4cda
CY
15642007-06-02 Chong Yidong <cyd@stupidchicken.com>
1565
1566 * Version 22.1 released.
1567
880820fe 15682007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1569
d620ddb3 1570 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1571
0971f887
GM
15722007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1573
1574 * Makefile.in (EMACS, EMACSOPT): New variables.
1575 (blessmail): Use `--no-site-file' when compiling.
1576
880820fe 15772007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1578
1579 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1580 (main): Now --members is the default for etags, not for ctags yet.
1581
d881944f 15822007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1583
47dad44f 1584 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1585 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1586 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1587 import, package, extends, implements and interface to be treated
1588 specially for all kinds of C-style files, not just Java files.
1589
880820fe 15902007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1591
47dad44f 1592 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1593 (no_duplicates): Static variables for the above option.
1594 (print_help): Do not print help for --no-warn, now undocumented.
1595 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1596 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1597
880820fe 15982006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1599
1600 * etags.c (readline): When creating a relative file name from a
1601 #line directive, leave the file name alone. The previous
a7c29764 1602 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1603 under the hypothesis that the #line directive file name was
1604 relative to the directory of the tagged file. That hypothesis is
1605 wrong with Cpp and Lex.
17d5f8a6 1606 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1607
5e059fc1
EZ
16082006-12-22 Eli Zaretskii <eliz@gnu.org>
1609
1610 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1611 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1612 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1613 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1614 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1615 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1616 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1617 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1618 (clean): Delete stamp_BLD.
5e059fc1 1619
880820fe 16202006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1621
1622 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1623
0e0dced5
JB
16242006-12-18 Juanma Barranquero <lekktu@gmail.com>
1625
1626 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1627 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1628 (main) [WINDOWSNT]: Remove code to release the focus; call
1629 w32_give_focus instead.
1630
4472aef4
JB
16312006-12-15 Juanma Barranquero <lekktu@gmail.com>
1632
1633 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1634 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1635 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1636 Suggestions and comment by Eli Zaretskii.
1637
12f7728e 16382006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1639
1640 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1641 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1642
310afa17
JB
16432006-11-30 Juanma Barranquero <lekktu@gmail.com>
1644
1645 * emacsclient.c (emacs_pid): New variable.
1646 (message): Remove leftover code.
1647 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1648 focus yet; emacsclient can still display an informational message
1649 before sending requests to Emacs.
1650 (main): Allow Emacs to grab the focus. Simplify message() call.
1651
16522006-11-30 Michael Mauger <mmaug@yahoo.com>
1653
1654 * emacsclient.c (message): Make sure the message is properly
1655 written even if it contains printf escapes, and flush the result.
1656 (set_tcp_socket): Make the message for non-local connections
1657 informational rather than an error.
1658
8c57275b 16592006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1660
1661 * etags.c (readline): Check for double quote after #line.
1662
880820fe 16632006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1664
1665 * etags.c (readline): sscanf could in principle return 2.
1666
880820fe 16672006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1668
1669 * etags.c (readline): lno is unsigned.
1670 (TeX_commands): Use p++ (rather than *p++) to increment p.
1671 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1672
4d91c8f9
JB
16732006-11-27 Juanma Barranquero <lekktu@gmail.com>
1674
1675 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1676 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1677 ($(BLD)/emacsclientw.exe): Add dependency.
1678
340d34a5
EZ
16792006-11-27 Eli Zaretskii <eliz@gnu.org>
1680
d620ddb3 1681 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1682
7dce1990
JB
16832006-11-25 Juanma Barranquero <lekktu@gmail.com>
1684
1685 * makefile.w32-in (VERSION): New macro.
1686 (ECLIENT_CFLAGS): Add -DVERSION.
1687
410797a5 16882006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1689
1690 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1691
410797a5 16922006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1693
4472aef4
JB
1694 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1695 file names with forward slashes.
cb0297bb 1696
30aa95ce
JB
16972006-11-23 Juanma Barranquero <lekktu@gmail.com>
1698
1699 * emacsclient.c (print_help_and_exit): Tweak message contents and
1700 tabs/spaces to improve alignment in message boxes.
1701
42073bfb
JB
17022006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1703
1704 * emacsclient.c: Include <stdarg.h>.
1705 [WINDOWSNT]: Include <windows.h>.
1706 (w32_check_console_app): New function.
1707 (message): New function.
1708 (decode_options, print_help_and_exit, fail, main)
1709 (initialize_sockets, get_server_config, set_tcp_socket)
1710 (set_local_socket, set_socket): Use message().
1711
32dd9283 17122006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1713
32dd9283
JR
1714 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1715 HAVE_INET_SOCKETS.
1716
1bbea9fc
JB
17172006-11-13 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1720 ($(BLD)/emacsclientw.exe): New target.
1721 (install): Install emacsclientw.exe.
1722 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1723 (ECLIENT_CFLAGS): Remove redundant flags.
1724
1725 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1726
a48db427
JR
17272006-11-13 Jason Rumney <jasonr@gnu.org>
1728
1729 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1730
21f89bb7 17312006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1732
1733 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1734
d5abc12c
JB
17352006-11-08 Juanma Barranquero <lekktu@gmail.com>
1736
ed4a3730
JB
1737 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1738 FARPROC to avoid a compiler warning.
d5abc12c 1739
18b8c421
JB
17402006-11-07 Juanma Barranquero <lekktu@gmail.com>
1741
88b46d84
JB
1742 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1743 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1744
18b8c421
JB
1745 * emacsclient.c (get_server_config): Extract also the Emacs pid
1746 from the server file. On Windows, try to force the Emacs frame to
1747 the foreground.
1748
b03d27bd
JB
17492006-11-06 Juanma Barranquero <lekktu@gmail.com>
1750
21f89bb7 1751 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1752 option --socket-name.
1753 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1754 command line options.
21f89bb7 1755 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1756 (fail): Don't check for missing arguments, it is now done in set_socket.
1757 (file_name_absolute_p): New function (loosely based on the one in
1758 fileio.c).
1759 (initialize_sockets): Don't check for duplicate loading of Winsock.
1760 (get_server_config): Only try relative paths in the default
1761 directory locations.
1762 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1763 a remote server.
1764 (set_socket): Call INITIALIZE(). Search explicit command-line
1765 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1766 socket paths, before trying the alternate editor.
1767 (main): Use file_name_absolute_p.
1768
b20d6154
EZ
17692006-11-04 Eli Zaretskii <eliz@gnu.org>
1770
1771 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1772 file if it doesn't already exist.
1773
9c92edca
JB
17742006-11-03 Juanma Barranquero <lekktu@gmail.com>
1775
1776 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1777 more than once.
1778
b6ce9c46
JB
17792006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1780
1781 * Makefile.in (INSTALL_SCRIPT): New macro.
1782 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1783
4418616b
JB
17842006-11-02 Juanma Barranquero <lekktu@gmail.com>
1785
1786 * grep-changelog: When called with no arguments (not even a
1787 filter), show help instead of blindingly dumping every single
1788 ChangeLog available. Doc fix. Update version.
1789
1e7823d0
JB
17902006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1791
1792 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1793 [!WINDOWSNT]: Include <netinet/in.h> if available.
1794 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1795 (IOCTL, IOCTL_BOOL_ARG): Remove.
1796 (set_tcp_socket): Don't set the socket in blocking mode.
1797 Remove c_arg.
1798
ebc20ca0
JB
17992006-11-01 Juanma Barranquero <lekktu@gmail.com>
1800
1801 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1802 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1803
880820fe 18042006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1805
1806 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1807 (close_winsock): Declare as __cdecl.
1808
880820fe 18092006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1810
1811 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1812 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1813 to set the socket in non-blocking mode.
1814
e35fc962
JB
18152006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1816
d4fa60c8 1817 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1818 (INVALID_SOCKET): Define.
1819 (initialize_sockets): Put #endif at the right place.
1820 (set_local_socket): Use progname, not argv[0].
1821
ecc54057
JB
18222006-10-31 Juanma Barranquero <lekktu@gmail.com>
1823
1824 * makefile.w32-in (ALL): Add emacsclient.
1825 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1826 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1827 (install): Install emacsclient.
1828
1829 * emacsclient.c: Add support for TCP sockets.
1830 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1831 (INITIALIZE): New macros.
1832 (IOCTL_BOOL_ARG): New typedef.
1833 (server_file): New global variable.
1834 (longopts): New option --server-file.
1835 (decode_options): Process new option --server-file and environment
1836 variable EMACS_SERVER_FILE.
1837 (print_help_and_exit): Document new option.
1838 (fail): If no connection available and no alternate editor,
1839 suggest using options to make them explicit.
1840 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1841 (send_buffer, sblen): New variables.
31fa6595 1842 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1843 (quote_file_name): Use SEND_STRING.
1844 (close_winsock, initialize_sockets): New functions to load and
1845 unload Winsock.
1846 (get_server_config, set_tcp_socket): New functions to create and
1847 set up TCP sockets.
1848 (set_local_socket): New function to create and set up Unix
1849 socket (code moved from previous implementation).
10d1d0af 1850 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1851 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1852 set_local_socket. Use set_socket. Get answers from server.el with
1853 recv(), not file stream functions.
1854
70846e2a
EZ
18552006-10-09 Eli Zaretskii <eliz@gnu.org>
1856
1857 * makefile.w32-in (../src/config.h): Fix error message.
1858
e2247cd0
EZ
18592006-09-30 Eli Zaretskii <eliz@gnu.org>
1860
1861 * .cvsignore: Add blessmail.
1862
45a2056c
JB
18632006-09-15 Jay Belanger <belanger@truman.edu>
1864
1865 * COPYING: Replace "Library Public License" by "Lesser Public
1866 License" throughout.
1867
880820fe 18682006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1869
ecc54057 1870 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1871 (readline): Change position on %n and \" in sscanf.
1f4edc37 1872
1520a816
JD
18732006-08-07 Masatake YAMATO <jet@gyve.org>
1874
ecc54057
JB
1875 * etags.c (readline): Expect sscanf returns 2, not 1.
1876
867cc23e
JD
18772006-08-07 Masatake YAMATO <jet@gyve.org>
1878
9984b9d5 1879 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1880 File ended without newline causes infinite loop.
1881
6088b51f 18822006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1883
ecc54057 1884 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1885
880820fe 18862006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1887
1888 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1889 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1890 (Objc_suffixes): Suggest using --lang=c for full help.
1891 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1892
116e754b
AS
18932006-07-20 Andreas Schwab <schwab@suse.de>
1894
1895 * fakemail.c (fatal): Drop second parameter and treat first
1896 parameter as a plain string. Callers changed.
1897
2381d38d
DN
18982006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1899
1900 * ebrowse.c (usage, version): Mark as NO_RETURN.
1901
1902 * emacsclient.c (print_help_and_exit): Likewise.
1903
880820fe 19042006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1905
1906 * etags.c (absolute_filename): Free unused space (cosmetic change).
1907 (in_word_set): In C, also tag #undef symbols.
1908
7cb93181
EZ
19092006-06-09 Eli Zaretskii <eliz@gnu.org>
1910
1911 * yow.c: Remove file.
1912
1913 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1914
1915 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1916 yow${EXEEXT}: Remove target.
1917
0f29c66d
MY
19182006-06-04 Masatake YAMATO <jet@gyve.org>
1919
63fbb644 1920 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1921 doesn't exist, is not seekable, not is failed in ftall.
1922
a941b26b
EZ
19232006-06-03 Eli Zaretskii <eliz@gnu.org>
1924
9781fb53
EZ
1925 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1926 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1927 ($(BLD)/test-distrib.exe): New targets.
1928 (sorted-doc, digest-doc, test-distrib): New targets.
1929 (install): Install sorted-doc.exe and digest-doc.exe.
1930 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1931
1b178b99
EZ
1932 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1933 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1934 terminal device.
1935
ae85efdb
EZ
1936 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1937 [WINDOWSNT] <top level>: Don't redeclare malloc.
1938 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1939 terminal device.
6088b51f 1940 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1941
a941b26b
EZ
1942 * makefile.w32-in: Delete traces of leditcfns.c.
1943
1944 * leditcfns.c: Remove file.
1945
880820fe 19462006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1947
31fa6595
SM
1948 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1949 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1950
642c61f3
EZ
19512006-05-13 Eli Zaretskii <eliz@gnu.org>
1952
1953 * makefile.w32-in (lisp1): Add fringe.elc.
1954
880820fe 19552006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1956
1957 * etags.c (Perl_functions): Free space allocated for var package.
1958 (Erlang_functions): Possibly free space allocated for var last.
1959 (Prolog_functions): Possibly free space allocated for var last.
1960
7c47913b
DN
19612006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1962
7fe8b491
DN
1963 * sorted-doc.c (main): Initialize docs to NULL.
1964
cdeda579
DN
1965 * yow.c (yow): Free buf.
1966
7c47913b
DN
1967 * etags.c: Delete c-indentation-style local variable.
1968
2ef88a94
RS
19692006-04-29 Richard Stallman <rms@gnu.org>
1970
5e5b35c7
RS
1971 * movemail.c (main): Check for negative value from `read'.
1972
2ef88a94
RS
1973 * fakemail.c (read_header): Give fatal error if input has no header.
1974
d65b4235
PE
19752006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1976
1977 * b2m.c (main): Don't include <limits.h>.
1978 (TM_YEAR_BASE): New macro.
1979 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1980 that s/ files can override this. Use the more-conservative range
1981 1000-9999.
1982 (main): Check for asctime returning NULL.
1983 * fakemail.c: Likewise.
1984
f5565804
PE
19852006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1986
1987 * b2m.c: Include <limits.h>.
1988 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1989 (main): Check for out-of-range time stamps.
1990 * fakemail.c: Likewise.
1991
90c9c343
AS
19922006-03-18 Andre Spiegel <spiegel@gnu.org>
1993
1994 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1995 execute $DIFF twice, and once with the wrong options.
1996
a6a2b5d4
EZ
19972006-02-23 Claudio Fontana <claudio@gnu.org>
1998
9e2bcc86
EZ
1999 * Makefile.in (install, uninstall): Add DESTDIR variable to
2000 support staged installations.
a6a2b5d4 2001
ef3f69f9
EZ
20022005-12-30 Eli Zaretskii <eliz@gnu.org>
2003
2004 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
2005 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2006 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2007 Rearrange the list to be similar to $(shortlisp) in
2008 src/Makefile.in.
ef3f69f9
EZ
2009 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2010 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2011 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2012 src/Makefile.in.
2013
30cfcf7f
RS
20142005-12-22 Richard M. Stallman <rms@gnu.org>
2015
2016 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2017
ecc54057 20182005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
2019
2020 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2021 which was never opened.
2022
283879ef 20232005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
2024
2025 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2026 header files.)
2027
880820fe 20282005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
2029
2030 * etags.c: Preliminary Forth support.
2031 (prolog_pr): Cast strlen to int before comparison.
2032 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2033 the second argument is indeed a literal string.
b9509712 2034 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
2035
20362005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2037
2038 * etags.c (longopts, print_help, main): The -a (--append) option
2039 can be used in ctags also; for one, the Linux make file uses it.
2040
41ea4df8
CY
20412005-09-20 Chong Yidong <cyd@stupidchicken.com>
2042
2043 * ebrowse.c (add_sym): Compare namespace names instead of
2044 namespace objects. This prevents the parser from incorrectly
2045 treating classes whose superclass is in another namespace.
2046
5c4757d3
RS
20472005-09-15 Richard M. Stallman <rms@gnu.org>
2048
2049 * Makefile.in (update-game-score.o): New target.
10d1d0af 2050 Compile and link this program separately.
5c4757d3
RS
2051 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2052
df1b2142
JR
20532005-09-11 Jason Rumney <jasonr@gnu.org>
2054
ecc54057 2055 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 2056 message instead.
31fa6595 2057 (../src/paths.h): Remove.
df1b2142 2058
c638055f
JB
20592005-07-27 Juanma Barranquero <lekktu@gmail.com>
2060
2061 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2062 generated. Ignore also ctags.c and getopt.h.
2063
2064 * makefile.w32-in (clean): Delete getopt.h.
2065 (getopt.h): New rule.
2066
9eff9fe3
PE
20672005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2068
2069 Merge gnulib getopt implementation into Emacs.
2070
2071 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2072 (GETOPT_H): New macro, from gnulib.
2073 (getopt.h): New rule, from gnulib.
2074 (GETOPTOBJS): Now autoconfigured.
2075 (GETOPTDEPS): getopt.h is now autoconfigured.
2076 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2077 (getopt.o): Depend on ${srcdir}/gettext.h.
2078 (movemail.o): Depend on $(GETOPT_H).
2079 * getopt.c, getopt1.c: Sync from gnulib.
2080 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2081 * getopt.h: Removed (now is getopt_.h).
2082
ec641d50
KR
20832005-07-13 Ken Raeburn <raeburn@gnu.org>
2084
0e0dced5
JB
2085 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2086 (sendline): Add the \r\n to the line in a temporary buffer, and write
2087 it all at once.
ec641d50 2088
a0ec7a4a
LK
20892005-07-04 Lute Kamstra <lute@gnu.org>
2090
2091 Update FSF's address in GPL notices.
2092
0e0dddda
EZ
20932005-06-13 Eli Zaretskii <eliz@gnu.org>
2094
2095 * makefile.w32-in ($(DOC)): Fix last change.
2096
5a77c8e2
EZ
20972005-06-12 Eli Zaretskii <eliz@gnu.org>
2098
2099 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2100 temacs.exe, and the preloaded *.elc files. This avoids
2101 unnecessary dumping and DOC rebuilding.
2102
1a8fb426
EZ
21032005-06-04 Eli Zaretskii <eliz@gnu.org>
2104
2105 * ntlib.h (fileno): Don't define if already defined.
2106
7235a58f
TTN
21072005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2108
2109 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2110 (yow): Use EXIT_FAILURE in case of memory error.
2111
5063dbbf
YM
21122005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2113
2114 * make-docfile.c (DIRECTORY_SEP): New macro.
2115 (IS_DIRECTORY_SEP): Use it.
2116
880820fe 21172005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
2118
2119 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2120
ba025f6d
YM
21212005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2122
2123 * make-docfile.c: Undo previous change.
2124
a9eedf40
AS
21252005-02-04 Andreas Schwab <schwab@suse.de>
2126
0e0dced5
JB
2127 * movemail.c (fatal): Accept third parameter and pass down to error.
2128 (pfatal_with_name): Pass error string as format parameter instead of
2129 as part of format string.
a9eedf40
AS
2130 (pfatal_and_delete): Likewise.
2131 (main): Adjust call to fatal.
2132 (xmalloc): Likewise.
2133
5a92a9eb
RS
21342005-01-29 Richard M. Stallman <rms@gnu.org>
2135
2136 * movemail.c (popmail): Don't use Errmsg as format string.
2137
e6973a25
ST
21382004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2139
0e0dced5 2140 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 2141
1bb3da38
AS
21422004-12-15 Andreas Schwab <schwab@suse.de>
2143
2144 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2145 preprocessing to compile time constant.
2146
d4a38fdd
KS
21472004-11-17 Kim F. Storm <storm@cua.dk>
2148
2149 * etags.c: Undo last change.
2150
f2eb41c8
KS
21512004-11-09 Kim F. Storm <storm@cua.dk>
2152
2153 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2154 silence compiler.
2155
2156 * hexl.c (main): Init local var c to silence compiler.
2157
2158 * etags.c (main, consider_token, C_entries): Add misc switch
2159 default targets to silence compiler.
2160
880820fe 21612004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
2162
2163 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2164 resulting DOC file can be used on Unix/Mac also.
2165
880820fe 21662004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
2167
2168 * etags.c (main): When relative file names are given as argument,
2169 make them relative to the current working dir, rather than
2170 relative to the output tags file, if the latter is in /dev.
2171
880820fe 21722004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
2173
2174 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2175 <stdlib.h> is available.
2176 (enum sym_type): New st_C_attribute value for parsing
2177 gcc's __attribute__. Deleted st_C_typespec value.
2178 (gperf, in_word_set): Use gperf 3, options changed. Added the
2179 __attribute__ keyword, removed all the st_C_typespec keywords,
2180 changed attribute for Java to (C_JAVA & !C_PLPL).
2181 (inattribute): New global bool, part of the C state machine.
2182 (cblev): Identifier renamed to bracelev throughout.
2183 (consider_token, C_entries): Numerous changes for making the
2184 parser more robust and adding support for __attribute__.
2185
21862004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2187
ecc54057 2188 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2189 Support the Lua scripting language <http://www.lua.org>.
2190
880820fe 21912004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2192
d57727c9 2193 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2194 for ease of use.
2195
3751eb00
RS
21962004-07-17 Richard M. Stallman <rms@gnu.org>
2197
2198 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2199
86d373e6
JB
22002004-06-01 Juanma Barranquero <lektu@terra.es>
2201
2202 * makefile.w32-in (obj): Add image.c.
2203
80e26b66
TTN
22042004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2205
0e0dced5 2206 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2207
e6662c8b
JR
22082004-05-08 Jason Rumney <jasonr@gnu.org>
2209
2210 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2211 command-lines.
2212
65396510
TTN
22132004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2214
2215 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2216 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2217 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2218
2219 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2220 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2221 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2222
c2bcfb19
TTN
22232004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2224
2225 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2226
3f0656ff
TTN
22272004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2228
2229 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2230 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2231 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2232
2233 * etags.c: Likewise.
2234
238add5e
JR
22352004-05-03 Jason Rumney <jasonr@gnu.org>
2236
2237 * makefile.nt: Remove.
2238
b09c5608
EZ
22392004-04-26 Eli Zaretskii <eliz@gnu.org>
2240
2241 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2242 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2243 instead of a literal '/'.
2244
d814862a
JB
22452004-04-23 Juanma Barranquero <lektu@terra.es>
2246
2247 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2248
442a2160
PE
22492004-04-17 Paul Eggert <eggert@gnu.org>
2250
2251 * rcs2log (Help): Clarify wording of the usage message.
2252 Problem reported by Alan Mackenzie in
2253 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2254
d5d66b7e
SM
22552004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * make-docfile.c (xmalloc): Fix return type.
2258 (put_filename): New fun.
2259 (scan_file): Use it.
2260
bdfd0369
JB
22612004-03-09 Juanma Barranquero <lektu@terra.es>
2262
2263 * grep-changelog: Changes to support ChangeLog.10+.
2264 (main): Tidy up usage string. Fix "Use of uninitialized value"
2265 warning. Set version to 0.2. Parse the directory listing to get
2266 any ChangeLog.n file, not just 1..9.
2267 (header_match_p, entry_match_p, print_log, parse_changelog):
2268 Remove Perl prototypes (their purpose is to help the parser, which
2269 isn't needed here, not declare arguments).
2270 (parse_changelog): Make --reverse faster on big batches by not
2271 modifying the entries list.
2272
a64387ee
JB
22732004-03-01 Juanma Barranquero <lektu@terra.es>
2274
2275 * makefile.w32-in (obj): Add fringe.c.
2276
9766d41b
PE
22772004-02-14 Paul Eggert <eggert@twinsun.com>
2278
2279 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2280 :local: methods, or omits the colon between the hostname
2281 and the path. Allow :/ in repository path, since CVS does.
2282 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2283 This fixes a bug reported by Wolfgang Scherer in
2284 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2285 along with some related bugs I discovered by inspecting how
2286 CVS itself parses $CVSROOT.
2287
880820fe 22882004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2289
2290 * emacsclient.c (decode_options): Fix handling of alternate editor.
2291
0734b0d0
SM
22922004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacsclient.c (main): Don't use the hostname in the socket name.
2295 Look for relative socket names in the /tmp dir rather than in cwd.
2296
2a6fc2d9
RS
22972004-01-24 Richard M. Stallman <rms@gnu.org>
2298
2299 * emacsclient.c (main): Restore errno from saved_errno,
2300 so the error message comes from socket_status.
2301
0734b0d0
SM
23022004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacsclient.c (main): Stop if socket name too long.
2305 Only try su-fallback if the socket name was not explicit.
2306 Check socket name length in su-fallback case as well.
2307
152b6e83
AS
23082004-01-08 Andreas Schwab <schwab@suse.de>
2309
2310 * emacsclient.c (main): Save errno from socket_status.
2311
e8228824
AS
23122004-01-04 Andreas Schwab <schwab@suse.de>
2313
2314 * emacsclient.c (main): Fix socket name when using another user.
2315
c9140662
PE
23162003-12-27 Paul Eggert <eggert@twinsun.com>
2317
2318 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2319 a tag, and if the user has not specified an rlog option.
2320 Adapted from a suggestion by Martin Stjernholm in
2321 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2322 (Copyright): Update to 2003.
2323
8babaa59
TTN
23242003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2325
2326 * make-docfile.c (main): For return code, no longer special-case VMS.
2327 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2328
880820fe 23292003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2330
2331 * emacsclient.c (quote_file_name): Print the result instead of
2332 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2333 (main): With --eval, if no file name, read from stdin.
2334 Quote file names.
14ef7288 2335
f387bdea
RS
23362003-09-10 Richard M. Stallman <rms@gnu.org>
2337
07655e62 2338 * emacsclient.c (main): Use socket_name.
f387bdea 2339
880820fe 23402003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2341
2342 * emacsclient.c (socket_name): New variable.
2343 (longopts, decode_options, print_help_and_exit):
2344 Handle --socket-name argument.
2345
0b7e7337
FP
23462003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2347
783bcffa 2348 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2349 token len is long enough.
2350
ac06b30b
DL
23512003-08-20 Dave Love <fx@gnu.org>
2352
2353 * Makefile.in: Remove obsolete references to alloca.
2354
32b0a3c6
JB
23552003-07-29 Ken Brush <ken@wirex.com>
2356
2357 * emacsclient.c (main)
2358 * etags.c (suggest_asking_for_help)
2359 * movemail.c (main): Fix having macros in a printf statement.
2360
3867c42d
JB
23612003-05-31 Juanma Barranquero <lektu@terra.es>
2362
2363 * makefile.w32-in (lisp): Fix references to byte-run.el,
2364 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2365
7933722a
DL
23662003-05-22 Dave Love <fx@gnu.org>
2367
2368 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2369 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2370
463f55ee
DL
23712003-05-20 Dave Love <fx@gnu.org>
2372
2373 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2374
2375 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2376
1b7a835b
JB
23772003-04-27 Oliver Scholz <alkibiades@gmx.de>
2378
0e0dced5 2379 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2380
eec54bd7
SM
23812003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2382
2383 * emacsclient.c (main): Use new safe location for socket.
2384
ff4bd681
JB
23852003-03-12 Tom Tromey <tromey@redhat.com>
2386
eec54bd7
SM
2387 * emacsclient.c (print_help_and_exit): Print to stdout.
2388 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2389 (decode_options): Don't call print_help_and_exit in default case.
2390 Print version information to stdout.
2391 (main): Don't call print_help_and_exit.
2392
dd132e44
RS
23932003-02-15 Richard M. Stallman <rms@gnu.org>
2394
2395 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2396 Don't include stdlib.h, because config.h does.
dd132e44 2397 (malloc, realloc): Declarations deleted.
ff4bd681 2398
dd132e44
RS
2399 * yow.c (yow): Cast result of malloc and realloc.
2400 (malloc, realloc): Declarations deleted.
2401
71ffc53a
JB
24022003-02-11 Juanma Barranquero <lektu@terra.es>
2403
2404 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2405
0dfd93c0
AS
24062003-02-08 Andreas Schwab <schwab@suse.de>
2407
2408 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2409 instead of the substitution.
2410
37d1e680
RS
24112003-02-04 Richard M. Stallman <rms@gnu.org>
2412
2413 * update-game-score.c (push_score, read_scores): Cast values
2414 of malloc and realloc.
2415 (main, lock_file): Avoid assignment inside if.
2416
c60ee5e7
JB
24172003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2418
2419 * Makefile.in: Use @EXEEXT@ for Cygwin.
2420
b24e2dc7
DL
24212003-01-21 Dave Love <fx@gnu.org>
2422
2423 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2424 column-0 `('.
2425
2426 * yow.c: Don't include string.h.
2427
675d000f
RS
24282003-01-20 Richard M. Stallman <rms@gnu.org>
2429
2430 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2431 New targets.
2432
207aa3ff
KS
24332003-01-06 Kim F. Storm <storm@cua.dk>
2434
31fa6595 2435 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2436 All uses changed.
2437
cf6d30d7
AI
24382002-12-18 Andrew Innes <andrewi@gnu.org>
2439
2440 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2441 because GNU make doesn't append when using >> redirection.
2442
f0131492 24432002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2444
2445 * b2m.pl: Make sure every message ends with a blank line, because
2446 some mbox parsers require a blank line before "From " lines.
2447
85cce843
RS
24482002-12-08 Richard M. Stallman <rms@gnu.org>
2449
2450 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2451 (_): Test only HAVE_LIBINTL_H to decide what to do.
2452
2ccc4d34
RS
24532002-12-05 Richard M. Stallman <rms@gnu.org>
2454
2455 * getopt.c: Comment out include of libintl.h or gettext.h.
2456
c5992177
RS
24572002-12-04 Richard M. Stallman <rms@gnu.org>
2458
2459 * Update getopt from gnulib version; changes described below.
2460
2461 * getopt1.c: Conditionally find getopt.h.
2462 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2463
2464 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2465 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2466 (wchar.h): Include, maybe.
10d1d0af 2467 (attribute_hidden): Define if not defined.
c5992177 2468 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2469 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2470 (__getopt_nonoption_flags, nonoption_flags_max_len)
2471 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2472 (SWAP_FLAGS): New definitions.
2473 (exchange): Test USE_NONOPTION_FLAGS.
2474 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2475 (_getopt_internal): Error if argc < 1. New local var print_errors.
2476 Improve test for ambiguous long option.
2477 Add LIBIO support for error message output.
2478 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2479
2480 * getopt.h: Maybe include ctype.h.
2481 Treat __cplusplus like __STDC__.
2482 (decls): Use __ in arg names.
2483
4b5e69bd
SE
24842002-12-02 Stephen Eglen <stephen@gnu.org>
2485
2486 * emacsclient.c (main): Tell user how to start server within Emacs
2487 if socket could not be found.
2488
19fa03f3
RS
24892002-12-02 Richard M. Stallman <rms@gnu.org>
2490
2491 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2492
7be215b4
JB
24932002-11-19 Ben Key <bkey1@tampabay.rr.com>
2494
29f538e6
BK
2495 * makefile.w32-in: Fixed a bug that caused the documentation for
2496 the built in function play-sound-internal not to be included in
2497 /etc/DOC.
7be215b4 2498
1998560a
DL
24992002-11-18 Dave Love <fx@gnu.org>
2500
2501 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2502 fcntl.h, stdarg.h conditionally.
2503 (_GNU_SOURCE, __attribute__): Don't define.
2504 (optarg, optind, opterr): Declare.
2505 (lose, lose_syserr): Use NO_RETURN.
2506 (get_user_id): Use P_.
2507
8b96caf3
RS
25082002-11-17 Richard M. Stallman <rms@gnu.org>
2509
2510 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2511
59daa29a
DL
25122002-11-14 Dave Love <fx@gnu.org>
2513
2514 * movemail.c (pop_retr): Declare comment.
2515
2516 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
2517
2518 * Makefile.in (YACC): Deleted.
2519
f1b443bf
AS
25202002-10-19 Andreas Schwab <schwab@suse.de>
2521
2522 * Makefile.in (${archlibdir}): Always create $(gamedir).
2523 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2524
52402e4f
JB
25252002-10-04 Juanma Barranquero <lektu@terra.es>
2526
2527 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2528
15dab115
MR
25292002-09-30 Markus Rost <rost@math.ohio-state.edu>
2530
2531 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2532 completely.
2533
30be2360
SM
25342002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2535
2536 * emacsclient.c: Remove SYSV support.
2537 (eval, display): New vars.
2538 (longopts): Add --eval and --display.
2539 (decode_options): Add -e and -d processing.
2540 (print_help_and_exit): Update the usage string.
2541 (main): Add support for --eval and --display.
3ecdcd59 2542 (main): Always use /tmp and non-qualified hostname.
30be2360 2543
4208da83
SM
25442002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2545
2546 * emacsserver.c: Remove.
2547
3cf8c6aa
SM
25482002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2549
2550 * emacsclient.c (quote_file_name): Quote \n.
2551 (main): Print a final \n when needed.
2552
880820fe 25532002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2554
2555 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2556 string that cannot be freed.
2557
880820fe 25582002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2559
2560 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2561 auto-detection is enabled and the `::' qualifier is met.
2562 (consider_token, C_entries): Several bugs corrected that tagged
2563 some declarations even though --declarations was not used.
2564 (plainc): New macro.
2565 (C_entries): Use it.
2566 (C_entries): Several cosmetic changes.
2567 (C_entries): Invalidate the token is some cases.
2568
880820fe 25692002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2570
eec54bd7 2571 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2572 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2573 (cjava, cplpl): They are now macros instead of local vars.
2574
880820fe 25752002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2576
2577 * etags.c (HTML_labels): Tag ID= also.
2578
880820fe 25792002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2580
2581 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2582
ecc54057 2583 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2584 (etags_strcasecmp): Like BSD's, for compatibility.
2585 (strcaseeq): Make it into a macro.
2586
2587 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2588 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2589 (pattern): Structure renamed to `regexp', member regex renamed to
2590 pattern.
2591 (node_st): Member pat renamed to regex.
eec54bd7
SM
2592 (pattern); New member force_explicit_name, for future use.
2593 Now always set to true, cannot be reset.
87046df8
FP
2594 (add_regex, regex_tag_multiline, readline): Use it.
2595 (main): Free some global structures.
8ee14629 2596 (fdesc): New member `written'.
87046df8
FP
2597 (readline, process_file): Initialise it.
2598 (put_entries): Set it.
2599 (main): Use it to create entries for files without tags.
2600 (total_size_of_entries): Do not count invalid tags.
87046df8 2601
02ce3e80
SM
26022002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2603
2604 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2605 for the function name in the usage info.
2606
5fba5c21
CW
26072002-07-31 Colin Walters <walters@gnu.org>
2608
2609 * update-game-score.c (P_): New macro. Use it for all prototypes.
2610 (lose): Don't use varargs.
2611 (lose_syserr): New function.
2612
2613 * update-game-score.c: Change all functions to K&R style.
2614
712eaee0
AS
26152002-07-30 Andreas Schwab <schwab@suse.de>
2616
2617 * Makefile.in (localstatedir): New variable.
2618
f0131492 26192002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2620
2621 * b2m.pl: Fix regexp for finding return address fields.
2622
1e042160
SM
26232002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2624
2625 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2626
f0131492 26272002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2628
02ce3e80 2629 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2630
880820fe 26312002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2632
2633 * b2m.pl: New file.
2634
880820fe 26352002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2636
ecc54057 2637 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2638 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2639 (PHP_functions, PHP_functions, Cobol_paragraphs)
2640 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2641 (prolog_pr, erlang_func, erlang_attribute)
2642 (Perl_functions, Perl_functions, Pascal_functions)
2643 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2644 (get_tag): Prototype changed, all callers changed.
2645
880820fe 26462002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2647
d76132d0
FP
2648 * etags.c: Implement implicit tag names, that is, unnamed tags
2649 whose name is automatically deduced by etags.el. The advantage is
2650 that there is no explicit tag name in most tags, so the size of
2651 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2652 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2653 (make_tag): New function (was the disabled function new_pfnote).
2654 (make_C_tag): Use it.
2655
880820fe 26562002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2657
2658 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2659 (Makefile_targets): Tag variables unless --no-globals.
2660 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2661
880820fe 26622002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2663
2664 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2665 (invalidate_nodes): Bug corrected.
2666 (print_help): Better help for regexps.
2667
7a8940da
JB
26682002-06-13 Juanma Barranquero <lektu@terra.es>
2669
2670 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2671 font-core.elc.
2672
880820fe 26732002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2674
2675 * etags.c: New multi-line regexp and new regexp syntax.
2676 (arg_type): at_icregexp label removed (obsolete).
2677 (pattern): New member multi_line for multi-line regexps.
2678 (filebuf): A global buffer containing the whole file as a string
2679 for multi-line regexp matching.
2680 (need_filebuf): Global flag raised if multi-line regexps used.
2681 (print_help): Document new regexp modifiers, remove references to
2682 obsolete option --ignore-case-regexp.
2683 (main): Do not set regexp syntax and translation table here.
2684 (main): Treat -c option as a backward compatibility hack.
2685 (main, find_entries): Init and free filebuf.
2686 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2687 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2688 (analyse_regex, add_regex): Remove the ignore_case argument, which
2689 is now a modifier to the regexp. All callers changed.
2690 (add_regex): Manage the regexp modifiers.
2691 (regex_tag_multiline): New function. Reads from filebuf.
2692 (readline_internal): If necessary, copy the whole file into filebuf.
2693 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2694
880820fe 26952002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2696
2697 * etags.c (add_regex): Better check for null regexps.
2698 (readline): Check for regex matching null string.
6772c8e1 2699 (find_entries): Reorganization.
6861f0e3 2700
880820fe 27012002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2702
2703 * etags.c (scan_separators): Support all character escape
2704 sequences supported by Gcc.
02ce3e80 2705 (find_entries): Rewind unconditionally.
f0da41a6
FP
2706 (find_entries): Do not call language functions directly, now calls
2707 itself.
2708 (find_entries): Do general initialisations here.
2709 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2710 (Ada_getit, Pascal_functions, Pascal_functions)
2711 (prolog_skip_comment): Do not do them here.
2712 (readline_internal): Increment lineno here.
2713 (readline): Conditionally undo readline_internal increment.
2714 (readline): Do not return a value.
2715
880820fe 27162002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2717
88c71720 2718 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2719 (enum arg_type): New label at_stdin.
2720 (STDIN): New constant.
2721 (parsing_stdin): New flag.
2722 (longopts): New option --parse-stdin=NAME.
2723 (print_help): Document it.
2724 (main): Handle it.
2725 (process_file): Split into process_file and process_file_name.
2726 (process_file_name): New function.
2727
88c71720 2728 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2729 (TeX_commands): Skip comments.
10d1d0af 2730 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2731 (TEX_cmt): Make it a static char and move it before TeX_commands.
2732 (TeX_commands): Shorten the tag to the brace after the name.
2733 (TeX_commands): Names now include the initial backslash.
2734 (TeX_commands): Names do not include numeric args #n.
2735 (TeX_commands): Correct line char number in tags.
2736 (TEX_tabent, TEX_token): Deleted.
2737 (TeX_commands, TEX_decode_env): Streamlined.
2738
880820fe 27392002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2740
2741 * etags.c (main): Avoid a buffer overrun with sprintf.
2742
a71867c5
RS
27432002-05-30 Richard M. Stallman <rms@gnu.org>
2744
b166dcd8
KC
2745 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2746 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 2747
b7e67db6
PE
27482002-05-26 Paul Eggert <eggert@twinsun.com>
2749
2750 Reinstate the following change from 2002-03-22, which was
2751 inadvertently lost on 2002-04-13.
2752
2753 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2754 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2755 the latter usage.
2756
5f226e2c
EZ
27572002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2758
2759 * pop.c (socket_connection): Move the code to resolve the POP
2760 host right before trying to connect with it.
2761
9021bb49
GM
27622002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2763
2764 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2765 platform.
2766
5167cfda
CW
27672002-04-28 Colin Walters <walters@verbum.org>
2768
2769 * Makefile.in (${archlibdir}): Don't conditionalize on
2770 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2771 or not we have access to the specified game user.
50496bd9 2772
5167cfda
CW
2773 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2774 (main): New argument -d, for specifying directory.
2775 (usage): Document.
02ce3e80 2776 (get_user_id): Compute.
5167cfda
CW
2777 (get_home_dir): Deleted.
2778 (get_prefix): New function, taken from main.
2779 (main): Check whether or not we are running setuid. Move prefix
2780 computation to get_prefix. Don't call getpwent; we don't need to
2781 any more. Instead, move it to get_user_id().
2782
880820fe 27832002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2784
2785 * ebrowse.c (skip_initializer): Return void.
2786
973c3c87
CW
27872002-04-23 Colin Walters <walters@verbum.org>
2788
2789 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2790 space.
2791
880820fe 27922002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2793
ecc54057 2794 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2795 (process_file): Print the tags from the nodes as soon as
2796 possible, and delete the nodes. This brings down the memory
2797 occupancy as etags to almost the same level as when the #line
2798 directives were not parsed.
2799 (free_fdesc): New function.
2800 (find_entries): Use it.
2801 (invalidate_nodes): In etags mode, do not just mark the nodes as
2802 invalid, do delete them.
2803
c901ceff
GM
28042002-04-21 Gerd Moellmann <gerd@gnu.org>
2805
2806 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2807
c42d6dbd
EZ
28082002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2809
2810 * update-game-score.c: Move config.h before the other headers, to
2811 avoid compiler warnings.
2812
880820fe 28132002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2814
2815 * etags.c (find_entries): Bug fix in list management.
2816
880820fe 28172002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2818
2819 * etags.c (get_language_from_filename): Add one argument.
2820 (strcaseeq): New function.
10d1d0af 2821 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2822 comparison if called with appropriate args.
2823 (find_entries): Try with case insensitive match.
2824 (process_file): Bug fixed.
2825
880820fe 28262002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2827
2828 * etags.c (find_entries): Delete tags previously obtained from
2829 file xxx.c's #line directives when parsing file xxx.y. This is
2830 generally done for automatically generated files containing
2831 #line directives. This handles the case when xxx.y is tagged
2832 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2833 be discarded.
eec54bd7 2834 (language): Add the metasource member. Initializers changed.
c150db23
FP
2835 (invalidate_nodes): New function.
2836 (readline): Discard lines after having found a #line
02ce3e80 2837 directive pointing to an already tagged file. This handles the
c150db23
FP
2838 case when xxx.y is tagged before xxx.c, and the entries of
2839 xxx.c pointing to xxx.y should be discarded.
2840 (fdesc): New structure for keeping track of input files.
2841 (fdesc): Remove `file' member (a string) and use instead a pointer
2842 to a file description structure.
02ce3e80
SM
2843 (curfile, curfiledir, curtagfname, curlang, nocharno)
2844 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2845 curfdp, pointers to file description structures.
c150db23
FP
2846 (longopts, main, print_help): Use the CTAGS conditional to include
2847 or exclude options that work on etags or ctags only.
02ce3e80
SM
2848 (process_file, find_entries, pfnote, add_node, put_entries)
2849 (readline): Use fdhead and curfdp.
c150db23
FP
2850 (process_file, find_entries): Do not take an arg string, all
2851 callers changed.
2852
2853 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2854 options that are not right for either etags or ctags.
2855
2856 * etags.c (number_len, total_size_of_entries): Define them also
2857 in CTAGS mode, because gcc does not compile all refs away.
2858
e9d1f248
CW
28592002-04-14 Colin Walters <walters@debian.org>
2860
2861 * update-game-score.c (lock_file): If the lock file is older than
2862 an hour, delete it. Reset attempts to zero if we have to break
2863 the lock.
2864
7605f1bd
AS
28652002-04-14 Andreas Schwab <schwab@suse.de>
2866
2867 * update-game-score.c (read_score): Fix type of second parameter
2868 of getdelim to be of type size_t instead of int. Use 0 instead of
2869 ESUCCES.
2870
e82defd1
CW
28712002-04-10 Colin Walters <walters@verbum.org>
2872
ecc54057 2873 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2874 (MAX_DATA_LEN, MAX_SCORES): New.
2875 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2876 default to ~/.emacs.d/games.
2877 (get_user_id): Don't zero uid in the case where we can't get the
2878 username.
2879 (lose): New function.
2880 (main): Actually use `max', and default it to MAX_SCORES.
2881 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2882 function.
2883 (read_score): Handle the case of reading unamelen characters, then
2884 finishing. Use mktemp if mkstemp isn't available.
2885 (lock_file, unlock_file): Delete unused versions.
2886 (lock_file): Always sleep, even if we unlinked the lock file.
2887
e82defd1
CW
2888 * Makefile.in (gamedir, gameuser): New variables.
2889 (toplevel, UTILITIES): Add update-game-score.
2890 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2891
5795b420
CW
28922002-04-07 Colin Walters <walters@verbum.org>
2893
2894 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2895 (get_user_id): Take struct passwd as an argument.
2896 (get_home_dir): New function.
2897 (main): Read in user information here. Discover home directory if
2898 necessary.
2899 (read_score): Trim newline only in `getline' case.
2900
cd553ffb 29012002-04-05 Colin Walters <walters@debian.org>
c150db23 2902
cd553ffb
CW
2903 * update-game-score.c (toplevel): Include pwd.h.
2904 (struct score_entry): Add username field.
2905 (push_score): Use it.
2906 (get_user_id): New function.
2907 (main): Don't malloc excessively.
2908 (main): Use username field.
2909 (read_score): Read it.
2910 (push_score): Handle it.
07655e62 2911 (write_scores): Write it.
c150db23
FP
2912 (read_score): Handle arbitrary length data.
2913
b74bd4a3
EZ
29142002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2915
2916 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2917
fa8bc89d
GM
29182002-03-29 Gerd Moellmann <gerd@gnu.org>
2919
2920 * ebrowse.c (add_declarator, skip_initializer): New functions.
2921 (declaration): Use them.
2922
dd87b4cc
JR
29232002-03-28 Jason Rumney <jasonr@gnu.org>
2924
2925 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2926
cd553ffb
CW
29272002-03-27 Colin Walters <walters@debian.org>
2928
2929 * update-game-score.c: New file.
2930
dfef6d49
PE
29312002-03-22 Paul Eggert <eggert@twinsun.com>
2932
2933 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2934 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2935 the latter usage.
2936
880820fe 29372002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2938
4fff90e4 2939 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2940 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2941 (TeX_commands): Name tags. Correction of old disabled code.
2942
2943 * etags.c (curfiledir, curtagfname): New global variables.
2944 (process_file): Initialise them.
2945 (readline): Canonicalize the name found in #line directive.
893a741e 2946
4fff90e4 29472002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2948
893a741e
JR
2949 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2950 compilers that don't optimize out dead code.
2951
880820fe 29522002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2953
2954 * etags.c: Honour #line directives.
a7c29764 2955 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2956 (main): Remove some #ifdef in the getopt switch.
2957 (add_node, put_entries): Code added to merge different chunks of
2958 nodes referring to the same file. Currently the tags are just
2959 appended, without any check for duplicates.
2960 (Perl_functions): Do not special case ctags.
2961 (readline): Identify #line directives and do the right thing.
2962 (nocharno, invalidcharno): New global vars.
2963 (process_file): Reset nocharno.
2964 (readline): Set nocharno.
2965 (pfnote): Read nocharno and maybe put invalidcharno in node.
2966 (total_size_of_entries, put_entries): Use invalidcharno.
2967
2968 * etags.c: Keep the whole tag table in memory, even in etags mode.
2969 (main): Call put_entries here even in CTAGS mode.
2970 (main, process_file): Check the return values of fclose and pclose.
2971 (process_file): Do not call put_entries after parsing each file.
2972 (process_file): Canonicalise file names even for ctags.
2973 (process_file): Set curfile here...
2974 (find_entries): ... not here any more.
2975 (add_node): In etags mode, build a linked list of entries (on
2976 right pointer) for each file, and link the first entry of each
2977 file on left nodes.
2978 (put_entries): Print here the name of the file.
2979 (put_entries): Print the entries starting from the first file.
c150db23 2980 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2981 mode, make the second work only on the right nodes.
2982
2983 * etags.c: Make all global variables static.
2984
50ce1f62
JB
29852002-02-25 Juanma Barranquero <lektu@terra.es>
2986
2987 * makefile.w32-in (lisp): Add missing backslash.
2988
82a399d2
JR
29892002-02-24 Jason Rumney <jasonr@gnu.org>
2990
2991 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2992 using .elc files.
c4cc8b9a 2993 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
2994 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2995
a279c920
PE
29962002-02-10 Paul Eggert <eggert@twinsun.com>
2997
2998 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2999 disallows the old syntax.
3000
0caa685d
PE
30012002-02-03 Paul Eggert <eggert@twinsun.com>
3002
d7982012 3003 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
3004 (AWK, TMPDIR): Work around portability problem in broken shells that
3005 don't understand `: ${VAR=val}'.
3006 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3007 Prefer the new -k option to the traditional +M -N option.
3008
880820fe 30092002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
3010
3011 * b2m.c (main): Parenthesize assignment when used as truth value
3012 to prevent gcc warnings.
3013
3014 * fakemail.c: Include <config.h>.
3015
880820fe 30162001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
3017
3018 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3019 * yow.c: Include <config.h>.
3020
880820fe 30212001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
3022
3023 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3024 (get_tag): Return a pointer to the tag that is found.
3025
3026 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
3027 (F_takeprec): Rename from takeprec. All callers changed.
3028 (F_getit): Rename from getit. All callers changed.
3029 (nocase_tail): Rename from tail. All callers changed.
3030 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 3031 (L_getit): Simplify by using get_tag.
a60e4de9
FP
3032 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3033 modified LOOKING_AT.
b166dcd8 3034 (notinname): Remove '[' and added ')' to the recognised chars.
a60e4de9
FP
3035 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3036 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3037 Clarified, using strneq or notinname.
3038 (L_isdef, L_isquote): Removed.
3039 (Lisp_functions, L_getit): Clarified.
3040
b166dcd8 3041 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
3042 [HAVE_CONFIG_H]: Let config.h deal with __P.
3043 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3044 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3045 gperf code needs it.
ecc54057
JB
3046 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3047 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
3048 (xmalloc, xrealloc): Use PTR instead of long *.
3049 (bool): Make it a define, not a typedef, for C++ compilers.
3050 (pattern): Members renamed to avoid name clash in some C++ compilers.
3051 (get_language_from_langname): Use const argument.
3052
880820fe 30532001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
3054
3055 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3056
880820fe 30572001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 3058
b8509940
PJ
3059 * emacsserver.c: Conditionally include config.h.
3060
594aa066
PJ
3061 * fakemail.c: Likewise.
3062
e69233c2
PJ
3063 * emacsclient.c: Include "config.h", not <../src/config.h>.
3064 (main): Parenthesize assignment when used as truth value to
3065 prevent gcc warnings.
3066
69bfc389
PJ
3067 * ebrowse.c: Include stdlib.h and string.h conditionally.
3068
e4e34e31
EZ
30692001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3070
3071 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3072
880820fe 30732001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
3074
3075 * test-distrib.c: Fix previous change.
3076
fb5aa7ac
DL
30772001-12-18 Dave Love <fx@gnu.org>
3078
3079 * test-distrib.c: Conditionally include fcntl.h.
3080
3081 * fakemail.c: Include "config.h", not <../src/config.h>.
3082 (_XOPEN_SOURCE): Define as 500.
3083
3084 * emacsserver.c: Include "config.h", not <../src/config.h>.
3085
3086 * cvtmail.c: Include config.h, stdlib.h.
3087 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3088
3089 * yow.c: Conditionally include various headers. Use "epaths.h",
3090 not <../src/epaths.h>.
3091 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3092
880820fe 30932001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 3094
13dc0576 3095 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
3096 (LOOKING_AT): New macro.
3097 (Perl_functions, Python_functions, PHP_functions)
3098 (Scheme_functions, Texinfo_nodes): Use it.
3099 (Perl_functions): Use strneq.
b166dcd8 3100 (prolog_pred): Rename to prolog_pr.
13dc0576 3101 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 3102 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 3103 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
3104 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3105
34e39c95
RS
31062001-12-11 Richard M. Stallman <rms@gnu.org>
3107
3108 * Makefile.in (clean): Don't delete ../etc/DOC*.
3109
880820fe 31102001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
3111
3112 * COPYING: Moved back.
3113
76054cc8
AI
31142001-11-30 Andrew Innes <andrewi@gnu.org>
3115
e94a3679
FP
3116 * makefile.w32-in (FACE_SUPPORT):
3117 (MOUSE_SUPPORT):
3118 (FLOAT_SUPPORT):
3119 (WINNT_SUPPORT):
76054cc8
AI
3120 (lisp): Reference .el files instead of .elc files, to simplify
3121 bootstrapping.
3122 ($(DOC)): Change dependency to just `make-docfile'.
3123
880820fe 31242001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
3125
3126 * COPYING: Removed.
3127
e8d6a09b
PE
31282001-11-28 Paul Eggert <eggert@twinsun.com>
3129
3130 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3131
3132 The following changes are derived from suggestions by Bob Chapman
3133 <rechapman@compuserve.com>.
3134
3135 * rcs2log (printlogline): Also allow tab and newline to separate
3136 '(function):' from the rest of a comment.
3137 (reformat the sorted log entries): Require date and author to
3138 match the clumpname.
3139
9a190096
GM
31402001-11-16 Gerd Moellmann <gerd@gnu.org>
3141
3142 * ebrowse.c (matching_regexp): Escape '\\'.
3143
880820fe 31442001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
3145
3146 * Makefile.in: Add support for --program-prefix, --program-suffix
3147 and --program-transform-name options.
3148
6d8f7d5d
RS
31492001-11-03 Richard M. Stallman <rms@gnu.org>
3150
3151 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3152
3153 * movemail.c (popmail): Always pass two args to `error'.
3154
84e70f78
KR
31552001-10-24 Ken Raeburn <raeburn@gnu.org>
3156
3157 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3158 -lhesiod and maybe -lresolv.
3159 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3160 support if it's available.
3161
386ca361
MB
31622001-10-21 Miles Bader <miles@gnu.org>
3163
a3b10252
MB
3164 * make-docfile.c (struct rcsoc_state): New type.
3165 (read_c_string_or_comment): Add SAW_USAGE
386ca361 3166 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
3167 Use a variable of type `rcsoc_state' to hold most of our state.
3168 (put_char): Add STATE parameter, and remove all other parameters
3169 except CH. Use STATE to get access to all needed state.
3170 (scan_keyword_or_put_char): New function.
386ca361
MB
3171 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3172 Don't output a usage-string if there was one in the doc-string.
3173
71431a0e
GM
31742001-10-20 Gerd Moellmann <gerd@gnu.org>
3175
6aa97356 3176 * (Version 21.1 released.)
71431a0e 3177
880820fe 31782001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
3179
3180 * b2m.c: Properly spell the name of Emacs.
3181
945220bd
MB
31822001-10-17 Miles Bader <miles@gnu.org>
3183
3184 * make-docfile.c (put_char): New function.
3185 (read_c_string_or_comment): Strip trailing spaces and newlines.
3186
14242528
MB
31872001-10-16 Miles Bader <miles@gnu.org>
3188
3189 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3190 comments [with `doc:' keyword prefix].
3191
9f5eb4a3
GM
31922001-10-15 Gerd Moellmann <gerd@gnu.org>
3193
3194 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3195 in a C doc comment.
3196
e641b454
GM
31972001-10-13 Gerd Moellmann <gerd@gnu.org>
3198
b166dcd8 3199 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3200 read_c_string. Add parameter COMMENT. Read C-style comments.
3201 (scan_c_file): Handle doc strings in C comments.
3202
967d7793
AI
32032001-10-12 Andrew Innes <andrewi@gnu.org>
3204
3205 * makefile.nt (ALL): Do not include fakemail.
3206
3207 * makefile.w32-in (install): Do not copy fakemail.
3208
d682756a
JR
32092001-10-10 Jason Rumney <jasonr@gnu.org>
3210
07655e62 3211 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3212
07655e62 3213 * makefile.nt (install): Ditto.
d682756a 3214
14a3dff7
GM
32152001-10-09 Gerd Moellmann <gerd@gnu.org>
3216
3217 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3218
95bc7904 3219 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3220
880820fe 32212001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3222
3223 * profile.c: Include config.h, not ../src/config.h.
3224 Include systime.h, not ../src/systime.h.
3225
ab952a4f
GM
32262001-10-05 Gerd Moellmann <gerd@gnu.org>
3227
3228 * Branch for 21.1.
dff28924 3229
12c64503
GM
32302001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3231
3232 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3233 ALIASEE to help work with namespace aliases.
3234 (struct sym): Remove struct member NAMESP_ALIASES.
3235 (namespace_alias_table): New variable.
3236 (make_namespace): Add parameter CONTEXT.
3237 (check_namespace): New function.
3238 (find_namespace): Add parameter CONTEXT.
3239 (check_namespace_alias): New function.
02ce3e80
SM
3240 (register_namespace_alias): Change type of parameter OLD_NAME.
3241 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3242 (check_namespace): New function.
3243 (enter_namespace): Call find_namespace with CONTEXT parameter.
3244 (match_qualified_namespace_alias): New function.
eec54bd7 3245 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3246 While parsing qualified ident or type update namespace context and
12c64503 3247 restore it on exit.
eec54bd7
SM
3248 (parse_qualified_param_ident_or_type): Fix typo in comment.
3249 (globals): Change handling of namespace aliases.
3250 (version): Add year 2001.
12c64503 3251
990e1190
FP
32522001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3253
3254 * etags.c (analyse_regex): If regex_arg is NULL, return
3255 immediately after a call to free_patterns.
3256
f2e7e23e
AS
32572001-09-05 Paul Eggert <eggert@twinsun.com>
3258
3259 * rcs2log (Help, mainline code): Add new option -L FILE.
3260 (Copyright): Update year.
02ce3e80
SM
3261 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3262 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3263 C locale.
3264 (mainline code): Handle nonstandard -u option differently, by
3265 transforming it to standard form. Check for "Working file: ", not
3266 "Working file:". Allow file names with spaces.
3267 (SOH, rlogfile): New shell vars.
dff28924 3268 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3269 rlogfile.
3270
3271 Append ';;' to the last arm of every case statement, for
3272 portability to ancient broken BSD shells.
3273
02ce3e80 3274 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3275 (pository): New var. This fixes some bugs where repositories are
3276 remote, or have trailing slashes.
02ce3e80 3277 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3278 about that possibility.
dff28924 3279 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3280 the output.
dff28924 3281
75c911eb
EZ
32822001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3283
3284 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3285 Suggested by Dave Love <d.love@dl.ac.uk>.
3286
5ae10f4a
EZ
32872001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3288
3289 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3290 * makefile.w32-in (lisp): Ditto.
3291
0e4011d8 32922001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3293
3294 * grep-changelog (parse_changelog): Remove unused local variable.
3295
3296 * grep-changelog (main): Add new option --reverse.
3297 (print_log): Use it.
3298 (parse_changelog): Use it.
3299
3c88ae74
GM
33002001-07-20 Gerd Moellmann <gerd@gnu.org>
3301
3302 * grep-changelog: Remove RCS Id keyword.
3303
41848daa
GM
33042001-07-20 Juanma Barranquero <lektu@terra.es>
3305
6e07c0a5
GM
3306 * grep-changelog (parse_changelog): Add tests for defined values
3307 to quiet warning from Perl 5.005 or above.
177ab8ce 3308 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3309 argument to prevent duplicate headers.
3310
3311 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3312
467f1209
GM
33132001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3314
3315 * emacsclient.c (print_help_and_exit): Fix help message for
3316 +LINE:COLUMN option.
3317
33182000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3319
467f1209
GM
3320 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3321 argument.
3322
bb24c64f
GM
33232001-07-16 Gerd Moellmann <gerd@gnu.org>
3324
3325 * ebrowse.c (main): Check that the output file exists and
3326 is non-empty if invoked with `--append'.
3327
880820fe 33282001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3329
e335b66a
GM
3330 * etags.c (add_regex): Reset the whole newly allocated pattern
3331 buffer instead of the individual members. It's safer and works
ecc54057 3332 with XEmacs.
fa829470 3333
e335b66a 3334 * etags.1: Markups corrected.
fa829470 3335
6da5c7da
GM
33362001-05-08 Gerd Moellmann <gerd@gnu.org>
3337
02ce3e80 3338 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3339
efbecf9d
GM
33402001-05-03 Gerd Moellmann <gerd@gnu.org>
3341
3342 * ebrowse.c (globals): Fix handling of namespace aliases.
3343
f4976ebc
EZ
33442001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3345
3346 * etags.c (print_help): Enclose the regexp in the help text
3347 example in quotes.
3348
23431241
DL
33492001-04-05 Dave Love <fx@gnu.org>
3350
3351 * emacsclient.c (fail): Don't return a value.
fa829470 3352 (main): Cast uid values for sprintf.
23431241 3353
476bf681
GM
33542001-04-03 Gerd Moellmann <gerd@gnu.org>
3355
b3f6107b
GM
3356 * emacsclient.c (fail, main): Don't use implicit int return type.
3357
476bf681
GM
3358 * b2m.c (main): Always return a value.
3359
ef53d75e
GM
33602001-03-02 Gerd Moellmann <gerd@gnu.org>
3361
3362 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3363 freshly allocated object in *LAST_ID.
3364 (read_line): Accept \r\n line endings.
3365
425de386
AI
33662001-02-24 Andrew Innes <andrewi@gnu.org>
3367
3368 * makefile.w32-in: Fix copyright notice.
3369
880820fe 33702001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3371
3372 * etags.c (enum sym_type): New label st_C_template.
3373 (gperf input): Use it for switching to C++ from C.
3374 (consider_token): Do it.
c2a642c0
FP
3375 (C_entries): Initialise typdefcblev to quiet compilers.
3376 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3377
f6839838
AI
33782001-02-22 Andrew Innes <andrewi@gnu.org>
3379
3380 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3381 VMS header files.
3382 ($(BLD)\profile.obj): Ditto.
3383
3384 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3385 VMS header files.
3386 ($(BLD)/profile.$(O)): Ditto.
3387
193fba87
AI
33882001-02-05 Andrew Innes <andrewi@gnu.org>
3389
3390 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3391 invocation of make-docfile, to work with Windows 2000.
3392
30526cc6
DL
33932001-01-31 Dave Love <fx@gnu.org>
3394
3395 * etags.c (in_word_set): Use `static' in definition (for pcc).
3396
880820fe 33972001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3398
ecc54057 3399 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3400 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3401 (C_entries): Tag token renamed to still_in_token because sunos4
3402 pcc wants to expand it as the token() macro even though it has no
3403 arguments.
3404
914d7258
AI
34052001-01-30 Andrew Innes <andrewi@gnu.org>
3406
3407 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3408 bug in the Mingw32 assert.h header file.
3409
880820fe 34102001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3411
ecc54057
JB
3412 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3413 #define it for the sake of XEmacs.
b28e26be
FP
3414 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3415 HAVE_CONFIG_H. This change only affects a standalone etags.
3416 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3417 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3418 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3419 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3420 WINDOWSNT, as this is the correct way to use it.
3421
880820fe 34222001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3423
3424 * etags.c: Be capable to parse nested struct-like structures.
3425 (structdef, structtag): Struct state machine revisited.
3426 (struct tok): Revisited.
3427 (cstack, nestlev, instruct): New struct and macros.
3428 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3429 for dealing with nested class names.
8c463abe
FP
3430 (consider_token, make_C_tag, C_entries): Many changes for dealing
3431 with arbitrarily nested structures.
3432 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3433 (C_entries): Consider templates in C++.
3434 (sym_type): New constant st_C_class for detecting "class" also in
3435 C mode.
3436 (C_AUTO): New macro for automatic detection of C++.
3437 (consider_token): Automatic set C++ mode.
3438 (C_entries): New security check for yacc.
3439 (print_language_names, print_help): Mention the autodetect
07655e62 3440 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3441 (C_entries): Tag C++ forward declarations if --declarations.
3442 (C_entries): Don't be fooled by things like XDEFUN.
3443 (consider_token): Discard asm pseudo function.
3444
e26f9ced
EZ
34452001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3446
3447 * etags.c: Add a coding: tag.
3448
a47b7816
GM
34492001-01-26 Gerd Moellmann <gerd@gnu.org>
3450
8c463abe 3451 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3452 New variables.
3453 (matching_regexp): Use them instead of static variables in
3454 function scope.
3455
880820fe 34562001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3457
b166dcd8
KC
3458 * etags.c (struct tok): Rename from struct token.
3459 (token): Rename from tok.
d22a24fa
FP
3460 (structtype): Make it a local variable.
3461 [DEBUG]: Use assert.
3462 (xrnew): Change the synopsis.
b166dcd8 3463 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3464 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3465 (token): Buffer renamed to line.
d22a24fa 3466 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3467 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3468 (linebuffer_setlen): Was grow_buffer, now also sets len.
3469 (consider_token, C_entries, Pascal_functions): Use it.
3470 (C_entries): Preventing problems relative to extern "C".
3471 (C_entries): Can tag more than one variable or func separated by
3472 comma when --declarations is used.
3473 (C_entries): More accurate tagging of members and declarations.
3474 (yacc_rules): Was global, made local to C_entries.
3475 (next_token_is_func): Removed.
3476 (fvdef): New constants fdefunkey, fdefunname.
3477 (consider_token, C_entries): Use them.
3478 (C_entries): Build proper lisp names for Emacs DEFUNs.
3479
21c2bbe0
GM
34802001-01-22 Gerd Moellmann <gerd@gnu.org>
3481
3482 * ebrowse.c (xfree): New function.
3483 (member, declaration, globals): Use xmalloc instead of alloca.
3484
880820fe 34852001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3486
3487 * etags.c (print_language_names): Print filenames in addition to
3488 suffixes.
3489
880820fe 34902001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3491
b166dcd8 3492 * etags.c (get_language_from_langname): Rename from
47df1a5e 3493 get_language_from_name.
b166dcd8 3494 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3495 Now first looks for the complete file name.
47df1a5e
EZ
3496 (language): New member char **filenames.
3497 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3498 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3499 for makefiles.
13dc0576 3500 (Makefile_targets): New function.
b166dcd8 3501 (Texinfo_nodes): Rename from Texinfo_fuctions and made
47df1a5e
EZ
3502 it conformant to the style of the rest of the code.
3503
291c7e74
GM
35042001-01-13 Gerd Moellmann <gerd@gnu.org>
3505
3506 * make-docfile.c (write_c_args): Print newlines as spaces.
3507
0dac6924
AI
35082001-01-06 Andrew Innes <andrewi@gnu.org>
3509
3510 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3511 of *.pdb.
3512
3e99d3b4
GM
35132001-01-03 Paul Eggert <eggert@twinsun.com>
3514
290afd83 3515 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3516 cause user of rcs2log to overwrite arbitrary files, fixing
3517 a bug reported by Morten Welinder.
3518
3519 Don't put "exit 1" at the end of the exit trap; it's
3520 ineffective in POSIX shells.
3521
d6bb0c0d
GM
35222001-01-02 Gerd Moellmann <gerd@gnu.org>
3523
eec54bd7
SM
3524 * ebrowse.c (yyerror): Change to take two arguments.
3525 Add prototype. Change callers.
d6bb0c0d 3526
d5c00476 35272001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3528
3529 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3530 compiler warnings.
3531 (yyerror): Change parameter declarations to be of type long, so
3532 that they can take pointers on 64-bit platforms.
3533
3534 * emacsclient.c (main): Remove unused local variable statbfr.
3535 (main) <homedir>: Make its declaration conditional on
3536 SERVER_HOME_DIR, to avoid compiler warnings.
3537
3538 * emacsserver.c (main) <homedir>: Make its declaration conditional
3539 on SERVER_HOME_DIR, to avoid compiler warnings.
3540
3541 * fakemail.c (readline): Cast buffer to "long *" to pacify
3542 over-zealous compilers.
3543
7c89ea61
EZ
35442000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3545
3546 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3547
a6768cc5
GM
35482000-12-15 Gerd Moellmann <gerd@gnu.org>
3549
3550 * ebrowse.c (operator_name): Cast argument of isalpha to
3551 unsigned char.
3552
3553 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3554 Use them throughout instead of ctype functions/macros.
3555 (lowcase): Cast to unsigned char.
3556 (UPCASE): New macro.
3557 (canonicalize_filename): Use UPCASE instead toupper.
3558
3559 * fakemail.c (get_keyword): Make sure that isspace and
3560 similar aren't called with a negative argument.
3561
70de49cc
DL
35622000-12-13 Dave Love <fx@gnu.org>
3563
3564 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3565
4e8b894c
AI
35662000-12-06 Andrew Innes <andrewi@gnu.org>
3567
3568 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3569 don't know the real version, and I can't seem to get the quoting
3570 right in all circumstances.
3571
3572 * ebrowse.c (VERSION): Provide default definition, like etags.c
3573 does, because Windows build can't snarf this from version.el.
3574
88257bc8
AI
35752000-11-30 Andrew Innes <andrewi@gnu.org>
3576
3577 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3578 (install): Ditto.
3579
d19249e7
JR
35802000-11-23 Jason Rumney <jasonr@gnu.org>
3581
3582 * makefile.w32-in: Add targets for ebrowse.exe.
3583 (LOCAL_FLAGS): Add -DVERSION flag.
3584
7df6adc3
DL
35852000-09-25 Dave Love <fx@gnu.org>
3586
3587 * sorted-doc.c: Include config.h.
3588 [!HAVE_STDLIB_H]: Declare malloc.
3589
fe83b953
AI
35902000-09-14 Andrew Innes <andrewi@gnu.org>
3591
3592 * makefile.w32-in: Revert to Unix line endings.
3593
517699ca
DL
35942000-09-04 Dave Love <fx@gnu.org>
3595
3596 * movemail.c (index, rindex): Prototype conditionally.
3597
f8803e97
AI
35982000-09-03 Andrew Innes <andrewi@gnu.org>
3599
3600 * makefile.w32-in: Change to DOS line endings.
3601
f72adc12
EZ
36022000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3603
4034f3a8 3604 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3605 [!F_OK]: Provide default definitions only after including both
3606 fcntl.h and unistd.h.
3607
f678f592
DL
36082000-08-29 Dave Love <fx@gnu.org>
3609
3610 * movemail.c: Revert previous change.
3611
5b671d04
EZ
36122000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3613
3614 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3615
6fa86045
DL
36162000-08-28 Dave Love <fx@gnu.org>
3617
3618 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3619 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3620
746d9caf
AI
36212000-08-22 Andrew Innes <andrewi@gnu.org>
3622
3623 * ntlib.h (WIN32): Remove unnecessary definition.
3624 (sleep): Make argument unsigned long.
3625 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3626
3627 * ntlib.c (sleep): Make argument unsigned long.
3628
3629 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3630
3631 * makefile.w32-in: New file.
3632
3b541489
EZ
36332000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3634
3635 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3636 letter only if it is a drive letter.
3637
e5acf0ca
GM
36382000-07-14 Gerd Moellmann <gerd@gnu.org>
3639
b166dcd8 3640 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3641
3642 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3643 by alloca.o.
3644
02ce3e80 3645 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3646
4b92c49a
GM
36472000-07-10 Gerd Moellmann <gerd@gnu.org>
3648
3649 * ebrowse.c (yylex): Accept string literals with newlines in them.
3650 (process_pp_line): Handle case of string literal with newline
3651 in it in replacement text, which counts as continuing the
3652 replacement text in GNU C.
3653
831a6cb0
GM
36542000-07-02 Gerd Moellmann <gerd@gnu.org>
3655
3656 * ebrowse.c (token_string): Add missing tokens.
3657 (parm_list): Handle case of qualified pointers.
3658
53245ee2
DL
36592000-06-23 Dave Love <fx@gnu.org>
3660
3661 * ebrowse.c: Move config.h before other includes (which may use
3662 feature tests).
3663
dcbf2cd2
JM
36642000-06-14 Jim Meyering <meyering@lucent.com>
3665
3666 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3667
f1c7754a
JR
36682000-06-11 Jason Rumney <jasonr@gnu.org>
3669
3670 * makefile.nt: Add targets for ebrowse.
3671
3672 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3673 compare filenames.
3674
5f1aea9a
GM
36752000-06-06 Gerd Moellmann <gerd@gnu.org>
3676
b166dcd8
KC
3677 * ebrowse.c (ymalloc): Rename from xmalloc.
3678 (yrealloc): Rename from xrealloc.
5f1aea9a 3679
5bf244f1
DL
36802000-05-21 Dave Love <fx@gnu.org>
3681
3682 * movemail.c: Include config.h, not ../src/config.h.
3683 (Errmsg): Bump length.
3684
3685 * pop.c (ERROR_MAX): Increase to 160.
3686
ec82fb2f
GM
36872000-05-04 Gerd Moellmann <gerd@gnu.org>
3688
3689 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3690
5c922ea7
EZ
36912000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3692
02ce3e80
SM
3693 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3694 Define to semi-colon.
5c922ea7 3695 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3696 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3697 (process_file): Don't assume that fread always reads as many bytes
3698 as it was told to (DOS-style CR-LF text files fail this logic).
3699 (open_file): Allocate enough space for path->path plus the file
3700 name and the slash.
3701
6142fdcb 37022000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3703
3704 * etags.c (Texinfo_functions): New function.
3705 (lang_names): Install it.
3706 (Texinfo_suffixes): New variable.
3707
cb9215e4
GM
37082000-04-19 Gerd Moellmann <gerd@gnu.org>
3709
3710 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3711 (declaration): Remove parameter IS_EXTERN.
3712 (class_definition): Remove unused variable.
3713
be0dbdab
GM
37142000-04-09 Gerd Moellmann <gerd@gnu.org>
3715
3716 * Makefile.in (INSTALLABLES): Add ebrowse.
3717 (ebrowse): New target.
3718
3719 * ebrowse.c: New file.
3720
c5aa0fc2
AS
37212000-03-29 Andreas Schwab <schwab@suse.de>
3722
3723 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3724
d054101f
GM
37252000-03-02 Gerd Moellmann <gerd@gnu.org>
3726
07e99590 3727 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3728
880820fe 37292000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3730
eec54bd7 3731 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3732 space, and use it throughout in place of isspace, thus preventing a
3733 potential signed char to int conversion problem.
10d1d0af 3734 (MSDOS): #undefine before redefining.
71cbb895 3735
880820fe 37362000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3737
3738 * etags.c (many functions): Add prototypes.
3739
97fa0cc8
DL
37402000-02-10 Dave Love <fx@gnu.org>
3741
3742 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3743 (erlang_func): Add `static' to definitions to keep pcc happy.
3744
880820fe 37452000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3746
3747 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3748 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3749 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3750 (getenv, getcwd): Only declare them if necessary.
3751 (EMACS_NAME): New constant macro.
3752 (print_version): Use it.
3753 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3754
19e262bd 37552000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3756
3757 * etags.c [WINDOWSNT]: #include <direct.h>
3758
19e262bd 37592000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3760
19e262bd
FP
3761 * etags.c (all functions): Made them static.
3762 (all functions): Write prototypes.
e4100b7f 3763
55e30d2a
RS
37642000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3765
3766 * movemail.c (main): Improve error message if can't create lock file.
3767
c60ee5e7 37682000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3769
3770 * emacsclient.c (socket_status): New function.
02ce3e80 3771 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3772 for a socket based on the UID associated with the name.
3773
e4936aa9
GM
37742000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3775
3776 * emacsclient.c: Add option -a EDITOR and environment variable
3777 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3778
f0131492 37791999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3780
3781 * movemail.c (popmail): Allow mailbox specifications of the
3782 form `po:username:hostname'.
3783
880820fe 37841999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3785
3786 * etags.c (_GNU_SOURCE): Define only if undefined.
3787 (get_scheme): Declaration deleted.
02ce3e80 3788 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3789 a char pointer.
3790 (canonicalize_filename): Bug removed.
3791
37921999-11-18 Dave Love <d.love@dl.ac.uk>
3793
3794 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3795 lossage from name clash with macro.
3796
b05d3bee
GM
37971999-11-13 Gerd Moellmann <gerd@gnu.org>
3798
3799 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3800
cb3a6c48
GM
38011999-11-03 Gerd Moellmann <gerd@gnu.org>
3802
3803 * etags.c (print_help): Change email address to send bugs to.
3804
6088b51f 38051999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3806
3807 * etags.c: Add suffix psw for PSWrap.
3808 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3809 (Postscript_functions): Add code for PSWrap.
3810 (Scheme_functions): Use local pointer and new get_tag function.
3811 (get_tag): New name for old get_scheme.
3812 (process_file): Do not free NULL when file does not exist.
3813 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3814 (C_entries): Modifications that make --members tag even inside
3815 typedefs and C nested structs (one level only).
eec54bd7 3816 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3817 constants.
eec54bd7 3818 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3819 st_C_ignore. This makes it simpler to work when cblev!=0.
3820
02ce3e80 3821 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3822 --declarations is used.
3823
3824 * etags.c (C_entries, consider_token): C++ `operator' now is
3825 tagged in most cases.
3826 As before, :: is not recognised if surrounded by spaces.
3827
3828 * etags.c (relative_filename): Account for DOS file names such
3829 that is impossible to make one relative to another.
3830
3831 * etags.c (sym_type): New st_C_extern tag.
3832 (gperf input): Use it for spotting external declarations.
a7c29764 3833 (print_help): Document the new behavior of --declarations.
1c478461
FP
3834 (fvextern): New global variable.
3835 (consider_token, C_entries): Use it.
3836
3837 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3838 (etags_getcwd): Remove test for WINDOWSNT.
3839
3840 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3841 foo.cgz, foo.cz, etc.
3842
3843 * etags.c (declarations): New global switch.
3844 (longopts): Describe it.
3845 (print_help): Document it.
3846 (C_entries): Use it.
3847 (process_file): Don't process a file twice.
3848
3849 * etags.c (Fortran_functions): No tags for "procedure".
3850
38511999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3852
3853 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3854 non-zero, returns a pointer to where the extension begins; callers
3855 changed.
3856 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3857 were foo.c.gz.
3858
880820fe 38591999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3860
3861 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3862 (fvdev): New constant foperator.
3863 (consider_token): Use it to get "operator" in C++.
3864 (C_entries): Extend length of operator@ function name.
3865 (C_entries): Use foperator when necessary.
3866
3867 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3868
3869 * etags.c (compressor): New struct for compressed files.
3870 (get_compressor_from_suffix): New function.
3871 (get_language_from_suffix): Use it. Also, semantics changed.
3872 (process_file): Consider compressed files, close file.
3873 (find_entries): Use different call arg for get_language_from_suffix,
3874 don't close file.
3875
3876 * etags.c (main): Call free_tree.
3877 (find_entries): Do not free curfile.
3878 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3879 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3880 comparing.
3881 (canonicalize_filename): Shut up compiler warning.
3882 (Perl_functions): Make tag significant.
3883
38841999-11-01 Dave Love <d.love@dl.ac.uk>
3885
3886 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3887 (argument_type): New member at_icregexp.
3888 (lc_trans): New global.
3889 (main): Fill lc_trans. Process -c args.
3890 (add_regex): New arg determining whether to use translation table.
3891 (analyse_regex): New arg. Use it for add_regex.
3892
880820fe 38931999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3894
3895 * etags.c (init): Cosmetic change: NULL --> '\0'.
3896 (erlang_attribute): Bug corrected (uninitialized variable).
3897 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3898 corrects a bug. All callers changed.
1c478461
FP
3899 (canonicalize_filename): New function.
3900 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 3901 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 3902 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3903 compilers quiet.
1c478461
FP
3904 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3905
3906 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3907 (language): New typedef (was struct lang_entry).
3908 (curlang): New global variable.
02ce3e80 3909 (node): Typedef renamed from NODE.
1c478461
FP
3910 (linebuffer): New typedef (was struct linebuffer).
3911 (pattern): New typedef (was struct pattern). Some members added.
3912 Now used as element of a linked list.
3913 (patterns, num_patterns): Global variables deleted.
3914 (p_head): New global variable.
a64387ee 3915 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3916 (get_language_from_name, get_language_from_interpreter)
3917 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3918 (last_node): New global variable.
02ce3e80
SM
3919 (free_tree, add_node, put_entries, total_size_of_entries):
3920 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3921 (number_len): Rewritten for elegance.
3922 (token): New typedef replaces TOKEN.
3923 (analyse_regex, add_regex): Rewritten for new functionality.
3924 (free_patterns): New function called from main and add_regex.
3925 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3926 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3927 (readline): Rewritten for new functionality.
3928
ecc54057 3929 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3930 (print_help): --globals is now used for more than C-type languages.
3931 (Perl_functions): Tag global variables ("my" and "local").
3932
3933 * etags.c (print_help): Some messages clarified.
3934 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3935 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3936 (Python_functions, Cobol_paragraphs, Pascal_functions)
3937 (Lisp_functions, Postscript_functions, Scheme_functions)
3938 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3939 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3940 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3941 of the global variable dbp.
3942 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3943 standard indentation.
3944
02ce3e80
SM
3945 * etags.c (Python_suffixes, lang_names, Python_functions):
3946 Python support.
1c478461 3947 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3948 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3949 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3950 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3951 (eat_white): Deleted.
3952
3953 * etags.c (CHAR, init): Keep into account non US-ASCII
3954 characters and compilers with default signed chars.
3955 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3956 constructs.
ecc54057 3957 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3958
ecc54057 3959 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3960 (main): Put interval syntax here.
3961 (add_regex): And remove it from here.
3962
3963 * etags.c (suggest_asking_for_help): Provide a
3964 meaningful help message with and without LONG_OPTIONS.
3965
d07529f3 3966 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3967 <stdlib.h, string.h>: Don't test MSDOS when including them.
3968 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3969 (put_entries): Correctly use %ld instead of %d in printf.
3970
d07529f3 3971 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3972 declare getcwd if HAVE_GETCWD.
3973 (consider_token): Dead break instruction removed.
3974
4ee9629e
PE
39751999-10-19 Paul Eggert <eggert@twinsun.com>
3976
3977 Add support for large files. Merge glibc 2.1.2.
1c478461 3978
4ee9629e 3979 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3980 * movemail.c, pop.c:
4ee9629e
PE
3981 Do not include <stdlib.h>, as <config.h> does this now.
3982
3983 * b2m.c, emacsserver.c, etags.c, profile.c:
3984 Include <config.h> before any system include files.
1c478461 3985
4ee9629e 3986 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3987 * test-distrib.c:
4ee9629e
PE
3988 (read, write, open, close): Do not undef.
3989
3990 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3991 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3992
3993 * getopt.h: Adopt glibc 2.1.2.
1c478461 3994
93c8d183
DL
39951999-10-15 Dave Love <fx@gnu.org>
3996
3997 * Makefile.in (pop.o): Depend on config.h.
3998
b358f91c
GM
39991999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4000
4001 * pop.c: Use "pop3" as the POP service name on all platforms,
4002 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4003 has been the standard service name since RFC 1340 was published in
4004 July 1992, so I think it's safe to start using it by default.
4005
362bc2da
DL
40061999-09-27 Dave Love <fx@gnu.org>
4007
4008 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4009
74e4cb59
PR
40101999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4011
4012 * make-docfile.c (scan_lisp_file): Fix previous changes;
4013 swallow CRLF like just CR or just LF.
4014
362bc2da
DL
40151999-09-03 Richard Stallman <rms@gnu.org>
4016
4017 * make-docfile.c: Include config.h not ../src/config.h.
4018 (main, fopen, chdir): Add #undef.
4019 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4020 (scan_lisp_file): Handle \r like \n.
4021
40221999-08-30 Andreas Schwab <schwab@gnu.org>
4023
4024 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4025
4026 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4027 errno if it's a macro.
4028
4029 * test-distrib.c: Include <unistd.h> if available.
4030
40311999-08-29 Richard Stallman <rms@gnu.org>
4032
4033 * emacsclient.c (print_help_and_exit): Mention --version.
4034
40351999-08-25 Richard M. Stallman <rms@gnu.org>
4036
4037 * emacsclient.c (decode_options): Update version output.
4038 (print_help_and_exit): Update bug report address.
4039
40401999-08-13 Richard M. Stallman <rms@gnu.org>
4041
4042 * emacsclient.c (main): Move the dynamic allocation of
4043 system_name outside of the SERVER_HOME_DIR conditional.
4044 * emacsserver.c (main): Likewise.
4045
40461999-08-10 Gerd Moellmann <gerd@gnu.org>
4047
4048 * grep-changelog: New.
4049 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4050
40511999-07-12 Richard Stallman <rms@gnu.org>
4052
4053 * Version 20.4 released.
4054
40551999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4056
1c478461 4057 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
4058
40591999-06-23 Dave Love <fx@gnu.org>
4060
4061 * etags.c (erlang_attribute): Fix undefined variable usage (after
4062 Potorti).
4063
86e888c2 40641999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
4065
4066 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4067 mapped to _chsize.
4068
40691999-04-29 Richard M. Stallman <rms@gnu.org>
4070
4071 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4072
40731999-03-30 Dave Love <fx@gnu.org>
4074
4075 * sorted-doc.c (main): Split up tables. Modify the preamble
4076 somewhat.
4077
40781999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4079
4080 * makefile.nt: Remove common multiple file compilation commands.
4081
40821999-02-26 Richard Stallman <rms@gnu.org>
4083
362bc2da
DL
4084 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4085
4086 * yow.c: Refer to epaths.h.
4087
40881999-02-22 Simon Josefsson <jas@pdc.kth.se>
4089
4090 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4091
40921999-01-27 Andrew Innes <andrewi@gnu.org>
4093
4094 * makefile.nt: Do make version comparison as strings.
4095
40961999-01-25 Richard Stallman <rms@gnu.org>
4097
4098 * emacsclient.c (xmalloc): Fix previous change.
4099
41001999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4101
4102 * emacsclient.c (xmalloc): Declare to return long.
4103
41041999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4105
4106 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4107 the case of the drive letter.
4108
41091999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4110
4111 * emacsserver.c (main): Eliminate arbitrary limit on
4112 length of system_name.
4113
4114 * emacsclient.c (main): Eliminate arbitrary limit on
4115 length of system_name.
4116 (xmalloc): Define unconditionally.
4117
41181999-01-12 Darrin B. Jewell <jewell@mit.edu>
4119
4120 * etags.c (relative_filename): Stop backward search at beginning
4121 of string, since non-Unix systems can have absolute paths with no
4122 initial slash.
4123
41241998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4125
4126 * makefile.nt: Do string comparision of _NMAKE_VER.
4127
c60ee5e7 41281998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
4129
4130 * makefile.nt: Compile multiple source files when possible.
4131
41321998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4133
4134 * Makefile.in: Replace tabs with spaces
4135 when they might confuse some Make versions.
4136
41371998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4138
4139 * emacsclient.c (main): Null-terminate system_name.
4140
4141 * emacsserver.c (main): Null-terminate system_name.
4142
41431998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4144
4145 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4146 an error message from POP, mention that it's from POP, to
4147 distinguish it from local error messages.
4148
41491998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4150
4151 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4152 order of messages downloaded from a POP server (e.g., if the
4153 server stores messages in mailboxes in reverse order).
4154
41551998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4156
4157 * Version 20.3 released.
4158
41591998-08-11 Paul Eggert <eggert@twinsun.com>
4160
4161 * rcs2log: Update copyright date and bug report address.
4162 (initialize_fullname): Prefer getent if available.
4163
41641998-07-30 Paul Eggert <eggert@twinsun.com>
4165
290afd83 4166 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 4167 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 4168
362bc2da
DL
41691998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4170
4171 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4172
41731998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4174
4175 * Makefile.in: Properly terminate a comment.
4176
41771998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4178
4179 * movemail.c (sys_wait): Rename to wait.
4180
4181 * ntlib.h: Undefine _WINSOCKAPI_.
4182
4183 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4184
41851998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4186
4187 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4188
41891998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4190
b166dcd8
KC
4191 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4192 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4193
41941998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4195
4196 * make-docfile.c: Include <unistd.h> for chdir.
4197
41981998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4199
4200 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4201
42021998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4203
4204 * makefile.nt (obj): Update with new files in src.
4205 (clean): Delete patch scratch files, optimized compilation dir.
4206
42071998-04-08 Dave Love <fx@gnu.org>
4208
4209 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4210 Irix6, at least.
4211
42121998-04-06 Andreas Schwab <schwab@gnu.org>
4213
4214 Silence -Wimplicit:
4215 * movemail.c: Move cancelations up. Include <stdlib.h> if
4216 available.
4217 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4218 (parse_header): Explicitly declare return type.
4219 * emacsserver.c: Include <unistd.h> if available.
4220 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4221 return types. Add forward declarations.
4222 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4223 Don't declare geteuid.
b166dcd8
KC
4224 (print_help_and_exit): Change return type to void.
4225 Forward declare it.
362bc2da
DL
4226 * b2m.c: Include <stdlib.h> if available.
4227 (main): Explicitly declare return type.
4228
362bc2da
DL
42291998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4230
4231 * etags.c (put_entries): Use %ld.
4232
4233 * b2m.c (fatal): Declare the arg.
4234
42351998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4236
b166dcd8 4237 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4238
42391998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4240
4241 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4242 for the utilities.
4243
42441998-01-23 Dave Love <d.love@dl.ac.uk>
4245
4246 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4247 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4248 Always make named tags.
4249 (Fortran_functions): Grok BLOCK DATA.
4250
42511998-01-23 Andreas Schwab <schwab@gnu.org>
4252
4253 * movemail.c (main): Fix interwoven brace and cpp conditional
4254 nesting.
4255
362bc2da
DL
42561997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4257
cb438d6e
JB
4258 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4259 with a '>' any lines starting with "From " read from the POP server,
4260 but leave the code in place, wrapped in #ifdef
362bc2da 4261 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4262 because it turns out that something is depending on it.
4263 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4264 Convert the character \037 (^_) at the beginning of a line into
4265 the character '^' followed by the character '_', because otherwise
4266 Emacs can't parse the resulting file as a valid BABYL file.
4267 Change suggested by Paul Eggert <eggert@twinsun.com>.
4268
42691997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4270
4271 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4272 server to contain embedded nulls.
4273
42741997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4275
362bc2da
DL
4276 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4277 quotes with a '>' any lines starting with "From " read from the
4278 POP server, but leave the code in place, wrapped in #ifdef
4279 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4280 because it turns out that something is depending on it.
4281 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4282
4283 Convert the character \037 (^_) at the beginning of a line into
4284 the character '^' followed by the character '_', because otherwise
4285 Emacs can't parse the resulting file as a valid BABYL file.
4286 Change suggested by Paul Eggert <eggert@twinsun.com>.
4287
42881997-11-22 Richard Stallman <rms@gnu.org>
4289
4290 * b2m.c: Include getopt.h.
4291 (main): Use getopt_long to handle --version and --help.
4292
4293 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4294
42951997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4296
b166dcd8
KC
4297 * pop.c (fullwrite): Get rid of an extra call to write.
4298 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4299
43001997-10-16 Dave Love <d.love@dl.ac.uk>
4301
ecc54057
JB
4302 * etags.c (L_getit): Always make named tags so that Emacs
4303 completion on symbols containing `:' etc. works.
4304 (get_scheme): Likewise.
362bc2da
DL
4305
43061997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4307
4308 * pop.c: Use system header files instead of declaring C-library
4309 functions explicitly.
4310
43111997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4312
4313 * Version 20.2 released.
4314
43151997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4316
4317 * Version 20.1 released.
4318
43191997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4320
4321 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4322
4323 * ntlib.c (getpid): Delete function.
4324
43251997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4326
4327 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4328
43291997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4330
4331 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4332 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4333
43341997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4335
4336 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4337
43381997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4339
4340 * profile.c (get_time): Cast arg to fprintf.
4341
4342 * hexl.c (main): Use %08lx instead of %08x in printf because the
4343 variable named addresses is long.
4344
43451997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4346
4347 * makefile.nt (lisp): Update paths to lisp files that have moved.
4348
43491997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4350
4351 * makefile.nt (ctags.obj): New target.
4352 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4353
4354 * ntlib.h: Add includes.
4355 Undo definitions of crt routines from config.h.
4356
43571997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4358
4359 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4360
43611997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4362
4363 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4364 Kerberos V5 for movemail, including detection of V4 and V5 header
4365 files and libraries.
362bc2da 4366 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4367 declarations of string functions.
362bc2da 4368 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4369 V5 API rather than the old one.
362bc2da 4370 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4371 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4372 with a constant in a header file.
362bc2da
DL
4373
4374 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4375 Kerberos V5 for movemail, including detection of V4 and V5 header
4376 files and libraries.
362bc2da
DL
4377
43781997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4379
4380 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4381
4382 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4383
362bc2da
DL
43841997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4385
4386 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4387
43881997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4389
4390 * movemail.c (rindex): Add declaration.
4391
d57727c9 43921997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4393
4394 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4395 (movemail.exe): Depend upon and link with getopt files.
4396 (obj): Include new source files.
4397 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4398 (lisp): Include new and reorganized elisp files.
4399
44001997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4401
4402 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4403
44041997-06-25 Paul Eggert <eggert@twinsun.com>
4405
4406 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4407
44081997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4409
4410 * b2m.c (readline): Terminate buffer properly when EOF seen.
4411 Test for valid pointer before dereferencing it.
4412
880820fe 44131997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4414
4415 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4416 defined inside etags.c if HAVE_CONFIG_H is defined.
4417
880820fe 44181997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4419
ecc54057 4420 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4421 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4422 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4423 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4424 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4425 (longopts): New long options without short counterpart are
4426 globals, members, no-globals, no-members. Regexp options are now
4427 defined conditionally to ETAGS_REGEXPS.
4428 (print_help): Updated.
4429
880820fe 44301997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4431
4432 * etags.c (C_entries): Use "." instead of "::" for Java.
4433 (consider_token): is_func renamed to is_func_or_var.
4434 (C_entries): is_func renamed to funorvar.
4435 (C_entries): Initialise tok.named.
4436 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4437 get rid of "import", "package" and "friend".
b166dcd8
KC
4438 (fvdef): Rename from funcdef. Also some constants renamed.
4439 All users changed.
362bc2da
DL
4440 (C_entries): Make separate tags for variables separated by comma.
4441 (globals, members): New flags.
4442 (main, C_entries): Use them.
4443 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4444
880820fe 44451997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4446
4447 * etags.c (funcdef): New vignore constant.
4448 (consider_token, C_entries): Use it to tag global variables.
4449 (print_help): Update for global variables.
4450 (consider_token, C_entries): Set the len member of token_name.
4451 (prolog_pred): Cleanup according to GNU coding standards.
4452 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4453 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4454
880820fe 44551997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4456
4457 * etags.c (CHARS, CHAR): New constant and macro.
4458 (iswhite, begtoken, intoken, endtoken): Use them.
4459 (notinname, _nin, nonam): New macro, array, string.
4460 (init): Cleanup and init _nin.
4461 (new_pfnote): New function.
4462 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4463 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4464
880820fe 44651997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4466
4467 * etags.c (C_entries, Pascal_functions): Cleanup.
4468 (TeX_functions): NULL as a function arg needs a cast.
4469 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4470
880820fe 44711997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4472
4473 * etags.c (TeX_functions): Cleaned up.
4474 (tex_getit): Removed.
4475
44761997-05-13 Paul Eggert <eggert@twinsun.com>
4477
4478 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4479 non-files within the RCS subdirectory.
362bc2da 4480
880820fe 44811997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4482
4483 * etags.c (C_JAVA): New #define.
4484 (Cjava_suffixes): .java is Java.
4485 (Cjava_entries): New function.
4486 (lang_names): Add Java.
4487 (sym_type): Add st_C_javastruct for Java.
4488 (C_stab_entry): Add `extends' and `implements' keywords.
4489 (consider_token, C_entries): Recognise Java structures.
4490
880820fe 44911997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4492
ecc54057 4493 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
4494 (Postscript_suffixes): .ps is Postscript.
4495 (lang_names): Add Postscript.
4496 (Postscript_functions): New function.
4497 (TEX_decode_env): Close minor memory leak.
4498 (just_read_file): Correct the char number of the tag.
4499
45001997-05-11 Paul Eggert <eggert@twinsun.com>
4501
4502 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4503 Don't prepend $nl since this causes some shells to generate the
4504 empty string when IFS is $nl.
362bc2da 4505 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4506 PC-based shells mishandle CR.
362bc2da
DL
4507 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4508 nismatch, in case it's set to some nonstandard value.
1c478461 4509
362bc2da
DL
45101997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4511
4512 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4513 read in separate blocks.
4514
880820fe 45151997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4516
4517 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4518 (struct linebuffer): New member `len' is the length of the string.
4519 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4520 Use it instead of strlen.
4521 (TEX_getit): Declare and define unconditionally as static.
4522 (TeX_functions): Use if instead of #if TeX_named_tokens.
4523 (add_regex): Set RE_INTERVALS flag for regex compilation.
4524 (substitute): Code cleanup.
4525 (readline_internal): Code cleanup, set new member `len'.
4526 (readline): Bug corrected.
4527
45281997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4529
4530 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4531 (obj): Change references of nt*.c files to w32*.c files.
4532
880820fe 45331997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4534
4535 * etags.c (xnew): Add support for debugging with chkmalloc.
4536 (error): Use this instead of printf whenever possible.
4537 (main): Only call xnew after having initialised progname.
4538 (substitute): Bad memory corruption error corrected.
4539
880820fe 45401997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4541
4542 * etags.c (add_regex): Undo previous change.
4543 (relative_filename): Small memory leak closed.
4544 (absolute_filename): Cleaned up the code, possibly closing a bug.
4545 (absolute_dirname): Always return a newly allocated string.
1c478461 4546
362bc2da
DL
45471997-03-21 Paul Eggert <eggert@twinsun.com>
4548
4549 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4550 of the form ,*, or *_; they are probably RCS lock files.
4551 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4552 they are used by rcsfreeze.
4553
880820fe 45541997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4555
2f2c687b 4556 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4557
45581997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4559
4560 * movemail.c (popmail): Remove some unnecessary function
4561 declarations.
4562 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4563 into pop_retr, there's no reason to pass in mbx_write, and the
4564 file argument can be declared FILE * explicitly. This fixes a
4565 compilation problem on systems with 64-bit pointers.
4566
45671997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4568
4569 * movemail.c: Delete duplicate inclusion of fcntl.h
4570 and duplicate #undefs of open, read, write, close.
4571
45721997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4573
4574 * movemail.c (main): Do not display "[POP-password]" in the usage
4575 message when movemail is compiled without POP support.
4576 (main, popmail): Add the optional "-p" argument, which causes
4577 movemail to leave mail in the inbox after copying it into the
4578 output file.
1c478461 4579
362bc2da
DL
4580 * Makefile.in (movemail): Link with getopt.
4581
45821997-01-20 Paul Eggert <eggert@twinsun.com>
4583
ecc54057 4584 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4585 (Copyright, Help, Id): New variables, for above.
4586 (rlog): Use -q option with cvs log, to avoid useless chatter.
4587
4588 Treat logs of "Initial revision" (RCS) or "file F was initially added
4589 on branch B." (CVS) as if they said "New file.", for consistency with
4590 change log entries.
4591
45921997-01-01 Paul Eggert <eggert@twinsun.com>
4593
4594 * vcdiff (PATH): Add /usr/xpg4/bin,
4595 where XPG4 SCCS hangs out in Solaris 2.5.
4596 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4597
45981996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4599
4600 * etags.c (streq, strneq): Use == NULL rather than !.
4601
46021996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4603
4604 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4605 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4606
4607 * movemail.c: Include maillock.h (conditionally).
4608 Remove a redundant inclusion of <stdio.h>.
4609 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4610 (main): Add variable spool_name.
4611 Support the usage of maillock and mailunlock to
ecc54057 4612 lock and unlock mailboxes.
362bc2da
DL
4613 (mail_spool_name): New function.
4614
4615 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4616 movemail to exit with an error status incorrectly on systems which
4617 use lock files rather than a system locking function to lock
4618 mailboxes.
362bc2da
DL
4619
46201996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4621
4622 * pop.c (socket_connection): Free realhost after using it.
4623
880820fe 46241996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4625
4626 * etags.c (C_entries): Test tok.valid. This handles some
4627 particular cases involving function declarations that failed.
4628
46291996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4630
362bc2da
DL
4631 * pop.c (socket_connection):
4632 gethostbyname may return a pointer to static data.
4633 krb_realmofhost can clobber it. So copy it.
4634
880820fe 46351996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4636
4637 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4638 must cast it to (char *) because we have no prototypes.
4639 (make_C_tag): Macro deleted, new function.
4640 (C_entries): Calls to make_C_tag macro changed to call function.
4641
880820fe 46421996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4643
4644 * etags.c (grow_linebuffer): New function.
4645 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4646 (make_tag): Macro renamed to make_C_tag. All callers changed.
4647 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4648 (Prolog_functions): prolog_skip_comment was called with wrong
4649 number of arguments.
6088b51f 4650 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4651
880820fe 46521996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4653
4654 * etags.c (relative_filename): Bug corrected.
4655 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4656 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4657
46581996-11-03 Paul Eggert <eggert@twinsun.com>
4659
4660 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4661 repository file names.
362bc2da
DL
4662
46631996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4664
4665 * emacsserver.c: Fix 1996-09-02 change.
4666
46671996-10-12 Paul Eggert <eggert@twinsun.com>
4668
4669 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4670 option', since CVS says 'invalid option'.
362bc2da
DL
4671 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4672 revisions, since some hosts reject 1970-01-01 when east of UTC.
4673 (date): Remove.
4674
46751996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4676
4677 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4678
880820fe 46791996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4680
4681 * etags.c (print_version): Print copyright info.
4682
4683 * etags.c (print_help): Print the bug reporting address.
4684 (main): Use return as the last instruction, instead of exit.
4685
4686 * etags.c (main): Don't open the tags file in cxref mode.
4687
46881996-09-29 Dave Love <d.love@dl.ac.uk>
4689
4690 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4691 as well as earlier CVSs and RCS.
362bc2da
DL
4692
46931996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4694
4695 * movemail.c (main): If the lock call fails with EBUSY or
4696 EAGAIN, retry a few times.
4697
46981996-09-25 Paul Eggert <eggert@twinsun.com>
4699
4700 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4701 whether to append -zLT.
362bc2da
DL
4702
47031996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4704
4705 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4706 * emacsclient.c, movemail.c: Likewise.
4707
47081996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4709
4710 * emacsclient.c (longopts): Change nowait to no-wait.
4711 (print_help_and_exit): Fix option name; upcase metavars.
4712
47131996-09-06 Erik Naggum <erik@naggum.no>
4714
4715 * emacsserver.c (main): Declare `fromlen' as size_t.
4716
47171996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4718
4719 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4720
47211996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4722
4723 * emacsclient.c (quote_file_name): Quote with &, not \.
4724 Quote `-' only at start of file name. Terminate the value string.
4725
4726 * emacsserver.c: Include signal.h properly;
4727 delete the duplicate includes for it.
4728
4729 * emacsserver.c: On fatal signal, delete socket-file:
4730 * emacsserver.c: Include signal.h.
ecc54057 4731 (xmalloc, fatal, error): New functions.
362bc2da
DL
4732 (delete_socket, handle_signals): New functions.
4733 (progname, socket_name): New variables.
194d44e7 4734 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4735
47361996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4737
4738 * emacsclient.c (quote_file_name): New function.
4739 (main, both versions): Use quote_file_name.
4740 (decode_options): Don't return a value.
4741 (main, both versions): Use optind.
4742 Don't check for -nowait here.
1c478461 4743
362bc2da
DL
4744 * emacsclient.c (decode_options): New function.
4745 (main, both versions): Call decode_options.
4746 (print_help_and_exit): New function.
4747 (VERSION): New macro.
4748
4749 * Makefile.in (emacsclient): Link with getopt.
4750 Add -DVERSION so emacsclient knows its version number.
4751
47521996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4753
4754 * makefile.nt (lisp): Include dos-nt.elc.
4755
47561996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4757
4758 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4759
47601996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4761
4762 * emacsclient.c (both versions): Handle -nowait and --nowait
4763 by sending data to the server.
4764
47651996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4766
4767 * Makefile.in (INSTALL_STRIP): New variable.
4768 (${archlibdir}): Use INSTALL_STRIP.
4769
4770 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4771 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4772
4773 * pop.c: Reverse conditional in previous change.
4774
47751996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4776
4777 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4778
47791996-08-24 Paul Eggert <eggert@twinsun.com>
4780
4781 * rcs2log: Use ISO 8601 date format, with time zone appended
4782 if change-log-time-zone-rule is non-nil, instead of
4783 traditional Unix date format.
4784
4785 (datearg): When computing default from ChangeLog, handle ISO format
4786 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4787 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4788 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4789 "$datearg" option to $rlog.
4790 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4791 (month_data): Remove `mo'; no longer needed.
10d1d0af 4792 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4793
4794 Match `revision' line of rlog output more accurately.
4795
4796 Add -c, -v options.
4797
47981996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4799
4800 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4801
48021996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4803
4804 * Version 19.33 released.
4805
48061996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4807
4808 * Version 19.32 released.
4809
48101996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4811
4812 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4813 computing character positions in source files.
4814
48151996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4816
4817 * makefile.nt (clean): Use OBJDIR macro.
4818
48191996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4820
4821 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4822
c60ee5e7 48231996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4824
ecc54057 4825 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4826 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4827 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4828
48291996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4830
4831 * ntlib.h: Correct return type of getwd.
4832 * ntlib.c (getwd): Correct return type.
4833
48341996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4835
4836 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4837 to infile.
4838
48391996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4840
4841 * makefile.nt: Remove all references to wakeup.
4842
880820fe 48431996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4844
4845 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4846 explicit, mutable, typename.
4847
48481996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4849
4850 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4851 streams, one for sending and one for reading the reply.
4852
48531996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4854
4855 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4856 (wakeup): Target deleted.
4857 (UTILITIES): Delete wakeup and timer.
4858
4859 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4860
48611996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4862
4863 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4864 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4865
48661996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4867
4868 * etags.c (main): Copy cwd when appending slash.
4869
48701996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4871
4872 * Version 19.31 released.
4873
880820fe 48741996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4875
4876 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4877 (Pascal_functions): Increase linecharno by the correct number of
4878 chars, inline the GET_NEW_LINE macro and delete its definition.
4879
c60ee5e7 48801996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4881
4882 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4883
c60ee5e7 48841996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4885
4886 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4887 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4888
4889 * ntlib.c: Include ntlib.h.
4890 (nt_sleep): Rename to sleep.
4891 (getwd): Return directory.
4892 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4893 sys_ctime, sys_fopen): New functions.
4894
4895 * ntlib.h: New file.
4896
48971996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4898
b166dcd8 4899 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
4900 (pop_open, pop_trash): Make the trash_started code unconditional.
4901 (socket_connection): Delete casts to void.
4902
49031996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4904
b166dcd8
KC
4905 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
4906 Definitions copied from lisp.h.
362bc2da
DL
4907
49081996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4909
4910 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4911
4912 * hexl.c [DOSNT]: Include fcntl.h.
4913 [WINDOWSNT]: Include io.h.
4914 (main) [MSDOS]: Change conditional to DOS_NT.
4915
4916 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4917 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4918 [WINDOWSNT]: Include locking.h.
4919 (main): Update usage message. Use IS_DIRECTORY_SEP.
4920 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4921 (main) [WINDOWSNT]: Invoke locking instead of flock.
4922 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4923 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4924 Include winsock.h; don't include unix inet headers.
4925 (popmail): Add password argument and pass it to pop_open.
4926 Open output file in binary mode.
4927
4928 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4929 Macro SOCKET_ERROR undefined.
362bc2da
DL
4930 Don't declare h_errno.
4931 [!WINDOWSNT]: Define macros recv and send.
4932 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4933 (pop_open) [WINDOWSNT]: Initialize trash_started.
4934 (have_winsock) [WINDOWSNT]: New variable.
4935 (socket_connection) [WINDOWSNT]: Initialize winsock.
4936 (socket_connection): Use closesocket instead of close.
4937 (getline): Use recv instead of read.
4938 (fullwrite): Use send instead of write.
4939 (pop_trash): Use closesocket instead of close.
4940 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4941 Check if being called recursively by sendline.
4942
4943 * pop.h (struct _popserver): New field trash_started.
4944
4945 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4946
49471996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4948
4949 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4950
49511996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4952
4953 * etags.c [WINDOWSNT]: Include io.h.
4954
49551996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4956
4957 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4958
49591996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4960
4961 * hexl.c [DJGPP v2]: Include io.h.
4962 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4963
4964 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4965 DJGPP v2.
4966
49671996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4968
4969 * etags.c (absolute_filename): Use absolutefn.
4970
49711996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4972
4973 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4974 letter isn't an alphabetic character.
4975 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4976 (process_file) [DOS_NT]: Convert all slashes to forward style.
4977 (absolute_filename) [DOS_NT]: Emit error message for relative
4978 paths with a drive letter.
4979 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4980 DOS/NT drive letters which try to reference the parent of the root.
4981 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4982
49831996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4984
4985 * makefile.nt: Change uses of del to $(DEL).
4986
880820fe 49871996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4988
4989 * etags.c (just_read_file): Reset lineno and charno on entry.
4990
49911996-03-15 Anders Lindgren <andersl@csd.uu.se>
4992
4993 * etags.c: Prolog language totaly rewritten.
ecc54057 4994 (Prolog_functions): Rewritten from scratch.
362bc2da 4995 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4996 (prolog_skip_comment): New function, like old skip_comment.
4997 (prolog_pred, prolog_atom, prolog_white): New functions.
4998 (erlang_func, erlang_attributes): Forward declarations added.
4999 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 5000
880820fe 50011996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5002
5003 * etags.c (absolutefn): DOS_NT version corrected.
5004 (main): Append "/" to the dir name only if not already there.
5005 (print_help): Explain the absolute/relative file name issue.
1c478461 5006
362bc2da
DL
50071996-03-08 Anders Lindgren <andersl@csd.uu.se>
5008
10d1d0af
JB
5009 * etags.c: New Language Erlang added.
5010 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5011 (erlang_white): New functions.
362bc2da
DL
5012 (Erlang_suffixes): New suffix list.
5013 (lang_names): Erlang entry added.
5014 (prolog_getit): Accepts headers spanning several lines.
5015 Always name tags.
b166dcd8 5016 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
5017 newline characters.
5018 (readline_internal): Zero-terminate last line.
5019
50201996-03-20 Mike Long <mike.long@analog.com>
5021
5022 * b2m.c (main): Initialize progname variable before using it.
5023 Quote `username' in From_ header.
5024
50251996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5026
5027 * ntlib.c (getpid): New function.
5028
50291996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5030
5031 * emacsclient.c (main, both definitions):
5032 Print a newline for normal termination.
5033
50341996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5035
5036 * tcp.c (main): Convert port to network byte order.
5037
50381996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5039
5040 * pop.c (pop_retrieve, getline): Avoid type clashes.
5041
50421996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5043
5044 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5045
50461996-01-15 Paul Eggert <eggert@twinsun.com>
5047
5048 * rcs2log (initialize_fullname): Add support for NIS+.
5049 (hostname): Fully qualify the default hostname with the domainname
5050 if the hostname lacks a `.'.
5051
362bc2da
DL
50521996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5053
5054 * etags.c (consider_token): Fix typo in expression.
5055
50561996-01-04 Paul Eggert <eggert@twinsun.com>
5057
5058 * etags.c (substitute): Fix spelling in message.
5059
50601996-01-03 George V. Reilly <georger@microcrafts.com>
5061
5062 * makefile.nt (etags, ctags): Compile with regexp support.
5063 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5064 subdirectory exists before compiling.
1c478461 5065
362bc2da
DL
50661996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5067
5068 * emacsserver.c (main): Do chmod based on existing permission.
5069
50701995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5071
5072 * Makefile.in (install): Turn on read/execute permission.
5073
50741995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5075
5076 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5077 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5078
50791995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5080
b166dcd8 5081 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 5082
880820fe 50831995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5084
5085 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5086 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5087 get_scheme, prolog_getit): Name the tag in ctags mode.
5088 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5089 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5090 (suggest_asking_for_help): New function.
5091 (main, get_language_from_name): Use suggest_asking_for_help.
5092 (main): Let get_language_from_name make language existence check.
5093 (streq, strneq): Check the arguments #if DEBUG.
5094
880820fe 50951995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5096
5097 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
5098 (gperf): Add keywords for Objective C and GNU macros.
5099 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
5100 (begtk): The '@' character can start a token.
5101 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 5102 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
5103 (plain_C_suffixes): Add .m and .lm for Objective C.
5104 (Yacc_suffixes): Add .ym for Objective yacc.
5105 (GROW_LINEBUFFER): New macro.
5106 (consider_token, C_entries, Pascal_functions): Use the new macro.
5107 (consider_token): Take one more argument. Caller changed.
5108 (consider_token): Use the hashing function to spot GNU macros.
5109 (C_entries): Consider // as a comment start even in plain C for
5110 the sake of Objective C parsing.
5111
880820fe 51121995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 5113
2f2c687b 5114 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 5115 compile with regexp support enabled.
362bc2da
DL
5116
51171995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5118
5119 * Version 19.30 released.
5120
51211995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5122
5123 * makefile.nt (DOC, clean): Don't use switches to del not
5124 supported by Windows 95.
5125
51261995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5127
5128 * Makefile.in (regex.o): Depend on ../src/config.h.
5129
51301995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5131
5132 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5133 (LOADLIBES): Use LIB_STANDARD.
5134
51351995-11-07 Kevin Gallo <kgallo@microsoft.com>
5136
5137 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5138 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5139 Windows 95 conditional.
5140
880820fe 51411995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5142
b166dcd8
KC
5143 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5144 (get_lang_from_suffix): New functions.
362bc2da
DL
5145 (get_language): Function deleted.
5146 (lang_entry): Two members added to struct.
5147 (lang_names): Reflect the new layout of lang_entry.
5148 (print_language_names, main, find_entries): Use the new functions.
5149 (find_entries): Look at the first line for #! if no language.
5150 (C_entries): Invalidate the token when funcdef is reset.
5151 (Perl_functions): New function.
5152 (lang_suffixes): .pl and .pm are Perl suffixes.
5153
880820fe 51541995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5155
5156 * etags.c (lowcase): Use the standard tolower function.
5157 (substitute): Remove some wrong and some useless code related with
a64387ee 5158 escape '\' character in regexp replacement string.
b166dcd8 5159 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
5160 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5161 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5162 .prolog for prolog (.pl removed).
5163 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 5164 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
5165 (add_node): Dead code removed.
5166
51671995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5168
5169 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5170 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5171
51721995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5173
5174 * test-distrib.c: Add #undef for open, close, read, write.
5175
51761995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5177
5178 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5179 [! O_RDONLY]: Define it to zero.
5180 (main): Use O_RDONLY instead of explicit zero.
5181
880820fe 51821995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5183
5184 * etags.c (Pascal_functions): Close comment bug corrected.
5185 (add_node): Correctly compare node file names.
5186 (Pascal_functions): Correctly allocate and free memory for tline.
5187 (pfnote): Put the definition of fp in the innermost block.
5188 (NODE): `named' member removed.
5189 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5190 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5191 (pfnote): `named' argument removed, all callers changed.
5192 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5193 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5194 removed from pfnote call, some code cleanup.
362bc2da
DL
5195 (relative_filename): Free temporary space allocated by concat.
5196
51971995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5198
5199 * Makefile.in (getdate.c): New target.
5200 (getdate.o): Just compile getdate.c.
5201
52021995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5203
5204 * fakemail.c (xrealloc): Change cast to match return type.
5205
52061995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5207
5208 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5209
52101995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5211
5212 * movemail.c (main): Fix previous change.
5213 Add error check for empty OUTNAME.
5214
52151995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5216
5217 * movemail.c (main): Mention lock file name in error message.
5218
52191995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5220
5221 * profile.c (gettimeofday): New function, defined if necessary.
5222
52231995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5224
5225 * Makefile.in: Renamed from Makefile.in.in.
5226 (distclean): Delete Makefile.c, not Makefile.in.
5227
52281995-07-17 Michael Shields <shields@tembel.org>
5229
5230 * Makefile.in.in (tags): Synonym for `TAGS'.
5231
52321995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5233
5234 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5235 configure has already set $(INSTALL) to the proper relative path.
5236
362bc2da
DL
52371995-07-08 Paul Eggert <eggert@twinsun.com>
5238
5239 * rcs2log (datearg): Separate date from time with comma, not space,
5240 to work around CVS 1.5 bug.
5241 (CVSROOT): Don't abort when unset if repository is absolute.
5242
52431995-07-07 Paul Eggert <eggert@twinsun.com>
5244
5245 * rcs-checkin, rcs2log, vcdiff:
5246 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5247 that interpret `#! /' as a 4-byte magic number.
5248
52491995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5250
5251 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5252 mailbox with "po:mailbox", the mailbox is everything after the
5253 "po:" prefix.
5254
52551995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5256
5257 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5258 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5259
52601995-06-28 Paul Eggert <eggert@twinsun.com>
5261
5262 * rcs2log (CVSROOT, repository):
5263 Allow remote repositories a la CVS 1.4.
5264
880820fe 52651995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5266
2f2c687b
JB
5267 * etags.c (plain_C_entries): New function.
5268 (lowcase): New macro.
5269 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5270 (lang_suffixes): New suffix ".pc" for Pro*C files.
5271 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5272 (tail): Look for the end of the token when comparing.
5273 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5274
52751995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5276
5277 * movemail.c (main): Add newline in usage message.
5278
52791995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5280
5281 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5282
880820fe 52831995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5284
5285 * etags.c (find_entries): Rewind before rereading the input file.
5286
52871995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5288
5289 * Version 19.29 released.
5290
5291 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5292 This undoes part of the previous change.
5293
52941995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5295
5296 * make-docfile.c (main): On MSDOS, don't change stdout
5297 to binary, and insist on an -o option.
5298
52991995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5300
5301 * etags.c (process_file,absolute_filename): Handle filenames
5302 starting with a drive letter.
5303
5304 * makefile.nt (install): Copy wakeup.exe properly.
5305
53061995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5307
5308 * make-docfile.c [MSDOS]: #undef chdir.
5309
53101995-06-04 Paul Eggert <eggert@twinsun.com>
5311
5312 * rcs2log (output_authors): Allow ':' in time zone,
5313 as per ISO 8601 and RCS 5.6.8 beta.
5314
880820fe 53151995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5316
5317 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5318 compatibility problems.
5319
53201995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5321
5322 * etags.c (etags_getcwd): Don't use #elif.
5323 Have just one function body.
5324
53251995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5326
5327 * makefile.nt (LIBS): Use BASE_LIBS.
5328 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5329 upon LIBS.
5330 (DOC): Use del instead of rm.
5331 (DOC) [WINDOWS95]: Use DOC.
5332 (clean): Handle MSVC aux files.
5333 (config.h,paths.h): Use $(CP) instead of cp.
5334 (config.h): Use $(CONFIG_H)
5335 (make-docfile.obj): Depend upon config.h.
5336 Clean up comments.
5337
880820fe 53381995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5339
5340 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5341 former gives the true path even in the presence of simlinks.
5342
53431995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5344
5345 * movemail.c (main): Increase lock timeout to five minutes.
5346
53471995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5348
5349 * makefile.nt (obj): Use .c files.
5350
53511995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5352
5353 * make-docfile.c: Include config.h.
5354 (NO_SHORTNAMES): New definition.
5355 (xmalloc): Return long *.
5356
5357 * etags.c (C_entries): Cast result of xrealloc.
5358 (xmalloc, xrealloc): Declare them to return long *.
5359
5360 * b2m.c (xmalloc, xrealloc): Declare them long *.
5361
5362 * movemail.c (xmalloc): Declare it to return long *.
5363
53641995-04-30 Paul Eggert <eggert@twinsun.com>
5365
5366 * rcs2log (datearg): If rlog options are specified explicitly,
5367 omit the implicit '-d>DATE' option.
5368 (repository, rlog): Allow absolute paths to CVS repositories.
5369 Look only at the first line of CVS/Repository.
5370
53711995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5372
5373 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5374 realclean.
5375
53761995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5377
5378 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5379 Alternative (empty) definitions.
5380
53811995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5382
5383 * emacsclient.c (main): Add argv[0] to an error message.
5384
53851995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5386
5387 * emacsclient.c (main): Improve error handling.
5388 * cvtmail.c (main, skip_to_lf): Improve error handling.
5389 (sysfail): New function.
5390
5391 * b2m.c (main): Check for trailing ", " before trying to delete it.
5392
53931995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5394
5395 * Makefile.in.in (all): Build test-distrib and make-docfile.
5396
5397 * make-docfile.c (scan_c_file): At end, restore file name last char
5398 to its original value.
5399
54001995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5401
5402 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5403
54041995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5405
b166dcd8 5406 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5407 (alloca.o, regex.o): Use BASE_CFLAGS.
5408
54091995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5410
5411 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5412
54131995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5414
5415 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5416 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5417
54181995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5419
5420 * aixcc.lex: File deleted--surely obsolete now.
5421
54221995-03-23 Paul Eggert <eggert@twinsun.com>
5423
5424 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5425 portability to mawk and nawk.
5426
54271995-03-21 Paul Eggert <eggert@twinsun.com>
5428
5429 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5430 -u "login<tab>fullname<tab>mailaddr".
5431
54321995-03-21 Paul Eggert <eggert@twinsun.com>
5433
5434 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5435 replaces the (now obsolescent) -n login fullname mailaddr option.
5436 Add -R option for recursive rlog.
07655e62 5437 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5438 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5439 Quote authors and fullnames correctly.
5440 Don't omit path from repository root when logging CVS files.
5441
54421995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5443
5444 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5445 even if HAVE_SYSVIPC.
5446 * emacsclient.c (main): Use getcwd if not BSD.
5447
880820fe 54481995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5449
2f2c687b 5450 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5451 (readline_internal): Do not access the char before start of line.
5452
880820fe 54531995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5454
5455 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
5456 savetok.valid. Mark token as valid when it is initialised.
5457 (make_tag): Make token only if token is valid and reset validity.
5458 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5459 (TOKEN): Add a new member: valid.
362bc2da 5460
880820fe 54611995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5462
5463 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5464 (main): Do not read twice the last filename in the stdin file list.
5465
880820fe 54661995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5467
5468 * etags.c (C_entries): Initialise the new members of TOKEN.
5469 (C_entries): Do not allocate a new space for each token found by
5470 consider_token. Let make_tag do that instead.
5471 (make_tag): Since now TOKEN has memory of where it is taken from,
5472 this new macro substitutes both make_tag_from_new_lb and
5473 make_tag_from_oth_lb. All callers changed.
5474 (TOKEN): Add linepos and buffer members.
5475 (main): Initialise token_str.
5476 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
5477 (token_str): New global variable used by C_entries.
5478
54791995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5480
b166dcd8 5481 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5482
880820fe 54831995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5484
5485 * etags.c (pfnote): Initialise been_warned in the node.
b166dcd8 5486 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5487
880820fe 54881995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5489
5490 * etags.c (longopts, print_help, main): Use -I as abbreviation
5491 for the --ignore-indentation option.
5492 (main): Do not print an error message for unknown options.
5493
880820fe 54941995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5495
5496 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5497 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5498 (constantypedefs, update, vgrind_style, no_warnings)
5499 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5500 (permit_duplicates): Was a var, now a #define.
5501 (filename_lb): Was global, now local to main.
5502 (main): Open the tag file when in cxref mode.
5503 Use a BUFSIZ size buffer for making the shell commands.
5504 Look at the return value from the system routine.
5505 Exit when cannot open the tag file.
5506 (process_file): Open the file and pass the FILE* to find_entries.
5507 (find_entries): Now void, because does not open the file itself.
5508 (pfnote): Recovering from lack of memory does not work. Removed.
5509 Use savenstr and simplify the code.
5510 (free_tree): Only free the name space if node is named.
5511 (structtag): Now a pointer, not a fixed length array of chars.
5512 (consider_token): Don't take a token as argument. Use savenstr
5513 when saving a tag in structtag. Callers changed.
5514 (TOKEN): Structure changed. Now used only in C_entries.
5515 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5516 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5517 (pfcnt): Deleted. Users updated.
194d44e7
JB
5518 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5519 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5520 the tag instead of a fixed size buffer.
5521
55221995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5523
5524 * movemail.c (main): Skip past the colon in inname.
5525
880820fe 55261995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5527
5528 * etags.c (pfatal): New function.
5529 (main, etags_getcwd): Use pfatal.
5530 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5531
880820fe 55321995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5533
5534 * etags.c (Lang_function): Use void instead to declare the
5535 language functions, because many compilers are buggy.
5536 (etags_getcwd): Fix the previous fix on the #else branch.
5537 (readline_internal): Discard possible \r before \n here.
5538 (C_entries): Do not deal with \r here: undo previous fix.
5539
880820fe 55401995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5541
5542 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5543 functions and a macro that allow the program to work on input
5544 lines of whatever length. Copied from etags.c.
5545 (fatal): Print a fatal error message and exit.
5546 (main): Use the new functions. Fixed a bug that made a \037 char
5547 appear at the end of the output.
5548
55491995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5550
5551 * etags.c (C_entries): Ignore carriage return at end of line.
5552
55531994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5554
5555 * fakemail.c (xmalloc, xrealloc): Add casts.
5556 (add_field): Handle <...> and "..." syntax.
5557 (setup_files, get_keyword): Clean up parens and line breaks.
5558 (args_size): Likewise.
5559
55601994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5561
5562 * yow.c: Include program name in error messages.
5563
55641994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5565
5566 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5567 (xmalloc, fatal, error): New functions.
5568 (progname): New variable.
5569 (main): Set progname.
5570
55711994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5572
5573 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5574 (main): If socket/mqueue name is in home dir, add in the host name.
5575 Rename .emacs_server to .emacs-server....
5576
55771994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5578
5579 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5580
880820fe 55811994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5582
2f2c687b
JB
5583 * etags.c (print_help): Print --regex usage for ctags also.
5584 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5585
880820fe 55861994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5587
5588 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5589 is compiled if this is defined. The new functions and variables
5590 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5591 [VMS]: All VMS specific code previously contained in
5592 etags-vmslib.c is now included here, modified for dealing with
5593 language and regex options intermixed with filenames.
5594 (header_file): Global variable deleted.
5595 (Lang_Function): New typedef. All language parser functions
5596 changed to this new type.
5597 (string_numeric_p, substr, prestr): Functions deleted.
5598 (readline_internal): Does the job that readline did previously.
5599 (longopts): --language and --regex options added.
5600 (lang_names, lang_extensions, lang_func, print_language_names):
5601 New structures, variables and functions for choosing languages.
5602 (print_help): Help strings updated. Calls print_language_names.
5603 (argument_type, ARGUMENT): Typedefs for dealing with language and
5604 regex options intermixed with filenames.
b166dcd8 5605 (main): Change the way of dealing with arguments on the command
362bc2da
DL
5606 line to deal with language and regex options intermixed with
5607 filenames.
5608 (get_language, default_C_entries, Cplusplus_entries,
5609 Cstar_entries, Yacc_entries, just_read_file): New functions.
5610 (find_entries): Use the new method for choosing the language.
5611 (Pascal_functions): Allow intermixing of comment styles.
5612 (prolog_getit, skip_comment): Rewritten for speed.
5613 (readline): Rewritten to deal with regexps.
5614
880820fe 56151994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5616
5617 * etags.c (<errno.h>): #include added.
5618 (etags_getcwd): Check return value from getcwd.
5619
56201994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5621
5622 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5623 (get_time): Use EMACS_SUB_TIME.
5624
d57727c9 56251994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5626
5627 * ntlib.c: New file.
5628 * makefile.nt: New file.
5629
5630 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5631 [WINDOWSNT]: Include the NT headers.
5632 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5633
5634 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5635 [WINDOWSNT]: Include some NT headers.
5636
56371994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5638
5639 * pop.c (getline): When a search of already-read input for CRLF
5640 fails, store the fact that we've searched it and don't search it
5641 again after reading more data.
5642
5643 * pop.c (getline): When determining whether or not it's necessary
5644 to grow the input buffer, take into account the null that's stored
5645 at the end of already-read input in the buffer.
5646
880820fe 56471994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5648
2f2c687b 5649 * etags.c (prestr, substr): Return a logical type.
362bc2da 5650 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5651 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5652 (C_entries): Now we can use Tom Hageman patch for extern "C".
5653
56541994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5655
5656 * movemail.c: PopServer renamed to popserver throughout.
5657
56581994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5659
5660 * etags.c: Don't declare malloc, since we include config.h.
5661 * fakemail.c: Likewise.
5662
56631994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5664
5665 * movemail.c: Don't declare malloc.
5666
56671994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5668
5669 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5670 avoid syntax error.
362bc2da
DL
5671
56721994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5673
5674 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5675 defined, and if HAVE_CONFIG_H isn't defined, define
5676 MAIL_USE_POP always (so that this file can be included in
5677 other programs besides emacs).
5678
5679 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5680 HAVE_CONFIG_H isn't defined.
5681
5682 * pop.c (find_crlf, getline): Instead of using strstr, use a
5683 custom function for finding CRLF.
5684 (my_strstr): Function deleted.
5685
56861994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5687
5688 * pop.c (getline): Fix a segfault because of passing a
5689 non-null-terminated string into strstr(). Fix from
5690 djm@va.pubnix.com (David J. MacKenzie).
5691
5692 * pop.c: Don't include <string.h> and <strings.h>.
5693
b166dcd8
KC
5694 * pop.c: Include <des.h> before <krb.h>, rather than after.
5695 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
5696 both orders in various files in the Kerberos 4 library sources,
5697 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5698 requires that <des.h> be included first, and I don't see any harm
5699 in changing the order.
5700
5701 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5702 STDC_HEADERS, if they're defined. Undef open, read, write and
5703 close after including it.
5704
57051994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5706
5707 * pop.c: Fix mismatch in conditionals.
5708
5709 * make-docfile.c (main): Don't process one input file twice.
5710 Never use exit code > 1.
5711
5712 * pop.c (open, close, read, write): Add #undefs.
5713
5714 * pop.c: Don't declare malloc, realloc, free.
5715 Include ../src/config.h.
5716 Don't include string.h or strings.h.
5717 Include des.h before krb.h.
5718 Do declare my_strstr.
5719 (getline): Really use my_strstr.
5720 Leave one empty place in server->buffer,
5721 and put a null at the end of the data in it.
5722
57231994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5724
b166dcd8
KC
5725 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5726 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
5727
57281994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5729
5730 * Makefile.in.in (regex.o): Use full path to find regex.c.
5731
880820fe 57321994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5733
2f2c687b
JB
5734 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5735 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5736
57371994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5738
5739 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5740 (${archlibdir}): Use mkinstalldirs instead.
5741
5742 * movemail.c: Make functions that return nothing void, not
5743 implicitly int.
5744 (main): Improve usage message.
5745 (error): Write to stderr, not stdout.
5746
e43b1141
GM
5747 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
5748 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
5749 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
5750 warnings from unused variables and implicitly declared functions.
362bc2da
DL
5751
57521994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5753
5754 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5755 (distclean): Not here.
5756
b166dcd8 5757 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 5758
880820fe 57591994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5760
5761 * etags.c (C_entries): Name the #define's that are macros.
5762
57631994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5764
5765 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5766 fd_set arg is a pointer, descriptor arg comes first.
5767
880820fe 57681994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5769
5770 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5771 (C_entries): Recognise #define inside a struct.
5772 (C_entries): ANSI tells that preprocessor commands do not have to
5773 start on the first column.
5774 (print_help): Documentation corrected for -d and -D.
5775 (white, endtk): ANSI tells the vertical tab is a separator.
5776
57771994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5778
5779 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5780 (pop.o, movemail.o): New targets.
5781 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5782
5783 * pop.c, pop.h: New files.
5784
5785 * movemail.c: Improve POP code, move most of it into a separate file.
5786 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5787 (mbx_write): Check for errors and for From line.
5788 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5789 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5790 (pop_init): Functions deleted.
5791
57921994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5793
5794 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5795 Rename path to dirname.
5796
57971994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5798
5799 * Makefile.in.in (UTILITIES):
5800 Remove test-distrib, make-docfile, make-path.
5801 (DONT_INSTALL): New variable--list those files here.
5802 (clean): Delete the files in DONT_INSTALL.
5803
58041994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5805
5806 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5807 (main): Use fgets, not gets.
5808
58091994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5810
5811 * timer.c: Don't declare malloc.
5812
58131994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5814
5815 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5816 defined, use simple 32-bit versions of these macros.
5817 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5818
c60ee5e7 58191994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5820
5821 * etags.c (etags_getcwd): Use getcwd if available.
5822
58231994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5824
5825 * Version 19.27 released.
5826
58271994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5828
5829 * Version 19.26 released.
5830
58311994-08-15 Paul Eggert <eggert@twinsun.com>
5832
5833 * rcs2log: Add support for CVS.
5834 Work with `rlog's that output ISO 8601 dates.
5835
58361994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5837
5838 * rcs2log: Use <> to delimit email address.
5839
58401994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5841
5842 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5843 so we can listen for multiple requests.
5844
58451994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5846
5847 * movemail.c: Include config.h first thing.
5848
58491994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5850
5851 * emacsserver.c (main): Add casts to avoid warnings.
5852
58531994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5854
5855 * Makefile.in.in (${archlibdir}): Compare the proper dir
5856 before installing the scripts.
5857
58581994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5859
5860 * emacsclient.c (main): New local var progname saves argv[0].
5861
58621994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5863
5864 * emacsclient.c (main): Don't actually modify argv[0].
5865 Modify a copy instead.
5866
58671994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5868
5869 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5870 (tzp): Var deleted.
5871
5872 * Makefile.in.in: Add #undef alloca.
5873
58741994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5875
5876 * timer.c (xmalloc): New function.
5877
58781994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5879
5880 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5881 (alloca.o): New target.
5882
58831994-07-08 Dave Love (d.love@dl.ac.uk)
5884
2f2c687b 5885 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5886
880820fe 58871994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5888
ecc54057
JB
5889 * etags.c (main): Don't barf on obsolete -t and -T switches.
5890 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5891
58921994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5893
5894 * hexl.c: Don't declare exit or perror.
5895
5896 * emacsserver.c (main): Don't declare geteuid.
5897 Don't declare getenv if convex.
5898
58991994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5900
5901 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5902
880820fe 59031994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5904
5905 * etags.c (absolute_filename): Remove infinite loop bug when
5906 accessing files in directories whose name begins with a dot.
5907
880820fe 59081994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5909
5910 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5911
59121994-06-01 Morten Welinder (terra@diku.dk)
5913
5914 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5915 location of data directory.
5916
59171994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5918
5919 * Version 19.25 released.
5920
59211994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5922
5923 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5924
59251994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5926
5927 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5928
59291994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5930
5931 * Version 19.24 released.
5932
59331994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5934
5935 * make-docfile.c (write_c_args): Put `default' in upper case.
5936
59371994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5938
5939 * etags.c (etags_getcwd): Cast result of popen.
5940 (popen): Declaration deleted.
5941
59421994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5943
5944 * etags.c [!MSDOS]: Declare popen.
5945
59461994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5947
5948 * b2m.c (main): Avoid crash if argc is 1.
5949
59501994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5951
5952 * Version 19.23 released.
5953
5954 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5955
59561994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5957
5958 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5959
59601994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5961
5962 * Makefile.in.in: Fix out of date comment.
5963
59641994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5965
5966 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5967 Move all autoconf substitutions above that point.
5968 Above that point, use Make-style comments.
5969 This goes with changes in ../configure.in.
5970
59711994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5972
5973 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5974 warning message.
5975 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5976
59771994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5978
5979 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5980
59811994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5982
5983 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5984 print advice to run it, if it has anything significant to do.
5985 And only if MOVEMAIL_NEEDS_BLESSING.
5986 (blessmail): Use emacs, not temacs.
b166dcd8 5987 (configuration): Rename from configname.
362bc2da
DL
5988
59891994-04-30 Morten Welinder (terra@diku.dk)
5990
5991 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5992
59931994-04-30 Morten Welinder (terra@diku.dk)
5994
5995 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5996 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5997 a shell.
5998
59991994-04-29 Morten Welinder (terra@diku.dk)
6000
6001 * hexl.c [MSDOS]: Don't define proto type for exit.
6002
60031994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6004
6005 * b2m.c: Don't include string.h or strings.h.
6006
60071994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6008
6009 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6010 symbols, not make variables.
6011
60121994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6013
6014 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6015 * etags.c (print_version): Print VERSION as a string.
6016
60171994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6018
6019 * fakemail.c (readline): Fix updating of p when buffer grows.
6020
60211994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6022
6023 * Makefile.in.in (blessmail): New target.
6024 ${archlibdir}: Use blessmail when installing movemail.
6025
60261994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6027
6028 * fakemail.c (readline): When extending the buffer,
6029 calculate end afresh using the new size.
6030
880820fe 60311994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6032
2f2c687b 6033 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 6034
880820fe 60351994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6036
2f2c687b 6037 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
6038
60391994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6040
6041 * Makefile.in.in: Renamed from Makefile.in.
6042 Makefile.in is now generated from it, and then preprocessed.
6043 Change comments to C syntax.
6044 Include config.h.
6045 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6046 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6047
60481994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6049
6050 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6051
880820fe 60521994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6053
6054 * etags.c (etags_getcwd): Initialize bufsize.
6055
60561994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6057
6058 * profile.c (gettimeofday): If system doesn't have this, define it
6059 to give a fatal error.
6060
60611994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6062
6063 * movemail.c (main): Use setuid, not seteuid.
6064
60651994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6066
6067 * etags.c: #undef static.
6068
880820fe 60691994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6070
b166dcd8 6071 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 6072 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 6073 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
6074 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6075 TeX_functions, Prolog_functions.
2f2c687b
JB
6076 (inf): No more a global variable.
6077 (C_entries): Take 2nd parameter `inf' instead of using the global one.
b166dcd8
KC
6078 (find_entries): Add the cp1 var for optimisation.
6079 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
6080 (Asm_funcs): Now finds labels even without an ending colon.
6081
880820fe 60821994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6083
2f2c687b
JB
6084 * etags.c (main): Use etags_getcwd for compatibility.
6085 (etags_getcwd): New function.
362bc2da
DL
6086
60871994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6088
6089 * Makefile.in (etags, ctags): Pass -D for VERSION.
6090
880820fe 60911994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6092
2f2c687b
JB
6093 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
6094 (main): Don't allow the use of -t and -T in etags mode.
6095 (print_help): Don't show options enabled by default.
6096 (print_version): Show the emacs version number if VERSION is #defined.
6097 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 6098
880820fe 60991994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6100
2f2c687b 6101 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
6102 (relative_filename, absolute_filename, absolute_dirname):
6103 functions added to compute filenames in tags files.
2f2c687b 6104 (process_file): Filenames in tags file are relative to the
362bc2da 6105 directory where the tags file is (useful with the -o option).
2f2c687b 6106 (main): Initialise the outfiledir var.
b166dcd8 6107 (TYPEDST): Add the `tignore' value.
2f2c687b 6108 (C_entries): Corrected various small bugs.
362bc2da
DL
6109
61101994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6111
6112 * Makefile.in (UTILITIES): `env' deleted.
6113 (env): Target deleted.
6114 * env.c: File deleted.
1c478461 6115
362bc2da
DL
61161994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6117
6118 * Makefile.in (install, ${archlibdir}): Switch back to ..
6119 before running INSTALL_PROGRAM.
6120
880820fe 61211994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6122
b166dcd8 6123 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 6124 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
6125 `extern "C" {' construction (patch by Tom R.Hageman).
6126
61271994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6128
6129 * b2m.c: Use <...> to include config.h.
6130 Don't include stdlib.h.
6131
177c0ea7 61321994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
6133
6134 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6135 Allow for text following "BABYL OPTIONS:".
6136 Add --help option. Use argv[0] in error messages.
6137
61381994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6139
6140 * emacsclient.c (main) [HAVE_SYSVIPC]:
6141 Make msgp->mtext longer if necessary.
6142 On HPUX, error if it's more than 512 chars.
6143
61441994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6145
6146 * etags-vmslib.c: Use GPL.
6147 * emacstool.c: Use GPL.
6148 * fakemail.c: Update GPL.
6149
6150 * make-path.c (main): Return 1 on error, not -1.
6151 Update GPL.
6152
6153 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6154 (xmalloc, xrealloc): Return char *, not int.
6155 (error): Write to stderr, not stdout.
6156 Update GPL.
6157
61581994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6159
6160 * profile.c (main, get_time): Don't crash on invalid input.
6161
61621994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6163
6164 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 6165 (main): Exit on EOF.
362bc2da 6166
880820fe 61671994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6168
a64387ee 6169 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
6170
61711994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6172
6173 * fakemail.c (put_line): Don't break the line if it all fits.
6174
880820fe 61751994-02-14 Francesco Potortì (pot@fly)
362bc2da 6176
b166dcd8 6177 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 6178 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 6179 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 6180 (print_help): Alphabetically order the options.
2f2c687b 6181 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
6182
61831994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6184
6185 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6186 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6187
61881994-02-07 Christian Lynbech (lynbech@avignon)
6189
6190 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6191
61921994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6193
6194 * Makefile.in (UTILITIES): Mention profile.
6195 (profile): New target.
6196
6197 * profile.c: New file.
6198
61991994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6200
88c71720 6201 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6202 Lisp docstrings do.
88c71720 6203 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6204 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6205 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6206
880820fe 62071994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6208
6209 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6210 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6211 Use gperf generated hash table instead of linked list.
2f2c687b 6212 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6213 Mostly code generated by gperf.
b166dcd8 6214 (consider_token): Remove unused parameter `lp'.
2f2c687b 6215 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6216 to span multiple lines.
2f2c687b
JB
6217 (C_entries): Check for newline if inchar to avoid bus errors.
6218 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6219 and not regular file.
6220
62211994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6222
6223 * timer.c: Include errno.h; don't include fasync.h.
6224 (schedule): Don't return a value.
6225 (sigcatch): Reestablish the handler first.
6226 (getevent): Always call notify at the end.
6227 (notify): Defer alarms around the whole body of function.
6228
62291994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6230
6231 * timer.c (main): Don't request SIGIO, and don't handle it.
6232 Loop calling getevent.
6233 (sigcatch): Delete code to handle SIGIO.
6234 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6235 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6236 Set defer_alarms around realloc and schedule.
6237 If alarm_deferred gets set, call notify.
6238 Likewise if this event is the only pending event.
6239 Make buf and buf_size global variables.
6240 Don't malloc buf if it is already non-zero.
6241 (schedule): Just exit if run out of memory.
6242 Return the number of events.
6243 (signal) [_CX_UX]: Add #undef.
6244
62451994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6246
6247 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6248 (main) [USG]: Do ioctl to enable SIGPOLL.
6249
62501994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6251
6252 * timer.c: Don't declare sys_errlist; declare strerror instead.
6253 (schedule, main): Call strerror instead of using sys_errlist.
6254 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6255 Call strerror instead of using sys_errlist.
6256 * env.c (main): Call strerror instead of using sys_errlist.
6257 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6258 (main): Call strerror instead of using sys_errlist.
6259 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6260 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6261 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6262 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6263
62641994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6265
6266 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6267
6268 * movemail.c (malloc): Don't declare it.
6269 (xmalloc): Cast result of malloc.
6270 (strcpy): Don't declare it.
6271
62721993-11-14 Morten Welinder (terra@diku.dk)
6273
6274 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6275 (main): Use fclose to close file opened by fopen.
6276
6277 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6278
6279 * movemail.c [MSDOS]: #undef `access'.
6280
6281 * b2m.c (main) [MSDOS]: Open all files as binary.
6282 * etags.c (main) [MSDOS]: Open all files as binary.
6283
6284 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6285 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6286 with.
6287
62881994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6289
6290 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6291 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6292 (LINK_CFLAGS): New variable.
6293 (timer): Use LINK_CFLAGS.
6294
62951993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6296
6297 * movemail.c: Include syswait.h.
6298 Fork a subprocess and use it to copy the mail file.
6299
63001993-12-07 Richard Stallman (rms@srarc2)
6301
6302 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6303
63041993-12-04 Richard Stallman (rms@srarc2)
6305
6306 * movemail.c (main): When making tempname, cast result of xmalloc.
6307 Include room for EXXXXXX in the size.
6308 Don't use result of strcpy.
6309
63101993-12-03 Paul Eggert (eggert@twinsun.com)
6311
6312 * vcdiff: Add --brief option.
6313
63141993-12-02 Richard Stallman (rms@srarc2)
6315
6316 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6317 for all executables and scripts.
6318
63191993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6320
6321 * Version 19.22 released.
6322
63231993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6324
6325 * Makefile.in (mostlyclean): Make it distinct from clean.
6326
63271993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6328
6329 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6330
63311993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6332
6333 * Version 19.21 released.
6334
6335 * Makefile.in (install): Don't change mode or group when installing.
6336
6337 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6338
63391993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6340
6341 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6342
6343 * movemail.c (main): Fix error message text.
6344
63451993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6346
6347 * Version 19.20 released.
6348
177c0ea7 63491993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6350
ecc54057 6351 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6352 functions returning a pointer to a function, a la `signal', can be
6353 parsed. This also required new state `fstartlist' to `FUNCST'.
6354 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6355 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6356 from the other state engines.
2f2c687b 6357 (begtk): Add '~', for C++ class destructors.
362bc2da 6358
880820fe 63591993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6360
b166dcd8 6361 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6362 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6363
63641993-10-19 Paul Eggert (eggert@twinsun.com)
6365
6366 * rcs2log (printlogline): Don't generate lines containing only
6367 white space.
6368
63691993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6370
6371 * Makefile.in (${archlibdir}):
6372 Install ${SCRIPTS} from ${srcdir}, not cwd.
6373
63741993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6375
6376 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6377 the comment character.
6378
880820fe 63791993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6380
2f2c687b 6381 * etags.c (process_file): Dead code removed.
362bc2da 6382 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6383 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6384
f0131492 63851993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6386
6387 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6388 from current directory. Only chmod and chgrp files that we
6389 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6390 ${bindir}.
b166dcd8 6391 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6392 now.
6393
f0131492 63941993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6395
b166dcd8
KC
6396 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6397 Let configure figure out the correct values for these variables.
362bc2da 6398
f0131492 63991993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6400
10d1d0af 6401 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6402 used by emacs; don't install bindir binaries here.
6403
64041993-09-24 Paul Eggert (eggert@twinsun.com)
6405
6406 * rcs2log: Add -h, -n, -r options.
6407 By default, look for *,v files as well as RCS/*,v files.
6408 Use $TMPDIR (default /tmp) instead of /tmp.
6409
880820fe 64101993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
6411
6412 * etags.c (C_entries): is_func is initialised here instead of in
6413 consider_token for the sake of the yacc rules section.
6414 (C_entries): Now class, struct, enum, union and typedef produce
6415 named tags.
6416
64171993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6418
6419 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6420
64211993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6422
88c71720
KS
6423 * Makefile.in: Support configuring in a different directory when
6424 ${srcdir} has already been configured.
6425 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6426 -I${srcdir}/../src.
362bc2da
DL
6427 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6428 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6429 is already in CPP_FLAGS.
6430 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6431 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6432
64331993-08-25 Paul Eggert (eggert@twinsun.com)
6434
6435 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
6436 otherwise, HP awk complains.
6437
6438 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6439 are common hangouts for SCCS commands.
6440
64411993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6442
6443 * Version 19.19 released.
6444
64451993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6446
6447 * Makefile.in (make-path): Dep on config.h.
6448
64491993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6450
6451 * b2m.c (TRUE, FALSE): Don't define if already defined.
6452
64531993-08-09 Paul Eggert (eggert@twinsun.com)
6454
6455 * rcs2log (awkscript):
6456 Some sites put comma-separated junk after the fullname.
6457 Remove it, but leave "Bill Gates, Jr" alone.
6458 Remove the junk from fullnames like "0000-Admin(0000)".
6459
64601993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6461
6462 * Version 19.18 released.
6463
880820fe 64641993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6465
2f2c687b
JB
6466 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
6467 (L_funcs): The (foo::defmumble stuff now should work.
6468 (consider_token): Function returned random value--corrected.
6469 (C_entries): Corrected == versus = typo.
362bc2da
DL
6470
64711993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6472
6473 * etags.c (put_entries): For NODE->rewritten, put pattern before
6474 \177 and name after, not vice versa.
6475
64761993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6477
6478 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6479
880820fe 64801993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6481
b166dcd8 6482 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6483 after the parameter list and before the open curly brace.
6484 Allows correct parsing of C++ constructors.
2f2c687b
JB
6485 (C_entries, consider_token): Make use of fignore.
6486 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6487 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
6488 (L_isquote): Function that recognises the "(quote" string.
6489 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6490
64911993-07-29 Paul Eggert (eggert@twinsun.com)
6492
6493 * rcs-checkin: Don't check whether a file is readable until we have
6494 decided not to ignore it.
6495
64961993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6497
6498 * Makefile.in (etags): Depend on ../src/config.h.
6499
6500 * emacsserver.c: Include types.h before file.h.
6501
65021993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6503
6504 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6505
65061993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6507
ecc54057 6508 * Version 19.17 released.
362bc2da
DL
6509
65101993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6511
6512 * etags.c (print_help): Break up the very long strings containing
6513 the help message into shorter strings, to placate chintzy C
6514 compilers which can't handle strings that long.
6515
6516 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6517 correct combination of <time.h> and <sys/time.h>.
6518
880820fe 65191993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6520
b166dcd8 6521 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6522 (main): Now calls xnew instead of alloca for portability.
6523 (../src/config.h): Included only if HAVE_CONFIG_H.
6524 (const): Void definition removed--config.h takes care of it.
362bc2da 6525
880820fe 65261993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6527
2f2c687b 6528 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6529 (consider_token): DEFUNs now treated like funcs in ctags mode.
6530
2f2c687b
JB
6531 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6532 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6533 (C_entries): Remove a piece of useless code.
2f2c687b 6534 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6535 is met. This handles "typedef int X, Y, Z;" correctly.
6536
65371993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6538
6539 * Version 19.16 released.
6540
6541 * b2m.c: #include <sys/types.h>.
6542 (ltoday): Declare this to be time_t.
6543
65441993-06-30 Paul Eggert (eggert@twinsun.com)
6545
6546 * vcdiff: Add -q option.
6547
65481993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6549
6550 * etags.c: #include "config.h" and the alloca CPP tangle before
6551 #including the system headers and getopt.h. AIX requires the
6552 #pragma to come before any actual C code.
6553
65541993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6555
6556 * Makefile.in (ctags): Depend on etags, so that parallel makes
6557 don't write etags.o files on top of each other.
6558
65591993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6560
6561 * version 19.15 released.
6562
65631993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6564
6565 * etags.c (add_node): Move var last_node to file scope.
6566
65671993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6568
6569 * Version 19.14 released.
6570
65711993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6572
ecc54057 6573 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6574 * Makefile.in (distclean): Call clean to do most of the work.
6575 Delete aixcc.c and TAGS.
6576 (realclean): Just call distclean.
1c478461 6577
362bc2da
DL
6578 * Makefile.in: Remember, spaces are not tabs.
6579
65801993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6581
6582 * Makefile.in (CPP_CFLAGS): New variable.
6583 Use it instead of ALL_CFLAGS when compiling a .c file.
6584 (getopt.o, getopt1.o): Add explicit compilation commands.
6585
65861993-06-10 Mark D. Baushke (mdb@cisco.com)
6587
6588 * etags.c: Reinstate old -f option as an alias for -o for
6589 installed base uses.
6590
65911993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6592
6593 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6594 to bind or accept, cast the pointer, to avoid warnings on systems
6595 which declare prototypes for this.
6596 * emacsclient.c (main): Same.
6597
6598 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6599
66001993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6601
6602 * Version 19.13 released.
6603
6604 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6605 comes from, not sys/time.h.
6606
66071993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6608
6609 * wakeup.c: Include sys/time.h.
6610
6611 * etags.c: #undef static.
6612
6613 * Version 19.12 released.
6614
6615 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6616
66171993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6618
6619 * Version 19.11 released.
6620
6621 * timer.c [LINUX]: #undef signal.
6622 * emacsserver.c: #undef signal.
6623
66241993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6625
6626 * wakeup.c (main): Make when a time_t.
6627
66281993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6629
ecc54057 6630 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6631 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6632 might fail, and have pwd print out the current directory.
6633
6634 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6635 string-handling functions.
6636
66371993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6638
6639 * Version 19.10 released.
6640
66411993-05-29 Paul Eggert (eggert@twinsun.com)
6642
6643 * rcs2log: When given no file arguments, inspect RCS/.* as well
6644 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6645
66461993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6647
6648 * Makefile.in (timer): Link with $(LOADLIBES).
6649
66501993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6651
6652 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6653
66541993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6655
6656 * etags.c: Replace the CPP tangle for alloca with the one from the
6657 autoconf documentation, since that's working elsewhere.
6658
66591993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6660
6661 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6662 description files can find their ancestors.
6663
66641993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6665
6666 * Makefile.in (install): Get the scripts from ${srcdir},
6667 unlike the executables.
6088b51f 6668 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6669
66701993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6671
6672 * Version 19.9 released.
6673
66741993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6675
6676 * Makefile.in (install): Do install the programs listed in
6677 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6678 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6679
6680 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6681 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6682
66831993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6684
6685 * etags.c: Include ../src/config.h.
6686
6687 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6688 in first loop. Delete files from bindir before installing new ones.
6689 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6690
66911993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6692
6693 * Version 19.8 released.
6694
6695 * make-docfile.c: Doc fix.
6696
66971993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6698
6699 * tcp.c: Fix comment syntax at top of file.
6700 (main): Don't call htons with the port number.
6701
67021993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6703
6704 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6705 appropriate.
362bc2da
DL
6706
6707 * Makefile.in (install): Refer to the variables INSTALLABLES and
6708 INSTALLABLE_SCRIPTS, instead of writing them out.
6709
67101993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6711
6712 * make-path.c (main): Return 0.
6713
67141993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6715
ecc54057 6716 * Version 19.7 released.
362bc2da
DL
6717
67181993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6719
6720 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6721
67221993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6723
6724 * tcp.c: New file.
6725
67261993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6727
6728 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6729
67301993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6731
6732 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6733 only. We should really fix this later, but let's just make it
6734 compile for now.
6735
6736 Install patches from David J. Mackenzie to make the srcdir option
6737 work.
6738 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6739 Makefile.
6740 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6741 INSTALLABLE_SCRIPTS.
6742 (INSTALLABLE_SCRIPTS): New list.
6743 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6744 (${archlibdir}): The scripts to be installed live in the source
6745 tree, not in the object tree.
6746 (test-distrib): Note that the data file lives in the source tree,
6747 not the object tree.
6748 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6749 (all other targets): Change references to source files to use
6750 ${srcdir}, except for config.h, which lives in the object dir.
6751 (timer.o): Note that this depends on ../src/config.h.
6752 * make-docfile.c (main): Add a -d option, to tell it where to find
6753 the source files.
6754 * test-distrib.c (main): Take the name of the distribution file to
6755 test from the command line.
6756
10d1d0af 6757 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6758
67591993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6760
6761 * etags.c (main):
6762 Don't require that there be input files if -i switches were given.
6763
67641993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6765
6766 The GNU coding standards specify that CFLAGS should be left for
6767 users to set.
6768 * Makefile.in (CFLAGS): Put this in the "things configure might
6769 edit" section, and have it default to -g.
6770 (ALL_CFLAGS): New variable, set to all the flags which should be
6771 passed to compilations. Replace all other uses of CFLAGS with
6772 ALL_CFLAGS.
6773 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6774
6775 * Makefile.in (DEFS): Remove this; it's always just going to be
6776 "-DHAVE_CONFIG_H -Demacs".
6777
67781993-05-03 Paul Eggert (eggert@twinsun.com)
6779
6780 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6781 /[/]/, so change it to /[\/]/. This should work on all
6782 Posix-compliant awks. It's slightly wrong with traditional awk,
6783 since it matches \ too, but that's a minor problem compared to awk
6784 syntax errors.
6785
67861993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6787
6788 * Makefile.in (ALLOCA): New variable, whose value we should
6789 inherit from the top-level makefile.
6790 (etags, ctags): Include ALLOCA in the list of object files that
6791 these executables depend on and link.
6792
67931993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6794
b166dcd8 6795 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
6796
67971993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6798
6799 * make-docfile.c (write_c_args): Print an argument named "defalt"
6800 as "default".
6801
68021993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6803
6804 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6805 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6806 compiler.
6807
880820fe 68081993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6809
2f2c687b
JB
6810 * etags.c (YACC): Flag added to c_ext.
6811 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6812 (find_entries): Consistently use streq when reasonable.
6813 (find_entries): A .y file is a yacc file.
362bc2da 6814 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6815 (C_entries): Logical cplpl means c_ext&C_PLPL.
6816 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 6817 (C_entries): Add logic for yacc files.
362bc2da 6818
880820fe 68191993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6820
6821 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6822 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6823 (consider_token): structtag set to null string for enum.
6824
880820fe 68251993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6826
2f2c687b
JB
6827 * etags.c (GET_COOKIE): And related macros removed.
6828 (logical): Is now int, no more a char.
6829 (reg): Define deleted.
6830 (isgood, _gd, notgd): Deleted.
6831 (gotone): Deleted.
6832 (TOKEN): Member linestart removed.
6833 (linepos, prev_linepos, lb1): Deleted.
6834 (main): Call initbuffer on lbs array instead of lb1.
b166dcd8 6835 (init): Remove the initialisation of the logical _gd array.
2f2c687b 6836 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6837 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6838 All C state machines rewritten.
2f2c687b
JB
6839 (C_entries): Complete rewrite.
6840 (condider_token): Complete rewrite.
6841 (getline): Deleted.
362bc2da 6842
880820fe 68431993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 6844
b166dcd8 6845 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
6846 Used for parsing of #define's spanning multiple lines.
6847
880820fe 68481993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6849
6850 * etags.c (C_entries): Save the definedef status even when a
6851 newline is met inside a string.
6852
68531993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6854
b166dcd8 6855 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
6856
6857 * Makefile.in (unlock, relock): New productions.
6858
68591993-03-16 Paul Eggert (eggert@twinsun.com)
6860
6861 * rcs2log: Some awks don't understand "\r". Code around this.
6862 Unfortunately this requires putting a carriage return in the
6863 source code. Don't assume that rlog will tolerate times like
6864 `10:10:60'; RCS 5.7 won't allow this.
6865
68661993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6867
6868 * timer.c (main): Set the ownership of the stdin file descriptor
6869 to the current process. Print error messages if either of the
6870 fcntl's fails.
6871
6872 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6873 ../src/config.h), not void.
6874
68751993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6876
6877 * b2m.c (main): Don't exit upon reading a blank line.
6878
880820fe 68791993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6880
6881 * etags.c (C_entries): New local variable quotednl. Used for
6882 parsing of #define's spanning multiple lines.
6883
6884 * etags.c (C_entries): Save the definedef status
6885 even when a newline is met inside a string.
6886
68871993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6888
6889 * timer.c (notify): Initialize waitfor properly.
6890
880820fe 68911993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6892
6893 * etags.c (C_entries): Don't reset definedef when a newline inside a
6894 comment is met.
6895
68961993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6897
6898 * etags.c (find_entries): If filename ends in .f or .for,
6899 don't try anything but Fortran.
6900
69011993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6902
6903 * timer.c (notify): Flush stdout after writing message to avoid lossage
6904 on terminals.
6905
6906 (notify): Also, write a newline after the token.
6907
69081992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6909
6910 * Makefile.in (exec_prefix): New variable.
6911 (bindir, libdir): Use it instead of `prefix'.
6912
6913 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6914
6915 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 6916 (archlibdir): Adjust to match.
362bc2da
DL
6917
6918 * Makefile.in (distclean): Don't delete backup or autosave files.
6919 (extraclean): Like realclean, but does delete backup and autosave
6920 files.
6921
6922 * Makefile.in (realclean): Ignore errors from rm.
6923
6924 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6925 that doesn't exist anymore.
6926
69271992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6928
6929 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6930 described in the top-level Makefile.
6931 (UTILITIES): Add make-path to the list of utility programs.
6932 (../arch-lib): Replaced by the ${archlibdir} target, which places
6933 the executables in their permanent home.
6934 (install, install.sysv, install.xenix): Consolidated into one
6935 target which should work under all circumstances, modulo a few
6936 ignored error messages.
6937
6938 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6939 a different number of arguments than other DEFVARs, recognize it
6940 specially, and expect the right number of commas.
6941
69421992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6943
6944 * make-path.c: New program, to help with the installation process.
6945 * Makefile.in (make-path): New target.
6946
6947 * make-path.c (touchy_mkdir): Remove debugging output.
6948
69491992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6950
b166dcd8 6951 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
6952 can indicate that it depends on ../src/config.h.
6953
69541992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6955
6956 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6957 instead of CFLAGS.
6958 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6959
69601992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6961
6962 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6963 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6964 that system.
6965
6966 * Makefile.in (arch-lib): Give rm the `-f' option.
6967
69681992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6969
6970 * make-docfile.c (write_c_args): Rewritten to correctly print
6971 &optionals before the first identifier, but after the first paren.
6972 This code used to just wait for commas or spaces; now it notices
6973 identifier boundaries.
6974
69751992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6976
6977 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6978
69791992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6980
6981 * make-docfile.c (write_c_args): Print the argument lists properly
6982 when the first argument is optional.
6983
69841992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6985
6986 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6987 Redefine @item. Set catcode of +.
6988
69891992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6990
6991 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6992
69931992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6994
6995 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6996 (TEX_decode_env): Make `tab' one element longer.
6997
69981992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6999
7000 * etags.c (PF_funcs): Recognize the "entry" keyword.
7001
70021992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7003
7004 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7005
70061992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7007
7008 * timer.c (events): Rather than having slots marked as in use or
7009 out of use by the `token' field, keep all pending events at the
7010 beginning of the array. When we delete an event in the middle of
7011 the array, we move the last event into its place.
7012 (num_events): New variable.
7013 (schedule): It is now cheaper to find a free event slot;
7014 events[num_events] is the first free slot.
7015 (notify): Scan events[0 .. num_events-1], instead of the whole
7016 array. When an event fires, move the last event in the array into
7017 its spot. Use num_events to determine whether or not there are
7018 any pending events, not wait_for.
b166dcd8 7019 (getevent): Delete unused variable `ep'.
362bc2da
DL
7020 (sigcatch): It's now easier to find all the active events.
7021 (main): Initialize num_events.
7022
7023 * etags.c: Rather than fret about which systems have index and
7024 which systems have strchr, and how to tell the difference between
7025 them, we just write out our own versions. Big deal.
7026 (index, rindex): Extern declarations removed.
7027 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7028 (etags_index, etags_rindex): New declarations.
7029 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7030 TEX_getit, substr): Use the etags_*index functions, rather than
7031 the native *index functions.
b166dcd8 7032 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
7033 made them unconditionally defined, rather than having them depend
7034 on NEED_*INDEX.
7035
7036 * etags.c (savenstr): Add declaration for this at top of file.
7037 (TEX_decode_env): Don't declare it local to this function.
7038
7039 * b2m.c: #include "../src/config.h", so we can test for the USG
7040 macro, and decide whether to include <string.h> or <strings.h>.
7041 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7042
70431992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7044
7045 * timer.c: Reformatted according to the GNU coding standards.
7046 Removed arbitrary limits on the number of events queued and the
7047 length of the tokens used to identify them.
7048 Removed casts to (void).
7049 Removed debugging printfs; they clutter the code, and the need
7050 can be better filled using a real debugger.
7051
70521992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7053
7054 * timer.c: Installed new version from Eric Raymond; this is more
7055 portable, since it doesn't try to use SIGIO.
7056
70571992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7058
7059 * emacsclient.c (main): If we can't find the socket in this
7060 person's home directory, print a message which asks if they've
7061 started the server, instead of just printing the message from
7062 sys_errmsg; Cygnus finds that people are much less confused by
7063 this.
7064
70651992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7066
7067 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7068 so that index and rindex get defined, why don't we actually
7069 control index and rindex using symbols called "NEED_INDEX" and
7070 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7071 little more readable than defining something whose name implies
7072 that it's not?
7073
70741992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7075
7076 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7077 distribution:
7078 Miscellaneous doc fixes.
1c478461 7079 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
7080 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7081 read_lisp_symbol and then see what we got. Call skip_white
7082 instead of writing out a loop to do its job. Correctly extract
7083 docstrings from "defmacro" declarations.
7084
70851992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7086
7087 * movemail.c (strcpy): Declare this to return char *.
7088
70891992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7090
7091 * etags.c (C_entries): When we find a C++ comment, do actually
7092 skip to the end of the line; do a 'break' instead of a 'continue'.
7093
70941992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7095
7096 * etags.c (getit): Add missing parenthesis to expression which
7097 decides if this token is an identifier.
7098
70991992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7100
7101 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7102
71031992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7104
7105 * etags.c (put_entries): Always put space between name and line num.
7106
71071992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7108
7109 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7110 warning.
7111 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7112
71131992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7114
7115 * make-docfile.c (write_c_args): Pass both arguments to putc.
7116
71171992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7118
b166dcd8 7119 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
7120 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7121 the C library source.
7122
7123 * etags.c (C_entries): When we see a backslash inside a quoted
7124 string, skip to the next character. This allows us to correctly
7125 deal with strings containing quotes.
7126
71271992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7128
7129 * make-docfile.c (write_c_args): Print the C argument names as
7130 they would be written in Elisp; print '_' as '-'.
7131
71321992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7133
7134 * movemail.c [POP]: Get user name via getpwuid.
7135
71361992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7137
2f2c687b 7138 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
7139
71401992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7141
10d1d0af 7142 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
7143 strings - end the lines with `\n\'.
7144
71451992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7146
b166dcd8 7147 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
7148 different systems have different return types, and we're not even
7149 using the return type anyway, it wasn't doing us any good.
7150
71511992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7152
7153 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7154 type of this function.
7155
71561992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7157
7158 * ChangeLog: Since the old etc contents have been split into etc
7159 and lib-src, the old etc's ChangeLog has been duplicated in the
7160 new etc and lib-src. That means that each contains complete and
7161 coherent information, although each contains extraneous
1c478461 7162 information.
362bc2da
DL
7163
71641992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7165
290afd83 7166 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
7167 to be consistent with other GNU programs, like makeinfo.
7168
290afd83 7169 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
7170 will edit this to produce Makefile.
7171
71721992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7173
7174 * etags.c (print_help, print_version): New functions.
7175 (main): Options added to support them.
7176
7177 * etags.c (longopts): New array of long names for the options.
7178 (main): Recognize them.
7179
71801992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7181
b166dcd8 7182 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
7183 isn't recognized as magic, because it is correctly handled.
7184
7185 * getopt.c, getopt.h: New files, from GNU C library.
7186 * etags.c: Rewritten to use getopt.
7187 #include "getopt.h".
7188 (file_num): Variable deleted; its role is now played by getopt's
7189 optind.
7190 (main): Argument processing loop rewritten to call getopt to get
7191 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7192 to get parameter from optarg instead of argv[1].
7193 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7194 * Makefile (etags, ctags): Depend on and link with getopt.h,
7195 getopt.o, and getopt1.o.
7196 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7197
7198 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7199 is non-zero.
7200
7201 (main): In the argument processing loop, the 'goto next_arg'
7202 statements are breaking out of the switch statement in exactly the
7203 same way that a simple 'break' statement would; replace the gotos
7204 with breaks, and remove the label.
7205
72061992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7207
7208 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7209 (consider_token): Move next_token_is_func to global.
7210
72111992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7212
7213 * Makefile: Conform with GNU coding standards:
7214 (mostlyclean): New target, synonymous with clean.
7215 (TAGS, check): New targets.
7216 (INSTALL, INSTALLFLAGS): New variables.
7217
72181992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7219
ecc54057 7220 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7221 `config.emacs' to `configure'.
7222
7223 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7224 * etc/MACHINES: Same.
7225
72261992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7227
7228 * movemail.c (main): Allow tempname to be as long as necessary,
7229 instead of limiting it to 39 characters.
7230
7231 * movemail.c (main): Move declaration of buf from top of function
7232 to local block surrounding the copy loop. This makes it less
7233 likely to be confused with the buf used by the code which checks the
7234 permissions on outname's directory.
7235
72361992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7237
7238 * SERVICE: Remove my entry.
7239
72401992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7241
7242 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7243 hardcoded -g.
7244
7245 * movemail.c (xmalloc): Return char *, not int.
7246 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7247 that is off by default -- normally don't unlink the mail spool
7248 file, just empty it. Pass creat mode 0600, not 0666.
7249
dff28924 72501992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7251
7252 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7253 (all): Instead of here.
7254 (install): Don't use the -s option, since people need symbols to
7255 debug code.
7256
dff28924 72571992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7258
7259 * etags-vmslib.c (fn_exp): Add type cast.
7260
72611992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7262
7263 * movemail.c: Changes in comments.
7264
dff28924 72651992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7266
7267 * Makefile: Make the distclean target erase the DOC files from
7268 ../share-lib and the executables from ../arch-lib.
7269
dff28924 72701992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7271
7272 * emacsclient.c: #include <sys/stat.h>
7273 (main): Do declare statbfr.
7274
dff28924 72751991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7276
7277 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7278 for the socket, depending on SERVER_HOME_DIR.
7279 If using /tmp, put host name in the socket name.
7280
7281 * movemail.c (pfatal_and_delete): New function.
7282 (main, popmail): Use it.
7283 (popmail): Close output before deleting messages.
7284 Check for error on close and on fsync.
7285 Use `fatal' where appropriate.
7286 (main): Remove (void).
7287
7288 * aixcc.lex: New file. Not officially part of Emacs.
7289 * Makefile: Rules for that.
7290
dff28924 72911991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7292
7293 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7294
7295 * etags.c (main): Properly cast call to alloca that initializes
7296 included_files.
7297
72981991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7299
7300 * etags.c (files_are_tag_tables): Remove global var.
7301 (process_file): Don't test it. Also remove hack checking for a
7302 file named "TAGS".
7303 (main): -i now takes an arg which is the name of a file to include.
7304 Collect these names and emit include tags for them after processing
7305 all the argument files.
7306
dff28924 73071991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7308
7309 * wakeup.c: Terminate if parent goes away.
7310
dff28924 73111991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7312
7313 * etags.c (C_entries): Process token before handling end of line.
7314 When inner loops reach end of line, just back up.
7315 Let the real end of line processing happen in just one place.
a64387ee 7316 (consider_token): Likewise.
362bc2da 7317
dff28924 73181991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7319
7320 * etags.c (TEX_mode): Skip comments while scanning the text to see
7321 which escape character this file uses.
7322
dff28924 73231991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7324
7325 * emacsserver.c [USG]: Terminate if msgrcv fails.
7326
dff28924 73271991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7328
7329 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7330
dff28924 73311991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7332
7333 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7334 by not ignoring the character that read_c_string returns.
7335 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7336 or UNEVALLED arguments, since they're a figment of the docstring's
7337 imagination.
7338
dff28924 73391991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7340
7341 * make-docfile: Read the .elc files generated by the new byte
7342 compiler.
7343
dff28924 73441990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7345
7346 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7347
dff28924 73481990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7349
7350 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7351
dff28924 73521990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7353
7354 * Makefile (install*): No need to install wakeup.
7355
dff28924 73561990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7357
7358 * Makefile (install*): Install emacsclient like etags.
7359
dff28924 73601990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7361
7362 * movemail.c (error): Handle 3 args.
7363 (main): Don't check input access if using pop.
7364
dff28924 73651990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7366
7367 * etags.c (find_entries): Check for numbers after Scheme suffix.
7368
dff28924 73691990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7370
7371 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7372
dff28924 73731990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7374
7375 * Makefile (nemacstool, xvetool): New targets.
7376
dff28924 73771990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7378
7379 * emacsclient.c: Include errno.h and define related variables.
7380
dff28924 73811990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7382
7383 * emacsclient.c: Change usage message.
7384
dff28924 73851990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7386
ecc54057 7387 * emacs.1: Add break before -nw option.
362bc2da 7388
dff28924 73891990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7390
7391 * qsort.c: Replace with GNU version.
7392
dff28924 73931990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7394
7395 * wakeup.c: New program replacing loadst.c.
7396
dff28924 73971990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7398
7399 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7400
dff28924 74011990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7402
7403 * etags.c: Rename `flag' variables for what they do instead of
7404 which option character sets them.
7405
dff28924 74061990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7407
7408 * loadst.c (main): Conditional to get load average on Apollo.
7409
dff28924 74101990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7411
7412 * emacsserver.c: Set the permission on the socket to 0600.
7413
dff28924 74141990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7415
7416 * emacsclient.c [BSD]: Print clean message for failing getwd.
7417
dff28924 74181990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7419
7420 * getdate.y: Use the getdate.y from GNU tar for timer.
7421
dff28924 74221990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7423
7424 * emacsclient.c (main): Don't put brackets around "filename" in
7425 usage message. It isn't optional.
7426
dff28924 74271990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7428
a64387ee 7429 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7430
dff28924 74311990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7432
7433 * emacsserver.c: Renamed from server.c.
7434 * Makefile: Reference emacsserver rather than server.
7435 * MACHINES: Doc fix for new emacsserver name.
7436
dff28924 74371990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7438
7439 * emacsclient.c: Print program name in error messages.
7440
dff28924 74411990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7442
7443 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7444 Sub-process support for run-at-time in timer.el.
7445 Doesn't yet work correctly for USG.
362bc2da 7446
dff28924 74471990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7448
7449 * MACHINES: Add HP 300 running BSD.
7450
dff28924 74511990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7452
7453 * yow.c: Dynamically allocate buffer; skip header before random
7454 choice to avoid bias toward first item.
7455
dff28924 74561989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7457
7458 * etags.c (readline): Separate out init of `pend'.
7459
dff28924 74601989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7461
7462 * etags.c: Undo changes relating to isgoodhdr.
7463
dff28924 74641989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7465
7466 * etags.c (isgoodhdr): New macro.
7467 (_gdh, notgdh): New variable used by that.
7468 (init): Initialize _gdh.
7469 (find_entries): Set header_file.
7470 (consider_token): Use isgoodhdr if in header file.
7471
7472 * etags.c (total_size_of_entries):
7473 Was miscalculating by 1 in rewritten case.
7474
7475 * etags.c (PAS_funcs): One arg to pfnote was missing.
7476
dff28924 74771989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7478
7479 * MACHINES: Change for the ULTRIX entry.
7480
dff28924 74811989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7482
7483 * etags.c (process_file): If file is not regular, return.
7484
dff28924 74851989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7486
7487 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7488
dff28924 74891989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7490
7491 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7492 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7493
dff28924 74941989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7495
7496 * etags.c (consider_token): Allow any number of typespec keywords
7497 after `typedef', before new type name.
7498 (enum sym_type): Add st_C_typespec.
7499 (C_create_stab): Put typespec kwds in table.
7500
dff28924 75011989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7502
7503 * etags.c (main): Don't depend on name invoked by.
7504 If CTAGS is not defined, assume it is ETAGS.
7505
dff28924 75061989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7507
7508 * etags.c (L_funcs): Allow package name in define construct,
7509 as in (foo::defmumble name-defined ...).
7510
dff28924 75111989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7512
7513 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7514
7515 * Makefile (yow): Depends on ../src/paths.h.
7516
dff28924 75171989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7518
7519 * etags.c: Fix compilation by moving Pascal after Fortran.
7520
dff28924 75211989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7522
7523 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7524
dff28924 75251989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7526
7527 * hexl.c: New file, supports hexl-mode.
7528
dff28924 75291989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7530
7531 * movemail.c: New compilation flag MAIL_USE_MMDF.
7532
dff28924 75331989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7534
7535 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7536 * server.c: Likewise.
7537
7538 * make-docfile.c (scan_c_file): Output argument names at end of string.
7539 (write_c_args): New subroutine.
7540
dff28924 75411989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7542
7543 * movemail.c: Report failure of flock.
7544
dff28924 75451989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7546
7547 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7548
dff28924 75491989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7550
2f2c687b 7551 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7552
dff28924 75531989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7554
7555 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7556
30a7ee9f 7557 * emacstool.1: Update to document environment variables.
362bc2da 7558
dff28924 75591989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7560
7561 * etags.c (PAS_funcs): New function by Mosur Mohan.
7562
7563 * movemail.c: On sysv, include unistd.h.
7564
dff28924 75651989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7566
7567 * b2m.c: New file.
7568
dff28924 75691989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7570
6088b51f 7571 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7572
dff28924 75731989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7574
7575 * Makefile (clean): New target.
7576
dff28924 75771989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7578
7579 * fakemail.c (put_line): Break header lines at 79 cols.
7580
dff28924 75811989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7582
7583 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7584 multiple tags per line.
7585
dff28924 75861989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7587
7588 * movemail.c: Check access before doing real work.
7589 Check that outfile is in a writable directory.
7590 On fatal error, delete the lock file.
7591
dff28924 75921988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7593
ecc54057 7594 * env.c: Add decl for my-index
6088b51f 7595 * etags.c (file-entries): .oak => scheme.
362bc2da 7596
dff28924 75971988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7598
7599 * movemail.c: Use `access' to check input and output files.
7600
dff28924 76011988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7602
7603 * emacsclient.c (main): Ignore all of CWD before first slash.
7604
dff28924 76051988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7606
7607 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7608
dff28924 76091988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7610
7611 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7612 * server.c: chmod the socket to 0700.
7613
dff28924 76141988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7615
7616 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7617 (add_field): Delete comments and turn `<', `>' to spaces
7618 in header lines.
7619 (USE_FAKEMAIL): New customization macro says to make fakemail
7620 not be a no-op even on a BSD system.
7621
dff28924 76221988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7623
7624 * etags.c (consider_token): Skip comments just like whitespace.
7625 Notice `struct', etc. and set strtag for those tokens.
7626 Return 1 for the token following `struct' if an open-brace follows it.
7627 (C_entries): Special handling of token following `struct'
7628 needed because we have probably advanced to the following line
7629 to find the `{'.
7630 (main): New option `T' sets tflag and strflag.
7631 Set both of them by default if eflags.
7632
dff28924 76331988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7634
7635 * movemail.c: Do fsync before closing output.
7636
dff28924 76371988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7638
ecc54057
JB
7639 * movemail.c: Better error message when can't create tempname.
7640 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7641
dff28924 76421988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7643
7644 * etags.c: Support assembler code for .s and .a files.
7645 (getit): Allow underscore in a tag.
7646
dff28924 76471988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7648
7649 * movemail.c: Close output and check errors before deleting input.
7650
dff28924 76511988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7652
7653 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7654 whether to prefix it. Handle line number args.
7655
dff28924 76561988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7657
2f2c687b 7658 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7659
dff28924 76601988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7661
7662 * etags.c: New option -i. -f renamed -o.
7663 `-' as input file means read input file names from stdin.
7664 -i spec'd or input file named TAGS means the input file is another
7665 tag table; output an "include" line for it.
7666
dff28924 76671988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7668
7669 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7670 New targets install, install.sysv, install.xenix.
7671 This makefile is now responsible for installing executables
7672 and documentation from this directory into system directories.
7673
dff28924 76741988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7675
7676 * server.c, emacsclient.c (main): Compute socket name from euid.
7677
dff28924 76781988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7679
7680 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7681
dff28924 76821988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7683
7684 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7685 * emacsclient.c: Likewise.
7686 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7687
dff28924 76881988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7689
7690 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7691 (istoken): New string-comparison macro.
362bc2da
DL
7692 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7693
dff28924 76941988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7695
7696 * etags.c: Changes for VMS.
7697 Always define ETAGS on VMS.
7698 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 7699 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
7700 (main): Don't support -B, -F or -u on VMS.
7701 Alternate loop for scanning filename arguments.
7702 (system): Delete definition of this function.
7703
7704 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7705
dff28924 77061988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7707
7708 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7709 around include of param.h. (Like fns.c.)
7710
dff28924 77111988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7712
7713 * loadst.c (load_average): Move load-average code to this new fn.
7714 Add conditionals to compute load ave on UMAX.
7715
dff28924 77161988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7717
7718 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7719 with opposite sense.
7720
dff28924 77211988-05-13 Chris Hanson (cph@kleph)
362bc2da 7722
b166dcd8
KC
7723 * emacsclient.c: Delete references to unused variable `out'.
7724 This caused a bus error when used under hp-ux.
362bc2da 7725
dff28924 77261988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7727
7728 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7729
dff28924 77301988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7731
7732 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7733
dff28924 77341988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7735
7736 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7737
dff28924 77381988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7739
7740 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7741 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7742
dff28924 77431988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7744
7745 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7746 invalid escape sequences such as `\{'.
7747
7748 * loadst.c: Add `sequent' conditional for file dk.h.
7749
dff28924 77501988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7751
2f2c687b 7752 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7753
2f2c687b 7754 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7755
7756;; Local Variables:
880820fe 7757;; coding: utf-8
6922b018 7758;; End:
2a34a036 7759
73b0cd50 7760 Copyright (C) 1988-1999, 2001-2011 Free Software Foundation, Inc.
5b87ad55
GM
7761
7762 This file is part of GNU Emacs.
7763
294981c7 7764 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7765 it under the terms of the GNU General Public License as published by
294981c7
GM
7766 the Free Software Foundation, either version 3 of the License, or
7767 (at your option) any later version.
5b87ad55
GM
7768
7769 GNU Emacs is distributed in the hope that it will be useful,
7770 but WITHOUT ANY WARRANTY; without even the implied warranty of
7771 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7772 GNU General Public License for more details.
7773
7774 You should have received a copy of the GNU General Public License
294981c7 7775 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.