]> code.delx.au - gnu-emacs/blob - lib-src/ChangeLog
Recognize more format variation. Automatically reshow decrypted text.
[gnu-emacs] / lib-src / ChangeLog
1 2015-01-24 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix a couple of AM_V_GEN bugs
4 * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
5 (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1):
6 New macros, copied from ../src/Makefile.in.
7
8 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
9
10 Check exit statuses in lib-src/Makefile
11 * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall)
12 (mostlyclean, clean, distclean, extraclean):
13 Check exit statuses more carefully. Reindent to fit in 80 chars.
14 (bootstrap-clean maintainer-clean): Remove unnecessary 'true'.
15
16 2015-01-22 Ulrich Müller <ulm@gentoo.org>
17
18 * Makefile.in ($(DESTDIR)${archlibdir}): Don't fail if the chown
19 or chgrp command is unsuccessful; the 'update-game-score' program
20 has a fallback for this at runtime.
21
22 2015-01-21 Ulrich Müller <ulm@gentoo.org>
23
24 * update-game-score.c: Allow the program to run sgid instead
25 of suid, in order to match common practice for most games.
26 (main): Check if we are running sgid. Pass appropriate file
27 permission bits to 'write_scores'.
28 (write_scores): New 'mode' argument, instead of hardcoding 0644.
29 (get_prefix): Update error message.
30 * Makefile.in (gamegroup): New variable, set by configure.
31 ($(DESTDIR)${archlibdir}): Handle both suid or sgid when
32 installing the 'update-game-score' program.
33
34 2015-01-16 Eli Zaretskii <eliz@gnu.org>
35
36 * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
37 macros.
38 (emacsclient.res): Use $(AM_V_RC).
39
40 2015-01-16 Paul Eggert <eggert@cs.ucla.edu>
41
42 Give up on -Wsuggest-attribute=const
43 * make-docfile.c (write_globals):
44 Remove special hack for Fnext_read_file_uses_dialog_p
45
46 2015-01-13 Paul Eggert <eggert@cs.ucla.edu>
47
48 Don't say Fnext_read_file_uses_dialog_p is const
49 * make-docfile.c (write_globals):
50 Add a special hack for Fnext_read_file_uses_dialog_p.
51
52 2015-01-13 Dmitry Antipov <dmantipov@yandex.ru>
53
54 Support DEFUN attributes.
55 * make-docfile.c (struct global): New field 'flags'.
56 (DEFUN_noreturn, DEFUN_const): New enum bitfields.
57 (add_global): Now return pointer to global.
58 (write_globals): Add _Noreturn and ATTRIBUTE_CONST attributes
59 if requested by global's flags.
60 (stream_match): New function.
61 (scan_c_stream): Recognize 'attributes:' of DEFUN.
62
63 2015-01-10 Paul Eggert <eggert@cs.ucla.edu>
64
65 Port to 32-bit --with-wide-int
66 * make-docfile.c (write_globals): Define and use symbols like
67 iQnil (a small integer, like 0) rather than aQnil (an address
68 constant).
69
70 Port to 32-bit Sun C 5.12 sparc
71 * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
72 The alignment is required on all platforms; it just happens to have
73 been properly aligned on the previous platforms we tested.
74
75 2015-01-05 Paul Eggert <eggert@cs.ucla.edu>
76
77 Use 0 for Qnil
78 * make-docfile.c (compare_globals): Consider 'nil' to be the least.
79
80 Compute C decls for DEFSYMs automatically
81 Fixes Bug#15880.
82 * make-docfile.c: Revamp to generate table of symbols, too.
83 Include <stdbool.h>.
84 (xstrdup): New function.
85 (main): Don't process the same file twice.
86 (SYMBOL): New constant in enum global_type.
87 (struct symbol): Turn 'value' member into a union, either v.value
88 for int or v.svalue for string. All uses changed.
89 (add_global): New arg svalue, which overrides value, so that globals
90 can have a string value.
91 (close_emacs_global): New arg num_symbols; all uses changed.
92 Output lispsym decl.
93 (write_globals): Output symbol globals too. Output more
94 ATTRIBUTE_CONST, now that Qnil etc. are C constants.
95 Output defsym_name table.
96 (scan_c_file): Move most of guts into ...
97 (scan_c_stream): ... new function. Scan for DEFSYMs and
98 record symbols found. Don't read past EOF if file doesn't
99 end in newline.
100
101 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
102
103 'temacs -nw' should not call missing functions
104 * make-docfile.c (write_globals):
105 Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too. Sort.
106
107 Less 'make' chatter for lib-src
108 * Makefile.in (blessmail): Less 'make' chatter here.
109
110 2014-12-27 Eli Zaretskii <eliz@gnu.org>
111
112 * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT})
113 (make-docfile${EXEEXT}, movemail${EXEEXT})
114 (update-game-score${EXEEXT}): Put $(NTLIB) before $(LOADLIBES),
115 since GCC sometimes calls stpcpy when it sees strcpy, under
116 optimization switches.
117
118 2014-12-25 Paul Eggert <eggert@cs.ucla.edu>
119
120 * ebrowse.c (sym_scope_1, operator_name, open_file):
121 * emacsclient.c (get_server_config, set_local_socket)
122 (start_daemon_and_retry_set_socket):
123 * etags.c (main, C_entries, relative_filename):
124 * pop.c (sendline):
125 * update-game-score.c (main):
126 Rewrite to avoid the need for strcat, typically by using stpcpy
127 and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms.
128
129 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
130
131 * etags.c (analyze_regex): Rename from analyse_regex.
132
133 2014-12-14 Glenn Morris <rgm@gnu.org>
134
135 * grep-changelog: Remove file.
136 * Makefile.in (INSTALLABLE_SCRIPTS): Remove.
137 (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
138
139 2014-11-23 Glenn Morris <rgm@gnu.org>
140
141 * Makefile.in (emacsclient.res): Fix yesterday's thinko.
142
143 2014-11-22 Glenn Morris <rgm@gnu.org>
144
145 * Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
146 now being in the build directory, not the source directory.
147
148 * Makefile.in (emacsclient.res): Add dependency on icons/emacs.ico.
149
150 2014-10-20 Glenn Morris <rgm@gnu.org>
151
152 * Merge in all changes up to 24.4 release.
153
154 2014-09-23 Paul Eggert <eggert@cs.ucla.edu>
155
156 movemail: don't dump core if the current time is outlandish
157 * movemail.c (popmail): Check for mbx_delimit_begin failure.
158 (mbx_delimit_begin): Fail if the current time is so outlandish
159 that localtime would fail or asctime would have undefined
160 behavior. Use strftime to avoid asctime undefined behavior.
161
162 2014-09-01 Paul Eggert <eggert@cs.ucla.edu>
163
164 --enable-silent-rules now suppresses more chatter.
165 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
166 (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
167 (am__v_CCLD_1): New macros, taken from Automake.
168 (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
169 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
170 (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
171 (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
172 (update-game-score${EXEEXT}): Use them.
173
174 * etags.c (emacs_strchr, emacs_strrchr): Remove.
175 All uses replaced by strchr and strrchr, which are on all
176 target platforms now.
177
178 2014-07-15 Paul Eggert <eggert@cs.ucla.edu>
179
180 Use "b" flag more consistently; avoid "t" (Bug#18006).
181 * make-docfile.c (READ_TEXT): Remove; all uses replaced by "r".
182 (READ_BINARY): Remove; all uses replaced by "rb".
183
184 2014-07-14 Paul Eggert <eggert@cs.ucla.edu>
185
186 Use binary-io module, O_BINARY, and "b" flag (Bug#18006).
187 * etags.c, hexl.c, make-docfile.c:
188 Include binary-io.h instead of fcntl.h and/or io.h.
189 (main): Use set_binary_mode or SET_BINARY
190 in place of handcrafted code.
191 * etags.c (main) [DOS_NT]:
192 * movemail.c (main) [WINDOWSNT]:
193 Don't mess with _fmode.
194 * etags.c (main, process_file_name, analyse_regex):
195 Use fopen/popen's "b" flag instead.
196 * movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
197 instead.
198
199 2014-07-13 Paul Eggert <eggert@cs.ucla.edu>
200
201 * make-docfile.c: Simplify a bit, to simplify further refactoring.
202 (outfile): Remove static var. All uses changed to use stdout,
203 since it's always stdout anyway. While we're at it, prefer
204 putchar/puts/fputs to printf when there are no format strings.
205 (main): Use freopen rather than fopen, so that stdout is reused.
206 Move O_BINARY stuff after the freopen, so it affects the
207 reopened file.
208 (write_c_args): Omit first arg, since it's always stdout now.
209 All uses changed.
210
211 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
212
213 * etags.c (Lisp_functions): Also record cl-defun etc. (Bug#17965)
214
215 2014-06-26 Glenn Morris <rgm@gnu.org>
216
217 * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
218 Use $<, $@.
219 (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
220 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
221 (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
222 (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
223 (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
224
225 2014-06-17 Paul Eggert <eggert@cs.ucla.edu>
226
227 Omit redundant extern decls.
228 * emacsclient.c (getenv): Remove decl.
229 * make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
230 Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
231
232 2014-06-15 Glenn Morris <rgm@gnu.org>
233
234 * Makefile.in (LDFLAGS): Explicitly set via configure.
235
236 2014-06-15 Eli Zaretskii <eliz@gnu.org>
237
238 * Makefile.in (CPPFLAGS): Define.
239
240 2014-06-15 Glenn Morris <rgm@gnu.org>
241
242 * Makefile.in (../lib/libgnu.a):
243 Use `make -C' rather than `cd && make'.
244
245 * Makefile.in (bootstrap-clean): New.
246
247 2014-06-13 Glenn Morris <rgm@gnu.org>
248
249 * Makefile.in (../lib/libgnu.a):
250 GNU make automatically passes command-line arguments to sub-makes.
251
252 2014-05-26 Eli Zaretskii <eliz@gnu.org>
253
254 * ntlib.h (lseek): Don't redirect to _lseek.
255
256 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
257
258 Fix rcs2log problems with CVS. Reported by Glenn Morris in
259 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
260 Plus, fix some security and filename quoting problems.
261 * rcs2log (logdir): Prefer mktemp if available.
262 (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
263 (output_authors, main awk script): Parse more-recent CVS output format.
264
265 2014-05-19 Paul Eggert <eggert@cs.ucla.edu>
266
267 Remove dependencies on getline and getdelim.
268 Also, remove update-game-scores's limits on game scores and
269 simplify its file-locking code.
270 * update-game-score.c (struct score_entry): Unify the username and
271 data members to a single user_data member, since they don't need to be
272 changed independently and getdelim and getline aren't helpful.
273 Make the score member char *, not intmax_t, so that scores are not
274 limited to intmax_t. All uses changed.
275 (lose_syserr): A zero errno stands for invalid data in score file.
276 (normalize_integer): New function.
277 (main): Use it. Check for invalid scores. Omit redundant stat check.
278 (read_score): First arg is now a string, not a FILE *. All uses
279 changed. Do not use getdelim or getline; that's way simpler.
280 (read_scores): Read the whole file, and let read_score handle each
281 line.
282 (score_compare): Compare strings representing integers, not integers.
283 (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
284 (lock_file): Simplify locking code, eliminating goto.
285 Check for unlink failure.
286
287 2014-05-18 Paul Eggert <eggert@cs.ucla.edu>
288
289 Port ctags+etags build to Sun C 5.12.
290 * Makefile.in (etags_args): Remove, replacing with ...
291 (etags_cflags, etags_libs): New macros. All uses changed.
292 (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
293 parallel (once for ctags, once for etags) breaks parallel makes
294 with compilers that use the source file name to name temporaries,
295 such as Sun C 5.12. Instead, compile ctags.c.
296 * ctags.c: New file.
297
298 2014-05-04 Paul Eggert <eggert@cs.ucla.edu>
299
300 Handle systems without WCONTINUED consistently. (Bug#15110, 17339)
301 * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
302
303 2014-04-30 Glenn Morris <rgm@gnu.org>
304
305 * Makefile.in ($(DESTDIR)${archlibdir}):
306 Avoid non-portable "`\" nesting. (Bug#17339)
307
308 2014-04-16 Eli Zaretskii <eliz@gnu.org>
309
310 * update-game-score.c (write_scores): Condition fchmod call on
311 DOS_NT, not WINDOWSNT.
312
313 2014-03-22 Glenn Morris <rgm@gnu.org>
314
315 * Makefile.in (etags_deps, etags_args): New, to reduce duplication.
316 (etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.
317
318 * Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
319 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
320 (emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
321 (update-game-score${EXEEXT}, emacsclient.res): Use $@.
322
323 * Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
324
325 * Makefile.in (DONT_INSTALL): Remove test-distrib.
326 (test-distrib${EXEEXT}): Remove rule.
327
328 * test-distrib.c, testfile: Remove.
329
330 2014-03-10 Juanma Barranquero <lekktu@gmail.com>
331
332 * emacsclient.c (main): #ifdef out previous change on Windows.
333
334 2014-03-09 Paul Eggert <eggert@cs.ucla.edu>
335
336 Fix emacsclient terminal corruption when in background (Bug#16892).
337 * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
338 Cancel the continue only if tty. Send SIGTTIN to the process
339 group, not SIGSTOP to self, as this is what the glibc manual
340 recommends.
341 (main): If tty, and if started in the background, send SIGTTIN
342 to the process group.
343
344 2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change)
345
346 Fix emacsclient's handling of SIGCONT (Bug#16883).
347 * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
348
349 2014-01-22 Eli Zaretskii <eliz@gnu.org>
350
351 * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
352 instead of fchmod.
353
354 2014-01-22 Paul Eggert <eggert@cs.ucla.edu>
355
356 Fix miscellaneous update-game-score bugs.
357 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
358 (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
359 as that leads to undefined behavior, which is a bad thing
360 particularly in a setuid program.
361 (read_scores, write_scores): Check for fclose failure; on some
362 systems, I/O errors are not reported by primitives like getc and
363 putc, but instead are delayed until fclose, so fclose failures
364 should be diagnosed like other read and write errors.
365 (write_scores): Use fchmod, not chmod, to avoid a race.
366 Otherwise, if the lock is broken by some other process,
367 update-game-score might try to change the permission on someone
368 else's file or on a nonexistent file, and incorrectly report an
369 error when this fails.
370 (lock_file): Fix test for out-of-date lock file; it was reversed.
371 That is, it incorrectly broke locks when they were more than an
372 hour into the future, instead of when they were more than an hour
373 in the past. Use ordinary subtraction rather than difftime; since
374 we're already assuming POSIX we don't need to worry about the
375 possibility of time_t being a magic cookie, and since timestamps
376 are positive we don't need to worry about integer overflow when
377 subtracting them. Put two spaces, not just one, after a sentence
378 end in a comment.
379
380 2014-01-19 Paul Eggert <eggert@cs.ucla.edu>
381
382 update-game-score fixes for -m and integer overflow (Bug#16428)
383 * update-game-score.c: Include inttypes.h, stdbool.h.
384 (min): New macro, if not already defined.
385 (MAX_SCORES, main): Limit the maximum number of scores only from
386 limits imposed by the underyling platform, instead of the
387 arbitrary value 200.
388 (struct score_entry, main, read_score, write_score):
389 Scores are now intmax_t, not long.
390 (get_user_id): Reject user names containing spaces or newlines,
391 as they would mess up the score file.
392 Allow uids that don't fit in 'long'.
393 Increase the size of the buffer, to avoid overrun in weird cases.
394 (get_prefix, main): Use bool for boolean.
395 (main): Rewrite expr to avoid possibility of signed integer
396 overflow. Don't allow newlines in data, as this would mess up
397 the score file. Check for memory allocation failure when adding
398 the new score, or when unlockint the file. Implement -m.
399 (read_score): Check for integer overflow when reading a score.
400 (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
401 data gets very long. Check only for space to delimit names,
402 since that's what's done in the HAVE_GETDELIM case.
403 (read_scores): New parameter ALLOC. Change counts to ptrdiff_t.
404 All uses changed. Use push_score to add individual scores;
405 that's simpler than repeating its contents.
406 (score_compare_reverse): Simplify.
407 (push_score): New parameter SIZE. Change counts to ptrdiff_t.
408 All uses changed. Check for integer overflow of size calculation.
409 (sort_scores, write_scores): Change counts to ptrdiff_t.
410 (unlock_file): Preserve errno on success, so that storage
411 exhaustion is diagnosed correctly.
412
413 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
414
415 Spelling fixes.
416 * Makefile.in (regex.o): Remove reference to no-longer-used macros
417 CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a
418 misspelling anyway....
419
420 2013-12-14 Paul Eggert <eggert@cs.ucla.edu>
421
422 Use bool for boolean, focusing on headers.
423 * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
424 Remove. All uses replaced with uncapitalized version.
425 * emacsclient.c (message):
426 * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
427 * hexl.c (un_flag, iso_flag, endian):
428 * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
429 (pop_trash):
430 Use bool for boolean.
431 * etags.c (bool): Remove.
432 * etags.c (globals, members, declarations, no_line_directive)
433 (no_duplicates): Use 'int' for boolean values that getopt requires
434 to be 'int'. Formerly, these were 'bool' and 'bool' was 'int',
435 but we can no longer rely on this implementation.
436 * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
437
438 2013-11-14 Paul Eggert <eggert@cs.ucla.edu>
439
440 * ebrowse.c (xstrdup):
441 * etags.c (savenstr): Prefer tail calls.
442 * etags.c (concat): Omit unnecessary assignment.
443
444 2013-10-24 Glenn Morris <rgm@gnu.org>
445
446 * Makefile.in ($(DESTDIR)${archlibdir}):
447 Avoid non-portable "`\" nesting.
448
449 * Makefile.in (abs_top_srcdir): New, set by configure.
450
451 2013-10-23 Glenn Morris <rgm@gnu.org>
452
453 * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
454 (uninstall): Quote entities that might contain whitespace.
455
456 2013-10-10 Glenn Morris <rgm@gnu.org>
457
458 * make-docfile.c (search_lisp_doc_at_eol):
459 Use int rather than char with getc. (Bug#15481)
460
461 2013-09-20 Paul Eggert <eggert@cs.ucla.edu>
462
463 A simpler, centralized INLINE.
464 * profile.c (INLINE): New macro.
465 (SYSTIME_INLINE): Remove.
466
467 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
468
469 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
470 for portability to hosts where /bin/sh has problems.
471
472 2013-08-10 Eli Zaretskii <eliz@gnu.org>
473
474 * update-game-score.exe.manifest: New file.
475
476 * Makefile.in (UPDATE_MANIFEST): New variable.
477 (SCRIPTS): Add $(UPDATE_MANIFEST).
478
479 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * makefile.w32-in (lisp2): Add nadvice.elc.
482
483 2013-08-05 Eli Zaretskii <eliz@gnu.org>
484
485 * update-game-score.c (read_score): Try reading a character before
486 probing the stream for EOF. Initialize score->score to zero,
487 before reading and accumulating the score.
488 (read_scores): Fix logic that determines which value to return.
489 Close the input stream when finished reading the scores (avoids
490 failures in overwriting the file with a new one on MS-Windows,
491 since a file that is open cannot be deleted).
492
493 * ntlib.h (rename): Don't undefine.
494
495 * ntlib.c (sys_rename): New function, needed for
496 update-game-score.
497
498 2013-08-04 Eli Zaretskii <eliz@gnu.org>
499
500 * ntlib.h: Include fcntl.h.
501 (mkostemp): Declare prototype.
502 (mktemp): Don't redefine.
503
504 * ntlib.c (mkostemp): New function. (Bug#15015)
505
506 2013-08-04 Paul Eggert <eggert@cs.ucla.edu>
507
508 Fix some minor races in hosts lacking mkostemp (Bug#15015).
509 * movemail.c (main):
510 * update-game-score.c (write_scores):
511 Use mkostemp (which now works on all platforms, due to changes
512 in the portability layer) rather than mktemp (which has a race)
513 or mkstemp (which we no longer bother with).
514
515 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
516
517 Port to C89.
518 * ebrowse.c (USAGE): Remove macro with too-long string literal ...
519 (usage_message): ... and replace it with this new static constant
520 containing multiple literals. All uses changed.
521 * emacsclient.c (print_help_and_exit):
522 Rewrite to avoid string literals longer than the C89 limits.
523 (start_daemon_and_retry_set_socket):
524 Rewrite to avoid non-constant array initializer.
525 * make-docfile.c (enum global_type): Omit trailing comma.
526
527 2013-07-02 Paul Eggert <eggert@cs.ucla.edu>
528
529 Prefer plain 'static' to 'static inline' (Bug#12541).
530 I missed these instances of 'static inline' in an earlier sweep.
531 * ebrowse.c (putstr):
532 * etags.c (hash):
533 * make-docfile.c (put_char): No longer inline.
534 * etags.c (hash): Prefer int to unsigned when either will do.
535
536 2013-06-21 Paul Eggert <eggert@cs.ucla.edu>
537
538 Use C99-style flexible array members if available.
539 * ebrowse.c: Include <stddef.h>, for offsetof.
540 (struct member, struct alias, struct sym):
541 Use FLEXIBLE_ARRAY_MEMBER.
542 (add_sym, add_member, make_namespace, register_namespace_alias):
543 Use offsetof (struct, flex_array_member), not sizeof (struct), as
544 that ports better to pre-C99 non-GCC.
545
546 2013-05-29 Eli Zaretskii <eliz@gnu.org>
547
548 * Makefile.in (mostlyclean): Remove *.res files.
549
550 2013-05-18 Paul Eggert <eggert@cs.ucla.edu>
551
552 Port --enable-gcc-warnings to clang.
553 * etags.c: Omit unnecessary forward decls.
554 (print_version, print_help): Declare _Noreturn.
555 * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
556
557 2013-05-16 Eli Zaretskii <eliz@gnu.org>
558
559 * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
560
561 * ntlib.h (sleep): Update prototype.
562 (geteuid): Add prototype.
563
564 * ntlib.c (sleep): Now returns an unsigned value.
565 (getgid): New function.
566
567 * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
568 (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
569 (INSTALLABLES): Add $(CLIENTW).
570 (LIBS_MOVE): Use $(LIB_WSOCK32).
571 ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
572 (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
573 (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
574 (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
575 (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
576 Add $(NTLIB) to prerequisites. Use $(EXEEXT).
577 (pop.o): Add pop.h to prerequisites.
578 (emacsclientw${EXEEXT}, ntlib.o): New targets.
579 (emacsclient.res): New target.
580
581 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
584
585 2013-05-06 Paul Eggert <eggert@cs.ucla.edu>
586
587 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
588 by removing references to no-longer-existing locals.
589
590 2013-03-26 Eli Zaretskii <eliz@gnu.org>
591
592 Fix incompatibilities between MinGW.org and MinGW64 headers.
593 * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
594 struct only if _TIMEZONE_DEFINED is not defined.
595
596 2013-03-23 cg <chengang31@gmail.com> (tiny change)
597
598 * makefile.w32-in (LIB_SRC): Move before first use.
599
600 2013-03-16 Paul Eggert <eggert@cs.ucla.edu>
601
602 * pop.c: Fix ERRMAX typo (Bug#13925).
603 (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
604 Use ERROR_MAX, not ERRMAX.
605
606 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
607
608 File synchronization fixes (Bug#13944).
609 * Makefile.in (LIB_FDATASYNC): New macro.
610 (emacsclient${EXEEXT}): Use it.
611 * emacsclient.c (main): Use fdatasync, not fsync, since we don't
612 care about metadata. Keep trying if interrupted.
613 * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
614 fsync is available everywhere (or there is a substitute).
615 Don't report an error if fsync returns EINVAL.
616
617 Static checking by Sun C 5.12.
618 * etags.c (analyse_regex): Omit unreachable code.
619
620 * movemail.c (main): Call umask on all systems.
621 This is OK since Emacs already assumes umask elsewhere.
622 Don't grant more read permissions than necessary.
623 The old 0333 dates back to before we called setuid,
624 so it was needed back then to ensure user-readability,
625 but 0377 should suffice now.
626
627 2013-02-08 Paul Eggert <eggert@cs.ucla.edu>
628
629 * movemail.c (getenv): Remove decl (unused since 1994).
630
631 2013-01-15 Paul Eggert <eggert@cs.ucla.edu>
632
633 * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
634 This pacifies GCC 4.7.2 when Emacs is configured with
635 --enable-link-time-optimization and --enable-gcc-warnings.
636
637 2013-01-01 Juanma Barranquero <lekktu@gmail.com>
638
639 * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
640
641 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
642
643 * makefile.w32-in (SYSWAIT_H): Update dependencies.
644
645 2012-12-10 Eli Zaretskii <eliz@gnu.org>
646
647 * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix
648 sources.
649
650 2012-12-02 Kevin Ryde <user42@zip.com.au>
651
652 * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
653 the --declarations flag is enabled (Bug#5600).
654 (Lisp_help): Update.
655 (skip_name): New function.
656
657 2012-12-01 Kevin Ryde <user42@zip.com.au>
658
659 * etags.c (Perl_functions): Support "use constant" (Bug#5055).
660
661 2012-11-27 Paul Eggert <eggert@cs.ucla.edu>
662
663 Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
664 * movemail.c (main): Assume EAGAIN and EBUSY.
665
666 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
667
668 movemail: treat EACCES etc. failures as permanent
669 * movemail.c (main): Treat any link failure other than EEXIST as a
670 permanent failure, not just EPERM. EACCES, for example.
671
672 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
673
674 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
675 * emacsclient.c (getcwd): Remove decl.
676 (get_current_dir_name): Assume getcwd exists.
677 * etags.c (HAVE_GETCWD): Remove.
678 (getcwd): Remove decl.
679 (NO_LONG_OPTIONS): Remove this. All uses removed.
680 Emacs always has GNU getopt.
681 (etags_getcwd): Assume getcwd exists.
682 * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
683
684 2012-11-20 Paul Eggert <eggert@cs.ucla.edu>
685
686 * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
687 rather than kill (getpid (), sig), as it's simpler and safer.
688
689 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
690
691 * makefile.w32-in (SYSWAIT_H): New macro.
692 ($(BLD)/movemail.$(O)): Update dependencies.
693
694 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
695
696 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
697 * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
698
699 2012-10-26 Glenn Morris <rgm@gnu.org>
700
701 * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
702
703 * Makefile.in (install, uninstall): Transformations should not be
704 applied to $EXEEXT.
705
706 2012-10-23 Eli Zaretskii <eliz@gnu.org>
707
708 * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
709 follow src/lisp.mk.
710
711 2012-10-21 Glenn Morris <rgm@gnu.org>
712
713 * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
714
715 2012-10-20 Eli Zaretskii <eliz@gnu.org>
716
717 * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
718 (scan_lisp_file): Only pass a .el file if its basename matches a
719 known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE.
720
721 2012-10-20 Andreas Schwab <schwab@linux-m68k.org>
722
723 * make-docfile.c (scan_lisp_file): Add bounds checking.
724
725 2012-10-20 Eli Zaretskii <eliz@gnu.org>
726
727 Prevent silent omission of doc strings from uncompiled Lisp files.
728 * make-docfile.c (scan_lisp_file): Barf if called with a .el file
729 other than one of a small list of supported un-compiled files.
730
731 * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
732 exist. (Bug#12395)
733
734 2012-10-17 Eli Zaretskii <eliz@gnu.org>
735
736 * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
737 _mbspbrk.
738
739 2012-10-08 Eli Zaretskii <eliz@gnu.org>
740
741 * makefile.w32-in (obj): Add cygw32.o.
742
743 2012-10-08 Daniel Colascione <dancol@dancol.org>
744
745 * emacsclient.c: Include windows.h when HAVE_NTGUI.
746 (alt_display): New variable. We send the display held by this
747 variable when the primary display is either unsupported or not
748 present.
749 (longopts): Allow display everywhere.
750 (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
751 section.
752 (decode_options): Use alt_display. Explain why.
753 (main): Retry connection with alt_display if connection with main
754 display fails.
755
756 2012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
757
758 * make-docfile.c (write_globals): Special-case
759 Fexit_recursive_edit and Fabort_recursive_edit as well, as
760 functions that are _Noreturn, to be consistent with
761 src/keyboard.c.
762
763 2012-09-30 Eli Zaretskii <eliz@gnu.org>
764
765 * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c
766 needs this function.
767
768 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
769
770 * makefile.w32-in (obj): Add profiler.o.
771
772 2012-09-17 Glenn Morris <rgm@gnu.org>
773
774 * ebrowse.c (version):
775 * etags.c (print_version): Use COPYRIGHT.
776
777 2012-09-11 Paul Eggert <eggert@cs.ucla.edu>
778
779 * pop.c (socket_connection) [HAVE_GETADDRINFO]:
780 Prefer assignment to memcpy when either will do.
781
782 2012-08-31 Andreas Schwab <schwab@linux-m68k.org>
783
784 * etags.c (consider_token): Always zero-terminate token buffer.
785 (Bug#12306)
786
787 2012-08-19 Paul Eggert <eggert@cs.ucla.edu>
788
789 Rely on <config.h> + <unistd.h> to declare 'environ'.
790 * emacsclient.c (environ): Remove decl.
791
792 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
793
794 * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
795
796 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
797
798 * etags.c (Pascal_functions): Fix parenthesization typo.
799
800 2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
801
802 * make-docfile.c (enum global_type): Sort values roughly in
803 decreasing alignment, except put functions last.
804 (compare_globals): Use this new property of enum global_type.
805 (write_globals): Use bool, not int, for booleans.
806
807 2012-08-10 Glenn Morris <rgm@gnu.org>
808
809 * make-docfile.c (IF_LINT):
810 * emacsclient.c (IF_LINT): Remove (in config.h now).
811
812 * make-docfile.c (main)
813 (fopen) [!WINDOWSNT]:
814 (chdir) [!DOS_NT]: No more need to undef.
815
816 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
817 * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
818 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
819 Remove (they are in config.h now).
820
821 * ebrowse.c (PATH_LIST_SEPARATOR):
822 Remove, and replace with SEPCHAR from config.h.
823
824 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
825
826 * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
827 they are always defined in config.h.
828
829 2012-08-03 Eli Zaretskii <eliz@gnu.org>
830
831 * ntlib.c (lstat): New function, calls 'stat'.
832
833 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
834
835 Use C99-style 'extern inline' if available.
836 * profile.c (SYSTIME_INLINE): Define.
837
838 2012-08-02 Glenn Morris <rgm@gnu.org>
839
840 * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
841
842 2012-08-01 Glenn Morris <rgm@gnu.org>
843
844 * Makefile.in (config_h): New variable.
845 Use throughout in place of ../src/config.h.
846
847 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
848
849 * makefile.w32-in (CONFIG_H): Update dependencies.
850 (CONF_POST_H): New macro.
851
852 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
853
854 Update .PHONY listings in makefiles.
855 * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
856 install, uninstall, mostlyclean, clean, distclean,
857 maintainer-clean, extraclean, check, tags.
858
859 2012-07-29 Eli Zaretskii <eliz@gnu.org>
860
861 * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
862
863 2012-07-12 Paul Eggert <eggert@cs.ucla.edu>
864
865 * movemail.c: Add missing 'defined'.
866 Suggested by Sven Joachim in
867 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
868
869 2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
870
871 Port 'movemail' again to Solaris and similar hosts.
872 See Susan Cragin's report in
873 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
874 * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
875 !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
876 need a forward declaration.
877 (main): Rewrite to avoid no-longer-present function 'concat', if
878 !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
879
880 Assume strerror.
881 * emacsclient.c, movemail.c, update-game-score.c (strerror)
882 [!HAVE_STRERROR]: Remove.
883
884 2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
885
886 EMACS_TIME simplification (Bug#11875).
887 * profile.c (TV2): Remove no-longer-needed static var.
888
889 Simplify by avoiding confusing use of strncpy etc.
890 * etags.c (write_classname, C_entries):
891 Use sprintf rather than strncpy or strncat.
892 * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
893 (Erlang_functions, substitute, readline_internal, savenstr):
894 * movemail.c (mail_spool_name):
895 Use memcpy rather than strncpy or strncat when either will do.
896 * make-docfile.c (write_c_args):
897 Use memcmp rather than strncmp when either will do.
898 * movemail.c (pop_retr):
899 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
900 (socket_connection, pop_getline, sendline, getok):
901 Use snprintf rather than strncpy or strncat.
902 * movemail.c (concat): Remove; no longer needed.
903 (xmalloc): Define only if needed, now that concat has gone away.
904 Return void *. All uses changed.
905
906 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
907
908 Add GCC-style 'const' attribute to functions that can use it.
909 * etags.c (number_len): Add ATTRIBUTE_CONST.
910
911 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
912
913 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
914
915 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
916
917 * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
918 (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
919 (SYSTIME_H): New macros.
920 (SRC): Redefine to point to src/, not current directory.
921 ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
922 ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
923 ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
924 ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
925 ($(BLD)/regex.$(O)): New dependency.
926
927 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
928
929 * makefile.w32-in (ALL): Add profile.exe.
930 (PROFILEOBJS): New macro.
931 ($(BLD)/profile.exe): New target.
932 (install): Copy profile.exe.
933 ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
934
935 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
936
937 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
938 Update dependencies.
939
940 2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
941
942 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
943 * etags.c: Include c-strcase.h.
944 (etags_strcasecmp, etags_strncasecmp): Remove.
945 All uses replaced with c_strcasecmp and c_strncasecmp.
946
947 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
948
949 * make-docfile.c (write_globals): Warn about duplicate function
950 definitions with differing signatures.
951
952 2012-07-03 Paul Eggert <eggert@cs.ucla.edu>
953
954 * make-docfile.c (scan_c_file): Suppress GCC warning.
955
956 2012-06-29 Tom Tromey <tromey@redhat.com>
957
958 * make-docfile.c (enum global_type) <FUNCTION>: New constant.
959 (struct global) <value>: New field.
960 (add_global): Add 'value' argument.
961 (compare_globals): Sort functions at the end.
962 (close_emacs_globals): New function.
963 (write_globals): Handle functions.
964 (scan_c_file): Call add_global for DEFUN.
965
966 2012-06-30 Juanma Barranquero <lekktu@gmail.com>
967
968 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
969 already defined in ETAGS_CFLAGS.
970
971 2012-06-27 Glenn Morris <rgm@gnu.org>
972
973 * makefile.w32-in (lisp2): Remove paths.el.
974
975 2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
976
977 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
978 * Makefile.in (BASE_CFLAGS):
979 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
980 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
981 * etags.c (DOS_NT):
982 * pop.c (MAIL_USE_POP, h_errno):
983 Remove code that was conditioned on !HAVE_CONFIG_H.
984
985 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
986
987 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
988 library functions strcasecmp and strncasecmp if available.
989
990 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
991
992 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
993 * ebrowse.c (usage, version):
994 * emacsclient.c (print_help_and_exit, fail):
995 * etags.c (suggest_asking_for_help, fatal, pfatal):
996 * hexl.c (usage):
997 * make-docfile.c (fatal):
998 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
999 * update-game-score.c (usage):
1000 * ebrowse.c (usage, version):
1001 * emacsclient.c (print_help_and_exit, fail):
1002 Use _Noreturn rather than NO_RETURN.
1003 No need for separate decl merely because of _Noreturn.
1004
1005 2012-06-24 Samuel Bronson <naesten@gmail.com>
1006
1007 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
1008
1009 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1010
1011 Support higher-resolution time stamps (Bug#9000).
1012 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
1013 (profile${EXEEXT}): Use it.
1014 * profile.c: Include inttypes.h, intprops.h.
1015 (time_string): Size conservatively; do not guess size.
1016 (get_time): Now prints nanoseconds.
1017 (gettimeofday): Remove replacement function; gnulib now does this.
1018
1019 2012-06-08 Andreas Schwab <schwab@linux-m68k.org>
1020
1021 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
1022 character.
1023
1024 2012-06-06 Glenn Morris <rgm@gnu.org>
1025
1026 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
1027 (stamp-rcs2log, stamp-grep-changelog): Remove.
1028 (all, clean): Remove references to stamps.
1029
1030 * vcdiff: Remove file.
1031 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
1032 (stamp-vcdiff): Remove.
1033
1034 2012-06-05 Glenn Morris <rgm@gnu.org>
1035
1036 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
1037 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
1038 ($(BLD)/timer.$(O)): Remove cruft.
1039
1040 2012-06-03 Glenn Morris <rgm@gnu.org>
1041
1042 * rcs-checkin: Remove file.
1043 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
1044 Remove rcs-checkin.
1045 (stamp-rcs-checkin): Remove.
1046
1047 2012-05-31 Eli Zaretskii <eliz@gnu.org>
1048
1049 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
1050 instead of a literal -mwindows, which is not supported by MSVC.
1051 (Bug#11405)
1052
1053 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * make-docfile.c: Improve comment style.
1056 (search_lisp_doc_at_eol): New function.
1057 (scan_lisp_file): Use it.
1058
1059 2012-05-26 Glenn Morris <rgm@gnu.org>
1060
1061 * Makefile.in (INSTALL_DATA): Remove; unused.
1062
1063 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1064
1065 Remove src/m/*.
1066 * makefile.w32-in: Remove dependencies on
1067 $(EMACS_ROOT)/src/m/intel386.h.
1068
1069 2012-05-22 Glenn Morris <rgm@gnu.org>
1070
1071 * Makefile.in (install): Remove unneeded chmods.
1072
1073 2012-05-21 Paul Eggert <eggert@cs.ucla.edu>
1074
1075 Assume C89 or later.
1076 * etags.c (static, const): Remove macros.
1077 (PTR): Remove; all uses replaced with void *. Omit needless casts.
1078
1079 2012-05-21 Glenn Morris <rgm@gnu.org>
1080
1081 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
1082 Scrap superfluous subshells.
1083
1084 2012-05-18 Glenn Morris <rgm@gnu.org>
1085
1086 * Makefile.in (install): Ensure $bindir exists.
1087
1088 2012-05-17 Glenn Morris <rgm@gnu.org>
1089
1090 * Makefile.in (ns_appbindir): New, set by configure.
1091
1092 2012-05-12 Glenn Morris <rgm@gnu.org>
1093
1094 * Makefile.in (MKDIR_P): New, set by configure.
1095 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
1096
1097 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1098
1099 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
1100 * etags.c: Include <stdarg.h>.
1101 (error): Declare as printf-style, as that's what it really is.
1102 All uses changed.
1103 (add_regex): Use single char rather than array-of-one char.
1104
1105 2012-05-05 Jim Meyering <meyering@redhat.com>
1106
1107 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
1108 NUL-terminate the error buffer (Bug#11372).
1109
1110 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1111
1112 * emacsclient.c (min): Undef before redefining it.
1113
1114 2012-05-02 Jim Meyering <jim@meyering.net>
1115
1116 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
1117 send (Bug#11374).
1118
1119 2012-04-29 Andreas Schwab <schwab@linux-m68k.org>
1120
1121 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
1122 byte-code forms. (Bug#11380)
1123
1124 2012-04-20 Chong Yidong <cyd@gnu.org>
1125
1126 * emacsclient.c (decode_options): Move -t -n corner case handling
1127 into server.el (Bug#11102).
1128 (main): Send -tty to Emacs under more circumstances (Bug#8314).
1129
1130 2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
1131
1132 configure: new option --enable-gcc-warnings (Bug#11207)
1133 * Makefile.in (C_WARNINGS_SWITCH): Remove.
1134 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
1135 (BASE_CFLAGS): Use new macros rather than old.
1136
1137 2012-04-16 Paul Eggert <eggert@cs.ucla.edu>
1138
1139 Assume less-ancient POSIX support.
1140 * update-game-score.c: Include <getopt.h> rather than rolling our
1141 own decls for optarg, optind, opterr. See
1142 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
1143
1144 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1145
1146 * emacsclient.c (decode_options) [WINDOWSNT]:
1147 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
1148
1149 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1150
1151 * makefile.w32-in (obj): Add xml.o.
1152
1153 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1154
1155 * makefile.w32-in (ALL): Now the list of executables, not of phony
1156 targets.
1157 (.PHONY): Only make-docfile is its prerequisite now.
1158 (make-docfile): Don't depend on stamp_BLD. Add a comment about
1159 the need in this target.
1160 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
1161 (test-distrib): Phony targets removed.
1162 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
1163 (all): Don't depend on stamp_BLD.
1164 (ALL): Include $(BLD)/test-distrib.exe.
1165
1166 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1167
1168 * emacsclient.c (main): Handle -print-nonl command.
1169
1170 * emacsclient.c (main): Handle multiple messages in a single
1171 datagram.
1172
1173 * emacsclient.c (socket_name): Add const.
1174 (get_server_config): Add parameter config_file, use it instead of
1175 global server_file.
1176 (set_tcp_socket): Add parameter local_server_file, pass it down to
1177 get_server_config.
1178 (set_local_socket): Add parameter local_socket_name, use it
1179 instead of global socket_name.
1180 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
1181 Don't clobber global server_file or socket_name.
1182 (main): No longer reset server_file or socket_name.
1183
1184 2012-01-05 Glenn Morris <rgm@gnu.org>
1185
1186 * ebrowse.c (version) <emacs_copyright>:
1187 * etags.c (print_version) <emacs_copyright>:
1188 * rcs2log (Copyright): Update short copyright year to 2012.
1189
1190 2011-12-25 Andreas Schwab <schwab@linux-m68k.org>
1191
1192 * etags.c (C_entries): Properly skip over string and character
1193 constants and comments inside brackets. (Bug#10357)
1194
1195 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
1196
1197 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
1198 instead, treat both -c and -t as always requesting a new "tty" frame,
1199 and let server.el decide which kind is actually required.
1200 Reported by Uwe Siart <usenet@siart.de> in this thread:
1201 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
1202
1203 2011-11-30 Chong Yidong <cyd@gnu.org>
1204
1205 * emacsclient.c (main): Condition last change on WINDOWSNT
1206 (Bug#10155).
1207
1208 2011-11-27 Eli Zaretskii <eliz@gnu.org>
1209
1210 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
1211
1212 * emacsclient.c (main) <environ>: Remove declaration, already
1213 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
1214
1215 2011-11-24 Glenn Morris <rgm@gnu.org>
1216
1217 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
1218
1219 2011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
1220
1221 * Makefile.in (all): Make sure "all" is the first target.
1222
1223 2011-10-27 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * emacsclient.c (w32_getenv): Silence compiler warnings.
1226
1227 2011-09-07 Glenn Morris <rgm@gnu.org>
1228
1229 * etags.c (Fortran_functions): Handle "elemental" functions.
1230
1231 2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
1232
1233 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
1234
1235 2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
1236
1237 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
1238 to build-aux (Bug#9169).
1239
1240 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
1241
1242 Integer and memory overflow issues (Bug#9397).
1243
1244 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
1245 avoid potential buffer overflow issues on typical 64-bit hosts.
1246 Return void *, not long *.
1247 (get_current_dir_name): Report a failure, instead of looping
1248 forever, if buffer size calculation overflows. Treat malloc
1249 failures like realloc failures, as that has better behavior and is
1250 more consistent. Do not check whether xmalloc returns NULL, as
1251 that's not possible.
1252 (message): Do not arbitrarily truncate message to 2048 bytes when
1253 sending it to stderr; use vfprintf instead.
1254 (get_server_config, set_local_socket)
1255 (start_daemon_and_retry_set_socket): Do not alloca
1256 arbitrarily-large buffers; that's not safe.
1257 (get_server_config, set_local_socket): Do not use sprintf when its
1258 result might not fit in 'int'.
1259 (set_local_socket): Do not assume uid fits in 'int'.
1260
1261 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
1262 to avoid potential buffer overflow issues on typical 64-bit hosts.
1263 (whatlen_max): New static var.
1264 (main): Avoid buffer overflow if subsidiary command length is
1265 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
1266 result might not fit in 'int'.
1267
1268 * movemail.c (main): Do not use sprintf when its result might not fit
1269 in 'int'. Instead, put the possibly-long file name into the
1270 output of pfatal_with_name.
1271
1272 * update-game-score.c: Include <limits.h>
1273 (get_user_id): Do not assume uid fits in 'int'. Simplify.
1274
1275 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
1276
1277 Assume freestanding C89 headers, string.h, stdlib.h.
1278 * ebrowse.c: Include stdlib.h unconditionally.
1279 * etags.c, update-game-score.c:
1280 Include string.h and stdlib.h unconditionally.
1281 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
1282 * movemail.c, pop.c: Include string.h unconditionally.
1283 * update-game-score.c: No need to include stdarg.h; not used.
1284
1285 Assume support for memcmp, memcpy, memmove, memset.
1286 * etags.c (absolute_filename): Assume memmove exists.
1287
1288 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
1289
1290 * update-game-score.c (usage): Update usage line.
1291
1292 2011-07-02 Jason Rumney <jasonr@gnu.org>
1293
1294 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
1295 Windows (Bug#5486).
1296
1297 2011-06-25 Glenn Morris <rgm@gnu.org>
1298
1299 * emacsclient.c (decode_options) <opt>: Add `F:'.
1300 (print_help_and_exit): Mention --frame-parameters.
1301
1302 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1303
1304 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
1305
1306 2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
1307
1308 * movemail.c: Fix race condition and related bugs (Bug#8836).
1309 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
1310 fixes some race conditions. Report mkstemp/mktemp errno rather
1311 than a possibly-garbage errno. Reinitialize the template each
1312 time through the loop, as earlier mkstemp/mktemp calls could have
1313 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
1314 with mkstemp; the permissions don't matter anyway.
1315
1316 2011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
1317
1318 * emacsclient.c (socket_status): Use constant pointer.
1319
1320 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
1321
1322 Use 'inline', not 'INLINE'.
1323 * etags.c (hash): Now inline unconditionally.
1324 * make-docfile.c (put_char): inline, not INLINE.
1325
1326 2011-05-25 Glenn Morris <rgm@gnu.org>
1327
1328 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
1329 (insrcdir): New.
1330 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1331 Use $insrcdir to suppress unaesthetic ignored errors.
1332 (clean): Simplify list of things to delete.
1333 (all, clean): Use $EXE_FILES.
1334
1335 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
1336
1337 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
1338 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
1339
1340 2011-05-24 Glenn Morris <rgm@gnu.org>
1341
1342 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
1343
1344 2011-05-19 Glenn Morris <rgm@gnu.org>
1345
1346 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
1347 (clean): No more echolisp.tmp.
1348
1349 2011-05-18 Glenn Morris <rgm@gnu.org>
1350
1351 * fakemail.c: Remove file.
1352 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
1353 ($(BLD)/fakemail.$(O)): Remove.
1354 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
1355 (fakemail${EXEEXT}): Remove rule.
1356
1357 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1358
1359 * makefile.w32-in (obj): Add gnutls.o.
1360
1361 2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
1362
1363 Static checks with GCC 4.6.0 and non-default toolkits.
1364
1365 * movemail.c (mail_spool_name): Protoize.
1366 (main): Remove unused var. Mark var as initialized.
1367 Move locals to avoid shadowing, and use time_t for times.
1368
1369 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
1370 with void *. This avoids warnings about pointer casts.
1371
1372 * emacsclient.c (main): Don't use uninitialized var.
1373 (IS_ANY_SEP): Remove; unused.
1374 (get_current_dir_name): Add an extern decl.
1375
1376 2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
1377
1378 Fix more problems found by GCC 4.6.0's static checks.
1379
1380 * emacsclient.c (message): Mark it as a printf-like function.
1381
1382 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
1383 (write_c_args): Use it to suppress GCC warning.
1384
1385 2011-03-30 Paul Eggert <eggert@cs.ucla.edu>
1386
1387 Fix a problem found by GCC 4.6.0's static checks.
1388 * etags.c (just_read_file): Remove dummy variable and simplify.
1389
1390 2011-03-27 Glenn Morris <rgm@gnu.org>
1391
1392 * emacsclient.c: Replace SIGTYPE with void.
1393
1394 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * ntlib.c: Include <ctype.h>.
1397
1398 2011-03-23 Glenn Morris <rgm@gnu.org>
1399
1400 * Makefile.in ($(DESTDIR)${archlibdir}):
1401 Use `install-sh -d' rather than mkinstalldirs.
1402
1403 2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
1404
1405 * ebrowse.c: Use size_t, not int, for sizes.
1406 This avoids a warning with gcc -Wstrict-overflow, and works
1407 better for very large objects.
1408 (inbuffer_size): Now size_t. All uses changed.
1409 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
1410 sizes. Don't bother testing whether a size_t value can be negative.
1411
1412 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
1413
1414 etags: In Prolog functions, don't assume int fits in size_t.
1415 This avoids a warning with gcc -Wstrict-overflow.
1416 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
1417 not int, to store sizes.
1418 (prolog_atom): Return 0, not -1, on error. All callers changed.
1419
1420 update-game-score: fix bug with -r
1421 * update-game-score.c (main): Don't set 'scores' to garbage when
1422 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
1423 was introduced in the 2002-04-10 change, and was found with gcc
1424 -Wstrict-overflow (GCC 4.5.2, x86-64).
1425
1426 fakemail: Remove dependency on ignore-value.
1427 This undoes some of the recent fakemail-related changes.
1428 It is made possible due to recent changes to gnulib's stdio module.
1429 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
1430 * fakemail.c: Do not include ignore-value.h.
1431 (put_line): Do not use ignore_value.
1432
1433 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1434
1435 * Version 23.3 released.
1436
1437 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
1438
1439 * emacsclient.c (longopts): Add quiet.
1440 (decode_options): Handle q/quiet.
1441 (print_help_and_exit): Add q/quiet.
1442 (main): Suppress some messages if quiet option is used.
1443
1444 2011-02-26 Eli Zaretskii <eliz@gnu.org>
1445
1446 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
1447
1448 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
1449 (w32_getenv): Use xstrdup to return all values in malloc'ed
1450 storage.
1451
1452 2011-02-26 Paul Eggert <eggert@cs.ucla.edu>
1453
1454 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
1455 to reader (and to the compiler) that the loop always executes at
1456 least once. This prevents a warning with recent GCC.
1457 (BROWSE_STRUCT): Remove unused macro.
1458
1459 * fakemail.c: Include <ignore-value.h>.
1460 (put_line): Explicitly ignore fwrite return value, for benefit of
1461 recent glibc + gcc.
1462 (close_the_streams): Diagnose output errors instead of merely
1463 exiting with nonzero status.
1464 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
1465 Formerly, input errors were silently ignored.
1466
1467 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
1468 All callers changed. This is cleaner, and avoids GCC warnings about
1469 passing NULL to fputs.
1470 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
1471
1472 2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
1473
1474 * emacsclient.c (main): Avoid dangling 'if'.
1475 (xstrdup): Remove; no longer needed.
1476 (get_current_dir_name, w32_getenv, get_server_config, find_tty)
1477 (set_local_socket, main):
1478 Use const char *, not char *, for pointers that are not assigned
1479 through.
1480 (IF_LINT): New macro.
1481 (set_local_socket, main): Use it to suppress warnings with
1482 GCC -Wuninitialized.
1483
1484 * emacsclient.c: Redo local variables to avoid shadowing problems.
1485 (message, socket_status, start_daemon_and_retry_set_socket):
1486 Rename locals.
1487 (main): Move decl of "i".
1488
1489 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
1490 This avoids an unused-macro warning with some GCC settings.
1491
1492 * make-docfile.c (write_globals): Change char * to char const *
1493 to avoid a GCC "assignment discards qualifiers" diagnostic
1494 in some configurations.
1495 (scan_c_file): Refactor local variable decls to make their scope
1496 more accurate and to avoid a GCC -Wuninitialized diagnostic.
1497
1498 2011-02-22 Eli Zaretskii <eliz@gnu.org>
1499
1500 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
1501
1502 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
1503 Depend on ../lib/min-max.h.
1504
1505 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1506
1507 etags: Downcase drive letters, for consistency with Emacs proper.
1508 * etags.c (upcase): Remove; no longer used.
1509 (canonicalize_filename): Downcase drive letters.
1510
1511 Assume S_ISLNK etc. work, since gnulib supports this.
1512 * etags.c (S_ISREG): Remove.
1513
1514 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
1515
1516 Assume S_ISLNK etc. work, since gnulib supports this.
1517 * etags.c (S_ISREG): Remove.
1518
1519 2011-02-22 Juanma Barranquero <lekktu@gmail.com>
1520
1521 * makefile.w32-in (obj): Remove filemode.o.
1522
1523 2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
1524
1525 New file "lib/min-max.h".
1526 * ebrowse.c (min, max): Define them by including <min-max.h>
1527 instead of defining it ourselves.
1528 * pop.c (min): Likewise.
1529 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
1530
1531 * movemail.c (popmail): Report fchown failure instead of ignoring it.
1532 But if the file already has the right ownership, don't worry about it.
1533
1534 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
1535 * test-distrib.c (buf): Make this local, to avoid shadowing.
1536
1537 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1538 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
1539 (DONE): Remove unused macro.
1540 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
1541 Define these macros only in the contexts that need them.
1542 * pop.c (index): Remove unused macro.
1543 (KPOP_PORT): Define only if KERBEROS is defined.
1544
1545 Declare file-scope functions and variables static if not exported.
1546 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
1547 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
1548 * profile.c, test-distrib.c, update-game-score.c:
1549 Declare non-'main' functions and variables to be static.
1550 * ebrowse.c: Omit redundant function prototypes.
1551
1552 2011-02-21 Eli Zaretskii <eliz@gnu.org>
1553
1554 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
1555 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
1556 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
1557
1558 2011-02-21 Ben Key <bkey76@gmail.com>
1559
1560 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
1561 the new BVAR macro.
1562
1563 2011-02-20 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * makefile.w32-in (obj): Remove md5.o.
1566
1567 2011-02-18 Karl Chen <Karl.Chen@quarl.org>
1568
1569 * emacsclient.c (main): Loop while `recv' return EINTR.
1570
1571 2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
1572
1573 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
1574 This avoids collision with config.h's EMACS_INT on some
1575 configurations. All uses changed.
1576
1577 2011-02-08 Tom Tromey <tromey@redhat.com>
1578
1579 * make-docfile.c: Unconditionally include stdlib.h.
1580 (generate_globals): New global.
1581 (xrealloc): New function.
1582 (main): Handle '-g'. Call start_globals, write_globals.
1583 (scan_file): Conditionally call put_filename.
1584 (start_globals): New function.
1585 (struct global): New.
1586 (num_globals, globals): New globals.
1587 (add_global, compare_globals, write_globals): New functions.
1588 (scan_c_file): Update for "-g".
1589 (scan_lisp_file): Fail if "-g".
1590
1591 2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
1592
1593 * emacsclient.c: Conform to C89 pointer rules.
1594 (file_name_absolute_p): Accept const char *, not const unsigned
1595 char *, to satisfy C89 rules.
1596
1597 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1598
1599 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
1600 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
1601 (obj): Remove strftime.o.
1602
1603 2011-01-31 Eli Zaretskii <eliz@gnu.org>
1604
1605 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
1606 (ECLIENT_CFLAGS): Remove -DVERSION.
1607 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
1608
1609 2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
1610
1611 src/emacs.c now gets version number from configure.in
1612 * ebrowse.c: Adjust comment to say that.
1613
1614 2011-01-30 Jim Meyering <meyering@redhat.com>
1615
1616 * make-docfile.c: Don't corrupt heap for an invalid .elc file
1617 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
1618 one byte before just-malloc'd saved_string buffer.
1619 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
1620 doc string length. Also fix an always-false while-loop test.
1621
1622 2011-01-29 Eli Zaretskii <eliz@gnu.org>
1623
1624 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
1625 (GETOPTOBJS, GETOPTDEPS): Remove targets.
1626 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1627 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1628 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1629 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1630 (clean): Don't remove getopt.h.
1631 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1632 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1633 $(EMACS_ROOT)/lib/getopt.h.
1634
1635 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1636
1637 * ntlib.c (setregid): New stub, renamed from setegid.
1638
1639 * ntlib.h: Update prototype.
1640
1641 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1642
1643 * movemail.c (main): Use setregid instead of setegid, which is
1644 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
1645
1646 2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
1647
1648 Check return values of some library calls.
1649 * hexl.c (main): Check fread result.
1650 * make-docfile.c (main): Check chdir result.
1651 (scan_c_file): Check fscanf result.
1652 * movemail.c (main): Check ftruncate result.
1653
1654 2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
1655
1656 Include <unistd.h> unilaterally.
1657 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1658 * pop.c, test-distrib.c, update-game-score.c:
1659 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1660 unistd.h is always present now, possibly supplied by gnulib.
1661
1662 Include <getopt.h> not "getopt.h".
1663 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1664 Since getopt.h is no longer in this directory, there's no point
1665 using the form with double-quotes.
1666
1667 Remove unused files.
1668 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1669 These files are now in ../lib, copied from gnulib.
1670
1671 Use gnulib's getopt-gnu module.
1672 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1673 as these are now done by gnulib.
1674 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1675 Remove; now done by gnulib. All uses removed.
1676
1677 Automate syncing from gnulib.
1678 * Makefile.in (EXE_FILES): New macro.
1679 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1680 for gnulib's .h files.
1681 (LOADLIBES): Add ../lib/libgnu.a.
1682 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1683 (../lib/libgnu.a): New rule.
1684
1685 2011-01-08 Paul Eggert <eggert@cs.ucla.edu>
1686
1687 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1688
1689 2011-01-08 Glenn Morris <rgm@gnu.org>
1690
1691 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1692
1693 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1694
1695 2011-01-02 Glenn Morris <rgm@gnu.org>
1696
1697 * ebrowse.c (version) <emacs_copyright>:
1698 * etags.c (print_version) <emacs_copyright>:
1699 * rcs2log (Copyright): Set short copyright year to 2011.
1700
1701 2010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
1702
1703 * ebrowse.c (yylex): If end of input buffer encountered while
1704 searching for a newline after "//", return YYEOF. (Bug#7446)
1705
1706 2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1707
1708 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1709 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1710
1711 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1712
1713 * test-distrib.c: Remove include guards for config.h and fcntl.h.
1714 (O_RDONLY): Do not define.
1715 (cool_read): Fix type for variable "sofar".
1716
1717 2010-10-25 Glenn Morris <rgm@gnu.org>
1718
1719 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1720
1721 2010-10-23 Glenn Morris <rgm@gnu.org>
1722
1723 * digest-doc.c, sorted-doc.c: Remove files.
1724 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1725 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1726 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1727 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1728 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1729 (install): Don't install digest-doc.exe or sorted-doc.exe.
1730
1731 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1732
1733 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1734
1735 2010-10-09 Glenn Morris <rgm@gnu.org>
1736
1737 * b2m.c, b2m.pl: Remove files.
1738 * Makefile.in (INSTALLABLES): Remove b2m.
1739 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1740
1741 2010-10-08 Glenn Morris <rgm@gnu.org>
1742
1743 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1744 DARWIN_USER_TEMP_DIR. (Bug#3992)
1745
1746 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1747
1748 * test-distrib.c (cool_read):
1749 * movemail.c (main, concat):
1750 * make-docfile.c (scan_file, write_c_args):
1751 * emacsclient.c (get_server_config): Fix -Wconversion warning.
1752 (egetenv): Move conditional definition earlier.
1753 (progname): Use const.
1754 * sorted-doc.c (xstrdup): Use const.
1755
1756 * Makefile.in: Remove ^L, old makes choke on it.
1757
1758 2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
1759
1760 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1761 error string (Bug#6963).
1762
1763 2010-10-02 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * makefile.w32-in (tags): Remove target.
1766
1767 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1768
1769 * makefile.w32-in (tags, TAGS): New targets.
1770
1771 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1772
1773 * emacsclient.c (get_server_config): Don't read Emacs pid from
1774 the authentication file.
1775
1776 2010-09-29 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * makefile.w32-in (../src/config.h): Remove target, it is stale.
1779
1780 * emacsclient.c (main): Remove unused variables.
1781 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1782
1783 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1784
1785 * etags.c (compressors, print_language_names): Support xz compression.
1786
1787 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1788
1789 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
1790 popen, fclose and pclose.
1791 (my_name, fatal, error, put_line): Use const char*.
1792 (main): Remove extern getenv, mail_program_name is const char*.
1793
1794 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1795
1796 * sorted-doc.c (error, fatal, states): Use const char *.
1797
1798 * pop.h (pop_multi_first): Use const char *.
1799 (_ARGS): Remove.
1800
1801 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
1802
1803 * movemail.c (fatal, error, concat): Use const char *.
1804
1805 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1806 Use const char *.
1807
1808 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1809 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1810 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1811 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
1812 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
1813 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1814 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1815 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1816 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1817 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1818 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1819 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1820 (no_lang_help, print_language_names)
1821 (get_language_from_interpreter, get_language_from_filename)
1822 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1823 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1824 (concat): Use const char*.
1825
1826 * emacsclient.c (message, sock_err_message, send_to_emacs)
1827 (quote_argument, set_local_socket)
1828 (start_daemon_and_retry_set_socket): Use const char*.
1829
1830 * ebrowse.c (struct member): filename, def_filename is const.
1831 (struct sym): filename, sfilename is const.
1832 (struct kw): name is const.
1833 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1834
1835 * b2m.c (concat, fatal): Use const char*.
1836 (main): Don't assign labels a string literal.
1837
1838 2010-08-07 Juanma Barranquero <lekktu@gmail.com>
1839
1840 * ebrowse.c (usage, version, mark_virtual):
1841 Remove duplicate declarations.
1842
1843 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1844
1845 * emacsclient.c: Move socket related #includes together with the
1846 rest of the #includes. Move WINDOWSNT includes closer together.
1847 (HAVE_CONFIG_H): Remove.
1848 (NO_RETURN): Remove, defined in config.h.
1849 (main): Convert definition to standard C.
1850
1851 2010-07-29 Juanma Barranquero <lekktu@gmail.com>
1852
1853 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1854
1855 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1856
1857 * emacsclient.c (getcwd): Fix previous change: make getcwd
1858 conditional on HAVE_GETCWD and declare with the correct POSIX
1859 profile (for some reason MinGW headers define its 2nd arg as int,
1860 not size_t; but getcwd is not used on Windows nonetheless).
1861
1862 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1863
1864 * emacsclient.c (getcwd, w32_getenv):
1865 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1866
1867 2010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
1868
1869 * update-game-score.c (usage): Add NO_RETURN specifier.
1870 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1871 * make-docfile.c (fatal):
1872 * hexl.c (usage):
1873 * fakemail.c (fatal):
1874 * etags.c (fatal, suggest_asking_for_help, pfatal):
1875 * emacsclient.c (fatal):
1876 * b2m.c (fatal): Likewise.
1877
1878 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1881
1882 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * emacsclient.c (get_current_dir_name, w32_get_resource)
1885 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1886 (close_winsock, initialize_sockets, w32_find_emacs_process)
1887 (w32_give_focus):
1888 * ntlib.c (getlogin, getuid, getgid, getegid):
1889 Convert definitions to standard C.
1890
1891 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
1892
1893 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1894 (PROFILING_LDFLAGS): Set from substitution.
1895 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
1896 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1897 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1898
1899 2010-07-12 Eli Zaretskii <eliz@gnu.org>
1900
1901 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1902 2010-07-12T05:25:46Z!handa@etlken).
1903
1904 2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
1905
1906 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1907 index, rindex.
1908 * movemail.c (mail_spool_name, popmail): Likewise.
1909 * pop.c (pop_list): Likewise.
1910
1911 2010-07-11 Eli Zaretskii <eliz@gnu.org>
1912
1913 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1914 and unexw32.o. (Bug#6603)
1915
1916 2010-07-10 Eli Zaretskii <eliz@gnu.org>
1917
1918 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1919
1920 2010-07-09 Andreas Schwab <schwab@linux-m68k.org>
1921
1922 * make-docfile.c (write_c_args): Restructure scanning loop.
1923
1924 2010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
1925
1926 * make-docfile.c (write_c_args): Deal with type names in DEFUN
1927 arguments.
1928
1929 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
1930
1931 * update-game-score.c (P_): Remove macro.
1932 * ebrowse.c: Remove include guards.
1933 (P_): Remove macro.
1934
1935 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1936
1937 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1938 memcpy, memmove, memset.
1939 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1940
1941 2010-07-06 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 * movemail.c: Add MAIL_USE_POP around prototypes.
1944 Include <string.h> if HAVE_STRING_H.
1945 (strerror): Only declare if !HAVE_STRERROR.
1946 (fatal): Make static.
1947 (error): Likewise.
1948 (pfatal_with_name): Likewise.
1949 (pfatal_and_delete): Likewise.
1950 (concat): Likewise.
1951 (xmalloc): Likewise.
1952 (popmail): Likewise.
1953 (pop_retr): Likewise.
1954 (mbx_write): Likewise.
1955 (mbx_delimit_begin): Likewise.
1956 (mbx_delimit_end): Likewise.
1957
1958 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1959
1960 * fakemail.c (action): Convert function definitions to standard C.
1961 (add_a_stream):
1962 * test-distrib.c (cool_read, main): Likewise.
1963
1964 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1965
1966 * sorted-doc.c (cmpdoc): Fix signature.
1967 (qsort_compare): Delete.
1968 (main): Remove cast.
1969
1970 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1973
1974 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
1975
1976 Fix prototype warnings.
1977
1978 * ebrowse.c (match_qualified_namespace_alias):
1979 Pass sym* to find_namespace, not link*.
1980
1981 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1982
1983 * sorted-doc.c (qsort_compare): New typedef.
1984 (main): Use it to cast cmpdoc.
1985
1986 2010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1987
1988 * update-game-score.c: Convert function definitions to standard C.
1989 * sorted-doc.c:
1990 * profile.c:
1991 * pop.c:
1992 * movemail.c:
1993 * make-docfile.c:
1994 * hexl.c:
1995 * fakemail.c:
1996 * etags.c:
1997 * ebrowse.c:
1998 * digest-doc.c:
1999 * b2m.c: Likewise.
2000
2001 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
2002
2003 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
2004 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
2005 standard C prototypes.
2006
2007 2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
2008
2009 * ebrowse.c: Remove P_ and __P.
2010 * etags.c:
2011 * movemail.c:
2012 * pop.c:
2013 * update-game-score.c: Likewise.
2014
2015 2010-06-24 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * movemail.c (error): Avoid warning when there are no args.
2018
2019 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
2020
2021 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
2022 and vc/ediff-hook.elc.
2023
2024 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
2025
2026 * ntlib.h: Remove code dealing with BSTRING.
2027
2028 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
2029
2030 * emacsclient.c (longopts, decode_options, print_help_and_exit):
2031 New arg `-parent-id'.
2032 (main): Send parent-id to Emacs.
2033
2034 2010-05-27 Glenn Morris <rgm@gnu.org>
2035
2036 * Makefile.in (distclean): No more Makefile.c.
2037
2038 2010-05-22 Jan Djärv <jan.h.d@swipnet.se>
2039
2040 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
2041 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
2042 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
2043 New rules (Bug #6246).
2044 (clean): Remove stamp-* (Bug #6246).
2045
2046 2010-05-12 Glenn Morris <rgm@gnu.org>
2047
2048 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
2049
2050 2010-05-11 Glenn Morris <rgm@gnu.org>
2051
2052 * Makefile.in (.m.o): Remove, there are no .m files.
2053 (BASE_CFLAGS): New variable.
2054 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
2055 (check): Update the message.
2056 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
2057
2058 * Makefile.in: Convert comments to makefile format.
2059
2060 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
2061 (config.h) [MSDOS]: Do not include.
2062
2063 2010-05-10 Glenn Morris <rgm@gnu.org>
2064
2065 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
2066 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
2067 (NOT_C_CODE): Remove, no longer used.
2068 (config.h) [!MSDOS]: No longer include.
2069 (LOADLIBES): Use LIBS_SYSTEM as a variable.
2070
2071 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
2072
2073 2010-05-08 Glenn Morris <rgm@gnu.org>
2074
2075 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
2076
2077 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
2078
2079 * Version 23.2 released.
2080
2081 2010-05-06 Glenn Morris <rgm@gnu.org>
2082
2083 * Makefile.in: Minimize blessmail-related cpp usage.
2084 (BLESSMAIL_TARGET): New variable.
2085 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
2086 (blessmail): Always define this rule.
2087 (need-blessmail): New rule, split out from maybe-blessmail.
2088 (maybe-blessmail): Use BLESSMAIL_TARGET.
2089
2090 2010-05-04 Glenn Morris <rgm@gnu.org>
2091
2092 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
2093 @c_switch_system@, @c_switch_machine@.
2094
2095 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
2096
2097 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
2098
2099 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
2100
2101 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
2102 non-cpp section.
2103
2104 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
2105
2106 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
2107 autoconf, not cpp.
2108 (ALL_CFLAGS): Use them as make variables.
2109
2110 2010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
2111
2112 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
2113 for macros for nmake compatibility.
2114
2115 2010-04-03 Juanma Barranquero <lekktu@gmail.com>
2116
2117 Add stubs for Windows, required after CVE-2010-0825 change.
2118 * ntlib.c (getgid, getegid, setegid): New stubs.
2119 * ntlib.h (getgid, getegid, setegid): Declare them.
2120
2121 2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
2122
2123 * movemail.c (main): Check return values of setuid.
2124 Avoid possibility of symlink attack when movemail is setgid mail
2125 (CVE-2010-0825).
2126
2127 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
2128
2129 Remove extern errno declarations.
2130 * movemail.c:
2131 * etags.c:
2132 * emacsclient.c: Remove extern errno declarations.
2133
2134 2010-03-20 Glenn Morris <rgm@gnu.org>
2135
2136 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2137 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
2138 defining these as Makefile variables.
2139 (LIBS_MOVE): Add LIBS_MAIL into this.
2140 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
2141
2142 2010-03-18 Glenn Morris <rgm@gnu.org>
2143
2144 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2145 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
2146 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
2147
2148 2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
2149
2150 * Makefile.in (uninstall): Handle the case where archlibdir does not
2151 exist. (Bug#5720)
2152
2153 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2154
2155 * Branch for 23.2.
2156
2157 2010-02-20 Kevin Ryde <user42@zip.com.au>
2158
2159 * etags.c (Scheme_functions): Don't loop past a null character
2160 (Bug#5601).
2161
2162 2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
2163
2164 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
2165
2166 2010-01-11 Glenn Morris <rgm@gnu.org>
2167
2168 * ebrowse.c (version):
2169 * etags.c (print_version):
2170 * rcs2log (Copyright): Set copyright year to 2010.
2171
2172 2009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
2173
2174 * makefile.w32-in: Use parenthesis for macros for nmake
2175 compatibility.
2176
2177 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
2178
2179 * etags.c (absolute_filename): Use memmove if we have it for
2180 overlapping copy.
2181
2182 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2183
2184 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
2185
2186 2009-10-15 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * .gitignore: Add echolisp.tmp.
2189
2190 2009-10-15 Glenn Morris <rgm@gnu.org>
2191
2192 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
2193
2194 * makefile.w32-in (echolisp): New rule.
2195 (clean): Delete echolisp.tmp.
2196
2197 2009-09-27 Eli Zaretskii <eliz@gnu.org>
2198
2199 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
2200 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
2201 be consistent with src/Makefile.in.
2202
2203 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * update-game-score.c (main): Sort scores before trimming them,
2206 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
2207
2208 2009-09-09 Glenn Morris <rgm@gnu.org>
2209
2210 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
2211 before creating directories and game score files.
2212
2213 2009-08-19 Glenn Morris <rgm@gnu.org>
2214
2215 * cvtmail.c: Remove file.
2216 * Makefile.in (UTILITIES): Remove cvtmail.
2217 (cvtmail${EXEEXT}): Remove.
2218
2219 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2220
2221 * b2m.c (main): Ensure that each message ends in two newlines.
2222
2223 2009-07-03 Jason Rumney <jasonr@gnu.org>
2224
2225 * emacsclient.c (w32_set_user_model_id): Use standard types.
2226
2227 2009-07-03 Eli Zaretskii <eliz@gnu.org>
2228
2229 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
2230 src/Makefile.in did.
2231
2232 2009-06-30 Jason Rumney <jasonr@gnu.org>
2233
2234 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
2235 that is already loaded.
2236 (w32_set_user_model_id): New function.
2237 (main): Use it to associate emacsclient with emacs (bug#1849).
2238
2239 2009-06-29 Jim Meyering <meyering@redhat.com>
2240
2241 Remove useless if-before-free test.
2242 * make-docfile.c (scan_lisp_file): Remove useless test.
2243
2244 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
2245
2246 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
2247
2248 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
2249
2250 * Branch for 23.1.
2251
2252 2006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
2253
2254 * mac-fix-env.m:
2255 * Makefile.in (mac-fix-env): Remove.
2256
2257 2006-06-06 David Reitter <david.reitter@gmail.com>
2258
2259 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
2260
2261 2009-04-20 Juanma Barranquero <lekktu@gmail.com>
2262
2263 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
2264 spacing is required in the message output, as the comment suggests).
2265
2266 2009-04-20 Chong Yidong <cyd@stupidchicken.com>
2267
2268 * emacsclient.c (print_help_and_exit): Clarify argument placement
2269 for short option names.
2270
2271 2009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
2272
2273 * emacsclient.c (print_help_and_exit): Fix typo.
2274
2275 2009-03-21 Eli Zaretskii <eliz@gnu.org>
2276
2277 * ntlib.c (setuid): Argument is now unsigned.
2278 (getuid): Return value is now unsigned.
2279 (getpwuid): Argument is now unsigned.
2280 (fchown): UID and GID arguments are now unsigned.
2281
2282 * ntlib.h (fchown): UID and GID arguments are now unsigned.
2283 (getuid): Return value is now unsigned.
2284 (setuid): Argument is now unsigned.
2285 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
2286
2287 2009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacsclient.c (main): Revert part of last change, so
2290 drive-relative file names again work on Windows.
2291
2292 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
2295 names without prepending cwd to them, so Emacs uses its customary
2296 rules to determine how to interpret the file name.
2297
2298 2009-03-04 Glenn Morris <rgm@gnu.org>
2299
2300 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
2301
2302 2009-02-13 Sven Joachim <svenjoac@gmx.de>
2303
2304 * movemail.c: Include time.h unconditionally.
2305 (main): Use time_t for time variables.
2306
2307 2009-02-11 Glenn Morris <rgm@gnu.org>
2308
2309 * movemail.c (mbx_delimit_begin): Also write the current time.
2310
2311 2009-02-10 Glenn Morris <rgm@gnu.org>
2312
2313 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
2314 than Babyl format. (Bug#2196)
2315
2316 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
2317
2318 * emacsclient.c (decode_options): Use a dummy display name under
2319 NS/Cocoa.
2320
2321 2009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
2322
2323 * ebrowse.c (matching_regexp): Fix OB1 error.
2324
2325 2009-01-05 Glenn Morris <rgm@gnu.org>
2326
2327 * ebrowse.c (version):
2328 * etags.c (print_version):
2329 * rcs2log (Copyright): Update copyright for 2009.
2330
2331 2009-01-01 Chong Yidong <cyd@stupidchicken.com>
2332
2333 * movemail.c (main): Fatal if hard links cannot be created.
2334
2335 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
2336
2337 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
2338 checking.
2339
2340 2008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
2341
2342 * emacsclient.c: Include syswait.h instead of sys/types.h.
2343
2344 2008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
2345
2346 * emacsclient.c (WCONTINUED): New compatibility define
2347 for older systems.
2348
2349 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2350
2351 * emacsclient.c (main): Fix previous change.
2352
2353 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
2354
2355 * emacsclient.c (main): Fix mindless breakage where emacsclient
2356 does not work *at all* on Windows, even if it *can* connect.
2357
2358 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2359
2360 * emacsclient.c (EMACS_DAEMON): Remove definition.
2361 (decode_options): Do not allow an empty alternate_editor on
2362 WINDOWSNT.
2363 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
2364 (start_daemon_and_retry_set_socket): Likewise.
2365 (main): Fail in case of not being able to connect.
2366
2367 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
2368
2369 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
2370 Changes when EMACS_DAEMON is not defined:
2371 (print_help_and_exit): Don't add daemon information to help.
2372 (start_daemon_and_retry_set_socket): Make a no-op.
2373 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2374
2375 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
2376
2377 * emacsclient.c (print_help_and_exit): Describe what an empty
2378 string argument does for --alternate-editor.
2379 (set_socket): Make it possible to not exit in case of an error.
2380 (start_daemon_and_retry_set_socket): New function.
2381 (main): Use it. Restore the NULL value for socket_name and
2382 server_file after the set_socket call.
2383
2384 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2385
2386 * emacsclient.c: Include <arpa/inet.h>.
2387
2388 2008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
2389
2390 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
2391
2392 2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
2393
2394 * etags.c (add_regex): Pass correct length to re_compile_pattern.
2395
2396 2008-11-02 Chong Yidong <cyd@stupidchicken.com>
2397
2398 * emacsclient.c (window_system): Delete redundant variable.
2399 (decode_options): Don't use it.
2400 (find_tty): New function.
2401 (main): Use find_tty, and don't use window_system.
2402
2403 2008-11-01 Eli Zaretskii <eliz@gnu.org>
2404
2405 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
2406 `ttyname'.
2407 (w32_getenv): Treat $TERM specially: if not found in the
2408 environment and in the Registry, return "w32console".
2409 (ttyname) [WINDOWSNT]: New function.
2410
2411 2008-10-31 Andreas Schwab <schwab@suse.de>
2412
2413 * emacsclient.c (main): Don't force sending tty when in eval mode.
2414
2415 2008-10-30 Chong Yidong <cyd@stupidchicken.com>
2416
2417 * emacsclient.c (main): If using the current frame, send tty
2418 information to Emacs in case daemon mode needs to occupy this tty.
2419
2420 2008-10-29 Juanma Barranquero <lekktu@gmail.com>
2421
2422 * emacsclient.c (EXTRA_SPACE): New macro.
2423 (get_server_config, set_local_socket): Use it.
2424
2425 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
2426 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2427
2428 2008-10-29 Ulrich Mueller <ulm@gentoo.org>
2429
2430 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
2431 instead of hardcoded /tmp.
2432
2433 2008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
2434
2435 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
2436 (decode_options): Use getopt_long_only.
2437
2438 2008-09-30 Eli Zaretskii <eliz@gnu.org>
2439
2440 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
2441 codepage.elc.
2442
2443 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
2444
2445 * emacsclient.c (main): Use stdout rather than stdin to obtain the
2446 terminal (bug#427).
2447
2448 2008-08-25 Francesco Potortì <pot@gnu.org>
2449
2450 * etags.c (main): Do not use static space for the tagfile string.
2451
2452 2008-08-17 Francesco Potortì <pot@gnu.org>
2453
2454 * etags.c (main): Use canonicalize_filename on tags file name.
2455 (relative_filename): Revert 3.85: do not collapse slashes here.
2456 (absolute_dirname): Remove useless call to canonicalize_filename.
2457 (canonicalize_filename): Collapse multiple slashes here.
2458
2459 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2460
2461 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
2462 Do not special case for NS_IMPL_COCOA.
2463
2464 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
2465
2466 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
2467 (.m.o): Dispense with GNUstep-specific flags.
2468
2469 2008-08-05 Ulrich Mueller <ulm@gentoo.org>
2470
2471 * pop.c (socket_connection): Add conditionals for
2472 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
2473 compilation with MIT Kerberos and Heimdal, respectively.
2474
2475 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
2476
2477 * etags.c:
2478 * emacsclient.c: Remove VMS support.
2479
2480 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2481
2482 Remove support for Mac Carbon.
2483 * makefile.w32-in:
2484 * emacsclient.c: Remove code for Carbon.
2485
2486 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
2487
2488 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
2489
2490 2008-07-17 Andreas Schwab <schwab@suse.de>
2491
2492 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
2493 (LIB_STANDARD_LIBSRC): Don't define.
2494 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
2495
2496 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
2497
2498 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
2499 NS_IMPL_COCOA.
2500
2501 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2502
2503 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
2504 Remove, unused.
2505
2506 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
2507
2508 * .cvsignore: Add mac-fix-env.
2509 * mac-fix-env.m: New file, automatically update
2510 ~/.MacOSX/environment.plist on OS X systems to expose environment
2511 variables inside Emacs started from icon.
2512 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
2513 programs to build.
2514 * make-docfile.c: Add .m to list of file extensions.
2515
2516 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
2517
2518 * movemail.c (main): Use int instead of WAITTYPE.
2519
2520 2008-07-05 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
2523 Remove vmsproc.el and vms-patch.el.
2524
2525 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
2526
2527 * makefile.w32-in (obj): Remove w32bdf.o.
2528
2529 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
2530
2531 * fakemail.c: Remove references to obsolete variables.
2532
2533 2008-06-02 Jim Meyering <meyering@redhat.com>
2534
2535 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
2536
2537 Remove useless if-before-free tests.
2538 * ebrowse.c (xfree): Likewise.
2539 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
2540 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
2541 * pop.c (pop_quit): Likewise.
2542
2543 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * makefile.w32-in (lisp2): Add minibuffer.elc.
2546
2547 2008-05-29 Tom Tromey <tromey@redhat.com>
2548
2549 * etags.c (relative_filename): Treat "///" like "/" in filenames.
2550
2551 2008-05-09 Eli Zaretskii <eliz@gnu.org>
2552
2553 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
2554 (IS_DIRECTORY_SEP): New macro.
2555 (convert_time, is_exec, stat): New functions.
2556
2557 2008-05-08 Eli Zaretskii <eliz@gnu.org>
2558
2559 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
2560
2561 2008-05-03 Eli Zaretskii <eliz@gnu.org>
2562
2563 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
2564 corresponding change in src/Makefile.in.
2565
2566 2008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
2567
2568 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
2569
2570 2008-04-10 Jason Rumney <jasonr@gnu.org>
2571
2572 * makefile.w32-in (CLIENTRES): New variable and target.
2573 (TRES): Remove.
2574 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
2575
2576 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2579
2580 2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
2581
2582 * vcdiff: Use mktemp (CVE-2008-1694).
2583
2584 2008-04-09 Jason Rumney <jasonr@gnu.org>
2585
2586 * makefile.w32-in (distclean, maintainer-clean): New targets.
2587
2588 2008-03-13 Glenn Morris <rgm@gnu.org>
2589
2590 * makefile.w32-in (VERSION): Set to 23.0.60.
2591
2592 2008-03-04 Juanma Barranquero <lekktu@gmail.com>
2593
2594 * .cvsignore: Add oo.
2595
2596 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
2597
2598 * etags.c (Perl_functions): Fix call to skip_spaces.
2599
2600 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
2601
2602 * Makefile.in (NO_SHORTNAMES):
2603 * emacsclient.c (NO_SHORTNAMES):
2604 * fakemail.c (NO_SHORTNAMES):
2605 * make-docfile.c (NO_SHORTNAMES):
2606 * movemail.c (NO_SHORTNAMES):
2607 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
2608
2609 2008-02-23 Jason Rumney <jasonr@gnu.org>
2610
2611 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
2612 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
2613 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
2614 (lisp2): Add new languages.
2615 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
2616
2617 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
2618
2619 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
2620 malayalam.el, and tamil.el. Add sinhala.el.
2621
2622 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2625 where NAME is relative to DRIVE'S current directory.
2626
2627 2008-02-15 Juanma Barranquero <lekktu@gmail.com>
2628
2629 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2630
2631 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
2632
2633 * fakemail.c: Undo previous change.
2634
2635 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2636
2637 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2638 (main): Replace MAIL_PROGRAM_NAME with its value.
2639
2640 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
2641
2642 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * emacsclient.c (decode_options): Pass --display implicitly if -c
2645 is specified. Only set tty if -t or -c is specified.
2646
2647 2008-02-04 Jason Rumney <jasonr@gnu.org>
2648
2649 * makefile.w32-in (lisp1): Use (), not {}.
2650
2651 2008-02-04 Tom Tromey <tromey@redhat.com>
2652
2653 * etags.c: Add "GTY" as synonym for __attribute__.
2654 Update gperf output.
2655
2656 2008-02-01 Jason Rumney <jasonr@gnu.org>
2657
2658 * makefile.w32-in (obj): Sync with src/Makefile.in.
2659 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2660 (WINNT_SUPPORT): Add term/w32-win.elc.
2661 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2662
2663 2008-02-01 Jason Rumney <jasonr@gnu.org>
2664
2665 * makefile.w32-in (obj): Add font.o and w32font.o.
2666
2667 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
2668
2669 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
2670 utf-8.elc, and latin-*.el.
2671
2672 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
2675 Allow the -d option under w32 again, for those rare cases where it
2676 actually does make sense.
2677
2678 2008-01-25 Juanma Barranquero <lekktu@gmail.com>
2679
2680 * emacsclient.c (set_tcp_socket): Don't send "\n" after
2681 the authentication string; there's no need to haste.
2682
2683 2008-01-22 Chong Yidong <cyd@stupidchicken.com>
2684
2685 * pop.c (pop_stat, pop_last): Fix last fix.
2686
2687 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2688
2689 * movemail.c: Remove references to XENIX.
2690
2691 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2692
2693 * movemail.c:
2694 * make-docfile.c: Remove reference to symbols defined by systems
2695 not supported anymore: MAC_OS8, XENIX and STRIDE.
2696
2697 2008-01-12 Eli Zaretskii <eliz@gnu.org>
2698
2699 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2700 of DISPLAY in the environment. Don't support -d.
2701 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2702 (longopts) [WINDOWSNT]: Remove --display.
2703
2704 2008-01-10 Chong Yidong <cyd@stupidchicken.com>
2705
2706 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2707 conversion. Mistakes spotted by Nico Golde.
2708
2709 2008-01-09 Glenn Morris <rgm@gnu.org>
2710
2711 * emacsclient.c: Add missing final newlines to message calls.
2712
2713 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
2714
2715 * emacsclient.c (set_socket): Add final newline to socket error message.
2716
2717 2008-01-04 Glenn Morris <rgm@gnu.org>
2718
2719 * ebrowse.c (version) <emacs_copyright>: New variable.
2720 Just use current year for copyright.
2721
2722 * etags.c (print_version):
2723 * rcs2log (Copyright): Update to 2008.
2724
2725 2007-11-28 Jason Rumney <jasonr@gnu.org>
2726
2727 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2728
2729 2007-11-27 Jan Djärv <jan.h.d@swipnet.se>
2730
2731 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2732
2733 2007-11-19 Jan Djärv <jan.h.d@swipnet.se>
2734
2735 * pop.c (socket_connection): Move realhost out of #ifdefs.
2736 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2737
2738 2007-11-18 Jan Djärv <jan.h.d@swipnet.se>
2739
2740 * pop.c (socket_connection): Use getaddrinfo if available.
2741
2742 2007-11-22 Francesco Potortì <pot@gnu.org>
2743
2744 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
2745 as the defaults in ctags are different from etags.
2746
2747 2007-11-15 Francesco Potortì <pot@gnu.org>
2748
2749 * etags.c: Make prototypes for extern definitions, and add all
2750 that are needed to quench warnings on 64-bit.
2751 (main): Use the same defaults for ctags as for etags: find
2752 typedefs, structure tags, macro constants, enum constants, struct
2753 members and global variables.
2754 (make_C_tag) [DEBUG]: Add debugging printout.
2755 (C_entries): In case '}' decrement bracelev before testing it.
2756
2757 2007-11-15 Masatake YAMATO <jet@gyve.org>
2758
2759 * etags.c (C_entries): In case '}', set fvdef to fvnone
2760 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2761
2762 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
2763
2764 * makefile.w32-in (obj): Remove sunfns.o.
2765
2766 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * makefile.w32-in (obj): Remove abbrev.o.
2769
2770 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
2771
2772 * emacsclient.c: Add a wrapper for getenv so it also checks the
2773 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
2774 Code partially based on w32_get_resource and init_environment (w32.c).
2775 (egetenv): New wrapper for getenv.
2776 (get_current_dir_name, decode_options, get_server_config)
2777 (set_local_socket, set_socket, main): Use egetenv, not getenv.
2778 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2779
2780 2007-10-25 Jason Rumney <jasonr@gnu.org>
2781
2782 * emacsclient.c (sock_err_message): New function.
2783 (set_tcp_socket): Use it.
2784
2785 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
2786
2787 * emacsclient.c (print_help_and_exit): Fix space to improve
2788 alignment in output messages.
2789
2790 2007-09-27 Jason Rumney <jasonr@gnu.org>
2791
2792 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2793
2794 * emacsclient.c (w32_window_app): Init common controls when windowed.
2795
2796 2007-09-21 Glenn Morris <rgm@gnu.org>
2797
2798 * emacstool.c: Remove file.
2799 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2800 Delete targets built from emacstool.
2801
2802 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * emacsclient.c (decode_options): -t implies -c.
2805
2806 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2809 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2810 (main_argc): Remove.
2811 (strprefix): Use strncmp.
2812
2813 2007-09-20 Jason Rumney <jasonr@gnu.org>
2814
2815 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2816
2817 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * emacsclient.c (current_frame): Change the default.
2820 (longopts): Replace --current-frame by --create-frame.
2821 (decode_options): Reverse the meaning of -c.
2822 (print_help_and_exit): Update help text accordingly.
2823 (main): Remove the -version and -good-version messages.
2824
2825 2007-09-12 Glenn Morris <rgm@gnu.org>
2826
2827 * Makefile.in (SOURCES, unlock, relock): Delete.
2828
2829 2007-08-29 Glenn Morris <rgm@gnu.org>
2830
2831 * makefile.w32-in (VERSION): Increase to 23.0.50.
2832
2833 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2834
2835 * emacsclient.c (w32_execvp): Move definition before use.
2836 (decode_options): Don't use a tty on mac carbon or windows.
2837
2838 2007-08-29 Jason Rumney <jasonr@gnu.org>
2839
2840 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2841 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
2842 (main): Expand removed macros inline.
2843 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
2844 option.
2845 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2846
2847 2007-08-29 Károly Lőrentey <lorentey@elte.hu>
2848
2849 * emacsclient.c (signal.h): New include.
2850 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2851 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2852 Copy definitions here from src/lisp.h.
2853 (main_argc, main_argv, current_frame, window_system, tty): New vars.
2854 (longopts): Add tty, current-frame.
2855 (xmalloc, xstrdup): New functions.
2856 (get_current_dir_name): New function, copied from src/sysdep.c.
2857 (decode_options): Set display from environment. Add tty and
2858 current_frame options. Make --no-wait imply --current-frame,
2859 except when it is the only option given. Make sure no frame is
2860 opened when --current-frame is set.
2861 (print_help_and_exit): Document tty and current-frame options.
2862 (fail): Change arguments to void.
2863 (main): When sockets are not defined, set main_argc, main_argv,
2864 and call fail() with no arguments.
2865 (emacs_socket): New variable (moved out from main `s').
2866 (quote_file_name): Rename to quote_argument.
2867 (quote_argument): New name for old quote_file_name.
2868 (unquote_argument, strprefix, pass_signal_to_emacs)
2869 (handle_sigcont, handle_sigtstp, init_signals): New functions.
2870 (set_local_socket): Initialize saved_errno to 0. If socket-name
2871 is too long, call `fail' rather than `exit'.
2872 (main): Doc update. Set main_argc, main_argv. New var `str'.
2873 Don't need a filename or argument if tty or window_system set.
2874 Call fail with no arguments. Use get_current_dir_name to send
2875 over the current directory. Send version number to Emacs for
2876 verification. If tty is set, check TERM, and pass name and type
2877 to Emacs. Pass window_system to Emacs. Move sending of eval to
2878 optind loop. Send -position, -file to Emacs. Call fsync after
2879 fflush. Check for a client/server version match.
2880 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2881 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
2882 close the connection for us. When creating a new frame, send
2883 environment and pwd to Emacs. Send current-frame to Emacs.
2884
2885 2007-08-25 Eli Zaretskii <eliz@gnu.org>
2886
2887 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2888 Prepend "-" to the command, in case srcdir=. and file is copied
2889 into itself.
2890
2891 2007-07-25 Glenn Morris <rgm@gnu.org>
2892
2893 * Relicense all FSF files to GPLv3 or later.
2894
2895 * COPYING: Switch to GPLv3.
2896
2897 2007-07-17 Francesco Potortì <pot@gnu.org>
2898
2899 * etags.c (C_entries): Reset the fvdef machine when out of function.
2900 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2901 (print_help): Use it in if() rather than #if.
2902 (print_help): Conditionally print help about --no-line-directive.
2903
2904 2007-07-16 Eli Zaretskii <eliz@gnu.org>
2905
2906 * makefile.w32-in (clean): Don't delete *~.
2907
2908 2007-06-07 Glenn Morris <rgm@gnu.org>
2909
2910 * etags.c (print_version): Add `emacs_copyright' string, for
2911 easier automatic updating.
2912
2913 2007-05-18 Francesco Potortì <pot@gnu.org>
2914
2915 * etags.c: Extern definitions of some more pointer functions for
2916 standalone compilation, especially important for 64bit platforms.
2917 (main, print_help): --members is now the default for etags.
2918 (C_entries): Parse start of C comment as a space == end of token.
2919 This is not necessary for C++ comment, already parsed as newline.
2920
2921 2007-04-26 Glenn Morris <rgm@gnu.org>
2922
2923 * makefile.w32-in (VERSION): Increase to 22.1.50.
2924
2925 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
2926
2927 * Version 22.1 released.
2928
2929 2007-02-26 Francesco Potortì <pot@gnu.org>
2930
2931 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2932
2933 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2934
2935 * Makefile.in (EMACS, EMACSOPT): New variables.
2936 (blessmail): Use `--no-site-file' when compiling.
2937
2938 2007-02-05 Francesco Potortì <pot@gnu.org>
2939
2940 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2941 (main): Now --members is the default for etags, not for ctags yet.
2942
2943 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
2944
2945 * etags.c (gperf, in_word_set): Change attribute for Java to
2946 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
2947 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
2948 import, package, extends, implements and interface to be treated
2949 specially for all kinds of C-style files, not just Java files.
2950
2951 2007-01-02 Francesco Potortì <pot@gnu.org>
2952
2953 * etags.c (longopts): New undocumented option --no-duplicates.
2954 (no_duplicates): Static variables for the above option.
2955 (print_help): Do not print help for --no-warn, now undocumented.
2956 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2957 (main): Pass the -u option to sort in ctags mode.
2958
2959 2006-12-28 Francesco Potortì <pot@gnu.org>
2960
2961 * etags.c (readline): When creating a relative file name from a
2962 #line directive, leave the file name alone. The previous
2963 behavior was to make it relative to the tags file directory,
2964 under the hypothesis that the #line directive file name was
2965 relative to the directory of the tagged file. That hypothesis is
2966 wrong with Cpp and Lex.
2967 (Makefile_targets): Do not include spaces in tag names.
2968
2969 2006-12-22 Eli Zaretskii <eliz@gnu.org>
2970
2971 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2972 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2973 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2974 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2975 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2976 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2977 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2978 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
2979 (clean): Delete stamp_BLD.
2980
2981 2006-12-20 Francesco Potortì <pot@gnu.org>
2982
2983 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2984
2985 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2988 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2989 (main) [WINDOWSNT]: Remove code to release the focus; call
2990 w32_give_focus instead.
2991
2992 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
2993
2994 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2995 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2996 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2997 Suggestions and comment by Eli Zaretskii.
2998
2999 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
3000
3001 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
3002 Use $(USER32) for compatibility with Visual Studio .NET 2003.
3003
3004 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
3005
3006 * emacsclient.c (emacs_pid): New variable.
3007 (message): Remove leftover code.
3008 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
3009 focus yet; emacsclient can still display an informational message
3010 before sending requests to Emacs.
3011 (main): Allow Emacs to grab the focus. Simplify message() call.
3012
3013 2006-11-30 Michael Mauger <mmaug@yahoo.com>
3014
3015 * emacsclient.c (message): Make sure the message is properly
3016 written even if it contains printf escapes, and flush the result.
3017 (set_tcp_socket): Make the message for non-local connections
3018 informational rather than an error.
3019
3020 2006-11-28 Kevin Ryde <user42@zip.com.au>
3021
3022 * etags.c (readline): Check for double quote after #line.
3023
3024 2006-11-28 Jan Djärv <jan.h.d@swipnet.se>
3025
3026 * etags.c (readline): sscanf could in principle return 2.
3027
3028 2006-11-28 Francesco Potortì <pot@gnu.org>
3029
3030 * etags.c (readline): lno is unsigned.
3031 (TeX_commands): Use p++ (rather than *p++) to increment p.
3032 (Lua_functions): Explicitly discard LOOKING_AT's return value.
3033
3034 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
3035
3036 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
3037 ($(TRES)): New rule (copied from nt/makefile.w32-in).
3038 ($(BLD)/emacsclientw.exe): Add dependency.
3039
3040 2006-11-27 Eli Zaretskii <eliz@gnu.org>
3041
3042 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
3043
3044 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
3045
3046 * makefile.w32-in (VERSION): New macro.
3047 (ECLIENT_CFLAGS): Add -DVERSION.
3048
3049 2006-11-25 Jason Rumney <jasonr@gnu.org>
3050
3051 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
3052
3053 2006-11-24 Michael Mauger <mmaug@yahoo.com>
3054
3055 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
3056 file names with forward slashes.
3057
3058 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
3059
3060 * emacsclient.c (print_help_and_exit): Tweak message contents and
3061 tabs/spaces to improve alignment in message boxes.
3062
3063 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
3064
3065 * emacsclient.c: Include <stdarg.h>.
3066 [WINDOWSNT]: Include <windows.h>.
3067 (w32_check_console_app): New function.
3068 (message): New function.
3069 (decode_options, print_help_and_exit, fail, main)
3070 (initialize_sockets, get_server_config, set_tcp_socket)
3071 (set_local_socket, set_socket): Use message().
3072
3073 2006-11-13 Jason Rumney <jasonr@gnu.org>
3074
3075 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
3076 HAVE_INET_SOCKETS.
3077
3078 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
3079
3080 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
3081 ($(BLD)/emacsclientw.exe): New target.
3082 (install): Install emacsclientw.exe.
3083 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
3084 (ECLIENT_CFLAGS): Remove redundant flags.
3085
3086 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
3087
3088 2006-11-13 Jason Rumney <jasonr@gnu.org>
3089
3090 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
3091
3092 2006-11-10 David Reitter <david.reitter@gmail.com>
3093
3094 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
3095
3096 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
3097
3098 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
3099 FARPROC to avoid a compiler warning.
3100
3101 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
3102
3103 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
3104 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
3105
3106 * emacsclient.c (get_server_config): Extract also the Emacs pid
3107 from the server file. On Windows, try to force the Emacs frame to
3108 the foreground.
3109
3110 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
3111
3112 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
3113 option --socket-name.
3114 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
3115 command line options.
3116 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
3117 (fail): Don't check for missing arguments, it is now done in set_socket.
3118 (file_name_absolute_p): New function (loosely based on the one in
3119 fileio.c).
3120 (initialize_sockets): Don't check for duplicate loading of Winsock.
3121 (get_server_config): Only try relative paths in the default
3122 directory locations.
3123 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
3124 a remote server.
3125 (set_socket): Call INITIALIZE(). Search explicit command-line
3126 arguments, then environment variable EMACS_SERVER_FILE, then implicit
3127 socket paths, before trying the alternate editor.
3128 (main): Use file_name_absolute_p.
3129
3130 2006-11-04 Eli Zaretskii <eliz@gnu.org>
3131
3132 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
3133 file if it doesn't already exist.
3134
3135 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
3136
3137 * emacsclient.c (initialize_sockets): Don't initialize Winsock
3138 more than once.
3139
3140 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
3141
3142 * Makefile.in (INSTALL_SCRIPT): New macro.
3143 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
3144
3145 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
3146
3147 * grep-changelog: When called with no arguments (not even a
3148 filter), show help instead of blindingly dumping every single
3149 ChangeLog available. Doc fix. Update version.
3150
3151 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com>
3152
3153 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
3154 [!WINDOWSNT]: Include <netinet/in.h> if available.
3155 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
3156 (IOCTL, IOCTL_BOOL_ARG): Remove.
3157 (set_tcp_socket): Don't set the socket in blocking mode.
3158 Remove c_arg.
3159
3160 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
3163 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
3164
3165 2006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
3166
3167 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
3168 (close_winsock): Declare as __cdecl.
3169
3170 2006-10-31 Jan Djärv <jan.h.d@swipnet.se>
3171
3172 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
3173 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
3174 to set the socket in non-blocking mode.
3175
3176 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com>
3177
3178 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
3179 (INVALID_SOCKET): Define.
3180 (initialize_sockets): Put #endif at the right place.
3181 (set_local_socket): Use progname, not argv[0].
3182
3183 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
3184
3185 * makefile.w32-in (ALL): Add emacsclient.
3186 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
3187 (emacsclient, $(BLD)/emacsclient.exe): New targets.
3188 (install): Install emacsclient.
3189
3190 * emacsclient.c: Add support for TCP sockets.
3191 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
3192 (INITIALIZE): New macros.
3193 (IOCTL_BOOL_ARG): New typedef.
3194 (server_file): New global variable.
3195 (longopts): New option --server-file.
3196 (decode_options): Process new option --server-file and environment
3197 variable EMACS_SERVER_FILE.
3198 (print_help_and_exit): Document new option.
3199 (fail): If no connection available and no alternate editor,
3200 suggest using options to make them explicit.
3201 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
3202 (send_buffer, sblen): New variables.
3203 (send_to_emacs): New function to buffer output and send it with `send'.
3204 (quote_file_name): Use SEND_STRING.
3205 (close_winsock, initialize_sockets): New functions to load and
3206 unload Winsock.
3207 (get_server_config, set_tcp_socket): New functions to create and
3208 set up TCP sockets.
3209 (set_local_socket): New function to create and set up Unix
3210 socket (code moved from previous implementation).
3211 (set_socket): New function to choose between TCP and Unix sockets.
3212 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
3213 set_local_socket. Use set_socket. Get answers from server.el with
3214 recv(), not file stream functions.
3215
3216 2006-10-09 Eli Zaretskii <eliz@gnu.org>
3217
3218 * makefile.w32-in (../src/config.h): Fix error message.
3219
3220 2006-09-30 Eli Zaretskii <eliz@gnu.org>
3221
3222 * .cvsignore: Add blessmail.
3223
3224 2006-09-15 Jay Belanger <belanger@truman.edu>
3225
3226 * COPYING: Replace "Library Public License" by "Lesser Public
3227 License" throughout.
3228
3229 2006-08-09 Jan Djärv <jan.h.d@swipnet.se>
3230
3231 * etags.c (readline): Expect sscanf returns >= 1.
3232 (readline): Change position on %n and \" in sscanf.
3233
3234 2006-08-07 Masatake YAMATO <jet@gyve.org>
3235
3236 * etags.c (readline): Expect sscanf returns 2, not 1.
3237
3238 2006-08-07 Masatake YAMATO <jet@gyve.org>
3239
3240 * etags.c (TEX_mode): Check getc returns EOF.
3241 File ended without newline causes infinite loop.
3242
3243 2006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
3244
3245 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
3246
3247 2006-07-30 Francesco Potortì <pot@gnu.org>
3248
3249 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
3250 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
3251 (Objc_suffixes): Suggest using --lang=c for full help.
3252 (C_entries): Initialize savetoken to 0 to shut up the compiler.
3253
3254 2006-07-20 Andreas Schwab <schwab@suse.de>
3255
3256 * fakemail.c (fatal): Drop second parameter and treat first
3257 parameter as a plain string. Callers changed.
3258
3259 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
3260
3261 * ebrowse.c (usage, version): Mark as NO_RETURN.
3262
3263 * emacsclient.c (print_help_and_exit): Likewise.
3264
3265 2006-07-10 Francesco Potortì <pot@gnu.org>
3266
3267 * etags.c (absolute_filename): Free unused space (cosmetic change).
3268 (in_word_set): In C, also tag #undef symbols.
3269
3270 2006-06-09 Eli Zaretskii <eliz@gnu.org>
3271
3272 * yow.c: Remove file.
3273
3274 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
3275
3276 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
3277 yow${EXEEXT}: Remove target.
3278
3279 2006-06-04 Masatake YAMATO <jet@gyve.org>
3280
3281 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
3282 doesn't exist, is not seekable, not is failed in ftall.
3283
3284 2006-06-03 Eli Zaretskii <eliz@gnu.org>
3285
3286 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
3287 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
3288 ($(BLD)/test-distrib.exe): New targets.
3289 (sorted-doc, digest-doc, test-distrib): New targets.
3290 (install): Install sorted-doc.exe and digest-doc.exe.
3291 ($(BLD)/sorted-doc.$(O)): Update dependencies.
3292
3293 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3294 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3295 terminal device.
3296
3297 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3298 [WINDOWSNT] <top level>: Don't redeclare malloc.
3299 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3300 terminal device.
3301 (main): Initialize bp, to avoid compiler warnings.
3302
3303 * makefile.w32-in: Delete traces of leditcfns.c.
3304
3305 * leditcfns.c: Remove file.
3306
3307 2006-05-23 Francesco Potortì <pot@gnu.org>
3308
3309 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
3310 Add comments explaining why the "kpop" service is never used.
3311
3312 2006-05-13 Eli Zaretskii <eliz@gnu.org>
3313
3314 * makefile.w32-in (lisp1): Add fringe.elc.
3315
3316 2006-05-02 Francesco Potortì <pot@gnu.org>
3317
3318 * etags.c (Perl_functions): Free space allocated for var package.
3319 (Erlang_functions): Possibly free space allocated for var last.
3320 (Prolog_functions): Possibly free space allocated for var last.
3321
3322 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
3323
3324 * sorted-doc.c (main): Initialize docs to NULL.
3325
3326 * yow.c (yow): Free buf.
3327
3328 * etags.c: Delete c-indentation-style local variable.
3329
3330 2006-04-29 Richard Stallman <rms@gnu.org>
3331
3332 * movemail.c (main): Check for negative value from `read'.
3333
3334 * fakemail.c (read_header): Give fatal error if input has no header.
3335
3336 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
3337
3338 * b2m.c (main): Don't include <limits.h>.
3339 (TM_YEAR_BASE): New macro.
3340 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
3341 that s/ files can override this. Use the more-conservative range
3342 1000-9999.
3343 (main): Check for asctime returning NULL.
3344 * fakemail.c: Likewise.
3345
3346 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
3347
3348 * b2m.c: Include <limits.h>.
3349 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
3350 (main): Check for out-of-range time stamps.
3351 * fakemail.c: Likewise.
3352
3353 2006-03-18 Andre Spiegel <spiegel@gnu.org>
3354
3355 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
3356 execute $DIFF twice, and once with the wrong options.
3357
3358 2006-02-23 Claudio Fontana <claudio@gnu.org>
3359
3360 * Makefile.in (install, uninstall): Add DESTDIR variable to
3361 support staged installations.
3362
3363 2005-12-30 Eli Zaretskii <eliz@gnu.org>
3364
3365 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
3366 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
3367 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
3368 Rearrange the list to be similar to $(shortlisp) in
3369 src/Makefile.in.
3370 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
3371 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
3372 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
3373 src/Makefile.in.
3374
3375 2005-12-22 Richard M. Stallman <rms@gnu.org>
3376
3377 * Makefile.in (update-game-score.o): Delete spurious final `\'.
3378
3379 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
3380
3381 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
3382 which was never opened.
3383
3384 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
3385
3386 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
3387 header files.)
3388
3389 2005-09-27 Francesco Potortì <pot@gnu.org>
3390
3391 * etags.c: Preliminary Forth support.
3392 (prolog_pr): Cast strlen to int before comparison.
3393 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
3394 the second argument is indeed a literal string.
3395 (main): In append mode, sort the tags file after writing it.
3396
3397 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
3398
3399 * etags.c (longopts, print_help, main): The -a (--append) option
3400 can be used in ctags also; for one, the Linux make file uses it.
3401
3402 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
3403
3404 * ebrowse.c (add_sym): Compare namespace names instead of
3405 namespace objects. This prevents the parser from incorrectly
3406 treating classes whose superclass is in another namespace.
3407
3408 2005-09-15 Richard M. Stallman <rms@gnu.org>
3409
3410 * Makefile.in (update-game-score.o): New target.
3411 Compile and link this program separately.
3412 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
3413
3414 2005-09-11 Jason Rumney <jasonr@gnu.org>
3415
3416 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
3417 message instead.
3418 (../src/paths.h): Remove.
3419
3420 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
3421
3422 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
3423 generated. Ignore also ctags.c and getopt.h.
3424
3425 * makefile.w32-in (clean): Delete getopt.h.
3426 (getopt.h): New rule.
3427
3428 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
3429
3430 Merge gnulib getopt implementation into Emacs.
3431
3432 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
3433 (GETOPT_H): New macro, from gnulib.
3434 (getopt.h): New rule, from gnulib.
3435 (GETOPTOBJS): Now autoconfigured.
3436 (GETOPTDEPS): getopt.h is now autoconfigured.
3437 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
3438 (getopt.o): Depend on ${srcdir}/gettext.h.
3439 (movemail.o): Depend on $(GETOPT_H).
3440 * getopt.c, getopt1.c: Sync from gnulib.
3441 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
3442 * getopt.h: Removed (now is getopt_.h).
3443
3444 2005-07-13 Ken Raeburn <raeburn@gnu.org>
3445
3446 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
3447 (sendline): Add the \r\n to the line in a temporary buffer, and write
3448 it all at once.
3449
3450 2005-07-04 Lute Kamstra <lute@gnu.org>
3451
3452 Update FSF's address in GPL notices.
3453
3454 2005-06-13 Eli Zaretskii <eliz@gnu.org>
3455
3456 * makefile.w32-in ($(DOC)): Fix last change.
3457
3458 2005-06-12 Eli Zaretskii <eliz@gnu.org>
3459
3460 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
3461 temacs.exe, and the preloaded *.elc files. This avoids
3462 unnecessary dumping and DOC rebuilding.
3463
3464 2005-06-04 Eli Zaretskii <eliz@gnu.org>
3465
3466 * ntlib.h (fileno): Don't define if already defined.
3467
3468 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3469
3470 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
3471 (yow): Use EXIT_FAILURE in case of memory error.
3472
3473 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3474
3475 * make-docfile.c (DIRECTORY_SEP): New macro.
3476 (IS_DIRECTORY_SEP): Use it.
3477
3478 2005-03-18 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
3481
3482 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3483
3484 * make-docfile.c: Undo previous change.
3485
3486 2005-02-04 Andreas Schwab <schwab@suse.de>
3487
3488 * movemail.c (fatal): Accept third parameter and pass down to error.
3489 (pfatal_with_name): Pass error string as format parameter instead of
3490 as part of format string.
3491 (pfatal_and_delete): Likewise.
3492 (main): Adjust call to fatal.
3493 (xmalloc): Likewise.
3494
3495 2005-01-29 Richard M. Stallman <rms@gnu.org>
3496
3497 * movemail.c (popmail): Don't use Errmsg as format string.
3498
3499 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3500
3501 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
3502
3503 2004-12-15 Andreas Schwab <schwab@suse.de>
3504
3505 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
3506 preprocessing to compile time constant.
3507
3508 2004-11-17 Kim F. Storm <storm@cua.dk>
3509
3510 * etags.c: Undo last change.
3511
3512 2004-11-09 Kim F. Storm <storm@cua.dk>
3513
3514 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
3515 silence compiler.
3516
3517 * hexl.c (main): Init local var c to silence compiler.
3518
3519 * etags.c (main, consider_token, C_entries): Add misc switch
3520 default targets to silence compiler.
3521
3522 2004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3523
3524 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
3525 resulting DOC file can be used on Unix/Mac also.
3526
3527 2004-09-13 Francesco Potortì <pot@gnu.org>
3528
3529 * etags.c (main): When relative file names are given as argument,
3530 make them relative to the current working dir, rather than
3531 relative to the output tags file, if the latter is in /dev.
3532
3533 2004-09-13 Francesco Potortì <pot@gnu.org>
3534
3535 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
3536 <stdlib.h> is available.
3537 (enum sym_type): New st_C_attribute value for parsing
3538 gcc's __attribute__. Deleted st_C_typespec value.
3539 (gperf, in_word_set): Use gperf 3, options changed. Added the
3540 __attribute__ keyword, removed all the st_C_typespec keywords,
3541 changed attribute for Java to (C_JAVA & !C_PLPL).
3542 (inattribute): New global bool, part of the C state machine.
3543 (cblev): Identifier renamed to bracelev throughout.
3544 (consider_token, C_entries): Numerous changes for making the
3545 parser more robust and adding support for __attribute__.
3546
3547 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
3548
3549 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
3550 Support the Lua scripting language <http://www.lua.org>.
3551
3552 2004-09-08 Francesco Potortì <pot@gnu.org>
3553
3554 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
3555 for ease of use.
3556
3557 2004-07-17 Richard M. Stallman <rms@gnu.org>
3558
3559 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
3560
3561 2004-06-01 Juanma Barranquero <lektu@terra.es>
3562
3563 * makefile.w32-in (obj): Add image.c.
3564
3565 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
3566
3567 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
3568
3569 2004-05-08 Jason Rumney <jasonr@gnu.org>
3570
3571 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
3572 command-lines.
3573
3574 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3575
3576 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
3577 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
3578 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3579
3580 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
3581 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
3582 * test-distrib.c, update-game-score.c, yow.c: Likewise.
3583
3584 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
3585
3586 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
3587
3588 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
3589
3590 * b2m.c (GOOD, BAD): Delete macros. Throughout,
3591 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
3592 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3593
3594 * etags.c: Likewise.
3595
3596 2004-05-03 Jason Rumney <jasonr@gnu.org>
3597
3598 * makefile.nt: Remove.
3599
3600 2004-04-26 Eli Zaretskii <eliz@gnu.org>
3601
3602 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
3603 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
3604 instead of a literal '/'.
3605
3606 2004-04-23 Juanma Barranquero <lektu@terra.es>
3607
3608 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
3609
3610 2004-04-17 Paul Eggert <eggert@gnu.org>
3611
3612 * rcs2log (Help): Clarify wording of the usage message.
3613 Reported by Alan Mackenzie in
3614 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
3615
3616 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * make-docfile.c (xmalloc): Fix return type.
3619 (put_filename): New fun.
3620 (scan_file): Use it.
3621
3622 2004-03-09 Juanma Barranquero <lektu@terra.es>
3623
3624 * grep-changelog: Changes to support ChangeLog.10+.
3625 (main): Tidy up usage string. Fix "Use of uninitialized value"
3626 warning. Set version to 0.2. Parse the directory listing to get
3627 any ChangeLog.n file, not just 1..9.
3628 (header_match_p, entry_match_p, print_log, parse_changelog):
3629 Remove Perl prototypes (their purpose is to help the parser, which
3630 isn't needed here, not declare arguments).
3631 (parse_changelog): Make --reverse faster on big batches by not
3632 modifying the entries list.
3633
3634 2004-03-01 Juanma Barranquero <lektu@terra.es>
3635
3636 * makefile.w32-in (obj): Add fringe.c.
3637
3638 2004-02-14 Paul Eggert <eggert@twinsun.com>
3639
3640 * rcs2log: Work correctly if CVSROOT specifies :fork: or
3641 :local: methods, or omits the colon between the hostname
3642 and the path. Allow :/ in repository path, since CVS does.
3643 Fix typo: "pository" should be set from $CVSROOT, not $repository.
3644 This fixes a bug reported by Wolfgang Scherer in
3645 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3646 along with some related bugs I discovered by inspecting how
3647 CVS itself parses $CVSROOT.
3648
3649 2004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
3650
3651 * emacsclient.c (decode_options): Fix handling of alternate editor.
3652
3653 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * emacsclient.c (main): Don't use the hostname in the socket name.
3656 Look for relative socket names in the /tmp dir rather than in cwd.
3657
3658 2004-01-24 Richard M. Stallman <rms@gnu.org>
3659
3660 * emacsclient.c (main): Restore errno from saved_errno,
3661 so the error message comes from socket_status.
3662
3663 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * emacsclient.c (main): Stop if socket name too long.
3666 Only try su-fallback if the socket name was not explicit.
3667 Check socket name length in su-fallback case as well.
3668
3669 2004-01-08 Andreas Schwab <schwab@suse.de>
3670
3671 * emacsclient.c (main): Save errno from socket_status.
3672
3673 2004-01-04 Andreas Schwab <schwab@suse.de>
3674
3675 * emacsclient.c (main): Fix socket name when using another user.
3676
3677 2003-12-27 Paul Eggert <eggert@twinsun.com>
3678
3679 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3680 a tag, and if the user has not specified an rlog option.
3681 Adapted from a suggestion by Martin Stjernholm in
3682 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3683 (Copyright): Update to 2003.
3684
3685 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
3686
3687 * make-docfile.c (main): For return code, no longer special-case VMS.
3688 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3689
3690 2003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
3691
3692 * emacsclient.c (quote_file_name): Print the result instead of
3693 returning it. Fix the return type accordingly.
3694 (main): With --eval, if no file name, read from stdin.
3695 Quote file names.
3696
3697 2003-09-10 Richard M. Stallman <rms@gnu.org>
3698
3699 * emacsclient.c (main): Use socket_name.
3700
3701 2003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
3702
3703 * emacsclient.c (socket_name): New variable.
3704 (longopts, decode_options, print_help_and_exit):
3705 Handle --socket-name argument.
3706
3707 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
3708
3709 * etags.c (consider_token): Check C++ `operator' only when the
3710 token len is long enough.
3711
3712 2003-08-20 Dave Love <fx@gnu.org>
3713
3714 * Makefile.in: Remove obsolete references to alloca.
3715
3716 2003-07-29 Ken Brush <ken@wirex.com>
3717
3718 * emacsclient.c (main)
3719 * etags.c (suggest_asking_for_help)
3720 * movemail.c (main): Fix having macros in a printf statement.
3721
3722 2003-05-31 Juanma Barranquero <lektu@terra.es>
3723
3724 * makefile.w32-in (lisp): Fix references to byte-run.el,
3725 float-sup.el and map-ynp.el, which are now in emacs-lisp.
3726
3727 2003-05-22 Dave Love <fx@gnu.org>
3728
3729 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3730 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3731
3732 2003-05-20 Dave Love <fx@gnu.org>
3733
3734 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3735
3736 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3737
3738 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
3739
3740 * update-game-score.c (read_scores): Fix corruption of scores on read.
3741
3742 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3743
3744 * emacsclient.c (main): Use new safe location for socket.
3745
3746 2003-03-12 Tom Tromey <tromey@redhat.com>
3747
3748 * emacsclient.c (print_help_and_exit): Print to stdout.
3749 Exit successfully. Added some blank lines for readability.
3750 (decode_options): Don't call print_help_and_exit in default case.
3751 Print version information to stdout.
3752 (main): Don't call print_help_and_exit.
3753
3754 2003-02-15 Richard M. Stallman <rms@gnu.org>
3755
3756 * cvtmail.c: Cast result of malloc and realloc.
3757 Don't include stdlib.h, because config.h does.
3758 (malloc, realloc): Declarations deleted.
3759
3760 * yow.c (yow): Cast result of malloc and realloc.
3761 (malloc, realloc): Declarations deleted.
3762
3763 2003-02-11 Juanma Barranquero <lektu@terra.es>
3764
3765 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3766
3767 2003-02-08 Andreas Schwab <schwab@suse.de>
3768
3769 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3770 instead of the substitution.
3771
3772 2003-02-04 Richard M. Stallman <rms@gnu.org>
3773
3774 * update-game-score.c (push_score, read_scores): Cast values
3775 of malloc and realloc.
3776 (main, lock_file): Avoid assignment inside if.
3777
3778 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
3779
3780 * Makefile.in: Use @EXEEXT@ for Cygwin.
3781
3782 2003-01-21 Dave Love <fx@gnu.org>
3783
3784 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3785 column-0 `('.
3786
3787 * yow.c: Don't include string.h.
3788
3789 2003-01-20 Richard M. Stallman <rms@gnu.org>
3790
3791 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3792 New targets.
3793
3794 2003-01-06 Kim F. Storm <storm@cua.dk>
3795
3796 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
3797 All uses changed.
3798
3799 2002-12-18 Andrew Innes <andrewi@gnu.org>
3800
3801 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3802 because GNU make doesn't append when using >> redirection.
3803
3804 2002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3805
3806 * b2m.pl: Make sure every message ends with a blank line, because
3807 some mbox parsers require a blank line before "From " lines.
3808
3809 2002-12-08 Richard M. Stallman <rms@gnu.org>
3810
3811 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3812 (_): Test only HAVE_LIBINTL_H to decide what to do.
3813
3814 2002-12-05 Richard M. Stallman <rms@gnu.org>
3815
3816 * getopt.c: Comment out include of libintl.h or gettext.h.
3817
3818 2002-12-04 Richard M. Stallman <rms@gnu.org>
3819
3820 * Update getopt from gnulib version; changes described below.
3821
3822 * getopt1.c: Conditionally find getopt.h.
3823 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3824
3825 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3826 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
3827 (wchar.h): Include, maybe.
3828 (attribute_hidden): Define if not defined.
3829 (__getopt_initialized): Use attribute_hidden.
3830 (__libc_argc, __libc_argv): Rename from original_argc, etc.
3831 (__getopt_nonoption_flags, nonoption_flags_max_len)
3832 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3833 (SWAP_FLAGS): New definitions.
3834 (exchange): Test USE_NONOPTION_FLAGS.
3835 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3836 (_getopt_internal): Error if argc < 1. New local var print_errors.
3837 Improve test for ambiguous long option.
3838 Add LIBIO support for error message output.
3839 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3840
3841 * getopt.h: Maybe include ctype.h.
3842 Treat __cplusplus like __STDC__.
3843 (decls): Use __ in arg names.
3844
3845 2002-12-02 Stephen Eglen <stephen@gnu.org>
3846
3847 * emacsclient.c (main): Tell user how to start server within Emacs
3848 if socket could not be found.
3849
3850 2002-12-02 Richard M. Stallman <rms@gnu.org>
3851
3852 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3853
3854 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
3855
3856 * makefile.w32-in: Fixed a bug that caused the documentation for
3857 the built in function play-sound-internal not to be included in
3858 /etc/DOC.
3859
3860 2002-11-18 Dave Love <fx@gnu.org>
3861
3862 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3863 fcntl.h, stdarg.h conditionally.
3864 (_GNU_SOURCE, __attribute__): Don't define.
3865 (optarg, optind, opterr): Declare.
3866 (lose, lose_syserr): Use NO_RETURN.
3867 (get_user_id): Use P_.
3868
3869 2002-11-17 Richard M. Stallman <rms@gnu.org>
3870
3871 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3872
3873 2002-11-14 Dave Love <fx@gnu.org>
3874
3875 * movemail.c (pop_retr): Declare comment.
3876
3877 * make-docfile.c (read_c_string_or_comment): Declare msgno.
3878
3879 * Makefile.in (YACC): Delete.
3880
3881 2002-10-19 Andreas Schwab <schwab@suse.de>
3882
3883 * Makefile.in (${archlibdir}): Always create $(gamedir).
3884 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3885
3886 2002-10-04 Juanma Barranquero <lektu@terra.es>
3887
3888 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3889
3890 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
3891
3892 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3893 completely.
3894
3895 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
3896
3897 * emacsclient.c: Remove SYSV support.
3898 (eval, display): New vars.
3899 (longopts): Add --eval and --display.
3900 (decode_options): Add -e and -d processing.
3901 (print_help_and_exit): Update the usage string.
3902 (main): Add support for --eval and --display.
3903 (main): Always use /tmp and non-qualified hostname.
3904
3905 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
3906
3907 * emacsserver.c: Remove.
3908
3909 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
3910
3911 * emacsclient.c (quote_file_name): Quote \n.
3912 (main): Print a final \n when needed.
3913
3914 2002-09-03 Francesco Potortì <pot@gnu.org>
3915
3916 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3917 string that cannot be freed.
3918
3919 2002-08-30 Francesco Potortì <pot@gnu.org>
3920
3921 * etags.c (consider_token, C_entries): Switch to C++ parsing when
3922 auto-detection is enabled and the `::' qualifier is met.
3923 (consider_token, C_entries): Several bugs corrected that tagged
3924 some declarations even though --declarations was not used.
3925 (plainc): New macro.
3926 (C_entries): Use it.
3927 (C_entries): Several cosmetic changes.
3928 (C_entries): Invalidate the token is some cases.
3929
3930 2002-08-29 Francesco Potortì <pot@gnu.org>
3931
3932 * etags.c (C_entries): Correct a problem with const C++ funcs.
3933 (ignoreindent): Rename from noindentypedefs.
3934 (cjava, cplpl): They are now macros instead of local vars.
3935
3936 2002-08-28 Francesco Potortì <pot@gnu.org>
3937
3938 * etags.c (HTML_labels): Tag ID= also.
3939
3940 2002-08-27 Francesco Potortì <pot@gnu.org>
3941
3942 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3943
3944 * etags.c (HTML_labels): New language HTML.
3945 (etags_strcasecmp): Like BSD's, for compatibility.
3946 (strcaseeq): Make it into a macro.
3947
3948 * etags.c (make_tag): Never generate null length tag names.
3949 (linebuffer_init): Rename from initbuffer. All callers changed.
3950 (pattern): Structure renamed to `regexp', member regex renamed to
3951 pattern.
3952 (node_st): Member pat renamed to regex.
3953 (pattern); New member force_explicit_name, for future use.
3954 Now always set to true, cannot be reset.
3955 (add_regex, regex_tag_multiline, readline): Use it.
3956 (main): Free some global structures.
3957 (fdesc): New member `written'.
3958 (readline, process_file): Initialize it.
3959 (put_entries): Set it.
3960 (main): Use it to create entries for files without tags.
3961 (total_size_of_entries): Do not count invalid tags.
3962
3963 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3964
3965 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3966 for the function name in the usage info.
3967
3968 2002-07-31 Colin Walters <walters@gnu.org>
3969
3970 * update-game-score.c (P_): New macro. Use it for all prototypes.
3971 (lose): Don't use varargs.
3972 (lose_syserr): New function.
3973
3974 * update-game-score.c: Change all functions to K&R style.
3975
3976 2002-07-30 Andreas Schwab <schwab@suse.de>
3977
3978 * Makefile.in (localstatedir): New variable.
3979
3980 2002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3981
3982 * b2m.pl: Fix regexp for finding return address fields.
3983
3984 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3985
3986 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3987
3988 2002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3989
3990 * b2m.pl: Obey the rmail file and use the unpruned header properly.
3991
3992 2002-06-26 Pavel Janík <Pavel@Janik.cz>
3993
3994 * b2m.pl: New file.
3995
3996 2002-06-21 Francesco Potortì <pot@gnu.org>
3997
3998 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
3999 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
4000 (PHP_functions, PHP_functions, Cobol_paragraphs)
4001 (Makefile_targets, Postscript_functions, Texinfo_nodes)
4002 (prolog_pr, erlang_func, erlang_attribute)
4003 (Perl_functions, Perl_functions, Pascal_functions)
4004 (TeX_commands, get_tag): Use make_tag instead of pfnote.
4005 (get_tag): Prototype changed, all callers changed.
4006
4007 2002-06-20 Francesco Potortì <pot@gnu.org>
4008
4009 * etags.c: Implement implicit tag names, that is, unnamed tags
4010 whose name is automatically deduced by etags.el. The advantage is
4011 that there is no explicit tag name in most tags, so the size of
4012 the tags file is reduced, yet find-tag is able to do a match as
4013 accurate as with named tags. See the comment in make_tag for details.
4014 (make_tag): New function (was the disabled function new_pfnote).
4015 (make_C_tag): Use it.
4016
4017 2002-06-19 Francesco Potortì <pot@gnu.org>
4018
4019 * etags.c (add_regex): Invalid regexp modifiers are ignored.
4020 (Makefile_targets): Tag variables unless --no-globals.
4021 (LOOP_ON_INPUT_LINES): Serious bug corrected.
4022
4023 2002-06-13 Francesco Potortì <pot@gnu.org>
4024
4025 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
4026 (invalidate_nodes): Bug corrected.
4027 (print_help): Better help for regexps.
4028
4029 2002-06-13 Juanma Barranquero <lektu@terra.es>
4030
4031 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
4032 font-core.elc.
4033
4034 2002-06-12 Francesco Potortì <pot@gnu.org>
4035
4036 * etags.c: New multi-line regexp and new regexp syntax.
4037 (arg_type): at_icregexp label removed (obsolete).
4038 (pattern): New member multi_line for multi-line regexps.
4039 (filebuf): A global buffer containing the whole file as a string
4040 for multi-line regexp matching.
4041 (need_filebuf): Global flag raised if multi-line regexps used.
4042 (print_help): Document new regexp modifiers, remove references to
4043 obsolete option --ignore-case-regexp.
4044 (main): Do not set regexp syntax and translation table here.
4045 (main): Treat -c option as a backward compatibility hack.
4046 (main, find_entries): Init and free filebuf.
4047 (find_entries): Call regex_tag_multiline after the regular parser.
4048 (scan_separators): Check for unterminated regexp and return NULL.
4049 (analyse_regex, add_regex): Remove the ignore_case argument, which
4050 is now a modifier to the regexp. All callers changed.
4051 (add_regex): Manage the regexp modifiers.
4052 (regex_tag_multiline): New function. Reads from filebuf.
4053 (readline_internal): If necessary, copy the whole file into filebuf.
4054 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
4055
4056 2002-06-11 Francesco Potortì <pot@gnu.org>
4057
4058 * etags.c (add_regex): Better check for null regexps.
4059 (readline): Check for regex matching null string.
4060 (find_entries): Reorganization.
4061
4062 2002-06-07 Francesco Potortì <pot@gnu.org>
4063
4064 * etags.c (scan_separators): Support all character escape
4065 sequences supported by Gcc.
4066 (find_entries): Rewind unconditionally.
4067 (find_entries): Do not call language functions directly, now calls
4068 itself.
4069 (find_entries): Do general initializations here.
4070 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
4071 (Ada_getit, Pascal_functions, Pascal_functions)
4072 (prolog_skip_comment): Do not do them here.
4073 (readline_internal): Increment lineno here.
4074 (readline): Conditionally undo readline_internal increment.
4075 (readline): Do not return a value.
4076
4077 2002-06-06 Francesco Potortì <pot@gnu.org>
4078
4079 * etags.c: New option --parse-stdin=FILE.
4080 (enum arg_type): New label at_stdin.
4081 (STDIN): New constant.
4082 (parsing_stdin): New flag.
4083 (longopts): New option --parse-stdin=NAME.
4084 (print_help): Document it.
4085 (main): Handle it.
4086 (process_file): Split into process_file and process_file_name.
4087 (process_file_name): New function.
4088
4089 * etags.c: Improvements and bug squashing in TeX handling.
4090 (TeX_commands): Skip comments.
4091 (TEX_defenv): Now contains more constructs.
4092 (TEX_cmt): Make it a static char and move it before TeX_commands.
4093 (TeX_commands): Shorten the tag to the brace after the name.
4094 (TeX_commands): Names now include the initial backslash.
4095 (TeX_commands): Names do not include numeric args #n.
4096 (TeX_commands): Correct line char number in tags.
4097 (TEX_tabent, TEX_token): Delete.
4098 (TeX_commands, TEX_decode_env): Streamlined.
4099
4100 2002-06-05 Francesco Potortì <pot@gnu.org>
4101
4102 * etags.c (main): Avoid a buffer overrun with sprintf.
4103
4104 2002-05-30 Richard M. Stallman <rms@gnu.org>
4105
4106 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
4107 (LIBS_MOVE): Rename from MOVE_LIBS.
4108
4109 2002-05-26 Paul Eggert <eggert@twinsun.com>
4110
4111 Reinstate the following change from 2002-03-22, which was
4112 inadvertently lost on 2002-04-13.
4113
4114 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4115 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4116 the latter usage.
4117
4118 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
4119
4120 * pop.c (socket_connection): Move the code to resolve the POP
4121 host right before trying to connect with it.
4122
4123 2002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
4124
4125 * tcp.c: Delete file since the TCP emulation is no longer in use on any
4126 platform.
4127
4128 2002-04-28 Colin Walters <walters@verbum.org>
4129
4130 * Makefile.in (${archlibdir}): Don't conditionalize on
4131 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
4132 or not we have access to the specified game user.
4133
4134 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
4135 (main): New argument -d, for specifying directory.
4136 (usage): Document.
4137 (get_user_id): Compute.
4138 (get_home_dir): Delete.
4139 (get_prefix): New function, taken from main.
4140 (main): Check whether or not we are running setuid. Move prefix
4141 computation to get_prefix. Don't call getpwent; we don't need to
4142 any more. Instead, move it to get_user_id().
4143
4144 2002-04-24 Pavel Janík <Pavel@Janik.cz>
4145
4146 * ebrowse.c (skip_initializer): Return void.
4147
4148 2002-04-23 Colin Walters <walters@verbum.org>
4149
4150 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
4151 space.
4152
4153 2002-04-22 Francesco Potortì <pot@gnu.org>
4154
4155 * etags.c (last_node): Make it a global variable.
4156 (process_file): Print the tags from the nodes as soon as
4157 possible, and delete the nodes. This brings down the memory
4158 occupancy as etags to almost the same level as when the #line
4159 directives were not parsed.
4160 (free_fdesc): New function.
4161 (find_entries): Use it.
4162 (invalidate_nodes): In etags mode, do not just mark the nodes as
4163 invalid, do delete them.
4164
4165 2002-04-21 Gerd Moellmann <gerd@gnu.org>
4166
4167 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
4168
4169 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
4170
4171 * update-game-score.c: Move config.h before the other headers, to
4172 avoid compiler warnings.
4173
4174 2002-04-16 Francesco Potortì <pot@gnu.org>
4175
4176 * etags.c (find_entries): Bug fix in list management.
4177
4178 2002-04-15 Francesco Potortì <pot@gnu.org>
4179
4180 * etags.c (get_language_from_filename): Add one argument.
4181 (strcaseeq): New function.
4182 (get_language_from_filename): Use it to do a case insensitive
4183 comparison if called with appropriate args.
4184 (find_entries): Try with case insensitive match.
4185 (process_file): Bug fixed.
4186
4187 2002-04-13 Francesco Potortì <pot@gnu.org>
4188
4189 * etags.c (find_entries): Delete tags previously obtained from
4190 file xxx.c's #line directives when parsing file xxx.y. This is
4191 generally done for automatically generated files containing
4192 #line directives. This handles the case when xxx.y is tagged
4193 before xxx.c, and the entries of xxx.c pointing to xxx.y should
4194 be discarded.
4195 (language): Add the metasource member. Initializers changed.
4196 (invalidate_nodes): New function.
4197 (readline): Discard lines after having found a #line
4198 directive pointing to an already tagged file. This handles the
4199 case when xxx.y is tagged before xxx.c, and the entries of
4200 xxx.c pointing to xxx.y should be discarded.
4201 (fdesc): New structure for keeping track of input files.
4202 (fdesc): Remove `file' member (a string) and use instead a pointer
4203 to a file description structure.
4204 (curfile, curfiledir, curtagfname, curlang, nocharno)
4205 (forced_lang): Global variables removed in favor of fdhead and
4206 curfdp, pointers to file description structures.
4207 (longopts, main, print_help): Use the CTAGS conditional to include
4208 or exclude options that work on etags or ctags only.
4209 (process_file, find_entries, pfnote, add_node, put_entries)
4210 (readline): Use fdhead and curfdp.
4211 (process_file, find_entries): Do not take an arg string, all
4212 callers changed.
4213
4214 * etags.c (longopts, print_help, main): Test CTAGS to disallow
4215 options that are not right for either etags or ctags.
4216
4217 * etags.c (number_len, total_size_of_entries): Define them also
4218 in CTAGS mode, because gcc does not compile all refs away.
4219
4220 2002-04-14 Colin Walters <walters@debian.org>
4221
4222 * update-game-score.c (lock_file): If the lock file is older than
4223 an hour, delete it. Reset attempts to zero if we have to break
4224 the lock.
4225
4226 2002-04-14 Andreas Schwab <schwab@suse.de>
4227
4228 * update-game-score.c (read_score): Fix type of second parameter
4229 of getdelim to be of type size_t instead of int. Use 0 instead of
4230 ESUCCES.
4231
4232 2002-04-10 Colin Walters <walters@verbum.org>
4233
4234 * update-game-score.c (toplevel): Include stdarg.h.
4235 (MAX_DATA_LEN, MAX_SCORES): New.
4236 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
4237 default to ~/.emacs.d/games.
4238 (get_user_id): Don't zero uid in the case where we can't get the
4239 username.
4240 (lose): New function.
4241 (main): Actually use `max', and default it to MAX_SCORES.
4242 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
4243 function.
4244 (read_score): Handle the case of reading unamelen characters, then
4245 finishing. Use mktemp if mkstemp isn't available.
4246 (lock_file, unlock_file): Delete unused versions.
4247 (lock_file): Always sleep, even if we unlinked the lock file.
4248
4249 * Makefile.in (gamedir, gameuser): New variables.
4250 (toplevel, UTILITIES): Add update-game-score.
4251 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
4252
4253 2002-04-07 Colin Walters <walters@verbum.org>
4254
4255 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
4256 (get_user_id): Take struct passwd as an argument.
4257 (get_home_dir): New function.
4258 (main): Read in user information here. Discover home directory if
4259 necessary.
4260 (read_score): Trim newline only in `getline' case.
4261
4262 2002-04-05 Colin Walters <walters@debian.org>
4263
4264 * update-game-score.c (toplevel): Include pwd.h.
4265 (struct score_entry): Add username field.
4266 (push_score): Use it.
4267 (get_user_id): New function.
4268 (main): Don't malloc excessively.
4269 (main): Use username field.
4270 (read_score): Read it.
4271 (push_score): Handle it.
4272 (write_scores): Write it.
4273 (read_score): Handle arbitrary length data.
4274
4275 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
4276
4277 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
4278
4279 2002-03-29 Gerd Moellmann <gerd@gnu.org>
4280
4281 * ebrowse.c (add_declarator, skip_initializer): New functions.
4282 (declaration): Use them.
4283
4284 2002-03-28 Jason Rumney <jasonr@gnu.org>
4285
4286 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
4287
4288 2002-03-27 Colin Walters <walters@debian.org>
4289
4290 * update-game-score.c: New file.
4291
4292 2002-03-22 Paul Eggert <eggert@twinsun.com>
4293
4294 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4295 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4296 the latter usage.
4297
4298 2002-03-12 Francesco Potortì <pot@gnu.org>
4299
4300 * etags.c (Python_functions): Skip spaces at beginning of lines.
4301 (Python_functions, PHP_functions): Name tags, for ctags' sake.
4302 (TeX_commands): Name tags. Correction of old disabled code.
4303
4304 * etags.c (curfiledir, curtagfname): New global variables.
4305 (process_file): Initialize them.
4306 (readline): Canonicalize the name found in #line directive.
4307
4308 2002-03-06 Jason Rumney <jasonr@gnu.org>
4309
4310 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
4311 compilers that don't optimize out dead code.
4312
4313 2002-03-05 Francesco Potortì <pot@gnu.org>
4314
4315 * etags.c: Honor #line directives.
4316 (no_line_directive): New global var; set it for old behavior.
4317 (main): Remove some #ifdef in the getopt switch.
4318 (add_node, put_entries): Code added to merge different chunks of
4319 nodes referring to the same file. Currently the tags are just
4320 appended, without any check for duplicates.
4321 (Perl_functions): Do not special case ctags.
4322 (readline): Identify #line directives and do the right thing.
4323 (nocharno, invalidcharno): New global vars.
4324 (process_file): Reset nocharno.
4325 (readline): Set nocharno.
4326 (pfnote): Read nocharno and maybe put invalidcharno in node.
4327 (total_size_of_entries, put_entries): Use invalidcharno.
4328
4329 * etags.c: Keep the whole tag table in memory, even in etags mode.
4330 (main): Call put_entries here even in CTAGS mode.
4331 (main, process_file): Check the return values of fclose and pclose.
4332 (process_file): Do not call put_entries after parsing each file.
4333 (process_file): Canonicalize file names even for ctags.
4334 (process_file): Set curfile here...
4335 (find_entries): ... not here any more.
4336 (add_node): In etags mode, build a linked list of entries (on
4337 right pointer) for each file, and link the first entry of each
4338 file on left nodes.
4339 (put_entries): Print here the name of the file.
4340 (put_entries): Print the entries starting from the first file.
4341 (number_len, total_size_of_entries): Define these only in etags
4342 mode, make the second work only on the right nodes.
4343
4344 * etags.c: Make all global variables static.
4345
4346 2002-02-25 Juanma Barranquero <lektu@terra.es>
4347
4348 * makefile.w32-in (lisp): Add missing backslash.
4349
4350 2002-02-24 Jason Rumney <jasonr@gnu.org>
4351
4352 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
4353 using .elc files.
4354 (lisp): Sync with list in src/Makefile.in.
4355 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
4356
4357 2002-02-10 Paul Eggert <eggert@twinsun.com>
4358
4359 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
4360 disallows the old syntax.
4361
4362 2002-02-03 Paul Eggert <eggert@twinsun.com>
4363
4364 * rcs2log (Copyright): Update to 2002.
4365 (AWK, TMPDIR): Work around portability problem in broken shells that
4366 don't understand `: ${VAR=val}'.
4367 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
4368 Prefer the new -k option to the traditional +M -N option.
4369
4370 2002-01-01 Pavel Janík <Pavel@Janik.cz>
4371
4372 * b2m.c (main): Parenthesize assignment when used as truth value
4373 to prevent gcc warnings.
4374
4375 * fakemail.c: Include <config.h>.
4376
4377 2001-12-29 Pavel Janík <Pavel@Janik.cz>
4378
4379 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
4380 * yow.c: Include <config.h>.
4381
4382 2001-12-21 Francesco Potortì <pot@gnu.org>
4383
4384 * etags.c (Perl_functions): Tag packages and use them in sub tags.
4385 (get_tag): Return a pointer to the tag that is found.
4386
4387 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
4388 (F_takeprec): Rename from takeprec. All callers changed.
4389 (F_getit): Rename from getit. All callers changed.
4390 (nocase_tail): Rename from tail. All callers changed.
4391 (Ada_getit): Rename from adagetit. All callers changed.
4392 (L_getit): Simplify by using get_tag.
4393 (Perl_functions, Postscript_functions, erlang_attribute): Use the
4394 modified LOOKING_AT.
4395 (notinname): Remove '[' and added ')' to the recognized chars.
4396 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
4397 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
4398 Clarified, using strneq or notinname.
4399 (L_isdef, L_isquote): Remove.
4400 (Lisp_functions, L_getit): Clarified.
4401
4402 * etags.c (P_): Rename to __P for consistency with config.h.
4403 [HAVE_CONFIG_H]: Let config.h deal with __P.
4404 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
4405 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
4406 gperf code needs it.
4407 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
4408 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
4409 (xmalloc, xrealloc): Use PTR instead of long *.
4410 (bool): Make it a define, not a typedef, for C++ compilers.
4411 (pattern): Members renamed to avoid name clash in some C++ compilers.
4412 (get_language_from_langname): Use const argument.
4413
4414 2001-12-22 Pavel Janík <Pavel@Janik.cz>
4415
4416 * makefile.nt, makefile.w32-in: Remove mocklisp files.
4417
4418 2001-12-19 Pavel Janík <Pavel@Janik.cz>
4419
4420 * emacsserver.c: Conditionally include config.h.
4421
4422 * fakemail.c: Likewise.
4423
4424 * emacsclient.c: Include "config.h", not <../src/config.h>.
4425 (main): Parenthesize assignment when used as truth value to
4426 prevent gcc warnings.
4427
4428 * ebrowse.c: Include stdlib.h and string.h conditionally.
4429
4430 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
4431
4432 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
4433
4434 2001-12-18 Pavel Janík <Pavel@Janik.cz>
4435
4436 * test-distrib.c: Fix previous change.
4437
4438 2001-12-18 Dave Love <fx@gnu.org>
4439
4440 * test-distrib.c: Conditionally include fcntl.h.
4441
4442 * fakemail.c: Include "config.h", not <../src/config.h>.
4443 (_XOPEN_SOURCE): Define as 500.
4444
4445 * emacsserver.c: Include "config.h", not <../src/config.h>.
4446
4447 * cvtmail.c: Include config.h, stdlib.h.
4448 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
4449
4450 * yow.c: Conditionally include various headers. Use "epaths.h",
4451 not <../src/epaths.h>.
4452 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
4453
4454 2001-12-12 Francesco Potortì <pot@gnu.org>
4455
4456 * etags.c (PHP_functions): New function for parsing PHP.
4457 (LOOKING_AT): New macro.
4458 (Perl_functions, Python_functions, PHP_functions)
4459 (Scheme_functions, Texinfo_nodes): Use it.
4460 (Perl_functions): Use strneq.
4461 (prolog_pred): Rename to prolog_pr.
4462 (prolog_pr): Recognize Prolog rules in addition to predicates.
4463 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
4464 unmodified compile, as Cygwin's regex.h is incompatible with us.
4465 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
4466
4467 2001-12-11 Richard M. Stallman <rms@gnu.org>
4468
4469 * Makefile.in (clean): Don't delete ../etc/DOC*.
4470
4471 2001-12-11 Pavel Janík <Pavel@Janik.cz>
4472
4473 * COPYING: Moved back.
4474
4475 2001-11-30 Andrew Innes <andrewi@gnu.org>
4476
4477 * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
4478 (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
4479 to simplify bootstrapping.
4480 ($(DOC)): Change dependency to just `make-docfile'.
4481
4482 2001-11-29 Pavel Janík <Pavel@Janik.cz>
4483
4484 * COPYING: Removed.
4485
4486 2001-11-28 Paul Eggert <eggert@twinsun.com>
4487
4488 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
4489
4490 The following changes are derived from suggestions by Bob Chapman
4491 <rechapman@compuserve.com>.
4492
4493 * rcs2log (printlogline): Also allow tab and newline to separate
4494 '(function):' from the rest of a comment.
4495 (reformat the sorted log entries): Require date and author to
4496 match the clumpname.
4497
4498 2001-11-16 Gerd Moellmann <gerd@gnu.org>
4499
4500 * ebrowse.c (matching_regexp): Escape '\\'.
4501
4502 2001-11-15 Pavel Janík <Pavel@Janik.cz>
4503
4504 * Makefile.in: Add support for --program-prefix, --program-suffix
4505 and --program-transform-name options.
4506
4507 2001-11-03 Richard M. Stallman <rms@gnu.org>
4508
4509 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
4510
4511 * movemail.c (popmail): Always pass two args to `error'.
4512
4513 2001-10-24 Ken Raeburn <raeburn@gnu.org>
4514
4515 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4516 -lhesiod and maybe -lresolv.
4517 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
4518 support if it's available.
4519
4520 2001-10-21 Miles Bader <miles@gnu.org>
4521
4522 * make-docfile.c (struct rcsoc_state): New type.
4523 (read_c_string_or_comment): Add SAW_USAGE
4524 parameter, and implement scanning for a `usage:' keyword.
4525 Use a variable of type `rcsoc_state' to hold most of our state.
4526 (put_char): Add STATE parameter, and remove all other parameters
4527 except CH. Use STATE to get access to all needed state.
4528 (scan_keyword_or_put_char): New function.
4529 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
4530 Don't output a usage-string if there was one in the doc-string.
4531
4532 2001-10-20 Gerd Moellmann <gerd@gnu.org>
4533
4534 * (Version 21.1 released.)
4535
4536 2001-10-19 Pavel Janík <Pavel@Janik.cz>
4537
4538 * b2m.c: Properly spell the name of Emacs.
4539
4540 2001-10-17 Miles Bader <miles@gnu.org>
4541
4542 * make-docfile.c (put_char): New function.
4543 (read_c_string_or_comment): Strip trailing spaces and newlines.
4544
4545 2001-10-16 Miles Bader <miles@gnu.org>
4546
4547 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
4548 comments [with `doc:' keyword prefix].
4549
4550 2001-10-15 Gerd Moellmann <gerd@gnu.org>
4551
4552 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
4553 in a C doc comment.
4554
4555 2001-10-13 Gerd Moellmann <gerd@gnu.org>
4556
4557 * make-docfile.c (read_c_string_or_comment): Rename from
4558 read_c_string. Add parameter COMMENT. Read C-style comments.
4559 (scan_c_file): Handle doc strings in C comments.
4560
4561 2001-10-12 Andrew Innes <andrewi@gnu.org>
4562
4563 * makefile.nt (ALL): Do not include fakemail.
4564
4565 * makefile.w32-in (install): Do not copy fakemail.
4566
4567 2001-10-10 Jason Rumney <jasonr@gnu.org>
4568
4569 * makefile.w32-in (ALL): Do not include fakemail.
4570
4571 * makefile.nt (install): Ditto.
4572
4573 2001-10-09 Gerd Moellmann <gerd@gnu.org>
4574
4575 * emacsserver.c (main): Cast geteuid in sprintf to int.
4576
4577 * emacsclient.c (main): Cast isdigit argument to unsigned char.
4578
4579 2001-10-07 Pavel Janík <Pavel@Janik.cz>
4580
4581 * profile.c: Include config.h, not ../src/config.h.
4582 Include systime.h, not ../src/systime.h.
4583
4584 2001-10-05 Gerd Moellmann <gerd@gnu.org>
4585
4586 * Branch for 21.1.
4587
4588 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
4589
4590 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
4591 ALIASEE to help work with namespace aliases.
4592 (struct sym): Remove struct member NAMESP_ALIASES.
4593 (namespace_alias_table): New variable.
4594 (make_namespace): Add parameter CONTEXT.
4595 (check_namespace): New function.
4596 (find_namespace): Add parameter CONTEXT.
4597 (check_namespace_alias): New function.
4598 (register_namespace_alias): Change type of parameter OLD_NAME.
4599 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
4600 (check_namespace): New function.
4601 (enter_namespace): Call find_namespace with CONTEXT parameter.
4602 (match_qualified_namespace_alias): New function.
4603 (parse_qualified_ident_or_type): Fix typo in comment.
4604 While parsing qualified ident or type update namespace context and
4605 restore it on exit.
4606 (parse_qualified_param_ident_or_type): Fix typo in comment.
4607 (globals): Change handling of namespace aliases.
4608 (version): Add year 2001.
4609
4610 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
4611
4612 * etags.c (analyse_regex): If regex_arg is NULL, return
4613 immediately after a call to free_patterns.
4614
4615 2001-09-05 Paul Eggert <eggert@twinsun.com>
4616
4617 * rcs2log (Help, mainline code): Add new option -L FILE.
4618 (Copyright): Update year.
4619 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
4620 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
4621 C locale.
4622 (mainline code): Handle nonstandard -u option differently, by
4623 transforming it to standard form. Check for "Working file: ", not
4624 "Working file:". Allow file names with spaces.
4625 (SOH, rlogfile): New shell vars.
4626 (rlogout): Remove. Its old functionality is mostly migrated to
4627 rlogfile.
4628
4629 Append ';;' to the last arm of every case statement, for
4630 portability to ancient broken BSD shells.
4631
4632 (logins): Fix bug; was not being computed at all, lowering performance.
4633 (pository): New var. This fixes some bugs where repositories are
4634 remote, or have trailing slashes.
4635 (authors): $llogout is never an empty shell var, so don't worry
4636 about that possibility.
4637 (printlogline, mainline code): Fix bug with SOH's being put into
4638 the output.
4639
4640 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4641
4642 * ebrowse.c (SEEK_END): #define if not defined by system headers.
4643 Suggested by Dave Love <d.love@dl.ac.uk>.
4644
4645 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4646
4647 * makefile.nt (lisp): Synchronize with src/Makefile.in.
4648 * makefile.w32-in (lisp): Ditto.
4649
4650 2001-07-25 Juanma Barranquero <lektu@terra.es>
4651
4652 * grep-changelog (parse_changelog): Remove unused local variable.
4653
4654 * grep-changelog (main): Add new option --reverse.
4655 (print_log): Use it.
4656 (parse_changelog): Use it.
4657
4658 2001-07-20 Gerd Moellmann <gerd@gnu.org>
4659
4660 * grep-changelog: Remove RCS Id keyword.
4661
4662 2001-07-20 Juanma Barranquero <lektu@terra.es>
4663
4664 * grep-changelog (parse_changelog): Add tests for defined values
4665 to quiet warning from Perl 5.005 or above.
4666 (entry_match_p, header_match_p): Fix handling of null or empty
4667 argument to prevent duplicate headers.
4668
4669 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
4670
4671 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
4672
4673 * emacsclient.c (print_help_and_exit): Fix help message for
4674 +LINE:COLUMN option.
4675
4676 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4677
4678 * emacsclient.c (main): Add support for +LINE:COLUMN command line
4679 argument.
4680
4681 2001-07-16 Gerd Moellmann <gerd@gnu.org>
4682
4683 * ebrowse.c (main): Check that the output file exists and
4684 is non-empty if invoked with `--append'.
4685
4686 2001-05-14 Francesco Potortì <pot@gnu.org>
4687
4688 * etags.c (add_regex): Reset the whole newly allocated pattern
4689 buffer instead of the individual members. It's safer and works
4690 with XEmacs.
4691
4692 * etags.1: Markups corrected.
4693
4694 2001-05-08 Gerd Moellmann <gerd@gnu.org>
4695
4696 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
4697
4698 2001-05-03 Gerd Moellmann <gerd@gnu.org>
4699
4700 * ebrowse.c (globals): Fix handling of namespace aliases.
4701
4702 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
4703
4704 * etags.c (print_help): Enclose the regexp in the help text
4705 example in quotes.
4706
4707 2001-04-05 Dave Love <fx@gnu.org>
4708
4709 * emacsclient.c (fail): Don't return a value.
4710 (main): Cast uid values for sprintf.
4711
4712 2001-04-03 Gerd Moellmann <gerd@gnu.org>
4713
4714 * emacsclient.c (fail, main): Don't use implicit int return type.
4715
4716 * b2m.c (main): Always return a value.
4717
4718 2001-03-02 Gerd Moellmann <gerd@gnu.org>
4719
4720 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4721 freshly allocated object in *LAST_ID.
4722 (read_line): Accept \r\n line endings.
4723
4724 2001-02-24 Andrew Innes <andrewi@gnu.org>
4725
4726 * makefile.w32-in: Fix copyright notice.
4727
4728 2001-02-23 Francesco Potortì <pot@gnu.org>
4729
4730 * etags.c (enum sym_type): New label st_C_template.
4731 (gperf input): Use it for switching to C++ from C.
4732 (consider_token): Do it.
4733 (C_entries): Initialize typdefcblev to quiet compilers.
4734 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
4735
4736 2001-02-22 Andrew Innes <andrewi@gnu.org>
4737
4738 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4739 VMS header files.
4740 ($(BLD)\profile.obj): Ditto.
4741
4742 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4743 VMS header files.
4744 ($(BLD)/profile.$(O)): Ditto.
4745
4746 2001-02-05 Andrew Innes <andrewi@gnu.org>
4747
4748 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4749 invocation of make-docfile, to work with Windows 2000.
4750
4751 2001-01-31 Dave Love <fx@gnu.org>
4752
4753 * etags.c (in_word_set): Use `static' in definition (for pcc).
4754
4755 2001-01-31 Francesco Potortì <pot@gnu.org>
4756
4757 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
4758 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4759 (C_entries): Tag token renamed to still_in_token because sunos4
4760 pcc wants to expand it as the token() macro even though it has no
4761 arguments.
4762
4763 2001-01-30 Andrew Innes <andrewi@gnu.org>
4764
4765 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4766 bug in the Mingw32 assert.h header file.
4767
4768 2001-01-30 Francesco Potortì <pot@gnu.org>
4769
4770 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4771 #define it for the sake of XEmacs.
4772 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4773 HAVE_CONFIG_H. This change only affects a standalone etags.
4774 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4775 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
4776 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
4777 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
4778 WINDOWSNT, as this is the correct way to use it.
4779
4780 2001-01-28 Francesco Potortì <pot@gnu.org>
4781
4782 * etags.c: Be capable to parse nested struct-like structures.
4783 (structdef, structtag): Struct state machine revisited.
4784 (struct tok): Revisited.
4785 (cstack, nestlev, instruct): New struct and macros.
4786 (pushclass_above, popclass_above, write_classname): New functions
4787 for dealing with nested class names.
4788 (consider_token, make_C_tag, C_entries): Many changes for dealing
4789 with arbitrarily nested structures.
4790 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4791 (C_entries): Consider templates in C++.
4792 (sym_type): New constant st_C_class for detecting "class" also in
4793 C mode.
4794 (C_AUTO): New macro for automatic detection of C++.
4795 (consider_token): Automatic set C++ mode.
4796 (C_entries): New security check for yacc.
4797 (print_language_names, print_help): Mention the autodetect
4798 feature, do not show help for the -C option, now mostly useless.
4799 (C_entries): Tag C++ forward declarations if --declarations.
4800 (C_entries): Don't be fooled by things like XDEFUN.
4801 (consider_token): Discard asm pseudo function.
4802
4803 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
4804
4805 * etags.c: Add a coding: tag.
4806
4807 2001-01-26 Gerd Moellmann <gerd@gnu.org>
4808
4809 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
4810 New variables.
4811 (matching_regexp): Use them instead of static variables in
4812 function scope.
4813
4814 2001-01-25 Francesco Potortì <pot@gnu.org>
4815
4816 * etags.c (struct tok): Rename from struct token.
4817 (token): Rename from tok.
4818 (structtype): Make it a local variable.
4819 [DEBUG]: Use assert.
4820 (xrnew): Change the synopsis.
4821 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4822 (grow_linebuffer): Don't call xrnew when not needed.
4823 (token): Buffer renamed to line.
4824 (C_entries): Three calls to inibuffer moved here from main.
4825 (C_entries): Remove all references to var methodlen, delete it.
4826 (linebuffer_setlen): Was grow_buffer, now also sets len.
4827 (consider_token, C_entries, Pascal_functions): Use it.
4828 (C_entries): Preventing problems relative to extern "C".
4829 (C_entries): Can tag more than one variable or func separated by
4830 comma when --declarations is used.
4831 (C_entries): More accurate tagging of members and declarations.
4832 (yacc_rules): Was global, made local to C_entries.
4833 (next_token_is_func): Remove.
4834 (fvdef): New constants fdefunkey, fdefunname.
4835 (consider_token, C_entries): Use them.
4836 (C_entries): Build proper lisp names for Emacs DEFUNs.
4837
4838 2001-01-22 Gerd Moellmann <gerd@gnu.org>
4839
4840 * ebrowse.c (xfree): New function.
4841 (member, declaration, globals): Use xmalloc instead of alloca.
4842
4843 2001-01-15 Francesco Potortì <pot@gnu.org>
4844
4845 * etags.c (print_language_names): Print filenames in addition to
4846 suffixes.
4847
4848 2001-01-14 Francesco Potortì <pot@gnu.org>
4849
4850 * etags.c (get_language_from_langname): Rename from
4851 get_language_from_name.
4852 (get_language_from_filename): Rename from get_language_from_suffix.
4853 Now first looks for the complete file name.
4854 (language): New member char **filenames.
4855 (Makefile_filenames): List of possible filenames for makefiles.
4856 (lang_names): Add a NULL member for every entry, added an entry
4857 for makefiles.
4858 (Makefile_targets): New function.
4859 (Texinfo_nodes): Rename from Texinfo_functions and made
4860 it conformant to the style of the rest of the code.
4861
4862 2001-01-13 Gerd Moellmann <gerd@gnu.org>
4863
4864 * make-docfile.c (write_c_args): Print newlines as spaces.
4865
4866 2001-01-06 Andrew Innes <andrewi@gnu.org>
4867
4868 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4869 of *.pdb.
4870
4871 2001-01-03 Paul Eggert <eggert@twinsun.com>
4872
4873 * rcs2log: Avoid security hole allowing attacker to
4874 cause user of rcs2log to overwrite arbitrary files, fixing
4875 a bug reported by Morten Welinder.
4876
4877 Don't put "exit 1" at the end of the exit trap; it's
4878 ineffective in POSIX shells.
4879
4880 2001-01-02 Gerd Moellmann <gerd@gnu.org>
4881
4882 * ebrowse.c (yyerror): Change to take two arguments.
4883 Add prototype. Change callers.
4884
4885 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
4886
4887 * ebrowse.c (enter_namespace, main): Cast variables to shut up
4888 compiler warnings.
4889 (yyerror): Change parameter declarations to be of type long, so
4890 that they can take pointers on 64-bit platforms.
4891
4892 * emacsclient.c (main): Remove unused local variable statbfr.
4893 (main) <homedir>: Make its declaration conditional on
4894 SERVER_HOME_DIR, to avoid compiler warnings.
4895
4896 * emacsserver.c (main) <homedir>: Make its declaration conditional
4897 on SERVER_HOME_DIR, to avoid compiler warnings.
4898
4899 * fakemail.c (readline): Cast buffer to "long *" to pacify
4900 over-zealous compilers.
4901
4902 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
4903
4904 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4905
4906 2000-12-15 Gerd Moellmann <gerd@gnu.org>
4907
4908 * ebrowse.c (operator_name): Cast argument of isalpha to
4909 unsigned char.
4910
4911 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4912 Use them throughout instead of ctype functions/macros.
4913 (lowcase): Cast to unsigned char.
4914 (UPCASE): New macro.
4915 (canonicalize_filename): Use UPCASE instead toupper.
4916
4917 * fakemail.c (get_keyword): Make sure that isspace and
4918 similar aren't called with a negative argument.
4919
4920 2000-12-13 Dave Love <fx@gnu.org>
4921
4922 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4923
4924 2000-12-06 Andrew Innes <andrewi@gnu.org>
4925
4926 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4927 don't know the real version, and I can't seem to get the quoting
4928 right in all circumstances.
4929
4930 * ebrowse.c (VERSION): Provide default definition, like etags.c
4931 does, because Windows build can't snarf this from version.el.
4932
4933 2000-11-30 Andrew Innes <andrewi@gnu.org>
4934
4935 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4936 (install): Ditto.
4937
4938 2000-11-23 Jason Rumney <jasonr@gnu.org>
4939
4940 * makefile.w32-in: Add targets for ebrowse.exe.
4941 (LOCAL_FLAGS): Add -DVERSION flag.
4942
4943 2000-09-25 Dave Love <fx@gnu.org>
4944
4945 * sorted-doc.c: Include config.h.
4946 [!HAVE_STDLIB_H]: Declare malloc.
4947
4948 2000-09-14 Andrew Innes <andrewi@gnu.org>
4949
4950 * makefile.w32-in: Revert to Unix line endings.
4951
4952 2000-09-04 Dave Love <fx@gnu.org>
4953
4954 * movemail.c (index, rindex): Prototype conditionally.
4955
4956 2000-09-03 Andrew Innes <andrewi@gnu.org>
4957
4958 * makefile.w32-in: Change to DOS line endings.
4959
4960 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4961
4962 * movemail.c (toplevel): Remove redundant fcntl.h.
4963 [!F_OK]: Provide default definitions only after including both
4964 fcntl.h and unistd.h.
4965
4966 2000-08-29 Dave Love <fx@gnu.org>
4967
4968 * movemail.c: Revert previous change.
4969
4970 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4971
4972 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4973
4974 2000-08-28 Dave Love <fx@gnu.org>
4975
4976 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4977 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4978
4979 2000-08-22 Andrew Innes <andrewi@gnu.org>
4980
4981 * ntlib.h (WIN32): Remove unnecessary definition.
4982 (sleep): Make argument unsigned long.
4983 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4984
4985 * ntlib.c (sleep): Make argument unsigned long.
4986
4987 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4988
4989 * makefile.w32-in: New file.
4990
4991 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4992
4993 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4994 letter only if it is a drive letter.
4995
4996 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4997
4998 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
4999
5000 * etags.c (xmalloc, xrealloc): Make externally visible, for use
5001 by alloca.o.
5002
5003 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
5004
5005 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5006
5007 * ebrowse.c (yylex): Accept string literals with newlines in them.
5008 (process_pp_line): Handle case of string literal with newline
5009 in it in replacement text, which counts as continuing the
5010 replacement text in GNU C.
5011
5012 2000-07-02 Gerd Moellmann <gerd@gnu.org>
5013
5014 * ebrowse.c (token_string): Add missing tokens.
5015 (parm_list): Handle case of qualified pointers.
5016
5017 2000-06-23 Dave Love <fx@gnu.org>
5018
5019 * ebrowse.c: Move config.h before other includes (which may use
5020 feature tests).
5021
5022 2000-06-14 Jim Meyering <meyering@lucent.com>
5023
5024 * grep-changelog: Fix typos in comments. Remove trailing blanks.
5025
5026 2000-06-11 Jason Rumney <jasonr@gnu.org>
5027
5028 * makefile.nt: Add targets for ebrowse.
5029
5030 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
5031 compare filenames.
5032
5033 2000-06-06 Gerd Moellmann <gerd@gnu.org>
5034
5035 * ebrowse.c (ymalloc): Rename from xmalloc.
5036 (yrealloc): Rename from xrealloc.
5037
5038 2000-05-21 Dave Love <fx@gnu.org>
5039
5040 * movemail.c: Include config.h, not ../src/config.h.
5041 (Errmsg): Bump length.
5042
5043 * pop.c (ERROR_MAX): Increase to 160.
5044
5045 2000-05-04 Gerd Moellmann <gerd@gnu.org>
5046
5047 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
5048
5049 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
5050
5051 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
5052 Define to semi-colon.
5053 (FILENAME_EQ): New macro, for comparing file names.
5054 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5055 (process_file): Don't assume that fread always reads as many bytes
5056 as it was told to (DOS-style CR-LF text files fail this logic).
5057 (open_file): Allocate enough space for path->path plus the file
5058 name and the slash.
5059
5060 2000-04-19 Dave Love <fx@gnu.org>
5061
5062 * etags.c (Texinfo_functions): New function.
5063 (lang_names): Install it.
5064 (Texinfo_suffixes): New variable.
5065
5066 2000-04-19 Gerd Moellmann <gerd@gnu.org>
5067
5068 * ebrowse.c (xmalloc, xrealloc): Rewritten.
5069 (declaration): Remove parameter IS_EXTERN.
5070 (class_definition): Remove unused variable.
5071
5072 2000-04-09 Gerd Moellmann <gerd@gnu.org>
5073
5074 * Makefile.in (INSTALLABLES): Add ebrowse.
5075 (ebrowse): New target.
5076
5077 * ebrowse.c: New file.
5078
5079 2000-03-29 Andreas Schwab <schwab@suse.de>
5080
5081 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
5082
5083 2000-03-02 Gerd Moellmann <gerd@gnu.org>
5084
5085 * etags.c (lisp_suffixes): Add `LSP'.
5086
5087 2000-02-10 Francesco Potortì <pot@gnu.org>
5088
5089 * etags.c (iswhite): Redefine not to consider '\0' as white
5090 space, and use it throughout in place of isspace, thus preventing a
5091 potential signed char to int conversion problem.
5092 (MSDOS): #undefine before redefining.
5093
5094 2000-02-04 Francesco Potortì <pot@gnu.org>
5095
5096 * etags.c (many functions): Add prototypes.
5097
5098 2000-02-10 Dave Love <fx@gnu.org>
5099
5100 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
5101 (erlang_func): Add `static' to definitions to keep pcc happy.
5102
5103 2000-01-31 Francesco Potortì <pot@gnu.org>
5104
5105 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
5106 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
5107 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
5108 (getenv, getcwd): Only declare them if necessary.
5109 (EMACS_NAME): New constant macro.
5110 (print_version): Use it.
5111 (P_) [__STDC__]: Macro for defining function prototypes.
5112
5113 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
5114
5115 * etags.c [WINDOWSNT]: #include <direct.h>
5116
5117 2000-01-18 Martin Buchholz <martin@xemacs.org>
5118
5119 * etags.c (all functions): Made them static.
5120 (all functions): Write prototypes.
5121
5122 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
5123
5124 * movemail.c (main): Improve error message if can't create lock file.
5125
5126 2000-01-28 Eric Hanchrow <offby1@blarg.net>
5127
5128 * emacsclient.c (socket_status): New function.
5129 (main): If $LOGNAME or $USER exist and differ from our euid, look
5130 for a socket based on the UID associated with the name.
5131
5132 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5133
5134 * emacsclient.c: Add option -a EDITOR and environment variable
5135 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
5136
5137 1999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5138
5139 * movemail.c (popmail): Allow mailbox specifications of the
5140 form `po:username:hostname'.
5141
5142 1999-11-19 Francesco Potortì <pot@gnu.org>
5143
5144 * etags.c (_GNU_SOURCE): Define only if undefined.
5145 (get_scheme): Declaration deleted.
5146 (main): Error was called with an integer as second arg, instead of
5147 a char pointer.
5148 (canonicalize_filename): Bug removed.
5149
5150 1999-11-18 Dave Love <d.love@dl.ac.uk>
5151
5152 * etags.c (C_entries): Rename label `intoken', avoiding K&R
5153 lossage from name clash with macro.
5154
5155 1999-11-13 Gerd Moellmann <gerd@gnu.org>
5156
5157 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
5158
5159 1999-11-03 Gerd Moellmann <gerd@gnu.org>
5160
5161 * etags.c (print_help): Change email address to send bugs to.
5162
5163 1999-11-01 Francesco Potortì <pot@gnu.org>
5164
5165 * etags.c: Add suffix psw for PSWrap.
5166 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
5167 (Postscript_functions): Add code for PSWrap.
5168 (Scheme_functions): Use local pointer and new get_tag function.
5169 (get_tag): New name for old get_scheme.
5170 (process_file): Do not free NULL when file does not exist.
5171 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
5172 (C_entries): Modifications that make --members tag even inside
5173 typedefs and C nested structs (one level only).
5174 (consider_token): Correct a bug which prevented tagging of enum
5175 constants.
5176 (C_stab_entry): Add if, for, while, switch, return as
5177 st_C_ignore. This makes it simpler to work when cblev!=0.
5178
5179 * etags.c (C_entries): Tag member function declarations when
5180 --declarations is used.
5181
5182 * etags.c (C_entries, consider_token): C++ `operator' now is
5183 tagged in most cases.
5184 As before, :: is not recognized if surrounded by spaces.
5185
5186 * etags.c (relative_filename): Account for DOS file names such
5187 that is impossible to make one relative to another.
5188
5189 * etags.c (sym_type): New st_C_extern tag.
5190 (gperf input): Use it for spotting external declarations.
5191 (print_help): Document the new behavior of --declarations.
5192 (fvextern): New global variable.
5193 (consider_token, C_entries): Use it.
5194
5195 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
5196 (etags_getcwd): Remove test for WINDOWSNT.
5197
5198 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
5199 foo.cgz, foo.cz, etc.
5200
5201 * etags.c (declarations): New global switch.
5202 (longopts): Describe it.
5203 (print_help): Document it.
5204 (C_entries): Use it.
5205 (process_file): Don't process a file twice.
5206
5207 * etags.c (Fortran_functions): No tags for "procedure".
5208
5209 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
5210
5211 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
5212 non-zero, returns a pointer to where the extension begins; callers
5213 changed.
5214 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
5215 were foo.c.gz.
5216
5217 1999-11-01 Francesco Potortì <pot@gnu.org>
5218
5219 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
5220 (fvdev): New constant foperator.
5221 (consider_token): Use it to get "operator" in C++.
5222 (C_entries): Extend length of operator@ function name.
5223 (C_entries): Use foperator when necessary.
5224
5225 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
5226
5227 * etags.c (compressor): New struct for compressed files.
5228 (get_compressor_from_suffix): New function.
5229 (get_language_from_suffix): Use it. Also, semantics changed.
5230 (process_file): Consider compressed files, close file.
5231 (find_entries): Use different call arg for get_language_from_suffix,
5232 don't close file.
5233
5234 * etags.c (main): Call free_tree.
5235 (find_entries): Do not free curfile.
5236 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
5237 (prolog_pred, erlang_func, substitute): Cast strlen to int when
5238 comparing.
5239 (canonicalize_filename): Shut up compiler warning.
5240 (Perl_functions): Make tag significant.
5241
5242 1999-11-01 Dave Love <d.love@dl.ac.uk>
5243
5244 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
5245 (argument_type): New member at_icregexp.
5246 (lc_trans): New global.
5247 (main): Fill lc_trans. Process -c args.
5248 (add_regex): New arg determining whether to use translation table.
5249 (analyse_regex): New arg. Use it for add_regex.
5250
5251 1999-11-01 Francesco Potortì <pot@gnu.org>
5252
5253 * etags.c (init): Cosmetic change: NULL --> '\0'.
5254 (erlang_attribute): Bug corrected (uninitialized variable).
5255 (filename_is_absolute): New function replaces absolutefn macro and
5256 corrects a bug. All callers changed.
5257 (canonicalize_filename): New function.
5258 (process_file, etags_getcwd, absolute_dirname): Use it.
5259 (relative_filename, absolute_filename): Remove var shadowing.
5260 (C_entries, Pascal_functions): Add fake initializations to keep
5261 compilers quiet.
5262 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
5263
5264 * etags.c (xrnew): New macro. All callers of xrealloc changed.
5265 (language): New typedef (was struct lang_entry).
5266 (curlang): New global variable.
5267 (node): Typedef renamed from NODE.
5268 (linebuffer): New typedef (was struct linebuffer).
5269 (pattern): New typedef (was struct pattern). Some members added.
5270 Now used as element of a linked list.
5271 (patterns, num_patterns): Global variables deleted.
5272 (p_head): New global variable.
5273 (forced_lang): New global variable (replaces lang_func).
5274 (get_language_from_name, get_language_from_interpreter)
5275 (get_language_from_suffix): Semantics changed. All callers changed.
5276 (last_node): New global variable.
5277 (free_tree, add_node, put_entries, total_size_of_entries):
5278 Change name of local vars to avoid clashes with typedef node.
5279 (number_len): Rewritten for elegance.
5280 (token): New typedef replaces TOKEN.
5281 (analyse_regex, add_regex): Rewritten for new functionality.
5282 (free_patterns): New function called from main and add_regex.
5283 (initbuffer, readline_internal, readline, grow_linebuffer):
5284 Change name of local vars to avoid clashes with typedef linebuffer.
5285 (readline): Rewritten for new functionality.
5286
5287 * etags.c (Scheme_suffixes): New suffix ".ss".
5288 (print_help): --globals is now used for more than C-type languages.
5289 (Perl_functions): Tag global variables ("my" and "local").
5290
5291 * etags.c (print_help): Some messages clarified.
5292 (LOOP_ON_INPUT_LINES): New macro.
5293 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
5294 (Python_functions, Cobol_paragraphs, Pascal_functions)
5295 (Lisp_functions, Postscript_functions, Scheme_functions)
5296 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
5297 (Cobol_paragraphs, Postscript_functions, TeX_functions)
5298 (Prolog_functions, Erlang_functions): Use a local variable instead
5299 of the global variable dbp.
5300 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
5301 standard indentation.
5302
5303 * etags.c (Python_suffixes, lang_names, Python_functions):
5304 Python support.
5305 (skip_spaces, skip_non_spaces): Utility functions.
5306 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
5307 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
5308 (prolog_pred, erlanf_func, erlang_attribute): Use them.
5309 (eat_white): Delete.
5310
5311 * etags.c (CHAR, init): Keep into account non US-ASCII
5312 characters and compilers with default signed chars.
5313 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
5314 constructs.
5315 (C_stab_entry): "interface" in Java behaves like "class".
5316
5317 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
5318 (main): Put interval syntax here.
5319 (add_regex): And remove it from here.
5320
5321 * etags.c (suggest_asking_for_help): Provide a
5322 meaningful help message with and without LONG_OPTIONS.
5323
5324 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
5325 <stdlib.h, string.h>: Don't test MSDOS when including them.
5326 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
5327 (put_entries): Correctly use %ld instead of %d in printf.
5328
5329 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
5330 declare getcwd if HAVE_GETCWD.
5331 (consider_token): Dead break instruction removed.
5332
5333 1999-10-19 Paul Eggert <eggert@twinsun.com>
5334
5335 Add support for large files. Merge glibc 2.1.2.
5336
5337 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
5338 * movemail.c, pop.c:
5339 Do not include <stdlib.h>, as <config.h> does this now.
5340
5341 * b2m.c, emacsserver.c, etags.c, profile.c:
5342 Include <config.h> before any system include files.
5343
5344 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
5345 * test-distrib.c:
5346 (read, write, open, close): Do not undef.
5347
5348 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
5349 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
5350
5351 * getopt.h: Adopt glibc 2.1.2.
5352
5353 1999-10-15 Dave Love <fx@gnu.org>
5354
5355 * Makefile.in (pop.o): Depend on config.h.
5356
5357 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5358
5359 * pop.c: Use "pop3" as the POP service name on all platforms,
5360 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
5361 has been the standard service name since RFC 1340 was published in
5362 July 1992, so I think it's safe to start using it by default.
5363
5364 1999-09-27 Dave Love <fx@gnu.org>
5365
5366 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
5367
5368 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
5369
5370 * make-docfile.c (scan_lisp_file): Fix previous changes;
5371 swallow CRLF like just CR or just LF.
5372
5373 1999-09-03 Richard Stallman <rms@gnu.org>
5374
5375 * make-docfile.c: Include config.h not ../src/config.h.
5376 (main, fopen, chdir): Add #undef.
5377 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
5378 (scan_lisp_file): Handle \r like \n.
5379
5380 1999-08-30 Andreas Schwab <schwab@gnu.org>
5381
5382 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
5383
5384 * emacsserver.c: Include <stdlib.h> if available. Don't declare
5385 errno if it's a macro.
5386
5387 * test-distrib.c: Include <unistd.h> if available.
5388
5389 1999-08-29 Richard Stallman <rms@gnu.org>
5390
5391 * emacsclient.c (print_help_and_exit): Mention --version.
5392
5393 1999-08-25 Richard M. Stallman <rms@gnu.org>
5394
5395 * emacsclient.c (decode_options): Update version output.
5396 (print_help_and_exit): Update bug report address.
5397
5398 1999-08-13 Richard M. Stallman <rms@gnu.org>
5399
5400 * emacsclient.c (main): Move the dynamic allocation of
5401 system_name outside of the SERVER_HOME_DIR conditional.
5402 * emacsserver.c (main): Likewise.
5403
5404 1999-08-10 Gerd Moellmann <gerd@gnu.org>
5405
5406 * grep-changelog: New.
5407 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
5408
5409 1999-07-12 Richard Stallman <rms@gnu.org>
5410
5411 * Version 20.4 released.
5412
5413 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
5414
5415 * Makefile.in (clean): Remove fns*.el.
5416
5417 1999-06-23 Dave Love <fx@gnu.org>
5418
5419 * etags.c (erlang_attribute): Fix undefined variable usage (after
5420 Potortì).
5421
5422 1999-05-02 Andrew Innes <andrewi@gnu.org>
5423
5424 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
5425 mapped to _chsize.
5426
5427 1999-04-29 Richard M. Stallman <rms@gnu.org>
5428
5429 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
5430
5431 1999-03-30 Dave Love <fx@gnu.org>
5432
5433 * sorted-doc.c (main): Split up tables. Modify the preamble
5434 somewhat.
5435
5436 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
5437
5438 * makefile.nt: Remove common multiple file compilation commands.
5439
5440 1999-02-26 Richard Stallman <rms@gnu.org>
5441
5442 * Makefile.in (yow): Depend on epaths.h, not paths.h.
5443
5444 * yow.c: Refer to epaths.h.
5445
5446 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
5447
5448 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
5449
5450 1999-01-27 Andrew Innes <andrewi@gnu.org>
5451
5452 * makefile.nt: Do make version comparison as strings.
5453
5454 1999-01-25 Richard Stallman <rms@gnu.org>
5455
5456 * emacsclient.c (xmalloc): Fix previous change.
5457
5458 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
5459
5460 * emacsclient.c (xmalloc): Declare to return long.
5461
5462 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
5463
5464 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
5465 the case of the drive letter.
5466
5467 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
5468
5469 * emacsserver.c (main): Eliminate arbitrary limit on
5470 length of system_name.
5471
5472 * emacsclient.c (main): Eliminate arbitrary limit on
5473 length of system_name.
5474 (xmalloc): Define unconditionally.
5475
5476 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
5477
5478 * etags.c (relative_filename): Stop backward search at beginning
5479 of string, since non-Unix systems can have absolute paths with no
5480 initial slash.
5481
5482 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
5483
5484 * makefile.nt: Do string comparison of _NMAKE_VER.
5485
5486 1998-11-03 Theodore Jump <tjump@cais.com>
5487
5488 * makefile.nt: Compile multiple source files when possible.
5489
5490 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
5491
5492 * Makefile.in: Replace tabs with spaces
5493 when they might confuse some Make versions.
5494
5495 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
5496
5497 * emacsclient.c (main): Null-terminate system_name.
5498
5499 * emacsserver.c (main): Null-terminate system_name.
5500
5501 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5502
5503 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
5504 an error message from POP, mention that it's from POP, to
5505 distinguish it from local error messages.
5506
5507 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5508
5509 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
5510 order of messages downloaded from a POP server (e.g., if the
5511 server stores messages in mailboxes in reverse order).
5512
5513 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
5514
5515 * Version 20.3 released.
5516
5517 1998-08-11 Paul Eggert <eggert@twinsun.com>
5518
5519 * rcs2log: Update copyright date and bug report address.
5520 (initialize_fullname): Prefer getent if available.
5521
5522 1998-07-30 Paul Eggert <eggert@twinsun.com>
5523
5524 * Makefile.in (REGEXPDEPS, regex.o):
5525 Prepend $(srcdir)/ to rule dependencies outside this dir.
5526
5527 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
5528
5529 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
5530
5531 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
5532
5533 * Makefile.in: Properly terminate a comment.
5534
5535 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
5536
5537 * movemail.c (sys_wait): Rename to wait.
5538
5539 * ntlib.h: Undefine _WINSOCKAPI_.
5540
5541 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
5542
5543 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
5544
5545 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
5546
5547 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
5548
5549 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
5550 Force all file i/o to be in binary mode. Include ntlib.h.
5551
5552 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
5553
5554 * make-docfile.c: Include <unistd.h> for chdir.
5555
5556 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
5557
5558 * etags.c (TEX_decode_env): Don't free the value getenv returns.
5559
5560 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
5561
5562 * makefile.nt (obj): Update with new files in src.
5563 (clean): Delete patch scratch files, optimized compilation dir.
5564
5565 1998-04-08 Dave Love <fx@gnu.org>
5566
5567 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
5568 Irix6, at least.
5569
5570 1998-04-06 Andreas Schwab <schwab@gnu.org>
5571
5572 Silence -Wimplicit:
5573 * movemail.c: Move cancelations up. Include <stdlib.h> if
5574 available.
5575 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
5576 (parse_header): Explicitly declare return type.
5577 * emacsserver.c: Include <unistd.h> if available.
5578 (main, handle_signals, perror_1, fatal_error): Explicitly declare
5579 return types. Add forward declarations.
5580 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
5581 Don't declare geteuid.
5582 (print_help_and_exit): Change return type to void.
5583 Forward declare it.
5584 * b2m.c: Include <stdlib.h> if available.
5585 (main): Explicitly declare return type.
5586
5587 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
5588
5589 * etags.c (put_entries): Use %ld.
5590
5591 * b2m.c (fatal): Declare the arg.
5592
5593 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
5594
5595 * pop.c (pop_getline): Rename from getline.
5596
5597 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
5598
5599 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
5600 for the utilities.
5601
5602 1998-01-23 Dave Love <d.love@dl.ac.uk>
5603
5604 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
5605 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
5606 Always make named tags.
5607 (Fortran_functions): Grok BLOCK DATA.
5608
5609 1998-01-23 Andreas Schwab <schwab@gnu.org>
5610
5611 * movemail.c (main): Fix interwoven brace and cpp conditional
5612 nesting.
5613
5614 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
5615
5616 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
5617 with a '>' any lines starting with "From " read from the POP server,
5618 but leave the code in place, wrapped in #ifdef
5619 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5620 because it turns out that something is depending on it.
5621 Change suggested by Paul Eggert <eggert@twinsun.com>.
5622 Convert the character \037 (^_) at the beginning of a line into
5623 the character '^' followed by the character '_', because otherwise
5624 Emacs can't parse the resulting file as a valid BABYL file.
5625 Change suggested by Paul Eggert <eggert@twinsun.com>.
5626
5627 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5628
5629 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5630 server to contain embedded nulls.
5631
5632 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5633
5634 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5635 quotes with a '>' any lines starting with "From " read from the
5636 POP server, but leave the code in place, wrapped in #ifdef
5637 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5638 because it turns out that something is depending on it.
5639 Change suggested by Paul Eggert <eggert@twinsun.com>.
5640
5641 Convert the character \037 (^_) at the beginning of a line into
5642 the character '^' followed by the character '_', because otherwise
5643 Emacs can't parse the resulting file as a valid BABYL file.
5644 Change suggested by Paul Eggert <eggert@twinsun.com>.
5645
5646 1997-11-22 Richard Stallman <rms@gnu.org>
5647
5648 * b2m.c: Include getopt.h.
5649 (main): Use getopt_long to handle --version and --help.
5650
5651 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
5652
5653 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5654
5655 * pop.c (fullwrite): Get rid of an extra call to write.
5656 Problem pointed out by Chiaki Ishikawa.
5657
5658 1997-10-16 Dave Love <d.love@dl.ac.uk>
5659
5660 * etags.c (L_getit): Always make named tags so that Emacs
5661 completion on symbols containing `:' etc. works.
5662 (get_scheme): Likewise.
5663
5664 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5665
5666 * pop.c: Use system header files instead of declaring C-library
5667 functions explicitly.
5668
5669 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5670
5671 * Version 20.2 released.
5672
5673 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5674
5675 * Version 20.1 released.
5676
5677 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
5678
5679 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5680
5681 * ntlib.c (getpid): Delete function.
5682
5683 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5684
5685 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5686
5687 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5688
5689 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5690 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5691
5692 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5693
5694 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5695
5696 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
5697
5698 * profile.c (get_time): Cast arg to fprintf.
5699
5700 * hexl.c (main): Use %08lx instead of %08x in printf because the
5701 variable named addresses is long.
5702
5703 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
5704
5705 * makefile.nt (lisp): Update paths to lisp files that have moved.
5706
5707 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
5708
5709 * makefile.nt (ctags.obj): New target.
5710 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5711
5712 * ntlib.h: Add includes.
5713 Undo definitions of crt routines from config.h.
5714
5715 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5716
5717 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5718
5719 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5720
5721 * pop.c: Support auto-configuration of both Kerberos V4 and
5722 Kerberos V5 for movemail, including detection of V4 and V5 header
5723 files and libraries.
5724 Include <string.h> when STDC_HEADERS is defined, to get
5725 declarations of string functions.
5726 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
5727 V5 API rather than the old one.
5728 [KERBEROS] (socket_connection): Change a constant name from
5729 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5730 with a constant in a header file.
5731
5732 * Makefile.in: Support auto-configuration of both Kerberos V4 and
5733 Kerberos V5 for movemail, including detection of V4 and V5 header
5734 files and libraries.
5735
5736 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5737
5738 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5739
5740 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
5741
5742 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5743
5744 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5745
5746 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5747
5748 * movemail.c (rindex): Add declaration.
5749
5750 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
5751
5752 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5753 (movemail.exe): Depend upon and link with getopt files.
5754 (obj): Include new source files.
5755 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5756 (lisp): Include new and reorganized elisp files.
5757
5758 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5759
5760 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5761
5762 1997-06-25 Paul Eggert <eggert@twinsun.com>
5763
5764 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5765
5766 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
5767
5768 * b2m.c (readline): Terminate buffer properly when EOF seen.
5769 Test for valid pointer before dereferencing it.
5770
5771 1997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5772
5773 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5774 defined inside etags.c if HAVE_CONFIG_H is defined.
5775
5776 1997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5777
5778 * etags.c (logical): Type name changed to bool.
5779 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5780 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5781 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5782 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5783 (longopts): New long options without short counterpart are
5784 globals, members, no-globals, no-members. Regexp options are now
5785 defined conditionally to ETAGS_REGEXPS.
5786 (print_help): Update.
5787
5788 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5789
5790 * etags.c (C_entries): Use "." instead of "::" for Java.
5791 (consider_token): is_func renamed to is_func_or_var.
5792 (C_entries): is_func renamed to funorvar.
5793 (C_entries): Initialize tok.named.
5794 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5795 get rid of "import", "package" and "friend".
5796 (fvdef): Rename from funcdef. Also some constants renamed.
5797 All users changed.
5798 (C_entries): Make separate tags for variables separated by comma.
5799 (globals, members): New flags.
5800 (main, C_entries): Use them.
5801 (make_C_tag, C_entries): Make tok a global variable.
5802
5803 1997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5804
5805 * etags.c (funcdef): New vignore constant.
5806 (consider_token, C_entries): Use it to tag global variables.
5807 (print_help): Update for global variables.
5808 (consider_token, C_entries): Set the len member of token_name.
5809 (prolog_pred): Cleanup according to GNU coding standards.
5810 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
5811 (prolog_white, erlang_white): Rename to eat_white, callers changed.
5812
5813 1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5814
5815 * etags.c (CHARS, CHAR): New constant and macro.
5816 (iswhite, begtoken, intoken, endtoken): Use them.
5817 (notinname, _nin, nonam): New macro, array, string.
5818 (init): Cleanup and init _nin.
5819 (new_pfnote): New function.
5820 (make_C_tag) [traditional_tag_style]: Use it.
5821 (traditional_tag_style): Constant set to TRUE for now.
5822
5823 1997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5824
5825 * etags.c (C_entries, Pascal_functions): Cleanup.
5826 (TeX_functions): NULL as a function arg needs a cast.
5827 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5828
5829 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5830
5831 * etags.c (TeX_functions): Cleaned up.
5832 (tex_getit): Remove.
5833
5834 1997-05-13 Paul Eggert <eggert@twinsun.com>
5835
5836 * rcs2log (files): When computing arguments automatically, ignore
5837 non-files within the RCS subdirectory.
5838
5839 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5840
5841 * etags.c (C_JAVA): New #define.
5842 (Cjava_suffixes): .java is Java.
5843 (Cjava_entries): New function.
5844 (lang_names): Add Java.
5845 (sym_type): Add st_C_javastruct for Java.
5846 (C_stab_entry): Add `extends' and `implements' keywords.
5847 (consider_token, C_entries): Recognize Java structures.
5848
5849 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5850
5851 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5852 (Postscript_suffixes): .ps is PostScript.
5853 (lang_names): Add postscript.
5854 (Postscript_functions): New function.
5855 (TEX_decode_env): Close minor memory leak.
5856 (just_read_file): Correct the char number of the tag.
5857
5858 1997-05-11 Paul Eggert <eggert@twinsun.com>
5859
5860 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5861 Don't prepend $nl since this causes some shells to generate the
5862 empty string when IFS is $nl.
5863 (printlogline): Use SOH (octal code 1), not CR, since some
5864 PC-based shells mishandle CR.
5865 (initialize_fullname): Set NIS_PATH to the empty string before invoking
5866 nismatch, in case it's set to some nonstandard value.
5867
5868 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5869
5870 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5871 read in separate blocks.
5872
5873 1997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5874
5875 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5876 (struct linebuffer): New member `len' is the length of the string.
5877 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5878 Use it instead of strlen.
5879 (TEX_getit): Declare and define unconditionally as static.
5880 (TeX_functions): Use if instead of #if TeX_named_tokens.
5881 (add_regex): Set RE_INTERVALS flag for regex compilation.
5882 (substitute): Code cleanup.
5883 (readline_internal): Code cleanup, set new member `len'.
5884 (readline): Bug corrected.
5885
5886 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
5887
5888 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5889 (obj): Change references of nt*.c files to w32*.c files.
5890
5891 1997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5892
5893 * etags.c (xnew): Add support for debugging with chkmalloc.
5894 (error): Use this instead of printf whenever possible.
5895 (main): Only call xnew after having initialized progname.
5896 (substitute): Bad memory corruption error corrected.
5897
5898 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5899
5900 * etags.c (add_regex): Undo previous change.
5901 (relative_filename): Small memory leak closed.
5902 (absolute_filename): Cleaned up the code, possibly closing a bug.
5903 (absolute_dirname): Always return a newly allocated string.
5904
5905 1997-03-21 Paul Eggert <eggert@twinsun.com>
5906
5907 * rcs2log (files): Ignore files in RCS directory whose names are
5908 of the form ,*, or *_; they are probably RCS lock files.
5909 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5910 they are used by rcsfreeze.
5911
5912 1997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5913
5914 * etags.c (add_regex): Reset *putbuf before using it.
5915
5916 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5917
5918 * movemail.c (popmail): Remove some unnecessary function
5919 declarations.
5920 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5921 into pop_retr, there's no reason to pass in mbx_write, and the
5922 file argument can be declared FILE * explicitly. This fixes a
5923 compilation problem on systems with 64-bit pointers.
5924
5925 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5926
5927 * movemail.c: Delete duplicate inclusion of fcntl.h
5928 and duplicate #undefs of open, read, write, close.
5929
5930 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5931
5932 * movemail.c (main): Do not display "[POP-password]" in the usage
5933 message when movemail is compiled without POP support.
5934 (main, popmail): Add the optional "-p" argument, which causes
5935 movemail to leave mail in the inbox after copying it into the
5936 output file.
5937
5938 * Makefile.in (movemail): Link with getopt.
5939
5940 1997-01-20 Paul Eggert <eggert@twinsun.com>
5941
5942 * rcs2log (--help, --version): New options, per GNU coding standards.
5943 (Copyright, Help, Id): New variables, for above.
5944 (rlog): Use -q option with cvs log, to avoid useless chatter.
5945
5946 Treat logs of "Initial revision" (RCS) or "file F was initially added
5947 on branch B." (CVS) as if they said "New file.", for consistency with
5948 change log entries.
5949
5950 1997-01-01 Paul Eggert <eggert@twinsun.com>
5951
5952 * vcdiff (PATH): Add /usr/xpg4/bin,
5953 where XPG4 SCCS hangs out in Solaris 2.5.
5954 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5955
5956 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5957
5958 * etags.c (streq, strneq): Use == NULL rather than !.
5959
5960 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5961
5962 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
5963 (movemail): Use LIBMAIL, to link against -lmail.
5964
5965 * movemail.c: Include maillock.h (conditionally).
5966 Remove a redundant inclusion of <stdio.h>.
5967 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5968 (main): Add variable spool_name.
5969 Support the usage of maillock and mailunlock to
5970 lock and unlock mailboxes.
5971 (mail_spool_name): New function.
5972
5973 * movemail.c: Fix an uninitialized variable which could cause
5974 movemail to exit with an error status incorrectly on systems which
5975 use lock files rather than a system locking function to lock
5976 mailboxes.
5977
5978 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5979
5980 * pop.c (socket_connection): Free realhost after using it.
5981
5982 1996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5983
5984 * etags.c (C_entries): Test tok.valid. This handles some
5985 particular cases involving function declarations that failed.
5986
5987 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
5988
5989 * pop.c (socket_connection):
5990 gethostbyname may return a pointer to static data.
5991 krb_realmofhost can clobber it. So copy it.
5992
5993 1996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5994
5995 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5996 must cast it to (char *) because we have no prototypes.
5997 (make_C_tag): Macro deleted, new function.
5998 (C_entries): Calls to make_C_tag macro changed to call function.
5999
6000 1996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6001
6002 * etags.c (grow_linebuffer): New function.
6003 (GROW_LINEBUFFER): Macro deleted. All callers changed.
6004 (make_tag): Macro renamed to make_C_tag. All callers changed.
6005 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
6006 (Prolog_functions): prolog_skip_comment was called with wrong
6007 number of arguments.
6008 (xrealloc): fatal was called with wrong number of arguments.
6009
6010 1996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6011
6012 * etags.c (relative_filename): Bug corrected.
6013 (etags_getcwd): Avoid warning of unused variable.
6014 (C_entries, consider_token): Add support for enum labels.
6015
6016 1996-11-03 Paul Eggert <eggert@twinsun.com>
6017
6018 * rcs2log: When processing cvs log output, remove `Attic/' from
6019 repository file names.
6020
6021 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
6022
6023 * emacsserver.c: Fix 1996-09-02 change.
6024
6025 1996-10-12 Paul Eggert <eggert@twinsun.com>
6026
6027 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
6028 option', since CVS says 'invalid option'.
6029 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
6030 revisions, since some hosts reject 1970-01-01 when east of UTC.
6031 (date): Remove.
6032
6033 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6034
6035 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
6036
6037 1996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6038
6039 * etags.c (print_version): Print copyright info.
6040
6041 * etags.c (print_help): Print the bug reporting address.
6042 (main): Use return as the last instruction, instead of exit.
6043
6044 * etags.c (main): Don't open the tags file in cxref mode.
6045
6046 1996-09-29 Dave Love <d.love@dl.ac.uk>
6047
6048 * rcs2log (date): Make default format acceptable to CVS post v1.8
6049 as well as earlier CVSs and RCS.
6050
6051 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6052
6053 * movemail.c (main): If the lock call fails with EBUSY or
6054 EAGAIN, retry a few times.
6055
6056 1996-09-25 Paul Eggert <eggert@twinsun.com>
6057
6058 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
6059 whether to append -zLT.
6060
6061 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6062
6063 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
6064 * emacsclient.c, movemail.c: Likewise.
6065
6066 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6067
6068 * emacsclient.c (longopts): Change nowait to no-wait.
6069 (print_help_and_exit): Fix option name; upcase metavars.
6070
6071 1996-09-06 Erik Naggum <erik@naggum.no>
6072
6073 * emacsserver.c (main): Declare `fromlen' as size_t.
6074
6075 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
6076
6077 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
6078
6079 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6080
6081 * emacsclient.c (quote_file_name): Quote with &, not \.
6082 Quote `-' only at start of file name. Terminate the value string.
6083
6084 * emacsserver.c: Include signal.h properly;
6085 delete the duplicate includes for it.
6086
6087 * emacsserver.c: On fatal signal, delete socket-file:
6088 * emacsserver.c: Include signal.h.
6089 (xmalloc, fatal, error): New functions.
6090 (delete_socket, handle_signals): New functions.
6091 (progname, socket_name): New variables.
6092 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
6093
6094 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6095
6096 * emacsclient.c (quote_file_name): New function.
6097 (main, both versions): Use quote_file_name.
6098 (decode_options): Don't return a value.
6099 (main, both versions): Use optind.
6100 Don't check for -nowait here.
6101
6102 * emacsclient.c (decode_options): New function.
6103 (main, both versions): Call decode_options.
6104 (print_help_and_exit): New function.
6105 (VERSION): New macro.
6106
6107 * Makefile.in (emacsclient): Link with getopt.
6108 Add -DVERSION so emacsclient knows its version number.
6109
6110 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
6111
6112 * makefile.nt (lisp): Include dos-nt.elc.
6113
6114 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6115
6116 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
6117
6118 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6119
6120 * emacsclient.c (both versions): Handle -nowait and --nowait
6121 by sending data to the server.
6122
6123 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6124
6125 * Makefile.in (INSTALL_STRIP): New variable.
6126 (${archlibdir}): Use INSTALL_STRIP.
6127
6128 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
6129 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
6130
6131 * pop.c: Reverse conditional in previous change.
6132
6133 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
6134
6135 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
6136
6137 1996-08-24 Paul Eggert <eggert@twinsun.com>
6138
6139 * rcs2log: Use ISO 8601 date format, with time zone appended
6140 if change-log-time-zone-rule is non-nil, instead of
6141 traditional Unix date format.
6142
6143 (datearg): When computing default from ChangeLog, handle ISO format
6144 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
6145 Don't worry about hh:mm:ss since the resolution is now by day.
6146 Use empty datearg, not empty rlog_options, to decide whether to pass
6147 "$datearg" option to $rlog.
6148 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
6149 (month_data): Remove `mo'; no longer needed.
6150 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
6151
6152 Match `revision' line of rlog output more accurately.
6153
6154 Add -c, -v options.
6155
6156 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
6157
6158 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
6159
6160 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6161
6162 * Version 19.33 released.
6163
6164 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6165
6166 * Version 19.32 released.
6167
6168 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
6169
6170 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
6171 computing character positions in source files.
6172
6173 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
6174
6175 * makefile.nt (clean): Use OBJDIR macro.
6176
6177 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6178
6179 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
6180
6181 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
6182
6183 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
6184 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
6185 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
6186
6187 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
6188
6189 * ntlib.h: Correct return type of getwd.
6190 * ntlib.c (getwd): Correct return type.
6191
6192 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6193
6194 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
6195 to infile.
6196
6197 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
6198
6199 * makefile.nt: Remove all references to wakeup.
6200
6201 1996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6202
6203 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
6204 explicit, mutable, typename.
6205
6206 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6207
6208 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
6209 streams, one for sending and one for reading the reply.
6210
6211 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6212
6213 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
6214 (wakeup): Target deleted.
6215 (UTILITIES): Delete wakeup and timer.
6216
6217 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
6218
6219 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
6220
6221 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
6222 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
6223
6224 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6225
6226 * etags.c (main): Copy cwd when appending slash.
6227
6228 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
6229
6230 * Version 19.31 released.
6231
6232 1996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6233
6234 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
6235 (Pascal_functions): Increase linecharno by the correct number of
6236 chars, inline the GET_NEW_LINE macro and delete its definition.
6237
6238 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
6239
6240 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
6241
6242 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
6243
6244 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6245 (movemail.exe, fakemail.exe): Now built under Win32.o.
6246
6247 * ntlib.c: Include ntlib.h.
6248 (nt_sleep): Rename to sleep.
6249 (getwd): Return directory.
6250 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
6251 sys_ctime, sys_fopen): New functions.
6252
6253 * ntlib.h: New file.
6254
6255 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
6256
6257 * pop.c (SEND, RECV): Rename from send, recv.
6258 (pop_open, pop_trash): Make the trash_started code unconditional.
6259 (socket_connection): Delete casts to void.
6260
6261 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
6262
6263 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
6264 Definitions copied from lisp.h.
6265
6266 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
6267
6268 * fakemail.c [WINDOWSNT]: Include ntlib.h.
6269
6270 * hexl.c [DOSNT]: Include fcntl.h.
6271 [WINDOWSNT]: Include io.h.
6272 (main) [MSDOS]: Change conditional to DOS_NT.
6273
6274 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
6275 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
6276 [WINDOWSNT]: Include locking.h.
6277 (main): Update usage message. Use IS_DIRECTORY_SEP.
6278 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
6279 (main) [WINDOWSNT]: Invoke locking instead of flock.
6280 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
6281 (main) [MAIL_USE_POP]: Pass password to popmail if used.
6282 Include winsock.h; don't include unix inet headers.
6283 (popmail): Add password argument and pass it to pop_open.
6284 Open output file in binary mode.
6285
6286 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
6287 Macro SOCKET_ERROR undefined.
6288 Don't declare h_errno.
6289 [!WINDOWSNT]: Define macros recv and send.
6290 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
6291 (pop_open) [WINDOWSNT]: Initialize trash_started.
6292 (have_winsock) [WINDOWSNT]: New variable.
6293 (socket_connection) [WINDOWSNT]: Initialize winsock.
6294 (socket_connection): Use closesocket instead of close.
6295 (getline): Use recv instead of read.
6296 (fullwrite): Use send instead of write.
6297 (pop_trash): Use closesocket instead of close.
6298 (pop_trash) [WINDOWSNT]: Cleanup winsock.
6299 Check if being called recursively by sendline.
6300
6301 * pop.h (struct _popserver): New field trash_started.
6302
6303 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
6304
6305 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6306
6307 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
6308
6309 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6310
6311 * etags.c [WINDOWSNT]: Include io.h.
6312
6313 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
6314
6315 * makefile.nt (CTAGSOBJ): Compile with regexp support.
6316
6317 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
6318
6319 * hexl.c [DJGPP v2]: Include io.h.
6320 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
6321
6322 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
6323 DJGPP v2.
6324
6325 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6326
6327 * etags.c (absolute_filename): Use absolutefn.
6328
6329 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
6330
6331 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
6332 letter isn't an alphabetic character.
6333 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
6334 (process_file) [DOS_NT]: Convert all slashes to forward style.
6335 (absolute_filename) [DOS_NT]: Emit error message for relative
6336 paths with a drive letter.
6337 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
6338 DOS/NT drive letters which try to reference the parent of the root.
6339 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
6340
6341 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
6342
6343 * makefile.nt: Change uses of del to $(DEL).
6344
6345 1996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6346
6347 * etags.c (just_read_file): Reset lineno and charno on entry.
6348
6349 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
6350
6351 * etags.c: Prolog language totally rewritten.
6352 (Prolog_functions): Rewritten from scratch.
6353 (skip_comment, prolog_getit): Remove.
6354 (prolog_skip_comment): New function, like old skip_comment.
6355 (prolog_pred, prolog_atom, prolog_white): New functions.
6356 (erlang_func, erlang_attributes): Forward declarations added.
6357 (erlang_atom): Check if backslash ends line inside quoted atom.
6358
6359 1996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
6360
6361 * etags.c (absolutefn): DOS_NT version corrected.
6362 (main): Append "/" to the dir name only if not already there.
6363 (print_help): Explain the absolute/relative file name issue.
6364
6365 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
6366
6367 * etags.c: New Language Erlang added.
6368 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
6369 (erlang_white): New functions.
6370 (Erlang_suffixes): New suffix list.
6371 (lang_names): Erlang entry added.
6372 (prolog_getit): Accepts headers spanning several lines.
6373 Always name tags.
6374 (Prolog_functions): Remove incorrect compensation for
6375 newline characters.
6376 (readline_internal): Zero-terminate last line.
6377
6378 1996-03-20 Mike Long <mike.long@analog.com>
6379
6380 * b2m.c (main): Initialize progname variable before using it.
6381 Quote `username' in From_ header.
6382
6383 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
6384
6385 * ntlib.c (getpid): New function.
6386
6387 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6388
6389 * emacsclient.c (main, both definitions):
6390 Print a newline for normal termination.
6391
6392 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
6393
6394 * tcp.c (main): Convert port to network byte order.
6395
6396 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
6397
6398 * pop.c (pop_retrieve, getline): Avoid type clashes.
6399
6400 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
6401
6402 * etags.c (enum sym_type, anonymous enum): Delete final comma.
6403
6404 1996-01-15 Paul Eggert <eggert@twinsun.com>
6405
6406 * rcs2log (initialize_fullname): Add support for NIS+.
6407 (hostname): Fully qualify the default hostname with the domainname
6408 if the hostname lacks a `.'.
6409
6410 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
6411
6412 * etags.c (consider_token): Fix typo in expression.
6413
6414 1996-01-04 Paul Eggert <eggert@twinsun.com>
6415
6416 * etags.c (substitute): Fix spelling in message.
6417
6418 1996-01-03 George V. Reilly <georger@microcrafts.com>
6419
6420 * makefile.nt (etags, ctags): Compile with regexp support.
6421 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
6422 subdirectory exists before compiling.
6423
6424 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
6425
6426 * emacsserver.c (main): Do chmod based on existing permission.
6427
6428 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6429
6430 * Makefile.in (install): Turn on read/execute permission.
6431
6432 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6433
6434 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
6435 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
6436
6437 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
6438
6439 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
6440
6441 1995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
6442
6443 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
6444 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
6445 get_scheme, prolog_getit): Name the tag in ctags mode.
6446 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
6447 (Perl_interpreters): Accept "@PERL@" as an interpreter.
6448 (suggest_asking_for_help): New function.
6449 (main, get_language_from_name): Use suggest_asking_for_help.
6450 (main): Let get_language_from_name make language existence check.
6451 (streq, strneq): Check the arguments #if DEBUG.
6452
6453 1995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
6454
6455 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
6456 (gperf): Add keywords for Objective C and GNU macros.
6457 (sym_type): Add values to account for Objective C and GNU macros.
6458 (begtk): The '@' character can start a token.
6459 (objdef, methodlen, objtag): New variables for Objective C.
6460 (consider_token, C_entries): Add code for Objective C.
6461 (plain_C_suffixes): Add .m and .lm for Objective C.
6462 (Yacc_suffixes): Add .ym for Objective yacc.
6463 (GROW_LINEBUFFER): New macro.
6464 (consider_token, C_entries, Pascal_functions): Use the new macro.
6465 (consider_token): Take one more argument. Caller changed.
6466 (consider_token): Use the hashing function to spot GNU macros.
6467 (C_entries): Consider // as a comment start even in plain C for
6468 the sake of Objective C parsing.
6469
6470 1995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
6471
6472 * Makefile.in (ctags): Depend on etags only for simplicity;
6473 compile with regexp support enabled.
6474
6475 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6476
6477 * Version 19.30 released.
6478
6479 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
6480
6481 * makefile.nt (DOC, clean): Don't use switches to del not
6482 supported by Windows 95.
6483
6484 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6485
6486 * Makefile.in (regex.o): Depend on ../src/config.h.
6487
6488 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6489
6490 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
6491 (LOADLIBES): Use LIB_STANDARD.
6492
6493 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
6494
6495 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
6496 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
6497 Windows 95 conditional.
6498
6499 1995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
6500
6501 * etags.c (get_lang_from_name, get_lang_from_interpreter)
6502 (get_lang_from_suffix): New functions.
6503 (get_language): Function deleted.
6504 (lang_entry): Two members added to struct.
6505 (lang_names): Reflect the new layout of lang_entry.
6506 (print_language_names, main, find_entries): Use the new functions.
6507 (find_entries): Look at the first line for #! if no language.
6508 (C_entries): Invalidate the token when funcdef is reset.
6509 (Perl_functions): New function.
6510 (lang_suffixes): .pl and .pm are Perl suffixes.
6511
6512 1995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
6513
6514 * etags.c (lowcase): Use the standard tolower function.
6515 (substitute): Remove some wrong and some useless code related with
6516 escape '\' character in regexp replacement string.
6517 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
6518 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
6519 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
6520 .prolog for prolog (.pl removed).
6521 (massage_name, etags_getcwd): Use lowcase instead of tolower.
6522 (C_entries, find_entries): Add comments about memory leakage.
6523 (add_node): Dead code removed.
6524
6525 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6526
6527 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
6528 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
6529
6530 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6531
6532 * test-distrib.c: Add #undef for open, close, read, write.
6533
6534 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6535
6536 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
6537 [! O_RDONLY]: Define it to zero.
6538 (main): Use O_RDONLY instead of explicit zero.
6539
6540 1995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
6541
6542 * etags.c (Pascal_functions): Close comment bug corrected.
6543 (add_node): Correctly compare node file names.
6544 (Pascal_functions): Correctly allocate and free memory for tline.
6545 (pfnote): Put the definition of fp in the innermost block.
6546 (NODE): `named' member removed.
6547 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
6548 use the `named' member, check whether `name' is NULL instead.
6549 (pfnote): `named' argument removed, all callers changed.
6550 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
6551 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
6552 removed from pfnote call, some code cleanup.
6553 (relative_filename): Free temporary space allocated by concat.
6554
6555 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6556
6557 * Makefile.in (getdate.c): New target.
6558 (getdate.o): Just compile getdate.c.
6559
6560 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
6561
6562 * fakemail.c (xrealloc): Change cast to match return type.
6563
6564 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6565
6566 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
6567
6568 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6569
6570 * movemail.c (main): Fix previous change.
6571 Add error check for empty OUTNAME.
6572
6573 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6574
6575 * movemail.c (main): Mention lock file name in error message.
6576
6577 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6578
6579 * profile.c (gettimeofday): New function, defined if necessary.
6580
6581 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6582
6583 * Makefile.in: Renamed from Makefile.in.in.
6584 (distclean): Delete Makefile.c, not Makefile.in.
6585
6586 1995-07-17 Michael Shields <shields@tembel.org>
6587
6588 * Makefile.in.in (tags): Synonym for `TAGS'.
6589
6590 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6591
6592 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
6593 configure has already set $(INSTALL) to the proper relative path.
6594
6595 1995-07-08 Paul Eggert <eggert@twinsun.com>
6596
6597 * rcs2log (datearg): Separate date from time with comma, not space,
6598 to work around CVS 1.5 bug.
6599 (CVSROOT): Don't abort when unset if repository is absolute.
6600
6601 1995-07-07 Paul Eggert <eggert@twinsun.com>
6602
6603 * rcs-checkin, rcs2log, vcdiff:
6604 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
6605 that interpret `#! /' as a 4-byte magic number.
6606
6607 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
6608
6609 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
6610 mailbox with "po:mailbox", the mailbox is everything after the
6611 "po:" prefix.
6612
6613 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6614
6615 * emacsserver.c: Make all error messages start with `Error: '.
6616 (fatal_error, perror_1): New functions, use throughout.
6617
6618 1995-06-28 Paul Eggert <eggert@twinsun.com>
6619
6620 * rcs2log (CVSROOT, repository):
6621 Allow remote repositories a la CVS 1.4.
6622
6623 1995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
6624
6625 * etags.c (plain_C_entries): New function.
6626 (lowcase): New macro.
6627 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6628 (lang_suffixes): New suffix ".pc" for Pro*C files.
6629 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6630 (tail): Look for the end of the token when comparing.
6631 (takeprec): Since now tail behaves differently, use strneq.
6632
6633 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6634
6635 * movemail.c (main): Add newline in usage message.
6636
6637 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6638
6639 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6640
6641 1995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
6642
6643 * etags.c (find_entries): Rewind before rereading the input file.
6644
6645 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6646
6647 * Version 19.29 released.
6648
6649 * make-docfile.c (main) [MSDOS]: Do set _fmode.
6650 This undoes part of the previous change.
6651
6652 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6653
6654 * make-docfile.c (main): On MSDOS, don't change stdout
6655 to binary, and insist on an -o option.
6656
6657 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
6658
6659 * etags.c (process_file, absolute_filename): Handle filenames
6660 starting with a drive letter.
6661
6662 * makefile.nt (install): Copy wakeup.exe properly.
6663
6664 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
6665
6666 * make-docfile.c [MSDOS]: #undef chdir.
6667
6668 1995-06-04 Paul Eggert <eggert@twinsun.com>
6669
6670 * rcs2log (output_authors): Allow ':' in time zone,
6671 as per ISO 8601 and RCS 5.6.8 beta.
6672
6673 1995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
6674
6675 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
6676 compatibility problems.
6677
6678 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
6679
6680 * etags.c (etags_getcwd): Don't use #elif.
6681 Have just one function body.
6682
6683 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
6684
6685 * makefile.nt (LIBS): Use BASE_LIBS.
6686 (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
6687 upon LIBS.
6688 (DOC): Use del instead of rm.
6689 (DOC) [WINDOWS95]: Use DOC.
6690 (clean): Handle MSVC aux files.
6691 (config.h, paths.h): Use $(CP) instead of cp.
6692 (config.h): Use $(CONFIG_H)
6693 (make-docfile.obj): Depend upon config.h.
6694 Clean up comments.
6695
6696 1995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
6697
6698 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6699 former gives the true path even in the presence of simlinks.
6700
6701 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6702
6703 * movemail.c (main): Increase lock timeout to five minutes.
6704
6705 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
6706
6707 * makefile.nt (obj): Use .c files.
6708
6709 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6710
6711 * make-docfile.c: Include config.h.
6712 (NO_SHORTNAMES): New definition.
6713 (xmalloc): Return long *.
6714
6715 * etags.c (C_entries): Cast result of xrealloc.
6716 (xmalloc, xrealloc): Declare them to return long *.
6717
6718 * b2m.c (xmalloc, xrealloc): Declare them long *.
6719
6720 * movemail.c (xmalloc): Declare it to return long *.
6721
6722 1995-04-30 Paul Eggert <eggert@twinsun.com>
6723
6724 * rcs2log (datearg): If rlog options are specified explicitly,
6725 omit the implicit '-d>DATE' option.
6726 (repository, rlog): Allow absolute paths to CVS repositories.
6727 Look only at the first line of CVS/Repository.
6728
6729 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
6730
6731 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6732 realclean.
6733
6734 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6735
6736 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6737 Alternative (empty) definitions.
6738
6739 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6740
6741 * emacsclient.c (main): Add argv[0] to an error message.
6742
6743 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
6744
6745 * emacsclient.c (main): Improve error handling.
6746 * cvtmail.c (main, skip_to_lf): Improve error handling.
6747 (sysfail): New function.
6748
6749 * b2m.c (main): Check for trailing ", " before trying to delete it.
6750
6751 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6752
6753 * Makefile.in.in (all): Build test-distrib and make-docfile.
6754
6755 * make-docfile.c (scan_c_file): At end, restore file name last char
6756 to its original value.
6757
6758 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6759
6760 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6761
6762 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6763
6764 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
6765 (alloca.o, regex.o): Use BASE_CFLAGS.
6766
6767 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6768
6769 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6770
6771 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
6772
6773 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
6774 (SOURCES, distclean): Remove obsolete references to aixcc.
6775
6776 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6777
6778 * aixcc.lex: File deleted--surely obsolete now.
6779
6780 1995-03-23 Paul Eggert <eggert@twinsun.com>
6781
6782 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6783 portability to mawk and nawk.
6784
6785 1995-03-21 Paul Eggert <eggert@twinsun.com>
6786
6787 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6788 -u "login<tab>fullname<tab>mailaddr".
6789
6790 1995-03-21 Paul Eggert <eggert@twinsun.com>
6791
6792 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6793 replaces the (now obsolescent) -n login fullname mailaddr option.
6794 Add -R option for recursive rlog.
6795 (AWK): New environment variable (default `awk') for awk program name.
6796 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6797 Quote authors and fullnames correctly.
6798 Don't omit path from repository root when logging CVS files.
6799
6800 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6801
6802 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6803 even if HAVE_SYSVIPC.
6804 * emacsclient.c (main): Use getcwd if not BSD.
6805
6806 1995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
6807
6808 * etags.c (process_file): Free (filename) after using it.
6809 (readline_internal): Do not access the char before start of line.
6810
6811 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
6812
6813 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
6814 savetok.valid. Mark token as valid when it is initialized.
6815 (make_tag): Make token only if token is valid and reset validity.
6816 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6817 (TOKEN): Add a new member: valid.
6818
6819 1995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
6820
6821 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6822 (main): Do not read twice the last filename in the stdin file list.
6823
6824 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
6825
6826 * etags.c (C_entries): Initialize the new members of TOKEN.
6827 (C_entries): Do not allocate a new space for each token found by
6828 consider_token. Let make_tag do that instead.
6829 (make_tag): Since now TOKEN has memory of where it is taken from,
6830 this new macro substitutes both make_tag_from_new_lb and
6831 make_tag_from_oth_lb. All callers changed.
6832 (TOKEN): Add linepos and buffer members.
6833 (main): Initialize token_str.
6834 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6835 (token_str): New global variable used by C_entries.
6836
6837 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
6838
6839 * Makefile.in.in (maintainer-clean): Rename from realclean.
6840
6841 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
6842
6843 * etags.c (pfnote): Initialize been_warned in the node.
6844 (C_entries): Remove a speed hack for the sake of clarity.
6845
6846 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
6847
6848 * etags.c (longopts, print_help, main): Use -I as abbreviation
6849 for the --ignore-indentation option.
6850 (main): Do not print an error message for unknown options.
6851
6852 1995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
6853
6854 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6855 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6856 (constantypedefs, update, vgrind_style, no_warnings)
6857 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6858 (permit_duplicates): Was a var, now a #define.
6859 (filename_lb): Was global, now local to main.
6860 (main): Open the tag file when in cxref mode.
6861 Use a BUFSIZ size buffer for making the shell commands.
6862 Look at the return value from the system routine.
6863 Exit when cannot open the tag file.
6864 (process_file): Open the file and pass the FILE* to find_entries.
6865 (find_entries): Now void, because does not open the file itself.
6866 (pfnote): Recovering from lack of memory does not work. Removed.
6867 Use savenstr and simplify the code.
6868 (free_tree): Only free the name space if node is named.
6869 (structtag): Now a pointer, not a fixed length array of chars.
6870 (consider_token): Don't take a token as argument. Use savenstr
6871 when saving a tag in structtag. Callers changed.
6872 (TOKEN): Structure changed. Now used only in C_entries.
6873 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6874 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
6875 (pfcnt): Delete. Users updated.
6876 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6877 (TEX_getit, prolog_getit): Use dinamic allocation for storing
6878 the tag instead of a fixed size buffer.
6879
6880 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6881
6882 * movemail.c (main): Skip past the colon in inname.
6883
6884 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6885
6886 * etags.c (pfatal): New function.
6887 (main, etags_getcwd): Use pfatal.
6888 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6889
6890 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6891
6892 * etags.c (Lang_function): Use void instead to declare the
6893 language functions, because many compilers are buggy.
6894 (etags_getcwd): Fix the previous fix on the #else branch.
6895 (readline_internal): Discard possible \r before \n here.
6896 (C_entries): Do not deal with \r here: undo previous fix.
6897
6898 1995-01-09 Francesco Potortì (pot@fly)
6899
6900 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6901 functions and a macro that allow the program to work on input
6902 lines of whatever length. Copied from etags.c.
6903 (fatal): Print a fatal error message and exit.
6904 (main): Use the new functions. Fixed a bug that made a \037 char
6905 appear at the end of the output.
6906
6907 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6908
6909 * etags.c (C_entries): Ignore carriage return at end of line.
6910
6911 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6912
6913 * fakemail.c (xmalloc, xrealloc): Add casts.
6914 (add_field): Handle <...> and "..." syntax.
6915 (setup_files, get_keyword): Clean up parens and line breaks.
6916 (args_size): Likewise.
6917
6918 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
6919
6920 * yow.c: Include program name in error messages.
6921
6922 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6923
6924 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6925 (xmalloc, fatal, error): New functions.
6926 (progname): New variable.
6927 (main): Set progname.
6928
6929 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6930
6931 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6932 (main): If socket/mqueue name is in home dir, add in the host name.
6933 Rename .emacs_server to .emacs-server....
6934
6935 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6936
6937 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6938
6939 1994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
6940
6941 * etags.c (print_help): Print --regex usage for ctags also.
6942 (main): Use -h in addition to -H as abbreviation for --help.
6943
6944 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6945
6946 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6947 is compiled if this is defined. The new functions and variables
6948 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6949 [VMS]: All VMS specific code previously contained in
6950 etags-vmslib.c is now included here, modified for dealing with
6951 language and regex options intermixed with filenames.
6952 (header_file): Global variable deleted.
6953 (Lang_Function): New typedef. All language parser functions
6954 changed to this new type.
6955 (string_numeric_p, substr, prestr): Functions deleted.
6956 (readline_internal): Does the job that readline did previously.
6957 (longopts): --language and --regex options added.
6958 (lang_names, lang_extensions, lang_func, print_language_names):
6959 New structures, variables and functions for choosing languages.
6960 (print_help): Help strings updated. Calls print_language_names.
6961 (argument_type, ARGUMENT): Typedefs for dealing with language and
6962 regex options intermixed with filenames.
6963 (main): Change the way of dealing with arguments on the command
6964 line to deal with language and regex options intermixed with
6965 filenames.
6966 (get_language, default_C_entries, Cplusplus_entries,
6967 Cstar_entries, Yacc_entries, just_read_file): New functions.
6968 (find_entries): Use the new method for choosing the language.
6969 (Pascal_functions): Allow intermixing of comment styles.
6970 (prolog_getit, skip_comment): Rewritten for speed.
6971 (readline): Rewritten to deal with regexps.
6972
6973 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6974
6975 * etags.c (<errno.h>): #include added.
6976 (etags_getcwd): Check return value from getcwd.
6977
6978 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6979
6980 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6981 (get_time): Use EMACS_SUB_TIME.
6982
6983 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
6984
6985 * ntlib.c: New file.
6986 * makefile.nt: New file.
6987
6988 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6989 [WINDOWSNT]: Include the NT headers.
6990 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6991
6992 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6993 [WINDOWSNT]: Include some NT headers.
6994
6995 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6996
6997 * pop.c (getline): When a search of already-read input for CRLF
6998 fails, store the fact that we've searched it and don't search it
6999 again after reading more data.
7000
7001 * pop.c (getline): When determining whether or not it's necessary
7002 to grow the input buffer, take into account the null that's stored
7003 at the end of already-read input in the buffer.
7004
7005 1994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
7006
7007 * etags.c (prestr, substr): Return a logical type.
7008 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
7009 (consider_token): Set funcdef to fignore when a DEFUN is met.
7010 (C_entries): Now we can use Tom Hageman patch for extern "C".
7011
7012 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7013
7014 * movemail.c: PopServer renamed to popserver throughout.
7015
7016 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
7017
7018 * etags.c: Don't declare malloc, since we include config.h.
7019 * fakemail.c: Likewise.
7020
7021 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7022
7023 * movemail.c: Don't declare malloc.
7024
7025 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
7026
7027 * rcs-checkin: Use test -r instead of < to check readability, to
7028 avoid syntax error.
7029
7030 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
7031
7032 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
7033 defined, and if HAVE_CONFIG_H isn't defined, define
7034 MAIL_USE_POP always (so that this file can be included in
7035 other programs besides emacs).
7036
7037 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
7038 HAVE_CONFIG_H isn't defined.
7039
7040 * pop.c (find_crlf, getline): Instead of using strstr, use a
7041 custom function for finding CRLF.
7042 (my_strstr): Function deleted.
7043
7044 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
7045
7046 * pop.c (getline): Fix a segfault because of passing a
7047 non-null-terminated string into strstr(). Fix from
7048 djm@va.pubnix.com (David J. MacKenzie).
7049
7050 * pop.c: Don't include <string.h> and <strings.h>.
7051
7052 * pop.c: Include <des.h> before <krb.h>, rather than after.
7053 They should be interchangeable, and indeed the inclusion is done in
7054 both orders in various files in the Kerberos 4 library sources,
7055 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
7056 requires that <des.h> be included first, and I don't see any harm
7057 in changing the order.
7058
7059 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
7060 STDC_HEADERS, if they're defined. Undef open, read, write and
7061 close after including it.
7062
7063 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7064
7065 * pop.c: Fix mismatch in conditionals.
7066
7067 * make-docfile.c (main): Don't process one input file twice.
7068 Never use exit code > 1.
7069
7070 * pop.c (open, close, read, write): Add #undefs.
7071
7072 * pop.c: Don't declare malloc, realloc, free.
7073 Include ../src/config.h.
7074 Don't include string.h or strings.h.
7075 Include des.h before krb.h.
7076 Do declare my_strstr.
7077 (getline): Really use my_strstr.
7078 Leave one empty place in server->buffer,
7079 and put a null at the end of the data in it.
7080
7081 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7082
7083 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
7084 Don't call kill with pid 0. Handle EINTR when receiving messages.
7085
7086 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
7087
7088 * Makefile.in.in (regex.o): Use full path to find regex.c.
7089
7090 1994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
7091
7092 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
7093 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
7094
7095 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
7096
7097 * Makefile.in.in (DONT_INSTALL): Remove make-path.
7098 (${archlibdir}): Use mkinstalldirs instead.
7099
7100 * movemail.c: Make functions that return nothing void, not
7101 implicitly int.
7102 (main): Improve usage message.
7103 (error): Write to stderr, not stdout.
7104
7105 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
7106 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
7107 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
7108 warnings from unused variables and implicitly declared functions.
7109
7110 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7111
7112 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
7113 (distclean): Not here.
7114
7115 * Makefile.in.in (libexecdir): Rename from libdir.
7116
7117 1994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
7118
7119 * etags.c (C_entries): Name the #define's that are macros.
7120
7121 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7122
7123 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
7124 fd_set arg is a pointer, descriptor arg comes first.
7125
7126 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
7127
7128 * etags.c (C_entries): Recognize typedef of ANSI style functions.
7129 (C_entries): Recognize #define inside a struct.
7130 (C_entries): ANSI tells that preprocessor commands do not have to
7131 start on the first column.
7132 (print_help): Documentation corrected for -d and -D.
7133 (white, endtk): ANSI tells the vertical tab is a separator.
7134
7135 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
7136
7137 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
7138 (pop.o, movemail.o): New targets.
7139 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
7140
7141 * pop.c, pop.h: New files.
7142
7143 * movemail.c: Improve POP code, move most of it into a separate file.
7144 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
7145 (mbx_write): Check for errors and for From line.
7146 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
7147 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
7148 (pop_init): Functions deleted.
7149
7150 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
7151
7152 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
7153 Rename path to dirname.
7154
7155 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7156
7157 * Makefile.in.in (UTILITIES):
7158 Remove test-distrib, make-docfile, make-path.
7159 (DONT_INSTALL): New variable--list those files here.
7160 (clean): Delete the files in DONT_INSTALL.
7161
7162 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7163
7164 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
7165 (main): Use fgets, not gets.
7166
7167 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7168
7169 * timer.c: Don't declare malloc.
7170
7171 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
7172
7173 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
7174 defined, use simple 32-bit versions of these macros.
7175 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
7176
7177 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7178
7179 * etags.c (etags_getcwd): Use getcwd if available.
7180
7181 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7182
7183 * Version 19.27 released.
7184
7185 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7186
7187 * Version 19.26 released.
7188
7189 1994-08-15 Paul Eggert <eggert@twinsun.com>
7190
7191 * rcs2log: Add support for CVS.
7192 Work with `rlog's that output ISO 8601 dates.
7193
7194 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
7195
7196 * rcs2log: Use <> to delimit email address.
7197
7198 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7199
7200 * emacsserver.c [SYSV_IPC] (main): Make a separate process
7201 so we can listen for multiple requests.
7202
7203 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7204
7205 * movemail.c: Include config.h first thing.
7206
7207 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7208
7209 * emacsserver.c (main): Add casts to avoid warnings.
7210
7211 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7212
7213 * Makefile.in.in (${archlibdir}): Compare the proper dir
7214 before installing the scripts.
7215
7216 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7217
7218 * emacsclient.c (main): New local var progname saves argv[0].
7219
7220 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7221
7222 * emacsclient.c (main): Don't actually modify argv[0].
7223 Modify a copy instead.
7224
7225 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7226
7227 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
7228 (tzp): Var deleted.
7229
7230 * Makefile.in.in: Add #undef alloca.
7231
7232 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7233
7234 * timer.c (xmalloc): New function.
7235
7236 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7237
7238 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
7239 (alloca.o): New target.
7240
7241 1994-07-08 Dave Love (d.love@dl.ac.uk)
7242
7243 * etags.c (takeprec): Recognize `character*(*) function'.
7244
7245 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7246
7247 * etags.c (main): Don't barf on obsolete -t and -T switches.
7248 (main): Print an explicative message when a switch is not known.
7249
7250 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7251
7252 * hexl.c: Don't declare exit or perror.
7253
7254 * emacsserver.c (main): Don't declare geteuid.
7255 Don't declare getenv if convex.
7256
7257 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7258
7259 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
7260
7261 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
7262
7263 * etags.c (absolute_filename): Remove infinite loop bug when
7264 accessing files in directories whose name begins with a dot.
7265
7266 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
7267
7268 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
7269
7270 1994-06-01 Morten Welinder (terra@diku.dk)
7271
7272 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
7273 location of data directory.
7274
7275 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7276
7277 * Version 19.25 released.
7278
7279 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7280
7281 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
7282
7283 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7284
7285 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
7286
7287 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7288
7289 * Version 19.24 released.
7290
7291 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7292
7293 * make-docfile.c (write_c_args): Put `default' in upper case.
7294
7295 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7296
7297 * etags.c (etags_getcwd): Cast result of popen.
7298 (popen): Declaration deleted.
7299
7300 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
7301
7302 * etags.c [!MSDOS]: Declare popen.
7303
7304 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7305
7306 * b2m.c (main): Avoid crash if argc is 1.
7307
7308 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7309
7310 * Version 19.23 released.
7311
7312 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
7313
7314 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7315
7316 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
7317
7318 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7319
7320 * Makefile.in.in: Fix out of date comment.
7321
7322 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7323
7324 * Makefile.in.in: Put in a separator for where to start cpp procssing.
7325 Move all autoconf substitutions above that point.
7326 Above that point, use Make-style comments.
7327 This goes with changes in ../configure.in.
7328
7329 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7330
7331 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
7332 warning message.
7333 (${archlibdir}): Don't do it here. Don't depend on blessmail.
7334
7335 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
7336
7337 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
7338
7339 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7340
7341 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
7342 print advice to run it, if it has anything significant to do.
7343 And only if MOVEMAIL_NEEDS_BLESSING.
7344 (blessmail): Use emacs, not temacs.
7345 (configuration): Rename from configname.
7346
7347 1994-04-30 Morten Welinder (terra@diku.dk)
7348
7349 * etags.c (find_entries): Treat `*.cpp' as C++ files.
7350
7351 1994-04-30 Morten Welinder (terra@diku.dk)
7352
7353 * etags.c [MSDOS]: #include <sys/param.h> for the following.
7354 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
7355 a shell.
7356
7357 1994-04-29 Morten Welinder (terra@diku.dk)
7358
7359 * hexl.c [MSDOS]: Don't define proto type for exit.
7360
7361 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7362
7363 * b2m.c: Don't include string.h or strings.h.
7364
7365 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
7366
7367 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
7368 symbols, not make variables.
7369
7370 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7371
7372 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
7373 * etags.c (print_version): Print VERSION as a string.
7374
7375 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7376
7377 * fakemail.c (readline): Fix updating of p when buffer grows.
7378
7379 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
7380
7381 * Makefile.in.in (blessmail): New target.
7382 ${archlibdir}: Use blessmail when installing movemail.
7383
7384 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7385
7386 * fakemail.c (readline): When extending the buffer,
7387 calculate end afresh using the new size.
7388
7389 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
7390
7391 * etags.c (main, print_help): Eliminate the -F option.
7392
7393 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
7394
7395 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
7396
7397 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7398
7399 * Makefile.in.in: Renamed from Makefile.in.
7400 Makefile.in is now generated from it, and then preprocessed.
7401 Change comments to C syntax.
7402 Include config.h.
7403 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
7404 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
7405
7406 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7407
7408 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
7409
7410 1994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
7411
7412 * etags.c (etags_getcwd): Initialize bufsize.
7413
7414 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7415
7416 * profile.c (gettimeofday): If system doesn't have this, define it
7417 to give a fatal error.
7418
7419 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
7420
7421 * movemail.c (main): Use setuid, not seteuid.
7422
7423 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7424
7425 * etags.c: #undef static.
7426
7427 1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
7428
7429 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
7430 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
7431 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
7432 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
7433 TeX_functions, Prolog_functions.
7434 (inf): No more a global variable.
7435 (C_entries): Take 2nd parameter `inf' instead of using the global one.
7436 (find_entries): Add the cp1 var for optimization.
7437 (find_entries): Add more suffixes for assembler files.
7438 (Asm_funcs): Now finds labels even without an ending colon.
7439
7440 1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
7441
7442 * etags.c (main): Use etags_getcwd for compatibility.
7443 (etags_getcwd): New function.
7444
7445 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7446
7447 * Makefile.in (etags, ctags): Pass -D for VERSION.
7448
7449 1994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
7450
7451 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
7452 (main): Don't allow the use of -t and -T in etags mode.
7453 (print_help): Don't show options enabled by default.
7454 (print_version): Show the emacs version number if VERSION is #defined.
7455 (find_entries): Add "ss" as suffix for Chez Scheme.
7456
7457 1994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
7458
7459 * etags.c (cwd, outfiledir): Vars added.
7460 (relative_filename, absolute_filename, absolute_dirname):
7461 functions added to compute filenames in tags files.
7462 (process_file): Filenames in tags file are relative to the
7463 directory where the tags file is (useful with the -o option).
7464 (main): Initialize the outfiledir var.
7465 (TYPEDST): Add the `tignore' value.
7466 (C_entries): Corrected various small bugs.
7467
7468 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7469
7470 * Makefile.in (UTILITIES): `env' deleted.
7471 (env): Target deleted.
7472 * env.c: File deleted.
7473
7474 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7475
7476 * Makefile.in (install, ${archlibdir}): Switch back to ..
7477 before running INSTALL_PROGRAM.
7478
7479 1994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
7480
7481 * etags.c (TYPEDST): Add the `tignore' value.
7482 (C_entries): Corrected various bugs, now correctly parses the
7483 `extern "C" {' construction (patch by Tom R.Hageman).
7484
7485 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7486
7487 * b2m.c: Use <...> to include config.h.
7488 Don't include stdlib.h.
7489
7490 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
7491
7492 * b2m.c (main): Change delimiter from "^L" to "^_^L".
7493 Allow for text following "BABYL OPTIONS:".
7494 Add --help option. Use argv[0] in error messages.
7495
7496 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7497
7498 * emacsclient.c (main) [HAVE_SYSVIPC]:
7499 Make msgp->mtext longer if necessary.
7500 On HPUX, error if it's more than 512 chars.
7501
7502 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
7503
7504 * etags-vmslib.c: Use GPL.
7505 * emacstool.c: Use GPL.
7506 * fakemail.c: Update GPL.
7507
7508 * make-path.c (main): Return 1 on error, not -1.
7509 Update GPL.
7510
7511 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
7512 (xmalloc, xrealloc): Return char *, not int.
7513 (error): Write to stderr, not stdout.
7514 Update GPL.
7515
7516 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
7517
7518 * profile.c (main, get_time): Don't crash on invalid input.
7519
7520 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
7521
7522 * profile.c (get_time): Simplify; avoid calling index.
7523 (main): Exit on EOF.
7524
7525 1994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
7526
7527 * etags.c (--absolute-pathnames): Option removed.
7528
7529 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7530
7531 * fakemail.c (put_line): Don't break the line if it all fits.
7532
7533 1994-02-14 Francesco Potortì (pot@fly)
7534
7535 * etags.c (absolute_pathnames, cwd): Add global vars.
7536 (longopts, print_help, main, process_file): Put absolute filenames
7537 in the tag file if the -A --absolute-pathnames option is used.
7538 (print_help): Alphabetically order the options.
7539 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
7540
7541 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7542
7543 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
7544 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
7545
7546 1994-02-07 Christian Lynbech (lynbech@avignon)
7547
7548 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
7549
7550 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7551
7552 * Makefile.in (UTILITIES): Mention profile.
7553 (profile): New target.
7554
7555 * profile.c: New file.
7556
7557 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7558
7559 * make-docfile.c: Make the argument list output look more like the
7560 Lisp docstrings do.
7561 (write_c_args): Take new arg FUNC. Make output
7562 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
7563 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
7564
7565 1994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
7566
7567 * etags.c (stab_entry, stab_create, stab_find, stab_search,
7568 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
7569 Use gperf generated hash table instead of linked list.
7570 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
7571 Mostly code generated by gperf.
7572 (consider_token): Remove unused parameter `lp'.
7573 (PF_funcs, getit): Allow subroutine and similar declarations
7574 to span multiple lines.
7575 (C_entries): Check for newline if inchar to avoid bus errors.
7576 (process_file, find_entries): Distinguish among nonexistent
7577 and not regular file.
7578
7579 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7580
7581 * timer.c: Include errno.h; don't include fasync.h.
7582 (schedule): Don't return a value.
7583 (sigcatch): Reestablish the handler first.
7584 (getevent): Always call notify at the end.
7585 (notify): Defer alarms around the whole body of function.
7586
7587 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7588
7589 * timer.c (main): Don't request SIGIO, and don't handle it.
7590 Loop calling getevent.
7591 (sigcatch): Delete code to handle SIGIO.
7592 if defer_alarms is set, don't call notify, just set alarm_deferred.
7593 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
7594 Set defer_alarms around realloc and schedule.
7595 If alarm_deferred gets set, call notify.
7596 Likewise if this event is the only pending event.
7597 Make buf and buf_size global variables.
7598 Don't malloc buf if it is already non-zero.
7599 (schedule): Just exit if run out of memory.
7600 Return the number of events.
7601 (signal) [_CX_UX]: Add #undef.
7602
7603 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7604
7605 * timer.c [USG] (SIGIO): Define as SIGPOLL.
7606 (main) [USG]: Do ioctl to enable SIGPOLL.
7607
7608 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7609
7610 * timer.c: Don't declare sys_errlist; declare strerror instead.
7611 (schedule, main): Call strerror instead of using sys_errlist.
7612 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
7613 Call strerror instead of using sys_errlist.
7614 * env.c (main): Call strerror instead of using sys_errlist.
7615 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
7616 (main): Call strerror instead of using sys_errlist.
7617 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
7618 * env.c [! HAVE_STRERROR] (strerror): Likewise.
7619 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
7620 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
7621
7622 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7623
7624 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
7625
7626 * movemail.c (malloc): Don't declare it.
7627 (xmalloc): Cast result of malloc.
7628 (strcpy): Don't declare it.
7629
7630 1993-11-14 Morten Welinder (terra@diku.dk)
7631
7632 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7633 (main): Use fclose to close file opened by fopen.
7634
7635 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7636
7637 * movemail.c [MSDOS]: #undef `access'.
7638
7639 * b2m.c (main) [MSDOS]: Open all files as binary.
7640 * etags.c (main) [MSDOS]: Open all files as binary.
7641
7642 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7643 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7644 with.
7645
7646 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7647
7648 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7649 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7650 (LINK_CFLAGS): New variable.
7651 (timer): Use LINK_CFLAGS.
7652
7653 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7654
7655 * movemail.c: Include syswait.h.
7656 Fork a subprocess and use it to copy the mail file.
7657
7658 1993-12-07 Richard Stallman (rms@srarc2)
7659
7660 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7661
7662 1993-12-04 Richard Stallman (rms@srarc2)
7663
7664 * movemail.c (main): When making tempname, cast result of xmalloc.
7665 Include room for EXXXXXX in the size.
7666 Don't use result of strcpy.
7667
7668 1993-12-03 Paul Eggert (eggert@twinsun.com)
7669
7670 * vcdiff: Add --brief option.
7671
7672 1993-12-02 Richard Stallman (rms@srarc2)
7673
7674 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7675 for all executables and scripts.
7676
7677 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7678
7679 * Version 19.22 released.
7680
7681 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7682
7683 * Makefile.in (mostlyclean): Make it distinct from clean.
7684
7685 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7686
7687 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7688
7689 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7690
7691 * Version 19.21 released.
7692
7693 * Makefile.in (install): Don't change mode or group when installing.
7694
7695 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7696
7697 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7698
7699 * make-docfile.c (read_c_string): For "", concatenate the two strings.
7700
7701 * movemail.c (main): Fix error message text.
7702
7703 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7704
7705 * Version 19.20 released.
7706
7707 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
7708
7709 * etags.c (C_entries): Keep track of ()-parenthesis level so that
7710 functions returning a pointer to a function, a la `signal', can be
7711 parsed. This also required new state `fstartlist' to `FUNCST'.
7712 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
7713 (C_entries, CNL): Use it to isolate preprocessor directive processing
7714 from the other state engines.
7715 (begtk): Add '~', for C++ class destructors.
7716
7717 1993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
7718
7719 * etags.c (consider_token): Remove unused variable firsttok.
7720 (prolog_getit): Call pfnote with the right number of arguments.
7721
7722 1993-10-19 Paul Eggert (eggert@twinsun.com)
7723
7724 * rcs2log (printlogline): Don't generate lines containing only
7725 white space.
7726
7727 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7728
7729 * Makefile.in (${archlibdir}):
7730 Install ${SCRIPTS} from ${srcdir}, not cwd.
7731
7732 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7733
7734 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7735 the comment character.
7736
7737 1993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
7738
7739 * etags.c (process_file): Dead code removed.
7740 (S_ISREG): #define it using S_IFREG if not defined.
7741 (process_file): Regular files have nothing to do with symlinks.
7742
7743 1993-09-28 Brian J. Fox (bfox@ai.mit.edu)
7744
7745 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7746 from current directory. Only chmod and chgrp files that we
7747 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
7748 ${bindir}.
7749 (INSTALLFLAGS): Delete definition, since it is an unused variable
7750 now.
7751
7752 1993-09-27 Brian J. Fox (bfox@ai.mit.edu)
7753
7754 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7755 Let configure figure out the correct values for these variables.
7756
7757 1993-09-14 Brian J. Fox (bfox@ai.mit.edu)
7758
7759 * Makefile.in (archlibdir): Only install executables internally
7760 used by emacs; don't install bindir binaries here.
7761
7762 1993-09-24 Paul Eggert (eggert@twinsun.com)
7763
7764 * rcs2log: Add -h, -n, -r options.
7765 By default, look for *,v files as well as RCS/*,v files.
7766 Use $TMPDIR (default /tmp) instead of /tmp.
7767
7768 1993-09-20 Francesco Potortì (pot@fly)
7769
7770 * etags.c (C_entries): is_func is initialized here instead of in
7771 consider_token for the sake of the yacc rules section.
7772 (C_entries): Now class, struct, enum, union and typedef produce
7773 named tags.
7774
7775 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
7776
7777 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7778
7779 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7780
7781 * Makefile.in: Support configuring in a different directory when
7782 ${srcdir} has already been configured.
7783 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7784 -I${srcdir}/../src.
7785 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7786 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7787 is already in CPP_FLAGS.
7788 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7789 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7790
7791 1993-08-25 Paul Eggert (eggert@twinsun.com)
7792
7793 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
7794 otherwise, HP awk complains.
7795
7796 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7797 are common hangouts for SCCS commands.
7798
7799 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7800
7801 * Version 19.19 released.
7802
7803 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7804
7805 * Makefile.in (make-path): Dep on config.h.
7806
7807 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7808
7809 * b2m.c (TRUE, FALSE): Don't define if already defined.
7810
7811 1993-08-09 Paul Eggert (eggert@twinsun.com)
7812
7813 * rcs2log (awkscript):
7814 Some sites put comma-separated junk after the fullname.
7815 Remove it, but leave "Bill Gates, Jr" alone.
7816 Remove the junk from fullnames like "0000-Admin(0000)".
7817
7818 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7819
7820 * Version 19.18 released.
7821
7822 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
7823
7824 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7825 (L_funcs): The (foo::defmumble stuff now should work.
7826 (consider_token): Function returned random value--corrected.
7827 (C_entries): Corrected == versus = typo.
7828
7829 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7830
7831 * etags.c (put_entries): For NODE->rewritten, put pattern before
7832 \177 and name after, not vice versa.
7833
7834 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7835
7836 * timer.c (main): Generate a SIGIO as soon as we've initialized.
7837
7838 1993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
7839
7840 * etags.c (FINCST): Add the fignore status. Means we are
7841 after the parameter list and before the open curly brace.
7842 Allows correct parsing of C++ constructors.
7843 (C_entries, consider_token): Make use of fignore.
7844 (consider_token): Reset funcdef when next_token_is_func: when in
7845 ctags mode makes DEFVAR and others work better.
7846 (L_isquote): Function that recognizes the "(quote" string.
7847 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
7848
7849 1993-07-29 Paul Eggert (eggert@twinsun.com)
7850
7851 * rcs-checkin: Don't check whether a file is readable until we have
7852 decided not to ignore it.
7853
7854 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7855
7856 * Makefile.in (etags): Depend on ../src/config.h.
7857
7858 * emacsserver.c: Include types.h before file.h.
7859
7860 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7861
7862 * Makefile.in (install): Use .n, not .new, for temporary filenames.
7863
7864 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7865
7866 * Version 19.17 released.
7867
7868 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7869
7870 * etags.c (print_help): Break up the very long strings containing
7871 the help message into shorter strings, to placate chintzy C
7872 compilers which can't handle strings that long.
7873
7874 * wakeup.c: Use CPP tangle from autoconf manual to #include the
7875 correct combination of <time.h> and <sys/time.h>.
7876
7877 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7878
7879 * etags.c (alloca): Remove all references to it.
7880 (main): Now calls xnew instead of alloca for portability.
7881 (../src/config.h): Included only if HAVE_CONFIG_H.
7882 (const): Void definition removed--config.h takes care of it.
7883
7884 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7885
7886 * etags.c (consider_token): Was `==', now is `='.
7887 (consider_token): DEFUNs now treated like funcs in ctags mode.
7888
7889 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7890 (C_entries): Optimize the test that used LEVEL_OK_FOR_FUNCDEF.
7891 (C_entries): Remove a piece of useless code.
7892 (C_entries): Making typedef tags is delayed until a semicolon
7893 is met. This handles "typedef int X, Y, Z;" correctly.
7894
7895 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7896
7897 * Version 19.16 released.
7898
7899 * b2m.c: #include <sys/types.h>.
7900 (ltoday): Declare this to be time_t.
7901
7902 1993-06-30 Paul Eggert (eggert@twinsun.com)
7903
7904 * vcdiff: Add -q option.
7905
7906 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7907
7908 * etags.c: #include "config.h" and the alloca CPP tangle before
7909 #including the system headers and getopt.h. AIX requires the
7910 #pragma to come before any actual C code.
7911
7912 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7913
7914 * Makefile.in (ctags): Depend on etags, so that parallel makes
7915 don't write etags.o files on top of each other.
7916
7917 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7918
7919 * version 19.15 released.
7920
7921 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7922
7923 * etags.c (add_node): Move var last_node to file scope.
7924
7925 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7926
7927 * Version 19.14 released.
7928
7929 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7930
7931 Bring mumbleclean targets into conformance with GNU coding standards.
7932 * Makefile.in (distclean): Call clean to do most of the work.
7933 Delete aixcc.c and TAGS.
7934 (realclean): Just call distclean.
7935
7936 * Makefile.in: Remember, spaces are not tabs.
7937
7938 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7939
7940 * Makefile.in (CPP_CFLAGS): New variable.
7941 Use it instead of ALL_CFLAGS when compiling a .c file.
7942 (getopt.o, getopt1.o): Add explicit compilation commands.
7943
7944 1993-06-10 Mark D. Baushke (mdb@cisco.com)
7945
7946 * etags.c: Reinstate old -f option as an alias for -o for
7947 installed base uses.
7948
7949 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7950
7951 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7952 to bind or accept, cast the pointer, to avoid warnings on systems
7953 which declare prototypes for this.
7954 * emacsclient.c (main): Same.
7955
7956 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7957
7958 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7959
7960 * Version 19.13 released.
7961
7962 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7963 comes from, not sys/time.h.
7964
7965 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7966
7967 * wakeup.c: Include sys/time.h.
7968
7969 * etags.c: #undef static.
7970
7971 * Version 19.12 released.
7972
7973 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7974
7975 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7976
7977 * Version 19.11 released.
7978
7979 * timer.c [LINUX]: #undef signal.
7980 * emacsserver.c: #undef signal.
7981
7982 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7983
7984 * wakeup.c (main): Make when a time_t.
7985
7986 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7987
7988 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
7989 `(cd foo ; pwd)' to get the canonical name of a directory; cd
7990 might fail, and have pwd print out the current directory.
7991
7992 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7993 string-handling functions.
7994
7995 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7996
7997 * Version 19.10 released.
7998
7999 1993-05-29 Paul Eggert (eggert@twinsun.com)
8000
8001 * rcs2log: When given no file arguments, inspect RCS/.* as well
8002 as RCS/*. Don't report an error if RCS is empty or nonexistent.
8003
8004 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8005
8006 * Makefile.in (timer): Link with $(LOADLIBES).
8007
8008 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8009
8010 * fakemail.c (put_line): Don't output \n\t unless more text follows.
8011
8012 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8013
8014 * etags.c: Replace the CPP tangle for alloca with the one from the
8015 autoconf documentation, since that's working elsewhere.
8016
8017 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8018
8019 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
8020 description files can find their ancestors.
8021
8022 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8023
8024 * Makefile.in (install): Get the scripts from ${srcdir},
8025 unlike the executables.
8026 (ALL_CFLAGS): Add -I../src.
8027
8028 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8029
8030 * Version 19.9 released.
8031
8032 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8033
8034 * Makefile.in (install): Do install the programs listed in
8035 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
8036 INSTALLABLE_SCRIPTS, instead of writing the programs out.
8037
8038 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
8039 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
8040
8041 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8042
8043 * etags.c: Include ../src/config.h.
8044
8045 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
8046 in first loop. Delete files from bindir before installing new ones.
8047 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
8048
8049 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8050
8051 * Version 19.8 released.
8052
8053 * make-docfile.c: Doc fix.
8054
8055 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8056
8057 * tcp.c: Fix comment syntax at top of file.
8058 (main): Don't call htons with the port number.
8059
8060 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8061
8062 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
8063 appropriate.
8064
8065 * Makefile.in (install): Refer to the variables INSTALLABLES and
8066 INSTALLABLE_SCRIPTS, instead of writing them out.
8067
8068 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8069
8070 * make-path.c (main): Return 0.
8071
8072 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8073
8074 * Version 19.7 released.
8075
8076 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8077
8078 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
8079
8080 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8081
8082 * tcp.c: New file.
8083
8084 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8085
8086 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
8087
8088 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8089
8090 * timer.c (notify): Don't call sighold or sigrelse; they're USG
8091 only. We should really fix this later, but let's just make it
8092 compile for now.
8093
8094 Install patches from David J. Mackenzie to make the srcdir option
8095 work.
8096 * Makefile.in (srcdir, VPATH): Get this value from the top-level
8097 Makefile.
8098 (INSTALLABLES): Split this into two lists - INSTALLABLES and
8099 INSTALLABLE_SCRIPTS.
8100 (INSTALLABLE_SCRIPTS): New list.
8101 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
8102 (${archlibdir}): The scripts to be installed live in the source
8103 tree, not in the object tree.
8104 (test-distrib): Note that the data file lives in the source tree,
8105 not the object tree.
8106 (GETOPTDEPS): Note that getopt.h lives in the source tree.
8107 (all other targets): Change references to source files to use
8108 ${srcdir}, except for config.h, which lives in the object dir.
8109 (timer.o): Note that this depends on ../src/config.h.
8110 * make-docfile.c (main): Add a -d option, to tell it where to find
8111 the source files.
8112 * test-distrib.c (main): Take the name of the distribution file to
8113 test from the command line.
8114
8115 * timer.c: Fix misspellings of get_date function's name.
8116
8117 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8118
8119 * etags.c (main):
8120 Don't require that there be input files if -i switches were given.
8121
8122 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8123
8124 The GNU coding standards specify that CFLAGS should be left for
8125 users to set.
8126 * Makefile.in (CFLAGS): Put this in the "things configure might
8127 edit" section, and have it default to -g.
8128 (ALL_CFLAGS): New variable, set to all the flags which should be
8129 passed to compilations. Replace all other uses of CFLAGS with
8130 ALL_CFLAGS.
8131 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
8132
8133 * Makefile.in (DEFS): Remove this; it's always just going to be
8134 "-DHAVE_CONFIG_H -Demacs".
8135
8136 1993-05-03 Paul Eggert (eggert@twinsun.com)
8137
8138 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
8139 /[/]/, so change it to /[\/]/. This should work on all
8140 POSIX-compliant awks. It's slightly wrong with traditional awk,
8141 since it matches \ too, but that's a minor problem compared to awk
8142 syntax errors.
8143
8144 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8145
8146 * Makefile.in (ALLOCA): New variable, whose value we should
8147 inherit from the top-level makefile.
8148 (etags, ctags): Include ALLOCA in the list of object files that
8149 these executables depend on and link.
8150
8151 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8152
8153 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
8154
8155 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
8156
8157 * make-docfile.c (write_c_args): Print an argument named "defalt"
8158 as "default".
8159
8160 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
8161
8162 * Makefile.in (C_SWITCH_SYSTEM): New variable.
8163 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
8164 compiler.
8165
8166 1993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
8167
8168 * etags.c (YACC): Flag added to c_ext.
8169 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
8170 (find_entries): Consistently use streq when reasonable.
8171 (find_entries): A .y file is a yacc file.
8172 (get_C_stab): c_ext becomes c_ext&C_PLPL.
8173 (C_entries): Logical cplpl means c_ext&C_PLPL.
8174 (C_entries): Logical yacc_rules means we are after the first %%.
8175 (C_entries): Add logic for yacc files.
8176
8177 1993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
8178
8179 * etags.c (C_entries): ':' case moved to the second switch.
8180 (C_entries): Do not examine token if structdef==scolonseen.
8181 (consider_token): structtag set to null string for enum.
8182
8183 1993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
8184
8185 * etags.c (GET_COOKIE): And related macros removed.
8186 (logical): Is now int, no more a char.
8187 (reg): Define deleted.
8188 (isgood, _gd, notgd): Delete.
8189 (gotone): Delete.
8190 (TOKEN): Member linestart removed.
8191 (linepos, prev_linepos, lb1): Delete.
8192 (main): Call initbuffer on lbs array instead of lb1.
8193 (init): Remove the initialization of the logical _gd array.
8194 (find_entries): A .sa suffix means assembler file.
8195 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
8196 All C state machines rewritten.
8197 (C_entries): Complete rewrite.
8198 (condider_token): Complete rewrite.
8199 (getline): Delete.
8200
8201 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
8202
8203 * etags.c (C_entries): Add the quotednl logical variable.
8204 Used for parsing of #define's spanning multiple lines.
8205
8206 1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
8207
8208 * etags.c (C_entries): Save the definedef status even when a
8209 newline is met inside a string.
8210
8211 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
8212
8213 * Makefile.in (EXECUTABLES): Add rcs-checkin.
8214
8215 * Makefile.in (unlock, relock): New productions.
8216
8217 1993-03-16 Paul Eggert (eggert@twinsun.com)
8218
8219 * rcs2log: Some awks don't understand "\r". Code around this.
8220 Unfortunately this requires putting a carriage return in the
8221 source code. Don't assume that rlog will tolerate times like
8222 `10:10:60'; RCS 5.7 won't allow this.
8223
8224 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8225
8226 * timer.c (main): Set the ownership of the stdin file descriptor
8227 to the current process. Print error messages if either of the
8228 fcntl's fails.
8229
8230 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
8231 ../src/config.h), not void.
8232
8233 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8234
8235 * b2m.c (main): Don't exit upon reading a blank line.
8236
8237 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
8238
8239 * etags.c (C_entries): New local variable quotednl. Used for
8240 parsing of #define's spanning multiple lines.
8241
8242 * etags.c (C_entries): Save the definedef status
8243 even when a newline is met inside a string.
8244
8245 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8246
8247 * timer.c (notify): Initialize waitfor properly.
8248
8249 1993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
8250
8251 * etags.c (C_entries): Don't reset definedef when a newline inside a
8252 comment is met.
8253
8254 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8255
8256 * etags.c (find_entries): If filename ends in .f or .for,
8257 don't try anything but Fortran.
8258
8259 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
8260
8261 * timer.c (notify): Flush stdout after writing message to avoid lossage
8262 on terminals.
8263
8264 (notify): Also, write a newline after the token.
8265
8266 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8267
8268 * Makefile.in (exec_prefix): New variable.
8269 (bindir, libdir): Use it instead of `prefix'.
8270
8271 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
8272
8273 * Makefile.in (libdir): Default to ${prefix}/lib.
8274 (archlibdir): Adjust to match.
8275
8276 * Makefile.in (distclean): Don't delete backup or autosave files.
8277 (extraclean): Like realclean, but does delete backup and autosave
8278 files.
8279
8280 * Makefile.in (realclean): Ignore errors from rm.
8281
8282 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
8283 that doesn't exist anymore.
8284
8285 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8286
8287 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
8288 described in the top-level Makefile.
8289 (UTILITIES): Add make-path to the list of utility programs.
8290 (../arch-lib): Replace by the ${archlibdir} target, which places
8291 the executables in their permanent home.
8292 (install, install.sysv, install.xenix): Consolidated into one
8293 target which should work under all circumstances, modulo a few
8294 ignored error messages.
8295
8296 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
8297 a different number of arguments than other DEFVARs, recognize it
8298 specially, and expect the right number of commas.
8299
8300 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8301
8302 * make-path.c: New program, to help with the installation process.
8303 * Makefile.in (make-path): New target.
8304
8305 * make-path.c (touchy_mkdir): Remove debugging output.
8306
8307 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8308
8309 * Makefile.in (getdate.o): Add explicit target for this, so we
8310 can indicate that it depends on ../src/config.h.
8311
8312 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
8313
8314 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
8315 instead of CFLAGS.
8316 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
8317
8318 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8319
8320 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
8321 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
8322 that system.
8323
8324 * Makefile.in (arch-lib): Give rm the `-f' option.
8325
8326 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8327
8328 * make-docfile.c (write_c_args): Rewritten to correctly print
8329 &optionals before the first identifier, but after the first paren.
8330 This code used to just wait for commas or spaces; now it notices
8331 identifier boundaries.
8332
8333 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
8334
8335 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
8336
8337 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8338
8339 * make-docfile.c (write_c_args): Print the argument lists properly
8340 when the first argument is optional.
8341
8342 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8343
8344 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
8345 Redefine @item. Set catcode of +.
8346
8347 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8348
8349 * emacsclient.c (main): Set IPC_CREAT in msgget call.
8350
8351 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8352
8353 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
8354 (TEX_decode_env): Make `tab' one element longer.
8355
8356 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8357
8358 * etags.c (PF_funcs): Recognize the "entry" keyword.
8359
8360 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8361
8362 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
8363
8364 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8365
8366 * timer.c (events): Rather than having slots marked as in use or
8367 out of use by the `token' field, keep all pending events at the
8368 beginning of the array. When we delete an event in the middle of
8369 the array, we move the last event into its place.
8370 (num_events): New variable.
8371 (schedule): It is now cheaper to find a free event slot;
8372 events[num_events] is the first free slot.
8373 (notify): Scan events[0 .. num_events-1], instead of the whole
8374 array. When an event fires, move the last event in the array into
8375 its spot. Use num_events to determine whether or not there are
8376 any pending events, not wait_for.
8377 (getevent): Delete unused variable `ep'.
8378 (sigcatch): It's now easier to find all the active events.
8379 (main): Initialize num_events.
8380
8381 * etags.c: Rather than fret about which systems have index and
8382 which systems have strchr, and how to tell the difference between
8383 them, we just write out our own versions. Big deal.
8384 (index, rindex): Extern declarations removed.
8385 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
8386 (etags_index, etags_rindex): New declarations.
8387 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
8388 TEX_getit, substr): Use the etags_*index functions, rather than
8389 the native *index functions.
8390 (rindex, index): Rename to etags_rindex and tags_rindex, and
8391 made them unconditionally defined, rather than having them depend
8392 on NEED_*INDEX.
8393
8394 * etags.c (savenstr): Add declaration for this at top of file.
8395 (TEX_decode_env): Don't declare it local to this function.
8396
8397 * b2m.c: #include "../src/config.h", so we can test for the USG
8398 macro, and decide whether to include <string.h> or <strings.h>.
8399 * Makefile.in: Note that b2m.c depends on ../src/config.h.
8400
8401 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8402
8403 * timer.c: Reformatted according to the GNU coding standards.
8404 Removed arbitrary limits on the number of events queued and the
8405 length of the tokens used to identify them.
8406 Removed casts to (void).
8407 Removed debugging printfs; they clutter the code, and the need
8408 can be better filled using a real debugger.
8409
8410 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8411
8412 * timer.c: Installed new version from Eric Raymond; this is more
8413 portable, since it doesn't try to use SIGIO.
8414
8415 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8416
8417 * emacsclient.c (main): If we can't find the socket in this
8418 person's home directory, print a message which asks if they've
8419 started the server, instead of just printing the message from
8420 sys_errmsg; Cygnus finds that people are much less confused by
8421 this.
8422
8423 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8424
8425 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
8426 so that index and rindex get defined, why don't we actually
8427 control index and rindex using symbols called "NEED_INDEX" and
8428 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
8429 little more readable than defining something whose name implies
8430 that it's not?
8431
8432 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8433
8434 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
8435 distribution:
8436 Miscellaneous doc fixes.
8437 (skip_white, read_lisp_symbol): New functions.
8438 (scan_lisp_file): Instead of using long hairy strings of ifs, call
8439 read_lisp_symbol and then see what we got. Call skip_white
8440 instead of writing out a loop to do its job. Correctly extract
8441 docstrings from "defmacro" declarations.
8442
8443 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8444
8445 * movemail.c (strcpy): Declare this to return char *.
8446
8447 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8448
8449 * etags.c (C_entries): When we find a C++ comment, do actually
8450 skip to the end of the line; do a 'break' instead of a 'continue'.
8451
8452 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8453
8454 * etags.c (getit): Add missing parenthesis to expression which
8455 decides if this token is an identifier.
8456
8457 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8458
8459 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
8460
8461 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8462
8463 * etags.c (put_entries): Always put space between name and line num.
8464
8465 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
8466
8467 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
8468 warning.
8469 (LEVEL_OK_FOR_FUNCDEF): Ditto.
8470
8471 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
8472
8473 * make-docfile.c (write_c_args): Pass both arguments to putc.
8474
8475 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
8476
8477 * etags.c (C_entries): Fix reading of "..." strings.
8478 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
8479 the C library source.
8480
8481 * etags.c (C_entries): When we see a backslash inside a quoted
8482 string, skip to the next character. This allows us to correctly
8483 deal with strings containing quotes.
8484
8485 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8486
8487 * make-docfile.c (write_c_args): Print the C argument names as
8488 they would be written in Elisp; print '_' as '-'.
8489
8490 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8491
8492 * movemail.c [POP]: Get user name via getpwuid.
8493
8494 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8495
8496 * Makefile.in: Flags in CC invocations rearranged for no reason.
8497
8498 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8499
8500 * etags.c (print_help): Remember not to embed raw newlines in
8501 strings - end the lines with `\n\'.
8502
8503 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8504
8505 * timer.c (getevent): Remove declaration of memcpy; since
8506 different systems have different return types, and we're not even
8507 using the return type anyway, it wasn't doing us any good.
8508
8509 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8510
8511 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
8512 type of this function.
8513
8514 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8515
8516 * etags.c: "--no-warning" option renamed to "--no-warn",
8517 to be consistent with other GNU programs, like makeinfo.
8518
8519 * Makefile: Renamed to Makefile.in; the configure script
8520 will edit this to produce Makefile.
8521
8522 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8523
8524 New directory, with files previously in ../etc. [approximate date]
8525 * README: New file.
8526 * Makefile: Copy here from ../etc/Makefile.
8527 * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8528 * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8529 * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8530 * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8531 * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8532 * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8533 Move here from ../etc.
8534
8535 ;; Local Variables:
8536 ;; coding: utf-8
8537 ;; End:
8538
8539 Copyright (C) 1988-1999, 2001-2015 Free Software Foundation, Inc.
8540
8541 This file is part of GNU Emacs.
8542
8543 GNU Emacs is free software: you can redistribute it and/or modify
8544 it under the terms of the GNU General Public License as published by
8545 the Free Software Foundation, either version 3 of the License, or
8546 (at your option) any later version.
8547
8548 GNU Emacs is distributed in the hope that it will be useful,
8549 but WITHOUT ANY WARRANTY; without even the implied warranty of
8550 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8551 GNU General Public License for more details.
8552
8553 You should have received a copy of the GNU General Public License
8554 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.