Fix MS-Windows build in lib-src broken by last commit.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
7a49c9d6
EZ
12014-01-22 Eli Zaretskii <eliz@gnu.org>
2
3 * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
4 instead of fchmod.
5
dc217d01
PE
62014-01-22 Paul Eggert <eggert@cs.ucla.edu>
7
8 Fix miscellaneous update-game-score bugs.
9 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
10 (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage.
11 (read_scores, write_scores): Check for fclose failure.
12 (write_scores): Use fchmod, not chmod, to avoid a race.
13 (lock_file): Fix test for out-of-date lock file; it was reversed.
14 Use ordinary subtraction rather than difftime; since we're already
15 assuming POSIX we don't need to worry about the possibility of
16 time_t being a magic cookie.
17
d70efef4
PE
182014-01-19 Paul Eggert <eggert@cs.ucla.edu>
19
20 update-game-score fixes for -m and integer overflow (Bug#16428)
21 * update-game-score.c: Include inttypes.h, stdbool.h.
22 (min): New macro, if not already defined.
23 (MAX_SCORES, main): Limit the maximum number of scores only from
24 limits imposed by the underyling platform, instead of the
25 arbitrary value 200.
26 (struct score_entry, main, read_score, write_score):
27 Scores are now intmax_t, not long.
28 (get_user_id): Reject user names containing spaces or newlines,
29 as they would mess up the score file.
30 Allow uids that don't fit in 'long'.
31 Increase the size of the buffer, to avoid overrun in weird cases.
32 (get_prefix, main): Use bool for boolean.
33 (main): Rewrite expr to avoid possibility of signed integer
34 overflow. Don't allow newlines in data, as this would mess up
35 the score file. Check for memory allocation failure when adding
36 the new score, or when unlockint the file. Implement -m.
37 (read_score): Check for integer overflow when reading a score.
38 (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
39 data gets very long. Check only for space to delimit names,
40 since that's what's done in the HAVE_GETDELIM case.
41 (read_scores): New parameter ALLOC. Change counts to ptrdiff_t.
42 All uses changed. Use push_score to add individual scores;
43 that's simpler than repeating its contents.
44 (score_compare_reverse): Simplify.
45 (push_score): New parameter SIZE. Change counts to ptrdiff_t.
46 All uses changed. Check for integer overflow of size calculation.
47 (sort_scores, write_scores): Change counts to ptrdiff_t.
48 (unlock_file): Preserve errno on success, so that storage
49 exhaustion is diagnosed correctly.
50
da5ecfa9
PE
512014-01-05 Paul Eggert <eggert@cs.ucla.edu>
52
53 Spelling fixes.
54 * Makefile.in (regex.o): Remove reference to no-longer-used macros
55 CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a
56 misspelling anyway....
57
96c06863
PE
582013-12-14 Paul Eggert <eggert@cs.ucla.edu>
59
60 Use bool for boolean, focusing on headers.
61 * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
62 Remove. All uses replaced with uncapitalized version.
63 * emacsclient.c (message):
64 * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
65 * hexl.c (un_flag, iso_flag, endian):
66 * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
67 (pop_trash):
68 Use bool for boolean.
69 * etags.c (bool): Remove.
70 * etags.c (globals, members, declarations, no_line_directive)
71 (no_duplicates): Use 'int' for boolean values that getopt requires
72 to be 'int'. Formerly, these were 'bool' and 'bool' was 'int',
73 but we can no longer rely on this implementation.
74 * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
75
d672ac3c
PE
762013-11-14 Paul Eggert <eggert@cs.ucla.edu>
77
78 * ebrowse.c (xstrdup):
79 * etags.c (savenstr): Prefer tail calls.
80 * etags.c (concat): Omit unnecessary assignment.
81
eb9a3661
GM
822013-10-24 Glenn Morris <rgm@gnu.org>
83
357a5081
GM
84 * Makefile.in ($(DESTDIR)${archlibdir}):
85 Avoid non-portable "`\" nesting.
86
eb9a3661
GM
87 * Makefile.in (abs_top_srcdir): New, set by configure.
88
b8e3b0a9
GM
892013-10-23 Glenn Morris <rgm@gnu.org>
90
48f73cfb
GM
91 * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
92 (uninstall): Quote entities that might contain whitespace.
b8e3b0a9 93
4b5a548d
GM
942013-10-10 Glenn Morris <rgm@gnu.org>
95
96 * make-docfile.c (search_lisp_doc_at_eol):
97 Use int rather than char with getc. (Bug#15481)
98
00382e8b
PE
992013-09-20 Paul Eggert <eggert@cs.ucla.edu>
100
101 A simpler, centralized INLINE.
102 * profile.c (INLINE): New macro.
103 (SYSTIME_INLINE): Remove.
104
50b13cde
PE
1052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
106
107 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
108 for portability to hosts where /bin/sh has problems.
109
d4166523
EZ
1102013-08-10 Eli Zaretskii <eliz@gnu.org>
111
112 * update-game-score.exe.manifest: New file.
113
114 * Makefile.in (UPDATE_MANIFEST): New variable.
115 (SCRIPTS): Add $(UPDATE_MANIFEST).
116
dc6c0eda
SM
1172013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * makefile.w32-in (lisp2): Add nadvice.elc.
120
98a428c1
EZ
1212013-08-05 Eli Zaretskii <eliz@gnu.org>
122
123 * update-game-score.c (read_score): Try reading a character before
124 probing the stream for EOF. Initialize score->score to zero,
125 before reading and accumulating the score.
126 (read_scores): Fix logic that determines which value to return.
127 Close the input stream when finished reading the scores (avoids
128 failures in overwriting the file with a new one on MS-Windows,
129 since a file that is open cannot be deleted).
130
131 * ntlib.h (rename): Don't undefine.
132
133 * ntlib.c (sys_rename): New function, needed for
134 update-game-score.
135
e443729d
EZ
1362013-08-04 Eli Zaretskii <eliz@gnu.org>
137
138 * ntlib.h: Include fcntl.h.
139 (mkostemp): Declare prototype.
140 (mktemp): Don't redefine.
141
142 * ntlib.c (mkostemp): New function. (Bug#15015)
143
e0fdb694
PE
1442013-08-04 Paul Eggert <eggert@cs.ucla.edu>
145
146 Fix some minor races in hosts lacking mkostemp (Bug#15015).
147 * movemail.c (main):
148 * update-game-score.c (write_scores):
149 Use mkostemp (which now works on all platforms, due to changes
150 in the portability layer) rather than mktemp (which has a race)
151 or mkstemp (which we no longer bother with).
152
29abe551
PE
1532013-07-10 Paul Eggert <eggert@cs.ucla.edu>
154
155 Port to C89.
156 * ebrowse.c (USAGE): Remove macro with too-long string literal ...
157 (usage_message): ... and replace it with this new static constant
158 containing multiple literals. All uses changed.
159 * emacsclient.c (print_help_and_exit):
160 Rewrite to avoid string literals longer than the C89 limits.
161 (start_daemon_and_retry_set_socket):
162 Rewrite to avoid non-constant array initializer.
163 * make-docfile.c (enum global_type): Omit trailing comma.
164
37afa042 1652013-07-02 Paul Eggert <eggert@cs.ucla.edu>
fbe9e0b9 166
164b1ba3
PE
167 Prefer plain 'static' to 'static inline' (Bug#12541).
168 I missed these instances of 'static inline' in an earlier sweep.
169 * ebrowse.c (putstr):
170 * etags.c (hash):
171 * make-docfile.c (put_char): No longer inline.
172 * etags.c (hash): Prefer int to unsigned when either will do.
173
37afa042
PE
1742013-06-21 Paul Eggert <eggert@cs.ucla.edu>
175
fbe9e0b9 176 Use C99-style flexible array members if available.
b33a2a6f
PE
177 * ebrowse.c: Include <stddef.h>, for offsetof.
178 (struct member, struct alias, struct sym):
fbe9e0b9
PE
179 Use FLEXIBLE_ARRAY_MEMBER.
180 (add_sym, add_member, make_namespace, register_namespace_alias):
181 Use offsetof (struct, flex_array_member), not sizeof (struct), as
182 that ports better to pre-C99 non-GCC.
183
38b787fa
EZ
1842013-05-29 Eli Zaretskii <eliz@gnu.org>
185
186 * Makefile.in (mostlyclean): Remove *.res files.
187
31ff141c
PE
1882013-05-18 Paul Eggert <eggert@cs.ucla.edu>
189
190 Port --enable-gcc-warnings to clang.
191 * etags.c: Omit unnecessary forward decls.
192 (print_version, print_help): Declare _Noreturn.
193 * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
194
df065a0b
EZ
1952013-05-16 Eli Zaretskii <eliz@gnu.org>
196
197 * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
198
199 * ntlib.h (sleep): Update prototype.
200 (geteuid): Add prototype.
201
202 * ntlib.c (sleep): Now returns an unsigned value.
203 (getgid): New function.
204
205 * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
206 (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
207 (INSTALLABLES): Add $(CLIENTW).
208 (LIBS_MOVE): Use $(LIB_WSOCK32).
209 ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
210 (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
211 (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
212 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
213 (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
214 Add $(NTLIB) to prerequisites. Use $(EXEEXT).
215 (pop.o): Add pop.h to prerequisites.
216 (emacsclientw${EXEEXT}, ntlib.o): New targets.
217 (emacsclient.res): New target.
218
6e911150
SM
2192013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
222
8c13f3d6
PE
2232013-05-06 Paul Eggert <eggert@cs.ucla.edu>
224
225 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
226 by removing references to no-longer-existing locals.
227
b88b62de
EZ
2282013-03-26 Eli Zaretskii <eliz@gnu.org>
229
230 Fix incompatibilities between MinGW.org and MinGW64 headers.
231 * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
232 struct only if _TIMEZONE_DEFINED is not defined.
233
d7158313 2342013-03-23 cg <chengang31@gmail.com> (tiny change)
235
236 * makefile.w32-in (LIB_SRC): Move before first use.
237
78be8b64 2382013-03-16 Paul Eggert <eggert@cs.ucla.edu>
b2e37dad
PE
239
240 * pop.c: Fix ERRMAX typo (Bug#13925).
241 (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
242 Use ERROR_MAX, not ERRMAX.
243
f58afc72
PE
2442013-03-13 Paul Eggert <eggert@cs.ucla.edu>
245
47d7532e
PE
246 File synchronization fixes (Bug#13944).
247 * Makefile.in (LIB_FDATASYNC): New macro.
248 (emacsclient${EXEEXT}): Use it.
249 * emacsclient.c (main): Use fdatasync, not fsync, since we don't
250 care about metadata. Keep trying if interrupted.
251 * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
78be8b64
SM
252 fsync is available everywhere (or there is a substitute).
253 Don't report an error if fsync returns EINVAL.
47d7532e 254
d9df6f40
PE
255 Static checking by Sun C 5.12.
256 * etags.c (analyse_regex): Omit unreachable code.
257
f58afc72
PE
258 * movemail.c (main): Call umask on all systems.
259 This is OK since Emacs already assumes umask elsewhere.
9e3edd30
PE
260 Don't grant more read permissions than necessary.
261 The old 0333 dates back to before we called setuid,
262 so it was needed back then to ensure user-readability,
263 but 0377 should suffice now.
f58afc72 264
e70e5000
PE
2652013-02-08 Paul Eggert <eggert@cs.ucla.edu>
266
267 * movemail.c (getenv): Remove decl (unused since 1994).
268
1a353a14
PE
2692013-01-15 Paul Eggert <eggert@cs.ucla.edu>
270
271 * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
272 This pacifies GCC 4.7.2 when Emacs is configured with
273 --enable-link-time-optimization and --enable-gcc-warnings.
274
a19e68ea
JB
2752013-01-01 Juanma Barranquero <lekktu@gmail.com>
276
277 * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
278
0eeb69fe
JB
2792012-12-11 Juanma Barranquero <lekktu@gmail.com>
280
281 * makefile.w32-in (SYSWAIT_H): Update dependencies.
282
2b8c9064
EZ
2832012-12-10 Eli Zaretskii <eliz@gnu.org>
284
285 * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix
286 sources.
287
1cbaa705
KR
2882012-12-02 Kevin Ryde <user42@zip.com.au>
289
290 * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
291 the --declarations flag is enabled (Bug#5600).
292 (Lisp_help): Update.
293 (skip_name): New function.
294
00054d21
KR
2952012-12-01 Kevin Ryde <user42@zip.com.au>
296
297 * etags.c (Perl_functions): Support "use constant" (Bug#5055).
298
22626a85
PE
2992012-11-27 Paul Eggert <eggert@cs.ucla.edu>
300
301 Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
302 * movemail.c (main): Assume EAGAIN and EBUSY.
303
e6bac876
PE
3042012-11-23 Paul Eggert <eggert@cs.ucla.edu>
305
306 movemail: treat EACCES etc. failures as permanent
307 * movemail.c (main): Treat any link failure other than EEXIST as a
308 permanent failure, not just EPERM. EACCES, for example.
309
9239d970
PE
3102012-11-21 Paul Eggert <eggert@cs.ucla.edu>
311
312 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
313 * emacsclient.c (getcwd): Remove decl.
314 (get_current_dir_name): Assume getcwd exists.
315 * etags.c (HAVE_GETCWD): Remove.
316 (getcwd): Remove decl.
317 (NO_LONG_OPTIONS): Remove this. All uses removed.
318 Emacs always has GNU getopt.
319 (etags_getcwd): Assume getcwd exists.
320 * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
321
a7db35b3
PE
3222012-11-20 Paul Eggert <eggert@cs.ucla.edu>
323
324 * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
325 rather than kill (getpid (), sig), as it's simpler and safer.
326
a75ce9d3
JB
3272012-11-17 Juanma Barranquero <lekktu@gmail.com>
328
329 * makefile.w32-in (SYSWAIT_H): New macro.
330 ($(BLD)/movemail.$(O)): Update dependencies.
331
49cdacda
PE
3322012-11-17 Paul Eggert <eggert@cs.ucla.edu>
333
334 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
335 * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
336
eeced60b
GM
3372012-10-26 Glenn Morris <rgm@gnu.org>
338
b75897ba
GM
339 * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
340
eeced60b
GM
341 * Makefile.in (install, uninstall): Transformations should not be
342 applied to $EXEEXT.
343
4c77e620
EZ
3442012-10-23 Eli Zaretskii <eliz@gnu.org>
345
346 * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
347 follow src/lisp.mk.
348
ee7a418d
GM
3492012-10-21 Glenn Morris <rgm@gnu.org>
350
351 * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
352
2068905b
EZ
3532012-10-20 Eli Zaretskii <eliz@gnu.org>
354
83c85d8e
EZ
355 * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
356 (scan_lisp_file): Only pass a .el file if its basename matches a
357 known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE.
358
cab4f71e
AS
3592012-10-20 Andreas Schwab <schwab@linux-m68k.org>
360
361 * make-docfile.c (scan_lisp_file): Add bounds checking.
362
2068905b
EZ
3632012-10-20 Eli Zaretskii <eliz@gnu.org>
364
71aa63da 365 Prevent silent omission of doc strings from uncompiled Lisp files.
2068905b
EZ
366 * make-docfile.c (scan_lisp_file): Barf if called with a .el file
367 other than one of a small list of supported un-compiled files.
368
369 * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
370 exist. (Bug#12395)
371
27067208
EZ
3722012-10-17 Eli Zaretskii <eliz@gnu.org>
373
374 * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
375 _mbspbrk.
376
c54ebba4
EZ
3772012-10-08 Eli Zaretskii <eliz@gnu.org>
378
379 * makefile.w32-in (obj): Add cygw32.o.
380
e08348a0
DC
3812012-10-08 Daniel Colascione <dancol@dancol.org>
382
383 * emacsclient.c: Include windows.h when HAVE_NTGUI.
384 (alt_display): New variable. We send the display held by this
385 variable when the primary display is either unsupported or not
386 present.
387 (longopts): Allow display everywhere.
388 (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
389 section.
390 (decode_options): Use alt_display. Explain why.
391 (main): Retry connection with alt_display if connection with main
392 display fails.
393
3d3bfa24
FP
3942012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
395
396 * make-docfile.c (write_globals): Special-case
397 Fexit_recursive_edit and Fabort_recursive_edit as well, as
398 functions that are _Noreturn, to be consistent with
399 src/keyboard.c.
400
62aba0d4
FP
4012012-09-30 Eli Zaretskii <eliz@gnu.org>
402
403 * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c
404 needs this function.
405
6a586b7f
JB
4062012-09-26 Juanma Barranquero <lekktu@gmail.com>
407
408 * makefile.w32-in (obj): Add profiler.o.
409
78f83752
GM
4102012-09-17 Glenn Morris <rgm@gnu.org>
411
412 * ebrowse.c (version):
413 * etags.c (print_version): Use COPYRIGHT.
414
ae1d87e2
PE
4152012-09-11 Paul Eggert <eggert@cs.ucla.edu>
416
417 * pop.c (socket_connection) [HAVE_GETADDRINFO]:
418 Prefer assignment to memcpy when either will do.
419
5bf64749
AS
4202012-08-31 Andreas Schwab <schwab@linux-m68k.org>
421
422 * etags.c (consider_token): Always zero-terminate token buffer.
423 (Bug#12306)
424
b69a6d22
PE
4252012-08-19 Paul Eggert <eggert@cs.ucla.edu>
426
bad03192 427 Rely on <config.h> + <unistd.h> to declare 'environ'.
b69a6d22
PE
428 * emacsclient.c (environ): Remove decl.
429
9851e4a5
JB
4302012-08-17 Juanma Barranquero <lekktu@gmail.com>
431
432 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
433
8453bb55
PE
4342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
435
436 * etags.c (Pascal_functions): Fix parenthesization typo.
437
f5d9e83a
PE
4382012-08-14 Paul Eggert <eggert@cs.ucla.edu>
439
440 * make-docfile.c (enum global_type): Sort values roughly in
441 decreasing alignment, except put functions last.
442 (compare_globals): Use this new property of enum global_type.
443 (write_globals): Use bool, not int, for booleans.
444
9374581a
GM
4452012-08-10 Glenn Morris <rgm@gnu.org>
446
25e65510
GM
447 * make-docfile.c (IF_LINT):
448 * emacsclient.c (IF_LINT): Remove (in config.h now).
449
9748df5d
GM
450 * make-docfile.c (main):
451 (fopen) [!WINDOWSNT]:
452 (chdir) [!DOS_NT]: No more need to undef.
453
9374581a
GM
454 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
455 * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
456 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
457 Remove (they are in config.h now).
35656638
GM
458
459 * ebrowse.c (PATH_LIST_SEPARATOR):
460 Remove, and replace with SEPCHAR from config.h.
461
3fbc4b54
JB
4622012-08-03 Juanma Barranquero <lekktu@gmail.com>
463
464 * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
465 they are always defined in config.h.
466
6dad7178
EZ
4672012-08-03 Eli Zaretskii <eliz@gnu.org>
468
469 * ntlib.c (lstat): New function, calls 'stat'.
470
f162bcc3
PE
4712012-08-02 Paul Eggert <eggert@cs.ucla.edu>
472
473 Use C99-style 'extern inline' if available.
474 * profile.c (SYSTIME_INLINE): Define.
475
837b365b
GM
4762012-08-02 Glenn Morris <rgm@gnu.org>
477
478 * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
479
de7de872
GM
4802012-08-01 Glenn Morris <rgm@gnu.org>
481
482 * Makefile.in (config_h): New variable.
483 Use throughout in place of ../src/config.h.
484
552a99b4
JB
4852012-08-01 Juanma Barranquero <lekktu@gmail.com>
486
487 * makefile.w32-in (CONFIG_H): Update dependencies.
488 (CONF_POST_H): New macro.
489
0aee6912
PE
4902012-07-30 Paul Eggert <eggert@cs.ucla.edu>
491
492 Update .PHONY listings in makefiles.
493 * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
494 install, uninstall, mostlyclean, clean, distclean,
495 maintainer-clean, extraclean, check, tags.
496
8519232d
EZ
4972012-07-29 Eli Zaretskii <eliz@gnu.org>
498
499 * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
500
debd9b27
PE
5012012-07-12 Paul Eggert <eggert@cs.ucla.edu>
502
503 * movemail.c: Add missing 'defined'.
504 Suggested by Sven Joachim in
505 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
506
5ebbef1d
PE
5072012-07-11 Paul Eggert <eggert@cs.ucla.edu>
508
c214e35e
PE
509 Port 'movemail' again to Solaris and similar hosts.
510 See Susan Cragin's report in
511 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
512 * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
513 !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
514 need a forward declaration.
515 (main): Rewrite to avoid no-longer-present function 'concat', if
516 !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
517
5ebbef1d
PE
518 Assume strerror.
519 * emacsclient.c, movemail.c, update-game-score.c (strerror)
520 [!HAVE_STRERROR]: Remove.
521
e99a530f
PE
5222012-07-10 Paul Eggert <eggert@cs.ucla.edu>
523
e9a9ae03
PE
524 EMACS_TIME simplification (Bug#11875).
525 * profile.c (TV2): Remove no-longer-needed static var.
526
e99a530f
PE
527 Simplify by avoiding confusing use of strncpy etc.
528 * etags.c (write_classname, C_entries):
529 Use sprintf rather than strncpy or strncat.
530 * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
531 (Erlang_functions, substitute, readline_internal, savenstr):
532 * movemail.c (mail_spool_name):
533 Use memcpy rather than strncpy or strncat when either will do.
534 * make-docfile.c (write_c_args):
535 Use memcmp rather than strncmp when either will do.
536 * movemail.c (pop_retr):
537 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
538 (socket_connection, pop_getline, sendline, getok):
539 Use snprintf rather than strncpy or strncat.
540 * movemail.c (concat): Remove; no longer needed.
541 (xmalloc): Define only if needed, now that concat has gone away.
542 Return void *. All uses changed.
543
5994c183
PE
5442012-07-09 Paul Eggert <eggert@cs.ucla.edu>
545
546 Add GCC-style 'const' attribute to functions that can use it.
547 * etags.c (number_len): Add ATTRIBUTE_CONST.
548
ad0a19b7
JB
5492012-07-09 Juanma Barranquero <lekktu@gmail.com>
550
551 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
552
65e46515
JB
5532012-07-09 Juanma Barranquero <lekktu@gmail.com>
554
555 * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
556 (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
557 (SYSTIME_H): New macros.
558 (SRC): Redefine to point to src/, not current directory.
559 ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
560 ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
561 ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
562 ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
563 ($(BLD)/regex.$(O)): New dependency.
564
31542918
JB
5652012-07-09 Juanma Barranquero <lekktu@gmail.com>
566
567 * makefile.w32-in (ALL): Add profile.exe.
568 (PROFILEOBJS): New macro.
569 ($(BLD)/profile.exe): New target.
570 (install): Copy profile.exe.
571 ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
572
07adc2c6
JB
5732012-07-07 Juanma Barranquero <lekktu@gmail.com>
574
575 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
576 Update dependencies.
577
fee5959d
PE
5782012-07-06 Paul Eggert <eggert@cs.ucla.edu>
579
580 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
581 * etags.c: Include c-strcase.h.
582 (etags_strcasecmp, etags_strncasecmp): Remove.
583 All uses replaced with c_strcasecmp and c_strncasecmp.
584
9c32bf45
AS
5852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
586
587 * make-docfile.c (write_globals): Warn about duplicate function
588 definitions with differing signatures.
589
9c46aab9
PE
5902012-07-03 Paul Eggert <eggert@cs.ucla.edu>
591
592 * make-docfile.c (scan_c_file): Suppress GCC warning.
593
404dbd37
TT
5942012-06-29 Tom Tromey <tromey@redhat.com>
595
596 * make-docfile.c (enum global_type) <FUNCTION>: New constant.
597 (struct global) <value>: New field.
598 (add_global): Add 'value' argument.
599 (compare_globals): Sort functions at the end.
600 (close_emacs_globals): New function.
601 (write_globals): Handle functions.
602 (scan_c_file): Call add_global for DEFUN.
603
b95b7254
JB
6042012-06-30 Juanma Barranquero <lekktu@gmail.com>
605
606 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
607 already defined in ETAGS_CFLAGS.
608
1ba6038a
GM
6092012-06-27 Glenn Morris <rgm@gnu.org>
610
611 * makefile.w32-in (lisp2): Remove paths.el.
612
cf38a720
PE
6132012-06-26 Paul Eggert <eggert@cs.ucla.edu>
614
615 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
616 * Makefile.in (BASE_CFLAGS):
617 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
618 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
619 * etags.c (DOS_NT):
620 * pop.c (MAIL_USE_POP, h_errno):
621 Remove code that was conditioned on !HAVE_CONFIG_H.
622
3511c784
DA
6232012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
624
625 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
626 library functions strcasecmp and strncasecmp if available.
627
845ca893
PE
6282012-06-24 Paul Eggert <eggert@cs.ucla.edu>
629
630 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
631 * ebrowse.c (usage, version):
632 * emacsclient.c (print_help_and_exit, fail):
633 * etags.c (suggest_asking_for_help, fatal, pfatal):
634 * hexl.c (usage):
635 * make-docfile.c (fatal):
636 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
637 * update-game-score.c (usage):
638 * ebrowse.c (usage, version):
639 * emacsclient.c (print_help_and_exit, fail):
640 Use _Noreturn rather than NO_RETURN.
641 No need for separate decl merely because of _Noreturn.
642
dd1ff7c0
SB
6432012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change)
644
645 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
646
d35af63c
PE
6472012-06-22 Paul Eggert <eggert@cs.ucla.edu>
648
649 Support higher-resolution time stamps (Bug#9000).
650 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
651 (profile${EXEEXT}): Use it.
10b6eb0d 652 * profile.c: Include inttypes.h, intprops.h.
d35af63c
PE
653 (time_string): Size conservatively; do not guess size.
654 (get_time): Now prints nanoseconds.
655 (gettimeofday): Remove replacement function; gnulib now does this.
656
7cb70fd7
AS
6572012-06-08 Andreas Schwab <schwab@linux-m68k.org>
658
659 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
660 character.
661
276d5f5d
GM
6622012-06-06 Glenn Morris <rgm@gnu.org>
663
67163749
GM
664 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
665 (stamp-rcs2log, stamp-grep-changelog): Remove.
666 (all, clean): Remove references to stamps.
667
276d5f5d
GM
668 * vcdiff: Remove file.
669 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
670 (stamp-vcdiff): Remove.
671
b3c659a1
GM
6722012-06-05 Glenn Morris <rgm@gnu.org>
673
674 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
675 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
676 ($(BLD)/timer.$(O)): Remove cruft.
677
418cd726
GM
6782012-06-03 Glenn Morris <rgm@gnu.org>
679
680 * rcs-checkin: Remove file.
681 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
682 Remove rcs-checkin.
683 (stamp-rcs-checkin): Remove.
684
efc00ab1 6852012-05-31 Eli Zaretskii <eliz@gnu.org>
06523364
EZ
686
687 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
688 instead of a literal -mwindows, which is not supported by MSVC.
689 (Bug#11405)
690
61b108cc
SM
6912012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * make-docfile.c: Improve comment style.
694 (search_lisp_doc_at_eol): New function.
695 (scan_lisp_file): Use it.
696
fe453991
GM
6972012-05-26 Glenn Morris <rgm@gnu.org>
698
699 * Makefile.in (INSTALL_DATA): Remove; unused.
700
34374650
PE
7012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
702
703 Remove src/m/*.
704 * makefile.w32-in: Remove dependencies on
705 $(EMACS_ROOT)/src/m/intel386.h.
706
32514cfe
GM
7072012-05-22 Glenn Morris <rgm@gnu.org>
708
709 * Makefile.in (install): Remove unneeded chmods.
710
261cb4bb
PE
7112012-05-21 Paul Eggert <eggert@cs.ucla.edu>
712
713 Assume C89 or later.
714 * etags.c (static, const): Remove macros.
715 (PTR): Remove; all uses replaced with void *. Omit needless casts.
716
b847032c
GM
7172012-05-21 Glenn Morris <rgm@gnu.org>
718
719 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
720 Scrap superfluous subshells.
721
ed4affe1
GM
7222012-05-18 Glenn Morris <rgm@gnu.org>
723
724 * Makefile.in (install): Ensure $bindir exists.
725
3a4155de
GM
7262012-05-17 Glenn Morris <rgm@gnu.org>
727
728 * Makefile.in (ns_appbindir): New, set by configure.
729
005ad204
GM
7302012-05-12 Glenn Morris <rgm@gnu.org>
731
732 * Makefile.in (MKDIR_P): New, set by configure.
733 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
734
db5a3003
PE
7352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
736
737 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
738 * etags.c: Include <stdarg.h>.
739 (error): Declare as printf-style, as that's what it really is.
740 All uses changed.
741 (add_regex): Use single char rather than array-of-one char.
742
eceeb5fc
CY
7432012-05-05 Jim Meyering <meyering@redhat.com>
744
38942b9c 745 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
eceeb5fc
CY
746 NUL-terminate the error buffer (Bug#11372).
747
069a7756
JB
7482012-05-02 Juanma Barranquero <lekktu@gmail.com>
749
750 * emacsclient.c (min): Undef before redefining it.
751
1e6f32f8
JM
7522012-05-02 Jim Meyering <jim@meyering.net>
753
754 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
755 send (Bug#11374).
756
a706a3bc
AS
7572012-04-29 Andreas Schwab <schwab@linux-m68k.org>
758
759 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
760 byte-code forms. (Bug#11380)
761
c07a4c0b 7622012-04-20 Chong Yidong <cyd@gnu.org>
9a864fa2
CY
763
764 * emacsclient.c (decode_options): Move -t -n corner case handling
765 into server.el (Bug#11102).
5d3385a0 766 (main): Send -tty to Emacs under more circumstances (Bug#8314).
9a864fa2 767
6c94c34f 7682012-04-18 Paul Eggert <eggert@cs.ucla.edu>
b8df54ff 769
9f46df23 770 configure: new option --enable-gcc-warnings (Bug#11207)
b8df54ff
PE
771 * Makefile.in (C_WARNINGS_SWITCH): Remove.
772 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
773 (BASE_CFLAGS): Use new macros rather than old.
774
15142f27
PE
7752012-04-16 Paul Eggert <eggert@cs.ucla.edu>
776
777 Assume less-ancient POSIX support.
778 * update-game-score.c: Include <getopt.h> rather than rolling our
779 own decls for optarg, optind, opterr. See
780 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
781
bdf35b6a 7822012-04-14 Juanma Barranquero <lekktu@gmail.com>
6c91c9f0 783
9401b326
JB
784 * emacsclient.c (decode_options) [WINDOWSNT]:
785 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
786
9078ead6
EZ
7872012-04-07 Eli Zaretskii <eliz@gnu.org>
788
789 * makefile.w32-in (obj): Add xml.o.
790
d67a9a85
EZ
7912012-04-07 Eli Zaretskii <eliz@gnu.org>
792
793 * makefile.w32-in (ALL): Now the list of executables, not of phony
794 targets.
795 (.PHONY): Only make-docfile is its prerequisite now.
796 (make-docfile): Don't depend on stamp_BLD. Add a comment about
797 the need in this target.
798 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
799 (test-distrib): Phony targets removed.
800 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
801 (all): Don't depend on stamp_BLD.
e4ecc6a2 802 (ALL): Include $(BLD)/test-distrib.exe.
d67a9a85 803
6b0c8984
AS
8042012-03-11 Andreas Schwab <schwab@linux-m68k.org>
805
e29ab36b
AS
806 * emacsclient.c (main): Handle -print-nonl command.
807
2b84f674
AS
808 * emacsclient.c (main): Handle multiple messages in a single
809 datagram.
810
6b0c8984
AS
811 * emacsclient.c (socket_name): Add const.
812 (get_server_config): Add parameter config_file, use it instead of
813 global server_file.
814 (set_tcp_socket): Add parameter local_server_file, pass it down to
815 get_server_config.
816 (set_local_socket): Add parameter local_socket_name, use it
817 instead of global socket_name.
818 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
819 Don't clobber global server_file or socket_name.
820 (main): No longer reset server_file or socket_name.
821
1c6e5a32
GM
8222012-01-05 Glenn Morris <rgm@gnu.org>
823
824 * ebrowse.c (version) <emacs_copyright>:
825 * etags.c (print_version) <emacs_copyright>:
826 * rcs2log (Copyright): Update short copyright year to 2012.
827
28796b3a
AS
8282011-12-25 Andreas Schwab <schwab@linux-m68k.org>
829
830 * etags.c (C_entries): Properly skip over string and character
831 constants and comments inside brackets. (Bug#10357)
832
520fca41
JB
8332011-12-04 Juanma Barranquero <lekktu@gmail.com>
834
835 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
836 instead, treat both -c and -t as always requesting a new "tty" frame,
837 and let server.el decide which kind is actually required.
838 Reported by Uwe Siart <usenet@siart.de> in this thread:
839 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
840
e7308292
CY
8412011-11-30 Chong Yidong <cyd@gnu.org>
842
843 * emacsclient.c (main): Condition last change on WINDOWSNT
844 (Bug#10155).
845
8c9afb46
EZ
8462011-11-27 Eli Zaretskii <eliz@gnu.org>
847
848 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
849
850 * emacsclient.c (main) <environ>: Remove declaration, already
75f1671a 851 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
8c9afb46 852
420b63ad
GM
8532011-11-24 Glenn Morris <rgm@gnu.org>
854
855 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
856
5ef215d8
DN
8572011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
858
859 * Makefile.in (all): Make sure "all" is the first target.
860
657d08d3
JB
8612011-10-27 Juanma Barranquero <lekktu@gmail.com>
862
863 * emacsclient.c (w32_getenv): Silence compiler warnings.
864
0f054abc
GM
8652011-09-07 Glenn Morris <rgm@gnu.org>
866
867 * etags.c (Fortran_functions): Handle "elemental" functions.
868
d0417b4c
DS
8692011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
870
871 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
872
e39b275c 8732011-09-06 Paul Eggert <eggert@cs.ucla.edu>
24e0f6b1
PE
874
875 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
abec06ff 876 to build-aux (Bug#9169).
24e0f6b1 877
86633eab 8782011-09-04 Paul Eggert <eggert@cs.ucla.edu>
17107bb6 879
005d87bd 880 Integer and memory overflow issues (Bug#9397).
17107bb6
PE
881
882 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
883 avoid potential buffer overflow issues on typical 64-bit hosts.
884 Return void *, not long *.
885 (get_current_dir_name): Report a failure, instead of looping
886 forever, if buffer size calculation overflows. Treat malloc
887 failures like realloc failures, as that has better behavior and is
888 more consistent. Do not check whether xmalloc returns NULL, as
889 that's not possible.
890 (message): Do not arbitrarily truncate message to 2048 bytes when
891 sending it to stderr; use vfprintf instead.
892 (get_server_config, set_local_socket)
893 (start_daemon_and_retry_set_socket): Do not alloca
894 arbitrarily-large buffers; that's not safe.
895 (get_server_config, set_local_socket): Do not use sprintf when its
896 result might not fit in 'int'.
897 (set_local_socket): Do not assume uid fits in 'int'.
898
9250f758
PE
899 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
900 to avoid potential buffer overflow issues on typical 64-bit hosts.
901 (whatlen_max): New static var.
902 (main): Avoid buffer overflow if subsidiary command length is
4f405069 903 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
9250f758
PE
904 result might not fit in 'int'.
905
644a0faa
PE
906 * movemail.c (main): Do not use sprintf when its result might not fit
907 in 'int'. Instead, put the possibly-long file name into the
908 output of pfatal_with_name.
909
0c6d656d
PE
910 * update-game-score.c: Include <limits.h>
911 (get_user_id): Do not assume uid fits in 'int'. Simplify.
912
044c22e5 9132011-07-28 Paul Eggert <eggert@cs.ucla.edu>
9cfdb3ec 914
0e926e56
PE
915 Assume freestanding C89 headers, string.h, stdlib.h.
916 * ebrowse.c: Include stdlib.h unconditionally.
917 * etags.c, update-game-score.c:
918 Include string.h and stdlib.h unconditionally.
919 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
920 * movemail.c, pop.c: Include string.h unconditionally.
921 * update-game-score.c: No need to include stdarg.h; not used.
922
9cfdb3ec
PE
923 Assume support for memcmp, memcpy, memmove, memset.
924 * etags.c (absolute_filename): Assume memmove exists.
925
ec3b5374
AS
9262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
927
928 * update-game-score.c (usage): Update usage line.
929
bc92abd2
JR
9302011-07-02 Jason Rumney <jasonr@gnu.org>
931
932 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
933 Windows (Bug#5486).
934
3794a2d3
GM
9352011-06-25 Glenn Morris <rgm@gnu.org>
936
937 * emacsclient.c (decode_options) <opt>: Add `F:'.
938 (print_help_and_exit): Mention --frame-parameters.
939
18a4ce5e
AR
9402011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
941
942 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
943
529a133c
PE
9442011-06-10 Paul Eggert <eggert@cs.ucla.edu>
945
946 * movemail.c: Fix race condition and related bugs (Bug#8836).
947 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
948 fixes some race conditions. Report mkstemp/mktemp errno rather
949 than a possibly-garbage errno. Reinitialize the template each
950 time through the loop, as earlier mkstemp/mktemp calls could have
951 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
952 with mkstemp; the permissions don't matter anyway.
953
fe91f5a0
DN
9542011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
955
956 * emacsclient.c (socket_status): Use constant pointer.
957
55d4c1b2
PE
9582011-05-28 Paul Eggert <eggert@cs.ucla.edu>
959
960 Use 'inline', not 'INLINE'.
961 * etags.c (hash): Now inline unconditionally.
962 * make-docfile.c (put_char): inline, not INLINE.
963
7bdede3f
GM
9642011-05-25 Glenn Morris <rgm@gnu.org>
965
e9490743
GM
966 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
967 (insrcdir): New.
968 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
969 Use $insrcdir to suppress unaesthetic ignored errors.
970 (clean): Simplify list of things to delete.
497c74cd 971 (all, clean): Use $EXE_FILES.
e9490743 972
d114d4f3
GM
973 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
974
7bdede3f
GM
975 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
976 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
977
1c728a9d
GM
9782011-05-24 Glenn Morris <rgm@gnu.org>
979
980 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
981
4a720484
GM
9822011-05-19 Glenn Morris <rgm@gnu.org>
983
984 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
985 (clean): No more echolisp.tmp.
986
c136e5cd
GM
9872011-05-18 Glenn Morris <rgm@gnu.org>
988
989 * fakemail.c: Remove file.
990 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
991 ($(BLD)/fakemail.$(O)): Remove.
992 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
993 (fakemail${EXEEXT}): Remove rule.
994
418401a5
TZ
9952011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
996
17519c90 997 * makefile.w32-in (obj): Add gnutls.o.
418401a5 998
c5443aa5
PE
9992011-04-16 Paul Eggert <eggert@cs.ucla.edu>
1000
fd35b6f9
PE
1001 Static checks with GCC 4.6.0 and non-default toolkits.
1002
5a9c1e26
PE
1003 * movemail.c (mail_spool_name): Protoize.
1004 (main): Remove unused var. Mark var as initialized.
1005 Move locals to avoid shadowing, and use time_t for times.
1006
cd52b244
PE
1007 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
1008 with void *. This avoids warnings about pointer casts.
1009
c5443aa5
PE
1010 * emacsclient.c (main): Don't use uninitialized var.
1011 (IS_ANY_SEP): Remove; unused.
1012 (get_current_dir_name): Add an extern decl.
1013
41cf7d1a 10142011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 1015
41cf7d1a 1016 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 1017
41cf7d1a 1018 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
1019
1020 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
1021 (write_c_args): Use it to suppress GCC warning.
1022
77861b95 10232011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 1024
77861b95 1025 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
1026 * etags.c (just_read_file): Remove dummy variable and simplify.
1027
9af30bdf
GM
10282011-03-27 Glenn Morris <rgm@gnu.org>
1029
1030 * emacsclient.c: Replace SIGTYPE with void.
1031
9c88f339
JB
10322011-03-23 Juanma Barranquero <lekktu@gmail.com>
1033
1034 * ntlib.c: Include <ctype.h>.
1035
8cc1d519
GM
10362011-03-23 Glenn Morris <rgm@gnu.org>
1037
1038 * Makefile.in ($(DESTDIR)${archlibdir}):
1039 Use `install-sh -d' rather than mkinstalldirs.
1040
c9c49752 10412011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 1042
b1f961e1
PE
1043 * ebrowse.c: Use size_t, not int, for sizes.
1044 This avoids a warning with gcc -Wstrict-overflow, and works
1045 better for very large objects.
1046 (inbuffer_size): Now size_t. All uses changed.
1047 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
1048 sizes. Don't bother testing whether a size_t value can be negative.
1049
58cb46fb
PE
1050 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
1051
3ef271f2
PE
1052 etags: In Prolog functions, don't assume int fits in size_t.
1053 This avoids a warning with gcc -Wstrict-overflow.
1054 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
1055 not int, to store sizes.
1056 (prolog_atom): Return 0, not -1, on error. All callers changed.
1057
f0d80d43
PE
1058 update-game-score: fix bug with -r
1059 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
1060 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
1061 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
1062 -Wstrict-overflow (GCC 4.5.2, x86-64).
1063
d5cad867
PE
1064 fakemail: Remove dependency on ignore-value.
1065 This undoes some of the recent fakemail-related changes.
1066 It is made possible due to recent changes to gnulib's stdio module.
1067 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
1068 * fakemail.c: Do not include ignore-value.h.
1069 (put_line): Do not use ignore_value.
1070
33383987
JB
10712011-03-07 Chong Yidong <cyd@stupidchicken.com>
1072
1073 * Version 23.3 released.
1074
0b973fc5
DW
10752011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
1076
1077 * emacsclient.c (longopts): Add quiet.
1078 (decode_options): Handle q/quiet.
1079 (print_help_and_exit): Add q/quiet.
1080 (main): Suppress some messages if quiet option is used.
1081
a54af40e
EZ
10822011-02-26 Eli Zaretskii <eliz@gnu.org>
1083
00030ef0
EZ
1084 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
1085
a54af40e
EZ
1086 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
1087 (w32_getenv): Use xstrdup to return all values in malloc'ed
1088 storage.
1089
34e6d782
PE
10902011-02-26 Paul Eggert <eggert@cs.ucla.edu>
1091
6c0668d9
PE
1092 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
1093 to reader (and to the compiler) that the loop always executes at
1094 least once. This prevents a warning with recent GCC.
9e1b7fe6 1095 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 1096
a4fe4e89
PE
1097 * fakemail.c: Include <ignore-value.h>.
1098 (put_line): Explicitly ignore fwrite return value, for benefit of
1099 recent glibc + gcc.
1100 (close_the_streams): Diagnose output errors instead of merely
1101 exiting with nonzero status.
1102 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
1103 Formerly, input errors were silently ignored.
1104
34e6d782
PE
1105 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
1106 All callers changed. This is cleaner, and avoids GCC warnings about
1107 passing NULL to fputs.
70279bd1 1108 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 1109
564ff1f2
PE
11102011-02-25 Paul Eggert <eggert@cs.ucla.edu>
1111
7e6bb4c9 1112 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
1113 (xstrdup): Remove; no longer needed.
1114 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
1115 (set_local_socket, main):
1116 Use const char *, not char *, for pointers that are not assigned
1117 through.
4be3dfc5
PE
1118 (IF_LINT): New macro.
1119 (set_local_socket, main): Use it to suppress warnings with
1120 GCC -Wuninitialized.
7e6bb4c9 1121
b0bbc07d
PE
1122 * emacsclient.c: Redo local variables to avoid shadowing problems.
1123 (message, socket_status, start_daemon_and_retry_set_socket):
1124 Rename locals.
1125 (main): Move decl of "i".
1126
3f5e6230
PE
1127 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
1128 This avoids an unused-macro warning with some GCC settings.
1129
564ff1f2
PE
1130 * make-docfile.c (write_globals): Change char * to char const *
1131 to avoid a GCC "assignment discards qualifiers" diagnostic
1132 in some configurations.
8dfa32f6
PE
1133 (scan_c_file): Refactor local variable decls to make their scope
1134 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 1135
b97decf2
EZ
11362011-02-22 Eli Zaretskii <eliz@gnu.org>
1137
32e793fa
EZ
1138 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
1139
61b108cc
SM
1140 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
1141 Depend on ../lib/min-max.h.
b97decf2 1142
f68c809d
PE
11432011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1144
e5075711
PE
1145 etags: Downcase drive letters, for consistency with Emacs proper.
1146 * etags.c (upcase): Remove; no longer used.
1147 (canonicalize_filename): Downcase drive letters.
1148
f68c809d
PE
1149 Assume S_ISLNK etc. work, since gnulib supports this.
1150 * etags.c (S_ISREG): Remove.
1151
b97decf2
EZ
11522011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1153
1154 Assume S_ISLNK etc. work, since gnulib supports this.
1155 * etags.c (S_ISREG): Remove.
1156
602a5739
JB
11572011-02-22 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * makefile.w32-in (obj): Remove filemode.o.
1160
b23b5a5b
PE
11612011-02-21 Paul Eggert <eggert@cs.ucla.edu>
1162
ba01e9d7
PE
1163 New file "lib/min-max.h".
1164 * ebrowse.c (min, max): Define them by including <min-max.h>
1165 instead of defining it ourselves.
1166 * pop.c (min): Likewise.
d47d6319 1167 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 1168
f0939c31
PE
1169 * movemail.c (popmail): Report fchown failure instead of ignoring it.
1170 But if the file already has the right ownership, don't worry about it.
1171
4df52042 1172 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 1173 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 1174
27d41fb4 1175 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 1176 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
1177 (DONE): Remove unused macro.
1178 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
1179 Define these macros only in the contexts that need them.
0d7fdc0e
PE
1180 * pop.c (index): Remove unused macro.
1181 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 1182
b23b5a5b
PE
1183 Declare file-scope functions and variables static if not exported.
1184 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
1185 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
1186 * profile.c, test-distrib.c, update-game-score.c:
1187 Declare non-'main' functions and variables to be static.
1188 * ebrowse.c: Omit redundant function prototypes.
1189
25c51af3
EZ
11902011-02-21 Eli Zaretskii <eliz@gnu.org>
1191
1192 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
1193 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
1194 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
1195
e18c0aa3 11962011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
1197
1198 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
1199 the new BVAR macro.
1200
50a4e25a
JB
12012011-02-20 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * makefile.w32-in (obj): Remove md5.o.
1204
b166dcd8
KC
12052011-02-18 Karl Chen <Karl.Chen@quarl.org>
1206
1207 * emacsclient.c (main): Loop while `recv' return EINTR.
1208
64df8c10
PE
12092011-02-09 Paul Eggert <eggert@cs.ucla.edu>
1210
1211 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
1212 This avoids collision with config.h's EMACS_INT on some
1213 configurations. All uses changed.
1214
00b3c7ac
TT
12152011-02-08 Tom Tromey <tromey@redhat.com>
1216
1217 * make-docfile.c: Unconditionally include stdlib.h.
1218 (generate_globals): New global.
1219 (xrealloc): New function.
1220 (main): Handle '-g'. Call start_globals, write_globals.
1221 (scan_file): Conditionally call put_filename.
1222 (start_globals): New function.
1223 (struct global): New.
1224 (num_globals, globals): New globals.
1225 (add_global, compare_globals, write_globals): New functions.
1226 (scan_c_file): Update for "-g".
1227 (scan_lisp_file): Fail if "-g".
1228
03fc768b
PE
12292011-02-05 Paul Eggert <eggert@cs.ucla.edu>
1230
602a5739 1231 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
1232 (file_name_absolute_p): Accept const char *, not const unsigned
1233 char *, to satisfy C89 rules.
1234
d9f1f55e
EZ
12352011-02-02 Eli Zaretskii <eliz@gnu.org>
1236
b166dcd8
KC
1237 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
1238 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 1239 (obj): Remove strftime.o.
d9f1f55e 1240
70b0d280
EZ
12412011-01-31 Eli Zaretskii <eliz@gnu.org>
1242
1243 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
1244 (ECLIENT_CFLAGS): Remove -DVERSION.
1245 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
1246
16fab143
PE
12472011-01-31 Paul Eggert <eggert@cs.ucla.edu>
1248
1249 src/emacs.c now gets version number from configure.in
1250 * ebrowse.c: Adjust comment to say that.
1251
8aec9916
JM
12522011-01-30 Jim Meyering <meyering@redhat.com>
1253
d967cd18 1254 * make-docfile.c: don't corrupt heap for an invalid .elc file
8aec9916
JM
1255 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
1256 one byte before just-malloc'd saved_string buffer.
1257 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
1258 doc string length. Also fix an always-false while-loop test.
1259
f915f0f7
EZ
12602011-01-29 Eli Zaretskii <eliz@gnu.org>
1261
1262 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
1263 (GETOPTOBJS, GETOPTDEPS): Remove targets.
1264 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1265 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1266 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1267 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1268 (clean): Don't remove getopt.h.
1269 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1270 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1271 $(EMACS_ROOT)/lib/getopt.h.
1272
12732011-01-28 Chong Yidong <cyd@stupidchicken.com>
1274
1275 * ntlib.c (setregid): New stub, renamed from setegid.
1276
1277 * ntlib.h: Update prototype.
1278
06d8ace5 12792011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
1280
1281 * movemail.c (main): Use setregid instead of setegid, which is
1282 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
1283
9055082e
PE
12842011-01-23 Paul Eggert <eggert@cs.ucla.edu>
1285
1286 Check return values of some library calls.
1287 * hexl.c (main): Check fread result.
1288 * make-docfile.c (main): Check chdir result.
1289 (scan_c_file): Check fscanf result.
1290 * movemail.c (main): Check ftruncate result.
1291
33fe4243 12922011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 1293
4004364e
PE
1294 Include <unistd.h> unilaterally.
1295 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1296 * pop.c, test-distrib.c, update-game-score.c:
1297 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1298 unistd.h is always present now, possibly supplied by gnulib.
1299
613f7bda
PE
1300 Include <getopt.h> not "getopt.h".
1301 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1302 Since getopt.h is no longer in this directory, there's no point
1303 using the form with double-quotes.
1304
e275c824
PE
1305 Remove unused files.
1306 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1307 These files are now in ../lib, copied from gnulib.
1308
1309 Use gnulib's getopt-gnu module.
1310 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1311 as these are now done by gnulib.
1312 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1313 Remove; now done by gnulib. All uses removed.
1314
9a514d4a
PE
1315 Automate syncing from gnulib.
1316 * Makefile.in (EXE_FILES): New macro.
1317 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1318 for gnulib's .h files.
1319 (LOADLIBES): Add ../lib/libgnu.a.
1320 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1321 (../lib/libgnu.a): New rule.
1322
72427c46
PE
13232011-01-08 Paul Eggert <eggert@cs.ucla.edu>
1324
1325 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1326
4967fa34
GM
13272011-01-08 Glenn Morris <rgm@gnu.org>
1328
e7a42417
GM
1329 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1330
4967fa34
GM
1331 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1332
d7bfa7a1
GM
13332011-01-02 Glenn Morris <rgm@gnu.org>
1334
1335 * ebrowse.c (version) <emacs_copyright>:
1336 * etags.c (print_version) <emacs_copyright>:
1337 * rcs2log (Copyright): Set short copyright year to 2011.
1338
da2b5401
JM
13392010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
1340
1341 * ebrowse.c (yylex): If end of input buffer encountered while
1342 searching for a newline after "//", return YYEOF. (Bug#7446)
1343
4a47c275 13442010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
1345
1346 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1347 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1348
f16cafe3
DN
13492010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1350
1351 * test-distrib.c: Remove include guards for config.h and fcntl.h.
1352 (O_RDONLY): Do not define.
1353 (cool_read): Fix type for variable "sofar".
1354
6a5c2175
GM
13552010-10-25 Glenn Morris <rgm@gnu.org>
1356
1357 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1358
17284e30
GM
13592010-10-23 Glenn Morris <rgm@gnu.org>
1360
1361 * digest-doc.c, sorted-doc.c: Remove files.
1362 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1363 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1364 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1365 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1366 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1367 (install): Don't install digest-doc.exe or sorted-doc.exe.
1368
a4daeecf
DN
13692010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1370
1371 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1372
3fb78d1f
GM
13732010-10-09 Glenn Morris <rgm@gnu.org>
1374
1375 * b2m.c, b2m.pl: Remove files.
1376 * Makefile.in (INSTALLABLES): Remove b2m.
1377 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1378
4628bef1 13792010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
1380
1381 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1382 DARWIN_USER_TEMP_DIR. (Bug#3992)
1383
f99d75f5
DN
13842010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1385
728a982d
DN
1386 * test-distrib.c (cool_read):
1387 * movemail.c (main, concat):
1388 * make-docfile.c (scan_file, write_c_args):
602a5739 1389 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
1390 (egetenv): Move conditional definition earlier.
1391 (progname): Use const.
1392 * sorted-doc.c (xstrdup): Use const.
1393
f99d75f5
DN
1394 * Makefile.in: Remove ^L, old makes choke on it.
1395
3ecb8d93
WS
13962010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
1397
1398 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1399 error string (Bug#6963).
1400
54b65f7b
JB
14012010-10-02 Juanma Barranquero <lekktu@gmail.com>
1402
1403 * makefile.w32-in (tags): Remove target.
1404
73077a9a
EZ
14052010-10-01 Eli Zaretskii <eliz@gnu.org>
1406
1407 * makefile.w32-in (tags, TAGS): New targets.
1408
968ef9b4
JB
14092010-09-30 Juanma Barranquero <lekktu@gmail.com>
1410
1411 * emacsclient.c (get_server_config): Don't read Emacs pid from
1412 the authentication file.
1413
6ab88e02
JB
14142010-09-29 Juanma Barranquero <lekktu@gmail.com>
1415
a69edb8a
JB
1416 * makefile.w32-in (../src/config.h): Remove target, it is stale.
1417
6ab88e02
JB
1418 * emacsclient.c (main): Remove unused variables.
1419 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1420
4c964351
UM
14212010-09-25 Ulrich Mueller <ulm@gentoo.org>
1422
1423 * etags.c (compressors, print_language_names): Support xz compression.
1424
988e88ab
J
14252010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1426
70e31436 1427 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 1428 popen, fclose and pclose.
70e31436 1429 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
1430 (main): Remove extern getenv, mail_program_name is const char*.
1431
988e88ab
J
1432 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1433
1434 * sorted-doc.c (error, fatal, states): Use const char *.
1435
1436 * pop.h (pop_multi_first): Use const char *.
1437 (_ARGS): Remove.
1438
70e31436 1439 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
1440
1441 * movemail.c (fatal, error, concat): Use const char *.
1442
b166dcd8
KC
1443 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1444 Use const char *.
988e88ab
J
1445
1446 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1447 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1448 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1449 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
41e9b956 1450 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
988e88ab
J
1451 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1452 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1453 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1454 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1455 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1456 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1457 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1458 (no_lang_help, print_language_names)
1459 (get_language_from_interpreter, get_language_from_filename)
1460 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1461 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1462 (concat): Use const char*.
1463
1464 * emacsclient.c (message, sock_err_message, send_to_emacs)
1465 (quote_argument, set_local_socket)
1466 (start_daemon_and_retry_set_socket): Use const char*.
1467
1468 * ebrowse.c (struct member): filename, def_filename is const.
1469 (struct sym): filename, sfilename is const.
1470 (struct kw): name is const.
1471 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1472
1473 * b2m.c (concat, fatal): Use const char*.
1474 (main): Don't assign labels a string literal.
1475
0e9c8657
JB
14762010-08-07 Juanma Barranquero <lekktu@gmail.com>
1477
1478 * ebrowse.c (usage, version, mark_virtual):
1479 Remove duplicate declarations.
1480
0613f5d5
DN
14812010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1482
1483 * emacsclient.c: Move socket related #includes together with the
70e31436 1484 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
1485 (HAVE_CONFIG_H): Remove.
1486 (NO_RETURN): Remove, defined in config.h.
1487 (main): Convert definition to standard C.
1488
a94a477d
JB
14892010-07-29 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1492
35a7804d
JB
14932010-07-25 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * emacsclient.c (getcwd): Fix previous change: make getcwd
1496 conditional on HAVE_GETCWD and declare with the correct POSIX
1497 profile (for some reason MinGW headers define its 2nd arg as int,
1498 not size_t; but getcwd is not used on Windows nonetheless).
1499
361358ea
JB
15002010-07-25 Juanma Barranquero <lekktu@gmail.com>
1501
1502 * emacsclient.c (getcwd, w32_getenv):
1503 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1504
68441b90
DN
15052010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
1506
087b38a0 1507 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
1508 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1509 * make-docfile.c (fatal):
1510 * hexl.c (usage):
1511 * fakemail.c (fatal):
1512 * etags.c (fatal, suggest_asking_for_help, pfatal):
1513 * emacsclient.c (fatal):
1514 * b2m.c (fatal): Likewise.
1515
554d39be
JB
15162010-07-23 Juanma Barranquero <lekktu@gmail.com>
1517
1518 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1519
7c3320d8
JB
15202010-07-20 Juanma Barranquero <lekktu@gmail.com>
1521
1522 * emacsclient.c (get_current_dir_name, w32_get_resource)
1523 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1524 (close_winsock, initialize_sockets, w32_find_emacs_process)
1525 (w32_give_focus):
1526 * ntlib.c (getlogin, getuid, getgid, getegid):
1527 Convert definitions to standard C.
1528
e6cfa7c3
AS
15292010-07-12 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1532 (PROFILING_LDFLAGS): Set from substitution.
1533 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
1534 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1535 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1536
f09e4c6b
EZ
15372010-07-12 Eli Zaretskii <eliz@gnu.org>
1538
1539 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1540 2010-07-12T05:25:46Z!handa@etlken).
1541
8966b757
AS
15422010-07-11 Andreas Schwab <schwab@linux-m68k.org>
1543
1544 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1545 index, rindex.
1546 * movemail.c (mail_spool_name, popmail): Likewise.
1547 * pop.c (pop_list): Likewise.
1548
994a7c3b
EZ
15492010-07-11 Eli Zaretskii <eliz@gnu.org>
1550
a628ad9d 1551 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
1552 and unexw32.o. (Bug#6603)
1553
c971758d
EZ
15542010-07-10 Eli Zaretskii <eliz@gnu.org>
1555
1556 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1557
91a7f76d
AS
15582010-07-09 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * make-docfile.c (write_c_args): Restructure scanning loop.
1561
0508c67f
DN
15622010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
1563
1564 * make-docfile.c (write_c_args): Deal with type names in DEFUN
1565 arguments.
1566
0216627e
DN
15672010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
1568
1569 * update-game-score.c (P_): Remove macro.
1570 * ebrowse.c: Remove include guards.
1571 (P_): Remove macro.
1572
72af86bd
AS
15732010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1574
1575 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1576 memcpy, memmove, memset.
1577 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1578
e2ad23ef
AS
15792010-07-06 Andreas Schwab <schwab@linux-m68k.org>
1580
1581 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
1582 Include <string.h> if HAVE_STRING_H.
1583 (strerror): Only declare if !HAVE_STRERROR.
1584 (fatal): Make static.
1585 (error): Likewise.
1586 (pfatal_with_name): Likewise.
70e31436 1587 (pfatal_and_delete): Likewise.
1725ae55
AS
1588 (concat): Likewise.
1589 (xmalloc): Likewise.
1590 (popmail): Likewise.
1591 (pop_retr): Likewise.
1592 (mbx_write): Likewise.
1593 (mbx_delimit_begin): Likewise.
1594 (mbx_delimit_end): Likewise.
e2ad23ef 1595
b8463cbf
DN
15962010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1597
1598 * fakemail.c (action): Convert function definitions to standard C.
1599 (add_a_stream):
1600 * test-distrib.c (cool_read):
1601 (main): Likewise.
1602
a52a00a3
AS
16032010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1604
1605 * sorted-doc.c (cmpdoc): Fix signature.
1606 (qsort_compare): Delete.
1607 (main): Remove cast.
1608
35d99b72
JB
16092010-07-03 Juanma Barranquero <lekktu@gmail.com>
1610
1611 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1612
3a35a84c
JB
16132010-07-03 Juanma Barranquero <lekktu@gmail.com>
1614
1615 Fix prototype warnings.
1616
1617 * ebrowse.c (match_qualified_namespace_alias):
1618 Pass sym* to find_namespace, not link*.
1619
1620 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1621
1622 * sorted-doc.c (qsort_compare): New typedef.
1623 (main): Use it to cast cmpdoc.
1624
873fbd0b
DN
16252010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1626
1627 * update-game-score.c: Convert function definitions to standard C.
1628 * sorted-doc.c:
1629 * profile.c:
1630 * pop.c:
1631 * movemail.c:
1632 * make-docfile.c:
1633 * hexl.c:
1634 * fakemail.c:
1635 * etags.c:
1636 * ebrowse.c:
1637 * digest-doc.c:
1638 * b2m.c: Likewise.
1639
c532d349
DN
16402010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
1641
1642 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
1643 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
1644 standard C prototypes.
1645
f57e2426
J
16462010-07-02 Jan Djärv <jan.h.d@swipnet.se>
1647
1648 * ebrowse.c: Remove P_ and __P.
1649 * etags.c:
1650 * movemail.c:
1651 * pop.c:
1652 * update-game-score.c: Likewise.
1653
3b3807f8
JB
16542010-06-24 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * movemail.c (error): Avoid warning when there are no args.
1657
5fee75d4
JB
16582010-06-11 Juanma Barranquero <lekktu@gmail.com>
1659
1660 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
1661 and vc/ediff-hook.elc.
1662
3085237c
DN
16632010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1664
1665 * ntlib.h: Remove code dealing with BSTRING.
1666
0191e222
CY
16672010-05-29 Chong Yidong <cyd@stupidchicken.com>
1668
1669 * emacsclient.c (longopts, decode_options, print_help_and_exit):
1670 New arg `-parent-id'.
1671 (main): Send parent-id to Emacs.
1672
81ac4f35
GM
16732010-05-27 Glenn Morris <rgm@gnu.org>
1674
1675 * Makefile.in (distclean): No more Makefile.c.
1676
4e3028f8
JD
16772010-05-22 Jan Djärv <jan.h.d@swipnet.se>
1678
1679 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
1680 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
1681 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1682 New rules (Bug #6246).
1683 (clean): Remove stamp-* (Bug #6246).
1684
44b031a6
GM
16852010-05-12 Glenn Morris <rgm@gnu.org>
1686
1687 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
1688
acddf8ae
GM
16892010-05-11 Glenn Morris <rgm@gnu.org>
1690
c88b05a9
GM
1691 * Makefile.in (.m.o): Remove, there are no .m files.
1692 (BASE_CFLAGS): New variable.
1693 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
1694 (check): Update the message.
1695 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1696
d3b23034
GM
1697 * Makefile.in: Convert comments to makefile format.
1698
acddf8ae
GM
1699 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1700 (config.h) [MSDOS]: Do not include.
1701
7490175b
GM
17022010-05-10 Glenn Morris <rgm@gnu.org>
1703
97efb629
GM
1704 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1705 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1706 (NOT_C_CODE): Remove, no longer used.
1707 (config.h) [!MSDOS]: No longer include.
1708 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1709
7490175b
GM
1710 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1711
7b42b29f
GM
17122010-05-08 Glenn Morris <rgm@gnu.org>
1713
1714 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1715
61a808e8
CY
17162010-05-07 Chong Yidong <cyd@stupidchicken.com>
1717
1718 * Version 23.2 released.
1719
f6c0ee20
GM
17202010-05-06 Glenn Morris <rgm@gnu.org>
1721
1722 * Makefile.in: Minimize blessmail-related cpp usage.
1723 (BLESSMAIL_TARGET): New variable.
1724 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1725 (blessmail): Always define this rule.
1726 (need-blessmail): New rule, split out from maybe-blessmail.
1727 (maybe-blessmail): Use BLESSMAIL_TARGET.
1728
49628785
GM
17292010-05-04 Glenn Morris <rgm@gnu.org>
1730
1731 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1732 @c_switch_system@, @c_switch_machine@.
1733
7e10844c
DN
17342010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1735
1736 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1737
4794a582
DN
17382010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1739
1740 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1741 non-cpp section.
1742
76bd8202
DN
17432010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1744
1745 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1746 autoconf, not cpp.
1747 (ALL_CFLAGS): Use them as make variables.
1748
53cfe624 17492010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
1750
1751 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1752 for macros for nmake compatibility.
1753
b372fceb
JB
17542010-04-03 Juanma Barranquero <lekktu@gmail.com>
1755
1756 Add stubs for Windows, required after CVE-2010-0825 change.
1757 * ntlib.c (getgid, getegid, setegid): New stubs.
1758 * ntlib.h (getgid, getegid, setegid): Declare them.
1759
51a91f9d
CY
17602010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1761
b166dcd8
KC
1762 * movemail.c (main): Check return values of setuid.
1763 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
1764 (CVE-2010-0825).
1765
42a2c622
DN
17662010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1767
1768 Remove extern errno declarations.
1769 * movemail.c:
1770 * etags.c:
1771 * emacsclient.c: Remove extern errno declarations.
1772
5e58e3a4
GM
17732010-03-20 Glenn Morris <rgm@gnu.org>
1774
1775 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1776 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1777 defining these as Makefile variables.
1778 (LIBS_MOVE): Add LIBS_MAIL into this.
1779 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1780
aded53ff
GM
17812010-03-18 Glenn Morris <rgm@gnu.org>
1782
1783 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1784 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1785 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1786
f8388570
TO
17872010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1788
1789 * Makefile.in (uninstall): Handle the case where archlibdir does not
1790 exist. (Bug#5720)
1791
288f9fc0
CY
17922010-03-10 Chong Yidong <cyd@stupidchicken.com>
1793
1794 * Branch for 23.2.
1795
f9b84f9f
CY
17962010-02-20 Kevin Ryde <user42@zip.com.au>
1797
1798 * etags.c (Scheme_functions): Don't loop past a null character
1799 (Bug#5601).
1800
c14902e0 18012010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 1802
a628ad9d 1803 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 1804
6589a2f9
GM
18052010-01-11 Glenn Morris <rgm@gnu.org>
1806
1807 * ebrowse.c (version):
1808 * etags.c (print_version):
1809 * rcs2log (Copyright): Set copyright year to 2010.
1810
03dcfe01
CY
18112009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1812
1813 * makefile.w32-in: Use parenthesis for macros for nmake
1814 compatibility.
1815
5ce6e4f4 18162009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 1817
f7e0618c 1818 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
1819 overlapping copy.
1820
f6195dfb
DN
18212009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1822
1823 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1824
b53f6df2
JB
18252009-10-15 Juanma Barranquero <lekktu@gmail.com>
1826
1827 * .gitignore: Add echolisp.tmp.
1828
9fc3db2b
GM
18292009-10-15 Glenn Morris <rgm@gnu.org>
1830
5f54cae6
GM
1831 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1832
9fc3db2b
GM
1833 * makefile.w32-in (echolisp): New rule.
1834 (clean): Delete echolisp.tmp.
1835
614bd9cf
EZ
18362009-09-27 Eli Zaretskii <eliz@gnu.org>
1837
1838 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1839 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1840 be consistent with src/Makefile.in.
1841
24e9e996
SM
18422009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * update-game-score.c (main): Sort scores before trimming them,
1845 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1846
c5a139ca
GM
18472009-09-09 Glenn Morris <rgm@gnu.org>
1848
1849 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1850 before creating directories and game score files.
1851
a8a8ec61
GM
18522009-08-19 Glenn Morris <rgm@gnu.org>
1853
0916a29e 1854 * cvtmail.c: Remove file.
a8a8ec61
GM
1855 * Makefile.in (UTILITIES): Remove cvtmail.
1856 (cvtmail${EXEEXT}): Remove.
1857
678bc1f5
CY
18582009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1859
1860 * b2m.c (main): Ensure that each message ends in two newlines.
1861
0a3472c7
JR
18622009-07-03 Jason Rumney <jasonr@gnu.org>
1863
1864 * emacsclient.c (w32_set_user_model_id): Use standard types.
1865
f2d6b714
EZ
18662009-07-03 Eli Zaretskii <eliz@gnu.org>
1867
1868 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1869 src/Makefile.in did.
1870
ff90fbde
JR
18712009-06-30 Jason Rumney <jasonr@gnu.org>
1872
1873 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1874 that is already loaded.
1875 (w32_set_user_model_id): New function.
1876 (main): Use it to associate emacsclient with emacs (bug#1849).
1877
e0f59195
JM
18782009-06-29 Jim Meyering <meyering@redhat.com>
1879
1880 Remove useless if-before-free test.
1881 * make-docfile.c (scan_lisp_file): Remove useless test.
1882
f5f20f6c
DN
18832009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1884
1885 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1886
70243478
CY
18872009-06-21 Chong Yidong <cyd@stupidchicken.com>
1888
1889 * Branch for 23.1.
1890
fa44da6e
AR
18912006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1892
1893 * mac-fix-env.m:
1894 * Makefile.in (mac-fix-env): Remove.
1895
a7f2b0b1
AR
18962006-06-06 David Reitter <david.reitter@gmail.com>
1897
1898 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1899
9dfda22f
JB
19002009-04-20 Juanma Barranquero <lekktu@gmail.com>
1901
1902 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1903 spacing is required in the message output, as the comment suggests).
1904
24d5010d
CY
19052009-04-20 Chong Yidong <cyd@stupidchicken.com>
1906
1907 * emacsclient.c (print_help_and_exit): Clarify argument placement
1908 for short option names.
1909
6133a1a9
DN
19102009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1911
1912 * emacsclient.c (print_help_and_exit): Fix typo.
1913
22749e9a
EZ
19142009-03-21 Eli Zaretskii <eliz@gnu.org>
1915
1916 * ntlib.c (setuid): Argument is now unsigned.
1917 (getuid): Return value is now unsigned.
1918 (getpwuid): Argument is now unsigned.
1919 (fchown): UID and GID arguments are now unsigned.
1920
1921 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1922 (getuid): Return value is now unsigned.
1923 (setuid): Argument is now unsigned.
1924 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1925
b57ac69d 19262009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
1927
1928 * emacsclient.c (main): Revert part of last change, so
1929 drive-relative file names again work on Windows.
1930
ba528748
SM
19312009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1934 names without prepending cwd to them, so Emacs uses its customary
1935 rules to determine how to interpret the file name.
1936
f213f2c0
GM
19372009-03-04 Glenn Morris <rgm@gnu.org>
1938
1939 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1940
8ee7d7be
CY
19412009-02-13 Sven Joachim <svenjoac@gmx.de>
1942
1943 * movemail.c: Include time.h unconditionally.
1944 (main): Use time_t for time variables.
1945
d228a23c
GM
19462009-02-11 Glenn Morris <rgm@gnu.org>
1947
1948 * movemail.c (mbx_delimit_begin): Also write the current time.
1949
3f32be22
GM
19502009-02-10 Glenn Morris <rgm@gnu.org>
1951
1952 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1953 than Babyl format. (Bug#2196)
1954
e7534fc4
AR
19552009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1956
1957 * emacsclient.c (decode_options): Use a dummy display name under
1958 NS/Cocoa.
1959
9eb67dd9
CY
19602009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1961
1962 * ebrowse.c (matching_regexp): Fix OB1 error.
1963
b433a991
GM
19642009-01-05 Glenn Morris <rgm@gnu.org>
1965
1966 * ebrowse.c (version):
1967 * etags.c (print_version):
1968 * rcs2log (Copyright): Update copyright for 2009.
1969
81f82586
CY
19702009-01-01 Chong Yidong <cyd@stupidchicken.com>
1971
1972 * movemail.c (main): Fatal if hard links cannot be created.
1973
fd95644b
DN
19742008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1975
1976 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1977 checking.
1978
67c1df01
DN
19792008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1980
1981 * emacsclient.c: Include syswait.h instead of sys/types.h.
1982
f0131492 19832008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 1984
d4835507
JB
1985 * emacsclient.c (WCONTINUED): New compatibility define
1986 for older systems.
5445ab06 1987
d50299d5
DN
19882008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1989
1990 * emacsclient.c (main): Fix previous change.
1991
52016647
JB
19922008-12-10 Juanma Barranquero <lekktu@gmail.com>
1993
1994 * emacsclient.c (main): Fix mindless breakage where emacsclient
1995 does not work *at all* on Windows, even if it *can* connect.
1996
802bdb3c
DN
19972008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1998
1999 * emacsclient.c (EMACS_DAEMON): Remove definition.
2000 (decode_options): Do not allow an empty alternate_editor on
2001 WINDOWSNT.
2002 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
2003 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 2004 (main): Fail in case of not being able to connect.
802bdb3c 2005
c3f995a2
JB
20062008-12-10 Juanma Barranquero <lekktu@gmail.com>
2007
2008 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
2009 Changes when EMACS_DAEMON is not defined:
2010 (print_help_and_exit): Don't add daemon information to help.
2011 (start_daemon_and_retry_set_socket): Make a no-op.
2012 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2013
636b507b
DN
20142008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2015
2016 * emacsclient.c (print_help_and_exit): Describe what an empty
2017 string argument does for --alternate-editor.
2018 (set_socket): Make it possible to not exit in case of an error.
2019 (start_daemon_and_retry_set_socket): New function.
2020 (main): Use it. Restore the NULL value for socket_name and
2021 server_file after the set_socket call.
2022
448d4085
DN
20232008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2024
7b641241 2025 * emacsclient.c: Include <arpa/inet.h>.
448d4085 2026
938ebc4f
DN
20272008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
2028
2029 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
2030
3d864325
GM
20312008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
2032
2033 * etags.c (add_regex): Pass correct length to re_compile_pattern.
2034
48c2dc68
CY
20352008-11-02 Chong Yidong <cyd@stupidchicken.com>
2036
2037 * emacsclient.c (window_system): Delete redundant variable.
2038 (decode_options): Don't use it.
2039 (find_tty): New function.
2040 (main): Use find_tty, and don't use window_system.
2041
d41784ee
EZ
20422008-11-01 Eli Zaretskii <eliz@gnu.org>
2043
2044 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
2045 `ttyname'.
2046 (w32_getenv): Treat $TERM specially: if not found in the
2047 environment and in the Registry, return "w32console".
2048 (ttyname) [WINDOWSNT]: New function.
2049
322ca650
AS
20502008-10-31 Andreas Schwab <schwab@suse.de>
2051
2052 * emacsclient.c (main): Don't force sending tty when in eval mode.
2053
8a8a7cd3
CY
20542008-10-30 Chong Yidong <cyd@stupidchicken.com>
2055
2056 * emacsclient.c (main): If using the current frame, send tty
2057 information to Emacs in case daemon mode needs to occupy this tty.
2058
f8baa639
JB
20592008-10-29 Juanma Barranquero <lekktu@gmail.com>
2060
bc558f3e
JB
2061 * emacsclient.c (EXTRA_SPACE): New macro.
2062 (get_server_config, set_local_socket): Use it.
2063
f8baa639
JB
2064 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
2065 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2066
f77b11a0
JB
20672008-10-29 Ulrich Mueller <ulm@gentoo.org>
2068
2069 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
2070 instead of hardcoded /tmp.
2071
dc1cd5f7
DN
20722008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
2073
2074 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
2075 (decode_options): Use getopt_long_only.
2076
7a09249b
EZ
20772008-09-30 Eli Zaretskii <eliz@gnu.org>
2078
2079 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
2080 codepage.elc.
2081
997ec957
CY
20822008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
2083
2084 * emacsclient.c (main): Use stdout rather than stdin to obtain the
2085 terminal (bug#427).
2086
0d80bf29
FP
20872008-08-25 Francesco Potortì <pot@gnu.org>
2088
2089 * etags.c (main): Do not use static space for the tagfile string.
2090
34a23e94
FP
20912008-08-17 Francesco Potortì <pot@gnu.org>
2092
2093 * etags.c (main): Use canonicalize_filename on tags file name.
2094 (relative_filename): Revert 3.85: do not collapse slashes here.
2095 (absolute_dirname): Remove useless call to canonicalize_filename.
2096 (canonicalize_filename): Collapse multiple slashes here.
2097
48fad8e8
DN
20982008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2099
10d1d0af
JB
2100 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
2101 Do not special case for NS_IMPL_COCOA.
48fad8e8 2102
6088b51f 21032008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
2104
2105 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
2106 (.m.o): Dispense with GNUstep-specific flags.
2107
39b8bb9b
CY
21082008-08-05 Ulrich Mueller <ulm@gentoo.org>
2109
2110 * pop.c (socket_connection): Add conditionals for
2111 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
2112 compilation with MIT Kerberos and Heimdal, respectively.
2113
7c2fb837
DN
21142008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
2115
2116 * etags.c:
2117 * emacsclient.c: Remove VMS support.
2118
9e2a2647
DN
21192008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2120
2121 Remove support for Mac Carbon.
2122 * makefile.w32-in:
2123 * emacsclient.c: Remove code for Carbon.
2124
7f619bab
DN
21252008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
2126
2127 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
2128
32cc3925
AS
21292008-07-17 Andreas Schwab <schwab@suse.de>
2130
2131 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
2132 (LIB_STANDARD_LIBSRC): Don't define.
2133 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
2134
ba60bd44 21352008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
2136
2137 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
2138 NS_IMPL_COCOA.
2139
50863f58
DN
21402008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2141
ba60bd44
JB
2142 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
2143 Remove, unused.
50863f58 2144
ba60bd44 21452008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
2146
2147 * .cvsignore: Add mac-fix-env.
2148 * mac-fix-env.m: New file, automatically update
2149 ~/.MacOSX/environment.plist on OS X systems to expose environment
2150 variables inside Emacs started from icon.
2151 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
2152 programs to build.
2153 * make-docfile.c: Add .m to list of file extensions.
2154
bba104c1
DN
21552008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
2156
2157 * movemail.c (main): Use int instead of WAITTYPE.
2158
da007124
JB
21592008-07-05 Juanma Barranquero <lekktu@gmail.com>
2160
2161 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
2162 Remove vmsproc.el and vms-patch.el.
2163
c9fc02c7
JB
21642008-06-26 Juanma Barranquero <lekktu@gmail.com>
2165
2166 * makefile.w32-in (obj): Remove w32bdf.o.
2167
f2a77c3a
DN
21682008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
2169
2170 * fakemail.c: Remove references to obsolete variables.
2171
c2cd06e6
JM
21722008-06-02 Jim Meyering <meyering@redhat.com>
2173
e914c409 2174 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 2175
e914c409 2176 Remove useless if-before-free tests.
70fdbb46
JM
2177 * ebrowse.c (xfree): Likewise.
2178 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 2179 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 2180 * pop.c (pop_quit): Likewise.
c2cd06e6 2181
01b996ad
JB
21822008-05-30 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * makefile.w32-in (lisp2): Add minibuffer.elc.
2185
2926947a
SM
21862008-05-29 Tom Tromey <tromey@redhat.com>
2187
2188 * etags.c (relative_filename): Treat "///" like "/" in filenames.
2189
10fea9c4
EZ
21902008-05-09 Eli Zaretskii <eliz@gnu.org>
2191
2192 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
2193 (IS_DIRECTORY_SEP): New macro.
2194 (convert_time, is_exec, stat): New functions.
2195
86914123
EZ
21962008-05-08 Eli Zaretskii <eliz@gnu.org>
2197
2198 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
2199
58bb7d50
EZ
22002008-05-03 Eli Zaretskii <eliz@gnu.org>
2201
2202 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
2203 corresponding change in src/Makefile.in.
2204
63b9b605
GM
22052008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
2206
2207 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
2208
4429f88c
JR
22092008-04-10 Jason Rumney <jasonr@gnu.org>
2210
2211 * makefile.w32-in (CLIENTRES): New variable and target.
2212 (TRES): Remove.
2213 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
2214
14b11401
SM
22152008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2218
95de358c
RF
22192008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
2220
2221 * vcdiff: Use mktemp (CVE-2008-1694).
2222
6948400c
JR
22232008-04-09 Jason Rumney <jasonr@gnu.org>
2224
2225 * makefile.w32-in (distclean, maintainer-clean): New targets.
2226
afd27920
GM
22272008-03-13 Glenn Morris <rgm@gnu.org>
2228
2229 * makefile.w32-in (VERSION): Set to 23.0.60.
2230
3d193d0f
JB
22312008-03-04 Juanma Barranquero <lekktu@gmail.com>
2232
2233 * .cvsignore: Add oo.
2234
1797886f
SM
22352008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
2236
2237 * etags.c (Perl_functions): Fix call to skip_spaces.
2238
9d2818d6
DN
22392008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
2240
2241 * Makefile.in (NO_SHORTNAMES):
2242 * emacsclient.c (NO_SHORTNAMES):
2243 * fakemail.c (NO_SHORTNAMES):
2244 * make-docfile.c (NO_SHORTNAMES):
2245 * movemail.c (NO_SHORTNAMES):
2246 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
2247
79d48c1a
JR
22482008-02-23 Jason Rumney <jasonr@gnu.org>
2249
2250 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
2251 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 2252 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
2253 (lisp2): Add new languages.
2254 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
2255
9c61c734
JB
22562008-02-22 Juanma Barranquero <lekktu@gmail.com>
2257
2258 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
2259 malayalam.el, and tamil.el. Add sinhala.el.
2260
50f271cb
JB
22612008-02-20 Juanma Barranquero <lekktu@gmail.com>
2262
2263 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2264 where NAME is relative to DRIVE'S current directory.
2265
d07529f3
JB
22662008-02-15 Juanma Barranquero <lekktu@gmail.com>
2267
2268 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2269
45c1955d
DN
22702008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
2271
2272 * fakemail.c: Undo previous change.
2273
deeaffe1
DN
22742008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2275
4624371d
DN
2276 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2277 (main): Replace MAIL_PROGRAM_NAME with its value.
2278
d07529f3 2279 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 2280
9997dc15
SM
22812008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emacsclient.c (decode_options): Pass --display implicitly if -c
2284 is specified. Only set tty if -t or -c is specified.
2285
0c55bf82
JR
22862008-02-04 Jason Rumney <jasonr@gnu.org>
2287
2288 * makefile.w32-in (lisp1): Use (), not {}.
2289
31cdf671
CY
22902008-02-04 Tom Tromey <tromey@redhat.com>
2291
d07529f3
JB
2292 * etags.c: Add "GTY" as synonym for __attribute__.
2293 Update gperf output.
31cdf671 2294
9303f985 22952008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 2296
c4cc8b9a 2297 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
2298 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2299 (WINNT_SUPPORT): Add term/w32-win.elc.
2300 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2301
9303f985 23022008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 2303
d07529f3 2304 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 2305
d07529f3 23062008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 2307
290afd83 2308 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
2309 utf-8.elc, and latin-*.el.
2310
0ea5797a
SM
23112008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2312
bcc891c2 2313 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
2314 Allow the -d option under w32 again, for those rare cases where it
2315 actually does make sense.
2316
5ab73228
JB
23172008-01-25 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * emacsclient.c (set_tcp_socket): Don't send "\n" after
2320 the authentication string; there's no need to haste.
2321
702123a8
CY
23222008-01-22 Chong Yidong <cyd@stupidchicken.com>
2323
2324 * pop.c (pop_stat, pop_last): Fix last fix.
2325
76ed5e01
DN
23262008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2327
2328 * movemail.c: Remove references to XENIX.
2329
e39a993c
DN
23302008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2331
2332 * movemail.c:
2333 * make-docfile.c: Remove reference to symbols defined by systems
2334 not supported anymore: MAC_OS8, XENIX and STRIDE.
2335
0ebec7d3
EZ
23362008-01-12 Eli Zaretskii <eliz@gnu.org>
2337
2338 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2339 of DISPLAY in the environment. Don't support -d.
2340 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2341 (longopts) [WINDOWSNT]: Remove --display.
2342
6eae3ad4
CY
23432008-01-10 Chong Yidong <cyd@stupidchicken.com>
2344
2345 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2346 conversion. Mistakes spotted by Nico Golde.
2347
78da39c6
GM
23482008-01-09 Glenn Morris <rgm@gnu.org>
2349
2350 * emacsclient.c: Add missing final newlines to message calls.
2351
34a14ec9 23522008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
2353
2354 * emacsclient.c (set_socket): Add final newline to socket error message.
2355
a408ea17
GM
23562008-01-04 Glenn Morris <rgm@gnu.org>
2357
07655e62
JB
2358 * ebrowse.c (version) <emacs_copyright>: New variable.
2359 Just use current year for copyright.
a408ea17
GM
2360
2361 * etags.c (print_version):
2362 * rcs2log (Copyright): Update to 2008.
2363
0dc7a8bc
JR
23642007-11-28 Jason Rumney <jasonr@gnu.org>
2365
2366 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2367
880820fe 23682007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
2369
2370 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2371
880820fe 23722007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
2373
2374 * pop.c (socket_connection): Move realhost out of #ifdefs.
2375 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2376
880820fe 23772007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
2378
2379 * pop.c (socket_connection): Use getaddrinfo if available.
2380
880820fe 23812007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 2382
65841dd8 2383 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 2384 as the defaults in ctags are different from etags.
63f018cd 2385
880820fe 23862007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
2387
2388 * etags.c: Make prototypes for extern definitions, and add all
2389 that are needed to quench warnings on 64-bit.
2390 (main): Use the same defaults for ctags as for etags: find
2391 typedefs, structure tags, macro constants, enum constants, struct
2392 members and global variables.
2393 (make_C_tag) [DEBUG]: Add debugging printout.
2394 (C_entries): In case '}' decrement bracelev before testing it.
2395
7455effc
FP
23962007-11-15 Masatake YAMATO <jet@gyve.org>
2397
2398 * etags.c (C_entries): In case '}', set fvdef to fvnone
2399 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2400
04a697fe
DN
24012007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
2402
2403 * makefile.w32-in (obj): Remove sunfns.o.
2404
a2666217
JB
24052007-10-28 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * makefile.w32-in (obj): Remove abbrev.o.
2408
7ce8671d
JB
24092007-10-26 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * emacsclient.c: Add a wrapper for getenv so it also checks the
2412 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
2413 Code partially based on w32_get_resource and init_environment (w32.c).
2414 (egetenv): New wrapper for getenv.
2415 (get_current_dir_name, decode_options, get_server_config)
2416 (set_local_socket, set_socket, main): Use egetenv, not getenv.
2417 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2418
d22b00e5
JR
24192007-10-25 Jason Rumney <jasonr@gnu.org>
2420
2421 * emacsclient.c (sock_err_message): New function.
2422 (set_tcp_socket): Use it.
2423
c4b858e3
JB
24242007-10-09 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * emacsclient.c (print_help_and_exit): Fix space to improve
2427 alignment in output messages.
2428
dbf60b07
JR
24292007-09-27 Jason Rumney <jasonr@gnu.org>
2430
2431 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2432
2433 * emacsclient.c (w32_window_app): Init common controls when windowed.
2434
165e85b2
GM
24352007-09-21 Glenn Morris <rgm@gnu.org>
2436
2437 * emacstool.c: Remove file.
2438 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2439 Delete targets built from emacstool.
2440
c1b8e896
SM
24412007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacsclient.c (decode_options): -t implies -c.
2444
cb06b8dc
SM
24452007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2448 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2449 (main_argc): Remove.
2450 (strprefix): Use strncmp.
2451
c801ad51
JR
24522007-09-20 Jason Rumney <jasonr@gnu.org>
2453
2454 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2455
31fa6595
SM
24562007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacsclient.c (current_frame): Change the default.
2459 (longopts): Replace --current-frame by --create-frame.
2460 (decode_options): Reverse the meaning of -c.
2461 (print_help_and_exit): Update help text accordingly.
2462 (main): Remove the -version and -good-version messages.
2463
58573230
GM
24642007-09-12 Glenn Morris <rgm@gnu.org>
2465
2466 * Makefile.in (SOURCES, unlock, relock): Delete.
2467
bfd9ce71
GM
24682007-08-29 Glenn Morris <rgm@gnu.org>
2469
2470 * makefile.w32-in (VERSION): Increase to 23.0.50.
2471
8d9cc0b7
MB
24722007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2473
2474 * emacsclient.c (w32_execvp): Move definition before use.
2475 (decode_options): Don't use a tty on mac carbon or windows.
2476
24772007-08-29 Jason Rumney <jasonr@gnu.org>
2478
31fa6595 2479 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
2480 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
2481 (main): Expand removed macros inline.
2482 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
2483 option.
2484 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2485
880820fe 24862007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
2487
2488 * emacsclient.c (signal.h): New include.
2489 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
2490 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2491 Copy definitions here from src/lisp.h.
2492 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
2493 (longopts): Add tty, current-frame.
2494 (xmalloc, xstrdup): New functions.
2495 (get_current_dir_name): New function, copied from src/sysdep.c.
2496 (decode_options): Set display from environment. Add tty and
2497 current_frame options. Make --no-wait imply --current-frame,
2498 except when it is the only option given. Make sure no frame is
2499 opened when --current-frame is set.
2500 (print_help_and_exit): Document tty and current-frame options.
2501 (fail): Change arguments to void.
2502 (main): When sockets are not defined, set main_argc, main_argv,
2503 and call fail() with no arguments.
2504 (emacs_socket): New variable (moved out from main `s').
2505 (quote_file_name): Rename to quote_argument.
2506 (quote_argument): New name for old quote_file_name.
2507 (unquote_argument, strprefix, pass_signal_to_emacs)
2508 (handle_sigcont, handle_sigtstp, init_signals): New functions.
2509 (set_local_socket): Initialize saved_errno to 0. If socket-name
2510 is too long, call `fail' rather than `exit'.
2511 (main): Doc update. Set main_argc, main_argv. New var `str'.
2512 Don't need a filename or argument if tty or window_system set.
2513 Call fail with no arguments. Use get_current_dir_name to send
2514 over the current directory. Send version number to Emacs for
2515 verification. If tty is set, check TERM, and pass name and type
2516 to Emacs. Pass window_system to Emacs. Move sending of eval to
2517 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
2518 fflush. Check for a client/server version match.
2519 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2520 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
2521 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
2522 environment and pwd to Emacs. Send current-frame to Emacs.
2523
ca4ea90f
EZ
25242007-08-25 Eli Zaretskii <eliz@gnu.org>
2525
2526 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2527 Prepend "-" to the command, in case srcdir=. and file is copied
2528 into itself.
2529
cacc7b51
GM
25302007-07-25 Glenn Morris <rgm@gnu.org>
2531
2532 * Relicense all FSF files to GPLv3 or later.
2533
2534 * COPYING: Switch to GPLv3.
2535
880820fe 25362007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
2537
2538 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
2539 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2540 (print_help): Use it in if() rather than #if.
2541 (print_help): Conditionally print help about --no-line-directive.
180f5b99 2542
9724908a
EZ
25432007-07-16 Eli Zaretskii <eliz@gnu.org>
2544
2545 * makefile.w32-in (clean): Don't delete *~.
2546
5cf9ca93
GM
25472007-06-07 Glenn Morris <rgm@gnu.org>
2548
2549 * etags.c (print_version): Add `emacs_copyright' string, for
2550 easier automatic updating.
2551
880820fe 25522007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
2553
2554 * etags.c: Extern definitions of some more pointer functions for
2555 standalone compilation, especially important for 64bit platforms.
2556 (main, print_help): --members is now the default for etags.
2557 (C_entries): Parse start of C comment as a space == end of token.
2558 This is not necessary for C++ comment, already parsed as newline.
2559
07016031
GM
25602007-04-26 Glenn Morris <rgm@gnu.org>
2561
2562 * makefile.w32-in (VERSION): Increase to 22.1.50.
2563
7dfc4cda
CY
25642007-06-02 Chong Yidong <cyd@stupidchicken.com>
2565
2566 * Version 22.1 released.
2567
880820fe 25682007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 2569
d620ddb3 2570 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 2571
0971f887
GM
25722007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2573
2574 * Makefile.in (EMACS, EMACSOPT): New variables.
2575 (blessmail): Use `--no-site-file' when compiling.
2576
880820fe 25772007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
2578
2579 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2580 (main): Now --members is the default for etags, not for ctags yet.
2581
d881944f 25822007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 2583
47dad44f 2584 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
2585 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
2586 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
2587 import, package, extends, implements and interface to be treated
2588 specially for all kinds of C-style files, not just Java files.
2589
880820fe 25902007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 2591
47dad44f 2592 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
2593 (no_duplicates): Static variables for the above option.
2594 (print_help): Do not print help for --no-warn, now undocumented.
2595 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 2596 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 2597
880820fe 25982006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
2599
2600 * etags.c (readline): When creating a relative file name from a
2601 #line directive, leave the file name alone. The previous
a7c29764 2602 behavior was to make it relative to the tags file directory,
18f9bf25
FP
2603 under the hypothesis that the #line directive file name was
2604 relative to the directory of the tagged file. That hypothesis is
2605 wrong with Cpp and Lex.
17d5f8a6 2606 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 2607
5e059fc1
EZ
26082006-12-22 Eli Zaretskii <eliz@gnu.org>
2609
2610 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2611 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 2612 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
2613 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2614 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2615 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2616 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2617 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 2618 (clean): Delete stamp_BLD.
5e059fc1 2619
880820fe 26202006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
2621
2622 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2623
0e0dced5
JB
26242006-12-18 Juanma Barranquero <lekktu@gmail.com>
2625
2626 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2627 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2628 (main) [WINDOWSNT]: Remove code to release the focus; call
2629 w32_give_focus instead.
2630
4472aef4
JB
26312006-12-15 Juanma Barranquero <lekktu@gmail.com>
2632
2633 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2634 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2635 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2636 Suggestions and comment by Eli Zaretskii.
2637
12f7728e 26382006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
2639
2640 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
2641 Use $(USER32) for compatibility with Visual Studio .NET 2003.
2642
310afa17
JB
26432006-11-30 Juanma Barranquero <lekktu@gmail.com>
2644
2645 * emacsclient.c (emacs_pid): New variable.
2646 (message): Remove leftover code.
2647 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
2648 focus yet; emacsclient can still display an informational message
2649 before sending requests to Emacs.
2650 (main): Allow Emacs to grab the focus. Simplify message() call.
2651
26522006-11-30 Michael Mauger <mmaug@yahoo.com>
2653
2654 * emacsclient.c (message): Make sure the message is properly
2655 written even if it contains printf escapes, and flush the result.
2656 (set_tcp_socket): Make the message for non-local connections
2657 informational rather than an error.
2658
8c57275b 26592006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
2660
2661 * etags.c (readline): Check for double quote after #line.
2662
880820fe 26632006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
2664
2665 * etags.c (readline): sscanf could in principle return 2.
2666
880820fe 26672006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
2668
2669 * etags.c (readline): lno is unsigned.
2670 (TeX_commands): Use p++ (rather than *p++) to increment p.
2671 (Lua_functions): Explicitly discard LOOKING_AT's return value.
2672
4d91c8f9
JB
26732006-11-27 Juanma Barranquero <lekktu@gmail.com>
2674
2675 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
2676 ($(TRES)): New rule (copied from nt/makefile.w32-in).
2677 ($(BLD)/emacsclientw.exe): Add dependency.
2678
340d34a5
EZ
26792006-11-27 Eli Zaretskii <eliz@gnu.org>
2680
d620ddb3 2681 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 2682
7dce1990
JB
26832006-11-25 Juanma Barranquero <lekktu@gmail.com>
2684
2685 * makefile.w32-in (VERSION): New macro.
2686 (ECLIENT_CFLAGS): Add -DVERSION.
2687
410797a5 26882006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
2689
2690 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
2691
410797a5 26922006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 2693
4472aef4
JB
2694 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
2695 file names with forward slashes.
cb0297bb 2696
30aa95ce
JB
26972006-11-23 Juanma Barranquero <lekktu@gmail.com>
2698
2699 * emacsclient.c (print_help_and_exit): Tweak message contents and
2700 tabs/spaces to improve alignment in message boxes.
2701
42073bfb
JB
27022006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2703
2704 * emacsclient.c: Include <stdarg.h>.
2705 [WINDOWSNT]: Include <windows.h>.
2706 (w32_check_console_app): New function.
2707 (message): New function.
2708 (decode_options, print_help_and_exit, fail, main)
2709 (initialize_sockets, get_server_config, set_tcp_socket)
2710 (set_local_socket, set_socket): Use message().
2711
32dd9283 27122006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 2713
32dd9283
JR
2714 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2715 HAVE_INET_SOCKETS.
2716
1bbea9fc
JB
27172006-11-13 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2720 ($(BLD)/emacsclientw.exe): New target.
2721 (install): Install emacsclientw.exe.
2722 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2723 (ECLIENT_CFLAGS): Remove redundant flags.
2724
2725 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2726
a48db427
JR
27272006-11-13 Jason Rumney <jasonr@gnu.org>
2728
2729 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2730
21f89bb7 27312006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
2732
2733 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2734
d5abc12c
JB
27352006-11-08 Juanma Barranquero <lekktu@gmail.com>
2736
ed4a3730
JB
2737 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2738 FARPROC to avoid a compiler warning.
d5abc12c 2739
18b8c421
JB
27402006-11-07 Juanma Barranquero <lekktu@gmail.com>
2741
88b46d84
JB
2742 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2743 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2744
18b8c421
JB
2745 * emacsclient.c (get_server_config): Extract also the Emacs pid
2746 from the server file. On Windows, try to force the Emacs frame to
2747 the foreground.
2748
b03d27bd
JB
27492006-11-06 Juanma Barranquero <lekktu@gmail.com>
2750
21f89bb7 2751 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
2752 option --socket-name.
2753 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2754 command line options.
21f89bb7 2755 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
2756 (fail): Don't check for missing arguments, it is now done in set_socket.
2757 (file_name_absolute_p): New function (loosely based on the one in
2758 fileio.c).
2759 (initialize_sockets): Don't check for duplicate loading of Winsock.
2760 (get_server_config): Only try relative paths in the default
2761 directory locations.
2762 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2763 a remote server.
2764 (set_socket): Call INITIALIZE(). Search explicit command-line
2765 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2766 socket paths, before trying the alternate editor.
2767 (main): Use file_name_absolute_p.
2768
b20d6154
EZ
27692006-11-04 Eli Zaretskii <eliz@gnu.org>
2770
2771 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2772 file if it doesn't already exist.
2773
9c92edca
JB
27742006-11-03 Juanma Barranquero <lekktu@gmail.com>
2775
2776 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2777 more than once.
2778
b6ce9c46
JB
27792006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2780
2781 * Makefile.in (INSTALL_SCRIPT): New macro.
2782 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2783
4418616b
JB
27842006-11-02 Juanma Barranquero <lekktu@gmail.com>
2785
2786 * grep-changelog: When called with no arguments (not even a
2787 filter), show help instead of blindingly dumping every single
2788 ChangeLog available. Doc fix. Update version.
2789
1e7823d0
JB
27902006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2791
2792 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2793 [!WINDOWSNT]: Include <netinet/in.h> if available.
2794 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2795 (IOCTL, IOCTL_BOOL_ARG): Remove.
2796 (set_tcp_socket): Don't set the socket in blocking mode.
2797 Remove c_arg.
2798
ebc20ca0
JB
27992006-11-01 Juanma Barranquero <lekktu@gmail.com>
2800
2801 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2802 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2803
880820fe 28042006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
2805
2806 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2807 (close_winsock): Declare as __cdecl.
2808
880820fe 28092006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
2810
2811 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2812 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2813 to set the socket in non-blocking mode.
2814
e35fc962
JB
28152006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2816
d4fa60c8 2817 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
2818 (INVALID_SOCKET): Define.
2819 (initialize_sockets): Put #endif at the right place.
2820 (set_local_socket): Use progname, not argv[0].
2821
ecc54057
JB
28222006-10-31 Juanma Barranquero <lekktu@gmail.com>
2823
2824 * makefile.w32-in (ALL): Add emacsclient.
2825 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2826 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2827 (install): Install emacsclient.
2828
2829 * emacsclient.c: Add support for TCP sockets.
2830 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2831 (INITIALIZE): New macros.
2832 (IOCTL_BOOL_ARG): New typedef.
2833 (server_file): New global variable.
2834 (longopts): New option --server-file.
2835 (decode_options): Process new option --server-file and environment
2836 variable EMACS_SERVER_FILE.
2837 (print_help_and_exit): Document new option.
2838 (fail): If no connection available and no alternate editor,
2839 suggest using options to make them explicit.
2840 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2841 (send_buffer, sblen): New variables.
31fa6595 2842 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
2843 (quote_file_name): Use SEND_STRING.
2844 (close_winsock, initialize_sockets): New functions to load and
2845 unload Winsock.
2846 (get_server_config, set_tcp_socket): New functions to create and
2847 set up TCP sockets.
2848 (set_local_socket): New function to create and set up Unix
2849 socket (code moved from previous implementation).
10d1d0af 2850 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
2851 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2852 set_local_socket. Use set_socket. Get answers from server.el with
2853 recv(), not file stream functions.
2854
70846e2a
EZ
28552006-10-09 Eli Zaretskii <eliz@gnu.org>
2856
2857 * makefile.w32-in (../src/config.h): Fix error message.
2858
e2247cd0
EZ
28592006-09-30 Eli Zaretskii <eliz@gnu.org>
2860
2861 * .cvsignore: Add blessmail.
2862
45a2056c
JB
28632006-09-15 Jay Belanger <belanger@truman.edu>
2864
2865 * COPYING: Replace "Library Public License" by "Lesser Public
2866 License" throughout.
2867
880820fe 28682006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 2869
ecc54057 2870 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 2871 (readline): Change position on %n and \" in sscanf.
1f4edc37 2872
1520a816
JD
28732006-08-07 Masatake YAMATO <jet@gyve.org>
2874
ecc54057
JB
2875 * etags.c (readline): Expect sscanf returns 2, not 1.
2876
867cc23e
JD
28772006-08-07 Masatake YAMATO <jet@gyve.org>
2878
9984b9d5 2879 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
2880 File ended without newline causes infinite loop.
2881
6088b51f 28822006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 2883
ecc54057 2884 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 2885
880820fe 28862006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
2887
2888 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2889 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2890 (Objc_suffixes): Suggest using --lang=c for full help.
e1dbe924 2891 (C_entries): Initialize savetoken to 0 to shut up the compiler.
fc185ae6 2892
116e754b
AS
28932006-07-20 Andreas Schwab <schwab@suse.de>
2894
2895 * fakemail.c (fatal): Drop second parameter and treat first
2896 parameter as a plain string. Callers changed.
2897
2381d38d
DN
28982006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2899
2900 * ebrowse.c (usage, version): Mark as NO_RETURN.
2901
2902 * emacsclient.c (print_help_and_exit): Likewise.
2903
880820fe 29042006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
2905
2906 * etags.c (absolute_filename): Free unused space (cosmetic change).
2907 (in_word_set): In C, also tag #undef symbols.
2908
7cb93181
EZ
29092006-06-09 Eli Zaretskii <eliz@gnu.org>
2910
2911 * yow.c: Remove file.
2912
2913 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2914
2915 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2916 yow${EXEEXT}: Remove target.
2917
0f29c66d
MY
29182006-06-04 Masatake YAMATO <jet@gyve.org>
2919
63fbb644 2920 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
2921 doesn't exist, is not seekable, not is failed in ftall.
2922
a941b26b
EZ
29232006-06-03 Eli Zaretskii <eliz@gnu.org>
2924
9781fb53
EZ
2925 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2926 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2927 ($(BLD)/test-distrib.exe): New targets.
2928 (sorted-doc, digest-doc, test-distrib): New targets.
2929 (install): Install sorted-doc.exe and digest-doc.exe.
2930 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2931
1b178b99
EZ
2932 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2933 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2934 terminal device.
2935
ae85efdb
EZ
2936 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2937 [WINDOWSNT] <top level>: Don't redeclare malloc.
2938 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2939 terminal device.
6088b51f 2940 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 2941
a941b26b
EZ
2942 * makefile.w32-in: Delete traces of leditcfns.c.
2943
2944 * leditcfns.c: Remove file.
2945
880820fe 29462006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 2947
31fa6595
SM
2948 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2949 Add comments explaining why the "kpop" service is never used.
8a6d5da7 2950
642c61f3
EZ
29512006-05-13 Eli Zaretskii <eliz@gnu.org>
2952
2953 * makefile.w32-in (lisp1): Add fringe.elc.
2954
880820fe 29552006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
2956
2957 * etags.c (Perl_functions): Free space allocated for var package.
2958 (Erlang_functions): Possibly free space allocated for var last.
2959 (Prolog_functions): Possibly free space allocated for var last.
2960
7c47913b
DN
29612006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2962
7fe8b491
DN
2963 * sorted-doc.c (main): Initialize docs to NULL.
2964
cdeda579
DN
2965 * yow.c (yow): Free buf.
2966
7c47913b
DN
2967 * etags.c: Delete c-indentation-style local variable.
2968
2ef88a94
RS
29692006-04-29 Richard Stallman <rms@gnu.org>
2970
5e5b35c7
RS
2971 * movemail.c (main): Check for negative value from `read'.
2972
2ef88a94
RS
2973 * fakemail.c (read_header): Give fatal error if input has no header.
2974
d65b4235
PE
29752006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2976
2977 * b2m.c (main): Don't include <limits.h>.
2978 (TM_YEAR_BASE): New macro.
2979 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2980 that s/ files can override this. Use the more-conservative range
2981 1000-9999.
2982 (main): Check for asctime returning NULL.
2983 * fakemail.c: Likewise.
2984
f5565804
PE
29852006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2986
2987 * b2m.c: Include <limits.h>.
2988 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2989 (main): Check for out-of-range time stamps.
2990 * fakemail.c: Likewise.
2991
90c9c343
AS
29922006-03-18 Andre Spiegel <spiegel@gnu.org>
2993
2994 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2995 execute $DIFF twice, and once with the wrong options.
2996
a6a2b5d4
EZ
29972006-02-23 Claudio Fontana <claudio@gnu.org>
2998
9e2bcc86
EZ
2999 * Makefile.in (install, uninstall): Add DESTDIR variable to
3000 support staged installations.
a6a2b5d4 3001
ef3f69f9
EZ
30022005-12-30 Eli Zaretskii <eliz@gnu.org>
3003
3004 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
3005 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
3006 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
3007 Rearrange the list to be similar to $(shortlisp) in
3008 src/Makefile.in.
ef3f69f9
EZ
3009 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
3010 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
3011 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
3012 src/Makefile.in.
3013
30cfcf7f
RS
30142005-12-22 Richard M. Stallman <rms@gnu.org>
3015
3016 * Makefile.in (update-game-score.o): Delete spurious final `\'.
3017
ecc54057 30182005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
3019
3020 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
3021 which was never opened.
3022
283879ef 30232005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
3024
3025 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
3026 header files.)
3027
880820fe 30282005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
3029
3030 * etags.c: Preliminary Forth support.
3031 (prolog_pr): Cast strlen to int before comparison.
3032 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
3033 the second argument is indeed a literal string.
b9509712 3034 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
3035
30362005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
3037
3038 * etags.c (longopts, print_help, main): The -a (--append) option
3039 can be used in ctags also; for one, the Linux make file uses it.
3040
41ea4df8
CY
30412005-09-20 Chong Yidong <cyd@stupidchicken.com>
3042
3043 * ebrowse.c (add_sym): Compare namespace names instead of
3044 namespace objects. This prevents the parser from incorrectly
3045 treating classes whose superclass is in another namespace.
3046
5c4757d3
RS
30472005-09-15 Richard M. Stallman <rms@gnu.org>
3048
3049 * Makefile.in (update-game-score.o): New target.
10d1d0af 3050 Compile and link this program separately.
5c4757d3
RS
3051 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
3052
df1b2142
JR
30532005-09-11 Jason Rumney <jasonr@gnu.org>
3054
ecc54057 3055 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 3056 message instead.
31fa6595 3057 (../src/paths.h): Remove.
df1b2142 3058
c638055f
JB
30592005-07-27 Juanma Barranquero <lekktu@gmail.com>
3060
3061 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
3062 generated. Ignore also ctags.c and getopt.h.
3063
3064 * makefile.w32-in (clean): Delete getopt.h.
3065 (getopt.h): New rule.
3066
9eff9fe3
PE
30672005-07-26 Paul Eggert <eggert@cs.ucla.edu>
3068
3069 Merge gnulib getopt implementation into Emacs.
3070
3071 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
3072 (GETOPT_H): New macro, from gnulib.
3073 (getopt.h): New rule, from gnulib.
3074 (GETOPTOBJS): Now autoconfigured.
3075 (GETOPTDEPS): getopt.h is now autoconfigured.
3076 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
3077 (getopt.o): Depend on ${srcdir}/gettext.h.
3078 (movemail.o): Depend on $(GETOPT_H).
3079 * getopt.c, getopt1.c: Sync from gnulib.
3080 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
3081 * getopt.h: Removed (now is getopt_.h).
3082
ec641d50
KR
30832005-07-13 Ken Raeburn <raeburn@gnu.org>
3084
0e0dced5
JB
3085 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
3086 (sendline): Add the \r\n to the line in a temporary buffer, and write
3087 it all at once.
ec641d50 3088
a0ec7a4a
LK
30892005-07-04 Lute Kamstra <lute@gnu.org>
3090
3091 Update FSF's address in GPL notices.
3092
0e0dddda
EZ
30932005-06-13 Eli Zaretskii <eliz@gnu.org>
3094
3095 * makefile.w32-in ($(DOC)): Fix last change.
3096
5a77c8e2
EZ
30972005-06-12 Eli Zaretskii <eliz@gnu.org>
3098
3099 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
3100 temacs.exe, and the preloaded *.elc files. This avoids
3101 unnecessary dumping and DOC rebuilding.
3102
1a8fb426
EZ
31032005-06-04 Eli Zaretskii <eliz@gnu.org>
3104
3105 * ntlib.h (fileno): Don't define if already defined.
3106
7235a58f
TTN
31072005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3108
3109 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
3110 (yow): Use EXIT_FAILURE in case of memory error.
3111
5063dbbf
YM
31122005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3113
3114 * make-docfile.c (DIRECTORY_SEP): New macro.
3115 (IS_DIRECTORY_SEP): Use it.
3116
880820fe 31172005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
3118
3119 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
3120
ba025f6d
YM
31212005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3122
3123 * make-docfile.c: Undo previous change.
3124
a9eedf40
AS
31252005-02-04 Andreas Schwab <schwab@suse.de>
3126
0e0dced5
JB
3127 * movemail.c (fatal): Accept third parameter and pass down to error.
3128 (pfatal_with_name): Pass error string as format parameter instead of
3129 as part of format string.
a9eedf40
AS
3130 (pfatal_and_delete): Likewise.
3131 (main): Adjust call to fatal.
3132 (xmalloc): Likewise.
3133
5a92a9eb
RS
31342005-01-29 Richard M. Stallman <rms@gnu.org>
3135
3136 * movemail.c (popmail): Don't use Errmsg as format string.
3137
e6973a25
ST
31382004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3139
0e0dced5 3140 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 3141
1bb3da38
AS
31422004-12-15 Andreas Schwab <schwab@suse.de>
3143
3144 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
3145 preprocessing to compile time constant.
3146
d4a38fdd
KS
31472004-11-17 Kim F. Storm <storm@cua.dk>
3148
3149 * etags.c: Undo last change.
3150
f2eb41c8
KS
31512004-11-09 Kim F. Storm <storm@cua.dk>
3152
3153 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
3154 silence compiler.
3155
3156 * hexl.c (main): Init local var c to silence compiler.
3157
3158 * etags.c (main, consider_token, C_entries): Add misc switch
3159 default targets to silence compiler.
3160
880820fe 31612004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
3162
3163 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
3164 resulting DOC file can be used on Unix/Mac also.
3165
880820fe 31662004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
3167
3168 * etags.c (main): When relative file names are given as argument,
3169 make them relative to the current working dir, rather than
3170 relative to the output tags file, if the latter is in /dev.
3171
880820fe 31722004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
3173
3174 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
3175 <stdlib.h> is available.
3176 (enum sym_type): New st_C_attribute value for parsing
3177 gcc's __attribute__. Deleted st_C_typespec value.
3178 (gperf, in_word_set): Use gperf 3, options changed. Added the
3179 __attribute__ keyword, removed all the st_C_typespec keywords,
3180 changed attribute for Java to (C_JAVA & !C_PLPL).
3181 (inattribute): New global bool, part of the C state machine.
3182 (cblev): Identifier renamed to bracelev throughout.
3183 (consider_token, C_entries): Numerous changes for making the
3184 parser more robust and adding support for __attribute__.
3185
31862004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
3187
ecc54057 3188 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
3189 Support the Lua scripting language <http://www.lua.org>.
3190
880820fe 31912004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 3192
d57727c9 3193 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
3194 for ease of use.
3195
3751eb00
RS
31962004-07-17 Richard M. Stallman <rms@gnu.org>
3197
3198 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
3199
86d373e6
JB
32002004-06-01 Juanma Barranquero <lektu@terra.es>
3201
3202 * makefile.w32-in (obj): Add image.c.
3203
80e26b66
TTN
32042004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
3205
0e0dced5 3206 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 3207
e6662c8b
JR
32082004-05-08 Jason Rumney <jasonr@gnu.org>
3209
3210 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
3211 command-lines.
3212
65396510
TTN
32132004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3214
3215 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
3216 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
3217 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3218
3219 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
3220 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
3221 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 3222
c2bcfb19
TTN
32232004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3224
3225 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
3226
3f0656ff
TTN
32272004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
3228
3229 * b2m.c (GOOD, BAD): Delete macros. Throughout,
3230 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
3231 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3232
3233 * etags.c: Likewise.
3234
238add5e
JR
32352004-05-03 Jason Rumney <jasonr@gnu.org>
3236
3237 * makefile.nt: Remove.
3238
b09c5608
EZ
32392004-04-26 Eli Zaretskii <eliz@gnu.org>
3240
3241 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
3242 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
3243 instead of a literal '/'.
3244
d814862a
JB
32452004-04-23 Juanma Barranquero <lektu@terra.es>
3246
3247 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
3248
442a2160
PE
32492004-04-17 Paul Eggert <eggert@gnu.org>
3250
3251 * rcs2log (Help): Clarify wording of the usage message.
3252 Problem reported by Alan Mackenzie in
3253 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
3254
d5d66b7e
SM
32552004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * make-docfile.c (xmalloc): Fix return type.
3258 (put_filename): New fun.
3259 (scan_file): Use it.
3260
bdfd0369
JB
32612004-03-09 Juanma Barranquero <lektu@terra.es>
3262
3263 * grep-changelog: Changes to support ChangeLog.10+.
3264 (main): Tidy up usage string. Fix "Use of uninitialized value"
3265 warning. Set version to 0.2. Parse the directory listing to get
3266 any ChangeLog.n file, not just 1..9.
3267 (header_match_p, entry_match_p, print_log, parse_changelog):
3268 Remove Perl prototypes (their purpose is to help the parser, which
3269 isn't needed here, not declare arguments).
3270 (parse_changelog): Make --reverse faster on big batches by not
3271 modifying the entries list.
3272
a64387ee
JB
32732004-03-01 Juanma Barranquero <lektu@terra.es>
3274
3275 * makefile.w32-in (obj): Add fringe.c.
3276
9766d41b
PE
32772004-02-14 Paul Eggert <eggert@twinsun.com>
3278
3279 * rcs2log: Work correctly if CVSROOT specifies :fork: or
3280 :local: methods, or omits the colon between the hostname
3281 and the path. Allow :/ in repository path, since CVS does.
3282 Fix typo: "pository" should be set from $CVSROOT, not $repository.
3283 This fixes a bug reported by Wolfgang Scherer in
3284 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3285 along with some related bugs I discovered by inspecting how
3286 CVS itself parses $CVSROOT.
3287
880820fe 32882004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
3289
3290 * emacsclient.c (decode_options): Fix handling of alternate editor.
3291
0734b0d0
SM
32922004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * emacsclient.c (main): Don't use the hostname in the socket name.
3295 Look for relative socket names in the /tmp dir rather than in cwd.
3296
2a6fc2d9
RS
32972004-01-24 Richard M. Stallman <rms@gnu.org>
3298
3299 * emacsclient.c (main): Restore errno from saved_errno,
3300 so the error message comes from socket_status.
3301
0734b0d0
SM
33022004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * emacsclient.c (main): Stop if socket name too long.
3305 Only try su-fallback if the socket name was not explicit.
3306 Check socket name length in su-fallback case as well.
3307
152b6e83
AS
33082004-01-08 Andreas Schwab <schwab@suse.de>
3309
3310 * emacsclient.c (main): Save errno from socket_status.
3311
e8228824
AS
33122004-01-04 Andreas Schwab <schwab@suse.de>
3313
3314 * emacsclient.c (main): Fix socket name when using another user.
3315
c9140662
PE
33162003-12-27 Paul Eggert <eggert@twinsun.com>
3317
3318 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3319 a tag, and if the user has not specified an rlog option.
3320 Adapted from a suggestion by Martin Stjernholm in
3321 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3322 (Copyright): Update to 2003.
3323
8babaa59
TTN
33242003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
3325
3326 * make-docfile.c (main): For return code, no longer special-case VMS.
3327 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3328
880820fe 33292003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
3330
3331 * emacsclient.c (quote_file_name): Print the result instead of
3332 returning it. Fix the return type accordingly.
1ae7cf5e
RS
3333 (main): With --eval, if no file name, read from stdin.
3334 Quote file names.
14ef7288 3335
f387bdea
RS
33362003-09-10 Richard M. Stallman <rms@gnu.org>
3337
07655e62 3338 * emacsclient.c (main): Use socket_name.
f387bdea 3339
880820fe 33402003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
3341
3342 * emacsclient.c (socket_name): New variable.
3343 (longopts, decode_options, print_help_and_exit):
3344 Handle --socket-name argument.
3345
0b7e7337
FP
33462003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
3347
783bcffa 3348 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
3349 token len is long enough.
3350
ac06b30b
DL
33512003-08-20 Dave Love <fx@gnu.org>
3352
3353 * Makefile.in: Remove obsolete references to alloca.
3354
32b0a3c6
JB
33552003-07-29 Ken Brush <ken@wirex.com>
3356
3357 * emacsclient.c (main)
3358 * etags.c (suggest_asking_for_help)
3359 * movemail.c (main): Fix having macros in a printf statement.
3360
3867c42d
JB
33612003-05-31 Juanma Barranquero <lektu@terra.es>
3362
3363 * makefile.w32-in (lisp): Fix references to byte-run.el,
3364 float-sup.el and map-ynp.el, which are now in emacs-lisp.
3365
7933722a
DL
33662003-05-22 Dave Love <fx@gnu.org>
3367
3368 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3369 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3370
463f55ee
DL
33712003-05-20 Dave Love <fx@gnu.org>
3372
3373 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3374
3375 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3376
1b7a835b
JB
33772003-04-27 Oliver Scholz <alkibiades@gmx.de>
3378
0e0dced5 3379 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 3380
eec54bd7
SM
33812003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3382
3383 * emacsclient.c (main): Use new safe location for socket.
3384
ff4bd681
JB
33852003-03-12 Tom Tromey <tromey@redhat.com>
3386
eec54bd7
SM
3387 * emacsclient.c (print_help_and_exit): Print to stdout.
3388 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
3389 (decode_options): Don't call print_help_and_exit in default case.
3390 Print version information to stdout.
3391 (main): Don't call print_help_and_exit.
3392
dd132e44
RS
33932003-02-15 Richard M. Stallman <rms@gnu.org>
3394
3395 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 3396 Don't include stdlib.h, because config.h does.
dd132e44 3397 (malloc, realloc): Declarations deleted.
ff4bd681 3398
dd132e44
RS
3399 * yow.c (yow): Cast result of malloc and realloc.
3400 (malloc, realloc): Declarations deleted.
3401
71ffc53a
JB
34022003-02-11 Juanma Barranquero <lektu@terra.es>
3403
3404 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3405
0dfd93c0
AS
34062003-02-08 Andreas Schwab <schwab@suse.de>
3407
3408 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3409 instead of the substitution.
3410
37d1e680
RS
34112003-02-04 Richard M. Stallman <rms@gnu.org>
3412
3413 * update-game-score.c (push_score, read_scores): Cast values
3414 of malloc and realloc.
3415 (main, lock_file): Avoid assignment inside if.
3416
c60ee5e7
JB
34172003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
3418
3419 * Makefile.in: Use @EXEEXT@ for Cygwin.
3420
b24e2dc7
DL
34212003-01-21 Dave Love <fx@gnu.org>
3422
3423 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3424 column-0 `('.
3425
3426 * yow.c: Don't include string.h.
3427
675d000f
RS
34282003-01-20 Richard M. Stallman <rms@gnu.org>
3429
3430 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3431 New targets.
3432
207aa3ff
KS
34332003-01-06 Kim F. Storm <storm@cua.dk>
3434
31fa6595 3435 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
3436 All uses changed.
3437
cf6d30d7
AI
34382002-12-18 Andrew Innes <andrewi@gnu.org>
3439
3440 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3441 because GNU make doesn't append when using >> redirection.
3442
f0131492 34432002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
3444
3445 * b2m.pl: Make sure every message ends with a blank line, because
3446 some mbox parsers require a blank line before "From " lines.
3447
85cce843
RS
34482002-12-08 Richard M. Stallman <rms@gnu.org>
3449
3450 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3451 (_): Test only HAVE_LIBINTL_H to decide what to do.
3452
2ccc4d34
RS
34532002-12-05 Richard M. Stallman <rms@gnu.org>
3454
3455 * getopt.c: Comment out include of libintl.h or gettext.h.
3456
c5992177
RS
34572002-12-04 Richard M. Stallman <rms@gnu.org>
3458
3459 * Update getopt from gnulib version; changes described below.
3460
3461 * getopt1.c: Conditionally find getopt.h.
3462 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3463
3464 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3465 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 3466 (wchar.h): Include, maybe.
10d1d0af 3467 (attribute_hidden): Define if not defined.
c5992177 3468 (__getopt_initialized): Use attribute_hidden.
b166dcd8 3469 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
3470 (__getopt_nonoption_flags, nonoption_flags_max_len)
3471 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
3472 (SWAP_FLAGS): New definitions.
3473 (exchange): Test USE_NONOPTION_FLAGS.
3474 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3475 (_getopt_internal): Error if argc < 1. New local var print_errors.
3476 Improve test for ambiguous long option.
3477 Add LIBIO support for error message output.
3478 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3479
3480 * getopt.h: Maybe include ctype.h.
3481 Treat __cplusplus like __STDC__.
3482 (decls): Use __ in arg names.
3483
4b5e69bd
SE
34842002-12-02 Stephen Eglen <stephen@gnu.org>
3485
3486 * emacsclient.c (main): Tell user how to start server within Emacs
3487 if socket could not be found.
3488
19fa03f3
RS
34892002-12-02 Richard M. Stallman <rms@gnu.org>
3490
3491 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3492
7be215b4
JB
34932002-11-19 Ben Key <bkey1@tampabay.rr.com>
3494
29f538e6
BK
3495 * makefile.w32-in: Fixed a bug that caused the documentation for
3496 the built in function play-sound-internal not to be included in
3497 /etc/DOC.
7be215b4 3498
1998560a
DL
34992002-11-18 Dave Love <fx@gnu.org>
3500
3501 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3502 fcntl.h, stdarg.h conditionally.
3503 (_GNU_SOURCE, __attribute__): Don't define.
3504 (optarg, optind, opterr): Declare.
3505 (lose, lose_syserr): Use NO_RETURN.
3506 (get_user_id): Use P_.
3507
8b96caf3
RS
35082002-11-17 Richard M. Stallman <rms@gnu.org>
3509
3510 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3511
59daa29a
DL
35122002-11-14 Dave Love <fx@gnu.org>
3513
3514 * movemail.c (pop_retr): Declare comment.
3515
3516 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7 3517
61b108cc 3518 * Makefile.in (YACC): Delete.
9a007cb7 3519
f1b443bf
AS
35202002-10-19 Andreas Schwab <schwab@suse.de>
3521
3522 * Makefile.in (${archlibdir}): Always create $(gamedir).
3523 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3524
52402e4f
JB
35252002-10-04 Juanma Barranquero <lektu@terra.es>
3526
3527 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3528
15dab115
MR
35292002-09-30 Markus Rost <rost@math.ohio-state.edu>
3530
3531 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3532 completely.
3533
30be2360
SM
35342002-09-27 Stefan Monnier <monnier@cs.yale.edu>
3535
3536 * emacsclient.c: Remove SYSV support.
3537 (eval, display): New vars.
3538 (longopts): Add --eval and --display.
3539 (decode_options): Add -e and -d processing.
3540 (print_help_and_exit): Update the usage string.
3541 (main): Add support for --eval and --display.
3ecdcd59 3542 (main): Always use /tmp and non-qualified hostname.
30be2360 3543
4208da83
SM
35442002-09-25 Stefan Monnier <monnier@cs.yale.edu>
3545
3546 * emacsserver.c: Remove.
3547
3cf8c6aa
SM
35482002-09-17 Stefan Monnier <monnier@cs.yale.edu>
3549
3550 * emacsclient.c (quote_file_name): Quote \n.
3551 (main): Print a final \n when needed.
3552
880820fe 35532002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
3554
3555 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3556 string that cannot be freed.
3557
880820fe 35582002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
3559
3560 * etags.c (consider_token, C_entries): Switch to C++ parsing when
3561 auto-detection is enabled and the `::' qualifier is met.
3562 (consider_token, C_entries): Several bugs corrected that tagged
3563 some declarations even though --declarations was not used.
3564 (plainc): New macro.
3565 (C_entries): Use it.
3566 (C_entries): Several cosmetic changes.
3567 (C_entries): Invalidate the token is some cases.
3568
880820fe 35692002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 3570
eec54bd7 3571 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 3572 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
3573 (cjava, cplpl): They are now macros instead of local vars.
3574
880820fe 35752002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
3576
3577 * etags.c (HTML_labels): Tag ID= also.
3578
880820fe 35792002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
3580
3581 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3582
ecc54057 3583 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
3584 (etags_strcasecmp): Like BSD's, for compatibility.
3585 (strcaseeq): Make it into a macro.
3586
3587 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 3588 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
3589 (pattern): Structure renamed to `regexp', member regex renamed to
3590 pattern.
3591 (node_st): Member pat renamed to regex.
eec54bd7
SM
3592 (pattern); New member force_explicit_name, for future use.
3593 Now always set to true, cannot be reset.
87046df8
FP
3594 (add_regex, regex_tag_multiline, readline): Use it.
3595 (main): Free some global structures.
8ee14629 3596 (fdesc): New member `written'.
e1dbe924 3597 (readline, process_file): Initialize it.
87046df8
FP
3598 (put_entries): Set it.
3599 (main): Use it to create entries for files without tags.
3600 (total_size_of_entries): Do not count invalid tags.
87046df8 3601
02ce3e80
SM
36022002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3603
3604 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3605 for the function name in the usage info.
3606
5fba5c21
CW
36072002-07-31 Colin Walters <walters@gnu.org>
3608
3609 * update-game-score.c (P_): New macro. Use it for all prototypes.
3610 (lose): Don't use varargs.
3611 (lose_syserr): New function.
3612
3613 * update-game-score.c: Change all functions to K&R style.
3614
712eaee0
AS
36152002-07-30 Andreas Schwab <schwab@suse.de>
3616
3617 * Makefile.in (localstatedir): New variable.
3618
f0131492 36192002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
3620
3621 * b2m.pl: Fix regexp for finding return address fields.
3622
1e042160
SM
36232002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3624
3625 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3626
f0131492 36272002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 3628
02ce3e80 3629 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 3630
880820fe 36312002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
3632
3633 * b2m.pl: New file.
3634
880820fe 36352002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 3636
ecc54057 3637 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
3638 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
3639 (PHP_functions, PHP_functions, Cobol_paragraphs)
3640 (Makefile_targets, Postscript_functions, Texinfo_nodes)
3641 (prolog_pr, erlang_func, erlang_attribute)
3642 (Perl_functions, Perl_functions, Pascal_functions)
3643 (TeX_commands, get_tag): Use make_tag instead of pfnote.
3644 (get_tag): Prototype changed, all callers changed.
3645
880820fe 36462002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 3647
d76132d0
FP
3648 * etags.c: Implement implicit tag names, that is, unnamed tags
3649 whose name is automatically deduced by etags.el. The advantage is
3650 that there is no explicit tag name in most tags, so the size of
3651 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 3652 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
3653 (make_tag): New function (was the disabled function new_pfnote).
3654 (make_C_tag): Use it.
3655
880820fe 36562002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
3657
3658 * etags.c (add_regex): Invalid regexp modifiers are ignored.
3659 (Makefile_targets): Tag variables unless --no-globals.
3660 (LOOP_ON_INPUT_LINES): Serious bug corrected.
3661
880820fe 36622002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
3663
3664 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
3665 (invalidate_nodes): Bug corrected.
3666 (print_help): Better help for regexps.
3667
7a8940da
JB
36682002-06-13 Juanma Barranquero <lektu@terra.es>
3669
3670 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
3671 font-core.elc.
3672
880820fe 36732002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
3674
3675 * etags.c: New multi-line regexp and new regexp syntax.
3676 (arg_type): at_icregexp label removed (obsolete).
3677 (pattern): New member multi_line for multi-line regexps.
3678 (filebuf): A global buffer containing the whole file as a string
3679 for multi-line regexp matching.
3680 (need_filebuf): Global flag raised if multi-line regexps used.
3681 (print_help): Document new regexp modifiers, remove references to
3682 obsolete option --ignore-case-regexp.
3683 (main): Do not set regexp syntax and translation table here.
3684 (main): Treat -c option as a backward compatibility hack.
3685 (main, find_entries): Init and free filebuf.
3686 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 3687 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
3688 (analyse_regex, add_regex): Remove the ignore_case argument, which
3689 is now a modifier to the regexp. All callers changed.
3690 (add_regex): Manage the regexp modifiers.
3691 (regex_tag_multiline): New function. Reads from filebuf.
3692 (readline_internal): If necessary, copy the whole file into filebuf.
3693 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
3694
880820fe 36952002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
3696
3697 * etags.c (add_regex): Better check for null regexps.
3698 (readline): Check for regex matching null string.
6772c8e1 3699 (find_entries): Reorganization.
6861f0e3 3700
880820fe 37012002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
3702
3703 * etags.c (scan_separators): Support all character escape
3704 sequences supported by Gcc.
02ce3e80 3705 (find_entries): Rewind unconditionally.
f0da41a6
FP
3706 (find_entries): Do not call language functions directly, now calls
3707 itself.
e1dbe924 3708 (find_entries): Do general initializations here.
f0da41a6
FP
3709 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3710 (Ada_getit, Pascal_functions, Pascal_functions)
3711 (prolog_skip_comment): Do not do them here.
3712 (readline_internal): Increment lineno here.
3713 (readline): Conditionally undo readline_internal increment.
3714 (readline): Do not return a value.
3715
880820fe 37162002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 3717
88c71720 3718 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
3719 (enum arg_type): New label at_stdin.
3720 (STDIN): New constant.
3721 (parsing_stdin): New flag.
3722 (longopts): New option --parse-stdin=NAME.
3723 (print_help): Document it.
3724 (main): Handle it.
3725 (process_file): Split into process_file and process_file_name.
3726 (process_file_name): New function.
3727
88c71720 3728 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 3729 (TeX_commands): Skip comments.
10d1d0af 3730 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
3731 (TEX_cmt): Make it a static char and move it before TeX_commands.
3732 (TeX_commands): Shorten the tag to the brace after the name.
3733 (TeX_commands): Names now include the initial backslash.
3734 (TeX_commands): Names do not include numeric args #n.
3735 (TeX_commands): Correct line char number in tags.
61b108cc 3736 (TEX_tabent, TEX_token): Delete.
5526f1f6
FP
3737 (TeX_commands, TEX_decode_env): Streamlined.
3738
880820fe 37392002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
3740
3741 * etags.c (main): Avoid a buffer overrun with sprintf.
3742
a71867c5
RS
37432002-05-30 Richard M. Stallman <rms@gnu.org>
3744
b166dcd8
KC
3745 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3746 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 3747
b7e67db6
PE
37482002-05-26 Paul Eggert <eggert@twinsun.com>
3749
3750 Reinstate the following change from 2002-03-22, which was
3751 inadvertently lost on 2002-04-13.
3752
3753 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3754 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3755 the latter usage.
3756
5f226e2c
EZ
37572002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3758
3759 * pop.c (socket_connection): Move the code to resolve the POP
3760 host right before trying to connect with it.
3761
9021bb49
GM
37622002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3763
3764 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3765 platform.
3766
5167cfda
CW
37672002-04-28 Colin Walters <walters@verbum.org>
3768
3769 * Makefile.in (${archlibdir}): Don't conditionalize on
3770 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3771 or not we have access to the specified game user.
50496bd9 3772
5167cfda
CW
3773 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3774 (main): New argument -d, for specifying directory.
3775 (usage): Document.
02ce3e80 3776 (get_user_id): Compute.
61b108cc 3777 (get_home_dir): Delete.
5167cfda
CW
3778 (get_prefix): New function, taken from main.
3779 (main): Check whether or not we are running setuid. Move prefix
3780 computation to get_prefix. Don't call getpwent; we don't need to
3781 any more. Instead, move it to get_user_id().
3782
880820fe 37832002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
3784
3785 * ebrowse.c (skip_initializer): Return void.
3786
973c3c87
CW
37872002-04-23 Colin Walters <walters@verbum.org>
3788
3789 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3790 space.
3791
880820fe 37922002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 3793
ecc54057 3794 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
3795 (process_file): Print the tags from the nodes as soon as
3796 possible, and delete the nodes. This brings down the memory
3797 occupancy as etags to almost the same level as when the #line
3798 directives were not parsed.
3799 (free_fdesc): New function.
3800 (find_entries): Use it.
3801 (invalidate_nodes): In etags mode, do not just mark the nodes as
3802 invalid, do delete them.
3803
c901ceff
GM
38042002-04-21 Gerd Moellmann <gerd@gnu.org>
3805
3806 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3807
c42d6dbd
EZ
38082002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3809
3810 * update-game-score.c: Move config.h before the other headers, to
3811 avoid compiler warnings.
3812
880820fe 38132002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
3814
3815 * etags.c (find_entries): Bug fix in list management.
3816
880820fe 38172002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
3818
3819 * etags.c (get_language_from_filename): Add one argument.
3820 (strcaseeq): New function.
10d1d0af 3821 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
3822 comparison if called with appropriate args.
3823 (find_entries): Try with case insensitive match.
3824 (process_file): Bug fixed.
3825
880820fe 38262002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
3827
3828 * etags.c (find_entries): Delete tags previously obtained from
3829 file xxx.c's #line directives when parsing file xxx.y. This is
3830 generally done for automatically generated files containing
3831 #line directives. This handles the case when xxx.y is tagged
3832 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3833 be discarded.
eec54bd7 3834 (language): Add the metasource member. Initializers changed.
c150db23
FP
3835 (invalidate_nodes): New function.
3836 (readline): Discard lines after having found a #line
02ce3e80 3837 directive pointing to an already tagged file. This handles the
c150db23
FP
3838 case when xxx.y is tagged before xxx.c, and the entries of
3839 xxx.c pointing to xxx.y should be discarded.
3840 (fdesc): New structure for keeping track of input files.
3841 (fdesc): Remove `file' member (a string) and use instead a pointer
3842 to a file description structure.
02ce3e80
SM
3843 (curfile, curfiledir, curtagfname, curlang, nocharno)
3844 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 3845 curfdp, pointers to file description structures.
c150db23
FP
3846 (longopts, main, print_help): Use the CTAGS conditional to include
3847 or exclude options that work on etags or ctags only.
02ce3e80
SM
3848 (process_file, find_entries, pfnote, add_node, put_entries)
3849 (readline): Use fdhead and curfdp.
c150db23
FP
3850 (process_file, find_entries): Do not take an arg string, all
3851 callers changed.
3852
3853 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3854 options that are not right for either etags or ctags.
3855
3856 * etags.c (number_len, total_size_of_entries): Define them also
3857 in CTAGS mode, because gcc does not compile all refs away.
3858
e9d1f248
CW
38592002-04-14 Colin Walters <walters@debian.org>
3860
3861 * update-game-score.c (lock_file): If the lock file is older than
3862 an hour, delete it. Reset attempts to zero if we have to break
3863 the lock.
3864
7605f1bd
AS
38652002-04-14 Andreas Schwab <schwab@suse.de>
3866
3867 * update-game-score.c (read_score): Fix type of second parameter
3868 of getdelim to be of type size_t instead of int. Use 0 instead of
3869 ESUCCES.
3870
e82defd1
CW
38712002-04-10 Colin Walters <walters@verbum.org>
3872
ecc54057 3873 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
3874 (MAX_DATA_LEN, MAX_SCORES): New.
3875 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3876 default to ~/.emacs.d/games.
3877 (get_user_id): Don't zero uid in the case where we can't get the
3878 username.
3879 (lose): New function.
3880 (main): Actually use `max', and default it to MAX_SCORES.
3881 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3882 function.
3883 (read_score): Handle the case of reading unamelen characters, then
3884 finishing. Use mktemp if mkstemp isn't available.
3885 (lock_file, unlock_file): Delete unused versions.
3886 (lock_file): Always sleep, even if we unlinked the lock file.
3887
e82defd1
CW
3888 * Makefile.in (gamedir, gameuser): New variables.
3889 (toplevel, UTILITIES): Add update-game-score.
3890 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3891
5795b420
CW
38922002-04-07 Colin Walters <walters@verbum.org>
3893
3894 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3895 (get_user_id): Take struct passwd as an argument.
3896 (get_home_dir): New function.
3897 (main): Read in user information here. Discover home directory if
3898 necessary.
3899 (read_score): Trim newline only in `getline' case.
3900
cd553ffb 39012002-04-05 Colin Walters <walters@debian.org>
c150db23 3902
cd553ffb
CW
3903 * update-game-score.c (toplevel): Include pwd.h.
3904 (struct score_entry): Add username field.
3905 (push_score): Use it.
3906 (get_user_id): New function.
3907 (main): Don't malloc excessively.
3908 (main): Use username field.
3909 (read_score): Read it.
3910 (push_score): Handle it.
07655e62 3911 (write_scores): Write it.
c150db23
FP
3912 (read_score): Handle arbitrary length data.
3913
b74bd4a3
EZ
39142002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3915
3916 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3917
fa8bc89d
GM
39182002-03-29 Gerd Moellmann <gerd@gnu.org>
3919
3920 * ebrowse.c (add_declarator, skip_initializer): New functions.
3921 (declaration): Use them.
3922
dd87b4cc
JR
39232002-03-28 Jason Rumney <jasonr@gnu.org>
3924
3925 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3926
cd553ffb
CW
39272002-03-27 Colin Walters <walters@debian.org>
3928
3929 * update-game-score.c: New file.
3930
dfef6d49
PE
39312002-03-22 Paul Eggert <eggert@twinsun.com>
3932
3933 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3934 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3935 the latter usage.
3936
880820fe 39372002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 3938
4fff90e4 3939 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
3940 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3941 (TeX_commands): Name tags. Correction of old disabled code.
3942
3943 * etags.c (curfiledir, curtagfname): New global variables.
e1dbe924 3944 (process_file): Initialize them.
a13d6523 3945 (readline): Canonicalize the name found in #line directive.
893a741e 3946
4fff90e4 39472002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 3948
893a741e
JR
3949 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3950 compilers that don't optimize out dead code.
3951
880820fe 39522002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3 3953
b9edfa5c 3954 * etags.c: Honor #line directives.
a7c29764 3955 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
3956 (main): Remove some #ifdef in the getopt switch.
3957 (add_node, put_entries): Code added to merge different chunks of
3958 nodes referring to the same file. Currently the tags are just
3959 appended, without any check for duplicates.
3960 (Perl_functions): Do not special case ctags.
3961 (readline): Identify #line directives and do the right thing.
3962 (nocharno, invalidcharno): New global vars.
3963 (process_file): Reset nocharno.
3964 (readline): Set nocharno.
3965 (pfnote): Read nocharno and maybe put invalidcharno in node.
3966 (total_size_of_entries, put_entries): Use invalidcharno.
3967
3968 * etags.c: Keep the whole tag table in memory, even in etags mode.
3969 (main): Call put_entries here even in CTAGS mode.
3970 (main, process_file): Check the return values of fclose and pclose.
3971 (process_file): Do not call put_entries after parsing each file.
333f9019 3972 (process_file): Canonicalize file names even for ctags.
51aeded3
FP
3973 (process_file): Set curfile here...
3974 (find_entries): ... not here any more.
3975 (add_node): In etags mode, build a linked list of entries (on
3976 right pointer) for each file, and link the first entry of each
3977 file on left nodes.
3978 (put_entries): Print here the name of the file.
3979 (put_entries): Print the entries starting from the first file.
c150db23 3980 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
3981 mode, make the second work only on the right nodes.
3982
3983 * etags.c: Make all global variables static.
3984
50ce1f62
JB
39852002-02-25 Juanma Barranquero <lektu@terra.es>
3986
3987 * makefile.w32-in (lisp): Add missing backslash.
3988
82a399d2
JR
39892002-02-24 Jason Rumney <jasonr@gnu.org>
3990
3991 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3992 using .elc files.
c4cc8b9a 3993 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
3994 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3995
a279c920
PE
39962002-02-10 Paul Eggert <eggert@twinsun.com>
3997
3998 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3999 disallows the old syntax.
4000
0caa685d
PE
40012002-02-03 Paul Eggert <eggert@twinsun.com>
4002
d7982012 4003 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
4004 (AWK, TMPDIR): Work around portability problem in broken shells that
4005 don't understand `: ${VAR=val}'.
4006 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
4007 Prefer the new -k option to the traditional +M -N option.
4008
880820fe 40092002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
4010
4011 * b2m.c (main): Parenthesize assignment when used as truth value
4012 to prevent gcc warnings.
4013
4014 * fakemail.c: Include <config.h>.
4015
880820fe 40162001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
4017
4018 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
4019 * yow.c: Include <config.h>.
4020
880820fe 40212001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
4022
4023 * etags.c (Perl_functions): Tag packages and use them in sub tags.
4024 (get_tag): Return a pointer to the tag that is found.
4025
4026 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
4027 (F_takeprec): Rename from takeprec. All callers changed.
4028 (F_getit): Rename from getit. All callers changed.
4029 (nocase_tail): Rename from tail. All callers changed.
4030 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 4031 (L_getit): Simplify by using get_tag.
a60e4de9
FP
4032 (Perl_functions, Postscript_functions, erlang_attribute): Use the
4033 modified LOOKING_AT.
e1dbe924 4034 (notinname): Remove '[' and added ')' to the recognized chars.
a60e4de9
FP
4035 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
4036 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
4037 Clarified, using strneq or notinname.
61b108cc 4038 (L_isdef, L_isquote): Remove.
a60e4de9
FP
4039 (Lisp_functions, L_getit): Clarified.
4040
b166dcd8 4041 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
4042 [HAVE_CONFIG_H]: Let config.h deal with __P.
4043 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
4044 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
4045 gperf code needs it.
ecc54057
JB
4046 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
4047 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
4048 (xmalloc, xrealloc): Use PTR instead of long *.
4049 (bool): Make it a define, not a typedef, for C++ compilers.
4050 (pattern): Members renamed to avoid name clash in some C++ compilers.
4051 (get_language_from_langname): Use const argument.
4052
880820fe 40532001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
4054
4055 * makefile.nt, makefile.w32-in: Remove mocklisp files.
4056
880820fe 40572001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 4058
b8509940
PJ
4059 * emacsserver.c: Conditionally include config.h.
4060
594aa066
PJ
4061 * fakemail.c: Likewise.
4062
e69233c2
PJ
4063 * emacsclient.c: Include "config.h", not <../src/config.h>.
4064 (main): Parenthesize assignment when used as truth value to
4065 prevent gcc warnings.
4066
69bfc389
PJ
4067 * ebrowse.c: Include stdlib.h and string.h conditionally.
4068
e4e34e31
EZ
40692001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
4070
4071 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
4072
880820fe 40732001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
4074
4075 * test-distrib.c: Fix previous change.
4076
fb5aa7ac
DL
40772001-12-18 Dave Love <fx@gnu.org>
4078
4079 * test-distrib.c: Conditionally include fcntl.h.
4080
4081 * fakemail.c: Include "config.h", not <../src/config.h>.
4082 (_XOPEN_SOURCE): Define as 500.
4083
4084 * emacsserver.c: Include "config.h", not <../src/config.h>.
4085
4086 * cvtmail.c: Include config.h, stdlib.h.
4087 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
4088
4089 * yow.c: Conditionally include various headers. Use "epaths.h",
4090 not <../src/epaths.h>.
4091 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
4092
880820fe 40932001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 4094
13dc0576 4095 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
4096 (LOOKING_AT): New macro.
4097 (Perl_functions, Python_functions, PHP_functions)
4098 (Scheme_functions, Texinfo_nodes): Use it.
4099 (Perl_functions): Use strneq.
b166dcd8 4100 (prolog_pred): Rename to prolog_pr.
e1dbe924 4101 (prolog_pr): Recognize Prolog rules in addition to predicates.
e94a3679 4102 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 4103 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
4104 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
4105
34e39c95
RS
41062001-12-11 Richard M. Stallman <rms@gnu.org>
4107
4108 * Makefile.in (clean): Don't delete ../etc/DOC*.
4109
880820fe 41102001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
4111
4112 * COPYING: Moved back.
4113
76054cc8
AI
41142001-11-30 Andrew Innes <andrewi@gnu.org>
4115
e94a3679
FP
4116 * makefile.w32-in (FACE_SUPPORT):
4117 (MOUSE_SUPPORT):
4118 (FLOAT_SUPPORT):
4119 (WINNT_SUPPORT):
76054cc8
AI
4120 (lisp): Reference .el files instead of .elc files, to simplify
4121 bootstrapping.
4122 ($(DOC)): Change dependency to just `make-docfile'.
4123
880820fe 41242001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
4125
4126 * COPYING: Removed.
4127
e8d6a09b
PE
41282001-11-28 Paul Eggert <eggert@twinsun.com>
4129
4130 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
4131
4132 The following changes are derived from suggestions by Bob Chapman
4133 <rechapman@compuserve.com>.
4134
4135 * rcs2log (printlogline): Also allow tab and newline to separate
4136 '(function):' from the rest of a comment.
4137 (reformat the sorted log entries): Require date and author to
4138 match the clumpname.
4139
9a190096
GM
41402001-11-16 Gerd Moellmann <gerd@gnu.org>
4141
4142 * ebrowse.c (matching_regexp): Escape '\\'.
4143
880820fe 41442001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
4145
4146 * Makefile.in: Add support for --program-prefix, --program-suffix
4147 and --program-transform-name options.
4148
6d8f7d5d
RS
41492001-11-03 Richard M. Stallman <rms@gnu.org>
4150
4151 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
4152
4153 * movemail.c (popmail): Always pass two args to `error'.
4154
84e70f78
KR
41552001-10-24 Ken Raeburn <raeburn@gnu.org>
4156
4157 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4158 -lhesiod and maybe -lresolv.
4159 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
4160 support if it's available.
4161
386ca361
MB
41622001-10-21 Miles Bader <miles@gnu.org>
4163
a3b10252
MB
4164 * make-docfile.c (struct rcsoc_state): New type.
4165 (read_c_string_or_comment): Add SAW_USAGE
386ca361 4166 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
4167 Use a variable of type `rcsoc_state' to hold most of our state.
4168 (put_char): Add STATE parameter, and remove all other parameters
4169 except CH. Use STATE to get access to all needed state.
4170 (scan_keyword_or_put_char): New function.
386ca361
MB
4171 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
4172 Don't output a usage-string if there was one in the doc-string.
4173
71431a0e
GM
41742001-10-20 Gerd Moellmann <gerd@gnu.org>
4175
6aa97356 4176 * (Version 21.1 released.)
71431a0e 4177
880820fe 41782001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
4179
4180 * b2m.c: Properly spell the name of Emacs.
4181
945220bd
MB
41822001-10-17 Miles Bader <miles@gnu.org>
4183
4184 * make-docfile.c (put_char): New function.
4185 (read_c_string_or_comment): Strip trailing spaces and newlines.
4186
14242528
MB
41872001-10-16 Miles Bader <miles@gnu.org>
4188
4189 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
4190 comments [with `doc:' keyword prefix].
4191
9f5eb4a3
GM
41922001-10-15 Gerd Moellmann <gerd@gnu.org>
4193
4194 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
4195 in a C doc comment.
4196
e641b454
GM
41972001-10-13 Gerd Moellmann <gerd@gnu.org>
4198
b166dcd8 4199 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
4200 read_c_string. Add parameter COMMENT. Read C-style comments.
4201 (scan_c_file): Handle doc strings in C comments.
4202
967d7793
AI
42032001-10-12 Andrew Innes <andrewi@gnu.org>
4204
4205 * makefile.nt (ALL): Do not include fakemail.
4206
4207 * makefile.w32-in (install): Do not copy fakemail.
4208
d682756a
JR
42092001-10-10 Jason Rumney <jasonr@gnu.org>
4210
07655e62 4211 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 4212
07655e62 4213 * makefile.nt (install): Ditto.
d682756a 4214
14a3dff7
GM
42152001-10-09 Gerd Moellmann <gerd@gnu.org>
4216
4217 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 4218
95bc7904 4219 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 4220
880820fe 42212001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
4222
4223 * profile.c: Include config.h, not ../src/config.h.
4224 Include systime.h, not ../src/systime.h.
4225
ab952a4f
GM
42262001-10-05 Gerd Moellmann <gerd@gnu.org>
4227
4228 * Branch for 21.1.
dff28924 4229
12c64503
GM
42302001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
4231
4232 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
4233 ALIASEE to help work with namespace aliases.
4234 (struct sym): Remove struct member NAMESP_ALIASES.
4235 (namespace_alias_table): New variable.
4236 (make_namespace): Add parameter CONTEXT.
4237 (check_namespace): New function.
4238 (find_namespace): Add parameter CONTEXT.
4239 (check_namespace_alias): New function.
02ce3e80
SM
4240 (register_namespace_alias): Change type of parameter OLD_NAME.
4241 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
4242 (check_namespace): New function.
4243 (enter_namespace): Call find_namespace with CONTEXT parameter.
4244 (match_qualified_namespace_alias): New function.
eec54bd7 4245 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 4246 While parsing qualified ident or type update namespace context and
12c64503 4247 restore it on exit.
eec54bd7
SM
4248 (parse_qualified_param_ident_or_type): Fix typo in comment.
4249 (globals): Change handling of namespace aliases.
4250 (version): Add year 2001.
12c64503 4251
990e1190
FP
42522001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
4253
4254 * etags.c (analyse_regex): If regex_arg is NULL, return
4255 immediately after a call to free_patterns.
4256
f2e7e23e
AS
42572001-09-05 Paul Eggert <eggert@twinsun.com>
4258
4259 * rcs2log (Help, mainline code): Add new option -L FILE.
4260 (Copyright): Update year.
02ce3e80
SM
4261 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
4262 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
4263 C locale.
4264 (mainline code): Handle nonstandard -u option differently, by
4265 transforming it to standard form. Check for "Working file: ", not
4266 "Working file:". Allow file names with spaces.
4267 (SOH, rlogfile): New shell vars.
dff28924 4268 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
4269 rlogfile.
4270
4271 Append ';;' to the last arm of every case statement, for
4272 portability to ancient broken BSD shells.
4273
02ce3e80 4274 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
4275 (pository): New var. This fixes some bugs where repositories are
4276 remote, or have trailing slashes.
02ce3e80 4277 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 4278 about that possibility.
dff28924 4279 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 4280 the output.
dff28924 4281
75c911eb
EZ
42822001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4283
4284 * ebrowse.c (SEEK_END): #define if not defined by system headers.
4285 Suggested by Dave Love <d.love@dl.ac.uk>.
4286
5ae10f4a
EZ
42872001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4288
4289 * makefile.nt (lisp): Synchronize with src/Makefile.in.
4290 * makefile.w32-in (lisp): Ditto.
4291
0e4011d8 42922001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
4293
4294 * grep-changelog (parse_changelog): Remove unused local variable.
4295
4296 * grep-changelog (main): Add new option --reverse.
4297 (print_log): Use it.
4298 (parse_changelog): Use it.
4299
3c88ae74
GM
43002001-07-20 Gerd Moellmann <gerd@gnu.org>
4301
4302 * grep-changelog: Remove RCS Id keyword.
4303
41848daa
GM
43042001-07-20 Juanma Barranquero <lektu@terra.es>
4305
6e07c0a5
GM
4306 * grep-changelog (parse_changelog): Add tests for defined values
4307 to quiet warning from Perl 5.005 or above.
177ab8ce 4308 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
4309 argument to prevent duplicate headers.
4310
4311 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 4312
467f1209
GM
43132001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
4314
4315 * emacsclient.c (print_help_and_exit): Fix help message for
4316 +LINE:COLUMN option.
4317
43182000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 4319
467f1209
GM
4320 * emacsclient.c (main): Add support for +LINE:COLUMN command line
4321 argument.
4322
bb24c64f
GM
43232001-07-16 Gerd Moellmann <gerd@gnu.org>
4324
4325 * ebrowse.c (main): Check that the output file exists and
4326 is non-empty if invoked with `--append'.
4327
880820fe 43282001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 4329
e335b66a
GM
4330 * etags.c (add_regex): Reset the whole newly allocated pattern
4331 buffer instead of the individual members. It's safer and works
ecc54057 4332 with XEmacs.
fa829470 4333
e335b66a 4334 * etags.1: Markups corrected.
fa829470 4335
6da5c7da
GM
43362001-05-08 Gerd Moellmann <gerd@gnu.org>
4337
02ce3e80 4338 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 4339
efbecf9d
GM
43402001-05-03 Gerd Moellmann <gerd@gnu.org>
4341
4342 * ebrowse.c (globals): Fix handling of namespace aliases.
4343
f4976ebc
EZ
43442001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
4345
4346 * etags.c (print_help): Enclose the regexp in the help text
4347 example in quotes.
4348
23431241
DL
43492001-04-05 Dave Love <fx@gnu.org>
4350
4351 * emacsclient.c (fail): Don't return a value.
fa829470 4352 (main): Cast uid values for sprintf.
23431241 4353
476bf681
GM
43542001-04-03 Gerd Moellmann <gerd@gnu.org>
4355
b3f6107b
GM
4356 * emacsclient.c (fail, main): Don't use implicit int return type.
4357
476bf681
GM
4358 * b2m.c (main): Always return a value.
4359
ef53d75e
GM
43602001-03-02 Gerd Moellmann <gerd@gnu.org>
4361
4362 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4363 freshly allocated object in *LAST_ID.
4364 (read_line): Accept \r\n line endings.
4365
425de386
AI
43662001-02-24 Andrew Innes <andrewi@gnu.org>
4367
4368 * makefile.w32-in: Fix copyright notice.
4369
880820fe 43702001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
4371
4372 * etags.c (enum sym_type): New label st_C_template.
4373 (gperf input): Use it for switching to C++ from C.
4374 (consider_token): Do it.
e1dbe924 4375 (C_entries): Initialize typdefcblev to quiet compilers.
c2a642c0 4376 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 4377
f6839838
AI
43782001-02-22 Andrew Innes <andrewi@gnu.org>
4379
4380 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4381 VMS header files.
4382 ($(BLD)\profile.obj): Ditto.
4383
4384 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4385 VMS header files.
4386 ($(BLD)/profile.$(O)): Ditto.
4387
193fba87
AI
43882001-02-05 Andrew Innes <andrewi@gnu.org>
4389
4390 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4391 invocation of make-docfile, to work with Windows 2000.
4392
30526cc6
DL
43932001-01-31 Dave Love <fx@gnu.org>
4394
4395 * etags.c (in_word_set): Use `static' in definition (for pcc).
4396
880820fe 43972001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 4398
ecc54057 4399 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
4400 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4401 (C_entries): Tag token renamed to still_in_token because sunos4
4402 pcc wants to expand it as the token() macro even though it has no
4403 arguments.
4404
914d7258
AI
44052001-01-30 Andrew Innes <andrewi@gnu.org>
4406
4407 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4408 bug in the Mingw32 assert.h header file.
4409
880820fe 44102001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 4411
ecc54057
JB
4412 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4413 #define it for the sake of XEmacs.
b28e26be
FP
4414 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4415 HAVE_CONFIG_H. This change only affects a standalone etags.
4416 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4417 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
4418 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 4419 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
4420 WINDOWSNT, as this is the correct way to use it.
4421
880820fe 44222001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
4423
4424 * etags.c: Be capable to parse nested struct-like structures.
4425 (structdef, structtag): Struct state machine revisited.
4426 (struct tok): Revisited.
4427 (cstack, nestlev, instruct): New struct and macros.
4428 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 4429 for dealing with nested class names.
8c463abe
FP
4430 (consider_token, make_C_tag, C_entries): Many changes for dealing
4431 with arbitrarily nested structures.
4432 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4433 (C_entries): Consider templates in C++.
4434 (sym_type): New constant st_C_class for detecting "class" also in
4435 C mode.
4436 (C_AUTO): New macro for automatic detection of C++.
4437 (consider_token): Automatic set C++ mode.
4438 (C_entries): New security check for yacc.
4439 (print_language_names, print_help): Mention the autodetect
07655e62 4440 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
4441 (C_entries): Tag C++ forward declarations if --declarations.
4442 (C_entries): Don't be fooled by things like XDEFUN.
4443 (consider_token): Discard asm pseudo function.
4444
e26f9ced
EZ
44452001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
4446
4447 * etags.c: Add a coding: tag.
4448
a47b7816
GM
44492001-01-26 Gerd Moellmann <gerd@gnu.org>
4450
8c463abe 4451 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
4452 New variables.
4453 (matching_regexp): Use them instead of static variables in
4454 function scope.
4455
880820fe 44562001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 4457
b166dcd8
KC
4458 * etags.c (struct tok): Rename from struct token.
4459 (token): Rename from tok.
d22a24fa
FP
4460 (structtype): Make it a local variable.
4461 [DEBUG]: Use assert.
4462 (xrnew): Change the synopsis.
b166dcd8 4463 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 4464 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 4465 (token): Buffer renamed to line.
d22a24fa 4466 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 4467 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
4468 (linebuffer_setlen): Was grow_buffer, now also sets len.
4469 (consider_token, C_entries, Pascal_functions): Use it.
4470 (C_entries): Preventing problems relative to extern "C".
4471 (C_entries): Can tag more than one variable or func separated by
4472 comma when --declarations is used.
4473 (C_entries): More accurate tagging of members and declarations.
4474 (yacc_rules): Was global, made local to C_entries.
61b108cc 4475 (next_token_is_func): Remove.
d22a24fa
FP
4476 (fvdef): New constants fdefunkey, fdefunname.
4477 (consider_token, C_entries): Use them.
4478 (C_entries): Build proper lisp names for Emacs DEFUNs.
4479
21c2bbe0
GM
44802001-01-22 Gerd Moellmann <gerd@gnu.org>
4481
4482 * ebrowse.c (xfree): New function.
4483 (member, declaration, globals): Use xmalloc instead of alloca.
4484
880820fe 44852001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
4486
4487 * etags.c (print_language_names): Print filenames in addition to
4488 suffixes.
4489
880820fe 44902001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 4491
b166dcd8 4492 * etags.c (get_language_from_langname): Rename from
47df1a5e 4493 get_language_from_name.
b166dcd8 4494 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 4495 Now first looks for the complete file name.
47df1a5e
EZ
4496 (language): New member char **filenames.
4497 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 4498 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 4499 for makefiles.
13dc0576 4500 (Makefile_targets): New function.
c5e87d10 4501 (Texinfo_nodes): Rename from Texinfo_functions and made
47df1a5e
EZ
4502 it conformant to the style of the rest of the code.
4503
291c7e74
GM
45042001-01-13 Gerd Moellmann <gerd@gnu.org>
4505
4506 * make-docfile.c (write_c_args): Print newlines as spaces.
4507
0dac6924
AI
45082001-01-06 Andrew Innes <andrewi@gnu.org>
4509
4510 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4511 of *.pdb.
4512
3e99d3b4
GM
45132001-01-03 Paul Eggert <eggert@twinsun.com>
4514
290afd83 4515 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
4516 cause user of rcs2log to overwrite arbitrary files, fixing
4517 a bug reported by Morten Welinder.
4518
4519 Don't put "exit 1" at the end of the exit trap; it's
4520 ineffective in POSIX shells.
4521
d6bb0c0d
GM
45222001-01-02 Gerd Moellmann <gerd@gnu.org>
4523
eec54bd7
SM
4524 * ebrowse.c (yyerror): Change to take two arguments.
4525 Add prototype. Change callers.
d6bb0c0d 4526
d5c00476 45272001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
4528
4529 * ebrowse.c (enter_namespace, main): Cast variables to shut up
4530 compiler warnings.
4531 (yyerror): Change parameter declarations to be of type long, so
4532 that they can take pointers on 64-bit platforms.
4533
4534 * emacsclient.c (main): Remove unused local variable statbfr.
4535 (main) <homedir>: Make its declaration conditional on
4536 SERVER_HOME_DIR, to avoid compiler warnings.
4537
4538 * emacsserver.c (main) <homedir>: Make its declaration conditional
4539 on SERVER_HOME_DIR, to avoid compiler warnings.
4540
4541 * fakemail.c (readline): Cast buffer to "long *" to pacify
4542 over-zealous compilers.
4543
7c89ea61
EZ
45442000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
4545
4546 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4547
a6768cc5
GM
45482000-12-15 Gerd Moellmann <gerd@gnu.org>
4549
4550 * ebrowse.c (operator_name): Cast argument of isalpha to
4551 unsigned char.
4552
4553 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4554 Use them throughout instead of ctype functions/macros.
4555 (lowcase): Cast to unsigned char.
4556 (UPCASE): New macro.
4557 (canonicalize_filename): Use UPCASE instead toupper.
4558
4559 * fakemail.c (get_keyword): Make sure that isspace and
4560 similar aren't called with a negative argument.
4561
70de49cc
DL
45622000-12-13 Dave Love <fx@gnu.org>
4563
4564 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4565
4e8b894c
AI
45662000-12-06 Andrew Innes <andrewi@gnu.org>
4567
4568 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4569 don't know the real version, and I can't seem to get the quoting
4570 right in all circumstances.
4571
4572 * ebrowse.c (VERSION): Provide default definition, like etags.c
4573 does, because Windows build can't snarf this from version.el.
4574
88257bc8
AI
45752000-11-30 Andrew Innes <andrewi@gnu.org>
4576
4577 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4578 (install): Ditto.
4579
d19249e7
JR
45802000-11-23 Jason Rumney <jasonr@gnu.org>
4581
4582 * makefile.w32-in: Add targets for ebrowse.exe.
4583 (LOCAL_FLAGS): Add -DVERSION flag.
4584
7df6adc3
DL
45852000-09-25 Dave Love <fx@gnu.org>
4586
4587 * sorted-doc.c: Include config.h.
4588 [!HAVE_STDLIB_H]: Declare malloc.
4589
fe83b953
AI
45902000-09-14 Andrew Innes <andrewi@gnu.org>
4591
4592 * makefile.w32-in: Revert to Unix line endings.
4593
517699ca
DL
45942000-09-04 Dave Love <fx@gnu.org>
4595
4596 * movemail.c (index, rindex): Prototype conditionally.
4597
f8803e97
AI
45982000-09-03 Andrew Innes <andrewi@gnu.org>
4599
4600 * makefile.w32-in: Change to DOS line endings.
4601
f72adc12
EZ
46022000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4603
4034f3a8 4604 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
4605 [!F_OK]: Provide default definitions only after including both
4606 fcntl.h and unistd.h.
4607
f678f592
DL
46082000-08-29 Dave Love <fx@gnu.org>
4609
4610 * movemail.c: Revert previous change.
4611
5b671d04
EZ
46122000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4613
4614 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4615
6fa86045
DL
46162000-08-28 Dave Love <fx@gnu.org>
4617
4618 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4619 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4620
746d9caf
AI
46212000-08-22 Andrew Innes <andrewi@gnu.org>
4622
4623 * ntlib.h (WIN32): Remove unnecessary definition.
4624 (sleep): Make argument unsigned long.
4625 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4626
4627 * ntlib.c (sleep): Make argument unsigned long.
4628
4629 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4630
4631 * makefile.w32-in: New file.
4632
3b541489
EZ
46332000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4634
4635 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4636 letter only if it is a drive letter.
4637
e5acf0ca
GM
46382000-07-14 Gerd Moellmann <gerd@gnu.org>
4639
b166dcd8 4640 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
4641
4642 * etags.c (xmalloc, xrealloc): Make externally visible, for use
4643 by alloca.o.
4644
02ce3e80 4645 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 4646
4b92c49a
GM
46472000-07-10 Gerd Moellmann <gerd@gnu.org>
4648
4649 * ebrowse.c (yylex): Accept string literals with newlines in them.
4650 (process_pp_line): Handle case of string literal with newline
4651 in it in replacement text, which counts as continuing the
4652 replacement text in GNU C.
4653
831a6cb0
GM
46542000-07-02 Gerd Moellmann <gerd@gnu.org>
4655
4656 * ebrowse.c (token_string): Add missing tokens.
4657 (parm_list): Handle case of qualified pointers.
4658
53245ee2
DL
46592000-06-23 Dave Love <fx@gnu.org>
4660
4661 * ebrowse.c: Move config.h before other includes (which may use
4662 feature tests).
4663
dcbf2cd2
JM
46642000-06-14 Jim Meyering <meyering@lucent.com>
4665
4666 * grep-changelog: Fix typos in comments. Remove trailing blanks.
4667
f1c7754a
JR
46682000-06-11 Jason Rumney <jasonr@gnu.org>
4669
4670 * makefile.nt: Add targets for ebrowse.
4671
4672 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
4673 compare filenames.
4674
5f1aea9a
GM
46752000-06-06 Gerd Moellmann <gerd@gnu.org>
4676
b166dcd8
KC
4677 * ebrowse.c (ymalloc): Rename from xmalloc.
4678 (yrealloc): Rename from xrealloc.
5f1aea9a 4679
5bf244f1
DL
46802000-05-21 Dave Love <fx@gnu.org>
4681
4682 * movemail.c: Include config.h, not ../src/config.h.
4683 (Errmsg): Bump length.
4684
4685 * pop.c (ERROR_MAX): Increase to 160.
4686
ec82fb2f
GM
46872000-05-04 Gerd Moellmann <gerd@gnu.org>
4688
4689 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
4690
5c922ea7
EZ
46912000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
4692
02ce3e80
SM
4693 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
4694 Define to semi-colon.
5c922ea7 4695 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 4696 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
4697 (process_file): Don't assume that fread always reads as many bytes
4698 as it was told to (DOS-style CR-LF text files fail this logic).
4699 (open_file): Allocate enough space for path->path plus the file
4700 name and the slash.
4701
6142fdcb 47022000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
4703
4704 * etags.c (Texinfo_functions): New function.
4705 (lang_names): Install it.
4706 (Texinfo_suffixes): New variable.
4707
cb9215e4
GM
47082000-04-19 Gerd Moellmann <gerd@gnu.org>
4709
4710 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4711 (declaration): Remove parameter IS_EXTERN.
4712 (class_definition): Remove unused variable.
4713
be0dbdab
GM
47142000-04-09 Gerd Moellmann <gerd@gnu.org>
4715
4716 * Makefile.in (INSTALLABLES): Add ebrowse.
4717 (ebrowse): New target.
4718
4719 * ebrowse.c: New file.
4720
c5aa0fc2
AS
47212000-03-29 Andreas Schwab <schwab@suse.de>
4722
4723 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4724
d054101f
GM
47252000-03-02 Gerd Moellmann <gerd@gnu.org>
4726
07e99590 4727 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 4728
880820fe 47292000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 4730
eec54bd7 4731 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
4732 space, and use it throughout in place of isspace, thus preventing a
4733 potential signed char to int conversion problem.
10d1d0af 4734 (MSDOS): #undefine before redefining.
71cbb895 4735
880820fe 47362000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
4737
4738 * etags.c (many functions): Add prototypes.
4739
97fa0cc8
DL
47402000-02-10 Dave Love <fx@gnu.org>
4741
4742 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4743 (erlang_func): Add `static' to definitions to keep pcc happy.
4744
880820fe 47452000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
4746
4747 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4748 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4749 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4750 (getenv, getcwd): Only declare them if necessary.
4751 (EMACS_NAME): New constant macro.
4752 (print_version): Use it.
4753 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 4754
19e262bd 47552000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
4756
4757 * etags.c [WINDOWSNT]: #include <direct.h>
4758
19e262bd 47592000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 4760
19e262bd
FP
4761 * etags.c (all functions): Made them static.
4762 (all functions): Write prototypes.
e4100b7f 4763
55e30d2a
RS
47642000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4765
4766 * movemail.c (main): Improve error message if can't create lock file.
4767
c60ee5e7 47682000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
4769
4770 * emacsclient.c (socket_status): New function.
02ce3e80 4771 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
4772 for a socket based on the UID associated with the name.
4773
e4936aa9
GM
47742000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4775
4776 * emacsclient.c: Add option -a EDITOR and environment variable
4777 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4778
f0131492 47791999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
4780
4781 * movemail.c (popmail): Allow mailbox specifications of the
4782 form `po:username:hostname'.
4783
880820fe 47841999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
4785
4786 * etags.c (_GNU_SOURCE): Define only if undefined.
4787 (get_scheme): Declaration deleted.
02ce3e80 4788 (main): Error was called with an integer as second arg, instead of
e2081362
FP
4789 a char pointer.
4790 (canonicalize_filename): Bug removed.
4791
47921999-11-18 Dave Love <d.love@dl.ac.uk>
4793
4794 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4795 lossage from name clash with macro.
4796
b05d3bee
GM
47971999-11-13 Gerd Moellmann <gerd@gnu.org>
4798
4799 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4800
cb3a6c48
GM
48011999-11-03 Gerd Moellmann <gerd@gnu.org>
4802
4803 * etags.c (print_help): Change email address to send bugs to.
4804
6088b51f 48051999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4806
4807 * etags.c: Add suffix psw for PSWrap.
4808 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4809 (Postscript_functions): Add code for PSWrap.
4810 (Scheme_functions): Use local pointer and new get_tag function.
4811 (get_tag): New name for old get_scheme.
4812 (process_file): Do not free NULL when file does not exist.
4813 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4814 (C_entries): Modifications that make --members tag even inside
4815 typedefs and C nested structs (one level only).
eec54bd7 4816 (consider_token): Correct a bug which prevented tagging of enum
1c478461 4817 constants.
eec54bd7 4818 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
4819 st_C_ignore. This makes it simpler to work when cblev!=0.
4820
02ce3e80 4821 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
4822 --declarations is used.
4823
4824 * etags.c (C_entries, consider_token): C++ `operator' now is
4825 tagged in most cases.
e1dbe924 4826 As before, :: is not recognized if surrounded by spaces.
1c478461
FP
4827
4828 * etags.c (relative_filename): Account for DOS file names such
4829 that is impossible to make one relative to another.
4830
4831 * etags.c (sym_type): New st_C_extern tag.
4832 (gperf input): Use it for spotting external declarations.
a7c29764 4833 (print_help): Document the new behavior of --declarations.
1c478461
FP
4834 (fvextern): New global variable.
4835 (consider_token, C_entries): Use it.
4836
4837 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4838 (etags_getcwd): Remove test for WINDOWSNT.
4839
4840 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4841 foo.cgz, foo.cz, etc.
4842
4843 * etags.c (declarations): New global switch.
4844 (longopts): Describe it.
4845 (print_help): Document it.
4846 (C_entries): Use it.
4847 (process_file): Don't process a file twice.
4848
4849 * etags.c (Fortran_functions): No tags for "procedure".
4850
48511999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4852
4853 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4854 non-zero, returns a pointer to where the extension begins; callers
4855 changed.
4856 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4857 were foo.c.gz.
4858
880820fe 48591999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4860
4861 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4862 (fvdev): New constant foperator.
4863 (consider_token): Use it to get "operator" in C++.
4864 (C_entries): Extend length of operator@ function name.
4865 (C_entries): Use foperator when necessary.
4866
4867 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4868
4869 * etags.c (compressor): New struct for compressed files.
4870 (get_compressor_from_suffix): New function.
4871 (get_language_from_suffix): Use it. Also, semantics changed.
4872 (process_file): Consider compressed files, close file.
4873 (find_entries): Use different call arg for get_language_from_suffix,
4874 don't close file.
4875
4876 * etags.c (main): Call free_tree.
4877 (find_entries): Do not free curfile.
4878 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4879 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4880 comparing.
4881 (canonicalize_filename): Shut up compiler warning.
4882 (Perl_functions): Make tag significant.
4883
48841999-11-01 Dave Love <d.love@dl.ac.uk>
4885
4886 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4887 (argument_type): New member at_icregexp.
4888 (lc_trans): New global.
4889 (main): Fill lc_trans. Process -c args.
4890 (add_regex): New arg determining whether to use translation table.
4891 (analyse_regex): New arg. Use it for add_regex.
4892
880820fe 48931999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4894
4895 * etags.c (init): Cosmetic change: NULL --> '\0'.
4896 (erlang_attribute): Bug corrected (uninitialized variable).
4897 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 4898 corrects a bug. All callers changed.
1c478461
FP
4899 (canonicalize_filename): New function.
4900 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 4901 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 4902 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 4903 compilers quiet.
1c478461
FP
4904 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4905
4906 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4907 (language): New typedef (was struct lang_entry).
4908 (curlang): New global variable.
02ce3e80 4909 (node): Typedef renamed from NODE.
1c478461
FP
4910 (linebuffer): New typedef (was struct linebuffer).
4911 (pattern): New typedef (was struct pattern). Some members added.
4912 Now used as element of a linked list.
4913 (patterns, num_patterns): Global variables deleted.
4914 (p_head): New global variable.
a64387ee 4915 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
4916 (get_language_from_name, get_language_from_interpreter)
4917 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 4918 (last_node): New global variable.
02ce3e80
SM
4919 (free_tree, add_node, put_entries, total_size_of_entries):
4920 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
4921 (number_len): Rewritten for elegance.
4922 (token): New typedef replaces TOKEN.
4923 (analyse_regex, add_regex): Rewritten for new functionality.
4924 (free_patterns): New function called from main and add_regex.
4925 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 4926 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
4927 (readline): Rewritten for new functionality.
4928
ecc54057 4929 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
4930 (print_help): --globals is now used for more than C-type languages.
4931 (Perl_functions): Tag global variables ("my" and "local").
4932
4933 * etags.c (print_help): Some messages clarified.
4934 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
4935 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4936 (Python_functions, Cobol_paragraphs, Pascal_functions)
4937 (Lisp_functions, Postscript_functions, Scheme_functions)
4938 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4939 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4940 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
4941 of the global variable dbp.
4942 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4943 standard indentation.
4944
02ce3e80
SM
4945 * etags.c (Python_suffixes, lang_names, Python_functions):
4946 Python support.
1c478461 4947 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
4948 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4949 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4950 (prolog_pred, erlanf_func, erlang_attribute): Use them.
61b108cc 4951 (eat_white): Delete.
1c478461
FP
4952
4953 * etags.c (CHAR, init): Keep into account non US-ASCII
4954 characters and compilers with default signed chars.
4955 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4956 constructs.
ecc54057 4957 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 4958
ecc54057 4959 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
4960 (main): Put interval syntax here.
4961 (add_regex): And remove it from here.
4962
4963 * etags.c (suggest_asking_for_help): Provide a
4964 meaningful help message with and without LONG_OPTIONS.
4965
d07529f3 4966 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
4967 <stdlib.h, string.h>: Don't test MSDOS when including them.
4968 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4969 (put_entries): Correctly use %ld instead of %d in printf.
4970
d07529f3 4971 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
4972 declare getcwd if HAVE_GETCWD.
4973 (consider_token): Dead break instruction removed.
4974
4ee9629e
PE
49751999-10-19 Paul Eggert <eggert@twinsun.com>
4976
4977 Add support for large files. Merge glibc 2.1.2.
1c478461 4978
4ee9629e 4979 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 4980 * movemail.c, pop.c:
4ee9629e
PE
4981 Do not include <stdlib.h>, as <config.h> does this now.
4982
4983 * b2m.c, emacsserver.c, etags.c, profile.c:
4984 Include <config.h> before any system include files.
1c478461 4985
4ee9629e 4986 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 4987 * test-distrib.c:
4ee9629e
PE
4988 (read, write, open, close): Do not undef.
4989
4990 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4991 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4992
4993 * getopt.h: Adopt glibc 2.1.2.
1c478461 4994
93c8d183
DL
49951999-10-15 Dave Love <fx@gnu.org>
4996
4997 * Makefile.in (pop.o): Depend on config.h.
4998
b358f91c
GM
49991999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5000
5001 * pop.c: Use "pop3" as the POP service name on all platforms,
5002 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
5003 has been the standard service name since RFC 1340 was published in
5004 July 1992, so I think it's safe to start using it by default.
5005
362bc2da
DL
50061999-09-27 Dave Love <fx@gnu.org>
5007
5008 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
5009
74e4cb59
PR
50101999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
5011
5012 * make-docfile.c (scan_lisp_file): Fix previous changes;
5013 swallow CRLF like just CR or just LF.
5014
362bc2da
DL
50151999-09-03 Richard Stallman <rms@gnu.org>
5016
5017 * make-docfile.c: Include config.h not ../src/config.h.
5018 (main, fopen, chdir): Add #undef.
5019 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
5020 (scan_lisp_file): Handle \r like \n.
5021
50221999-08-30 Andreas Schwab <schwab@gnu.org>
5023
5024 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
5025
5026 * emacsserver.c: Include <stdlib.h> if available. Don't declare
5027 errno if it's a macro.
5028
5029 * test-distrib.c: Include <unistd.h> if available.
5030
50311999-08-29 Richard Stallman <rms@gnu.org>
5032
5033 * emacsclient.c (print_help_and_exit): Mention --version.
5034
50351999-08-25 Richard M. Stallman <rms@gnu.org>
5036
5037 * emacsclient.c (decode_options): Update version output.
5038 (print_help_and_exit): Update bug report address.
5039
50401999-08-13 Richard M. Stallman <rms@gnu.org>
5041
5042 * emacsclient.c (main): Move the dynamic allocation of
5043 system_name outside of the SERVER_HOME_DIR conditional.
5044 * emacsserver.c (main): Likewise.
5045
50461999-08-10 Gerd Moellmann <gerd@gnu.org>
5047
5048 * grep-changelog: New.
5049 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
5050
50511999-07-12 Richard Stallman <rms@gnu.org>
5052
5053 * Version 20.4 released.
5054
50551999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
5056
1c478461 5057 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
5058
50591999-06-23 Dave Love <fx@gnu.org>
5060
5061 * etags.c (erlang_attribute): Fix undefined variable usage (after
c91c771d 5062 Potortì).
362bc2da 5063
86e888c2 50641999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
5065
5066 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
5067 mapped to _chsize.
5068
50691999-04-29 Richard M. Stallman <rms@gnu.org>
5070
5071 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
5072
50731999-03-30 Dave Love <fx@gnu.org>
5074
5075 * sorted-doc.c (main): Split up tables. Modify the preamble
5076 somewhat.
5077
50781999-03-05 Geoff Voelker <voelker@cs.washington.edu>
5079
5080 * makefile.nt: Remove common multiple file compilation commands.
5081
50821999-02-26 Richard Stallman <rms@gnu.org>
5083
362bc2da
DL
5084 * Makefile.in (yow): Depend on epaths.h, not paths.h.
5085
5086 * yow.c: Refer to epaths.h.
5087
50881999-02-22 Simon Josefsson <jas@pdc.kth.se>
5089
5090 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
5091
50921999-01-27 Andrew Innes <andrewi@gnu.org>
5093
5094 * makefile.nt: Do make version comparison as strings.
5095
50961999-01-25 Richard Stallman <rms@gnu.org>
5097
5098 * emacsclient.c (xmalloc): Fix previous change.
5099
51001999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
5101
5102 * emacsclient.c (xmalloc): Declare to return long.
5103
51041999-01-22 Geoff Voelker <voelker@cs.washington.edu>
5105
5106 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
5107 the case of the drive letter.
5108
51091999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
5110
5111 * emacsserver.c (main): Eliminate arbitrary limit on
5112 length of system_name.
5113
5114 * emacsclient.c (main): Eliminate arbitrary limit on
5115 length of system_name.
5116 (xmalloc): Define unconditionally.
5117
51181999-01-12 Darrin B. Jewell <jewell@mit.edu>
5119
5120 * etags.c (relative_filename): Stop backward search at beginning
5121 of string, since non-Unix systems can have absolute paths with no
5122 initial slash.
5123
51241998-12-08 Geoff Voelker <voelker@cs.washington.edu>
5125
b0b19974 5126 * makefile.nt: Do string comparison of _NMAKE_VER.
362bc2da 5127
c60ee5e7 51281998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
5129
5130 * makefile.nt: Compile multiple source files when possible.
5131
51321998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
5133
5134 * Makefile.in: Replace tabs with spaces
5135 when they might confuse some Make versions.
5136
51371998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
5138
5139 * emacsclient.c (main): Null-terminate system_name.
5140
5141 * emacsserver.c (main): Null-terminate system_name.
5142
51431998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5144
5145 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
5146 an error message from POP, mention that it's from POP, to
5147 distinguish it from local error messages.
5148
51491998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5150
5151 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
5152 order of messages downloaded from a POP server (e.g., if the
5153 server stores messages in mailboxes in reverse order).
5154
51551998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
5156
5157 * Version 20.3 released.
5158
51591998-08-11 Paul Eggert <eggert@twinsun.com>
5160
5161 * rcs2log: Update copyright date and bug report address.
5162 (initialize_fullname): Prefer getent if available.
5163
51641998-07-30 Paul Eggert <eggert@twinsun.com>
5165
290afd83 5166 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 5167 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 5168
362bc2da
DL
51691998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
5170
5171 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
5172
51731998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
5174
5175 * Makefile.in: Properly terminate a comment.
5176
51771998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
5178
5179 * movemail.c (sys_wait): Rename to wait.
5180
5181 * ntlib.h: Undefine _WINSOCKAPI_.
5182
5183 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
5184
51851998-05-30 Geoff Voelker <voelker@cs.washington.edu>
5186
5187 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
5188
51891998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
5190
b166dcd8
KC
5191 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
5192 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
5193
51941998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
5195
5196 * make-docfile.c: Include <unistd.h> for chdir.
5197
51981998-04-25 Richard Stallman <rms@psilocin.gnu.org>
5199
5200 * etags.c (TEX_decode_env): Don't free the value getenv returns.
5201
52021998-04-17 Geoff Voelker <voelker@cs.washington.edu>
5203
5204 * makefile.nt (obj): Update with new files in src.
5205 (clean): Delete patch scratch files, optimized compilation dir.
5206
52071998-04-08 Dave Love <fx@gnu.org>
5208
5209 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
5210 Irix6, at least.
5211
52121998-04-06 Andreas Schwab <schwab@gnu.org>
5213
5214 Silence -Wimplicit:
5215 * movemail.c: Move cancelations up. Include <stdlib.h> if
5216 available.
5217 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
5218 (parse_header): Explicitly declare return type.
5219 * emacsserver.c: Include <unistd.h> if available.
5220 (main, handle_signals, perror_1, fatal_error): Explicitly declare
5221 return types. Add forward declarations.
5222 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
5223 Don't declare geteuid.
b166dcd8
KC
5224 (print_help_and_exit): Change return type to void.
5225 Forward declare it.
362bc2da
DL
5226 * b2m.c: Include <stdlib.h> if available.
5227 (main): Explicitly declare return type.
5228
362bc2da
DL
52291998-04-03 Richard Stallman <rms@psilocin.gnu.org>
5230
5231 * etags.c (put_entries): Use %ld.
5232
5233 * b2m.c (fatal): Declare the arg.
5234
52351998-03-26 Richard Stallman <rms@psilocin.gnu.org>
5236
b166dcd8 5237 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
5238
52391998-03-05 Richard Stallman <rms@psilocin.gnu.org>
5240
5241 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
5242 for the utilities.
5243
52441998-01-23 Dave Love <d.love@dl.ac.uk>
5245
5246 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
5247 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
5248 Always make named tags.
5249 (Fortran_functions): Grok BLOCK DATA.
5250
52511998-01-23 Andreas Schwab <schwab@gnu.org>
5252
5253 * movemail.c (main): Fix interwoven brace and cpp conditional
5254 nesting.
5255
362bc2da
DL
52561997-12-03 Paul Eggert <eggert@delysid.gnu.org>
5257
cb438d6e
JB
5258 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
5259 with a '>' any lines starting with "From " read from the POP server,
5260 but leave the code in place, wrapped in #ifdef
362bc2da 5261 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
5262 because it turns out that something is depending on it.
5263 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
5264 Convert the character \037 (^_) at the beginning of a line into
5265 the character '^' followed by the character '_', because otherwise
5266 Emacs can't parse the resulting file as a valid BABYL file.
5267 Change suggested by Paul Eggert <eggert@twinsun.com>.
5268
52691997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5270
5271 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5272 server to contain embedded nulls.
5273
52741997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 5275
362bc2da
DL
5276 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5277 quotes with a '>' any lines starting with "From " read from the
5278 POP server, but leave the code in place, wrapped in #ifdef
5279 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
5280 because it turns out that something is depending on it.
5281 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
5282
5283 Convert the character \037 (^_) at the beginning of a line into
5284 the character '^' followed by the character '_', because otherwise
5285 Emacs can't parse the resulting file as a valid BABYL file.
5286 Change suggested by Paul Eggert <eggert@twinsun.com>.
5287
52881997-11-22 Richard Stallman <rms@gnu.org>
5289
5290 * b2m.c: Include getopt.h.
5291 (main): Use getopt_long to handle --version and --help.
5292
5293 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
5294
52951997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5296
b166dcd8
KC
5297 * pop.c (fullwrite): Get rid of an extra call to write.
5298 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
5299
53001997-10-16 Dave Love <d.love@dl.ac.uk>
5301
ecc54057
JB
5302 * etags.c (L_getit): Always make named tags so that Emacs
5303 completion on symbols containing `:' etc. works.
5304 (get_scheme): Likewise.
362bc2da
DL
5305
53061997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5307
5308 * pop.c: Use system header files instead of declaring C-library
5309 functions explicitly.
5310
53111997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5312
5313 * Version 20.2 released.
5314
53151997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5316
5317 * Version 20.1 released.
5318
53191997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
5320
5321 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5322
5323 * ntlib.c (getpid): Delete function.
5324
53251997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5326
5327 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5328
53291997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5330
5331 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5332 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5333
53341997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5335
5336 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5337
53381997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
5339
5340 * profile.c (get_time): Cast arg to fprintf.
5341
5342 * hexl.c (main): Use %08lx instead of %08x in printf because the
5343 variable named addresses is long.
5344
53451997-08-08 Geoff Voelker <voelker@cs.washington.edu>
5346
5347 * makefile.nt (lisp): Update paths to lisp files that have moved.
5348
53491997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
5350
5351 * makefile.nt (ctags.obj): New target.
5352 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5353
5354 * ntlib.h: Add includes.
5355 Undo definitions of crt routines from config.h.
5356
53571997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5358
5359 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5360
53611997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5362
5363 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
5364 Kerberos V5 for movemail, including detection of V4 and V5 header
5365 files and libraries.
362bc2da 5366 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 5367 declarations of string functions.
362bc2da 5368 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 5369 V5 API rather than the old one.
362bc2da 5370 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
5371 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5372 with a constant in a header file.
362bc2da
DL
5373
5374 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
5375 Kerberos V5 for movemail, including detection of V4 and V5 header
5376 files and libraries.
362bc2da
DL
5377
53781997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5379
5380 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5381
5382 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 5383
362bc2da
DL
53841997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5385
5386 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5387
53881997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5389
5390 * movemail.c (rindex): Add declaration.
5391
d57727c9 53921997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5393
5394 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5395 (movemail.exe): Depend upon and link with getopt files.
5396 (obj): Include new source files.
5397 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5398 (lisp): Include new and reorganized elisp files.
5399
54001997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5401
5402 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5403
54041997-06-25 Paul Eggert <eggert@twinsun.com>
5405
5406 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5407
54081997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
5409
5410 * b2m.c (readline): Terminate buffer properly when EOF seen.
5411 Test for valid pointer before dereferencing it.
5412
880820fe 54131997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5414
5415 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5416 defined inside etags.c if HAVE_CONFIG_H is defined.
5417
880820fe 54181997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 5419
ecc54057 5420 * etags.c (logical): Type name changed to bool.
362bc2da
DL
5421 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5422 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5423 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5424 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5425 (longopts): New long options without short counterpart are
5426 globals, members, no-globals, no-members. Regexp options are now
5427 defined conditionally to ETAGS_REGEXPS.
78be8b64 5428 (print_help): Update.
362bc2da 5429
880820fe 54301997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5431
5432 * etags.c (C_entries): Use "." instead of "::" for Java.
5433 (consider_token): is_func renamed to is_func_or_var.
5434 (C_entries): is_func renamed to funorvar.
e1dbe924 5435 (C_entries): Initialize tok.named.
362bc2da
DL
5436 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5437 get rid of "import", "package" and "friend".
b166dcd8
KC
5438 (fvdef): Rename from funcdef. Also some constants renamed.
5439 All users changed.
362bc2da
DL
5440 (C_entries): Make separate tags for variables separated by comma.
5441 (globals, members): New flags.
5442 (main, C_entries): Use them.
5443 (make_C_tag, C_entries): Make tok a global variable.
1c478461 5444
880820fe 54451997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5446
5447 * etags.c (funcdef): New vignore constant.
5448 (consider_token, C_entries): Use it to tag global variables.
5449 (print_help): Update for global variables.
5450 (consider_token, C_entries): Set the len member of token_name.
5451 (prolog_pred): Cleanup according to GNU coding standards.
5452 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 5453 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 5454
880820fe 54551997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5456
5457 * etags.c (CHARS, CHAR): New constant and macro.
5458 (iswhite, begtoken, intoken, endtoken): Use them.
5459 (notinname, _nin, nonam): New macro, array, string.
5460 (init): Cleanup and init _nin.
5461 (new_pfnote): New function.
5462 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 5463 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 5464
880820fe 54651997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5466
5467 * etags.c (C_entries, Pascal_functions): Cleanup.
5468 (TeX_functions): NULL as a function arg needs a cast.
5469 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5470
880820fe 54711997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5472
5473 * etags.c (TeX_functions): Cleaned up.
61b108cc 5474 (tex_getit): Remove.
362bc2da
DL
5475
54761997-05-13 Paul Eggert <eggert@twinsun.com>
5477
5478 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 5479 non-files within the RCS subdirectory.
362bc2da 5480
880820fe 54811997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5482
5483 * etags.c (C_JAVA): New #define.
5484 (Cjava_suffixes): .java is Java.
5485 (Cjava_entries): New function.
5486 (lang_names): Add Java.
5487 (sym_type): Add st_C_javastruct for Java.
5488 (C_stab_entry): Add `extends' and `implements' keywords.
e1dbe924 5489 (consider_token, C_entries): Recognize Java structures.
362bc2da 5490
880820fe 54911997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 5492
7877f373
JB
5493 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5494 (Postscript_suffixes): .ps is PostScript.
5495 (lang_names): Add postscript.
362bc2da
DL
5496 (Postscript_functions): New function.
5497 (TEX_decode_env): Close minor memory leak.
5498 (just_read_file): Correct the char number of the tag.
5499
55001997-05-11 Paul Eggert <eggert@twinsun.com>
5501
5502 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
5503 Don't prepend $nl since this causes some shells to generate the
5504 empty string when IFS is $nl.
362bc2da 5505 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 5506 PC-based shells mishandle CR.
362bc2da
DL
5507 (initialize_fullname): Set NIS_PATH to the empty string before invoking
5508 nismatch, in case it's set to some nonstandard value.
1c478461 5509
362bc2da
DL
55101997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5511
5512 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5513 read in separate blocks.
5514
880820fe 55151997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5516
5517 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5518 (struct linebuffer): New member `len' is the length of the string.
5519 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5520 Use it instead of strlen.
5521 (TEX_getit): Declare and define unconditionally as static.
5522 (TeX_functions): Use if instead of #if TeX_named_tokens.
5523 (add_regex): Set RE_INTERVALS flag for regex compilation.
5524 (substitute): Code cleanup.
5525 (readline_internal): Code cleanup, set new member `len'.
5526 (readline): Bug corrected.
5527
55281997-04-23 Geoff Voelker <voelker@cs.washington.edu>
5529
5530 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5531 (obj): Change references of nt*.c files to w32*.c files.
5532
880820fe 55331997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5534
5535 * etags.c (xnew): Add support for debugging with chkmalloc.
5536 (error): Use this instead of printf whenever possible.
e1dbe924 5537 (main): Only call xnew after having initialized progname.
362bc2da
DL
5538 (substitute): Bad memory corruption error corrected.
5539
880820fe 55401997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5541
5542 * etags.c (add_regex): Undo previous change.
5543 (relative_filename): Small memory leak closed.
5544 (absolute_filename): Cleaned up the code, possibly closing a bug.
5545 (absolute_dirname): Always return a newly allocated string.
1c478461 5546
362bc2da
DL
55471997-03-21 Paul Eggert <eggert@twinsun.com>
5548
5549 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
5550 of the form ,*, or *_; they are probably RCS lock files.
5551 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
5552 they are used by rcsfreeze.
5553
880820fe 55541997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 5555
2f2c687b 5556 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
5557
55581997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5559
5560 * movemail.c (popmail): Remove some unnecessary function
5561 declarations.
5562 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5563 into pop_retr, there's no reason to pass in mbx_write, and the
5564 file argument can be declared FILE * explicitly. This fixes a
5565 compilation problem on systems with 64-bit pointers.
5566
55671997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5568
5569 * movemail.c: Delete duplicate inclusion of fcntl.h
5570 and duplicate #undefs of open, read, write, close.
5571
55721997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5573
5574 * movemail.c (main): Do not display "[POP-password]" in the usage
5575 message when movemail is compiled without POP support.
5576 (main, popmail): Add the optional "-p" argument, which causes
5577 movemail to leave mail in the inbox after copying it into the
5578 output file.
1c478461 5579
362bc2da
DL
5580 * Makefile.in (movemail): Link with getopt.
5581
55821997-01-20 Paul Eggert <eggert@twinsun.com>
5583
ecc54057 5584 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
5585 (Copyright, Help, Id): New variables, for above.
5586 (rlog): Use -q option with cvs log, to avoid useless chatter.
5587
5588 Treat logs of "Initial revision" (RCS) or "file F was initially added
5589 on branch B." (CVS) as if they said "New file.", for consistency with
5590 change log entries.
5591
55921997-01-01 Paul Eggert <eggert@twinsun.com>
5593
5594 * vcdiff (PATH): Add /usr/xpg4/bin,
5595 where XPG4 SCCS hangs out in Solaris 2.5.
5596 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5597
55981996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5599
5600 * etags.c (streq, strneq): Use == NULL rather than !.
5601
56021996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5603
5604 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 5605 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
5606
5607 * movemail.c: Include maillock.h (conditionally).
5608 Remove a redundant inclusion of <stdio.h>.
5609 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5610 (main): Add variable spool_name.
5611 Support the usage of maillock and mailunlock to
ecc54057 5612 lock and unlock mailboxes.
362bc2da
DL
5613 (mail_spool_name): New function.
5614
5615 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
5616 movemail to exit with an error status incorrectly on systems which
5617 use lock files rather than a system locking function to lock
5618 mailboxes.
362bc2da
DL
5619
56201996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5621
5622 * pop.c (socket_connection): Free realhost after using it.
5623
880820fe 56241996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5625
5626 * etags.c (C_entries): Test tok.valid. This handles some
5627 particular cases involving function declarations that failed.
5628
56291996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 5630
362bc2da
DL
5631 * pop.c (socket_connection):
5632 gethostbyname may return a pointer to static data.
5633 krb_realmofhost can clobber it. So copy it.
5634
880820fe 56351996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5636
5637 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5638 must cast it to (char *) because we have no prototypes.
5639 (make_C_tag): Macro deleted, new function.
5640 (C_entries): Calls to make_C_tag macro changed to call function.
5641
880820fe 56421996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5643
5644 * etags.c (grow_linebuffer): New function.
5645 (GROW_LINEBUFFER): Macro deleted. All callers changed.
5646 (make_tag): Macro renamed to make_C_tag. All callers changed.
5647 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
5648 (Prolog_functions): prolog_skip_comment was called with wrong
5649 number of arguments.
6088b51f 5650 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 5651
880820fe 56521996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5653
5654 * etags.c (relative_filename): Bug corrected.
5655 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 5656 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
5657
56581996-11-03 Paul Eggert <eggert@twinsun.com>
5659
5660 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 5661 repository file names.
362bc2da
DL
5662
56631996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
5664
5665 * emacsserver.c: Fix 1996-09-02 change.
5666
56671996-10-12 Paul Eggert <eggert@twinsun.com>
5668
5669 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 5670 option', since CVS says 'invalid option'.
362bc2da
DL
5671 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
5672 revisions, since some hosts reject 1970-01-01 when east of UTC.
5673 (date): Remove.
5674
56751996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5676
5677 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
5678
880820fe 56791996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5680
5681 * etags.c (print_version): Print copyright info.
5682
5683 * etags.c (print_help): Print the bug reporting address.
5684 (main): Use return as the last instruction, instead of exit.
5685
5686 * etags.c (main): Don't open the tags file in cxref mode.
5687
56881996-09-29 Dave Love <d.love@dl.ac.uk>
5689
5690 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 5691 as well as earlier CVSs and RCS.
362bc2da
DL
5692
56931996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5694
5695 * movemail.c (main): If the lock call fails with EBUSY or
5696 EAGAIN, retry a few times.
5697
56981996-09-25 Paul Eggert <eggert@twinsun.com>
5699
5700 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 5701 whether to append -zLT.
362bc2da
DL
5702
57031996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5704
5705 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5706 * emacsclient.c, movemail.c: Likewise.
5707
57081996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5709
5710 * emacsclient.c (longopts): Change nowait to no-wait.
5711 (print_help_and_exit): Fix option name; upcase metavars.
5712
57131996-09-06 Erik Naggum <erik@naggum.no>
5714
5715 * emacsserver.c (main): Declare `fromlen' as size_t.
5716
57171996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5718
5719 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5720
57211996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5722
5723 * emacsclient.c (quote_file_name): Quote with &, not \.
5724 Quote `-' only at start of file name. Terminate the value string.
5725
5726 * emacsserver.c: Include signal.h properly;
5727 delete the duplicate includes for it.
5728
5729 * emacsserver.c: On fatal signal, delete socket-file:
5730 * emacsserver.c: Include signal.h.
ecc54057 5731 (xmalloc, fatal, error): New functions.
362bc2da
DL
5732 (delete_socket, handle_signals): New functions.
5733 (progname, socket_name): New variables.
194d44e7 5734 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
5735
57361996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5737
5738 * emacsclient.c (quote_file_name): New function.
5739 (main, both versions): Use quote_file_name.
5740 (decode_options): Don't return a value.
5741 (main, both versions): Use optind.
5742 Don't check for -nowait here.
1c478461 5743
362bc2da
DL
5744 * emacsclient.c (decode_options): New function.
5745 (main, both versions): Call decode_options.
5746 (print_help_and_exit): New function.
5747 (VERSION): New macro.
5748
5749 * Makefile.in (emacsclient): Link with getopt.
5750 Add -DVERSION so emacsclient knows its version number.
5751
57521996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5753
5754 * makefile.nt (lisp): Include dos-nt.elc.
5755
57561996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5757
5758 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5759
57601996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5761
5762 * emacsclient.c (both versions): Handle -nowait and --nowait
5763 by sending data to the server.
5764
57651996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5766
5767 * Makefile.in (INSTALL_STRIP): New variable.
5768 (${archlibdir}): Use INSTALL_STRIP.
5769
5770 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5771 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5772
5773 * pop.c: Reverse conditional in previous change.
5774
57751996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5776
5777 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5778
57791996-08-24 Paul Eggert <eggert@twinsun.com>
5780
5781 * rcs2log: Use ISO 8601 date format, with time zone appended
5782 if change-log-time-zone-rule is non-nil, instead of
5783 traditional Unix date format.
5784
5785 (datearg): When computing default from ChangeLog, handle ISO format
5786 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5787 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 5788 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
5789 "$datearg" option to $rlog.
5790 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5791 (month_data): Remove `mo'; no longer needed.
10d1d0af 5792 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
5793
5794 Match `revision' line of rlog output more accurately.
5795
5796 Add -c, -v options.
5797
57981996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5799
5800 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5801
58021996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5803
5804 * Version 19.33 released.
5805
58061996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5807
5808 * Version 19.32 released.
5809
58101996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5811
5812 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5813 computing character positions in source files.
5814
58151996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5816
5817 * makefile.nt (clean): Use OBJDIR macro.
5818
58191996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5820
5821 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5822
c60ee5e7 58231996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 5824
ecc54057 5825 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
5826 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5827 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5828
58291996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5830
5831 * ntlib.h: Correct return type of getwd.
5832 * ntlib.c (getwd): Correct return type.
5833
58341996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5835
5836 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5837 to infile.
5838
58391996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5840
5841 * makefile.nt: Remove all references to wakeup.
5842
880820fe 58431996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5844
5845 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5846 explicit, mutable, typename.
5847
58481996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5849
5850 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5851 streams, one for sending and one for reading the reply.
5852
58531996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5854
5855 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5856 (wakeup): Target deleted.
5857 (UTILITIES): Delete wakeup and timer.
5858
5859 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5860
58611996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5862
5863 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5864 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5865
58661996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5867
5868 * etags.c (main): Copy cwd when appending slash.
5869
58701996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5871
5872 * Version 19.31 released.
5873
880820fe 58741996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5875
5876 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5877 (Pascal_functions): Increase linecharno by the correct number of
5878 chars, inline the GET_NEW_LINE macro and delete its definition.
5879
c60ee5e7 58801996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5881
5882 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5883
c60ee5e7 58841996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5885
5886 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 5887 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
5888
5889 * ntlib.c: Include ntlib.h.
5890 (nt_sleep): Rename to sleep.
5891 (getwd): Return directory.
5892 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5893 sys_ctime, sys_fopen): New functions.
5894
5895 * ntlib.h: New file.
5896
58971996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5898
b166dcd8 5899 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
5900 (pop_open, pop_trash): Make the trash_started code unconditional.
5901 (socket_connection): Delete casts to void.
5902
59031996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5904
b166dcd8
KC
5905 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5906 Definitions copied from lisp.h.
362bc2da
DL
5907
59081996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5909
5910 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5911
5912 * hexl.c [DOSNT]: Include fcntl.h.
5913 [WINDOWSNT]: Include io.h.
5914 (main) [MSDOS]: Change conditional to DOS_NT.
5915
5916 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5917 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5918 [WINDOWSNT]: Include locking.h.
5919 (main): Update usage message. Use IS_DIRECTORY_SEP.
5920 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5921 (main) [WINDOWSNT]: Invoke locking instead of flock.
5922 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5923 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5924 Include winsock.h; don't include unix inet headers.
5925 (popmail): Add password argument and pass it to pop_open.
5926 Open output file in binary mode.
5927
5928 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 5929 Macro SOCKET_ERROR undefined.
362bc2da
DL
5930 Don't declare h_errno.
5931 [!WINDOWSNT]: Define macros recv and send.
5932 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5933 (pop_open) [WINDOWSNT]: Initialize trash_started.
5934 (have_winsock) [WINDOWSNT]: New variable.
5935 (socket_connection) [WINDOWSNT]: Initialize winsock.
5936 (socket_connection): Use closesocket instead of close.
5937 (getline): Use recv instead of read.
5938 (fullwrite): Use send instead of write.
5939 (pop_trash): Use closesocket instead of close.
5940 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5941 Check if being called recursively by sendline.
5942
5943 * pop.h (struct _popserver): New field trash_started.
5944
5945 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5946
59471996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5948
5949 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5950
59511996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5952
5953 * etags.c [WINDOWSNT]: Include io.h.
5954
59551996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5956
5957 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5958
59591996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5960
5961 * hexl.c [DJGPP v2]: Include io.h.
5962 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5963
5964 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5965 DJGPP v2.
5966
59671996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5968
5969 * etags.c (absolute_filename): Use absolutefn.
5970
59711996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5972
5973 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5974 letter isn't an alphabetic character.
5975 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5976 (process_file) [DOS_NT]: Convert all slashes to forward style.
5977 (absolute_filename) [DOS_NT]: Emit error message for relative
5978 paths with a drive letter.
5979 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5980 DOS/NT drive letters which try to reference the parent of the root.
5981 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5982
59831996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5984
5985 * makefile.nt: Change uses of del to $(DEL).
5986
880820fe 59871996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5988
5989 * etags.c (just_read_file): Reset lineno and charno on entry.
5990
59911996-03-15 Anders Lindgren <andersl@csd.uu.se>
5992
58179cce 5993 * etags.c: Prolog language totally rewritten.
ecc54057 5994 (Prolog_functions): Rewritten from scratch.
61b108cc 5995 (skip_comment, prolog_getit): Remove.
ecc54057
JB
5996 (prolog_skip_comment): New function, like old skip_comment.
5997 (prolog_pred, prolog_atom, prolog_white): New functions.
5998 (erlang_func, erlang_attributes): Forward declarations added.
5999 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 6000
880820fe 60011996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
6002
6003 * etags.c (absolutefn): DOS_NT version corrected.
6004 (main): Append "/" to the dir name only if not already there.
6005 (print_help): Explain the absolute/relative file name issue.
1c478461 6006
362bc2da
DL
60071996-03-08 Anders Lindgren <andersl@csd.uu.se>
6008
10d1d0af
JB
6009 * etags.c: New Language Erlang added.
6010 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
6011 (erlang_white): New functions.
362bc2da
DL
6012 (Erlang_suffixes): New suffix list.
6013 (lang_names): Erlang entry added.
6014 (prolog_getit): Accepts headers spanning several lines.
6015 Always name tags.
b166dcd8 6016 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
6017 newline characters.
6018 (readline_internal): Zero-terminate last line.
6019
60201996-03-20 Mike Long <mike.long@analog.com>
6021
6022 * b2m.c (main): Initialize progname variable before using it.
6023 Quote `username' in From_ header.
6024
60251996-03-18 Geoff Voelker <voelker@cs.washington.edu>
6026
6027 * ntlib.c (getpid): New function.
6028
60291996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6030
6031 * emacsclient.c (main, both definitions):
6032 Print a newline for normal termination.
6033
60341996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
6035
6036 * tcp.c (main): Convert port to network byte order.
6037
60381996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
6039
6040 * pop.c (pop_retrieve, getline): Avoid type clashes.
6041
60421996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
6043
6044 * etags.c (enum sym_type, anonymous enum): Delete final comma.
6045
60461996-01-15 Paul Eggert <eggert@twinsun.com>
6047
6048 * rcs2log (initialize_fullname): Add support for NIS+.
6049 (hostname): Fully qualify the default hostname with the domainname
6050 if the hostname lacks a `.'.
6051
362bc2da
DL
60521996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
6053
6054 * etags.c (consider_token): Fix typo in expression.
6055
60561996-01-04 Paul Eggert <eggert@twinsun.com>
6057
6058 * etags.c (substitute): Fix spelling in message.
6059
60601996-01-03 George V. Reilly <georger@microcrafts.com>
6061
6062 * makefile.nt (etags, ctags): Compile with regexp support.
6063 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
6064 subdirectory exists before compiling.
1c478461 6065
362bc2da
DL
60661996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
6067
6068 * emacsserver.c (main): Do chmod based on existing permission.
6069
60701995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6071
6072 * Makefile.in (install): Turn on read/execute permission.
6073
60741995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6075
6076 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
6077 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
6078
60791995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6080
b166dcd8 6081 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 6082
880820fe 60831995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
6084
6085 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
6086 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
6087 get_scheme, prolog_getit): Name the tag in ctags mode.
6088 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
6089 (Perl_interpreters): Accept "@PERL@" as an interpreter.
6090 (suggest_asking_for_help): New function.
6091 (main, get_language_from_name): Use suggest_asking_for_help.
6092 (main): Let get_language_from_name make language existence check.
6093 (streq, strneq): Check the arguments #if DEBUG.
6094
880820fe 60951995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
6096
6097 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
6098 (gperf): Add keywords for Objective C and GNU macros.
6099 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
6100 (begtk): The '@' character can start a token.
6101 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 6102 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
6103 (plain_C_suffixes): Add .m and .lm for Objective C.
6104 (Yacc_suffixes): Add .ym for Objective yacc.
6105 (GROW_LINEBUFFER): New macro.
6106 (consider_token, C_entries, Pascal_functions): Use the new macro.
6107 (consider_token): Take one more argument. Caller changed.
6108 (consider_token): Use the hashing function to spot GNU macros.
6109 (C_entries): Consider // as a comment start even in plain C for
6110 the sake of Objective C parsing.
6111
880820fe 61121995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 6113
2f2c687b 6114 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 6115 compile with regexp support enabled.
362bc2da
DL
6116
61171995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6118
6119 * Version 19.30 released.
6120
61211995-11-22 Geoff Voelker <voelker@cs.washington.edu>
6122
6123 * makefile.nt (DOC, clean): Don't use switches to del not
6124 supported by Windows 95.
6125
61261995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6127
6128 * Makefile.in (regex.o): Depend on ../src/config.h.
6129
61301995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6131
6132 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
6133 (LOADLIBES): Use LIB_STANDARD.
6134
61351995-11-07 Kevin Gallo <kgallo@microsoft.com>
6136
6137 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
6138 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
6139 Windows 95 conditional.
6140
880820fe 61411995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6142
b166dcd8
KC
6143 * etags.c (get_lang_from_name, get_lang_from_interpreter)
6144 (get_lang_from_suffix): New functions.
362bc2da
DL
6145 (get_language): Function deleted.
6146 (lang_entry): Two members added to struct.
6147 (lang_names): Reflect the new layout of lang_entry.
6148 (print_language_names, main, find_entries): Use the new functions.
6149 (find_entries): Look at the first line for #! if no language.
6150 (C_entries): Invalidate the token when funcdef is reset.
6151 (Perl_functions): New function.
6152 (lang_suffixes): .pl and .pm are Perl suffixes.
6153
880820fe 61541995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6155
6156 * etags.c (lowcase): Use the standard tolower function.
6157 (substitute): Remove some wrong and some useless code related with
a64387ee 6158 escape '\' character in regexp replacement string.
b166dcd8 6159 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
6160 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
6161 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
6162 .prolog for prolog (.pl removed).
6163 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 6164 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
6165 (add_node): Dead code removed.
6166
61671995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6168
6169 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
6170 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
6171
61721995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6173
6174 * test-distrib.c: Add #undef for open, close, read, write.
6175
61761995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6177
6178 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
6179 [! O_RDONLY]: Define it to zero.
6180 (main): Use O_RDONLY instead of explicit zero.
6181
880820fe 61821995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6183
6184 * etags.c (Pascal_functions): Close comment bug corrected.
6185 (add_node): Correctly compare node file names.
6186 (Pascal_functions): Correctly allocate and free memory for tline.
6187 (pfnote): Put the definition of fp in the innermost block.
6188 (NODE): `named' member removed.
6189 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 6190 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
6191 (pfnote): `named' argument removed, all callers changed.
6192 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
6193 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 6194 removed from pfnote call, some code cleanup.
362bc2da
DL
6195 (relative_filename): Free temporary space allocated by concat.
6196
61971995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6198
6199 * Makefile.in (getdate.c): New target.
6200 (getdate.o): Just compile getdate.c.
6201
62021995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
6203
6204 * fakemail.c (xrealloc): Change cast to match return type.
6205
62061995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6207
6208 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
6209
62101995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6211
6212 * movemail.c (main): Fix previous change.
6213 Add error check for empty OUTNAME.
6214
62151995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6216
6217 * movemail.c (main): Mention lock file name in error message.
6218
62191995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6220
6221 * profile.c (gettimeofday): New function, defined if necessary.
6222
62231995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6224
6225 * Makefile.in: Renamed from Makefile.in.in.
6226 (distclean): Delete Makefile.c, not Makefile.in.
6227
62281995-07-17 Michael Shields <shields@tembel.org>
6229
6230 * Makefile.in.in (tags): Synonym for `TAGS'.
6231
62321995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6233
6234 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
6235 configure has already set $(INSTALL) to the proper relative path.
6236
362bc2da
DL
62371995-07-08 Paul Eggert <eggert@twinsun.com>
6238
6239 * rcs2log (datearg): Separate date from time with comma, not space,
6240 to work around CVS 1.5 bug.
6241 (CVSROOT): Don't abort when unset if repository is absolute.
6242
62431995-07-07 Paul Eggert <eggert@twinsun.com>
6244
6245 * rcs-checkin, rcs2log, vcdiff:
6246 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
6247 that interpret `#! /' as a 4-byte magic number.
6248
62491995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
6250
6251 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
6252 mailbox with "po:mailbox", the mailbox is everything after the
6253 "po:" prefix.
6254
62551995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6256
6257 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 6258 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
6259
62601995-06-28 Paul Eggert <eggert@twinsun.com>
6261
6262 * rcs2log (CVSROOT, repository):
6263 Allow remote repositories a la CVS 1.4.
6264
880820fe 62651995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6266
2f2c687b
JB
6267 * etags.c (plain_C_entries): New function.
6268 (lowcase): New macro.
6269 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6270 (lang_suffixes): New suffix ".pc" for Pro*C files.
6271 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6272 (tail): Look for the end of the token when comparing.
6273 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
6274
62751995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6276
6277 * movemail.c (main): Add newline in usage message.
6278
62791995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6280
6281 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6282
880820fe 62831995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6284
6285 * etags.c (find_entries): Rewind before rereading the input file.
6286
62871995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6288
6289 * Version 19.29 released.
6290
6291 * make-docfile.c (main) [MSDOS]: Do set _fmode.
6292 This undoes part of the previous change.
6293
62941995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6295
6296 * make-docfile.c (main): On MSDOS, don't change stdout
6297 to binary, and insist on an -o option.
6298
62991995-06-13 Geoff Voelker <voelker@cs.washington.edu>
6300
5165d44a 6301 * etags.c (process_file, absolute_filename): Handle filenames
362bc2da
DL
6302 starting with a drive letter.
6303
6304 * makefile.nt (install): Copy wakeup.exe properly.
6305
63061995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
6307
6308 * make-docfile.c [MSDOS]: #undef chdir.
6309
63101995-06-04 Paul Eggert <eggert@twinsun.com>
6311
6312 * rcs2log (output_authors): Allow ':' in time zone,
6313 as per ISO 8601 and RCS 5.6.8 beta.
6314
880820fe 63151995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6316
6317 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
6318 compatibility problems.
6319
63201995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
6321
6322 * etags.c (etags_getcwd): Don't use #elif.
6323 Have just one function body.
6324
63251995-05-25 Geoff Voelker <voelker@cs.washington.edu>
6326
6327 * makefile.nt (LIBS): Use BASE_LIBS.
5165d44a 6328 (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
362bc2da
DL
6329 upon LIBS.
6330 (DOC): Use del instead of rm.
6331 (DOC) [WINDOWS95]: Use DOC.
6332 (clean): Handle MSVC aux files.
5165d44a 6333 (config.h, paths.h): Use $(CP) instead of cp.
362bc2da
DL
6334 (config.h): Use $(CONFIG_H)
6335 (make-docfile.obj): Depend upon config.h.
6336 Clean up comments.
6337
880820fe 63381995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6339
6340 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6341 former gives the true path even in the presence of simlinks.
6342
63431995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6344
6345 * movemail.c (main): Increase lock timeout to five minutes.
6346
63471995-05-06 Geoff Voelker <voelker@cs.washington.edu>
6348
6349 * makefile.nt (obj): Use .c files.
6350
63511995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6352
6353 * make-docfile.c: Include config.h.
6354 (NO_SHORTNAMES): New definition.
6355 (xmalloc): Return long *.
6356
6357 * etags.c (C_entries): Cast result of xrealloc.
6358 (xmalloc, xrealloc): Declare them to return long *.
6359
6360 * b2m.c (xmalloc, xrealloc): Declare them long *.
6361
6362 * movemail.c (xmalloc): Declare it to return long *.
6363
63641995-04-30 Paul Eggert <eggert@twinsun.com>
6365
6366 * rcs2log (datearg): If rlog options are specified explicitly,
6367 omit the implicit '-d>DATE' option.
6368 (repository, rlog): Allow absolute paths to CVS repositories.
6369 Look only at the first line of CVS/Repository.
6370
63711995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
6372
6373 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6374 realclean.
6375
63761995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6377
6378 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6379 Alternative (empty) definitions.
6380
63811995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6382
6383 * emacsclient.c (main): Add argv[0] to an error message.
6384
63851995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
6386
6387 * emacsclient.c (main): Improve error handling.
6388 * cvtmail.c (main, skip_to_lf): Improve error handling.
6389 (sysfail): New function.
6390
6391 * b2m.c (main): Check for trailing ", " before trying to delete it.
6392
63931995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6394
6395 * Makefile.in.in (all): Build test-distrib and make-docfile.
6396
6397 * make-docfile.c (scan_c_file): At end, restore file name last char
6398 to its original value.
6399
64001995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6401
6402 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6403
64041995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6405
b166dcd8 6406 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
6407 (alloca.o, regex.o): Use BASE_CFLAGS.
6408
64091995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6410
6411 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6412
64131995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
6414
6415 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 6416 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
6417
64181995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6419
6420 * aixcc.lex: File deleted--surely obsolete now.
6421
64221995-03-23 Paul Eggert <eggert@twinsun.com>
6423
6424 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6425 portability to mawk and nawk.
6426
64271995-03-21 Paul Eggert <eggert@twinsun.com>
6428
6429 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6430 -u "login<tab>fullname<tab>mailaddr".
6431
64321995-03-21 Paul Eggert <eggert@twinsun.com>
6433
6434 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6435 replaces the (now obsolescent) -n login fullname mailaddr option.
6436 Add -R option for recursive rlog.
07655e62 6437 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
6438 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6439 Quote authors and fullnames correctly.
6440 Don't omit path from repository root when logging CVS files.
6441
64421995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6443
6444 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6445 even if HAVE_SYSVIPC.
6446 * emacsclient.c (main): Use getcwd if not BSD.
6447
880820fe 64481995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6449
2f2c687b 6450 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
6451 (readline_internal): Do not access the char before start of line.
6452
880820fe 64531995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6454
e1dbe924
PE
6455 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
6456 savetok.valid. Mark token as valid when it is initialized.
362bc2da
DL
6457 (make_tag): Make token only if token is valid and reset validity.
6458 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 6459 (TOKEN): Add a new member: valid.
362bc2da 6460
880820fe 64611995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6462
6463 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6464 (main): Do not read twice the last filename in the stdin file list.
6465
880820fe 64661995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6467
e1dbe924 6468 * etags.c (C_entries): Initialize the new members of TOKEN.
362bc2da
DL
6469 (C_entries): Do not allocate a new space for each token found by
6470 consider_token. Let make_tag do that instead.
6471 (make_tag): Since now TOKEN has memory of where it is taken from,
6472 this new macro substitutes both make_tag_from_new_lb and
6473 make_tag_from_oth_lb. All callers changed.
6474 (TOKEN): Add linepos and buffer members.
e1dbe924
PE
6475 (main): Initialize token_str.
6476 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
362bc2da
DL
6477 (token_str): New global variable used by C_entries.
6478
64791995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
6480
b166dcd8 6481 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 6482
880820fe 64831995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6484
e1dbe924 6485 * etags.c (pfnote): Initialize been_warned in the node.
b166dcd8 6486 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 6487
880820fe 64881995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6489
6490 * etags.c (longopts, print_help, main): Use -I as abbreviation
6491 for the --ignore-indentation option.
6492 (main): Do not print an error message for unknown options.
6493
880820fe 64941995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6495
61b108cc 6496 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
194d44e7
JB
6497 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6498 (constantypedefs, update, vgrind_style, no_warnings)
6499 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
6500 (permit_duplicates): Was a var, now a #define.
6501 (filename_lb): Was global, now local to main.
6502 (main): Open the tag file when in cxref mode.
6503 Use a BUFSIZ size buffer for making the shell commands.
6504 Look at the return value from the system routine.
6505 Exit when cannot open the tag file.
6506 (process_file): Open the file and pass the FILE* to find_entries.
6507 (find_entries): Now void, because does not open the file itself.
6508 (pfnote): Recovering from lack of memory does not work. Removed.
6509 Use savenstr and simplify the code.
6510 (free_tree): Only free the name space if node is named.
6511 (structtag): Now a pointer, not a fixed length array of chars.
6512 (consider_token): Don't take a token as argument. Use savenstr
6513 when saving a tag in structtag. Callers changed.
6514 (TOKEN): Structure changed. Now used only in C_entries.
61b108cc 6515 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
362bc2da 6516 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
61b108cc 6517 (pfcnt): Delete. Users updated.
194d44e7
JB
6518 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6519 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
6520 the tag instead of a fixed size buffer.
6521
65221995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6523
6524 * movemail.c (main): Skip past the colon in inname.
6525
880820fe 65261995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6527
6528 * etags.c (pfatal): New function.
6529 (main, etags_getcwd): Use pfatal.
6530 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6531
880820fe 65321995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6533
6534 * etags.c (Lang_function): Use void instead to declare the
6535 language functions, because many compilers are buggy.
6536 (etags_getcwd): Fix the previous fix on the #else branch.
6537 (readline_internal): Discard possible \r before \n here.
6538 (C_entries): Do not deal with \r here: undo previous fix.
6539
880820fe 65401995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
6541
6542 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6543 functions and a macro that allow the program to work on input
6544 lines of whatever length. Copied from etags.c.
6545 (fatal): Print a fatal error message and exit.
6546 (main): Use the new functions. Fixed a bug that made a \037 char
6547 appear at the end of the output.
6548
65491995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6550
6551 * etags.c (C_entries): Ignore carriage return at end of line.
6552
65531994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6554
6555 * fakemail.c (xmalloc, xrealloc): Add casts.
6556 (add_field): Handle <...> and "..." syntax.
6557 (setup_files, get_keyword): Clean up parens and line breaks.
6558 (args_size): Likewise.
6559
65601994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
6561
6562 * yow.c: Include program name in error messages.
6563
65641994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6565
6566 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6567 (xmalloc, fatal, error): New functions.
6568 (progname): New variable.
6569 (main): Set progname.
6570
65711994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6572
6573 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6574 (main): If socket/mqueue name is in home dir, add in the host name.
6575 Rename .emacs_server to .emacs-server....
6576
65771994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6578
6579 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6580
880820fe 65811994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6582
2f2c687b
JB
6583 * etags.c (print_help): Print --regex usage for ctags also.
6584 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 6585
880820fe 65861994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6587
6588 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6589 is compiled if this is defined. The new functions and variables
6590 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6591 [VMS]: All VMS specific code previously contained in
6592 etags-vmslib.c is now included here, modified for dealing with
6593 language and regex options intermixed with filenames.
6594 (header_file): Global variable deleted.
6595 (Lang_Function): New typedef. All language parser functions
6596 changed to this new type.
6597 (string_numeric_p, substr, prestr): Functions deleted.
6598 (readline_internal): Does the job that readline did previously.
6599 (longopts): --language and --regex options added.
6600 (lang_names, lang_extensions, lang_func, print_language_names):
6601 New structures, variables and functions for choosing languages.
6602 (print_help): Help strings updated. Calls print_language_names.
6603 (argument_type, ARGUMENT): Typedefs for dealing with language and
6604 regex options intermixed with filenames.
b166dcd8 6605 (main): Change the way of dealing with arguments on the command
362bc2da
DL
6606 line to deal with language and regex options intermixed with
6607 filenames.
6608 (get_language, default_C_entries, Cplusplus_entries,
6609 Cstar_entries, Yacc_entries, just_read_file): New functions.
6610 (find_entries): Use the new method for choosing the language.
6611 (Pascal_functions): Allow intermixing of comment styles.
6612 (prolog_getit, skip_comment): Rewritten for speed.
6613 (readline): Rewritten to deal with regexps.
6614
880820fe 66151994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6616
6617 * etags.c (<errno.h>): #include added.
6618 (etags_getcwd): Check return value from getcwd.
6619
66201994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6621
6622 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6623 (get_time): Use EMACS_SUB_TIME.
6624
d57727c9 66251994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
6626
6627 * ntlib.c: New file.
6628 * makefile.nt: New file.
6629
6630 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6631 [WINDOWSNT]: Include the NT headers.
6632 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6633
6634 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6635 [WINDOWSNT]: Include some NT headers.
6636
66371994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6638
6639 * pop.c (getline): When a search of already-read input for CRLF
6640 fails, store the fact that we've searched it and don't search it
6641 again after reading more data.
6642
6643 * pop.c (getline): When determining whether or not it's necessary
6644 to grow the input buffer, take into account the null that's stored
6645 at the end of already-read input in the buffer.
6646
880820fe 66471994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6648
2f2c687b 6649 * etags.c (prestr, substr): Return a logical type.
362bc2da 6650 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 6651 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
6652 (C_entries): Now we can use Tom Hageman patch for extern "C".
6653
66541994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6655
6656 * movemail.c: PopServer renamed to popserver throughout.
6657
66581994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6659
6660 * etags.c: Don't declare malloc, since we include config.h.
6661 * fakemail.c: Likewise.
6662
66631994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6664
6665 * movemail.c: Don't declare malloc.
6666
66671994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6668
6669 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 6670 avoid syntax error.
362bc2da
DL
6671
66721994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
6673
6674 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
6675 defined, and if HAVE_CONFIG_H isn't defined, define
6676 MAIL_USE_POP always (so that this file can be included in
6677 other programs besides emacs).
6678
6679 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
6680 HAVE_CONFIG_H isn't defined.
6681
6682 * pop.c (find_crlf, getline): Instead of using strstr, use a
6683 custom function for finding CRLF.
6684 (my_strstr): Function deleted.
6685
66861994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
6687
6688 * pop.c (getline): Fix a segfault because of passing a
6689 non-null-terminated string into strstr(). Fix from
6690 djm@va.pubnix.com (David J. MacKenzie).
6691
6692 * pop.c: Don't include <string.h> and <strings.h>.
6693
b166dcd8
KC
6694 * pop.c: Include <des.h> before <krb.h>, rather than after.
6695 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
6696 both orders in various files in the Kerberos 4 library sources,
6697 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6698 requires that <des.h> be included first, and I don't see any harm
6699 in changing the order.
6700
6701 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6702 STDC_HEADERS, if they're defined. Undef open, read, write and
6703 close after including it.
6704
67051994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6706
6707 * pop.c: Fix mismatch in conditionals.
6708
6709 * make-docfile.c (main): Don't process one input file twice.
6710 Never use exit code > 1.
6711
6712 * pop.c (open, close, read, write): Add #undefs.
6713
6714 * pop.c: Don't declare malloc, realloc, free.
6715 Include ../src/config.h.
6716 Don't include string.h or strings.h.
6717 Include des.h before krb.h.
6718 Do declare my_strstr.
6719 (getline): Really use my_strstr.
6720 Leave one empty place in server->buffer,
6721 and put a null at the end of the data in it.
6722
67231994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6724
b166dcd8
KC
6725 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6726 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
6727
67281994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6729
6730 * Makefile.in.in (regex.o): Use full path to find regex.c.
6731
880820fe 67321994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6733
2f2c687b
JB
6734 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6735 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
6736
67371994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6738
6739 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6740 (${archlibdir}): Use mkinstalldirs instead.
6741
6742 * movemail.c: Make functions that return nothing void, not
6743 implicitly int.
6744 (main): Improve usage message.
6745 (error): Write to stderr, not stdout.
6746
e43b1141
GM
6747 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6748 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6749 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6750 warnings from unused variables and implicitly declared functions.
362bc2da
DL
6751
67521994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6753
6754 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6755 (distclean): Not here.
6756
b166dcd8 6757 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 6758
880820fe 67591994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6760
6761 * etags.c (C_entries): Name the #define's that are macros.
6762
67631994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6764
6765 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6766 fd_set arg is a pointer, descriptor arg comes first.
6767
880820fe 67681994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6769
e1dbe924
PE
6770 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6771 (C_entries): Recognize #define inside a struct.
362bc2da
DL
6772 (C_entries): ANSI tells that preprocessor commands do not have to
6773 start on the first column.
6774 (print_help): Documentation corrected for -d and -D.
6775 (white, endtk): ANSI tells the vertical tab is a separator.
6776
67771994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6778
6779 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6780 (pop.o, movemail.o): New targets.
6781 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6782
6783 * pop.c, pop.h: New files.
6784
6785 * movemail.c: Improve POP code, move most of it into a separate file.
6786 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6787 (mbx_write): Check for errors and for From line.
6788 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6789 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6790 (pop_init): Functions deleted.
6791
67921994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6793
6794 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6795 Rename path to dirname.
6796
67971994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6798
6799 * Makefile.in.in (UTILITIES):
6800 Remove test-distrib, make-docfile, make-path.
6801 (DONT_INSTALL): New variable--list those files here.
6802 (clean): Delete the files in DONT_INSTALL.
6803
68041994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6805
6806 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6807 (main): Use fgets, not gets.
6808
68091994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6810
6811 * timer.c: Don't declare malloc.
6812
68131994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6814
6815 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6816 defined, use simple 32-bit versions of these macros.
6817 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6818
c60ee5e7 68191994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
6820
6821 * etags.c (etags_getcwd): Use getcwd if available.
6822
68231994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6824
6825 * Version 19.27 released.
6826
68271994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6828
6829 * Version 19.26 released.
6830
68311994-08-15 Paul Eggert <eggert@twinsun.com>
6832
6833 * rcs2log: Add support for CVS.
6834 Work with `rlog's that output ISO 8601 dates.
6835
68361994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6837
6838 * rcs2log: Use <> to delimit email address.
6839
68401994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6841
6842 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6843 so we can listen for multiple requests.
6844
68451994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6846
6847 * movemail.c: Include config.h first thing.
6848
68491994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6850
6851 * emacsserver.c (main): Add casts to avoid warnings.
6852
68531994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6854
6855 * Makefile.in.in (${archlibdir}): Compare the proper dir
6856 before installing the scripts.
6857
68581994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6859
6860 * emacsclient.c (main): New local var progname saves argv[0].
6861
68621994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6863
6864 * emacsclient.c (main): Don't actually modify argv[0].
6865 Modify a copy instead.
6866
68671994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6868
6869 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6870 (tzp): Var deleted.
6871
6872 * Makefile.in.in: Add #undef alloca.
6873
68741994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6875
6876 * timer.c (xmalloc): New function.
6877
68781994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6879
6880 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6881 (alloca.o): New target.
6882
68831994-07-08 Dave Love (d.love@dl.ac.uk)
6884
e1dbe924 6885 * etags.c (takeprec): Recognize `character*(*) function'.
362bc2da 6886
880820fe 68871994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6888
ecc54057
JB
6889 * etags.c (main): Don't barf on obsolete -t and -T switches.
6890 (main): Print an explicative message when a switch is not known.
362bc2da
DL
6891
68921994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6893
6894 * hexl.c: Don't declare exit or perror.
6895
6896 * emacsserver.c (main): Don't declare geteuid.
6897 Don't declare getenv if convex.
6898
68991994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6900
6901 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6902
880820fe 69031994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6904
6905 * etags.c (absolute_filename): Remove infinite loop bug when
6906 accessing files in directories whose name begins with a dot.
6907
880820fe 69081994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6909
6910 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6911
69121994-06-01 Morten Welinder (terra@diku.dk)
6913
6914 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6915 location of data directory.
6916
69171994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6918
6919 * Version 19.25 released.
6920
69211994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6922
6923 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6924
69251994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6926
6927 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6928
69291994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6930
6931 * Version 19.24 released.
6932
69331994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6934
6935 * make-docfile.c (write_c_args): Put `default' in upper case.
6936
69371994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6938
6939 * etags.c (etags_getcwd): Cast result of popen.
6940 (popen): Declaration deleted.
6941
69421994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6943
6944 * etags.c [!MSDOS]: Declare popen.
6945
69461994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6947
6948 * b2m.c (main): Avoid crash if argc is 1.
6949
69501994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6951
6952 * Version 19.23 released.
6953
6954 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6955
69561994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6957
6958 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6959
69601994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6961
6962 * Makefile.in.in: Fix out of date comment.
6963
69641994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6965
6966 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6967 Move all autoconf substitutions above that point.
6968 Above that point, use Make-style comments.
6969 This goes with changes in ../configure.in.
6970
69711994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6972
6973 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6974 warning message.
6975 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6976
69771994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6978
6979 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6980
69811994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6982
6983 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6984 print advice to run it, if it has anything significant to do.
6985 And only if MOVEMAIL_NEEDS_BLESSING.
6986 (blessmail): Use emacs, not temacs.
b166dcd8 6987 (configuration): Rename from configname.
362bc2da
DL
6988
69891994-04-30 Morten Welinder (terra@diku.dk)
6990
6991 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6992
69931994-04-30 Morten Welinder (terra@diku.dk)
6994
6995 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6996 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6997 a shell.
6998
69991994-04-29 Morten Welinder (terra@diku.dk)
7000
7001 * hexl.c [MSDOS]: Don't define proto type for exit.
7002
70031994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7004
7005 * b2m.c: Don't include string.h or strings.h.
7006
70071994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
7008
7009 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
7010 symbols, not make variables.
7011
70121994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7013
7014 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
7015 * etags.c (print_version): Print VERSION as a string.
7016
70171994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7018
7019 * fakemail.c (readline): Fix updating of p when buffer grows.
7020
70211994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
7022
7023 * Makefile.in.in (blessmail): New target.
7024 ${archlibdir}: Use blessmail when installing movemail.
7025
70261994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7027
7028 * fakemail.c (readline): When extending the buffer,
7029 calculate end afresh using the new size.
7030
880820fe 70311994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 7032
2f2c687b 7033 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 7034
880820fe 70351994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 7036
2f2c687b 7037 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
7038
70391994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7040
7041 * Makefile.in.in: Renamed from Makefile.in.
7042 Makefile.in is now generated from it, and then preprocessed.
7043 Change comments to C syntax.
7044 Include config.h.
7045 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
7046 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
7047
70481994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7049
7050 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
7051
880820fe 70521994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
7053
7054 * etags.c (etags_getcwd): Initialize bufsize.
7055
70561994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7057
7058 * profile.c (gettimeofday): If system doesn't have this, define it
7059 to give a fatal error.
7060
70611994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
7062
7063 * movemail.c (main): Use setuid, not seteuid.
7064
70651994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7066
7067 * etags.c: #undef static.
7068
880820fe 70691994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 7070
b166dcd8 7071 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 7072 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 7073 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
7074 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
7075 TeX_functions, Prolog_functions.
2f2c687b
JB
7076 (inf): No more a global variable.
7077 (C_entries): Take 2nd parameter `inf' instead of using the global one.
e1dbe924 7078 (find_entries): Add the cp1 var for optimization.
b166dcd8 7079 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
7080 (Asm_funcs): Now finds labels even without an ending colon.
7081
880820fe 70821994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 7083
2f2c687b
JB
7084 * etags.c (main): Use etags_getcwd for compatibility.
7085 (etags_getcwd): New function.
362bc2da
DL
7086
70871994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7088
7089 * Makefile.in (etags, ctags): Pass -D for VERSION.
7090
880820fe 70911994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7092
61b108cc 7093 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
2f2c687b
JB
7094 (main): Don't allow the use of -t and -T in etags mode.
7095 (print_help): Don't show options enabled by default.
7096 (print_version): Show the emacs version number if VERSION is #defined.
7097 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 7098
880820fe 70991994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7100
2f2c687b 7101 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
7102 (relative_filename, absolute_filename, absolute_dirname):
7103 functions added to compute filenames in tags files.
2f2c687b 7104 (process_file): Filenames in tags file are relative to the
362bc2da 7105 directory where the tags file is (useful with the -o option).
e1dbe924 7106 (main): Initialize the outfiledir var.
b166dcd8 7107 (TYPEDST): Add the `tignore' value.
2f2c687b 7108 (C_entries): Corrected various small bugs.
362bc2da
DL
7109
71101994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7111
7112 * Makefile.in (UTILITIES): `env' deleted.
7113 (env): Target deleted.
7114 * env.c: File deleted.
1c478461 7115
362bc2da
DL
71161994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7117
7118 * Makefile.in (install, ${archlibdir}): Switch back to ..
7119 before running INSTALL_PROGRAM.
7120
880820fe 71211994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7122
b166dcd8 7123 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 7124 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
7125 `extern "C" {' construction (patch by Tom R.Hageman).
7126
71271994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7128
7129 * b2m.c: Use <...> to include config.h.
7130 Don't include stdlib.h.
7131
177c0ea7 71321994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
7133
7134 * b2m.c (main): Change delimiter from "^L" to "^_^L".
7135 Allow for text following "BABYL OPTIONS:".
7136 Add --help option. Use argv[0] in error messages.
7137
71381994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7139
7140 * emacsclient.c (main) [HAVE_SYSVIPC]:
7141 Make msgp->mtext longer if necessary.
7142 On HPUX, error if it's more than 512 chars.
7143
71441994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
7145
7146 * etags-vmslib.c: Use GPL.
7147 * emacstool.c: Use GPL.
7148 * fakemail.c: Update GPL.
7149
7150 * make-path.c (main): Return 1 on error, not -1.
7151 Update GPL.
7152
7153 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
7154 (xmalloc, xrealloc): Return char *, not int.
7155 (error): Write to stderr, not stdout.
7156 Update GPL.
7157
71581994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
7159
7160 * profile.c (main, get_time): Don't crash on invalid input.
7161
71621994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
7163
7164 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 7165 (main): Exit on EOF.
362bc2da 7166
880820fe 71671994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7168
a64387ee 7169 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
7170
71711994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7172
7173 * fakemail.c (put_line): Don't break the line if it all fits.
7174
880820fe 71751994-02-14 Francesco Potortì (pot@fly)
362bc2da 7176
b166dcd8 7177 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 7178 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 7179 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 7180 (print_help): Alphabetically order the options.
2f2c687b 7181 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
7182
71831994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7184
7185 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
7186 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
7187
71881994-02-07 Christian Lynbech (lynbech@avignon)
7189
7190 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
7191
71921994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7193
7194 * Makefile.in (UTILITIES): Mention profile.
7195 (profile): New target.
7196
7197 * profile.c: New file.
7198
71991994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 7200
88c71720 7201 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 7202 Lisp docstrings do.
88c71720 7203 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
7204 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
7205 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
7206
880820fe 72071994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
7208
7209 * etags.c (stab_entry, stab_create, stab_find, stab_search,
61b108cc 7210 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
362bc2da 7211 Use gperf generated hash table instead of linked list.
61b108cc 7212 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
362bc2da 7213 Mostly code generated by gperf.
b166dcd8 7214 (consider_token): Remove unused parameter `lp'.
2f2c687b 7215 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 7216 to span multiple lines.
2f2c687b
JB
7217 (C_entries): Check for newline if inchar to avoid bus errors.
7218 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
7219 and not regular file.
7220
72211994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7222
7223 * timer.c: Include errno.h; don't include fasync.h.
7224 (schedule): Don't return a value.
7225 (sigcatch): Reestablish the handler first.
7226 (getevent): Always call notify at the end.
7227 (notify): Defer alarms around the whole body of function.
7228
72291994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7230
7231 * timer.c (main): Don't request SIGIO, and don't handle it.
7232 Loop calling getevent.
7233 (sigcatch): Delete code to handle SIGIO.
7234 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 7235 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
7236 Set defer_alarms around realloc and schedule.
7237 If alarm_deferred gets set, call notify.
7238 Likewise if this event is the only pending event.
7239 Make buf and buf_size global variables.
7240 Don't malloc buf if it is already non-zero.
7241 (schedule): Just exit if run out of memory.
7242 Return the number of events.
7243 (signal) [_CX_UX]: Add #undef.
7244
72451994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7246
7247 * timer.c [USG] (SIGIO): Define as SIGPOLL.
7248 (main) [USG]: Do ioctl to enable SIGPOLL.
7249
72501994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7251
7252 * timer.c: Don't declare sys_errlist; declare strerror instead.
7253 (schedule, main): Call strerror instead of using sys_errlist.
7254 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
7255 Call strerror instead of using sys_errlist.
7256 * env.c (main): Call strerror instead of using sys_errlist.
7257 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
7258 (main): Call strerror instead of using sys_errlist.
7259 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
7260 * env.c [! HAVE_STRERROR] (strerror): Likewise.
7261 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
7262 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
7263
72641994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7265
7266 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
7267
7268 * movemail.c (malloc): Don't declare it.
7269 (xmalloc): Cast result of malloc.
7270 (strcpy): Don't declare it.
7271
72721993-11-14 Morten Welinder (terra@diku.dk)
7273
7274 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7275 (main): Use fclose to close file opened by fopen.
7276
7277 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7278
7279 * movemail.c [MSDOS]: #undef `access'.
7280
7281 * b2m.c (main) [MSDOS]: Open all files as binary.
7282 * etags.c (main) [MSDOS]: Open all files as binary.
7283
7284 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7285 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7286 with.
7287
72881994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7289
7290 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7291 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7292 (LINK_CFLAGS): New variable.
7293 (timer): Use LINK_CFLAGS.
7294
72951993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7296
7297 * movemail.c: Include syswait.h.
7298 Fork a subprocess and use it to copy the mail file.
7299
73001993-12-07 Richard Stallman (rms@srarc2)
7301
7302 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7303
73041993-12-04 Richard Stallman (rms@srarc2)
7305
7306 * movemail.c (main): When making tempname, cast result of xmalloc.
7307 Include room for EXXXXXX in the size.
7308 Don't use result of strcpy.
7309
73101993-12-03 Paul Eggert (eggert@twinsun.com)
7311
7312 * vcdiff: Add --brief option.
7313
73141993-12-02 Richard Stallman (rms@srarc2)
7315
7316 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7317 for all executables and scripts.
7318
73191993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7320
7321 * Version 19.22 released.
7322
73231993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7324
7325 * Makefile.in (mostlyclean): Make it distinct from clean.
7326
73271993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7328
7329 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7330
73311993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7332
7333 * Version 19.21 released.
7334
7335 * Makefile.in (install): Don't change mode or group when installing.
7336
7337 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7338
73391993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7340
7341 * make-docfile.c (read_c_string): For "", concatenate the two strings.
7342
7343 * movemail.c (main): Fix error message text.
7344
73451993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7346
7347 * Version 19.20 released.
7348
177c0ea7 73491993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 7350
ecc54057 7351 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
7352 functions returning a pointer to a function, a la `signal', can be
7353 parsed. This also required new state `fstartlist' to `FUNCST'.
7354 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 7355 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 7356 from the other state engines.
2f2c687b 7357 (begtk): Add '~', for C++ class destructors.
362bc2da 7358
880820fe 73591993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7360
b166dcd8 7361 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 7362 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
7363
73641993-10-19 Paul Eggert (eggert@twinsun.com)
7365
7366 * rcs2log (printlogline): Don't generate lines containing only
7367 white space.
7368
73691993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7370
7371 * Makefile.in (${archlibdir}):
7372 Install ${SCRIPTS} from ${srcdir}, not cwd.
7373
73741993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7375
7376 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7377 the comment character.
7378
880820fe 73791993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7380
2f2c687b 7381 * etags.c (process_file): Dead code removed.
362bc2da 7382 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 7383 (process_file): Regular files have nothing to do with symlinks.
362bc2da 7384
f0131492 73851993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
7386
7387 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7388 from current directory. Only chmod and chgrp files that we
7389 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
7390 ${bindir}.
b166dcd8 7391 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
7392 now.
7393
f0131492 73941993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 7395
b166dcd8
KC
7396 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7397 Let configure figure out the correct values for these variables.
362bc2da 7398
f0131492 73991993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 7400
10d1d0af 7401 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
7402 used by emacs; don't install bindir binaries here.
7403
74041993-09-24 Paul Eggert (eggert@twinsun.com)
7405
7406 * rcs2log: Add -h, -n, -r options.
7407 By default, look for *,v files as well as RCS/*,v files.
7408 Use $TMPDIR (default /tmp) instead of /tmp.
7409
880820fe 74101993-09-20 Francesco Potortì (pot@fly)
362bc2da 7411
e1dbe924 7412 * etags.c (C_entries): is_func is initialized here instead of in
362bc2da
DL
7413 consider_token for the sake of the yacc rules section.
7414 (C_entries): Now class, struct, enum, union and typedef produce
7415 named tags.
7416
74171993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
7418
7419 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7420
74211993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7422
88c71720
KS
7423 * Makefile.in: Support configuring in a different directory when
7424 ${srcdir} has already been configured.
7425 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7426 -I${srcdir}/../src.
362bc2da
DL
7427 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7428 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7429 is already in CPP_FLAGS.
7430 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7431 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7432
74331993-08-25 Paul Eggert (eggert@twinsun.com)
7434
75f1671a 7435 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
362bc2da
DL
7436 otherwise, HP awk complains.
7437
7438 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7439 are common hangouts for SCCS commands.
7440
74411993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7442
7443 * Version 19.19 released.
7444
74451993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7446
7447 * Makefile.in (make-path): Dep on config.h.
7448
74491993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7450
7451 * b2m.c (TRUE, FALSE): Don't define if already defined.
7452
74531993-08-09 Paul Eggert (eggert@twinsun.com)
7454
7455 * rcs2log (awkscript):
7456 Some sites put comma-separated junk after the fullname.
7457 Remove it, but leave "Bill Gates, Jr" alone.
7458 Remove the junk from fullnames like "0000-Admin(0000)".
7459
74601993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7461
7462 * Version 19.18 released.
7463
880820fe 74641993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 7465
e1dbe924 7466 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
2f2c687b
JB
7467 (L_funcs): The (foo::defmumble stuff now should work.
7468 (consider_token): Function returned random value--corrected.
7469 (C_entries): Corrected == versus = typo.
362bc2da
DL
7470
74711993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7472
7473 * etags.c (put_entries): For NODE->rewritten, put pattern before
7474 \177 and name after, not vice versa.
7475
74761993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7477
7478 * timer.c (main): Generate a SIGIO as soon as we've initialized.
7479
880820fe 74801993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7481
b166dcd8 7482 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
7483 after the parameter list and before the open curly brace.
7484 Allows correct parsing of C++ constructors.
2f2c687b
JB
7485 (C_entries, consider_token): Make use of fignore.
7486 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 7487 ctags mode makes DEFVAR and others work better.
e1dbe924 7488 (L_isquote): Function that recognizes the "(quote" string.
2f2c687b 7489 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
7490
74911993-07-29 Paul Eggert (eggert@twinsun.com)
7492
7493 * rcs-checkin: Don't check whether a file is readable until we have
7494 decided not to ignore it.
7495
74961993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7497
7498 * Makefile.in (etags): Depend on ../src/config.h.
7499
7500 * emacsserver.c: Include types.h before file.h.
7501
75021993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7503
7504 * Makefile.in (install): Use .n, not .new, for temporary filenames.
7505
75061993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7507
ecc54057 7508 * Version 19.17 released.
362bc2da
DL
7509
75101993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7511
7512 * etags.c (print_help): Break up the very long strings containing
7513 the help message into shorter strings, to placate chintzy C
7514 compilers which can't handle strings that long.
7515
7516 * wakeup.c: Use CPP tangle from autoconf manual to #include the
7517 correct combination of <time.h> and <sys/time.h>.
7518
880820fe 75191993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7520
b166dcd8 7521 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
7522 (main): Now calls xnew instead of alloca for portability.
7523 (../src/config.h): Included only if HAVE_CONFIG_H.
7524 (const): Void definition removed--config.h takes care of it.
362bc2da 7525
880820fe 75261993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7527
2f2c687b 7528 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
7529 (consider_token): DEFUNs now treated like funcs in ctags mode.
7530
61b108cc 7531 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
2f2c687b 7532 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 7533 (C_entries): Remove a piece of useless code.
2f2c687b 7534 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
7535 is met. This handles "typedef int X, Y, Z;" correctly.
7536
75371993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7538
7539 * Version 19.16 released.
7540
7541 * b2m.c: #include <sys/types.h>.
7542 (ltoday): Declare this to be time_t.
7543
75441993-06-30 Paul Eggert (eggert@twinsun.com)
7545
7546 * vcdiff: Add -q option.
7547
75481993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7549
7550 * etags.c: #include "config.h" and the alloca CPP tangle before
7551 #including the system headers and getopt.h. AIX requires the
7552 #pragma to come before any actual C code.
7553
75541993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7555
7556 * Makefile.in (ctags): Depend on etags, so that parallel makes
7557 don't write etags.o files on top of each other.
7558
75591993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7560
7561 * version 19.15 released.
7562
75631993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7564
7565 * etags.c (add_node): Move var last_node to file scope.
7566
75671993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7568
7569 * Version 19.14 released.
7570
75711993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7572
ecc54057 7573 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
7574 * Makefile.in (distclean): Call clean to do most of the work.
7575 Delete aixcc.c and TAGS.
7576 (realclean): Just call distclean.
1c478461 7577
362bc2da
DL
7578 * Makefile.in: Remember, spaces are not tabs.
7579
75801993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7581
7582 * Makefile.in (CPP_CFLAGS): New variable.
7583 Use it instead of ALL_CFLAGS when compiling a .c file.
7584 (getopt.o, getopt1.o): Add explicit compilation commands.
7585
75861993-06-10 Mark D. Baushke (mdb@cisco.com)
7587
7588 * etags.c: Reinstate old -f option as an alias for -o for
7589 installed base uses.
7590
75911993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7592
7593 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7594 to bind or accept, cast the pointer, to avoid warnings on systems
7595 which declare prototypes for this.
7596 * emacsclient.c (main): Same.
7597
7598 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7599
76001993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7601
7602 * Version 19.13 released.
7603
7604 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7605 comes from, not sys/time.h.
7606
76071993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7608
7609 * wakeup.c: Include sys/time.h.
7610
7611 * etags.c: #undef static.
7612
7613 * Version 19.12 released.
7614
7615 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7616
76171993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7618
7619 * Version 19.11 released.
7620
7621 * timer.c [LINUX]: #undef signal.
7622 * emacsserver.c: #undef signal.
7623
76241993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7625
7626 * wakeup.c (main): Make when a time_t.
7627
76281993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7629
ecc54057 7630 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 7631 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
7632 might fail, and have pwd print out the current directory.
7633
7634 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7635 string-handling functions.
7636
76371993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7638
7639 * Version 19.10 released.
7640
76411993-05-29 Paul Eggert (eggert@twinsun.com)
7642
7643 * rcs2log: When given no file arguments, inspect RCS/.* as well
7644 as RCS/*. Don't report an error if RCS is empty or nonexistent.
7645
76461993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7647
7648 * Makefile.in (timer): Link with $(LOADLIBES).
7649
76501993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7651
7652 * fakemail.c (put_line): Don't output \n\t unless more text follows.
7653
76541993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7655
7656 * etags.c: Replace the CPP tangle for alloca with the one from the
7657 autoconf documentation, since that's working elsewhere.
7658
76591993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7660
7661 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
7662 description files can find their ancestors.
7663
76641993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7665
7666 * Makefile.in (install): Get the scripts from ${srcdir},
7667 unlike the executables.
6088b51f 7668 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
7669
76701993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7671
7672 * Version 19.9 released.
7673
76741993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7675
7676 * Makefile.in (install): Do install the programs listed in
7677 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
7678 INSTALLABLE_SCRIPTS, instead of writing the programs out.
7679
7680 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
7681 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
7682
76831993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7684
7685 * etags.c: Include ../src/config.h.
7686
7687 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
7688 in first loop. Delete files from bindir before installing new ones.
7689 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
7690
76911993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7692
7693 * Version 19.8 released.
7694
7695 * make-docfile.c: Doc fix.
7696
76971993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7698
7699 * tcp.c: Fix comment syntax at top of file.
7700 (main): Don't call htons with the port number.
7701
77021993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7703
7704 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 7705 appropriate.
362bc2da
DL
7706
7707 * Makefile.in (install): Refer to the variables INSTALLABLES and
7708 INSTALLABLE_SCRIPTS, instead of writing them out.
7709
77101993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7711
7712 * make-path.c (main): Return 0.
7713
77141993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7715
ecc54057 7716 * Version 19.7 released.
362bc2da
DL
7717
77181993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7719
7720 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7721
77221993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7723
7724 * tcp.c: New file.
7725
77261993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7727
7728 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7729
77301993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7731
7732 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7733 only. We should really fix this later, but let's just make it
7734 compile for now.
7735
7736 Install patches from David J. Mackenzie to make the srcdir option
7737 work.
7738 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7739 Makefile.
7740 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7741 INSTALLABLE_SCRIPTS.
7742 (INSTALLABLE_SCRIPTS): New list.
7743 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7744 (${archlibdir}): The scripts to be installed live in the source
7745 tree, not in the object tree.
7746 (test-distrib): Note that the data file lives in the source tree,
7747 not the object tree.
7748 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7749 (all other targets): Change references to source files to use
7750 ${srcdir}, except for config.h, which lives in the object dir.
7751 (timer.o): Note that this depends on ../src/config.h.
7752 * make-docfile.c (main): Add a -d option, to tell it where to find
7753 the source files.
7754 * test-distrib.c (main): Take the name of the distribution file to
7755 test from the command line.
7756
10d1d0af 7757 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
7758
77591993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7760
7761 * etags.c (main):
7762 Don't require that there be input files if -i switches were given.
7763
77641993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7765
7766 The GNU coding standards specify that CFLAGS should be left for
7767 users to set.
7768 * Makefile.in (CFLAGS): Put this in the "things configure might
7769 edit" section, and have it default to -g.
7770 (ALL_CFLAGS): New variable, set to all the flags which should be
7771 passed to compilations. Replace all other uses of CFLAGS with
7772 ALL_CFLAGS.
7773 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7774
7775 * Makefile.in (DEFS): Remove this; it's always just going to be
7776 "-DHAVE_CONFIG_H -Demacs".
7777
77781993-05-03 Paul Eggert (eggert@twinsun.com)
7779
7780 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7781 /[/]/, so change it to /[\/]/. This should work on all
75f1671a 7782 POSIX-compliant awks. It's slightly wrong with traditional awk,
362bc2da
DL
7783 since it matches \ too, but that's a minor problem compared to awk
7784 syntax errors.
7785
77861993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7787
7788 * Makefile.in (ALLOCA): New variable, whose value we should
7789 inherit from the top-level makefile.
7790 (etags, ctags): Include ALLOCA in the list of object files that
7791 these executables depend on and link.
7792
77931993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7794
b166dcd8 7795 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
7796
77971993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7798
7799 * make-docfile.c (write_c_args): Print an argument named "defalt"
7800 as "default".
7801
78021993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7803
7804 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7805 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7806 compiler.
7807
880820fe 78081993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7809
2f2c687b
JB
7810 * etags.c (YACC): Flag added to c_ext.
7811 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7812 (find_entries): Consistently use streq when reasonable.
7813 (find_entries): A .y file is a yacc file.
362bc2da 7814 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
7815 (C_entries): Logical cplpl means c_ext&C_PLPL.
7816 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 7817 (C_entries): Add logic for yacc files.
362bc2da 7818
880820fe 78191993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
7820
7821 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 7822 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
7823 (consider_token): structtag set to null string for enum.
7824
880820fe 78251993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7826
2f2c687b
JB
7827 * etags.c (GET_COOKIE): And related macros removed.
7828 (logical): Is now int, no more a char.
7829 (reg): Define deleted.
61b108cc
SM
7830 (isgood, _gd, notgd): Delete.
7831 (gotone): Delete.
2f2c687b 7832 (TOKEN): Member linestart removed.
61b108cc 7833 (linepos, prev_linepos, lb1): Delete.
2f2c687b 7834 (main): Call initbuffer on lbs array instead of lb1.
e1dbe924 7835 (init): Remove the initialization of the logical _gd array.
2f2c687b 7836 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
7837 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7838 All C state machines rewritten.
2f2c687b
JB
7839 (C_entries): Complete rewrite.
7840 (condider_token): Complete rewrite.
61b108cc 7841 (getline): Delete.
362bc2da 7842
880820fe 78431993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 7844
b166dcd8 7845 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
7846 Used for parsing of #define's spanning multiple lines.
7847
880820fe 78481993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7849
7850 * etags.c (C_entries): Save the definedef status even when a
7851 newline is met inside a string.
7852
78531993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7854
b166dcd8 7855 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
7856
7857 * Makefile.in (unlock, relock): New productions.
7858
78591993-03-16 Paul Eggert (eggert@twinsun.com)
7860
7861 * rcs2log: Some awks don't understand "\r". Code around this.
7862 Unfortunately this requires putting a carriage return in the
7863 source code. Don't assume that rlog will tolerate times like
7864 `10:10:60'; RCS 5.7 won't allow this.
7865
78661993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7867
7868 * timer.c (main): Set the ownership of the stdin file descriptor
7869 to the current process. Print error messages if either of the
7870 fcntl's fails.
7871
7872 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7873 ../src/config.h), not void.
7874
78751993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7876
7877 * b2m.c (main): Don't exit upon reading a blank line.
7878
880820fe 78791993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7880
7881 * etags.c (C_entries): New local variable quotednl. Used for
7882 parsing of #define's spanning multiple lines.
7883
7884 * etags.c (C_entries): Save the definedef status
7885 even when a newline is met inside a string.
7886
78871993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7888
7889 * timer.c (notify): Initialize waitfor properly.
7890
880820fe 78911993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
7892
7893 * etags.c (C_entries): Don't reset definedef when a newline inside a
7894 comment is met.
7895
78961993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7897
7898 * etags.c (find_entries): If filename ends in .f or .for,
7899 don't try anything but Fortran.
7900
79011993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7902
7903 * timer.c (notify): Flush stdout after writing message to avoid lossage
7904 on terminals.
7905
7906 (notify): Also, write a newline after the token.
7907
79081992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7909
7910 * Makefile.in (exec_prefix): New variable.
7911 (bindir, libdir): Use it instead of `prefix'.
7912
7913 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7914
7915 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 7916 (archlibdir): Adjust to match.
362bc2da
DL
7917
7918 * Makefile.in (distclean): Don't delete backup or autosave files.
7919 (extraclean): Like realclean, but does delete backup and autosave
7920 files.
7921
7922 * Makefile.in (realclean): Ignore errors from rm.
7923
7924 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7925 that doesn't exist anymore.
7926
79271992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7928
7929 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7930 described in the top-level Makefile.
7931 (UTILITIES): Add make-path to the list of utility programs.
7932 (../arch-lib): Replaced by the ${archlibdir} target, which places
7933 the executables in their permanent home.
7934 (install, install.sysv, install.xenix): Consolidated into one
7935 target which should work under all circumstances, modulo a few
7936 ignored error messages.
7937
7938 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7939 a different number of arguments than other DEFVARs, recognize it
7940 specially, and expect the right number of commas.
7941
79421992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7943
7944 * make-path.c: New program, to help with the installation process.
7945 * Makefile.in (make-path): New target.
7946
7947 * make-path.c (touchy_mkdir): Remove debugging output.
7948
79491992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7950
b166dcd8 7951 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
7952 can indicate that it depends on ../src/config.h.
7953
79541992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7955
7956 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7957 instead of CFLAGS.
7958 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7959
79601992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7961
7962 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7963 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7964 that system.
7965
7966 * Makefile.in (arch-lib): Give rm the `-f' option.
7967
79681992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7969
7970 * make-docfile.c (write_c_args): Rewritten to correctly print
7971 &optionals before the first identifier, but after the first paren.
7972 This code used to just wait for commas or spaces; now it notices
7973 identifier boundaries.
7974
79751992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7976
7977 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7978
79791992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7980
7981 * make-docfile.c (write_c_args): Print the argument lists properly
7982 when the first argument is optional.
7983
79841992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7985
7986 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7987 Redefine @item. Set catcode of +.
7988
79891992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7990
7991 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7992
79931992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7994
7995 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7996 (TEX_decode_env): Make `tab' one element longer.
7997
79981992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7999
8000 * etags.c (PF_funcs): Recognize the "entry" keyword.
8001
80021992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8003
8004 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
8005
80061992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8007
8008 * timer.c (events): Rather than having slots marked as in use or
8009 out of use by the `token' field, keep all pending events at the
8010 beginning of the array. When we delete an event in the middle of
8011 the array, we move the last event into its place.
8012 (num_events): New variable.
8013 (schedule): It is now cheaper to find a free event slot;
8014 events[num_events] is the first free slot.
8015 (notify): Scan events[0 .. num_events-1], instead of the whole
8016 array. When an event fires, move the last event in the array into
8017 its spot. Use num_events to determine whether or not there are
8018 any pending events, not wait_for.
b166dcd8 8019 (getevent): Delete unused variable `ep'.
362bc2da
DL
8020 (sigcatch): It's now easier to find all the active events.
8021 (main): Initialize num_events.
8022
8023 * etags.c: Rather than fret about which systems have index and
8024 which systems have strchr, and how to tell the difference between
8025 them, we just write out our own versions. Big deal.
8026 (index, rindex): Extern declarations removed.
8027 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
8028 (etags_index, etags_rindex): New declarations.
8029 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
8030 TEX_getit, substr): Use the etags_*index functions, rather than
8031 the native *index functions.
b166dcd8 8032 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
8033 made them unconditionally defined, rather than having them depend
8034 on NEED_*INDEX.
8035
8036 * etags.c (savenstr): Add declaration for this at top of file.
8037 (TEX_decode_env): Don't declare it local to this function.
8038
8039 * b2m.c: #include "../src/config.h", so we can test for the USG
8040 macro, and decide whether to include <string.h> or <strings.h>.
8041 * Makefile.in: Note that b2m.c depends on ../src/config.h.
8042
80431992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8044
8045 * timer.c: Reformatted according to the GNU coding standards.
8046 Removed arbitrary limits on the number of events queued and the
8047 length of the tokens used to identify them.
8048 Removed casts to (void).
8049 Removed debugging printfs; they clutter the code, and the need
8050 can be better filled using a real debugger.
8051
80521992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8053
8054 * timer.c: Installed new version from Eric Raymond; this is more
8055 portable, since it doesn't try to use SIGIO.
8056
80571992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8058
8059 * emacsclient.c (main): If we can't find the socket in this
8060 person's home directory, print a message which asks if they've
8061 started the server, instead of just printing the message from
8062 sys_errmsg; Cygnus finds that people are much less confused by
8063 this.
8064
80651992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8066
8067 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
8068 so that index and rindex get defined, why don't we actually
8069 control index and rindex using symbols called "NEED_INDEX" and
8070 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
8071 little more readable than defining something whose name implies
8072 that it's not?
8073
80741992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8075
8076 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
8077 distribution:
8078 Miscellaneous doc fixes.
1c478461 8079 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
8080 (scan_lisp_file): Instead of using long hairy strings of ifs, call
8081 read_lisp_symbol and then see what we got. Call skip_white
8082 instead of writing out a loop to do its job. Correctly extract
8083 docstrings from "defmacro" declarations.
8084
80851992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8086
8087 * movemail.c (strcpy): Declare this to return char *.
8088
80891992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8090
8091 * etags.c (C_entries): When we find a C++ comment, do actually
8092 skip to the end of the line; do a 'break' instead of a 'continue'.
8093
80941992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8095
8096 * etags.c (getit): Add missing parenthesis to expression which
8097 decides if this token is an identifier.
8098
80991992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8100
8101 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
8102
81031992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8104
8105 * etags.c (put_entries): Always put space between name and line num.
8106
81071992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
8108
8109 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
8110 warning.
8111 (LEVEL_OK_FOR_FUNCDEF): Ditto.
8112
81131992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8114
8115 * make-docfile.c (write_c_args): Pass both arguments to putc.
8116
81171992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
8118
b166dcd8 8119 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
8120 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
8121 the C library source.
8122
8123 * etags.c (C_entries): When we see a backslash inside a quoted
8124 string, skip to the next character. This allows us to correctly
8125 deal with strings containing quotes.
8126
81271992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8128
8129 * make-docfile.c (write_c_args): Print the C argument names as
8130 they would be written in Elisp; print '_' as '-'.
8131
81321992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8133
8134 * movemail.c [POP]: Get user name via getpwuid.
8135
81361992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8137
2f2c687b 8138 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
8139
81401992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8141
10d1d0af 8142 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
8143 strings - end the lines with `\n\'.
8144
81451992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8146
b166dcd8 8147 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
8148 different systems have different return types, and we're not even
8149 using the return type anyway, it wasn't doing us any good.
8150
81511992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8152
8153 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
8154 type of this function.
8155
362bc2da
DL
81561992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8157
290afd83 8158 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
8159 to be consistent with other GNU programs, like makeinfo.
8160
290afd83 8161 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
8162 will edit this to produce Makefile.
8163
7bfc1caa 81641992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da 8165
7bfc1caa
GM
8166 New directory, with files previously in ../etc. [approximate date]
8167 * README: New file.
8168 * Makefile: Copy here from ../etc/Makefile.
8169 * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8170 * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8171 * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8172 * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8173 * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8174 * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8175 Move here from ../etc.
6922b018
KH
8176
8177;; Local Variables:
880820fe 8178;; coding: utf-8
6922b018 8179;; End:
2a34a036 8180
ba318903 8181 Copyright (C) 1988-1999, 2001-2014 Free Software Foundation, Inc.
5b87ad55
GM
8182
8183 This file is part of GNU Emacs.
8184
294981c7 8185 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 8186 it under the terms of the GNU General Public License as published by
294981c7
GM
8187 the Free Software Foundation, either version 3 of the License, or
8188 (at your option) any later version.
5b87ad55
GM
8189
8190 GNU Emacs is distributed in the hope that it will be useful,
8191 but WITHOUT ANY WARRANTY; without even the implied warranty of
8192 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8193 GNU General Public License for more details.
8194
8195 You should have received a copy of the GNU General Public License
294981c7 8196 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.