* emacsclient.c (main): Handle multiple messages in a single
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
6b0c8984
AS
12012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2
2b84f674
AS
3 * emacsclient.c (main): Handle multiple messages in a single
4 datagram.
5
6b0c8984
AS
6 * emacsclient.c (socket_name): Add const.
7 (get_server_config): Add parameter config_file, use it instead of
8 global server_file.
9 (set_tcp_socket): Add parameter local_server_file, pass it down to
10 get_server_config.
11 (set_local_socket): Add parameter local_socket_name, use it
12 instead of global socket_name.
13 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
14 Don't clobber global server_file or socket_name.
15 (main): No longer reset server_file or socket_name.
16
1c6e5a32
GM
172012-01-05 Glenn Morris <rgm@gnu.org>
18
19 * ebrowse.c (version) <emacs_copyright>:
20 * etags.c (print_version) <emacs_copyright>:
21 * rcs2log (Copyright): Update short copyright year to 2012.
22
28796b3a
AS
232011-12-25 Andreas Schwab <schwab@linux-m68k.org>
24
25 * etags.c (C_entries): Properly skip over string and character
26 constants and comments inside brackets. (Bug#10357)
27
520fca41
JB
282011-12-04 Juanma Barranquero <lekktu@gmail.com>
29
30 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
31 instead, treat both -c and -t as always requesting a new "tty" frame,
32 and let server.el decide which kind is actually required.
33 Reported by Uwe Siart <usenet@siart.de> in this thread:
34 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
35
e7308292
CY
362011-11-30 Chong Yidong <cyd@gnu.org>
37
38 * emacsclient.c (main): Condition last change on WINDOWSNT
39 (Bug#10155).
40
8c9afb46
EZ
412011-11-27 Eli Zaretskii <eliz@gnu.org>
42
43 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
44
45 * emacsclient.c (main) <environ>: Remove declaration, already
46 pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
47
420b63ad
GM
482011-11-24 Glenn Morris <rgm@gnu.org>
49
50 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
51
5ef215d8
DN
522011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
53
54 * Makefile.in (all): Make sure "all" is the first target.
55
657d08d3
JB
562011-10-27 Juanma Barranquero <lekktu@gmail.com>
57
58 * emacsclient.c (w32_getenv): Silence compiler warnings.
59
0f054abc
GM
602011-09-07 Glenn Morris <rgm@gnu.org>
61
62 * etags.c (Fortran_functions): Handle "elemental" functions.
63
d0417b4c
DS
642011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
65
66 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
67
e39b275c 682011-09-06 Paul Eggert <eggert@cs.ucla.edu>
24e0f6b1
PE
69
70 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
abec06ff 71 to build-aux (Bug#9169).
24e0f6b1 72
86633eab 732011-09-04 Paul Eggert <eggert@cs.ucla.edu>
17107bb6 74
005d87bd 75 Integer and memory overflow issues (Bug#9397).
17107bb6
PE
76
77 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
78 avoid potential buffer overflow issues on typical 64-bit hosts.
79 Return void *, not long *.
80 (get_current_dir_name): Report a failure, instead of looping
81 forever, if buffer size calculation overflows. Treat malloc
82 failures like realloc failures, as that has better behavior and is
83 more consistent. Do not check whether xmalloc returns NULL, as
84 that's not possible.
85 (message): Do not arbitrarily truncate message to 2048 bytes when
86 sending it to stderr; use vfprintf instead.
87 (get_server_config, set_local_socket)
88 (start_daemon_and_retry_set_socket): Do not alloca
89 arbitrarily-large buffers; that's not safe.
90 (get_server_config, set_local_socket): Do not use sprintf when its
91 result might not fit in 'int'.
92 (set_local_socket): Do not assume uid fits in 'int'.
93
9250f758
PE
94 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
95 to avoid potential buffer overflow issues on typical 64-bit hosts.
96 (whatlen_max): New static var.
97 (main): Avoid buffer overflow if subsidiary command length is
98 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
99 result might not fit in 'int'.
100
644a0faa
PE
101 * movemail.c (main): Do not use sprintf when its result might not fit
102 in 'int'. Instead, put the possibly-long file name into the
103 output of pfatal_with_name.
104
0c6d656d
PE
105 * update-game-score.c: Include <limits.h>
106 (get_user_id): Do not assume uid fits in 'int'. Simplify.
107
044c22e5 1082011-07-28 Paul Eggert <eggert@cs.ucla.edu>
9cfdb3ec 109
0e926e56
PE
110 Assume freestanding C89 headers, string.h, stdlib.h.
111 * ebrowse.c: Include stdlib.h unconditionally.
112 * etags.c, update-game-score.c:
113 Include string.h and stdlib.h unconditionally.
114 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
115 * movemail.c, pop.c: Include string.h unconditionally.
116 * update-game-score.c: No need to include stdarg.h; not used.
117
9cfdb3ec
PE
118 Assume support for memcmp, memcpy, memmove, memset.
119 * etags.c (absolute_filename): Assume memmove exists.
120
ec3b5374
AS
1212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
122
123 * update-game-score.c (usage): Update usage line.
124
bc92abd2
JR
1252011-07-02 Jason Rumney <jasonr@gnu.org>
126
127 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
128 Windows (Bug#5486).
129
3794a2d3
GM
1302011-06-25 Glenn Morris <rgm@gnu.org>
131
132 * emacsclient.c (decode_options) <opt>: Add `F:'.
133 (print_help_and_exit): Mention --frame-parameters.
134
18a4ce5e
AR
1352011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
136
137 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
138
529a133c
PE
1392011-06-10 Paul Eggert <eggert@cs.ucla.edu>
140
141 * movemail.c: Fix race condition and related bugs (Bug#8836).
142 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
143 fixes some race conditions. Report mkstemp/mktemp errno rather
144 than a possibly-garbage errno. Reinitialize the template each
145 time through the loop, as earlier mkstemp/mktemp calls could have
146 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
147 with mkstemp; the permissions don't matter anyway.
148
fe91f5a0
DN
1492011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
150
151 * emacsclient.c (socket_status): Use constant pointer.
152
55d4c1b2
PE
1532011-05-28 Paul Eggert <eggert@cs.ucla.edu>
154
155 Use 'inline', not 'INLINE'.
156 * etags.c (hash): Now inline unconditionally.
157 * make-docfile.c (put_char): inline, not INLINE.
158
7bdede3f
GM
1592011-05-25 Glenn Morris <rgm@gnu.org>
160
e9490743
GM
161 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
162 (insrcdir): New.
163 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
164 Use $insrcdir to suppress unaesthetic ignored errors.
165 (clean): Simplify list of things to delete.
497c74cd 166 (all, clean): Use $EXE_FILES.
e9490743 167
d114d4f3
GM
168 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
169
7bdede3f
GM
170 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
171 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
172
1c728a9d
GM
1732011-05-24 Glenn Morris <rgm@gnu.org>
174
175 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
176
4a720484
GM
1772011-05-19 Glenn Morris <rgm@gnu.org>
178
179 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
180 (clean): No more echolisp.tmp.
181
c136e5cd
GM
1822011-05-18 Glenn Morris <rgm@gnu.org>
183
184 * fakemail.c: Remove file.
185 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
186 ($(BLD)/fakemail.$(O)): Remove.
187 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
188 (fakemail${EXEEXT}): Remove rule.
189
418401a5
TZ
1902011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
191
17519c90 192 * makefile.w32-in (obj): Add gnutls.o.
418401a5 193
c5443aa5
PE
1942011-04-16 Paul Eggert <eggert@cs.ucla.edu>
195
fd35b6f9
PE
196 Static checks with GCC 4.6.0 and non-default toolkits.
197
5a9c1e26
PE
198 * movemail.c (mail_spool_name): Protoize.
199 (main): Remove unused var. Mark var as initialized.
200 Move locals to avoid shadowing, and use time_t for times.
201
cd52b244
PE
202 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
203 with void *. This avoids warnings about pointer casts.
204
c5443aa5
PE
205 * emacsclient.c (main): Don't use uninitialized var.
206 (IS_ANY_SEP): Remove; unused.
207 (get_current_dir_name): Add an extern decl.
208
41cf7d1a 2092011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 210
41cf7d1a 211 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 212
41cf7d1a 213 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
214
215 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
216 (write_c_args): Use it to suppress GCC warning.
217
77861b95 2182011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 219
77861b95 220 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
221 * etags.c (just_read_file): Remove dummy variable and simplify.
222
9af30bdf
GM
2232011-03-27 Glenn Morris <rgm@gnu.org>
224
225 * emacsclient.c: Replace SIGTYPE with void.
226
9c88f339
JB
2272011-03-23 Juanma Barranquero <lekktu@gmail.com>
228
229 * ntlib.c: Include <ctype.h>.
230
8cc1d519
GM
2312011-03-23 Glenn Morris <rgm@gnu.org>
232
233 * Makefile.in ($(DESTDIR)${archlibdir}):
234 Use `install-sh -d' rather than mkinstalldirs.
235
c9c49752 2362011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 237
b1f961e1
PE
238 * ebrowse.c: Use size_t, not int, for sizes.
239 This avoids a warning with gcc -Wstrict-overflow, and works
240 better for very large objects.
241 (inbuffer_size): Now size_t. All uses changed.
242 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
243 sizes. Don't bother testing whether a size_t value can be negative.
244
58cb46fb
PE
245 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
246
3ef271f2
PE
247 etags: In Prolog functions, don't assume int fits in size_t.
248 This avoids a warning with gcc -Wstrict-overflow.
249 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
250 not int, to store sizes.
251 (prolog_atom): Return 0, not -1, on error. All callers changed.
252
f0d80d43
PE
253 update-game-score: fix bug with -r
254 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
255 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
256 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
257 -Wstrict-overflow (GCC 4.5.2, x86-64).
258
d5cad867
PE
259 fakemail: Remove dependency on ignore-value.
260 This undoes some of the recent fakemail-related changes.
261 It is made possible due to recent changes to gnulib's stdio module.
262 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
263 * fakemail.c: Do not include ignore-value.h.
264 (put_line): Do not use ignore_value.
265
33383987
JB
2662011-03-07 Chong Yidong <cyd@stupidchicken.com>
267
268 * Version 23.3 released.
269
0b973fc5
DW
2702011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
271
272 * emacsclient.c (longopts): Add quiet.
273 (decode_options): Handle q/quiet.
274 (print_help_and_exit): Add q/quiet.
275 (main): Suppress some messages if quiet option is used.
276
a54af40e
EZ
2772011-02-26 Eli Zaretskii <eliz@gnu.org>
278
00030ef0
EZ
279 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
280
a54af40e
EZ
281 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
282 (w32_getenv): Use xstrdup to return all values in malloc'ed
283 storage.
284
34e6d782
PE
2852011-02-26 Paul Eggert <eggert@cs.ucla.edu>
286
6c0668d9
PE
287 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
288 to reader (and to the compiler) that the loop always executes at
289 least once. This prevents a warning with recent GCC.
9e1b7fe6 290 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 291
a4fe4e89
PE
292 * fakemail.c: Include <ignore-value.h>.
293 (put_line): Explicitly ignore fwrite return value, for benefit of
294 recent glibc + gcc.
295 (close_the_streams): Diagnose output errors instead of merely
296 exiting with nonzero status.
297 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
298 Formerly, input errors were silently ignored.
299
34e6d782
PE
300 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
301 All callers changed. This is cleaner, and avoids GCC warnings about
302 passing NULL to fputs.
70279bd1 303 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 304
564ff1f2
PE
3052011-02-25 Paul Eggert <eggert@cs.ucla.edu>
306
7e6bb4c9 307 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
308 (xstrdup): Remove; no longer needed.
309 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
310 (set_local_socket, main):
311 Use const char *, not char *, for pointers that are not assigned
312 through.
4be3dfc5
PE
313 (IF_LINT): New macro.
314 (set_local_socket, main): Use it to suppress warnings with
315 GCC -Wuninitialized.
7e6bb4c9 316
b0bbc07d
PE
317 * emacsclient.c: Redo local variables to avoid shadowing problems.
318 (message, socket_status, start_daemon_and_retry_set_socket):
319 Rename locals.
320 (main): Move decl of "i".
321
3f5e6230
PE
322 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
323 This avoids an unused-macro warning with some GCC settings.
324
564ff1f2
PE
325 * make-docfile.c (write_globals): Change char * to char const *
326 to avoid a GCC "assignment discards qualifiers" diagnostic
327 in some configurations.
8dfa32f6
PE
328 (scan_c_file): Refactor local variable decls to make their scope
329 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 330
b97decf2
EZ
3312011-02-22 Eli Zaretskii <eliz@gnu.org>
332
32e793fa
EZ
333 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
334
b97decf2
EZ
335 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
336 on ../lib/min-max.h.
337
f68c809d
PE
3382011-02-22 Paul Eggert <eggert@cs.ucla.edu>
339
e5075711
PE
340 etags: Downcase drive letters, for consistency with Emacs proper.
341 * etags.c (upcase): Remove; no longer used.
342 (canonicalize_filename): Downcase drive letters.
343
f68c809d
PE
344 Assume S_ISLNK etc. work, since gnulib supports this.
345 * etags.c (S_ISREG): Remove.
346
b97decf2
EZ
3472011-02-22 Paul Eggert <eggert@cs.ucla.edu>
348
349 Assume S_ISLNK etc. work, since gnulib supports this.
350 * etags.c (S_ISREG): Remove.
351
602a5739
JB
3522011-02-22 Juanma Barranquero <lekktu@gmail.com>
353
354 * makefile.w32-in (obj): Remove filemode.o.
355
b23b5a5b
PE
3562011-02-21 Paul Eggert <eggert@cs.ucla.edu>
357
ba01e9d7
PE
358 New file "lib/min-max.h".
359 * ebrowse.c (min, max): Define them by including <min-max.h>
360 instead of defining it ourselves.
361 * pop.c (min): Likewise.
d47d6319 362 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 363
f0939c31
PE
364 * movemail.c (popmail): Report fchown failure instead of ignoring it.
365 But if the file already has the right ownership, don't worry about it.
366
4df52042 367 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 368 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 369
27d41fb4 370 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 371 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
372 (DONE): Remove unused macro.
373 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
374 Define these macros only in the contexts that need them.
0d7fdc0e
PE
375 * pop.c (index): Remove unused macro.
376 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 377
b23b5a5b
PE
378 Declare file-scope functions and variables static if not exported.
379 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
380 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
381 * profile.c, test-distrib.c, update-game-score.c:
382 Declare non-'main' functions and variables to be static.
383 * ebrowse.c: Omit redundant function prototypes.
384
25c51af3
EZ
3852011-02-21 Eli Zaretskii <eliz@gnu.org>
386
387 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
388 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
389 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
390
e18c0aa3 3912011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
392
393 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
394 the new BVAR macro.
395
50a4e25a
JB
3962011-02-20 Juanma Barranquero <lekktu@gmail.com>
397
398 * makefile.w32-in (obj): Remove md5.o.
399
b166dcd8
KC
4002011-02-18 Karl Chen <Karl.Chen@quarl.org>
401
402 * emacsclient.c (main): Loop while `recv' return EINTR.
403
64df8c10
PE
4042011-02-09 Paul Eggert <eggert@cs.ucla.edu>
405
406 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
407 This avoids collision with config.h's EMACS_INT on some
408 configurations. All uses changed.
409
00b3c7ac
TT
4102011-02-08 Tom Tromey <tromey@redhat.com>
411
412 * make-docfile.c: Unconditionally include stdlib.h.
413 (generate_globals): New global.
414 (xrealloc): New function.
415 (main): Handle '-g'. Call start_globals, write_globals.
416 (scan_file): Conditionally call put_filename.
417 (start_globals): New function.
418 (struct global): New.
419 (num_globals, globals): New globals.
420 (add_global, compare_globals, write_globals): New functions.
421 (scan_c_file): Update for "-g".
422 (scan_lisp_file): Fail if "-g".
423
03fc768b
PE
4242011-02-05 Paul Eggert <eggert@cs.ucla.edu>
425
602a5739 426 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
427 (file_name_absolute_p): Accept const char *, not const unsigned
428 char *, to satisfy C89 rules.
429
d9f1f55e
EZ
4302011-02-02 Eli Zaretskii <eliz@gnu.org>
431
b166dcd8
KC
432 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
433 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 434 (obj): Remove strftime.o.
d9f1f55e 435
70b0d280
EZ
4362011-01-31 Eli Zaretskii <eliz@gnu.org>
437
438 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
439 (ECLIENT_CFLAGS): Remove -DVERSION.
440 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
441
16fab143
PE
4422011-01-31 Paul Eggert <eggert@cs.ucla.edu>
443
444 src/emacs.c now gets version number from configure.in
445 * ebrowse.c: Adjust comment to say that.
446
8aec9916
JM
4472011-01-30 Jim Meyering <meyering@redhat.com>
448
449 make-docfile: don't corrupt heap for an invalid .elc file
450 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
451 one byte before just-malloc'd saved_string buffer.
452 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
453 doc string length. Also fix an always-false while-loop test.
454
f915f0f7
EZ
4552011-01-29 Eli Zaretskii <eliz@gnu.org>
456
457 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
458 (GETOPTOBJS, GETOPTDEPS): Remove targets.
459 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
460 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
461 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
462 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
463 (clean): Don't remove getopt.h.
464 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
465 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
466 $(EMACS_ROOT)/lib/getopt.h.
467
4682011-01-28 Chong Yidong <cyd@stupidchicken.com>
469
470 * ntlib.c (setregid): New stub, renamed from setegid.
471
472 * ntlib.h: Update prototype.
473
06d8ace5 4742011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
475
476 * movemail.c (main): Use setregid instead of setegid, which is
477 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
478
9055082e
PE
4792011-01-23 Paul Eggert <eggert@cs.ucla.edu>
480
481 Check return values of some library calls.
482 * hexl.c (main): Check fread result.
483 * make-docfile.c (main): Check chdir result.
484 (scan_c_file): Check fscanf result.
485 * movemail.c (main): Check ftruncate result.
486
33fe4243 4872011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 488
4004364e
PE
489 Include <unistd.h> unilaterally.
490 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
491 * pop.c, test-distrib.c, update-game-score.c:
492 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
493 unistd.h is always present now, possibly supplied by gnulib.
494
613f7bda
PE
495 Include <getopt.h> not "getopt.h".
496 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
497 Since getopt.h is no longer in this directory, there's no point
498 using the form with double-quotes.
499
e275c824
PE
500 Remove unused files.
501 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
502 These files are now in ../lib, copied from gnulib.
503
504 Use gnulib's getopt-gnu module.
505 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
506 as these are now done by gnulib.
507 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
508 Remove; now done by gnulib. All uses removed.
509
9a514d4a
PE
510 Automate syncing from gnulib.
511 * Makefile.in (EXE_FILES): New macro.
512 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
513 for gnulib's .h files.
514 (LOADLIBES): Add ../lib/libgnu.a.
515 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
516 (../lib/libgnu.a): New rule.
517
72427c46
PE
5182011-01-08 Paul Eggert <eggert@cs.ucla.edu>
519
520 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
521
4967fa34
GM
5222011-01-08 Glenn Morris <rgm@gnu.org>
523
e7a42417
GM
524 * Makefile.in (EMACSOPT): Add --no-site-lisp.
525
4967fa34
GM
526 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
527
d7bfa7a1
GM
5282011-01-02 Glenn Morris <rgm@gnu.org>
529
530 * ebrowse.c (version) <emacs_copyright>:
531 * etags.c (print_version) <emacs_copyright>:
532 * rcs2log (Copyright): Set short copyright year to 2011.
533
da2b5401
JM
5342010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
535
536 * ebrowse.c (yylex): If end of input buffer encountered while
537 searching for a newline after "//", return YYEOF. (Bug#7446)
538
4a47c275 5392010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
540
541 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
542 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
543
f16cafe3
DN
5442010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
545
546 * test-distrib.c: Remove include guards for config.h and fcntl.h.
547 (O_RDONLY): Do not define.
548 (cool_read): Fix type for variable "sofar".
549
6a5c2175
GM
5502010-10-25 Glenn Morris <rgm@gnu.org>
551
552 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
553
17284e30
GM
5542010-10-23 Glenn Morris <rgm@gnu.org>
555
556 * digest-doc.c, sorted-doc.c: Remove files.
557 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
558 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
559 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
560 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
561 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
562 (install): Don't install digest-doc.exe or sorted-doc.exe.
563
a4daeecf
DN
5642010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
565
566 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
567
3fb78d1f
GM
5682010-10-09 Glenn Morris <rgm@gnu.org>
569
570 * b2m.c, b2m.pl: Remove files.
571 * Makefile.in (INSTALLABLES): Remove b2m.
572 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
573
4628bef1 5742010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
575
576 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
577 DARWIN_USER_TEMP_DIR. (Bug#3992)
578
f99d75f5
DN
5792010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
580
728a982d
DN
581 * test-distrib.c (cool_read):
582 * movemail.c (main, concat):
583 * make-docfile.c (scan_file, write_c_args):
602a5739 584 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
585 (egetenv): Move conditional definition earlier.
586 (progname): Use const.
587 * sorted-doc.c (xstrdup): Use const.
588
f99d75f5
DN
589 * Makefile.in: Remove ^L, old makes choke on it.
590
3ecb8d93
WS
5912010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
592
593 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
594 error string (Bug#6963).
595
54b65f7b
JB
5962010-10-02 Juanma Barranquero <lekktu@gmail.com>
597
598 * makefile.w32-in (tags): Remove target.
599
73077a9a
EZ
6002010-10-01 Eli Zaretskii <eliz@gnu.org>
601
602 * makefile.w32-in (tags, TAGS): New targets.
603
968ef9b4
JB
6042010-09-30 Juanma Barranquero <lekktu@gmail.com>
605
606 * emacsclient.c (get_server_config): Don't read Emacs pid from
607 the authentication file.
608
6ab88e02
JB
6092010-09-29 Juanma Barranquero <lekktu@gmail.com>
610
a69edb8a
JB
611 * makefile.w32-in (../src/config.h): Remove target, it is stale.
612
6ab88e02
JB
613 * emacsclient.c (main): Remove unused variables.
614 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
615
4c964351
UM
6162010-09-25 Ulrich Mueller <ulm@gentoo.org>
617
618 * etags.c (compressors, print_language_names): Support xz compression.
619
988e88ab
J
6202010-08-11 Jan Djärv <jan.h.d@swipnet.se>
621
70e31436 622 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 623 popen, fclose and pclose.
70e31436 624 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
625 (main): Remove extern getenv, mail_program_name is const char*.
626
988e88ab
J
627 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
628
629 * sorted-doc.c (error, fatal, states): Use const char *.
630
631 * pop.h (pop_multi_first): Use const char *.
632 (_ARGS): Remove.
633
70e31436 634 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
635
636 * movemail.c (fatal, error, concat): Use const char *.
637
b166dcd8
KC
638 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
639 Use const char *.
988e88ab
J
640
641 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
642 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
643 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
644 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
645 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
646 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
647 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
648 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
649 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
650 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
651 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
652 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
653 (no_lang_help, print_language_names)
654 (get_language_from_interpreter, get_language_from_filename)
655 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
656 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
657 (concat): Use const char*.
658
659 * emacsclient.c (message, sock_err_message, send_to_emacs)
660 (quote_argument, set_local_socket)
661 (start_daemon_and_retry_set_socket): Use const char*.
662
663 * ebrowse.c (struct member): filename, def_filename is const.
664 (struct sym): filename, sfilename is const.
665 (struct kw): name is const.
666 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
667
668 * b2m.c (concat, fatal): Use const char*.
669 (main): Don't assign labels a string literal.
670
0e9c8657
JB
6712010-08-07 Juanma Barranquero <lekktu@gmail.com>
672
673 * ebrowse.c (usage, version, mark_virtual):
674 Remove duplicate declarations.
675
0613f5d5
DN
6762010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
677
678 * emacsclient.c: Move socket related #includes together with the
70e31436 679 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
680 (HAVE_CONFIG_H): Remove.
681 (NO_RETURN): Remove, defined in config.h.
682 (main): Convert definition to standard C.
683
a94a477d
JB
6842010-07-29 Juanma Barranquero <lekktu@gmail.com>
685
686 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
687
35a7804d
JB
6882010-07-25 Juanma Barranquero <lekktu@gmail.com>
689
690 * emacsclient.c (getcwd): Fix previous change: make getcwd
691 conditional on HAVE_GETCWD and declare with the correct POSIX
692 profile (for some reason MinGW headers define its 2nd arg as int,
693 not size_t; but getcwd is not used on Windows nonetheless).
694
361358ea
JB
6952010-07-25 Juanma Barranquero <lekktu@gmail.com>
696
697 * emacsclient.c (getcwd, w32_getenv):
698 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
699
68441b90
DN
7002010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
701
087b38a0 702 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
703 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
704 * make-docfile.c (fatal):
705 * hexl.c (usage):
706 * fakemail.c (fatal):
707 * etags.c (fatal, suggest_asking_for_help, pfatal):
708 * emacsclient.c (fatal):
709 * b2m.c (fatal): Likewise.
710
554d39be
JB
7112010-07-23 Juanma Barranquero <lekktu@gmail.com>
712
713 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
714
7c3320d8
JB
7152010-07-20 Juanma Barranquero <lekktu@gmail.com>
716
717 * emacsclient.c (get_current_dir_name, w32_get_resource)
718 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
719 (close_winsock, initialize_sockets, w32_find_emacs_process)
720 (w32_give_focus):
721 * ntlib.c (getlogin, getuid, getgid, getegid):
722 Convert definitions to standard C.
723
e6cfa7c3
AS
7242010-07-12 Andreas Schwab <schwab@linux-m68k.org>
725
726 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
727 (PROFILING_LDFLAGS): Set from substitution.
728 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
729 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
730 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
731
f09e4c6b
EZ
7322010-07-12 Eli Zaretskii <eliz@gnu.org>
733
734 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
735 2010-07-12T05:25:46Z!handa@etlken).
736
8966b757
AS
7372010-07-11 Andreas Schwab <schwab@linux-m68k.org>
738
739 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
740 index, rindex.
741 * movemail.c (mail_spool_name, popmail): Likewise.
742 * pop.c (pop_list): Likewise.
743
994a7c3b
EZ
7442010-07-11 Eli Zaretskii <eliz@gnu.org>
745
a628ad9d 746 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
747 and unexw32.o. (Bug#6603)
748
c971758d
EZ
7492010-07-10 Eli Zaretskii <eliz@gnu.org>
750
751 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
752
91a7f76d
AS
7532010-07-09 Andreas Schwab <schwab@linux-m68k.org>
754
755 * make-docfile.c (write_c_args): Restructure scanning loop.
756
0508c67f
DN
7572010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
758
759 * make-docfile.c (write_c_args): Deal with type names in DEFUN
760 arguments.
761
0216627e
DN
7622010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
763
764 * update-game-score.c (P_): Remove macro.
765 * ebrowse.c: Remove include guards.
766 (P_): Remove macro.
767
72af86bd
AS
7682010-07-07 Andreas Schwab <schwab@linux-m68k.org>
769
770 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
771 memcpy, memmove, memset.
772 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
773
e2ad23ef
AS
7742010-07-06 Andreas Schwab <schwab@linux-m68k.org>
775
776 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
777 Include <string.h> if HAVE_STRING_H.
778 (strerror): Only declare if !HAVE_STRERROR.
779 (fatal): Make static.
780 (error): Likewise.
781 (pfatal_with_name): Likewise.
70e31436 782 (pfatal_and_delete): Likewise.
1725ae55
AS
783 (concat): Likewise.
784 (xmalloc): Likewise.
785 (popmail): Likewise.
786 (pop_retr): Likewise.
787 (mbx_write): Likewise.
788 (mbx_delimit_begin): Likewise.
789 (mbx_delimit_end): Likewise.
e2ad23ef 790
b8463cbf
DN
7912010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
792
793 * fakemail.c (action): Convert function definitions to standard C.
794 (add_a_stream):
795 * test-distrib.c (cool_read):
796 (main): Likewise.
797
a52a00a3
AS
7982010-07-03 Andreas Schwab <schwab@linux-m68k.org>
799
800 * sorted-doc.c (cmpdoc): Fix signature.
801 (qsort_compare): Delete.
802 (main): Remove cast.
803
35d99b72
JB
8042010-07-03 Juanma Barranquero <lekktu@gmail.com>
805
806 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
807
3a35a84c
JB
8082010-07-03 Juanma Barranquero <lekktu@gmail.com>
809
810 Fix prototype warnings.
811
812 * ebrowse.c (match_qualified_namespace_alias):
813 Pass sym* to find_namespace, not link*.
814
815 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
816
817 * sorted-doc.c (qsort_compare): New typedef.
818 (main): Use it to cast cmpdoc.
819
873fbd0b
DN
8202010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
821
822 * update-game-score.c: Convert function definitions to standard C.
823 * sorted-doc.c:
824 * profile.c:
825 * pop.c:
826 * movemail.c:
827 * make-docfile.c:
828 * hexl.c:
829 * fakemail.c:
830 * etags.c:
831 * ebrowse.c:
832 * digest-doc.c:
833 * b2m.c: Likewise.
834
c532d349
DN
8352010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
836
837 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
838 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
839 standard C prototypes.
840
f57e2426
J
8412010-07-02 Jan Djärv <jan.h.d@swipnet.se>
842
843 * ebrowse.c: Remove P_ and __P.
844 * etags.c:
845 * movemail.c:
846 * pop.c:
847 * update-game-score.c: Likewise.
848
3b3807f8
JB
8492010-06-24 Juanma Barranquero <lekktu@gmail.com>
850
851 * movemail.c (error): Avoid warning when there are no args.
852
5fee75d4
JB
8532010-06-11 Juanma Barranquero <lekktu@gmail.com>
854
855 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
856 and vc/ediff-hook.elc.
857
3085237c
DN
8582010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
859
860 * ntlib.h: Remove code dealing with BSTRING.
861
0191e222
CY
8622010-05-29 Chong Yidong <cyd@stupidchicken.com>
863
864 * emacsclient.c (longopts, decode_options, print_help_and_exit):
865 New arg `-parent-id'.
866 (main): Send parent-id to Emacs.
867
81ac4f35
GM
8682010-05-27 Glenn Morris <rgm@gnu.org>
869
870 * Makefile.in (distclean): No more Makefile.c.
871
4e3028f8
JD
8722010-05-22 Jan Djärv <jan.h.d@swipnet.se>
873
874 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
875 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
876 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
877 New rules (Bug #6246).
878 (clean): Remove stamp-* (Bug #6246).
879
44b031a6
GM
8802010-05-12 Glenn Morris <rgm@gnu.org>
881
882 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
883
acddf8ae
GM
8842010-05-11 Glenn Morris <rgm@gnu.org>
885
c88b05a9
GM
886 * Makefile.in (.m.o): Remove, there are no .m files.
887 (BASE_CFLAGS): New variable.
888 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
889 (check): Update the message.
890 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
891
d3b23034
GM
892 * Makefile.in: Convert comments to makefile format.
893
acddf8ae
GM
894 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
895 (config.h) [MSDOS]: Do not include.
896
7490175b
GM
8972010-05-10 Glenn Morris <rgm@gnu.org>
898
97efb629
GM
899 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
900 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
901 (NOT_C_CODE): Remove, no longer used.
902 (config.h) [!MSDOS]: No longer include.
903 (LOADLIBES): Use LIBS_SYSTEM as a variable.
904
7490175b
GM
905 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
906
7b42b29f
GM
9072010-05-08 Glenn Morris <rgm@gnu.org>
908
909 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
910
61a808e8
CY
9112010-05-07 Chong Yidong <cyd@stupidchicken.com>
912
913 * Version 23.2 released.
914
f6c0ee20
GM
9152010-05-06 Glenn Morris <rgm@gnu.org>
916
917 * Makefile.in: Minimize blessmail-related cpp usage.
918 (BLESSMAIL_TARGET): New variable.
919 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
920 (blessmail): Always define this rule.
921 (need-blessmail): New rule, split out from maybe-blessmail.
922 (maybe-blessmail): Use BLESSMAIL_TARGET.
923
49628785
GM
9242010-05-04 Glenn Morris <rgm@gnu.org>
925
926 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
927 @c_switch_system@, @c_switch_machine@.
928
7e10844c
DN
9292010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
930
931 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
932
4794a582
DN
9332010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
934
935 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
936 non-cpp section.
937
76bd8202
DN
9382010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
939
940 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
941 autoconf, not cpp.
942 (ALL_CFLAGS): Use them as make variables.
943
53cfe624 9442010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
945
946 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
947 for macros for nmake compatibility.
948
b372fceb
JB
9492010-04-03 Juanma Barranquero <lekktu@gmail.com>
950
951 Add stubs for Windows, required after CVE-2010-0825 change.
952 * ntlib.c (getgid, getegid, setegid): New stubs.
953 * ntlib.h (getgid, getegid, setegid): Declare them.
954
51a91f9d
CY
9552010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
956
b166dcd8
KC
957 * movemail.c (main): Check return values of setuid.
958 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
959 (CVE-2010-0825).
960
42a2c622
DN
9612010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
962
963 Remove extern errno declarations.
964 * movemail.c:
965 * etags.c:
966 * emacsclient.c: Remove extern errno declarations.
967
5e58e3a4
GM
9682010-03-20 Glenn Morris <rgm@gnu.org>
969
970 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
971 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
972 defining these as Makefile variables.
973 (LIBS_MOVE): Add LIBS_MAIL into this.
974 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
975
aded53ff
GM
9762010-03-18 Glenn Morris <rgm@gnu.org>
977
978 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
979 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
980 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
981
f8388570
TO
9822010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
983
984 * Makefile.in (uninstall): Handle the case where archlibdir does not
985 exist. (Bug#5720)
986
288f9fc0
CY
9872010-03-10 Chong Yidong <cyd@stupidchicken.com>
988
989 * Branch for 23.2.
990
f9b84f9f
CY
9912010-02-20 Kevin Ryde <user42@zip.com.au>
992
993 * etags.c (Scheme_functions): Don't loop past a null character
994 (Bug#5601).
995
c14902e0 9962010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 997
a628ad9d 998 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 999
6589a2f9
GM
10002010-01-11 Glenn Morris <rgm@gnu.org>
1001
1002 * ebrowse.c (version):
1003 * etags.c (print_version):
1004 * rcs2log (Copyright): Set copyright year to 2010.
1005
03dcfe01
CY
10062009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1007
1008 * makefile.w32-in: Use parenthesis for macros for nmake
1009 compatibility.
1010
5ce6e4f4 10112009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 1012
f7e0618c 1013 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
1014 overlapping copy.
1015
f6195dfb
DN
10162009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1017
1018 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1019
b53f6df2
JB
10202009-10-15 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * .gitignore: Add echolisp.tmp.
1023
9fc3db2b
GM
10242009-10-15 Glenn Morris <rgm@gnu.org>
1025
5f54cae6
GM
1026 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1027
9fc3db2b
GM
1028 * makefile.w32-in (echolisp): New rule.
1029 (clean): Delete echolisp.tmp.
1030
614bd9cf
EZ
10312009-09-27 Eli Zaretskii <eliz@gnu.org>
1032
1033 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1034 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1035 be consistent with src/Makefile.in.
1036
24e9e996
SM
10372009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * update-game-score.c (main): Sort scores before trimming them,
1040 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1041
c5a139ca
GM
10422009-09-09 Glenn Morris <rgm@gnu.org>
1043
1044 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1045 before creating directories and game score files.
1046
a8a8ec61
GM
10472009-08-19 Glenn Morris <rgm@gnu.org>
1048
0916a29e 1049 * cvtmail.c: Remove file.
a8a8ec61
GM
1050 * Makefile.in (UTILITIES): Remove cvtmail.
1051 (cvtmail${EXEEXT}): Remove.
1052
678bc1f5
CY
10532009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1054
1055 * b2m.c (main): Ensure that each message ends in two newlines.
1056
0a3472c7
JR
10572009-07-03 Jason Rumney <jasonr@gnu.org>
1058
1059 * emacsclient.c (w32_set_user_model_id): Use standard types.
1060
f2d6b714
EZ
10612009-07-03 Eli Zaretskii <eliz@gnu.org>
1062
1063 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1064 src/Makefile.in did.
1065
ff90fbde
JR
10662009-06-30 Jason Rumney <jasonr@gnu.org>
1067
1068 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1069 that is already loaded.
1070 (w32_set_user_model_id): New function.
1071 (main): Use it to associate emacsclient with emacs (bug#1849).
1072
e0f59195
JM
10732009-06-29 Jim Meyering <meyering@redhat.com>
1074
1075 Remove useless if-before-free test.
1076 * make-docfile.c (scan_lisp_file): Remove useless test.
1077
f5f20f6c
DN
10782009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1079
1080 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1081
70243478
CY
10822009-06-21 Chong Yidong <cyd@stupidchicken.com>
1083
1084 * Branch for 23.1.
1085
fa44da6e
AR
10862006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1087
1088 * mac-fix-env.m:
1089 * Makefile.in (mac-fix-env): Remove.
1090
a7f2b0b1
AR
10912006-06-06 David Reitter <david.reitter@gmail.com>
1092
1093 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1094
9dfda22f
JB
10952009-04-20 Juanma Barranquero <lekktu@gmail.com>
1096
1097 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1098 spacing is required in the message output, as the comment suggests).
1099
24d5010d
CY
11002009-04-20 Chong Yidong <cyd@stupidchicken.com>
1101
1102 * emacsclient.c (print_help_and_exit): Clarify argument placement
1103 for short option names.
1104
6133a1a9
DN
11052009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1106
1107 * emacsclient.c (print_help_and_exit): Fix typo.
1108
22749e9a
EZ
11092009-03-21 Eli Zaretskii <eliz@gnu.org>
1110
1111 * ntlib.c (setuid): Argument is now unsigned.
1112 (getuid): Return value is now unsigned.
1113 (getpwuid): Argument is now unsigned.
1114 (fchown): UID and GID arguments are now unsigned.
1115
1116 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1117 (getuid): Return value is now unsigned.
1118 (setuid): Argument is now unsigned.
1119 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1120
b57ac69d 11212009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
1122
1123 * emacsclient.c (main): Revert part of last change, so
1124 drive-relative file names again work on Windows.
1125
ba528748
SM
11262009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1129 names without prepending cwd to them, so Emacs uses its customary
1130 rules to determine how to interpret the file name.
1131
f213f2c0
GM
11322009-03-04 Glenn Morris <rgm@gnu.org>
1133
1134 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1135
8ee7d7be
CY
11362009-02-13 Sven Joachim <svenjoac@gmx.de>
1137
1138 * movemail.c: Include time.h unconditionally.
1139 (main): Use time_t for time variables.
1140
d228a23c
GM
11412009-02-11 Glenn Morris <rgm@gnu.org>
1142
1143 * movemail.c (mbx_delimit_begin): Also write the current time.
1144
3f32be22
GM
11452009-02-10 Glenn Morris <rgm@gnu.org>
1146
1147 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1148 than Babyl format. (Bug#2196)
1149
e7534fc4
AR
11502009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1151
1152 * emacsclient.c (decode_options): Use a dummy display name under
1153 NS/Cocoa.
1154
9eb67dd9
CY
11552009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1156
1157 * ebrowse.c (matching_regexp): Fix OB1 error.
1158
b433a991
GM
11592009-01-05 Glenn Morris <rgm@gnu.org>
1160
1161 * ebrowse.c (version):
1162 * etags.c (print_version):
1163 * rcs2log (Copyright): Update copyright for 2009.
1164
81f82586
CY
11652009-01-01 Chong Yidong <cyd@stupidchicken.com>
1166
1167 * movemail.c (main): Fatal if hard links cannot be created.
1168
fd95644b
DN
11692008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1170
1171 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1172 checking.
1173
67c1df01
DN
11742008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1175
1176 * emacsclient.c: Include syswait.h instead of sys/types.h.
1177
f0131492 11782008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 1179
d4835507
JB
1180 * emacsclient.c (WCONTINUED): New compatibility define
1181 for older systems.
5445ab06 1182
d50299d5
DN
11832008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1184
1185 * emacsclient.c (main): Fix previous change.
1186
52016647
JB
11872008-12-10 Juanma Barranquero <lekktu@gmail.com>
1188
1189 * emacsclient.c (main): Fix mindless breakage where emacsclient
1190 does not work *at all* on Windows, even if it *can* connect.
1191
802bdb3c
DN
11922008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1193
1194 * emacsclient.c (EMACS_DAEMON): Remove definition.
1195 (decode_options): Do not allow an empty alternate_editor on
1196 WINDOWSNT.
1197 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1198 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 1199 (main): Fail in case of not being able to connect.
802bdb3c 1200
c3f995a2
JB
12012008-12-10 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1204 Changes when EMACS_DAEMON is not defined:
1205 (print_help_and_exit): Don't add daemon information to help.
1206 (start_daemon_and_retry_set_socket): Make a no-op.
1207 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1208
636b507b
DN
12092008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1210
1211 * emacsclient.c (print_help_and_exit): Describe what an empty
1212 string argument does for --alternate-editor.
1213 (set_socket): Make it possible to not exit in case of an error.
1214 (start_daemon_and_retry_set_socket): New function.
1215 (main): Use it. Restore the NULL value for socket_name and
1216 server_file after the set_socket call.
1217
448d4085
DN
12182008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1219
7b641241 1220 * emacsclient.c: Include <arpa/inet.h>.
448d4085 1221
938ebc4f
DN
12222008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1223
1224 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1225
3d864325
GM
12262008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1227
1228 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1229
48c2dc68
CY
12302008-11-02 Chong Yidong <cyd@stupidchicken.com>
1231
1232 * emacsclient.c (window_system): Delete redundant variable.
1233 (decode_options): Don't use it.
1234 (find_tty): New function.
1235 (main): Use find_tty, and don't use window_system.
1236
d41784ee
EZ
12372008-11-01 Eli Zaretskii <eliz@gnu.org>
1238
1239 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1240 `ttyname'.
1241 (w32_getenv): Treat $TERM specially: if not found in the
1242 environment and in the Registry, return "w32console".
1243 (ttyname) [WINDOWSNT]: New function.
1244
322ca650
AS
12452008-10-31 Andreas Schwab <schwab@suse.de>
1246
1247 * emacsclient.c (main): Don't force sending tty when in eval mode.
1248
8a8a7cd3
CY
12492008-10-30 Chong Yidong <cyd@stupidchicken.com>
1250
1251 * emacsclient.c (main): If using the current frame, send tty
1252 information to Emacs in case daemon mode needs to occupy this tty.
1253
f8baa639
JB
12542008-10-29 Juanma Barranquero <lekktu@gmail.com>
1255
bc558f3e
JB
1256 * emacsclient.c (EXTRA_SPACE): New macro.
1257 (get_server_config, set_local_socket): Use it.
1258
f8baa639
JB
1259 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1260 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1261
f77b11a0
JB
12622008-10-29 Ulrich Mueller <ulm@gentoo.org>
1263
1264 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1265 instead of hardcoded /tmp.
1266
dc1cd5f7
DN
12672008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1268
1269 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1270 (decode_options): Use getopt_long_only.
1271
7a09249b
EZ
12722008-09-30 Eli Zaretskii <eliz@gnu.org>
1273
1274 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1275 codepage.elc.
1276
997ec957
CY
12772008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1278
1279 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1280 terminal (bug#427).
1281
0d80bf29
FP
12822008-08-25 Francesco Potortì <pot@gnu.org>
1283
1284 * etags.c (main): Do not use static space for the tagfile string.
1285
34a23e94
FP
12862008-08-17 Francesco Potortì <pot@gnu.org>
1287
1288 * etags.c (main): Use canonicalize_filename on tags file name.
1289 (relative_filename): Revert 3.85: do not collapse slashes here.
1290 (absolute_dirname): Remove useless call to canonicalize_filename.
1291 (canonicalize_filename): Collapse multiple slashes here.
1292
48fad8e8
DN
12932008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1294
10d1d0af
JB
1295 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1296 Do not special case for NS_IMPL_COCOA.
48fad8e8 1297
6088b51f 12982008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
1299
1300 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1301 (.m.o): Dispense with GNUstep-specific flags.
1302
39b8bb9b
CY
13032008-08-05 Ulrich Mueller <ulm@gentoo.org>
1304
1305 * pop.c (socket_connection): Add conditionals for
1306 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1307 compilation with MIT Kerberos and Heimdal, respectively.
1308
7c2fb837
DN
13092008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1310
1311 * etags.c:
1312 * emacsclient.c: Remove VMS support.
1313
9e2a2647
DN
13142008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1315
1316 Remove support for Mac Carbon.
1317 * makefile.w32-in:
1318 * emacsclient.c: Remove code for Carbon.
1319
7f619bab
DN
13202008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1321
1322 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1323
32cc3925
AS
13242008-07-17 Andreas Schwab <schwab@suse.de>
1325
1326 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1327 (LIB_STANDARD_LIBSRC): Don't define.
1328 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1329
ba60bd44 13302008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
1331
1332 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1333 NS_IMPL_COCOA.
1334
50863f58
DN
13352008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1336
ba60bd44
JB
1337 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1338 Remove, unused.
50863f58 1339
ba60bd44 13402008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
1341
1342 * .cvsignore: Add mac-fix-env.
1343 * mac-fix-env.m: New file, automatically update
1344 ~/.MacOSX/environment.plist on OS X systems to expose environment
1345 variables inside Emacs started from icon.
1346 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1347 programs to build.
1348 * make-docfile.c: Add .m to list of file extensions.
1349
bba104c1
DN
13502008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1351
1352 * movemail.c (main): Use int instead of WAITTYPE.
1353
da007124
JB
13542008-07-05 Juanma Barranquero <lekktu@gmail.com>
1355
1356 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1357 Remove vmsproc.el and vms-patch.el.
1358
c9fc02c7
JB
13592008-06-26 Juanma Barranquero <lekktu@gmail.com>
1360
1361 * makefile.w32-in (obj): Remove w32bdf.o.
1362
f2a77c3a
DN
13632008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1364
1365 * fakemail.c: Remove references to obsolete variables.
1366
c2cd06e6
JM
13672008-06-02 Jim Meyering <meyering@redhat.com>
1368
e914c409 1369 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 1370
e914c409 1371 Remove useless if-before-free tests.
70fdbb46
JM
1372 * ebrowse.c (xfree): Likewise.
1373 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 1374 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 1375 * pop.c (pop_quit): Likewise.
c2cd06e6 1376
01b996ad
JB
13772008-05-30 Juanma Barranquero <lekktu@gmail.com>
1378
1379 * makefile.w32-in (lisp2): Add minibuffer.elc.
1380
2926947a
SM
13812008-05-29 Tom Tromey <tromey@redhat.com>
1382
1383 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1384
10fea9c4
EZ
13852008-05-09 Eli Zaretskii <eliz@gnu.org>
1386
1387 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1388 (IS_DIRECTORY_SEP): New macro.
1389 (convert_time, is_exec, stat): New functions.
1390
86914123
EZ
13912008-05-08 Eli Zaretskii <eliz@gnu.org>
1392
1393 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1394
58bb7d50
EZ
13952008-05-03 Eli Zaretskii <eliz@gnu.org>
1396
1397 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1398 corresponding change in src/Makefile.in.
1399
63b9b605
GM
14002008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1401
1402 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1403
4429f88c
JR
14042008-04-10 Jason Rumney <jasonr@gnu.org>
1405
1406 * makefile.w32-in (CLIENTRES): New variable and target.
1407 (TRES): Remove.
1408 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1409
14b11401
SM
14102008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1413
95de358c
RF
14142008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1415
1416 * vcdiff: Use mktemp (CVE-2008-1694).
1417
6948400c
JR
14182008-04-09 Jason Rumney <jasonr@gnu.org>
1419
1420 * makefile.w32-in (distclean, maintainer-clean): New targets.
1421
afd27920
GM
14222008-03-13 Glenn Morris <rgm@gnu.org>
1423
1424 * makefile.w32-in (VERSION): Set to 23.0.60.
1425
3d193d0f
JB
14262008-03-04 Juanma Barranquero <lekktu@gmail.com>
1427
1428 * .cvsignore: Add oo.
1429
1797886f
SM
14302008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1431
1432 * etags.c (Perl_functions): Fix call to skip_spaces.
1433
9d2818d6
DN
14342008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1435
1436 * Makefile.in (NO_SHORTNAMES):
1437 * emacsclient.c (NO_SHORTNAMES):
1438 * fakemail.c (NO_SHORTNAMES):
1439 * make-docfile.c (NO_SHORTNAMES):
1440 * movemail.c (NO_SHORTNAMES):
1441 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1442
79d48c1a
JR
14432008-02-23 Jason Rumney <jasonr@gnu.org>
1444
1445 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1446 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1447 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1448 (lisp2): Add new languages.
1449 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1450
9c61c734
JB
14512008-02-22 Juanma Barranquero <lekktu@gmail.com>
1452
1453 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1454 malayalam.el, and tamil.el. Add sinhala.el.
1455
50f271cb
JB
14562008-02-20 Juanma Barranquero <lekktu@gmail.com>
1457
1458 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1459 where NAME is relative to DRIVE'S current directory.
1460
d07529f3
JB
14612008-02-15 Juanma Barranquero <lekktu@gmail.com>
1462
1463 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1464
45c1955d
DN
14652008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1466
1467 * fakemail.c: Undo previous change.
1468
deeaffe1
DN
14692008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1470
4624371d
DN
1471 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1472 (main): Replace MAIL_PROGRAM_NAME with its value.
1473
d07529f3 1474 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1475
9997dc15
SM
14762008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * emacsclient.c (decode_options): Pass --display implicitly if -c
1479 is specified. Only set tty if -t or -c is specified.
1480
0c55bf82
JR
14812008-02-04 Jason Rumney <jasonr@gnu.org>
1482
1483 * makefile.w32-in (lisp1): Use (), not {}.
1484
31cdf671
CY
14852008-02-04 Tom Tromey <tromey@redhat.com>
1486
d07529f3
JB
1487 * etags.c: Add "GTY" as synonym for __attribute__.
1488 Update gperf output.
31cdf671 1489
9303f985 14902008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1491
c4cc8b9a 1492 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1493 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1494 (WINNT_SUPPORT): Add term/w32-win.elc.
1495 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1496
9303f985 14972008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1498
d07529f3 1499 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1500
d07529f3 15012008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1502
290afd83 1503 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1504 utf-8.elc, and latin-*.el.
1505
0ea5797a
SM
15062008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1507
bcc891c2 1508 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1509 Allow the -d option under w32 again, for those rare cases where it
1510 actually does make sense.
1511
5ab73228
JB
15122008-01-25 Juanma Barranquero <lekktu@gmail.com>
1513
1514 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1515 the authentication string; there's no need to haste.
1516
702123a8
CY
15172008-01-22 Chong Yidong <cyd@stupidchicken.com>
1518
1519 * pop.c (pop_stat, pop_last): Fix last fix.
1520
76ed5e01
DN
15212008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1522
1523 * movemail.c: Remove references to XENIX.
1524
e39a993c
DN
15252008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1526
1527 * movemail.c:
1528 * make-docfile.c: Remove reference to symbols defined by systems
1529 not supported anymore: MAC_OS8, XENIX and STRIDE.
1530
0ebec7d3
EZ
15312008-01-12 Eli Zaretskii <eliz@gnu.org>
1532
1533 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1534 of DISPLAY in the environment. Don't support -d.
1535 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1536 (longopts) [WINDOWSNT]: Remove --display.
1537
6eae3ad4
CY
15382008-01-10 Chong Yidong <cyd@stupidchicken.com>
1539
1540 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1541 conversion. Mistakes spotted by Nico Golde.
1542
78da39c6
GM
15432008-01-09 Glenn Morris <rgm@gnu.org>
1544
1545 * emacsclient.c: Add missing final newlines to message calls.
1546
34a14ec9 15472008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1548
1549 * emacsclient.c (set_socket): Add final newline to socket error message.
1550
a408ea17
GM
15512008-01-04 Glenn Morris <rgm@gnu.org>
1552
07655e62
JB
1553 * ebrowse.c (version) <emacs_copyright>: New variable.
1554 Just use current year for copyright.
a408ea17
GM
1555
1556 * etags.c (print_version):
1557 * rcs2log (Copyright): Update to 2008.
1558
0dc7a8bc
JR
15592007-11-28 Jason Rumney <jasonr@gnu.org>
1560
1561 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1562
880820fe 15632007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1564
1565 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1566
880820fe 15672007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1568
1569 * pop.c (socket_connection): Move realhost out of #ifdefs.
1570 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1571
880820fe 15722007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1573
1574 * pop.c (socket_connection): Use getaddrinfo if available.
1575
880820fe 15762007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1577
65841dd8 1578 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1579 as the defaults in ctags are different from etags.
63f018cd 1580
880820fe 15812007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1582
1583 * etags.c: Make prototypes for extern definitions, and add all
1584 that are needed to quench warnings on 64-bit.
1585 (main): Use the same defaults for ctags as for etags: find
1586 typedefs, structure tags, macro constants, enum constants, struct
1587 members and global variables.
1588 (make_C_tag) [DEBUG]: Add debugging printout.
1589 (C_entries): In case '}' decrement bracelev before testing it.
1590
7455effc
FP
15912007-11-15 Masatake YAMATO <jet@gyve.org>
1592
1593 * etags.c (C_entries): In case '}', set fvdef to fvnone
1594 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1595
04a697fe
DN
15962007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1597
1598 * makefile.w32-in (obj): Remove sunfns.o.
1599
a2666217
JB
16002007-10-28 Juanma Barranquero <lekktu@gmail.com>
1601
1602 * makefile.w32-in (obj): Remove abbrev.o.
1603
7ce8671d
JB
16042007-10-26 Juanma Barranquero <lekktu@gmail.com>
1605
1606 * emacsclient.c: Add a wrapper for getenv so it also checks the
1607 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1608 Code partially based on w32_get_resource and init_environment (w32.c).
1609 (egetenv): New wrapper for getenv.
1610 (get_current_dir_name, decode_options, get_server_config)
1611 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1612 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1613
d22b00e5
JR
16142007-10-25 Jason Rumney <jasonr@gnu.org>
1615
1616 * emacsclient.c (sock_err_message): New function.
1617 (set_tcp_socket): Use it.
1618
c4b858e3
JB
16192007-10-09 Juanma Barranquero <lekktu@gmail.com>
1620
1621 * emacsclient.c (print_help_and_exit): Fix space to improve
1622 alignment in output messages.
1623
dbf60b07
JR
16242007-09-27 Jason Rumney <jasonr@gnu.org>
1625
1626 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1627
1628 * emacsclient.c (w32_window_app): Init common controls when windowed.
1629
165e85b2
GM
16302007-09-21 Glenn Morris <rgm@gnu.org>
1631
1632 * emacstool.c: Remove file.
1633 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1634 Delete targets built from emacstool.
1635
c1b8e896
SM
16362007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * emacsclient.c (decode_options): -t implies -c.
1639
cb06b8dc
SM
16402007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1643 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1644 (main_argc): Remove.
1645 (strprefix): Use strncmp.
1646
c801ad51
JR
16472007-09-20 Jason Rumney <jasonr@gnu.org>
1648
1649 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1650
31fa6595
SM
16512007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacsclient.c (current_frame): Change the default.
1654 (longopts): Replace --current-frame by --create-frame.
1655 (decode_options): Reverse the meaning of -c.
1656 (print_help_and_exit): Update help text accordingly.
1657 (main): Remove the -version and -good-version messages.
1658
58573230
GM
16592007-09-12 Glenn Morris <rgm@gnu.org>
1660
1661 * Makefile.in (SOURCES, unlock, relock): Delete.
1662
bfd9ce71
GM
16632007-08-29 Glenn Morris <rgm@gnu.org>
1664
1665 * makefile.w32-in (VERSION): Increase to 23.0.50.
1666
8d9cc0b7
MB
16672007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1668
1669 * emacsclient.c (w32_execvp): Move definition before use.
1670 (decode_options): Don't use a tty on mac carbon or windows.
1671
16722007-08-29 Jason Rumney <jasonr@gnu.org>
1673
31fa6595 1674 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1675 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1676 (main): Expand removed macros inline.
1677 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1678 option.
1679 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1680
880820fe 16812007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1682
1683 * emacsclient.c (signal.h): New include.
1684 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1685 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1686 Copy definitions here from src/lisp.h.
1687 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1688 (longopts): Add tty, current-frame.
1689 (xmalloc, xstrdup): New functions.
1690 (get_current_dir_name): New function, copied from src/sysdep.c.
1691 (decode_options): Set display from environment. Add tty and
1692 current_frame options. Make --no-wait imply --current-frame,
1693 except when it is the only option given. Make sure no frame is
1694 opened when --current-frame is set.
1695 (print_help_and_exit): Document tty and current-frame options.
1696 (fail): Change arguments to void.
1697 (main): When sockets are not defined, set main_argc, main_argv,
1698 and call fail() with no arguments.
1699 (emacs_socket): New variable (moved out from main `s').
1700 (quote_file_name): Rename to quote_argument.
1701 (quote_argument): New name for old quote_file_name.
1702 (unquote_argument, strprefix, pass_signal_to_emacs)
1703 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1704 (set_local_socket): Initialize saved_errno to 0. If socket-name
1705 is too long, call `fail' rather than `exit'.
1706 (main): Doc update. Set main_argc, main_argv. New var `str'.
1707 Don't need a filename or argument if tty or window_system set.
1708 Call fail with no arguments. Use get_current_dir_name to send
1709 over the current directory. Send version number to Emacs for
1710 verification. If tty is set, check TERM, and pass name and type
1711 to Emacs. Pass window_system to Emacs. Move sending of eval to
1712 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1713 fflush. Check for a client/server version match.
1714 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1715 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1716 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1717 environment and pwd to Emacs. Send current-frame to Emacs.
1718
ca4ea90f
EZ
17192007-08-25 Eli Zaretskii <eliz@gnu.org>
1720
1721 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1722 Prepend "-" to the command, in case srcdir=. and file is copied
1723 into itself.
1724
cacc7b51
GM
17252007-07-25 Glenn Morris <rgm@gnu.org>
1726
1727 * Relicense all FSF files to GPLv3 or later.
1728
1729 * COPYING: Switch to GPLv3.
1730
880820fe 17312007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1732
1733 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1734 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1735 (print_help): Use it in if() rather than #if.
1736 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1737
9724908a
EZ
17382007-07-16 Eli Zaretskii <eliz@gnu.org>
1739
1740 * makefile.w32-in (clean): Don't delete *~.
1741
5cf9ca93
GM
17422007-06-07 Glenn Morris <rgm@gnu.org>
1743
1744 * etags.c (print_version): Add `emacs_copyright' string, for
1745 easier automatic updating.
1746
880820fe 17472007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1748
1749 * etags.c: Extern definitions of some more pointer functions for
1750 standalone compilation, especially important for 64bit platforms.
1751 (main, print_help): --members is now the default for etags.
1752 (C_entries): Parse start of C comment as a space == end of token.
1753 This is not necessary for C++ comment, already parsed as newline.
1754
07016031
GM
17552007-04-26 Glenn Morris <rgm@gnu.org>
1756
1757 * makefile.w32-in (VERSION): Increase to 22.1.50.
1758
7dfc4cda
CY
17592007-06-02 Chong Yidong <cyd@stupidchicken.com>
1760
1761 * Version 22.1 released.
1762
880820fe 17632007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1764
d620ddb3 1765 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1766
0971f887
GM
17672007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1768
1769 * Makefile.in (EMACS, EMACSOPT): New variables.
1770 (blessmail): Use `--no-site-file' when compiling.
1771
880820fe 17722007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1773
1774 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1775 (main): Now --members is the default for etags, not for ctags yet.
1776
d881944f 17772007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1778
47dad44f 1779 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1780 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1781 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1782 import, package, extends, implements and interface to be treated
1783 specially for all kinds of C-style files, not just Java files.
1784
880820fe 17852007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1786
47dad44f 1787 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1788 (no_duplicates): Static variables for the above option.
1789 (print_help): Do not print help for --no-warn, now undocumented.
1790 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1791 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1792
880820fe 17932006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1794
1795 * etags.c (readline): When creating a relative file name from a
1796 #line directive, leave the file name alone. The previous
a7c29764 1797 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1798 under the hypothesis that the #line directive file name was
1799 relative to the directory of the tagged file. That hypothesis is
1800 wrong with Cpp and Lex.
17d5f8a6 1801 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1802
5e059fc1
EZ
18032006-12-22 Eli Zaretskii <eliz@gnu.org>
1804
1805 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1806 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1807 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1808 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1809 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1810 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1811 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1812 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1813 (clean): Delete stamp_BLD.
5e059fc1 1814
880820fe 18152006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1816
1817 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1818
0e0dced5
JB
18192006-12-18 Juanma Barranquero <lekktu@gmail.com>
1820
1821 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1822 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1823 (main) [WINDOWSNT]: Remove code to release the focus; call
1824 w32_give_focus instead.
1825
4472aef4
JB
18262006-12-15 Juanma Barranquero <lekktu@gmail.com>
1827
1828 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1829 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1830 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1831 Suggestions and comment by Eli Zaretskii.
1832
12f7728e 18332006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1834
1835 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1836 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1837
310afa17
JB
18382006-11-30 Juanma Barranquero <lekktu@gmail.com>
1839
1840 * emacsclient.c (emacs_pid): New variable.
1841 (message): Remove leftover code.
1842 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1843 focus yet; emacsclient can still display an informational message
1844 before sending requests to Emacs.
1845 (main): Allow Emacs to grab the focus. Simplify message() call.
1846
18472006-11-30 Michael Mauger <mmaug@yahoo.com>
1848
1849 * emacsclient.c (message): Make sure the message is properly
1850 written even if it contains printf escapes, and flush the result.
1851 (set_tcp_socket): Make the message for non-local connections
1852 informational rather than an error.
1853
8c57275b 18542006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1855
1856 * etags.c (readline): Check for double quote after #line.
1857
880820fe 18582006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1859
1860 * etags.c (readline): sscanf could in principle return 2.
1861
880820fe 18622006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1863
1864 * etags.c (readline): lno is unsigned.
1865 (TeX_commands): Use p++ (rather than *p++) to increment p.
1866 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1867
4d91c8f9
JB
18682006-11-27 Juanma Barranquero <lekktu@gmail.com>
1869
1870 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1871 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1872 ($(BLD)/emacsclientw.exe): Add dependency.
1873
340d34a5
EZ
18742006-11-27 Eli Zaretskii <eliz@gnu.org>
1875
d620ddb3 1876 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1877
7dce1990
JB
18782006-11-25 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * makefile.w32-in (VERSION): New macro.
1881 (ECLIENT_CFLAGS): Add -DVERSION.
1882
410797a5 18832006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1884
1885 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1886
410797a5 18872006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1888
4472aef4
JB
1889 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1890 file names with forward slashes.
cb0297bb 1891
30aa95ce
JB
18922006-11-23 Juanma Barranquero <lekktu@gmail.com>
1893
1894 * emacsclient.c (print_help_and_exit): Tweak message contents and
1895 tabs/spaces to improve alignment in message boxes.
1896
42073bfb
JB
18972006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1898
1899 * emacsclient.c: Include <stdarg.h>.
1900 [WINDOWSNT]: Include <windows.h>.
1901 (w32_check_console_app): New function.
1902 (message): New function.
1903 (decode_options, print_help_and_exit, fail, main)
1904 (initialize_sockets, get_server_config, set_tcp_socket)
1905 (set_local_socket, set_socket): Use message().
1906
32dd9283 19072006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1908
32dd9283
JR
1909 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1910 HAVE_INET_SOCKETS.
1911
1bbea9fc
JB
19122006-11-13 Juanma Barranquero <lekktu@gmail.com>
1913
1914 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1915 ($(BLD)/emacsclientw.exe): New target.
1916 (install): Install emacsclientw.exe.
1917 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1918 (ECLIENT_CFLAGS): Remove redundant flags.
1919
1920 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1921
a48db427
JR
19222006-11-13 Jason Rumney <jasonr@gnu.org>
1923
1924 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1925
21f89bb7 19262006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1927
1928 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1929
d5abc12c
JB
19302006-11-08 Juanma Barranquero <lekktu@gmail.com>
1931
ed4a3730
JB
1932 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1933 FARPROC to avoid a compiler warning.
d5abc12c 1934
18b8c421
JB
19352006-11-07 Juanma Barranquero <lekktu@gmail.com>
1936
88b46d84
JB
1937 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1938 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1939
18b8c421
JB
1940 * emacsclient.c (get_server_config): Extract also the Emacs pid
1941 from the server file. On Windows, try to force the Emacs frame to
1942 the foreground.
1943
b03d27bd
JB
19442006-11-06 Juanma Barranquero <lekktu@gmail.com>
1945
21f89bb7 1946 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1947 option --socket-name.
1948 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1949 command line options.
21f89bb7 1950 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1951 (fail): Don't check for missing arguments, it is now done in set_socket.
1952 (file_name_absolute_p): New function (loosely based on the one in
1953 fileio.c).
1954 (initialize_sockets): Don't check for duplicate loading of Winsock.
1955 (get_server_config): Only try relative paths in the default
1956 directory locations.
1957 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1958 a remote server.
1959 (set_socket): Call INITIALIZE(). Search explicit command-line
1960 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1961 socket paths, before trying the alternate editor.
1962 (main): Use file_name_absolute_p.
1963
b20d6154
EZ
19642006-11-04 Eli Zaretskii <eliz@gnu.org>
1965
1966 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1967 file if it doesn't already exist.
1968
9c92edca
JB
19692006-11-03 Juanma Barranquero <lekktu@gmail.com>
1970
1971 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1972 more than once.
1973
b6ce9c46
JB
19742006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1975
1976 * Makefile.in (INSTALL_SCRIPT): New macro.
1977 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1978
4418616b
JB
19792006-11-02 Juanma Barranquero <lekktu@gmail.com>
1980
1981 * grep-changelog: When called with no arguments (not even a
1982 filter), show help instead of blindingly dumping every single
1983 ChangeLog available. Doc fix. Update version.
1984
1e7823d0
JB
19852006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1986
1987 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1988 [!WINDOWSNT]: Include <netinet/in.h> if available.
1989 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1990 (IOCTL, IOCTL_BOOL_ARG): Remove.
1991 (set_tcp_socket): Don't set the socket in blocking mode.
1992 Remove c_arg.
1993
ebc20ca0
JB
19942006-11-01 Juanma Barranquero <lekktu@gmail.com>
1995
1996 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1997 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1998
880820fe 19992006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
2000
2001 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2002 (close_winsock): Declare as __cdecl.
2003
880820fe 20042006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
2005
2006 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2007 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2008 to set the socket in non-blocking mode.
2009
e35fc962
JB
20102006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2011
d4fa60c8 2012 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
2013 (INVALID_SOCKET): Define.
2014 (initialize_sockets): Put #endif at the right place.
2015 (set_local_socket): Use progname, not argv[0].
2016
ecc54057
JB
20172006-10-31 Juanma Barranquero <lekktu@gmail.com>
2018
2019 * makefile.w32-in (ALL): Add emacsclient.
2020 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2021 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2022 (install): Install emacsclient.
2023
2024 * emacsclient.c: Add support for TCP sockets.
2025 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2026 (INITIALIZE): New macros.
2027 (IOCTL_BOOL_ARG): New typedef.
2028 (server_file): New global variable.
2029 (longopts): New option --server-file.
2030 (decode_options): Process new option --server-file and environment
2031 variable EMACS_SERVER_FILE.
2032 (print_help_and_exit): Document new option.
2033 (fail): If no connection available and no alternate editor,
2034 suggest using options to make them explicit.
2035 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2036 (send_buffer, sblen): New variables.
31fa6595 2037 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
2038 (quote_file_name): Use SEND_STRING.
2039 (close_winsock, initialize_sockets): New functions to load and
2040 unload Winsock.
2041 (get_server_config, set_tcp_socket): New functions to create and
2042 set up TCP sockets.
2043 (set_local_socket): New function to create and set up Unix
2044 socket (code moved from previous implementation).
10d1d0af 2045 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
2046 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2047 set_local_socket. Use set_socket. Get answers from server.el with
2048 recv(), not file stream functions.
2049
70846e2a
EZ
20502006-10-09 Eli Zaretskii <eliz@gnu.org>
2051
2052 * makefile.w32-in (../src/config.h): Fix error message.
2053
e2247cd0
EZ
20542006-09-30 Eli Zaretskii <eliz@gnu.org>
2055
2056 * .cvsignore: Add blessmail.
2057
45a2056c
JB
20582006-09-15 Jay Belanger <belanger@truman.edu>
2059
2060 * COPYING: Replace "Library Public License" by "Lesser Public
2061 License" throughout.
2062
880820fe 20632006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 2064
ecc54057 2065 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 2066 (readline): Change position on %n and \" in sscanf.
1f4edc37 2067
1520a816
JD
20682006-08-07 Masatake YAMATO <jet@gyve.org>
2069
ecc54057
JB
2070 * etags.c (readline): Expect sscanf returns 2, not 1.
2071
867cc23e
JD
20722006-08-07 Masatake YAMATO <jet@gyve.org>
2073
9984b9d5 2074 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
2075 File ended without newline causes infinite loop.
2076
6088b51f 20772006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 2078
ecc54057 2079 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 2080
880820fe 20812006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
2082
2083 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2084 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2085 (Objc_suffixes): Suggest using --lang=c for full help.
e1dbe924 2086 (C_entries): Initialize savetoken to 0 to shut up the compiler.
fc185ae6 2087
116e754b
AS
20882006-07-20 Andreas Schwab <schwab@suse.de>
2089
2090 * fakemail.c (fatal): Drop second parameter and treat first
2091 parameter as a plain string. Callers changed.
2092
2381d38d
DN
20932006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2094
2095 * ebrowse.c (usage, version): Mark as NO_RETURN.
2096
2097 * emacsclient.c (print_help_and_exit): Likewise.
2098
880820fe 20992006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
2100
2101 * etags.c (absolute_filename): Free unused space (cosmetic change).
2102 (in_word_set): In C, also tag #undef symbols.
2103
7cb93181
EZ
21042006-06-09 Eli Zaretskii <eliz@gnu.org>
2105
2106 * yow.c: Remove file.
2107
2108 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2109
2110 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2111 yow${EXEEXT}: Remove target.
2112
0f29c66d
MY
21132006-06-04 Masatake YAMATO <jet@gyve.org>
2114
63fbb644 2115 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
2116 doesn't exist, is not seekable, not is failed in ftall.
2117
a941b26b
EZ
21182006-06-03 Eli Zaretskii <eliz@gnu.org>
2119
9781fb53
EZ
2120 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2121 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2122 ($(BLD)/test-distrib.exe): New targets.
2123 (sorted-doc, digest-doc, test-distrib): New targets.
2124 (install): Install sorted-doc.exe and digest-doc.exe.
2125 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2126
1b178b99
EZ
2127 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2128 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2129 terminal device.
2130
ae85efdb
EZ
2131 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2132 [WINDOWSNT] <top level>: Don't redeclare malloc.
2133 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2134 terminal device.
6088b51f 2135 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 2136
a941b26b
EZ
2137 * makefile.w32-in: Delete traces of leditcfns.c.
2138
2139 * leditcfns.c: Remove file.
2140
880820fe 21412006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 2142
31fa6595
SM
2143 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2144 Add comments explaining why the "kpop" service is never used.
8a6d5da7 2145
642c61f3
EZ
21462006-05-13 Eli Zaretskii <eliz@gnu.org>
2147
2148 * makefile.w32-in (lisp1): Add fringe.elc.
2149
880820fe 21502006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
2151
2152 * etags.c (Perl_functions): Free space allocated for var package.
2153 (Erlang_functions): Possibly free space allocated for var last.
2154 (Prolog_functions): Possibly free space allocated for var last.
2155
7c47913b
DN
21562006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2157
7fe8b491
DN
2158 * sorted-doc.c (main): Initialize docs to NULL.
2159
cdeda579
DN
2160 * yow.c (yow): Free buf.
2161
7c47913b
DN
2162 * etags.c: Delete c-indentation-style local variable.
2163
2ef88a94
RS
21642006-04-29 Richard Stallman <rms@gnu.org>
2165
5e5b35c7
RS
2166 * movemail.c (main): Check for negative value from `read'.
2167
2ef88a94
RS
2168 * fakemail.c (read_header): Give fatal error if input has no header.
2169
d65b4235
PE
21702006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2171
2172 * b2m.c (main): Don't include <limits.h>.
2173 (TM_YEAR_BASE): New macro.
2174 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2175 that s/ files can override this. Use the more-conservative range
2176 1000-9999.
2177 (main): Check for asctime returning NULL.
2178 * fakemail.c: Likewise.
2179
f5565804
PE
21802006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2181
2182 * b2m.c: Include <limits.h>.
2183 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2184 (main): Check for out-of-range time stamps.
2185 * fakemail.c: Likewise.
2186
90c9c343
AS
21872006-03-18 Andre Spiegel <spiegel@gnu.org>
2188
2189 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2190 execute $DIFF twice, and once with the wrong options.
2191
a6a2b5d4
EZ
21922006-02-23 Claudio Fontana <claudio@gnu.org>
2193
9e2bcc86
EZ
2194 * Makefile.in (install, uninstall): Add DESTDIR variable to
2195 support staged installations.
a6a2b5d4 2196
ef3f69f9
EZ
21972005-12-30 Eli Zaretskii <eliz@gnu.org>
2198
2199 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
2200 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2201 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2202 Rearrange the list to be similar to $(shortlisp) in
2203 src/Makefile.in.
ef3f69f9
EZ
2204 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2205 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2206 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2207 src/Makefile.in.
2208
30cfcf7f
RS
22092005-12-22 Richard M. Stallman <rms@gnu.org>
2210
2211 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2212
ecc54057 22132005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
2214
2215 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2216 which was never opened.
2217
283879ef 22182005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
2219
2220 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2221 header files.)
2222
880820fe 22232005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
2224
2225 * etags.c: Preliminary Forth support.
2226 (prolog_pr): Cast strlen to int before comparison.
2227 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2228 the second argument is indeed a literal string.
b9509712 2229 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
2230
22312005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2232
2233 * etags.c (longopts, print_help, main): The -a (--append) option
2234 can be used in ctags also; for one, the Linux make file uses it.
2235
41ea4df8
CY
22362005-09-20 Chong Yidong <cyd@stupidchicken.com>
2237
2238 * ebrowse.c (add_sym): Compare namespace names instead of
2239 namespace objects. This prevents the parser from incorrectly
2240 treating classes whose superclass is in another namespace.
2241
5c4757d3
RS
22422005-09-15 Richard M. Stallman <rms@gnu.org>
2243
2244 * Makefile.in (update-game-score.o): New target.
10d1d0af 2245 Compile and link this program separately.
5c4757d3
RS
2246 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2247
df1b2142
JR
22482005-09-11 Jason Rumney <jasonr@gnu.org>
2249
ecc54057 2250 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 2251 message instead.
31fa6595 2252 (../src/paths.h): Remove.
df1b2142 2253
c638055f
JB
22542005-07-27 Juanma Barranquero <lekktu@gmail.com>
2255
2256 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2257 generated. Ignore also ctags.c and getopt.h.
2258
2259 * makefile.w32-in (clean): Delete getopt.h.
2260 (getopt.h): New rule.
2261
9eff9fe3
PE
22622005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2263
2264 Merge gnulib getopt implementation into Emacs.
2265
2266 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2267 (GETOPT_H): New macro, from gnulib.
2268 (getopt.h): New rule, from gnulib.
2269 (GETOPTOBJS): Now autoconfigured.
2270 (GETOPTDEPS): getopt.h is now autoconfigured.
2271 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2272 (getopt.o): Depend on ${srcdir}/gettext.h.
2273 (movemail.o): Depend on $(GETOPT_H).
2274 * getopt.c, getopt1.c: Sync from gnulib.
2275 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2276 * getopt.h: Removed (now is getopt_.h).
2277
ec641d50
KR
22782005-07-13 Ken Raeburn <raeburn@gnu.org>
2279
0e0dced5
JB
2280 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2281 (sendline): Add the \r\n to the line in a temporary buffer, and write
2282 it all at once.
ec641d50 2283
a0ec7a4a
LK
22842005-07-04 Lute Kamstra <lute@gnu.org>
2285
2286 Update FSF's address in GPL notices.
2287
0e0dddda
EZ
22882005-06-13 Eli Zaretskii <eliz@gnu.org>
2289
2290 * makefile.w32-in ($(DOC)): Fix last change.
2291
5a77c8e2
EZ
22922005-06-12 Eli Zaretskii <eliz@gnu.org>
2293
2294 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2295 temacs.exe, and the preloaded *.elc files. This avoids
2296 unnecessary dumping and DOC rebuilding.
2297
1a8fb426
EZ
22982005-06-04 Eli Zaretskii <eliz@gnu.org>
2299
2300 * ntlib.h (fileno): Don't define if already defined.
2301
7235a58f
TTN
23022005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2303
2304 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2305 (yow): Use EXIT_FAILURE in case of memory error.
2306
5063dbbf
YM
23072005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2308
2309 * make-docfile.c (DIRECTORY_SEP): New macro.
2310 (IS_DIRECTORY_SEP): Use it.
2311
880820fe 23122005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
2313
2314 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2315
ba025f6d
YM
23162005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2317
2318 * make-docfile.c: Undo previous change.
2319
a9eedf40
AS
23202005-02-04 Andreas Schwab <schwab@suse.de>
2321
0e0dced5
JB
2322 * movemail.c (fatal): Accept third parameter and pass down to error.
2323 (pfatal_with_name): Pass error string as format parameter instead of
2324 as part of format string.
a9eedf40
AS
2325 (pfatal_and_delete): Likewise.
2326 (main): Adjust call to fatal.
2327 (xmalloc): Likewise.
2328
5a92a9eb
RS
23292005-01-29 Richard M. Stallman <rms@gnu.org>
2330
2331 * movemail.c (popmail): Don't use Errmsg as format string.
2332
e6973a25
ST
23332004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2334
0e0dced5 2335 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 2336
1bb3da38
AS
23372004-12-15 Andreas Schwab <schwab@suse.de>
2338
2339 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2340 preprocessing to compile time constant.
2341
d4a38fdd
KS
23422004-11-17 Kim F. Storm <storm@cua.dk>
2343
2344 * etags.c: Undo last change.
2345
f2eb41c8
KS
23462004-11-09 Kim F. Storm <storm@cua.dk>
2347
2348 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2349 silence compiler.
2350
2351 * hexl.c (main): Init local var c to silence compiler.
2352
2353 * etags.c (main, consider_token, C_entries): Add misc switch
2354 default targets to silence compiler.
2355
880820fe 23562004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
2357
2358 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2359 resulting DOC file can be used on Unix/Mac also.
2360
880820fe 23612004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
2362
2363 * etags.c (main): When relative file names are given as argument,
2364 make them relative to the current working dir, rather than
2365 relative to the output tags file, if the latter is in /dev.
2366
880820fe 23672004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
2368
2369 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2370 <stdlib.h> is available.
2371 (enum sym_type): New st_C_attribute value for parsing
2372 gcc's __attribute__. Deleted st_C_typespec value.
2373 (gperf, in_word_set): Use gperf 3, options changed. Added the
2374 __attribute__ keyword, removed all the st_C_typespec keywords,
2375 changed attribute for Java to (C_JAVA & !C_PLPL).
2376 (inattribute): New global bool, part of the C state machine.
2377 (cblev): Identifier renamed to bracelev throughout.
2378 (consider_token, C_entries): Numerous changes for making the
2379 parser more robust and adding support for __attribute__.
2380
23812004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2382
ecc54057 2383 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2384 Support the Lua scripting language <http://www.lua.org>.
2385
880820fe 23862004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2387
d57727c9 2388 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2389 for ease of use.
2390
3751eb00
RS
23912004-07-17 Richard M. Stallman <rms@gnu.org>
2392
2393 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2394
86d373e6
JB
23952004-06-01 Juanma Barranquero <lektu@terra.es>
2396
2397 * makefile.w32-in (obj): Add image.c.
2398
80e26b66
TTN
23992004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2400
0e0dced5 2401 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2402
e6662c8b
JR
24032004-05-08 Jason Rumney <jasonr@gnu.org>
2404
2405 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2406 command-lines.
2407
65396510
TTN
24082004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2409
2410 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2411 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2412 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2413
2414 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2415 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2416 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2417
c2bcfb19
TTN
24182004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2419
2420 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2421
3f0656ff
TTN
24222004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2423
2424 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2425 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2426 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2427
2428 * etags.c: Likewise.
2429
238add5e
JR
24302004-05-03 Jason Rumney <jasonr@gnu.org>
2431
2432 * makefile.nt: Remove.
2433
b09c5608
EZ
24342004-04-26 Eli Zaretskii <eliz@gnu.org>
2435
2436 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2437 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2438 instead of a literal '/'.
2439
d814862a
JB
24402004-04-23 Juanma Barranquero <lektu@terra.es>
2441
2442 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2443
442a2160
PE
24442004-04-17 Paul Eggert <eggert@gnu.org>
2445
2446 * rcs2log (Help): Clarify wording of the usage message.
2447 Problem reported by Alan Mackenzie in
2448 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2449
d5d66b7e
SM
24502004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * make-docfile.c (xmalloc): Fix return type.
2453 (put_filename): New fun.
2454 (scan_file): Use it.
2455
bdfd0369
JB
24562004-03-09 Juanma Barranquero <lektu@terra.es>
2457
2458 * grep-changelog: Changes to support ChangeLog.10+.
2459 (main): Tidy up usage string. Fix "Use of uninitialized value"
2460 warning. Set version to 0.2. Parse the directory listing to get
2461 any ChangeLog.n file, not just 1..9.
2462 (header_match_p, entry_match_p, print_log, parse_changelog):
2463 Remove Perl prototypes (their purpose is to help the parser, which
2464 isn't needed here, not declare arguments).
2465 (parse_changelog): Make --reverse faster on big batches by not
2466 modifying the entries list.
2467
a64387ee
JB
24682004-03-01 Juanma Barranquero <lektu@terra.es>
2469
2470 * makefile.w32-in (obj): Add fringe.c.
2471
9766d41b
PE
24722004-02-14 Paul Eggert <eggert@twinsun.com>
2473
2474 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2475 :local: methods, or omits the colon between the hostname
2476 and the path. Allow :/ in repository path, since CVS does.
2477 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2478 This fixes a bug reported by Wolfgang Scherer in
2479 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2480 along with some related bugs I discovered by inspecting how
2481 CVS itself parses $CVSROOT.
2482
880820fe 24832004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2484
2485 * emacsclient.c (decode_options): Fix handling of alternate editor.
2486
0734b0d0
SM
24872004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacsclient.c (main): Don't use the hostname in the socket name.
2490 Look for relative socket names in the /tmp dir rather than in cwd.
2491
2a6fc2d9
RS
24922004-01-24 Richard M. Stallman <rms@gnu.org>
2493
2494 * emacsclient.c (main): Restore errno from saved_errno,
2495 so the error message comes from socket_status.
2496
0734b0d0
SM
24972004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * emacsclient.c (main): Stop if socket name too long.
2500 Only try su-fallback if the socket name was not explicit.
2501 Check socket name length in su-fallback case as well.
2502
152b6e83
AS
25032004-01-08 Andreas Schwab <schwab@suse.de>
2504
2505 * emacsclient.c (main): Save errno from socket_status.
2506
e8228824
AS
25072004-01-04 Andreas Schwab <schwab@suse.de>
2508
2509 * emacsclient.c (main): Fix socket name when using another user.
2510
c9140662
PE
25112003-12-27 Paul Eggert <eggert@twinsun.com>
2512
2513 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2514 a tag, and if the user has not specified an rlog option.
2515 Adapted from a suggestion by Martin Stjernholm in
2516 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2517 (Copyright): Update to 2003.
2518
8babaa59
TTN
25192003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2520
2521 * make-docfile.c (main): For return code, no longer special-case VMS.
2522 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2523
880820fe 25242003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2525
2526 * emacsclient.c (quote_file_name): Print the result instead of
2527 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2528 (main): With --eval, if no file name, read from stdin.
2529 Quote file names.
14ef7288 2530
f387bdea
RS
25312003-09-10 Richard M. Stallman <rms@gnu.org>
2532
07655e62 2533 * emacsclient.c (main): Use socket_name.
f387bdea 2534
880820fe 25352003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2536
2537 * emacsclient.c (socket_name): New variable.
2538 (longopts, decode_options, print_help_and_exit):
2539 Handle --socket-name argument.
2540
0b7e7337
FP
25412003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2542
783bcffa 2543 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2544 token len is long enough.
2545
ac06b30b
DL
25462003-08-20 Dave Love <fx@gnu.org>
2547
2548 * Makefile.in: Remove obsolete references to alloca.
2549
32b0a3c6
JB
25502003-07-29 Ken Brush <ken@wirex.com>
2551
2552 * emacsclient.c (main)
2553 * etags.c (suggest_asking_for_help)
2554 * movemail.c (main): Fix having macros in a printf statement.
2555
3867c42d
JB
25562003-05-31 Juanma Barranquero <lektu@terra.es>
2557
2558 * makefile.w32-in (lisp): Fix references to byte-run.el,
2559 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2560
7933722a
DL
25612003-05-22 Dave Love <fx@gnu.org>
2562
2563 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2564 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2565
463f55ee
DL
25662003-05-20 Dave Love <fx@gnu.org>
2567
2568 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2569
2570 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2571
1b7a835b
JB
25722003-04-27 Oliver Scholz <alkibiades@gmx.de>
2573
0e0dced5 2574 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2575
eec54bd7
SM
25762003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2577
2578 * emacsclient.c (main): Use new safe location for socket.
2579
ff4bd681
JB
25802003-03-12 Tom Tromey <tromey@redhat.com>
2581
eec54bd7
SM
2582 * emacsclient.c (print_help_and_exit): Print to stdout.
2583 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2584 (decode_options): Don't call print_help_and_exit in default case.
2585 Print version information to stdout.
2586 (main): Don't call print_help_and_exit.
2587
dd132e44
RS
25882003-02-15 Richard M. Stallman <rms@gnu.org>
2589
2590 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2591 Don't include stdlib.h, because config.h does.
dd132e44 2592 (malloc, realloc): Declarations deleted.
ff4bd681 2593
dd132e44
RS
2594 * yow.c (yow): Cast result of malloc and realloc.
2595 (malloc, realloc): Declarations deleted.
2596
71ffc53a
JB
25972003-02-11 Juanma Barranquero <lektu@terra.es>
2598
2599 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2600
0dfd93c0
AS
26012003-02-08 Andreas Schwab <schwab@suse.de>
2602
2603 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2604 instead of the substitution.
2605
37d1e680
RS
26062003-02-04 Richard M. Stallman <rms@gnu.org>
2607
2608 * update-game-score.c (push_score, read_scores): Cast values
2609 of malloc and realloc.
2610 (main, lock_file): Avoid assignment inside if.
2611
c60ee5e7
JB
26122003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2613
2614 * Makefile.in: Use @EXEEXT@ for Cygwin.
2615
b24e2dc7
DL
26162003-01-21 Dave Love <fx@gnu.org>
2617
2618 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2619 column-0 `('.
2620
2621 * yow.c: Don't include string.h.
2622
675d000f
RS
26232003-01-20 Richard M. Stallman <rms@gnu.org>
2624
2625 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2626 New targets.
2627
207aa3ff
KS
26282003-01-06 Kim F. Storm <storm@cua.dk>
2629
31fa6595 2630 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2631 All uses changed.
2632
cf6d30d7
AI
26332002-12-18 Andrew Innes <andrewi@gnu.org>
2634
2635 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2636 because GNU make doesn't append when using >> redirection.
2637
f0131492 26382002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2639
2640 * b2m.pl: Make sure every message ends with a blank line, because
2641 some mbox parsers require a blank line before "From " lines.
2642
85cce843
RS
26432002-12-08 Richard M. Stallman <rms@gnu.org>
2644
2645 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2646 (_): Test only HAVE_LIBINTL_H to decide what to do.
2647
2ccc4d34
RS
26482002-12-05 Richard M. Stallman <rms@gnu.org>
2649
2650 * getopt.c: Comment out include of libintl.h or gettext.h.
2651
c5992177
RS
26522002-12-04 Richard M. Stallman <rms@gnu.org>
2653
2654 * Update getopt from gnulib version; changes described below.
2655
2656 * getopt1.c: Conditionally find getopt.h.
2657 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2658
2659 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2660 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2661 (wchar.h): Include, maybe.
10d1d0af 2662 (attribute_hidden): Define if not defined.
c5992177 2663 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2664 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2665 (__getopt_nonoption_flags, nonoption_flags_max_len)
2666 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2667 (SWAP_FLAGS): New definitions.
2668 (exchange): Test USE_NONOPTION_FLAGS.
2669 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2670 (_getopt_internal): Error if argc < 1. New local var print_errors.
2671 Improve test for ambiguous long option.
2672 Add LIBIO support for error message output.
2673 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2674
2675 * getopt.h: Maybe include ctype.h.
2676 Treat __cplusplus like __STDC__.
2677 (decls): Use __ in arg names.
2678
4b5e69bd
SE
26792002-12-02 Stephen Eglen <stephen@gnu.org>
2680
2681 * emacsclient.c (main): Tell user how to start server within Emacs
2682 if socket could not be found.
2683
19fa03f3
RS
26842002-12-02 Richard M. Stallman <rms@gnu.org>
2685
2686 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2687
7be215b4
JB
26882002-11-19 Ben Key <bkey1@tampabay.rr.com>
2689
29f538e6
BK
2690 * makefile.w32-in: Fixed a bug that caused the documentation for
2691 the built in function play-sound-internal not to be included in
2692 /etc/DOC.
7be215b4 2693
1998560a
DL
26942002-11-18 Dave Love <fx@gnu.org>
2695
2696 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2697 fcntl.h, stdarg.h conditionally.
2698 (_GNU_SOURCE, __attribute__): Don't define.
2699 (optarg, optind, opterr): Declare.
2700 (lose, lose_syserr): Use NO_RETURN.
2701 (get_user_id): Use P_.
2702
8b96caf3
RS
27032002-11-17 Richard M. Stallman <rms@gnu.org>
2704
2705 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2706
59daa29a
DL
27072002-11-14 Dave Love <fx@gnu.org>
2708
2709 * movemail.c (pop_retr): Declare comment.
2710
2711 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
2712
2713 * Makefile.in (YACC): Deleted.
2714
f1b443bf
AS
27152002-10-19 Andreas Schwab <schwab@suse.de>
2716
2717 * Makefile.in (${archlibdir}): Always create $(gamedir).
2718 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2719
52402e4f
JB
27202002-10-04 Juanma Barranquero <lektu@terra.es>
2721
2722 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2723
15dab115
MR
27242002-09-30 Markus Rost <rost@math.ohio-state.edu>
2725
2726 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2727 completely.
2728
30be2360
SM
27292002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2730
2731 * emacsclient.c: Remove SYSV support.
2732 (eval, display): New vars.
2733 (longopts): Add --eval and --display.
2734 (decode_options): Add -e and -d processing.
2735 (print_help_and_exit): Update the usage string.
2736 (main): Add support for --eval and --display.
3ecdcd59 2737 (main): Always use /tmp and non-qualified hostname.
30be2360 2738
4208da83
SM
27392002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2740
2741 * emacsserver.c: Remove.
2742
3cf8c6aa
SM
27432002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2744
2745 * emacsclient.c (quote_file_name): Quote \n.
2746 (main): Print a final \n when needed.
2747
880820fe 27482002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2749
2750 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2751 string that cannot be freed.
2752
880820fe 27532002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2754
2755 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2756 auto-detection is enabled and the `::' qualifier is met.
2757 (consider_token, C_entries): Several bugs corrected that tagged
2758 some declarations even though --declarations was not used.
2759 (plainc): New macro.
2760 (C_entries): Use it.
2761 (C_entries): Several cosmetic changes.
2762 (C_entries): Invalidate the token is some cases.
2763
880820fe 27642002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2765
eec54bd7 2766 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2767 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2768 (cjava, cplpl): They are now macros instead of local vars.
2769
880820fe 27702002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2771
2772 * etags.c (HTML_labels): Tag ID= also.
2773
880820fe 27742002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2775
2776 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2777
ecc54057 2778 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2779 (etags_strcasecmp): Like BSD's, for compatibility.
2780 (strcaseeq): Make it into a macro.
2781
2782 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2783 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2784 (pattern): Structure renamed to `regexp', member regex renamed to
2785 pattern.
2786 (node_st): Member pat renamed to regex.
eec54bd7
SM
2787 (pattern); New member force_explicit_name, for future use.
2788 Now always set to true, cannot be reset.
87046df8
FP
2789 (add_regex, regex_tag_multiline, readline): Use it.
2790 (main): Free some global structures.
8ee14629 2791 (fdesc): New member `written'.
e1dbe924 2792 (readline, process_file): Initialize it.
87046df8
FP
2793 (put_entries): Set it.
2794 (main): Use it to create entries for files without tags.
2795 (total_size_of_entries): Do not count invalid tags.
87046df8 2796
02ce3e80
SM
27972002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2798
2799 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2800 for the function name in the usage info.
2801
5fba5c21
CW
28022002-07-31 Colin Walters <walters@gnu.org>
2803
2804 * update-game-score.c (P_): New macro. Use it for all prototypes.
2805 (lose): Don't use varargs.
2806 (lose_syserr): New function.
2807
2808 * update-game-score.c: Change all functions to K&R style.
2809
712eaee0
AS
28102002-07-30 Andreas Schwab <schwab@suse.de>
2811
2812 * Makefile.in (localstatedir): New variable.
2813
f0131492 28142002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2815
2816 * b2m.pl: Fix regexp for finding return address fields.
2817
1e042160
SM
28182002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2819
2820 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2821
f0131492 28222002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2823
02ce3e80 2824 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2825
880820fe 28262002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2827
2828 * b2m.pl: New file.
2829
880820fe 28302002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2831
ecc54057 2832 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2833 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2834 (PHP_functions, PHP_functions, Cobol_paragraphs)
2835 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2836 (prolog_pr, erlang_func, erlang_attribute)
2837 (Perl_functions, Perl_functions, Pascal_functions)
2838 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2839 (get_tag): Prototype changed, all callers changed.
2840
880820fe 28412002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2842
d76132d0
FP
2843 * etags.c: Implement implicit tag names, that is, unnamed tags
2844 whose name is automatically deduced by etags.el. The advantage is
2845 that there is no explicit tag name in most tags, so the size of
2846 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2847 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2848 (make_tag): New function (was the disabled function new_pfnote).
2849 (make_C_tag): Use it.
2850
880820fe 28512002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2852
2853 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2854 (Makefile_targets): Tag variables unless --no-globals.
2855 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2856
880820fe 28572002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2858
2859 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2860 (invalidate_nodes): Bug corrected.
2861 (print_help): Better help for regexps.
2862
7a8940da
JB
28632002-06-13 Juanma Barranquero <lektu@terra.es>
2864
2865 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2866 font-core.elc.
2867
880820fe 28682002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2869
2870 * etags.c: New multi-line regexp and new regexp syntax.
2871 (arg_type): at_icregexp label removed (obsolete).
2872 (pattern): New member multi_line for multi-line regexps.
2873 (filebuf): A global buffer containing the whole file as a string
2874 for multi-line regexp matching.
2875 (need_filebuf): Global flag raised if multi-line regexps used.
2876 (print_help): Document new regexp modifiers, remove references to
2877 obsolete option --ignore-case-regexp.
2878 (main): Do not set regexp syntax and translation table here.
2879 (main): Treat -c option as a backward compatibility hack.
2880 (main, find_entries): Init and free filebuf.
2881 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2882 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2883 (analyse_regex, add_regex): Remove the ignore_case argument, which
2884 is now a modifier to the regexp. All callers changed.
2885 (add_regex): Manage the regexp modifiers.
2886 (regex_tag_multiline): New function. Reads from filebuf.
2887 (readline_internal): If necessary, copy the whole file into filebuf.
2888 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2889
880820fe 28902002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2891
2892 * etags.c (add_regex): Better check for null regexps.
2893 (readline): Check for regex matching null string.
6772c8e1 2894 (find_entries): Reorganization.
6861f0e3 2895
880820fe 28962002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2897
2898 * etags.c (scan_separators): Support all character escape
2899 sequences supported by Gcc.
02ce3e80 2900 (find_entries): Rewind unconditionally.
f0da41a6
FP
2901 (find_entries): Do not call language functions directly, now calls
2902 itself.
e1dbe924 2903 (find_entries): Do general initializations here.
f0da41a6
FP
2904 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2905 (Ada_getit, Pascal_functions, Pascal_functions)
2906 (prolog_skip_comment): Do not do them here.
2907 (readline_internal): Increment lineno here.
2908 (readline): Conditionally undo readline_internal increment.
2909 (readline): Do not return a value.
2910
880820fe 29112002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2912
88c71720 2913 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2914 (enum arg_type): New label at_stdin.
2915 (STDIN): New constant.
2916 (parsing_stdin): New flag.
2917 (longopts): New option --parse-stdin=NAME.
2918 (print_help): Document it.
2919 (main): Handle it.
2920 (process_file): Split into process_file and process_file_name.
2921 (process_file_name): New function.
2922
88c71720 2923 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2924 (TeX_commands): Skip comments.
10d1d0af 2925 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2926 (TEX_cmt): Make it a static char and move it before TeX_commands.
2927 (TeX_commands): Shorten the tag to the brace after the name.
2928 (TeX_commands): Names now include the initial backslash.
2929 (TeX_commands): Names do not include numeric args #n.
2930 (TeX_commands): Correct line char number in tags.
2931 (TEX_tabent, TEX_token): Deleted.
2932 (TeX_commands, TEX_decode_env): Streamlined.
2933
880820fe 29342002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2935
2936 * etags.c (main): Avoid a buffer overrun with sprintf.
2937
a71867c5
RS
29382002-05-30 Richard M. Stallman <rms@gnu.org>
2939
b166dcd8
KC
2940 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2941 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 2942
b7e67db6
PE
29432002-05-26 Paul Eggert <eggert@twinsun.com>
2944
2945 Reinstate the following change from 2002-03-22, which was
2946 inadvertently lost on 2002-04-13.
2947
2948 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2949 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2950 the latter usage.
2951
5f226e2c
EZ
29522002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2953
2954 * pop.c (socket_connection): Move the code to resolve the POP
2955 host right before trying to connect with it.
2956
9021bb49
GM
29572002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2958
2959 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2960 platform.
2961
5167cfda
CW
29622002-04-28 Colin Walters <walters@verbum.org>
2963
2964 * Makefile.in (${archlibdir}): Don't conditionalize on
2965 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2966 or not we have access to the specified game user.
50496bd9 2967
5167cfda
CW
2968 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2969 (main): New argument -d, for specifying directory.
2970 (usage): Document.
02ce3e80 2971 (get_user_id): Compute.
5167cfda
CW
2972 (get_home_dir): Deleted.
2973 (get_prefix): New function, taken from main.
2974 (main): Check whether or not we are running setuid. Move prefix
2975 computation to get_prefix. Don't call getpwent; we don't need to
2976 any more. Instead, move it to get_user_id().
2977
880820fe 29782002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2979
2980 * ebrowse.c (skip_initializer): Return void.
2981
973c3c87
CW
29822002-04-23 Colin Walters <walters@verbum.org>
2983
2984 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2985 space.
2986
880820fe 29872002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2988
ecc54057 2989 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2990 (process_file): Print the tags from the nodes as soon as
2991 possible, and delete the nodes. This brings down the memory
2992 occupancy as etags to almost the same level as when the #line
2993 directives were not parsed.
2994 (free_fdesc): New function.
2995 (find_entries): Use it.
2996 (invalidate_nodes): In etags mode, do not just mark the nodes as
2997 invalid, do delete them.
2998
c901ceff
GM
29992002-04-21 Gerd Moellmann <gerd@gnu.org>
3000
3001 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3002
c42d6dbd
EZ
30032002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3004
3005 * update-game-score.c: Move config.h before the other headers, to
3006 avoid compiler warnings.
3007
880820fe 30082002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
3009
3010 * etags.c (find_entries): Bug fix in list management.
3011
880820fe 30122002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
3013
3014 * etags.c (get_language_from_filename): Add one argument.
3015 (strcaseeq): New function.
10d1d0af 3016 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
3017 comparison if called with appropriate args.
3018 (find_entries): Try with case insensitive match.
3019 (process_file): Bug fixed.
3020
880820fe 30212002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
3022
3023 * etags.c (find_entries): Delete tags previously obtained from
3024 file xxx.c's #line directives when parsing file xxx.y. This is
3025 generally done for automatically generated files containing
3026 #line directives. This handles the case when xxx.y is tagged
3027 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3028 be discarded.
eec54bd7 3029 (language): Add the metasource member. Initializers changed.
c150db23
FP
3030 (invalidate_nodes): New function.
3031 (readline): Discard lines after having found a #line
02ce3e80 3032 directive pointing to an already tagged file. This handles the
c150db23
FP
3033 case when xxx.y is tagged before xxx.c, and the entries of
3034 xxx.c pointing to xxx.y should be discarded.
3035 (fdesc): New structure for keeping track of input files.
3036 (fdesc): Remove `file' member (a string) and use instead a pointer
3037 to a file description structure.
02ce3e80
SM
3038 (curfile, curfiledir, curtagfname, curlang, nocharno)
3039 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 3040 curfdp, pointers to file description structures.
c150db23
FP
3041 (longopts, main, print_help): Use the CTAGS conditional to include
3042 or exclude options that work on etags or ctags only.
02ce3e80
SM
3043 (process_file, find_entries, pfnote, add_node, put_entries)
3044 (readline): Use fdhead and curfdp.
c150db23
FP
3045 (process_file, find_entries): Do not take an arg string, all
3046 callers changed.
3047
3048 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3049 options that are not right for either etags or ctags.
3050
3051 * etags.c (number_len, total_size_of_entries): Define them also
3052 in CTAGS mode, because gcc does not compile all refs away.
3053
e9d1f248
CW
30542002-04-14 Colin Walters <walters@debian.org>
3055
3056 * update-game-score.c (lock_file): If the lock file is older than
3057 an hour, delete it. Reset attempts to zero if we have to break
3058 the lock.
3059
7605f1bd
AS
30602002-04-14 Andreas Schwab <schwab@suse.de>
3061
3062 * update-game-score.c (read_score): Fix type of second parameter
3063 of getdelim to be of type size_t instead of int. Use 0 instead of
3064 ESUCCES.
3065
e82defd1
CW
30662002-04-10 Colin Walters <walters@verbum.org>
3067
ecc54057 3068 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
3069 (MAX_DATA_LEN, MAX_SCORES): New.
3070 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3071 default to ~/.emacs.d/games.
3072 (get_user_id): Don't zero uid in the case where we can't get the
3073 username.
3074 (lose): New function.
3075 (main): Actually use `max', and default it to MAX_SCORES.
3076 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3077 function.
3078 (read_score): Handle the case of reading unamelen characters, then
3079 finishing. Use mktemp if mkstemp isn't available.
3080 (lock_file, unlock_file): Delete unused versions.
3081 (lock_file): Always sleep, even if we unlinked the lock file.
3082
e82defd1
CW
3083 * Makefile.in (gamedir, gameuser): New variables.
3084 (toplevel, UTILITIES): Add update-game-score.
3085 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3086
5795b420
CW
30872002-04-07 Colin Walters <walters@verbum.org>
3088
3089 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3090 (get_user_id): Take struct passwd as an argument.
3091 (get_home_dir): New function.
3092 (main): Read in user information here. Discover home directory if
3093 necessary.
3094 (read_score): Trim newline only in `getline' case.
3095
cd553ffb 30962002-04-05 Colin Walters <walters@debian.org>
c150db23 3097
cd553ffb
CW
3098 * update-game-score.c (toplevel): Include pwd.h.
3099 (struct score_entry): Add username field.
3100 (push_score): Use it.
3101 (get_user_id): New function.
3102 (main): Don't malloc excessively.
3103 (main): Use username field.
3104 (read_score): Read it.
3105 (push_score): Handle it.
07655e62 3106 (write_scores): Write it.
c150db23
FP
3107 (read_score): Handle arbitrary length data.
3108
b74bd4a3
EZ
31092002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3110
3111 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3112
fa8bc89d
GM
31132002-03-29 Gerd Moellmann <gerd@gnu.org>
3114
3115 * ebrowse.c (add_declarator, skip_initializer): New functions.
3116 (declaration): Use them.
3117
dd87b4cc
JR
31182002-03-28 Jason Rumney <jasonr@gnu.org>
3119
3120 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3121
cd553ffb
CW
31222002-03-27 Colin Walters <walters@debian.org>
3123
3124 * update-game-score.c: New file.
3125
dfef6d49
PE
31262002-03-22 Paul Eggert <eggert@twinsun.com>
3127
3128 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3129 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3130 the latter usage.
3131
880820fe 31322002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 3133
4fff90e4 3134 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
3135 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3136 (TeX_commands): Name tags. Correction of old disabled code.
3137
3138 * etags.c (curfiledir, curtagfname): New global variables.
e1dbe924 3139 (process_file): Initialize them.
a13d6523 3140 (readline): Canonicalize the name found in #line directive.
893a741e 3141
4fff90e4 31422002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 3143
893a741e
JR
3144 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3145 compilers that don't optimize out dead code.
3146
880820fe 31472002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
3148
3149 * etags.c: Honour #line directives.
a7c29764 3150 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
3151 (main): Remove some #ifdef in the getopt switch.
3152 (add_node, put_entries): Code added to merge different chunks of
3153 nodes referring to the same file. Currently the tags are just
3154 appended, without any check for duplicates.
3155 (Perl_functions): Do not special case ctags.
3156 (readline): Identify #line directives and do the right thing.
3157 (nocharno, invalidcharno): New global vars.
3158 (process_file): Reset nocharno.
3159 (readline): Set nocharno.
3160 (pfnote): Read nocharno and maybe put invalidcharno in node.
3161 (total_size_of_entries, put_entries): Use invalidcharno.
3162
3163 * etags.c: Keep the whole tag table in memory, even in etags mode.
3164 (main): Call put_entries here even in CTAGS mode.
3165 (main, process_file): Check the return values of fclose and pclose.
3166 (process_file): Do not call put_entries after parsing each file.
333f9019 3167 (process_file): Canonicalize file names even for ctags.
51aeded3
FP
3168 (process_file): Set curfile here...
3169 (find_entries): ... not here any more.
3170 (add_node): In etags mode, build a linked list of entries (on
3171 right pointer) for each file, and link the first entry of each
3172 file on left nodes.
3173 (put_entries): Print here the name of the file.
3174 (put_entries): Print the entries starting from the first file.
c150db23 3175 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
3176 mode, make the second work only on the right nodes.
3177
3178 * etags.c: Make all global variables static.
3179
50ce1f62
JB
31802002-02-25 Juanma Barranquero <lektu@terra.es>
3181
3182 * makefile.w32-in (lisp): Add missing backslash.
3183
82a399d2
JR
31842002-02-24 Jason Rumney <jasonr@gnu.org>
3185
3186 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3187 using .elc files.
c4cc8b9a 3188 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
3189 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3190
a279c920
PE
31912002-02-10 Paul Eggert <eggert@twinsun.com>
3192
3193 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3194 disallows the old syntax.
3195
0caa685d
PE
31962002-02-03 Paul Eggert <eggert@twinsun.com>
3197
d7982012 3198 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
3199 (AWK, TMPDIR): Work around portability problem in broken shells that
3200 don't understand `: ${VAR=val}'.
3201 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3202 Prefer the new -k option to the traditional +M -N option.
3203
880820fe 32042002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
3205
3206 * b2m.c (main): Parenthesize assignment when used as truth value
3207 to prevent gcc warnings.
3208
3209 * fakemail.c: Include <config.h>.
3210
880820fe 32112001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
3212
3213 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3214 * yow.c: Include <config.h>.
3215
880820fe 32162001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
3217
3218 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3219 (get_tag): Return a pointer to the tag that is found.
3220
3221 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
3222 (F_takeprec): Rename from takeprec. All callers changed.
3223 (F_getit): Rename from getit. All callers changed.
3224 (nocase_tail): Rename from tail. All callers changed.
3225 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 3226 (L_getit): Simplify by using get_tag.
a60e4de9
FP
3227 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3228 modified LOOKING_AT.
e1dbe924 3229 (notinname): Remove '[' and added ')' to the recognized chars.
a60e4de9
FP
3230 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3231 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3232 Clarified, using strneq or notinname.
3233 (L_isdef, L_isquote): Removed.
3234 (Lisp_functions, L_getit): Clarified.
3235
b166dcd8 3236 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
3237 [HAVE_CONFIG_H]: Let config.h deal with __P.
3238 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3239 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3240 gperf code needs it.
ecc54057
JB
3241 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3242 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
3243 (xmalloc, xrealloc): Use PTR instead of long *.
3244 (bool): Make it a define, not a typedef, for C++ compilers.
3245 (pattern): Members renamed to avoid name clash in some C++ compilers.
3246 (get_language_from_langname): Use const argument.
3247
880820fe 32482001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
3249
3250 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3251
880820fe 32522001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 3253
b8509940
PJ
3254 * emacsserver.c: Conditionally include config.h.
3255
594aa066
PJ
3256 * fakemail.c: Likewise.
3257
e69233c2
PJ
3258 * emacsclient.c: Include "config.h", not <../src/config.h>.
3259 (main): Parenthesize assignment when used as truth value to
3260 prevent gcc warnings.
3261
69bfc389
PJ
3262 * ebrowse.c: Include stdlib.h and string.h conditionally.
3263
e4e34e31
EZ
32642001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3265
3266 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3267
880820fe 32682001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
3269
3270 * test-distrib.c: Fix previous change.
3271
fb5aa7ac
DL
32722001-12-18 Dave Love <fx@gnu.org>
3273
3274 * test-distrib.c: Conditionally include fcntl.h.
3275
3276 * fakemail.c: Include "config.h", not <../src/config.h>.
3277 (_XOPEN_SOURCE): Define as 500.
3278
3279 * emacsserver.c: Include "config.h", not <../src/config.h>.
3280
3281 * cvtmail.c: Include config.h, stdlib.h.
3282 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3283
3284 * yow.c: Conditionally include various headers. Use "epaths.h",
3285 not <../src/epaths.h>.
3286 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3287
880820fe 32882001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 3289
13dc0576 3290 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
3291 (LOOKING_AT): New macro.
3292 (Perl_functions, Python_functions, PHP_functions)
3293 (Scheme_functions, Texinfo_nodes): Use it.
3294 (Perl_functions): Use strneq.
b166dcd8 3295 (prolog_pred): Rename to prolog_pr.
e1dbe924 3296 (prolog_pr): Recognize Prolog rules in addition to predicates.
e94a3679 3297 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 3298 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
3299 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3300
34e39c95
RS
33012001-12-11 Richard M. Stallman <rms@gnu.org>
3302
3303 * Makefile.in (clean): Don't delete ../etc/DOC*.
3304
880820fe 33052001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
3306
3307 * COPYING: Moved back.
3308
76054cc8
AI
33092001-11-30 Andrew Innes <andrewi@gnu.org>
3310
e94a3679
FP
3311 * makefile.w32-in (FACE_SUPPORT):
3312 (MOUSE_SUPPORT):
3313 (FLOAT_SUPPORT):
3314 (WINNT_SUPPORT):
76054cc8
AI
3315 (lisp): Reference .el files instead of .elc files, to simplify
3316 bootstrapping.
3317 ($(DOC)): Change dependency to just `make-docfile'.
3318
880820fe 33192001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
3320
3321 * COPYING: Removed.
3322
e8d6a09b
PE
33232001-11-28 Paul Eggert <eggert@twinsun.com>
3324
3325 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3326
3327 The following changes are derived from suggestions by Bob Chapman
3328 <rechapman@compuserve.com>.
3329
3330 * rcs2log (printlogline): Also allow tab and newline to separate
3331 '(function):' from the rest of a comment.
3332 (reformat the sorted log entries): Require date and author to
3333 match the clumpname.
3334
9a190096
GM
33352001-11-16 Gerd Moellmann <gerd@gnu.org>
3336
3337 * ebrowse.c (matching_regexp): Escape '\\'.
3338
880820fe 33392001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
3340
3341 * Makefile.in: Add support for --program-prefix, --program-suffix
3342 and --program-transform-name options.
3343
6d8f7d5d
RS
33442001-11-03 Richard M. Stallman <rms@gnu.org>
3345
3346 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3347
3348 * movemail.c (popmail): Always pass two args to `error'.
3349
84e70f78
KR
33502001-10-24 Ken Raeburn <raeburn@gnu.org>
3351
3352 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3353 -lhesiod and maybe -lresolv.
3354 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3355 support if it's available.
3356
386ca361
MB
33572001-10-21 Miles Bader <miles@gnu.org>
3358
a3b10252
MB
3359 * make-docfile.c (struct rcsoc_state): New type.
3360 (read_c_string_or_comment): Add SAW_USAGE
386ca361 3361 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
3362 Use a variable of type `rcsoc_state' to hold most of our state.
3363 (put_char): Add STATE parameter, and remove all other parameters
3364 except CH. Use STATE to get access to all needed state.
3365 (scan_keyword_or_put_char): New function.
386ca361
MB
3366 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3367 Don't output a usage-string if there was one in the doc-string.
3368
71431a0e
GM
33692001-10-20 Gerd Moellmann <gerd@gnu.org>
3370
6aa97356 3371 * (Version 21.1 released.)
71431a0e 3372
880820fe 33732001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
3374
3375 * b2m.c: Properly spell the name of Emacs.
3376
945220bd
MB
33772001-10-17 Miles Bader <miles@gnu.org>
3378
3379 * make-docfile.c (put_char): New function.
3380 (read_c_string_or_comment): Strip trailing spaces and newlines.
3381
14242528
MB
33822001-10-16 Miles Bader <miles@gnu.org>
3383
3384 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3385 comments [with `doc:' keyword prefix].
3386
9f5eb4a3
GM
33872001-10-15 Gerd Moellmann <gerd@gnu.org>
3388
3389 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3390 in a C doc comment.
3391
e641b454
GM
33922001-10-13 Gerd Moellmann <gerd@gnu.org>
3393
b166dcd8 3394 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3395 read_c_string. Add parameter COMMENT. Read C-style comments.
3396 (scan_c_file): Handle doc strings in C comments.
3397
967d7793
AI
33982001-10-12 Andrew Innes <andrewi@gnu.org>
3399
3400 * makefile.nt (ALL): Do not include fakemail.
3401
3402 * makefile.w32-in (install): Do not copy fakemail.
3403
d682756a
JR
34042001-10-10 Jason Rumney <jasonr@gnu.org>
3405
07655e62 3406 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3407
07655e62 3408 * makefile.nt (install): Ditto.
d682756a 3409
14a3dff7
GM
34102001-10-09 Gerd Moellmann <gerd@gnu.org>
3411
3412 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3413
95bc7904 3414 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3415
880820fe 34162001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3417
3418 * profile.c: Include config.h, not ../src/config.h.
3419 Include systime.h, not ../src/systime.h.
3420
ab952a4f
GM
34212001-10-05 Gerd Moellmann <gerd@gnu.org>
3422
3423 * Branch for 21.1.
dff28924 3424
12c64503
GM
34252001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3426
3427 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3428 ALIASEE to help work with namespace aliases.
3429 (struct sym): Remove struct member NAMESP_ALIASES.
3430 (namespace_alias_table): New variable.
3431 (make_namespace): Add parameter CONTEXT.
3432 (check_namespace): New function.
3433 (find_namespace): Add parameter CONTEXT.
3434 (check_namespace_alias): New function.
02ce3e80
SM
3435 (register_namespace_alias): Change type of parameter OLD_NAME.
3436 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3437 (check_namespace): New function.
3438 (enter_namespace): Call find_namespace with CONTEXT parameter.
3439 (match_qualified_namespace_alias): New function.
eec54bd7 3440 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3441 While parsing qualified ident or type update namespace context and
12c64503 3442 restore it on exit.
eec54bd7
SM
3443 (parse_qualified_param_ident_or_type): Fix typo in comment.
3444 (globals): Change handling of namespace aliases.
3445 (version): Add year 2001.
12c64503 3446
990e1190
FP
34472001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3448
3449 * etags.c (analyse_regex): If regex_arg is NULL, return
3450 immediately after a call to free_patterns.
3451
f2e7e23e
AS
34522001-09-05 Paul Eggert <eggert@twinsun.com>
3453
3454 * rcs2log (Help, mainline code): Add new option -L FILE.
3455 (Copyright): Update year.
02ce3e80
SM
3456 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3457 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3458 C locale.
3459 (mainline code): Handle nonstandard -u option differently, by
3460 transforming it to standard form. Check for "Working file: ", not
3461 "Working file:". Allow file names with spaces.
3462 (SOH, rlogfile): New shell vars.
dff28924 3463 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3464 rlogfile.
3465
3466 Append ';;' to the last arm of every case statement, for
3467 portability to ancient broken BSD shells.
3468
02ce3e80 3469 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3470 (pository): New var. This fixes some bugs where repositories are
3471 remote, or have trailing slashes.
02ce3e80 3472 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3473 about that possibility.
dff28924 3474 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3475 the output.
dff28924 3476
75c911eb
EZ
34772001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3478
3479 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3480 Suggested by Dave Love <d.love@dl.ac.uk>.
3481
5ae10f4a
EZ
34822001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3483
3484 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3485 * makefile.w32-in (lisp): Ditto.
3486
0e4011d8 34872001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3488
3489 * grep-changelog (parse_changelog): Remove unused local variable.
3490
3491 * grep-changelog (main): Add new option --reverse.
3492 (print_log): Use it.
3493 (parse_changelog): Use it.
3494
3c88ae74
GM
34952001-07-20 Gerd Moellmann <gerd@gnu.org>
3496
3497 * grep-changelog: Remove RCS Id keyword.
3498
41848daa
GM
34992001-07-20 Juanma Barranquero <lektu@terra.es>
3500
6e07c0a5
GM
3501 * grep-changelog (parse_changelog): Add tests for defined values
3502 to quiet warning from Perl 5.005 or above.
177ab8ce 3503 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3504 argument to prevent duplicate headers.
3505
3506 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3507
467f1209
GM
35082001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3509
3510 * emacsclient.c (print_help_and_exit): Fix help message for
3511 +LINE:COLUMN option.
3512
35132000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3514
467f1209
GM
3515 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3516 argument.
3517
bb24c64f
GM
35182001-07-16 Gerd Moellmann <gerd@gnu.org>
3519
3520 * ebrowse.c (main): Check that the output file exists and
3521 is non-empty if invoked with `--append'.
3522
880820fe 35232001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3524
e335b66a
GM
3525 * etags.c (add_regex): Reset the whole newly allocated pattern
3526 buffer instead of the individual members. It's safer and works
ecc54057 3527 with XEmacs.
fa829470 3528
e335b66a 3529 * etags.1: Markups corrected.
fa829470 3530
6da5c7da
GM
35312001-05-08 Gerd Moellmann <gerd@gnu.org>
3532
02ce3e80 3533 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3534
efbecf9d
GM
35352001-05-03 Gerd Moellmann <gerd@gnu.org>
3536
3537 * ebrowse.c (globals): Fix handling of namespace aliases.
3538
f4976ebc
EZ
35392001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3540
3541 * etags.c (print_help): Enclose the regexp in the help text
3542 example in quotes.
3543
23431241
DL
35442001-04-05 Dave Love <fx@gnu.org>
3545
3546 * emacsclient.c (fail): Don't return a value.
fa829470 3547 (main): Cast uid values for sprintf.
23431241 3548
476bf681
GM
35492001-04-03 Gerd Moellmann <gerd@gnu.org>
3550
b3f6107b
GM
3551 * emacsclient.c (fail, main): Don't use implicit int return type.
3552
476bf681
GM
3553 * b2m.c (main): Always return a value.
3554
ef53d75e
GM
35552001-03-02 Gerd Moellmann <gerd@gnu.org>
3556
3557 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3558 freshly allocated object in *LAST_ID.
3559 (read_line): Accept \r\n line endings.
3560
425de386
AI
35612001-02-24 Andrew Innes <andrewi@gnu.org>
3562
3563 * makefile.w32-in: Fix copyright notice.
3564
880820fe 35652001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3566
3567 * etags.c (enum sym_type): New label st_C_template.
3568 (gperf input): Use it for switching to C++ from C.
3569 (consider_token): Do it.
e1dbe924 3570 (C_entries): Initialize typdefcblev to quiet compilers.
c2a642c0 3571 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3572
f6839838
AI
35732001-02-22 Andrew Innes <andrewi@gnu.org>
3574
3575 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3576 VMS header files.
3577 ($(BLD)\profile.obj): Ditto.
3578
3579 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3580 VMS header files.
3581 ($(BLD)/profile.$(O)): Ditto.
3582
193fba87
AI
35832001-02-05 Andrew Innes <andrewi@gnu.org>
3584
3585 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3586 invocation of make-docfile, to work with Windows 2000.
3587
30526cc6
DL
35882001-01-31 Dave Love <fx@gnu.org>
3589
3590 * etags.c (in_word_set): Use `static' in definition (for pcc).
3591
880820fe 35922001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3593
ecc54057 3594 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3595 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3596 (C_entries): Tag token renamed to still_in_token because sunos4
3597 pcc wants to expand it as the token() macro even though it has no
3598 arguments.
3599
914d7258
AI
36002001-01-30 Andrew Innes <andrewi@gnu.org>
3601
3602 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3603 bug in the Mingw32 assert.h header file.
3604
880820fe 36052001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3606
ecc54057
JB
3607 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3608 #define it for the sake of XEmacs.
b28e26be
FP
3609 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3610 HAVE_CONFIG_H. This change only affects a standalone etags.
3611 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3612 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3613 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3614 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3615 WINDOWSNT, as this is the correct way to use it.
3616
880820fe 36172001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3618
3619 * etags.c: Be capable to parse nested struct-like structures.
3620 (structdef, structtag): Struct state machine revisited.
3621 (struct tok): Revisited.
3622 (cstack, nestlev, instruct): New struct and macros.
3623 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3624 for dealing with nested class names.
8c463abe
FP
3625 (consider_token, make_C_tag, C_entries): Many changes for dealing
3626 with arbitrarily nested structures.
3627 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3628 (C_entries): Consider templates in C++.
3629 (sym_type): New constant st_C_class for detecting "class" also in
3630 C mode.
3631 (C_AUTO): New macro for automatic detection of C++.
3632 (consider_token): Automatic set C++ mode.
3633 (C_entries): New security check for yacc.
3634 (print_language_names, print_help): Mention the autodetect
07655e62 3635 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3636 (C_entries): Tag C++ forward declarations if --declarations.
3637 (C_entries): Don't be fooled by things like XDEFUN.
3638 (consider_token): Discard asm pseudo function.
3639
e26f9ced
EZ
36402001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3641
3642 * etags.c: Add a coding: tag.
3643
a47b7816
GM
36442001-01-26 Gerd Moellmann <gerd@gnu.org>
3645
8c463abe 3646 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3647 New variables.
3648 (matching_regexp): Use them instead of static variables in
3649 function scope.
3650
880820fe 36512001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3652
b166dcd8
KC
3653 * etags.c (struct tok): Rename from struct token.
3654 (token): Rename from tok.
d22a24fa
FP
3655 (structtype): Make it a local variable.
3656 [DEBUG]: Use assert.
3657 (xrnew): Change the synopsis.
b166dcd8 3658 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3659 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3660 (token): Buffer renamed to line.
d22a24fa 3661 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3662 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3663 (linebuffer_setlen): Was grow_buffer, now also sets len.
3664 (consider_token, C_entries, Pascal_functions): Use it.
3665 (C_entries): Preventing problems relative to extern "C".
3666 (C_entries): Can tag more than one variable or func separated by
3667 comma when --declarations is used.
3668 (C_entries): More accurate tagging of members and declarations.
3669 (yacc_rules): Was global, made local to C_entries.
3670 (next_token_is_func): Removed.
3671 (fvdef): New constants fdefunkey, fdefunname.
3672 (consider_token, C_entries): Use them.
3673 (C_entries): Build proper lisp names for Emacs DEFUNs.
3674
21c2bbe0
GM
36752001-01-22 Gerd Moellmann <gerd@gnu.org>
3676
3677 * ebrowse.c (xfree): New function.
3678 (member, declaration, globals): Use xmalloc instead of alloca.
3679
880820fe 36802001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3681
3682 * etags.c (print_language_names): Print filenames in addition to
3683 suffixes.
3684
880820fe 36852001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3686
b166dcd8 3687 * etags.c (get_language_from_langname): Rename from
47df1a5e 3688 get_language_from_name.
b166dcd8 3689 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3690 Now first looks for the complete file name.
47df1a5e
EZ
3691 (language): New member char **filenames.
3692 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3693 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3694 for makefiles.
13dc0576 3695 (Makefile_targets): New function.
c5e87d10 3696 (Texinfo_nodes): Rename from Texinfo_functions and made
47df1a5e
EZ
3697 it conformant to the style of the rest of the code.
3698
291c7e74
GM
36992001-01-13 Gerd Moellmann <gerd@gnu.org>
3700
3701 * make-docfile.c (write_c_args): Print newlines as spaces.
3702
0dac6924
AI
37032001-01-06 Andrew Innes <andrewi@gnu.org>
3704
3705 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3706 of *.pdb.
3707
3e99d3b4
GM
37082001-01-03 Paul Eggert <eggert@twinsun.com>
3709
290afd83 3710 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3711 cause user of rcs2log to overwrite arbitrary files, fixing
3712 a bug reported by Morten Welinder.
3713
3714 Don't put "exit 1" at the end of the exit trap; it's
3715 ineffective in POSIX shells.
3716
d6bb0c0d
GM
37172001-01-02 Gerd Moellmann <gerd@gnu.org>
3718
eec54bd7
SM
3719 * ebrowse.c (yyerror): Change to take two arguments.
3720 Add prototype. Change callers.
d6bb0c0d 3721
d5c00476 37222001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3723
3724 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3725 compiler warnings.
3726 (yyerror): Change parameter declarations to be of type long, so
3727 that they can take pointers on 64-bit platforms.
3728
3729 * emacsclient.c (main): Remove unused local variable statbfr.
3730 (main) <homedir>: Make its declaration conditional on
3731 SERVER_HOME_DIR, to avoid compiler warnings.
3732
3733 * emacsserver.c (main) <homedir>: Make its declaration conditional
3734 on SERVER_HOME_DIR, to avoid compiler warnings.
3735
3736 * fakemail.c (readline): Cast buffer to "long *" to pacify
3737 over-zealous compilers.
3738
7c89ea61
EZ
37392000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3740
3741 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3742
a6768cc5
GM
37432000-12-15 Gerd Moellmann <gerd@gnu.org>
3744
3745 * ebrowse.c (operator_name): Cast argument of isalpha to
3746 unsigned char.
3747
3748 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3749 Use them throughout instead of ctype functions/macros.
3750 (lowcase): Cast to unsigned char.
3751 (UPCASE): New macro.
3752 (canonicalize_filename): Use UPCASE instead toupper.
3753
3754 * fakemail.c (get_keyword): Make sure that isspace and
3755 similar aren't called with a negative argument.
3756
70de49cc
DL
37572000-12-13 Dave Love <fx@gnu.org>
3758
3759 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3760
4e8b894c
AI
37612000-12-06 Andrew Innes <andrewi@gnu.org>
3762
3763 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3764 don't know the real version, and I can't seem to get the quoting
3765 right in all circumstances.
3766
3767 * ebrowse.c (VERSION): Provide default definition, like etags.c
3768 does, because Windows build can't snarf this from version.el.
3769
88257bc8
AI
37702000-11-30 Andrew Innes <andrewi@gnu.org>
3771
3772 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3773 (install): Ditto.
3774
d19249e7
JR
37752000-11-23 Jason Rumney <jasonr@gnu.org>
3776
3777 * makefile.w32-in: Add targets for ebrowse.exe.
3778 (LOCAL_FLAGS): Add -DVERSION flag.
3779
7df6adc3
DL
37802000-09-25 Dave Love <fx@gnu.org>
3781
3782 * sorted-doc.c: Include config.h.
3783 [!HAVE_STDLIB_H]: Declare malloc.
3784
fe83b953
AI
37852000-09-14 Andrew Innes <andrewi@gnu.org>
3786
3787 * makefile.w32-in: Revert to Unix line endings.
3788
517699ca
DL
37892000-09-04 Dave Love <fx@gnu.org>
3790
3791 * movemail.c (index, rindex): Prototype conditionally.
3792
f8803e97
AI
37932000-09-03 Andrew Innes <andrewi@gnu.org>
3794
3795 * makefile.w32-in: Change to DOS line endings.
3796
f72adc12
EZ
37972000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3798
4034f3a8 3799 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3800 [!F_OK]: Provide default definitions only after including both
3801 fcntl.h and unistd.h.
3802
f678f592
DL
38032000-08-29 Dave Love <fx@gnu.org>
3804
3805 * movemail.c: Revert previous change.
3806
5b671d04
EZ
38072000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3808
3809 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3810
6fa86045
DL
38112000-08-28 Dave Love <fx@gnu.org>
3812
3813 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3814 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3815
746d9caf
AI
38162000-08-22 Andrew Innes <andrewi@gnu.org>
3817
3818 * ntlib.h (WIN32): Remove unnecessary definition.
3819 (sleep): Make argument unsigned long.
3820 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3821
3822 * ntlib.c (sleep): Make argument unsigned long.
3823
3824 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3825
3826 * makefile.w32-in: New file.
3827
3b541489
EZ
38282000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3829
3830 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3831 letter only if it is a drive letter.
3832
e5acf0ca
GM
38332000-07-14 Gerd Moellmann <gerd@gnu.org>
3834
b166dcd8 3835 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3836
3837 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3838 by alloca.o.
3839
02ce3e80 3840 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3841
4b92c49a
GM
38422000-07-10 Gerd Moellmann <gerd@gnu.org>
3843
3844 * ebrowse.c (yylex): Accept string literals with newlines in them.
3845 (process_pp_line): Handle case of string literal with newline
3846 in it in replacement text, which counts as continuing the
3847 replacement text in GNU C.
3848
831a6cb0
GM
38492000-07-02 Gerd Moellmann <gerd@gnu.org>
3850
3851 * ebrowse.c (token_string): Add missing tokens.
3852 (parm_list): Handle case of qualified pointers.
3853
53245ee2
DL
38542000-06-23 Dave Love <fx@gnu.org>
3855
3856 * ebrowse.c: Move config.h before other includes (which may use
3857 feature tests).
3858
dcbf2cd2
JM
38592000-06-14 Jim Meyering <meyering@lucent.com>
3860
3861 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3862
f1c7754a
JR
38632000-06-11 Jason Rumney <jasonr@gnu.org>
3864
3865 * makefile.nt: Add targets for ebrowse.
3866
3867 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3868 compare filenames.
3869
5f1aea9a
GM
38702000-06-06 Gerd Moellmann <gerd@gnu.org>
3871
b166dcd8
KC
3872 * ebrowse.c (ymalloc): Rename from xmalloc.
3873 (yrealloc): Rename from xrealloc.
5f1aea9a 3874
5bf244f1
DL
38752000-05-21 Dave Love <fx@gnu.org>
3876
3877 * movemail.c: Include config.h, not ../src/config.h.
3878 (Errmsg): Bump length.
3879
3880 * pop.c (ERROR_MAX): Increase to 160.
3881
ec82fb2f
GM
38822000-05-04 Gerd Moellmann <gerd@gnu.org>
3883
3884 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3885
5c922ea7
EZ
38862000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3887
02ce3e80
SM
3888 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3889 Define to semi-colon.
5c922ea7 3890 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3891 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3892 (process_file): Don't assume that fread always reads as many bytes
3893 as it was told to (DOS-style CR-LF text files fail this logic).
3894 (open_file): Allocate enough space for path->path plus the file
3895 name and the slash.
3896
6142fdcb 38972000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3898
3899 * etags.c (Texinfo_functions): New function.
3900 (lang_names): Install it.
3901 (Texinfo_suffixes): New variable.
3902
cb9215e4
GM
39032000-04-19 Gerd Moellmann <gerd@gnu.org>
3904
3905 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3906 (declaration): Remove parameter IS_EXTERN.
3907 (class_definition): Remove unused variable.
3908
be0dbdab
GM
39092000-04-09 Gerd Moellmann <gerd@gnu.org>
3910
3911 * Makefile.in (INSTALLABLES): Add ebrowse.
3912 (ebrowse): New target.
3913
3914 * ebrowse.c: New file.
3915
c5aa0fc2
AS
39162000-03-29 Andreas Schwab <schwab@suse.de>
3917
3918 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3919
d054101f
GM
39202000-03-02 Gerd Moellmann <gerd@gnu.org>
3921
07e99590 3922 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3923
880820fe 39242000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3925
eec54bd7 3926 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3927 space, and use it throughout in place of isspace, thus preventing a
3928 potential signed char to int conversion problem.
10d1d0af 3929 (MSDOS): #undefine before redefining.
71cbb895 3930
880820fe 39312000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3932
3933 * etags.c (many functions): Add prototypes.
3934
97fa0cc8
DL
39352000-02-10 Dave Love <fx@gnu.org>
3936
3937 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3938 (erlang_func): Add `static' to definitions to keep pcc happy.
3939
880820fe 39402000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3941
3942 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3943 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3944 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3945 (getenv, getcwd): Only declare them if necessary.
3946 (EMACS_NAME): New constant macro.
3947 (print_version): Use it.
3948 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3949
19e262bd 39502000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3951
3952 * etags.c [WINDOWSNT]: #include <direct.h>
3953
19e262bd 39542000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3955
19e262bd
FP
3956 * etags.c (all functions): Made them static.
3957 (all functions): Write prototypes.
e4100b7f 3958
55e30d2a
RS
39592000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3960
3961 * movemail.c (main): Improve error message if can't create lock file.
3962
c60ee5e7 39632000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3964
3965 * emacsclient.c (socket_status): New function.
02ce3e80 3966 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3967 for a socket based on the UID associated with the name.
3968
e4936aa9
GM
39692000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3970
3971 * emacsclient.c: Add option -a EDITOR and environment variable
3972 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3973
f0131492 39741999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3975
3976 * movemail.c (popmail): Allow mailbox specifications of the
3977 form `po:username:hostname'.
3978
880820fe 39791999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3980
3981 * etags.c (_GNU_SOURCE): Define only if undefined.
3982 (get_scheme): Declaration deleted.
02ce3e80 3983 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3984 a char pointer.
3985 (canonicalize_filename): Bug removed.
3986
39871999-11-18 Dave Love <d.love@dl.ac.uk>
3988
3989 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3990 lossage from name clash with macro.
3991
b05d3bee
GM
39921999-11-13 Gerd Moellmann <gerd@gnu.org>
3993
3994 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3995
cb3a6c48
GM
39961999-11-03 Gerd Moellmann <gerd@gnu.org>
3997
3998 * etags.c (print_help): Change email address to send bugs to.
3999
6088b51f 40001999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4001
4002 * etags.c: Add suffix psw for PSWrap.
4003 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4004 (Postscript_functions): Add code for PSWrap.
4005 (Scheme_functions): Use local pointer and new get_tag function.
4006 (get_tag): New name for old get_scheme.
4007 (process_file): Do not free NULL when file does not exist.
4008 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4009 (C_entries): Modifications that make --members tag even inside
4010 typedefs and C nested structs (one level only).
eec54bd7 4011 (consider_token): Correct a bug which prevented tagging of enum
1c478461 4012 constants.
eec54bd7 4013 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
4014 st_C_ignore. This makes it simpler to work when cblev!=0.
4015
02ce3e80 4016 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
4017 --declarations is used.
4018
4019 * etags.c (C_entries, consider_token): C++ `operator' now is
4020 tagged in most cases.
e1dbe924 4021 As before, :: is not recognized if surrounded by spaces.
1c478461
FP
4022
4023 * etags.c (relative_filename): Account for DOS file names such
4024 that is impossible to make one relative to another.
4025
4026 * etags.c (sym_type): New st_C_extern tag.
4027 (gperf input): Use it for spotting external declarations.
a7c29764 4028 (print_help): Document the new behavior of --declarations.
1c478461
FP
4029 (fvextern): New global variable.
4030 (consider_token, C_entries): Use it.
4031
4032 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4033 (etags_getcwd): Remove test for WINDOWSNT.
4034
4035 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4036 foo.cgz, foo.cz, etc.
4037
4038 * etags.c (declarations): New global switch.
4039 (longopts): Describe it.
4040 (print_help): Document it.
4041 (C_entries): Use it.
4042 (process_file): Don't process a file twice.
4043
4044 * etags.c (Fortran_functions): No tags for "procedure".
4045
40461999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4047
4048 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4049 non-zero, returns a pointer to where the extension begins; callers
4050 changed.
4051 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4052 were foo.c.gz.
4053
880820fe 40541999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4055
4056 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4057 (fvdev): New constant foperator.
4058 (consider_token): Use it to get "operator" in C++.
4059 (C_entries): Extend length of operator@ function name.
4060 (C_entries): Use foperator when necessary.
4061
4062 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4063
4064 * etags.c (compressor): New struct for compressed files.
4065 (get_compressor_from_suffix): New function.
4066 (get_language_from_suffix): Use it. Also, semantics changed.
4067 (process_file): Consider compressed files, close file.
4068 (find_entries): Use different call arg for get_language_from_suffix,
4069 don't close file.
4070
4071 * etags.c (main): Call free_tree.
4072 (find_entries): Do not free curfile.
4073 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4074 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4075 comparing.
4076 (canonicalize_filename): Shut up compiler warning.
4077 (Perl_functions): Make tag significant.
4078
40791999-11-01 Dave Love <d.love@dl.ac.uk>
4080
4081 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4082 (argument_type): New member at_icregexp.
4083 (lc_trans): New global.
4084 (main): Fill lc_trans. Process -c args.
4085 (add_regex): New arg determining whether to use translation table.
4086 (analyse_regex): New arg. Use it for add_regex.
4087
880820fe 40881999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4089
4090 * etags.c (init): Cosmetic change: NULL --> '\0'.
4091 (erlang_attribute): Bug corrected (uninitialized variable).
4092 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 4093 corrects a bug. All callers changed.
1c478461
FP
4094 (canonicalize_filename): New function.
4095 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 4096 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 4097 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 4098 compilers quiet.
1c478461
FP
4099 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4100
4101 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4102 (language): New typedef (was struct lang_entry).
4103 (curlang): New global variable.
02ce3e80 4104 (node): Typedef renamed from NODE.
1c478461
FP
4105 (linebuffer): New typedef (was struct linebuffer).
4106 (pattern): New typedef (was struct pattern). Some members added.
4107 Now used as element of a linked list.
4108 (patterns, num_patterns): Global variables deleted.
4109 (p_head): New global variable.
a64387ee 4110 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
4111 (get_language_from_name, get_language_from_interpreter)
4112 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 4113 (last_node): New global variable.
02ce3e80
SM
4114 (free_tree, add_node, put_entries, total_size_of_entries):
4115 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
4116 (number_len): Rewritten for elegance.
4117 (token): New typedef replaces TOKEN.
4118 (analyse_regex, add_regex): Rewritten for new functionality.
4119 (free_patterns): New function called from main and add_regex.
4120 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 4121 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
4122 (readline): Rewritten for new functionality.
4123
ecc54057 4124 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
4125 (print_help): --globals is now used for more than C-type languages.
4126 (Perl_functions): Tag global variables ("my" and "local").
4127
4128 * etags.c (print_help): Some messages clarified.
4129 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
4130 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4131 (Python_functions, Cobol_paragraphs, Pascal_functions)
4132 (Lisp_functions, Postscript_functions, Scheme_functions)
4133 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4134 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4135 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
4136 of the global variable dbp.
4137 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4138 standard indentation.
4139
02ce3e80
SM
4140 * etags.c (Python_suffixes, lang_names, Python_functions):
4141 Python support.
1c478461 4142 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
4143 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4144 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4145 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
4146 (eat_white): Deleted.
4147
4148 * etags.c (CHAR, init): Keep into account non US-ASCII
4149 characters and compilers with default signed chars.
4150 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4151 constructs.
ecc54057 4152 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 4153
ecc54057 4154 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
4155 (main): Put interval syntax here.
4156 (add_regex): And remove it from here.
4157
4158 * etags.c (suggest_asking_for_help): Provide a
4159 meaningful help message with and without LONG_OPTIONS.
4160
d07529f3 4161 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
4162 <stdlib.h, string.h>: Don't test MSDOS when including them.
4163 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4164 (put_entries): Correctly use %ld instead of %d in printf.
4165
d07529f3 4166 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
4167 declare getcwd if HAVE_GETCWD.
4168 (consider_token): Dead break instruction removed.
4169
4ee9629e
PE
41701999-10-19 Paul Eggert <eggert@twinsun.com>
4171
4172 Add support for large files. Merge glibc 2.1.2.
1c478461 4173
4ee9629e 4174 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 4175 * movemail.c, pop.c:
4ee9629e
PE
4176 Do not include <stdlib.h>, as <config.h> does this now.
4177
4178 * b2m.c, emacsserver.c, etags.c, profile.c:
4179 Include <config.h> before any system include files.
1c478461 4180
4ee9629e 4181 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 4182 * test-distrib.c:
4ee9629e
PE
4183 (read, write, open, close): Do not undef.
4184
4185 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4186 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4187
4188 * getopt.h: Adopt glibc 2.1.2.
1c478461 4189
93c8d183
DL
41901999-10-15 Dave Love <fx@gnu.org>
4191
4192 * Makefile.in (pop.o): Depend on config.h.
4193
b358f91c
GM
41941999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4195
4196 * pop.c: Use "pop3" as the POP service name on all platforms,
4197 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4198 has been the standard service name since RFC 1340 was published in
4199 July 1992, so I think it's safe to start using it by default.
4200
362bc2da
DL
42011999-09-27 Dave Love <fx@gnu.org>
4202
4203 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4204
74e4cb59
PR
42051999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4206
4207 * make-docfile.c (scan_lisp_file): Fix previous changes;
4208 swallow CRLF like just CR or just LF.
4209
362bc2da
DL
42101999-09-03 Richard Stallman <rms@gnu.org>
4211
4212 * make-docfile.c: Include config.h not ../src/config.h.
4213 (main, fopen, chdir): Add #undef.
4214 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4215 (scan_lisp_file): Handle \r like \n.
4216
42171999-08-30 Andreas Schwab <schwab@gnu.org>
4218
4219 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4220
4221 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4222 errno if it's a macro.
4223
4224 * test-distrib.c: Include <unistd.h> if available.
4225
42261999-08-29 Richard Stallman <rms@gnu.org>
4227
4228 * emacsclient.c (print_help_and_exit): Mention --version.
4229
42301999-08-25 Richard M. Stallman <rms@gnu.org>
4231
4232 * emacsclient.c (decode_options): Update version output.
4233 (print_help_and_exit): Update bug report address.
4234
42351999-08-13 Richard M. Stallman <rms@gnu.org>
4236
4237 * emacsclient.c (main): Move the dynamic allocation of
4238 system_name outside of the SERVER_HOME_DIR conditional.
4239 * emacsserver.c (main): Likewise.
4240
42411999-08-10 Gerd Moellmann <gerd@gnu.org>
4242
4243 * grep-changelog: New.
4244 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4245
42461999-07-12 Richard Stallman <rms@gnu.org>
4247
4248 * Version 20.4 released.
4249
42501999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4251
1c478461 4252 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
4253
42541999-06-23 Dave Love <fx@gnu.org>
4255
4256 * etags.c (erlang_attribute): Fix undefined variable usage (after
4257 Potorti).
4258
86e888c2 42591999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
4260
4261 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4262 mapped to _chsize.
4263
42641999-04-29 Richard M. Stallman <rms@gnu.org>
4265
4266 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4267
42681999-03-30 Dave Love <fx@gnu.org>
4269
4270 * sorted-doc.c (main): Split up tables. Modify the preamble
4271 somewhat.
4272
42731999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4274
4275 * makefile.nt: Remove common multiple file compilation commands.
4276
42771999-02-26 Richard Stallman <rms@gnu.org>
4278
362bc2da
DL
4279 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4280
4281 * yow.c: Refer to epaths.h.
4282
42831999-02-22 Simon Josefsson <jas@pdc.kth.se>
4284
4285 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4286
42871999-01-27 Andrew Innes <andrewi@gnu.org>
4288
4289 * makefile.nt: Do make version comparison as strings.
4290
42911999-01-25 Richard Stallman <rms@gnu.org>
4292
4293 * emacsclient.c (xmalloc): Fix previous change.
4294
42951999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4296
4297 * emacsclient.c (xmalloc): Declare to return long.
4298
42991999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4300
4301 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4302 the case of the drive letter.
4303
43041999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4305
4306 * emacsserver.c (main): Eliminate arbitrary limit on
4307 length of system_name.
4308
4309 * emacsclient.c (main): Eliminate arbitrary limit on
4310 length of system_name.
4311 (xmalloc): Define unconditionally.
4312
43131999-01-12 Darrin B. Jewell <jewell@mit.edu>
4314
4315 * etags.c (relative_filename): Stop backward search at beginning
4316 of string, since non-Unix systems can have absolute paths with no
4317 initial slash.
4318
43191998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4320
b0b19974 4321 * makefile.nt: Do string comparison of _NMAKE_VER.
362bc2da 4322
c60ee5e7 43231998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
4324
4325 * makefile.nt: Compile multiple source files when possible.
4326
43271998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4328
4329 * Makefile.in: Replace tabs with spaces
4330 when they might confuse some Make versions.
4331
43321998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4333
4334 * emacsclient.c (main): Null-terminate system_name.
4335
4336 * emacsserver.c (main): Null-terminate system_name.
4337
43381998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4339
4340 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4341 an error message from POP, mention that it's from POP, to
4342 distinguish it from local error messages.
4343
43441998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4345
4346 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4347 order of messages downloaded from a POP server (e.g., if the
4348 server stores messages in mailboxes in reverse order).
4349
43501998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4351
4352 * Version 20.3 released.
4353
43541998-08-11 Paul Eggert <eggert@twinsun.com>
4355
4356 * rcs2log: Update copyright date and bug report address.
4357 (initialize_fullname): Prefer getent if available.
4358
43591998-07-30 Paul Eggert <eggert@twinsun.com>
4360
290afd83 4361 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 4362 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 4363
362bc2da
DL
43641998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4365
4366 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4367
43681998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4369
4370 * Makefile.in: Properly terminate a comment.
4371
43721998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4373
4374 * movemail.c (sys_wait): Rename to wait.
4375
4376 * ntlib.h: Undefine _WINSOCKAPI_.
4377
4378 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4379
43801998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4381
4382 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4383
43841998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4385
b166dcd8
KC
4386 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4387 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4388
43891998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4390
4391 * make-docfile.c: Include <unistd.h> for chdir.
4392
43931998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4394
4395 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4396
43971998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4398
4399 * makefile.nt (obj): Update with new files in src.
4400 (clean): Delete patch scratch files, optimized compilation dir.
4401
44021998-04-08 Dave Love <fx@gnu.org>
4403
4404 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4405 Irix6, at least.
4406
44071998-04-06 Andreas Schwab <schwab@gnu.org>
4408
4409 Silence -Wimplicit:
4410 * movemail.c: Move cancelations up. Include <stdlib.h> if
4411 available.
4412 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4413 (parse_header): Explicitly declare return type.
4414 * emacsserver.c: Include <unistd.h> if available.
4415 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4416 return types. Add forward declarations.
4417 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4418 Don't declare geteuid.
b166dcd8
KC
4419 (print_help_and_exit): Change return type to void.
4420 Forward declare it.
362bc2da
DL
4421 * b2m.c: Include <stdlib.h> if available.
4422 (main): Explicitly declare return type.
4423
362bc2da
DL
44241998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4425
4426 * etags.c (put_entries): Use %ld.
4427
4428 * b2m.c (fatal): Declare the arg.
4429
44301998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4431
b166dcd8 4432 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4433
44341998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4435
4436 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4437 for the utilities.
4438
44391998-01-23 Dave Love <d.love@dl.ac.uk>
4440
4441 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4442 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4443 Always make named tags.
4444 (Fortran_functions): Grok BLOCK DATA.
4445
44461998-01-23 Andreas Schwab <schwab@gnu.org>
4447
4448 * movemail.c (main): Fix interwoven brace and cpp conditional
4449 nesting.
4450
362bc2da
DL
44511997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4452
cb438d6e
JB
4453 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4454 with a '>' any lines starting with "From " read from the POP server,
4455 but leave the code in place, wrapped in #ifdef
362bc2da 4456 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4457 because it turns out that something is depending on it.
4458 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4459 Convert the character \037 (^_) at the beginning of a line into
4460 the character '^' followed by the character '_', because otherwise
4461 Emacs can't parse the resulting file as a valid BABYL file.
4462 Change suggested by Paul Eggert <eggert@twinsun.com>.
4463
44641997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4465
4466 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4467 server to contain embedded nulls.
4468
44691997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4470
362bc2da
DL
4471 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4472 quotes with a '>' any lines starting with "From " read from the
4473 POP server, but leave the code in place, wrapped in #ifdef
4474 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4475 because it turns out that something is depending on it.
4476 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4477
4478 Convert the character \037 (^_) at the beginning of a line into
4479 the character '^' followed by the character '_', because otherwise
4480 Emacs can't parse the resulting file as a valid BABYL file.
4481 Change suggested by Paul Eggert <eggert@twinsun.com>.
4482
44831997-11-22 Richard Stallman <rms@gnu.org>
4484
4485 * b2m.c: Include getopt.h.
4486 (main): Use getopt_long to handle --version and --help.
4487
4488 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4489
44901997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4491
b166dcd8
KC
4492 * pop.c (fullwrite): Get rid of an extra call to write.
4493 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4494
44951997-10-16 Dave Love <d.love@dl.ac.uk>
4496
ecc54057
JB
4497 * etags.c (L_getit): Always make named tags so that Emacs
4498 completion on symbols containing `:' etc. works.
4499 (get_scheme): Likewise.
362bc2da
DL
4500
45011997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4502
4503 * pop.c: Use system header files instead of declaring C-library
4504 functions explicitly.
4505
45061997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4507
4508 * Version 20.2 released.
4509
45101997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4511
4512 * Version 20.1 released.
4513
45141997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4515
4516 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4517
4518 * ntlib.c (getpid): Delete function.
4519
45201997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4521
4522 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4523
45241997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4525
4526 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4527 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4528
45291997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4530
4531 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4532
45331997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4534
4535 * profile.c (get_time): Cast arg to fprintf.
4536
4537 * hexl.c (main): Use %08lx instead of %08x in printf because the
4538 variable named addresses is long.
4539
45401997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4541
4542 * makefile.nt (lisp): Update paths to lisp files that have moved.
4543
45441997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4545
4546 * makefile.nt (ctags.obj): New target.
4547 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4548
4549 * ntlib.h: Add includes.
4550 Undo definitions of crt routines from config.h.
4551
45521997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4553
4554 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4555
45561997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4557
4558 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4559 Kerberos V5 for movemail, including detection of V4 and V5 header
4560 files and libraries.
362bc2da 4561 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4562 declarations of string functions.
362bc2da 4563 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4564 V5 API rather than the old one.
362bc2da 4565 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4566 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4567 with a constant in a header file.
362bc2da
DL
4568
4569 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4570 Kerberos V5 for movemail, including detection of V4 and V5 header
4571 files and libraries.
362bc2da
DL
4572
45731997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4574
4575 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4576
4577 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4578
362bc2da
DL
45791997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4580
4581 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4582
45831997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4584
4585 * movemail.c (rindex): Add declaration.
4586
d57727c9 45871997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4588
4589 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4590 (movemail.exe): Depend upon and link with getopt files.
4591 (obj): Include new source files.
4592 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4593 (lisp): Include new and reorganized elisp files.
4594
45951997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4596
4597 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4598
45991997-06-25 Paul Eggert <eggert@twinsun.com>
4600
4601 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4602
46031997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4604
4605 * b2m.c (readline): Terminate buffer properly when EOF seen.
4606 Test for valid pointer before dereferencing it.
4607
880820fe 46081997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4609
4610 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4611 defined inside etags.c if HAVE_CONFIG_H is defined.
4612
880820fe 46131997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4614
ecc54057 4615 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4616 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4617 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4618 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4619 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4620 (longopts): New long options without short counterpart are
4621 globals, members, no-globals, no-members. Regexp options are now
4622 defined conditionally to ETAGS_REGEXPS.
4623 (print_help): Updated.
4624
880820fe 46251997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4626
4627 * etags.c (C_entries): Use "." instead of "::" for Java.
4628 (consider_token): is_func renamed to is_func_or_var.
4629 (C_entries): is_func renamed to funorvar.
e1dbe924 4630 (C_entries): Initialize tok.named.
362bc2da
DL
4631 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4632 get rid of "import", "package" and "friend".
b166dcd8
KC
4633 (fvdef): Rename from funcdef. Also some constants renamed.
4634 All users changed.
362bc2da
DL
4635 (C_entries): Make separate tags for variables separated by comma.
4636 (globals, members): New flags.
4637 (main, C_entries): Use them.
4638 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4639
880820fe 46401997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4641
4642 * etags.c (funcdef): New vignore constant.
4643 (consider_token, C_entries): Use it to tag global variables.
4644 (print_help): Update for global variables.
4645 (consider_token, C_entries): Set the len member of token_name.
4646 (prolog_pred): Cleanup according to GNU coding standards.
4647 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4648 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4649
880820fe 46501997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4651
4652 * etags.c (CHARS, CHAR): New constant and macro.
4653 (iswhite, begtoken, intoken, endtoken): Use them.
4654 (notinname, _nin, nonam): New macro, array, string.
4655 (init): Cleanup and init _nin.
4656 (new_pfnote): New function.
4657 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4658 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4659
880820fe 46601997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4661
4662 * etags.c (C_entries, Pascal_functions): Cleanup.
4663 (TeX_functions): NULL as a function arg needs a cast.
4664 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4665
880820fe 46661997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4667
4668 * etags.c (TeX_functions): Cleaned up.
4669 (tex_getit): Removed.
4670
46711997-05-13 Paul Eggert <eggert@twinsun.com>
4672
4673 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4674 non-files within the RCS subdirectory.
362bc2da 4675
880820fe 46761997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4677
4678 * etags.c (C_JAVA): New #define.
4679 (Cjava_suffixes): .java is Java.
4680 (Cjava_entries): New function.
4681 (lang_names): Add Java.
4682 (sym_type): Add st_C_javastruct for Java.
4683 (C_stab_entry): Add `extends' and `implements' keywords.
e1dbe924 4684 (consider_token, C_entries): Recognize Java structures.
362bc2da 4685
880820fe 46861997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4687
7877f373
JB
4688 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
4689 (Postscript_suffixes): .ps is PostScript.
4690 (lang_names): Add postscript.
362bc2da
DL
4691 (Postscript_functions): New function.
4692 (TEX_decode_env): Close minor memory leak.
4693 (just_read_file): Correct the char number of the tag.
4694
46951997-05-11 Paul Eggert <eggert@twinsun.com>
4696
4697 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4698 Don't prepend $nl since this causes some shells to generate the
4699 empty string when IFS is $nl.
362bc2da 4700 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4701 PC-based shells mishandle CR.
362bc2da
DL
4702 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4703 nismatch, in case it's set to some nonstandard value.
1c478461 4704
362bc2da
DL
47051997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4706
4707 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4708 read in separate blocks.
4709
880820fe 47101997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4711
4712 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4713 (struct linebuffer): New member `len' is the length of the string.
4714 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4715 Use it instead of strlen.
4716 (TEX_getit): Declare and define unconditionally as static.
4717 (TeX_functions): Use if instead of #if TeX_named_tokens.
4718 (add_regex): Set RE_INTERVALS flag for regex compilation.
4719 (substitute): Code cleanup.
4720 (readline_internal): Code cleanup, set new member `len'.
4721 (readline): Bug corrected.
4722
47231997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4724
4725 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4726 (obj): Change references of nt*.c files to w32*.c files.
4727
880820fe 47281997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4729
4730 * etags.c (xnew): Add support for debugging with chkmalloc.
4731 (error): Use this instead of printf whenever possible.
e1dbe924 4732 (main): Only call xnew after having initialized progname.
362bc2da
DL
4733 (substitute): Bad memory corruption error corrected.
4734
880820fe 47351997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4736
4737 * etags.c (add_regex): Undo previous change.
4738 (relative_filename): Small memory leak closed.
4739 (absolute_filename): Cleaned up the code, possibly closing a bug.
4740 (absolute_dirname): Always return a newly allocated string.
1c478461 4741
362bc2da
DL
47421997-03-21 Paul Eggert <eggert@twinsun.com>
4743
4744 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4745 of the form ,*, or *_; they are probably RCS lock files.
4746 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4747 they are used by rcsfreeze.
4748
880820fe 47491997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4750
2f2c687b 4751 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4752
47531997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4754
4755 * movemail.c (popmail): Remove some unnecessary function
4756 declarations.
4757 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4758 into pop_retr, there's no reason to pass in mbx_write, and the
4759 file argument can be declared FILE * explicitly. This fixes a
4760 compilation problem on systems with 64-bit pointers.
4761
47621997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4763
4764 * movemail.c: Delete duplicate inclusion of fcntl.h
4765 and duplicate #undefs of open, read, write, close.
4766
47671997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4768
4769 * movemail.c (main): Do not display "[POP-password]" in the usage
4770 message when movemail is compiled without POP support.
4771 (main, popmail): Add the optional "-p" argument, which causes
4772 movemail to leave mail in the inbox after copying it into the
4773 output file.
1c478461 4774
362bc2da
DL
4775 * Makefile.in (movemail): Link with getopt.
4776
47771997-01-20 Paul Eggert <eggert@twinsun.com>
4778
ecc54057 4779 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4780 (Copyright, Help, Id): New variables, for above.
4781 (rlog): Use -q option with cvs log, to avoid useless chatter.
4782
4783 Treat logs of "Initial revision" (RCS) or "file F was initially added
4784 on branch B." (CVS) as if they said "New file.", for consistency with
4785 change log entries.
4786
47871997-01-01 Paul Eggert <eggert@twinsun.com>
4788
4789 * vcdiff (PATH): Add /usr/xpg4/bin,
4790 where XPG4 SCCS hangs out in Solaris 2.5.
4791 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4792
47931996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4794
4795 * etags.c (streq, strneq): Use == NULL rather than !.
4796
47971996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4798
4799 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4800 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4801
4802 * movemail.c: Include maillock.h (conditionally).
4803 Remove a redundant inclusion of <stdio.h>.
4804 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4805 (main): Add variable spool_name.
4806 Support the usage of maillock and mailunlock to
ecc54057 4807 lock and unlock mailboxes.
362bc2da
DL
4808 (mail_spool_name): New function.
4809
4810 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4811 movemail to exit with an error status incorrectly on systems which
4812 use lock files rather than a system locking function to lock
4813 mailboxes.
362bc2da
DL
4814
48151996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4816
4817 * pop.c (socket_connection): Free realhost after using it.
4818
880820fe 48191996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4820
4821 * etags.c (C_entries): Test tok.valid. This handles some
4822 particular cases involving function declarations that failed.
4823
48241996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4825
362bc2da
DL
4826 * pop.c (socket_connection):
4827 gethostbyname may return a pointer to static data.
4828 krb_realmofhost can clobber it. So copy it.
4829
880820fe 48301996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4831
4832 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4833 must cast it to (char *) because we have no prototypes.
4834 (make_C_tag): Macro deleted, new function.
4835 (C_entries): Calls to make_C_tag macro changed to call function.
4836
880820fe 48371996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4838
4839 * etags.c (grow_linebuffer): New function.
4840 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4841 (make_tag): Macro renamed to make_C_tag. All callers changed.
4842 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4843 (Prolog_functions): prolog_skip_comment was called with wrong
4844 number of arguments.
6088b51f 4845 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4846
880820fe 48471996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4848
4849 * etags.c (relative_filename): Bug corrected.
4850 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4851 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4852
48531996-11-03 Paul Eggert <eggert@twinsun.com>
4854
4855 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4856 repository file names.
362bc2da
DL
4857
48581996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4859
4860 * emacsserver.c: Fix 1996-09-02 change.
4861
48621996-10-12 Paul Eggert <eggert@twinsun.com>
4863
4864 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4865 option', since CVS says 'invalid option'.
362bc2da
DL
4866 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4867 revisions, since some hosts reject 1970-01-01 when east of UTC.
4868 (date): Remove.
4869
48701996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4871
4872 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4873
880820fe 48741996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4875
4876 * etags.c (print_version): Print copyright info.
4877
4878 * etags.c (print_help): Print the bug reporting address.
4879 (main): Use return as the last instruction, instead of exit.
4880
4881 * etags.c (main): Don't open the tags file in cxref mode.
4882
48831996-09-29 Dave Love <d.love@dl.ac.uk>
4884
4885 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4886 as well as earlier CVSs and RCS.
362bc2da
DL
4887
48881996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4889
4890 * movemail.c (main): If the lock call fails with EBUSY or
4891 EAGAIN, retry a few times.
4892
48931996-09-25 Paul Eggert <eggert@twinsun.com>
4894
4895 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4896 whether to append -zLT.
362bc2da
DL
4897
48981996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4899
4900 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4901 * emacsclient.c, movemail.c: Likewise.
4902
49031996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4904
4905 * emacsclient.c (longopts): Change nowait to no-wait.
4906 (print_help_and_exit): Fix option name; upcase metavars.
4907
49081996-09-06 Erik Naggum <erik@naggum.no>
4909
4910 * emacsserver.c (main): Declare `fromlen' as size_t.
4911
49121996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4913
4914 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4915
49161996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4917
4918 * emacsclient.c (quote_file_name): Quote with &, not \.
4919 Quote `-' only at start of file name. Terminate the value string.
4920
4921 * emacsserver.c: Include signal.h properly;
4922 delete the duplicate includes for it.
4923
4924 * emacsserver.c: On fatal signal, delete socket-file:
4925 * emacsserver.c: Include signal.h.
ecc54057 4926 (xmalloc, fatal, error): New functions.
362bc2da
DL
4927 (delete_socket, handle_signals): New functions.
4928 (progname, socket_name): New variables.
194d44e7 4929 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4930
49311996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4932
4933 * emacsclient.c (quote_file_name): New function.
4934 (main, both versions): Use quote_file_name.
4935 (decode_options): Don't return a value.
4936 (main, both versions): Use optind.
4937 Don't check for -nowait here.
1c478461 4938
362bc2da
DL
4939 * emacsclient.c (decode_options): New function.
4940 (main, both versions): Call decode_options.
4941 (print_help_and_exit): New function.
4942 (VERSION): New macro.
4943
4944 * Makefile.in (emacsclient): Link with getopt.
4945 Add -DVERSION so emacsclient knows its version number.
4946
49471996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4948
4949 * makefile.nt (lisp): Include dos-nt.elc.
4950
49511996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4952
4953 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4954
49551996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4956
4957 * emacsclient.c (both versions): Handle -nowait and --nowait
4958 by sending data to the server.
4959
49601996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4961
4962 * Makefile.in (INSTALL_STRIP): New variable.
4963 (${archlibdir}): Use INSTALL_STRIP.
4964
4965 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4966 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4967
4968 * pop.c: Reverse conditional in previous change.
4969
49701996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4971
4972 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4973
49741996-08-24 Paul Eggert <eggert@twinsun.com>
4975
4976 * rcs2log: Use ISO 8601 date format, with time zone appended
4977 if change-log-time-zone-rule is non-nil, instead of
4978 traditional Unix date format.
4979
4980 (datearg): When computing default from ChangeLog, handle ISO format
4981 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4982 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4983 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4984 "$datearg" option to $rlog.
4985 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4986 (month_data): Remove `mo'; no longer needed.
10d1d0af 4987 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4988
4989 Match `revision' line of rlog output more accurately.
4990
4991 Add -c, -v options.
4992
49931996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4994
4995 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4996
49971996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4998
4999 * Version 19.33 released.
5000
50011996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5002
5003 * Version 19.32 released.
5004
50051996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5006
5007 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5008 computing character positions in source files.
5009
50101996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5011
5012 * makefile.nt (clean): Use OBJDIR macro.
5013
50141996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5015
5016 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5017
c60ee5e7 50181996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 5019
ecc54057 5020 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
5021 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5022 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5023
50241996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5025
5026 * ntlib.h: Correct return type of getwd.
5027 * ntlib.c (getwd): Correct return type.
5028
50291996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5030
5031 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5032 to infile.
5033
50341996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5035
5036 * makefile.nt: Remove all references to wakeup.
5037
880820fe 50381996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5039
5040 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5041 explicit, mutable, typename.
5042
50431996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5044
5045 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5046 streams, one for sending and one for reading the reply.
5047
50481996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5049
5050 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5051 (wakeup): Target deleted.
5052 (UTILITIES): Delete wakeup and timer.
5053
5054 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5055
50561996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5057
5058 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5059 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5060
50611996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5062
5063 * etags.c (main): Copy cwd when appending slash.
5064
50651996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5066
5067 * Version 19.31 released.
5068
880820fe 50691996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5070
5071 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5072 (Pascal_functions): Increase linecharno by the correct number of
5073 chars, inline the GET_NEW_LINE macro and delete its definition.
5074
c60ee5e7 50751996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5076
5077 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5078
c60ee5e7 50791996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5080
5081 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 5082 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
5083
5084 * ntlib.c: Include ntlib.h.
5085 (nt_sleep): Rename to sleep.
5086 (getwd): Return directory.
5087 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5088 sys_ctime, sys_fopen): New functions.
5089
5090 * ntlib.h: New file.
5091
50921996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5093
b166dcd8 5094 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
5095 (pop_open, pop_trash): Make the trash_started code unconditional.
5096 (socket_connection): Delete casts to void.
5097
50981996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5099
b166dcd8
KC
5100 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5101 Definitions copied from lisp.h.
362bc2da
DL
5102
51031996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5104
5105 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5106
5107 * hexl.c [DOSNT]: Include fcntl.h.
5108 [WINDOWSNT]: Include io.h.
5109 (main) [MSDOS]: Change conditional to DOS_NT.
5110
5111 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5112 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5113 [WINDOWSNT]: Include locking.h.
5114 (main): Update usage message. Use IS_DIRECTORY_SEP.
5115 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5116 (main) [WINDOWSNT]: Invoke locking instead of flock.
5117 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5118 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5119 Include winsock.h; don't include unix inet headers.
5120 (popmail): Add password argument and pass it to pop_open.
5121 Open output file in binary mode.
5122
5123 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 5124 Macro SOCKET_ERROR undefined.
362bc2da
DL
5125 Don't declare h_errno.
5126 [!WINDOWSNT]: Define macros recv and send.
5127 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5128 (pop_open) [WINDOWSNT]: Initialize trash_started.
5129 (have_winsock) [WINDOWSNT]: New variable.
5130 (socket_connection) [WINDOWSNT]: Initialize winsock.
5131 (socket_connection): Use closesocket instead of close.
5132 (getline): Use recv instead of read.
5133 (fullwrite): Use send instead of write.
5134 (pop_trash): Use closesocket instead of close.
5135 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5136 Check if being called recursively by sendline.
5137
5138 * pop.h (struct _popserver): New field trash_started.
5139
5140 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5141
51421996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5143
5144 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5145
51461996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5147
5148 * etags.c [WINDOWSNT]: Include io.h.
5149
51501996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5151
5152 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5153
51541996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5155
5156 * hexl.c [DJGPP v2]: Include io.h.
5157 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5158
5159 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5160 DJGPP v2.
5161
51621996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5163
5164 * etags.c (absolute_filename): Use absolutefn.
5165
51661996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5167
5168 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5169 letter isn't an alphabetic character.
5170 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5171 (process_file) [DOS_NT]: Convert all slashes to forward style.
5172 (absolute_filename) [DOS_NT]: Emit error message for relative
5173 paths with a drive letter.
5174 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5175 DOS/NT drive letters which try to reference the parent of the root.
5176 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5177
51781996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5179
5180 * makefile.nt: Change uses of del to $(DEL).
5181
880820fe 51821996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5183
5184 * etags.c (just_read_file): Reset lineno and charno on entry.
5185
51861996-03-15 Anders Lindgren <andersl@csd.uu.se>
5187
58179cce 5188 * etags.c: Prolog language totally rewritten.
ecc54057 5189 (Prolog_functions): Rewritten from scratch.
362bc2da 5190 (skip_comment, prolog_getit): Removed.
ecc54057
JB
5191 (prolog_skip_comment): New function, like old skip_comment.
5192 (prolog_pred, prolog_atom, prolog_white): New functions.
5193 (erlang_func, erlang_attributes): Forward declarations added.
5194 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 5195
880820fe 51961996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5197
5198 * etags.c (absolutefn): DOS_NT version corrected.
5199 (main): Append "/" to the dir name only if not already there.
5200 (print_help): Explain the absolute/relative file name issue.
1c478461 5201
362bc2da
DL
52021996-03-08 Anders Lindgren <andersl@csd.uu.se>
5203
10d1d0af
JB
5204 * etags.c: New Language Erlang added.
5205 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5206 (erlang_white): New functions.
362bc2da
DL
5207 (Erlang_suffixes): New suffix list.
5208 (lang_names): Erlang entry added.
5209 (prolog_getit): Accepts headers spanning several lines.
5210 Always name tags.
b166dcd8 5211 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
5212 newline characters.
5213 (readline_internal): Zero-terminate last line.
5214
52151996-03-20 Mike Long <mike.long@analog.com>
5216
5217 * b2m.c (main): Initialize progname variable before using it.
5218 Quote `username' in From_ header.
5219
52201996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5221
5222 * ntlib.c (getpid): New function.
5223
52241996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5225
5226 * emacsclient.c (main, both definitions):
5227 Print a newline for normal termination.
5228
52291996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5230
5231 * tcp.c (main): Convert port to network byte order.
5232
52331996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5234
5235 * pop.c (pop_retrieve, getline): Avoid type clashes.
5236
52371996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5238
5239 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5240
52411996-01-15 Paul Eggert <eggert@twinsun.com>
5242
5243 * rcs2log (initialize_fullname): Add support for NIS+.
5244 (hostname): Fully qualify the default hostname with the domainname
5245 if the hostname lacks a `.'.
5246
362bc2da
DL
52471996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5248
5249 * etags.c (consider_token): Fix typo in expression.
5250
52511996-01-04 Paul Eggert <eggert@twinsun.com>
5252
5253 * etags.c (substitute): Fix spelling in message.
5254
52551996-01-03 George V. Reilly <georger@microcrafts.com>
5256
5257 * makefile.nt (etags, ctags): Compile with regexp support.
5258 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5259 subdirectory exists before compiling.
1c478461 5260
362bc2da
DL
52611996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5262
5263 * emacsserver.c (main): Do chmod based on existing permission.
5264
52651995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5266
5267 * Makefile.in (install): Turn on read/execute permission.
5268
52691995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5270
5271 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5272 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5273
52741995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5275
b166dcd8 5276 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 5277
880820fe 52781995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5279
5280 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5281 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5282 get_scheme, prolog_getit): Name the tag in ctags mode.
5283 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5284 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5285 (suggest_asking_for_help): New function.
5286 (main, get_language_from_name): Use suggest_asking_for_help.
5287 (main): Let get_language_from_name make language existence check.
5288 (streq, strneq): Check the arguments #if DEBUG.
5289
880820fe 52901995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5291
5292 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
5293 (gperf): Add keywords for Objective C and GNU macros.
5294 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
5295 (begtk): The '@' character can start a token.
5296 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 5297 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
5298 (plain_C_suffixes): Add .m and .lm for Objective C.
5299 (Yacc_suffixes): Add .ym for Objective yacc.
5300 (GROW_LINEBUFFER): New macro.
5301 (consider_token, C_entries, Pascal_functions): Use the new macro.
5302 (consider_token): Take one more argument. Caller changed.
5303 (consider_token): Use the hashing function to spot GNU macros.
5304 (C_entries): Consider // as a comment start even in plain C for
5305 the sake of Objective C parsing.
5306
880820fe 53071995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 5308
2f2c687b 5309 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 5310 compile with regexp support enabled.
362bc2da
DL
5311
53121995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5313
5314 * Version 19.30 released.
5315
53161995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5317
5318 * makefile.nt (DOC, clean): Don't use switches to del not
5319 supported by Windows 95.
5320
53211995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5322
5323 * Makefile.in (regex.o): Depend on ../src/config.h.
5324
53251995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5326
5327 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5328 (LOADLIBES): Use LIB_STANDARD.
5329
53301995-11-07 Kevin Gallo <kgallo@microsoft.com>
5331
5332 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5333 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5334 Windows 95 conditional.
5335
880820fe 53361995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5337
b166dcd8
KC
5338 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5339 (get_lang_from_suffix): New functions.
362bc2da
DL
5340 (get_language): Function deleted.
5341 (lang_entry): Two members added to struct.
5342 (lang_names): Reflect the new layout of lang_entry.
5343 (print_language_names, main, find_entries): Use the new functions.
5344 (find_entries): Look at the first line for #! if no language.
5345 (C_entries): Invalidate the token when funcdef is reset.
5346 (Perl_functions): New function.
5347 (lang_suffixes): .pl and .pm are Perl suffixes.
5348
880820fe 53491995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5350
5351 * etags.c (lowcase): Use the standard tolower function.
5352 (substitute): Remove some wrong and some useless code related with
a64387ee 5353 escape '\' character in regexp replacement string.
b166dcd8 5354 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
5355 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5356 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5357 .prolog for prolog (.pl removed).
5358 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 5359 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
5360 (add_node): Dead code removed.
5361
53621995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5363
5364 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5365 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5366
53671995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5368
5369 * test-distrib.c: Add #undef for open, close, read, write.
5370
53711995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5372
5373 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5374 [! O_RDONLY]: Define it to zero.
5375 (main): Use O_RDONLY instead of explicit zero.
5376
880820fe 53771995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5378
5379 * etags.c (Pascal_functions): Close comment bug corrected.
5380 (add_node): Correctly compare node file names.
5381 (Pascal_functions): Correctly allocate and free memory for tline.
5382 (pfnote): Put the definition of fp in the innermost block.
5383 (NODE): `named' member removed.
5384 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5385 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5386 (pfnote): `named' argument removed, all callers changed.
5387 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5388 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5389 removed from pfnote call, some code cleanup.
362bc2da
DL
5390 (relative_filename): Free temporary space allocated by concat.
5391
53921995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5393
5394 * Makefile.in (getdate.c): New target.
5395 (getdate.o): Just compile getdate.c.
5396
53971995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5398
5399 * fakemail.c (xrealloc): Change cast to match return type.
5400
54011995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5402
5403 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5404
54051995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5406
5407 * movemail.c (main): Fix previous change.
5408 Add error check for empty OUTNAME.
5409
54101995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5411
5412 * movemail.c (main): Mention lock file name in error message.
5413
54141995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5415
5416 * profile.c (gettimeofday): New function, defined if necessary.
5417
54181995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5419
5420 * Makefile.in: Renamed from Makefile.in.in.
5421 (distclean): Delete Makefile.c, not Makefile.in.
5422
54231995-07-17 Michael Shields <shields@tembel.org>
5424
5425 * Makefile.in.in (tags): Synonym for `TAGS'.
5426
54271995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5428
5429 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5430 configure has already set $(INSTALL) to the proper relative path.
5431
362bc2da
DL
54321995-07-08 Paul Eggert <eggert@twinsun.com>
5433
5434 * rcs2log (datearg): Separate date from time with comma, not space,
5435 to work around CVS 1.5 bug.
5436 (CVSROOT): Don't abort when unset if repository is absolute.
5437
54381995-07-07 Paul Eggert <eggert@twinsun.com>
5439
5440 * rcs-checkin, rcs2log, vcdiff:
5441 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5442 that interpret `#! /' as a 4-byte magic number.
5443
54441995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5445
5446 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5447 mailbox with "po:mailbox", the mailbox is everything after the
5448 "po:" prefix.
5449
54501995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5451
5452 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5453 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5454
54551995-06-28 Paul Eggert <eggert@twinsun.com>
5456
5457 * rcs2log (CVSROOT, repository):
5458 Allow remote repositories a la CVS 1.4.
5459
880820fe 54601995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5461
2f2c687b
JB
5462 * etags.c (plain_C_entries): New function.
5463 (lowcase): New macro.
5464 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5465 (lang_suffixes): New suffix ".pc" for Pro*C files.
5466 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5467 (tail): Look for the end of the token when comparing.
5468 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5469
54701995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5471
5472 * movemail.c (main): Add newline in usage message.
5473
54741995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5475
5476 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5477
880820fe 54781995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5479
5480 * etags.c (find_entries): Rewind before rereading the input file.
5481
54821995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5483
5484 * Version 19.29 released.
5485
5486 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5487 This undoes part of the previous change.
5488
54891995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5490
5491 * make-docfile.c (main): On MSDOS, don't change stdout
5492 to binary, and insist on an -o option.
5493
54941995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5495
5496 * etags.c (process_file,absolute_filename): Handle filenames
5497 starting with a drive letter.
5498
5499 * makefile.nt (install): Copy wakeup.exe properly.
5500
55011995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5502
5503 * make-docfile.c [MSDOS]: #undef chdir.
5504
55051995-06-04 Paul Eggert <eggert@twinsun.com>
5506
5507 * rcs2log (output_authors): Allow ':' in time zone,
5508 as per ISO 8601 and RCS 5.6.8 beta.
5509
880820fe 55101995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5511
5512 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5513 compatibility problems.
5514
55151995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5516
5517 * etags.c (etags_getcwd): Don't use #elif.
5518 Have just one function body.
5519
55201995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5521
5522 * makefile.nt (LIBS): Use BASE_LIBS.
5523 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5524 upon LIBS.
5525 (DOC): Use del instead of rm.
5526 (DOC) [WINDOWS95]: Use DOC.
5527 (clean): Handle MSVC aux files.
5528 (config.h,paths.h): Use $(CP) instead of cp.
5529 (config.h): Use $(CONFIG_H)
5530 (make-docfile.obj): Depend upon config.h.
5531 Clean up comments.
5532
880820fe 55331995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5534
5535 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5536 former gives the true path even in the presence of simlinks.
5537
55381995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5539
5540 * movemail.c (main): Increase lock timeout to five minutes.
5541
55421995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5543
5544 * makefile.nt (obj): Use .c files.
5545
55461995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5547
5548 * make-docfile.c: Include config.h.
5549 (NO_SHORTNAMES): New definition.
5550 (xmalloc): Return long *.
5551
5552 * etags.c (C_entries): Cast result of xrealloc.
5553 (xmalloc, xrealloc): Declare them to return long *.
5554
5555 * b2m.c (xmalloc, xrealloc): Declare them long *.
5556
5557 * movemail.c (xmalloc): Declare it to return long *.
5558
55591995-04-30 Paul Eggert <eggert@twinsun.com>
5560
5561 * rcs2log (datearg): If rlog options are specified explicitly,
5562 omit the implicit '-d>DATE' option.
5563 (repository, rlog): Allow absolute paths to CVS repositories.
5564 Look only at the first line of CVS/Repository.
5565
55661995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5567
5568 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5569 realclean.
5570
55711995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5572
5573 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5574 Alternative (empty) definitions.
5575
55761995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5577
5578 * emacsclient.c (main): Add argv[0] to an error message.
5579
55801995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5581
5582 * emacsclient.c (main): Improve error handling.
5583 * cvtmail.c (main, skip_to_lf): Improve error handling.
5584 (sysfail): New function.
5585
5586 * b2m.c (main): Check for trailing ", " before trying to delete it.
5587
55881995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5589
5590 * Makefile.in.in (all): Build test-distrib and make-docfile.
5591
5592 * make-docfile.c (scan_c_file): At end, restore file name last char
5593 to its original value.
5594
55951995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5596
5597 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5598
55991995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5600
b166dcd8 5601 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5602 (alloca.o, regex.o): Use BASE_CFLAGS.
5603
56041995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5605
5606 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5607
56081995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5609
5610 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5611 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5612
56131995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5614
5615 * aixcc.lex: File deleted--surely obsolete now.
5616
56171995-03-23 Paul Eggert <eggert@twinsun.com>
5618
5619 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5620 portability to mawk and nawk.
5621
56221995-03-21 Paul Eggert <eggert@twinsun.com>
5623
5624 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5625 -u "login<tab>fullname<tab>mailaddr".
5626
56271995-03-21 Paul Eggert <eggert@twinsun.com>
5628
5629 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5630 replaces the (now obsolescent) -n login fullname mailaddr option.
5631 Add -R option for recursive rlog.
07655e62 5632 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5633 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5634 Quote authors and fullnames correctly.
5635 Don't omit path from repository root when logging CVS files.
5636
56371995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5638
5639 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5640 even if HAVE_SYSVIPC.
5641 * emacsclient.c (main): Use getcwd if not BSD.
5642
880820fe 56431995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5644
2f2c687b 5645 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5646 (readline_internal): Do not access the char before start of line.
5647
880820fe 56481995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5649
e1dbe924
PE
5650 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
5651 savetok.valid. Mark token as valid when it is initialized.
362bc2da
DL
5652 (make_tag): Make token only if token is valid and reset validity.
5653 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5654 (TOKEN): Add a new member: valid.
362bc2da 5655
880820fe 56561995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5657
5658 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5659 (main): Do not read twice the last filename in the stdin file list.
5660
880820fe 56611995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5662
e1dbe924 5663 * etags.c (C_entries): Initialize the new members of TOKEN.
362bc2da
DL
5664 (C_entries): Do not allocate a new space for each token found by
5665 consider_token. Let make_tag do that instead.
5666 (make_tag): Since now TOKEN has memory of where it is taken from,
5667 this new macro substitutes both make_tag_from_new_lb and
5668 make_tag_from_oth_lb. All callers changed.
5669 (TOKEN): Add linepos and buffer members.
e1dbe924
PE
5670 (main): Initialize token_str.
5671 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
362bc2da
DL
5672 (token_str): New global variable used by C_entries.
5673
56741995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5675
b166dcd8 5676 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5677
880820fe 56781995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5679
e1dbe924 5680 * etags.c (pfnote): Initialize been_warned in the node.
b166dcd8 5681 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5682
880820fe 56831995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5684
5685 * etags.c (longopts, print_help, main): Use -I as abbreviation
5686 for the --ignore-indentation option.
5687 (main): Do not print an error message for unknown options.
5688
880820fe 56891995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5690
5691 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5692 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5693 (constantypedefs, update, vgrind_style, no_warnings)
5694 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5695 (permit_duplicates): Was a var, now a #define.
5696 (filename_lb): Was global, now local to main.
5697 (main): Open the tag file when in cxref mode.
5698 Use a BUFSIZ size buffer for making the shell commands.
5699 Look at the return value from the system routine.
5700 Exit when cannot open the tag file.
5701 (process_file): Open the file and pass the FILE* to find_entries.
5702 (find_entries): Now void, because does not open the file itself.
5703 (pfnote): Recovering from lack of memory does not work. Removed.
5704 Use savenstr and simplify the code.
5705 (free_tree): Only free the name space if node is named.
5706 (structtag): Now a pointer, not a fixed length array of chars.
5707 (consider_token): Don't take a token as argument. Use savenstr
5708 when saving a tag in structtag. Callers changed.
5709 (TOKEN): Structure changed. Now used only in C_entries.
5710 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5711 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5712 (pfcnt): Deleted. Users updated.
194d44e7
JB
5713 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5714 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5715 the tag instead of a fixed size buffer.
5716
57171995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5718
5719 * movemail.c (main): Skip past the colon in inname.
5720
880820fe 57211995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5722
5723 * etags.c (pfatal): New function.
5724 (main, etags_getcwd): Use pfatal.
5725 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5726
880820fe 57271995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5728
5729 * etags.c (Lang_function): Use void instead to declare the
5730 language functions, because many compilers are buggy.
5731 (etags_getcwd): Fix the previous fix on the #else branch.
5732 (readline_internal): Discard possible \r before \n here.
5733 (C_entries): Do not deal with \r here: undo previous fix.
5734
880820fe 57351995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5736
5737 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5738 functions and a macro that allow the program to work on input
5739 lines of whatever length. Copied from etags.c.
5740 (fatal): Print a fatal error message and exit.
5741 (main): Use the new functions. Fixed a bug that made a \037 char
5742 appear at the end of the output.
5743
57441995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5745
5746 * etags.c (C_entries): Ignore carriage return at end of line.
5747
57481994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5749
5750 * fakemail.c (xmalloc, xrealloc): Add casts.
5751 (add_field): Handle <...> and "..." syntax.
5752 (setup_files, get_keyword): Clean up parens and line breaks.
5753 (args_size): Likewise.
5754
57551994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5756
5757 * yow.c: Include program name in error messages.
5758
57591994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5760
5761 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5762 (xmalloc, fatal, error): New functions.
5763 (progname): New variable.
5764 (main): Set progname.
5765
57661994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5767
5768 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5769 (main): If socket/mqueue name is in home dir, add in the host name.
5770 Rename .emacs_server to .emacs-server....
5771
57721994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5773
5774 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5775
880820fe 57761994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5777
2f2c687b
JB
5778 * etags.c (print_help): Print --regex usage for ctags also.
5779 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5780
880820fe 57811994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5782
5783 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5784 is compiled if this is defined. The new functions and variables
5785 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5786 [VMS]: All VMS specific code previously contained in
5787 etags-vmslib.c is now included here, modified for dealing with
5788 language and regex options intermixed with filenames.
5789 (header_file): Global variable deleted.
5790 (Lang_Function): New typedef. All language parser functions
5791 changed to this new type.
5792 (string_numeric_p, substr, prestr): Functions deleted.
5793 (readline_internal): Does the job that readline did previously.
5794 (longopts): --language and --regex options added.
5795 (lang_names, lang_extensions, lang_func, print_language_names):
5796 New structures, variables and functions for choosing languages.
5797 (print_help): Help strings updated. Calls print_language_names.
5798 (argument_type, ARGUMENT): Typedefs for dealing with language and
5799 regex options intermixed with filenames.
b166dcd8 5800 (main): Change the way of dealing with arguments on the command
362bc2da
DL
5801 line to deal with language and regex options intermixed with
5802 filenames.
5803 (get_language, default_C_entries, Cplusplus_entries,
5804 Cstar_entries, Yacc_entries, just_read_file): New functions.
5805 (find_entries): Use the new method for choosing the language.
5806 (Pascal_functions): Allow intermixing of comment styles.
5807 (prolog_getit, skip_comment): Rewritten for speed.
5808 (readline): Rewritten to deal with regexps.
5809
880820fe 58101994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5811
5812 * etags.c (<errno.h>): #include added.
5813 (etags_getcwd): Check return value from getcwd.
5814
58151994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5816
5817 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5818 (get_time): Use EMACS_SUB_TIME.
5819
d57727c9 58201994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5821
5822 * ntlib.c: New file.
5823 * makefile.nt: New file.
5824
5825 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5826 [WINDOWSNT]: Include the NT headers.
5827 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5828
5829 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5830 [WINDOWSNT]: Include some NT headers.
5831
58321994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5833
5834 * pop.c (getline): When a search of already-read input for CRLF
5835 fails, store the fact that we've searched it and don't search it
5836 again after reading more data.
5837
5838 * pop.c (getline): When determining whether or not it's necessary
5839 to grow the input buffer, take into account the null that's stored
5840 at the end of already-read input in the buffer.
5841
880820fe 58421994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5843
2f2c687b 5844 * etags.c (prestr, substr): Return a logical type.
362bc2da 5845 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5846 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5847 (C_entries): Now we can use Tom Hageman patch for extern "C".
5848
58491994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5850
5851 * movemail.c: PopServer renamed to popserver throughout.
5852
58531994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5854
5855 * etags.c: Don't declare malloc, since we include config.h.
5856 * fakemail.c: Likewise.
5857
58581994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5859
5860 * movemail.c: Don't declare malloc.
5861
58621994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5863
5864 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5865 avoid syntax error.
362bc2da
DL
5866
58671994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5868
5869 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5870 defined, and if HAVE_CONFIG_H isn't defined, define
5871 MAIL_USE_POP always (so that this file can be included in
5872 other programs besides emacs).
5873
5874 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5875 HAVE_CONFIG_H isn't defined.
5876
5877 * pop.c (find_crlf, getline): Instead of using strstr, use a
5878 custom function for finding CRLF.
5879 (my_strstr): Function deleted.
5880
58811994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5882
5883 * pop.c (getline): Fix a segfault because of passing a
5884 non-null-terminated string into strstr(). Fix from
5885 djm@va.pubnix.com (David J. MacKenzie).
5886
5887 * pop.c: Don't include <string.h> and <strings.h>.
5888
b166dcd8
KC
5889 * pop.c: Include <des.h> before <krb.h>, rather than after.
5890 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
5891 both orders in various files in the Kerberos 4 library sources,
5892 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5893 requires that <des.h> be included first, and I don't see any harm
5894 in changing the order.
5895
5896 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5897 STDC_HEADERS, if they're defined. Undef open, read, write and
5898 close after including it.
5899
59001994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5901
5902 * pop.c: Fix mismatch in conditionals.
5903
5904 * make-docfile.c (main): Don't process one input file twice.
5905 Never use exit code > 1.
5906
5907 * pop.c (open, close, read, write): Add #undefs.
5908
5909 * pop.c: Don't declare malloc, realloc, free.
5910 Include ../src/config.h.
5911 Don't include string.h or strings.h.
5912 Include des.h before krb.h.
5913 Do declare my_strstr.
5914 (getline): Really use my_strstr.
5915 Leave one empty place in server->buffer,
5916 and put a null at the end of the data in it.
5917
59181994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5919
b166dcd8
KC
5920 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5921 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
5922
59231994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5924
5925 * Makefile.in.in (regex.o): Use full path to find regex.c.
5926
880820fe 59271994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5928
2f2c687b
JB
5929 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5930 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5931
59321994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5933
5934 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5935 (${archlibdir}): Use mkinstalldirs instead.
5936
5937 * movemail.c: Make functions that return nothing void, not
5938 implicitly int.
5939 (main): Improve usage message.
5940 (error): Write to stderr, not stdout.
5941
e43b1141
GM
5942 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
5943 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
5944 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
5945 warnings from unused variables and implicitly declared functions.
362bc2da
DL
5946
59471994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5948
5949 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5950 (distclean): Not here.
5951
b166dcd8 5952 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 5953
880820fe 59541994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5955
5956 * etags.c (C_entries): Name the #define's that are macros.
5957
59581994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5959
5960 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5961 fd_set arg is a pointer, descriptor arg comes first.
5962
880820fe 59631994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5964
e1dbe924
PE
5965 * etags.c (C_entries): Recognize typedef of ANSI style functions.
5966 (C_entries): Recognize #define inside a struct.
362bc2da
DL
5967 (C_entries): ANSI tells that preprocessor commands do not have to
5968 start on the first column.
5969 (print_help): Documentation corrected for -d and -D.
5970 (white, endtk): ANSI tells the vertical tab is a separator.
5971
59721994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5973
5974 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5975 (pop.o, movemail.o): New targets.
5976 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5977
5978 * pop.c, pop.h: New files.
5979
5980 * movemail.c: Improve POP code, move most of it into a separate file.
5981 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5982 (mbx_write): Check for errors and for From line.
5983 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5984 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5985 (pop_init): Functions deleted.
5986
59871994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5988
5989 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5990 Rename path to dirname.
5991
59921994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5993
5994 * Makefile.in.in (UTILITIES):
5995 Remove test-distrib, make-docfile, make-path.
5996 (DONT_INSTALL): New variable--list those files here.
5997 (clean): Delete the files in DONT_INSTALL.
5998
59991994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6000
6001 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6002 (main): Use fgets, not gets.
6003
60041994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6005
6006 * timer.c: Don't declare malloc.
6007
60081994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6009
6010 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6011 defined, use simple 32-bit versions of these macros.
6012 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6013
c60ee5e7 60141994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
6015
6016 * etags.c (etags_getcwd): Use getcwd if available.
6017
60181994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6019
6020 * Version 19.27 released.
6021
60221994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6023
6024 * Version 19.26 released.
6025
60261994-08-15 Paul Eggert <eggert@twinsun.com>
6027
6028 * rcs2log: Add support for CVS.
6029 Work with `rlog's that output ISO 8601 dates.
6030
60311994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6032
6033 * rcs2log: Use <> to delimit email address.
6034
60351994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6036
6037 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6038 so we can listen for multiple requests.
6039
60401994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6041
6042 * movemail.c: Include config.h first thing.
6043
60441994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6045
6046 * emacsserver.c (main): Add casts to avoid warnings.
6047
60481994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6049
6050 * Makefile.in.in (${archlibdir}): Compare the proper dir
6051 before installing the scripts.
6052
60531994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6054
6055 * emacsclient.c (main): New local var progname saves argv[0].
6056
60571994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6058
6059 * emacsclient.c (main): Don't actually modify argv[0].
6060 Modify a copy instead.
6061
60621994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6063
6064 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6065 (tzp): Var deleted.
6066
6067 * Makefile.in.in: Add #undef alloca.
6068
60691994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6070
6071 * timer.c (xmalloc): New function.
6072
60731994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6074
6075 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6076 (alloca.o): New target.
6077
60781994-07-08 Dave Love (d.love@dl.ac.uk)
6079
e1dbe924 6080 * etags.c (takeprec): Recognize `character*(*) function'.
362bc2da 6081
880820fe 60821994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6083
ecc54057
JB
6084 * etags.c (main): Don't barf on obsolete -t and -T switches.
6085 (main): Print an explicative message when a switch is not known.
362bc2da
DL
6086
60871994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6088
6089 * hexl.c: Don't declare exit or perror.
6090
6091 * emacsserver.c (main): Don't declare geteuid.
6092 Don't declare getenv if convex.
6093
60941994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6095
6096 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6097
880820fe 60981994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6099
6100 * etags.c (absolute_filename): Remove infinite loop bug when
6101 accessing files in directories whose name begins with a dot.
6102
880820fe 61031994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6104
6105 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6106
61071994-06-01 Morten Welinder (terra@diku.dk)
6108
6109 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6110 location of data directory.
6111
61121994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6113
6114 * Version 19.25 released.
6115
61161994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6117
6118 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6119
61201994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6121
6122 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6123
61241994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6125
6126 * Version 19.24 released.
6127
61281994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6129
6130 * make-docfile.c (write_c_args): Put `default' in upper case.
6131
61321994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6133
6134 * etags.c (etags_getcwd): Cast result of popen.
6135 (popen): Declaration deleted.
6136
61371994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6138
6139 * etags.c [!MSDOS]: Declare popen.
6140
61411994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6142
6143 * b2m.c (main): Avoid crash if argc is 1.
6144
61451994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6146
6147 * Version 19.23 released.
6148
6149 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6150
61511994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6152
6153 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6154
61551994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6156
6157 * Makefile.in.in: Fix out of date comment.
6158
61591994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6160
6161 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6162 Move all autoconf substitutions above that point.
6163 Above that point, use Make-style comments.
6164 This goes with changes in ../configure.in.
6165
61661994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6167
6168 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6169 warning message.
6170 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6171
61721994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6173
6174 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6175
61761994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6177
6178 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6179 print advice to run it, if it has anything significant to do.
6180 And only if MOVEMAIL_NEEDS_BLESSING.
6181 (blessmail): Use emacs, not temacs.
b166dcd8 6182 (configuration): Rename from configname.
362bc2da
DL
6183
61841994-04-30 Morten Welinder (terra@diku.dk)
6185
6186 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6187
61881994-04-30 Morten Welinder (terra@diku.dk)
6189
6190 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6191 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6192 a shell.
6193
61941994-04-29 Morten Welinder (terra@diku.dk)
6195
6196 * hexl.c [MSDOS]: Don't define proto type for exit.
6197
61981994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6199
6200 * b2m.c: Don't include string.h or strings.h.
6201
62021994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6203
6204 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6205 symbols, not make variables.
6206
62071994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6208
6209 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6210 * etags.c (print_version): Print VERSION as a string.
6211
62121994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6213
6214 * fakemail.c (readline): Fix updating of p when buffer grows.
6215
62161994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6217
6218 * Makefile.in.in (blessmail): New target.
6219 ${archlibdir}: Use blessmail when installing movemail.
6220
62211994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6222
6223 * fakemail.c (readline): When extending the buffer,
6224 calculate end afresh using the new size.
6225
880820fe 62261994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6227
2f2c687b 6228 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 6229
880820fe 62301994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6231
2f2c687b 6232 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
6233
62341994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6235
6236 * Makefile.in.in: Renamed from Makefile.in.
6237 Makefile.in is now generated from it, and then preprocessed.
6238 Change comments to C syntax.
6239 Include config.h.
6240 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6241 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6242
62431994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6244
6245 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6246
880820fe 62471994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6248
6249 * etags.c (etags_getcwd): Initialize bufsize.
6250
62511994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6252
6253 * profile.c (gettimeofday): If system doesn't have this, define it
6254 to give a fatal error.
6255
62561994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6257
6258 * movemail.c (main): Use setuid, not seteuid.
6259
62601994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6261
6262 * etags.c: #undef static.
6263
880820fe 62641994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6265
b166dcd8 6266 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 6267 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 6268 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
6269 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6270 TeX_functions, Prolog_functions.
2f2c687b
JB
6271 (inf): No more a global variable.
6272 (C_entries): Take 2nd parameter `inf' instead of using the global one.
e1dbe924 6273 (find_entries): Add the cp1 var for optimization.
b166dcd8 6274 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
6275 (Asm_funcs): Now finds labels even without an ending colon.
6276
880820fe 62771994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6278
2f2c687b
JB
6279 * etags.c (main): Use etags_getcwd for compatibility.
6280 (etags_getcwd): New function.
362bc2da
DL
6281
62821994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6283
6284 * Makefile.in (etags, ctags): Pass -D for VERSION.
6285
880820fe 62861994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6287
2f2c687b
JB
6288 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
6289 (main): Don't allow the use of -t and -T in etags mode.
6290 (print_help): Don't show options enabled by default.
6291 (print_version): Show the emacs version number if VERSION is #defined.
6292 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 6293
880820fe 62941994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6295
2f2c687b 6296 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
6297 (relative_filename, absolute_filename, absolute_dirname):
6298 functions added to compute filenames in tags files.
2f2c687b 6299 (process_file): Filenames in tags file are relative to the
362bc2da 6300 directory where the tags file is (useful with the -o option).
e1dbe924 6301 (main): Initialize the outfiledir var.
b166dcd8 6302 (TYPEDST): Add the `tignore' value.
2f2c687b 6303 (C_entries): Corrected various small bugs.
362bc2da
DL
6304
63051994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6306
6307 * Makefile.in (UTILITIES): `env' deleted.
6308 (env): Target deleted.
6309 * env.c: File deleted.
1c478461 6310
362bc2da
DL
63111994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6312
6313 * Makefile.in (install, ${archlibdir}): Switch back to ..
6314 before running INSTALL_PROGRAM.
6315
880820fe 63161994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6317
b166dcd8 6318 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 6319 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
6320 `extern "C" {' construction (patch by Tom R.Hageman).
6321
63221994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6323
6324 * b2m.c: Use <...> to include config.h.
6325 Don't include stdlib.h.
6326
177c0ea7 63271994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
6328
6329 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6330 Allow for text following "BABYL OPTIONS:".
6331 Add --help option. Use argv[0] in error messages.
6332
63331994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6334
6335 * emacsclient.c (main) [HAVE_SYSVIPC]:
6336 Make msgp->mtext longer if necessary.
6337 On HPUX, error if it's more than 512 chars.
6338
63391994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6340
6341 * etags-vmslib.c: Use GPL.
6342 * emacstool.c: Use GPL.
6343 * fakemail.c: Update GPL.
6344
6345 * make-path.c (main): Return 1 on error, not -1.
6346 Update GPL.
6347
6348 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6349 (xmalloc, xrealloc): Return char *, not int.
6350 (error): Write to stderr, not stdout.
6351 Update GPL.
6352
63531994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6354
6355 * profile.c (main, get_time): Don't crash on invalid input.
6356
63571994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6358
6359 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 6360 (main): Exit on EOF.
362bc2da 6361
880820fe 63621994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6363
a64387ee 6364 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
6365
63661994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6367
6368 * fakemail.c (put_line): Don't break the line if it all fits.
6369
880820fe 63701994-02-14 Francesco Potortì (pot@fly)
362bc2da 6371
b166dcd8 6372 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 6373 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 6374 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 6375 (print_help): Alphabetically order the options.
2f2c687b 6376 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
6377
63781994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6379
6380 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6381 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6382
63831994-02-07 Christian Lynbech (lynbech@avignon)
6384
6385 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6386
63871994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6388
6389 * Makefile.in (UTILITIES): Mention profile.
6390 (profile): New target.
6391
6392 * profile.c: New file.
6393
63941994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6395
88c71720 6396 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6397 Lisp docstrings do.
88c71720 6398 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6399 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6400 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6401
880820fe 64021994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6403
6404 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6405 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6406 Use gperf generated hash table instead of linked list.
2f2c687b 6407 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6408 Mostly code generated by gperf.
b166dcd8 6409 (consider_token): Remove unused parameter `lp'.
2f2c687b 6410 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6411 to span multiple lines.
2f2c687b
JB
6412 (C_entries): Check for newline if inchar to avoid bus errors.
6413 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6414 and not regular file.
6415
64161994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6417
6418 * timer.c: Include errno.h; don't include fasync.h.
6419 (schedule): Don't return a value.
6420 (sigcatch): Reestablish the handler first.
6421 (getevent): Always call notify at the end.
6422 (notify): Defer alarms around the whole body of function.
6423
64241994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6425
6426 * timer.c (main): Don't request SIGIO, and don't handle it.
6427 Loop calling getevent.
6428 (sigcatch): Delete code to handle SIGIO.
6429 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6430 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6431 Set defer_alarms around realloc and schedule.
6432 If alarm_deferred gets set, call notify.
6433 Likewise if this event is the only pending event.
6434 Make buf and buf_size global variables.
6435 Don't malloc buf if it is already non-zero.
6436 (schedule): Just exit if run out of memory.
6437 Return the number of events.
6438 (signal) [_CX_UX]: Add #undef.
6439
64401994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6441
6442 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6443 (main) [USG]: Do ioctl to enable SIGPOLL.
6444
64451994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6446
6447 * timer.c: Don't declare sys_errlist; declare strerror instead.
6448 (schedule, main): Call strerror instead of using sys_errlist.
6449 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6450 Call strerror instead of using sys_errlist.
6451 * env.c (main): Call strerror instead of using sys_errlist.
6452 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6453 (main): Call strerror instead of using sys_errlist.
6454 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6455 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6456 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6457 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6458
64591994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6460
6461 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6462
6463 * movemail.c (malloc): Don't declare it.
6464 (xmalloc): Cast result of malloc.
6465 (strcpy): Don't declare it.
6466
64671993-11-14 Morten Welinder (terra@diku.dk)
6468
6469 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6470 (main): Use fclose to close file opened by fopen.
6471
6472 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6473
6474 * movemail.c [MSDOS]: #undef `access'.
6475
6476 * b2m.c (main) [MSDOS]: Open all files as binary.
6477 * etags.c (main) [MSDOS]: Open all files as binary.
6478
6479 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6480 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6481 with.
6482
64831994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6484
6485 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6486 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6487 (LINK_CFLAGS): New variable.
6488 (timer): Use LINK_CFLAGS.
6489
64901993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6491
6492 * movemail.c: Include syswait.h.
6493 Fork a subprocess and use it to copy the mail file.
6494
64951993-12-07 Richard Stallman (rms@srarc2)
6496
6497 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6498
64991993-12-04 Richard Stallman (rms@srarc2)
6500
6501 * movemail.c (main): When making tempname, cast result of xmalloc.
6502 Include room for EXXXXXX in the size.
6503 Don't use result of strcpy.
6504
65051993-12-03 Paul Eggert (eggert@twinsun.com)
6506
6507 * vcdiff: Add --brief option.
6508
65091993-12-02 Richard Stallman (rms@srarc2)
6510
6511 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6512 for all executables and scripts.
6513
65141993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6515
6516 * Version 19.22 released.
6517
65181993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6519
6520 * Makefile.in (mostlyclean): Make it distinct from clean.
6521
65221993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6523
6524 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6525
65261993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6527
6528 * Version 19.21 released.
6529
6530 * Makefile.in (install): Don't change mode or group when installing.
6531
6532 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6533
65341993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6535
6536 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6537
6538 * movemail.c (main): Fix error message text.
6539
65401993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6541
6542 * Version 19.20 released.
6543
177c0ea7 65441993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6545
ecc54057 6546 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6547 functions returning a pointer to a function, a la `signal', can be
6548 parsed. This also required new state `fstartlist' to `FUNCST'.
6549 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6550 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6551 from the other state engines.
2f2c687b 6552 (begtk): Add '~', for C++ class destructors.
362bc2da 6553
880820fe 65541993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6555
b166dcd8 6556 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6557 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6558
65591993-10-19 Paul Eggert (eggert@twinsun.com)
6560
6561 * rcs2log (printlogline): Don't generate lines containing only
6562 white space.
6563
65641993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6565
6566 * Makefile.in (${archlibdir}):
6567 Install ${SCRIPTS} from ${srcdir}, not cwd.
6568
65691993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6570
6571 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6572 the comment character.
6573
880820fe 65741993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6575
2f2c687b 6576 * etags.c (process_file): Dead code removed.
362bc2da 6577 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6578 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6579
f0131492 65801993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6581
6582 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6583 from current directory. Only chmod and chgrp files that we
6584 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6585 ${bindir}.
b166dcd8 6586 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6587 now.
6588
f0131492 65891993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6590
b166dcd8
KC
6591 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6592 Let configure figure out the correct values for these variables.
362bc2da 6593
f0131492 65941993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6595
10d1d0af 6596 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6597 used by emacs; don't install bindir binaries here.
6598
65991993-09-24 Paul Eggert (eggert@twinsun.com)
6600
6601 * rcs2log: Add -h, -n, -r options.
6602 By default, look for *,v files as well as RCS/*,v files.
6603 Use $TMPDIR (default /tmp) instead of /tmp.
6604
880820fe 66051993-09-20 Francesco Potortì (pot@fly)
362bc2da 6606
e1dbe924 6607 * etags.c (C_entries): is_func is initialized here instead of in
362bc2da
DL
6608 consider_token for the sake of the yacc rules section.
6609 (C_entries): Now class, struct, enum, union and typedef produce
6610 named tags.
6611
66121993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6613
6614 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6615
66161993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6617
88c71720
KS
6618 * Makefile.in: Support configuring in a different directory when
6619 ${srcdir} has already been configured.
6620 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6621 -I${srcdir}/../src.
362bc2da
DL
6622 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6623 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6624 is already in CPP_FLAGS.
6625 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6626 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6627
66281993-08-25 Paul Eggert (eggert@twinsun.com)
6629
6630 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
6631 otherwise, HP awk complains.
6632
6633 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6634 are common hangouts for SCCS commands.
6635
66361993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6637
6638 * Version 19.19 released.
6639
66401993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6641
6642 * Makefile.in (make-path): Dep on config.h.
6643
66441993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6645
6646 * b2m.c (TRUE, FALSE): Don't define if already defined.
6647
66481993-08-09 Paul Eggert (eggert@twinsun.com)
6649
6650 * rcs2log (awkscript):
6651 Some sites put comma-separated junk after the fullname.
6652 Remove it, but leave "Bill Gates, Jr" alone.
6653 Remove the junk from fullnames like "0000-Admin(0000)".
6654
66551993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6656
6657 * Version 19.18 released.
6658
880820fe 66591993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6660
e1dbe924 6661 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
2f2c687b
JB
6662 (L_funcs): The (foo::defmumble stuff now should work.
6663 (consider_token): Function returned random value--corrected.
6664 (C_entries): Corrected == versus = typo.
362bc2da
DL
6665
66661993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6667
6668 * etags.c (put_entries): For NODE->rewritten, put pattern before
6669 \177 and name after, not vice versa.
6670
66711993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6672
6673 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6674
880820fe 66751993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6676
b166dcd8 6677 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6678 after the parameter list and before the open curly brace.
6679 Allows correct parsing of C++ constructors.
2f2c687b
JB
6680 (C_entries, consider_token): Make use of fignore.
6681 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6682 ctags mode makes DEFVAR and others work better.
e1dbe924 6683 (L_isquote): Function that recognizes the "(quote" string.
2f2c687b 6684 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6685
66861993-07-29 Paul Eggert (eggert@twinsun.com)
6687
6688 * rcs-checkin: Don't check whether a file is readable until we have
6689 decided not to ignore it.
6690
66911993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6692
6693 * Makefile.in (etags): Depend on ../src/config.h.
6694
6695 * emacsserver.c: Include types.h before file.h.
6696
66971993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6698
6699 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6700
67011993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6702
ecc54057 6703 * Version 19.17 released.
362bc2da
DL
6704
67051993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6706
6707 * etags.c (print_help): Break up the very long strings containing
6708 the help message into shorter strings, to placate chintzy C
6709 compilers which can't handle strings that long.
6710
6711 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6712 correct combination of <time.h> and <sys/time.h>.
6713
880820fe 67141993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6715
b166dcd8 6716 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6717 (main): Now calls xnew instead of alloca for portability.
6718 (../src/config.h): Included only if HAVE_CONFIG_H.
6719 (const): Void definition removed--config.h takes care of it.
362bc2da 6720
880820fe 67211993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6722
2f2c687b 6723 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6724 (consider_token): DEFUNs now treated like funcs in ctags mode.
6725
2f2c687b
JB
6726 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6727 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6728 (C_entries): Remove a piece of useless code.
2f2c687b 6729 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6730 is met. This handles "typedef int X, Y, Z;" correctly.
6731
67321993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6733
6734 * Version 19.16 released.
6735
6736 * b2m.c: #include <sys/types.h>.
6737 (ltoday): Declare this to be time_t.
6738
67391993-06-30 Paul Eggert (eggert@twinsun.com)
6740
6741 * vcdiff: Add -q option.
6742
67431993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6744
6745 * etags.c: #include "config.h" and the alloca CPP tangle before
6746 #including the system headers and getopt.h. AIX requires the
6747 #pragma to come before any actual C code.
6748
67491993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6750
6751 * Makefile.in (ctags): Depend on etags, so that parallel makes
6752 don't write etags.o files on top of each other.
6753
67541993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6755
6756 * version 19.15 released.
6757
67581993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6759
6760 * etags.c (add_node): Move var last_node to file scope.
6761
67621993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6763
6764 * Version 19.14 released.
6765
67661993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6767
ecc54057 6768 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6769 * Makefile.in (distclean): Call clean to do most of the work.
6770 Delete aixcc.c and TAGS.
6771 (realclean): Just call distclean.
1c478461 6772
362bc2da
DL
6773 * Makefile.in: Remember, spaces are not tabs.
6774
67751993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6776
6777 * Makefile.in (CPP_CFLAGS): New variable.
6778 Use it instead of ALL_CFLAGS when compiling a .c file.
6779 (getopt.o, getopt1.o): Add explicit compilation commands.
6780
67811993-06-10 Mark D. Baushke (mdb@cisco.com)
6782
6783 * etags.c: Reinstate old -f option as an alias for -o for
6784 installed base uses.
6785
67861993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6787
6788 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6789 to bind or accept, cast the pointer, to avoid warnings on systems
6790 which declare prototypes for this.
6791 * emacsclient.c (main): Same.
6792
6793 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6794
67951993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6796
6797 * Version 19.13 released.
6798
6799 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6800 comes from, not sys/time.h.
6801
68021993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6803
6804 * wakeup.c: Include sys/time.h.
6805
6806 * etags.c: #undef static.
6807
6808 * Version 19.12 released.
6809
6810 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6811
68121993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6813
6814 * Version 19.11 released.
6815
6816 * timer.c [LINUX]: #undef signal.
6817 * emacsserver.c: #undef signal.
6818
68191993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6820
6821 * wakeup.c (main): Make when a time_t.
6822
68231993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6824
ecc54057 6825 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6826 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6827 might fail, and have pwd print out the current directory.
6828
6829 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6830 string-handling functions.
6831
68321993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6833
6834 * Version 19.10 released.
6835
68361993-05-29 Paul Eggert (eggert@twinsun.com)
6837
6838 * rcs2log: When given no file arguments, inspect RCS/.* as well
6839 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6840
68411993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6842
6843 * Makefile.in (timer): Link with $(LOADLIBES).
6844
68451993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6846
6847 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6848
68491993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6850
6851 * etags.c: Replace the CPP tangle for alloca with the one from the
6852 autoconf documentation, since that's working elsewhere.
6853
68541993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6855
6856 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6857 description files can find their ancestors.
6858
68591993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6860
6861 * Makefile.in (install): Get the scripts from ${srcdir},
6862 unlike the executables.
6088b51f 6863 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6864
68651993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6866
6867 * Version 19.9 released.
6868
68691993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6870
6871 * Makefile.in (install): Do install the programs listed in
6872 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6873 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6874
6875 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6876 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6877
68781993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6879
6880 * etags.c: Include ../src/config.h.
6881
6882 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6883 in first loop. Delete files from bindir before installing new ones.
6884 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6885
68861993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6887
6888 * Version 19.8 released.
6889
6890 * make-docfile.c: Doc fix.
6891
68921993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6893
6894 * tcp.c: Fix comment syntax at top of file.
6895 (main): Don't call htons with the port number.
6896
68971993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6898
6899 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6900 appropriate.
362bc2da
DL
6901
6902 * Makefile.in (install): Refer to the variables INSTALLABLES and
6903 INSTALLABLE_SCRIPTS, instead of writing them out.
6904
69051993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6906
6907 * make-path.c (main): Return 0.
6908
69091993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6910
ecc54057 6911 * Version 19.7 released.
362bc2da
DL
6912
69131993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6914
6915 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6916
69171993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6918
6919 * tcp.c: New file.
6920
69211993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6922
6923 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6924
69251993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6926
6927 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6928 only. We should really fix this later, but let's just make it
6929 compile for now.
6930
6931 Install patches from David J. Mackenzie to make the srcdir option
6932 work.
6933 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6934 Makefile.
6935 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6936 INSTALLABLE_SCRIPTS.
6937 (INSTALLABLE_SCRIPTS): New list.
6938 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6939 (${archlibdir}): The scripts to be installed live in the source
6940 tree, not in the object tree.
6941 (test-distrib): Note that the data file lives in the source tree,
6942 not the object tree.
6943 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6944 (all other targets): Change references to source files to use
6945 ${srcdir}, except for config.h, which lives in the object dir.
6946 (timer.o): Note that this depends on ../src/config.h.
6947 * make-docfile.c (main): Add a -d option, to tell it where to find
6948 the source files.
6949 * test-distrib.c (main): Take the name of the distribution file to
6950 test from the command line.
6951
10d1d0af 6952 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6953
69541993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6955
6956 * etags.c (main):
6957 Don't require that there be input files if -i switches were given.
6958
69591993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6960
6961 The GNU coding standards specify that CFLAGS should be left for
6962 users to set.
6963 * Makefile.in (CFLAGS): Put this in the "things configure might
6964 edit" section, and have it default to -g.
6965 (ALL_CFLAGS): New variable, set to all the flags which should be
6966 passed to compilations. Replace all other uses of CFLAGS with
6967 ALL_CFLAGS.
6968 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6969
6970 * Makefile.in (DEFS): Remove this; it's always just going to be
6971 "-DHAVE_CONFIG_H -Demacs".
6972
69731993-05-03 Paul Eggert (eggert@twinsun.com)
6974
6975 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6976 /[/]/, so change it to /[\/]/. This should work on all
6977 Posix-compliant awks. It's slightly wrong with traditional awk,
6978 since it matches \ too, but that's a minor problem compared to awk
6979 syntax errors.
6980
69811993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6982
6983 * Makefile.in (ALLOCA): New variable, whose value we should
6984 inherit from the top-level makefile.
6985 (etags, ctags): Include ALLOCA in the list of object files that
6986 these executables depend on and link.
6987
69881993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6989
b166dcd8 6990 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
6991
69921993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6993
6994 * make-docfile.c (write_c_args): Print an argument named "defalt"
6995 as "default".
6996
69971993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6998
6999 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7000 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7001 compiler.
7002
880820fe 70031993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7004
2f2c687b
JB
7005 * etags.c (YACC): Flag added to c_ext.
7006 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7007 (find_entries): Consistently use streq when reasonable.
7008 (find_entries): A .y file is a yacc file.
362bc2da 7009 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
7010 (C_entries): Logical cplpl means c_ext&C_PLPL.
7011 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 7012 (C_entries): Add logic for yacc files.
362bc2da 7013
880820fe 70141993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
7015
7016 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 7017 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
7018 (consider_token): structtag set to null string for enum.
7019
880820fe 70201993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7021
2f2c687b
JB
7022 * etags.c (GET_COOKIE): And related macros removed.
7023 (logical): Is now int, no more a char.
7024 (reg): Define deleted.
7025 (isgood, _gd, notgd): Deleted.
7026 (gotone): Deleted.
7027 (TOKEN): Member linestart removed.
7028 (linepos, prev_linepos, lb1): Deleted.
7029 (main): Call initbuffer on lbs array instead of lb1.
e1dbe924 7030 (init): Remove the initialization of the logical _gd array.
2f2c687b 7031 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
7032 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7033 All C state machines rewritten.
2f2c687b
JB
7034 (C_entries): Complete rewrite.
7035 (condider_token): Complete rewrite.
7036 (getline): Deleted.
362bc2da 7037
880820fe 70381993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 7039
b166dcd8 7040 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
7041 Used for parsing of #define's spanning multiple lines.
7042
880820fe 70431993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7044
7045 * etags.c (C_entries): Save the definedef status even when a
7046 newline is met inside a string.
7047
70481993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7049
b166dcd8 7050 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
7051
7052 * Makefile.in (unlock, relock): New productions.
7053
70541993-03-16 Paul Eggert (eggert@twinsun.com)
7055
7056 * rcs2log: Some awks don't understand "\r". Code around this.
7057 Unfortunately this requires putting a carriage return in the
7058 source code. Don't assume that rlog will tolerate times like
7059 `10:10:60'; RCS 5.7 won't allow this.
7060
70611993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7062
7063 * timer.c (main): Set the ownership of the stdin file descriptor
7064 to the current process. Print error messages if either of the
7065 fcntl's fails.
7066
7067 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7068 ../src/config.h), not void.
7069
70701993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7071
7072 * b2m.c (main): Don't exit upon reading a blank line.
7073
880820fe 70741993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7075
7076 * etags.c (C_entries): New local variable quotednl. Used for
7077 parsing of #define's spanning multiple lines.
7078
7079 * etags.c (C_entries): Save the definedef status
7080 even when a newline is met inside a string.
7081
70821993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7083
7084 * timer.c (notify): Initialize waitfor properly.
7085
880820fe 70861993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
7087
7088 * etags.c (C_entries): Don't reset definedef when a newline inside a
7089 comment is met.
7090
70911993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7092
7093 * etags.c (find_entries): If filename ends in .f or .for,
7094 don't try anything but Fortran.
7095
70961993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7097
7098 * timer.c (notify): Flush stdout after writing message to avoid lossage
7099 on terminals.
7100
7101 (notify): Also, write a newline after the token.
7102
71031992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7104
7105 * Makefile.in (exec_prefix): New variable.
7106 (bindir, libdir): Use it instead of `prefix'.
7107
7108 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7109
7110 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 7111 (archlibdir): Adjust to match.
362bc2da
DL
7112
7113 * Makefile.in (distclean): Don't delete backup or autosave files.
7114 (extraclean): Like realclean, but does delete backup and autosave
7115 files.
7116
7117 * Makefile.in (realclean): Ignore errors from rm.
7118
7119 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7120 that doesn't exist anymore.
7121
71221992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7123
7124 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7125 described in the top-level Makefile.
7126 (UTILITIES): Add make-path to the list of utility programs.
7127 (../arch-lib): Replaced by the ${archlibdir} target, which places
7128 the executables in their permanent home.
7129 (install, install.sysv, install.xenix): Consolidated into one
7130 target which should work under all circumstances, modulo a few
7131 ignored error messages.
7132
7133 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7134 a different number of arguments than other DEFVARs, recognize it
7135 specially, and expect the right number of commas.
7136
71371992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7138
7139 * make-path.c: New program, to help with the installation process.
7140 * Makefile.in (make-path): New target.
7141
7142 * make-path.c (touchy_mkdir): Remove debugging output.
7143
71441992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7145
b166dcd8 7146 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
7147 can indicate that it depends on ../src/config.h.
7148
71491992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7150
7151 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7152 instead of CFLAGS.
7153 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7154
71551992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7156
7157 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7158 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7159 that system.
7160
7161 * Makefile.in (arch-lib): Give rm the `-f' option.
7162
71631992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7164
7165 * make-docfile.c (write_c_args): Rewritten to correctly print
7166 &optionals before the first identifier, but after the first paren.
7167 This code used to just wait for commas or spaces; now it notices
7168 identifier boundaries.
7169
71701992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7171
7172 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7173
71741992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7175
7176 * make-docfile.c (write_c_args): Print the argument lists properly
7177 when the first argument is optional.
7178
71791992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7180
7181 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7182 Redefine @item. Set catcode of +.
7183
71841992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7185
7186 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7187
71881992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7189
7190 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7191 (TEX_decode_env): Make `tab' one element longer.
7192
71931992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7194
7195 * etags.c (PF_funcs): Recognize the "entry" keyword.
7196
71971992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7198
7199 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7200
72011992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7202
7203 * timer.c (events): Rather than having slots marked as in use or
7204 out of use by the `token' field, keep all pending events at the
7205 beginning of the array. When we delete an event in the middle of
7206 the array, we move the last event into its place.
7207 (num_events): New variable.
7208 (schedule): It is now cheaper to find a free event slot;
7209 events[num_events] is the first free slot.
7210 (notify): Scan events[0 .. num_events-1], instead of the whole
7211 array. When an event fires, move the last event in the array into
7212 its spot. Use num_events to determine whether or not there are
7213 any pending events, not wait_for.
b166dcd8 7214 (getevent): Delete unused variable `ep'.
362bc2da
DL
7215 (sigcatch): It's now easier to find all the active events.
7216 (main): Initialize num_events.
7217
7218 * etags.c: Rather than fret about which systems have index and
7219 which systems have strchr, and how to tell the difference between
7220 them, we just write out our own versions. Big deal.
7221 (index, rindex): Extern declarations removed.
7222 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7223 (etags_index, etags_rindex): New declarations.
7224 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7225 TEX_getit, substr): Use the etags_*index functions, rather than
7226 the native *index functions.
b166dcd8 7227 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
7228 made them unconditionally defined, rather than having them depend
7229 on NEED_*INDEX.
7230
7231 * etags.c (savenstr): Add declaration for this at top of file.
7232 (TEX_decode_env): Don't declare it local to this function.
7233
7234 * b2m.c: #include "../src/config.h", so we can test for the USG
7235 macro, and decide whether to include <string.h> or <strings.h>.
7236 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7237
72381992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7239
7240 * timer.c: Reformatted according to the GNU coding standards.
7241 Removed arbitrary limits on the number of events queued and the
7242 length of the tokens used to identify them.
7243 Removed casts to (void).
7244 Removed debugging printfs; they clutter the code, and the need
7245 can be better filled using a real debugger.
7246
72471992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7248
7249 * timer.c: Installed new version from Eric Raymond; this is more
7250 portable, since it doesn't try to use SIGIO.
7251
72521992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7253
7254 * emacsclient.c (main): If we can't find the socket in this
7255 person's home directory, print a message which asks if they've
7256 started the server, instead of just printing the message from
7257 sys_errmsg; Cygnus finds that people are much less confused by
7258 this.
7259
72601992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7261
7262 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7263 so that index and rindex get defined, why don't we actually
7264 control index and rindex using symbols called "NEED_INDEX" and
7265 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7266 little more readable than defining something whose name implies
7267 that it's not?
7268
72691992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7270
7271 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7272 distribution:
7273 Miscellaneous doc fixes.
1c478461 7274 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
7275 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7276 read_lisp_symbol and then see what we got. Call skip_white
7277 instead of writing out a loop to do its job. Correctly extract
7278 docstrings from "defmacro" declarations.
7279
72801992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7281
7282 * movemail.c (strcpy): Declare this to return char *.
7283
72841992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7285
7286 * etags.c (C_entries): When we find a C++ comment, do actually
7287 skip to the end of the line; do a 'break' instead of a 'continue'.
7288
72891992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7290
7291 * etags.c (getit): Add missing parenthesis to expression which
7292 decides if this token is an identifier.
7293
72941992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7295
7296 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7297
72981992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7299
7300 * etags.c (put_entries): Always put space between name and line num.
7301
73021992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7303
7304 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7305 warning.
7306 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7307
73081992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7309
7310 * make-docfile.c (write_c_args): Pass both arguments to putc.
7311
73121992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7313
b166dcd8 7314 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
7315 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7316 the C library source.
7317
7318 * etags.c (C_entries): When we see a backslash inside a quoted
7319 string, skip to the next character. This allows us to correctly
7320 deal with strings containing quotes.
7321
73221992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7323
7324 * make-docfile.c (write_c_args): Print the C argument names as
7325 they would be written in Elisp; print '_' as '-'.
7326
73271992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7328
7329 * movemail.c [POP]: Get user name via getpwuid.
7330
73311992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7332
2f2c687b 7333 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
7334
73351992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7336
10d1d0af 7337 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
7338 strings - end the lines with `\n\'.
7339
73401992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7341
b166dcd8 7342 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
7343 different systems have different return types, and we're not even
7344 using the return type anyway, it wasn't doing us any good.
7345
73461992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7347
7348 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7349 type of this function.
7350
73511992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7352
7353 * ChangeLog: Since the old etc contents have been split into etc
7354 and lib-src, the old etc's ChangeLog has been duplicated in the
7355 new etc and lib-src. That means that each contains complete and
7356 coherent information, although each contains extraneous
1c478461 7357 information.
362bc2da
DL
7358
73591992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7360
290afd83 7361 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
7362 to be consistent with other GNU programs, like makeinfo.
7363
290afd83 7364 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
7365 will edit this to produce Makefile.
7366
73671992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7368
7369 * etags.c (print_help, print_version): New functions.
7370 (main): Options added to support them.
7371
7372 * etags.c (longopts): New array of long names for the options.
7373 (main): Recognize them.
7374
73751992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7376
b166dcd8 7377 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
7378 isn't recognized as magic, because it is correctly handled.
7379
7380 * getopt.c, getopt.h: New files, from GNU C library.
7381 * etags.c: Rewritten to use getopt.
7382 #include "getopt.h".
7383 (file_num): Variable deleted; its role is now played by getopt's
7384 optind.
7385 (main): Argument processing loop rewritten to call getopt to get
7386 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7387 to get parameter from optarg instead of argv[1].
7388 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7389 * Makefile (etags, ctags): Depend on and link with getopt.h,
7390 getopt.o, and getopt1.o.
7391 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7392
7393 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7394 is non-zero.
7395
7396 (main): In the argument processing loop, the 'goto next_arg'
7397 statements are breaking out of the switch statement in exactly the
7398 same way that a simple 'break' statement would; replace the gotos
7399 with breaks, and remove the label.
7400
74011992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7402
7403 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7404 (consider_token): Move next_token_is_func to global.
7405
74061992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7407
7408 * Makefile: Conform with GNU coding standards:
7409 (mostlyclean): New target, synonymous with clean.
7410 (TAGS, check): New targets.
7411 (INSTALL, INSTALLFLAGS): New variables.
7412
74131992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7414
ecc54057 7415 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7416 `config.emacs' to `configure'.
7417
7418 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7419 * etc/MACHINES: Same.
7420
74211992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7422
7423 * movemail.c (main): Allow tempname to be as long as necessary,
7424 instead of limiting it to 39 characters.
7425
7426 * movemail.c (main): Move declaration of buf from top of function
7427 to local block surrounding the copy loop. This makes it less
7428 likely to be confused with the buf used by the code which checks the
7429 permissions on outname's directory.
7430
74311992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7432
7433 * SERVICE: Remove my entry.
7434
74351992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7436
7437 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7438 hardcoded -g.
7439
7440 * movemail.c (xmalloc): Return char *, not int.
7441 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7442 that is off by default -- normally don't unlink the mail spool
7443 file, just empty it. Pass creat mode 0600, not 0666.
7444
dff28924 74451992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7446
7447 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7448 (all): Instead of here.
7449 (install): Don't use the -s option, since people need symbols to
7450 debug code.
7451
dff28924 74521992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7453
7454 * etags-vmslib.c (fn_exp): Add type cast.
7455
74561992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7457
7458 * movemail.c: Changes in comments.
7459
dff28924 74601992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7461
7462 * Makefile: Make the distclean target erase the DOC files from
7463 ../share-lib and the executables from ../arch-lib.
7464
dff28924 74651992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7466
7467 * emacsclient.c: #include <sys/stat.h>
7468 (main): Do declare statbfr.
7469
dff28924 74701991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7471
7472 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7473 for the socket, depending on SERVER_HOME_DIR.
7474 If using /tmp, put host name in the socket name.
7475
7476 * movemail.c (pfatal_and_delete): New function.
7477 (main, popmail): Use it.
7478 (popmail): Close output before deleting messages.
7479 Check for error on close and on fsync.
7480 Use `fatal' where appropriate.
7481 (main): Remove (void).
7482
7483 * aixcc.lex: New file. Not officially part of Emacs.
7484 * Makefile: Rules for that.
7485
dff28924 74861991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7487
7488 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7489
7490 * etags.c (main): Properly cast call to alloca that initializes
7491 included_files.
7492
74931991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7494
7495 * etags.c (files_are_tag_tables): Remove global var.
7496 (process_file): Don't test it. Also remove hack checking for a
7497 file named "TAGS".
7498 (main): -i now takes an arg which is the name of a file to include.
7499 Collect these names and emit include tags for them after processing
7500 all the argument files.
7501
dff28924 75021991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7503
7504 * wakeup.c: Terminate if parent goes away.
7505
dff28924 75061991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7507
7508 * etags.c (C_entries): Process token before handling end of line.
7509 When inner loops reach end of line, just back up.
7510 Let the real end of line processing happen in just one place.
a64387ee 7511 (consider_token): Likewise.
362bc2da 7512
dff28924 75131991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7514
7515 * etags.c (TEX_mode): Skip comments while scanning the text to see
7516 which escape character this file uses.
7517
dff28924 75181991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7519
7520 * emacsserver.c [USG]: Terminate if msgrcv fails.
7521
dff28924 75221991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7523
7524 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7525
dff28924 75261991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7527
7528 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7529 by not ignoring the character that read_c_string returns.
7530 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7531 or UNEVALLED arguments, since they're a figment of the docstring's
7532 imagination.
7533
dff28924 75341991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7535
7536 * make-docfile: Read the .elc files generated by the new byte
7537 compiler.
7538
dff28924 75391990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7540
7541 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7542
dff28924 75431990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7544
7545 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7546
dff28924 75471990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7548
7549 * Makefile (install*): No need to install wakeup.
7550
dff28924 75511990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7552
7553 * Makefile (install*): Install emacsclient like etags.
7554
dff28924 75551990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7556
7557 * movemail.c (error): Handle 3 args.
7558 (main): Don't check input access if using pop.
7559
dff28924 75601990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7561
7562 * etags.c (find_entries): Check for numbers after Scheme suffix.
7563
dff28924 75641990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7565
7566 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7567
dff28924 75681990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7569
7570 * Makefile (nemacstool, xvetool): New targets.
7571
dff28924 75721990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7573
7574 * emacsclient.c: Include errno.h and define related variables.
7575
dff28924 75761990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7577
7578 * emacsclient.c: Change usage message.
7579
dff28924 75801990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7581
ecc54057 7582 * emacs.1: Add break before -nw option.
362bc2da 7583
dff28924 75841990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7585
7586 * qsort.c: Replace with GNU version.
7587
dff28924 75881990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7589
7590 * wakeup.c: New program replacing loadst.c.
7591
dff28924 75921990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7593
7594 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7595
dff28924 75961990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7597
7598 * etags.c: Rename `flag' variables for what they do instead of
7599 which option character sets them.
7600
dff28924 76011990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7602
7603 * loadst.c (main): Conditional to get load average on Apollo.
7604
dff28924 76051990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7606
7607 * emacsserver.c: Set the permission on the socket to 0600.
7608
dff28924 76091990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7610
7611 * emacsclient.c [BSD]: Print clean message for failing getwd.
7612
dff28924 76131990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7614
7615 * getdate.y: Use the getdate.y from GNU tar for timer.
7616
dff28924 76171990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7618
7619 * emacsclient.c (main): Don't put brackets around "filename" in
7620 usage message. It isn't optional.
7621
dff28924 76221990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7623
a64387ee 7624 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7625
dff28924 76261990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7627
7628 * emacsserver.c: Renamed from server.c.
7629 * Makefile: Reference emacsserver rather than server.
7630 * MACHINES: Doc fix for new emacsserver name.
7631
dff28924 76321990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7633
7634 * emacsclient.c: Print program name in error messages.
7635
dff28924 76361990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7637
7638 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7639 Sub-process support for run-at-time in timer.el.
7640 Doesn't yet work correctly for USG.
362bc2da 7641
dff28924 76421990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7643
7644 * MACHINES: Add HP 300 running BSD.
7645
dff28924 76461990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7647
7648 * yow.c: Dynamically allocate buffer; skip header before random
7649 choice to avoid bias toward first item.
7650
dff28924 76511989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7652
7653 * etags.c (readline): Separate out init of `pend'.
7654
dff28924 76551989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7656
7657 * etags.c: Undo changes relating to isgoodhdr.
7658
dff28924 76591989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7660
7661 * etags.c (isgoodhdr): New macro.
7662 (_gdh, notgdh): New variable used by that.
7663 (init): Initialize _gdh.
7664 (find_entries): Set header_file.
7665 (consider_token): Use isgoodhdr if in header file.
7666
7667 * etags.c (total_size_of_entries):
7668 Was miscalculating by 1 in rewritten case.
7669
7670 * etags.c (PAS_funcs): One arg to pfnote was missing.
7671
dff28924 76721989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7673
7674 * MACHINES: Change for the ULTRIX entry.
7675
dff28924 76761989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7677
7678 * etags.c (process_file): If file is not regular, return.
7679
dff28924 76801989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7681
7682 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7683
dff28924 76841989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7685
7686 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7687 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7688
dff28924 76891989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7690
7691 * etags.c (consider_token): Allow any number of typespec keywords
7692 after `typedef', before new type name.
7693 (enum sym_type): Add st_C_typespec.
7694 (C_create_stab): Put typespec kwds in table.
7695
dff28924 76961989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7697
7698 * etags.c (main): Don't depend on name invoked by.
7699 If CTAGS is not defined, assume it is ETAGS.
7700
dff28924 77011989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7702
7703 * etags.c (L_funcs): Allow package name in define construct,
7704 as in (foo::defmumble name-defined ...).
7705
dff28924 77061989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7707
7708 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7709
7710 * Makefile (yow): Depends on ../src/paths.h.
7711
dff28924 77121989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7713
7714 * etags.c: Fix compilation by moving Pascal after Fortran.
7715
dff28924 77161989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7717
7718 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7719
dff28924 77201989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7721
7722 * hexl.c: New file, supports hexl-mode.
7723
dff28924 77241989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7725
7726 * movemail.c: New compilation flag MAIL_USE_MMDF.
7727
dff28924 77281989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7729
7730 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7731 * server.c: Likewise.
7732
7733 * make-docfile.c (scan_c_file): Output argument names at end of string.
7734 (write_c_args): New subroutine.
7735
dff28924 77361989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7737
7738 * movemail.c: Report failure of flock.
7739
dff28924 77401989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7741
7742 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7743
dff28924 77441989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7745
2f2c687b 7746 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7747
dff28924 77481989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7749
7750 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7751
30a7ee9f 7752 * emacstool.1: Update to document environment variables.
362bc2da 7753
dff28924 77541989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7755
7756 * etags.c (PAS_funcs): New function by Mosur Mohan.
7757
7758 * movemail.c: On sysv, include unistd.h.
7759
dff28924 77601989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7761
7762 * b2m.c: New file.
7763
dff28924 77641989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7765
6088b51f 7766 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7767
dff28924 77681989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7769
7770 * Makefile (clean): New target.
7771
dff28924 77721989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7773
7774 * fakemail.c (put_line): Break header lines at 79 cols.
7775
dff28924 77761989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7777
7778 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7779 multiple tags per line.
7780
dff28924 77811989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7782
7783 * movemail.c: Check access before doing real work.
7784 Check that outfile is in a writable directory.
7785 On fatal error, delete the lock file.
7786
dff28924 77871988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7788
ecc54057 7789 * env.c: Add decl for my-index
6088b51f 7790 * etags.c (file-entries): .oak => scheme.
362bc2da 7791
dff28924 77921988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7793
7794 * movemail.c: Use `access' to check input and output files.
7795
dff28924 77961988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7797
7798 * emacsclient.c (main): Ignore all of CWD before first slash.
7799
dff28924 78001988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7801
7802 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7803
dff28924 78041988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7805
7806 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7807 * server.c: chmod the socket to 0700.
7808
dff28924 78091988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7810
7811 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7812 (add_field): Delete comments and turn `<', `>' to spaces
7813 in header lines.
7814 (USE_FAKEMAIL): New customization macro says to make fakemail
7815 not be a no-op even on a BSD system.
7816
dff28924 78171988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7818
7819 * etags.c (consider_token): Skip comments just like whitespace.
7820 Notice `struct', etc. and set strtag for those tokens.
7821 Return 1 for the token following `struct' if an open-brace follows it.
7822 (C_entries): Special handling of token following `struct'
7823 needed because we have probably advanced to the following line
7824 to find the `{'.
7825 (main): New option `T' sets tflag and strflag.
7826 Set both of them by default if eflags.
7827
dff28924 78281988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7829
7830 * movemail.c: Do fsync before closing output.
7831
dff28924 78321988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7833
ecc54057
JB
7834 * movemail.c: Better error message when can't create tempname.
7835 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7836
dff28924 78371988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7838
7839 * etags.c: Support assembler code for .s and .a files.
7840 (getit): Allow underscore in a tag.
7841
dff28924 78421988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7843
7844 * movemail.c: Close output and check errors before deleting input.
7845
dff28924 78461988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7847
7848 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7849 whether to prefix it. Handle line number args.
7850
dff28924 78511988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7852
2f2c687b 7853 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7854
dff28924 78551988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7856
7857 * etags.c: New option -i. -f renamed -o.
7858 `-' as input file means read input file names from stdin.
7859 -i spec'd or input file named TAGS means the input file is another
7860 tag table; output an "include" line for it.
7861
dff28924 78621988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7863
7864 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7865 New targets install, install.sysv, install.xenix.
7866 This makefile is now responsible for installing executables
7867 and documentation from this directory into system directories.
7868
dff28924 78691988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7870
7871 * server.c, emacsclient.c (main): Compute socket name from euid.
7872
dff28924 78731988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7874
7875 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7876
dff28924 78771988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7878
7879 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7880 * emacsclient.c: Likewise.
7881 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7882
dff28924 78831988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7884
7885 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7886 (istoken): New string-comparison macro.
362bc2da
DL
7887 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7888
dff28924 78891988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7890
7891 * etags.c: Changes for VMS.
7892 Always define ETAGS on VMS.
7893 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 7894 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
7895 (main): Don't support -B, -F or -u on VMS.
7896 Alternate loop for scanning filename arguments.
7897 (system): Delete definition of this function.
7898
7899 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7900
dff28924 79011988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7902
7903 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7904 around include of param.h. (Like fns.c.)
7905
dff28924 79061988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7907
7908 * loadst.c (load_average): Move load-average code to this new fn.
7909 Add conditionals to compute load ave on UMAX.
7910
dff28924 79111988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7912
7913 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7914 with opposite sense.
7915
dff28924 79161988-05-13 Chris Hanson (cph@kleph)
362bc2da 7917
b166dcd8
KC
7918 * emacsclient.c: Delete references to unused variable `out'.
7919 This caused a bus error when used under hp-ux.
362bc2da 7920
dff28924 79211988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7922
7923 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7924
dff28924 79251988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7926
7927 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7928
dff28924 79291988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7930
7931 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7932
dff28924 79331988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7934
7935 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7936 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7937
dff28924 79381988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7939
7940 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7941 invalid escape sequences such as `\{'.
7942
7943 * loadst.c: Add `sequent' conditional for file dk.h.
7944
dff28924 79451988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7946
2f2c687b 7947 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7948
2f2c687b 7949 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7950
7951;; Local Variables:
880820fe 7952;; coding: utf-8
6922b018 7953;; End:
2a34a036 7954
acaf905b 7955 Copyright (C) 1988-1999, 2001-2012 Free Software Foundation, Inc.
5b87ad55
GM
7956
7957 This file is part of GNU Emacs.
7958
294981c7 7959 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7960 it under the terms of the GNU General Public License as published by
294981c7
GM
7961 the Free Software Foundation, either version 3 of the License, or
7962 (at your option) any later version.
5b87ad55
GM
7963
7964 GNU Emacs is distributed in the hope that it will be useful,
7965 but WITHOUT ANY WARRANTY; without even the implied warranty of
7966 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7967 GNU General Public License for more details.
7968
7969 You should have received a copy of the GNU General Public License
294981c7 7970 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.