* lisp/version.el (emacs-build-system): Give it a doc-string.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
5ef215d8
DN
12011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * Makefile.in (all): Make sure "all" is the first target.
4
657d08d3
JB
52011-10-27 Juanma Barranquero <lekktu@gmail.com>
6
7 * emacsclient.c (w32_getenv): Silence compiler warnings.
8
0f054abc
GM
92011-09-07 Glenn Morris <rgm@gnu.org>
10
11 * etags.c (Fortran_functions): Handle "elemental" functions.
12
d0417b4c
DS
132011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
14
15 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
16
e39b275c 172011-09-06 Paul Eggert <eggert@cs.ucla.edu>
24e0f6b1
PE
18
19 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
abec06ff 20 to build-aux (Bug#9169).
24e0f6b1 21
86633eab 222011-09-04 Paul Eggert <eggert@cs.ucla.edu>
17107bb6 23
005d87bd 24 Integer and memory overflow issues (Bug#9397).
17107bb6
PE
25
26 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
27 avoid potential buffer overflow issues on typical 64-bit hosts.
28 Return void *, not long *.
29 (get_current_dir_name): Report a failure, instead of looping
30 forever, if buffer size calculation overflows. Treat malloc
31 failures like realloc failures, as that has better behavior and is
32 more consistent. Do not check whether xmalloc returns NULL, as
33 that's not possible.
34 (message): Do not arbitrarily truncate message to 2048 bytes when
35 sending it to stderr; use vfprintf instead.
36 (get_server_config, set_local_socket)
37 (start_daemon_and_retry_set_socket): Do not alloca
38 arbitrarily-large buffers; that's not safe.
39 (get_server_config, set_local_socket): Do not use sprintf when its
40 result might not fit in 'int'.
41 (set_local_socket): Do not assume uid fits in 'int'.
42
9250f758
PE
43 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
44 to avoid potential buffer overflow issues on typical 64-bit hosts.
45 (whatlen_max): New static var.
46 (main): Avoid buffer overflow if subsidiary command length is
47 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
48 result might not fit in 'int'.
49
644a0faa
PE
50 * movemail.c (main): Do not use sprintf when its result might not fit
51 in 'int'. Instead, put the possibly-long file name into the
52 output of pfatal_with_name.
53
0c6d656d
PE
54 * update-game-score.c: Include <limits.h>
55 (get_user_id): Do not assume uid fits in 'int'. Simplify.
56
044c22e5 572011-07-28 Paul Eggert <eggert@cs.ucla.edu>
9cfdb3ec 58
0e926e56
PE
59 Assume freestanding C89 headers, string.h, stdlib.h.
60 * ebrowse.c: Include stdlib.h unconditionally.
61 * etags.c, update-game-score.c:
62 Include string.h and stdlib.h unconditionally.
63 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
64 * movemail.c, pop.c: Include string.h unconditionally.
65 * update-game-score.c: No need to include stdarg.h; not used.
66
9cfdb3ec
PE
67 Assume support for memcmp, memcpy, memmove, memset.
68 * etags.c (absolute_filename): Assume memmove exists.
69
ec3b5374
AS
702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
71
72 * update-game-score.c (usage): Update usage line.
73
bc92abd2
JR
742011-07-02 Jason Rumney <jasonr@gnu.org>
75
76 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
77 Windows (Bug#5486).
78
3794a2d3
GM
792011-06-25 Glenn Morris <rgm@gnu.org>
80
81 * emacsclient.c (decode_options) <opt>: Add `F:'.
82 (print_help_and_exit): Mention --frame-parameters.
83
18a4ce5e
AR
842011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
85
86 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
87
529a133c
PE
882011-06-10 Paul Eggert <eggert@cs.ucla.edu>
89
90 * movemail.c: Fix race condition and related bugs (Bug#8836).
91 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
92 fixes some race conditions. Report mkstemp/mktemp errno rather
93 than a possibly-garbage errno. Reinitialize the template each
94 time through the loop, as earlier mkstemp/mktemp calls could have
95 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
96 with mkstemp; the permissions don't matter anyway.
97
fe91f5a0
DN
982011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
99
100 * emacsclient.c (socket_status): Use constant pointer.
101
55d4c1b2
PE
1022011-05-28 Paul Eggert <eggert@cs.ucla.edu>
103
104 Use 'inline', not 'INLINE'.
105 * etags.c (hash): Now inline unconditionally.
106 * make-docfile.c (put_char): inline, not INLINE.
107
7bdede3f
GM
1082011-05-25 Glenn Morris <rgm@gnu.org>
109
e9490743
GM
110 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
111 (insrcdir): New.
112 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
113 Use $insrcdir to suppress unaesthetic ignored errors.
114 (clean): Simplify list of things to delete.
497c74cd 115 (all, clean): Use $EXE_FILES.
e9490743 116
d114d4f3
GM
117 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
118
7bdede3f
GM
119 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
120 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
121
1c728a9d
GM
1222011-05-24 Glenn Morris <rgm@gnu.org>
123
124 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
125
4a720484
GM
1262011-05-19 Glenn Morris <rgm@gnu.org>
127
128 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
129 (clean): No more echolisp.tmp.
130
c136e5cd
GM
1312011-05-18 Glenn Morris <rgm@gnu.org>
132
133 * fakemail.c: Remove file.
134 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
135 ($(BLD)/fakemail.$(O)): Remove.
136 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
137 (fakemail${EXEEXT}): Remove rule.
138
418401a5
TZ
1392011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
140
17519c90 141 * makefile.w32-in (obj): Add gnutls.o.
418401a5 142
c5443aa5
PE
1432011-04-16 Paul Eggert <eggert@cs.ucla.edu>
144
fd35b6f9
PE
145 Static checks with GCC 4.6.0 and non-default toolkits.
146
5a9c1e26
PE
147 * movemail.c (mail_spool_name): Protoize.
148 (main): Remove unused var. Mark var as initialized.
149 Move locals to avoid shadowing, and use time_t for times.
150
cd52b244
PE
151 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
152 with void *. This avoids warnings about pointer casts.
153
c5443aa5
PE
154 * emacsclient.c (main): Don't use uninitialized var.
155 (IS_ANY_SEP): Remove; unused.
156 (get_current_dir_name): Add an extern decl.
157
41cf7d1a 1582011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 159
41cf7d1a 160 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 161
41cf7d1a 162 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
163
164 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
165 (write_c_args): Use it to suppress GCC warning.
166
77861b95 1672011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 168
77861b95 169 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
170 * etags.c (just_read_file): Remove dummy variable and simplify.
171
9af30bdf
GM
1722011-03-27 Glenn Morris <rgm@gnu.org>
173
174 * emacsclient.c: Replace SIGTYPE with void.
175
9c88f339
JB
1762011-03-23 Juanma Barranquero <lekktu@gmail.com>
177
178 * ntlib.c: Include <ctype.h>.
179
8cc1d519
GM
1802011-03-23 Glenn Morris <rgm@gnu.org>
181
182 * Makefile.in ($(DESTDIR)${archlibdir}):
183 Use `install-sh -d' rather than mkinstalldirs.
184
c9c49752 1852011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 186
b1f961e1
PE
187 * ebrowse.c: Use size_t, not int, for sizes.
188 This avoids a warning with gcc -Wstrict-overflow, and works
189 better for very large objects.
190 (inbuffer_size): Now size_t. All uses changed.
191 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
192 sizes. Don't bother testing whether a size_t value can be negative.
193
58cb46fb
PE
194 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
195
3ef271f2
PE
196 etags: In Prolog functions, don't assume int fits in size_t.
197 This avoids a warning with gcc -Wstrict-overflow.
198 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
199 not int, to store sizes.
200 (prolog_atom): Return 0, not -1, on error. All callers changed.
201
f0d80d43
PE
202 update-game-score: fix bug with -r
203 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
204 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
205 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
206 -Wstrict-overflow (GCC 4.5.2, x86-64).
207
d5cad867
PE
208 fakemail: Remove dependency on ignore-value.
209 This undoes some of the recent fakemail-related changes.
210 It is made possible due to recent changes to gnulib's stdio module.
211 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
212 * fakemail.c: Do not include ignore-value.h.
213 (put_line): Do not use ignore_value.
214
33383987
JB
2152011-03-07 Chong Yidong <cyd@stupidchicken.com>
216
217 * Version 23.3 released.
218
0b973fc5
DW
2192011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
220
221 * emacsclient.c (longopts): Add quiet.
222 (decode_options): Handle q/quiet.
223 (print_help_and_exit): Add q/quiet.
224 (main): Suppress some messages if quiet option is used.
225
a54af40e
EZ
2262011-02-26 Eli Zaretskii <eliz@gnu.org>
227
00030ef0
EZ
228 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
229
a54af40e
EZ
230 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
231 (w32_getenv): Use xstrdup to return all values in malloc'ed
232 storage.
233
34e6d782
PE
2342011-02-26 Paul Eggert <eggert@cs.ucla.edu>
235
6c0668d9
PE
236 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
237 to reader (and to the compiler) that the loop always executes at
238 least once. This prevents a warning with recent GCC.
9e1b7fe6 239 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 240
a4fe4e89
PE
241 * fakemail.c: Include <ignore-value.h>.
242 (put_line): Explicitly ignore fwrite return value, for benefit of
243 recent glibc + gcc.
244 (close_the_streams): Diagnose output errors instead of merely
245 exiting with nonzero status.
246 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
247 Formerly, input errors were silently ignored.
248
34e6d782
PE
249 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
250 All callers changed. This is cleaner, and avoids GCC warnings about
251 passing NULL to fputs.
70279bd1 252 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 253
564ff1f2
PE
2542011-02-25 Paul Eggert <eggert@cs.ucla.edu>
255
7e6bb4c9 256 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
257 (xstrdup): Remove; no longer needed.
258 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
259 (set_local_socket, main):
260 Use const char *, not char *, for pointers that are not assigned
261 through.
4be3dfc5
PE
262 (IF_LINT): New macro.
263 (set_local_socket, main): Use it to suppress warnings with
264 GCC -Wuninitialized.
7e6bb4c9 265
b0bbc07d
PE
266 * emacsclient.c: Redo local variables to avoid shadowing problems.
267 (message, socket_status, start_daemon_and_retry_set_socket):
268 Rename locals.
269 (main): Move decl of "i".
270
3f5e6230
PE
271 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
272 This avoids an unused-macro warning with some GCC settings.
273
564ff1f2
PE
274 * make-docfile.c (write_globals): Change char * to char const *
275 to avoid a GCC "assignment discards qualifiers" diagnostic
276 in some configurations.
8dfa32f6
PE
277 (scan_c_file): Refactor local variable decls to make their scope
278 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 279
b97decf2
EZ
2802011-02-22 Eli Zaretskii <eliz@gnu.org>
281
32e793fa
EZ
282 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
283
b97decf2
EZ
284 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
285 on ../lib/min-max.h.
286
f68c809d
PE
2872011-02-22 Paul Eggert <eggert@cs.ucla.edu>
288
e5075711
PE
289 etags: Downcase drive letters, for consistency with Emacs proper.
290 * etags.c (upcase): Remove; no longer used.
291 (canonicalize_filename): Downcase drive letters.
292
f68c809d
PE
293 Assume S_ISLNK etc. work, since gnulib supports this.
294 * etags.c (S_ISREG): Remove.
295
b97decf2
EZ
2962011-02-22 Paul Eggert <eggert@cs.ucla.edu>
297
298 Assume S_ISLNK etc. work, since gnulib supports this.
299 * etags.c (S_ISREG): Remove.
300
602a5739
JB
3012011-02-22 Juanma Barranquero <lekktu@gmail.com>
302
303 * makefile.w32-in (obj): Remove filemode.o.
304
b23b5a5b
PE
3052011-02-21 Paul Eggert <eggert@cs.ucla.edu>
306
ba01e9d7
PE
307 New file "lib/min-max.h".
308 * ebrowse.c (min, max): Define them by including <min-max.h>
309 instead of defining it ourselves.
310 * pop.c (min): Likewise.
d47d6319 311 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 312
f0939c31
PE
313 * movemail.c (popmail): Report fchown failure instead of ignoring it.
314 But if the file already has the right ownership, don't worry about it.
315
4df52042 316 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 317 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 318
27d41fb4 319 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 320 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
321 (DONE): Remove unused macro.
322 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
323 Define these macros only in the contexts that need them.
0d7fdc0e
PE
324 * pop.c (index): Remove unused macro.
325 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 326
b23b5a5b
PE
327 Declare file-scope functions and variables static if not exported.
328 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
329 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
330 * profile.c, test-distrib.c, update-game-score.c:
331 Declare non-'main' functions and variables to be static.
332 * ebrowse.c: Omit redundant function prototypes.
333
25c51af3
EZ
3342011-02-21 Eli Zaretskii <eliz@gnu.org>
335
336 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
337 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
338 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
339
e18c0aa3 3402011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
341
342 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
343 the new BVAR macro.
344
50a4e25a
JB
3452011-02-20 Juanma Barranquero <lekktu@gmail.com>
346
347 * makefile.w32-in (obj): Remove md5.o.
348
b166dcd8
KC
3492011-02-18 Karl Chen <Karl.Chen@quarl.org>
350
351 * emacsclient.c (main): Loop while `recv' return EINTR.
352
64df8c10
PE
3532011-02-09 Paul Eggert <eggert@cs.ucla.edu>
354
355 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
356 This avoids collision with config.h's EMACS_INT on some
357 configurations. All uses changed.
358
00b3c7ac
TT
3592011-02-08 Tom Tromey <tromey@redhat.com>
360
361 * make-docfile.c: Unconditionally include stdlib.h.
362 (generate_globals): New global.
363 (xrealloc): New function.
364 (main): Handle '-g'. Call start_globals, write_globals.
365 (scan_file): Conditionally call put_filename.
366 (start_globals): New function.
367 (struct global): New.
368 (num_globals, globals): New globals.
369 (add_global, compare_globals, write_globals): New functions.
370 (scan_c_file): Update for "-g".
371 (scan_lisp_file): Fail if "-g".
372
03fc768b
PE
3732011-02-05 Paul Eggert <eggert@cs.ucla.edu>
374
602a5739 375 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
376 (file_name_absolute_p): Accept const char *, not const unsigned
377 char *, to satisfy C89 rules.
378
d9f1f55e
EZ
3792011-02-02 Eli Zaretskii <eliz@gnu.org>
380
b166dcd8
KC
381 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
382 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 383 (obj): Remove strftime.o.
d9f1f55e 384
70b0d280
EZ
3852011-01-31 Eli Zaretskii <eliz@gnu.org>
386
387 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
388 (ECLIENT_CFLAGS): Remove -DVERSION.
389 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
390
16fab143
PE
3912011-01-31 Paul Eggert <eggert@cs.ucla.edu>
392
393 src/emacs.c now gets version number from configure.in
394 * ebrowse.c: Adjust comment to say that.
395
8aec9916
JM
3962011-01-30 Jim Meyering <meyering@redhat.com>
397
398 make-docfile: don't corrupt heap for an invalid .elc file
399 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
400 one byte before just-malloc'd saved_string buffer.
401 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
402 doc string length. Also fix an always-false while-loop test.
403
f915f0f7
EZ
4042011-01-29 Eli Zaretskii <eliz@gnu.org>
405
406 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
407 (GETOPTOBJS, GETOPTDEPS): Remove targets.
408 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
409 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
410 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
411 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
412 (clean): Don't remove getopt.h.
413 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
414 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
415 $(EMACS_ROOT)/lib/getopt.h.
416
4172011-01-28 Chong Yidong <cyd@stupidchicken.com>
418
419 * ntlib.c (setregid): New stub, renamed from setegid.
420
421 * ntlib.h: Update prototype.
422
06d8ace5 4232011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
424
425 * movemail.c (main): Use setregid instead of setegid, which is
426 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
427
9055082e
PE
4282011-01-23 Paul Eggert <eggert@cs.ucla.edu>
429
430 Check return values of some library calls.
431 * hexl.c (main): Check fread result.
432 * make-docfile.c (main): Check chdir result.
433 (scan_c_file): Check fscanf result.
434 * movemail.c (main): Check ftruncate result.
435
33fe4243 4362011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 437
4004364e
PE
438 Include <unistd.h> unilaterally.
439 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
440 * pop.c, test-distrib.c, update-game-score.c:
441 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
442 unistd.h is always present now, possibly supplied by gnulib.
443
613f7bda
PE
444 Include <getopt.h> not "getopt.h".
445 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
446 Since getopt.h is no longer in this directory, there's no point
447 using the form with double-quotes.
448
e275c824
PE
449 Remove unused files.
450 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
451 These files are now in ../lib, copied from gnulib.
452
453 Use gnulib's getopt-gnu module.
454 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
455 as these are now done by gnulib.
456 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
457 Remove; now done by gnulib. All uses removed.
458
9a514d4a
PE
459 Automate syncing from gnulib.
460 * Makefile.in (EXE_FILES): New macro.
461 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
462 for gnulib's .h files.
463 (LOADLIBES): Add ../lib/libgnu.a.
464 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
465 (../lib/libgnu.a): New rule.
466
72427c46
PE
4672011-01-08 Paul Eggert <eggert@cs.ucla.edu>
468
469 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
470
4967fa34
GM
4712011-01-08 Glenn Morris <rgm@gnu.org>
472
e7a42417
GM
473 * Makefile.in (EMACSOPT): Add --no-site-lisp.
474
4967fa34
GM
475 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
476
d7bfa7a1
GM
4772011-01-02 Glenn Morris <rgm@gnu.org>
478
479 * ebrowse.c (version) <emacs_copyright>:
480 * etags.c (print_version) <emacs_copyright>:
481 * rcs2log (Copyright): Set short copyright year to 2011.
482
da2b5401
JM
4832010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
484
485 * ebrowse.c (yylex): If end of input buffer encountered while
486 searching for a newline after "//", return YYEOF. (Bug#7446)
487
4a47c275 4882010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
489
490 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
491 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
492
f16cafe3
DN
4932010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
494
495 * test-distrib.c: Remove include guards for config.h and fcntl.h.
496 (O_RDONLY): Do not define.
497 (cool_read): Fix type for variable "sofar".
498
6a5c2175
GM
4992010-10-25 Glenn Morris <rgm@gnu.org>
500
501 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
502
17284e30
GM
5032010-10-23 Glenn Morris <rgm@gnu.org>
504
505 * digest-doc.c, sorted-doc.c: Remove files.
506 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
507 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
508 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
509 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
510 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
511 (install): Don't install digest-doc.exe or sorted-doc.exe.
512
a4daeecf
DN
5132010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
514
515 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
516
3fb78d1f
GM
5172010-10-09 Glenn Morris <rgm@gnu.org>
518
519 * b2m.c, b2m.pl: Remove files.
520 * Makefile.in (INSTALLABLES): Remove b2m.
521 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
522
4628bef1 5232010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
524
525 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
526 DARWIN_USER_TEMP_DIR. (Bug#3992)
527
f99d75f5
DN
5282010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
529
728a982d
DN
530 * test-distrib.c (cool_read):
531 * movemail.c (main, concat):
532 * make-docfile.c (scan_file, write_c_args):
602a5739 533 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
534 (egetenv): Move conditional definition earlier.
535 (progname): Use const.
536 * sorted-doc.c (xstrdup): Use const.
537
f99d75f5
DN
538 * Makefile.in: Remove ^L, old makes choke on it.
539
3ecb8d93
WS
5402010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
541
542 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
543 error string (Bug#6963).
544
54b65f7b
JB
5452010-10-02 Juanma Barranquero <lekktu@gmail.com>
546
547 * makefile.w32-in (tags): Remove target.
548
73077a9a
EZ
5492010-10-01 Eli Zaretskii <eliz@gnu.org>
550
551 * makefile.w32-in (tags, TAGS): New targets.
552
968ef9b4
JB
5532010-09-30 Juanma Barranquero <lekktu@gmail.com>
554
555 * emacsclient.c (get_server_config): Don't read Emacs pid from
556 the authentication file.
557
6ab88e02
JB
5582010-09-29 Juanma Barranquero <lekktu@gmail.com>
559
a69edb8a
JB
560 * makefile.w32-in (../src/config.h): Remove target, it is stale.
561
6ab88e02
JB
562 * emacsclient.c (main): Remove unused variables.
563 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
564
4c964351
UM
5652010-09-25 Ulrich Mueller <ulm@gentoo.org>
566
567 * etags.c (compressors, print_language_names): Support xz compression.
568
988e88ab
J
5692010-08-11 Jan Djärv <jan.h.d@swipnet.se>
570
70e31436 571 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 572 popen, fclose and pclose.
70e31436 573 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
574 (main): Remove extern getenv, mail_program_name is const char*.
575
988e88ab
J
576 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
577
578 * sorted-doc.c (error, fatal, states): Use const char *.
579
580 * pop.h (pop_multi_first): Use const char *.
581 (_ARGS): Remove.
582
70e31436 583 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
584
585 * movemail.c (fatal, error, concat): Use const char *.
586
b166dcd8
KC
587 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
588 Use const char *.
988e88ab
J
589
590 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
591 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
592 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
593 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
594 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
595 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
596 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
597 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
598 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
599 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
600 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
601 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
602 (no_lang_help, print_language_names)
603 (get_language_from_interpreter, get_language_from_filename)
604 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
605 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
606 (concat): Use const char*.
607
608 * emacsclient.c (message, sock_err_message, send_to_emacs)
609 (quote_argument, set_local_socket)
610 (start_daemon_and_retry_set_socket): Use const char*.
611
612 * ebrowse.c (struct member): filename, def_filename is const.
613 (struct sym): filename, sfilename is const.
614 (struct kw): name is const.
615 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
616
617 * b2m.c (concat, fatal): Use const char*.
618 (main): Don't assign labels a string literal.
619
0e9c8657
JB
6202010-08-07 Juanma Barranquero <lekktu@gmail.com>
621
622 * ebrowse.c (usage, version, mark_virtual):
623 Remove duplicate declarations.
624
0613f5d5
DN
6252010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
626
627 * emacsclient.c: Move socket related #includes together with the
70e31436 628 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
629 (HAVE_CONFIG_H): Remove.
630 (NO_RETURN): Remove, defined in config.h.
631 (main): Convert definition to standard C.
632
a94a477d
JB
6332010-07-29 Juanma Barranquero <lekktu@gmail.com>
634
635 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
636
35a7804d
JB
6372010-07-25 Juanma Barranquero <lekktu@gmail.com>
638
639 * emacsclient.c (getcwd): Fix previous change: make getcwd
640 conditional on HAVE_GETCWD and declare with the correct POSIX
641 profile (for some reason MinGW headers define its 2nd arg as int,
642 not size_t; but getcwd is not used on Windows nonetheless).
643
361358ea
JB
6442010-07-25 Juanma Barranquero <lekktu@gmail.com>
645
646 * emacsclient.c (getcwd, w32_getenv):
647 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
648
68441b90
DN
6492010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
650
087b38a0 651 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
652 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
653 * make-docfile.c (fatal):
654 * hexl.c (usage):
655 * fakemail.c (fatal):
656 * etags.c (fatal, suggest_asking_for_help, pfatal):
657 * emacsclient.c (fatal):
658 * b2m.c (fatal): Likewise.
659
554d39be
JB
6602010-07-23 Juanma Barranquero <lekktu@gmail.com>
661
662 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
663
7c3320d8
JB
6642010-07-20 Juanma Barranquero <lekktu@gmail.com>
665
666 * emacsclient.c (get_current_dir_name, w32_get_resource)
667 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
668 (close_winsock, initialize_sockets, w32_find_emacs_process)
669 (w32_give_focus):
670 * ntlib.c (getlogin, getuid, getgid, getegid):
671 Convert definitions to standard C.
672
e6cfa7c3
AS
6732010-07-12 Andreas Schwab <schwab@linux-m68k.org>
674
675 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
676 (PROFILING_LDFLAGS): Set from substitution.
677 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
678 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
679 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
680
f09e4c6b
EZ
6812010-07-12 Eli Zaretskii <eliz@gnu.org>
682
683 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
684 2010-07-12T05:25:46Z!handa@etlken).
685
8966b757
AS
6862010-07-11 Andreas Schwab <schwab@linux-m68k.org>
687
688 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
689 index, rindex.
690 * movemail.c (mail_spool_name, popmail): Likewise.
691 * pop.c (pop_list): Likewise.
692
994a7c3b
EZ
6932010-07-11 Eli Zaretskii <eliz@gnu.org>
694
a628ad9d 695 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
696 and unexw32.o. (Bug#6603)
697
c971758d
EZ
6982010-07-10 Eli Zaretskii <eliz@gnu.org>
699
700 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
701
91a7f76d
AS
7022010-07-09 Andreas Schwab <schwab@linux-m68k.org>
703
704 * make-docfile.c (write_c_args): Restructure scanning loop.
705
0508c67f
DN
7062010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
707
708 * make-docfile.c (write_c_args): Deal with type names in DEFUN
709 arguments.
710
0216627e
DN
7112010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
712
713 * update-game-score.c (P_): Remove macro.
714 * ebrowse.c: Remove include guards.
715 (P_): Remove macro.
716
72af86bd
AS
7172010-07-07 Andreas Schwab <schwab@linux-m68k.org>
718
719 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
720 memcpy, memmove, memset.
721 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
722
e2ad23ef
AS
7232010-07-06 Andreas Schwab <schwab@linux-m68k.org>
724
725 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
726 Include <string.h> if HAVE_STRING_H.
727 (strerror): Only declare if !HAVE_STRERROR.
728 (fatal): Make static.
729 (error): Likewise.
730 (pfatal_with_name): Likewise.
70e31436 731 (pfatal_and_delete): Likewise.
1725ae55
AS
732 (concat): Likewise.
733 (xmalloc): Likewise.
734 (popmail): Likewise.
735 (pop_retr): Likewise.
736 (mbx_write): Likewise.
737 (mbx_delimit_begin): Likewise.
738 (mbx_delimit_end): Likewise.
e2ad23ef 739
b8463cbf
DN
7402010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
741
742 * fakemail.c (action): Convert function definitions to standard C.
743 (add_a_stream):
744 * test-distrib.c (cool_read):
745 (main): Likewise.
746
a52a00a3
AS
7472010-07-03 Andreas Schwab <schwab@linux-m68k.org>
748
749 * sorted-doc.c (cmpdoc): Fix signature.
750 (qsort_compare): Delete.
751 (main): Remove cast.
752
35d99b72
JB
7532010-07-03 Juanma Barranquero <lekktu@gmail.com>
754
755 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
756
3a35a84c
JB
7572010-07-03 Juanma Barranquero <lekktu@gmail.com>
758
759 Fix prototype warnings.
760
761 * ebrowse.c (match_qualified_namespace_alias):
762 Pass sym* to find_namespace, not link*.
763
764 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
765
766 * sorted-doc.c (qsort_compare): New typedef.
767 (main): Use it to cast cmpdoc.
768
873fbd0b
DN
7692010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
770
771 * update-game-score.c: Convert function definitions to standard C.
772 * sorted-doc.c:
773 * profile.c:
774 * pop.c:
775 * movemail.c:
776 * make-docfile.c:
777 * hexl.c:
778 * fakemail.c:
779 * etags.c:
780 * ebrowse.c:
781 * digest-doc.c:
782 * b2m.c: Likewise.
783
c532d349
DN
7842010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
785
786 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
787 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
788 standard C prototypes.
789
f57e2426
J
7902010-07-02 Jan Djärv <jan.h.d@swipnet.se>
791
792 * ebrowse.c: Remove P_ and __P.
793 * etags.c:
794 * movemail.c:
795 * pop.c:
796 * update-game-score.c: Likewise.
797
3b3807f8
JB
7982010-06-24 Juanma Barranquero <lekktu@gmail.com>
799
800 * movemail.c (error): Avoid warning when there are no args.
801
5fee75d4
JB
8022010-06-11 Juanma Barranquero <lekktu@gmail.com>
803
804 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
805 and vc/ediff-hook.elc.
806
3085237c
DN
8072010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
808
809 * ntlib.h: Remove code dealing with BSTRING.
810
0191e222
CY
8112010-05-29 Chong Yidong <cyd@stupidchicken.com>
812
813 * emacsclient.c (longopts, decode_options, print_help_and_exit):
814 New arg `-parent-id'.
815 (main): Send parent-id to Emacs.
816
81ac4f35
GM
8172010-05-27 Glenn Morris <rgm@gnu.org>
818
819 * Makefile.in (distclean): No more Makefile.c.
820
4e3028f8
JD
8212010-05-22 Jan Djärv <jan.h.d@swipnet.se>
822
823 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
824 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
825 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
826 New rules (Bug #6246).
827 (clean): Remove stamp-* (Bug #6246).
828
44b031a6
GM
8292010-05-12 Glenn Morris <rgm@gnu.org>
830
831 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
832
acddf8ae
GM
8332010-05-11 Glenn Morris <rgm@gnu.org>
834
c88b05a9
GM
835 * Makefile.in (.m.o): Remove, there are no .m files.
836 (BASE_CFLAGS): New variable.
837 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
838 (check): Update the message.
839 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
840
d3b23034
GM
841 * Makefile.in: Convert comments to makefile format.
842
acddf8ae
GM
843 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
844 (config.h) [MSDOS]: Do not include.
845
7490175b
GM
8462010-05-10 Glenn Morris <rgm@gnu.org>
847
97efb629
GM
848 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
849 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
850 (NOT_C_CODE): Remove, no longer used.
851 (config.h) [!MSDOS]: No longer include.
852 (LOADLIBES): Use LIBS_SYSTEM as a variable.
853
7490175b
GM
854 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
855
7b42b29f
GM
8562010-05-08 Glenn Morris <rgm@gnu.org>
857
858 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
859
61a808e8
CY
8602010-05-07 Chong Yidong <cyd@stupidchicken.com>
861
862 * Version 23.2 released.
863
f6c0ee20
GM
8642010-05-06 Glenn Morris <rgm@gnu.org>
865
866 * Makefile.in: Minimize blessmail-related cpp usage.
867 (BLESSMAIL_TARGET): New variable.
868 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
869 (blessmail): Always define this rule.
870 (need-blessmail): New rule, split out from maybe-blessmail.
871 (maybe-blessmail): Use BLESSMAIL_TARGET.
872
49628785
GM
8732010-05-04 Glenn Morris <rgm@gnu.org>
874
875 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
876 @c_switch_system@, @c_switch_machine@.
877
7e10844c
DN
8782010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
879
880 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
881
4794a582
DN
8822010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
883
884 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
885 non-cpp section.
886
76bd8202
DN
8872010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
888
889 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
890 autoconf, not cpp.
891 (ALL_CFLAGS): Use them as make variables.
892
53cfe624 8932010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
894
895 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
896 for macros for nmake compatibility.
897
b372fceb
JB
8982010-04-03 Juanma Barranquero <lekktu@gmail.com>
899
900 Add stubs for Windows, required after CVE-2010-0825 change.
901 * ntlib.c (getgid, getegid, setegid): New stubs.
902 * ntlib.h (getgid, getegid, setegid): Declare them.
903
51a91f9d
CY
9042010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
905
b166dcd8
KC
906 * movemail.c (main): Check return values of setuid.
907 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
908 (CVE-2010-0825).
909
42a2c622
DN
9102010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
911
912 Remove extern errno declarations.
913 * movemail.c:
914 * etags.c:
915 * emacsclient.c: Remove extern errno declarations.
916
5e58e3a4
GM
9172010-03-20 Glenn Morris <rgm@gnu.org>
918
919 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
920 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
921 defining these as Makefile variables.
922 (LIBS_MOVE): Add LIBS_MAIL into this.
923 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
924
aded53ff
GM
9252010-03-18 Glenn Morris <rgm@gnu.org>
926
927 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
928 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
929 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
930
f8388570
TO
9312010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
932
933 * Makefile.in (uninstall): Handle the case where archlibdir does not
934 exist. (Bug#5720)
935
288f9fc0
CY
9362010-03-10 Chong Yidong <cyd@stupidchicken.com>
937
938 * Branch for 23.2.
939
f9b84f9f
CY
9402010-02-20 Kevin Ryde <user42@zip.com.au>
941
942 * etags.c (Scheme_functions): Don't loop past a null character
943 (Bug#5601).
944
c14902e0 9452010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 946
a628ad9d 947 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 948
6589a2f9
GM
9492010-01-11 Glenn Morris <rgm@gnu.org>
950
951 * ebrowse.c (version):
952 * etags.c (print_version):
953 * rcs2log (Copyright): Set copyright year to 2010.
954
03dcfe01
CY
9552009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
956
957 * makefile.w32-in: Use parenthesis for macros for nmake
958 compatibility.
959
5ce6e4f4 9602009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 961
f7e0618c 962 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
963 overlapping copy.
964
f6195dfb
DN
9652009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
966
967 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
968
b53f6df2
JB
9692009-10-15 Juanma Barranquero <lekktu@gmail.com>
970
971 * .gitignore: Add echolisp.tmp.
972
9fc3db2b
GM
9732009-10-15 Glenn Morris <rgm@gnu.org>
974
5f54cae6
GM
975 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
976
9fc3db2b
GM
977 * makefile.w32-in (echolisp): New rule.
978 (clean): Delete echolisp.tmp.
979
614bd9cf
EZ
9802009-09-27 Eli Zaretskii <eliz@gnu.org>
981
982 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
983 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
984 be consistent with src/Makefile.in.
985
24e9e996
SM
9862009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * update-game-score.c (main): Sort scores before trimming them,
989 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
990
c5a139ca
GM
9912009-09-09 Glenn Morris <rgm@gnu.org>
992
993 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
994 before creating directories and game score files.
995
a8a8ec61
GM
9962009-08-19 Glenn Morris <rgm@gnu.org>
997
0916a29e 998 * cvtmail.c: Remove file.
a8a8ec61
GM
999 * Makefile.in (UTILITIES): Remove cvtmail.
1000 (cvtmail${EXEEXT}): Remove.
1001
678bc1f5
CY
10022009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1003
1004 * b2m.c (main): Ensure that each message ends in two newlines.
1005
0a3472c7
JR
10062009-07-03 Jason Rumney <jasonr@gnu.org>
1007
1008 * emacsclient.c (w32_set_user_model_id): Use standard types.
1009
f2d6b714
EZ
10102009-07-03 Eli Zaretskii <eliz@gnu.org>
1011
1012 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1013 src/Makefile.in did.
1014
ff90fbde
JR
10152009-06-30 Jason Rumney <jasonr@gnu.org>
1016
1017 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1018 that is already loaded.
1019 (w32_set_user_model_id): New function.
1020 (main): Use it to associate emacsclient with emacs (bug#1849).
1021
e0f59195
JM
10222009-06-29 Jim Meyering <meyering@redhat.com>
1023
1024 Remove useless if-before-free test.
1025 * make-docfile.c (scan_lisp_file): Remove useless test.
1026
f5f20f6c
DN
10272009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1028
1029 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1030
70243478
CY
10312009-06-21 Chong Yidong <cyd@stupidchicken.com>
1032
1033 * Branch for 23.1.
1034
fa44da6e
AR
10352006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1036
1037 * mac-fix-env.m:
1038 * Makefile.in (mac-fix-env): Remove.
1039
a7f2b0b1
AR
10402006-06-06 David Reitter <david.reitter@gmail.com>
1041
1042 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1043
9dfda22f
JB
10442009-04-20 Juanma Barranquero <lekktu@gmail.com>
1045
1046 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1047 spacing is required in the message output, as the comment suggests).
1048
24d5010d
CY
10492009-04-20 Chong Yidong <cyd@stupidchicken.com>
1050
1051 * emacsclient.c (print_help_and_exit): Clarify argument placement
1052 for short option names.
1053
6133a1a9
DN
10542009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1055
1056 * emacsclient.c (print_help_and_exit): Fix typo.
1057
22749e9a
EZ
10582009-03-21 Eli Zaretskii <eliz@gnu.org>
1059
1060 * ntlib.c (setuid): Argument is now unsigned.
1061 (getuid): Return value is now unsigned.
1062 (getpwuid): Argument is now unsigned.
1063 (fchown): UID and GID arguments are now unsigned.
1064
1065 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1066 (getuid): Return value is now unsigned.
1067 (setuid): Argument is now unsigned.
1068 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1069
b57ac69d 10702009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
1071
1072 * emacsclient.c (main): Revert part of last change, so
1073 drive-relative file names again work on Windows.
1074
ba528748
SM
10752009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1078 names without prepending cwd to them, so Emacs uses its customary
1079 rules to determine how to interpret the file name.
1080
f213f2c0
GM
10812009-03-04 Glenn Morris <rgm@gnu.org>
1082
1083 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1084
8ee7d7be
CY
10852009-02-13 Sven Joachim <svenjoac@gmx.de>
1086
1087 * movemail.c: Include time.h unconditionally.
1088 (main): Use time_t for time variables.
1089
d228a23c
GM
10902009-02-11 Glenn Morris <rgm@gnu.org>
1091
1092 * movemail.c (mbx_delimit_begin): Also write the current time.
1093
3f32be22
GM
10942009-02-10 Glenn Morris <rgm@gnu.org>
1095
1096 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1097 than Babyl format. (Bug#2196)
1098
e7534fc4
AR
10992009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1100
1101 * emacsclient.c (decode_options): Use a dummy display name under
1102 NS/Cocoa.
1103
9eb67dd9
CY
11042009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1105
1106 * ebrowse.c (matching_regexp): Fix OB1 error.
1107
b433a991
GM
11082009-01-05 Glenn Morris <rgm@gnu.org>
1109
1110 * ebrowse.c (version):
1111 * etags.c (print_version):
1112 * rcs2log (Copyright): Update copyright for 2009.
1113
81f82586
CY
11142009-01-01 Chong Yidong <cyd@stupidchicken.com>
1115
1116 * movemail.c (main): Fatal if hard links cannot be created.
1117
fd95644b
DN
11182008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1119
1120 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1121 checking.
1122
67c1df01
DN
11232008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1124
1125 * emacsclient.c: Include syswait.h instead of sys/types.h.
1126
f0131492 11272008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 1128
d4835507
JB
1129 * emacsclient.c (WCONTINUED): New compatibility define
1130 for older systems.
5445ab06 1131
d50299d5
DN
11322008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1133
1134 * emacsclient.c (main): Fix previous change.
1135
52016647
JB
11362008-12-10 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * emacsclient.c (main): Fix mindless breakage where emacsclient
1139 does not work *at all* on Windows, even if it *can* connect.
1140
802bdb3c
DN
11412008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1142
1143 * emacsclient.c (EMACS_DAEMON): Remove definition.
1144 (decode_options): Do not allow an empty alternate_editor on
1145 WINDOWSNT.
1146 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1147 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 1148 (main): Fail in case of not being able to connect.
802bdb3c 1149
c3f995a2
JB
11502008-12-10 Juanma Barranquero <lekktu@gmail.com>
1151
1152 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1153 Changes when EMACS_DAEMON is not defined:
1154 (print_help_and_exit): Don't add daemon information to help.
1155 (start_daemon_and_retry_set_socket): Make a no-op.
1156 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1157
636b507b
DN
11582008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1159
1160 * emacsclient.c (print_help_and_exit): Describe what an empty
1161 string argument does for --alternate-editor.
1162 (set_socket): Make it possible to not exit in case of an error.
1163 (start_daemon_and_retry_set_socket): New function.
1164 (main): Use it. Restore the NULL value for socket_name and
1165 server_file after the set_socket call.
1166
448d4085
DN
11672008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1168
7b641241 1169 * emacsclient.c: Include <arpa/inet.h>.
448d4085 1170
938ebc4f
DN
11712008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1172
1173 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1174
3d864325
GM
11752008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1176
1177 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1178
48c2dc68
CY
11792008-11-02 Chong Yidong <cyd@stupidchicken.com>
1180
1181 * emacsclient.c (window_system): Delete redundant variable.
1182 (decode_options): Don't use it.
1183 (find_tty): New function.
1184 (main): Use find_tty, and don't use window_system.
1185
d41784ee
EZ
11862008-11-01 Eli Zaretskii <eliz@gnu.org>
1187
1188 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1189 `ttyname'.
1190 (w32_getenv): Treat $TERM specially: if not found in the
1191 environment and in the Registry, return "w32console".
1192 (ttyname) [WINDOWSNT]: New function.
1193
322ca650
AS
11942008-10-31 Andreas Schwab <schwab@suse.de>
1195
1196 * emacsclient.c (main): Don't force sending tty when in eval mode.
1197
8a8a7cd3
CY
11982008-10-30 Chong Yidong <cyd@stupidchicken.com>
1199
1200 * emacsclient.c (main): If using the current frame, send tty
1201 information to Emacs in case daemon mode needs to occupy this tty.
1202
f8baa639
JB
12032008-10-29 Juanma Barranquero <lekktu@gmail.com>
1204
bc558f3e
JB
1205 * emacsclient.c (EXTRA_SPACE): New macro.
1206 (get_server_config, set_local_socket): Use it.
1207
f8baa639
JB
1208 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1209 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1210
f77b11a0
JB
12112008-10-29 Ulrich Mueller <ulm@gentoo.org>
1212
1213 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1214 instead of hardcoded /tmp.
1215
dc1cd5f7
DN
12162008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1217
1218 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1219 (decode_options): Use getopt_long_only.
1220
7a09249b
EZ
12212008-09-30 Eli Zaretskii <eliz@gnu.org>
1222
1223 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1224 codepage.elc.
1225
997ec957
CY
12262008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1227
1228 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1229 terminal (bug#427).
1230
0d80bf29
FP
12312008-08-25 Francesco Potortì <pot@gnu.org>
1232
1233 * etags.c (main): Do not use static space for the tagfile string.
1234
34a23e94
FP
12352008-08-17 Francesco Potortì <pot@gnu.org>
1236
1237 * etags.c (main): Use canonicalize_filename on tags file name.
1238 (relative_filename): Revert 3.85: do not collapse slashes here.
1239 (absolute_dirname): Remove useless call to canonicalize_filename.
1240 (canonicalize_filename): Collapse multiple slashes here.
1241
48fad8e8
DN
12422008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1243
10d1d0af
JB
1244 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1245 Do not special case for NS_IMPL_COCOA.
48fad8e8 1246
6088b51f 12472008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
1248
1249 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1250 (.m.o): Dispense with GNUstep-specific flags.
1251
39b8bb9b
CY
12522008-08-05 Ulrich Mueller <ulm@gentoo.org>
1253
1254 * pop.c (socket_connection): Add conditionals for
1255 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1256 compilation with MIT Kerberos and Heimdal, respectively.
1257
7c2fb837
DN
12582008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1259
1260 * etags.c:
1261 * emacsclient.c: Remove VMS support.
1262
9e2a2647
DN
12632008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1264
1265 Remove support for Mac Carbon.
1266 * makefile.w32-in:
1267 * emacsclient.c: Remove code for Carbon.
1268
7f619bab
DN
12692008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1270
1271 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1272
32cc3925
AS
12732008-07-17 Andreas Schwab <schwab@suse.de>
1274
1275 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1276 (LIB_STANDARD_LIBSRC): Don't define.
1277 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1278
ba60bd44 12792008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
1280
1281 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1282 NS_IMPL_COCOA.
1283
50863f58
DN
12842008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1285
ba60bd44
JB
1286 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1287 Remove, unused.
50863f58 1288
ba60bd44 12892008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
1290
1291 * .cvsignore: Add mac-fix-env.
1292 * mac-fix-env.m: New file, automatically update
1293 ~/.MacOSX/environment.plist on OS X systems to expose environment
1294 variables inside Emacs started from icon.
1295 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1296 programs to build.
1297 * make-docfile.c: Add .m to list of file extensions.
1298
bba104c1
DN
12992008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1300
1301 * movemail.c (main): Use int instead of WAITTYPE.
1302
da007124
JB
13032008-07-05 Juanma Barranquero <lekktu@gmail.com>
1304
1305 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1306 Remove vmsproc.el and vms-patch.el.
1307
c9fc02c7
JB
13082008-06-26 Juanma Barranquero <lekktu@gmail.com>
1309
1310 * makefile.w32-in (obj): Remove w32bdf.o.
1311
f2a77c3a
DN
13122008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1313
1314 * fakemail.c: Remove references to obsolete variables.
1315
c2cd06e6
JM
13162008-06-02 Jim Meyering <meyering@redhat.com>
1317
e914c409 1318 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 1319
e914c409 1320 Remove useless if-before-free tests.
70fdbb46
JM
1321 * ebrowse.c (xfree): Likewise.
1322 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 1323 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 1324 * pop.c (pop_quit): Likewise.
c2cd06e6 1325
01b996ad
JB
13262008-05-30 Juanma Barranquero <lekktu@gmail.com>
1327
1328 * makefile.w32-in (lisp2): Add minibuffer.elc.
1329
2926947a
SM
13302008-05-29 Tom Tromey <tromey@redhat.com>
1331
1332 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1333
10fea9c4
EZ
13342008-05-09 Eli Zaretskii <eliz@gnu.org>
1335
1336 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1337 (IS_DIRECTORY_SEP): New macro.
1338 (convert_time, is_exec, stat): New functions.
1339
86914123
EZ
13402008-05-08 Eli Zaretskii <eliz@gnu.org>
1341
1342 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1343
58bb7d50
EZ
13442008-05-03 Eli Zaretskii <eliz@gnu.org>
1345
1346 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1347 corresponding change in src/Makefile.in.
1348
63b9b605
GM
13492008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1350
1351 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1352
4429f88c
JR
13532008-04-10 Jason Rumney <jasonr@gnu.org>
1354
1355 * makefile.w32-in (CLIENTRES): New variable and target.
1356 (TRES): Remove.
1357 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1358
14b11401
SM
13592008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1362
95de358c
RF
13632008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1364
1365 * vcdiff: Use mktemp (CVE-2008-1694).
1366
6948400c
JR
13672008-04-09 Jason Rumney <jasonr@gnu.org>
1368
1369 * makefile.w32-in (distclean, maintainer-clean): New targets.
1370
afd27920
GM
13712008-03-13 Glenn Morris <rgm@gnu.org>
1372
1373 * makefile.w32-in (VERSION): Set to 23.0.60.
1374
3d193d0f
JB
13752008-03-04 Juanma Barranquero <lekktu@gmail.com>
1376
1377 * .cvsignore: Add oo.
1378
1797886f
SM
13792008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1380
1381 * etags.c (Perl_functions): Fix call to skip_spaces.
1382
9d2818d6
DN
13832008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1384
1385 * Makefile.in (NO_SHORTNAMES):
1386 * emacsclient.c (NO_SHORTNAMES):
1387 * fakemail.c (NO_SHORTNAMES):
1388 * make-docfile.c (NO_SHORTNAMES):
1389 * movemail.c (NO_SHORTNAMES):
1390 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1391
79d48c1a
JR
13922008-02-23 Jason Rumney <jasonr@gnu.org>
1393
1394 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1395 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1396 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1397 (lisp2): Add new languages.
1398 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1399
9c61c734
JB
14002008-02-22 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1403 malayalam.el, and tamil.el. Add sinhala.el.
1404
50f271cb
JB
14052008-02-20 Juanma Barranquero <lekktu@gmail.com>
1406
1407 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1408 where NAME is relative to DRIVE'S current directory.
1409
d07529f3
JB
14102008-02-15 Juanma Barranquero <lekktu@gmail.com>
1411
1412 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1413
45c1955d
DN
14142008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1415
1416 * fakemail.c: Undo previous change.
1417
deeaffe1
DN
14182008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1419
4624371d
DN
1420 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1421 (main): Replace MAIL_PROGRAM_NAME with its value.
1422
d07529f3 1423 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1424
9997dc15
SM
14252008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacsclient.c (decode_options): Pass --display implicitly if -c
1428 is specified. Only set tty if -t or -c is specified.
1429
0c55bf82
JR
14302008-02-04 Jason Rumney <jasonr@gnu.org>
1431
1432 * makefile.w32-in (lisp1): Use (), not {}.
1433
31cdf671
CY
14342008-02-04 Tom Tromey <tromey@redhat.com>
1435
d07529f3
JB
1436 * etags.c: Add "GTY" as synonym for __attribute__.
1437 Update gperf output.
31cdf671 1438
9303f985 14392008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1440
c4cc8b9a 1441 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1442 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1443 (WINNT_SUPPORT): Add term/w32-win.elc.
1444 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1445
9303f985 14462008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1447
d07529f3 1448 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1449
d07529f3 14502008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1451
290afd83 1452 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1453 utf-8.elc, and latin-*.el.
1454
0ea5797a
SM
14552008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1456
bcc891c2 1457 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1458 Allow the -d option under w32 again, for those rare cases where it
1459 actually does make sense.
1460
5ab73228
JB
14612008-01-25 Juanma Barranquero <lekktu@gmail.com>
1462
1463 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1464 the authentication string; there's no need to haste.
1465
702123a8
CY
14662008-01-22 Chong Yidong <cyd@stupidchicken.com>
1467
1468 * pop.c (pop_stat, pop_last): Fix last fix.
1469
76ed5e01
DN
14702008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1471
1472 * movemail.c: Remove references to XENIX.
1473
e39a993c
DN
14742008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1475
1476 * movemail.c:
1477 * make-docfile.c: Remove reference to symbols defined by systems
1478 not supported anymore: MAC_OS8, XENIX and STRIDE.
1479
0ebec7d3
EZ
14802008-01-12 Eli Zaretskii <eliz@gnu.org>
1481
1482 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1483 of DISPLAY in the environment. Don't support -d.
1484 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1485 (longopts) [WINDOWSNT]: Remove --display.
1486
6eae3ad4
CY
14872008-01-10 Chong Yidong <cyd@stupidchicken.com>
1488
1489 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1490 conversion. Mistakes spotted by Nico Golde.
1491
78da39c6
GM
14922008-01-09 Glenn Morris <rgm@gnu.org>
1493
1494 * emacsclient.c: Add missing final newlines to message calls.
1495
34a14ec9 14962008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1497
1498 * emacsclient.c (set_socket): Add final newline to socket error message.
1499
a408ea17
GM
15002008-01-04 Glenn Morris <rgm@gnu.org>
1501
07655e62
JB
1502 * ebrowse.c (version) <emacs_copyright>: New variable.
1503 Just use current year for copyright.
a408ea17
GM
1504
1505 * etags.c (print_version):
1506 * rcs2log (Copyright): Update to 2008.
1507
0dc7a8bc
JR
15082007-11-28 Jason Rumney <jasonr@gnu.org>
1509
1510 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1511
880820fe 15122007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1513
1514 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1515
880820fe 15162007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1517
1518 * pop.c (socket_connection): Move realhost out of #ifdefs.
1519 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1520
880820fe 15212007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1522
1523 * pop.c (socket_connection): Use getaddrinfo if available.
1524
880820fe 15252007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1526
65841dd8 1527 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1528 as the defaults in ctags are different from etags.
63f018cd 1529
880820fe 15302007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1531
1532 * etags.c: Make prototypes for extern definitions, and add all
1533 that are needed to quench warnings on 64-bit.
1534 (main): Use the same defaults for ctags as for etags: find
1535 typedefs, structure tags, macro constants, enum constants, struct
1536 members and global variables.
1537 (make_C_tag) [DEBUG]: Add debugging printout.
1538 (C_entries): In case '}' decrement bracelev before testing it.
1539
7455effc
FP
15402007-11-15 Masatake YAMATO <jet@gyve.org>
1541
1542 * etags.c (C_entries): In case '}', set fvdef to fvnone
1543 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1544
04a697fe
DN
15452007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1546
1547 * makefile.w32-in (obj): Remove sunfns.o.
1548
a2666217
JB
15492007-10-28 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * makefile.w32-in (obj): Remove abbrev.o.
1552
7ce8671d
JB
15532007-10-26 Juanma Barranquero <lekktu@gmail.com>
1554
1555 * emacsclient.c: Add a wrapper for getenv so it also checks the
1556 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1557 Code partially based on w32_get_resource and init_environment (w32.c).
1558 (egetenv): New wrapper for getenv.
1559 (get_current_dir_name, decode_options, get_server_config)
1560 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1561 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1562
d22b00e5
JR
15632007-10-25 Jason Rumney <jasonr@gnu.org>
1564
1565 * emacsclient.c (sock_err_message): New function.
1566 (set_tcp_socket): Use it.
1567
c4b858e3
JB
15682007-10-09 Juanma Barranquero <lekktu@gmail.com>
1569
1570 * emacsclient.c (print_help_and_exit): Fix space to improve
1571 alignment in output messages.
1572
dbf60b07
JR
15732007-09-27 Jason Rumney <jasonr@gnu.org>
1574
1575 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1576
1577 * emacsclient.c (w32_window_app): Init common controls when windowed.
1578
165e85b2
GM
15792007-09-21 Glenn Morris <rgm@gnu.org>
1580
1581 * emacstool.c: Remove file.
1582 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1583 Delete targets built from emacstool.
1584
c1b8e896
SM
15852007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * emacsclient.c (decode_options): -t implies -c.
1588
cb06b8dc
SM
15892007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1592 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1593 (main_argc): Remove.
1594 (strprefix): Use strncmp.
1595
c801ad51
JR
15962007-09-20 Jason Rumney <jasonr@gnu.org>
1597
1598 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1599
31fa6595
SM
16002007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * emacsclient.c (current_frame): Change the default.
1603 (longopts): Replace --current-frame by --create-frame.
1604 (decode_options): Reverse the meaning of -c.
1605 (print_help_and_exit): Update help text accordingly.
1606 (main): Remove the -version and -good-version messages.
1607
58573230
GM
16082007-09-12 Glenn Morris <rgm@gnu.org>
1609
1610 * Makefile.in (SOURCES, unlock, relock): Delete.
1611
bfd9ce71
GM
16122007-08-29 Glenn Morris <rgm@gnu.org>
1613
1614 * makefile.w32-in (VERSION): Increase to 23.0.50.
1615
8d9cc0b7
MB
16162007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1617
1618 * emacsclient.c (w32_execvp): Move definition before use.
1619 (decode_options): Don't use a tty on mac carbon or windows.
1620
16212007-08-29 Jason Rumney <jasonr@gnu.org>
1622
31fa6595 1623 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1624 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1625 (main): Expand removed macros inline.
1626 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1627 option.
1628 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1629
880820fe 16302007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1631
1632 * emacsclient.c (signal.h): New include.
1633 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1634 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1635 Copy definitions here from src/lisp.h.
1636 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1637 (longopts): Add tty, current-frame.
1638 (xmalloc, xstrdup): New functions.
1639 (get_current_dir_name): New function, copied from src/sysdep.c.
1640 (decode_options): Set display from environment. Add tty and
1641 current_frame options. Make --no-wait imply --current-frame,
1642 except when it is the only option given. Make sure no frame is
1643 opened when --current-frame is set.
1644 (print_help_and_exit): Document tty and current-frame options.
1645 (fail): Change arguments to void.
1646 (main): When sockets are not defined, set main_argc, main_argv,
1647 and call fail() with no arguments.
1648 (emacs_socket): New variable (moved out from main `s').
1649 (quote_file_name): Rename to quote_argument.
1650 (quote_argument): New name for old quote_file_name.
1651 (unquote_argument, strprefix, pass_signal_to_emacs)
1652 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1653 (set_local_socket): Initialize saved_errno to 0. If socket-name
1654 is too long, call `fail' rather than `exit'.
1655 (main): Doc update. Set main_argc, main_argv. New var `str'.
1656 Don't need a filename or argument if tty or window_system set.
1657 Call fail with no arguments. Use get_current_dir_name to send
1658 over the current directory. Send version number to Emacs for
1659 verification. If tty is set, check TERM, and pass name and type
1660 to Emacs. Pass window_system to Emacs. Move sending of eval to
1661 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1662 fflush. Check for a client/server version match.
1663 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1664 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1665 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1666 environment and pwd to Emacs. Send current-frame to Emacs.
1667
ca4ea90f
EZ
16682007-08-25 Eli Zaretskii <eliz@gnu.org>
1669
1670 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1671 Prepend "-" to the command, in case srcdir=. and file is copied
1672 into itself.
1673
cacc7b51
GM
16742007-07-25 Glenn Morris <rgm@gnu.org>
1675
1676 * Relicense all FSF files to GPLv3 or later.
1677
1678 * COPYING: Switch to GPLv3.
1679
880820fe 16802007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1681
1682 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1683 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1684 (print_help): Use it in if() rather than #if.
1685 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1686
9724908a
EZ
16872007-07-16 Eli Zaretskii <eliz@gnu.org>
1688
1689 * makefile.w32-in (clean): Don't delete *~.
1690
5cf9ca93
GM
16912007-06-07 Glenn Morris <rgm@gnu.org>
1692
1693 * etags.c (print_version): Add `emacs_copyright' string, for
1694 easier automatic updating.
1695
880820fe 16962007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1697
1698 * etags.c: Extern definitions of some more pointer functions for
1699 standalone compilation, especially important for 64bit platforms.
1700 (main, print_help): --members is now the default for etags.
1701 (C_entries): Parse start of C comment as a space == end of token.
1702 This is not necessary for C++ comment, already parsed as newline.
1703
07016031
GM
17042007-04-26 Glenn Morris <rgm@gnu.org>
1705
1706 * makefile.w32-in (VERSION): Increase to 22.1.50.
1707
7dfc4cda
CY
17082007-06-02 Chong Yidong <cyd@stupidchicken.com>
1709
1710 * Version 22.1 released.
1711
880820fe 17122007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1713
d620ddb3 1714 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1715
0971f887
GM
17162007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1717
1718 * Makefile.in (EMACS, EMACSOPT): New variables.
1719 (blessmail): Use `--no-site-file' when compiling.
1720
880820fe 17212007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1722
1723 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1724 (main): Now --members is the default for etags, not for ctags yet.
1725
d881944f 17262007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1727
47dad44f 1728 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1729 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1730 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1731 import, package, extends, implements and interface to be treated
1732 specially for all kinds of C-style files, not just Java files.
1733
880820fe 17342007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1735
47dad44f 1736 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1737 (no_duplicates): Static variables for the above option.
1738 (print_help): Do not print help for --no-warn, now undocumented.
1739 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1740 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1741
880820fe 17422006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1743
1744 * etags.c (readline): When creating a relative file name from a
1745 #line directive, leave the file name alone. The previous
a7c29764 1746 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1747 under the hypothesis that the #line directive file name was
1748 relative to the directory of the tagged file. That hypothesis is
1749 wrong with Cpp and Lex.
17d5f8a6 1750 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1751
5e059fc1
EZ
17522006-12-22 Eli Zaretskii <eliz@gnu.org>
1753
1754 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1755 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1756 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1757 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1758 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1759 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1760 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1761 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1762 (clean): Delete stamp_BLD.
5e059fc1 1763
880820fe 17642006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1765
1766 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1767
0e0dced5
JB
17682006-12-18 Juanma Barranquero <lekktu@gmail.com>
1769
1770 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1771 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1772 (main) [WINDOWSNT]: Remove code to release the focus; call
1773 w32_give_focus instead.
1774
4472aef4
JB
17752006-12-15 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1778 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1779 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1780 Suggestions and comment by Eli Zaretskii.
1781
12f7728e 17822006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1783
1784 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1785 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1786
310afa17
JB
17872006-11-30 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * emacsclient.c (emacs_pid): New variable.
1790 (message): Remove leftover code.
1791 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1792 focus yet; emacsclient can still display an informational message
1793 before sending requests to Emacs.
1794 (main): Allow Emacs to grab the focus. Simplify message() call.
1795
17962006-11-30 Michael Mauger <mmaug@yahoo.com>
1797
1798 * emacsclient.c (message): Make sure the message is properly
1799 written even if it contains printf escapes, and flush the result.
1800 (set_tcp_socket): Make the message for non-local connections
1801 informational rather than an error.
1802
8c57275b 18032006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1804
1805 * etags.c (readline): Check for double quote after #line.
1806
880820fe 18072006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1808
1809 * etags.c (readline): sscanf could in principle return 2.
1810
880820fe 18112006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1812
1813 * etags.c (readline): lno is unsigned.
1814 (TeX_commands): Use p++ (rather than *p++) to increment p.
1815 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1816
4d91c8f9
JB
18172006-11-27 Juanma Barranquero <lekktu@gmail.com>
1818
1819 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1820 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1821 ($(BLD)/emacsclientw.exe): Add dependency.
1822
340d34a5
EZ
18232006-11-27 Eli Zaretskii <eliz@gnu.org>
1824
d620ddb3 1825 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1826
7dce1990
JB
18272006-11-25 Juanma Barranquero <lekktu@gmail.com>
1828
1829 * makefile.w32-in (VERSION): New macro.
1830 (ECLIENT_CFLAGS): Add -DVERSION.
1831
410797a5 18322006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1833
1834 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1835
410797a5 18362006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1837
4472aef4
JB
1838 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1839 file names with forward slashes.
cb0297bb 1840
30aa95ce
JB
18412006-11-23 Juanma Barranquero <lekktu@gmail.com>
1842
1843 * emacsclient.c (print_help_and_exit): Tweak message contents and
1844 tabs/spaces to improve alignment in message boxes.
1845
42073bfb
JB
18462006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1847
1848 * emacsclient.c: Include <stdarg.h>.
1849 [WINDOWSNT]: Include <windows.h>.
1850 (w32_check_console_app): New function.
1851 (message): New function.
1852 (decode_options, print_help_and_exit, fail, main)
1853 (initialize_sockets, get_server_config, set_tcp_socket)
1854 (set_local_socket, set_socket): Use message().
1855
32dd9283 18562006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1857
32dd9283
JR
1858 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1859 HAVE_INET_SOCKETS.
1860
1bbea9fc
JB
18612006-11-13 Juanma Barranquero <lekktu@gmail.com>
1862
1863 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1864 ($(BLD)/emacsclientw.exe): New target.
1865 (install): Install emacsclientw.exe.
1866 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1867 (ECLIENT_CFLAGS): Remove redundant flags.
1868
1869 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1870
a48db427
JR
18712006-11-13 Jason Rumney <jasonr@gnu.org>
1872
1873 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1874
21f89bb7 18752006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1876
1877 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1878
d5abc12c
JB
18792006-11-08 Juanma Barranquero <lekktu@gmail.com>
1880
ed4a3730
JB
1881 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1882 FARPROC to avoid a compiler warning.
d5abc12c 1883
18b8c421
JB
18842006-11-07 Juanma Barranquero <lekktu@gmail.com>
1885
88b46d84
JB
1886 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1887 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1888
18b8c421
JB
1889 * emacsclient.c (get_server_config): Extract also the Emacs pid
1890 from the server file. On Windows, try to force the Emacs frame to
1891 the foreground.
1892
b03d27bd
JB
18932006-11-06 Juanma Barranquero <lekktu@gmail.com>
1894
21f89bb7 1895 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1896 option --socket-name.
1897 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1898 command line options.
21f89bb7 1899 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1900 (fail): Don't check for missing arguments, it is now done in set_socket.
1901 (file_name_absolute_p): New function (loosely based on the one in
1902 fileio.c).
1903 (initialize_sockets): Don't check for duplicate loading of Winsock.
1904 (get_server_config): Only try relative paths in the default
1905 directory locations.
1906 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1907 a remote server.
1908 (set_socket): Call INITIALIZE(). Search explicit command-line
1909 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1910 socket paths, before trying the alternate editor.
1911 (main): Use file_name_absolute_p.
1912
b20d6154
EZ
19132006-11-04 Eli Zaretskii <eliz@gnu.org>
1914
1915 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1916 file if it doesn't already exist.
1917
9c92edca
JB
19182006-11-03 Juanma Barranquero <lekktu@gmail.com>
1919
1920 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1921 more than once.
1922
b6ce9c46
JB
19232006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1924
1925 * Makefile.in (INSTALL_SCRIPT): New macro.
1926 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1927
4418616b
JB
19282006-11-02 Juanma Barranquero <lekktu@gmail.com>
1929
1930 * grep-changelog: When called with no arguments (not even a
1931 filter), show help instead of blindingly dumping every single
1932 ChangeLog available. Doc fix. Update version.
1933
1e7823d0
JB
19342006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1935
1936 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1937 [!WINDOWSNT]: Include <netinet/in.h> if available.
1938 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1939 (IOCTL, IOCTL_BOOL_ARG): Remove.
1940 (set_tcp_socket): Don't set the socket in blocking mode.
1941 Remove c_arg.
1942
ebc20ca0
JB
19432006-11-01 Juanma Barranquero <lekktu@gmail.com>
1944
1945 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1946 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1947
880820fe 19482006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1949
1950 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1951 (close_winsock): Declare as __cdecl.
1952
880820fe 19532006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1954
1955 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1956 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1957 to set the socket in non-blocking mode.
1958
e35fc962
JB
19592006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1960
d4fa60c8 1961 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1962 (INVALID_SOCKET): Define.
1963 (initialize_sockets): Put #endif at the right place.
1964 (set_local_socket): Use progname, not argv[0].
1965
ecc54057
JB
19662006-10-31 Juanma Barranquero <lekktu@gmail.com>
1967
1968 * makefile.w32-in (ALL): Add emacsclient.
1969 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1970 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1971 (install): Install emacsclient.
1972
1973 * emacsclient.c: Add support for TCP sockets.
1974 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1975 (INITIALIZE): New macros.
1976 (IOCTL_BOOL_ARG): New typedef.
1977 (server_file): New global variable.
1978 (longopts): New option --server-file.
1979 (decode_options): Process new option --server-file and environment
1980 variable EMACS_SERVER_FILE.
1981 (print_help_and_exit): Document new option.
1982 (fail): If no connection available and no alternate editor,
1983 suggest using options to make them explicit.
1984 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1985 (send_buffer, sblen): New variables.
31fa6595 1986 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1987 (quote_file_name): Use SEND_STRING.
1988 (close_winsock, initialize_sockets): New functions to load and
1989 unload Winsock.
1990 (get_server_config, set_tcp_socket): New functions to create and
1991 set up TCP sockets.
1992 (set_local_socket): New function to create and set up Unix
1993 socket (code moved from previous implementation).
10d1d0af 1994 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1995 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1996 set_local_socket. Use set_socket. Get answers from server.el with
1997 recv(), not file stream functions.
1998
70846e2a
EZ
19992006-10-09 Eli Zaretskii <eliz@gnu.org>
2000
2001 * makefile.w32-in (../src/config.h): Fix error message.
2002
e2247cd0
EZ
20032006-09-30 Eli Zaretskii <eliz@gnu.org>
2004
2005 * .cvsignore: Add blessmail.
2006
45a2056c
JB
20072006-09-15 Jay Belanger <belanger@truman.edu>
2008
2009 * COPYING: Replace "Library Public License" by "Lesser Public
2010 License" throughout.
2011
880820fe 20122006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 2013
ecc54057 2014 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 2015 (readline): Change position on %n and \" in sscanf.
1f4edc37 2016
1520a816
JD
20172006-08-07 Masatake YAMATO <jet@gyve.org>
2018
ecc54057
JB
2019 * etags.c (readline): Expect sscanf returns 2, not 1.
2020
867cc23e
JD
20212006-08-07 Masatake YAMATO <jet@gyve.org>
2022
9984b9d5 2023 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
2024 File ended without newline causes infinite loop.
2025
6088b51f 20262006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 2027
ecc54057 2028 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 2029
880820fe 20302006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
2031
2032 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2033 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2034 (Objc_suffixes): Suggest using --lang=c for full help.
e1dbe924 2035 (C_entries): Initialize savetoken to 0 to shut up the compiler.
fc185ae6 2036
116e754b
AS
20372006-07-20 Andreas Schwab <schwab@suse.de>
2038
2039 * fakemail.c (fatal): Drop second parameter and treat first
2040 parameter as a plain string. Callers changed.
2041
2381d38d
DN
20422006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2043
2044 * ebrowse.c (usage, version): Mark as NO_RETURN.
2045
2046 * emacsclient.c (print_help_and_exit): Likewise.
2047
880820fe 20482006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
2049
2050 * etags.c (absolute_filename): Free unused space (cosmetic change).
2051 (in_word_set): In C, also tag #undef symbols.
2052
7cb93181
EZ
20532006-06-09 Eli Zaretskii <eliz@gnu.org>
2054
2055 * yow.c: Remove file.
2056
2057 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2058
2059 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2060 yow${EXEEXT}: Remove target.
2061
0f29c66d
MY
20622006-06-04 Masatake YAMATO <jet@gyve.org>
2063
63fbb644 2064 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
2065 doesn't exist, is not seekable, not is failed in ftall.
2066
a941b26b
EZ
20672006-06-03 Eli Zaretskii <eliz@gnu.org>
2068
9781fb53
EZ
2069 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2070 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2071 ($(BLD)/test-distrib.exe): New targets.
2072 (sorted-doc, digest-doc, test-distrib): New targets.
2073 (install): Install sorted-doc.exe and digest-doc.exe.
2074 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2075
1b178b99
EZ
2076 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2077 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2078 terminal device.
2079
ae85efdb
EZ
2080 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2081 [WINDOWSNT] <top level>: Don't redeclare malloc.
2082 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2083 terminal device.
6088b51f 2084 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 2085
a941b26b
EZ
2086 * makefile.w32-in: Delete traces of leditcfns.c.
2087
2088 * leditcfns.c: Remove file.
2089
880820fe 20902006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 2091
31fa6595
SM
2092 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2093 Add comments explaining why the "kpop" service is never used.
8a6d5da7 2094
642c61f3
EZ
20952006-05-13 Eli Zaretskii <eliz@gnu.org>
2096
2097 * makefile.w32-in (lisp1): Add fringe.elc.
2098
880820fe 20992006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
2100
2101 * etags.c (Perl_functions): Free space allocated for var package.
2102 (Erlang_functions): Possibly free space allocated for var last.
2103 (Prolog_functions): Possibly free space allocated for var last.
2104
7c47913b
DN
21052006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2106
7fe8b491
DN
2107 * sorted-doc.c (main): Initialize docs to NULL.
2108
cdeda579
DN
2109 * yow.c (yow): Free buf.
2110
7c47913b
DN
2111 * etags.c: Delete c-indentation-style local variable.
2112
2ef88a94
RS
21132006-04-29 Richard Stallman <rms@gnu.org>
2114
5e5b35c7
RS
2115 * movemail.c (main): Check for negative value from `read'.
2116
2ef88a94
RS
2117 * fakemail.c (read_header): Give fatal error if input has no header.
2118
d65b4235
PE
21192006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2120
2121 * b2m.c (main): Don't include <limits.h>.
2122 (TM_YEAR_BASE): New macro.
2123 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2124 that s/ files can override this. Use the more-conservative range
2125 1000-9999.
2126 (main): Check for asctime returning NULL.
2127 * fakemail.c: Likewise.
2128
f5565804
PE
21292006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2130
2131 * b2m.c: Include <limits.h>.
2132 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2133 (main): Check for out-of-range time stamps.
2134 * fakemail.c: Likewise.
2135
90c9c343
AS
21362006-03-18 Andre Spiegel <spiegel@gnu.org>
2137
2138 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2139 execute $DIFF twice, and once with the wrong options.
2140
a6a2b5d4
EZ
21412006-02-23 Claudio Fontana <claudio@gnu.org>
2142
9e2bcc86
EZ
2143 * Makefile.in (install, uninstall): Add DESTDIR variable to
2144 support staged installations.
a6a2b5d4 2145
ef3f69f9
EZ
21462005-12-30 Eli Zaretskii <eliz@gnu.org>
2147
2148 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
2149 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2150 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2151 Rearrange the list to be similar to $(shortlisp) in
2152 src/Makefile.in.
ef3f69f9
EZ
2153 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2154 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2155 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2156 src/Makefile.in.
2157
30cfcf7f
RS
21582005-12-22 Richard M. Stallman <rms@gnu.org>
2159
2160 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2161
ecc54057 21622005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
2163
2164 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2165 which was never opened.
2166
283879ef 21672005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
2168
2169 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2170 header files.)
2171
880820fe 21722005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
2173
2174 * etags.c: Preliminary Forth support.
2175 (prolog_pr): Cast strlen to int before comparison.
2176 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2177 the second argument is indeed a literal string.
b9509712 2178 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
2179
21802005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2181
2182 * etags.c (longopts, print_help, main): The -a (--append) option
2183 can be used in ctags also; for one, the Linux make file uses it.
2184
41ea4df8
CY
21852005-09-20 Chong Yidong <cyd@stupidchicken.com>
2186
2187 * ebrowse.c (add_sym): Compare namespace names instead of
2188 namespace objects. This prevents the parser from incorrectly
2189 treating classes whose superclass is in another namespace.
2190
5c4757d3
RS
21912005-09-15 Richard M. Stallman <rms@gnu.org>
2192
2193 * Makefile.in (update-game-score.o): New target.
10d1d0af 2194 Compile and link this program separately.
5c4757d3
RS
2195 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2196
df1b2142
JR
21972005-09-11 Jason Rumney <jasonr@gnu.org>
2198
ecc54057 2199 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 2200 message instead.
31fa6595 2201 (../src/paths.h): Remove.
df1b2142 2202
c638055f
JB
22032005-07-27 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2206 generated. Ignore also ctags.c and getopt.h.
2207
2208 * makefile.w32-in (clean): Delete getopt.h.
2209 (getopt.h): New rule.
2210
9eff9fe3
PE
22112005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2212
2213 Merge gnulib getopt implementation into Emacs.
2214
2215 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2216 (GETOPT_H): New macro, from gnulib.
2217 (getopt.h): New rule, from gnulib.
2218 (GETOPTOBJS): Now autoconfigured.
2219 (GETOPTDEPS): getopt.h is now autoconfigured.
2220 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2221 (getopt.o): Depend on ${srcdir}/gettext.h.
2222 (movemail.o): Depend on $(GETOPT_H).
2223 * getopt.c, getopt1.c: Sync from gnulib.
2224 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2225 * getopt.h: Removed (now is getopt_.h).
2226
ec641d50
KR
22272005-07-13 Ken Raeburn <raeburn@gnu.org>
2228
0e0dced5
JB
2229 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2230 (sendline): Add the \r\n to the line in a temporary buffer, and write
2231 it all at once.
ec641d50 2232
a0ec7a4a
LK
22332005-07-04 Lute Kamstra <lute@gnu.org>
2234
2235 Update FSF's address in GPL notices.
2236
0e0dddda
EZ
22372005-06-13 Eli Zaretskii <eliz@gnu.org>
2238
2239 * makefile.w32-in ($(DOC)): Fix last change.
2240
5a77c8e2
EZ
22412005-06-12 Eli Zaretskii <eliz@gnu.org>
2242
2243 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2244 temacs.exe, and the preloaded *.elc files. This avoids
2245 unnecessary dumping and DOC rebuilding.
2246
1a8fb426
EZ
22472005-06-04 Eli Zaretskii <eliz@gnu.org>
2248
2249 * ntlib.h (fileno): Don't define if already defined.
2250
7235a58f
TTN
22512005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2252
2253 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2254 (yow): Use EXIT_FAILURE in case of memory error.
2255
5063dbbf
YM
22562005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2257
2258 * make-docfile.c (DIRECTORY_SEP): New macro.
2259 (IS_DIRECTORY_SEP): Use it.
2260
880820fe 22612005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
2262
2263 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2264
ba025f6d
YM
22652005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2266
2267 * make-docfile.c: Undo previous change.
2268
a9eedf40
AS
22692005-02-04 Andreas Schwab <schwab@suse.de>
2270
0e0dced5
JB
2271 * movemail.c (fatal): Accept third parameter and pass down to error.
2272 (pfatal_with_name): Pass error string as format parameter instead of
2273 as part of format string.
a9eedf40
AS
2274 (pfatal_and_delete): Likewise.
2275 (main): Adjust call to fatal.
2276 (xmalloc): Likewise.
2277
5a92a9eb
RS
22782005-01-29 Richard M. Stallman <rms@gnu.org>
2279
2280 * movemail.c (popmail): Don't use Errmsg as format string.
2281
e6973a25
ST
22822004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2283
0e0dced5 2284 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 2285
1bb3da38
AS
22862004-12-15 Andreas Schwab <schwab@suse.de>
2287
2288 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2289 preprocessing to compile time constant.
2290
d4a38fdd
KS
22912004-11-17 Kim F. Storm <storm@cua.dk>
2292
2293 * etags.c: Undo last change.
2294
f2eb41c8
KS
22952004-11-09 Kim F. Storm <storm@cua.dk>
2296
2297 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2298 silence compiler.
2299
2300 * hexl.c (main): Init local var c to silence compiler.
2301
2302 * etags.c (main, consider_token, C_entries): Add misc switch
2303 default targets to silence compiler.
2304
880820fe 23052004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
2306
2307 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2308 resulting DOC file can be used on Unix/Mac also.
2309
880820fe 23102004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
2311
2312 * etags.c (main): When relative file names are given as argument,
2313 make them relative to the current working dir, rather than
2314 relative to the output tags file, if the latter is in /dev.
2315
880820fe 23162004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
2317
2318 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2319 <stdlib.h> is available.
2320 (enum sym_type): New st_C_attribute value for parsing
2321 gcc's __attribute__. Deleted st_C_typespec value.
2322 (gperf, in_word_set): Use gperf 3, options changed. Added the
2323 __attribute__ keyword, removed all the st_C_typespec keywords,
2324 changed attribute for Java to (C_JAVA & !C_PLPL).
2325 (inattribute): New global bool, part of the C state machine.
2326 (cblev): Identifier renamed to bracelev throughout.
2327 (consider_token, C_entries): Numerous changes for making the
2328 parser more robust and adding support for __attribute__.
2329
23302004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2331
ecc54057 2332 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2333 Support the Lua scripting language <http://www.lua.org>.
2334
880820fe 23352004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2336
d57727c9 2337 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2338 for ease of use.
2339
3751eb00
RS
23402004-07-17 Richard M. Stallman <rms@gnu.org>
2341
2342 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2343
86d373e6
JB
23442004-06-01 Juanma Barranquero <lektu@terra.es>
2345
2346 * makefile.w32-in (obj): Add image.c.
2347
80e26b66
TTN
23482004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2349
0e0dced5 2350 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2351
e6662c8b
JR
23522004-05-08 Jason Rumney <jasonr@gnu.org>
2353
2354 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2355 command-lines.
2356
65396510
TTN
23572004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2358
2359 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2360 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2361 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2362
2363 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2364 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2365 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2366
c2bcfb19
TTN
23672004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2368
2369 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2370
3f0656ff
TTN
23712004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2372
2373 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2374 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2375 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2376
2377 * etags.c: Likewise.
2378
238add5e
JR
23792004-05-03 Jason Rumney <jasonr@gnu.org>
2380
2381 * makefile.nt: Remove.
2382
b09c5608
EZ
23832004-04-26 Eli Zaretskii <eliz@gnu.org>
2384
2385 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2386 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2387 instead of a literal '/'.
2388
d814862a
JB
23892004-04-23 Juanma Barranquero <lektu@terra.es>
2390
2391 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2392
442a2160
PE
23932004-04-17 Paul Eggert <eggert@gnu.org>
2394
2395 * rcs2log (Help): Clarify wording of the usage message.
2396 Problem reported by Alan Mackenzie in
2397 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2398
d5d66b7e
SM
23992004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * make-docfile.c (xmalloc): Fix return type.
2402 (put_filename): New fun.
2403 (scan_file): Use it.
2404
bdfd0369
JB
24052004-03-09 Juanma Barranquero <lektu@terra.es>
2406
2407 * grep-changelog: Changes to support ChangeLog.10+.
2408 (main): Tidy up usage string. Fix "Use of uninitialized value"
2409 warning. Set version to 0.2. Parse the directory listing to get
2410 any ChangeLog.n file, not just 1..9.
2411 (header_match_p, entry_match_p, print_log, parse_changelog):
2412 Remove Perl prototypes (their purpose is to help the parser, which
2413 isn't needed here, not declare arguments).
2414 (parse_changelog): Make --reverse faster on big batches by not
2415 modifying the entries list.
2416
a64387ee
JB
24172004-03-01 Juanma Barranquero <lektu@terra.es>
2418
2419 * makefile.w32-in (obj): Add fringe.c.
2420
9766d41b
PE
24212004-02-14 Paul Eggert <eggert@twinsun.com>
2422
2423 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2424 :local: methods, or omits the colon between the hostname
2425 and the path. Allow :/ in repository path, since CVS does.
2426 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2427 This fixes a bug reported by Wolfgang Scherer in
2428 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2429 along with some related bugs I discovered by inspecting how
2430 CVS itself parses $CVSROOT.
2431
880820fe 24322004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2433
2434 * emacsclient.c (decode_options): Fix handling of alternate editor.
2435
0734b0d0
SM
24362004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * emacsclient.c (main): Don't use the hostname in the socket name.
2439 Look for relative socket names in the /tmp dir rather than in cwd.
2440
2a6fc2d9
RS
24412004-01-24 Richard M. Stallman <rms@gnu.org>
2442
2443 * emacsclient.c (main): Restore errno from saved_errno,
2444 so the error message comes from socket_status.
2445
0734b0d0
SM
24462004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * emacsclient.c (main): Stop if socket name too long.
2449 Only try su-fallback if the socket name was not explicit.
2450 Check socket name length in su-fallback case as well.
2451
152b6e83
AS
24522004-01-08 Andreas Schwab <schwab@suse.de>
2453
2454 * emacsclient.c (main): Save errno from socket_status.
2455
e8228824
AS
24562004-01-04 Andreas Schwab <schwab@suse.de>
2457
2458 * emacsclient.c (main): Fix socket name when using another user.
2459
c9140662
PE
24602003-12-27 Paul Eggert <eggert@twinsun.com>
2461
2462 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2463 a tag, and if the user has not specified an rlog option.
2464 Adapted from a suggestion by Martin Stjernholm in
2465 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2466 (Copyright): Update to 2003.
2467
8babaa59
TTN
24682003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2469
2470 * make-docfile.c (main): For return code, no longer special-case VMS.
2471 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2472
880820fe 24732003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2474
2475 * emacsclient.c (quote_file_name): Print the result instead of
2476 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2477 (main): With --eval, if no file name, read from stdin.
2478 Quote file names.
14ef7288 2479
f387bdea
RS
24802003-09-10 Richard M. Stallman <rms@gnu.org>
2481
07655e62 2482 * emacsclient.c (main): Use socket_name.
f387bdea 2483
880820fe 24842003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2485
2486 * emacsclient.c (socket_name): New variable.
2487 (longopts, decode_options, print_help_and_exit):
2488 Handle --socket-name argument.
2489
0b7e7337
FP
24902003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2491
783bcffa 2492 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2493 token len is long enough.
2494
ac06b30b
DL
24952003-08-20 Dave Love <fx@gnu.org>
2496
2497 * Makefile.in: Remove obsolete references to alloca.
2498
32b0a3c6
JB
24992003-07-29 Ken Brush <ken@wirex.com>
2500
2501 * emacsclient.c (main)
2502 * etags.c (suggest_asking_for_help)
2503 * movemail.c (main): Fix having macros in a printf statement.
2504
3867c42d
JB
25052003-05-31 Juanma Barranquero <lektu@terra.es>
2506
2507 * makefile.w32-in (lisp): Fix references to byte-run.el,
2508 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2509
7933722a
DL
25102003-05-22 Dave Love <fx@gnu.org>
2511
2512 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2513 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2514
463f55ee
DL
25152003-05-20 Dave Love <fx@gnu.org>
2516
2517 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2518
2519 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2520
1b7a835b
JB
25212003-04-27 Oliver Scholz <alkibiades@gmx.de>
2522
0e0dced5 2523 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2524
eec54bd7
SM
25252003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2526
2527 * emacsclient.c (main): Use new safe location for socket.
2528
ff4bd681
JB
25292003-03-12 Tom Tromey <tromey@redhat.com>
2530
eec54bd7
SM
2531 * emacsclient.c (print_help_and_exit): Print to stdout.
2532 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2533 (decode_options): Don't call print_help_and_exit in default case.
2534 Print version information to stdout.
2535 (main): Don't call print_help_and_exit.
2536
dd132e44
RS
25372003-02-15 Richard M. Stallman <rms@gnu.org>
2538
2539 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2540 Don't include stdlib.h, because config.h does.
dd132e44 2541 (malloc, realloc): Declarations deleted.
ff4bd681 2542
dd132e44
RS
2543 * yow.c (yow): Cast result of malloc and realloc.
2544 (malloc, realloc): Declarations deleted.
2545
71ffc53a
JB
25462003-02-11 Juanma Barranquero <lektu@terra.es>
2547
2548 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2549
0dfd93c0
AS
25502003-02-08 Andreas Schwab <schwab@suse.de>
2551
2552 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2553 instead of the substitution.
2554
37d1e680
RS
25552003-02-04 Richard M. Stallman <rms@gnu.org>
2556
2557 * update-game-score.c (push_score, read_scores): Cast values
2558 of malloc and realloc.
2559 (main, lock_file): Avoid assignment inside if.
2560
c60ee5e7
JB
25612003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2562
2563 * Makefile.in: Use @EXEEXT@ for Cygwin.
2564
b24e2dc7
DL
25652003-01-21 Dave Love <fx@gnu.org>
2566
2567 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2568 column-0 `('.
2569
2570 * yow.c: Don't include string.h.
2571
675d000f
RS
25722003-01-20 Richard M. Stallman <rms@gnu.org>
2573
2574 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2575 New targets.
2576
207aa3ff
KS
25772003-01-06 Kim F. Storm <storm@cua.dk>
2578
31fa6595 2579 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2580 All uses changed.
2581
cf6d30d7
AI
25822002-12-18 Andrew Innes <andrewi@gnu.org>
2583
2584 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2585 because GNU make doesn't append when using >> redirection.
2586
f0131492 25872002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2588
2589 * b2m.pl: Make sure every message ends with a blank line, because
2590 some mbox parsers require a blank line before "From " lines.
2591
85cce843
RS
25922002-12-08 Richard M. Stallman <rms@gnu.org>
2593
2594 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2595 (_): Test only HAVE_LIBINTL_H to decide what to do.
2596
2ccc4d34
RS
25972002-12-05 Richard M. Stallman <rms@gnu.org>
2598
2599 * getopt.c: Comment out include of libintl.h or gettext.h.
2600
c5992177
RS
26012002-12-04 Richard M. Stallman <rms@gnu.org>
2602
2603 * Update getopt from gnulib version; changes described below.
2604
2605 * getopt1.c: Conditionally find getopt.h.
2606 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2607
2608 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2609 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2610 (wchar.h): Include, maybe.
10d1d0af 2611 (attribute_hidden): Define if not defined.
c5992177 2612 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2613 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2614 (__getopt_nonoption_flags, nonoption_flags_max_len)
2615 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2616 (SWAP_FLAGS): New definitions.
2617 (exchange): Test USE_NONOPTION_FLAGS.
2618 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2619 (_getopt_internal): Error if argc < 1. New local var print_errors.
2620 Improve test for ambiguous long option.
2621 Add LIBIO support for error message output.
2622 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2623
2624 * getopt.h: Maybe include ctype.h.
2625 Treat __cplusplus like __STDC__.
2626 (decls): Use __ in arg names.
2627
4b5e69bd
SE
26282002-12-02 Stephen Eglen <stephen@gnu.org>
2629
2630 * emacsclient.c (main): Tell user how to start server within Emacs
2631 if socket could not be found.
2632
19fa03f3
RS
26332002-12-02 Richard M. Stallman <rms@gnu.org>
2634
2635 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2636
7be215b4
JB
26372002-11-19 Ben Key <bkey1@tampabay.rr.com>
2638
29f538e6
BK
2639 * makefile.w32-in: Fixed a bug that caused the documentation for
2640 the built in function play-sound-internal not to be included in
2641 /etc/DOC.
7be215b4 2642
1998560a
DL
26432002-11-18 Dave Love <fx@gnu.org>
2644
2645 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2646 fcntl.h, stdarg.h conditionally.
2647 (_GNU_SOURCE, __attribute__): Don't define.
2648 (optarg, optind, opterr): Declare.
2649 (lose, lose_syserr): Use NO_RETURN.
2650 (get_user_id): Use P_.
2651
8b96caf3
RS
26522002-11-17 Richard M. Stallman <rms@gnu.org>
2653
2654 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2655
59daa29a
DL
26562002-11-14 Dave Love <fx@gnu.org>
2657
2658 * movemail.c (pop_retr): Declare comment.
2659
2660 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
2661
2662 * Makefile.in (YACC): Deleted.
2663
f1b443bf
AS
26642002-10-19 Andreas Schwab <schwab@suse.de>
2665
2666 * Makefile.in (${archlibdir}): Always create $(gamedir).
2667 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2668
52402e4f
JB
26692002-10-04 Juanma Barranquero <lektu@terra.es>
2670
2671 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2672
15dab115
MR
26732002-09-30 Markus Rost <rost@math.ohio-state.edu>
2674
2675 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2676 completely.
2677
30be2360
SM
26782002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2679
2680 * emacsclient.c: Remove SYSV support.
2681 (eval, display): New vars.
2682 (longopts): Add --eval and --display.
2683 (decode_options): Add -e and -d processing.
2684 (print_help_and_exit): Update the usage string.
2685 (main): Add support for --eval and --display.
3ecdcd59 2686 (main): Always use /tmp and non-qualified hostname.
30be2360 2687
4208da83
SM
26882002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2689
2690 * emacsserver.c: Remove.
2691
3cf8c6aa
SM
26922002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2693
2694 * emacsclient.c (quote_file_name): Quote \n.
2695 (main): Print a final \n when needed.
2696
880820fe 26972002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2698
2699 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2700 string that cannot be freed.
2701
880820fe 27022002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2703
2704 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2705 auto-detection is enabled and the `::' qualifier is met.
2706 (consider_token, C_entries): Several bugs corrected that tagged
2707 some declarations even though --declarations was not used.
2708 (plainc): New macro.
2709 (C_entries): Use it.
2710 (C_entries): Several cosmetic changes.
2711 (C_entries): Invalidate the token is some cases.
2712
880820fe 27132002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2714
eec54bd7 2715 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2716 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2717 (cjava, cplpl): They are now macros instead of local vars.
2718
880820fe 27192002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2720
2721 * etags.c (HTML_labels): Tag ID= also.
2722
880820fe 27232002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2724
2725 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2726
ecc54057 2727 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2728 (etags_strcasecmp): Like BSD's, for compatibility.
2729 (strcaseeq): Make it into a macro.
2730
2731 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2732 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2733 (pattern): Structure renamed to `regexp', member regex renamed to
2734 pattern.
2735 (node_st): Member pat renamed to regex.
eec54bd7
SM
2736 (pattern); New member force_explicit_name, for future use.
2737 Now always set to true, cannot be reset.
87046df8
FP
2738 (add_regex, regex_tag_multiline, readline): Use it.
2739 (main): Free some global structures.
8ee14629 2740 (fdesc): New member `written'.
e1dbe924 2741 (readline, process_file): Initialize it.
87046df8
FP
2742 (put_entries): Set it.
2743 (main): Use it to create entries for files without tags.
2744 (total_size_of_entries): Do not count invalid tags.
87046df8 2745
02ce3e80
SM
27462002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2747
2748 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2749 for the function name in the usage info.
2750
5fba5c21
CW
27512002-07-31 Colin Walters <walters@gnu.org>
2752
2753 * update-game-score.c (P_): New macro. Use it for all prototypes.
2754 (lose): Don't use varargs.
2755 (lose_syserr): New function.
2756
2757 * update-game-score.c: Change all functions to K&R style.
2758
712eaee0
AS
27592002-07-30 Andreas Schwab <schwab@suse.de>
2760
2761 * Makefile.in (localstatedir): New variable.
2762
f0131492 27632002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2764
2765 * b2m.pl: Fix regexp for finding return address fields.
2766
1e042160
SM
27672002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2768
2769 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2770
f0131492 27712002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2772
02ce3e80 2773 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2774
880820fe 27752002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2776
2777 * b2m.pl: New file.
2778
880820fe 27792002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2780
ecc54057 2781 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2782 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2783 (PHP_functions, PHP_functions, Cobol_paragraphs)
2784 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2785 (prolog_pr, erlang_func, erlang_attribute)
2786 (Perl_functions, Perl_functions, Pascal_functions)
2787 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2788 (get_tag): Prototype changed, all callers changed.
2789
880820fe 27902002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2791
d76132d0
FP
2792 * etags.c: Implement implicit tag names, that is, unnamed tags
2793 whose name is automatically deduced by etags.el. The advantage is
2794 that there is no explicit tag name in most tags, so the size of
2795 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2796 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2797 (make_tag): New function (was the disabled function new_pfnote).
2798 (make_C_tag): Use it.
2799
880820fe 28002002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2801
2802 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2803 (Makefile_targets): Tag variables unless --no-globals.
2804 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2805
880820fe 28062002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2807
2808 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2809 (invalidate_nodes): Bug corrected.
2810 (print_help): Better help for regexps.
2811
7a8940da
JB
28122002-06-13 Juanma Barranquero <lektu@terra.es>
2813
2814 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2815 font-core.elc.
2816
880820fe 28172002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2818
2819 * etags.c: New multi-line regexp and new regexp syntax.
2820 (arg_type): at_icregexp label removed (obsolete).
2821 (pattern): New member multi_line for multi-line regexps.
2822 (filebuf): A global buffer containing the whole file as a string
2823 for multi-line regexp matching.
2824 (need_filebuf): Global flag raised if multi-line regexps used.
2825 (print_help): Document new regexp modifiers, remove references to
2826 obsolete option --ignore-case-regexp.
2827 (main): Do not set regexp syntax and translation table here.
2828 (main): Treat -c option as a backward compatibility hack.
2829 (main, find_entries): Init and free filebuf.
2830 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2831 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2832 (analyse_regex, add_regex): Remove the ignore_case argument, which
2833 is now a modifier to the regexp. All callers changed.
2834 (add_regex): Manage the regexp modifiers.
2835 (regex_tag_multiline): New function. Reads from filebuf.
2836 (readline_internal): If necessary, copy the whole file into filebuf.
2837 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2838
880820fe 28392002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2840
2841 * etags.c (add_regex): Better check for null regexps.
2842 (readline): Check for regex matching null string.
6772c8e1 2843 (find_entries): Reorganization.
6861f0e3 2844
880820fe 28452002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2846
2847 * etags.c (scan_separators): Support all character escape
2848 sequences supported by Gcc.
02ce3e80 2849 (find_entries): Rewind unconditionally.
f0da41a6
FP
2850 (find_entries): Do not call language functions directly, now calls
2851 itself.
e1dbe924 2852 (find_entries): Do general initializations here.
f0da41a6
FP
2853 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2854 (Ada_getit, Pascal_functions, Pascal_functions)
2855 (prolog_skip_comment): Do not do them here.
2856 (readline_internal): Increment lineno here.
2857 (readline): Conditionally undo readline_internal increment.
2858 (readline): Do not return a value.
2859
880820fe 28602002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2861
88c71720 2862 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2863 (enum arg_type): New label at_stdin.
2864 (STDIN): New constant.
2865 (parsing_stdin): New flag.
2866 (longopts): New option --parse-stdin=NAME.
2867 (print_help): Document it.
2868 (main): Handle it.
2869 (process_file): Split into process_file and process_file_name.
2870 (process_file_name): New function.
2871
88c71720 2872 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2873 (TeX_commands): Skip comments.
10d1d0af 2874 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2875 (TEX_cmt): Make it a static char and move it before TeX_commands.
2876 (TeX_commands): Shorten the tag to the brace after the name.
2877 (TeX_commands): Names now include the initial backslash.
2878 (TeX_commands): Names do not include numeric args #n.
2879 (TeX_commands): Correct line char number in tags.
2880 (TEX_tabent, TEX_token): Deleted.
2881 (TeX_commands, TEX_decode_env): Streamlined.
2882
880820fe 28832002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2884
2885 * etags.c (main): Avoid a buffer overrun with sprintf.
2886
a71867c5
RS
28872002-05-30 Richard M. Stallman <rms@gnu.org>
2888
b166dcd8
KC
2889 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2890 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 2891
b7e67db6
PE
28922002-05-26 Paul Eggert <eggert@twinsun.com>
2893
2894 Reinstate the following change from 2002-03-22, which was
2895 inadvertently lost on 2002-04-13.
2896
2897 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2898 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2899 the latter usage.
2900
5f226e2c
EZ
29012002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2902
2903 * pop.c (socket_connection): Move the code to resolve the POP
2904 host right before trying to connect with it.
2905
9021bb49
GM
29062002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2907
2908 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2909 platform.
2910
5167cfda
CW
29112002-04-28 Colin Walters <walters@verbum.org>
2912
2913 * Makefile.in (${archlibdir}): Don't conditionalize on
2914 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2915 or not we have access to the specified game user.
50496bd9 2916
5167cfda
CW
2917 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2918 (main): New argument -d, for specifying directory.
2919 (usage): Document.
02ce3e80 2920 (get_user_id): Compute.
5167cfda
CW
2921 (get_home_dir): Deleted.
2922 (get_prefix): New function, taken from main.
2923 (main): Check whether or not we are running setuid. Move prefix
2924 computation to get_prefix. Don't call getpwent; we don't need to
2925 any more. Instead, move it to get_user_id().
2926
880820fe 29272002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2928
2929 * ebrowse.c (skip_initializer): Return void.
2930
973c3c87
CW
29312002-04-23 Colin Walters <walters@verbum.org>
2932
2933 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2934 space.
2935
880820fe 29362002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2937
ecc54057 2938 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2939 (process_file): Print the tags from the nodes as soon as
2940 possible, and delete the nodes. This brings down the memory
2941 occupancy as etags to almost the same level as when the #line
2942 directives were not parsed.
2943 (free_fdesc): New function.
2944 (find_entries): Use it.
2945 (invalidate_nodes): In etags mode, do not just mark the nodes as
2946 invalid, do delete them.
2947
c901ceff
GM
29482002-04-21 Gerd Moellmann <gerd@gnu.org>
2949
2950 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2951
c42d6dbd
EZ
29522002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2953
2954 * update-game-score.c: Move config.h before the other headers, to
2955 avoid compiler warnings.
2956
880820fe 29572002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2958
2959 * etags.c (find_entries): Bug fix in list management.
2960
880820fe 29612002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2962
2963 * etags.c (get_language_from_filename): Add one argument.
2964 (strcaseeq): New function.
10d1d0af 2965 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2966 comparison if called with appropriate args.
2967 (find_entries): Try with case insensitive match.
2968 (process_file): Bug fixed.
2969
880820fe 29702002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2971
2972 * etags.c (find_entries): Delete tags previously obtained from
2973 file xxx.c's #line directives when parsing file xxx.y. This is
2974 generally done for automatically generated files containing
2975 #line directives. This handles the case when xxx.y is tagged
2976 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2977 be discarded.
eec54bd7 2978 (language): Add the metasource member. Initializers changed.
c150db23
FP
2979 (invalidate_nodes): New function.
2980 (readline): Discard lines after having found a #line
02ce3e80 2981 directive pointing to an already tagged file. This handles the
c150db23
FP
2982 case when xxx.y is tagged before xxx.c, and the entries of
2983 xxx.c pointing to xxx.y should be discarded.
2984 (fdesc): New structure for keeping track of input files.
2985 (fdesc): Remove `file' member (a string) and use instead a pointer
2986 to a file description structure.
02ce3e80
SM
2987 (curfile, curfiledir, curtagfname, curlang, nocharno)
2988 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2989 curfdp, pointers to file description structures.
c150db23
FP
2990 (longopts, main, print_help): Use the CTAGS conditional to include
2991 or exclude options that work on etags or ctags only.
02ce3e80
SM
2992 (process_file, find_entries, pfnote, add_node, put_entries)
2993 (readline): Use fdhead and curfdp.
c150db23
FP
2994 (process_file, find_entries): Do not take an arg string, all
2995 callers changed.
2996
2997 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2998 options that are not right for either etags or ctags.
2999
3000 * etags.c (number_len, total_size_of_entries): Define them also
3001 in CTAGS mode, because gcc does not compile all refs away.
3002
e9d1f248
CW
30032002-04-14 Colin Walters <walters@debian.org>
3004
3005 * update-game-score.c (lock_file): If the lock file is older than
3006 an hour, delete it. Reset attempts to zero if we have to break
3007 the lock.
3008
7605f1bd
AS
30092002-04-14 Andreas Schwab <schwab@suse.de>
3010
3011 * update-game-score.c (read_score): Fix type of second parameter
3012 of getdelim to be of type size_t instead of int. Use 0 instead of
3013 ESUCCES.
3014
e82defd1
CW
30152002-04-10 Colin Walters <walters@verbum.org>
3016
ecc54057 3017 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
3018 (MAX_DATA_LEN, MAX_SCORES): New.
3019 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3020 default to ~/.emacs.d/games.
3021 (get_user_id): Don't zero uid in the case where we can't get the
3022 username.
3023 (lose): New function.
3024 (main): Actually use `max', and default it to MAX_SCORES.
3025 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3026 function.
3027 (read_score): Handle the case of reading unamelen characters, then
3028 finishing. Use mktemp if mkstemp isn't available.
3029 (lock_file, unlock_file): Delete unused versions.
3030 (lock_file): Always sleep, even if we unlinked the lock file.
3031
e82defd1
CW
3032 * Makefile.in (gamedir, gameuser): New variables.
3033 (toplevel, UTILITIES): Add update-game-score.
3034 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3035
5795b420
CW
30362002-04-07 Colin Walters <walters@verbum.org>
3037
3038 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3039 (get_user_id): Take struct passwd as an argument.
3040 (get_home_dir): New function.
3041 (main): Read in user information here. Discover home directory if
3042 necessary.
3043 (read_score): Trim newline only in `getline' case.
3044
cd553ffb 30452002-04-05 Colin Walters <walters@debian.org>
c150db23 3046
cd553ffb
CW
3047 * update-game-score.c (toplevel): Include pwd.h.
3048 (struct score_entry): Add username field.
3049 (push_score): Use it.
3050 (get_user_id): New function.
3051 (main): Don't malloc excessively.
3052 (main): Use username field.
3053 (read_score): Read it.
3054 (push_score): Handle it.
07655e62 3055 (write_scores): Write it.
c150db23
FP
3056 (read_score): Handle arbitrary length data.
3057
b74bd4a3
EZ
30582002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3059
3060 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3061
fa8bc89d
GM
30622002-03-29 Gerd Moellmann <gerd@gnu.org>
3063
3064 * ebrowse.c (add_declarator, skip_initializer): New functions.
3065 (declaration): Use them.
3066
dd87b4cc
JR
30672002-03-28 Jason Rumney <jasonr@gnu.org>
3068
3069 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3070
cd553ffb
CW
30712002-03-27 Colin Walters <walters@debian.org>
3072
3073 * update-game-score.c: New file.
3074
dfef6d49
PE
30752002-03-22 Paul Eggert <eggert@twinsun.com>
3076
3077 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3078 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3079 the latter usage.
3080
880820fe 30812002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 3082
4fff90e4 3083 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
3084 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3085 (TeX_commands): Name tags. Correction of old disabled code.
3086
3087 * etags.c (curfiledir, curtagfname): New global variables.
e1dbe924 3088 (process_file): Initialize them.
a13d6523 3089 (readline): Canonicalize the name found in #line directive.
893a741e 3090
4fff90e4 30912002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 3092
893a741e
JR
3093 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3094 compilers that don't optimize out dead code.
3095
880820fe 30962002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
3097
3098 * etags.c: Honour #line directives.
a7c29764 3099 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
3100 (main): Remove some #ifdef in the getopt switch.
3101 (add_node, put_entries): Code added to merge different chunks of
3102 nodes referring to the same file. Currently the tags are just
3103 appended, without any check for duplicates.
3104 (Perl_functions): Do not special case ctags.
3105 (readline): Identify #line directives and do the right thing.
3106 (nocharno, invalidcharno): New global vars.
3107 (process_file): Reset nocharno.
3108 (readline): Set nocharno.
3109 (pfnote): Read nocharno and maybe put invalidcharno in node.
3110 (total_size_of_entries, put_entries): Use invalidcharno.
3111
3112 * etags.c: Keep the whole tag table in memory, even in etags mode.
3113 (main): Call put_entries here even in CTAGS mode.
3114 (main, process_file): Check the return values of fclose and pclose.
3115 (process_file): Do not call put_entries after parsing each file.
3116 (process_file): Canonicalise file names even for ctags.
3117 (process_file): Set curfile here...
3118 (find_entries): ... not here any more.
3119 (add_node): In etags mode, build a linked list of entries (on
3120 right pointer) for each file, and link the first entry of each
3121 file on left nodes.
3122 (put_entries): Print here the name of the file.
3123 (put_entries): Print the entries starting from the first file.
c150db23 3124 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
3125 mode, make the second work only on the right nodes.
3126
3127 * etags.c: Make all global variables static.
3128
50ce1f62
JB
31292002-02-25 Juanma Barranquero <lektu@terra.es>
3130
3131 * makefile.w32-in (lisp): Add missing backslash.
3132
82a399d2
JR
31332002-02-24 Jason Rumney <jasonr@gnu.org>
3134
3135 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3136 using .elc files.
c4cc8b9a 3137 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
3138 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3139
a279c920
PE
31402002-02-10 Paul Eggert <eggert@twinsun.com>
3141
3142 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3143 disallows the old syntax.
3144
0caa685d
PE
31452002-02-03 Paul Eggert <eggert@twinsun.com>
3146
d7982012 3147 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
3148 (AWK, TMPDIR): Work around portability problem in broken shells that
3149 don't understand `: ${VAR=val}'.
3150 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3151 Prefer the new -k option to the traditional +M -N option.
3152
880820fe 31532002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
3154
3155 * b2m.c (main): Parenthesize assignment when used as truth value
3156 to prevent gcc warnings.
3157
3158 * fakemail.c: Include <config.h>.
3159
880820fe 31602001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
3161
3162 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3163 * yow.c: Include <config.h>.
3164
880820fe 31652001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
3166
3167 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3168 (get_tag): Return a pointer to the tag that is found.
3169
3170 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
3171 (F_takeprec): Rename from takeprec. All callers changed.
3172 (F_getit): Rename from getit. All callers changed.
3173 (nocase_tail): Rename from tail. All callers changed.
3174 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 3175 (L_getit): Simplify by using get_tag.
a60e4de9
FP
3176 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3177 modified LOOKING_AT.
e1dbe924 3178 (notinname): Remove '[' and added ')' to the recognized chars.
a60e4de9
FP
3179 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3180 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3181 Clarified, using strneq or notinname.
3182 (L_isdef, L_isquote): Removed.
3183 (Lisp_functions, L_getit): Clarified.
3184
b166dcd8 3185 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
3186 [HAVE_CONFIG_H]: Let config.h deal with __P.
3187 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3188 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3189 gperf code needs it.
ecc54057
JB
3190 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3191 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
3192 (xmalloc, xrealloc): Use PTR instead of long *.
3193 (bool): Make it a define, not a typedef, for C++ compilers.
3194 (pattern): Members renamed to avoid name clash in some C++ compilers.
3195 (get_language_from_langname): Use const argument.
3196
880820fe 31972001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
3198
3199 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3200
880820fe 32012001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 3202
b8509940
PJ
3203 * emacsserver.c: Conditionally include config.h.
3204
594aa066
PJ
3205 * fakemail.c: Likewise.
3206
e69233c2
PJ
3207 * emacsclient.c: Include "config.h", not <../src/config.h>.
3208 (main): Parenthesize assignment when used as truth value to
3209 prevent gcc warnings.
3210
69bfc389
PJ
3211 * ebrowse.c: Include stdlib.h and string.h conditionally.
3212
e4e34e31
EZ
32132001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3214
3215 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3216
880820fe 32172001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
3218
3219 * test-distrib.c: Fix previous change.
3220
fb5aa7ac
DL
32212001-12-18 Dave Love <fx@gnu.org>
3222
3223 * test-distrib.c: Conditionally include fcntl.h.
3224
3225 * fakemail.c: Include "config.h", not <../src/config.h>.
3226 (_XOPEN_SOURCE): Define as 500.
3227
3228 * emacsserver.c: Include "config.h", not <../src/config.h>.
3229
3230 * cvtmail.c: Include config.h, stdlib.h.
3231 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3232
3233 * yow.c: Conditionally include various headers. Use "epaths.h",
3234 not <../src/epaths.h>.
3235 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3236
880820fe 32372001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 3238
13dc0576 3239 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
3240 (LOOKING_AT): New macro.
3241 (Perl_functions, Python_functions, PHP_functions)
3242 (Scheme_functions, Texinfo_nodes): Use it.
3243 (Perl_functions): Use strneq.
b166dcd8 3244 (prolog_pred): Rename to prolog_pr.
e1dbe924 3245 (prolog_pr): Recognize Prolog rules in addition to predicates.
e94a3679 3246 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 3247 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
3248 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3249
34e39c95
RS
32502001-12-11 Richard M. Stallman <rms@gnu.org>
3251
3252 * Makefile.in (clean): Don't delete ../etc/DOC*.
3253
880820fe 32542001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
3255
3256 * COPYING: Moved back.
3257
76054cc8
AI
32582001-11-30 Andrew Innes <andrewi@gnu.org>
3259
e94a3679
FP
3260 * makefile.w32-in (FACE_SUPPORT):
3261 (MOUSE_SUPPORT):
3262 (FLOAT_SUPPORT):
3263 (WINNT_SUPPORT):
76054cc8
AI
3264 (lisp): Reference .el files instead of .elc files, to simplify
3265 bootstrapping.
3266 ($(DOC)): Change dependency to just `make-docfile'.
3267
880820fe 32682001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
3269
3270 * COPYING: Removed.
3271
e8d6a09b
PE
32722001-11-28 Paul Eggert <eggert@twinsun.com>
3273
3274 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3275
3276 The following changes are derived from suggestions by Bob Chapman
3277 <rechapman@compuserve.com>.
3278
3279 * rcs2log (printlogline): Also allow tab and newline to separate
3280 '(function):' from the rest of a comment.
3281 (reformat the sorted log entries): Require date and author to
3282 match the clumpname.
3283
9a190096
GM
32842001-11-16 Gerd Moellmann <gerd@gnu.org>
3285
3286 * ebrowse.c (matching_regexp): Escape '\\'.
3287
880820fe 32882001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
3289
3290 * Makefile.in: Add support for --program-prefix, --program-suffix
3291 and --program-transform-name options.
3292
6d8f7d5d
RS
32932001-11-03 Richard M. Stallman <rms@gnu.org>
3294
3295 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3296
3297 * movemail.c (popmail): Always pass two args to `error'.
3298
84e70f78
KR
32992001-10-24 Ken Raeburn <raeburn@gnu.org>
3300
3301 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3302 -lhesiod and maybe -lresolv.
3303 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3304 support if it's available.
3305
386ca361
MB
33062001-10-21 Miles Bader <miles@gnu.org>
3307
a3b10252
MB
3308 * make-docfile.c (struct rcsoc_state): New type.
3309 (read_c_string_or_comment): Add SAW_USAGE
386ca361 3310 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
3311 Use a variable of type `rcsoc_state' to hold most of our state.
3312 (put_char): Add STATE parameter, and remove all other parameters
3313 except CH. Use STATE to get access to all needed state.
3314 (scan_keyword_or_put_char): New function.
386ca361
MB
3315 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3316 Don't output a usage-string if there was one in the doc-string.
3317
71431a0e
GM
33182001-10-20 Gerd Moellmann <gerd@gnu.org>
3319
6aa97356 3320 * (Version 21.1 released.)
71431a0e 3321
880820fe 33222001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
3323
3324 * b2m.c: Properly spell the name of Emacs.
3325
945220bd
MB
33262001-10-17 Miles Bader <miles@gnu.org>
3327
3328 * make-docfile.c (put_char): New function.
3329 (read_c_string_or_comment): Strip trailing spaces and newlines.
3330
14242528
MB
33312001-10-16 Miles Bader <miles@gnu.org>
3332
3333 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3334 comments [with `doc:' keyword prefix].
3335
9f5eb4a3
GM
33362001-10-15 Gerd Moellmann <gerd@gnu.org>
3337
3338 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3339 in a C doc comment.
3340
e641b454
GM
33412001-10-13 Gerd Moellmann <gerd@gnu.org>
3342
b166dcd8 3343 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3344 read_c_string. Add parameter COMMENT. Read C-style comments.
3345 (scan_c_file): Handle doc strings in C comments.
3346
967d7793
AI
33472001-10-12 Andrew Innes <andrewi@gnu.org>
3348
3349 * makefile.nt (ALL): Do not include fakemail.
3350
3351 * makefile.w32-in (install): Do not copy fakemail.
3352
d682756a
JR
33532001-10-10 Jason Rumney <jasonr@gnu.org>
3354
07655e62 3355 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3356
07655e62 3357 * makefile.nt (install): Ditto.
d682756a 3358
14a3dff7
GM
33592001-10-09 Gerd Moellmann <gerd@gnu.org>
3360
3361 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3362
95bc7904 3363 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3364
880820fe 33652001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3366
3367 * profile.c: Include config.h, not ../src/config.h.
3368 Include systime.h, not ../src/systime.h.
3369
ab952a4f
GM
33702001-10-05 Gerd Moellmann <gerd@gnu.org>
3371
3372 * Branch for 21.1.
dff28924 3373
12c64503
GM
33742001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3375
3376 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3377 ALIASEE to help work with namespace aliases.
3378 (struct sym): Remove struct member NAMESP_ALIASES.
3379 (namespace_alias_table): New variable.
3380 (make_namespace): Add parameter CONTEXT.
3381 (check_namespace): New function.
3382 (find_namespace): Add parameter CONTEXT.
3383 (check_namespace_alias): New function.
02ce3e80
SM
3384 (register_namespace_alias): Change type of parameter OLD_NAME.
3385 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3386 (check_namespace): New function.
3387 (enter_namespace): Call find_namespace with CONTEXT parameter.
3388 (match_qualified_namespace_alias): New function.
eec54bd7 3389 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3390 While parsing qualified ident or type update namespace context and
12c64503 3391 restore it on exit.
eec54bd7
SM
3392 (parse_qualified_param_ident_or_type): Fix typo in comment.
3393 (globals): Change handling of namespace aliases.
3394 (version): Add year 2001.
12c64503 3395
990e1190
FP
33962001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3397
3398 * etags.c (analyse_regex): If regex_arg is NULL, return
3399 immediately after a call to free_patterns.
3400
f2e7e23e
AS
34012001-09-05 Paul Eggert <eggert@twinsun.com>
3402
3403 * rcs2log (Help, mainline code): Add new option -L FILE.
3404 (Copyright): Update year.
02ce3e80
SM
3405 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3406 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3407 C locale.
3408 (mainline code): Handle nonstandard -u option differently, by
3409 transforming it to standard form. Check for "Working file: ", not
3410 "Working file:". Allow file names with spaces.
3411 (SOH, rlogfile): New shell vars.
dff28924 3412 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3413 rlogfile.
3414
3415 Append ';;' to the last arm of every case statement, for
3416 portability to ancient broken BSD shells.
3417
02ce3e80 3418 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3419 (pository): New var. This fixes some bugs where repositories are
3420 remote, or have trailing slashes.
02ce3e80 3421 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3422 about that possibility.
dff28924 3423 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3424 the output.
dff28924 3425
75c911eb
EZ
34262001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3427
3428 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3429 Suggested by Dave Love <d.love@dl.ac.uk>.
3430
5ae10f4a
EZ
34312001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3432
3433 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3434 * makefile.w32-in (lisp): Ditto.
3435
0e4011d8 34362001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3437
3438 * grep-changelog (parse_changelog): Remove unused local variable.
3439
3440 * grep-changelog (main): Add new option --reverse.
3441 (print_log): Use it.
3442 (parse_changelog): Use it.
3443
3c88ae74
GM
34442001-07-20 Gerd Moellmann <gerd@gnu.org>
3445
3446 * grep-changelog: Remove RCS Id keyword.
3447
41848daa
GM
34482001-07-20 Juanma Barranquero <lektu@terra.es>
3449
6e07c0a5
GM
3450 * grep-changelog (parse_changelog): Add tests for defined values
3451 to quiet warning from Perl 5.005 or above.
177ab8ce 3452 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3453 argument to prevent duplicate headers.
3454
3455 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3456
467f1209
GM
34572001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3458
3459 * emacsclient.c (print_help_and_exit): Fix help message for
3460 +LINE:COLUMN option.
3461
34622000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3463
467f1209
GM
3464 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3465 argument.
3466
bb24c64f
GM
34672001-07-16 Gerd Moellmann <gerd@gnu.org>
3468
3469 * ebrowse.c (main): Check that the output file exists and
3470 is non-empty if invoked with `--append'.
3471
880820fe 34722001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3473
e335b66a
GM
3474 * etags.c (add_regex): Reset the whole newly allocated pattern
3475 buffer instead of the individual members. It's safer and works
ecc54057 3476 with XEmacs.
fa829470 3477
e335b66a 3478 * etags.1: Markups corrected.
fa829470 3479
6da5c7da
GM
34802001-05-08 Gerd Moellmann <gerd@gnu.org>
3481
02ce3e80 3482 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3483
efbecf9d
GM
34842001-05-03 Gerd Moellmann <gerd@gnu.org>
3485
3486 * ebrowse.c (globals): Fix handling of namespace aliases.
3487
f4976ebc
EZ
34882001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3489
3490 * etags.c (print_help): Enclose the regexp in the help text
3491 example in quotes.
3492
23431241
DL
34932001-04-05 Dave Love <fx@gnu.org>
3494
3495 * emacsclient.c (fail): Don't return a value.
fa829470 3496 (main): Cast uid values for sprintf.
23431241 3497
476bf681
GM
34982001-04-03 Gerd Moellmann <gerd@gnu.org>
3499
b3f6107b
GM
3500 * emacsclient.c (fail, main): Don't use implicit int return type.
3501
476bf681
GM
3502 * b2m.c (main): Always return a value.
3503
ef53d75e
GM
35042001-03-02 Gerd Moellmann <gerd@gnu.org>
3505
3506 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3507 freshly allocated object in *LAST_ID.
3508 (read_line): Accept \r\n line endings.
3509
425de386
AI
35102001-02-24 Andrew Innes <andrewi@gnu.org>
3511
3512 * makefile.w32-in: Fix copyright notice.
3513
880820fe 35142001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3515
3516 * etags.c (enum sym_type): New label st_C_template.
3517 (gperf input): Use it for switching to C++ from C.
3518 (consider_token): Do it.
e1dbe924 3519 (C_entries): Initialize typdefcblev to quiet compilers.
c2a642c0 3520 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3521
f6839838
AI
35222001-02-22 Andrew Innes <andrewi@gnu.org>
3523
3524 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3525 VMS header files.
3526 ($(BLD)\profile.obj): Ditto.
3527
3528 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3529 VMS header files.
3530 ($(BLD)/profile.$(O)): Ditto.
3531
193fba87
AI
35322001-02-05 Andrew Innes <andrewi@gnu.org>
3533
3534 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3535 invocation of make-docfile, to work with Windows 2000.
3536
30526cc6
DL
35372001-01-31 Dave Love <fx@gnu.org>
3538
3539 * etags.c (in_word_set): Use `static' in definition (for pcc).
3540
880820fe 35412001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3542
ecc54057 3543 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3544 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3545 (C_entries): Tag token renamed to still_in_token because sunos4
3546 pcc wants to expand it as the token() macro even though it has no
3547 arguments.
3548
914d7258
AI
35492001-01-30 Andrew Innes <andrewi@gnu.org>
3550
3551 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3552 bug in the Mingw32 assert.h header file.
3553
880820fe 35542001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3555
ecc54057
JB
3556 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3557 #define it for the sake of XEmacs.
b28e26be
FP
3558 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3559 HAVE_CONFIG_H. This change only affects a standalone etags.
3560 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3561 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3562 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3563 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3564 WINDOWSNT, as this is the correct way to use it.
3565
880820fe 35662001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3567
3568 * etags.c: Be capable to parse nested struct-like structures.
3569 (structdef, structtag): Struct state machine revisited.
3570 (struct tok): Revisited.
3571 (cstack, nestlev, instruct): New struct and macros.
3572 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3573 for dealing with nested class names.
8c463abe
FP
3574 (consider_token, make_C_tag, C_entries): Many changes for dealing
3575 with arbitrarily nested structures.
3576 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3577 (C_entries): Consider templates in C++.
3578 (sym_type): New constant st_C_class for detecting "class" also in
3579 C mode.
3580 (C_AUTO): New macro for automatic detection of C++.
3581 (consider_token): Automatic set C++ mode.
3582 (C_entries): New security check for yacc.
3583 (print_language_names, print_help): Mention the autodetect
07655e62 3584 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3585 (C_entries): Tag C++ forward declarations if --declarations.
3586 (C_entries): Don't be fooled by things like XDEFUN.
3587 (consider_token): Discard asm pseudo function.
3588
e26f9ced
EZ
35892001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3590
3591 * etags.c: Add a coding: tag.
3592
a47b7816
GM
35932001-01-26 Gerd Moellmann <gerd@gnu.org>
3594
8c463abe 3595 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3596 New variables.
3597 (matching_regexp): Use them instead of static variables in
3598 function scope.
3599
880820fe 36002001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3601
b166dcd8
KC
3602 * etags.c (struct tok): Rename from struct token.
3603 (token): Rename from tok.
d22a24fa
FP
3604 (structtype): Make it a local variable.
3605 [DEBUG]: Use assert.
3606 (xrnew): Change the synopsis.
b166dcd8 3607 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3608 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3609 (token): Buffer renamed to line.
d22a24fa 3610 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3611 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3612 (linebuffer_setlen): Was grow_buffer, now also sets len.
3613 (consider_token, C_entries, Pascal_functions): Use it.
3614 (C_entries): Preventing problems relative to extern "C".
3615 (C_entries): Can tag more than one variable or func separated by
3616 comma when --declarations is used.
3617 (C_entries): More accurate tagging of members and declarations.
3618 (yacc_rules): Was global, made local to C_entries.
3619 (next_token_is_func): Removed.
3620 (fvdef): New constants fdefunkey, fdefunname.
3621 (consider_token, C_entries): Use them.
3622 (C_entries): Build proper lisp names for Emacs DEFUNs.
3623
21c2bbe0
GM
36242001-01-22 Gerd Moellmann <gerd@gnu.org>
3625
3626 * ebrowse.c (xfree): New function.
3627 (member, declaration, globals): Use xmalloc instead of alloca.
3628
880820fe 36292001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3630
3631 * etags.c (print_language_names): Print filenames in addition to
3632 suffixes.
3633
880820fe 36342001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3635
b166dcd8 3636 * etags.c (get_language_from_langname): Rename from
47df1a5e 3637 get_language_from_name.
b166dcd8 3638 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3639 Now first looks for the complete file name.
47df1a5e
EZ
3640 (language): New member char **filenames.
3641 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3642 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3643 for makefiles.
13dc0576 3644 (Makefile_targets): New function.
c5e87d10 3645 (Texinfo_nodes): Rename from Texinfo_functions and made
47df1a5e
EZ
3646 it conformant to the style of the rest of the code.
3647
291c7e74
GM
36482001-01-13 Gerd Moellmann <gerd@gnu.org>
3649
3650 * make-docfile.c (write_c_args): Print newlines as spaces.
3651
0dac6924
AI
36522001-01-06 Andrew Innes <andrewi@gnu.org>
3653
3654 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3655 of *.pdb.
3656
3e99d3b4
GM
36572001-01-03 Paul Eggert <eggert@twinsun.com>
3658
290afd83 3659 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3660 cause user of rcs2log to overwrite arbitrary files, fixing
3661 a bug reported by Morten Welinder.
3662
3663 Don't put "exit 1" at the end of the exit trap; it's
3664 ineffective in POSIX shells.
3665
d6bb0c0d
GM
36662001-01-02 Gerd Moellmann <gerd@gnu.org>
3667
eec54bd7
SM
3668 * ebrowse.c (yyerror): Change to take two arguments.
3669 Add prototype. Change callers.
d6bb0c0d 3670
d5c00476 36712001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3672
3673 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3674 compiler warnings.
3675 (yyerror): Change parameter declarations to be of type long, so
3676 that they can take pointers on 64-bit platforms.
3677
3678 * emacsclient.c (main): Remove unused local variable statbfr.
3679 (main) <homedir>: Make its declaration conditional on
3680 SERVER_HOME_DIR, to avoid compiler warnings.
3681
3682 * emacsserver.c (main) <homedir>: Make its declaration conditional
3683 on SERVER_HOME_DIR, to avoid compiler warnings.
3684
3685 * fakemail.c (readline): Cast buffer to "long *" to pacify
3686 over-zealous compilers.
3687
7c89ea61
EZ
36882000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3689
3690 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3691
a6768cc5
GM
36922000-12-15 Gerd Moellmann <gerd@gnu.org>
3693
3694 * ebrowse.c (operator_name): Cast argument of isalpha to
3695 unsigned char.
3696
3697 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3698 Use them throughout instead of ctype functions/macros.
3699 (lowcase): Cast to unsigned char.
3700 (UPCASE): New macro.
3701 (canonicalize_filename): Use UPCASE instead toupper.
3702
3703 * fakemail.c (get_keyword): Make sure that isspace and
3704 similar aren't called with a negative argument.
3705
70de49cc
DL
37062000-12-13 Dave Love <fx@gnu.org>
3707
3708 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3709
4e8b894c
AI
37102000-12-06 Andrew Innes <andrewi@gnu.org>
3711
3712 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3713 don't know the real version, and I can't seem to get the quoting
3714 right in all circumstances.
3715
3716 * ebrowse.c (VERSION): Provide default definition, like etags.c
3717 does, because Windows build can't snarf this from version.el.
3718
88257bc8
AI
37192000-11-30 Andrew Innes <andrewi@gnu.org>
3720
3721 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3722 (install): Ditto.
3723
d19249e7
JR
37242000-11-23 Jason Rumney <jasonr@gnu.org>
3725
3726 * makefile.w32-in: Add targets for ebrowse.exe.
3727 (LOCAL_FLAGS): Add -DVERSION flag.
3728
7df6adc3
DL
37292000-09-25 Dave Love <fx@gnu.org>
3730
3731 * sorted-doc.c: Include config.h.
3732 [!HAVE_STDLIB_H]: Declare malloc.
3733
fe83b953
AI
37342000-09-14 Andrew Innes <andrewi@gnu.org>
3735
3736 * makefile.w32-in: Revert to Unix line endings.
3737
517699ca
DL
37382000-09-04 Dave Love <fx@gnu.org>
3739
3740 * movemail.c (index, rindex): Prototype conditionally.
3741
f8803e97
AI
37422000-09-03 Andrew Innes <andrewi@gnu.org>
3743
3744 * makefile.w32-in: Change to DOS line endings.
3745
f72adc12
EZ
37462000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3747
4034f3a8 3748 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3749 [!F_OK]: Provide default definitions only after including both
3750 fcntl.h and unistd.h.
3751
f678f592
DL
37522000-08-29 Dave Love <fx@gnu.org>
3753
3754 * movemail.c: Revert previous change.
3755
5b671d04
EZ
37562000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3757
3758 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3759
6fa86045
DL
37602000-08-28 Dave Love <fx@gnu.org>
3761
3762 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3763 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3764
746d9caf
AI
37652000-08-22 Andrew Innes <andrewi@gnu.org>
3766
3767 * ntlib.h (WIN32): Remove unnecessary definition.
3768 (sleep): Make argument unsigned long.
3769 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3770
3771 * ntlib.c (sleep): Make argument unsigned long.
3772
3773 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3774
3775 * makefile.w32-in: New file.
3776
3b541489
EZ
37772000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3778
3779 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3780 letter only if it is a drive letter.
3781
e5acf0ca
GM
37822000-07-14 Gerd Moellmann <gerd@gnu.org>
3783
b166dcd8 3784 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3785
3786 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3787 by alloca.o.
3788
02ce3e80 3789 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3790
4b92c49a
GM
37912000-07-10 Gerd Moellmann <gerd@gnu.org>
3792
3793 * ebrowse.c (yylex): Accept string literals with newlines in them.
3794 (process_pp_line): Handle case of string literal with newline
3795 in it in replacement text, which counts as continuing the
3796 replacement text in GNU C.
3797
831a6cb0
GM
37982000-07-02 Gerd Moellmann <gerd@gnu.org>
3799
3800 * ebrowse.c (token_string): Add missing tokens.
3801 (parm_list): Handle case of qualified pointers.
3802
53245ee2
DL
38032000-06-23 Dave Love <fx@gnu.org>
3804
3805 * ebrowse.c: Move config.h before other includes (which may use
3806 feature tests).
3807
dcbf2cd2
JM
38082000-06-14 Jim Meyering <meyering@lucent.com>
3809
3810 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3811
f1c7754a
JR
38122000-06-11 Jason Rumney <jasonr@gnu.org>
3813
3814 * makefile.nt: Add targets for ebrowse.
3815
3816 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3817 compare filenames.
3818
5f1aea9a
GM
38192000-06-06 Gerd Moellmann <gerd@gnu.org>
3820
b166dcd8
KC
3821 * ebrowse.c (ymalloc): Rename from xmalloc.
3822 (yrealloc): Rename from xrealloc.
5f1aea9a 3823
5bf244f1
DL
38242000-05-21 Dave Love <fx@gnu.org>
3825
3826 * movemail.c: Include config.h, not ../src/config.h.
3827 (Errmsg): Bump length.
3828
3829 * pop.c (ERROR_MAX): Increase to 160.
3830
ec82fb2f
GM
38312000-05-04 Gerd Moellmann <gerd@gnu.org>
3832
3833 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3834
5c922ea7
EZ
38352000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3836
02ce3e80
SM
3837 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3838 Define to semi-colon.
5c922ea7 3839 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3840 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3841 (process_file): Don't assume that fread always reads as many bytes
3842 as it was told to (DOS-style CR-LF text files fail this logic).
3843 (open_file): Allocate enough space for path->path plus the file
3844 name and the slash.
3845
6142fdcb 38462000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3847
3848 * etags.c (Texinfo_functions): New function.
3849 (lang_names): Install it.
3850 (Texinfo_suffixes): New variable.
3851
cb9215e4
GM
38522000-04-19 Gerd Moellmann <gerd@gnu.org>
3853
3854 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3855 (declaration): Remove parameter IS_EXTERN.
3856 (class_definition): Remove unused variable.
3857
be0dbdab
GM
38582000-04-09 Gerd Moellmann <gerd@gnu.org>
3859
3860 * Makefile.in (INSTALLABLES): Add ebrowse.
3861 (ebrowse): New target.
3862
3863 * ebrowse.c: New file.
3864
c5aa0fc2
AS
38652000-03-29 Andreas Schwab <schwab@suse.de>
3866
3867 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3868
d054101f
GM
38692000-03-02 Gerd Moellmann <gerd@gnu.org>
3870
07e99590 3871 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3872
880820fe 38732000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3874
eec54bd7 3875 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3876 space, and use it throughout in place of isspace, thus preventing a
3877 potential signed char to int conversion problem.
10d1d0af 3878 (MSDOS): #undefine before redefining.
71cbb895 3879
880820fe 38802000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3881
3882 * etags.c (many functions): Add prototypes.
3883
97fa0cc8
DL
38842000-02-10 Dave Love <fx@gnu.org>
3885
3886 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3887 (erlang_func): Add `static' to definitions to keep pcc happy.
3888
880820fe 38892000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3890
3891 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3892 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3893 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3894 (getenv, getcwd): Only declare them if necessary.
3895 (EMACS_NAME): New constant macro.
3896 (print_version): Use it.
3897 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3898
19e262bd 38992000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3900
3901 * etags.c [WINDOWSNT]: #include <direct.h>
3902
19e262bd 39032000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3904
19e262bd
FP
3905 * etags.c (all functions): Made them static.
3906 (all functions): Write prototypes.
e4100b7f 3907
55e30d2a
RS
39082000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3909
3910 * movemail.c (main): Improve error message if can't create lock file.
3911
c60ee5e7 39122000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3913
3914 * emacsclient.c (socket_status): New function.
02ce3e80 3915 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3916 for a socket based on the UID associated with the name.
3917
e4936aa9
GM
39182000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3919
3920 * emacsclient.c: Add option -a EDITOR and environment variable
3921 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3922
f0131492 39231999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3924
3925 * movemail.c (popmail): Allow mailbox specifications of the
3926 form `po:username:hostname'.
3927
880820fe 39281999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3929
3930 * etags.c (_GNU_SOURCE): Define only if undefined.
3931 (get_scheme): Declaration deleted.
02ce3e80 3932 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3933 a char pointer.
3934 (canonicalize_filename): Bug removed.
3935
39361999-11-18 Dave Love <d.love@dl.ac.uk>
3937
3938 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3939 lossage from name clash with macro.
3940
b05d3bee
GM
39411999-11-13 Gerd Moellmann <gerd@gnu.org>
3942
3943 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3944
cb3a6c48
GM
39451999-11-03 Gerd Moellmann <gerd@gnu.org>
3946
3947 * etags.c (print_help): Change email address to send bugs to.
3948
6088b51f 39491999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3950
3951 * etags.c: Add suffix psw for PSWrap.
3952 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3953 (Postscript_functions): Add code for PSWrap.
3954 (Scheme_functions): Use local pointer and new get_tag function.
3955 (get_tag): New name for old get_scheme.
3956 (process_file): Do not free NULL when file does not exist.
3957 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3958 (C_entries): Modifications that make --members tag even inside
3959 typedefs and C nested structs (one level only).
eec54bd7 3960 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3961 constants.
eec54bd7 3962 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3963 st_C_ignore. This makes it simpler to work when cblev!=0.
3964
02ce3e80 3965 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3966 --declarations is used.
3967
3968 * etags.c (C_entries, consider_token): C++ `operator' now is
3969 tagged in most cases.
e1dbe924 3970 As before, :: is not recognized if surrounded by spaces.
1c478461
FP
3971
3972 * etags.c (relative_filename): Account for DOS file names such
3973 that is impossible to make one relative to another.
3974
3975 * etags.c (sym_type): New st_C_extern tag.
3976 (gperf input): Use it for spotting external declarations.
a7c29764 3977 (print_help): Document the new behavior of --declarations.
1c478461
FP
3978 (fvextern): New global variable.
3979 (consider_token, C_entries): Use it.
3980
3981 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3982 (etags_getcwd): Remove test for WINDOWSNT.
3983
3984 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3985 foo.cgz, foo.cz, etc.
3986
3987 * etags.c (declarations): New global switch.
3988 (longopts): Describe it.
3989 (print_help): Document it.
3990 (C_entries): Use it.
3991 (process_file): Don't process a file twice.
3992
3993 * etags.c (Fortran_functions): No tags for "procedure".
3994
39951999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3996
3997 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3998 non-zero, returns a pointer to where the extension begins; callers
3999 changed.
4000 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4001 were foo.c.gz.
4002
880820fe 40031999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4004
4005 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4006 (fvdev): New constant foperator.
4007 (consider_token): Use it to get "operator" in C++.
4008 (C_entries): Extend length of operator@ function name.
4009 (C_entries): Use foperator when necessary.
4010
4011 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4012
4013 * etags.c (compressor): New struct for compressed files.
4014 (get_compressor_from_suffix): New function.
4015 (get_language_from_suffix): Use it. Also, semantics changed.
4016 (process_file): Consider compressed files, close file.
4017 (find_entries): Use different call arg for get_language_from_suffix,
4018 don't close file.
4019
4020 * etags.c (main): Call free_tree.
4021 (find_entries): Do not free curfile.
4022 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4023 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4024 comparing.
4025 (canonicalize_filename): Shut up compiler warning.
4026 (Perl_functions): Make tag significant.
4027
40281999-11-01 Dave Love <d.love@dl.ac.uk>
4029
4030 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4031 (argument_type): New member at_icregexp.
4032 (lc_trans): New global.
4033 (main): Fill lc_trans. Process -c args.
4034 (add_regex): New arg determining whether to use translation table.
4035 (analyse_regex): New arg. Use it for add_regex.
4036
880820fe 40371999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4038
4039 * etags.c (init): Cosmetic change: NULL --> '\0'.
4040 (erlang_attribute): Bug corrected (uninitialized variable).
4041 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 4042 corrects a bug. All callers changed.
1c478461
FP
4043 (canonicalize_filename): New function.
4044 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 4045 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 4046 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 4047 compilers quiet.
1c478461
FP
4048 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4049
4050 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4051 (language): New typedef (was struct lang_entry).
4052 (curlang): New global variable.
02ce3e80 4053 (node): Typedef renamed from NODE.
1c478461
FP
4054 (linebuffer): New typedef (was struct linebuffer).
4055 (pattern): New typedef (was struct pattern). Some members added.
4056 Now used as element of a linked list.
4057 (patterns, num_patterns): Global variables deleted.
4058 (p_head): New global variable.
a64387ee 4059 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
4060 (get_language_from_name, get_language_from_interpreter)
4061 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 4062 (last_node): New global variable.
02ce3e80
SM
4063 (free_tree, add_node, put_entries, total_size_of_entries):
4064 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
4065 (number_len): Rewritten for elegance.
4066 (token): New typedef replaces TOKEN.
4067 (analyse_regex, add_regex): Rewritten for new functionality.
4068 (free_patterns): New function called from main and add_regex.
4069 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 4070 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
4071 (readline): Rewritten for new functionality.
4072
ecc54057 4073 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
4074 (print_help): --globals is now used for more than C-type languages.
4075 (Perl_functions): Tag global variables ("my" and "local").
4076
4077 * etags.c (print_help): Some messages clarified.
4078 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
4079 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4080 (Python_functions, Cobol_paragraphs, Pascal_functions)
4081 (Lisp_functions, Postscript_functions, Scheme_functions)
4082 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4083 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4084 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
4085 of the global variable dbp.
4086 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4087 standard indentation.
4088
02ce3e80
SM
4089 * etags.c (Python_suffixes, lang_names, Python_functions):
4090 Python support.
1c478461 4091 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
4092 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4093 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4094 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
4095 (eat_white): Deleted.
4096
4097 * etags.c (CHAR, init): Keep into account non US-ASCII
4098 characters and compilers with default signed chars.
4099 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4100 constructs.
ecc54057 4101 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 4102
ecc54057 4103 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
4104 (main): Put interval syntax here.
4105 (add_regex): And remove it from here.
4106
4107 * etags.c (suggest_asking_for_help): Provide a
4108 meaningful help message with and without LONG_OPTIONS.
4109
d07529f3 4110 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
4111 <stdlib.h, string.h>: Don't test MSDOS when including them.
4112 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4113 (put_entries): Correctly use %ld instead of %d in printf.
4114
d07529f3 4115 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
4116 declare getcwd if HAVE_GETCWD.
4117 (consider_token): Dead break instruction removed.
4118
4ee9629e
PE
41191999-10-19 Paul Eggert <eggert@twinsun.com>
4120
4121 Add support for large files. Merge glibc 2.1.2.
1c478461 4122
4ee9629e 4123 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 4124 * movemail.c, pop.c:
4ee9629e
PE
4125 Do not include <stdlib.h>, as <config.h> does this now.
4126
4127 * b2m.c, emacsserver.c, etags.c, profile.c:
4128 Include <config.h> before any system include files.
1c478461 4129
4ee9629e 4130 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 4131 * test-distrib.c:
4ee9629e
PE
4132 (read, write, open, close): Do not undef.
4133
4134 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4135 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4136
4137 * getopt.h: Adopt glibc 2.1.2.
1c478461 4138
93c8d183
DL
41391999-10-15 Dave Love <fx@gnu.org>
4140
4141 * Makefile.in (pop.o): Depend on config.h.
4142
b358f91c
GM
41431999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4144
4145 * pop.c: Use "pop3" as the POP service name on all platforms,
4146 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4147 has been the standard service name since RFC 1340 was published in
4148 July 1992, so I think it's safe to start using it by default.
4149
362bc2da
DL
41501999-09-27 Dave Love <fx@gnu.org>
4151
4152 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4153
74e4cb59
PR
41541999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4155
4156 * make-docfile.c (scan_lisp_file): Fix previous changes;
4157 swallow CRLF like just CR or just LF.
4158
362bc2da
DL
41591999-09-03 Richard Stallman <rms@gnu.org>
4160
4161 * make-docfile.c: Include config.h not ../src/config.h.
4162 (main, fopen, chdir): Add #undef.
4163 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4164 (scan_lisp_file): Handle \r like \n.
4165
41661999-08-30 Andreas Schwab <schwab@gnu.org>
4167
4168 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4169
4170 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4171 errno if it's a macro.
4172
4173 * test-distrib.c: Include <unistd.h> if available.
4174
41751999-08-29 Richard Stallman <rms@gnu.org>
4176
4177 * emacsclient.c (print_help_and_exit): Mention --version.
4178
41791999-08-25 Richard M. Stallman <rms@gnu.org>
4180
4181 * emacsclient.c (decode_options): Update version output.
4182 (print_help_and_exit): Update bug report address.
4183
41841999-08-13 Richard M. Stallman <rms@gnu.org>
4185
4186 * emacsclient.c (main): Move the dynamic allocation of
4187 system_name outside of the SERVER_HOME_DIR conditional.
4188 * emacsserver.c (main): Likewise.
4189
41901999-08-10 Gerd Moellmann <gerd@gnu.org>
4191
4192 * grep-changelog: New.
4193 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4194
41951999-07-12 Richard Stallman <rms@gnu.org>
4196
4197 * Version 20.4 released.
4198
41991999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4200
1c478461 4201 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
4202
42031999-06-23 Dave Love <fx@gnu.org>
4204
4205 * etags.c (erlang_attribute): Fix undefined variable usage (after
4206 Potorti).
4207
86e888c2 42081999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
4209
4210 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4211 mapped to _chsize.
4212
42131999-04-29 Richard M. Stallman <rms@gnu.org>
4214
4215 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4216
42171999-03-30 Dave Love <fx@gnu.org>
4218
4219 * sorted-doc.c (main): Split up tables. Modify the preamble
4220 somewhat.
4221
42221999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4223
4224 * makefile.nt: Remove common multiple file compilation commands.
4225
42261999-02-26 Richard Stallman <rms@gnu.org>
4227
362bc2da
DL
4228 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4229
4230 * yow.c: Refer to epaths.h.
4231
42321999-02-22 Simon Josefsson <jas@pdc.kth.se>
4233
4234 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4235
42361999-01-27 Andrew Innes <andrewi@gnu.org>
4237
4238 * makefile.nt: Do make version comparison as strings.
4239
42401999-01-25 Richard Stallman <rms@gnu.org>
4241
4242 * emacsclient.c (xmalloc): Fix previous change.
4243
42441999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4245
4246 * emacsclient.c (xmalloc): Declare to return long.
4247
42481999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4249
4250 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4251 the case of the drive letter.
4252
42531999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4254
4255 * emacsserver.c (main): Eliminate arbitrary limit on
4256 length of system_name.
4257
4258 * emacsclient.c (main): Eliminate arbitrary limit on
4259 length of system_name.
4260 (xmalloc): Define unconditionally.
4261
42621999-01-12 Darrin B. Jewell <jewell@mit.edu>
4263
4264 * etags.c (relative_filename): Stop backward search at beginning
4265 of string, since non-Unix systems can have absolute paths with no
4266 initial slash.
4267
42681998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4269
4270 * makefile.nt: Do string comparision of _NMAKE_VER.
4271
c60ee5e7 42721998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
4273
4274 * makefile.nt: Compile multiple source files when possible.
4275
42761998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4277
4278 * Makefile.in: Replace tabs with spaces
4279 when they might confuse some Make versions.
4280
42811998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4282
4283 * emacsclient.c (main): Null-terminate system_name.
4284
4285 * emacsserver.c (main): Null-terminate system_name.
4286
42871998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4288
4289 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4290 an error message from POP, mention that it's from POP, to
4291 distinguish it from local error messages.
4292
42931998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4294
4295 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4296 order of messages downloaded from a POP server (e.g., if the
4297 server stores messages in mailboxes in reverse order).
4298
42991998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4300
4301 * Version 20.3 released.
4302
43031998-08-11 Paul Eggert <eggert@twinsun.com>
4304
4305 * rcs2log: Update copyright date and bug report address.
4306 (initialize_fullname): Prefer getent if available.
4307
43081998-07-30 Paul Eggert <eggert@twinsun.com>
4309
290afd83 4310 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 4311 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 4312
362bc2da
DL
43131998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4314
4315 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4316
43171998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4318
4319 * Makefile.in: Properly terminate a comment.
4320
43211998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4322
4323 * movemail.c (sys_wait): Rename to wait.
4324
4325 * ntlib.h: Undefine _WINSOCKAPI_.
4326
4327 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4328
43291998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4330
4331 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4332
43331998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4334
b166dcd8
KC
4335 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4336 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4337
43381998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4339
4340 * make-docfile.c: Include <unistd.h> for chdir.
4341
43421998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4343
4344 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4345
43461998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4347
4348 * makefile.nt (obj): Update with new files in src.
4349 (clean): Delete patch scratch files, optimized compilation dir.
4350
43511998-04-08 Dave Love <fx@gnu.org>
4352
4353 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4354 Irix6, at least.
4355
43561998-04-06 Andreas Schwab <schwab@gnu.org>
4357
4358 Silence -Wimplicit:
4359 * movemail.c: Move cancelations up. Include <stdlib.h> if
4360 available.
4361 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4362 (parse_header): Explicitly declare return type.
4363 * emacsserver.c: Include <unistd.h> if available.
4364 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4365 return types. Add forward declarations.
4366 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4367 Don't declare geteuid.
b166dcd8
KC
4368 (print_help_and_exit): Change return type to void.
4369 Forward declare it.
362bc2da
DL
4370 * b2m.c: Include <stdlib.h> if available.
4371 (main): Explicitly declare return type.
4372
362bc2da
DL
43731998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4374
4375 * etags.c (put_entries): Use %ld.
4376
4377 * b2m.c (fatal): Declare the arg.
4378
43791998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4380
b166dcd8 4381 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4382
43831998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4384
4385 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4386 for the utilities.
4387
43881998-01-23 Dave Love <d.love@dl.ac.uk>
4389
4390 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4391 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4392 Always make named tags.
4393 (Fortran_functions): Grok BLOCK DATA.
4394
43951998-01-23 Andreas Schwab <schwab@gnu.org>
4396
4397 * movemail.c (main): Fix interwoven brace and cpp conditional
4398 nesting.
4399
362bc2da
DL
44001997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4401
cb438d6e
JB
4402 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4403 with a '>' any lines starting with "From " read from the POP server,
4404 but leave the code in place, wrapped in #ifdef
362bc2da 4405 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4406 because it turns out that something is depending on it.
4407 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4408 Convert the character \037 (^_) at the beginning of a line into
4409 the character '^' followed by the character '_', because otherwise
4410 Emacs can't parse the resulting file as a valid BABYL file.
4411 Change suggested by Paul Eggert <eggert@twinsun.com>.
4412
44131997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4414
4415 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4416 server to contain embedded nulls.
4417
44181997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4419
362bc2da
DL
4420 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4421 quotes with a '>' any lines starting with "From " read from the
4422 POP server, but leave the code in place, wrapped in #ifdef
4423 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4424 because it turns out that something is depending on it.
4425 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4426
4427 Convert the character \037 (^_) at the beginning of a line into
4428 the character '^' followed by the character '_', because otherwise
4429 Emacs can't parse the resulting file as a valid BABYL file.
4430 Change suggested by Paul Eggert <eggert@twinsun.com>.
4431
44321997-11-22 Richard Stallman <rms@gnu.org>
4433
4434 * b2m.c: Include getopt.h.
4435 (main): Use getopt_long to handle --version and --help.
4436
4437 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4438
44391997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4440
b166dcd8
KC
4441 * pop.c (fullwrite): Get rid of an extra call to write.
4442 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4443
44441997-10-16 Dave Love <d.love@dl.ac.uk>
4445
ecc54057
JB
4446 * etags.c (L_getit): Always make named tags so that Emacs
4447 completion on symbols containing `:' etc. works.
4448 (get_scheme): Likewise.
362bc2da
DL
4449
44501997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4451
4452 * pop.c: Use system header files instead of declaring C-library
4453 functions explicitly.
4454
44551997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4456
4457 * Version 20.2 released.
4458
44591997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4460
4461 * Version 20.1 released.
4462
44631997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4464
4465 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4466
4467 * ntlib.c (getpid): Delete function.
4468
44691997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4470
4471 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4472
44731997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4474
4475 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4476 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4477
44781997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4479
4480 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4481
44821997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4483
4484 * profile.c (get_time): Cast arg to fprintf.
4485
4486 * hexl.c (main): Use %08lx instead of %08x in printf because the
4487 variable named addresses is long.
4488
44891997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4490
4491 * makefile.nt (lisp): Update paths to lisp files that have moved.
4492
44931997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4494
4495 * makefile.nt (ctags.obj): New target.
4496 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4497
4498 * ntlib.h: Add includes.
4499 Undo definitions of crt routines from config.h.
4500
45011997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4502
4503 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4504
45051997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4506
4507 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4508 Kerberos V5 for movemail, including detection of V4 and V5 header
4509 files and libraries.
362bc2da 4510 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4511 declarations of string functions.
362bc2da 4512 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4513 V5 API rather than the old one.
362bc2da 4514 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4515 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4516 with a constant in a header file.
362bc2da
DL
4517
4518 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4519 Kerberos V5 for movemail, including detection of V4 and V5 header
4520 files and libraries.
362bc2da
DL
4521
45221997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4523
4524 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4525
4526 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4527
362bc2da
DL
45281997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4529
4530 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4531
45321997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4533
4534 * movemail.c (rindex): Add declaration.
4535
d57727c9 45361997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4537
4538 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4539 (movemail.exe): Depend upon and link with getopt files.
4540 (obj): Include new source files.
4541 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4542 (lisp): Include new and reorganized elisp files.
4543
45441997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4545
4546 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4547
45481997-06-25 Paul Eggert <eggert@twinsun.com>
4549
4550 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4551
45521997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4553
4554 * b2m.c (readline): Terminate buffer properly when EOF seen.
4555 Test for valid pointer before dereferencing it.
4556
880820fe 45571997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4558
4559 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4560 defined inside etags.c if HAVE_CONFIG_H is defined.
4561
880820fe 45621997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4563
ecc54057 4564 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4565 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4566 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4567 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4568 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4569 (longopts): New long options without short counterpart are
4570 globals, members, no-globals, no-members. Regexp options are now
4571 defined conditionally to ETAGS_REGEXPS.
4572 (print_help): Updated.
4573
880820fe 45741997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4575
4576 * etags.c (C_entries): Use "." instead of "::" for Java.
4577 (consider_token): is_func renamed to is_func_or_var.
4578 (C_entries): is_func renamed to funorvar.
e1dbe924 4579 (C_entries): Initialize tok.named.
362bc2da
DL
4580 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4581 get rid of "import", "package" and "friend".
b166dcd8
KC
4582 (fvdef): Rename from funcdef. Also some constants renamed.
4583 All users changed.
362bc2da
DL
4584 (C_entries): Make separate tags for variables separated by comma.
4585 (globals, members): New flags.
4586 (main, C_entries): Use them.
4587 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4588
880820fe 45891997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4590
4591 * etags.c (funcdef): New vignore constant.
4592 (consider_token, C_entries): Use it to tag global variables.
4593 (print_help): Update for global variables.
4594 (consider_token, C_entries): Set the len member of token_name.
4595 (prolog_pred): Cleanup according to GNU coding standards.
4596 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4597 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4598
880820fe 45991997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4600
4601 * etags.c (CHARS, CHAR): New constant and macro.
4602 (iswhite, begtoken, intoken, endtoken): Use them.
4603 (notinname, _nin, nonam): New macro, array, string.
4604 (init): Cleanup and init _nin.
4605 (new_pfnote): New function.
4606 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4607 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4608
880820fe 46091997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4610
4611 * etags.c (C_entries, Pascal_functions): Cleanup.
4612 (TeX_functions): NULL as a function arg needs a cast.
4613 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4614
880820fe 46151997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4616
4617 * etags.c (TeX_functions): Cleaned up.
4618 (tex_getit): Removed.
4619
46201997-05-13 Paul Eggert <eggert@twinsun.com>
4621
4622 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4623 non-files within the RCS subdirectory.
362bc2da 4624
880820fe 46251997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4626
4627 * etags.c (C_JAVA): New #define.
4628 (Cjava_suffixes): .java is Java.
4629 (Cjava_entries): New function.
4630 (lang_names): Add Java.
4631 (sym_type): Add st_C_javastruct for Java.
4632 (C_stab_entry): Add `extends' and `implements' keywords.
e1dbe924 4633 (consider_token, C_entries): Recognize Java structures.
362bc2da 4634
880820fe 46351997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4636
7877f373
JB
4637 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
4638 (Postscript_suffixes): .ps is PostScript.
4639 (lang_names): Add postscript.
362bc2da
DL
4640 (Postscript_functions): New function.
4641 (TEX_decode_env): Close minor memory leak.
4642 (just_read_file): Correct the char number of the tag.
4643
46441997-05-11 Paul Eggert <eggert@twinsun.com>
4645
4646 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4647 Don't prepend $nl since this causes some shells to generate the
4648 empty string when IFS is $nl.
362bc2da 4649 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4650 PC-based shells mishandle CR.
362bc2da
DL
4651 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4652 nismatch, in case it's set to some nonstandard value.
1c478461 4653
362bc2da
DL
46541997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4655
4656 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4657 read in separate blocks.
4658
880820fe 46591997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4660
4661 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4662 (struct linebuffer): New member `len' is the length of the string.
4663 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4664 Use it instead of strlen.
4665 (TEX_getit): Declare and define unconditionally as static.
4666 (TeX_functions): Use if instead of #if TeX_named_tokens.
4667 (add_regex): Set RE_INTERVALS flag for regex compilation.
4668 (substitute): Code cleanup.
4669 (readline_internal): Code cleanup, set new member `len'.
4670 (readline): Bug corrected.
4671
46721997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4673
4674 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4675 (obj): Change references of nt*.c files to w32*.c files.
4676
880820fe 46771997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4678
4679 * etags.c (xnew): Add support for debugging with chkmalloc.
4680 (error): Use this instead of printf whenever possible.
e1dbe924 4681 (main): Only call xnew after having initialized progname.
362bc2da
DL
4682 (substitute): Bad memory corruption error corrected.
4683
880820fe 46841997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4685
4686 * etags.c (add_regex): Undo previous change.
4687 (relative_filename): Small memory leak closed.
4688 (absolute_filename): Cleaned up the code, possibly closing a bug.
4689 (absolute_dirname): Always return a newly allocated string.
1c478461 4690
362bc2da
DL
46911997-03-21 Paul Eggert <eggert@twinsun.com>
4692
4693 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4694 of the form ,*, or *_; they are probably RCS lock files.
4695 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4696 they are used by rcsfreeze.
4697
880820fe 46981997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4699
2f2c687b 4700 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4701
47021997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4703
4704 * movemail.c (popmail): Remove some unnecessary function
4705 declarations.
4706 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4707 into pop_retr, there's no reason to pass in mbx_write, and the
4708 file argument can be declared FILE * explicitly. This fixes a
4709 compilation problem on systems with 64-bit pointers.
4710
47111997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4712
4713 * movemail.c: Delete duplicate inclusion of fcntl.h
4714 and duplicate #undefs of open, read, write, close.
4715
47161997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4717
4718 * movemail.c (main): Do not display "[POP-password]" in the usage
4719 message when movemail is compiled without POP support.
4720 (main, popmail): Add the optional "-p" argument, which causes
4721 movemail to leave mail in the inbox after copying it into the
4722 output file.
1c478461 4723
362bc2da
DL
4724 * Makefile.in (movemail): Link with getopt.
4725
47261997-01-20 Paul Eggert <eggert@twinsun.com>
4727
ecc54057 4728 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4729 (Copyright, Help, Id): New variables, for above.
4730 (rlog): Use -q option with cvs log, to avoid useless chatter.
4731
4732 Treat logs of "Initial revision" (RCS) or "file F was initially added
4733 on branch B." (CVS) as if they said "New file.", for consistency with
4734 change log entries.
4735
47361997-01-01 Paul Eggert <eggert@twinsun.com>
4737
4738 * vcdiff (PATH): Add /usr/xpg4/bin,
4739 where XPG4 SCCS hangs out in Solaris 2.5.
4740 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4741
47421996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4743
4744 * etags.c (streq, strneq): Use == NULL rather than !.
4745
47461996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4747
4748 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4749 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4750
4751 * movemail.c: Include maillock.h (conditionally).
4752 Remove a redundant inclusion of <stdio.h>.
4753 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4754 (main): Add variable spool_name.
4755 Support the usage of maillock and mailunlock to
ecc54057 4756 lock and unlock mailboxes.
362bc2da
DL
4757 (mail_spool_name): New function.
4758
4759 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4760 movemail to exit with an error status incorrectly on systems which
4761 use lock files rather than a system locking function to lock
4762 mailboxes.
362bc2da
DL
4763
47641996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4765
4766 * pop.c (socket_connection): Free realhost after using it.
4767
880820fe 47681996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4769
4770 * etags.c (C_entries): Test tok.valid. This handles some
4771 particular cases involving function declarations that failed.
4772
47731996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4774
362bc2da
DL
4775 * pop.c (socket_connection):
4776 gethostbyname may return a pointer to static data.
4777 krb_realmofhost can clobber it. So copy it.
4778
880820fe 47791996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4780
4781 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4782 must cast it to (char *) because we have no prototypes.
4783 (make_C_tag): Macro deleted, new function.
4784 (C_entries): Calls to make_C_tag macro changed to call function.
4785
880820fe 47861996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4787
4788 * etags.c (grow_linebuffer): New function.
4789 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4790 (make_tag): Macro renamed to make_C_tag. All callers changed.
4791 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4792 (Prolog_functions): prolog_skip_comment was called with wrong
4793 number of arguments.
6088b51f 4794 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4795
880820fe 47961996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4797
4798 * etags.c (relative_filename): Bug corrected.
4799 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4800 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4801
48021996-11-03 Paul Eggert <eggert@twinsun.com>
4803
4804 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4805 repository file names.
362bc2da
DL
4806
48071996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4808
4809 * emacsserver.c: Fix 1996-09-02 change.
4810
48111996-10-12 Paul Eggert <eggert@twinsun.com>
4812
4813 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4814 option', since CVS says 'invalid option'.
362bc2da
DL
4815 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4816 revisions, since some hosts reject 1970-01-01 when east of UTC.
4817 (date): Remove.
4818
48191996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4820
4821 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4822
880820fe 48231996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4824
4825 * etags.c (print_version): Print copyright info.
4826
4827 * etags.c (print_help): Print the bug reporting address.
4828 (main): Use return as the last instruction, instead of exit.
4829
4830 * etags.c (main): Don't open the tags file in cxref mode.
4831
48321996-09-29 Dave Love <d.love@dl.ac.uk>
4833
4834 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4835 as well as earlier CVSs and RCS.
362bc2da
DL
4836
48371996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4838
4839 * movemail.c (main): If the lock call fails with EBUSY or
4840 EAGAIN, retry a few times.
4841
48421996-09-25 Paul Eggert <eggert@twinsun.com>
4843
4844 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4845 whether to append -zLT.
362bc2da
DL
4846
48471996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4848
4849 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4850 * emacsclient.c, movemail.c: Likewise.
4851
48521996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4853
4854 * emacsclient.c (longopts): Change nowait to no-wait.
4855 (print_help_and_exit): Fix option name; upcase metavars.
4856
48571996-09-06 Erik Naggum <erik@naggum.no>
4858
4859 * emacsserver.c (main): Declare `fromlen' as size_t.
4860
48611996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4862
4863 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4864
48651996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4866
4867 * emacsclient.c (quote_file_name): Quote with &, not \.
4868 Quote `-' only at start of file name. Terminate the value string.
4869
4870 * emacsserver.c: Include signal.h properly;
4871 delete the duplicate includes for it.
4872
4873 * emacsserver.c: On fatal signal, delete socket-file:
4874 * emacsserver.c: Include signal.h.
ecc54057 4875 (xmalloc, fatal, error): New functions.
362bc2da
DL
4876 (delete_socket, handle_signals): New functions.
4877 (progname, socket_name): New variables.
194d44e7 4878 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4879
48801996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4881
4882 * emacsclient.c (quote_file_name): New function.
4883 (main, both versions): Use quote_file_name.
4884 (decode_options): Don't return a value.
4885 (main, both versions): Use optind.
4886 Don't check for -nowait here.
1c478461 4887
362bc2da
DL
4888 * emacsclient.c (decode_options): New function.
4889 (main, both versions): Call decode_options.
4890 (print_help_and_exit): New function.
4891 (VERSION): New macro.
4892
4893 * Makefile.in (emacsclient): Link with getopt.
4894 Add -DVERSION so emacsclient knows its version number.
4895
48961996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4897
4898 * makefile.nt (lisp): Include dos-nt.elc.
4899
49001996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4901
4902 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4903
49041996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4905
4906 * emacsclient.c (both versions): Handle -nowait and --nowait
4907 by sending data to the server.
4908
49091996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4910
4911 * Makefile.in (INSTALL_STRIP): New variable.
4912 (${archlibdir}): Use INSTALL_STRIP.
4913
4914 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4915 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4916
4917 * pop.c: Reverse conditional in previous change.
4918
49191996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4920
4921 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4922
49231996-08-24 Paul Eggert <eggert@twinsun.com>
4924
4925 * rcs2log: Use ISO 8601 date format, with time zone appended
4926 if change-log-time-zone-rule is non-nil, instead of
4927 traditional Unix date format.
4928
4929 (datearg): When computing default from ChangeLog, handle ISO format
4930 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4931 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4932 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4933 "$datearg" option to $rlog.
4934 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4935 (month_data): Remove `mo'; no longer needed.
10d1d0af 4936 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4937
4938 Match `revision' line of rlog output more accurately.
4939
4940 Add -c, -v options.
4941
49421996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4943
4944 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4945
49461996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4947
4948 * Version 19.33 released.
4949
49501996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4951
4952 * Version 19.32 released.
4953
49541996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4955
4956 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4957 computing character positions in source files.
4958
49591996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4960
4961 * makefile.nt (clean): Use OBJDIR macro.
4962
49631996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4964
4965 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4966
c60ee5e7 49671996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4968
ecc54057 4969 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4970 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4971 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4972
49731996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4974
4975 * ntlib.h: Correct return type of getwd.
4976 * ntlib.c (getwd): Correct return type.
4977
49781996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4979
4980 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4981 to infile.
4982
49831996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4984
4985 * makefile.nt: Remove all references to wakeup.
4986
880820fe 49871996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4988
4989 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4990 explicit, mutable, typename.
4991
49921996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4993
4994 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4995 streams, one for sending and one for reading the reply.
4996
49971996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4998
4999 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5000 (wakeup): Target deleted.
5001 (UTILITIES): Delete wakeup and timer.
5002
5003 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5004
50051996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5006
5007 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5008 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5009
50101996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5011
5012 * etags.c (main): Copy cwd when appending slash.
5013
50141996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5015
5016 * Version 19.31 released.
5017
880820fe 50181996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5019
5020 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5021 (Pascal_functions): Increase linecharno by the correct number of
5022 chars, inline the GET_NEW_LINE macro and delete its definition.
5023
c60ee5e7 50241996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5025
5026 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5027
c60ee5e7 50281996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5029
5030 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 5031 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
5032
5033 * ntlib.c: Include ntlib.h.
5034 (nt_sleep): Rename to sleep.
5035 (getwd): Return directory.
5036 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5037 sys_ctime, sys_fopen): New functions.
5038
5039 * ntlib.h: New file.
5040
50411996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5042
b166dcd8 5043 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
5044 (pop_open, pop_trash): Make the trash_started code unconditional.
5045 (socket_connection): Delete casts to void.
5046
50471996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5048
b166dcd8
KC
5049 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5050 Definitions copied from lisp.h.
362bc2da
DL
5051
50521996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5053
5054 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5055
5056 * hexl.c [DOSNT]: Include fcntl.h.
5057 [WINDOWSNT]: Include io.h.
5058 (main) [MSDOS]: Change conditional to DOS_NT.
5059
5060 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5061 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5062 [WINDOWSNT]: Include locking.h.
5063 (main): Update usage message. Use IS_DIRECTORY_SEP.
5064 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5065 (main) [WINDOWSNT]: Invoke locking instead of flock.
5066 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5067 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5068 Include winsock.h; don't include unix inet headers.
5069 (popmail): Add password argument and pass it to pop_open.
5070 Open output file in binary mode.
5071
5072 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 5073 Macro SOCKET_ERROR undefined.
362bc2da
DL
5074 Don't declare h_errno.
5075 [!WINDOWSNT]: Define macros recv and send.
5076 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5077 (pop_open) [WINDOWSNT]: Initialize trash_started.
5078 (have_winsock) [WINDOWSNT]: New variable.
5079 (socket_connection) [WINDOWSNT]: Initialize winsock.
5080 (socket_connection): Use closesocket instead of close.
5081 (getline): Use recv instead of read.
5082 (fullwrite): Use send instead of write.
5083 (pop_trash): Use closesocket instead of close.
5084 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5085 Check if being called recursively by sendline.
5086
5087 * pop.h (struct _popserver): New field trash_started.
5088
5089 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5090
50911996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5092
5093 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5094
50951996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5096
5097 * etags.c [WINDOWSNT]: Include io.h.
5098
50991996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5100
5101 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5102
51031996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5104
5105 * hexl.c [DJGPP v2]: Include io.h.
5106 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5107
5108 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5109 DJGPP v2.
5110
51111996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5112
5113 * etags.c (absolute_filename): Use absolutefn.
5114
51151996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5116
5117 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5118 letter isn't an alphabetic character.
5119 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5120 (process_file) [DOS_NT]: Convert all slashes to forward style.
5121 (absolute_filename) [DOS_NT]: Emit error message for relative
5122 paths with a drive letter.
5123 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5124 DOS/NT drive letters which try to reference the parent of the root.
5125 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5126
51271996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5128
5129 * makefile.nt: Change uses of del to $(DEL).
5130
880820fe 51311996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5132
5133 * etags.c (just_read_file): Reset lineno and charno on entry.
5134
51351996-03-15 Anders Lindgren <andersl@csd.uu.se>
5136
58179cce 5137 * etags.c: Prolog language totally rewritten.
ecc54057 5138 (Prolog_functions): Rewritten from scratch.
362bc2da 5139 (skip_comment, prolog_getit): Removed.
ecc54057
JB
5140 (prolog_skip_comment): New function, like old skip_comment.
5141 (prolog_pred, prolog_atom, prolog_white): New functions.
5142 (erlang_func, erlang_attributes): Forward declarations added.
5143 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 5144
880820fe 51451996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5146
5147 * etags.c (absolutefn): DOS_NT version corrected.
5148 (main): Append "/" to the dir name only if not already there.
5149 (print_help): Explain the absolute/relative file name issue.
1c478461 5150
362bc2da
DL
51511996-03-08 Anders Lindgren <andersl@csd.uu.se>
5152
10d1d0af
JB
5153 * etags.c: New Language Erlang added.
5154 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5155 (erlang_white): New functions.
362bc2da
DL
5156 (Erlang_suffixes): New suffix list.
5157 (lang_names): Erlang entry added.
5158 (prolog_getit): Accepts headers spanning several lines.
5159 Always name tags.
b166dcd8 5160 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
5161 newline characters.
5162 (readline_internal): Zero-terminate last line.
5163
51641996-03-20 Mike Long <mike.long@analog.com>
5165
5166 * b2m.c (main): Initialize progname variable before using it.
5167 Quote `username' in From_ header.
5168
51691996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5170
5171 * ntlib.c (getpid): New function.
5172
51731996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5174
5175 * emacsclient.c (main, both definitions):
5176 Print a newline for normal termination.
5177
51781996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5179
5180 * tcp.c (main): Convert port to network byte order.
5181
51821996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5183
5184 * pop.c (pop_retrieve, getline): Avoid type clashes.
5185
51861996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5187
5188 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5189
51901996-01-15 Paul Eggert <eggert@twinsun.com>
5191
5192 * rcs2log (initialize_fullname): Add support for NIS+.
5193 (hostname): Fully qualify the default hostname with the domainname
5194 if the hostname lacks a `.'.
5195
362bc2da
DL
51961996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5197
5198 * etags.c (consider_token): Fix typo in expression.
5199
52001996-01-04 Paul Eggert <eggert@twinsun.com>
5201
5202 * etags.c (substitute): Fix spelling in message.
5203
52041996-01-03 George V. Reilly <georger@microcrafts.com>
5205
5206 * makefile.nt (etags, ctags): Compile with regexp support.
5207 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5208 subdirectory exists before compiling.
1c478461 5209
362bc2da
DL
52101996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5211
5212 * emacsserver.c (main): Do chmod based on existing permission.
5213
52141995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5215
5216 * Makefile.in (install): Turn on read/execute permission.
5217
52181995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5219
5220 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5221 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5222
52231995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5224
b166dcd8 5225 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 5226
880820fe 52271995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5228
5229 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5230 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5231 get_scheme, prolog_getit): Name the tag in ctags mode.
5232 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5233 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5234 (suggest_asking_for_help): New function.
5235 (main, get_language_from_name): Use suggest_asking_for_help.
5236 (main): Let get_language_from_name make language existence check.
5237 (streq, strneq): Check the arguments #if DEBUG.
5238
880820fe 52391995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5240
5241 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
5242 (gperf): Add keywords for Objective C and GNU macros.
5243 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
5244 (begtk): The '@' character can start a token.
5245 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 5246 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
5247 (plain_C_suffixes): Add .m and .lm for Objective C.
5248 (Yacc_suffixes): Add .ym for Objective yacc.
5249 (GROW_LINEBUFFER): New macro.
5250 (consider_token, C_entries, Pascal_functions): Use the new macro.
5251 (consider_token): Take one more argument. Caller changed.
5252 (consider_token): Use the hashing function to spot GNU macros.
5253 (C_entries): Consider // as a comment start even in plain C for
5254 the sake of Objective C parsing.
5255
880820fe 52561995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 5257
2f2c687b 5258 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 5259 compile with regexp support enabled.
362bc2da
DL
5260
52611995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5262
5263 * Version 19.30 released.
5264
52651995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5266
5267 * makefile.nt (DOC, clean): Don't use switches to del not
5268 supported by Windows 95.
5269
52701995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5271
5272 * Makefile.in (regex.o): Depend on ../src/config.h.
5273
52741995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5275
5276 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5277 (LOADLIBES): Use LIB_STANDARD.
5278
52791995-11-07 Kevin Gallo <kgallo@microsoft.com>
5280
5281 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5282 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5283 Windows 95 conditional.
5284
880820fe 52851995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5286
b166dcd8
KC
5287 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5288 (get_lang_from_suffix): New functions.
362bc2da
DL
5289 (get_language): Function deleted.
5290 (lang_entry): Two members added to struct.
5291 (lang_names): Reflect the new layout of lang_entry.
5292 (print_language_names, main, find_entries): Use the new functions.
5293 (find_entries): Look at the first line for #! if no language.
5294 (C_entries): Invalidate the token when funcdef is reset.
5295 (Perl_functions): New function.
5296 (lang_suffixes): .pl and .pm are Perl suffixes.
5297
880820fe 52981995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5299
5300 * etags.c (lowcase): Use the standard tolower function.
5301 (substitute): Remove some wrong and some useless code related with
a64387ee 5302 escape '\' character in regexp replacement string.
b166dcd8 5303 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
5304 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5305 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5306 .prolog for prolog (.pl removed).
5307 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 5308 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
5309 (add_node): Dead code removed.
5310
53111995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5312
5313 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5314 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5315
53161995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5317
5318 * test-distrib.c: Add #undef for open, close, read, write.
5319
53201995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5321
5322 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5323 [! O_RDONLY]: Define it to zero.
5324 (main): Use O_RDONLY instead of explicit zero.
5325
880820fe 53261995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5327
5328 * etags.c (Pascal_functions): Close comment bug corrected.
5329 (add_node): Correctly compare node file names.
5330 (Pascal_functions): Correctly allocate and free memory for tline.
5331 (pfnote): Put the definition of fp in the innermost block.
5332 (NODE): `named' member removed.
5333 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5334 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5335 (pfnote): `named' argument removed, all callers changed.
5336 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5337 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5338 removed from pfnote call, some code cleanup.
362bc2da
DL
5339 (relative_filename): Free temporary space allocated by concat.
5340
53411995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5342
5343 * Makefile.in (getdate.c): New target.
5344 (getdate.o): Just compile getdate.c.
5345
53461995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5347
5348 * fakemail.c (xrealloc): Change cast to match return type.
5349
53501995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5351
5352 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5353
53541995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5355
5356 * movemail.c (main): Fix previous change.
5357 Add error check for empty OUTNAME.
5358
53591995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5360
5361 * movemail.c (main): Mention lock file name in error message.
5362
53631995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5364
5365 * profile.c (gettimeofday): New function, defined if necessary.
5366
53671995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5368
5369 * Makefile.in: Renamed from Makefile.in.in.
5370 (distclean): Delete Makefile.c, not Makefile.in.
5371
53721995-07-17 Michael Shields <shields@tembel.org>
5373
5374 * Makefile.in.in (tags): Synonym for `TAGS'.
5375
53761995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5377
5378 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5379 configure has already set $(INSTALL) to the proper relative path.
5380
362bc2da
DL
53811995-07-08 Paul Eggert <eggert@twinsun.com>
5382
5383 * rcs2log (datearg): Separate date from time with comma, not space,
5384 to work around CVS 1.5 bug.
5385 (CVSROOT): Don't abort when unset if repository is absolute.
5386
53871995-07-07 Paul Eggert <eggert@twinsun.com>
5388
5389 * rcs-checkin, rcs2log, vcdiff:
5390 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5391 that interpret `#! /' as a 4-byte magic number.
5392
53931995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5394
5395 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5396 mailbox with "po:mailbox", the mailbox is everything after the
5397 "po:" prefix.
5398
53991995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5400
5401 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5402 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5403
54041995-06-28 Paul Eggert <eggert@twinsun.com>
5405
5406 * rcs2log (CVSROOT, repository):
5407 Allow remote repositories a la CVS 1.4.
5408
880820fe 54091995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5410
2f2c687b
JB
5411 * etags.c (plain_C_entries): New function.
5412 (lowcase): New macro.
5413 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5414 (lang_suffixes): New suffix ".pc" for Pro*C files.
5415 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5416 (tail): Look for the end of the token when comparing.
5417 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5418
54191995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5420
5421 * movemail.c (main): Add newline in usage message.
5422
54231995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5424
5425 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5426
880820fe 54271995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5428
5429 * etags.c (find_entries): Rewind before rereading the input file.
5430
54311995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5432
5433 * Version 19.29 released.
5434
5435 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5436 This undoes part of the previous change.
5437
54381995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5439
5440 * make-docfile.c (main): On MSDOS, don't change stdout
5441 to binary, and insist on an -o option.
5442
54431995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5444
5445 * etags.c (process_file,absolute_filename): Handle filenames
5446 starting with a drive letter.
5447
5448 * makefile.nt (install): Copy wakeup.exe properly.
5449
54501995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5451
5452 * make-docfile.c [MSDOS]: #undef chdir.
5453
54541995-06-04 Paul Eggert <eggert@twinsun.com>
5455
5456 * rcs2log (output_authors): Allow ':' in time zone,
5457 as per ISO 8601 and RCS 5.6.8 beta.
5458
880820fe 54591995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5460
5461 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5462 compatibility problems.
5463
54641995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5465
5466 * etags.c (etags_getcwd): Don't use #elif.
5467 Have just one function body.
5468
54691995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5470
5471 * makefile.nt (LIBS): Use BASE_LIBS.
5472 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5473 upon LIBS.
5474 (DOC): Use del instead of rm.
5475 (DOC) [WINDOWS95]: Use DOC.
5476 (clean): Handle MSVC aux files.
5477 (config.h,paths.h): Use $(CP) instead of cp.
5478 (config.h): Use $(CONFIG_H)
5479 (make-docfile.obj): Depend upon config.h.
5480 Clean up comments.
5481
880820fe 54821995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5483
5484 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5485 former gives the true path even in the presence of simlinks.
5486
54871995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5488
5489 * movemail.c (main): Increase lock timeout to five minutes.
5490
54911995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5492
5493 * makefile.nt (obj): Use .c files.
5494
54951995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5496
5497 * make-docfile.c: Include config.h.
5498 (NO_SHORTNAMES): New definition.
5499 (xmalloc): Return long *.
5500
5501 * etags.c (C_entries): Cast result of xrealloc.
5502 (xmalloc, xrealloc): Declare them to return long *.
5503
5504 * b2m.c (xmalloc, xrealloc): Declare them long *.
5505
5506 * movemail.c (xmalloc): Declare it to return long *.
5507
55081995-04-30 Paul Eggert <eggert@twinsun.com>
5509
5510 * rcs2log (datearg): If rlog options are specified explicitly,
5511 omit the implicit '-d>DATE' option.
5512 (repository, rlog): Allow absolute paths to CVS repositories.
5513 Look only at the first line of CVS/Repository.
5514
55151995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5516
5517 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5518 realclean.
5519
55201995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5521
5522 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5523 Alternative (empty) definitions.
5524
55251995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5526
5527 * emacsclient.c (main): Add argv[0] to an error message.
5528
55291995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5530
5531 * emacsclient.c (main): Improve error handling.
5532 * cvtmail.c (main, skip_to_lf): Improve error handling.
5533 (sysfail): New function.
5534
5535 * b2m.c (main): Check for trailing ", " before trying to delete it.
5536
55371995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5538
5539 * Makefile.in.in (all): Build test-distrib and make-docfile.
5540
5541 * make-docfile.c (scan_c_file): At end, restore file name last char
5542 to its original value.
5543
55441995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5545
5546 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5547
55481995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5549
b166dcd8 5550 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5551 (alloca.o, regex.o): Use BASE_CFLAGS.
5552
55531995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5554
5555 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5556
55571995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5558
5559 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5560 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5561
55621995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5563
5564 * aixcc.lex: File deleted--surely obsolete now.
5565
55661995-03-23 Paul Eggert <eggert@twinsun.com>
5567
5568 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5569 portability to mawk and nawk.
5570
55711995-03-21 Paul Eggert <eggert@twinsun.com>
5572
5573 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5574 -u "login<tab>fullname<tab>mailaddr".
5575
55761995-03-21 Paul Eggert <eggert@twinsun.com>
5577
5578 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5579 replaces the (now obsolescent) -n login fullname mailaddr option.
5580 Add -R option for recursive rlog.
07655e62 5581 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5582 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5583 Quote authors and fullnames correctly.
5584 Don't omit path from repository root when logging CVS files.
5585
55861995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5587
5588 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5589 even if HAVE_SYSVIPC.
5590 * emacsclient.c (main): Use getcwd if not BSD.
5591
880820fe 55921995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5593
2f2c687b 5594 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5595 (readline_internal): Do not access the char before start of line.
5596
880820fe 55971995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5598
e1dbe924
PE
5599 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
5600 savetok.valid. Mark token as valid when it is initialized.
362bc2da
DL
5601 (make_tag): Make token only if token is valid and reset validity.
5602 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5603 (TOKEN): Add a new member: valid.
362bc2da 5604
880820fe 56051995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5606
5607 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5608 (main): Do not read twice the last filename in the stdin file list.
5609
880820fe 56101995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5611
e1dbe924 5612 * etags.c (C_entries): Initialize the new members of TOKEN.
362bc2da
DL
5613 (C_entries): Do not allocate a new space for each token found by
5614 consider_token. Let make_tag do that instead.
5615 (make_tag): Since now TOKEN has memory of where it is taken from,
5616 this new macro substitutes both make_tag_from_new_lb and
5617 make_tag_from_oth_lb. All callers changed.
5618 (TOKEN): Add linepos and buffer members.
e1dbe924
PE
5619 (main): Initialize token_str.
5620 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
362bc2da
DL
5621 (token_str): New global variable used by C_entries.
5622
56231995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5624
b166dcd8 5625 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5626
880820fe 56271995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5628
e1dbe924 5629 * etags.c (pfnote): Initialize been_warned in the node.
b166dcd8 5630 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5631
880820fe 56321995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5633
5634 * etags.c (longopts, print_help, main): Use -I as abbreviation
5635 for the --ignore-indentation option.
5636 (main): Do not print an error message for unknown options.
5637
880820fe 56381995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5639
5640 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5641 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5642 (constantypedefs, update, vgrind_style, no_warnings)
5643 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5644 (permit_duplicates): Was a var, now a #define.
5645 (filename_lb): Was global, now local to main.
5646 (main): Open the tag file when in cxref mode.
5647 Use a BUFSIZ size buffer for making the shell commands.
5648 Look at the return value from the system routine.
5649 Exit when cannot open the tag file.
5650 (process_file): Open the file and pass the FILE* to find_entries.
5651 (find_entries): Now void, because does not open the file itself.
5652 (pfnote): Recovering from lack of memory does not work. Removed.
5653 Use savenstr and simplify the code.
5654 (free_tree): Only free the name space if node is named.
5655 (structtag): Now a pointer, not a fixed length array of chars.
5656 (consider_token): Don't take a token as argument. Use savenstr
5657 when saving a tag in structtag. Callers changed.
5658 (TOKEN): Structure changed. Now used only in C_entries.
5659 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5660 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5661 (pfcnt): Deleted. Users updated.
194d44e7
JB
5662 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5663 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5664 the tag instead of a fixed size buffer.
5665
56661995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5667
5668 * movemail.c (main): Skip past the colon in inname.
5669
880820fe 56701995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5671
5672 * etags.c (pfatal): New function.
5673 (main, etags_getcwd): Use pfatal.
5674 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5675
880820fe 56761995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5677
5678 * etags.c (Lang_function): Use void instead to declare the
5679 language functions, because many compilers are buggy.
5680 (etags_getcwd): Fix the previous fix on the #else branch.
5681 (readline_internal): Discard possible \r before \n here.
5682 (C_entries): Do not deal with \r here: undo previous fix.
5683
880820fe 56841995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5685
5686 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5687 functions and a macro that allow the program to work on input
5688 lines of whatever length. Copied from etags.c.
5689 (fatal): Print a fatal error message and exit.
5690 (main): Use the new functions. Fixed a bug that made a \037 char
5691 appear at the end of the output.
5692
56931995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5694
5695 * etags.c (C_entries): Ignore carriage return at end of line.
5696
56971994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5698
5699 * fakemail.c (xmalloc, xrealloc): Add casts.
5700 (add_field): Handle <...> and "..." syntax.
5701 (setup_files, get_keyword): Clean up parens and line breaks.
5702 (args_size): Likewise.
5703
57041994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5705
5706 * yow.c: Include program name in error messages.
5707
57081994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5709
5710 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5711 (xmalloc, fatal, error): New functions.
5712 (progname): New variable.
5713 (main): Set progname.
5714
57151994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5716
5717 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5718 (main): If socket/mqueue name is in home dir, add in the host name.
5719 Rename .emacs_server to .emacs-server....
5720
57211994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5722
5723 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5724
880820fe 57251994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5726
2f2c687b
JB
5727 * etags.c (print_help): Print --regex usage for ctags also.
5728 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5729
880820fe 57301994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5731
5732 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5733 is compiled if this is defined. The new functions and variables
5734 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5735 [VMS]: All VMS specific code previously contained in
5736 etags-vmslib.c is now included here, modified for dealing with
5737 language and regex options intermixed with filenames.
5738 (header_file): Global variable deleted.
5739 (Lang_Function): New typedef. All language parser functions
5740 changed to this new type.
5741 (string_numeric_p, substr, prestr): Functions deleted.
5742 (readline_internal): Does the job that readline did previously.
5743 (longopts): --language and --regex options added.
5744 (lang_names, lang_extensions, lang_func, print_language_names):
5745 New structures, variables and functions for choosing languages.
5746 (print_help): Help strings updated. Calls print_language_names.
5747 (argument_type, ARGUMENT): Typedefs for dealing with language and
5748 regex options intermixed with filenames.
b166dcd8 5749 (main): Change the way of dealing with arguments on the command
362bc2da
DL
5750 line to deal with language and regex options intermixed with
5751 filenames.
5752 (get_language, default_C_entries, Cplusplus_entries,
5753 Cstar_entries, Yacc_entries, just_read_file): New functions.
5754 (find_entries): Use the new method for choosing the language.
5755 (Pascal_functions): Allow intermixing of comment styles.
5756 (prolog_getit, skip_comment): Rewritten for speed.
5757 (readline): Rewritten to deal with regexps.
5758
880820fe 57591994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5760
5761 * etags.c (<errno.h>): #include added.
5762 (etags_getcwd): Check return value from getcwd.
5763
57641994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5765
5766 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5767 (get_time): Use EMACS_SUB_TIME.
5768
d57727c9 57691994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5770
5771 * ntlib.c: New file.
5772 * makefile.nt: New file.
5773
5774 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5775 [WINDOWSNT]: Include the NT headers.
5776 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5777
5778 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5779 [WINDOWSNT]: Include some NT headers.
5780
57811994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5782
5783 * pop.c (getline): When a search of already-read input for CRLF
5784 fails, store the fact that we've searched it and don't search it
5785 again after reading more data.
5786
5787 * pop.c (getline): When determining whether or not it's necessary
5788 to grow the input buffer, take into account the null that's stored
5789 at the end of already-read input in the buffer.
5790
880820fe 57911994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5792
2f2c687b 5793 * etags.c (prestr, substr): Return a logical type.
362bc2da 5794 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5795 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5796 (C_entries): Now we can use Tom Hageman patch for extern "C".
5797
57981994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5799
5800 * movemail.c: PopServer renamed to popserver throughout.
5801
58021994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5803
5804 * etags.c: Don't declare malloc, since we include config.h.
5805 * fakemail.c: Likewise.
5806
58071994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5808
5809 * movemail.c: Don't declare malloc.
5810
58111994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5812
5813 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5814 avoid syntax error.
362bc2da
DL
5815
58161994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5817
5818 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5819 defined, and if HAVE_CONFIG_H isn't defined, define
5820 MAIL_USE_POP always (so that this file can be included in
5821 other programs besides emacs).
5822
5823 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5824 HAVE_CONFIG_H isn't defined.
5825
5826 * pop.c (find_crlf, getline): Instead of using strstr, use a
5827 custom function for finding CRLF.
5828 (my_strstr): Function deleted.
5829
58301994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5831
5832 * pop.c (getline): Fix a segfault because of passing a
5833 non-null-terminated string into strstr(). Fix from
5834 djm@va.pubnix.com (David J. MacKenzie).
5835
5836 * pop.c: Don't include <string.h> and <strings.h>.
5837
b166dcd8
KC
5838 * pop.c: Include <des.h> before <krb.h>, rather than after.
5839 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
5840 both orders in various files in the Kerberos 4 library sources,
5841 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5842 requires that <des.h> be included first, and I don't see any harm
5843 in changing the order.
5844
5845 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5846 STDC_HEADERS, if they're defined. Undef open, read, write and
5847 close after including it.
5848
58491994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5850
5851 * pop.c: Fix mismatch in conditionals.
5852
5853 * make-docfile.c (main): Don't process one input file twice.
5854 Never use exit code > 1.
5855
5856 * pop.c (open, close, read, write): Add #undefs.
5857
5858 * pop.c: Don't declare malloc, realloc, free.
5859 Include ../src/config.h.
5860 Don't include string.h or strings.h.
5861 Include des.h before krb.h.
5862 Do declare my_strstr.
5863 (getline): Really use my_strstr.
5864 Leave one empty place in server->buffer,
5865 and put a null at the end of the data in it.
5866
58671994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5868
b166dcd8
KC
5869 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5870 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
5871
58721994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5873
5874 * Makefile.in.in (regex.o): Use full path to find regex.c.
5875
880820fe 58761994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5877
2f2c687b
JB
5878 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5879 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5880
58811994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5882
5883 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5884 (${archlibdir}): Use mkinstalldirs instead.
5885
5886 * movemail.c: Make functions that return nothing void, not
5887 implicitly int.
5888 (main): Improve usage message.
5889 (error): Write to stderr, not stdout.
5890
e43b1141
GM
5891 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
5892 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
5893 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
5894 warnings from unused variables and implicitly declared functions.
362bc2da
DL
5895
58961994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5897
5898 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5899 (distclean): Not here.
5900
b166dcd8 5901 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 5902
880820fe 59031994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5904
5905 * etags.c (C_entries): Name the #define's that are macros.
5906
59071994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5908
5909 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5910 fd_set arg is a pointer, descriptor arg comes first.
5911
880820fe 59121994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5913
e1dbe924
PE
5914 * etags.c (C_entries): Recognize typedef of ANSI style functions.
5915 (C_entries): Recognize #define inside a struct.
362bc2da
DL
5916 (C_entries): ANSI tells that preprocessor commands do not have to
5917 start on the first column.
5918 (print_help): Documentation corrected for -d and -D.
5919 (white, endtk): ANSI tells the vertical tab is a separator.
5920
59211994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5922
5923 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5924 (pop.o, movemail.o): New targets.
5925 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5926
5927 * pop.c, pop.h: New files.
5928
5929 * movemail.c: Improve POP code, move most of it into a separate file.
5930 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5931 (mbx_write): Check for errors and for From line.
5932 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5933 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5934 (pop_init): Functions deleted.
5935
59361994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5937
5938 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5939 Rename path to dirname.
5940
59411994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5942
5943 * Makefile.in.in (UTILITIES):
5944 Remove test-distrib, make-docfile, make-path.
5945 (DONT_INSTALL): New variable--list those files here.
5946 (clean): Delete the files in DONT_INSTALL.
5947
59481994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5949
5950 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5951 (main): Use fgets, not gets.
5952
59531994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5954
5955 * timer.c: Don't declare malloc.
5956
59571994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5958
5959 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5960 defined, use simple 32-bit versions of these macros.
5961 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5962
c60ee5e7 59631994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5964
5965 * etags.c (etags_getcwd): Use getcwd if available.
5966
59671994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5968
5969 * Version 19.27 released.
5970
59711994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5972
5973 * Version 19.26 released.
5974
59751994-08-15 Paul Eggert <eggert@twinsun.com>
5976
5977 * rcs2log: Add support for CVS.
5978 Work with `rlog's that output ISO 8601 dates.
5979
59801994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5981
5982 * rcs2log: Use <> to delimit email address.
5983
59841994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5985
5986 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5987 so we can listen for multiple requests.
5988
59891994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5990
5991 * movemail.c: Include config.h first thing.
5992
59931994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5994
5995 * emacsserver.c (main): Add casts to avoid warnings.
5996
59971994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5998
5999 * Makefile.in.in (${archlibdir}): Compare the proper dir
6000 before installing the scripts.
6001
60021994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6003
6004 * emacsclient.c (main): New local var progname saves argv[0].
6005
60061994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6007
6008 * emacsclient.c (main): Don't actually modify argv[0].
6009 Modify a copy instead.
6010
60111994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6012
6013 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6014 (tzp): Var deleted.
6015
6016 * Makefile.in.in: Add #undef alloca.
6017
60181994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6019
6020 * timer.c (xmalloc): New function.
6021
60221994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6023
6024 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6025 (alloca.o): New target.
6026
60271994-07-08 Dave Love (d.love@dl.ac.uk)
6028
e1dbe924 6029 * etags.c (takeprec): Recognize `character*(*) function'.
362bc2da 6030
880820fe 60311994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6032
ecc54057
JB
6033 * etags.c (main): Don't barf on obsolete -t and -T switches.
6034 (main): Print an explicative message when a switch is not known.
362bc2da
DL
6035
60361994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6037
6038 * hexl.c: Don't declare exit or perror.
6039
6040 * emacsserver.c (main): Don't declare geteuid.
6041 Don't declare getenv if convex.
6042
60431994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6044
6045 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6046
880820fe 60471994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6048
6049 * etags.c (absolute_filename): Remove infinite loop bug when
6050 accessing files in directories whose name begins with a dot.
6051
880820fe 60521994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6053
6054 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6055
60561994-06-01 Morten Welinder (terra@diku.dk)
6057
6058 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6059 location of data directory.
6060
60611994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6062
6063 * Version 19.25 released.
6064
60651994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6066
6067 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6068
60691994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6070
6071 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6072
60731994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6074
6075 * Version 19.24 released.
6076
60771994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6078
6079 * make-docfile.c (write_c_args): Put `default' in upper case.
6080
60811994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6082
6083 * etags.c (etags_getcwd): Cast result of popen.
6084 (popen): Declaration deleted.
6085
60861994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6087
6088 * etags.c [!MSDOS]: Declare popen.
6089
60901994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6091
6092 * b2m.c (main): Avoid crash if argc is 1.
6093
60941994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6095
6096 * Version 19.23 released.
6097
6098 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6099
61001994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6101
6102 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6103
61041994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6105
6106 * Makefile.in.in: Fix out of date comment.
6107
61081994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6109
6110 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6111 Move all autoconf substitutions above that point.
6112 Above that point, use Make-style comments.
6113 This goes with changes in ../configure.in.
6114
61151994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6116
6117 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6118 warning message.
6119 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6120
61211994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6122
6123 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6124
61251994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6126
6127 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6128 print advice to run it, if it has anything significant to do.
6129 And only if MOVEMAIL_NEEDS_BLESSING.
6130 (blessmail): Use emacs, not temacs.
b166dcd8 6131 (configuration): Rename from configname.
362bc2da
DL
6132
61331994-04-30 Morten Welinder (terra@diku.dk)
6134
6135 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6136
61371994-04-30 Morten Welinder (terra@diku.dk)
6138
6139 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6140 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6141 a shell.
6142
61431994-04-29 Morten Welinder (terra@diku.dk)
6144
6145 * hexl.c [MSDOS]: Don't define proto type for exit.
6146
61471994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6148
6149 * b2m.c: Don't include string.h or strings.h.
6150
61511994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6152
6153 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6154 symbols, not make variables.
6155
61561994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6157
6158 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6159 * etags.c (print_version): Print VERSION as a string.
6160
61611994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6162
6163 * fakemail.c (readline): Fix updating of p when buffer grows.
6164
61651994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6166
6167 * Makefile.in.in (blessmail): New target.
6168 ${archlibdir}: Use blessmail when installing movemail.
6169
61701994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6171
6172 * fakemail.c (readline): When extending the buffer,
6173 calculate end afresh using the new size.
6174
880820fe 61751994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6176
2f2c687b 6177 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 6178
880820fe 61791994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6180
2f2c687b 6181 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
6182
61831994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6184
6185 * Makefile.in.in: Renamed from Makefile.in.
6186 Makefile.in is now generated from it, and then preprocessed.
6187 Change comments to C syntax.
6188 Include config.h.
6189 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6190 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6191
61921994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6193
6194 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6195
880820fe 61961994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6197
6198 * etags.c (etags_getcwd): Initialize bufsize.
6199
62001994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6201
6202 * profile.c (gettimeofday): If system doesn't have this, define it
6203 to give a fatal error.
6204
62051994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6206
6207 * movemail.c (main): Use setuid, not seteuid.
6208
62091994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6210
6211 * etags.c: #undef static.
6212
880820fe 62131994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6214
b166dcd8 6215 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 6216 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 6217 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
6218 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6219 TeX_functions, Prolog_functions.
2f2c687b
JB
6220 (inf): No more a global variable.
6221 (C_entries): Take 2nd parameter `inf' instead of using the global one.
e1dbe924 6222 (find_entries): Add the cp1 var for optimization.
b166dcd8 6223 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
6224 (Asm_funcs): Now finds labels even without an ending colon.
6225
880820fe 62261994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6227
2f2c687b
JB
6228 * etags.c (main): Use etags_getcwd for compatibility.
6229 (etags_getcwd): New function.
362bc2da
DL
6230
62311994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6232
6233 * Makefile.in (etags, ctags): Pass -D for VERSION.
6234
880820fe 62351994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6236
2f2c687b
JB
6237 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
6238 (main): Don't allow the use of -t and -T in etags mode.
6239 (print_help): Don't show options enabled by default.
6240 (print_version): Show the emacs version number if VERSION is #defined.
6241 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 6242
880820fe 62431994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6244
2f2c687b 6245 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
6246 (relative_filename, absolute_filename, absolute_dirname):
6247 functions added to compute filenames in tags files.
2f2c687b 6248 (process_file): Filenames in tags file are relative to the
362bc2da 6249 directory where the tags file is (useful with the -o option).
e1dbe924 6250 (main): Initialize the outfiledir var.
b166dcd8 6251 (TYPEDST): Add the `tignore' value.
2f2c687b 6252 (C_entries): Corrected various small bugs.
362bc2da
DL
6253
62541994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6255
6256 * Makefile.in (UTILITIES): `env' deleted.
6257 (env): Target deleted.
6258 * env.c: File deleted.
1c478461 6259
362bc2da
DL
62601994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6261
6262 * Makefile.in (install, ${archlibdir}): Switch back to ..
6263 before running INSTALL_PROGRAM.
6264
880820fe 62651994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6266
b166dcd8 6267 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 6268 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
6269 `extern "C" {' construction (patch by Tom R.Hageman).
6270
62711994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6272
6273 * b2m.c: Use <...> to include config.h.
6274 Don't include stdlib.h.
6275
177c0ea7 62761994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
6277
6278 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6279 Allow for text following "BABYL OPTIONS:".
6280 Add --help option. Use argv[0] in error messages.
6281
62821994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6283
6284 * emacsclient.c (main) [HAVE_SYSVIPC]:
6285 Make msgp->mtext longer if necessary.
6286 On HPUX, error if it's more than 512 chars.
6287
62881994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6289
6290 * etags-vmslib.c: Use GPL.
6291 * emacstool.c: Use GPL.
6292 * fakemail.c: Update GPL.
6293
6294 * make-path.c (main): Return 1 on error, not -1.
6295 Update GPL.
6296
6297 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6298 (xmalloc, xrealloc): Return char *, not int.
6299 (error): Write to stderr, not stdout.
6300 Update GPL.
6301
63021994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6303
6304 * profile.c (main, get_time): Don't crash on invalid input.
6305
63061994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6307
6308 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 6309 (main): Exit on EOF.
362bc2da 6310
880820fe 63111994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6312
a64387ee 6313 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
6314
63151994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6316
6317 * fakemail.c (put_line): Don't break the line if it all fits.
6318
880820fe 63191994-02-14 Francesco Potortì (pot@fly)
362bc2da 6320
b166dcd8 6321 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 6322 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 6323 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 6324 (print_help): Alphabetically order the options.
2f2c687b 6325 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
6326
63271994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6328
6329 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6330 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6331
63321994-02-07 Christian Lynbech (lynbech@avignon)
6333
6334 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6335
63361994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6337
6338 * Makefile.in (UTILITIES): Mention profile.
6339 (profile): New target.
6340
6341 * profile.c: New file.
6342
63431994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6344
88c71720 6345 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6346 Lisp docstrings do.
88c71720 6347 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6348 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6349 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6350
880820fe 63511994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6352
6353 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6354 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6355 Use gperf generated hash table instead of linked list.
2f2c687b 6356 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6357 Mostly code generated by gperf.
b166dcd8 6358 (consider_token): Remove unused parameter `lp'.
2f2c687b 6359 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6360 to span multiple lines.
2f2c687b
JB
6361 (C_entries): Check for newline if inchar to avoid bus errors.
6362 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6363 and not regular file.
6364
63651994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6366
6367 * timer.c: Include errno.h; don't include fasync.h.
6368 (schedule): Don't return a value.
6369 (sigcatch): Reestablish the handler first.
6370 (getevent): Always call notify at the end.
6371 (notify): Defer alarms around the whole body of function.
6372
63731994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6374
6375 * timer.c (main): Don't request SIGIO, and don't handle it.
6376 Loop calling getevent.
6377 (sigcatch): Delete code to handle SIGIO.
6378 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6379 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6380 Set defer_alarms around realloc and schedule.
6381 If alarm_deferred gets set, call notify.
6382 Likewise if this event is the only pending event.
6383 Make buf and buf_size global variables.
6384 Don't malloc buf if it is already non-zero.
6385 (schedule): Just exit if run out of memory.
6386 Return the number of events.
6387 (signal) [_CX_UX]: Add #undef.
6388
63891994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6390
6391 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6392 (main) [USG]: Do ioctl to enable SIGPOLL.
6393
63941994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6395
6396 * timer.c: Don't declare sys_errlist; declare strerror instead.
6397 (schedule, main): Call strerror instead of using sys_errlist.
6398 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6399 Call strerror instead of using sys_errlist.
6400 * env.c (main): Call strerror instead of using sys_errlist.
6401 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6402 (main): Call strerror instead of using sys_errlist.
6403 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6404 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6405 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6406 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6407
64081994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6409
6410 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6411
6412 * movemail.c (malloc): Don't declare it.
6413 (xmalloc): Cast result of malloc.
6414 (strcpy): Don't declare it.
6415
64161993-11-14 Morten Welinder (terra@diku.dk)
6417
6418 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6419 (main): Use fclose to close file opened by fopen.
6420
6421 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6422
6423 * movemail.c [MSDOS]: #undef `access'.
6424
6425 * b2m.c (main) [MSDOS]: Open all files as binary.
6426 * etags.c (main) [MSDOS]: Open all files as binary.
6427
6428 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6429 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6430 with.
6431
64321994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6433
6434 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6435 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6436 (LINK_CFLAGS): New variable.
6437 (timer): Use LINK_CFLAGS.
6438
64391993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6440
6441 * movemail.c: Include syswait.h.
6442 Fork a subprocess and use it to copy the mail file.
6443
64441993-12-07 Richard Stallman (rms@srarc2)
6445
6446 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6447
64481993-12-04 Richard Stallman (rms@srarc2)
6449
6450 * movemail.c (main): When making tempname, cast result of xmalloc.
6451 Include room for EXXXXXX in the size.
6452 Don't use result of strcpy.
6453
64541993-12-03 Paul Eggert (eggert@twinsun.com)
6455
6456 * vcdiff: Add --brief option.
6457
64581993-12-02 Richard Stallman (rms@srarc2)
6459
6460 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6461 for all executables and scripts.
6462
64631993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6464
6465 * Version 19.22 released.
6466
64671993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6468
6469 * Makefile.in (mostlyclean): Make it distinct from clean.
6470
64711993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6472
6473 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6474
64751993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6476
6477 * Version 19.21 released.
6478
6479 * Makefile.in (install): Don't change mode or group when installing.
6480
6481 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6482
64831993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6484
6485 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6486
6487 * movemail.c (main): Fix error message text.
6488
64891993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6490
6491 * Version 19.20 released.
6492
177c0ea7 64931993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6494
ecc54057 6495 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6496 functions returning a pointer to a function, a la `signal', can be
6497 parsed. This also required new state `fstartlist' to `FUNCST'.
6498 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6499 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6500 from the other state engines.
2f2c687b 6501 (begtk): Add '~', for C++ class destructors.
362bc2da 6502
880820fe 65031993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6504
b166dcd8 6505 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6506 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6507
65081993-10-19 Paul Eggert (eggert@twinsun.com)
6509
6510 * rcs2log (printlogline): Don't generate lines containing only
6511 white space.
6512
65131993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6514
6515 * Makefile.in (${archlibdir}):
6516 Install ${SCRIPTS} from ${srcdir}, not cwd.
6517
65181993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6519
6520 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6521 the comment character.
6522
880820fe 65231993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6524
2f2c687b 6525 * etags.c (process_file): Dead code removed.
362bc2da 6526 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6527 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6528
f0131492 65291993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6530
6531 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6532 from current directory. Only chmod and chgrp files that we
6533 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6534 ${bindir}.
b166dcd8 6535 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6536 now.
6537
f0131492 65381993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6539
b166dcd8
KC
6540 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6541 Let configure figure out the correct values for these variables.
362bc2da 6542
f0131492 65431993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6544
10d1d0af 6545 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6546 used by emacs; don't install bindir binaries here.
6547
65481993-09-24 Paul Eggert (eggert@twinsun.com)
6549
6550 * rcs2log: Add -h, -n, -r options.
6551 By default, look for *,v files as well as RCS/*,v files.
6552 Use $TMPDIR (default /tmp) instead of /tmp.
6553
880820fe 65541993-09-20 Francesco Potortì (pot@fly)
362bc2da 6555
e1dbe924 6556 * etags.c (C_entries): is_func is initialized here instead of in
362bc2da
DL
6557 consider_token for the sake of the yacc rules section.
6558 (C_entries): Now class, struct, enum, union and typedef produce
6559 named tags.
6560
65611993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6562
6563 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6564
65651993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6566
88c71720
KS
6567 * Makefile.in: Support configuring in a different directory when
6568 ${srcdir} has already been configured.
6569 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6570 -I${srcdir}/../src.
362bc2da
DL
6571 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6572 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6573 is already in CPP_FLAGS.
6574 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6575 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6576
65771993-08-25 Paul Eggert (eggert@twinsun.com)
6578
6579 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
6580 otherwise, HP awk complains.
6581
6582 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6583 are common hangouts for SCCS commands.
6584
65851993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6586
6587 * Version 19.19 released.
6588
65891993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6590
6591 * Makefile.in (make-path): Dep on config.h.
6592
65931993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6594
6595 * b2m.c (TRUE, FALSE): Don't define if already defined.
6596
65971993-08-09 Paul Eggert (eggert@twinsun.com)
6598
6599 * rcs2log (awkscript):
6600 Some sites put comma-separated junk after the fullname.
6601 Remove it, but leave "Bill Gates, Jr" alone.
6602 Remove the junk from fullnames like "0000-Admin(0000)".
6603
66041993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6605
6606 * Version 19.18 released.
6607
880820fe 66081993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6609
e1dbe924 6610 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
2f2c687b
JB
6611 (L_funcs): The (foo::defmumble stuff now should work.
6612 (consider_token): Function returned random value--corrected.
6613 (C_entries): Corrected == versus = typo.
362bc2da
DL
6614
66151993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6616
6617 * etags.c (put_entries): For NODE->rewritten, put pattern before
6618 \177 and name after, not vice versa.
6619
66201993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6621
6622 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6623
880820fe 66241993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6625
b166dcd8 6626 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6627 after the parameter list and before the open curly brace.
6628 Allows correct parsing of C++ constructors.
2f2c687b
JB
6629 (C_entries, consider_token): Make use of fignore.
6630 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6631 ctags mode makes DEFVAR and others work better.
e1dbe924 6632 (L_isquote): Function that recognizes the "(quote" string.
2f2c687b 6633 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6634
66351993-07-29 Paul Eggert (eggert@twinsun.com)
6636
6637 * rcs-checkin: Don't check whether a file is readable until we have
6638 decided not to ignore it.
6639
66401993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6641
6642 * Makefile.in (etags): Depend on ../src/config.h.
6643
6644 * emacsserver.c: Include types.h before file.h.
6645
66461993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6647
6648 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6649
66501993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6651
ecc54057 6652 * Version 19.17 released.
362bc2da
DL
6653
66541993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6655
6656 * etags.c (print_help): Break up the very long strings containing
6657 the help message into shorter strings, to placate chintzy C
6658 compilers which can't handle strings that long.
6659
6660 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6661 correct combination of <time.h> and <sys/time.h>.
6662
880820fe 66631993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6664
b166dcd8 6665 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6666 (main): Now calls xnew instead of alloca for portability.
6667 (../src/config.h): Included only if HAVE_CONFIG_H.
6668 (const): Void definition removed--config.h takes care of it.
362bc2da 6669
880820fe 66701993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6671
2f2c687b 6672 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6673 (consider_token): DEFUNs now treated like funcs in ctags mode.
6674
2f2c687b
JB
6675 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6676 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6677 (C_entries): Remove a piece of useless code.
2f2c687b 6678 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6679 is met. This handles "typedef int X, Y, Z;" correctly.
6680
66811993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6682
6683 * Version 19.16 released.
6684
6685 * b2m.c: #include <sys/types.h>.
6686 (ltoday): Declare this to be time_t.
6687
66881993-06-30 Paul Eggert (eggert@twinsun.com)
6689
6690 * vcdiff: Add -q option.
6691
66921993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6693
6694 * etags.c: #include "config.h" and the alloca CPP tangle before
6695 #including the system headers and getopt.h. AIX requires the
6696 #pragma to come before any actual C code.
6697
66981993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6699
6700 * Makefile.in (ctags): Depend on etags, so that parallel makes
6701 don't write etags.o files on top of each other.
6702
67031993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6704
6705 * version 19.15 released.
6706
67071993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6708
6709 * etags.c (add_node): Move var last_node to file scope.
6710
67111993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6712
6713 * Version 19.14 released.
6714
67151993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6716
ecc54057 6717 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6718 * Makefile.in (distclean): Call clean to do most of the work.
6719 Delete aixcc.c and TAGS.
6720 (realclean): Just call distclean.
1c478461 6721
362bc2da
DL
6722 * Makefile.in: Remember, spaces are not tabs.
6723
67241993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6725
6726 * Makefile.in (CPP_CFLAGS): New variable.
6727 Use it instead of ALL_CFLAGS when compiling a .c file.
6728 (getopt.o, getopt1.o): Add explicit compilation commands.
6729
67301993-06-10 Mark D. Baushke (mdb@cisco.com)
6731
6732 * etags.c: Reinstate old -f option as an alias for -o for
6733 installed base uses.
6734
67351993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6736
6737 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6738 to bind or accept, cast the pointer, to avoid warnings on systems
6739 which declare prototypes for this.
6740 * emacsclient.c (main): Same.
6741
6742 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6743
67441993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6745
6746 * Version 19.13 released.
6747
6748 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6749 comes from, not sys/time.h.
6750
67511993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6752
6753 * wakeup.c: Include sys/time.h.
6754
6755 * etags.c: #undef static.
6756
6757 * Version 19.12 released.
6758
6759 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6760
67611993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6762
6763 * Version 19.11 released.
6764
6765 * timer.c [LINUX]: #undef signal.
6766 * emacsserver.c: #undef signal.
6767
67681993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6769
6770 * wakeup.c (main): Make when a time_t.
6771
67721993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6773
ecc54057 6774 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6775 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6776 might fail, and have pwd print out the current directory.
6777
6778 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6779 string-handling functions.
6780
67811993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6782
6783 * Version 19.10 released.
6784
67851993-05-29 Paul Eggert (eggert@twinsun.com)
6786
6787 * rcs2log: When given no file arguments, inspect RCS/.* as well
6788 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6789
67901993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6791
6792 * Makefile.in (timer): Link with $(LOADLIBES).
6793
67941993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6795
6796 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6797
67981993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6799
6800 * etags.c: Replace the CPP tangle for alloca with the one from the
6801 autoconf documentation, since that's working elsewhere.
6802
68031993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6804
6805 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6806 description files can find their ancestors.
6807
68081993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6809
6810 * Makefile.in (install): Get the scripts from ${srcdir},
6811 unlike the executables.
6088b51f 6812 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6813
68141993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6815
6816 * Version 19.9 released.
6817
68181993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6819
6820 * Makefile.in (install): Do install the programs listed in
6821 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6822 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6823
6824 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6825 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6826
68271993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6828
6829 * etags.c: Include ../src/config.h.
6830
6831 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6832 in first loop. Delete files from bindir before installing new ones.
6833 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6834
68351993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6836
6837 * Version 19.8 released.
6838
6839 * make-docfile.c: Doc fix.
6840
68411993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6842
6843 * tcp.c: Fix comment syntax at top of file.
6844 (main): Don't call htons with the port number.
6845
68461993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6847
6848 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6849 appropriate.
362bc2da
DL
6850
6851 * Makefile.in (install): Refer to the variables INSTALLABLES and
6852 INSTALLABLE_SCRIPTS, instead of writing them out.
6853
68541993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6855
6856 * make-path.c (main): Return 0.
6857
68581993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6859
ecc54057 6860 * Version 19.7 released.
362bc2da
DL
6861
68621993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6863
6864 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6865
68661993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6867
6868 * tcp.c: New file.
6869
68701993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6871
6872 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6873
68741993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6875
6876 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6877 only. We should really fix this later, but let's just make it
6878 compile for now.
6879
6880 Install patches from David J. Mackenzie to make the srcdir option
6881 work.
6882 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6883 Makefile.
6884 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6885 INSTALLABLE_SCRIPTS.
6886 (INSTALLABLE_SCRIPTS): New list.
6887 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6888 (${archlibdir}): The scripts to be installed live in the source
6889 tree, not in the object tree.
6890 (test-distrib): Note that the data file lives in the source tree,
6891 not the object tree.
6892 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6893 (all other targets): Change references to source files to use
6894 ${srcdir}, except for config.h, which lives in the object dir.
6895 (timer.o): Note that this depends on ../src/config.h.
6896 * make-docfile.c (main): Add a -d option, to tell it where to find
6897 the source files.
6898 * test-distrib.c (main): Take the name of the distribution file to
6899 test from the command line.
6900
10d1d0af 6901 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6902
69031993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6904
6905 * etags.c (main):
6906 Don't require that there be input files if -i switches were given.
6907
69081993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6909
6910 The GNU coding standards specify that CFLAGS should be left for
6911 users to set.
6912 * Makefile.in (CFLAGS): Put this in the "things configure might
6913 edit" section, and have it default to -g.
6914 (ALL_CFLAGS): New variable, set to all the flags which should be
6915 passed to compilations. Replace all other uses of CFLAGS with
6916 ALL_CFLAGS.
6917 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6918
6919 * Makefile.in (DEFS): Remove this; it's always just going to be
6920 "-DHAVE_CONFIG_H -Demacs".
6921
69221993-05-03 Paul Eggert (eggert@twinsun.com)
6923
6924 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6925 /[/]/, so change it to /[\/]/. This should work on all
6926 Posix-compliant awks. It's slightly wrong with traditional awk,
6927 since it matches \ too, but that's a minor problem compared to awk
6928 syntax errors.
6929
69301993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6931
6932 * Makefile.in (ALLOCA): New variable, whose value we should
6933 inherit from the top-level makefile.
6934 (etags, ctags): Include ALLOCA in the list of object files that
6935 these executables depend on and link.
6936
69371993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6938
b166dcd8 6939 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
6940
69411993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6942
6943 * make-docfile.c (write_c_args): Print an argument named "defalt"
6944 as "default".
6945
69461993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6947
6948 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6949 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6950 compiler.
6951
880820fe 69521993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6953
2f2c687b
JB
6954 * etags.c (YACC): Flag added to c_ext.
6955 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6956 (find_entries): Consistently use streq when reasonable.
6957 (find_entries): A .y file is a yacc file.
362bc2da 6958 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6959 (C_entries): Logical cplpl means c_ext&C_PLPL.
6960 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 6961 (C_entries): Add logic for yacc files.
362bc2da 6962
880820fe 69631993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6964
6965 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6966 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6967 (consider_token): structtag set to null string for enum.
6968
880820fe 69691993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6970
2f2c687b
JB
6971 * etags.c (GET_COOKIE): And related macros removed.
6972 (logical): Is now int, no more a char.
6973 (reg): Define deleted.
6974 (isgood, _gd, notgd): Deleted.
6975 (gotone): Deleted.
6976 (TOKEN): Member linestart removed.
6977 (linepos, prev_linepos, lb1): Deleted.
6978 (main): Call initbuffer on lbs array instead of lb1.
e1dbe924 6979 (init): Remove the initialization of the logical _gd array.
2f2c687b 6980 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6981 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6982 All C state machines rewritten.
2f2c687b
JB
6983 (C_entries): Complete rewrite.
6984 (condider_token): Complete rewrite.
6985 (getline): Deleted.
362bc2da 6986
880820fe 69871993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 6988
b166dcd8 6989 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
6990 Used for parsing of #define's spanning multiple lines.
6991
880820fe 69921993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6993
6994 * etags.c (C_entries): Save the definedef status even when a
6995 newline is met inside a string.
6996
69971993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6998
b166dcd8 6999 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
7000
7001 * Makefile.in (unlock, relock): New productions.
7002
70031993-03-16 Paul Eggert (eggert@twinsun.com)
7004
7005 * rcs2log: Some awks don't understand "\r". Code around this.
7006 Unfortunately this requires putting a carriage return in the
7007 source code. Don't assume that rlog will tolerate times like
7008 `10:10:60'; RCS 5.7 won't allow this.
7009
70101993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7011
7012 * timer.c (main): Set the ownership of the stdin file descriptor
7013 to the current process. Print error messages if either of the
7014 fcntl's fails.
7015
7016 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7017 ../src/config.h), not void.
7018
70191993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7020
7021 * b2m.c (main): Don't exit upon reading a blank line.
7022
880820fe 70231993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7024
7025 * etags.c (C_entries): New local variable quotednl. Used for
7026 parsing of #define's spanning multiple lines.
7027
7028 * etags.c (C_entries): Save the definedef status
7029 even when a newline is met inside a string.
7030
70311993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7032
7033 * timer.c (notify): Initialize waitfor properly.
7034
880820fe 70351993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
7036
7037 * etags.c (C_entries): Don't reset definedef when a newline inside a
7038 comment is met.
7039
70401993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7041
7042 * etags.c (find_entries): If filename ends in .f or .for,
7043 don't try anything but Fortran.
7044
70451993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7046
7047 * timer.c (notify): Flush stdout after writing message to avoid lossage
7048 on terminals.
7049
7050 (notify): Also, write a newline after the token.
7051
70521992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7053
7054 * Makefile.in (exec_prefix): New variable.
7055 (bindir, libdir): Use it instead of `prefix'.
7056
7057 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7058
7059 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 7060 (archlibdir): Adjust to match.
362bc2da
DL
7061
7062 * Makefile.in (distclean): Don't delete backup or autosave files.
7063 (extraclean): Like realclean, but does delete backup and autosave
7064 files.
7065
7066 * Makefile.in (realclean): Ignore errors from rm.
7067
7068 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7069 that doesn't exist anymore.
7070
70711992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7072
7073 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7074 described in the top-level Makefile.
7075 (UTILITIES): Add make-path to the list of utility programs.
7076 (../arch-lib): Replaced by the ${archlibdir} target, which places
7077 the executables in their permanent home.
7078 (install, install.sysv, install.xenix): Consolidated into one
7079 target which should work under all circumstances, modulo a few
7080 ignored error messages.
7081
7082 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7083 a different number of arguments than other DEFVARs, recognize it
7084 specially, and expect the right number of commas.
7085
70861992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7087
7088 * make-path.c: New program, to help with the installation process.
7089 * Makefile.in (make-path): New target.
7090
7091 * make-path.c (touchy_mkdir): Remove debugging output.
7092
70931992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7094
b166dcd8 7095 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
7096 can indicate that it depends on ../src/config.h.
7097
70981992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7099
7100 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7101 instead of CFLAGS.
7102 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7103
71041992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7105
7106 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7107 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7108 that system.
7109
7110 * Makefile.in (arch-lib): Give rm the `-f' option.
7111
71121992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7113
7114 * make-docfile.c (write_c_args): Rewritten to correctly print
7115 &optionals before the first identifier, but after the first paren.
7116 This code used to just wait for commas or spaces; now it notices
7117 identifier boundaries.
7118
71191992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7120
7121 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7122
71231992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7124
7125 * make-docfile.c (write_c_args): Print the argument lists properly
7126 when the first argument is optional.
7127
71281992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7129
7130 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7131 Redefine @item. Set catcode of +.
7132
71331992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7134
7135 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7136
71371992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7138
7139 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7140 (TEX_decode_env): Make `tab' one element longer.
7141
71421992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7143
7144 * etags.c (PF_funcs): Recognize the "entry" keyword.
7145
71461992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7147
7148 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7149
71501992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7151
7152 * timer.c (events): Rather than having slots marked as in use or
7153 out of use by the `token' field, keep all pending events at the
7154 beginning of the array. When we delete an event in the middle of
7155 the array, we move the last event into its place.
7156 (num_events): New variable.
7157 (schedule): It is now cheaper to find a free event slot;
7158 events[num_events] is the first free slot.
7159 (notify): Scan events[0 .. num_events-1], instead of the whole
7160 array. When an event fires, move the last event in the array into
7161 its spot. Use num_events to determine whether or not there are
7162 any pending events, not wait_for.
b166dcd8 7163 (getevent): Delete unused variable `ep'.
362bc2da
DL
7164 (sigcatch): It's now easier to find all the active events.
7165 (main): Initialize num_events.
7166
7167 * etags.c: Rather than fret about which systems have index and
7168 which systems have strchr, and how to tell the difference between
7169 them, we just write out our own versions. Big deal.
7170 (index, rindex): Extern declarations removed.
7171 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7172 (etags_index, etags_rindex): New declarations.
7173 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7174 TEX_getit, substr): Use the etags_*index functions, rather than
7175 the native *index functions.
b166dcd8 7176 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
7177 made them unconditionally defined, rather than having them depend
7178 on NEED_*INDEX.
7179
7180 * etags.c (savenstr): Add declaration for this at top of file.
7181 (TEX_decode_env): Don't declare it local to this function.
7182
7183 * b2m.c: #include "../src/config.h", so we can test for the USG
7184 macro, and decide whether to include <string.h> or <strings.h>.
7185 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7186
71871992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7188
7189 * timer.c: Reformatted according to the GNU coding standards.
7190 Removed arbitrary limits on the number of events queued and the
7191 length of the tokens used to identify them.
7192 Removed casts to (void).
7193 Removed debugging printfs; they clutter the code, and the need
7194 can be better filled using a real debugger.
7195
71961992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7197
7198 * timer.c: Installed new version from Eric Raymond; this is more
7199 portable, since it doesn't try to use SIGIO.
7200
72011992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7202
7203 * emacsclient.c (main): If we can't find the socket in this
7204 person's home directory, print a message which asks if they've
7205 started the server, instead of just printing the message from
7206 sys_errmsg; Cygnus finds that people are much less confused by
7207 this.
7208
72091992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7210
7211 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7212 so that index and rindex get defined, why don't we actually
7213 control index and rindex using symbols called "NEED_INDEX" and
7214 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7215 little more readable than defining something whose name implies
7216 that it's not?
7217
72181992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7219
7220 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7221 distribution:
7222 Miscellaneous doc fixes.
1c478461 7223 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
7224 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7225 read_lisp_symbol and then see what we got. Call skip_white
7226 instead of writing out a loop to do its job. Correctly extract
7227 docstrings from "defmacro" declarations.
7228
72291992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7230
7231 * movemail.c (strcpy): Declare this to return char *.
7232
72331992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7234
7235 * etags.c (C_entries): When we find a C++ comment, do actually
7236 skip to the end of the line; do a 'break' instead of a 'continue'.
7237
72381992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7239
7240 * etags.c (getit): Add missing parenthesis to expression which
7241 decides if this token is an identifier.
7242
72431992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7244
7245 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7246
72471992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7248
7249 * etags.c (put_entries): Always put space between name and line num.
7250
72511992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7252
7253 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7254 warning.
7255 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7256
72571992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7258
7259 * make-docfile.c (write_c_args): Pass both arguments to putc.
7260
72611992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7262
b166dcd8 7263 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
7264 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7265 the C library source.
7266
7267 * etags.c (C_entries): When we see a backslash inside a quoted
7268 string, skip to the next character. This allows us to correctly
7269 deal with strings containing quotes.
7270
72711992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7272
7273 * make-docfile.c (write_c_args): Print the C argument names as
7274 they would be written in Elisp; print '_' as '-'.
7275
72761992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7277
7278 * movemail.c [POP]: Get user name via getpwuid.
7279
72801992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7281
2f2c687b 7282 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
7283
72841992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7285
10d1d0af 7286 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
7287 strings - end the lines with `\n\'.
7288
72891992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7290
b166dcd8 7291 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
7292 different systems have different return types, and we're not even
7293 using the return type anyway, it wasn't doing us any good.
7294
72951992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7296
7297 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7298 type of this function.
7299
73001992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7301
7302 * ChangeLog: Since the old etc contents have been split into etc
7303 and lib-src, the old etc's ChangeLog has been duplicated in the
7304 new etc and lib-src. That means that each contains complete and
7305 coherent information, although each contains extraneous
1c478461 7306 information.
362bc2da
DL
7307
73081992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7309
290afd83 7310 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
7311 to be consistent with other GNU programs, like makeinfo.
7312
290afd83 7313 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
7314 will edit this to produce Makefile.
7315
73161992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7317
7318 * etags.c (print_help, print_version): New functions.
7319 (main): Options added to support them.
7320
7321 * etags.c (longopts): New array of long names for the options.
7322 (main): Recognize them.
7323
73241992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7325
b166dcd8 7326 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
7327 isn't recognized as magic, because it is correctly handled.
7328
7329 * getopt.c, getopt.h: New files, from GNU C library.
7330 * etags.c: Rewritten to use getopt.
7331 #include "getopt.h".
7332 (file_num): Variable deleted; its role is now played by getopt's
7333 optind.
7334 (main): Argument processing loop rewritten to call getopt to get
7335 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7336 to get parameter from optarg instead of argv[1].
7337 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7338 * Makefile (etags, ctags): Depend on and link with getopt.h,
7339 getopt.o, and getopt1.o.
7340 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7341
7342 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7343 is non-zero.
7344
7345 (main): In the argument processing loop, the 'goto next_arg'
7346 statements are breaking out of the switch statement in exactly the
7347 same way that a simple 'break' statement would; replace the gotos
7348 with breaks, and remove the label.
7349
73501992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7351
7352 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7353 (consider_token): Move next_token_is_func to global.
7354
73551992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7356
7357 * Makefile: Conform with GNU coding standards:
7358 (mostlyclean): New target, synonymous with clean.
7359 (TAGS, check): New targets.
7360 (INSTALL, INSTALLFLAGS): New variables.
7361
73621992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7363
ecc54057 7364 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7365 `config.emacs' to `configure'.
7366
7367 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7368 * etc/MACHINES: Same.
7369
73701992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7371
7372 * movemail.c (main): Allow tempname to be as long as necessary,
7373 instead of limiting it to 39 characters.
7374
7375 * movemail.c (main): Move declaration of buf from top of function
7376 to local block surrounding the copy loop. This makes it less
7377 likely to be confused with the buf used by the code which checks the
7378 permissions on outname's directory.
7379
73801992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7381
7382 * SERVICE: Remove my entry.
7383
73841992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7385
7386 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7387 hardcoded -g.
7388
7389 * movemail.c (xmalloc): Return char *, not int.
7390 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7391 that is off by default -- normally don't unlink the mail spool
7392 file, just empty it. Pass creat mode 0600, not 0666.
7393
dff28924 73941992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7395
7396 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7397 (all): Instead of here.
7398 (install): Don't use the -s option, since people need symbols to
7399 debug code.
7400
dff28924 74011992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7402
7403 * etags-vmslib.c (fn_exp): Add type cast.
7404
74051992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7406
7407 * movemail.c: Changes in comments.
7408
dff28924 74091992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7410
7411 * Makefile: Make the distclean target erase the DOC files from
7412 ../share-lib and the executables from ../arch-lib.
7413
dff28924 74141992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7415
7416 * emacsclient.c: #include <sys/stat.h>
7417 (main): Do declare statbfr.
7418
dff28924 74191991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7420
7421 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7422 for the socket, depending on SERVER_HOME_DIR.
7423 If using /tmp, put host name in the socket name.
7424
7425 * movemail.c (pfatal_and_delete): New function.
7426 (main, popmail): Use it.
7427 (popmail): Close output before deleting messages.
7428 Check for error on close and on fsync.
7429 Use `fatal' where appropriate.
7430 (main): Remove (void).
7431
7432 * aixcc.lex: New file. Not officially part of Emacs.
7433 * Makefile: Rules for that.
7434
dff28924 74351991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7436
7437 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7438
7439 * etags.c (main): Properly cast call to alloca that initializes
7440 included_files.
7441
74421991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7443
7444 * etags.c (files_are_tag_tables): Remove global var.
7445 (process_file): Don't test it. Also remove hack checking for a
7446 file named "TAGS".
7447 (main): -i now takes an arg which is the name of a file to include.
7448 Collect these names and emit include tags for them after processing
7449 all the argument files.
7450
dff28924 74511991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7452
7453 * wakeup.c: Terminate if parent goes away.
7454
dff28924 74551991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7456
7457 * etags.c (C_entries): Process token before handling end of line.
7458 When inner loops reach end of line, just back up.
7459 Let the real end of line processing happen in just one place.
a64387ee 7460 (consider_token): Likewise.
362bc2da 7461
dff28924 74621991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7463
7464 * etags.c (TEX_mode): Skip comments while scanning the text to see
7465 which escape character this file uses.
7466
dff28924 74671991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7468
7469 * emacsserver.c [USG]: Terminate if msgrcv fails.
7470
dff28924 74711991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7472
7473 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7474
dff28924 74751991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7476
7477 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7478 by not ignoring the character that read_c_string returns.
7479 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7480 or UNEVALLED arguments, since they're a figment of the docstring's
7481 imagination.
7482
dff28924 74831991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7484
7485 * make-docfile: Read the .elc files generated by the new byte
7486 compiler.
7487
dff28924 74881990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7489
7490 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7491
dff28924 74921990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7493
7494 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7495
dff28924 74961990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7497
7498 * Makefile (install*): No need to install wakeup.
7499
dff28924 75001990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7501
7502 * Makefile (install*): Install emacsclient like etags.
7503
dff28924 75041990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7505
7506 * movemail.c (error): Handle 3 args.
7507 (main): Don't check input access if using pop.
7508
dff28924 75091990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7510
7511 * etags.c (find_entries): Check for numbers after Scheme suffix.
7512
dff28924 75131990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7514
7515 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7516
dff28924 75171990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7518
7519 * Makefile (nemacstool, xvetool): New targets.
7520
dff28924 75211990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7522
7523 * emacsclient.c: Include errno.h and define related variables.
7524
dff28924 75251990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7526
7527 * emacsclient.c: Change usage message.
7528
dff28924 75291990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7530
ecc54057 7531 * emacs.1: Add break before -nw option.
362bc2da 7532
dff28924 75331990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7534
7535 * qsort.c: Replace with GNU version.
7536
dff28924 75371990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7538
7539 * wakeup.c: New program replacing loadst.c.
7540
dff28924 75411990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7542
7543 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7544
dff28924 75451990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7546
7547 * etags.c: Rename `flag' variables for what they do instead of
7548 which option character sets them.
7549
dff28924 75501990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7551
7552 * loadst.c (main): Conditional to get load average on Apollo.
7553
dff28924 75541990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7555
7556 * emacsserver.c: Set the permission on the socket to 0600.
7557
dff28924 75581990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7559
7560 * emacsclient.c [BSD]: Print clean message for failing getwd.
7561
dff28924 75621990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7563
7564 * getdate.y: Use the getdate.y from GNU tar for timer.
7565
dff28924 75661990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7567
7568 * emacsclient.c (main): Don't put brackets around "filename" in
7569 usage message. It isn't optional.
7570
dff28924 75711990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7572
a64387ee 7573 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7574
dff28924 75751990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7576
7577 * emacsserver.c: Renamed from server.c.
7578 * Makefile: Reference emacsserver rather than server.
7579 * MACHINES: Doc fix for new emacsserver name.
7580
dff28924 75811990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7582
7583 * emacsclient.c: Print program name in error messages.
7584
dff28924 75851990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7586
7587 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7588 Sub-process support for run-at-time in timer.el.
7589 Doesn't yet work correctly for USG.
362bc2da 7590
dff28924 75911990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7592
7593 * MACHINES: Add HP 300 running BSD.
7594
dff28924 75951990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7596
7597 * yow.c: Dynamically allocate buffer; skip header before random
7598 choice to avoid bias toward first item.
7599
dff28924 76001989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7601
7602 * etags.c (readline): Separate out init of `pend'.
7603
dff28924 76041989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7605
7606 * etags.c: Undo changes relating to isgoodhdr.
7607
dff28924 76081989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7609
7610 * etags.c (isgoodhdr): New macro.
7611 (_gdh, notgdh): New variable used by that.
7612 (init): Initialize _gdh.
7613 (find_entries): Set header_file.
7614 (consider_token): Use isgoodhdr if in header file.
7615
7616 * etags.c (total_size_of_entries):
7617 Was miscalculating by 1 in rewritten case.
7618
7619 * etags.c (PAS_funcs): One arg to pfnote was missing.
7620
dff28924 76211989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7622
7623 * MACHINES: Change for the ULTRIX entry.
7624
dff28924 76251989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7626
7627 * etags.c (process_file): If file is not regular, return.
7628
dff28924 76291989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7630
7631 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7632
dff28924 76331989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7634
7635 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7636 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7637
dff28924 76381989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7639
7640 * etags.c (consider_token): Allow any number of typespec keywords
7641 after `typedef', before new type name.
7642 (enum sym_type): Add st_C_typespec.
7643 (C_create_stab): Put typespec kwds in table.
7644
dff28924 76451989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7646
7647 * etags.c (main): Don't depend on name invoked by.
7648 If CTAGS is not defined, assume it is ETAGS.
7649
dff28924 76501989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7651
7652 * etags.c (L_funcs): Allow package name in define construct,
7653 as in (foo::defmumble name-defined ...).
7654
dff28924 76551989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7656
7657 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7658
7659 * Makefile (yow): Depends on ../src/paths.h.
7660
dff28924 76611989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7662
7663 * etags.c: Fix compilation by moving Pascal after Fortran.
7664
dff28924 76651989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7666
7667 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7668
dff28924 76691989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7670
7671 * hexl.c: New file, supports hexl-mode.
7672
dff28924 76731989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7674
7675 * movemail.c: New compilation flag MAIL_USE_MMDF.
7676
dff28924 76771989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7678
7679 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7680 * server.c: Likewise.
7681
7682 * make-docfile.c (scan_c_file): Output argument names at end of string.
7683 (write_c_args): New subroutine.
7684
dff28924 76851989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7686
7687 * movemail.c: Report failure of flock.
7688
dff28924 76891989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7690
7691 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7692
dff28924 76931989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7694
2f2c687b 7695 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7696
dff28924 76971989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7698
7699 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7700
30a7ee9f 7701 * emacstool.1: Update to document environment variables.
362bc2da 7702
dff28924 77031989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7704
7705 * etags.c (PAS_funcs): New function by Mosur Mohan.
7706
7707 * movemail.c: On sysv, include unistd.h.
7708
dff28924 77091989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7710
7711 * b2m.c: New file.
7712
dff28924 77131989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7714
6088b51f 7715 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7716
dff28924 77171989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7718
7719 * Makefile (clean): New target.
7720
dff28924 77211989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7722
7723 * fakemail.c (put_line): Break header lines at 79 cols.
7724
dff28924 77251989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7726
7727 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7728 multiple tags per line.
7729
dff28924 77301989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7731
7732 * movemail.c: Check access before doing real work.
7733 Check that outfile is in a writable directory.
7734 On fatal error, delete the lock file.
7735
dff28924 77361988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7737
ecc54057 7738 * env.c: Add decl for my-index
6088b51f 7739 * etags.c (file-entries): .oak => scheme.
362bc2da 7740
dff28924 77411988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7742
7743 * movemail.c: Use `access' to check input and output files.
7744
dff28924 77451988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7746
7747 * emacsclient.c (main): Ignore all of CWD before first slash.
7748
dff28924 77491988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7750
7751 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7752
dff28924 77531988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7754
7755 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7756 * server.c: chmod the socket to 0700.
7757
dff28924 77581988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7759
7760 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7761 (add_field): Delete comments and turn `<', `>' to spaces
7762 in header lines.
7763 (USE_FAKEMAIL): New customization macro says to make fakemail
7764 not be a no-op even on a BSD system.
7765
dff28924 77661988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7767
7768 * etags.c (consider_token): Skip comments just like whitespace.
7769 Notice `struct', etc. and set strtag for those tokens.
7770 Return 1 for the token following `struct' if an open-brace follows it.
7771 (C_entries): Special handling of token following `struct'
7772 needed because we have probably advanced to the following line
7773 to find the `{'.
7774 (main): New option `T' sets tflag and strflag.
7775 Set both of them by default if eflags.
7776
dff28924 77771988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7778
7779 * movemail.c: Do fsync before closing output.
7780
dff28924 77811988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7782
ecc54057
JB
7783 * movemail.c: Better error message when can't create tempname.
7784 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7785
dff28924 77861988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7787
7788 * etags.c: Support assembler code for .s and .a files.
7789 (getit): Allow underscore in a tag.
7790
dff28924 77911988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7792
7793 * movemail.c: Close output and check errors before deleting input.
7794
dff28924 77951988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7796
7797 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7798 whether to prefix it. Handle line number args.
7799
dff28924 78001988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7801
2f2c687b 7802 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7803
dff28924 78041988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7805
7806 * etags.c: New option -i. -f renamed -o.
7807 `-' as input file means read input file names from stdin.
7808 -i spec'd or input file named TAGS means the input file is another
7809 tag table; output an "include" line for it.
7810
dff28924 78111988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7812
7813 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7814 New targets install, install.sysv, install.xenix.
7815 This makefile is now responsible for installing executables
7816 and documentation from this directory into system directories.
7817
dff28924 78181988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7819
7820 * server.c, emacsclient.c (main): Compute socket name from euid.
7821
dff28924 78221988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7823
7824 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7825
dff28924 78261988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7827
7828 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7829 * emacsclient.c: Likewise.
7830 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7831
dff28924 78321988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7833
7834 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7835 (istoken): New string-comparison macro.
362bc2da
DL
7836 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7837
dff28924 78381988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7839
7840 * etags.c: Changes for VMS.
7841 Always define ETAGS on VMS.
7842 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 7843 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
7844 (main): Don't support -B, -F or -u on VMS.
7845 Alternate loop for scanning filename arguments.
7846 (system): Delete definition of this function.
7847
7848 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7849
dff28924 78501988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7851
7852 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7853 around include of param.h. (Like fns.c.)
7854
dff28924 78551988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7856
7857 * loadst.c (load_average): Move load-average code to this new fn.
7858 Add conditionals to compute load ave on UMAX.
7859
dff28924 78601988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7861
7862 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7863 with opposite sense.
7864
dff28924 78651988-05-13 Chris Hanson (cph@kleph)
362bc2da 7866
b166dcd8
KC
7867 * emacsclient.c: Delete references to unused variable `out'.
7868 This caused a bus error when used under hp-ux.
362bc2da 7869
dff28924 78701988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7871
7872 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7873
dff28924 78741988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7875
7876 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7877
dff28924 78781988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7879
7880 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7881
dff28924 78821988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7883
7884 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7885 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7886
dff28924 78871988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7888
7889 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7890 invalid escape sequences such as `\{'.
7891
7892 * loadst.c: Add `sequent' conditional for file dk.h.
7893
dff28924 78941988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7895
2f2c687b 7896 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7897
2f2c687b 7898 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7899
7900;; Local Variables:
880820fe 7901;; coding: utf-8
6922b018 7902;; End:
2a34a036 7903
73b0cd50 7904 Copyright (C) 1988-1999, 2001-2011 Free Software Foundation, Inc.
5b87ad55
GM
7905
7906 This file is part of GNU Emacs.
7907
294981c7 7908 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7909 it under the terms of the GNU General Public License as published by
294981c7
GM
7910 the Free Software Foundation, either version 3 of the License, or
7911 (at your option) any later version.
5b87ad55
GM
7912
7913 GNU Emacs is distributed in the hope that it will be useful,
7914 but WITHOUT ANY WARRANTY; without even the implied warranty of
7915 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7916 GNU General Public License for more details.
7917
7918 You should have received a copy of the GNU General Public License
294981c7 7919 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.