Commit | Line | Data |
---|---|---|
d050de75 PE |
1 | 2014-03-09 Paul Eggert <eggert@cs.ucla.edu> |
2 | ||
3 | Fix emacsclient terminal corruption when in background (Bug#16892). | |
4 | * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure. | |
5 | Cancel the continue only if tty. Send SIGTTIN to the process | |
6 | group, not SIGSTOP to self, as this is what the glibc manual | |
7 | recommends. | |
8 | (main): If tty, and if started in the background, send SIGTTIN | |
9 | to the process group. | |
10 | ||
591debed | 11 | 2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change) |
35e951cd | 12 | |
591debed PE |
13 | Fix emacsclient's handling of SIGCONT (Bug#16883). |
14 | * emacsclient.c (handle_sigcont): Cancel the continue only if tty. | |
15 | ||
7a49c9d6 EZ |
16 | 2014-01-22 Eli Zaretskii <eliz@gnu.org> |
17 | ||
18 | * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod | |
19 | instead of fchmod. | |
20 | ||
dc217d01 PE |
21 | 2014-01-22 Paul Eggert <eggert@cs.ucla.edu> |
22 | ||
23 | Fix miscellaneous update-game-score bugs. | |
24 | * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove. | |
6c9cbdf0 PE |
25 | (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage, |
26 | as that leads to undefined behavior, which is a bad thing | |
27 | particularly in a setuid program. | |
28 | (read_scores, write_scores): Check for fclose failure; on some | |
29 | systems, I/O errors are not reported by primitives like getc and | |
30 | putc, but instead are delayed until fclose, so fclose failures | |
31 | should be diagnosed like other read and write errors. | |
dc217d01 | 32 | (write_scores): Use fchmod, not chmod, to avoid a race. |
6c9cbdf0 PE |
33 | Otherwise, if the lock is broken by some other process, |
34 | update-game-score might try to change the permission on someone | |
35 | else's file or on a nonexistent file, and incorrectly report an | |
36 | error when this fails. | |
dc217d01 | 37 | (lock_file): Fix test for out-of-date lock file; it was reversed. |
6c9cbdf0 PE |
38 | That is, it incorrectly broke locks when they were more than an |
39 | hour into the future, instead of when they were more than an hour | |
40 | in the past. Use ordinary subtraction rather than difftime; since | |
41 | we're already assuming POSIX we don't need to worry about the | |
42 | possibility of time_t being a magic cookie, and since timestamps | |
43 | are positive we don't need to worry about integer overflow when | |
44 | subtracting them. Put two spaces, not just one, after a sentence | |
45 | end in a comment. | |
dc217d01 | 46 | |
d70efef4 PE |
47 | 2014-01-19 Paul Eggert <eggert@cs.ucla.edu> |
48 | ||
49 | update-game-score fixes for -m and integer overflow (Bug#16428) | |
50 | * update-game-score.c: Include inttypes.h, stdbool.h. | |
51 | (min): New macro, if not already defined. | |
52 | (MAX_SCORES, main): Limit the maximum number of scores only from | |
53 | limits imposed by the underyling platform, instead of the | |
54 | arbitrary value 200. | |
55 | (struct score_entry, main, read_score, write_score): | |
56 | Scores are now intmax_t, not long. | |
57 | (get_user_id): Reject user names containing spaces or newlines, | |
58 | as they would mess up the score file. | |
59 | Allow uids that don't fit in 'long'. | |
60 | Increase the size of the buffer, to avoid overrun in weird cases. | |
61 | (get_prefix, main): Use bool for boolean. | |
62 | (main): Rewrite expr to avoid possibility of signed integer | |
63 | overflow. Don't allow newlines in data, as this would mess up | |
64 | the score file. Check for memory allocation failure when adding | |
65 | the new score, or when unlockint the file. Implement -m. | |
66 | (read_score): Check for integer overflow when reading a score. | |
67 | (read_score) [!HAVE_GETDELIM]: Check for integer overflow when | |
68 | data gets very long. Check only for space to delimit names, | |
69 | since that's what's done in the HAVE_GETDELIM case. | |
70 | (read_scores): New parameter ALLOC. Change counts to ptrdiff_t. | |
71 | All uses changed. Use push_score to add individual scores; | |
72 | that's simpler than repeating its contents. | |
73 | (score_compare_reverse): Simplify. | |
74 | (push_score): New parameter SIZE. Change counts to ptrdiff_t. | |
75 | All uses changed. Check for integer overflow of size calculation. | |
76 | (sort_scores, write_scores): Change counts to ptrdiff_t. | |
77 | (unlock_file): Preserve errno on success, so that storage | |
78 | exhaustion is diagnosed correctly. | |
79 | ||
da5ecfa9 PE |
80 | 2014-01-05 Paul Eggert <eggert@cs.ucla.edu> |
81 | ||
82 | Spelling fixes. | |
83 | * Makefile.in (regex.o): Remove reference to no-longer-used macros | |
84 | CONFIG_BROKETS and INHIBIT_STRING_HEADER. "BROKETS" was a | |
85 | misspelling anyway.... | |
86 | ||
96c06863 PE |
87 | 2013-12-14 Paul Eggert <eggert@cs.ucla.edu> |
88 | ||
89 | Use bool for boolean, focusing on headers. | |
90 | * emacsclient.c, etags.c, hexl.c (FALSE, TRUE): | |
91 | Remove. All uses replaced with uncapitalized version. | |
92 | * emacsclient.c (message): | |
93 | * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names): | |
94 | * hexl.c (un_flag, iso_flag, endian): | |
95 | * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next) | |
96 | (pop_trash): | |
97 | Use bool for boolean. | |
98 | * etags.c (bool): Remove. | |
99 | * etags.c (globals, members, declarations, no_line_directive) | |
100 | (no_duplicates): Use 'int' for boolean values that getopt requires | |
101 | to be 'int'. Formerly, these were 'bool' and 'bool' was 'int', | |
102 | but we can no longer rely on this implementation. | |
103 | * pop.h (struct _popserver): Use bool_bf for boolean bit-fields. | |
104 | ||
d672ac3c PE |
105 | 2013-11-14 Paul Eggert <eggert@cs.ucla.edu> |
106 | ||
107 | * ebrowse.c (xstrdup): | |
108 | * etags.c (savenstr): Prefer tail calls. | |
109 | * etags.c (concat): Omit unnecessary assignment. | |
110 | ||
eb9a3661 GM |
111 | 2013-10-24 Glenn Morris <rgm@gnu.org> |
112 | ||
357a5081 GM |
113 | * Makefile.in ($(DESTDIR)${archlibdir}): |
114 | Avoid non-portable "`\" nesting. | |
115 | ||
eb9a3661 GM |
116 | * Makefile.in (abs_top_srcdir): New, set by configure. |
117 | ||
b8e3b0a9 GM |
118 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
119 | ||
48f73cfb GM |
120 | * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install) |
121 | (uninstall): Quote entities that might contain whitespace. | |
b8e3b0a9 | 122 | |
4b5a548d GM |
123 | 2013-10-10 Glenn Morris <rgm@gnu.org> |
124 | ||
125 | * make-docfile.c (search_lisp_doc_at_eol): | |
126 | Use int rather than char with getc. (Bug#15481) | |
127 | ||
00382e8b PE |
128 | 2013-09-20 Paul Eggert <eggert@cs.ucla.edu> |
129 | ||
130 | A simpler, centralized INLINE. | |
131 | * profile.c (INLINE): New macro. | |
132 | (SYSTIME_INLINE): Remove. | |
133 | ||
50b13cde PE |
134 | 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> |
135 | ||
136 | * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, | |
137 | for portability to hosts where /bin/sh has problems. | |
138 | ||
d4166523 EZ |
139 | 2013-08-10 Eli Zaretskii <eliz@gnu.org> |
140 | ||
141 | * update-game-score.exe.manifest: New file. | |
142 | ||
143 | * Makefile.in (UPDATE_MANIFEST): New variable. | |
144 | (SCRIPTS): Add $(UPDATE_MANIFEST). | |
145 | ||
dc6c0eda SM |
146 | 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca> |
147 | ||
148 | * makefile.w32-in (lisp2): Add nadvice.elc. | |
149 | ||
98a428c1 EZ |
150 | 2013-08-05 Eli Zaretskii <eliz@gnu.org> |
151 | ||
152 | * update-game-score.c (read_score): Try reading a character before | |
153 | probing the stream for EOF. Initialize score->score to zero, | |
154 | before reading and accumulating the score. | |
155 | (read_scores): Fix logic that determines which value to return. | |
156 | Close the input stream when finished reading the scores (avoids | |
157 | failures in overwriting the file with a new one on MS-Windows, | |
158 | since a file that is open cannot be deleted). | |
159 | ||
160 | * ntlib.h (rename): Don't undefine. | |
161 | ||
162 | * ntlib.c (sys_rename): New function, needed for | |
163 | update-game-score. | |
164 | ||
e443729d EZ |
165 | 2013-08-04 Eli Zaretskii <eliz@gnu.org> |
166 | ||
167 | * ntlib.h: Include fcntl.h. | |
168 | (mkostemp): Declare prototype. | |
169 | (mktemp): Don't redefine. | |
170 | ||
171 | * ntlib.c (mkostemp): New function. (Bug#15015) | |
172 | ||
e0fdb694 PE |
173 | 2013-08-04 Paul Eggert <eggert@cs.ucla.edu> |
174 | ||
175 | Fix some minor races in hosts lacking mkostemp (Bug#15015). | |
176 | * movemail.c (main): | |
177 | * update-game-score.c (write_scores): | |
178 | Use mkostemp (which now works on all platforms, due to changes | |
179 | in the portability layer) rather than mktemp (which has a race) | |
180 | or mkstemp (which we no longer bother with). | |
181 | ||
29abe551 PE |
182 | 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> |
183 | ||
184 | Port to C89. | |
185 | * ebrowse.c (USAGE): Remove macro with too-long string literal ... | |
186 | (usage_message): ... and replace it with this new static constant | |
187 | containing multiple literals. All uses changed. | |
188 | * emacsclient.c (print_help_and_exit): | |
189 | Rewrite to avoid string literals longer than the C89 limits. | |
190 | (start_daemon_and_retry_set_socket): | |
191 | Rewrite to avoid non-constant array initializer. | |
192 | * make-docfile.c (enum global_type): Omit trailing comma. | |
193 | ||
37afa042 | 194 | 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> |
fbe9e0b9 | 195 | |
164b1ba3 PE |
196 | Prefer plain 'static' to 'static inline' (Bug#12541). |
197 | I missed these instances of 'static inline' in an earlier sweep. | |
198 | * ebrowse.c (putstr): | |
199 | * etags.c (hash): | |
200 | * make-docfile.c (put_char): No longer inline. | |
201 | * etags.c (hash): Prefer int to unsigned when either will do. | |
202 | ||
37afa042 PE |
203 | 2013-06-21 Paul Eggert <eggert@cs.ucla.edu> |
204 | ||
fbe9e0b9 | 205 | Use C99-style flexible array members if available. |
b33a2a6f PE |
206 | * ebrowse.c: Include <stddef.h>, for offsetof. |
207 | (struct member, struct alias, struct sym): | |
fbe9e0b9 PE |
208 | Use FLEXIBLE_ARRAY_MEMBER. |
209 | (add_sym, add_member, make_namespace, register_namespace_alias): | |
210 | Use offsetof (struct, flex_array_member), not sizeof (struct), as | |
211 | that ports better to pre-C99 non-GCC. | |
212 | ||
38b787fa EZ |
213 | 2013-05-29 Eli Zaretskii <eliz@gnu.org> |
214 | ||
215 | * Makefile.in (mostlyclean): Remove *.res files. | |
216 | ||
31ff141c PE |
217 | 2013-05-18 Paul Eggert <eggert@cs.ucla.edu> |
218 | ||
219 | Port --enable-gcc-warnings to clang. | |
220 | * etags.c: Omit unnecessary forward decls. | |
221 | (print_version, print_help): Declare _Noreturn. | |
222 | * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify. | |
223 | ||
df065a0b EZ |
224 | 2013-05-16 Eli Zaretskii <eliz@gnu.org> |
225 | ||
226 | * update-game-score.c [WINDOWSNT]: Include "ntlib.h". | |
227 | ||
228 | * ntlib.h (sleep): Update prototype. | |
229 | (geteuid): Add prototype. | |
230 | ||
231 | * ntlib.c (sleep): Now returns an unsigned value. | |
232 | (getgid): New function. | |
233 | ||
234 | * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB) | |
235 | (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables. | |
236 | (INSTALLABLES): Add $(CLIENTW). | |
237 | (LIBS_MOVE): Use $(LIB_WSOCK32). | |
238 | ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score. | |
239 | (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib. | |
240 | (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT}) | |
241 | (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT}) | |
242 | (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}): | |
243 | Add $(NTLIB) to prerequisites. Use $(EXEEXT). | |
244 | (pop.o): Add pop.h to prerequisites. | |
245 | (emacsclientw${EXEEXT}, ntlib.o): New targets. | |
246 | (emacsclient.res): New target. | |
247 | ||
6e911150 SM |
248 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> |
249 | ||
250 | * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X. | |
251 | ||
8c13f3d6 PE |
252 | 2013-05-06 Paul Eggert <eggert@cs.ucla.edu> |
253 | ||
254 | * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo, | |
255 | by removing references to no-longer-existing locals. | |
256 | ||
b88b62de EZ |
257 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> |
258 | ||
259 | Fix incompatibilities between MinGW.org and MinGW64 headers. | |
260 | * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the | |
261 | struct only if _TIMEZONE_DEFINED is not defined. | |
262 | ||
d7158313 | 263 | 2013-03-23 cg <chengang31@gmail.com> (tiny change) |
264 | ||
265 | * makefile.w32-in (LIB_SRC): Move before first use. | |
266 | ||
78be8b64 | 267 | 2013-03-16 Paul Eggert <eggert@cs.ucla.edu> |
b2e37dad PE |
268 | |
269 | * pop.c: Fix ERRMAX typo (Bug#13925). | |
270 | (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]: | |
271 | Use ERROR_MAX, not ERRMAX. | |
272 | ||
f58afc72 PE |
273 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> |
274 | ||
47d7532e PE |
275 | File synchronization fixes (Bug#13944). |
276 | * Makefile.in (LIB_FDATASYNC): New macro. | |
277 | (emacsclient${EXEEXT}): Use it. | |
278 | * emacsclient.c (main): Use fdatasync, not fsync, since we don't | |
279 | care about metadata. Keep trying if interrupted. | |
280 | * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since | |
78be8b64 SM |
281 | fsync is available everywhere (or there is a substitute). |
282 | Don't report an error if fsync returns EINVAL. | |
47d7532e | 283 | |
d9df6f40 PE |
284 | Static checking by Sun C 5.12. |
285 | * etags.c (analyse_regex): Omit unreachable code. | |
286 | ||
f58afc72 PE |
287 | * movemail.c (main): Call umask on all systems. |
288 | This is OK since Emacs already assumes umask elsewhere. | |
9e3edd30 PE |
289 | Don't grant more read permissions than necessary. |
290 | The old 0333 dates back to before we called setuid, | |
291 | so it was needed back then to ensure user-readability, | |
292 | but 0377 should suffice now. | |
f58afc72 | 293 | |
e70e5000 PE |
294 | 2013-02-08 Paul Eggert <eggert@cs.ucla.edu> |
295 | ||
296 | * movemail.c (getenv): Remove decl (unused since 1994). | |
297 | ||
1a353a14 PE |
298 | 2013-01-15 Paul Eggert <eggert@cs.ucla.edu> |
299 | ||
300 | * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448). | |
301 | This pacifies GCC 4.7.2 when Emacs is configured with | |
302 | --enable-link-time-optimization and --enable-gcc-warnings. | |
303 | ||
a19e68ea JB |
304 | 2013-01-01 Juanma Barranquero <lekktu@gmail.com> |
305 | ||
306 | * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320). | |
307 | ||
0eeb69fe JB |
308 | 2012-12-11 Juanma Barranquero <lekktu@gmail.com> |
309 | ||
310 | * makefile.w32-in (SYSWAIT_H): Update dependencies. | |
311 | ||
2b8c9064 EZ |
312 | 2012-12-10 Eli Zaretskii <eliz@gnu.org> |
313 | ||
314 | * makefile.w32-in (obj): Add w32notify.o. Add missing X and Unix | |
315 | sources. | |
316 | ||
1cbaa705 KR |
317 | 2012-12-02 Kevin Ryde <user42@zip.com.au> |
318 | ||
319 | * etags.c (Lisp_functions): Skip (defvar foo) declarations unless | |
320 | the --declarations flag is enabled (Bug#5600). | |
321 | (Lisp_help): Update. | |
322 | (skip_name): New function. | |
323 | ||
00054d21 KR |
324 | 2012-12-01 Kevin Ryde <user42@zip.com.au> |
325 | ||
326 | * etags.c (Perl_functions): Support "use constant" (Bug#5055). | |
327 | ||
22626a85 PE |
328 | 2012-11-27 Paul Eggert <eggert@cs.ucla.edu> |
329 | ||
330 | Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968). | |
331 | * movemail.c (main): Assume EAGAIN and EBUSY. | |
332 | ||
e6bac876 PE |
333 | 2012-11-23 Paul Eggert <eggert@cs.ucla.edu> |
334 | ||
335 | movemail: treat EACCES etc. failures as permanent | |
336 | * movemail.c (main): Treat any link failure other than EEXIST as a | |
337 | permanent failure, not just EPERM. EACCES, for example. | |
338 | ||
9239d970 PE |
339 | 2012-11-21 Paul Eggert <eggert@cs.ucla.edu> |
340 | ||
341 | Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945). | |
342 | * emacsclient.c (getcwd): Remove decl. | |
343 | (get_current_dir_name): Assume getcwd exists. | |
344 | * etags.c (HAVE_GETCWD): Remove. | |
345 | (getcwd): Remove decl. | |
346 | (NO_LONG_OPTIONS): Remove this. All uses removed. | |
347 | Emacs always has GNU getopt. | |
348 | (etags_getcwd): Assume getcwd exists. | |
349 | * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove. | |
350 | ||
a7db35b3 PE |
351 | 2012-11-20 Paul Eggert <eggert@cs.ucla.edu> |
352 | ||
353 | * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig) | |
354 | rather than kill (getpid (), sig), as it's simpler and safer. | |
355 | ||
a75ce9d3 JB |
356 | 2012-11-17 Juanma Barranquero <lekktu@gmail.com> |
357 | ||
358 | * makefile.w32-in (SYSWAIT_H): New macro. | |
359 | ($(BLD)/movemail.$(O)): Update dependencies. | |
360 | ||
49cdacda PE |
361 | 2012-11-17 Paul Eggert <eggert@cs.ucla.edu> |
362 | ||
363 | Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881). | |
364 | * movemail.c, update-game-score.c: Assume <fcntl.h> exists. | |
365 | ||
eeced60b GM |
366 | 2012-10-26 Glenn Morris <rgm@gnu.org> |
367 | ||
b75897ba GM |
368 | * Makefile.in (uninstall): No INSTALLABLES live in archlibdir. |
369 | ||
eeced60b GM |
370 | * Makefile.in (install, uninstall): Transformations should not be |
371 | applied to $EXEEXT. | |
372 | ||
4c77e620 EZ |
373 | 2012-10-23 Eli Zaretskii <eliz@gnu.org> |
374 | ||
375 | * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to | |
376 | follow src/lisp.mk. | |
377 | ||
ee7a418d GM |
378 | 2012-10-21 Glenn Morris <rgm@gnu.org> |
379 | ||
380 | * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el. | |
381 | ||
2068905b EZ |
382 | 2012-10-20 Eli Zaretskii <eliz@gnu.org> |
383 | ||
83c85d8e EZ |
384 | * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros. |
385 | (scan_lisp_file): Only pass a .el file if its basename matches a | |
386 | known file in its entirety. Use IS_SLASH and DEF_ELISP_FILE. | |
387 | ||
cab4f71e AS |
388 | 2012-10-20 Andreas Schwab <schwab@linux-m68k.org> |
389 | ||
390 | * make-docfile.c (scan_lisp_file): Add bounds checking. | |
391 | ||
2068905b EZ |
392 | 2012-10-20 Eli Zaretskii <eliz@gnu.org> |
393 | ||
71aa63da | 394 | Prevent silent omission of doc strings from uncompiled Lisp files. |
2068905b EZ |
395 | * make-docfile.c (scan_lisp_file): Barf if called with a .el file |
396 | other than one of a small list of supported un-compiled files. | |
397 | ||
398 | * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they | |
399 | exist. (Bug#12395) | |
400 | ||
27067208 EZ |
401 | 2012-10-17 Eli Zaretskii <eliz@gnu.org> |
402 | ||
403 | * ntlib.c: Include <mbstring.h>, to avoid compiler warning about | |
404 | _mbspbrk. | |
405 | ||
c54ebba4 EZ |
406 | 2012-10-08 Eli Zaretskii <eliz@gnu.org> |
407 | ||
408 | * makefile.w32-in (obj): Add cygw32.o. | |
409 | ||
e08348a0 DC |
410 | 2012-10-08 Daniel Colascione <dancol@dancol.org> |
411 | ||
412 | * emacsclient.c: Include windows.h when HAVE_NTGUI. | |
413 | (alt_display): New variable. We send the display held by this | |
414 | variable when the primary display is either unsupported or not | |
415 | present. | |
416 | (longopts): Allow display everywhere. | |
417 | (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI | |
418 | section. | |
419 | (decode_options): Use alt_display. Explain why. | |
420 | (main): Retry connection with alt_display if connection with main | |
421 | display fails. | |
422 | ||
3d3bfa24 FP |
423 | 2012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com> |
424 | ||
425 | * make-docfile.c (write_globals): Special-case | |
426 | Fexit_recursive_edit and Fabort_recursive_edit as well, as | |
427 | functions that are _Noreturn, to be consistent with | |
428 | src/keyboard.c. | |
429 | ||
62aba0d4 FP |
430 | 2012-09-30 Eli Zaretskii <eliz@gnu.org> |
431 | ||
432 | * ntlib.c (gettimeofday): Copy from src/w32.c. lib/gettime.c | |
433 | needs this function. | |
434 | ||
6a586b7f JB |
435 | 2012-09-26 Juanma Barranquero <lekktu@gmail.com> |
436 | ||
437 | * makefile.w32-in (obj): Add profiler.o. | |
438 | ||
78f83752 GM |
439 | 2012-09-17 Glenn Morris <rgm@gnu.org> |
440 | ||
441 | * ebrowse.c (version): | |
442 | * etags.c (print_version): Use COPYRIGHT. | |
443 | ||
ae1d87e2 PE |
444 | 2012-09-11 Paul Eggert <eggert@cs.ucla.edu> |
445 | ||
446 | * pop.c (socket_connection) [HAVE_GETADDRINFO]: | |
447 | Prefer assignment to memcpy when either will do. | |
448 | ||
5bf64749 AS |
449 | 2012-08-31 Andreas Schwab <schwab@linux-m68k.org> |
450 | ||
451 | * etags.c (consider_token): Always zero-terminate token buffer. | |
452 | (Bug#12306) | |
453 | ||
b69a6d22 PE |
454 | 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> |
455 | ||
bad03192 | 456 | Rely on <config.h> + <unistd.h> to declare 'environ'. |
b69a6d22 PE |
457 | * emacsclient.c (environ): Remove decl. |
458 | ||
9851e4a5 JB |
459 | 2012-08-17 Juanma Barranquero <lekktu@gmail.com> |
460 | ||
461 | * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies. | |
462 | ||
8453bb55 PE |
463 | 2012-08-15 Paul Eggert <eggert@cs.ucla.edu> |
464 | ||
465 | * etags.c (Pascal_functions): Fix parenthesization typo. | |
466 | ||
f5d9e83a PE |
467 | 2012-08-14 Paul Eggert <eggert@cs.ucla.edu> |
468 | ||
469 | * make-docfile.c (enum global_type): Sort values roughly in | |
470 | decreasing alignment, except put functions last. | |
471 | (compare_globals): Use this new property of enum global_type. | |
472 | (write_globals): Use bool, not int, for booleans. | |
473 | ||
9374581a GM |
474 | 2012-08-10 Glenn Morris <rgm@gnu.org> |
475 | ||
25e65510 GM |
476 | * make-docfile.c (IF_LINT): |
477 | * emacsclient.c (IF_LINT): Remove (in config.h now). | |
478 | ||
35e951cd | 479 | * make-docfile.c (main) |
9748df5d GM |
480 | (fopen) [!WINDOWSNT]: |
481 | (chdir) [!DOS_NT]: No more need to undef. | |
482 | ||
9374581a GM |
483 | * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): |
484 | * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): | |
485 | * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP): | |
486 | Remove (they are in config.h now). | |
35656638 GM |
487 | |
488 | * ebrowse.c (PATH_LIST_SEPARATOR): | |
489 | Remove, and replace with SEPCHAR from config.h. | |
490 | ||
3fbc4b54 JB |
491 | 2012-08-03 Juanma Barranquero <lekktu@gmail.com> |
492 | ||
493 | * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT, | |
494 | they are always defined in config.h. | |
495 | ||
6dad7178 EZ |
496 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> |
497 | ||
498 | * ntlib.c (lstat): New function, calls 'stat'. | |
499 | ||
f162bcc3 PE |
500 | 2012-08-02 Paul Eggert <eggert@cs.ucla.edu> |
501 | ||
502 | Use C99-style 'extern inline' if available. | |
503 | * profile.c (SYSTIME_INLINE): Define. | |
504 | ||
837b365b GM |
505 | 2012-08-02 Glenn Morris <rgm@gnu.org> |
506 | ||
507 | * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location. | |
508 | ||
de7de872 GM |
509 | 2012-08-01 Glenn Morris <rgm@gnu.org> |
510 | ||
511 | * Makefile.in (config_h): New variable. | |
512 | Use throughout in place of ../src/config.h. | |
513 | ||
552a99b4 JB |
514 | 2012-08-01 Juanma Barranquero <lekktu@gmail.com> |
515 | ||
516 | * makefile.w32-in (CONFIG_H): Update dependencies. | |
517 | (CONF_POST_H): New macro. | |
518 | ||
0aee6912 PE |
519 | 2012-07-30 Paul Eggert <eggert@cs.ucla.edu> |
520 | ||
521 | Update .PHONY listings in makefiles. | |
522 | * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail, | |
523 | install, uninstall, mostlyclean, clean, distclean, | |
524 | maintainer-clean, extraclean, check, tags. | |
525 | ||
8519232d EZ |
526 | 2012-07-29 Eli Zaretskii <eliz@gnu.org> |
527 | ||
528 | * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD. | |
529 | ||
debd9b27 PE |
530 | 2012-07-12 Paul Eggert <eggert@cs.ucla.edu> |
531 | ||
532 | * movemail.c: Add missing 'defined'. | |
533 | Suggested by Sven Joachim in | |
534 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>. | |
535 | ||
5ebbef1d PE |
536 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> |
537 | ||
c214e35e PE |
538 | Port 'movemail' again to Solaris and similar hosts. |
539 | See Susan Cragin's report in | |
540 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>. | |
541 | * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS && | |
542 | !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't | |
543 | need a forward declaration. | |
544 | (main): Rewrite to avoid no-longer-present function 'concat', if | |
545 | !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. | |
546 | ||
5ebbef1d PE |
547 | Assume strerror. |
548 | * emacsclient.c, movemail.c, update-game-score.c (strerror) | |
549 | [!HAVE_STRERROR]: Remove. | |
550 | ||
e99a530f PE |
551 | 2012-07-10 Paul Eggert <eggert@cs.ucla.edu> |
552 | ||
e9a9ae03 PE |
553 | EMACS_TIME simplification (Bug#11875). |
554 | * profile.c (TV2): Remove no-longer-needed static var. | |
555 | ||
e99a530f PE |
556 | Simplify by avoiding confusing use of strncpy etc. |
557 | * etags.c (write_classname, C_entries): | |
558 | Use sprintf rather than strncpy or strncat. | |
559 | * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions) | |
560 | (Erlang_functions, substitute, readline_internal, savenstr): | |
561 | * movemail.c (mail_spool_name): | |
562 | Use memcpy rather than strncpy or strncat when either will do. | |
563 | * make-docfile.c (write_c_args): | |
564 | Use memcmp rather than strncmp when either will do. | |
565 | * movemail.c (pop_retr): | |
566 | * pop.c (pop_stat, pop_list, pop_multi_first, pop_last) | |
567 | (socket_connection, pop_getline, sendline, getok): | |
568 | Use snprintf rather than strncpy or strncat. | |
569 | * movemail.c (concat): Remove; no longer needed. | |
570 | (xmalloc): Define only if needed, now that concat has gone away. | |
571 | Return void *. All uses changed. | |
572 | ||
5994c183 PE |
573 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> |
574 | ||
575 | Add GCC-style 'const' attribute to functions that can use it. | |
576 | * etags.c (number_len): Add ATTRIBUTE_CONST. | |
577 | ||
ad0a19b7 JB |
578 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> |
579 | ||
580 | * emacsclient.c (w32_execvp): Declare execvp to silence the compiler. | |
581 | ||
65e46515 JB |
582 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> |
583 | ||
584 | * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC. | |
585 | (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H) | |
586 | (SYSTIME_H): New macros. | |
587 | (SRC): Redefine to point to src/, not current directory. | |
588 | ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O)) | |
589 | ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O)) | |
590 | ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O)) | |
591 | ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies. | |
592 | ($(BLD)/regex.$(O)): New dependency. | |
593 | ||
31542918 JB |
594 | 2012-07-09 Juanma Barranquero <lekktu@gmail.com> |
595 | ||
596 | * makefile.w32-in (ALL): Add profile.exe. | |
597 | (PROFILEOBJS): New macro. | |
598 | ($(BLD)/profile.exe): New target. | |
599 | (install): Copy profile.exe. | |
600 | ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete. | |
601 | ||
07adc2c6 JB |
602 | 2012-07-07 Juanma Barranquero <lekktu@gmail.com> |
603 | ||
604 | * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): | |
605 | Update dependencies. | |
606 | ||
fee5959d PE |
607 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> |
608 | ||
609 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). | |
610 | * etags.c: Include c-strcase.h. | |
611 | (etags_strcasecmp, etags_strncasecmp): Remove. | |
612 | All uses replaced with c_strcasecmp and c_strncasecmp. | |
613 | ||
9c32bf45 AS |
614 | 2012-07-06 Andreas Schwab <schwab@linux-m68k.org> |
615 | ||
616 | * make-docfile.c (write_globals): Warn about duplicate function | |
617 | definitions with differing signatures. | |
618 | ||
9c46aab9 PE |
619 | 2012-07-03 Paul Eggert <eggert@cs.ucla.edu> |
620 | ||
621 | * make-docfile.c (scan_c_file): Suppress GCC warning. | |
622 | ||
404dbd37 TT |
623 | 2012-06-29 Tom Tromey <tromey@redhat.com> |
624 | ||
625 | * make-docfile.c (enum global_type) <FUNCTION>: New constant. | |
626 | (struct global) <value>: New field. | |
627 | (add_global): Add 'value' argument. | |
628 | (compare_globals): Sort functions at the end. | |
629 | (close_emacs_globals): New function. | |
630 | (write_globals): Handle functions. | |
631 | (scan_c_file): Call add_global for DEFUN. | |
632 | ||
b95b7254 JB |
633 | 2012-06-30 Juanma Barranquero <lekktu@gmail.com> |
634 | ||
635 | * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME; | |
636 | already defined in ETAGS_CFLAGS. | |
637 | ||
1ba6038a GM |
638 | 2012-06-27 Glenn Morris <rgm@gnu.org> |
639 | ||
640 | * makefile.w32-in (lisp2): Remove paths.el. | |
641 | ||
cf38a720 PE |
642 | 2012-06-26 Paul Eggert <eggert@cs.ucla.edu> |
643 | ||
644 | Clean out last vestiges of the old HAVE_CONFIG_H stuff. | |
645 | * Makefile.in (BASE_CFLAGS): | |
646 | * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H. | |
647 | * etags.c, hexl.c, pop.c: Include <config.h> unconditionally. | |
648 | * etags.c (DOS_NT): | |
649 | * pop.c (MAIL_USE_POP, h_errno): | |
650 | Remove code that was conditioned on !HAVE_CONFIG_H. | |
651 | ||
3511c784 DA |
652 | 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru> |
653 | ||
654 | * etags.c (etags_strcasecmp, etags_strncasecmp): Define to | |
655 | library functions strcasecmp and strncasecmp if available. | |
656 | ||
845ca893 PE |
657 | 2012-06-24 Paul Eggert <eggert@cs.ucla.edu> |
658 | ||
659 | Switch from NO_RETURN to C11's _Noreturn (Bug#11750). | |
660 | * ebrowse.c (usage, version): | |
661 | * emacsclient.c (print_help_and_exit, fail): | |
662 | * etags.c (suggest_asking_for_help, fatal, pfatal): | |
663 | * hexl.c (usage): | |
664 | * make-docfile.c (fatal): | |
665 | * movemail.c (fatal, pfatal_with_name, pfatal_and_delete): | |
666 | * update-game-score.c (usage): | |
667 | * ebrowse.c (usage, version): | |
668 | * emacsclient.c (print_help_and_exit, fail): | |
669 | Use _Noreturn rather than NO_RETURN. | |
670 | No need for separate decl merely because of _Noreturn. | |
671 | ||
dd1ff7c0 SB |
672 | 2012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change) |
673 | ||
674 | * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838). | |
675 | ||
d35af63c PE |
676 | 2012-06-22 Paul Eggert <eggert@cs.ucla.edu> |
677 | ||
678 | Support higher-resolution time stamps (Bug#9000). | |
679 | * Makefile.in (LIB_CLOCK_GETTIME): New macro. | |
680 | (profile${EXEEXT}): Use it. | |
10b6eb0d | 681 | * profile.c: Include inttypes.h, intprops.h. |
d35af63c PE |
682 | (time_string): Size conservatively; do not guess size. |
683 | (get_time): Now prints nanoseconds. | |
684 | (gettimeofday): Remove replacement function; gnulib now does this. | |
685 | ||
7cb70fd7 AS |
686 | 2012-06-08 Andreas Schwab <schwab@linux-m68k.org> |
687 | ||
688 | * make-docfile.c (search_lisp_doc_at_eol): Unget last read | |
689 | character. | |
690 | ||
276d5f5d GM |
691 | 2012-06-06 Glenn Morris <rgm@gnu.org> |
692 | ||
67163749 GM |
693 | * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir) |
694 | (stamp-rcs2log, stamp-grep-changelog): Remove. | |
695 | (all, clean): Remove references to stamps. | |
696 | ||
276d5f5d GM |
697 | * vcdiff: Remove file. |
698 | * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff. | |
699 | (stamp-vcdiff): Remove. | |
700 | ||
b3c659a1 GM |
701 | 2012-06-05 Glenn Morris <rgm@gnu.org> |
702 | ||
35e951cd JB |
703 | * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)) |
704 | ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)) | |
b3c659a1 GM |
705 | ($(BLD)/timer.$(O)): Remove cruft. |
706 | ||
418cd726 GM |
707 | 2012-06-03 Glenn Morris <rgm@gnu.org> |
708 | ||
709 | * rcs-checkin: Remove file. | |
710 | * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS): | |
711 | Remove rcs-checkin. | |
712 | (stamp-rcs-checkin): Remove. | |
713 | ||
efc00ab1 | 714 | 2012-05-31 Eli Zaretskii <eliz@gnu.org> |
06523364 EZ |
715 | |
716 | * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS) | |
717 | instead of a literal -mwindows, which is not supported by MSVC. | |
718 | (Bug#11405) | |
719 | ||
61b108cc SM |
720 | 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca> |
721 | ||
722 | * make-docfile.c: Improve comment style. | |
723 | (search_lisp_doc_at_eol): New function. | |
724 | (scan_lisp_file): Use it. | |
725 | ||
fe453991 GM |
726 | 2012-05-26 Glenn Morris <rgm@gnu.org> |
727 | ||
728 | * Makefile.in (INSTALL_DATA): Remove; unused. | |
729 | ||
34374650 PE |
730 | 2012-05-22 Paul Eggert <eggert@cs.ucla.edu> |
731 | ||
732 | Remove src/m/*. | |
733 | * makefile.w32-in: Remove dependencies on | |
734 | $(EMACS_ROOT)/src/m/intel386.h. | |
735 | ||
32514cfe GM |
736 | 2012-05-22 Glenn Morris <rgm@gnu.org> |
737 | ||
738 | * Makefile.in (install): Remove unneeded chmods. | |
739 | ||
261cb4bb PE |
740 | 2012-05-21 Paul Eggert <eggert@cs.ucla.edu> |
741 | ||
742 | Assume C89 or later. | |
743 | * etags.c (static, const): Remove macros. | |
744 | (PTR): Remove; all uses replaced with void *. Omit needless casts. | |
745 | ||
b847032c GM |
746 | 2012-05-21 Glenn Morris <rgm@gnu.org> |
747 | ||
748 | * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}): | |
749 | Scrap superfluous subshells. | |
750 | ||
ed4affe1 GM |
751 | 2012-05-18 Glenn Morris <rgm@gnu.org> |
752 | ||
753 | * Makefile.in (install): Ensure $bindir exists. | |
754 | ||
3a4155de GM |
755 | 2012-05-17 Glenn Morris <rgm@gnu.org> |
756 | ||
757 | * Makefile.in (ns_appbindir): New, set by configure. | |
758 | ||
005ad204 GM |
759 | 2012-05-12 Glenn Morris <rgm@gnu.org> |
760 | ||
761 | * Makefile.in (MKDIR_P): New, set by configure. | |
762 | ($(DESTDIR)${archlibdir}): Use $MKDIR_P. | |
763 | ||
db5a3003 PE |
764 | 2012-05-10 Paul Eggert <eggert@cs.ucla.edu> |
765 | ||
766 | etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86 | |
767 | * etags.c: Include <stdarg.h>. | |
768 | (error): Declare as printf-style, as that's what it really is. | |
769 | All uses changed. | |
770 | (add_regex): Use single char rather than array-of-one char. | |
771 | ||
eceeb5fc CY |
772 | 2012-05-05 Jim Meyering <meyering@redhat.com> |
773 | ||
38942b9c | 774 | * pop.c (pop_stat, pop_list, pop_multi_first, pop_last): |
eceeb5fc CY |
775 | NUL-terminate the error buffer (Bug#11372). |
776 | ||
069a7756 JB |
777 | 2012-05-02 Juanma Barranquero <lekktu@gmail.com> |
778 | ||
779 | * emacsclient.c (min): Undef before redefining it. | |
780 | ||
1e6f32f8 JM |
781 | 2012-05-02 Jim Meyering <jim@meyering.net> |
782 | ||
783 | * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial | |
784 | send (Bug#11374). | |
785 | ||
a706a3bc AS |
786 | 2012-04-29 Andreas Schwab <schwab@linux-m68k.org> |
787 | ||
788 | * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and | |
789 | byte-code forms. (Bug#11380) | |
790 | ||
c07a4c0b | 791 | 2012-04-20 Chong Yidong <cyd@gnu.org> |
9a864fa2 CY |
792 | |
793 | * emacsclient.c (decode_options): Move -t -n corner case handling | |
794 | into server.el (Bug#11102). | |
5d3385a0 | 795 | (main): Send -tty to Emacs under more circumstances (Bug#8314). |
9a864fa2 | 796 | |
6c94c34f | 797 | 2012-04-18 Paul Eggert <eggert@cs.ucla.edu> |
b8df54ff | 798 | |
9f46df23 | 799 | configure: new option --enable-gcc-warnings (Bug#11207) |
b8df54ff PE |
800 | * Makefile.in (C_WARNINGS_SWITCH): Remove. |
801 | (WARN_CFLAGS, WERROR_CFLAGS): New macros. | |
802 | (BASE_CFLAGS): Use new macros rather than old. | |
803 | ||
15142f27 PE |
804 | 2012-04-16 Paul Eggert <eggert@cs.ucla.edu> |
805 | ||
806 | Assume less-ancient POSIX support. | |
807 | * update-game-score.c: Include <getopt.h> rather than rolling our | |
808 | own decls for optarg, optind, opterr. See | |
809 | <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>. | |
810 | ||
bdf35b6a | 811 | 2012-04-14 Juanma Barranquero <lekktu@gmail.com> |
6c91c9f0 | 812 | |
9401b326 JB |
813 | * emacsclient.c (decode_options) [WINDOWSNT]: |
814 | Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com). | |
815 | ||
9078ead6 EZ |
816 | 2012-04-07 Eli Zaretskii <eliz@gnu.org> |
817 | ||
818 | * makefile.w32-in (obj): Add xml.o. | |
819 | ||
d67a9a85 EZ |
820 | 2012-04-07 Eli Zaretskii <eliz@gnu.org> |
821 | ||
822 | * makefile.w32-in (ALL): Now the list of executables, not of phony | |
823 | targets. | |
824 | (.PHONY): Only make-docfile is its prerequisite now. | |
825 | (make-docfile): Don't depend on stamp_BLD. Add a comment about | |
826 | the need in this target. | |
827 | (ctags, etags, ebrowse, hexl, movemail, emacsclient) | |
828 | (test-distrib): Phony targets removed. | |
829 | ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe. | |
830 | (all): Don't depend on stamp_BLD. | |
e4ecc6a2 | 831 | (ALL): Include $(BLD)/test-distrib.exe. |
d67a9a85 | 832 | |
6b0c8984 AS |
833 | 2012-03-11 Andreas Schwab <schwab@linux-m68k.org> |
834 | ||
e29ab36b AS |
835 | * emacsclient.c (main): Handle -print-nonl command. |
836 | ||
2b84f674 AS |
837 | * emacsclient.c (main): Handle multiple messages in a single |
838 | datagram. | |
839 | ||
6b0c8984 AS |
840 | * emacsclient.c (socket_name): Add const. |
841 | (get_server_config): Add parameter config_file, use it instead of | |
842 | global server_file. | |
843 | (set_tcp_socket): Add parameter local_server_file, pass it down to | |
844 | get_server_config. | |
845 | (set_local_socket): Add parameter local_socket_name, use it | |
846 | instead of global socket_name. | |
847 | (set_socket): Adjust calls to set_local_socket and set_tcp_socket. | |
848 | Don't clobber global server_file or socket_name. | |
849 | (main): No longer reset server_file or socket_name. | |
850 | ||
1c6e5a32 GM |
851 | 2012-01-05 Glenn Morris <rgm@gnu.org> |
852 | ||
853 | * ebrowse.c (version) <emacs_copyright>: | |
854 | * etags.c (print_version) <emacs_copyright>: | |
855 | * rcs2log (Copyright): Update short copyright year to 2012. | |
856 | ||
28796b3a AS |
857 | 2011-12-25 Andreas Schwab <schwab@linux-m68k.org> |
858 | ||
859 | * etags.c (C_entries): Properly skip over string and character | |
860 | constants and comments inside brackets. (Bug#10357) | |
861 | ||
520fca41 JB |
862 | 2011-12-04 Juanma Barranquero <lekktu@gmail.com> |
863 | ||
864 | * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0; | |
865 | instead, treat both -c and -t as always requesting a new "tty" frame, | |
866 | and let server.el decide which kind is actually required. | |
867 | Reported by Uwe Siart <usenet@siart.de> in this thread: | |
868 | http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html | |
869 | ||
e7308292 CY |
870 | 2011-11-30 Chong Yidong <cyd@gnu.org> |
871 | ||
872 | * emacsclient.c (main): Condition last change on WINDOWSNT | |
873 | (Bug#10155). | |
874 | ||
8c9afb46 EZ |
875 | 2011-11-27 Eli Zaretskii <eliz@gnu.org> |
876 | ||
877 | * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). | |
878 | ||
879 | * emacsclient.c (main) <environ>: Remove declaration, already | |
75f1671a | 880 | pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows. |
8c9afb46 | 881 | |
420b63ad GM |
882 | 2011-11-24 Glenn Morris <rgm@gnu.org> |
883 | ||
884 | * make-docfile.c (scan_lisp_file): Treat defcustom like defvar. | |
885 | ||
5ef215d8 DN |
886 | 2011-11-14 Dan Nicolaescu <dann@ics.uci.edu> |
887 | ||
888 | * Makefile.in (all): Make sure "all" is the first target. | |
889 | ||
657d08d3 JB |
890 | 2011-10-27 Juanma Barranquero <lekktu@gmail.com> |
891 | ||
892 | * emacsclient.c (w32_getenv): Silence compiler warnings. | |
893 | ||
0f054abc GM |
894 | 2011-09-07 Glenn Morris <rgm@gnu.org> |
895 | ||
896 | * etags.c (Fortran_functions): Handle "elemental" functions. | |
897 | ||
d0417b4c DS |
898 | 2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change) |
899 | ||
900 | * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359) | |
901 | ||
e39b275c | 902 | 2011-09-06 Paul Eggert <eggert@cs.ucla.edu> |
24e0f6b1 PE |
903 | |
904 | * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved | |
abec06ff | 905 | to build-aux (Bug#9169). |
24e0f6b1 | 906 | |
86633eab | 907 | 2011-09-04 Paul Eggert <eggert@cs.ucla.edu> |
17107bb6 | 908 | |
005d87bd | 909 | Integer and memory overflow issues (Bug#9397). |
17107bb6 PE |
910 | |
911 | * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to | |
912 | avoid potential buffer overflow issues on typical 64-bit hosts. | |
913 | Return void *, not long *. | |
914 | (get_current_dir_name): Report a failure, instead of looping | |
915 | forever, if buffer size calculation overflows. Treat malloc | |
916 | failures like realloc failures, as that has better behavior and is | |
917 | more consistent. Do not check whether xmalloc returns NULL, as | |
918 | that's not possible. | |
919 | (message): Do not arbitrarily truncate message to 2048 bytes when | |
920 | sending it to stderr; use vfprintf instead. | |
921 | (get_server_config, set_local_socket) | |
922 | (start_daemon_and_retry_set_socket): Do not alloca | |
923 | arbitrarily-large buffers; that's not safe. | |
924 | (get_server_config, set_local_socket): Do not use sprintf when its | |
925 | result might not fit in 'int'. | |
926 | (set_local_socket): Do not assume uid fits in 'int'. | |
927 | ||
9250f758 PE |
928 | * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int, |
929 | to avoid potential buffer overflow issues on typical 64-bit hosts. | |
930 | (whatlen_max): New static var. | |
931 | (main): Avoid buffer overflow if subsidiary command length is | |
4f405069 | 932 | greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its |
9250f758 PE |
933 | result might not fit in 'int'. |
934 | ||
644a0faa PE |
935 | * movemail.c (main): Do not use sprintf when its result might not fit |
936 | in 'int'. Instead, put the possibly-long file name into the | |
937 | output of pfatal_with_name. | |
938 | ||
0c6d656d PE |
939 | * update-game-score.c: Include <limits.h> |
940 | (get_user_id): Do not assume uid fits in 'int'. Simplify. | |
941 | ||
044c22e5 | 942 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> |
9cfdb3ec | 943 | |
0e926e56 PE |
944 | Assume freestanding C89 headers, string.h, stdlib.h. |
945 | * ebrowse.c: Include stdlib.h unconditionally. | |
946 | * etags.c, update-game-score.c: | |
947 | Include string.h and stdlib.h unconditionally. | |
948 | * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS. | |
949 | * movemail.c, pop.c: Include string.h unconditionally. | |
950 | * update-game-score.c: No need to include stdarg.h; not used. | |
951 | ||
9cfdb3ec PE |
952 | Assume support for memcmp, memcpy, memmove, memset. |
953 | * etags.c (absolute_filename): Assume memmove exists. | |
954 | ||
ec3b5374 AS |
955 | 2011-07-09 Andreas Schwab <schwab@linux-m68k.org> |
956 | ||
957 | * update-game-score.c (usage): Update usage line. | |
958 | ||
bc92abd2 JR |
959 | 2011-07-02 Jason Rumney <jasonr@gnu.org> |
960 | ||
961 | * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on | |
962 | Windows (Bug#5486). | |
963 | ||
3794a2d3 GM |
964 | 2011-06-25 Glenn Morris <rgm@gnu.org> |
965 | ||
966 | * emacsclient.c (decode_options) <opt>: Add `F:'. | |
967 | (print_help_and_exit): Mention --frame-parameters. | |
968 | ||
18a4ce5e AR |
969 | 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at> |
970 | ||
971 | * emacsclient.c (longopts, decode_options, main): Add frame-parameters. | |
972 | ||
529a133c PE |
973 | 2011-06-10 Paul Eggert <eggert@cs.ucla.edu> |
974 | ||
975 | * movemail.c: Fix race condition and related bugs (Bug#8836). | |
976 | (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this | |
977 | fixes some race conditions. Report mkstemp/mktemp errno rather | |
978 | than a possibly-garbage errno. Reinitialize the template each | |
979 | time through the loop, as earlier mkstemp/mktemp calls could have | |
980 | trashed it. Pass 0600 (not 0666) to mktemp, for consistency | |
981 | with mkstemp; the permissions don't matter anyway. | |
982 | ||
fe91f5a0 DN |
983 | 2011-06-01 Dan Nicolaescu <dann@ics.uci.edu> |
984 | ||
985 | * emacsclient.c (socket_status): Use constant pointer. | |
986 | ||
55d4c1b2 PE |
987 | 2011-05-28 Paul Eggert <eggert@cs.ucla.edu> |
988 | ||
989 | Use 'inline', not 'INLINE'. | |
990 | * etags.c (hash): Now inline unconditionally. | |
991 | * make-docfile.c (put_char): inline, not INLINE. | |
992 | ||
7bdede3f GM |
993 | 2011-05-25 Glenn Morris <rgm@gnu.org> |
994 | ||
e9490743 GM |
995 | * Makefile.in (.c.o): Remove (every .o file has an explicit rule). |
996 | (insrcdir): New. | |
997 | (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff): | |
998 | Use $insrcdir to suppress unaesthetic ignored errors. | |
999 | (clean): Simplify list of things to delete. | |
497c74cd | 1000 | (all, clean): Use $EXE_FILES. |
e9490743 | 1001 | |
d114d4f3 GM |
1002 | * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file. |
1003 | ||
7bdede3f GM |
1004 | * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion. |
1005 | (etags${EXEEXT}): Just depend on regex.o, not regex.h as well. | |
1006 | ||
1c728a9d GM |
1007 | 2011-05-24 Glenn Morris <rgm@gnu.org> |
1008 | ||
1009 | * Makefile.in (update-game-score${EXEEXT}): Use a single rule. | |
1010 | ||
4a720484 GM |
1011 | 2011-05-19 Glenn Morris <rgm@gnu.org> |
1012 | ||
1013 | * makefile.w32-in (echolisp): Remove rule that is no longer needed. | |
1014 | (clean): No more echolisp.tmp. | |
1015 | ||
c136e5cd GM |
1016 | 2011-05-18 Glenn Morris <rgm@gnu.org> |
1017 | ||
1018 | * fakemail.c: Remove file. | |
1019 | * makefile.w32-in ($(BLD)/fakemail.exe, fakemail) | |
1020 | ($(BLD)/fakemail.$(O)): Remove. | |
1021 | * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}. | |
1022 | (fakemail${EXEEXT}): Remove rule. | |
1023 | ||
418401a5 TZ |
1024 | 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com> |
1025 | ||
17519c90 | 1026 | * makefile.w32-in (obj): Add gnutls.o. |
418401a5 | 1027 | |
c5443aa5 PE |
1028 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> |
1029 | ||
fd35b6f9 PE |
1030 | Static checks with GCC 4.6.0 and non-default toolkits. |
1031 | ||
5a9c1e26 PE |
1032 | * movemail.c (mail_spool_name): Protoize. |
1033 | (main): Remove unused var. Mark var as initialized. | |
1034 | Move locals to avoid shadowing, and use time_t for times. | |
1035 | ||
cd52b244 PE |
1036 | * fakemail.c (xmalloc, xreallc): Use standard C prototypes |
1037 | with void *. This avoids warnings about pointer casts. | |
1038 | ||
c5443aa5 PE |
1039 | * emacsclient.c (main): Don't use uninitialized var. |
1040 | (IS_ANY_SEP): Remove; unused. | |
1041 | (get_current_dir_name): Add an extern decl. | |
1042 | ||
41cf7d1a | 1043 | 2011-04-06 Paul Eggert <eggert@cs.ucla.edu> |
72b04a8a | 1044 | |
41cf7d1a | 1045 | Fix more problems found by GCC 4.6.0's static checks. |
72b04a8a | 1046 | |
41cf7d1a | 1047 | * emacsclient.c (message): Mark it as a printf-like function. |
8e48d7bc PE |
1048 | |
1049 | * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c. | |
1050 | (write_c_args): Use it to suppress GCC warning. | |
1051 | ||
77861b95 | 1052 | 2011-03-30 Paul Eggert <eggert@cs.ucla.edu> |
8c422c30 | 1053 | |
77861b95 | 1054 | Fix a problem found by GCC 4.6.0's static checks. |
8c422c30 PE |
1055 | * etags.c (just_read_file): Remove dummy variable and simplify. |
1056 | ||
9af30bdf GM |
1057 | 2011-03-27 Glenn Morris <rgm@gnu.org> |
1058 | ||
1059 | * emacsclient.c: Replace SIGTYPE with void. | |
1060 | ||
9c88f339 JB |
1061 | 2011-03-23 Juanma Barranquero <lekktu@gmail.com> |
1062 | ||
1063 | * ntlib.c: Include <ctype.h>. | |
1064 | ||
8cc1d519 GM |
1065 | 2011-03-23 Glenn Morris <rgm@gnu.org> |
1066 | ||
1067 | * Makefile.in ($(DESTDIR)${archlibdir}): | |
1068 | Use `install-sh -d' rather than mkinstalldirs. | |
1069 | ||
c9c49752 | 1070 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> |
d5cad867 | 1071 | |
b1f961e1 PE |
1072 | * ebrowse.c: Use size_t, not int, for sizes. |
1073 | This avoids a warning with gcc -Wstrict-overflow, and works | |
1074 | better for very large objects. | |
1075 | (inbuffer_size): Now size_t. All uses changed. | |
1076 | (xmalloc, xrealloc, operator_name, process_file): Use size_t for | |
1077 | sizes. Don't bother testing whether a size_t value can be negative. | |
1078 | ||
58cb46fb PE |
1079 | * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. |
1080 | ||
3ef271f2 PE |
1081 | etags: In Prolog functions, don't assume int fits in size_t. |
1082 | This avoids a warning with gcc -Wstrict-overflow. | |
1083 | * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, | |
1084 | not int, to store sizes. | |
1085 | (prolog_atom): Return 0, not -1, on error. All callers changed. | |
1086 | ||
f0d80d43 PE |
1087 | update-game-score: fix bug with -r |
1088 | * update-game-score.c (main): Don't set 'scores' to garbage when | |
5d6d7e57 PE |
1089 | -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug |
1090 | was introduced in the 2002-04-10 change, and was found with gcc | |
f0d80d43 PE |
1091 | -Wstrict-overflow (GCC 4.5.2, x86-64). |
1092 | ||
d5cad867 PE |
1093 | fakemail: Remove dependency on ignore-value. |
1094 | This undoes some of the recent fakemail-related changes. | |
1095 | It is made possible due to recent changes to gnulib's stdio module. | |
1096 | * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. | |
1097 | * fakemail.c: Do not include ignore-value.h. | |
1098 | (put_line): Do not use ignore_value. | |
1099 | ||
33383987 JB |
1100 | 2011-03-07 Chong Yidong <cyd@stupidchicken.com> |
1101 | ||
1102 | * Version 23.3 released. | |
1103 | ||
0b973fc5 DW |
1104 | 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change) |
1105 | ||
1106 | * emacsclient.c (longopts): Add quiet. | |
1107 | (decode_options): Handle q/quiet. | |
1108 | (print_help_and_exit): Add q/quiet. | |
1109 | (main): Suppress some messages if quiet option is used. | |
1110 | ||
a54af40e EZ |
1111 | 2011-02-26 Eli Zaretskii <eliz@gnu.org> |
1112 | ||
00030ef0 EZ |
1113 | * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h. |
1114 | ||
a54af40e EZ |
1115 | * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back. |
1116 | (w32_getenv): Use xstrdup to return all values in malloc'ed | |
1117 | storage. | |
1118 | ||
34e6d782 PE |
1119 | 2011-02-26 Paul Eggert <eggert@cs.ucla.edu> |
1120 | ||
6c0668d9 PE |
1121 | * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear |
1122 | to reader (and to the compiler) that the loop always executes at | |
1123 | least once. This prevents a warning with recent GCC. | |
9e1b7fe6 | 1124 | (BROWSE_STRUCT): Remove unused macro. |
6c0668d9 | 1125 | |
a4fe4e89 PE |
1126 | * fakemail.c: Include <ignore-value.h>. |
1127 | (put_line): Explicitly ignore fwrite return value, for benefit of | |
1128 | recent glibc + gcc. | |
1129 | (close_the_streams): Diagnose output errors instead of merely | |
1130 | exiting with nonzero status. | |
1131 | (my_fclose, main): Diagnose input errors, and exit with nonzero status. | |
1132 | Formerly, input errors were silently ignored. | |
1133 | ||
34e6d782 PE |
1134 | * ebrowse.c (putstr): Rename from PUTSTR and turn into a function. |
1135 | All callers changed. This is cleaner, and avoids GCC warnings about | |
1136 | passing NULL to fputs. | |
70279bd1 | 1137 | (insert_keyword): Rename parameter to avoid shadowing diagnostic. |
34e6d782 | 1138 | |
564ff1f2 PE |
1139 | 2011-02-25 Paul Eggert <eggert@cs.ucla.edu> |
1140 | ||
7e6bb4c9 | 1141 | * emacsclient.c (main): Avoid dangling 'if'. |
b9170155 | 1142 | (xstrdup): Remove; no longer needed. |
35e951cd | 1143 | (get_current_dir_name, w32_getenv, get_server_config, find_tty) |
b9170155 PE |
1144 | (set_local_socket, main): |
1145 | Use const char *, not char *, for pointers that are not assigned | |
1146 | through. | |
4be3dfc5 PE |
1147 | (IF_LINT): New macro. |
1148 | (set_local_socket, main): Use it to suppress warnings with | |
1149 | GCC -Wuninitialized. | |
7e6bb4c9 | 1150 | |
b0bbc07d PE |
1151 | * emacsclient.c: Redo local variables to avoid shadowing problems. |
1152 | (message, socket_status, start_daemon_and_retry_set_socket): | |
1153 | Rename locals. | |
1154 | (main): Move decl of "i". | |
1155 | ||
3f5e6230 PE |
1156 | * etags.c (ISUPPER): Move to inside the only #ifdef where it's used. |
1157 | This avoids an unused-macro warning with some GCC settings. | |
1158 | ||
564ff1f2 PE |
1159 | * make-docfile.c (write_globals): Change char * to char const * |
1160 | to avoid a GCC "assignment discards qualifiers" diagnostic | |
1161 | in some configurations. | |
8dfa32f6 PE |
1162 | (scan_c_file): Refactor local variable decls to make their scope |
1163 | more accurate and to avoid a GCC -Wuninitialized diagnostic. | |
564ff1f2 | 1164 | |
b97decf2 EZ |
1165 | 2011-02-22 Eli Zaretskii <eliz@gnu.org> |
1166 | ||
32e793fa EZ |
1167 | * etags.c (canonicalize_filename, ISUPPER): Fix last change. |
1168 | ||
61b108cc SM |
1169 | * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): |
1170 | Depend on ../lib/min-max.h. | |
b97decf2 | 1171 | |
f68c809d PE |
1172 | 2011-02-22 Paul Eggert <eggert@cs.ucla.edu> |
1173 | ||
e5075711 PE |
1174 | etags: Downcase drive letters, for consistency with Emacs proper. |
1175 | * etags.c (upcase): Remove; no longer used. | |
1176 | (canonicalize_filename): Downcase drive letters. | |
1177 | ||
f68c809d PE |
1178 | Assume S_ISLNK etc. work, since gnulib supports this. |
1179 | * etags.c (S_ISREG): Remove. | |
1180 | ||
b97decf2 EZ |
1181 | 2011-02-22 Paul Eggert <eggert@cs.ucla.edu> |
1182 | ||
1183 | Assume S_ISLNK etc. work, since gnulib supports this. | |
1184 | * etags.c (S_ISREG): Remove. | |
1185 | ||
602a5739 JB |
1186 | 2011-02-22 Juanma Barranquero <lekktu@gmail.com> |
1187 | ||
1188 | * makefile.w32-in (obj): Remove filemode.o. | |
1189 | ||
b23b5a5b PE |
1190 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> |
1191 | ||
ba01e9d7 PE |
1192 | New file "lib/min-max.h". |
1193 | * ebrowse.c (min, max): Define them by including <min-max.h> | |
1194 | instead of defining it ourselves. | |
1195 | * pop.c (min): Likewise. | |
d47d6319 | 1196 | * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h. |
ba01e9d7 | 1197 | |
f0939c31 PE |
1198 | * movemail.c (popmail): Report fchown failure instead of ignoring it. |
1199 | But if the file already has the right ownership, don't worry about it. | |
1200 | ||
4df52042 | 1201 | * make-docfile.c (input_buffer): Rename variables to avoid shadowing. |
08c69097 | 1202 | * test-distrib.c (buf): Make this local, to avoid shadowing. |
4df52042 | 1203 | |
27d41fb4 | 1204 | * movemail.c (main, pop_retr): Rename locals to avoid shadowing. |
1afca8cc | 1205 | (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars. |
5ecec6a7 PE |
1206 | (DONE): Remove unused macro. |
1207 | (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE): | |
1208 | Define these macros only in the contexts that need them. | |
0d7fdc0e PE |
1209 | * pop.c (index): Remove unused macro. |
1210 | (KPOP_PORT): Define only if KERBEROS is defined. | |
27d41fb4 | 1211 | |
b23b5a5b PE |
1212 | Declare file-scope functions and variables static if not exported. |
1213 | This is more consistent, and is nicer with gcc -Wstrict-prototypes. | |
1214 | * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c: | |
1215 | * profile.c, test-distrib.c, update-game-score.c: | |
1216 | Declare non-'main' functions and variables to be static. | |
1217 | * ebrowse.c: Omit redundant function prototypes. | |
1218 | ||
25c51af3 EZ |
1219 | 2011-02-21 Eli Zaretskii <eliz@gnu.org> |
1220 | ||
1221 | * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O)) | |
1222 | ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)): | |
1223 | Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h. | |
1224 | ||
e18c0aa3 | 1225 | 2011-02-21 Ben Key <bkey76@gmail.com> |
6ca1c3b4 BK |
1226 | |
1227 | * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to | |
1228 | the new BVAR macro. | |
1229 | ||
50a4e25a JB |
1230 | 2011-02-20 Juanma Barranquero <lekktu@gmail.com> |
1231 | ||
1232 | * makefile.w32-in (obj): Remove md5.o. | |
1233 | ||
b166dcd8 KC |
1234 | 2011-02-18 Karl Chen <Karl.Chen@quarl.org> |
1235 | ||
1236 | * emacsclient.c (main): Loop while `recv' return EINTR. | |
1237 | ||
64df8c10 PE |
1238 | 2011-02-09 Paul Eggert <eggert@cs.ucla.edu> |
1239 | ||
1240 | * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT. | |
1241 | This avoids collision with config.h's EMACS_INT on some | |
1242 | configurations. All uses changed. | |
1243 | ||
00b3c7ac TT |
1244 | 2011-02-08 Tom Tromey <tromey@redhat.com> |
1245 | ||
1246 | * make-docfile.c: Unconditionally include stdlib.h. | |
1247 | (generate_globals): New global. | |
1248 | (xrealloc): New function. | |
1249 | (main): Handle '-g'. Call start_globals, write_globals. | |
1250 | (scan_file): Conditionally call put_filename. | |
1251 | (start_globals): New function. | |
1252 | (struct global): New. | |
1253 | (num_globals, globals): New globals. | |
1254 | (add_global, compare_globals, write_globals): New functions. | |
1255 | (scan_c_file): Update for "-g". | |
1256 | (scan_lisp_file): Fail if "-g". | |
1257 | ||
03fc768b PE |
1258 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> |
1259 | ||
602a5739 | 1260 | * emacsclient.c: Conform to C89 pointer rules. |
03fc768b PE |
1261 | (file_name_absolute_p): Accept const char *, not const unsigned |
1262 | char *, to satisfy C89 rules. | |
1263 | ||
d9f1f55e EZ |
1264 | 2011-02-02 Eli Zaretskii <eliz@gnu.org> |
1265 | ||
b166dcd8 KC |
1266 | * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): |
1267 | Add ``-DEMACS_NAME="\"GNU Emacs\""''. | |
83cc5772 | 1268 | (obj): Remove strftime.o. |
d9f1f55e | 1269 | |
70b0d280 EZ |
1270 | 2011-01-31 Eli Zaretskii <eliz@gnu.org> |
1271 | ||
1272 | * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. | |
1273 | (ECLIENT_CFLAGS): Remove -DVERSION. | |
1274 | ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in. | |
1275 | ||
16fab143 PE |
1276 | 2011-01-31 Paul Eggert <eggert@cs.ucla.edu> |
1277 | ||
1278 | src/emacs.c now gets version number from configure.in | |
1279 | * ebrowse.c: Adjust comment to say that. | |
1280 | ||
8aec9916 JM |
1281 | 2011-01-30 Jim Meyering <meyering@redhat.com> |
1282 | ||
c295fc18 | 1283 | * make-docfile.c: Don't corrupt heap for an invalid .elc file |
8aec9916 JM |
1284 | "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0 |
1285 | one byte before just-malloc'd saved_string buffer. | |
1286 | * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic | |
1287 | doc string length. Also fix an always-false while-loop test. | |
1288 | ||
f915f0f7 EZ |
1289 | 2011-01-29 Eli Zaretskii <eliz@gnu.org> |
1290 | ||
1291 | * makefile.w32-in (LOCAL_FLAGS): Add -I../lib. | |
1292 | (GETOPTOBJS, GETOPTDEPS): Remove targets. | |
1293 | (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A). | |
1294 | ($(BLD)/movemail.exe): Depend on ../lib/getopt.h. | |
1295 | (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o | |
1296 | and getopt1.o with ../lib/$(BLD)/libgnu.$(A). | |
1297 | (clean): Don't remove getopt.h. | |
1298 | (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets. | |
1299 | ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with | |
1300 | $(EMACS_ROOT)/lib/getopt.h. | |
1301 | ||
1302 | 2011-01-28 Chong Yidong <cyd@stupidchicken.com> | |
1303 | ||
1304 | * ntlib.c (setregid): New stub, renamed from setegid. | |
1305 | ||
1306 | * ntlib.h: Update prototype. | |
1307 | ||
06d8ace5 | 1308 | 2011-01-25 Chong Yidong <cyd@stupidchicken.com> |
fbf4af3a CY |
1309 | |
1310 | * movemail.c (main): Use setregid instead of setegid, which is | |
1311 | missing on older systems. Suggested by Peter O'Gorman (Bug#6811). | |
1312 | ||
9055082e PE |
1313 | 2011-01-23 Paul Eggert <eggert@cs.ucla.edu> |
1314 | ||
1315 | Check return values of some library calls. | |
1316 | * hexl.c (main): Check fread result. | |
1317 | * make-docfile.c (main): Check chdir result. | |
1318 | (scan_c_file): Check fscanf result. | |
1319 | * movemail.c (main): Check ftruncate result. | |
1320 | ||
33fe4243 | 1321 | 2011-01-17 Paul Eggert <eggert@cs.ucla.edu> |
e275c824 | 1322 | |
4004364e PE |
1323 | Include <unistd.h> unilaterally. |
1324 | * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c: | |
1325 | * pop.c, test-distrib.c, update-game-score.c: | |
1326 | Include <unistd.h> without worrying about HAVE_UNISTD_H, since | |
1327 | unistd.h is always present now, possibly supplied by gnulib. | |
1328 | ||
613f7bda PE |
1329 | Include <getopt.h> not "getopt.h". |
1330 | * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h". | |
1331 | Since getopt.h is no longer in this directory, there's no point | |
1332 | using the form with double-quotes. | |
1333 | ||
e275c824 PE |
1334 | Remove unused files. |
1335 | * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove. | |
1336 | These files are now in ../lib, copied from gnulib. | |
1337 | ||
1338 | Use gnulib's getopt-gnu module. | |
1339 | * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t, | |
1340 | as these are now done by gnulib. | |
1341 | (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o): | |
1342 | Remove; now done by gnulib. All uses removed. | |
1343 | ||
9a514d4a PE |
1344 | Automate syncing from gnulib. |
1345 | * Makefile.in (EXE_FILES): New macro. | |
1346 | (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib, | |
1347 | for gnulib's .h files. | |
1348 | (LOADLIBES): Add ../lib/libgnu.a. | |
1349 | ($(EXE_FILES)): Depend on ../lib/libgnu.a. | |
1350 | (../lib/libgnu.a): New rule. | |
1351 | ||
72427c46 PE |
1352 | 2011-01-08 Paul Eggert <eggert@cs.ucla.edu> |
1353 | ||
1354 | * Makefile.in (EXECUTABLES): Remove; macro unused since 1993. | |
1355 | ||
4967fa34 GM |
1356 | 2011-01-08 Glenn Morris <rgm@gnu.org> |
1357 | ||
e7a42417 GM |
1358 | * Makefile.in (EMACSOPT): Add --no-site-lisp. |
1359 | ||
4967fa34 GM |
1360 | * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more. |
1361 | ||
d7bfa7a1 GM |
1362 | 2011-01-02 Glenn Morris <rgm@gnu.org> |
1363 | ||
1364 | * ebrowse.c (version) <emacs_copyright>: | |
1365 | * etags.c (print_version) <emacs_copyright>: | |
1366 | * rcs2log (Copyright): Set short copyright year to 2011. | |
1367 | ||
da2b5401 JM |
1368 | 2010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change) |
1369 | ||
1370 | * ebrowse.c (yylex): If end of input buffer encountered while | |
1371 | searching for a newline after "//", return YYEOF. (Bug#7446) | |
1372 | ||
4a47c275 | 1373 | 2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
76cc4cd6 YM |
1374 | |
1375 | * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back | |
1376 | definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older. | |
1377 | ||
f16cafe3 DN |
1378 | 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu> |
1379 | ||
1380 | * test-distrib.c: Remove include guards for config.h and fcntl.h. | |
1381 | (O_RDONLY): Do not define. | |
1382 | (cool_read): Fix type for variable "sofar". | |
1383 | ||
6a5c2175 GM |
1384 | 2010-10-25 Glenn Morris <rgm@gnu.org> |
1385 | ||
1386 | * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc. | |
1387 | ||
17284e30 GM |
1388 | 2010-10-23 Glenn Morris <rgm@gnu.org> |
1389 | ||
1390 | * digest-doc.c, sorted-doc.c: Remove files. | |
1391 | * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc. | |
1392 | (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules. | |
1393 | * makefile.w32-in (ALL): Remove digest-doc and sorted-doc. | |
1394 | ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc) | |
1395 | ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules. | |
1396 | (install): Don't install digest-doc.exe or sorted-doc.exe. | |
1397 | ||
a4daeecf DN |
1398 | 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu> |
1399 | ||
1400 | * Makefile.in (PROFILING_LDFLAGS): Remove, not needed. | |
1401 | ||
3fb78d1f GM |
1402 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
1403 | ||
1404 | * b2m.c, b2m.pl: Remove files. | |
1405 | * Makefile.in (INSTALLABLES): Remove b2m. | |
1406 | * makefile.w32-in ($(BLD)/b2m.$(O)): Remove. | |
1407 | ||
4628bef1 | 1408 | 2010-10-08 Glenn Morris <rgm@gnu.org> |
b336bfcd GM |
1409 | |
1410 | * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back | |
1411 | DARWIN_USER_TEMP_DIR. (Bug#3992) | |
1412 | ||
f99d75f5 DN |
1413 | 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu> |
1414 | ||
728a982d DN |
1415 | * test-distrib.c (cool_read): |
1416 | * movemail.c (main, concat): | |
1417 | * make-docfile.c (scan_file, write_c_args): | |
602a5739 | 1418 | * emacsclient.c (get_server_config): Fix -Wconversion warning. |
728a982d DN |
1419 | (egetenv): Move conditional definition earlier. |
1420 | (progname): Use const. | |
1421 | * sorted-doc.c (xstrdup): Use const. | |
1422 | ||
f99d75f5 DN |
1423 | * Makefile.in: Remove ^L, old makes choke on it. |
1424 | ||
3ecb8d93 WS |
1425 | 2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change) |
1426 | ||
1427 | * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an | |
1428 | error string (Bug#6963). | |
1429 | ||
54b65f7b JB |
1430 | 2010-10-02 Juanma Barranquero <lekktu@gmail.com> |
1431 | ||
1432 | * makefile.w32-in (tags): Remove target. | |
1433 | ||
73077a9a EZ |
1434 | 2010-10-01 Eli Zaretskii <eliz@gnu.org> |
1435 | ||
1436 | * makefile.w32-in (tags, TAGS): New targets. | |
1437 | ||
968ef9b4 JB |
1438 | 2010-09-30 Juanma Barranquero <lekktu@gmail.com> |
1439 | ||
1440 | * emacsclient.c (get_server_config): Don't read Emacs pid from | |
1441 | the authentication file. | |
1442 | ||
6ab88e02 JB |
1443 | 2010-09-29 Juanma Barranquero <lekktu@gmail.com> |
1444 | ||
a69edb8a JB |
1445 | * makefile.w32-in (../src/config.h): Remove target, it is stale. |
1446 | ||
6ab88e02 JB |
1447 | * emacsclient.c (main): Remove unused variables. |
1448 | (start_daemon_and_retry_set_socket): Use EXIT_FAILURE. | |
1449 | ||
4c964351 UM |
1450 | 2010-09-25 Ulrich Mueller <ulm@gentoo.org> |
1451 | ||
1452 | * etags.c (compressors, print_language_names): Support xz compression. | |
1453 | ||
988e88ab J |
1454 | 2010-08-11 Jan Djärv <jan.h.d@swipnet.se> |
1455 | ||
70e31436 | 1456 | * fakemail.c: Include stdlib.h for getenv. Remove declaration of |
5e3b9a89 | 1457 | popen, fclose and pclose. |
70e31436 | 1458 | (my_name, fatal, error, put_line): Use const char*. |
5e3b9a89 J |
1459 | (main): Remove extern getenv, mail_program_name is const char*. |
1460 | ||
988e88ab J |
1461 | * update-game-score.c (get_prefix, write_scores, main): Use const char*. |
1462 | ||
1463 | * sorted-doc.c (error, fatal, states): Use const char *. | |
1464 | ||
1465 | * pop.h (pop_multi_first): Use const char *. | |
1466 | (_ARGS): Remove. | |
1467 | ||
70e31436 | 1468 | * pop.c (pop_multi_first, socket_connection, sendline): Use const char*. |
988e88ab J |
1469 | |
1470 | * movemail.c (fatal, error, concat): Use const char *. | |
1471 | ||
b166dcd8 KC |
1472 | * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): |
1473 | Use const char *. | |
988e88ab J |
1474 | |
1475 | * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes) | |
1476 | (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes) | |
1477 | (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes) | |
1478 | (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help) | |
41e9b956 | 1479 | (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help) |
988e88ab J |
1480 | (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help) |
1481 | (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help) | |
1482 | (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters) | |
1483 | (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes) | |
1484 | (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help) | |
1485 | (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes) | |
1486 | (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help) | |
1487 | (no_lang_help, print_language_names) | |
1488 | (get_language_from_interpreter, get_language_from_filename) | |
1489 | (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv) | |
1490 | (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal) | |
1491 | (concat): Use const char*. | |
1492 | ||
1493 | * emacsclient.c (message, sock_err_message, send_to_emacs) | |
1494 | (quote_argument, set_local_socket) | |
1495 | (start_daemon_and_retry_set_socket): Use const char*. | |
1496 | ||
1497 | * ebrowse.c (struct member): filename, def_filename is const. | |
1498 | (struct sym): filename, sfilename is const. | |
1499 | (struct kw): name is const. | |
1500 | (add_sym, yyerror, token_string, insert_keyword, main): Use const char*. | |
1501 | ||
1502 | * b2m.c (concat, fatal): Use const char*. | |
1503 | (main): Don't assign labels a string literal. | |
1504 | ||
0e9c8657 JB |
1505 | 2010-08-07 Juanma Barranquero <lekktu@gmail.com> |
1506 | ||
1507 | * ebrowse.c (usage, version, mark_virtual): | |
1508 | Remove duplicate declarations. | |
1509 | ||
0613f5d5 DN |
1510 | 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> |
1511 | ||
1512 | * emacsclient.c: Move socket related #includes together with the | |
70e31436 | 1513 | rest of the #includes. Move WINDOWSNT includes closer together. |
0613f5d5 DN |
1514 | (HAVE_CONFIG_H): Remove. |
1515 | (NO_RETURN): Remove, defined in config.h. | |
1516 | (main): Convert definition to standard C. | |
1517 | ||
a94a477d JB |
1518 | 2010-07-29 Juanma Barranquero <lekktu@gmail.com> |
1519 | ||
1520 | * make-docfile.c (write_c_args): Warn for old-style empty arglist (). | |
1521 | ||
35a7804d JB |
1522 | 2010-07-25 Juanma Barranquero <lekktu@gmail.com> |
1523 | ||
1524 | * emacsclient.c (getcwd): Fix previous change: make getcwd | |
1525 | conditional on HAVE_GETCWD and declare with the correct POSIX | |
1526 | profile (for some reason MinGW headers define its 2nd arg as int, | |
1527 | not size_t; but getcwd is not used on Windows nonetheless). | |
1528 | ||
361358ea JB |
1529 | 2010-07-25 Juanma Barranquero <lekktu@gmail.com> |
1530 | ||
1531 | * emacsclient.c (getcwd, w32_getenv): | |
1532 | * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes. | |
1533 | ||
68441b90 DN |
1534 | 2010-07-24 Dan Nicolaescu <dann@ics.uci.edu> |
1535 | ||
087b38a0 | 1536 | * update-game-score.c (usage): Add NO_RETURN specifier. |
68441b90 DN |
1537 | * movemail.c (fatal, pfatal_with_name, pfatal_and_delete): |
1538 | * make-docfile.c (fatal): | |
1539 | * hexl.c (usage): | |
1540 | * fakemail.c (fatal): | |
1541 | * etags.c (fatal, suggest_asking_for_help, pfatal): | |
1542 | * emacsclient.c (fatal): | |
1543 | * b2m.c (fatal): Likewise. | |
1544 | ||
554d39be JB |
1545 | 2010-07-23 Juanma Barranquero <lekktu@gmail.com> |
1546 | ||
1547 | * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt". | |
1548 | ||
7c3320d8 JB |
1549 | 2010-07-20 Juanma Barranquero <lekktu@gmail.com> |
1550 | ||
1551 | * emacsclient.c (get_current_dir_name, w32_get_resource) | |
1552 | (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp) | |
1553 | (close_winsock, initialize_sockets, w32_find_emacs_process) | |
1554 | (w32_give_focus): | |
1555 | * ntlib.c (getlogin, getuid, getgid, getegid): | |
1556 | Convert definitions to standard C. | |
1557 | ||
e6cfa7c3 AS |
1558 | 2010-07-12 Andreas Schwab <schwab@linux-m68k.org> |
1559 | ||
1560 | * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS) | |
1561 | (PROFILING_LDFLAGS): Set from substitution. | |
1562 | (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}. | |
1563 | (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}. | |
1564 | (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}. | |
1565 | ||
f09e4c6b EZ |
1566 | 2010-07-12 Eli Zaretskii <eliz@gnu.org> |
1567 | ||
1568 | * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see | |
1569 | 2010-07-12T05:25:46Z!handa@etlken). | |
1570 | ||
8966b757 AS |
1571 | 2010-07-11 Andreas Schwab <schwab@linux-m68k.org> |
1572 | ||
1573 | * emacsclient.c (set_local_socket): Use strchr, strrchr instead of | |
1574 | index, rindex. | |
1575 | * movemail.c (mail_spool_name, popmail): Likewise. | |
1576 | * pop.c (pop_list): Likewise. | |
1577 | ||
994a7c3b EZ |
1578 | 2010-07-11 Eli Zaretskii <eliz@gnu.org> |
1579 | ||
a628ad9d | 1580 | * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o, |
994a7c3b EZ |
1581 | and unexw32.o. (Bug#6603) |
1582 | ||
c971758d EZ |
1583 | 2010-07-10 Eli Zaretskii <eliz@gnu.org> |
1584 | ||
1585 | * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs. | |
1586 | ||
91a7f76d AS |
1587 | 2010-07-09 Andreas Schwab <schwab@linux-m68k.org> |
1588 | ||
1589 | * make-docfile.c (write_c_args): Restructure scanning loop. | |
1590 | ||
0508c67f DN |
1591 | 2010-07-09 Dan Nicolaescu <dann@ics.uci.edu> |
1592 | ||
1593 | * make-docfile.c (write_c_args): Deal with type names in DEFUN | |
1594 | arguments. | |
1595 | ||
0216627e DN |
1596 | 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> |
1597 | ||
1598 | * update-game-score.c (P_): Remove macro. | |
1599 | * ebrowse.c: Remove include guards. | |
1600 | (P_): Remove macro. | |
1601 | ||
72af86bd AS |
1602 | 2010-07-07 Andreas Schwab <schwab@linux-m68k.org> |
1603 | ||
1604 | * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by | |
1605 | memcpy, memmove, memset. | |
1606 | * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise. | |
1607 | ||
e2ad23ef AS |
1608 | 2010-07-06 Andreas Schwab <schwab@linux-m68k.org> |
1609 | ||
1610 | * movemail.c: Add MAIL_USE_POP around prototypes. | |
1725ae55 AS |
1611 | Include <string.h> if HAVE_STRING_H. |
1612 | (strerror): Only declare if !HAVE_STRERROR. | |
1613 | (fatal): Make static. | |
1614 | (error): Likewise. | |
1615 | (pfatal_with_name): Likewise. | |
70e31436 | 1616 | (pfatal_and_delete): Likewise. |
1725ae55 AS |
1617 | (concat): Likewise. |
1618 | (xmalloc): Likewise. | |
1619 | (popmail): Likewise. | |
1620 | (pop_retr): Likewise. | |
1621 | (mbx_write): Likewise. | |
1622 | (mbx_delimit_begin): Likewise. | |
1623 | (mbx_delimit_end): Likewise. | |
e2ad23ef | 1624 | |
b8463cbf DN |
1625 | 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu> |
1626 | ||
1627 | * fakemail.c (action): Convert function definitions to standard C. | |
1628 | (add_a_stream): | |
35e951cd | 1629 | * test-distrib.c (cool_read, main): Likewise. |
b8463cbf | 1630 | |
a52a00a3 AS |
1631 | 2010-07-03 Andreas Schwab <schwab@linux-m68k.org> |
1632 | ||
1633 | * sorted-doc.c (cmpdoc): Fix signature. | |
1634 | (qsort_compare): Delete. | |
1635 | (main): Remove cast. | |
1636 | ||
35d99b72 JB |
1637 | 2010-07-03 Juanma Barranquero <lekktu@gmail.com> |
1638 | ||
1639 | * ebrowse.c (match_qualified_namespace_alias): Check for null pointer. | |
1640 | ||
3a35a84c JB |
1641 | 2010-07-03 Juanma Barranquero <lekktu@gmail.com> |
1642 | ||
1643 | Fix prototype warnings. | |
1644 | ||
1645 | * ebrowse.c (match_qualified_namespace_alias): | |
1646 | Pass sym* to find_namespace, not link*. | |
1647 | ||
1648 | * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET. | |
1649 | ||
1650 | * sorted-doc.c (qsort_compare): New typedef. | |
1651 | (main): Use it to cast cmpdoc. | |
1652 | ||
873fbd0b DN |
1653 | 2010-07-03 Dan Nicolaescu <dann@ics.uci.edu> |
1654 | ||
1655 | * update-game-score.c: Convert function definitions to standard C. | |
1656 | * sorted-doc.c: | |
1657 | * profile.c: | |
1658 | * pop.c: | |
1659 | * movemail.c: | |
1660 | * make-docfile.c: | |
1661 | * hexl.c: | |
1662 | * fakemail.c: | |
1663 | * etags.c: | |
1664 | * ebrowse.c: | |
1665 | * digest-doc.c: | |
1666 | * b2m.c: Likewise. | |
1667 | ||
c532d349 DN |
1668 | 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu> |
1669 | ||
1670 | * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal): | |
1671 | * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to | |
1672 | standard C prototypes. | |
1673 | ||
f57e2426 J |
1674 | 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> |
1675 | ||
1676 | * ebrowse.c: Remove P_ and __P. | |
1677 | * etags.c: | |
1678 | * movemail.c: | |
1679 | * pop.c: | |
1680 | * update-game-score.c: Likewise. | |
1681 | ||
3b3807f8 JB |
1682 | 2010-06-24 Juanma Barranquero <lekktu@gmail.com> |
1683 | ||
1684 | * movemail.c (error): Avoid warning when there are no args. | |
1685 | ||
5fee75d4 JB |
1686 | 2010-06-11 Juanma Barranquero <lekktu@gmail.com> |
1687 | ||
1688 | * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc | |
1689 | and vc/ediff-hook.elc. | |
1690 | ||
3085237c DN |
1691 | 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu> |
1692 | ||
1693 | * ntlib.h: Remove code dealing with BSTRING. | |
1694 | ||
0191e222 CY |
1695 | 2010-05-29 Chong Yidong <cyd@stupidchicken.com> |
1696 | ||
1697 | * emacsclient.c (longopts, decode_options, print_help_and_exit): | |
1698 | New arg `-parent-id'. | |
1699 | (main): Send parent-id to Emacs. | |
1700 | ||
81ac4f35 GM |
1701 | 2010-05-27 Glenn Morris <rgm@gnu.org> |
1702 | ||
1703 | * Makefile.in (distclean): No more Makefile.c. | |
1704 | ||
4e3028f8 JD |
1705 | 2010-05-22 Jan Djärv <jan.h.d@swipnet.se> |
1706 | ||
1707 | * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246). | |
1708 | (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246). | |
1709 | (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff): | |
1710 | New rules (Bug #6246). | |
1711 | (clean): Remove stamp-* (Bug #6246). | |
1712 | ||
44b031a6 GM |
1713 | 2010-05-12 Glenn Morris <rgm@gnu.org> |
1714 | ||
1715 | * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@. | |
1716 | ||
acddf8ae GM |
1717 | 2010-05-11 Glenn Morris <rgm@gnu.org> |
1718 | ||
c88b05a9 GM |
1719 | * Makefile.in (.m.o): Remove, there are no .m files. |
1720 | (BASE_CFLAGS): New variable. | |
1721 | (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS. | |
1722 | (check): Update the message. | |
1723 | (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS. | |
1724 | ||
d3b23034 GM |
1725 | * Makefile.in: Convert comments to makefile format. |
1726 | ||
acddf8ae GM |
1727 | * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset. |
1728 | (config.h) [MSDOS]: Do not include. | |
1729 | ||
7490175b GM |
1730 | 2010-05-10 Glenn Morris <rgm@gnu.org> |
1731 | ||
97efb629 GM |
1732 | * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp. |
1733 | (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM. | |
1734 | (NOT_C_CODE): Remove, no longer used. | |
1735 | (config.h) [!MSDOS]: No longer include. | |
1736 | (LOADLIBES): Use LIBS_SYSTEM as a variable. | |
1737 | ||
7490175b GM |
1738 | * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp. |
1739 | ||
7b42b29f GM |
1740 | 2010-05-08 Glenn Morris <rgm@gnu.org> |
1741 | ||
1742 | * Makefile.in (THIS_IS_MAKEFILE): Remove, unused. | |
1743 | ||
61a808e8 CY |
1744 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
1745 | ||
1746 | * Version 23.2 released. | |
1747 | ||
f6c0ee20 GM |
1748 | 2010-05-06 Glenn Morris <rgm@gnu.org> |
1749 | ||
1750 | * Makefile.in: Minimize blessmail-related cpp usage. | |
1751 | (BLESSMAIL_TARGET): New variable. | |
1752 | (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable. | |
1753 | (blessmail): Always define this rule. | |
1754 | (need-blessmail): New rule, split out from maybe-blessmail. | |
1755 | (maybe-blessmail): Use BLESSMAIL_TARGET. | |
1756 | ||
49628785 GM |
1757 | 2010-05-04 Glenn Morris <rgm@gnu.org> |
1758 | ||
1759 | * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than | |
1760 | @c_switch_system@, @c_switch_machine@. | |
1761 | ||
7e10844c DN |
1762 | 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu> |
1763 | ||
1764 | * Makefile.in (LIBS_MACHINE): Remove all uses, unused. | |
1765 | ||
4794a582 DN |
1766 | 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu> |
1767 | ||
1768 | * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the | |
1769 | non-cpp section. | |
1770 | ||
76bd8202 DN |
1771 | 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
1772 | ||
1773 | * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using | |
1774 | autoconf, not cpp. | |
1775 | (ALL_CFLAGS): Use them as make variables. | |
1776 | ||
53cfe624 | 1777 | 2010-04-07 Christoph Scholtes <cschol2112@googlemail.com> |
42d3cab7 C |
1778 | |
1779 | * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis | |
1780 | for macros for nmake compatibility. | |
1781 | ||
b372fceb JB |
1782 | 2010-04-03 Juanma Barranquero <lekktu@gmail.com> |
1783 | ||
1784 | Add stubs for Windows, required after CVE-2010-0825 change. | |
1785 | * ntlib.c (getgid, getegid, setegid): New stubs. | |
1786 | * ntlib.h (getgid, getegid, setegid): Declare them. | |
1787 | ||
51a91f9d CY |
1788 | 2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change) |
1789 | ||
b166dcd8 KC |
1790 | * movemail.c (main): Check return values of setuid. |
1791 | Avoid possibility of symlink attack when movemail is setgid mail | |
51a91f9d CY |
1792 | (CVE-2010-0825). |
1793 | ||
42a2c622 DN |
1794 | 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu> |
1795 | ||
1796 | Remove extern errno declarations. | |
1797 | * movemail.c: | |
1798 | * etags.c: | |
1799 | * emacsclient.c: Remove extern errno declarations. | |
1800 | ||
5e58e3a4 GM |
1801 | 2010-03-20 Glenn Morris <rgm@gnu.org> |
1802 | ||
1803 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) | |
1804 | (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by | |
1805 | defining these as Makefile variables. | |
1806 | (LIBS_MOVE): Add LIBS_MAIL into this. | |
1807 | (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well. | |
1808 | ||
aded53ff GM |
1809 | 2010-03-18 Glenn Morris <rgm@gnu.org> |
1810 | ||
1811 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) | |
1812 | (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp. | |
1813 | (BASE_CFLAGS): Remove (identical to CPP_CFLAGS). | |
1814 | ||
f8388570 TO |
1815 | 2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change) |
1816 | ||
1817 | * Makefile.in (uninstall): Handle the case where archlibdir does not | |
1818 | exist. (Bug#5720) | |
1819 | ||
288f9fc0 CY |
1820 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
1821 | ||
1822 | * Branch for 23.2. | |
1823 | ||
f9b84f9f CY |
1824 | 2010-02-20 Kevin Ryde <user42@zip.com.au> |
1825 | ||
1826 | * etags.c (Scheme_functions): Don't loop past a null character | |
1827 | (Bug#5601). | |
1828 | ||
c14902e0 | 1829 | 2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change) |
9d77a91f | 1830 | |
a628ad9d | 1831 | * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484). |
9d77a91f | 1832 | |
6589a2f9 GM |
1833 | 2010-01-11 Glenn Morris <rgm@gnu.org> |
1834 | ||
1835 | * ebrowse.c (version): | |
1836 | * etags.c (print_version): | |
1837 | * rcs2log (Copyright): Set copyright year to 2010. | |
1838 | ||
03dcfe01 CY |
1839 | 2009-12-09 David Robinow <drobinow@gmail.com> (tiny change) |
1840 | ||
1841 | * makefile.w32-in: Use parenthesis for macros for nmake | |
1842 | compatibility. | |
1843 | ||
5ce6e4f4 | 1844 | 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change) |
46f3381a | 1845 | |
f7e0618c | 1846 | * etags.c (absolute_filename): Use memmove if we have it for |
46f3381a JD |
1847 | overlapping copy. |
1848 | ||
f6195dfb DN |
1849 | 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu> |
1850 | ||
1851 | * make-docfile.c (scan_lisp_file): Also look for `defvaralias'. | |
1852 | ||
b53f6df2 JB |
1853 | 2009-10-15 Juanma Barranquero <lekktu@gmail.com> |
1854 | ||
1855 | * .gitignore: Add echolisp.tmp. | |
1856 | ||
9fc3db2b GM |
1857 | 2009-10-15 Glenn Morris <rgm@gnu.org> |
1858 | ||
5f54cae6 GM |
1859 | * emacsclient.c (print_help_and_exit): Fix bug report instructions. |
1860 | ||
9fc3db2b GM |
1861 | * makefile.w32-in (echolisp): New rule. |
1862 | (clean): Delete echolisp.tmp. | |
1863 | ||
614bd9cf EZ |
1864 | 2009-09-27 Eli Zaretskii <eliz@gnu.org> |
1865 | ||
1866 | * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc, | |
1867 | term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to | |
1868 | be consistent with src/Makefile.in. | |
1869 | ||
24e9e996 SM |
1870 | 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
1871 | ||
1872 | * update-game-score.c (main): Sort scores before trimming them, | |
1873 | reported by Jason Feng <jfeng@ozbert.com> (bug#4397). | |
1874 | ||
c5a139ca GM |
1875 | 2009-09-09 Glenn Morris <rgm@gnu.org> |
1876 | ||
1877 | * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable | |
1878 | before creating directories and game score files. | |
1879 | ||
a8a8ec61 GM |
1880 | 2009-08-19 Glenn Morris <rgm@gnu.org> |
1881 | ||
0916a29e | 1882 | * cvtmail.c: Remove file. |
a8a8ec61 GM |
1883 | * Makefile.in (UTILITIES): Remove cvtmail. |
1884 | (cvtmail${EXEEXT}): Remove. | |
1885 | ||
678bc1f5 CY |
1886 | 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change) |
1887 | ||
1888 | * b2m.c (main): Ensure that each message ends in two newlines. | |
1889 | ||
0a3472c7 JR |
1890 | 2009-07-03 Jason Rumney <jasonr@gnu.org> |
1891 | ||
1892 | * emacsclient.c (w32_set_user_model_id): Use standard types. | |
1893 | ||
f2d6b714 EZ |
1894 | 2009-07-03 Eli Zaretskii <eliz@gnu.org> |
1895 | ||
1896 | * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like | |
1897 | src/Makefile.in did. | |
1898 | ||
ff90fbde JR |
1899 | 2009-06-30 Jason Rumney <jasonr@gnu.org> |
1900 | ||
1901 | * emacsclient.c (w32_give_focus): Use GetModuleHandle for library | |
1902 | that is already loaded. | |
1903 | (w32_set_user_model_id): New function. | |
1904 | (main): Use it to associate emacsclient with emacs (bug#1849). | |
1905 | ||
e0f59195 JM |
1906 | 2009-06-29 Jim Meyering <meyering@redhat.com> |
1907 | ||
1908 | Remove useless if-before-free test. | |
1909 | * make-docfile.c (scan_lisp_file): Remove useless test. | |
1910 | ||
f5f20f6c DN |
1911 | 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu> |
1912 | ||
1913 | * Makefile.in (movemail.o): Don't pass -Demacs, unused. | |
1914 | ||
70243478 CY |
1915 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
1916 | ||
1917 | * Branch for 23.1. | |
1918 | ||
fa44da6e AR |
1919 | 2006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com> |
1920 | ||
1921 | * mac-fix-env.m: | |
1922 | * Makefile.in (mac-fix-env): Remove. | |
1923 | ||
a7f2b0b1 AR |
1924 | 2006-06-06 David Reitter <david.reitter@gmail.com> |
1925 | ||
1926 | * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS. | |
1927 | ||
9dfda22f JB |
1928 | 2009-04-20 Juanma Barranquero <lekktu@gmail.com> |
1929 | ||
1930 | * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful | |
1931 | spacing is required in the message output, as the comment suggests). | |
1932 | ||
24d5010d CY |
1933 | 2009-04-20 Chong Yidong <cyd@stupidchicken.com> |
1934 | ||
1935 | * emacsclient.c (print_help_and_exit): Clarify argument placement | |
1936 | for short option names. | |
1937 | ||
6133a1a9 DN |
1938 | 2009-04-02 Dan Nicolaescu <dann@ics.uci.edu> |
1939 | ||
1940 | * emacsclient.c (print_help_and_exit): Fix typo. | |
1941 | ||
22749e9a EZ |
1942 | 2009-03-21 Eli Zaretskii <eliz@gnu.org> |
1943 | ||
1944 | * ntlib.c (setuid): Argument is now unsigned. | |
1945 | (getuid): Return value is now unsigned. | |
1946 | (getpwuid): Argument is now unsigned. | |
1947 | (fchown): UID and GID arguments are now unsigned. | |
1948 | ||
1949 | * ntlib.h (fchown): UID and GID arguments are now unsigned. | |
1950 | (getuid): Return value is now unsigned. | |
1951 | (setuid): Argument is now unsigned. | |
1952 | (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h). | |
1953 | ||
b57ac69d | 1954 | 2009-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
6cde1b21 JB |
1955 | |
1956 | * emacsclient.c (main): Revert part of last change, so | |
1957 | drive-relative file names again work on Windows. | |
1958 | ||
ba528748 SM |
1959 | 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1960 | ||
1961 | * emacsclient.c (main): Always pass cwd via "-dir". Pass the file | |
1962 | names without prepending cwd to them, so Emacs uses its customary | |
1963 | rules to determine how to interpret the file name. | |
1964 | ||
f213f2c0 GM |
1965 | 2009-03-04 Glenn Morris <rgm@gnu.org> |
1966 | ||
1967 | * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message. | |
1968 | ||
8ee7d7be CY |
1969 | 2009-02-13 Sven Joachim <svenjoac@gmx.de> |
1970 | ||
1971 | * movemail.c: Include time.h unconditionally. | |
1972 | (main): Use time_t for time variables. | |
1973 | ||
d228a23c GM |
1974 | 2009-02-11 Glenn Morris <rgm@gnu.org> |
1975 | ||
1976 | * movemail.c (mbx_delimit_begin): Also write the current time. | |
1977 | ||
3f32be22 GM |
1978 | 2009-02-10 Glenn Morris <rgm@gnu.org> |
1979 | ||
1980 | * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather | |
1981 | than Babyl format. (Bug#2196) | |
1982 | ||
e7534fc4 AR |
1983 | 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com> |
1984 | ||
1985 | * emacsclient.c (decode_options): Use a dummy display name under | |
1986 | NS/Cocoa. | |
1987 | ||
9eb67dd9 CY |
1988 | 2009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change) |
1989 | ||
1990 | * ebrowse.c (matching_regexp): Fix OB1 error. | |
1991 | ||
b433a991 GM |
1992 | 2009-01-05 Glenn Morris <rgm@gnu.org> |
1993 | ||
1994 | * ebrowse.c (version): | |
1995 | * etags.c (print_version): | |
1996 | * rcs2log (Copyright): Update copyright for 2009. | |
1997 | ||
81f82586 CY |
1998 | 2009-01-01 Chong Yidong <cyd@stupidchicken.com> |
1999 | ||
2000 | * movemail.c (main): Fatal if hard links cannot be created. | |
2001 | ||
fd95644b DN |
2002 | 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
2003 | ||
2004 | * emacsclient.c (start_daemon_and_retry_set_socket): Improve error | |
2005 | checking. | |
2006 | ||
67c1df01 DN |
2007 | 2008-12-14 Dan Nicolaescu <dann@ics.uci.edu> |
2008 | ||
2009 | * emacsclient.c: Include syswait.h instead of sys/types.h. | |
2010 | ||
f0131492 | 2011 | 2008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change) |
5445ab06 | 2012 | |
d4835507 JB |
2013 | * emacsclient.c (WCONTINUED): New compatibility define |
2014 | for older systems. | |
5445ab06 | 2015 | |
d50299d5 DN |
2016 | 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu> |
2017 | ||
2018 | * emacsclient.c (main): Fix previous change. | |
2019 | ||
52016647 JB |
2020 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> |
2021 | ||
2022 | * emacsclient.c (main): Fix mindless breakage where emacsclient | |
2023 | does not work *at all* on Windows, even if it *can* connect. | |
2024 | ||
802bdb3c DN |
2025 | 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu> |
2026 | ||
2027 | * emacsclient.c (EMACS_DAEMON): Remove definition. | |
2028 | (decode_options): Do not allow an empty alternate_editor on | |
2029 | WINDOWSNT. | |
2030 | (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT. | |
2031 | (start_daemon_and_retry_set_socket): Likewise. | |
45ce4570 | 2032 | (main): Fail in case of not being able to connect. |
802bdb3c | 2033 | |
c3f995a2 JB |
2034 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> |
2035 | ||
2036 | * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define. | |
2037 | Changes when EMACS_DAEMON is not defined: | |
2038 | (print_help_and_exit): Don't add daemon information to help. | |
2039 | (start_daemon_and_retry_set_socket): Make a no-op. | |
2040 | (main): Don't set `start_daemon_if_needed' (which is initialized to 0). | |
2041 | ||
636b507b DN |
2042 | 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu> |
2043 | ||
2044 | * emacsclient.c (print_help_and_exit): Describe what an empty | |
2045 | string argument does for --alternate-editor. | |
2046 | (set_socket): Make it possible to not exit in case of an error. | |
2047 | (start_daemon_and_retry_set_socket): New function. | |
2048 | (main): Use it. Restore the NULL value for socket_name and | |
2049 | server_file after the set_socket call. | |
2050 | ||
448d4085 DN |
2051 | 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu> |
2052 | ||
7b641241 | 2053 | * emacsclient.c: Include <arpa/inet.h>. |
448d4085 | 2054 | |
938ebc4f DN |
2055 | 2008-12-01 Dan Nicolaescu <dann@ics.uci.edu> |
2056 | ||
2057 | * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc. | |
2058 | ||
3d864325 GM |
2059 | 2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change) |
2060 | ||
2061 | * etags.c (add_regex): Pass correct length to re_compile_pattern. | |
2062 | ||
48c2dc68 CY |
2063 | 2008-11-02 Chong Yidong <cyd@stupidchicken.com> |
2064 | ||
2065 | * emacsclient.c (window_system): Delete redundant variable. | |
2066 | (decode_options): Don't use it. | |
2067 | (find_tty): New function. | |
2068 | (main): Use find_tty, and don't use window_system. | |
2069 | ||
d41784ee EZ |
2070 | 2008-11-01 Eli Zaretskii <eliz@gnu.org> |
2071 | ||
2072 | * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to | |
2073 | `ttyname'. | |
2074 | (w32_getenv): Treat $TERM specially: if not found in the | |
2075 | environment and in the Registry, return "w32console". | |
2076 | (ttyname) [WINDOWSNT]: New function. | |
2077 | ||
322ca650 AS |
2078 | 2008-10-31 Andreas Schwab <schwab@suse.de> |
2079 | ||
2080 | * emacsclient.c (main): Don't force sending tty when in eval mode. | |
2081 | ||
8a8a7cd3 CY |
2082 | 2008-10-30 Chong Yidong <cyd@stupidchicken.com> |
2083 | ||
2084 | * emacsclient.c (main): If using the current frame, send tty | |
2085 | information to Emacs in case daemon mode needs to occupy this tty. | |
2086 | ||
f8baa639 JB |
2087 | 2008-10-29 Juanma Barranquero <lekktu@gmail.com> |
2088 | ||
bc558f3e JB |
2089 | * emacsclient.c (EXTRA_SPACE): New macro. |
2090 | (get_server_config, set_local_socket): Use it. | |
2091 | ||
f8baa639 JB |
2092 | * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash. |
2093 | Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>. | |
2094 | ||
f77b11a0 JB |
2095 | 2008-10-29 Ulrich Mueller <ulm@gentoo.org> |
2096 | ||
2097 | * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp) | |
2098 | instead of hardcoded /tmp. | |
2099 | ||
dc1cd5f7 DN |
2100 | 2008-10-13 Dan Nicolaescu <dann@ics.uci.edu> |
2101 | ||
2102 | * emacsclient.c (longopts, print_help_and_exit): Add -nw. | |
2103 | (decode_options): Use getopt_long_only. | |
2104 | ||
7a09249b EZ |
2105 | 2008-09-30 Eli Zaretskii <eliz@gnu.org> |
2106 | ||
2107 | * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and | |
2108 | codepage.elc. | |
2109 | ||
997ec957 CY |
2110 | 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu> |
2111 | ||
2112 | * emacsclient.c (main): Use stdout rather than stdin to obtain the | |
2113 | terminal (bug#427). | |
2114 | ||
0d80bf29 FP |
2115 | 2008-08-25 Francesco Potortì <pot@gnu.org> |
2116 | ||
2117 | * etags.c (main): Do not use static space for the tagfile string. | |
2118 | ||
34a23e94 FP |
2119 | 2008-08-17 Francesco Potortì <pot@gnu.org> |
2120 | ||
2121 | * etags.c (main): Use canonicalize_filename on tags file name. | |
2122 | (relative_filename): Revert 3.85: do not collapse slashes here. | |
2123 | (absolute_dirname): Remove useless call to canonicalize_filename. | |
2124 | (canonicalize_filename): Collapse multiple slashes here. | |
2125 | ||
48fad8e8 DN |
2126 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> |
2127 | ||
10d1d0af JB |
2128 | * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES. |
2129 | Do not special case for NS_IMPL_COCOA. | |
48fad8e8 | 2130 | |
6088b51f | 2131 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
f4494e84 AR |
2132 | |
2133 | * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA. | |
2134 | (.m.o): Dispense with GNUstep-specific flags. | |
2135 | ||
39b8bb9b CY |
2136 | 2008-08-05 Ulrich Mueller <ulm@gentoo.org> |
2137 | ||
2138 | * pop.c (socket_connection): Add conditionals for | |
2139 | HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support | |
2140 | compilation with MIT Kerberos and Heimdal, respectively. | |
2141 | ||
7c2fb837 DN |
2142 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> |
2143 | ||
2144 | * etags.c: | |
2145 | * emacsclient.c: Remove VMS support. | |
2146 | ||
9e2a2647 DN |
2147 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> |
2148 | ||
2149 | Remove support for Mac Carbon. | |
2150 | * makefile.w32-in: | |
2151 | * emacsclient.c: Remove code for Carbon. | |
2152 | ||
7f619bab DN |
2153 | 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu> |
2154 | ||
2155 | * Makefile.in (mac-fix-env): Remove #ifdef around rule. | |
2156 | ||
32cc3925 AS |
2157 | 2008-07-17 Andreas Schwab <schwab@suse.de> |
2158 | ||
2159 | * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition. | |
2160 | (LIB_STANDARD_LIBSRC): Don't define. | |
2161 | (LOADLIBES): Remove LIB_STANDARD_LIBSRC. | |
2162 | ||
ba60bd44 | 2163 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> |
122e9f8f AR |
2164 | |
2165 | * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to | |
2166 | NS_IMPL_COCOA. | |
2167 | ||
50863f58 DN |
2168 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> |
2169 | ||
ba60bd44 JB |
2170 | * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw): |
2171 | Remove, unused. | |
50863f58 | 2172 | |
ba60bd44 | 2173 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> |
edfda783 AR |
2174 | |
2175 | * .cvsignore: Add mac-fix-env. | |
2176 | * mac-fix-env.m: New file, automatically update | |
2177 | ~/.MacOSX/environment.plist on OS X systems to expose environment | |
2178 | variables inside Emacs started from icon. | |
2179 | * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to | |
2180 | programs to build. | |
2181 | * make-docfile.c: Add .m to list of file extensions. | |
2182 | ||
bba104c1 DN |
2183 | 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu> |
2184 | ||
2185 | * movemail.c (main): Use int instead of WAITTYPE. | |
2186 | ||
da007124 JB |
2187 | 2008-07-05 Juanma Barranquero <lekktu@gmail.com> |
2188 | ||
2189 | * makefile.w32-in (OTHER_PLATFORM_SUPPORT): | |
2190 | Remove vmsproc.el and vms-patch.el. | |
2191 | ||
c9fc02c7 JB |
2192 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> |
2193 | ||
2194 | * makefile.w32-in (obj): Remove w32bdf.o. | |
2195 | ||
f2a77c3a DN |
2196 | 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> |
2197 | ||
2198 | * fakemail.c: Remove references to obsolete variables. | |
2199 | ||
c2cd06e6 JM |
2200 | 2008-06-02 Jim Meyering <meyering@redhat.com> |
2201 | ||
e914c409 | 2202 | * ebrowse.c (xfree): Remove definition; s/xfree/free/. |
5c19cd0b | 2203 | |
e914c409 | 2204 | Remove useless if-before-free tests. |
70fdbb46 JM |
2205 | * ebrowse.c (xfree): Likewise. |
2206 | * etags.c (process_file_name, free_tree, free_fdesc): Likewise. | |
c2cd06e6 | 2207 | (popclass_above, Prolog_functions, Erlang_functions): Likewise. |
70fdbb46 | 2208 | * pop.c (pop_quit): Likewise. |
c2cd06e6 | 2209 | |
01b996ad JB |
2210 | 2008-05-30 Juanma Barranquero <lekktu@gmail.com> |
2211 | ||
2212 | * makefile.w32-in (lisp2): Add minibuffer.elc. | |
2213 | ||
2926947a SM |
2214 | 2008-05-29 Tom Tromey <tromey@redhat.com> |
2215 | ||
2216 | * etags.c (relative_filename): Treat "///" like "/" in filenames. | |
2217 | ||
10fea9c4 EZ |
2218 | 2008-05-09 Eli Zaretskii <eliz@gnu.org> |
2219 | ||
2220 | * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h. | |
2221 | (IS_DIRECTORY_SEP): New macro. | |
2222 | (convert_time, is_exec, stat): New functions. | |
2223 | ||
86914123 EZ |
2224 | 2008-05-08 Eli Zaretskii <eliz@gnu.org> |
2225 | ||
2226 | * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc. | |
2227 | ||
58bb7d50 EZ |
2228 | 2008-05-03 Eli Zaretskii <eliz@gnu.org> |
2229 | ||
2230 | * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the | |
2231 | corresponding change in src/Makefile.in. | |
2232 | ||
63b9b605 GM |
2233 | 2008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change) |
2234 | ||
2235 | * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo. | |
2236 | ||
4429f88c JR |
2237 | 2008-04-10 Jason Rumney <jasonr@gnu.org> |
2238 | ||
2239 | * makefile.w32-in (CLIENTRES): New variable and target. | |
2240 | (TRES): Remove. | |
2241 | ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES). | |
2242 | ||
14b11401 SM |
2243 | 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca> |
2244 | ||
2245 | * vcdiff: Use "sccs get" rather than "get"; leave PATH alone. | |
2246 | ||
95de358c RF |
2247 | 2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change) |
2248 | ||
2249 | * vcdiff: Use mktemp (CVE-2008-1694). | |
2250 | ||
6948400c JR |
2251 | 2008-04-09 Jason Rumney <jasonr@gnu.org> |
2252 | ||
2253 | * makefile.w32-in (distclean, maintainer-clean): New targets. | |
2254 | ||
afd27920 GM |
2255 | 2008-03-13 Glenn Morris <rgm@gnu.org> |
2256 | ||
2257 | * makefile.w32-in (VERSION): Set to 23.0.60. | |
2258 | ||
3d193d0f JB |
2259 | 2008-03-04 Juanma Barranquero <lekktu@gmail.com> |
2260 | ||
2261 | * .cvsignore: Add oo. | |
2262 | ||
1797886f SM |
2263 | 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change) |
2264 | ||
2265 | * etags.c (Perl_functions): Fix call to skip_spaces. | |
2266 | ||
9d2818d6 DN |
2267 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> |
2268 | ||
2269 | * Makefile.in (NO_SHORTNAMES): | |
2270 | * emacsclient.c (NO_SHORTNAMES): | |
2271 | * fakemail.c (NO_SHORTNAMES): | |
2272 | * make-docfile.c (NO_SHORTNAMES): | |
2273 | * movemail.c (NO_SHORTNAMES): | |
2274 | * pop.c (NO_SHORTNAMES): Remove references to obsolete variable. | |
2275 | ||
79d48c1a JR |
2276 | 2008-02-23 Jason Rumney <jasonr@gnu.org> |
2277 | ||
2278 | * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc. | |
2279 | (MSDOS_SUPPORT, VMS_SUPPORT): Remove. | |
290afd83 | 2280 | (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too. |
79d48c1a JR |
2281 | (lisp2): Add new languages. |
2282 | ($(DOC)): Use OTHER_PLATFORM_SUPPORT. | |
2283 | ||
9c61c734 JB |
2284 | 2008-02-22 Juanma Barranquero <lekktu@gmail.com> |
2285 | ||
2286 | * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el, | |
2287 | malayalam.el, and tamil.el. Add sinhala.el. | |
2288 | ||
50f271cb JB |
2289 | 2008-02-20 Juanma Barranquero <lekktu@gmail.com> |
2290 | ||
2291 | * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME, | |
2292 | where NAME is relative to DRIVE'S current directory. | |
2293 | ||
d07529f3 JB |
2294 | 2008-02-15 Juanma Barranquero <lekktu@gmail.com> |
2295 | ||
2296 | * emacsclient.c (print_help_and_exit): Show -d option on Windows. | |
2297 | ||
45c1955d DN |
2298 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> |
2299 | ||
2300 | * fakemail.c: Undo previous change. | |
2301 | ||
deeaffe1 DN |
2302 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
2303 | ||
4624371d DN |
2304 | * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. |
2305 | (main): Replace MAIL_PROGRAM_NAME with its value. | |
2306 | ||
d07529f3 | 2307 | * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable. |
deeaffe1 | 2308 | |
9997dc15 SM |
2309 | 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
2310 | ||
2311 | * emacsclient.c (decode_options): Pass --display implicitly if -c | |
2312 | is specified. Only set tty if -t or -c is specified. | |
2313 | ||
0c55bf82 JR |
2314 | 2008-02-04 Jason Rumney <jasonr@gnu.org> |
2315 | ||
2316 | * makefile.w32-in (lisp1): Use (), not {}. | |
2317 | ||
31cdf671 CY |
2318 | 2008-02-04 Tom Tromey <tromey@redhat.com> |
2319 | ||
d07529f3 JB |
2320 | * etags.c: Add "GTY" as synonym for __attribute__. |
2321 | Update gperf output. | |
31cdf671 | 2322 | |
9303f985 | 2323 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
aca7a3d2 | 2324 | |
c4cc8b9a | 2325 | * makefile.w32-in (obj): Sync with src/Makefile.in. |
aca7a3d2 MB |
2326 | (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions. |
2327 | (WINNT_SUPPORT): Add term/w32-win.elc. | |
2328 | (lisp1, lisp2): Sync with lisp in src/Makefile.in. | |
2329 | ||
9303f985 | 2330 | 2008-02-01 Jason Rumney <jasonr@gnu.org> |
aca7a3d2 | 2331 | |
d07529f3 | 2332 | * makefile.w32-in (obj): Add font.o and w32font.o. |
aca7a3d2 | 2333 | |
d07529f3 | 2334 | 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change) |
aca7a3d2 | 2335 | |
290afd83 | 2336 | * makefile.w32-in (lisp1): Delete ucs-tables.elc, |
aca7a3d2 MB |
2337 | utf-8.elc, and latin-*.el. |
2338 | ||
0ea5797a SM |
2339 | 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca> |
2340 | ||
bcc891c2 | 2341 | * emacsclient.c (decode_options): Default to NULL display, as Emacs-22. |
0ea5797a SM |
2342 | Allow the -d option under w32 again, for those rare cases where it |
2343 | actually does make sense. | |
2344 | ||
5ab73228 JB |
2345 | 2008-01-25 Juanma Barranquero <lekktu@gmail.com> |
2346 | ||
2347 | * emacsclient.c (set_tcp_socket): Don't send "\n" after | |
2348 | the authentication string; there's no need to haste. | |
2349 | ||
702123a8 CY |
2350 | 2008-01-22 Chong Yidong <cyd@stupidchicken.com> |
2351 | ||
2352 | * pop.c (pop_stat, pop_last): Fix last fix. | |
2353 | ||
76ed5e01 DN |
2354 | 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu> |
2355 | ||
2356 | * movemail.c: Remove references to XENIX. | |
2357 | ||
e39a993c DN |
2358 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> |
2359 | ||
2360 | * movemail.c: | |
2361 | * make-docfile.c: Remove reference to symbols defined by systems | |
2362 | not supported anymore: MAC_OS8, XENIX and STRIDE. | |
2363 | ||
0ebec7d3 EZ |
2364 | 2008-01-12 Eli Zaretskii <eliz@gnu.org> |
2365 | ||
2366 | * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value | |
2367 | of DISPLAY in the environment. Don't support -d. | |
2368 | (print_help_and_exit) [WINDOWSNT]: Don't show the --display option. | |
2369 | (longopts) [WINDOWSNT]: Remove --display. | |
2370 | ||
6eae3ad4 CY |
2371 | 2008-01-10 Chong Yidong <cyd@stupidchicken.com> |
2372 | ||
2373 | * pop.c (pop_stat, pop_last): Check validity of string-to-integer | |
2374 | conversion. Mistakes spotted by Nico Golde. | |
2375 | ||
78da39c6 GM |
2376 | 2008-01-09 Glenn Morris <rgm@gnu.org> |
2377 | ||
2378 | * emacsclient.c: Add missing final newlines to message calls. | |
2379 | ||
34a14ec9 | 2380 | 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change) |
78da39c6 GM |
2381 | |
2382 | * emacsclient.c (set_socket): Add final newline to socket error message. | |
2383 | ||
a408ea17 GM |
2384 | 2008-01-04 Glenn Morris <rgm@gnu.org> |
2385 | ||
07655e62 JB |
2386 | * ebrowse.c (version) <emacs_copyright>: New variable. |
2387 | Just use current year for copyright. | |
a408ea17 GM |
2388 | |
2389 | * etags.c (print_version): | |
2390 | * rcs2log (Copyright): Update to 2008. | |
2391 | ||
0dc7a8bc JR |
2392 | 2007-11-28 Jason Rumney <jasonr@gnu.org> |
2393 | ||
2394 | * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled. | |
2395 | ||
880820fe | 2396 | 2007-11-27 Jan Djärv <jan.h.d@swipnet.se> |
7291159e JD |
2397 | |
2398 | * pop.c (socket_connection): Remove AI_ADDRCONFIG. | |
2399 | ||
880820fe | 2400 | 2007-11-19 Jan Djärv <jan.h.d@swipnet.se> |
ee15f312 JD |
2401 | |
2402 | * pop.c (socket_connection): Move realhost out of #ifdefs. | |
2403 | Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO. | |
2404 | ||
880820fe | 2405 | 2007-11-18 Jan Djärv <jan.h.d@swipnet.se> |
33a2a872 JD |
2406 | |
2407 | * pop.c (socket_connection): Use getaddrinfo if available. | |
2408 | ||
880820fe | 2409 | 2007-11-22 Francesco Potortì <pot@gnu.org> |
63f018cd | 2410 | |
65841dd8 | 2411 | * etags.c (default_C_help) [CTAGS]: Differentiate the help string, |
63f018cd | 2412 | as the defaults in ctags are different from etags. |
63f018cd | 2413 | |
880820fe | 2414 | 2007-11-15 Francesco Potortì <pot@gnu.org> |
21e14641 FP |
2415 | |
2416 | * etags.c: Make prototypes for extern definitions, and add all | |
2417 | that are needed to quench warnings on 64-bit. | |
2418 | (main): Use the same defaults for ctags as for etags: find | |
2419 | typedefs, structure tags, macro constants, enum constants, struct | |
2420 | members and global variables. | |
2421 | (make_C_tag) [DEBUG]: Add debugging printout. | |
2422 | (C_entries): In case '}' decrement bracelev before testing it. | |
2423 | ||
7455effc FP |
2424 | 2007-11-15 Masatake YAMATO <jet@gyve.org> |
2425 | ||
2426 | * etags.c (C_entries): In case '}', set fvdef to fvnone | |
2427 | unconditioned to (!ignoreindent && lp == newlb.buffer + 1). | |
2428 | ||
04a697fe DN |
2429 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> |
2430 | ||
2431 | * makefile.w32-in (obj): Remove sunfns.o. | |
2432 | ||
a2666217 JB |
2433 | 2007-10-28 Juanma Barranquero <lekktu@gmail.com> |
2434 | ||
2435 | * makefile.w32-in (obj): Remove abbrev.o. | |
2436 | ||
7ce8671d JB |
2437 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> |
2438 | ||
2439 | * emacsclient.c: Add a wrapper for getenv so it also checks the | |
2440 | registry on Windows. Suggestion and algorithm by Eli Zaretskii. | |
2441 | Code partially based on w32_get_resource and init_environment (w32.c). | |
2442 | (egetenv): New wrapper for getenv. | |
2443 | (get_current_dir_name, decode_options, get_server_config) | |
2444 | (set_local_socket, set_socket, main): Use egetenv, not getenv. | |
2445 | (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions. | |
2446 | ||
d22b00e5 JR |
2447 | 2007-10-25 Jason Rumney <jasonr@gnu.org> |
2448 | ||
2449 | * emacsclient.c (sock_err_message): New function. | |
2450 | (set_tcp_socket): Use it. | |
2451 | ||
c4b858e3 JB |
2452 | 2007-10-09 Juanma Barranquero <lekktu@gmail.com> |
2453 | ||
2454 | * emacsclient.c (print_help_and_exit): Fix space to improve | |
2455 | alignment in output messages. | |
2456 | ||
dbf60b07 JR |
2457 | 2007-09-27 Jason Rumney <jasonr@gnu.org> |
2458 | ||
2459 | * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32. | |
2460 | ||
2461 | * emacsclient.c (w32_window_app): Init common controls when windowed. | |
2462 | ||
165e85b2 GM |
2463 | 2007-09-21 Glenn Morris <rgm@gnu.org> |
2464 | ||
2465 | * emacstool.c: Remove file. | |
2466 | * Makefile.in (emacstool, nemacstool, xvetool, xveterm): | |
2467 | Delete targets built from emacstool. | |
2468 | ||
c1b8e896 SM |
2469 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
2470 | ||
2471 | * emacsclient.c (decode_options): -t implies -c. | |
2472 | ||
cb06b8dc SM |
2473 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
2474 | ||
2475 | * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP) | |
2476 | (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME). | |
2477 | (main_argc): Remove. | |
2478 | (strprefix): Use strncmp. | |
2479 | ||
c801ad51 JR |
2480 | 2007-09-20 Jason Rumney <jasonr@gnu.org> |
2481 | ||
2482 | * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT. | |
2483 | ||
31fa6595 SM |
2484 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
2485 | ||
2486 | * emacsclient.c (current_frame): Change the default. | |
2487 | (longopts): Replace --current-frame by --create-frame. | |
2488 | (decode_options): Reverse the meaning of -c. | |
2489 | (print_help_and_exit): Update help text accordingly. | |
2490 | (main): Remove the -version and -good-version messages. | |
2491 | ||
58573230 GM |
2492 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
2493 | ||
2494 | * Makefile.in (SOURCES, unlock, relock): Delete. | |
2495 | ||
bfd9ce71 GM |
2496 | 2007-08-29 Glenn Morris <rgm@gnu.org> |
2497 | ||
2498 | * makefile.w32-in (VERSION): Increase to 23.0.50. | |
2499 | ||
8d9cc0b7 MB |
2500 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
2501 | ||
2502 | * emacsclient.c (w32_execvp): Move definition before use. | |
2503 | (decode_options): Don't use a tty on mac carbon or windows. | |
2504 | ||
2505 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | |
2506 | ||
31fa6595 | 2507 | * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros. |
35e951cd | 2508 | (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp) |
8d9cc0b7 MB |
2509 | (main): Expand removed macros inline. |
2510 | (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend | |
2511 | option. | |
2512 | (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals. | |
2513 | ||
880820fe | 2514 | 2007-08-29 Károly Lőrentey <lorentey@elte.hu> |
8d9cc0b7 MB |
2515 | |
2516 | * emacsclient.c (signal.h): New include. | |
2517 | (sys/stat.h, errno.h): Always include, even on WINDOWSNT. | |
31fa6595 SM |
2518 | (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): |
2519 | Copy definitions here from src/lisp.h. | |
2520 | (main_argc, main_argv, current_frame, window_system, tty): New vars. | |
8d9cc0b7 MB |
2521 | (longopts): Add tty, current-frame. |
2522 | (xmalloc, xstrdup): New functions. | |
2523 | (get_current_dir_name): New function, copied from src/sysdep.c. | |
2524 | (decode_options): Set display from environment. Add tty and | |
2525 | current_frame options. Make --no-wait imply --current-frame, | |
2526 | except when it is the only option given. Make sure no frame is | |
2527 | opened when --current-frame is set. | |
2528 | (print_help_and_exit): Document tty and current-frame options. | |
2529 | (fail): Change arguments to void. | |
2530 | (main): When sockets are not defined, set main_argc, main_argv, | |
2531 | and call fail() with no arguments. | |
2532 | (emacs_socket): New variable (moved out from main `s'). | |
2533 | (quote_file_name): Rename to quote_argument. | |
2534 | (quote_argument): New name for old quote_file_name. | |
2535 | (unquote_argument, strprefix, pass_signal_to_emacs) | |
2536 | (handle_sigcont, handle_sigtstp, init_signals): New functions. | |
2537 | (set_local_socket): Initialize saved_errno to 0. If socket-name | |
2538 | is too long, call `fail' rather than `exit'. | |
2539 | (main): Doc update. Set main_argc, main_argv. New var `str'. | |
2540 | Don't need a filename or argument if tty or window_system set. | |
2541 | Call fail with no arguments. Use get_current_dir_name to send | |
2542 | over the current directory. Send version number to Emacs for | |
2543 | verification. If tty is set, check TERM, and pass name and type | |
2544 | to Emacs. Pass window_system to Emacs. Move sending of eval to | |
2545 | optind loop. Send -position, -file to Emacs. Call fsync after | |
31fa6595 SM |
2546 | fflush. Check for a client/server version match. |
2547 | Handle -emacs-pid, -window-system-unsupported, -print, -error, and | |
2548 | -suspend commands. Don't exit prematurely on --no-wait, let Emacs | |
2549 | close the connection for us. When creating a new frame, send | |
8d9cc0b7 MB |
2550 | environment and pwd to Emacs. Send current-frame to Emacs. |
2551 | ||
ca4ea90f EZ |
2552 | 2007-08-25 Eli Zaretskii <eliz@gnu.org> |
2553 | ||
2554 | * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff): | |
2555 | Prepend "-" to the command, in case srcdir=. and file is copied | |
2556 | into itself. | |
2557 | ||
cacc7b51 GM |
2558 | 2007-07-25 Glenn Morris <rgm@gnu.org> |
2559 | ||
2560 | * Relicense all FSF files to GPLv3 or later. | |
2561 | ||
2562 | * COPYING: Switch to GPLv3. | |
2563 | ||
880820fe | 2564 | 2007-07-17 Francesco Potortì <pot@gnu.org> |
180f5b99 FP |
2565 | |
2566 | * etags.c (C_entries): Reset the fvdef machine when out of function. | |
21b2cdc7 FP |
2567 | (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined. |
2568 | (print_help): Use it in if() rather than #if. | |
2569 | (print_help): Conditionally print help about --no-line-directive. | |
180f5b99 | 2570 | |
9724908a EZ |
2571 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> |
2572 | ||
2573 | * makefile.w32-in (clean): Don't delete *~. | |
2574 | ||
5cf9ca93 GM |
2575 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
2576 | ||
2577 | * etags.c (print_version): Add `emacs_copyright' string, for | |
2578 | easier automatic updating. | |
2579 | ||
880820fe | 2580 | 2007-05-18 Francesco Potortì <pot@gnu.org> |
cabfc1bc FP |
2581 | |
2582 | * etags.c: Extern definitions of some more pointer functions for | |
2583 | standalone compilation, especially important for 64bit platforms. | |
2584 | (main, print_help): --members is now the default for etags. | |
2585 | (C_entries): Parse start of C comment as a space == end of token. | |
2586 | This is not necessary for C++ comment, already parsed as newline. | |
2587 | ||
07016031 GM |
2588 | 2007-04-26 Glenn Morris <rgm@gnu.org> |
2589 | ||
2590 | * makefile.w32-in (VERSION): Increase to 22.1.50. | |
2591 | ||
7dfc4cda CY |
2592 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
2593 | ||
2594 | * Version 22.1 released. | |
2595 | ||
880820fe | 2596 | 2007-02-26 Francesco Potortì <pot@gnu.org> |
11d2d983 | 2597 | |
d620ddb3 | 2598 | * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs". |
11d2d983 | 2599 | |
0971f887 GM |
2600 | 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change) |
2601 | ||
2602 | * Makefile.in (EMACS, EMACSOPT): New variables. | |
2603 | (blessmail): Use `--no-site-file' when compiling. | |
2604 | ||
880820fe | 2605 | 2007-02-05 Francesco Potortì <pot@gnu.org> |
933ccc8c FP |
2606 | |
2607 | * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help) | |
2608 | (main): Now --members is the default for etags, not for ctags yet. | |
2609 | ||
d881944f | 2610 | 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change) |
953dea63 | 2611 | |
47dad44f | 2612 | * etags.c (gperf, in_word_set): Change attribute for Java to |
953dea63 FP |
2613 | (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was |
2614 | broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused | |
2615 | import, package, extends, implements and interface to be treated | |
2616 | specially for all kinds of C-style files, not just Java files. | |
2617 | ||
880820fe | 2618 | 2007-01-02 Francesco Potortì <pot@gnu.org> |
ed8bbc0e | 2619 | |
47dad44f | 2620 | * etags.c (longopts): New undocumented option --no-duplicates. |
ed8bbc0e FP |
2621 | (no_duplicates): Static variables for the above option. |
2622 | (print_help): Do not print help for --no-warn, now undocumented. | |
2623 | (add_node): Allow duplicate tags in ctags mode unless --no-duplicates. | |
56c0d866 | 2624 | (main): Pass the -u option to sort in ctags mode. |
ed8bbc0e | 2625 | |
880820fe | 2626 | 2006-12-28 Francesco Potortì <pot@gnu.org> |
18f9bf25 FP |
2627 | |
2628 | * etags.c (readline): When creating a relative file name from a | |
2629 | #line directive, leave the file name alone. The previous | |
a7c29764 | 2630 | behavior was to make it relative to the tags file directory, |
18f9bf25 FP |
2631 | under the hypothesis that the #line directive file name was |
2632 | relative to the directory of the tagged file. That hypothesis is | |
2633 | wrong with Cpp and Lex. | |
17d5f8a6 | 2634 | (Makefile_targets): Do not include spaces in tag names. |
18f9bf25 | 2635 | |
5e059fc1 EZ |
2636 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
2637 | ||
2638 | * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl) | |
2639 | (movemail, fakemail, sorted-doc, digest-doc, emacsclient) | |
47dad44f | 2640 | (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD). |
5e059fc1 EZ |
2641 | ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O)) |
2642 | ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O)) | |
2643 | ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS)) | |
2644 | ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O)) | |
2645 | ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD. | |
6808dce1 | 2646 | (clean): Delete stamp_BLD. |
5e059fc1 | 2647 | |
880820fe | 2648 | 2006-12-20 Francesco Potortì <pot@gnu.org> |
bd3b41c6 FP |
2649 | |
2650 | * etags.c (C_entries): DEFUN names were longer by one: corrected. | |
2651 | ||
0e0dced5 JB |
2652 | 2006-12-18 Juanma Barranquero <lekktu@gmail.com> |
2653 | ||
2654 | * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables. | |
2655 | [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions. | |
2656 | (main) [WINDOWSNT]: Remove code to release the focus; call | |
2657 | w32_give_focus instead. | |
2658 | ||
4472aef4 JB |
2659 | 2006-12-15 Juanma Barranquero <lekktu@gmail.com> |
2660 | ||
2661 | * emacsclient.c (w32_execvp): New function; wrapper for `execvp'. | |
2662 | (execvp) [WINDOWSNT]: Redefine to `w32_execvp'. | |
2663 | (fail): Remove Windows-specific fix (subsumed into w32_execvp). | |
2664 | Suggestions and comment by Eli Zaretskii. | |
2665 | ||
12f7728e | 2666 | 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de> |
c388769e JB |
2667 | |
2668 | * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe): | |
2669 | Use $(USER32) for compatibility with Visual Studio .NET 2003. | |
2670 | ||
310afa17 JB |
2671 | 2006-11-30 Juanma Barranquero <lekktu@gmail.com> |
2672 | ||
2673 | * emacsclient.c (emacs_pid): New variable. | |
2674 | (message): Remove leftover code. | |
2675 | (get_server_config): Set emacs_pid. Don't allow Emacs to grab the | |
2676 | focus yet; emacsclient can still display an informational message | |
2677 | before sending requests to Emacs. | |
2678 | (main): Allow Emacs to grab the focus. Simplify message() call. | |
2679 | ||
2680 | 2006-11-30 Michael Mauger <mmaug@yahoo.com> | |
2681 | ||
2682 | * emacsclient.c (message): Make sure the message is properly | |
2683 | written even if it contains printf escapes, and flush the result. | |
2684 | (set_tcp_socket): Make the message for non-local connections | |
2685 | informational rather than an error. | |
2686 | ||
8c57275b | 2687 | 2006-11-28 Kevin Ryde <user42@zip.com.au> |
9b492fad FP |
2688 | |
2689 | * etags.c (readline): Check for double quote after #line. | |
2690 | ||
880820fe | 2691 | 2006-11-28 Jan Djärv <jan.h.d@swipnet.se> |
9b492fad FP |
2692 | |
2693 | * etags.c (readline): sscanf could in principle return 2. | |
2694 | ||
880820fe | 2695 | 2006-11-28 Francesco Potortì <pot@gnu.org> |
9b492fad FP |
2696 | |
2697 | * etags.c (readline): lno is unsigned. | |
2698 | (TeX_commands): Use p++ (rather than *p++) to increment p. | |
2699 | (Lua_functions): Explicitly discard LOOKING_AT's return value. | |
2700 | ||
4d91c8f9 JB |
2701 | 2006-11-27 Juanma Barranquero <lekktu@gmail.com> |
2702 | ||
2703 | * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in). | |
2704 | ($(TRES)): New rule (copied from nt/makefile.w32-in). | |
2705 | ($(BLD)/emacsclientw.exe): Add dependency. | |
2706 | ||
340d34a5 EZ |
2707 | 2006-11-27 Eli Zaretskii <eliz@gnu.org> |
2708 | ||
d620ddb3 | 2709 | * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in. |
340d34a5 | 2710 | |
7dce1990 JB |
2711 | 2006-11-25 Juanma Barranquero <lekktu@gmail.com> |
2712 | ||
2713 | * makefile.w32-in (VERSION): New macro. | |
2714 | (ECLIENT_CFLAGS): Add -DVERSION. | |
2715 | ||
410797a5 | 2716 | 2006-11-25 Jason Rumney <jasonr@gnu.org> |
402767e4 JR |
2717 | |
2718 | * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha(). | |
2719 | ||
410797a5 | 2720 | 2006-11-24 Michael Mauger <mmaug@yahoo.com> |
cb0297bb | 2721 | |
4472aef4 JB |
2722 | * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute |
2723 | file names with forward slashes. | |
cb0297bb | 2724 | |
30aa95ce JB |
2725 | 2006-11-23 Juanma Barranquero <lekktu@gmail.com> |
2726 | ||
2727 | * emacsclient.c (print_help_and_exit): Tweak message contents and | |
2728 | tabs/spaces to improve alignment in message boxes. | |
2729 | ||
42073bfb JB |
2730 | 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se> |
2731 | ||
2732 | * emacsclient.c: Include <stdarg.h>. | |
2733 | [WINDOWSNT]: Include <windows.h>. | |
2734 | (w32_check_console_app): New function. | |
2735 | (message): New function. | |
2736 | (decode_options, print_help_and_exit, fail, main) | |
2737 | (initialize_sockets, get_server_config, set_tcp_socket) | |
2738 | (set_local_socket, set_socket): Use message(). | |
2739 | ||
32dd9283 | 2740 | 2006-11-13 Jason Rumney <jasonr@gnu.org> |
1ac3c910 | 2741 | |
32dd9283 JR |
2742 | * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and |
2743 | HAVE_INET_SOCKETS. | |
2744 | ||
1bbea9fc JB |
2745 | 2006-11-13 Juanma Barranquero <lekktu@gmail.com> |
2746 | ||
2747 | * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe. | |
2748 | ($(BLD)/emacsclientw.exe): New target. | |
2749 | (install): Install emacsclientw.exe. | |
2750 | ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets. | |
2751 | (ECLIENT_CFLAGS): Remove redundant flags. | |
2752 | ||
2753 | * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H. | |
2754 | ||
a48db427 JR |
2755 | 2006-11-13 Jason Rumney <jasonr@gnu.org> |
2756 | ||
2757 | * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS. | |
2758 | ||
21f89bb7 | 2759 | 2006-11-10 David Reitter <david.reitter@gmail.com> |
ed4a3730 JB |
2760 | |
2761 | * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>. | |
2762 | ||
d5abc12c JB |
2763 | 2006-11-08 Juanma Barranquero <lekktu@gmail.com> |
2764 | ||
ed4a3730 JB |
2765 | * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as |
2766 | FARPROC to avoid a compiler warning. | |
d5abc12c | 2767 | |
18b8c421 JB |
2768 | 2006-11-07 Juanma Barranquero <lekktu@gmail.com> |
2769 | ||
88b46d84 JB |
2770 | * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server |
2771 | file on APPDATA if it doesn't exist on HOME, even if HOME is defined. | |
2772 | ||
18b8c421 JB |
2773 | * emacsclient.c (get_server_config): Extract also the Emacs pid |
2774 | from the server file. On Windows, try to force the Emacs frame to | |
2775 | the foreground. | |
2776 | ||
b03d27bd JB |
2777 | 2006-11-06 Juanma Barranquero <lekktu@gmail.com> |
2778 | ||
21f89bb7 | 2779 | * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show |
b03d27bd JB |
2780 | option --socket-name. |
2781 | (decode_options): Don't get EMACS_SERVER_FILE here, it could override | |
2782 | command line options. | |
21f89bb7 | 2783 | (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option. |
b03d27bd JB |
2784 | (fail): Don't check for missing arguments, it is now done in set_socket. |
2785 | (file_name_absolute_p): New function (loosely based on the one in | |
2786 | fileio.c). | |
2787 | (initialize_sockets): Don't check for duplicate loading of Winsock. | |
2788 | (get_server_config): Only try relative paths in the default | |
2789 | directory locations. | |
2790 | (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to | |
2791 | a remote server. | |
2792 | (set_socket): Call INITIALIZE(). Search explicit command-line | |
2793 | arguments, then environment variable EMACS_SERVER_FILE, then implicit | |
2794 | socket paths, before trying the alternate editor. | |
2795 | (main): Use file_name_absolute_p. | |
2796 | ||
b20d6154 EZ |
2797 | 2006-11-04 Eli Zaretskii <eliz@gnu.org> |
2798 | ||
2799 | * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary | |
2800 | file if it doesn't already exist. | |
2801 | ||
9c92edca JB |
2802 | 2006-11-03 Juanma Barranquero <lekktu@gmail.com> |
2803 | ||
2804 | * emacsclient.c (initialize_sockets): Don't initialize Winsock | |
2805 | more than once. | |
2806 | ||
b6ce9c46 JB |
2807 | 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz> |
2808 | ||
2809 | * Makefile.in (INSTALL_SCRIPT): New macro. | |
2810 | ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM. | |
2811 | ||
4418616b JB |
2812 | 2006-11-02 Juanma Barranquero <lekktu@gmail.com> |
2813 | ||
2814 | * grep-changelog: When called with no arguments (not even a | |
2815 | filter), show help instead of blindingly dumping every single | |
2816 | ChangeLog available. Doc fix. Update version. | |
2817 | ||
1e7823d0 JB |
2818 | 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change) |
2819 | ||
2820 | * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS. | |
2821 | [!WINDOWSNT]: Include <netinet/in.h> if available. | |
2822 | [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS. | |
2823 | (IOCTL, IOCTL_BOOL_ARG): Remove. | |
2824 | (set_tcp_socket): Don't set the socket in blocking mode. | |
2825 | Remove c_arg. | |
2826 | ||
ebc20ca0 JB |
2827 | 2006-11-01 Juanma Barranquero <lekktu@gmail.com> |
2828 | ||
2829 | * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to | |
2830 | execvp to point to alternate_editor (otherwise .BAT scripts can't run). | |
2831 | ||
880820fe | 2832 | 2006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change) |
411b80a5 JB |
2833 | |
2834 | * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>. | |
2835 | (close_winsock): Declare as __cdecl. | |
2836 | ||
880820fe | 2837 | 2006-10-31 Jan Djärv <jan.h.d@swipnet.se> |
95d0feaa JB |
2838 | |
2839 | * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available. | |
2840 | (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO | |
2841 | to set the socket in non-blocking mode. | |
2842 | ||
e35fc962 JB |
2843 | 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change) |
2844 | ||
d4fa60c8 | 2845 | * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>. |
e35fc962 JB |
2846 | (INVALID_SOCKET): Define. |
2847 | (initialize_sockets): Put #endif at the right place. | |
2848 | (set_local_socket): Use progname, not argv[0]. | |
2849 | ||
ecc54057 JB |
2850 | 2006-10-31 Juanma Barranquero <lekktu@gmail.com> |
2851 | ||
2852 | * makefile.w32-in (ALL): Add emacsclient. | |
2853 | (ECLIENT_CFLAGS, ECLIENTOBJS): New macros. | |
2854 | (emacsclient, $(BLD)/emacsclient.exe): New targets. | |
2855 | (install): Install emacsclient. | |
2856 | ||
2857 | * emacsclient.c: Add support for TCP sockets. | |
2858 | (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL) | |
2859 | (INITIALIZE): New macros. | |
2860 | (IOCTL_BOOL_ARG): New typedef. | |
2861 | (server_file): New global variable. | |
2862 | (longopts): New option --server-file. | |
2863 | (decode_options): Process new option --server-file and environment | |
2864 | variable EMACS_SERVER_FILE. | |
2865 | (print_help_and_exit): Document new option. | |
2866 | (fail): If no connection available and no alternate editor, | |
2867 | suggest using options to make them explicit. | |
2868 | (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants. | |
2869 | (send_buffer, sblen): New variables. | |
31fa6595 | 2870 | (send_to_emacs): New function to buffer output and send it with `send'. |
ecc54057 JB |
2871 | (quote_file_name): Use SEND_STRING. |
2872 | (close_winsock, initialize_sockets): New functions to load and | |
2873 | unload Winsock. | |
2874 | (get_server_config, set_tcp_socket): New functions to create and | |
2875 | set up TCP sockets. | |
2876 | (set_local_socket): New function to create and set up Unix | |
2877 | socket (code moved from previous implementation). | |
10d1d0af | 2878 | (set_socket): New function to choose between TCP and Unix sockets. |
ecc54057 JB |
2879 | (main): Use SEND_STRING and SEND_QUOTED. Most code moved to |
2880 | set_local_socket. Use set_socket. Get answers from server.el with | |
2881 | recv(), not file stream functions. | |
2882 | ||
70846e2a EZ |
2883 | 2006-10-09 Eli Zaretskii <eliz@gnu.org> |
2884 | ||
2885 | * makefile.w32-in (../src/config.h): Fix error message. | |
2886 | ||
e2247cd0 EZ |
2887 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> |
2888 | ||
2889 | * .cvsignore: Add blessmail. | |
2890 | ||
45a2056c JB |
2891 | 2006-09-15 Jay Belanger <belanger@truman.edu> |
2892 | ||
2893 | * COPYING: Replace "Library Public License" by "Lesser Public | |
2894 | License" throughout. | |
2895 | ||
880820fe | 2896 | 2006-08-09 Jan Djärv <jan.h.d@swipnet.se> |
1f4edc37 | 2897 | |
ecc54057 | 2898 | * etags.c (readline): Expect sscanf returns >= 1. |
ea90c5d3 | 2899 | (readline): Change position on %n and \" in sscanf. |
1f4edc37 | 2900 | |
1520a816 JD |
2901 | 2006-08-07 Masatake YAMATO <jet@gyve.org> |
2902 | ||
ecc54057 JB |
2903 | * etags.c (readline): Expect sscanf returns 2, not 1. |
2904 | ||
867cc23e JD |
2905 | 2006-08-07 Masatake YAMATO <jet@gyve.org> |
2906 | ||
9984b9d5 | 2907 | * etags.c (TEX_mode): Check getc returns EOF. |
867cc23e JD |
2908 | File ended without newline causes infinite loop. |
2909 | ||
6088b51f | 2910 | 2006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change) |
fc185ae6 | 2911 | |
ecc54057 | 2912 | * etags.c: It's XEmacs, not Xemacs: change all the occurrences. |
fc185ae6 | 2913 | |
880820fe | 2914 | 2006-07-30 Francesco Potortì <pot@gnu.org> |
fc185ae6 FP |
2915 | |
2916 | * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined. | |
2917 | [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined. | |
2918 | (Objc_suffixes): Suggest using --lang=c for full help. | |
e1dbe924 | 2919 | (C_entries): Initialize savetoken to 0 to shut up the compiler. |
fc185ae6 | 2920 | |
116e754b AS |
2921 | 2006-07-20 Andreas Schwab <schwab@suse.de> |
2922 | ||
2923 | * fakemail.c (fatal): Drop second parameter and treat first | |
2924 | parameter as a plain string. Callers changed. | |
2925 | ||
2381d38d DN |
2926 | 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu> |
2927 | ||
2928 | * ebrowse.c (usage, version): Mark as NO_RETURN. | |
2929 | ||
2930 | * emacsclient.c (print_help_and_exit): Likewise. | |
2931 | ||
880820fe | 2932 | 2006-07-10 Francesco Potortì <pot@gnu.org> |
327891eb FP |
2933 | |
2934 | * etags.c (absolute_filename): Free unused space (cosmetic change). | |
2935 | (in_word_set): In C, also tag #undef symbols. | |
2936 | ||
7cb93181 EZ |
2937 | 2006-06-09 Eli Zaretskii <eliz@gnu.org> |
2938 | ||
2939 | * yow.c: Remove file. | |
2940 | ||
2941 | * makefile.w32-in ($(BLD)/yow.$(O)): Remove target. | |
2942 | ||
2943 | * Makefile.in (UTILITIES): Remove yow${EXEEXT}. | |
2944 | yow${EXEEXT}: Remove target. | |
2945 | ||
0f29c66d MY |
2946 | 2006-06-04 Masatake YAMATO <jet@gyve.org> |
2947 | ||
63fbb644 | 2948 | * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file |
0f29c66d MY |
2949 | doesn't exist, is not seekable, not is failed in ftall. |
2950 | ||
a941b26b EZ |
2951 | 2006-06-03 Eli Zaretskii <eliz@gnu.org> |
2952 | ||
9781fb53 EZ |
2953 | * makefile.w32-in (ALL): Add sorted-doc and digest-doc. |
2954 | ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe) | |
2955 | ($(BLD)/test-distrib.exe): New targets. | |
2956 | (sorted-doc, digest-doc, test-distrib): New targets. | |
2957 | (install): Install sorted-doc.exe and digest-doc.exe. | |
2958 | ($(BLD)/sorted-doc.$(O)): Update dependencies. | |
2959 | ||
1b178b99 EZ |
2960 | * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h. |
2961 | (main) [DOS_NT]: Switch stdin to binary mode, if it is not a | |
2962 | terminal device. | |
2963 | ||
ae85efdb EZ |
2964 | * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h. |
2965 | [WINDOWSNT] <top level>: Don't redeclare malloc. | |
2966 | (main) [DOS_NT]: Switch stdin to binary mode, if it is not a | |
2967 | terminal device. | |
6088b51f | 2968 | (main): Initialize bp, to avoid compiler warnings. |
ae85efdb | 2969 | |
a941b26b EZ |
2970 | * makefile.w32-in: Delete traces of leditcfns.c. |
2971 | ||
2972 | * leditcfns.c: Remove file. | |
2973 | ||
880820fe | 2974 | 2006-05-23 Francesco Potortì <pot@gnu.org> |
8a6d5da7 | 2975 | |
31fa6595 SM |
2976 | * pop.c (pop_open, socket_connection, KPOP_SERVICE): |
2977 | Add comments explaining why the "kpop" service is never used. | |
8a6d5da7 | 2978 | |
642c61f3 EZ |
2979 | 2006-05-13 Eli Zaretskii <eliz@gnu.org> |
2980 | ||
2981 | * makefile.w32-in (lisp1): Add fringe.elc. | |
2982 | ||
880820fe | 2983 | 2006-05-02 Francesco Potortì <pot@gnu.org> |
7e237d24 FP |
2984 | |
2985 | * etags.c (Perl_functions): Free space allocated for var package. | |
2986 | (Erlang_functions): Possibly free space allocated for var last. | |
2987 | (Prolog_functions): Possibly free space allocated for var last. | |
2988 | ||
7c47913b DN |
2989 | 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu> |
2990 | ||
7fe8b491 DN |
2991 | * sorted-doc.c (main): Initialize docs to NULL. |
2992 | ||
cdeda579 DN |
2993 | * yow.c (yow): Free buf. |
2994 | ||
7c47913b DN |
2995 | * etags.c: Delete c-indentation-style local variable. |
2996 | ||
2ef88a94 RS |
2997 | 2006-04-29 Richard Stallman <rms@gnu.org> |
2998 | ||
5e5b35c7 RS |
2999 | * movemail.c (main): Check for negative value from `read'. |
3000 | ||
2ef88a94 RS |
3001 | * fakemail.c (read_header): Give fatal error if input has no header. |
3002 | ||
d65b4235 PE |
3003 | 2006-04-02 Paul Eggert <eggert@cs.ucla.edu> |
3004 | ||
3005 | * b2m.c (main): Don't include <limits.h>. | |
3006 | (TM_YEAR_BASE): New macro. | |
3007 | (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so | |
3008 | that s/ files can override this. Use the more-conservative range | |
3009 | 1000-9999. | |
3010 | (main): Check for asctime returning NULL. | |
3011 | * fakemail.c: Likewise. | |
3012 | ||
f5565804 PE |
3013 | 2006-03-27 Paul Eggert <eggert@cs.ucla.edu> |
3014 | ||
3015 | * b2m.c: Include <limits.h>. | |
3016 | (TM_YEAR_IN_ASCTIME_RANGE): New macro. | |
3017 | (main): Check for out-of-range time stamps. | |
3018 | * fakemail.c: Likewise. | |
3019 | ||
90c9c343 AS |
3020 | 2006-03-18 Andre Spiegel <spiegel@gnu.org> |
3021 | ||
3022 | * vcdiff: Use "echo" as a default for $echo, otherwise we'll | |
3023 | execute $DIFF twice, and once with the wrong options. | |
3024 | ||
a6a2b5d4 EZ |
3025 | 2006-02-23 Claudio Fontana <claudio@gnu.org> |
3026 | ||
9e2bcc86 EZ |
3027 | * Makefile.in (install, uninstall): Add DESTDIR variable to |
3028 | support staged installations. | |
a6a2b5d4 | 3029 | |
ef3f69f9 EZ |
3030 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
3031 | ||
3032 | * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc. | |
fc8dc7cf EZ |
3033 | (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc, |
3034 | international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc. | |
3035 | Rearrange the list to be similar to $(shortlisp) in | |
3036 | src/Makefile.in. | |
ef3f69f9 EZ |
3037 | (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc, |
3038 | emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc, | |
3039 | jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in | |
3040 | src/Makefile.in. | |
3041 | ||
30cfcf7f RS |
3042 | 2005-12-22 Richard M. Stallman <rms@gnu.org> |
3043 | ||
3044 | * Makefile.in (update-game-score.o): Delete spurious final `\'. | |
3045 | ||
ecc54057 | 3046 | 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change) |
2e0bea68 FP |
3047 | |
3048 | * etags.c (main): Cxref mode writes to stdout: do not close tagf, | |
3049 | which was never opened. | |
3050 | ||
283879ef | 3051 | 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) |
ce0ae3a9 EZ |
3052 | |
3053 | * etags.c: Undef STDIN if defined. (LynxOS defines it in system | |
3054 | header files.) | |
3055 | ||
880820fe | 3056 | 2005-09-27 Francesco Potortì <pot@gnu.org> |
55102b5d FP |
3057 | |
3058 | * etags.c: Preliminary Forth support. | |
3059 | (prolog_pr): Cast strlen to int before comparison. | |
3060 | (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that | |
3061 | the second argument is indeed a literal string. | |
b9509712 | 3062 | (main): In append mode, sort the tags file after writing it. |
55102b5d FP |
3063 | |
3064 | 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | |
3065 | ||
3066 | * etags.c (longopts, print_help, main): The -a (--append) option | |
3067 | can be used in ctags also; for one, the Linux make file uses it. | |
3068 | ||
41ea4df8 CY |
3069 | 2005-09-20 Chong Yidong <cyd@stupidchicken.com> |
3070 | ||
3071 | * ebrowse.c (add_sym): Compare namespace names instead of | |
3072 | namespace objects. This prevents the parser from incorrectly | |
3073 | treating classes whose superclass is in another namespace. | |
3074 | ||
5c4757d3 RS |
3075 | 2005-09-15 Richard M. Stallman <rms@gnu.org> |
3076 | ||
3077 | * Makefile.in (update-game-score.o): New target. | |
10d1d0af | 3078 | Compile and link this program separately. |
5c4757d3 RS |
3079 | (update-game-score${EXEEXT}): Use GETOPTDEPTS. |
3080 | ||
df1b2142 JR |
3081 | 2005-09-11 Jason Rumney <jasonr@gnu.org> |
3082 | ||
ecc54057 | 3083 | * makefile.w32-in (../src/config.h): Don't overwrite. Print a |
df1b2142 | 3084 | message instead. |
31fa6595 | 3085 | (../src/paths.h): Remove. |
df1b2142 | 3086 | |
c638055f JB |
3087 | 2005-07-27 Juanma Barranquero <lekktu@gmail.com> |
3088 | ||
3089 | * .cvsignore: Don't ignore fns-* and fns.el, which are no longer | |
3090 | generated. Ignore also ctags.c and getopt.h. | |
3091 | ||
3092 | * makefile.w32-in (clean): Delete getopt.h. | |
3093 | (getopt.h): New rule. | |
3094 | ||
9eff9fe3 PE |
3095 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
3096 | ||
3097 | Merge gnulib getopt implementation into Emacs. | |
3098 | ||
3099 | * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t. | |
3100 | (GETOPT_H): New macro, from gnulib. | |
3101 | (getopt.h): New rule, from gnulib. | |
3102 | (GETOPTOBJS): Now autoconfigured. | |
3103 | (GETOPTDEPS): getopt.h is now autoconfigured. | |
3104 | (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h. | |
3105 | (getopt.o): Depend on ${srcdir}/gettext.h. | |
3106 | (movemail.o): Depend on $(GETOPT_H). | |
3107 | * getopt.c, getopt1.c: Sync from gnulib. | |
3108 | * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib. | |
3109 | * getopt.h: Removed (now is getopt_.h). | |
3110 | ||
ec641d50 KR |
3111 | 2005-07-13 Ken Raeburn <raeburn@gnu.org> |
3112 | ||
0e0dced5 JB |
3113 | * pop.c: Don't include des.h (or variants thereof); krb.h will do it. |
3114 | (sendline): Add the \r\n to the line in a temporary buffer, and write | |
3115 | it all at once. | |
ec641d50 | 3116 | |
a0ec7a4a LK |
3117 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
3118 | ||
3119 | Update FSF's address in GPL notices. | |
3120 | ||
0e0dddda EZ |
3121 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
3122 | ||
3123 | * makefile.w32-in ($(DOC)): Fix last change. | |
3124 | ||
5a77c8e2 EZ |
3125 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
3126 | ||
3127 | * makefile.w32-in ($(DOC)): Depend on make-docfile.exe, | |
3128 | temacs.exe, and the preloaded *.elc files. This avoids | |
3129 | unnecessary dumping and DOC rebuilding. | |
3130 | ||
1a8fb426 EZ |
3131 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
3132 | ||
3133 | * ntlib.h (fileno): Don't define if already defined. | |
3134 | ||
7235a58f TTN |
3135 | 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org> |
3136 | ||
3137 | * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found. | |
3138 | (yow): Use EXIT_FAILURE in case of memory error. | |
3139 | ||
5063dbbf YM |
3140 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3141 | ||
3142 | * make-docfile.c (DIRECTORY_SEP): New macro. | |
3143 | (IS_DIRECTORY_SEP): Use it. | |
3144 | ||
880820fe | 3145 | 2005-03-18 Jan Djärv <jan.h.d@swipnet.se> |
5b9562c3 JD |
3146 | |
3147 | * emacsclient.c: Avoid expansion of getcwd when defined as a macro. | |
3148 | ||
ba025f6d YM |
3149 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3150 | ||
3151 | * make-docfile.c: Undo previous change. | |
3152 | ||
a9eedf40 AS |
3153 | 2005-02-04 Andreas Schwab <schwab@suse.de> |
3154 | ||
0e0dced5 JB |
3155 | * movemail.c (fatal): Accept third parameter and pass down to error. |
3156 | (pfatal_with_name): Pass error string as format parameter instead of | |
3157 | as part of format string. | |
a9eedf40 AS |
3158 | (pfatal_and_delete): Likewise. |
3159 | (main): Adjust call to fatal. | |
3160 | (xmalloc): Likewise. | |
3161 | ||
5a92a9eb RS |
3162 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
3163 | ||
3164 | * movemail.c (popmail): Don't use Errmsg as format string. | |
3165 | ||
e6973a25 ST |
3166 | 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3167 | ||
0e0dced5 | 3168 | * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined. |
e6973a25 | 3169 | |
1bb3da38 AS |
3170 | 2004-12-15 Andreas Schwab <schwab@suse.de> |
3171 | ||
3172 | * etags.c (main): Fix typo in conversion of LONG_OPTIONS from | |
3173 | preprocessing to compile time constant. | |
3174 | ||
d4a38fdd KS |
3175 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
3176 | ||
3177 | * etags.c: Undo last change. | |
3178 | ||
f2eb41c8 KS |
3179 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
3180 | ||
3181 | * make-docfile.c (scan_c_file): Set defvarperbufferflag to | |
3182 | silence compiler. | |
3183 | ||
3184 | * hexl.c (main): Init local var c to silence compiler. | |
3185 | ||
3186 | * etags.c (main, consider_token, C_entries): Add misc switch | |
3187 | default targets to silence compiler. | |
3188 | ||
880820fe | 3189 | 2004-11-09 Jan Djärv <jan.h.d@swipnet.se> |
3cf5c994 JD |
3190 | |
3191 | * makefile.w32-in (obj): Add all files (X and Mac) to doc so the | |
3192 | resulting DOC file can be used on Unix/Mac also. | |
3193 | ||
880820fe | 3194 | 2004-09-13 Francesco Potortì <pot@gnu.org> |
e057dc50 FP |
3195 | |
3196 | * etags.c (main): When relative file names are given as argument, | |
3197 | make them relative to the current working dir, rather than | |
3198 | relative to the output tags file, if the latter is in /dev. | |
3199 | ||
880820fe | 3200 | 2004-09-13 Francesco Potortì <pot@gnu.org> |
05d9a399 FP |
3201 | |
3202 | * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no | |
3203 | <stdlib.h> is available. | |
3204 | (enum sym_type): New st_C_attribute value for parsing | |
3205 | gcc's __attribute__. Deleted st_C_typespec value. | |
3206 | (gperf, in_word_set): Use gperf 3, options changed. Added the | |
3207 | __attribute__ keyword, removed all the st_C_typespec keywords, | |
3208 | changed attribute for Java to (C_JAVA & !C_PLPL). | |
3209 | (inattribute): New global bool, part of the C state machine. | |
3210 | (cblev): Identifier renamed to bracelev throughout. | |
3211 | (consider_token, C_entries): Numerous changes for making the | |
3212 | parser more robust and adding support for __attribute__. | |
3213 | ||
3214 | 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change) | |
3215 | ||
ecc54057 | 3216 | * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions): |
05d9a399 FP |
3217 | Support the Lua scripting language <http://www.lua.org>. |
3218 | ||
880820fe | 3219 | 2004-09-08 Francesco Potortì <pot@gnu.org> |
fba74375 | 3220 | |
d57727c9 | 3221 | * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef) |
fba74375 FP |
3222 | for ease of use. |
3223 | ||
3751eb00 RS |
3224 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
3225 | ||
3226 | * emacsclient.c (quote_file_name): Pass COPY thru %s to output it. | |
3227 | ||
86d373e6 JB |
3228 | 2004-06-01 Juanma Barranquero <lektu@terra.es> |
3229 | ||
3230 | * makefile.w32-in (obj): Add image.c. | |
3231 | ||
80e26b66 TTN |
3232 | 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org> |
3233 | ||
0e0dced5 | 3234 | * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'. |
80e26b66 | 3235 | |
e6662c8b JR |
3236 | 2004-05-08 Jason Rumney <jasonr@gnu.org> |
3237 | ||
3238 | * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long | |
3239 | command-lines. | |
3240 | ||
65396510 TTN |
3241 | 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org> |
3242 | ||
3243 | * cvtmail.c: Throughout, replace 0 destined for `exit' arg | |
3244 | with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'. | |
3245 | (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value. | |
3246 | ||
3247 | * ebrowse.c, emacsclient.c, fakemail.c, hexl.c, | |
86d373e6 JB |
3248 | * make-docfile.c, movemail.c, profile.c, sorted-doc.c, |
3249 | * test-distrib.c, update-game-score.c, yow.c: Likewise. | |
65396510 | 3250 | |
c2bcfb19 TTN |
3251 | 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org> |
3252 | ||
3253 | * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'. | |
3254 | ||
3f0656ff TTN |
3255 | 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
3256 | ||
3257 | * b2m.c (GOOD, BAD): Delete macros. Throughout, | |
3258 | replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively. | |
3259 | (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value. | |
3260 | ||
3261 | * etags.c: Likewise. | |
3262 | ||
238add5e JR |
3263 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
3264 | ||
3265 | * makefile.nt: Remove. | |
3266 | ||
b09c5608 EZ |
3267 | 2004-04-26 Eli Zaretskii <eliz@gnu.org> |
3268 | ||
3269 | * make-docfile.c (IS_DIRECTORY_SEP): New macro. | |
3270 | (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP | |
3271 | instead of a literal '/'. | |
3272 | ||
d814862a JB |
3273 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
3274 | ||
3275 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
3276 | ||
442a2160 PE |
3277 | 2004-04-17 Paul Eggert <eggert@gnu.org> |
3278 | ||
3279 | * rcs2log (Help): Clarify wording of the usage message. | |
3280 | Problem reported by Alan Mackenzie in | |
3281 | <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>. | |
3282 | ||
d5d66b7e SM |
3283 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
3284 | ||
3285 | * make-docfile.c (xmalloc): Fix return type. | |
3286 | (put_filename): New fun. | |
3287 | (scan_file): Use it. | |
3288 | ||
bdfd0369 JB |
3289 | 2004-03-09 Juanma Barranquero <lektu@terra.es> |
3290 | ||
3291 | * grep-changelog: Changes to support ChangeLog.10+. | |
3292 | (main): Tidy up usage string. Fix "Use of uninitialized value" | |
3293 | warning. Set version to 0.2. Parse the directory listing to get | |
3294 | any ChangeLog.n file, not just 1..9. | |
3295 | (header_match_p, entry_match_p, print_log, parse_changelog): | |
3296 | Remove Perl prototypes (their purpose is to help the parser, which | |
3297 | isn't needed here, not declare arguments). | |
3298 | (parse_changelog): Make --reverse faster on big batches by not | |
3299 | modifying the entries list. | |
3300 | ||
a64387ee JB |
3301 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
3302 | ||
3303 | * makefile.w32-in (obj): Add fringe.c. | |
3304 | ||
9766d41b PE |
3305 | 2004-02-14 Paul Eggert <eggert@twinsun.com> |
3306 | ||
3307 | * rcs2log: Work correctly if CVSROOT specifies :fork: or | |
3308 | :local: methods, or omits the colon between the hostname | |
3309 | and the path. Allow :/ in repository path, since CVS does. | |
3310 | Fix typo: "pository" should be set from $CVSROOT, not $repository. | |
3311 | This fixes a bug reported by Wolfgang Scherer in | |
3312 | <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>, | |
3313 | along with some related bugs I discovered by inspecting how | |
3314 | CVS itself parses $CVSROOT. | |
3315 | ||
880820fe | 3316 | 2004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change) |
98c6e531 SM |
3317 | |
3318 | * emacsclient.c (decode_options): Fix handling of alternate editor. | |
3319 | ||
0734b0d0 SM |
3320 | 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
3321 | ||
3322 | * emacsclient.c (main): Don't use the hostname in the socket name. | |
3323 | Look for relative socket names in the /tmp dir rather than in cwd. | |
3324 | ||
2a6fc2d9 RS |
3325 | 2004-01-24 Richard M. Stallman <rms@gnu.org> |
3326 | ||
3327 | * emacsclient.c (main): Restore errno from saved_errno, | |
3328 | so the error message comes from socket_status. | |
3329 | ||
0734b0d0 SM |
3330 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
3331 | ||
3332 | * emacsclient.c (main): Stop if socket name too long. | |
3333 | Only try su-fallback if the socket name was not explicit. | |
3334 | Check socket name length in su-fallback case as well. | |
3335 | ||
152b6e83 AS |
3336 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
3337 | ||
3338 | * emacsclient.c (main): Save errno from socket_status. | |
3339 | ||
e8228824 AS |
3340 | 2004-01-04 Andreas Schwab <schwab@suse.de> |
3341 | ||
3342 | * emacsclient.c (main): Fix socket name when using another user. | |
3343 | ||
c9140662 PE |
3344 | 2003-12-27 Paul Eggert <eggert@twinsun.com> |
3345 | ||
3346 | * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates | |
3347 | a tag, and if the user has not specified an rlog option. | |
3348 | Adapted from a suggestion by Martin Stjernholm in | |
3349 | <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>. | |
3350 | (Copyright): Update to 2003. | |
3351 | ||
8babaa59 TTN |
3352 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
3353 | ||
3354 | * make-docfile.c (main): For return code, no longer special-case VMS. | |
3355 | Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h. | |
3356 | ||
880820fe | 3357 | 2003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change) |
14ef7288 EZ |
3358 | |
3359 | * emacsclient.c (quote_file_name): Print the result instead of | |
3360 | returning it. Fix the return type accordingly. | |
1ae7cf5e RS |
3361 | (main): With --eval, if no file name, read from stdin. |
3362 | Quote file names. | |
14ef7288 | 3363 | |
f387bdea RS |
3364 | 2003-09-10 Richard M. Stallman <rms@gnu.org> |
3365 | ||
07655e62 | 3366 | * emacsclient.c (main): Use socket_name. |
f387bdea | 3367 | |
880820fe | 3368 | 2003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change) |
f387bdea RS |
3369 | |
3370 | * emacsclient.c (socket_name): New variable. | |
3371 | (longopts, decode_options, print_help_and_exit): | |
3372 | Handle --socket-name argument. | |
3373 | ||
0b7e7337 FP |
3374 | 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change) |
3375 | ||
783bcffa | 3376 | * etags.c (consider_token): Check C++ `operator' only when the |
0b7e7337 FP |
3377 | token len is long enough. |
3378 | ||
ac06b30b DL |
3379 | 2003-08-20 Dave Love <fx@gnu.org> |
3380 | ||
3381 | * Makefile.in: Remove obsolete references to alloca. | |
3382 | ||
32b0a3c6 JB |
3383 | 2003-07-29 Ken Brush <ken@wirex.com> |
3384 | ||
3385 | * emacsclient.c (main) | |
3386 | * etags.c (suggest_asking_for_help) | |
3387 | * movemail.c (main): Fix having macros in a printf statement. | |
3388 | ||
3867c42d JB |
3389 | 2003-05-31 Juanma Barranquero <lektu@terra.es> |
3390 | ||
3391 | * makefile.w32-in (lisp): Fix references to byte-run.el, | |
3392 | float-sup.el and map-ynp.el, which are now in emacs-lisp. | |
3393 | ||
7933722a DL |
3394 | 2003-05-22 Dave Love <fx@gnu.org> |
3395 | ||
3396 | * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define. | |
3397 | (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New. | |
3398 | ||
463f55ee DL |
3399 | 2003-05-20 Dave Love <fx@gnu.org> |
3400 | ||
3401 | * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL. | |
3402 | ||
3403 | * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile. | |
3404 | ||
1b7a835b JB |
3405 | 2003-04-27 Oliver Scholz <alkibiades@gmx.de> |
3406 | ||
0e0dced5 | 3407 | * update-game-score.c (read_scores): Fix corruption of scores on read. |
1b7a835b | 3408 | |
eec54bd7 SM |
3409 | 2003-04-12 Stefan Monnier <monnier@cs.yale.edu> |
3410 | ||
3411 | * emacsclient.c (main): Use new safe location for socket. | |
3412 | ||
ff4bd681 JB |
3413 | 2003-03-12 Tom Tromey <tromey@redhat.com> |
3414 | ||
eec54bd7 SM |
3415 | * emacsclient.c (print_help_and_exit): Print to stdout. |
3416 | Exit successfully. Added some blank lines for readability. | |
ff4bd681 JB |
3417 | (decode_options): Don't call print_help_and_exit in default case. |
3418 | Print version information to stdout. | |
3419 | (main): Don't call print_help_and_exit. | |
3420 | ||
dd132e44 RS |
3421 | 2003-02-15 Richard M. Stallman <rms@gnu.org> |
3422 | ||
3423 | * cvtmail.c: Cast result of malloc and realloc. | |
10d1d0af | 3424 | Don't include stdlib.h, because config.h does. |
dd132e44 | 3425 | (malloc, realloc): Declarations deleted. |
ff4bd681 | 3426 | |
dd132e44 RS |
3427 | * yow.c (yow): Cast result of malloc and realloc. |
3428 | (malloc, realloc): Declarations deleted. | |
3429 | ||
71ffc53a JB |
3430 | 2003-02-11 Juanma Barranquero <lektu@terra.es> |
3431 | ||
3432 | * makefile.w32-in (lisp): Add malayalam.el and tamil.el. | |
3433 | ||
0dfd93c0 AS |
3434 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
3435 | ||
3436 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
3437 | instead of the substitution. | |
3438 | ||
37d1e680 RS |
3439 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
3440 | ||
3441 | * update-game-score.c (push_score, read_scores): Cast values | |
3442 | of malloc and realloc. | |
3443 | (main, lock_file): Avoid assignment inside if. | |
3444 | ||
c60ee5e7 JB |
3445 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
3446 | ||
3447 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
3448 | ||
b24e2dc7 DL |
3449 | 2003-01-21 Dave Love <fx@gnu.org> |
3450 | ||
3451 | * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid | |
3452 | column-0 `('. | |
3453 | ||
3454 | * yow.c: Don't include string.h. | |
3455 | ||
675d000f RS |
3456 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
3457 | ||
3458 | * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff): | |
3459 | New targets. | |
3460 | ||
207aa3ff KS |
3461 | 2003-01-06 Kim F. Storm <storm@cua.dk> |
3462 | ||
31fa6595 | 3463 | * pop.c (__P): Rename from _P to avoid problems on Cygwin. |
207aa3ff KS |
3464 | All uses changed. |
3465 | ||
cf6d30d7 AI |
3466 | 2002-12-18 Andrew Innes <andrewi@gnu.org> |
3467 | ||
3468 | * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile, | |
3469 | because GNU make doesn't append when using >> redirection. | |
3470 | ||
f0131492 | 3471 | 2002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
649fc2c5 PJ |
3472 | |
3473 | * b2m.pl: Make sure every message ends with a blank line, because | |
3474 | some mbox parsers require a blank line before "From " lines. | |
3475 | ||
85cce843 RS |
3476 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
3477 | ||
3478 | * getopt.c: Do include libintl.h if HAVE_LIBINTL_H. | |
3479 | (_): Test only HAVE_LIBINTL_H to decide what to do. | |
3480 | ||
2ccc4d34 RS |
3481 | 2002-12-05 Richard M. Stallman <rms@gnu.org> |
3482 | ||
3483 | * getopt.c: Comment out include of libintl.h or gettext.h. | |
3484 | ||
c5992177 RS |
3485 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
3486 | ||
3487 | * Update getopt from gnulib version; changes described below. | |
3488 | ||
3489 | * getopt1.c: Conditionally find getopt.h. | |
3490 | [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def. | |
3491 | ||
3492 | * getopt.c (const): Move outside !HAVE_CONFIG_H conditional. | |
3493 | (libintl.h): Include this if _LIBC. Otherwise include gettext.h. | |
c60ee5e7 | 3494 | (wchar.h): Include, maybe. |
10d1d0af | 3495 | (attribute_hidden): Define if not defined. |
c5992177 | 3496 | (__getopt_initialized): Use attribute_hidden. |
b166dcd8 | 3497 | (__libc_argc, __libc_argv): Rename from original_argc, etc. |
d7982012 JB |
3498 | (__getopt_nonoption_flags, nonoption_flags_max_len) |
3499 | (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS. | |
c5992177 RS |
3500 | (SWAP_FLAGS): New definitions. |
3501 | (exchange): Test USE_NONOPTION_FLAGS. | |
3502 | (_getopt_initialize): Test USE_NONOPTION_FLAGS. | |
3503 | (_getopt_internal): Error if argc < 1. New local var print_errors. | |
3504 | Improve test for ambiguous long option. | |
3505 | Add LIBIO support for error message output. | |
3506 | (NONOPTION_P): Test USE_NONOPTION_FLAGS. | |
3507 | ||
3508 | * getopt.h: Maybe include ctype.h. | |
3509 | Treat __cplusplus like __STDC__. | |
3510 | (decls): Use __ in arg names. | |
3511 | ||
4b5e69bd SE |
3512 | 2002-12-02 Stephen Eglen <stephen@gnu.org> |
3513 | ||
3514 | * emacsclient.c (main): Tell user how to start server within Emacs | |
3515 | if socket could not be found. | |
3516 | ||
19fa03f3 RS |
3517 | 2002-12-02 Richard M. Stallman <rms@gnu.org> |
3518 | ||
3519 | * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM. | |
3520 | ||
7be215b4 JB |
3521 | 2002-11-19 Ben Key <bkey1@tampabay.rr.com> |
3522 | ||
29f538e6 BK |
3523 | * makefile.w32-in: Fixed a bug that caused the documentation for |
3524 | the built in function play-sound-internal not to be included in | |
3525 | /etc/DOC. | |
7be215b4 | 3526 | |
1998560a DL |
3527 | 2002-11-18 Dave Love <fx@gnu.org> |
3528 | ||
3529 | * update-game-score.c: Include unistd.h, string.h, stdlib.h, | |
3530 | fcntl.h, stdarg.h conditionally. | |
3531 | (_GNU_SOURCE, __attribute__): Don't define. | |
3532 | (optarg, optind, opterr): Declare. | |
3533 | (lose, lose_syserr): Use NO_RETURN. | |
3534 | (get_user_id): Use P_. | |
3535 | ||
8b96caf3 RS |
3536 | 2002-11-17 Richard M. Stallman <rms@gnu.org> |
3537 | ||
3538 | * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir). | |
3539 | ||
59daa29a DL |
3540 | 2002-11-14 Dave Love <fx@gnu.org> |
3541 | ||
3542 | * movemail.c (pop_retr): Declare comment. | |
3543 | ||
3544 | * make-docfile.c (read_c_string_or_comment): Declare msgno. | |
9a007cb7 | 3545 | |
61b108cc | 3546 | * Makefile.in (YACC): Delete. |
9a007cb7 | 3547 | |
f1b443bf AS |
3548 | 2002-10-19 Andreas Schwab <schwab@suse.de> |
3549 | ||
3550 | * Makefile.in (${archlibdir}): Always create $(gamedir). | |
3551 | (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR. | |
3552 | ||
52402e4f JB |
3553 | 2002-10-04 Juanma Barranquero <lektu@terra.es> |
3554 | ||
3555 | * makefile.w32-in (lisp): Load devanagari.el, not .elc. | |
3556 | ||
15dab115 MR |
3557 | 2002-09-30 Markus Rost <rost@math.ohio-state.edu> |
3558 | ||
3559 | * emacsclient.c (main): Remove reference to SERVER_HOME_DIR | |
3560 | completely. | |
3561 | ||
30be2360 SM |
3562 | 2002-09-27 Stefan Monnier <monnier@cs.yale.edu> |
3563 | ||
3564 | * emacsclient.c: Remove SYSV support. | |
3565 | (eval, display): New vars. | |
3566 | (longopts): Add --eval and --display. | |
3567 | (decode_options): Add -e and -d processing. | |
3568 | (print_help_and_exit): Update the usage string. | |
3569 | (main): Add support for --eval and --display. | |
3ecdcd59 | 3570 | (main): Always use /tmp and non-qualified hostname. |
30be2360 | 3571 | |
4208da83 SM |
3572 | 2002-09-25 Stefan Monnier <monnier@cs.yale.edu> |
3573 | ||
3574 | * emacsserver.c: Remove. | |
3575 | ||
3cf8c6aa SM |
3576 | 2002-09-17 Stefan Monnier <monnier@cs.yale.edu> |
3577 | ||
3578 | * emacsclient.c (quote_file_name): Quote \n. | |
3579 | (main): Print a final \n when needed. | |
3580 | ||
880820fe | 3581 | 2002-09-03 Francesco Potortì <pot@gnu.org> |
4c6dce51 FP |
3582 | |
3583 | * etags.c (regex_tag_multiline, readline): Never pass pfnote a | |
3584 | string that cannot be freed. | |
3585 | ||
880820fe | 3586 | 2002-08-30 Francesco Potortì <pot@gnu.org> |
ba88f8eb FP |
3587 | |
3588 | * etags.c (consider_token, C_entries): Switch to C++ parsing when | |
3589 | auto-detection is enabled and the `::' qualifier is met. | |
3590 | (consider_token, C_entries): Several bugs corrected that tagged | |
3591 | some declarations even though --declarations was not used. | |
3592 | (plainc): New macro. | |
3593 | (C_entries): Use it. | |
3594 | (C_entries): Several cosmetic changes. | |
3595 | (C_entries): Invalidate the token is some cases. | |
3596 | ||
880820fe | 3597 | 2002-08-29 Francesco Potortì <pot@gnu.org> |
09cd1a74 | 3598 | |
eec54bd7 | 3599 | * etags.c (C_entries): Correct a problem with const C++ funcs. |
b166dcd8 | 3600 | (ignoreindent): Rename from noindentypedefs. |
09cd1a74 FP |
3601 | (cjava, cplpl): They are now macros instead of local vars. |
3602 | ||
880820fe | 3603 | 2002-08-28 Francesco Potortì <pot@gnu.org> |
09cd1a74 FP |
3604 | |
3605 | * etags.c (HTML_labels): Tag ID= also. | |
3606 | ||
880820fe | 3607 | 2002-08-27 Francesco Potortì <pot@gnu.org> |
87046df8 FP |
3608 | |
3609 | * etags.c (Ada_funcs): Do not tag "use type Xxxx;". | |
3610 | ||
ecc54057 | 3611 | * etags.c (HTML_labels): New language HTML. |
8ee14629 FP |
3612 | (etags_strcasecmp): Like BSD's, for compatibility. |
3613 | (strcaseeq): Make it into a macro. | |
3614 | ||
3615 | * etags.c (make_tag): Never generate null length tag names. | |
b166dcd8 | 3616 | (linebuffer_init): Rename from initbuffer. All callers changed. |
87046df8 FP |
3617 | (pattern): Structure renamed to `regexp', member regex renamed to |
3618 | pattern. | |
3619 | (node_st): Member pat renamed to regex. | |
eec54bd7 SM |
3620 | (pattern); New member force_explicit_name, for future use. |
3621 | Now always set to true, cannot be reset. | |
87046df8 FP |
3622 | (add_regex, regex_tag_multiline, readline): Use it. |
3623 | (main): Free some global structures. | |
8ee14629 | 3624 | (fdesc): New member `written'. |
e1dbe924 | 3625 | (readline, process_file): Initialize it. |
87046df8 FP |
3626 | (put_entries): Set it. |
3627 | (main): Use it to create entries for files without tags. | |
3628 | (total_size_of_entries): Do not count invalid tags. | |
87046df8 | 3629 | |
02ce3e80 SM |
3630 | 2002-08-19 Stefan Monnier <monnier@cs.yale.edu> |
3631 | ||
3632 | * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn' | |
3633 | for the function name in the usage info. | |
3634 | ||
5fba5c21 CW |
3635 | 2002-07-31 Colin Walters <walters@gnu.org> |
3636 | ||
3637 | * update-game-score.c (P_): New macro. Use it for all prototypes. | |
3638 | (lose): Don't use varargs. | |
3639 | (lose_syserr): New function. | |
3640 | ||
3641 | * update-game-score.c: Change all functions to K&R style. | |
3642 | ||
712eaee0 AS |
3643 | 2002-07-30 Andreas Schwab <schwab@suse.de> |
3644 | ||
3645 | * Makefile.in (localstatedir): New variable. | |
3646 | ||
f0131492 | 3647 | 2002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
c89ed6ef PJ |
3648 | |
3649 | * b2m.pl: Fix regexp for finding return address fields. | |
3650 | ||
1e042160 SM |
3651 | 2002-07-15 Stefan Monnier <monnier@cs.yale.edu> |
3652 | ||
3653 | * make-docfile.c (scan_c_file): Warn about missing `usage' info. | |
3654 | ||
f0131492 | 3655 | 2002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
e9b60209 | 3656 | |
02ce3e80 | 3657 | * b2m.pl: Obey the rmail file and use the unpruned header properly. |
e9b60209 | 3658 | |
880820fe | 3659 | 2002-06-26 Pavel JanÃk <Pavel@Janik.cz> |
9ee028d2 PJ |
3660 | |
3661 | * b2m.pl: New file. | |
3662 | ||
880820fe | 3663 | 2002-06-21 Francesco Potortì <pot@gnu.org> |
e1af8d40 | 3664 | |
ecc54057 | 3665 | * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels) |
e1af8d40 FP |
3666 | (Python_functions, PHP_functions, PHP_functions, PHP_functions) |
3667 | (PHP_functions, PHP_functions, Cobol_paragraphs) | |
3668 | (Makefile_targets, Postscript_functions, Texinfo_nodes) | |
3669 | (prolog_pr, erlang_func, erlang_attribute) | |
3670 | (Perl_functions, Perl_functions, Pascal_functions) | |
3671 | (TeX_commands, get_tag): Use make_tag instead of pfnote. | |
3672 | (get_tag): Prototype changed, all callers changed. | |
3673 | ||
880820fe | 3674 | 2002-06-20 Francesco Potortì <pot@gnu.org> |
ceaeb365 | 3675 | |
d76132d0 FP |
3676 | * etags.c: Implement implicit tag names, that is, unnamed tags |
3677 | whose name is automatically deduced by etags.el. The advantage is | |
3678 | that there is no explicit tag name in most tags, so the size of | |
3679 | the tags file is reduced, yet find-tag is able to do a match as | |
eec54bd7 | 3680 | accurate as with named tags. See the comment in make_tag for details. |
ceaeb365 FP |
3681 | (make_tag): New function (was the disabled function new_pfnote). |
3682 | (make_C_tag): Use it. | |
3683 | ||
880820fe | 3684 | 2002-06-19 Francesco Potortì <pot@gnu.org> |
f175bfff FP |
3685 | |
3686 | * etags.c (add_regex): Invalid regexp modifiers are ignored. | |
3687 | (Makefile_targets): Tag variables unless --no-globals. | |
3688 | (LOOP_ON_INPUT_LINES): Serious bug corrected. | |
3689 | ||
880820fe | 3690 | 2002-06-13 Francesco Potortì <pot@gnu.org> |
82ef78b3 FP |
3691 | |
3692 | * etags.c (erlang_atom, erlang_attribute): Bugs corrected. | |
3693 | (invalidate_nodes): Bug corrected. | |
3694 | (print_help): Better help for regexps. | |
3695 | ||
7a8940da JB |
3696 | 2002-06-13 Juanma Barranquero <lektu@terra.es> |
3697 | ||
3698 | * makefile.w32-in (lisp): Add international/ucs-tables.elc and | |
3699 | font-core.elc. | |
3700 | ||
880820fe | 3701 | 2002-06-12 Francesco Potortì <pot@gnu.org> |
6861f0e3 FP |
3702 | |
3703 | * etags.c: New multi-line regexp and new regexp syntax. | |
3704 | (arg_type): at_icregexp label removed (obsolete). | |
3705 | (pattern): New member multi_line for multi-line regexps. | |
3706 | (filebuf): A global buffer containing the whole file as a string | |
3707 | for multi-line regexp matching. | |
3708 | (need_filebuf): Global flag raised if multi-line regexps used. | |
3709 | (print_help): Document new regexp modifiers, remove references to | |
3710 | obsolete option --ignore-case-regexp. | |
3711 | (main): Do not set regexp syntax and translation table here. | |
3712 | (main): Treat -c option as a backward compatibility hack. | |
3713 | (main, find_entries): Init and free filebuf. | |
3714 | (find_entries): Call regex_tag_multiline after the regular parser. | |
10d1d0af | 3715 | (scan_separators): Check for unterminated regexp and return NULL. |
6861f0e3 FP |
3716 | (analyse_regex, add_regex): Remove the ignore_case argument, which |
3717 | is now a modifier to the regexp. All callers changed. | |
3718 | (add_regex): Manage the regexp modifiers. | |
3719 | (regex_tag_multiline): New function. Reads from filebuf. | |
3720 | (readline_internal): If necessary, copy the whole file into filebuf. | |
3721 | (readline): Skip multi-line regexps, leave them to regex_tag_multiline. | |
3722 | ||
880820fe | 3723 | 2002-06-11 Francesco Potortì <pot@gnu.org> |
6861f0e3 FP |
3724 | |
3725 | * etags.c (add_regex): Better check for null regexps. | |
3726 | (readline): Check for regex matching null string. | |
6772c8e1 | 3727 | (find_entries): Reorganization. |
6861f0e3 | 3728 | |
880820fe | 3729 | 2002-06-07 Francesco Potortì <pot@gnu.org> |
f0da41a6 FP |
3730 | |
3731 | * etags.c (scan_separators): Support all character escape | |
3732 | sequences supported by Gcc. | |
02ce3e80 | 3733 | (find_entries): Rewind unconditionally. |
f0da41a6 FP |
3734 | (find_entries): Do not call language functions directly, now calls |
3735 | itself. | |
e1dbe924 | 3736 | (find_entries): Do general initializations here. |
f0da41a6 FP |
3737 | (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit) |
3738 | (Ada_getit, Pascal_functions, Pascal_functions) | |
3739 | (prolog_skip_comment): Do not do them here. | |
3740 | (readline_internal): Increment lineno here. | |
3741 | (readline): Conditionally undo readline_internal increment. | |
3742 | (readline): Do not return a value. | |
3743 | ||
880820fe | 3744 | 2002-06-06 Francesco Potortì <pot@gnu.org> |
5526f1f6 | 3745 | |
88c71720 | 3746 | * etags.c: New option --parse-stdin=FILE. |
97b90b0a FP |
3747 | (enum arg_type): New label at_stdin. |
3748 | (STDIN): New constant. | |
3749 | (parsing_stdin): New flag. | |
3750 | (longopts): New option --parse-stdin=NAME. | |
3751 | (print_help): Document it. | |
3752 | (main): Handle it. | |
3753 | (process_file): Split into process_file and process_file_name. | |
3754 | (process_file_name): New function. | |
3755 | ||
88c71720 | 3756 | * etags.c: Improvements and bug squashing in TeX handling. |
97b90b0a | 3757 | (TeX_commands): Skip comments. |
10d1d0af | 3758 | (TEX_defenv): Now contains more constructs. |
5526f1f6 FP |
3759 | (TEX_cmt): Make it a static char and move it before TeX_commands. |
3760 | (TeX_commands): Shorten the tag to the brace after the name. | |
3761 | (TeX_commands): Names now include the initial backslash. | |
3762 | (TeX_commands): Names do not include numeric args #n. | |
3763 | (TeX_commands): Correct line char number in tags. | |
61b108cc | 3764 | (TEX_tabent, TEX_token): Delete. |
5526f1f6 FP |
3765 | (TeX_commands, TEX_decode_env): Streamlined. |
3766 | ||
880820fe | 3767 | 2002-06-05 Francesco Potortì <pot@gnu.org> |
50496bd9 FP |
3768 | |
3769 | * etags.c (main): Avoid a buffer overrun with sprintf. | |
3770 | ||
a71867c5 RS |
3771 | 2002-05-30 Richard M. Stallman <rms@gnu.org> |
3772 | ||
b166dcd8 KC |
3773 | * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL. |
3774 | (LIBS_MOVE): Rename from MOVE_LIBS. | |
a71867c5 | 3775 | |
b7e67db6 PE |
3776 | 2002-05-26 Paul Eggert <eggert@twinsun.com> |
3777 | ||
3778 | Reinstate the following change from 2002-03-22, which was | |
3779 | inadvertently lost on 2002-04-13. | |
3780 | ||
3781 | * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of | |
3782 | `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows | |
3783 | the latter usage. | |
3784 | ||
5f226e2c EZ |
3785 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> |
3786 | ||
3787 | * pop.c (socket_connection): Move the code to resolve the POP | |
3788 | host right before trying to connect with it. | |
3789 | ||
9021bb49 GM |
3790 | 2002-05-05 Eli Zaretskii <eliz@is.elta.co.il> |
3791 | ||
3792 | * tcp.c: Delete file since the TCP emulation is no longer in use on any | |
3793 | platform. | |
3794 | ||
5167cfda CW |
3795 | 2002-04-28 Colin Walters <walters@verbum.org> |
3796 | ||
3797 | * Makefile.in (${archlibdir}): Don't conditionalize on | |
3798 | HAVE_SHARED_GAME_DIR. Instead, test at installation time whether | |
3799 | or not we have access to the specified game user. | |
50496bd9 | 3800 | |
5167cfda CW |
3801 | * update-game-score.c (SCORE_FILE_PREFIX): Delete. |
3802 | (main): New argument -d, for specifying directory. | |
3803 | (usage): Document. | |
02ce3e80 | 3804 | (get_user_id): Compute. |
61b108cc | 3805 | (get_home_dir): Delete. |
5167cfda CW |
3806 | (get_prefix): New function, taken from main. |
3807 | (main): Check whether or not we are running setuid. Move prefix | |
3808 | computation to get_prefix. Don't call getpwent; we don't need to | |
3809 | any more. Instead, move it to get_user_id(). | |
3810 | ||
880820fe | 3811 | 2002-04-24 Pavel JanÃk <Pavel@Janik.cz> |
beedfcf1 PJ |
3812 | |
3813 | * ebrowse.c (skip_initializer): Return void. | |
3814 | ||
973c3c87 CW |
3815 | 2002-04-23 Colin Walters <walters@verbum.org> |
3816 | ||
3817 | * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing | |
3818 | space. | |
3819 | ||
880820fe | 3820 | 2002-04-22 Francesco Potortì <pot@gnu.org> |
8378bcd3 | 3821 | |
ecc54057 | 3822 | * etags.c (last_node): Make it a global variable. |
8378bcd3 FP |
3823 | (process_file): Print the tags from the nodes as soon as |
3824 | possible, and delete the nodes. This brings down the memory | |
3825 | occupancy as etags to almost the same level as when the #line | |
3826 | directives were not parsed. | |
3827 | (free_fdesc): New function. | |
3828 | (find_entries): Use it. | |
3829 | (invalidate_nodes): In etags mode, do not just mark the nodes as | |
3830 | invalid, do delete them. | |
3831 | ||
c901ceff GM |
3832 | 2002-04-21 Gerd Moellmann <gerd@gnu.org> |
3833 | ||
3834 | * ebrowse.c (add_declarator): Test *CLS instead of CLS. | |
3835 | ||
c42d6dbd EZ |
3836 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> |
3837 | ||
3838 | * update-game-score.c: Move config.h before the other headers, to | |
3839 | avoid compiler warnings. | |
3840 | ||
880820fe | 3841 | 2002-04-16 Francesco Potortì <pot@gnu.org> |
090416ca FP |
3842 | |
3843 | * etags.c (find_entries): Bug fix in list management. | |
3844 | ||
880820fe | 3845 | 2002-04-15 Francesco Potortì <pot@gnu.org> |
5dab24c1 FP |
3846 | |
3847 | * etags.c (get_language_from_filename): Add one argument. | |
3848 | (strcaseeq): New function. | |
10d1d0af | 3849 | (get_language_from_filename): Use it to do a case insensitive |
5dab24c1 FP |
3850 | comparison if called with appropriate args. |
3851 | (find_entries): Try with case insensitive match. | |
3852 | (process_file): Bug fixed. | |
3853 | ||
880820fe | 3854 | 2002-04-13 Francesco Potortì <pot@gnu.org> |
c150db23 FP |
3855 | |
3856 | * etags.c (find_entries): Delete tags previously obtained from | |
3857 | file xxx.c's #line directives when parsing file xxx.y. This is | |
3858 | generally done for automatically generated files containing | |
3859 | #line directives. This handles the case when xxx.y is tagged | |
3860 | before xxx.c, and the entries of xxx.c pointing to xxx.y should | |
3861 | be discarded. | |
eec54bd7 | 3862 | (language): Add the metasource member. Initializers changed. |
c150db23 FP |
3863 | (invalidate_nodes): New function. |
3864 | (readline): Discard lines after having found a #line | |
02ce3e80 | 3865 | directive pointing to an already tagged file. This handles the |
c150db23 FP |
3866 | case when xxx.y is tagged before xxx.c, and the entries of |
3867 | xxx.c pointing to xxx.y should be discarded. | |
3868 | (fdesc): New structure for keeping track of input files. | |
3869 | (fdesc): Remove `file' member (a string) and use instead a pointer | |
3870 | to a file description structure. | |
02ce3e80 SM |
3871 | (curfile, curfiledir, curtagfname, curlang, nocharno) |
3872 | (forced_lang): Global variables removed in favor of fdhead and | |
10d1d0af | 3873 | curfdp, pointers to file description structures. |
c150db23 FP |
3874 | (longopts, main, print_help): Use the CTAGS conditional to include |
3875 | or exclude options that work on etags or ctags only. | |
02ce3e80 SM |
3876 | (process_file, find_entries, pfnote, add_node, put_entries) |
3877 | (readline): Use fdhead and curfdp. | |
c150db23 FP |
3878 | (process_file, find_entries): Do not take an arg string, all |
3879 | callers changed. | |
3880 | ||
3881 | * etags.c (longopts, print_help, main): Test CTAGS to disallow | |
3882 | options that are not right for either etags or ctags. | |
3883 | ||
3884 | * etags.c (number_len, total_size_of_entries): Define them also | |
3885 | in CTAGS mode, because gcc does not compile all refs away. | |
3886 | ||
e9d1f248 CW |
3887 | 2002-04-14 Colin Walters <walters@debian.org> |
3888 | ||
3889 | * update-game-score.c (lock_file): If the lock file is older than | |
3890 | an hour, delete it. Reset attempts to zero if we have to break | |
3891 | the lock. | |
3892 | ||
7605f1bd AS |
3893 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
3894 | ||
3895 | * update-game-score.c (read_score): Fix type of second parameter | |
3896 | of getdelim to be of type size_t instead of int. Use 0 instead of | |
3897 | ESUCCES. | |
3898 | ||
e82defd1 CW |
3899 | 2002-04-10 Colin Walters <walters@verbum.org> |
3900 | ||
ecc54057 | 3901 | * update-game-score.c (toplevel): Include stdarg.h. |
b9b966e0 CW |
3902 | (MAX_DATA_LEN, MAX_SCORES): New. |
3903 | (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined, | |
3904 | default to ~/.emacs.d/games. | |
3905 | (get_user_id): Don't zero uid in the case where we can't get the | |
3906 | username. | |
3907 | (lose): New function. | |
3908 | (main): Actually use `max', and default it to MAX_SCORES. | |
3909 | Correctly handle new default for SCORE_FILE_PREFIX. Use `lose' | |
3910 | function. | |
3911 | (read_score): Handle the case of reading unamelen characters, then | |
3912 | finishing. Use mktemp if mkstemp isn't available. | |
3913 | (lock_file, unlock_file): Delete unused versions. | |
3914 | (lock_file): Always sleep, even if we unlinked the lock file. | |
3915 | ||
e82defd1 CW |
3916 | * Makefile.in (gamedir, gameuser): New variables. |
3917 | (toplevel, UTILITIES): Add update-game-score. | |
3918 | (${archlibdir}): Handle HAVE_SHARED_GAME_DIR. | |
3919 | ||
5795b420 CW |
3920 | 2002-04-07 Colin Walters <walters@verbum.org> |
3921 | ||
3922 | * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode. | |
3923 | (get_user_id): Take struct passwd as an argument. | |
3924 | (get_home_dir): New function. | |
3925 | (main): Read in user information here. Discover home directory if | |
3926 | necessary. | |
3927 | (read_score): Trim newline only in `getline' case. | |
3928 | ||
cd553ffb | 3929 | 2002-04-05 Colin Walters <walters@debian.org> |
c150db23 | 3930 | |
cd553ffb CW |
3931 | * update-game-score.c (toplevel): Include pwd.h. |
3932 | (struct score_entry): Add username field. | |
3933 | (push_score): Use it. | |
3934 | (get_user_id): New function. | |
3935 | (main): Don't malloc excessively. | |
3936 | (main): Use username field. | |
3937 | (read_score): Read it. | |
3938 | (push_score): Handle it. | |
07655e62 | 3939 | (write_scores): Write it. |
c150db23 FP |
3940 | (read_score): Handle arbitrary length data. |
3941 | ||
b74bd4a3 EZ |
3942 | 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il> |
3943 | ||
3944 | * ebrowse.c (add_declarator): Fix the first call to add_member_defn. | |
3945 | ||
fa8bc89d GM |
3946 | 2002-03-29 Gerd Moellmann <gerd@gnu.org> |
3947 | ||
3948 | * ebrowse.c (add_declarator, skip_initializer): New functions. | |
3949 | (declaration): Use them. | |
3950 | ||
dd87b4cc JR |
3951 | 2002-03-28 Jason Rumney <jasonr@gnu.org> |
3952 | ||
3953 | * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp. | |
3954 | ||
cd553ffb CW |
3955 | 2002-03-27 Colin Walters <walters@debian.org> |
3956 | ||
3957 | * update-game-score.c: New file. | |
3958 | ||
dfef6d49 PE |
3959 | 2002-03-22 Paul Eggert <eggert@twinsun.com> |
3960 | ||
3961 | * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of | |
3962 | `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows | |
3963 | the latter usage. | |
3964 | ||
880820fe | 3965 | 2002-03-12 Francesco Potortì <pot@gnu.org> |
a13d6523 | 3966 | |
4fff90e4 | 3967 | * etags.c (Python_functions): Skip spaces at beginning of lines. |
a13d6523 FP |
3968 | (Python_functions, PHP_functions): Name tags, for ctags' sake. |
3969 | (TeX_commands): Name tags. Correction of old disabled code. | |
3970 | ||
3971 | * etags.c (curfiledir, curtagfname): New global variables. | |
e1dbe924 | 3972 | (process_file): Initialize them. |
a13d6523 | 3973 | (readline): Canonicalize the name found in #line directive. |
893a741e | 3974 | |
4fff90e4 | 3975 | 2002-03-06 Jason Rumney <jasonr@gnu.org> |
ca55a1e3 | 3976 | |
893a741e JR |
3977 | * etags.c (put_entries): Use #if !CTAGS, to fix link error on |
3978 | compilers that don't optimize out dead code. | |
3979 | ||
880820fe | 3980 | 2002-03-05 Francesco Potortì <pot@gnu.org> |
51aeded3 | 3981 | |
b9edfa5c | 3982 | * etags.c: Honor #line directives. |
a7c29764 | 3983 | (no_line_directive): New global var; set it for old behavior. |
51aeded3 FP |
3984 | (main): Remove some #ifdef in the getopt switch. |
3985 | (add_node, put_entries): Code added to merge different chunks of | |
3986 | nodes referring to the same file. Currently the tags are just | |
3987 | appended, without any check for duplicates. | |
3988 | (Perl_functions): Do not special case ctags. | |
3989 | (readline): Identify #line directives and do the right thing. | |
3990 | (nocharno, invalidcharno): New global vars. | |
3991 | (process_file): Reset nocharno. | |
3992 | (readline): Set nocharno. | |
3993 | (pfnote): Read nocharno and maybe put invalidcharno in node. | |
3994 | (total_size_of_entries, put_entries): Use invalidcharno. | |
3995 | ||
3996 | * etags.c: Keep the whole tag table in memory, even in etags mode. | |
3997 | (main): Call put_entries here even in CTAGS mode. | |
3998 | (main, process_file): Check the return values of fclose and pclose. | |
3999 | (process_file): Do not call put_entries after parsing each file. | |
333f9019 | 4000 | (process_file): Canonicalize file names even for ctags. |
51aeded3 FP |
4001 | (process_file): Set curfile here... |
4002 | (find_entries): ... not here any more. | |
4003 | (add_node): In etags mode, build a linked list of entries (on | |
4004 | right pointer) for each file, and link the first entry of each | |
4005 | file on left nodes. | |
4006 | (put_entries): Print here the name of the file. | |
4007 | (put_entries): Print the entries starting from the first file. | |
c150db23 | 4008 | (number_len, total_size_of_entries): Define these only in etags |
51aeded3 FP |
4009 | mode, make the second work only on the right nodes. |
4010 | ||
4011 | * etags.c: Make all global variables static. | |
4012 | ||
50ce1f62 JB |
4013 | 2002-02-25 Juanma Barranquero <lektu@terra.es> |
4014 | ||
4015 | * makefile.w32-in (lisp): Add missing backslash. | |
4016 | ||
82a399d2 JR |
4017 | 2002-02-24 Jason Rumney <jasonr@gnu.org> |
4018 | ||
4019 | * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to | |
4020 | using .elc files. | |
c4cc8b9a | 4021 | (lisp): Sync with list in src/Makefile.in. |
82a399d2 JR |
4022 | (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared. |
4023 | ||
a279c920 PE |
4024 | 2002-02-10 Paul Eggert <eggert@twinsun.com> |
4025 | ||
4026 | * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001 | |
4027 | disallows the old syntax. | |
4028 | ||
0caa685d PE |
4029 | 2002-02-03 Paul Eggert <eggert@twinsun.com> |
4030 | ||
d7982012 | 4031 | * rcs2log (Copyright): Update to 2002. |
0caa685d PE |
4032 | (AWK, TMPDIR): Work around portability problem in broken shells that |
4033 | don't understand `: ${VAR=val}'. | |
4034 | (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001. | |
4035 | Prefer the new -k option to the traditional +M -N option. | |
4036 | ||
880820fe | 4037 | 2002-01-01 Pavel JanÃk <Pavel@Janik.cz> |
03950b5b PJ |
4038 | |
4039 | * b2m.c (main): Parenthesize assignment when used as truth value | |
4040 | to prevent gcc warnings. | |
4041 | ||
4042 | * fakemail.c: Include <config.h>. | |
4043 | ||
880820fe | 4044 | 2001-12-29 Pavel JanÃk <Pavel@Janik.cz> |
2f8fe2f4 PJ |
4045 | |
4046 | * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c, | |
4047 | * yow.c: Include <config.h>. | |
4048 | ||
880820fe | 4049 | 2001-12-21 Francesco Potortì <pot@gnu.org> |
a60e4de9 FP |
4050 | |
4051 | * etags.c (Perl_functions): Tag packages and use them in sub tags. | |
4052 | (get_tag): Return a pointer to the tag that is found. | |
4053 | ||
4054 | * etags.c (LOOKING_AT): Use !intoken instead of iswhite. | |
b166dcd8 KC |
4055 | (F_takeprec): Rename from takeprec. All callers changed. |
4056 | (F_getit): Rename from getit. All callers changed. | |
4057 | (nocase_tail): Rename from tail. All callers changed. | |
4058 | (Ada_getit): Rename from adagetit. All callers changed. | |
eec54bd7 | 4059 | (L_getit): Simplify by using get_tag. |
a60e4de9 FP |
4060 | (Perl_functions, Postscript_functions, erlang_attribute): Use the |
4061 | modified LOOKING_AT. | |
e1dbe924 | 4062 | (notinname): Remove '[' and added ')' to the recognized chars. |
a60e4de9 FP |
4063 | (LOOKING_AT, get_tag, PHP_functions): Use notinname. |
4064 | (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): | |
4065 | Clarified, using strneq or notinname. | |
61b108cc | 4066 | (L_isdef, L_isquote): Remove. |
a60e4de9 FP |
4067 | (Lisp_functions, L_getit): Clarified. |
4068 | ||
b166dcd8 | 4069 | * etags.c (P_): Rename to __P for consistency with config.h. |
a60e4de9 FP |
4070 | [HAVE_CONFIG_H]: Let config.h deal with __P. |
4071 | [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h. | |
4072 | [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because | |
4073 | gperf code needs it. | |
ecc54057 JB |
4074 | [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs). |
4075 | [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs). | |
a60e4de9 FP |
4076 | (xmalloc, xrealloc): Use PTR instead of long *. |
4077 | (bool): Make it a define, not a typedef, for C++ compilers. | |
4078 | (pattern): Members renamed to avoid name clash in some C++ compilers. | |
4079 | (get_language_from_langname): Use const argument. | |
4080 | ||
880820fe | 4081 | 2001-12-22 Pavel JanÃk <Pavel@Janik.cz> |
c95eaa61 PJ |
4082 | |
4083 | * makefile.nt, makefile.w32-in: Remove mocklisp files. | |
4084 | ||
880820fe | 4085 | 2001-12-19 Pavel JanÃk <Pavel@Janik.cz> |
69bfc389 | 4086 | |
b8509940 PJ |
4087 | * emacsserver.c: Conditionally include config.h. |
4088 | ||
594aa066 PJ |
4089 | * fakemail.c: Likewise. |
4090 | ||
e69233c2 PJ |
4091 | * emacsclient.c: Include "config.h", not <../src/config.h>. |
4092 | (main): Parenthesize assignment when used as truth value to | |
4093 | prevent gcc warnings. | |
4094 | ||
69bfc389 PJ |
4095 | * ebrowse.c: Include stdlib.h and string.h conditionally. |
4096 | ||
e4e34e31 EZ |
4097 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
4098 | ||
4099 | * yow.c (main): Use time_t, not long, to avoid a compiler warning. | |
4100 | ||
880820fe | 4101 | 2001-12-18 Pavel JanÃk <Pavel@Janik.cz> |
ffb7c9c6 PJ |
4102 | |
4103 | * test-distrib.c: Fix previous change. | |
4104 | ||
fb5aa7ac DL |
4105 | 2001-12-18 Dave Love <fx@gnu.org> |
4106 | ||
4107 | * test-distrib.c: Conditionally include fcntl.h. | |
4108 | ||
4109 | * fakemail.c: Include "config.h", not <../src/config.h>. | |
4110 | (_XOPEN_SOURCE): Define as 500. | |
4111 | ||
4112 | * emacsserver.c: Include "config.h", not <../src/config.h>. | |
4113 | ||
4114 | * cvtmail.c: Include config.h, stdlib.h. | |
4115 | (xmalloc, xrealloc, skip_to_lf sysfail): Prototype. | |
4116 | ||
4117 | * yow.c: Conditionally include various headers. Use "epaths.h", | |
4118 | not <../src/epaths.h>. | |
4119 | (malloc, realloc) [!HAVE_STDLIB_H]: Prototype. | |
4120 | ||
880820fe | 4121 | 2001-12-12 Francesco Potortì <pot@gnu.org> |
e94a3679 | 4122 | |
13dc0576 | 4123 | * etags.c (PHP_functions): New function for parsing PHP. |
e94a3679 FP |
4124 | (LOOKING_AT): New macro. |
4125 | (Perl_functions, Python_functions, PHP_functions) | |
4126 | (Scheme_functions, Texinfo_nodes): Use it. | |
4127 | (Perl_functions): Use strneq. | |
b166dcd8 | 4128 | (prolog_pred): Rename to prolog_pr. |
e1dbe924 | 4129 | (prolog_pr): Recognize Prolog rules in addition to predicates. |
e94a3679 | 4130 | [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent |
13dc0576 | 4131 | unmodified compile, as Cygwin's regex.h is incompatible with us. |
e94a3679 FP |
4132 | [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string. |
4133 | ||
34e39c95 RS |
4134 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
4135 | ||
4136 | * Makefile.in (clean): Don't delete ../etc/DOC*. | |
4137 | ||
880820fe | 4138 | 2001-12-11 Pavel JanÃk <Pavel@Janik.cz> |
296071e7 PJ |
4139 | |
4140 | * COPYING: Moved back. | |
4141 | ||
76054cc8 AI |
4142 | 2001-11-30 Andrew Innes <andrewi@gnu.org> |
4143 | ||
35e951cd JB |
4144 | * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT) |
4145 | (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files, | |
4146 | to simplify bootstrapping. | |
76054cc8 AI |
4147 | ($(DOC)): Change dependency to just `make-docfile'. |
4148 | ||
880820fe | 4149 | 2001-11-29 Pavel JanÃk <Pavel@Janik.cz> |
0142178a PJ |
4150 | |
4151 | * COPYING: Removed. | |
4152 | ||
e8d6a09b PE |
4153 | 2001-11-28 Paul Eggert <eggert@twinsun.com> |
4154 | ||
4155 | * rcs2log (Copyright): Add '(C)' as per coding guidelines. | |
4156 | ||
4157 | The following changes are derived from suggestions by Bob Chapman | |
4158 | <rechapman@compuserve.com>. | |
4159 | ||
4160 | * rcs2log (printlogline): Also allow tab and newline to separate | |
4161 | '(function):' from the rest of a comment. | |
4162 | (reformat the sorted log entries): Require date and author to | |
4163 | match the clumpname. | |
4164 | ||
9a190096 GM |
4165 | 2001-11-16 Gerd Moellmann <gerd@gnu.org> |
4166 | ||
4167 | * ebrowse.c (matching_regexp): Escape '\\'. | |
4168 | ||
880820fe | 4169 | 2001-11-15 Pavel JanÃk <Pavel@Janik.cz> |
8ec1b917 PJ |
4170 | |
4171 | * Makefile.in: Add support for --program-prefix, --program-suffix | |
4172 | and --program-transform-name options. | |
4173 | ||
6d8f7d5d RS |
4174 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
4175 | ||
4176 | * cvtmail.c (xrealloc): Always pass two args to `fatal'. | |
4177 | ||
4178 | * movemail.c (popmail): Always pass two args to `error'. | |
4179 | ||
84e70f78 KR |
4180 | 2001-10-24 Ken Raeburn <raeburn@gnu.org> |
4181 | ||
4182 | * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include | |
4183 | -lhesiod and maybe -lresolv. | |
4184 | (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos | |
4185 | support if it's available. | |
4186 | ||
386ca361 MB |
4187 | 2001-10-21 Miles Bader <miles@gnu.org> |
4188 | ||
a3b10252 MB |
4189 | * make-docfile.c (struct rcsoc_state): New type. |
4190 | (read_c_string_or_comment): Add SAW_USAGE | |
386ca361 | 4191 | parameter, and implement scanning for a `usage:' keyword. |
a3b10252 MB |
4192 | Use a variable of type `rcsoc_state' to hold most of our state. |
4193 | (put_char): Add STATE parameter, and remove all other parameters | |
4194 | except CH. Use STATE to get access to all needed state. | |
4195 | (scan_keyword_or_put_char): New function. | |
386ca361 MB |
4196 | (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment. |
4197 | Don't output a usage-string if there was one in the doc-string. | |
4198 | ||
71431a0e GM |
4199 | 2001-10-20 Gerd Moellmann <gerd@gnu.org> |
4200 | ||
6aa97356 | 4201 | * (Version 21.1 released.) |
71431a0e | 4202 | |
880820fe | 4203 | 2001-10-19 Pavel JanÃk <Pavel@Janik.cz> |
37a9305e PJ |
4204 | |
4205 | * b2m.c: Properly spell the name of Emacs. | |
4206 | ||
945220bd MB |
4207 | 2001-10-17 Miles Bader <miles@gnu.org> |
4208 | ||
4209 | * make-docfile.c (put_char): New function. | |
4210 | (read_c_string_or_comment): Strip trailing spaces and newlines. | |
4211 | ||
14242528 MB |
4212 | 2001-10-16 Miles Bader <miles@gnu.org> |
4213 | ||
4214 | * make-docfile.c (scan_c_file): Handle `new style' doc strings in | |
4215 | comments [with `doc:' keyword prefix]. | |
4216 | ||
9f5eb4a3 GM |
4217 | 2001-10-15 Gerd Moellmann <gerd@gnu.org> |
4218 | ||
4219 | * make-docfile.c (read_c_string_or_comment): Don't drop a '*' | |
4220 | in a C doc comment. | |
4221 | ||
e641b454 GM |
4222 | 2001-10-13 Gerd Moellmann <gerd@gnu.org> |
4223 | ||
b166dcd8 | 4224 | * make-docfile.c (read_c_string_or_comment): Rename from |
e641b454 GM |
4225 | read_c_string. Add parameter COMMENT. Read C-style comments. |
4226 | (scan_c_file): Handle doc strings in C comments. | |
4227 | ||
967d7793 AI |
4228 | 2001-10-12 Andrew Innes <andrewi@gnu.org> |
4229 | ||
4230 | * makefile.nt (ALL): Do not include fakemail. | |
4231 | ||
4232 | * makefile.w32-in (install): Do not copy fakemail. | |
4233 | ||
d682756a JR |
4234 | 2001-10-10 Jason Rumney <jasonr@gnu.org> |
4235 | ||
07655e62 | 4236 | * makefile.w32-in (ALL): Do not include fakemail. |
d682756a | 4237 | |
07655e62 | 4238 | * makefile.nt (install): Ditto. |
d682756a | 4239 | |
14a3dff7 GM |
4240 | 2001-10-09 Gerd Moellmann <gerd@gnu.org> |
4241 | ||
4242 | * emacsserver.c (main): Cast geteuid in sprintf to int. | |
14a3dff7 | 4243 | |
95bc7904 | 4244 | * emacsclient.c (main): Cast isdigit argument to unsigned char. |
14a3dff7 | 4245 | |
880820fe | 4246 | 2001-10-07 Pavel JanÃk <Pavel@Janik.cz> |
f98d41f5 PJ |
4247 | |
4248 | * profile.c: Include config.h, not ../src/config.h. | |
4249 | Include systime.h, not ../src/systime.h. | |
4250 | ||
ab952a4f GM |
4251 | 2001-10-05 Gerd Moellmann <gerd@gnu.org> |
4252 | ||
4253 | * Branch for 21.1. | |
dff28924 | 4254 | |
12c64503 GM |
4255 | 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru> |
4256 | ||
4257 | * ebrowse.c (struct alias): Add two new struct members: NAMESP and | |
4258 | ALIASEE to help work with namespace aliases. | |
4259 | (struct sym): Remove struct member NAMESP_ALIASES. | |
4260 | (namespace_alias_table): New variable. | |
4261 | (make_namespace): Add parameter CONTEXT. | |
4262 | (check_namespace): New function. | |
4263 | (find_namespace): Add parameter CONTEXT. | |
4264 | (check_namespace_alias): New function. | |
02ce3e80 SM |
4265 | (register_namespace_alias): Change type of parameter OLD_NAME. |
4266 | Search for already defined alias in NAMESPACE_ALIAS_TABLE. | |
12c64503 GM |
4267 | (check_namespace): New function. |
4268 | (enter_namespace): Call find_namespace with CONTEXT parameter. | |
4269 | (match_qualified_namespace_alias): New function. | |
eec54bd7 | 4270 | (parse_qualified_ident_or_type): Fix typo in comment. |
02ce3e80 | 4271 | While parsing qualified ident or type update namespace context and |
12c64503 | 4272 | restore it on exit. |
eec54bd7 SM |
4273 | (parse_qualified_param_ident_or_type): Fix typo in comment. |
4274 | (globals): Change handling of namespace aliases. | |
4275 | (version): Add year 2001. | |
12c64503 | 4276 | |
990e1190 FP |
4277 | 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il> |
4278 | ||
4279 | * etags.c (analyse_regex): If regex_arg is NULL, return | |
4280 | immediately after a call to free_patterns. | |
4281 | ||
f2e7e23e AS |
4282 | 2001-09-05 Paul Eggert <eggert@twinsun.com> |
4283 | ||
4284 | * rcs2log (Help, mainline code): Add new option -L FILE. | |
4285 | (Copyright): Update year. | |
02ce3e80 SM |
4286 | (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES) |
4287 | (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the | |
f2e7e23e AS |
4288 | C locale. |
4289 | (mainline code): Handle nonstandard -u option differently, by | |
4290 | transforming it to standard form. Check for "Working file: ", not | |
4291 | "Working file:". Allow file names with spaces. | |
4292 | (SOH, rlogfile): New shell vars. | |
dff28924 | 4293 | (rlogout): Remove. Its old functionality is mostly migrated to |
f2e7e23e AS |
4294 | rlogfile. |
4295 | ||
4296 | Append ';;' to the last arm of every case statement, for | |
4297 | portability to ancient broken BSD shells. | |
4298 | ||
02ce3e80 | 4299 | (logins): Fix bug; was not being computed at all, lowering performance. |
f2e7e23e AS |
4300 | (pository): New var. This fixes some bugs where repositories are |
4301 | remote, or have trailing slashes. | |
02ce3e80 | 4302 | (authors): $llogout is never an empty shell var, so don't worry |
f2e7e23e | 4303 | about that possibility. |
dff28924 | 4304 | (printlogline, mainline code): Fix bug with SOH's being put into |
f2e7e23e | 4305 | the output. |
dff28924 | 4306 | |
75c911eb EZ |
4307 | 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il> |
4308 | ||
4309 | * ebrowse.c (SEEK_END): #define if not defined by system headers. | |
4310 | Suggested by Dave Love <d.love@dl.ac.uk>. | |
4311 | ||
5ae10f4a EZ |
4312 | 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il> |
4313 | ||
4314 | * makefile.nt (lisp): Synchronize with src/Makefile.in. | |
4315 | * makefile.w32-in (lisp): Ditto. | |
4316 | ||
0e4011d8 | 4317 | 2001-07-25 Juanma Barranquero <lektu@terra.es> |
e743f599 GM |
4318 | |
4319 | * grep-changelog (parse_changelog): Remove unused local variable. | |
4320 | ||
4321 | * grep-changelog (main): Add new option --reverse. | |
4322 | (print_log): Use it. | |
4323 | (parse_changelog): Use it. | |
4324 | ||
3c88ae74 GM |
4325 | 2001-07-20 Gerd Moellmann <gerd@gnu.org> |
4326 | ||
4327 | * grep-changelog: Remove RCS Id keyword. | |
4328 | ||
41848daa GM |
4329 | 2001-07-20 Juanma Barranquero <lektu@terra.es> |
4330 | ||
6e07c0a5 GM |
4331 | * grep-changelog (parse_changelog): Add tests for defined values |
4332 | to quiet warning from Perl 5.005 or above. | |
177ab8ce | 4333 | (entry_match_p, header_match_p): Fix handling of null or empty |
0e4011d8 GM |
4334 | argument to prevent duplicate headers. |
4335 | ||
4336 | * grep-changelog (main, parse_changelog): Make "use strict"-clean. | |
41848daa | 4337 | |
467f1209 GM |
4338 | 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org> |
4339 | ||
4340 | * emacsclient.c (print_help_and_exit): Fix help message for | |
4341 | +LINE:COLUMN option. | |
4342 | ||
4343 | 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl> | |
990e1190 | 4344 | |
467f1209 GM |
4345 | * emacsclient.c (main): Add support for +LINE:COLUMN command line |
4346 | argument. | |
4347 | ||
bb24c64f GM |
4348 | 2001-07-16 Gerd Moellmann <gerd@gnu.org> |
4349 | ||
4350 | * ebrowse.c (main): Check that the output file exists and | |
4351 | is non-empty if invoked with `--append'. | |
4352 | ||
880820fe | 4353 | 2001-05-14 Francesco Potortì <pot@gnu.org> |
fa829470 | 4354 | |
e335b66a GM |
4355 | * etags.c (add_regex): Reset the whole newly allocated pattern |
4356 | buffer instead of the individual members. It's safer and works | |
ecc54057 | 4357 | with XEmacs. |
fa829470 | 4358 | |
e335b66a | 4359 | * etags.1: Markups corrected. |
fa829470 | 4360 | |
6da5c7da GM |
4361 | 2001-05-08 Gerd Moellmann <gerd@gnu.org> |
4362 | ||
02ce3e80 | 4363 | * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack. |
6da5c7da | 4364 | |
efbecf9d GM |
4365 | 2001-05-03 Gerd Moellmann <gerd@gnu.org> |
4366 | ||
4367 | * ebrowse.c (globals): Fix handling of namespace aliases. | |
4368 | ||
f4976ebc EZ |
4369 | 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il> |
4370 | ||
4371 | * etags.c (print_help): Enclose the regexp in the help text | |
4372 | example in quotes. | |
4373 | ||
23431241 DL |
4374 | 2001-04-05 Dave Love <fx@gnu.org> |
4375 | ||
4376 | * emacsclient.c (fail): Don't return a value. | |
fa829470 | 4377 | (main): Cast uid values for sprintf. |
23431241 | 4378 | |
476bf681 GM |
4379 | 2001-04-03 Gerd Moellmann <gerd@gnu.org> |
4380 | ||
b3f6107b GM |
4381 | * emacsclient.c (fail, main): Don't use implicit int return type. |
4382 | ||
476bf681 GM |
4383 | * b2m.c (main): Always return a value. |
4384 | ||
ef53d75e GM |
4385 | 2001-03-02 Gerd Moellmann <gerd@gnu.org> |
4386 | ||
4387 | * ebrowse.c (parse_qualified_param_ident_or_type): Return a | |
4388 | freshly allocated object in *LAST_ID. | |
4389 | (read_line): Accept \r\n line endings. | |
4390 | ||
425de386 AI |
4391 | 2001-02-24 Andrew Innes <andrewi@gnu.org> |
4392 | ||
4393 | * makefile.w32-in: Fix copyright notice. | |
4394 | ||
880820fe | 4395 | 2001-02-23 Francesco Potortì <pot@gnu.org> |
f55ae599 FP |
4396 | |
4397 | * etags.c (enum sym_type): New label st_C_template. | |
4398 | (gperf input): Use it for switching to C++ from C. | |
4399 | (consider_token): Do it. | |
e1dbe924 | 4400 | (C_entries): Initialize typdefcblev to quiet compilers. |
c2a642c0 | 4401 | [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing. |
f55ae599 | 4402 | |
f6839838 AI |
4403 | 2001-02-22 Andrew Innes <andrewi@gnu.org> |
4404 | ||
4405 | * makefile.nt ($(BLD)\movemail.obj): Remove reference to | |
4406 | VMS header files. | |
4407 | ($(BLD)\profile.obj): Ditto. | |
4408 | ||
4409 | * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to | |
4410 | VMS header files. | |
4411 | ($(BLD)/profile.$(O)): Ditto. | |
4412 | ||
193fba87 AI |
4413 | 2001-02-05 Andrew Innes <andrewi@gnu.org> |
4414 | ||
4415 | * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in | |
4416 | invocation of make-docfile, to work with Windows 2000. | |
4417 | ||
30526cc6 DL |
4418 | 2001-01-31 Dave Love <fx@gnu.org> |
4419 | ||
4420 | * etags.c (in_word_set): Use `static' in definition (for pcc). | |
4421 | ||
880820fe | 4422 | 2001-01-31 Francesco Potortì <pot@gnu.org> |
8f79fe72 | 4423 | |
ecc54057 | 4424 | * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for |
8f79fe72 FP |
4425 | the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc). |
4426 | (C_entries): Tag token renamed to still_in_token because sunos4 | |
4427 | pcc wants to expand it as the token() macro even though it has no | |
4428 | arguments. | |
4429 | ||
914d7258 AI |
4430 | 2001-01-30 Andrew Innes <andrewi@gnu.org> |
4431 | ||
4432 | * etags.c (assert) [__MINGW32__]: Redefine assert to work around a | |
4433 | bug in the Mingw32 assert.h header file. | |
4434 | ||
880820fe | 4435 | 2001-01-30 Francesco Potortì <pot@gnu.org> |
b28e26be | 4436 | |
ecc54057 JB |
4437 | * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and |
4438 | #define it for the sake of XEmacs. | |
b28e26be FP |
4439 | [WINDOWSNT]: #undef HAVE_NTGUI even if built without |
4440 | HAVE_CONFIG_H. This change only affects a standalone etags. | |
4441 | [WINDOWSNT]: #undef DOS_NT and #define it even if built with | |
4442 | HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is | |
4443 | always defined when HAVE_CONFIG_H and WINDOWS are both defined. | |
2f2c687b | 4444 | [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare |
b28e26be FP |
4445 | WINDOWSNT, as this is the correct way to use it. |
4446 | ||
880820fe | 4447 | 2001-01-28 Francesco Potortì <pot@gnu.org> |
8c463abe FP |
4448 | |
4449 | * etags.c: Be capable to parse nested struct-like structures. | |
4450 | (structdef, structtag): Struct state machine revisited. | |
4451 | (struct tok): Revisited. | |
4452 | (cstack, nestlev, instruct): New struct and macros. | |
4453 | (pushclass_above, popclass_above, write_classname): New functions | |
13dc0576 | 4454 | for dealing with nested class names. |
8c463abe FP |
4455 | (consider_token, make_C_tag, C_entries): Many changes for dealing |
4456 | with arbitrarily nested structures. | |
4457 | (etags_getcwd): #if MSDOS, not #ifdef MSDOS! | |
4458 | (C_entries): Consider templates in C++. | |
4459 | (sym_type): New constant st_C_class for detecting "class" also in | |
4460 | C mode. | |
4461 | (C_AUTO): New macro for automatic detection of C++. | |
4462 | (consider_token): Automatic set C++ mode. | |
4463 | (C_entries): New security check for yacc. | |
4464 | (print_language_names, print_help): Mention the autodetect | |
07655e62 | 4465 | feature, do not show help for the -C option, now mostly useless. |
8c463abe FP |
4466 | (C_entries): Tag C++ forward declarations if --declarations. |
4467 | (C_entries): Don't be fooled by things like XDEFUN. | |
4468 | (consider_token): Discard asm pseudo function. | |
4469 | ||
e26f9ced EZ |
4470 | 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
4471 | ||
4472 | * etags.c: Add a coding: tag. | |
4473 | ||
a47b7816 GM |
4474 | 2001-01-26 Gerd Moellmann <gerd@gnu.org> |
4475 | ||
8c463abe | 4476 | * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf): |
a47b7816 GM |
4477 | New variables. |
4478 | (matching_regexp): Use them instead of static variables in | |
4479 | function scope. | |
4480 | ||
880820fe | 4481 | 2001-01-25 Francesco Potortì <pot@gnu.org> |
d22a24fa | 4482 | |
b166dcd8 KC |
4483 | * etags.c (struct tok): Rename from struct token. |
4484 | (token): Rename from tok. | |
d22a24fa FP |
4485 | (structtype): Make it a local variable. |
4486 | [DEBUG]: Use assert. | |
4487 | (xrnew): Change the synopsis. | |
b166dcd8 | 4488 | (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus. |
d22a24fa | 4489 | (grow_linebuffer): Don't call xrnew when not needed. |
02ce3e80 | 4490 | (token): Buffer renamed to line. |
d22a24fa | 4491 | (C_entries): Three calls to inibuffer moved here from main. |
eec54bd7 | 4492 | (C_entries): Remove all references to var methodlen, delete it. |
d22a24fa FP |
4493 | (linebuffer_setlen): Was grow_buffer, now also sets len. |
4494 | (consider_token, C_entries, Pascal_functions): Use it. | |
4495 | (C_entries): Preventing problems relative to extern "C". | |
4496 | (C_entries): Can tag more than one variable or func separated by | |
4497 | comma when --declarations is used. | |
4498 | (C_entries): More accurate tagging of members and declarations. | |
4499 | (yacc_rules): Was global, made local to C_entries. | |
61b108cc | 4500 | (next_token_is_func): Remove. |
d22a24fa FP |
4501 | (fvdef): New constants fdefunkey, fdefunname. |
4502 | (consider_token, C_entries): Use them. | |
4503 | (C_entries): Build proper lisp names for Emacs DEFUNs. | |
4504 | ||
21c2bbe0 GM |
4505 | 2001-01-22 Gerd Moellmann <gerd@gnu.org> |
4506 | ||
4507 | * ebrowse.c (xfree): New function. | |
4508 | (member, declaration, globals): Use xmalloc instead of alloca. | |
4509 | ||
880820fe | 4510 | 2001-01-15 Francesco Potortì <pot@gnu.org> |
83be933c FP |
4511 | |
4512 | * etags.c (print_language_names): Print filenames in addition to | |
4513 | suffixes. | |
4514 | ||
880820fe | 4515 | 2001-01-14 Francesco Potortì <pot@gnu.org> |
47df1a5e | 4516 | |
b166dcd8 | 4517 | * etags.c (get_language_from_langname): Rename from |
47df1a5e | 4518 | get_language_from_name. |
b166dcd8 | 4519 | (get_language_from_filename): Rename from get_language_from_suffix. |
eec54bd7 | 4520 | Now first looks for the complete file name. |
47df1a5e EZ |
4521 | (language): New member char **filenames. |
4522 | (Makefile_filenames): List of possible filenames for makefiles. | |
eec54bd7 | 4523 | (lang_names): Add a NULL member for every entry, added an entry |
47df1a5e | 4524 | for makefiles. |
13dc0576 | 4525 | (Makefile_targets): New function. |
c5e87d10 | 4526 | (Texinfo_nodes): Rename from Texinfo_functions and made |
47df1a5e EZ |
4527 | it conformant to the style of the rest of the code. |
4528 | ||
291c7e74 GM |
4529 | 2001-01-13 Gerd Moellmann <gerd@gnu.org> |
4530 | ||
4531 | * make-docfile.c (write_c_args): Print newlines as spaces. | |
4532 | ||
0dac6924 AI |
4533 | 2001-01-06 Andrew Innes <andrewi@gnu.org> |
4534 | ||
4535 | * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead | |
4536 | of *.pdb. | |
4537 | ||
3e99d3b4 GM |
4538 | 2001-01-03 Paul Eggert <eggert@twinsun.com> |
4539 | ||
290afd83 | 4540 | * rcs2log: Avoid security hole allowing attacker to |
3e99d3b4 GM |
4541 | cause user of rcs2log to overwrite arbitrary files, fixing |
4542 | a bug reported by Morten Welinder. | |
4543 | ||
4544 | Don't put "exit 1" at the end of the exit trap; it's | |
4545 | ineffective in POSIX shells. | |
4546 | ||
d6bb0c0d GM |
4547 | 2001-01-02 Gerd Moellmann <gerd@gnu.org> |
4548 | ||
eec54bd7 SM |
4549 | * ebrowse.c (yyerror): Change to take two arguments. |
4550 | Add prototype. Change callers. | |
d6bb0c0d | 4551 | |
d5c00476 | 4552 | 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
315f5865 EZ |
4553 | |
4554 | * ebrowse.c (enter_namespace, main): Cast variables to shut up | |
4555 | compiler warnings. | |
4556 | (yyerror): Change parameter declarations to be of type long, so | |
4557 | that they can take pointers on 64-bit platforms. | |
4558 | ||
4559 | * emacsclient.c (main): Remove unused local variable statbfr. | |
4560 | (main) <homedir>: Make its declaration conditional on | |
4561 | SERVER_HOME_DIR, to avoid compiler warnings. | |
4562 | ||
4563 | * emacsserver.c (main) <homedir>: Make its declaration conditional | |
4564 | on SERVER_HOME_DIR, to avoid compiler warnings. | |
4565 | ||
4566 | * fakemail.c (readline): Cast buffer to "long *" to pacify | |
4567 | over-zealous compilers. | |
4568 | ||
7c89ea61 EZ |
4569 | 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il> |
4570 | ||
4571 | * etags.c (canonicalize_filename) [DOS_NT]: Fix last change. | |
4572 | ||
a6768cc5 GM |
4573 | 2000-12-15 Gerd Moellmann <gerd@gnu.org> |
4574 | ||
4575 | * ebrowse.c (operator_name): Cast argument of isalpha to | |
4576 | unsigned char. | |
4577 | ||
4578 | * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros. | |
4579 | Use them throughout instead of ctype functions/macros. | |
4580 | (lowcase): Cast to unsigned char. | |
4581 | (UPCASE): New macro. | |
4582 | (canonicalize_filename): Use UPCASE instead toupper. | |
4583 | ||
4584 | * fakemail.c (get_keyword): Make sure that isspace and | |
4585 | similar aren't called with a negative argument. | |
4586 | ||
70de49cc DL |
4587 | 2000-12-13 Dave Love <fx@gnu.org> |
4588 | ||
4589 | * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call. | |
4590 | ||
4e8b894c AI |
4591 | 2000-12-06 Andrew Innes <andrewi@gnu.org> |
4592 | ||
4593 | * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we | |
4594 | don't know the real version, and I can't seem to get the quoting | |
4595 | right in all circumstances. | |
4596 | ||
4597 | * ebrowse.c (VERSION): Provide default definition, like etags.c | |
4598 | does, because Windows build can't snarf this from version.el. | |
4599 | ||
88257bc8 AI |
4600 | 2000-11-30 Andrew Innes <andrewi@gnu.org> |
4601 | ||
4602 | * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces. | |
4603 | (install): Ditto. | |
4604 | ||
d19249e7 JR |
4605 | 2000-11-23 Jason Rumney <jasonr@gnu.org> |
4606 | ||
4607 | * makefile.w32-in: Add targets for ebrowse.exe. | |
4608 | (LOCAL_FLAGS): Add -DVERSION flag. | |
4609 | ||
7df6adc3 DL |
4610 | 2000-09-25 Dave Love <fx@gnu.org> |
4611 | ||
4612 | * sorted-doc.c: Include config.h. | |
4613 | [!HAVE_STDLIB_H]: Declare malloc. | |
4614 | ||
fe83b953 AI |
4615 | 2000-09-14 Andrew Innes <andrewi@gnu.org> |
4616 | ||
4617 | * makefile.w32-in: Revert to Unix line endings. | |
4618 | ||
517699ca DL |
4619 | 2000-09-04 Dave Love <fx@gnu.org> |
4620 | ||
4621 | * movemail.c (index, rindex): Prototype conditionally. | |
4622 | ||
f8803e97 AI |
4623 | 2000-09-03 Andrew Innes <andrewi@gnu.org> |
4624 | ||
4625 | * makefile.w32-in: Change to DOS line endings. | |
4626 | ||
f72adc12 EZ |
4627 | 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il> |
4628 | ||
4034f3a8 | 4629 | * movemail.c (toplevel): Remove redundant fcntl.h. |
f72adc12 EZ |
4630 | [!F_OK]: Provide default definitions only after including both |
4631 | fcntl.h and unistd.h. | |
4632 | ||
f678f592 DL |
4633 | 2000-08-29 Dave Love <fx@gnu.org> |
4634 | ||
4635 | * movemail.c: Revert previous change. | |
4636 | ||
5b671d04 EZ |
4637 | 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il> |
4638 | ||
4639 | * Makefile.in (profile, make-docfile, hexl): Depend on config.h. | |
4640 | ||
6fa86045 DL |
4641 | 2000-08-28 Dave Love <fx@gnu.org> |
4642 | ||
4643 | * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h. | |
4644 | (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
4645 | ||
746d9caf AI |
4646 | 2000-08-22 Andrew Innes <andrewi@gnu.org> |
4647 | ||
4648 | * ntlib.h (WIN32): Remove unnecessary definition. | |
4649 | (sleep): Make argument unsigned long. | |
4650 | (_WINSOCK_H): Undefine so normal winsock definitions can be used. | |
4651 | ||
4652 | * ntlib.c (sleep): Make argument unsigned long. | |
4653 | ||
4654 | * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio. | |
4655 | ||
4656 | * makefile.w32-in: New file. | |
4657 | ||
3b541489 EZ |
4658 | 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il> |
4659 | ||
4660 | * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first | |
4661 | letter only if it is a drive letter. | |
4662 | ||
e5acf0ca GM |
4663 | 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
4664 | ||
b166dcd8 | 4665 | * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc. |
e5acf0ca GM |
4666 | |
4667 | * etags.c (xmalloc, xrealloc): Make externally visible, for use | |
4668 | by alloca.o. | |
4669 | ||
02ce3e80 | 4670 | * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc. |
e5acf0ca | 4671 | |
4b92c49a GM |
4672 | 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
4673 | ||
4674 | * ebrowse.c (yylex): Accept string literals with newlines in them. | |
4675 | (process_pp_line): Handle case of string literal with newline | |
4676 | in it in replacement text, which counts as continuing the | |
4677 | replacement text in GNU C. | |
4678 | ||
831a6cb0 GM |
4679 | 2000-07-02 Gerd Moellmann <gerd@gnu.org> |
4680 | ||
4681 | * ebrowse.c (token_string): Add missing tokens. | |
4682 | (parm_list): Handle case of qualified pointers. | |
4683 | ||
53245ee2 DL |
4684 | 2000-06-23 Dave Love <fx@gnu.org> |
4685 | ||
4686 | * ebrowse.c: Move config.h before other includes (which may use | |
4687 | feature tests). | |
4688 | ||
dcbf2cd2 JM |
4689 | 2000-06-14 Jim Meyering <meyering@lucent.com> |
4690 | ||
4691 | * grep-changelog: Fix typos in comments. Remove trailing blanks. | |
4692 | ||
f1c7754a JR |
4693 | 2000-06-11 Jason Rumney <jasonr@gnu.org> |
4694 | ||
4695 | * makefile.nt: Add targets for ebrowse. | |
4696 | ||
4697 | * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to | |
4698 | compare filenames. | |
4699 | ||
5f1aea9a GM |
4700 | 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
4701 | ||
b166dcd8 KC |
4702 | * ebrowse.c (ymalloc): Rename from xmalloc. |
4703 | (yrealloc): Rename from xrealloc. | |
5f1aea9a | 4704 | |
5bf244f1 DL |
4705 | 2000-05-21 Dave Love <fx@gnu.org> |
4706 | ||
4707 | * movemail.c: Include config.h, not ../src/config.h. | |
4708 | (Errmsg): Bump length. | |
4709 | ||
4710 | * pop.c (ERROR_MAX): Increase to 160. | |
4711 | ||
ec82fb2f GM |
4712 | 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
4713 | ||
4714 | * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'. | |
4715 | ||
5c922ea7 EZ |
4716 | 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il> |
4717 | ||
02ce3e80 SM |
4718 | * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: |
4719 | Define to semi-colon. | |
5c922ea7 | 4720 | (FILENAME_EQ): New macro, for comparing file names. |
02ce3e80 | 4721 | (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ. |
5c922ea7 EZ |
4722 | (process_file): Don't assume that fread always reads as many bytes |
4723 | as it was told to (DOS-style CR-LF text files fail this logic). | |
4724 | (open_file): Allocate enough space for path->path plus the file | |
4725 | name and the slash. | |
4726 | ||
6142fdcb | 4727 | 2000-04-19 Dave Love <fx@gnu.org> |
97052c63 DL |
4728 | |
4729 | * etags.c (Texinfo_functions): New function. | |
4730 | (lang_names): Install it. | |
4731 | (Texinfo_suffixes): New variable. | |
4732 | ||
cb9215e4 GM |
4733 | 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
4734 | ||
4735 | * ebrowse.c (xmalloc, xrealloc): Rewritten. | |
4736 | (declaration): Remove parameter IS_EXTERN. | |
4737 | (class_definition): Remove unused variable. | |
4738 | ||
be0dbdab GM |
4739 | 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
4740 | ||
4741 | * Makefile.in (INSTALLABLES): Add ebrowse. | |
4742 | (ebrowse): New target. | |
4743 | ||
4744 | * ebrowse.c: New file. | |
4745 | ||
c5aa0fc2 AS |
4746 | 2000-03-29 Andreas Schwab <schwab@suse.de> |
4747 | ||
4748 | * make-docfile.c (scan_lisp_file): Also look for `defsubst'. | |
4749 | ||
d054101f GM |
4750 | 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
4751 | ||
07e99590 | 4752 | * etags.c (lisp_suffixes): Add `LSP'. |
d054101f | 4753 | |
880820fe | 4754 | 2000-02-10 Francesco Potortì <pot@gnu.org> |
71cbb895 | 4755 | |
eec54bd7 | 4756 | * etags.c (iswhite): Redefine not to consider '\0' as white |
71cbb895 FP |
4757 | space, and use it throughout in place of isspace, thus preventing a |
4758 | potential signed char to int conversion problem. | |
10d1d0af | 4759 | (MSDOS): #undefine before redefining. |
71cbb895 | 4760 | |
880820fe | 4761 | 2000-02-04 Francesco Potortì <pot@gnu.org> |
71cbb895 FP |
4762 | |
4763 | * etags.c (many functions): Add prototypes. | |
4764 | ||
97fa0cc8 DL |
4765 | 2000-02-10 Dave Love <fx@gnu.org> |
4766 | ||
4767 | * etags.c (pfnote, new_pfnote, C_entries, prolog_pred) | |
4768 | (erlang_func): Add `static' to definitions to keep pcc happy. | |
4769 | ||
880820fe | 4770 | 2000-01-31 Francesco Potortì <pot@gnu.org> |
e4100b7f FP |
4771 | |
4772 | * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise. | |
4773 | (get_compressor_from_suffix, process_file): Use MSDOS in if clause. | |
4774 | (etags_strchr, etags_strrchr): Use const char * and int as arguments. | |
4775 | (getenv, getcwd): Only declare them if necessary. | |
4776 | (EMACS_NAME): New constant macro. | |
4777 | (print_version): Use it. | |
4778 | (P_) [__STDC__]: Macro for defining function prototypes. | |
e4100b7f | 4779 | |
19e262bd | 4780 | 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr> |
e4100b7f FP |
4781 | |
4782 | * etags.c [WINDOWSNT]: #include <direct.h> | |
4783 | ||
19e262bd | 4784 | 2000-01-18 Martin Buchholz <martin@xemacs.org> |
e4100b7f | 4785 | |
19e262bd FP |
4786 | * etags.c (all functions): Made them static. |
4787 | (all functions): Write prototypes. | |
e4100b7f | 4788 | |
55e30d2a RS |
4789 | 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu> |
4790 | ||
4791 | * movemail.c (main): Improve error message if can't create lock file. | |
4792 | ||
c60ee5e7 | 4793 | 2000-01-28 Eric Hanchrow <offby1@blarg.net> |
875c1439 GM |
4794 | |
4795 | * emacsclient.c (socket_status): New function. | |
02ce3e80 | 4796 | (main): If $LOGNAME or $USER exist and differ from our euid, look |
875c1439 GM |
4797 | for a socket based on the UID associated with the name. |
4798 | ||
e4936aa9 GM |
4799 | 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
4800 | ||
4801 | * emacsclient.c: Add option -a EDITOR and environment variable | |
4802 | ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs. | |
4803 | ||
f0131492 | 4804 | 1999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
791a9087 GM |
4805 | |
4806 | * movemail.c (popmail): Allow mailbox specifications of the | |
4807 | form `po:username:hostname'. | |
4808 | ||
880820fe | 4809 | 1999-11-19 Francesco Potortì <pot@gnu.org> |
e2081362 FP |
4810 | |
4811 | * etags.c (_GNU_SOURCE): Define only if undefined. | |
4812 | (get_scheme): Declaration deleted. | |
02ce3e80 | 4813 | (main): Error was called with an integer as second arg, instead of |
e2081362 FP |
4814 | a char pointer. |
4815 | (canonicalize_filename): Bug removed. | |
4816 | ||
4817 | 1999-11-18 Dave Love <d.love@dl.ac.uk> | |
4818 | ||
4819 | * etags.c (C_entries): Rename label `intoken', avoiding K&R | |
4820 | lossage from name clash with macro. | |
4821 | ||
b05d3bee GM |
4822 | 1999-11-13 Gerd Moellmann <gerd@gnu.org> |
4823 | ||
4824 | * Makefile.in (b2m): Add dependency on GETOPTDEPS. | |
4825 | ||
cb3a6c48 GM |
4826 | 1999-11-03 Gerd Moellmann <gerd@gnu.org> |
4827 | ||
4828 | * etags.c (print_help): Change email address to send bugs to. | |
4829 | ||
6088b51f | 4830 | 1999-11-01 Francesco Potortì <pot@gnu.org> |
1c478461 FP |
4831 | |
4832 | * etags.c: Add suffix psw for PSWrap. | |
4833 | (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)". | |
4834 | (Postscript_functions): Add code for PSWrap. | |
4835 | (Scheme_functions): Use local pointer and new get_tag function. | |
4836 | (get_tag): New name for old get_scheme. | |
4837 | (process_file): Do not free NULL when file does not exist. | |
4838 | (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen. | |
4839 | (C_entries): Modifications that make --members tag even inside | |
4840 | typedefs and C nested structs (one level only). | |
eec54bd7 | 4841 | (consider_token): Correct a bug which prevented tagging of enum |
1c478461 | 4842 | constants. |
eec54bd7 | 4843 | (C_stab_entry): Add if, for, while, switch, return as |
1c478461 FP |
4844 | st_C_ignore. This makes it simpler to work when cblev!=0. |
4845 | ||
02ce3e80 | 4846 | * etags.c (C_entries): Tag member function declarations when |
1c478461 FP |
4847 | --declarations is used. |
4848 | ||
4849 | * etags.c (C_entries, consider_token): C++ `operator' now is | |
4850 | tagged in most cases. | |
e1dbe924 | 4851 | As before, :: is not recognized if surrounded by spaces. |
1c478461 FP |
4852 | |
4853 | * etags.c (relative_filename): Account for DOS file names such | |
4854 | that is impossible to make one relative to another. | |
4855 | ||
4856 | * etags.c (sym_type): New st_C_extern tag. | |
4857 | (gperf input): Use it for spotting external declarations. | |
a7c29764 | 4858 | (print_help): Document the new behavior of --declarations. |
1c478461 FP |
4859 | (fvextern): New global variable. |
4860 | (consider_token, C_entries): Use it. | |
4861 | ||
4862 | * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined. | |
4863 | (etags_getcwd): Remove test for WINDOWSNT. | |
4864 | ||
4865 | * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try | |
4866 | foo.cgz, foo.cz, etc. | |
4867 | ||
4868 | * etags.c (declarations): New global switch. | |
4869 | (longopts): Describe it. | |
4870 | (print_help): Document it. | |
4871 | (C_entries): Use it. | |
4872 | (process_file): Don't process a file twice. | |
4873 | ||
4874 | * etags.c (Fortran_functions): No tags for "procedure". | |
4875 | ||
4876 | 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il> | |
4877 | ||
4878 | * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if | |
4879 | non-zero, returns a pointer to where the extension begins; callers | |
4880 | changed. | |
4881 | [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it | |
4882 | were foo.c.gz. | |
4883 | ||
880820fe | 4884 | 1999-11-01 Francesco Potortì <pot@gnu.org> |
1c478461 FP |
4885 | |
4886 | * etags.c (sym_type, C_stab_entry): New constant st_C_operator. | |
4887 | (fvdev): New constant foperator. | |
4888 | (consider_token): Use it to get "operator" in C++. | |
4889 | (C_entries): Extend length of operator@ function name. | |
4890 | (C_entries): Use foperator when necessary. | |
4891 | ||
4892 | * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns. | |
4893 | ||
4894 | * etags.c (compressor): New struct for compressed files. | |
4895 | (get_compressor_from_suffix): New function. | |
4896 | (get_language_from_suffix): Use it. Also, semantics changed. | |
4897 | (process_file): Consider compressed files, close file. | |
4898 | (find_entries): Use different call arg for get_language_from_suffix, | |
4899 | don't close file. | |
4900 | ||
4901 | * etags.c (main): Call free_tree. | |
4902 | (find_entries): Do not free curfile. | |
4903 | (pfnote): Cosmetic change: NULL and '\0' where appropriate. | |
4904 | (prolog_pred, erlang_func, substitute): Cast strlen to int when | |
4905 | comparing. | |
4906 | (canonicalize_filename): Shut up compiler warning. | |
4907 | (Perl_functions): Make tag significant. | |
4908 | ||
4909 | 1999-11-01 Dave Love <d.love@dl.ac.uk> | |
4910 | ||
4911 | * etags.c (longopts, optstring): New option --ignore-case-regex (-c). | |
4912 | (argument_type): New member at_icregexp. | |
4913 | (lc_trans): New global. | |
4914 | (main): Fill lc_trans. Process -c args. | |
4915 | (add_regex): New arg determining whether to use translation table. | |
4916 | (analyse_regex): New arg. Use it for add_regex. | |
4917 | ||
880820fe | 4918 | 1999-11-01 Francesco Potortì <pot@gnu.org> |
1c478461 FP |
4919 | |
4920 | * etags.c (init): Cosmetic change: NULL --> '\0'. | |
4921 | (erlang_attribute): Bug corrected (uninitialized variable). | |
4922 | (filename_is_absolute): New function replaces absolutefn macro and | |
02ce3e80 | 4923 | corrects a bug. All callers changed. |
1c478461 FP |
4924 | (canonicalize_filename): New function. |
4925 | (process_file, etags_getcwd, absolute_dirname): Use it. | |
b166dcd8 | 4926 | (relative_filename, absolute_filename): Remove var shadowing. |
1c478461 | 4927 | (C_entries, Pascal_functions): Add fake initializations to keep |
02ce3e80 | 4928 | compilers quiet. |
1c478461 FP |
4929 | (TeX_functions, Prolog_functions, Erlang_functions): Cleanup. |
4930 | ||
4931 | * etags.c (xrnew): New macro. All callers of xrealloc changed. | |
4932 | (language): New typedef (was struct lang_entry). | |
4933 | (curlang): New global variable. | |
02ce3e80 | 4934 | (node): Typedef renamed from NODE. |
1c478461 FP |
4935 | (linebuffer): New typedef (was struct linebuffer). |
4936 | (pattern): New typedef (was struct pattern). Some members added. | |
4937 | Now used as element of a linked list. | |
4938 | (patterns, num_patterns): Global variables deleted. | |
4939 | (p_head): New global variable. | |
a64387ee | 4940 | (forced_lang): New global variable (replaces lang_func). |
02ce3e80 SM |
4941 | (get_language_from_name, get_language_from_interpreter) |
4942 | (get_language_from_suffix): Semantics changed. All callers changed. | |
1c478461 | 4943 | (last_node): New global variable. |
02ce3e80 SM |
4944 | (free_tree, add_node, put_entries, total_size_of_entries): |
4945 | Change name of local vars to avoid clashes with typedef node. | |
1c478461 FP |
4946 | (number_len): Rewritten for elegance. |
4947 | (token): New typedef replaces TOKEN. | |
4948 | (analyse_regex, add_regex): Rewritten for new functionality. | |
4949 | (free_patterns): New function called from main and add_regex. | |
4950 | (initbuffer, readline_internal, readline, grow_linebuffer): | |
02ce3e80 | 4951 | Change name of local vars to avoid clashes with typedef linebuffer. |
1c478461 FP |
4952 | (readline): Rewritten for new functionality. |
4953 | ||
ecc54057 | 4954 | * etags.c (Scheme_suffixes): New suffix ".ss". |
1c478461 FP |
4955 | (print_help): --globals is now used for more than C-type languages. |
4956 | (Perl_functions): Tag global variables ("my" and "local"). | |
4957 | ||
4958 | * etags.c (print_help): Some messages clarified. | |
4959 | (LOOP_ON_INPUT_LINES): New macro. | |
02ce3e80 SM |
4960 | (just_read_file, Fortran_functions, Asm_labels, Perl_functions) |
4961 | (Python_functions, Cobol_paragraphs, Pascal_functions) | |
4962 | (Lisp_functions, Postscript_functions, Scheme_functions) | |
4963 | (TeX_functions, Prolog_functions, Erlang_functions): Use it. | |
4964 | (Cobol_paragraphs, Postscript_functions, TeX_functions) | |
4965 | (Prolog_functions, Erlang_functions): Use a local variable instead | |
1c478461 FP |
4966 | of the global variable dbp. |
4967 | (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding | |
4968 | standard indentation. | |
4969 | ||
02ce3e80 SM |
4970 | * etags.c (Python_suffixes, lang_names, Python_functions): |
4971 | Python support. | |
1c478461 | 4972 | (skip_spaces, skip_non_spaces): Utility functions. |
02ce3e80 SM |
4973 | (find_entries, takeprec, getit, Fortran_functions, Perl_functions) |
4974 | (Python_functions, L_getit, Lisp_functions, Scheme_functions) | |
4975 | (prolog_pred, erlanf_func, erlang_attribute): Use them. | |
61b108cc | 4976 | (eat_white): Delete. |
1c478461 FP |
4977 | |
4978 | * etags.c (CHAR, init): Keep into account non US-ASCII | |
4979 | characters and compilers with default signed chars. | |
4980 | (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar | |
4981 | constructs. | |
ecc54057 | 4982 | (C_stab_entry): "interface" in Java behaves like "class". |
1c478461 | 4983 | |
ecc54057 | 4984 | * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H. |
1c478461 FP |
4985 | (main): Put interval syntax here. |
4986 | (add_regex): And remove it from here. | |
4987 | ||
4988 | * etags.c (suggest_asking_for_help): Provide a | |
4989 | meaningful help message with and without LONG_OPTIONS. | |
4990 | ||
d07529f3 | 4991 | * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h. |
1c478461 FP |
4992 | <stdlib.h, string.h>: Don't test MSDOS when including them. |
4993 | (white, nonam, endtk): Like elsewhere, use \r instead of \013. | |
4994 | (put_entries): Correctly use %ld instead of %d in printf. | |
4995 | ||
d07529f3 | 4996 | * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else |
1c478461 FP |
4997 | declare getcwd if HAVE_GETCWD. |
4998 | (consider_token): Dead break instruction removed. | |
4999 | ||
4ee9629e PE |
5000 | 1999-10-19 Paul Eggert <eggert@twinsun.com> |
5001 | ||
5002 | Add support for large files. Merge glibc 2.1.2. | |
1c478461 | 5003 | |
4ee9629e | 5004 | * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, |
d07529f3 | 5005 | * movemail.c, pop.c: |
4ee9629e PE |
5006 | Do not include <stdlib.h>, as <config.h> does this now. |
5007 | ||
5008 | * b2m.c, emacsserver.c, etags.c, profile.c: | |
5009 | Include <config.h> before any system include files. | |
1c478461 | 5010 | |
4ee9629e | 5011 | * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, |
d07529f3 | 5012 | * test-distrib.c: |
4ee9629e PE |
5013 | (read, write, open, close): Do not undef. |
5014 | ||
5015 | * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: | |
5016 | (const): Do not define if HAVE_CONFIG_H; that's config.h's job. | |
5017 | ||
5018 | * getopt.h: Adopt glibc 2.1.2. | |
1c478461 | 5019 | |
93c8d183 DL |
5020 | 1999-10-15 Dave Love <fx@gnu.org> |
5021 | ||
5022 | * Makefile.in (pop.o): Depend on config.h. | |
5023 | ||
b358f91c GM |
5024 | 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
5025 | ||
5026 | * pop.c: Use "pop3" as the POP service name on all platforms, | |
5027 | instead of using "pop" on Unix and "pop3" on Windows NT. "pop3" | |
5028 | has been the standard service name since RFC 1340 was published in | |
5029 | July 1992, so I think it's safe to start using it by default. | |
5030 | ||
362bc2da DL |
5031 | 1999-09-27 Dave Love <fx@gnu.org> |
5032 | ||
5033 | * make-docfile.c (scan_lisp_file): Fix typo causing infloop. | |
5034 | ||
74e4cb59 PR |
5035 | 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu> |
5036 | ||
5037 | * make-docfile.c (scan_lisp_file): Fix previous changes; | |
5038 | swallow CRLF like just CR or just LF. | |
5039 | ||
362bc2da DL |
5040 | 1999-09-03 Richard Stallman <rms@gnu.org> |
5041 | ||
5042 | * make-docfile.c: Include config.h not ../src/config.h. | |
5043 | (main, fopen, chdir): Add #undef. | |
5044 | (read_c_string, scan_c_file, skip_white, read_lisp_symbol) | |
5045 | (scan_lisp_file): Handle \r like \n. | |
5046 | ||
5047 | 1999-08-30 Andreas Schwab <schwab@gnu.org> | |
5048 | ||
5049 | * make-docfile.c, fakemail.c: Include <stdlib.h> if available. | |
5050 | ||
5051 | * emacsserver.c: Include <stdlib.h> if available. Don't declare | |
5052 | errno if it's a macro. | |
5053 | ||
5054 | * test-distrib.c: Include <unistd.h> if available. | |
5055 | ||
5056 | 1999-08-29 Richard Stallman <rms@gnu.org> | |
5057 | ||
5058 | * emacsclient.c (print_help_and_exit): Mention --version. | |
5059 | ||
5060 | 1999-08-25 Richard M. Stallman <rms@gnu.org> | |
5061 | ||
5062 | * emacsclient.c (decode_options): Update version output. | |
5063 | (print_help_and_exit): Update bug report address. | |
5064 | ||
5065 | 1999-08-13 Richard M. Stallman <rms@gnu.org> | |
5066 | ||
5067 | * emacsclient.c (main): Move the dynamic allocation of | |
5068 | system_name outside of the SERVER_HOME_DIR conditional. | |
5069 | * emacsserver.c (main): Likewise. | |
5070 | ||
5071 | 1999-08-10 Gerd Moellmann <gerd@gnu.org> | |
5072 | ||
5073 | * grep-changelog: New. | |
5074 | * Makefile.in (INSTALLABLE_SCRIPTS): Add it. | |
5075 | ||
5076 | 1999-07-12 Richard Stallman <rms@gnu.org> | |
5077 | ||
5078 | * Version 20.4 released. | |
5079 | ||
5080 | 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de> | |
5081 | ||
1c478461 | 5082 | * Makefile.in (clean): Remove fns*.el. |
362bc2da DL |
5083 | |
5084 | 1999-06-23 Dave Love <fx@gnu.org> | |
5085 | ||
5086 | * etags.c (erlang_attribute): Fix undefined variable usage (after | |
c91c771d | 5087 | Potortì). |
362bc2da | 5088 | |
86e888c2 | 5089 | 1999-05-02 Andrew Innes <andrewi@gnu.org> |
362bc2da DL |
5090 | |
5091 | * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now | |
5092 | mapped to _chsize. | |
5093 | ||
5094 | 1999-04-29 Richard M. Stallman <rms@gnu.org> | |
5095 | ||
5096 | * emacsclient.c (main, both versions): Use quote_file_name on cwd. | |
5097 | ||
5098 | 1999-03-30 Dave Love <fx@gnu.org> | |
5099 | ||
5100 | * sorted-doc.c (main): Split up tables. Modify the preamble | |
5101 | somewhat. | |
5102 | ||
5103 | 1999-03-05 Geoff Voelker <voelker@cs.washington.edu> | |
5104 | ||
5105 | * makefile.nt: Remove common multiple file compilation commands. | |
5106 | ||
5107 | 1999-02-26 Richard Stallman <rms@gnu.org> | |
5108 | ||
362bc2da DL |
5109 | * Makefile.in (yow): Depend on epaths.h, not paths.h. |
5110 | ||
5111 | * yow.c: Refer to epaths.h. | |
5112 | ||
5113 | 1999-02-22 Simon Josefsson <jas@pdc.kth.se> | |
5114 | ||
5115 | * emacsserver.c (perror_1, fatal_error): Don't compile unless needed. | |
5116 | ||
5117 | 1999-01-27 Andrew Innes <andrewi@gnu.org> | |
5118 | ||
5119 | * makefile.nt: Do make version comparison as strings. | |
5120 | ||
5121 | 1999-01-25 Richard Stallman <rms@gnu.org> | |
5122 | ||
5123 | * emacsclient.c (xmalloc): Fix previous change. | |
5124 | ||
5125 | 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu> | |
5126 | ||
5127 | * emacsclient.c (xmalloc): Declare to return long. | |
5128 | ||
5129 | 1999-01-22 Geoff Voelker <voelker@cs.washington.edu> | |
5130 | ||
5131 | * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize | |
5132 | the case of the drive letter. | |
5133 | ||
5134 | 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu> | |
5135 | ||
5136 | * emacsserver.c (main): Eliminate arbitrary limit on | |
5137 | length of system_name. | |
5138 | ||
5139 | * emacsclient.c (main): Eliminate arbitrary limit on | |
5140 | length of system_name. | |
5141 | (xmalloc): Define unconditionally. | |
5142 | ||
5143 | 1999-01-12 Darrin B. Jewell <jewell@mit.edu> | |
5144 | ||
5145 | * etags.c (relative_filename): Stop backward search at beginning | |
5146 | of string, since non-Unix systems can have absolute paths with no | |
5147 | initial slash. | |
5148 | ||
5149 | 1998-12-08 Geoff Voelker <voelker@cs.washington.edu> | |
5150 | ||
b0b19974 | 5151 | * makefile.nt: Do string comparison of _NMAKE_VER. |
362bc2da | 5152 | |
c60ee5e7 | 5153 | 1998-11-03 Theodore Jump <tjump@cais.com> |
362bc2da DL |
5154 | |
5155 | * makefile.nt: Compile multiple source files when possible. | |
5156 | ||
5157 | 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu> | |
5158 | ||
5159 | * Makefile.in: Replace tabs with spaces | |
5160 | when they might confuse some Make versions. | |
5161 | ||
5162 | 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu> | |
5163 | ||
5164 | * emacsclient.c (main): Null-terminate system_name. | |
5165 | ||
5166 | * emacsserver.c (main): Null-terminate system_name. | |
5167 | ||
5168 | 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5169 | ||
5170 | * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying | |
5171 | an error message from POP, mention that it's from POP, to | |
5172 | distinguish it from local error messages. | |
5173 | ||
5174 | 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5175 | ||
5176 | * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the | |
5177 | order of messages downloaded from a POP server (e.g., if the | |
5178 | server stores messages in mailboxes in reverse order). | |
5179 | ||
5180 | 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> | |
5181 | ||
5182 | * Version 20.3 released. | |
5183 | ||
5184 | 1998-08-11 Paul Eggert <eggert@twinsun.com> | |
5185 | ||
5186 | * rcs2log: Update copyright date and bug report address. | |
5187 | (initialize_fullname): Prefer getent if available. | |
5188 | ||
5189 | 1998-07-30 Paul Eggert <eggert@twinsun.com> | |
5190 | ||
290afd83 | 5191 | * Makefile.in (REGEXPDEPS, regex.o): |
362bc2da | 5192 | Prepend $(srcdir)/ to rule dependencies outside this dir. |
1c478461 | 5193 | |
362bc2da DL |
5194 | 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk> |
5195 | ||
5196 | * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows. | |
5197 | ||
5198 | 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu> | |
5199 | ||
5200 | * Makefile.in: Properly terminate a comment. | |
5201 | ||
5202 | 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org> | |
5203 | ||
5204 | * movemail.c (sys_wait): Rename to wait. | |
5205 | ||
5206 | * ntlib.h: Undefine _WINSOCKAPI_. | |
5207 | ||
5208 | * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H. | |
5209 | ||
5210 | 1998-05-30 Geoff Voelker <voelker@cs.washington.edu> | |
5211 | ||
5212 | * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID. | |
5213 | ||
5214 | 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk> | |
5215 | ||
b166dcd8 KC |
5216 | * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. |
5217 | Force all file i/o to be in binary mode. Include ntlib.h. | |
362bc2da DL |
5218 | |
5219 | 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org> | |
5220 | ||
5221 | * make-docfile.c: Include <unistd.h> for chdir. | |
5222 | ||
5223 | 1998-04-25 Richard Stallman <rms@psilocin.gnu.org> | |
5224 | ||
5225 | * etags.c (TEX_decode_env): Don't free the value getenv returns. | |
5226 | ||
5227 | 1998-04-17 Geoff Voelker <voelker@cs.washington.edu> | |
5228 | ||
5229 | * makefile.nt (obj): Update with new files in src. | |
5230 | (clean): Delete patch scratch files, optimized compilation dir. | |
5231 | ||
5232 | 1998-04-08 Dave Love <fx@gnu.org> | |
5233 | ||
5234 | * emacsclient.c: Move inclusion of unistd.h to top, else fails on | |
5235 | Irix6, at least. | |
5236 | ||
5237 | 1998-04-06 Andreas Schwab <schwab@gnu.org> | |
5238 | ||
5239 | Silence -Wimplicit: | |
5240 | * movemail.c: Move cancelations up. Include <stdlib.h> if | |
5241 | available. | |
5242 | * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid. | |
5243 | (parse_header): Explicitly declare return type. | |
5244 | * emacsserver.c: Include <unistd.h> if available. | |
5245 | (main, handle_signals, perror_1, fatal_error): Explicitly declare | |
5246 | return types. Add forward declarations. | |
5247 | * emacsclient.c: Include <stdlib.h> and <unistd.h> if available. | |
5248 | Don't declare geteuid. | |
b166dcd8 KC |
5249 | (print_help_and_exit): Change return type to void. |
5250 | Forward declare it. | |
362bc2da DL |
5251 | * b2m.c: Include <stdlib.h> if available. |
5252 | (main): Explicitly declare return type. | |
5253 | ||
362bc2da DL |
5254 | 1998-04-03 Richard Stallman <rms@psilocin.gnu.org> |
5255 | ||
5256 | * etags.c (put_entries): Use %ld. | |
5257 | ||
5258 | * b2m.c (fatal): Declare the arg. | |
5259 | ||
5260 | 1998-03-26 Richard Stallman <rms@psilocin.gnu.org> | |
5261 | ||
b166dcd8 | 5262 | * pop.c (pop_getline): Rename from getline. |
362bc2da DL |
5263 | |
5264 | 1998-03-05 Richard Stallman <rms@psilocin.gnu.org> | |
5265 | ||
5266 | * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM | |
5267 | for the utilities. | |
5268 | ||
5269 | 1998-01-23 Dave Love <d.love@dl.ac.uk> | |
5270 | ||
5271 | * etags.c (getit, Cobol_paragraphs, Pascal_functions, | |
5272 | Postscript_functions, prolog_pred, erlang_func, erlang_attribute): | |
5273 | Always make named tags. | |
5274 | (Fortran_functions): Grok BLOCK DATA. | |
5275 | ||
5276 | 1998-01-23 Andreas Schwab <schwab@gnu.org> | |
5277 | ||
5278 | * movemail.c (main): Fix interwoven brace and cpp conditional | |
5279 | nesting. | |
5280 | ||
362bc2da DL |
5281 | 1997-12-03 Paul Eggert <eggert@delysid.gnu.org> |
5282 | ||
cb438d6e JB |
5283 | * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes |
5284 | with a '>' any lines starting with "From " read from the POP server, | |
5285 | but leave the code in place, wrapped in #ifdef | |
362bc2da | 5286 | MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later |
b166dcd8 KC |
5287 | because it turns out that something is depending on it. |
5288 | Change suggested by Paul Eggert <eggert@twinsun.com>. | |
362bc2da DL |
5289 | Convert the character \037 (^_) at the beginning of a line into |
5290 | the character '^' followed by the character '_', because otherwise | |
5291 | Emacs can't parse the resulting file as a valid BABYL file. | |
5292 | Change suggested by Paul Eggert <eggert@twinsun.com>. | |
5293 | ||
5294 | 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5295 | ||
5296 | * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP | |
5297 | server to contain embedded nulls. | |
5298 | ||
5299 | 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
1c478461 | 5300 | |
362bc2da DL |
5301 | * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which |
5302 | quotes with a '>' any lines starting with "From " read from the | |
5303 | POP server, but leave the code in place, wrapped in #ifdef | |
5304 | MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later | |
b166dcd8 KC |
5305 | because it turns out that something is depending on it. |
5306 | Change suggested by Paul Eggert <eggert@twinsun.com>. | |
362bc2da DL |
5307 | |
5308 | Convert the character \037 (^_) at the beginning of a line into | |
5309 | the character '^' followed by the character '_', because otherwise | |
5310 | Emacs can't parse the resulting file as a valid BABYL file. | |
5311 | Change suggested by Paul Eggert <eggert@twinsun.com>. | |
5312 | ||
5313 | 1997-11-22 Richard Stallman <rms@gnu.org> | |
5314 | ||
5315 | * b2m.c: Include getopt.h. | |
5316 | (main): Use getopt_long to handle --version and --help. | |
5317 | ||
5318 | * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS). | |
5319 | ||
5320 | 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5321 | ||
b166dcd8 KC |
5322 | * pop.c (fullwrite): Get rid of an extra call to write. |
5323 | Problem pointed out by Chiaki Ishikawa. | |
362bc2da DL |
5324 | |
5325 | 1997-10-16 Dave Love <d.love@dl.ac.uk> | |
5326 | ||
ecc54057 JB |
5327 | * etags.c (L_getit): Always make named tags so that Emacs |
5328 | completion on symbols containing `:' etc. works. | |
5329 | (get_scheme): Likewise. | |
362bc2da DL |
5330 | |
5331 | 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5332 | ||
5333 | * pop.c: Use system header files instead of declaring C-library | |
5334 | functions explicitly. | |
5335 | ||
5336 | 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5337 | ||
5338 | * Version 20.2 released. | |
5339 | ||
5340 | 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5341 | ||
5342 | * Version 20.1 released. | |
5343 | ||
5344 | 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk> | |
5345 | ||
5346 | * makefile.nt (movemail.exe): Link wsock32.lib before LIBS. | |
5347 | ||
5348 | * ntlib.c (getpid): Delete function. | |
5349 | ||
5350 | 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5351 | ||
5352 | * make-docfile.c (scan_lisp_file): Handle custom-declare-variable. | |
5353 | ||
5354 | 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5355 | ||
5356 | * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case. | |
5357 | (main) [!BSD_SYSTEM]: Fix error message for getcwd failure. | |
5358 | ||
5359 | 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5360 | ||
5361 | * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined. | |
5362 | ||
5363 | 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com> | |
5364 | ||
5365 | * profile.c (get_time): Cast arg to fprintf. | |
5366 | ||
5367 | * hexl.c (main): Use %08lx instead of %08x in printf because the | |
5368 | variable named addresses is long. | |
5369 | ||
5370 | 1997-08-08 Geoff Voelker <voelker@cs.washington.edu> | |
5371 | ||
5372 | * makefile.nt (lisp): Update paths to lisp files that have moved. | |
5373 | ||
5374 | 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk> | |
5375 | ||
5376 | * makefile.nt (ctags.obj): New target. | |
5377 | (etags.obj, getopt.obj, make-docfile.obj): Update dependencies. | |
5378 | ||
5379 | * ntlib.h: Add includes. | |
5380 | Undo definitions of crt routines from config.h. | |
5381 | ||
5382 | 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5383 | ||
5384 | * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives. | |
5385 | ||
5386 | 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5387 | ||
5388 | * pop.c: Support auto-configuration of both Kerberos V4 and | |
ecc54057 JB |
5389 | Kerberos V5 for movemail, including detection of V4 and V5 header |
5390 | files and libraries. | |
362bc2da | 5391 | Include <string.h> when STDC_HEADERS is defined, to get |
ecc54057 | 5392 | declarations of string functions. |
362bc2da | 5393 | [KERBEROS5] (socket_connection): Support the current MIT Kerberos |
ecc54057 | 5394 | V5 API rather than the old one. |
362bc2da | 5395 | [KERBEROS] (socket_connection): Change a constant name from |
ecc54057 JB |
5396 | SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict |
5397 | with a constant in a header file. | |
362bc2da DL |
5398 | |
5399 | * Makefile.in: Support auto-configuration of both Kerberos V4 and | |
ecc54057 JB |
5400 | Kerberos V5 for movemail, including detection of V4 and V5 header |
5401 | files and libraries. | |
362bc2da DL |
5402 | |
5403 | 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5404 | ||
5405 | * fakemail.c [HAVE_UNISTD_H]: Include unistd.h. | |
5406 | ||
5407 | * etags.c [HAVE_UNISTD_H]: Include unistd.h. | |
1c478461 | 5408 | |
362bc2da DL |
5409 | 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
5410 | ||
5411 | * emacsclient.c [C_ALLOCA] (xmalloc): New function. | |
5412 | ||
5413 | 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5414 | ||
5415 | * movemail.c (rindex): Add declaration. | |
5416 | ||
d57727c9 | 5417 | 1997-07-01 Geoff Voelker <voelker@cs.washington.edu> |
362bc2da DL |
5418 | |
5419 | * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define. | |
5420 | (movemail.exe): Depend upon and link with getopt files. | |
5421 | (obj): Include new source files. | |
5422 | (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define. | |
5423 | (lisp): Include new and reorganized elisp files. | |
5424 | ||
5425 | 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5426 | ||
5427 | * Makefile.in (blessmail): Find blessmail.el in mail subdirectory. | |
5428 | ||
5429 | 1997-06-25 Paul Eggert <eggert@twinsun.com> | |
5430 | ||
5431 | * rcs2log: Don't assign to $0 in awk; some awks don't allow this. | |
5432 | ||
5433 | 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
5434 | ||
5435 | * b2m.c (readline): Terminate buffer properly when EOF seen. | |
5436 | Test for valid pointer before dereferencing it. | |
5437 | ||
880820fe | 5438 | 1997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5439 | |
5440 | * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is | |
5441 | defined inside etags.c if HAVE_CONFIG_H is defined. | |
5442 | ||
880820fe | 5443 | 1997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da | 5444 | |
ecc54057 | 5445 | * etags.c (logical): Type name changed to bool. |
362bc2da DL |
5446 | (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them. |
5447 | (<getopt.h>) [LONG_OPTIONS]: Include conditionally. | |
5448 | (getopt_long) [!LONG_OPTIONS]: Redefine as macro. | |
5449 | (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS. | |
5450 | (longopts): New long options without short counterpart are | |
5451 | globals, members, no-globals, no-members. Regexp options are now | |
5452 | defined conditionally to ETAGS_REGEXPS. | |
78be8b64 | 5453 | (print_help): Update. |
362bc2da | 5454 | |
880820fe | 5455 | 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5456 | |
5457 | * etags.c (C_entries): Use "." instead of "::" for Java. | |
5458 | (consider_token): is_func renamed to is_func_or_var. | |
5459 | (C_entries): is_func renamed to funorvar. | |
e1dbe924 | 5460 | (C_entries): Initialize tok.named. |
362bc2da DL |
5461 | (sym_type, C_stab_entry, consider_token): st_C_ignore is used to |
5462 | get rid of "import", "package" and "friend". | |
b166dcd8 KC |
5463 | (fvdef): Rename from funcdef. Also some constants renamed. |
5464 | All users changed. | |
362bc2da DL |
5465 | (C_entries): Make separate tags for variables separated by comma. |
5466 | (globals, members): New flags. | |
5467 | (main, C_entries): Use them. | |
5468 | (make_C_tag, C_entries): Make tok a global variable. | |
1c478461 | 5469 | |
880820fe | 5470 | 1997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5471 | |
5472 | * etags.c (funcdef): New vignore constant. | |
5473 | (consider_token, C_entries): Use it to tag global variables. | |
5474 | (print_help): Update for global variables. | |
5475 | (consider_token, C_entries): Set the len member of token_name. | |
5476 | (prolog_pred): Cleanup according to GNU coding standards. | |
5477 | (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support. | |
b166dcd8 | 5478 | (prolog_white, erlang_white): Rename to eat_white, callers changed. |
362bc2da | 5479 | |
880820fe | 5480 | 1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5481 | |
5482 | * etags.c (CHARS, CHAR): New constant and macro. | |
5483 | (iswhite, begtoken, intoken, endtoken): Use them. | |
5484 | (notinname, _nin, nonam): New macro, array, string. | |
5485 | (init): Cleanup and init _nin. | |
5486 | (new_pfnote): New function. | |
5487 | (make_C_tag) [traditional_tag_style]: Use it. | |
10d1d0af | 5488 | (traditional_tag_style): Constant set to TRUE for now. |
362bc2da | 5489 | |
880820fe | 5490 | 1997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5491 | |
5492 | * etags.c (C_entries, Pascal_functions): Cleanup. | |
5493 | (TeX_functions): NULL as a function arg needs a cast. | |
5494 | (Erlang_functions, erlang_func, erlang_attribute): Cleanup. | |
5495 | ||
880820fe | 5496 | 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5497 | |
5498 | * etags.c (TeX_functions): Cleaned up. | |
61b108cc | 5499 | (tex_getit): Remove. |
362bc2da DL |
5500 | |
5501 | 1997-05-13 Paul Eggert <eggert@twinsun.com> | |
5502 | ||
5503 | * rcs2log (files): When computing arguments automatically, ignore | |
ecc54057 | 5504 | non-files within the RCS subdirectory. |
362bc2da | 5505 | |
880820fe | 5506 | 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5507 | |
5508 | * etags.c (C_JAVA): New #define. | |
5509 | (Cjava_suffixes): .java is Java. | |
5510 | (Cjava_entries): New function. | |
5511 | (lang_names): Add Java. | |
5512 | (sym_type): Add st_C_javastruct for Java. | |
5513 | (C_stab_entry): Add `extends' and `implements' keywords. | |
e1dbe924 | 5514 | (consider_token, C_entries): Recognize Java structures. |
362bc2da | 5515 | |
880820fe | 5516 | 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da | 5517 | |
7877f373 JB |
5518 | * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax. |
5519 | (Postscript_suffixes): .ps is PostScript. | |
5520 | (lang_names): Add postscript. | |
362bc2da DL |
5521 | (Postscript_functions): New function. |
5522 | (TEX_decode_env): Close minor memory leak. | |
5523 | (just_read_file): Correct the char number of the tag. | |
5524 | ||
5525 | 1997-05-11 Paul Eggert <eggert@twinsun.com> | |
5526 | ||
5527 | * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files): | |
ecc54057 JB |
5528 | Don't prepend $nl since this causes some shells to generate the |
5529 | empty string when IFS is $nl. | |
362bc2da | 5530 | (printlogline): Use SOH (octal code 1), not CR, since some |
ecc54057 | 5531 | PC-based shells mishandle CR. |
362bc2da DL |
5532 | (initialize_fullname): Set NIS_PATH to the empty string before invoking |
5533 | nismatch, in case it's set to some nonstandard value. | |
1c478461 | 5534 | |
362bc2da DL |
5535 | 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us> |
5536 | ||
5537 | * pop.c (getline): Don't miss CRLF pairs when the CR and LF are | |
5538 | read in separate blocks. | |
5539 | ||
880820fe | 5540 | 1997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5541 | |
5542 | * etags.c [TeX_named_tokens]: Set to FALSE if undefined. | |
5543 | (struct linebuffer): New member `len' is the length of the string. | |
5544 | (find_entries, Pascal_functions, TeX_functions, TEX_getit): | |
5545 | Use it instead of strlen. | |
5546 | (TEX_getit): Declare and define unconditionally as static. | |
5547 | (TeX_functions): Use if instead of #if TeX_named_tokens. | |
5548 | (add_regex): Set RE_INTERVALS flag for regex compilation. | |
5549 | (substitute): Code cleanup. | |
5550 | (readline_internal): Code cleanup, set new member `len'. | |
5551 | (readline): Bug corrected. | |
5552 | ||
5553 | 1997-04-23 Geoff Voelker <voelker@cs.washington.edu> | |
5554 | ||
5555 | * makefile.nt: Change references of windowsnt.h to ms-w32.h. | |
5556 | (obj): Change references of nt*.c files to w32*.c files. | |
5557 | ||
880820fe | 5558 | 1997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5559 | |
5560 | * etags.c (xnew): Add support for debugging with chkmalloc. | |
5561 | (error): Use this instead of printf whenever possible. | |
e1dbe924 | 5562 | (main): Only call xnew after having initialized progname. |
362bc2da DL |
5563 | (substitute): Bad memory corruption error corrected. |
5564 | ||
880820fe | 5565 | 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5566 | |
5567 | * etags.c (add_regex): Undo previous change. | |
5568 | (relative_filename): Small memory leak closed. | |
5569 | (absolute_filename): Cleaned up the code, possibly closing a bug. | |
5570 | (absolute_dirname): Always return a newly allocated string. | |
1c478461 | 5571 | |
362bc2da DL |
5572 | 1997-03-21 Paul Eggert <eggert@twinsun.com> |
5573 | ||
5574 | * rcs2log (files): Ignore files in RCS directory whose names are | |
ecc54057 JB |
5575 | of the form ,*, or *_; they are probably RCS lock files. |
5576 | Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver; | |
362bc2da DL |
5577 | they are used by rcsfreeze. |
5578 | ||
880820fe | 5579 | 1997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da | 5580 | |
2f2c687b | 5581 | * etags.c (add_regex): Reset *putbuf before using it. |
362bc2da DL |
5582 | |
5583 | 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5584 | ||
5585 | * movemail.c (popmail): Remove some unnecessary function | |
5586 | declarations. | |
5587 | (popmail, pop_retr): Since popmail always passes mbx_write and mbf | |
5588 | into pop_retr, there's no reason to pass in mbx_write, and the | |
5589 | file argument can be declared FILE * explicitly. This fixes a | |
5590 | compilation problem on systems with 64-bit pointers. | |
5591 | ||
5592 | 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
5593 | ||
5594 | * movemail.c: Delete duplicate inclusion of fcntl.h | |
5595 | and duplicate #undefs of open, read, write, close. | |
5596 | ||
5597 | 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
5598 | ||
5599 | * movemail.c (main): Do not display "[POP-password]" in the usage | |
5600 | message when movemail is compiled without POP support. | |
5601 | (main, popmail): Add the optional "-p" argument, which causes | |
5602 | movemail to leave mail in the inbox after copying it into the | |
5603 | output file. | |
1c478461 | 5604 | |
362bc2da DL |
5605 | * Makefile.in (movemail): Link with getopt. |
5606 | ||
5607 | 1997-01-20 Paul Eggert <eggert@twinsun.com> | |
5608 | ||
ecc54057 | 5609 | * rcs2log (--help, --version): New options, per GNU coding standards. |
362bc2da DL |
5610 | (Copyright, Help, Id): New variables, for above. |
5611 | (rlog): Use -q option with cvs log, to avoid useless chatter. | |
5612 | ||
5613 | Treat logs of "Initial revision" (RCS) or "file F was initially added | |
5614 | on branch B." (CVS) as if they said "New file.", for consistency with | |
5615 | change log entries. | |
5616 | ||
5617 | 1997-01-01 Paul Eggert <eggert@twinsun.com> | |
5618 | ||
5619 | * vcdiff (PATH): Add /usr/xpg4/bin, | |
5620 | where XPG4 SCCS hangs out in Solaris 2.5. | |
5621 | (sid1): Don't use bare -r, since XPG4 `get' does not allow it. | |
5622 | ||
5623 | 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5624 | ||
5625 | * etags.c (streq, strneq): Use == NULL rather than !. | |
5626 | ||
5627 | 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com> | |
5628 | ||
5629 | * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail. | |
ecc54057 | 5630 | (movemail): Use LIBMAIL, to link against -lmail. |
362bc2da DL |
5631 | |
5632 | * movemail.c: Include maillock.h (conditionally). | |
5633 | Remove a redundant inclusion of <stdio.h>. | |
5634 | (MAIL_USE_MAILLOCK): New macro, conditionally defined. | |
5635 | (main): Add variable spool_name. | |
5636 | Support the usage of maillock and mailunlock to | |
ecc54057 | 5637 | lock and unlock mailboxes. |
362bc2da DL |
5638 | (mail_spool_name): New function. |
5639 | ||
5640 | * movemail.c: Fix an uninitialized variable which could cause | |
ecc54057 JB |
5641 | movemail to exit with an error status incorrectly on systems which |
5642 | use lock files rather than a system locking function to lock | |
5643 | mailboxes. | |
362bc2da DL |
5644 | |
5645 | 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5646 | ||
5647 | * pop.c (socket_connection): Free realhost after using it. | |
5648 | ||
880820fe | 5649 | 1996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5650 | |
5651 | * etags.c (C_entries): Test tok.valid. This handles some | |
5652 | particular cases involving function declarations that failed. | |
5653 | ||
5654 | 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu> | |
1c478461 | 5655 | |
362bc2da DL |
5656 | * pop.c (socket_connection): |
5657 | gethostbyname may return a pointer to static data. | |
5658 | krb_realmofhost can clobber it. So copy it. | |
5659 | ||
880820fe | 5660 | 1996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5661 | |
5662 | * etags.c (pfnote, fatal, error): Callers using a NULL pointer | |
5663 | must cast it to (char *) because we have no prototypes. | |
5664 | (make_C_tag): Macro deleted, new function. | |
5665 | (C_entries): Calls to make_C_tag macro changed to call function. | |
5666 | ||
880820fe | 5667 | 1996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5668 | |
5669 | * etags.c (grow_linebuffer): New function. | |
5670 | (GROW_LINEBUFFER): Macro deleted. All callers changed. | |
5671 | (make_tag): Macro renamed to make_C_tag. All callers changed. | |
5672 | (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's. | |
5673 | (Prolog_functions): prolog_skip_comment was called with wrong | |
5674 | number of arguments. | |
6088b51f | 5675 | (xrealloc): fatal was called with wrong number of arguments. |
362bc2da | 5676 | |
880820fe | 5677 | 1996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5678 | |
5679 | * etags.c (relative_filename): Bug corrected. | |
5680 | (etags_getcwd): Avoid warning of unused variable. | |
b166dcd8 | 5681 | (C_entries, consider_token): Add support for enum labels. |
362bc2da DL |
5682 | |
5683 | 1996-11-03 Paul Eggert <eggert@twinsun.com> | |
5684 | ||
5685 | * rcs2log: When processing cvs log output, remove `Attic/' from | |
ecc54057 | 5686 | repository file names. |
362bc2da DL |
5687 | |
5688 | 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
5689 | ||
5690 | * emacsserver.c: Fix 1996-09-02 change. | |
5691 | ||
5692 | 1996-10-12 Paul Eggert <eggert@twinsun.com> | |
5693 | ||
5694 | * rcs2log (rlog_options): Look for ' option' rather than 'unknown | |
ecc54057 | 5695 | option', since CVS says 'invalid option'. |
362bc2da DL |
5696 | (datearg): Use the empty string, not '-d>1970-01-01', to extract all |
5697 | revisions, since some hosts reject 1970-01-01 when east of UTC. | |
5698 | (date): Remove. | |
5699 | ||
5700 | 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5701 | ||
5702 | * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes. | |
5703 | ||
880820fe | 5704 | 1996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5705 | |
5706 | * etags.c (print_version): Print copyright info. | |
5707 | ||
5708 | * etags.c (print_help): Print the bug reporting address. | |
5709 | (main): Use return as the last instruction, instead of exit. | |
5710 | ||
5711 | * etags.c (main): Don't open the tags file in cxref mode. | |
5712 | ||
5713 | 1996-09-29 Dave Love <d.love@dl.ac.uk> | |
5714 | ||
5715 | * rcs2log (date): Make default format acceptable to CVS post v1.8 | |
ecc54057 | 5716 | as well as earlier CVSs and RCS. |
362bc2da DL |
5717 | |
5718 | 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5719 | ||
5720 | * movemail.c (main): If the lock call fails with EBUSY or | |
5721 | EAGAIN, retry a few times. | |
5722 | ||
5723 | 1996-09-25 Paul Eggert <eggert@twinsun.com> | |
5724 | ||
5725 | * rcs2log (rlog_options): Use $rlog, not rlog, when deciding | |
ecc54057 | 5726 | whether to append -zLT. |
362bc2da DL |
5727 | |
5728 | 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
5729 | ||
5730 | * fakemail.c: Replaced symbol BSD with BSD_SYSTEM. | |
5731 | * emacsclient.c, movemail.c: Likewise. | |
5732 | ||
5733 | 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5734 | ||
5735 | * emacsclient.c (longopts): Change nowait to no-wait. | |
5736 | (print_help_and_exit): Fix option name; upcase metavars. | |
5737 | ||
5738 | 1996-09-06 Erik Naggum <erik@naggum.no> | |
5739 | ||
5740 | * emacsserver.c (main): Declare `fromlen' as size_t. | |
5741 | ||
5742 | 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il> | |
5743 | ||
5744 | * etags.c (etags_getcwd): Use getcwd if available even if MSDOS. | |
5745 | ||
5746 | 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5747 | ||
5748 | * emacsclient.c (quote_file_name): Quote with &, not \. | |
5749 | Quote `-' only at start of file name. Terminate the value string. | |
5750 | ||
5751 | * emacsserver.c: Include signal.h properly; | |
5752 | delete the duplicate includes for it. | |
5753 | ||
5754 | * emacsserver.c: On fatal signal, delete socket-file: | |
5755 | * emacsserver.c: Include signal.h. | |
ecc54057 | 5756 | (xmalloc, fatal, error): New functions. |
362bc2da DL |
5757 | (delete_socket, handle_signals): New functions. |
5758 | (progname, socket_name): New variables. | |
194d44e7 | 5759 | [HAVE_SOCKETS] (main): Call handle_signals; set the new variables. |
362bc2da DL |
5760 | |
5761 | 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5762 | ||
5763 | * emacsclient.c (quote_file_name): New function. | |
5764 | (main, both versions): Use quote_file_name. | |
5765 | (decode_options): Don't return a value. | |
5766 | (main, both versions): Use optind. | |
5767 | Don't check for -nowait here. | |
1c478461 | 5768 | |
362bc2da DL |
5769 | * emacsclient.c (decode_options): New function. |
5770 | (main, both versions): Call decode_options. | |
5771 | (print_help_and_exit): New function. | |
5772 | (VERSION): New macro. | |
5773 | ||
5774 | * Makefile.in (emacsclient): Link with getopt. | |
5775 | Add -DVERSION so emacsclient knows its version number. | |
5776 | ||
5777 | 1996-08-31 Geoff Voelker <voelker@cs.washington.edu> | |
5778 | ||
5779 | * makefile.nt (lisp): Include dos-nt.elc. | |
5780 | ||
5781 | 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5782 | ||
5783 | * Makefile.in (blessmail): Use $srcdir to find blessmail.el. | |
5784 | ||
5785 | 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5786 | ||
5787 | * emacsclient.c (both versions): Handle -nowait and --nowait | |
5788 | by sending data to the server. | |
5789 | ||
5790 | 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5791 | ||
5792 | * Makefile.in (INSTALL_STRIP): New variable. | |
5793 | (${archlibdir}): Use INSTALL_STRIP. | |
5794 | ||
5795 | * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS, | |
5796 | HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up. | |
5797 | ||
5798 | * pop.c: Reverse conditional in previous change. | |
5799 | ||
5800 | 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
5801 | ||
5802 | * pop.c: Include des.h krb.h with no dir name if SOLARIS2. | |
5803 | ||
5804 | 1996-08-24 Paul Eggert <eggert@twinsun.com> | |
5805 | ||
5806 | * rcs2log: Use ISO 8601 date format, with time zone appended | |
5807 | if change-log-time-zone-rule is non-nil, instead of | |
5808 | traditional Unix date format. | |
5809 | ||
5810 | (datearg): When computing default from ChangeLog, handle ISO format | |
5811 | dates in addition to old-fashioned dates from Emacs 19.31 and earlier. | |
5812 | Don't worry about hh:mm:ss since the resolution is now by day. | |
10d1d0af | 5813 | Use empty datearg, not empty rlog_options, to decide whether to pass |
362bc2da DL |
5814 | "$datearg" option to $rlog. |
5815 | (logTZ): New variable, set to TZ specified by change-log-time-zone-rule. | |
5816 | (month_data): Remove `mo'; no longer needed. | |
10d1d0af | 5817 | (rlog_options): Use -zLT for localtime output, if `rlog' supports it. |
362bc2da DL |
5818 | |
5819 | Match `revision' line of rlog output more accurately. | |
5820 | ||
5821 | Add -c, -v options. | |
5822 | ||
5823 | 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il> | |
5824 | ||
5825 | * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS. | |
5826 | ||
5827 | 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5828 | ||
5829 | * Version 19.33 released. | |
5830 | ||
5831 | 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5832 | ||
5833 | * Version 19.32 released. | |
5834 | ||
5835 | 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk> | |
5836 | ||
5837 | * etags.c (readline_internal) [DOS_NT]: Don't include CRs when | |
5838 | computing character positions in source files. | |
5839 | ||
5840 | 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk> | |
5841 | ||
5842 | * makefile.nt (clean): Use OBJDIR macro. | |
5843 | ||
5844 | 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
5845 | ||
5846 | * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change. | |
5847 | ||
c60ee5e7 | 5848 | 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com> |
362bc2da | 5849 | |
ecc54057 | 5850 | * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>. |
362bc2da DL |
5851 | * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen. |
5852 | * etags.c, fakemail.c, profile.c: Declare main as int, not void. | |
5853 | ||
5854 | 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk> | |
5855 | ||
5856 | * ntlib.h: Correct return type of getwd. | |
5857 | * ntlib.c (getwd): Correct return type. | |
5858 | ||
5859 | 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
5860 | ||
5861 | * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing | |
5862 | to infile. | |
5863 | ||
5864 | 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk> | |
5865 | ||
5866 | * makefile.nt: Remove all references to wakeup. | |
5867 | ||
880820fe | 5868 | 1996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5869 | |
5870 | * etags.c (C_stab_entry): New keywords for C++ namespace, bool, | |
5871 | explicit, mutable, typename. | |
5872 | ||
5873 | 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5874 | ||
5875 | * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio | |
5876 | streams, one for sending and one for reading the reply. | |
5877 | ||
5878 | 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5879 | ||
5880 | * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c) | |
5881 | (wakeup): Target deleted. | |
5882 | (UTILITIES): Delete wakeup and timer. | |
5883 | ||
5884 | * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted. | |
5885 | ||
5886 | 1996-06-11 Geoff Voelker <voelker@cs.washington.edu> | |
5887 | ||
5888 | * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only. | |
5889 | * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro. | |
5890 | ||
5891 | 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5892 | ||
5893 | * etags.c (main): Copy cwd when appending slash. | |
5894 | ||
5895 | 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
5896 | ||
5897 | * Version 19.31 released. | |
5898 | ||
880820fe | 5899 | 1996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
5900 | |
5901 | * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline. | |
5902 | (Pascal_functions): Increase linecharno by the correct number of | |
5903 | chars, inline the GET_NEW_LINE macro and delete its definition. | |
5904 | ||
c60ee5e7 | 5905 | 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk> |
362bc2da DL |
5906 | |
5907 | * makefile.nt (OBJDIR, BLD): Remove macro definitions. | |
5908 | ||
c60ee5e7 | 5909 | 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk> |
362bc2da DL |
5910 | |
5911 | * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes. | |
6088b51f | 5912 | (movemail.exe, fakemail.exe): Now built under Win32.o. |
362bc2da DL |
5913 | |
5914 | * ntlib.c: Include ntlib.h. | |
5915 | (nt_sleep): Rename to sleep. | |
5916 | (getwd): Return directory. | |
5917 | (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown, | |
5918 | sys_ctime, sys_fopen): New functions. | |
5919 | ||
5920 | * ntlib.h: New file. | |
5921 | ||
5922 | 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu> | |
5923 | ||
b166dcd8 | 5924 | * pop.c (SEND, RECV): Rename from send, recv. |
362bc2da DL |
5925 | (pop_open, pop_trash): Make the trash_started code unconditional. |
5926 | (socket_connection): Delete casts to void. | |
5927 | ||
5928 | 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu> | |
5929 | ||
b166dcd8 KC |
5930 | * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): |
5931 | Definitions copied from lisp.h. | |
362bc2da DL |
5932 | |
5933 | 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk> | |
5934 | ||
5935 | * fakemail.c [WINDOWSNT]: Include ntlib.h. | |
5936 | ||
5937 | * hexl.c [DOSNT]: Include fcntl.h. | |
5938 | [WINDOWSNT]: Include io.h. | |
5939 | (main) [MSDOS]: Change conditional to DOS_NT. | |
5940 | ||
5941 | * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined. | |
5942 | (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined. | |
5943 | [WINDOWSNT]: Include locking.h. | |
5944 | (main): Update usage message. Use IS_DIRECTORY_SEP. | |
5945 | (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined. | |
5946 | (main) [WINDOWSNT]: Invoke locking instead of flock. | |
5947 | (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate. | |
5948 | (main) [MAIL_USE_POP]: Pass password to popmail if used. | |
5949 | Include winsock.h; don't include unix inet headers. | |
5950 | (popmail): Add password argument and pass it to pop_open. | |
5951 | Open output file in binary mode. | |
5952 | ||
5953 | * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h. | |
1c478461 | 5954 | Macro SOCKET_ERROR undefined. |
362bc2da DL |
5955 | Don't declare h_errno. |
5956 | [!WINDOWSNT]: Define macros recv and send. | |
5957 | [!WINDOWSNT] (POP_SERVICE): Change to pop3. | |
5958 | (pop_open) [WINDOWSNT]: Initialize trash_started. | |
5959 | (have_winsock) [WINDOWSNT]: New variable. | |
5960 | (socket_connection) [WINDOWSNT]: Initialize winsock. | |
5961 | (socket_connection): Use closesocket instead of close. | |
5962 | (getline): Use recv instead of read. | |
5963 | (fullwrite): Use send instead of write. | |
5964 | (pop_trash): Use closesocket instead of close. | |
5965 | (pop_trash) [WINDOWSNT]: Cleanup winsock. | |
5966 | Check if being called recursively by sendline. | |
5967 | ||
5968 | * pop.h (struct _popserver): New field trash_started. | |
5969 | ||
5970 | * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined. | |
5971 | ||
5972 | 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
5973 | ||
5974 | * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty. | |
5975 | ||
5976 | 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
5977 | ||
5978 | * etags.c [WINDOWSNT]: Include io.h. | |
5979 | ||
5980 | 1996-04-10 Geoff Voelker <voelker@cs.washington.edu> | |
5981 | ||
5982 | * makefile.nt (CTAGSOBJ): Compile with regexp support. | |
5983 | ||
5984 | 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il> | |
5985 | ||
5986 | * hexl.c [DJGPP v2]: Include io.h. | |
5987 | (main) [DJGPP v2]: Switch standard streams to binary with setmode. | |
5988 | ||
5989 | * b2m.c (main) [MSDOS]: Switch standard streams to binary under | |
5990 | DJGPP v2. | |
5991 | ||
5992 | 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
5993 | ||
5994 | * etags.c (absolute_filename): Use absolutefn. | |
5995 | ||
5996 | 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il> | |
5997 | ||
5998 | * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive | |
5999 | letter isn't an alphabetic character. | |
6000 | (main) [DOS_NT]: Use binary mode on redirected `stdout'. | |
6001 | (process_file) [DOS_NT]: Convert all slashes to forward style. | |
6002 | (absolute_filename) [DOS_NT]: Emit error message for relative | |
6003 | paths with a drive letter. | |
6004 | (absolute_filename) [DOS_NT]: Handle absolute pathnames with | |
6005 | DOS/NT drive letters which try to reference the parent of the root. | |
6006 | (absolute_dirname) [DOS_NT]: Convert all slashes to forward style. | |
6007 | ||
6008 | 1996-03-27 Geoff Voelker <voelker@cs.washington.edu> | |
6009 | ||
6010 | * makefile.nt: Change uses of del to $(DEL). | |
6011 | ||
880820fe | 6012 | 1996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
6013 | |
6014 | * etags.c (just_read_file): Reset lineno and charno on entry. | |
6015 | ||
6016 | 1996-03-15 Anders Lindgren <andersl@csd.uu.se> | |
6017 | ||
58179cce | 6018 | * etags.c: Prolog language totally rewritten. |
ecc54057 | 6019 | (Prolog_functions): Rewritten from scratch. |
61b108cc | 6020 | (skip_comment, prolog_getit): Remove. |
ecc54057 JB |
6021 | (prolog_skip_comment): New function, like old skip_comment. |
6022 | (prolog_pred, prolog_atom, prolog_white): New functions. | |
6023 | (erlang_func, erlang_attributes): Forward declarations added. | |
6024 | (erlang_atom): Check if backslash ends line inside quoted atom. | |
362bc2da | 6025 | |
880820fe | 6026 | 1996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
362bc2da DL |
6027 | |
6028 | * etags.c (absolutefn): DOS_NT version corrected. | |
6029 | (main): Append "/" to the dir name only if not already there. | |
6030 | (print_help): Explain the absolute/relative file name issue. | |
1c478461 | 6031 | |
362bc2da DL |
6032 | 1996-03-08 Anders Lindgren <andersl@csd.uu.se> |
6033 | ||
10d1d0af JB |
6034 | * etags.c: New Language Erlang added. |
6035 | (Erlang_functions, erlang_func, erlang_attribute, erlang_atom) | |
6036 | (erlang_white): New functions. | |
362bc2da DL |
6037 | (Erlang_suffixes): New suffix list. |
6038 | (lang_names): Erlang entry added. | |
6039 | (prolog_getit): Accepts headers spanning several lines. | |
6040 | Always name tags. | |
b166dcd8 | 6041 | (Prolog_functions): Remove incorrect compensation for |
362bc2da DL |
6042 | newline characters. |
6043 | (readline_internal): Zero-terminate last line. | |
6044 | ||
6045 | 1996-03-20 Mike Long <mike.long@analog.com> | |
6046 | ||
6047 | * b2m.c (main): Initialize progname variable before using it. | |
6048 | Quote `username' in From_ header. | |
6049 | ||
6050 | 1996-03-18 Geoff Voelker <voelker@cs.washington.edu> | |
6051 | ||
6052 | * ntlib.c (getpid): New function. | |
6053 | ||
6054 | 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
6055 | ||
6056 | * emacsclient.c (main, both definitions): | |
6057 | Print a newline for normal termination. | |
6058 | ||
6059 | 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu> | |
6060 | ||
6061 | * tcp.c (main): Convert port to network byte order. | |
6062 | ||
6063 | 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6064 | ||
6065 | * pop.c (pop_retrieve, getline): Avoid type clashes. | |
6066 | ||
6067 | 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6068 | ||
6069 | * etags.c (enum sym_type, anonymous enum): Delete final comma. | |
6070 | ||
6071 | 1996-01-15 Paul Eggert <eggert@twinsun.com> | |
6072 | ||
6073 | * rcs2log (initialize_fullname): Add support for NIS+. | |
6074 | (hostname): Fully qualify the default hostname with the domainname | |
6075 | if the hostname lacks a `.'. | |
6076 | ||
362bc2da DL |
6077 | 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu> |
6078 | ||
6079 | * etags.c (consider_token): Fix typo in expression. | |
6080 | ||
6081 | 1996-01-04 Paul Eggert <eggert@twinsun.com> | |
6082 | ||
6083 | * etags.c (substitute): Fix spelling in message. | |
6084 | ||
6085 | 1996-01-03 George V. Reilly <georger@microcrafts.com> | |
6086 | ||
6087 | * makefile.nt (etags, ctags): Compile with regexp support. | |
6088 | (make-docfile, wakeup, etags, ctags, hexl): Ensure build | |
6089 | subdirectory exists before compiling. | |
1c478461 | 6090 | |
362bc2da DL |
6091 | 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu> |
6092 | ||
6093 | * emacsserver.c (main): Do chmod based on existing permission. | |
6094 | ||
6095 | 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6096 | ||
6097 | * Makefile.in (install): Turn on read/execute permission. | |
6098 | ||
6099 | 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
6100 | ||
6101 | * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD. | |
6102 | (LOADLIBES): Use LIB_STANDARD_LIBSRC. | |
6103 | ||
6104 | 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
6105 | ||
b166dcd8 | 6106 | * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE. |
362bc2da | 6107 | |
880820fe | 6108 | 1995-12-07 Francesco Potortì <pot@cnuce.cnr.it> |
362bc2da DL |
6109 | |
6110 | * etags.c (pfnote): Don't make a tag for ctags if there is no name. | |
6111 | (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit, | |
6112 | get_scheme, prolog_getit): Name the tag in ctags mode. | |
6113 | (pfnote): Truncate ctags lines to 50 chars, like it worked once. | |
6114 | (Perl_interpreters): Accept "@PERL@" as an interpreter. | |
6115 | (suggest_asking_for_help): New function. | |
6116 | (main, get_language_from_name): Use suggest_asking_for_help. | |
6117 | (main): Let get_language_from_name make language existence check. | |
6118 | (streq, strneq): Check the arguments #if DEBUG. | |
6119 | ||
880820fe | 6120 | 1995-12-06 Francesco Potortì <pot@cnuce.cnr.it> |
362bc2da DL |
6121 | |
6122 | * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++. | |
b166dcd8 KC |
6123 | (gperf): Add keywords for Objective C and GNU macros. |
6124 | (sym_type): Add values to account for Objective C and GNU macros. | |
362bc2da DL |
6125 | (begtk): The '@' character can start a token. |
6126 | (objdef, methodlen, objtag): New variables for Objective C. | |
b166dcd8 | 6127 | (consider_token, C_entries): Add code for Objective C. |
362bc2da DL |
6128 | (plain_C_suffixes): Add .m and .lm for Objective C. |
6129 | (Yacc_suffixes): Add .ym for Objective yacc. | |
6130 | (GROW_LINEBUFFER): New macro. | |
6131 | (consider_token, C_entries, Pascal_functions): Use the new macro. | |
6132 | (consider_token): Take one more argument. Caller changed. | |
6133 | (consider_token): Use the hashing function to spot GNU macros. | |
6134 | (C_entries): Consider // as a comment start even in plain C for | |
6135 | the sake of Objective C parsing. | |
6136 | ||
880820fe | 6137 | 1995-12-04 Francesco Potortì <pot@cnuce.cnr.it> |
362bc2da | 6138 | |
2f2c687b | 6139 | * Makefile.in (ctags): Depend on etags only for simplicity; |
ecc54057 | 6140 | compile with regexp support enabled. |
362bc2da DL |
6141 | |
6142 | 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6143 | ||
6144 | * Version 19.30 released. | |
6145 | ||
6146 | 1995-11-22 Geoff Voelker <voelker@cs.washington.edu> | |
6147 | ||
6148 | * makefile.nt (DOC, clean): Don't use switches to del not | |
6149 | supported by Windows 95. | |
6150 | ||
6151 | 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6152 | ||
6153 | * Makefile.in (regex.o): Depend on ../src/config.h. | |
6154 | ||
6155 | 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6156 | ||
6157 | * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in. | |
6158 | (LOADLIBES): Use LIB_STANDARD. | |
6159 | ||
6160 | 1995-11-07 Kevin Gallo <kgallo@microsoft.com> | |
6161 | ||
6162 | * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c, | |
6163 | w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove | |
6164 | Windows 95 conditional. | |
6165 | ||
880820fe | 6166 | 1995-11-06 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6167 | |
b166dcd8 KC |
6168 | * etags.c (get_lang_from_name, get_lang_from_interpreter) |
6169 | (get_lang_from_suffix): New functions. | |
362bc2da DL |
6170 | (get_language): Function deleted. |
6171 | (lang_entry): Two members added to struct. | |
6172 | (lang_names): Reflect the new layout of lang_entry. | |
6173 | (print_language_names, main, find_entries): Use the new functions. | |
6174 | (find_entries): Look at the first line for #! if no language. | |
6175 | (C_entries): Invalidate the token when funcdef is reset. | |
6176 | (Perl_functions): New function. | |
6177 | (lang_suffixes): .pl and .pm are Perl suffixes. | |
6178 | ||
880820fe | 6179 | 1995-11-02 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6180 | |
6181 | * etags.c (lowcase): Use the standard tolower function. | |
6182 | (substitute): Remove some wrong and some useless code related with | |
a64387ee | 6183 | escape '\' character in regexp replacement string. |
b166dcd8 | 6184 | (TEX_defenv): Add part, appendix, entry, index. Remove typeout. |
362bc2da DL |
6185 | (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran; |
6186 | .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; | |
6187 | .prolog for prolog (.pl removed). | |
6188 | (massage_name, etags_getcwd): Use lowcase instead of tolower. | |
b166dcd8 | 6189 | (C_entries, find_entries): Add comments about memory leakage. |
362bc2da DL |
6190 | (add_node): Dead code removed. |
6191 | ||
6192 | 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6193 | ||
6194 | * Makefile.in (getdate.o, movemail.o): Specify -Demacs. | |
6195 | (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs. | |
6196 | ||
6197 | 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6198 | ||
6199 | * test-distrib.c: Add #undef for open, close, read, write. | |
6200 | ||
6201 | 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu> | |
6202 | ||
6203 | * test-distrib.c [HAVE_CONFIG_H]: Include config.h. | |
6204 | [! O_RDONLY]: Define it to zero. | |
6205 | (main): Use O_RDONLY instead of explicit zero. | |
6206 | ||
880820fe | 6207 | 1995-08-17 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6208 | |
6209 | * etags.c (Pascal_functions): Close comment bug corrected. | |
6210 | (add_node): Correctly compare node file names. | |
6211 | (Pascal_functions): Correctly allocate and free memory for tline. | |
6212 | (pfnote): Put the definition of fp in the innermost block. | |
6213 | (NODE): `named' member removed. | |
6214 | (pfnote, free_tree, put_entries, total_size_of_entries): Do not | |
1c478461 | 6215 | use the `named' member, check whether `name' is NULL instead. |
362bc2da DL |
6216 | (pfnote): `named' argument removed, all callers changed. |
6217 | (getit, Asm_labels, Pascal_functions, L_getit, get_scheme, | |
6218 | TeX_functions, TEX_getit, prolog_getit): Useless string allocation | |
1c478461 | 6219 | removed from pfnote call, some code cleanup. |
362bc2da DL |
6220 | (relative_filename): Free temporary space allocated by concat. |
6221 | ||
6222 | 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6223 | ||
6224 | * Makefile.in (getdate.c): New target. | |
6225 | (getdate.o): Just compile getdate.c. | |
6226 | ||
6227 | 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6228 | ||
6229 | * fakemail.c (xrealloc): Change cast to match return type. | |
6230 | ||
6231 | 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6232 | ||
6233 | * fakemail.c (xmalloc, xrealloc): Use return-type long *. | |
6234 | ||
6235 | 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6236 | ||
6237 | * movemail.c (main): Fix previous change. | |
6238 | Add error check for empty OUTNAME. | |
6239 | ||
6240 | 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6241 | ||
6242 | * movemail.c (main): Mention lock file name in error message. | |
6243 | ||
6244 | 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6245 | ||
6246 | * profile.c (gettimeofday): New function, defined if necessary. | |
6247 | ||
6248 | 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6249 | ||
6250 | * Makefile.in: Renamed from Makefile.in.in. | |
6251 | (distclean): Delete Makefile.c, not Makefile.in. | |
6252 | ||
6253 | 1995-07-17 Michael Shields <shields@tembel.org> | |
6254 | ||
6255 | * Makefile.in.in (tags): Synonym for `TAGS'. | |
6256 | ||
6257 | 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6258 | ||
6259 | * Makefile.in.in (install, maybe-blessmail): Don't cd ..; | |
6260 | configure has already set $(INSTALL) to the proper relative path. | |
6261 | ||
362bc2da DL |
6262 | 1995-07-08 Paul Eggert <eggert@twinsun.com> |
6263 | ||
6264 | * rcs2log (datearg): Separate date from time with comma, not space, | |
6265 | to work around CVS 1.5 bug. | |
6266 | (CVSROOT): Don't abort when unset if repository is absolute. | |
6267 | ||
6268 | 1995-07-07 Paul Eggert <eggert@twinsun.com> | |
6269 | ||
6270 | * rcs-checkin, rcs2log, vcdiff: | |
6271 | Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems | |
6272 | that interpret `#! /' as a 4-byte magic number. | |
6273 | ||
6274 | 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com> | |
6275 | ||
6276 | * movemail.c (main) [MAIL_USE_POP]: When a user specifies a | |
6277 | mailbox with "po:mailbox", the mailbox is everything after the | |
6278 | "po:" prefix. | |
6279 | ||
6280 | 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6281 | ||
6282 | * emacsserver.c: Make all error messages start with `Error: '. | |
ecc54057 | 6283 | (fatal_error, perror_1): New functions, use throughout. |
362bc2da DL |
6284 | |
6285 | 1995-06-28 Paul Eggert <eggert@twinsun.com> | |
6286 | ||
6287 | * rcs2log (CVSROOT, repository): | |
6288 | Allow remote repositories a la CVS 1.4. | |
6289 | ||
880820fe | 6290 | 1995-06-27 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6291 | |
2f2c687b JB |
6292 | * etags.c (plain_C_entries): New function. |
6293 | (lowcase): New macro. | |
6294 | (tail, Fortran_functions, Pascal_functions): Use new macro lowcase. | |
6295 | (lang_suffixes): New suffix ".pc" for Pro*C files. | |
6296 | (consider_token): Don't tag all tokens beginning with DEFUN & Co.. | |
6297 | (tail): Look for the end of the token when comparing. | |
6298 | (takeprec): Since now tail behaves differently, use strneq. | |
362bc2da DL |
6299 | |
6300 | 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6301 | ||
6302 | * movemail.c (main): Add newline in usage message. | |
6303 | ||
6304 | 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6305 | ||
6306 | * make-docfile.c (scan_file): Make sure it never looks at filename[-1]. | |
6307 | ||
880820fe | 6308 | 1995-06-21 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6309 | |
6310 | * etags.c (find_entries): Rewind before rereading the input file. | |
6311 | ||
6312 | 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6313 | ||
6314 | * Version 19.29 released. | |
6315 | ||
6316 | * make-docfile.c (main) [MSDOS]: Do set _fmode. | |
6317 | This undoes part of the previous change. | |
6318 | ||
6319 | 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6320 | ||
6321 | * make-docfile.c (main): On MSDOS, don't change stdout | |
6322 | to binary, and insist on an -o option. | |
6323 | ||
6324 | 1995-06-13 Geoff Voelker <voelker@cs.washington.edu> | |
6325 | ||
5165d44a | 6326 | * etags.c (process_file, absolute_filename): Handle filenames |
362bc2da DL |
6327 | starting with a drive letter. |
6328 | ||
6329 | * makefile.nt (install): Copy wakeup.exe properly. | |
6330 | ||
6331 | 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6332 | ||
6333 | * make-docfile.c [MSDOS]: #undef chdir. | |
6334 | ||
6335 | 1995-06-04 Paul Eggert <eggert@twinsun.com> | |
6336 | ||
6337 | * rcs2log (output_authors): Allow ':' in time zone, | |
6338 | as per ISO 8601 and RCS 5.6.8 beta. | |
6339 | ||
880820fe | 6340 | 1995-05-29 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6341 | |
6342 | * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise | |
6343 | compatibility problems. | |
6344 | ||
6345 | 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> | |
6346 | ||
6347 | * etags.c (etags_getcwd): Don't use #elif. | |
6348 | Have just one function body. | |
6349 | ||
6350 | 1995-05-25 Geoff Voelker <voelker@cs.washington.edu> | |
6351 | ||
6352 | * makefile.nt (LIBS): Use BASE_LIBS. | |
5165d44a | 6353 | (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend |
362bc2da DL |
6354 | upon LIBS. |
6355 | (DOC): Use del instead of rm. | |
6356 | (DOC) [WINDOWS95]: Use DOC. | |
6357 | (clean): Handle MSVC aux files. | |
5165d44a | 6358 | (config.h, paths.h): Use $(CP) instead of cp. |
362bc2da DL |
6359 | (config.h): Use $(CONFIG_H) |
6360 | (make-docfile.obj): Depend upon config.h. | |
6361 | Clean up comments. | |
6362 | ||
880820fe | 6363 | 1995-05-23 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6364 | |
6365 | * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the | |
6366 | former gives the true path even in the presence of simlinks. | |
6367 | ||
6368 | 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6369 | ||
6370 | * movemail.c (main): Increase lock timeout to five minutes. | |
6371 | ||
6372 | 1995-05-06 Geoff Voelker <voelker@cs.washington.edu> | |
6373 | ||
6374 | * makefile.nt (obj): Use .c files. | |
6375 | ||
6376 | 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6377 | ||
6378 | * make-docfile.c: Include config.h. | |
6379 | (NO_SHORTNAMES): New definition. | |
6380 | (xmalloc): Return long *. | |
6381 | ||
6382 | * etags.c (C_entries): Cast result of xrealloc. | |
6383 | (xmalloc, xrealloc): Declare them to return long *. | |
6384 | ||
6385 | * b2m.c (xmalloc, xrealloc): Declare them long *. | |
6386 | ||
6387 | * movemail.c (xmalloc): Declare it to return long *. | |
6388 | ||
6389 | 1995-04-30 Paul Eggert <eggert@twinsun.com> | |
6390 | ||
6391 | * rcs2log (datearg): If rlog options are specified explicitly, | |
6392 | omit the implicit '-d>DATE' option. | |
6393 | (repository, rlog): Allow absolute paths to CVS repositories. | |
6394 | Look only at the first line of CVS/Repository. | |
6395 | ||
6396 | 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6397 | ||
6398 | * Makefile.in.in (extraclean): Depend on maintainer-clean, not | |
6399 | realclean. | |
6400 | ||
6401 | 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6402 | ||
6403 | * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS): | |
6404 | Alternative (empty) definitions. | |
6405 | ||
6406 | 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6407 | ||
6408 | * emacsclient.c (main): Add argv[0] to an error message. | |
6409 | ||
6410 | 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6411 | ||
6412 | * emacsclient.c (main): Improve error handling. | |
6413 | * cvtmail.c (main, skip_to_lf): Improve error handling. | |
6414 | (sysfail): New function. | |
6415 | ||
6416 | * b2m.c (main): Check for trailing ", " before trying to delete it. | |
6417 | ||
6418 | 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6419 | ||
6420 | * Makefile.in.in (all): Build test-distrib and make-docfile. | |
6421 | ||
6422 | * make-docfile.c (scan_c_file): At end, restore file name last char | |
6423 | to its original value. | |
6424 | ||
6425 | 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6426 | ||
6427 | * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM. | |
6428 | ||
6429 | 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6430 | ||
b166dcd8 | 6431 | * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS. |
362bc2da DL |
6432 | (alloca.o, regex.o): Use BASE_CFLAGS. |
6433 | ||
6434 | 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6435 | ||
6436 | * emacsclient.c [Berkeley sockets version] (main): Declare getcwd. | |
6437 | ||
6438 | 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6439 | ||
6440 | * Makefile.in.in (aixcc, aixcc.c): Targets deleted. | |
b166dcd8 | 6441 | (SOURCES, distclean): Remove obsolete references to aixcc. |
362bc2da DL |
6442 | |
6443 | 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6444 | ||
6445 | * aixcc.lex: File deleted--surely obsolete now. | |
6446 | ||
6447 | 1995-03-23 Paul Eggert <eggert@twinsun.com> | |
6448 | ||
6449 | * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for | |
6450 | portability to mawk and nawk. | |
6451 | ||
6452 | 1995-03-21 Paul Eggert <eggert@twinsun.com> | |
6453 | ||
6454 | * rcs2log: Treat -u "login:fullname:mailaddr" as if it were | |
6455 | -u "login<tab>fullname<tab>mailaddr". | |
6456 | ||
6457 | 1995-03-21 Paul Eggert <eggert@twinsun.com> | |
6458 | ||
6459 | * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which | |
6460 | replaces the (now obsolescent) -n login fullname mailaddr option. | |
6461 | Add -R option for recursive rlog. | |
07655e62 | 6462 | (AWK): New environment variable (default `awk') for awk program name. |
362bc2da DL |
6463 | (output_authors, tab, loginFullnameMailaddrs, recursive): New vars. |
6464 | Quote authors and fullnames correctly. | |
6465 | Don't omit path from repository root when logging CVS files. | |
6466 | ||
6467 | 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6468 | ||
6469 | * emacsclient.c, emacsserver.c: Use BSD sockets whenever available, | |
6470 | even if HAVE_SYSVIPC. | |
6471 | * emacsclient.c (main): Use getcwd if not BSD. | |
6472 | ||
880820fe | 6473 | 1995-03-13 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6474 | |
2f2c687b | 6475 | * etags.c (process_file): Free (filename) after using it. |
362bc2da DL |
6476 | (readline_internal): Do not access the char before start of line. |
6477 | ||
880820fe | 6478 | 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6479 | |
e1dbe924 PE |
6480 | * etags.c (C_entries): token_saved removed. Initialize tok.valid and |
6481 | savetok.valid. Mark token as valid when it is initialized. | |
362bc2da DL |
6482 | (make_tag): Make token only if token is valid and reset validity. |
6483 | (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. | |
b166dcd8 | 6484 | (TOKEN): Add a new member: valid. |
362bc2da | 6485 | |
880820fe | 6486 | 1995-02-15 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6487 | |
6488 | * etags.c (C_entries): Bug corrected in xrealloc of token_str. | |
6489 | (main): Do not read twice the last filename in the stdin file list. | |
6490 | ||
880820fe | 6491 | 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6492 | |
e1dbe924 | 6493 | * etags.c (C_entries): Initialize the new members of TOKEN. |
362bc2da DL |
6494 | (C_entries): Do not allocate a new space for each token found by |
6495 | consider_token. Let make_tag do that instead. | |
6496 | (make_tag): Since now TOKEN has memory of where it is taken from, | |
6497 | this new macro substitutes both make_tag_from_new_lb and | |
6498 | make_tag_from_oth_lb. All callers changed. | |
6499 | (TOKEN): Add linepos and buffer members. | |
e1dbe924 PE |
6500 | (main): Initialize token_str. |
6501 | (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes. | |
362bc2da DL |
6502 | (token_str): New global variable used by C_entries. |
6503 | ||
6504 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | |
6505 | ||
b166dcd8 | 6506 | * Makefile.in.in (maintainer-clean): Rename from realclean. |
362bc2da | 6507 | |
880820fe | 6508 | 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6509 | |
e1dbe924 | 6510 | * etags.c (pfnote): Initialize been_warned in the node. |
b166dcd8 | 6511 | (C_entries): Remove a speed hack for the sake of clarity. |
362bc2da | 6512 | |
880820fe | 6513 | 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6514 | |
6515 | * etags.c (longopts, print_help, main): Use -I as abbreviation | |
6516 | for the --ignore-indentation option. | |
6517 | (main): Do not print an error message for unknown options. | |
6518 | ||
880820fe | 6519 | 1995-01-12 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6520 | |
61b108cc | 6521 | * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete. |
194d44e7 JB |
6522 | (append_to_tagfile, typedefs, typedefs_and_cplusplus) |
6523 | (constantypedefs, update, vgrind_style, no_warnings) | |
6524 | (cxref_style, cplusplus, noindentypedefs): Were int, now logical. | |
362bc2da DL |
6525 | (permit_duplicates): Was a var, now a #define. |
6526 | (filename_lb): Was global, now local to main. | |
6527 | (main): Open the tag file when in cxref mode. | |
6528 | Use a BUFSIZ size buffer for making the shell commands. | |
6529 | Look at the return value from the system routine. | |
6530 | Exit when cannot open the tag file. | |
6531 | (process_file): Open the file and pass the FILE* to find_entries. | |
6532 | (find_entries): Now void, because does not open the file itself. | |
6533 | (pfnote): Recovering from lack of memory does not work. Removed. | |
6534 | Use savenstr and simplify the code. | |
6535 | (free_tree): Only free the name space if node is named. | |
6536 | (structtag): Now a pointer, not a fixed length array of chars. | |
6537 | (consider_token): Don't take a token as argument. Use savenstr | |
6538 | when saving a tag in structtag. Callers changed. | |
6539 | (TOKEN): Structure changed. Now used only in C_entries. | |
61b108cc | 6540 | (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete. |
362bc2da | 6541 | (C_entries): nameb and savenameb deleted. Use dinamic allocation. |
61b108cc | 6542 | (pfcnt): Delete. Users updated. |
194d44e7 JB |
6543 | (getit, Asm_labels, Pascal_functions, L_getit, get_scheme) |
6544 | (TEX_getit, prolog_getit): Use dinamic allocation for storing | |
362bc2da DL |
6545 | the tag instead of a fixed size buffer. |
6546 | ||
6547 | 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6548 | ||
6549 | * movemail.c (main): Skip past the colon in inname. | |
6550 | ||
880820fe | 6551 | 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6552 | |
6553 | * etags.c (pfatal): New function. | |
6554 | (main, etags_getcwd): Use pfatal. | |
6555 | (etags_getcwd): Corrected another bug in the HAVE_GETCWD version. | |
6556 | ||
880820fe | 6557 | 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6558 | |
6559 | * etags.c (Lang_function): Use void instead to declare the | |
6560 | language functions, because many compilers are buggy. | |
6561 | (etags_getcwd): Fix the previous fix on the #else branch. | |
6562 | (readline_internal): Discard possible \r before \n here. | |
6563 | (C_entries): Do not deal with \r here: undo previous fix. | |
6564 | ||
880820fe | 6565 | 1995-01-09 Francesco Potortì (pot@fly) |
362bc2da DL |
6566 | |
6567 | * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new | |
6568 | functions and a macro that allow the program to work on input | |
6569 | lines of whatever length. Copied from etags.c. | |
6570 | (fatal): Print a fatal error message and exit. | |
6571 | (main): Use the new functions. Fixed a bug that made a \037 char | |
6572 | appear at the end of the output. | |
6573 | ||
6574 | 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6575 | ||
6576 | * etags.c (C_entries): Ignore carriage return at end of line. | |
6577 | ||
6578 | 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6579 | ||
6580 | * fakemail.c (xmalloc, xrealloc): Add casts. | |
6581 | (add_field): Handle <...> and "..." syntax. | |
6582 | (setup_files, get_keyword): Clean up parens and line breaks. | |
6583 | (args_size): Likewise. | |
6584 | ||
6585 | 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> | |
6586 | ||
6587 | * yow.c: Include program name in error messages. | |
6588 | ||
6589 | 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6590 | ||
6591 | * make-docfile.c (scan_lisp_file): Handle dynamic doc strings. | |
6592 | (xmalloc, fatal, error): New functions. | |
6593 | (progname): New variable. | |
6594 | (main): Set progname. | |
6595 | ||
6596 | 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6597 | ||
6598 | * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h. | |
6599 | (main): If socket/mqueue name is in home dir, add in the host name. | |
6600 | Rename .emacs_server to .emacs-server.... | |
6601 | ||
6602 | 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6603 | ||
6604 | * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction. | |
6605 | ||
880820fe | 6606 | 1994-11-22 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6607 | |
2f2c687b JB |
6608 | * etags.c (print_help): Print --regex usage for ctags also. |
6609 | (main): Use -h in addition to -H as abbreviation for --help. | |
362bc2da | 6610 | |
880820fe | 6611 | 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6612 | |
6613 | * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps | |
6614 | is compiled if this is defined. The new functions and variables | |
6615 | added #ifdef ETAGS_REGEXP are not listed in this ChangeLog. | |
6616 | [VMS]: All VMS specific code previously contained in | |
6617 | etags-vmslib.c is now included here, modified for dealing with | |
6618 | language and regex options intermixed with filenames. | |
6619 | (header_file): Global variable deleted. | |
6620 | (Lang_Function): New typedef. All language parser functions | |
6621 | changed to this new type. | |
6622 | (string_numeric_p, substr, prestr): Functions deleted. | |
6623 | (readline_internal): Does the job that readline did previously. | |
6624 | (longopts): --language and --regex options added. | |
6625 | (lang_names, lang_extensions, lang_func, print_language_names): | |
6626 | New structures, variables and functions for choosing languages. | |
6627 | (print_help): Help strings updated. Calls print_language_names. | |
6628 | (argument_type, ARGUMENT): Typedefs for dealing with language and | |
6629 | regex options intermixed with filenames. | |
b166dcd8 | 6630 | (main): Change the way of dealing with arguments on the command |
362bc2da DL |
6631 | line to deal with language and regex options intermixed with |
6632 | filenames. | |
6633 | (get_language, default_C_entries, Cplusplus_entries, | |
6634 | Cstar_entries, Yacc_entries, just_read_file): New functions. | |
6635 | (find_entries): Use the new method for choosing the language. | |
6636 | (Pascal_functions): Allow intermixing of comment styles. | |
6637 | (prolog_getit, skip_comment): Rewritten for speed. | |
6638 | (readline): Rewritten to deal with regexps. | |
6639 | ||
880820fe | 6640 | 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6641 | |
6642 | * etags.c (<errno.h>): #include added. | |
6643 | (etags_getcwd): Check return value from getcwd. | |
6644 | ||
6645 | 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6646 | ||
6647 | * profile.c (TV1, TV2): Use EMACS_TIME as type. | |
6648 | (get_time): Use EMACS_SUB_TIME. | |
6649 | ||
d57727c9 | 6650 | 1994-10-30 Geoff Voelker <voelker@cs.washington.edu> |
362bc2da DL |
6651 | |
6652 | * ntlib.c: New file. | |
6653 | * makefile.nt: New file. | |
6654 | ||
6655 | * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY. | |
6656 | [WINDOWSNT]: Include the NT headers. | |
6657 | (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS. | |
6658 | ||
6659 | * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS. | |
6660 | [WINDOWSNT]: Include some NT headers. | |
6661 | ||
6662 | 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com) | |
6663 | ||
6664 | * pop.c (getline): When a search of already-read input for CRLF | |
6665 | fails, store the fact that we've searched it and don't search it | |
6666 | again after reading more data. | |
6667 | ||
6668 | * pop.c (getline): When determining whether or not it's necessary | |
6669 | to grow the input buffer, take into account the null that's stored | |
6670 | at the end of already-read input in the buffer. | |
6671 | ||
880820fe | 6672 | 1994-10-21 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6673 | |
2f2c687b | 6674 | * etags.c (prestr, substr): Return a logical type. |
362bc2da | 6675 | (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF". |
2f2c687b | 6676 | (consider_token): Set funcdef to fignore when a DEFUN is met. |
362bc2da DL |
6677 | (C_entries): Now we can use Tom Hageman patch for extern "C". |
6678 | ||
6679 | 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6680 | ||
6681 | * movemail.c: PopServer renamed to popserver throughout. | |
6682 | ||
6683 | 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu> | |
6684 | ||
6685 | * etags.c: Don't declare malloc, since we include config.h. | |
6686 | * fakemail.c: Likewise. | |
6687 | ||
6688 | 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6689 | ||
6690 | * movemail.c: Don't declare malloc. | |
6691 | ||
6692 | 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu> | |
6693 | ||
6694 | * rcs-checkin: Use test -r instead of < to check readability, to | |
ecc54057 | 6695 | avoid syntax error. |
362bc2da DL |
6696 | |
6697 | 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com) | |
6698 | ||
6699 | * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is | |
6700 | defined, and if HAVE_CONFIG_H isn't defined, define | |
6701 | MAIL_USE_POP always (so that this file can be included in | |
6702 | other programs besides emacs). | |
6703 | ||
6704 | * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or | |
6705 | HAVE_CONFIG_H isn't defined. | |
6706 | ||
6707 | * pop.c (find_crlf, getline): Instead of using strstr, use a | |
6708 | custom function for finding CRLF. | |
6709 | (my_strstr): Function deleted. | |
6710 | ||
6711 | 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com) | |
6712 | ||
6713 | * pop.c (getline): Fix a segfault because of passing a | |
6714 | non-null-terminated string into strstr(). Fix from | |
6715 | djm@va.pubnix.com (David J. MacKenzie). | |
6716 | ||
6717 | * pop.c: Don't include <string.h> and <strings.h>. | |
6718 | ||
b166dcd8 KC |
6719 | * pop.c: Include <des.h> before <krb.h>, rather than after. |
6720 | They should be interchangeable, and indeed the inclusion is done in | |
362bc2da DL |
6721 | both orders in various files in the Kerberos 4 library sources, |
6722 | but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI | |
6723 | requires that <des.h> be included first, and I don't see any harm | |
6724 | in changing the order. | |
6725 | ||
6726 | * pop.c: Include ../src/config.h, to get HAVE_STRING_H and | |
6727 | STDC_HEADERS, if they're defined. Undef open, read, write and | |
6728 | close after including it. | |
6729 | ||
6730 | 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6731 | ||
6732 | * pop.c: Fix mismatch in conditionals. | |
6733 | ||
6734 | * make-docfile.c (main): Don't process one input file twice. | |
6735 | Never use exit code > 1. | |
6736 | ||
6737 | * pop.c (open, close, read, write): Add #undefs. | |
6738 | ||
6739 | * pop.c: Don't declare malloc, realloc, free. | |
6740 | Include ../src/config.h. | |
6741 | Don't include string.h or strings.h. | |
6742 | Include des.h before krb.h. | |
6743 | Do declare my_strstr. | |
6744 | (getline): Really use my_strstr. | |
6745 | Leave one empty place in server->buffer, | |
6746 | and put a null at the end of the data in it. | |
6747 | ||
6748 | 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6749 | ||
b166dcd8 KC |
6750 | * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. |
6751 | Don't call kill with pid 0. Handle EINTR when receiving messages. | |
362bc2da DL |
6752 | |
6753 | 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6754 | ||
6755 | * Makefile.in.in (regex.o): Use full path to find regex.c. | |
6756 | ||
880820fe | 6757 | 1994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da | 6758 | |
2f2c687b JB |
6759 | * Makefile.in.in (etags): Add dependency on regex.o, link with it. |
6760 | (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added. | |
362bc2da DL |
6761 | |
6762 | 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) | |
6763 | ||
6764 | * Makefile.in.in (DONT_INSTALL): Remove make-path. | |
6765 | (${archlibdir}): Use mkinstalldirs instead. | |
6766 | ||
6767 | * movemail.c: Make functions that return nothing void, not | |
6768 | implicitly int. | |
6769 | (main): Improve usage message. | |
6770 | (error): Write to stderr, not stdout. | |
6771 | ||
e43b1141 GM |
6772 | * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c: |
6773 | * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c: | |
6774 | * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall | |
6775 | warnings from unused variables and implicitly declared functions. | |
362bc2da DL |
6776 | |
6777 | 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6778 | ||
6779 | * Makefile.in.in (clean): rm DOC* and *.tab.[ch]. | |
6780 | (distclean): Not here. | |
6781 | ||
b166dcd8 | 6782 | * Makefile.in.in (libexecdir): Rename from libdir. |
362bc2da | 6783 | |
880820fe | 6784 | 1994-10-11 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
6785 | |
6786 | * etags.c (C_entries): Name the #define's that are macros. | |
6787 | ||
6788 | 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu> | |
6789 | ||
6790 | * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros: | |
6791 | fd_set arg is a pointer, descriptor arg comes first. | |
6792 | ||
880820fe | 6793 | 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6794 | |
e1dbe924 PE |
6795 | * etags.c (C_entries): Recognize typedef of ANSI style functions. |
6796 | (C_entries): Recognize #define inside a struct. | |
362bc2da DL |
6797 | (C_entries): ANSI tells that preprocessor commands do not have to |
6798 | start on the first column. | |
6799 | (print_help): Documentation corrected for -d and -D. | |
6800 | (white, endtk): ANSI tells the vertical tab is a separator. | |
6801 | ||
6802 | 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com) | |
6803 | ||
6804 | * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables. | |
6805 | (pop.o, movemail.o): New targets. | |
6806 | (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS. | |
6807 | ||
6808 | * pop.c, pop.h: New files. | |
6809 | ||
6810 | * movemail.c: Improve POP code, move most of it into a separate file. | |
6811 | (mbx_delimit_end, mbx_delimit_begin): Check for errors. | |
6812 | (mbx_write): Check for errors and for From line. | |
6813 | (pop_retr, popmail): Use subroutines in pop.c to do the real work. | |
6814 | (get_errmsg, multiline, getline, putline, pop_stat, pop_command) | |
6815 | (pop_init): Functions deleted. | |
6816 | ||
6817 | 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu> | |
6818 | ||
6819 | * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new. | |
6820 | Rename path to dirname. | |
6821 | ||
6822 | 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6823 | ||
6824 | * Makefile.in.in (UTILITIES): | |
6825 | Remove test-distrib, make-docfile, make-path. | |
6826 | (DONT_INSTALL): New variable--list those files here. | |
6827 | (clean): Delete the files in DONT_INSTALL. | |
6828 | ||
6829 | 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6830 | ||
6831 | * b2m.c (from, labels, data): Use MAX_DATA_LEN as length. | |
6832 | (main): Use fgets, not gets. | |
6833 | ||
6834 | 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6835 | ||
6836 | * timer.c: Don't declare malloc. | |
6837 | ||
6838 | 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
6839 | ||
6840 | * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already | |
6841 | defined, use simple 32-bit versions of these macros. | |
6842 | (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros. | |
6843 | ||
c60ee5e7 | 6844 | 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
362bc2da DL |
6845 | |
6846 | * etags.c (etags_getcwd): Use getcwd if available. | |
6847 | ||
6848 | 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6849 | ||
6850 | * Version 19.27 released. | |
6851 | ||
6852 | 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6853 | ||
6854 | * Version 19.26 released. | |
6855 | ||
6856 | 1994-08-15 Paul Eggert <eggert@twinsun.com> | |
6857 | ||
6858 | * rcs2log: Add support for CVS. | |
6859 | Work with `rlog's that output ISO 8601 dates. | |
6860 | ||
6861 | 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu> | |
6862 | ||
6863 | * rcs2log: Use <> to delimit email address. | |
6864 | ||
6865 | 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6866 | ||
6867 | * emacsserver.c [SYSV_IPC] (main): Make a separate process | |
6868 | so we can listen for multiple requests. | |
6869 | ||
6870 | 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6871 | ||
6872 | * movemail.c: Include config.h first thing. | |
6873 | ||
6874 | 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6875 | ||
6876 | * emacsserver.c (main): Add casts to avoid warnings. | |
6877 | ||
6878 | 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6879 | ||
6880 | * Makefile.in.in (${archlibdir}): Compare the proper dir | |
6881 | before installing the scripts. | |
6882 | ||
6883 | 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6884 | ||
6885 | * emacsclient.c (main): New local var progname saves argv[0]. | |
6886 | ||
6887 | 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6888 | ||
6889 | * emacsclient.c (main): Don't actually modify argv[0]. | |
6890 | Modify a copy instead. | |
6891 | ||
6892 | 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
6893 | ||
6894 | * profile.c (reset_watch, get_time): Use EMACS_GET_TIME. | |
6895 | (tzp): Var deleted. | |
6896 | ||
6897 | * Makefile.in.in: Add #undef alloca. | |
6898 | ||
6899 | 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6900 | ||
6901 | * timer.c (xmalloc): New function. | |
6902 | ||
6903 | 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6904 | ||
6905 | * Makefile.in.in (ALLOCA_CFLAGS): New variable. | |
6906 | (alloca.o): New target. | |
6907 | ||
6908 | 1994-07-08 Dave Love (d.love@dl.ac.uk) | |
6909 | ||
e1dbe924 | 6910 | * etags.c (takeprec): Recognize `character*(*) function'. |
362bc2da | 6911 | |
880820fe | 6912 | 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 6913 | |
ecc54057 JB |
6914 | * etags.c (main): Don't barf on obsolete -t and -T switches. |
6915 | (main): Print an explicative message when a switch is not known. | |
362bc2da DL |
6916 | |
6917 | 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6918 | ||
6919 | * hexl.c: Don't declare exit or perror. | |
6920 | ||
6921 | * emacsserver.c (main): Don't declare geteuid. | |
6922 | Don't declare getenv if convex. | |
6923 | ||
6924 | 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6925 | ||
6926 | * Makefile.in.in (test-distrib): Use ALL_CFLAGS. | |
6927 | ||
880820fe | 6928 | 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da DL |
6929 | |
6930 | * etags.c (absolute_filename): Remove infinite loop bug when | |
6931 | accessing files in directories whose name begins with a dot. | |
6932 | ||
880820fe | 6933 | 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da DL |
6934 | |
6935 | * etags.c (etags_getcwd): Delete the trailing newline from cwd. | |
6936 | ||
6937 | 1994-06-01 Morten Welinder (terra@diku.dk) | |
6938 | ||
6939 | * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic | |
6940 | location of data directory. | |
6941 | ||
6942 | 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6943 | ||
6944 | * Version 19.25 released. | |
6945 | ||
6946 | 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6947 | ||
6948 | * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail. | |
6949 | ||
6950 | 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6951 | ||
6952 | * Makefile.in.in (blessmail): Don't depend on ../src/emacs. | |
6953 | ||
6954 | 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6955 | ||
6956 | * Version 19.24 released. | |
6957 | ||
6958 | 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6959 | ||
6960 | * make-docfile.c (write_c_args): Put `default' in upper case. | |
6961 | ||
6962 | 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6963 | ||
6964 | * etags.c (etags_getcwd): Cast result of popen. | |
6965 | (popen): Declaration deleted. | |
6966 | ||
6967 | 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
6968 | ||
6969 | * etags.c [!MSDOS]: Declare popen. | |
6970 | ||
6971 | 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6972 | ||
6973 | * b2m.c (main): Avoid crash if argc is 1. | |
6974 | ||
6975 | 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6976 | ||
6977 | * Version 19.23 released. | |
6978 | ||
6979 | * Makefile.in.in (blessmail): Specify directory for blessmail.el. | |
6980 | ||
6981 | 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6982 | ||
6983 | * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src. | |
6984 | ||
6985 | 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) | |
6986 | ||
6987 | * Makefile.in.in: Fix out of date comment. | |
6988 | ||
6989 | 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6990 | ||
6991 | * Makefile.in.in: Put in a separator for where to start cpp procssing. | |
6992 | Move all autoconf substitutions above that point. | |
6993 | Above that point, use Make-style comments. | |
6994 | This goes with changes in ../configure.in. | |
6995 | ||
6996 | 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
6997 | ||
6998 | * Makefile.in.in (maybe-blessmail): New target to print the blessmail | |
6999 | warning message. | |
7000 | (${archlibdir}): Don't do it here. Don't depend on blessmail. | |
7001 | ||
7002 | 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7003 | ||
7004 | * Makefile.in.in (${archlibdir}): Be lenient about wc output format. | |
7005 | ||
7006 | 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7007 | ||
7008 | * Makefile.in.in (${archlibdir}): Don't run blessmail; instead | |
7009 | print advice to run it, if it has anything significant to do. | |
7010 | And only if MOVEMAIL_NEEDS_BLESSING. | |
7011 | (blessmail): Use emacs, not temacs. | |
b166dcd8 | 7012 | (configuration): Rename from configname. |
362bc2da DL |
7013 | |
7014 | 1994-04-30 Morten Welinder (terra@diku.dk) | |
7015 | ||
7016 | * etags.c (find_entries): Treat `*.cpp' as C++ files. | |
7017 | ||
7018 | 1994-04-30 Morten Welinder (terra@diku.dk) | |
7019 | ||
7020 | * etags.c [MSDOS]: #include <sys/param.h> for the following. | |
7021 | [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning | |
7022 | a shell. | |
7023 | ||
7024 | 1994-04-29 Morten Welinder (terra@diku.dk) | |
7025 | ||
7026 | * hexl.c [MSDOS]: Don't define proto type for exit. | |
7027 | ||
7028 | 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7029 | ||
7030 | * b2m.c: Don't include string.h or strings.h. | |
7031 | ||
7032 | 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7033 | ||
7034 | * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp | |
7035 | symbols, not make variables. | |
7036 | ||
7037 | 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7038 | ||
7039 | * Makefile.in.in (etags, ctags): Make VERSION a string constant. | |
7040 | * etags.c (print_version): Print VERSION as a string. | |
7041 | ||
7042 | 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7043 | ||
7044 | * fakemail.c (readline): Fix updating of p when buffer grows. | |
7045 | ||
7046 | 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7047 | ||
7048 | * Makefile.in.in (blessmail): New target. | |
7049 | ${archlibdir}: Use blessmail when installing movemail. | |
7050 | ||
7051 | 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7052 | ||
7053 | * fakemail.c (readline): When extending the buffer, | |
7054 | calculate end afresh using the new size. | |
7055 | ||
880820fe | 7056 | 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da | 7057 | |
2f2c687b | 7058 | * etags.c (main, print_help): Eliminate the -F option. |
362bc2da | 7059 | |
880820fe | 7060 | 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da | 7061 | |
2f2c687b | 7062 | * etags.c (absolute_filename): Compare against '\0' instead of NULL. |
362bc2da DL |
7063 | |
7064 | 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7065 | ||
7066 | * Makefile.in.in: Renamed from Makefile.in. | |
7067 | Makefile.in is now generated from it, and then preprocessed. | |
7068 | Change comments to C syntax. | |
7069 | Include config.h. | |
7070 | (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined. | |
7071 | (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE. | |
7072 | ||
7073 | 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7074 | ||
7075 | * movemail.c [HAVE_UNISTD_H]: Include unistd.h. | |
7076 | ||
880820fe | 7077 | 1994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da DL |
7078 | |
7079 | * etags.c (etags_getcwd): Initialize bufsize. | |
7080 | ||
7081 | 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7082 | ||
7083 | * profile.c (gettimeofday): If system doesn't have this, define it | |
7084 | to give a fatal error. | |
7085 | ||
7086 | 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7087 | ||
7088 | * movemail.c (main): Use setuid, not seteuid. | |
7089 | ||
7090 | 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7091 | ||
7092 | * etags.c: #undef static. | |
7093 | ||
880820fe | 7094 | 1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da | 7095 | |
b166dcd8 | 7096 | * etags.c (outf, outfiledir): Rename to tagf, tagfiledir. |
2f2c687b | 7097 | (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs) |
b166dcd8 | 7098 | (Scheme_funcs, prolog_funcs): Rename to Fortran_functions, |
362bc2da DL |
7099 | Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions, |
7100 | TeX_functions, Prolog_functions. | |
2f2c687b JB |
7101 | (inf): No more a global variable. |
7102 | (C_entries): Take 2nd parameter `inf' instead of using the global one. | |
e1dbe924 | 7103 | (find_entries): Add the cp1 var for optimization. |
b166dcd8 | 7104 | (find_entries): Add more suffixes for assembler files. |
362bc2da DL |
7105 | (Asm_funcs): Now finds labels even without an ending colon. |
7106 | ||
880820fe | 7107 | 1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it) |
362bc2da | 7108 | |
2f2c687b JB |
7109 | * etags.c (main): Use etags_getcwd for compatibility. |
7110 | (etags_getcwd): New function. | |
362bc2da DL |
7111 | |
7112 | 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7113 | ||
7114 | * Makefile.in (etags, ctags): Pass -D for VERSION. | |
7115 | ||
880820fe | 7116 | 1994-03-25 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7117 | |
61b108cc | 7118 | * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead. |
2f2c687b JB |
7119 | (main): Don't allow the use of -t and -T in etags mode. |
7120 | (print_help): Don't show options enabled by default. | |
7121 | (print_version): Show the emacs version number if VERSION is #defined. | |
7122 | (find_entries): Add "ss" as suffix for Chez Scheme. | |
362bc2da | 7123 | |
880820fe | 7124 | 1994-03-23 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7125 | |
2f2c687b | 7126 | * etags.c (cwd, outfiledir): Vars added. |
362bc2da DL |
7127 | (relative_filename, absolute_filename, absolute_dirname): |
7128 | functions added to compute filenames in tags files. | |
2f2c687b | 7129 | (process_file): Filenames in tags file are relative to the |
362bc2da | 7130 | directory where the tags file is (useful with the -o option). |
e1dbe924 | 7131 | (main): Initialize the outfiledir var. |
b166dcd8 | 7132 | (TYPEDST): Add the `tignore' value. |
2f2c687b | 7133 | (C_entries): Corrected various small bugs. |
362bc2da DL |
7134 | |
7135 | 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7136 | ||
7137 | * Makefile.in (UTILITIES): `env' deleted. | |
7138 | (env): Target deleted. | |
7139 | * env.c: File deleted. | |
1c478461 | 7140 | |
362bc2da DL |
7141 | 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) |
7142 | ||
7143 | * Makefile.in (install, ${archlibdir}): Switch back to .. | |
7144 | before running INSTALL_PROGRAM. | |
7145 | ||
880820fe | 7146 | 1994-03-14 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7147 | |
b166dcd8 | 7148 | * etags.c (TYPEDST): Add the `tignore' value. |
2f2c687b | 7149 | (C_entries): Corrected various bugs, now correctly parses the |
362bc2da DL |
7150 | `extern "C" {' construction (patch by Tom R.Hageman). |
7151 | ||
7152 | 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7153 | ||
7154 | * b2m.c: Use <...> to include config.h. | |
7155 | Don't include stdlib.h. | |
7156 | ||
177c0ea7 | 7157 | 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de) |
362bc2da DL |
7158 | |
7159 | * b2m.c (main): Change delimiter from "^L" to "^_^L". | |
7160 | Allow for text following "BABYL OPTIONS:". | |
7161 | Add --help option. Use argv[0] in error messages. | |
7162 | ||
7163 | 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7164 | ||
7165 | * emacsclient.c (main) [HAVE_SYSVIPC]: | |
7166 | Make msgp->mtext longer if necessary. | |
7167 | On HPUX, error if it's more than 512 chars. | |
7168 | ||
7169 | 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) | |
7170 | ||
7171 | * etags-vmslib.c: Use GPL. | |
7172 | * emacstool.c: Use GPL. | |
7173 | * fakemail.c: Update GPL. | |
7174 | ||
7175 | * make-path.c (main): Return 1 on error, not -1. | |
7176 | Update GPL. | |
7177 | ||
7178 | * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv. | |
7179 | (xmalloc, xrealloc): Return char *, not int. | |
7180 | (error): Write to stderr, not stdout. | |
7181 | Update GPL. | |
7182 | ||
7183 | 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7184 | ||
7185 | * profile.c (main, get_time): Don't crash on invalid input. | |
7186 | ||
7187 | 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu) | |
7188 | ||
7189 | * profile.c (get_time): Simplify; avoid calling index. | |
2f2c687b | 7190 | (main): Exit on EOF. |
362bc2da | 7191 | |
880820fe | 7192 | 1994-02-17 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7193 | |
a64387ee | 7194 | * etags.c (--absolute-pathnames): Option removed. |
362bc2da DL |
7195 | |
7196 | 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7197 | ||
7198 | * fakemail.c (put_line): Don't break the line if it all fits. | |
7199 | ||
880820fe | 7200 | 1994-02-14 Francesco Potortì (pot@fly) |
362bc2da | 7201 | |
b166dcd8 | 7202 | * etags.c (absolute_pathnames, cwd): Add global vars. |
2f2c687b | 7203 | (longopts, print_help, main, process_file): Put absolute filenames |
362bc2da | 7204 | in the tag file if the -A --absolute-pathnames option is used. |
10d1d0af | 7205 | (print_help): Alphabetically order the options. |
2f2c687b | 7206 | (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar. |
362bc2da DL |
7207 | |
7208 | 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7209 | ||
7210 | * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf. | |
7211 | (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE. | |
7212 | ||
7213 | 1994-02-07 Christian Lynbech (lynbech@avignon) | |
7214 | ||
7215 | * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value. | |
7216 | ||
7217 | 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7218 | ||
7219 | * Makefile.in (UTILITIES): Mention profile. | |
7220 | (profile): New target. | |
7221 | ||
7222 | * profile.c: New file. | |
7223 | ||
7224 | 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
c60ee5e7 | 7225 | |
88c71720 | 7226 | * make-docfile.c: Make the argument list output look more like the |
c60ee5e7 | 7227 | Lisp docstrings do. |
88c71720 | 7228 | (write_c_args): Take new arg FUNC. Make output |
362bc2da DL |
7229 | look like lisp call prototypes: (function ARG1 ARG2), upcasing args. |
7230 | (scan_c_file): Pass BUF to write_c_args for FUNC arg. | |
7231 | ||
880820fe | 7232 | 1994-01-14 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
7233 | |
7234 | * etags.c (stab_entry, stab_create, stab_find, stab_search, | |
61b108cc | 7235 | stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete. |
362bc2da | 7236 | Use gperf generated hash table instead of linked list. |
61b108cc | 7237 | (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add. |
362bc2da | 7238 | Mostly code generated by gperf. |
b166dcd8 | 7239 | (consider_token): Remove unused parameter `lp'. |
2f2c687b | 7240 | (PF_funcs, getit): Allow subroutine and similar declarations |
362bc2da | 7241 | to span multiple lines. |
2f2c687b JB |
7242 | (C_entries): Check for newline if inchar to avoid bus errors. |
7243 | (process_file, find_entries): Distinguish among nonexistent | |
362bc2da DL |
7244 | and not regular file. |
7245 | ||
7246 | 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7247 | ||
7248 | * timer.c: Include errno.h; don't include fasync.h. | |
7249 | (schedule): Don't return a value. | |
7250 | (sigcatch): Reestablish the handler first. | |
7251 | (getevent): Always call notify at the end. | |
7252 | (notify): Defer alarms around the whole body of function. | |
7253 | ||
7254 | 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7255 | ||
7256 | * timer.c (main): Don't request SIGIO, and don't handle it. | |
7257 | Loop calling getevent. | |
7258 | (sigcatch): Delete code to handle SIGIO. | |
7259 | if defer_alarms is set, don't call notify, just set alarm_deferred. | |
1c478461 | 7260 | (getevent): Use read, not getchar. Handle EINTR and EAGAIN. |
362bc2da DL |
7261 | Set defer_alarms around realloc and schedule. |
7262 | If alarm_deferred gets set, call notify. | |
7263 | Likewise if this event is the only pending event. | |
7264 | Make buf and buf_size global variables. | |
7265 | Don't malloc buf if it is already non-zero. | |
7266 | (schedule): Just exit if run out of memory. | |
7267 | Return the number of events. | |
7268 | (signal) [_CX_UX]: Add #undef. | |
7269 | ||
7270 | 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7271 | ||
7272 | * timer.c [USG] (SIGIO): Define as SIGPOLL. | |
7273 | (main) [USG]: Do ioctl to enable SIGPOLL. | |
7274 | ||
7275 | 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
7276 | ||
7277 | * timer.c: Don't declare sys_errlist; declare strerror instead. | |
7278 | (schedule, main): Call strerror instead of using sys_errlist. | |
7279 | * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete): | |
7280 | Call strerror instead of using sys_errlist. | |
7281 | * env.c (main): Call strerror instead of using sys_errlist. | |
7282 | * emacsclient.c: Don't declare sys_errlist; declare strerror instead. | |
7283 | (main): Call strerror instead of using sys_errlist. | |
7284 | * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function. | |
7285 | * env.c [! HAVE_STRERROR] (strerror): Likewise. | |
7286 | * timer.c [! HAVE_STRERROR] (strerror): Likewise. | |
7287 | * movemail.c [! HAVE_STRERROR] (strerror): Likewise. | |
7288 | ||
7289 | 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7290 | ||
7291 | * hexl.c: Fix up whitespace. Get rid of spurious casts to void. | |
7292 | ||
7293 | * movemail.c (malloc): Don't declare it. | |
7294 | (xmalloc): Cast result of malloc. | |
7295 | (strcpy): Don't declare it. | |
7296 | ||
7297 | 1993-11-14 Morten Welinder (terra@diku.dk) | |
7298 | ||
7299 | * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe. | |
7300 | (main): Use fclose to close file opened by fopen. | |
7301 | ||
7302 | * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile. | |
7303 | ||
7304 | * movemail.c [MSDOS]: #undef `access'. | |
7305 | ||
7306 | * b2m.c (main) [MSDOS]: Open all files as binary. | |
7307 | * etags.c (main) [MSDOS]: Open all files as binary. | |
7308 | ||
7309 | * make-docfile.c [MSDOS]: Use text/binary mode as appropriate. | |
7310 | (scan_c_file, scan_lisp_file): Extra parameter for the mode to open | |
7311 | with. | |
7312 | ||
7313 | 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7314 | ||
7315 | * Makefile.in (ALL_CFLAGS): Include LDFLAGS. | |
7316 | Use ALL_CFLAGS in all the rules that compile and link with one cmd. | |
7317 | (LINK_CFLAGS): New variable. | |
7318 | (timer): Use LINK_CFLAGS. | |
7319 | ||
7320 | 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7321 | ||
7322 | * movemail.c: Include syswait.h. | |
7323 | Fork a subprocess and use it to copy the mail file. | |
7324 | ||
7325 | 1993-12-07 Richard Stallman (rms@srarc2) | |
7326 | ||
7327 | * make-docfile.c (scan_lisp_file): Don't add newline at end of string. | |
7328 | ||
7329 | 1993-12-04 Richard Stallman (rms@srarc2) | |
7330 | ||
7331 | * movemail.c (main): When making tempname, cast result of xmalloc. | |
7332 | Include room for EXXXXXX in the size. | |
7333 | Don't use result of strcpy. | |
7334 | ||
7335 | 1993-12-03 Paul Eggert (eggert@twinsun.com) | |
7336 | ||
7337 | * vcdiff: Add --brief option. | |
7338 | ||
7339 | 1993-12-02 Richard Stallman (rms@srarc2) | |
7340 | ||
7341 | * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM) | |
7342 | for all executables and scripts. | |
7343 | ||
7344 | 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7345 | ||
7346 | * Version 19.22 released. | |
7347 | ||
7348 | 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7349 | ||
7350 | * Makefile.in (mostlyclean): Make it distinct from clean. | |
7351 | ||
7352 | 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7353 | ||
7354 | * Makefile.in (${archlibdir}): Don't do chown or chgrp. | |
7355 | ||
7356 | 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7357 | ||
7358 | * Version 19.21 released. | |
7359 | ||
7360 | * Makefile.in (install): Don't change mode or group when installing. | |
7361 | ||
7362 | * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas. | |
7363 | ||
7364 | 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7365 | ||
7366 | * make-docfile.c (read_c_string): For "", concatenate the two strings. | |
7367 | ||
7368 | * movemail.c (main): Fix error message text. | |
7369 | ||
7370 | 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7371 | ||
7372 | * Version 19.20 released. | |
7373 | ||
177c0ea7 | 7374 | 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl) |
362bc2da | 7375 | |
ecc54057 | 7376 | * etags.c (C_entries): Keep track of ()-parenthesis level so that |
362bc2da DL |
7377 | functions returning a pointer to a function, a la `signal', can be |
7378 | parsed. This also required new state `fstartlist' to `FUNCST'. | |
7379 | (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack. | |
2f2c687b | 7380 | (C_entries, CNL): Use it to isolate preprocessor directive processing |
362bc2da | 7381 | from the other state engines. |
2f2c687b | 7382 | (begtk): Add '~', for C++ class destructors. |
362bc2da | 7383 | |
880820fe | 7384 | 1993-11-02 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7385 | |
b166dcd8 | 7386 | * etags.c (consider_token): Remove unused variable firsttok. |
2f2c687b | 7387 | (prolog_getit): Call pfnote with the right number of arguments. |
362bc2da DL |
7388 | |
7389 | 1993-10-19 Paul Eggert (eggert@twinsun.com) | |
7390 | ||
7391 | * rcs2log (printlogline): Don't generate lines containing only | |
7392 | white space. | |
7393 | ||
7394 | 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
7395 | ||
7396 | * Makefile.in (${archlibdir}): | |
7397 | Install ${SCRIPTS} from ${srcdir}, not cwd. | |
7398 | ||
7399 | 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
7400 | ||
7401 | * Makefile.in: Fixed typos or brainos of whoever thought `@' was | |
7402 | the comment character. | |
7403 | ||
880820fe | 7404 | 1993-10-01 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7405 | |
2f2c687b | 7406 | * etags.c (process_file): Dead code removed. |
362bc2da | 7407 | (S_ISREG): #define it using S_IFREG if not defined. |
2f2c687b | 7408 | (process_file): Regular files have nothing to do with symlinks. |
362bc2da | 7409 | |
f0131492 | 7410 | 1993-09-28 Brian J. Fox (bfox@ai.mit.edu) |
362bc2da DL |
7411 | |
7412 | * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not | |
7413 | from current directory. Only chmod and chgrp files that we | |
7414 | installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in | |
7415 | ${bindir}. | |
b166dcd8 | 7416 | (INSTALLFLAGS): Delete definition, since it is an unused variable |
362bc2da DL |
7417 | now. |
7418 | ||
f0131492 | 7419 | 1993-09-27 Brian J. Fox (bfox@ai.mit.edu) |
362bc2da | 7420 | |
b166dcd8 KC |
7421 | * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): |
7422 | Let configure figure out the correct values for these variables. | |
362bc2da | 7423 | |
f0131492 | 7424 | 1993-09-14 Brian J. Fox (bfox@ai.mit.edu) |
362bc2da | 7425 | |
10d1d0af | 7426 | * Makefile.in (archlibdir): Only install executables internally |
362bc2da DL |
7427 | used by emacs; don't install bindir binaries here. |
7428 | ||
7429 | 1993-09-24 Paul Eggert (eggert@twinsun.com) | |
7430 | ||
7431 | * rcs2log: Add -h, -n, -r options. | |
7432 | By default, look for *,v files as well as RCS/*,v files. | |
7433 | Use $TMPDIR (default /tmp) instead of /tmp. | |
7434 | ||
880820fe | 7435 | 1993-09-20 Francesco Potortì (pot@fly) |
362bc2da | 7436 | |
e1dbe924 | 7437 | * etags.c (C_entries): is_func is initialized here instead of in |
362bc2da DL |
7438 | consider_token for the sake of the yacc rules section. |
7439 | (C_entries): Now class, struct, enum, union and typedef produce | |
7440 | named tags. | |
7441 | ||
7442 | 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu) | |
7443 | ||
7444 | * yow.c: Include <src/paths.h>, instead of "src/paths.h". | |
7445 | ||
7446 | 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
7447 | ||
88c71720 KS |
7448 | * Makefile.in: Support configuring in a different directory when |
7449 | ${srcdir} has already been configured. | |
7450 | (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir} | |
7451 | -I${srcdir}/../src. | |
362bc2da DL |
7452 | (b2m, movemail, fakemail, env, emacsserver, emacsclient, |
7453 | getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it | |
7454 | is already in CPP_FLAGS. | |
7455 | * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c, | |
7456 | movemail.c, emacsserver.c: Include <config.h> instead of "config.h". | |
7457 | ||
7458 | 1993-08-25 Paul Eggert (eggert@twinsun.com) | |
7459 | ||
75f1671a | 7460 | * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility; |
362bc2da DL |
7461 | otherwise, HP awk complains. |
7462 | ||
7463 | * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these | |
7464 | are common hangouts for SCCS commands. | |
7465 | ||
7466 | 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7467 | ||
7468 | * Version 19.19 released. | |
7469 | ||
7470 | 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7471 | ||
7472 | * Makefile.in (make-path): Dep on config.h. | |
7473 | ||
7474 | 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7475 | ||
7476 | * b2m.c (TRUE, FALSE): Don't define if already defined. | |
7477 | ||
7478 | 1993-08-09 Paul Eggert (eggert@twinsun.com) | |
7479 | ||
7480 | * rcs2log (awkscript): | |
7481 | Some sites put comma-separated junk after the fullname. | |
7482 | Remove it, but leave "Bill Gates, Jr" alone. | |
7483 | Remove the junk from fullnames like "0000-Admin(0000)". | |
7484 | ||
7485 | 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7486 | ||
7487 | * Version 19.18 released. | |
7488 | ||
880820fe | 7489 | 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu) |
362bc2da | 7490 | |
e1dbe924 | 7491 | * etags.c (L_isdef, L_isquote, L_getit): Small optimizations. |
2f2c687b JB |
7492 | (L_funcs): The (foo::defmumble stuff now should work. |
7493 | (consider_token): Function returned random value--corrected. | |
7494 | (C_entries): Corrected == versus = typo. | |
362bc2da DL |
7495 | |
7496 | 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
7497 | ||
7498 | * etags.c (put_entries): For NODE->rewritten, put pattern before | |
7499 | \177 and name after, not vice versa. | |
7500 | ||
7501 | 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7502 | ||
7503 | * timer.c (main): Generate a SIGIO as soon as we've initialized. | |
7504 | ||
880820fe | 7505 | 1993-07-30 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7506 | |
b166dcd8 | 7507 | * etags.c (FINCST): Add the fignore status. Means we are |
362bc2da DL |
7508 | after the parameter list and before the open curly brace. |
7509 | Allows correct parsing of C++ constructors. | |
2f2c687b JB |
7510 | (C_entries, consider_token): Make use of fignore. |
7511 | (consider_token): Reset funcdef when next_token_is_func: when in | |
362bc2da | 7512 | ctags mode makes DEFVAR and others work better. |
e1dbe924 | 7513 | (L_isquote): Function that recognizes the "(quote" string. |
2f2c687b | 7514 | (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias. |
362bc2da DL |
7515 | |
7516 | 1993-07-29 Paul Eggert (eggert@twinsun.com) | |
7517 | ||
7518 | * rcs-checkin: Don't check whether a file is readable until we have | |
7519 | decided not to ignore it. | |
7520 | ||
7521 | 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7522 | ||
7523 | * Makefile.in (etags): Depend on ../src/config.h. | |
7524 | ||
7525 | * emacsserver.c: Include types.h before file.h. | |
7526 | ||
7527 | 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7528 | ||
7529 | * Makefile.in (install): Use .n, not .new, for temporary filenames. | |
7530 | ||
7531 | 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7532 | ||
ecc54057 | 7533 | * Version 19.17 released. |
362bc2da DL |
7534 | |
7535 | 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7536 | ||
7537 | * etags.c (print_help): Break up the very long strings containing | |
7538 | the help message into shorter strings, to placate chintzy C | |
7539 | compilers which can't handle strings that long. | |
7540 | ||
7541 | * wakeup.c: Use CPP tangle from autoconf manual to #include the | |
7542 | correct combination of <time.h> and <sys/time.h>. | |
7543 | ||
880820fe | 7544 | 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7545 | |
b166dcd8 | 7546 | * etags.c (alloca): Remove all references to it. |
2f2c687b JB |
7547 | (main): Now calls xnew instead of alloca for portability. |
7548 | (../src/config.h): Included only if HAVE_CONFIG_H. | |
7549 | (const): Void definition removed--config.h takes care of it. | |
362bc2da | 7550 | |
880820fe | 7551 | 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7552 | |
2f2c687b | 7553 | * etags.c (consider_token): Was `==', now is `='. |
362bc2da DL |
7554 | (consider_token): DEFUNs now treated like funcs in ctags mode. |
7555 | ||
61b108cc | 7556 | * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove. |
2f2c687b | 7557 | (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF. |
b166dcd8 | 7558 | (C_entries): Remove a piece of useless code. |
2f2c687b | 7559 | (C_entries): Making typedef tags is delayed until a semicolon |
362bc2da DL |
7560 | is met. This handles "typedef int X, Y, Z;" correctly. |
7561 | ||
7562 | 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7563 | ||
7564 | * Version 19.16 released. | |
7565 | ||
7566 | * b2m.c: #include <sys/types.h>. | |
7567 | (ltoday): Declare this to be time_t. | |
7568 | ||
7569 | 1993-06-30 Paul Eggert (eggert@twinsun.com) | |
7570 | ||
7571 | * vcdiff: Add -q option. | |
7572 | ||
7573 | 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7574 | ||
7575 | * etags.c: #include "config.h" and the alloca CPP tangle before | |
7576 | #including the system headers and getopt.h. AIX requires the | |
7577 | #pragma to come before any actual C code. | |
7578 | ||
7579 | 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7580 | ||
7581 | * Makefile.in (ctags): Depend on etags, so that parallel makes | |
7582 | don't write etags.o files on top of each other. | |
7583 | ||
7584 | 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7585 | ||
7586 | * version 19.15 released. | |
7587 | ||
7588 | 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7589 | ||
7590 | * etags.c (add_node): Move var last_node to file scope. | |
7591 | ||
7592 | 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7593 | ||
7594 | * Version 19.14 released. | |
7595 | ||
7596 | 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7597 | ||
ecc54057 | 7598 | Bring mumbleclean targets into conformance with GNU coding standards. |
362bc2da DL |
7599 | * Makefile.in (distclean): Call clean to do most of the work. |
7600 | Delete aixcc.c and TAGS. | |
7601 | (realclean): Just call distclean. | |
1c478461 | 7602 | |
362bc2da DL |
7603 | * Makefile.in: Remember, spaces are not tabs. |
7604 | ||
7605 | 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7606 | ||
7607 | * Makefile.in (CPP_CFLAGS): New variable. | |
7608 | Use it instead of ALL_CFLAGS when compiling a .c file. | |
7609 | (getopt.o, getopt1.o): Add explicit compilation commands. | |
7610 | ||
7611 | 1993-06-10 Mark D. Baushke (mdb@cisco.com) | |
7612 | ||
7613 | * etags.c: Reinstate old -f option as an alias for -o for | |
7614 | installed base uses. | |
7615 | ||
7616 | 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7617 | ||
7618 | * emacsserver.c (main): When we're passing a `struct sockaddr_un' | |
7619 | to bind or accept, cast the pointer, to avoid warnings on systems | |
7620 | which declare prototypes for this. | |
7621 | * emacsclient.c (main): Same. | |
7622 | ||
7623 | * Makefile.in (YACC): New variable, to be set by top-level Makefile. | |
7624 | ||
7625 | 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7626 | ||
7627 | * Version 19.13 released. | |
7628 | ||
7629 | * wakeup.c: Include sys/types.h, too; I think that's where time_t | |
7630 | comes from, not sys/time.h. | |
7631 | ||
7632 | 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7633 | ||
7634 | * wakeup.c: Include sys/time.h. | |
7635 | ||
7636 | * etags.c: #undef static. | |
7637 | ||
7638 | * Version 19.12 released. | |
7639 | ||
7640 | * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps. | |
7641 | ||
7642 | 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7643 | ||
7644 | * Version 19.11 released. | |
7645 | ||
7646 | * timer.c [LINUX]: #undef signal. | |
7647 | * emacsserver.c: #undef signal. | |
7648 | ||
7649 | 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7650 | ||
7651 | * wakeup.c (main): Make when a time_t. | |
7652 | ||
7653 | 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7654 | ||
ecc54057 | 7655 | * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of |
a64387ee | 7656 | `(cd foo ; pwd)' to get the canonical name of a directory; cd |
362bc2da DL |
7657 | might fail, and have pwd print out the current directory. |
7658 | ||
7659 | * movemail.c [MAIL_USE_POP] (main): Don't use non-portable | |
7660 | string-handling functions. | |
7661 | ||
7662 | 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7663 | ||
7664 | * Version 19.10 released. | |
7665 | ||
7666 | 1993-05-29 Paul Eggert (eggert@twinsun.com) | |
7667 | ||
7668 | * rcs2log: When given no file arguments, inspect RCS/.* as well | |
7669 | as RCS/*. Don't report an error if RCS is empty or nonexistent. | |
7670 | ||
7671 | 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7672 | ||
7673 | * Makefile.in (timer): Link with $(LOADLIBES). | |
7674 | ||
7675 | 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7676 | ||
7677 | * fakemail.c (put_line): Don't output \n\t unless more text follows. | |
7678 | ||
7679 | 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7680 | ||
7681 | * etags.c: Replace the CPP tangle for alloca with the one from the | |
7682 | autoconf documentation, since that's working elsewhere. | |
7683 | ||
7684 | 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7685 | ||
7686 | * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine | |
7687 | description files can find their ancestors. | |
7688 | ||
7689 | 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7690 | ||
7691 | * Makefile.in (install): Get the scripts from ${srcdir}, | |
7692 | unlike the executables. | |
6088b51f | 7693 | (ALL_CFLAGS): Add -I../src. |
362bc2da DL |
7694 | |
7695 | 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7696 | ||
7697 | * Version 19.9 released. | |
7698 | ||
7699 | 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7700 | ||
7701 | * Makefile.in (install): Do install the programs listed in | |
7702 | INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and | |
7703 | INSTALLABLE_SCRIPTS, instead of writing the programs out. | |
7704 | ||
7705 | * Makefile.in (ALL_CFLAGS): Include -I${srcdir}. | |
7706 | (getopt.o, getopt1.c): Use ${srcdir} as appropriate. | |
7707 | ||
7708 | 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7709 | ||
7710 | * etags.c: Include ../src/config.h. | |
7711 | ||
7712 | * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS | |
7713 | in first loop. Delete files from bindir before installing new ones. | |
7714 | (ALL_CFLAGS): Use ${srcdir} to find .../src dir. | |
7715 | ||
7716 | 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7717 | ||
7718 | * Version 19.8 released. | |
7719 | ||
7720 | * make-docfile.c: Doc fix. | |
7721 | ||
7722 | 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7723 | ||
7724 | * tcp.c: Fix comment syntax at top of file. | |
7725 | (main): Don't call htons with the port number. | |
7726 | ||
7727 | 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7728 | ||
7729 | * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's | |
1c478461 | 7730 | appropriate. |
362bc2da DL |
7731 | |
7732 | * Makefile.in (install): Refer to the variables INSTALLABLES and | |
7733 | INSTALLABLE_SCRIPTS, instead of writing them out. | |
7734 | ||
7735 | 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7736 | ||
7737 | * make-path.c (main): Return 0. | |
7738 | ||
7739 | 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7740 | ||
ecc54057 | 7741 | * Version 19.7 released. |
362bc2da DL |
7742 | |
7743 | 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7744 | ||
7745 | * make-docfile.c (scan_lisp_file): Recognize defalias like fset. | |
7746 | ||
7747 | 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7748 | ||
7749 | * tcp.c: New file. | |
7750 | ||
7751 | 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7752 | ||
7753 | * Makefile.in (.c.o): Make the rule start with a tab, not spaces. | |
7754 | ||
7755 | 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7756 | ||
7757 | * timer.c (notify): Don't call sighold or sigrelse; they're USG | |
7758 | only. We should really fix this later, but let's just make it | |
7759 | compile for now. | |
7760 | ||
7761 | Install patches from David J. Mackenzie to make the srcdir option | |
7762 | work. | |
7763 | * Makefile.in (srcdir, VPATH): Get this value from the top-level | |
7764 | Makefile. | |
7765 | (INSTALLABLES): Split this into two lists - INSTALLABLES and | |
7766 | INSTALLABLE_SCRIPTS. | |
7767 | (INSTALLABLE_SCRIPTS): New list. | |
7768 | (EXECUTABLES): Include INSTALLABLE_SCRIPTS. | |
7769 | (${archlibdir}): The scripts to be installed live in the source | |
7770 | tree, not in the object tree. | |
7771 | (test-distrib): Note that the data file lives in the source tree, | |
7772 | not the object tree. | |
7773 | (GETOPTDEPS): Note that getopt.h lives in the source tree. | |
7774 | (all other targets): Change references to source files to use | |
7775 | ${srcdir}, except for config.h, which lives in the object dir. | |
7776 | (timer.o): Note that this depends on ../src/config.h. | |
7777 | * make-docfile.c (main): Add a -d option, to tell it where to find | |
7778 | the source files. | |
7779 | * test-distrib.c (main): Take the name of the distribution file to | |
7780 | test from the command line. | |
7781 | ||
10d1d0af | 7782 | * timer.c: Fix misspellings of get_date function's name. |
362bc2da DL |
7783 | |
7784 | 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) | |
7785 | ||
7786 | * etags.c (main): | |
7787 | Don't require that there be input files if -i switches were given. | |
7788 | ||
7789 | 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7790 | ||
7791 | The GNU coding standards specify that CFLAGS should be left for | |
7792 | users to set. | |
7793 | * Makefile.in (CFLAGS): Put this in the "things configure might | |
7794 | edit" section, and have it default to -g. | |
7795 | (ALL_CFLAGS): New variable, set to all the flags which should be | |
7796 | passed to compilations. Replace all other uses of CFLAGS with | |
7797 | ALL_CFLAGS. | |
7798 | (.c.o): New rule, to pass ALL_CFLAGS to compilations. | |
7799 | ||
7800 | * Makefile.in (DEFS): Remove this; it's always just going to be | |
7801 | "-DHAVE_CONFIG_H -Demacs". | |
7802 | ||
7803 | 1993-05-03 Paul Eggert (eggert@twinsun.com) | |
7804 | ||
7805 | * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on | |
7806 | /[/]/, so change it to /[\/]/. This should work on all | |
75f1671a | 7807 | POSIX-compliant awks. It's slightly wrong with traditional awk, |
362bc2da DL |
7808 | since it matches \ too, but that's a minor problem compared to awk |
7809 | syntax errors. | |
7810 | ||
7811 | 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7812 | ||
7813 | * Makefile.in (ALLOCA): New variable, whose value we should | |
7814 | inherit from the top-level makefile. | |
7815 | (etags, ctags): Include ALLOCA in the list of object files that | |
7816 | these executables depend on and link. | |
7817 | ||
7818 | 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7819 | ||
b166dcd8 | 7820 | * Makefile.in (DEFS): Rename from CONFIG_CFLAGS. |
362bc2da DL |
7821 | |
7822 | 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) | |
7823 | ||
7824 | * make-docfile.c (write_c_args): Print an argument named "defalt" | |
7825 | as "default". | |
7826 | ||
7827 | 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) | |
7828 | ||
7829 | * Makefile.in (C_SWITCH_SYSTEM): New variable. | |
7830 | (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the | |
7831 | compiler. | |
7832 | ||
880820fe | 7833 | 1993-03-22 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7834 | |
2f2c687b JB |
7835 | * etags.c (YACC): Flag added to c_ext. |
7836 | (c_ext): No more a synonim for c_ext&C_PLPL because of YACC. | |
7837 | (find_entries): Consistently use streq when reasonable. | |
7838 | (find_entries): A .y file is a yacc file. | |
362bc2da | 7839 | (get_C_stab): c_ext becomes c_ext&C_PLPL. |
2f2c687b JB |
7840 | (C_entries): Logical cplpl means c_ext&C_PLPL. |
7841 | (C_entries): Logical yacc_rules means we are after the first %%. | |
b166dcd8 | 7842 | (C_entries): Add logic for yacc files. |
362bc2da | 7843 | |
880820fe | 7844 | 1993-03-16 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da DL |
7845 | |
7846 | * etags.c (C_entries): ':' case moved to the second switch. | |
2f2c687b | 7847 | (C_entries): Do not examine token if structdef==scolonseen. |
362bc2da DL |
7848 | (consider_token): structtag set to null string for enum. |
7849 | ||
880820fe | 7850 | 1993-03-12 Francesco Potortì (pot@cnuce.cnr.it) |
362bc2da | 7851 | |
2f2c687b JB |
7852 | * etags.c (GET_COOKIE): And related macros removed. |
7853 | (logical): Is now int, no more a char. | |
7854 | (reg): Define deleted. | |
61b108cc SM |
7855 | (isgood, _gd, notgd): Delete. |
7856 | (gotone): Delete. | |
2f2c687b | 7857 | (TOKEN): Member linestart removed. |
61b108cc | 7858 | (linepos, prev_linepos, lb1): Delete. |
2f2c687b | 7859 | (main): Call initbuffer on lbs array instead of lb1. |
e1dbe924 | 7860 | (init): Remove the initialization of the logical _gd array. |
2f2c687b | 7861 | (find_entries): A .sa suffix means assembler file. |
362bc2da DL |
7862 | (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec. |
7863 | All C state machines rewritten. | |
2f2c687b JB |
7864 | (C_entries): Complete rewrite. |
7865 | (condider_token): Complete rewrite. | |
61b108cc | 7866 | (getline): Delete. |
362bc2da | 7867 | |
880820fe | 7868 | 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT) |
362bc2da | 7869 | |
b166dcd8 | 7870 | * etags.c (C_entries): Add the quotednl logical variable. |
362bc2da DL |
7871 | Used for parsing of #define's spanning multiple lines. |
7872 | ||
880820fe | 7873 | 1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT) |
362bc2da DL |
7874 | |
7875 | * etags.c (C_entries): Save the definedef status even when a | |
7876 | newline is met inside a string. | |
7877 | ||
7878 | 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) | |
7879 | ||
b166dcd8 | 7880 | * Makefile.in (EXECUTABLES): Add rcs-checkin. |
362bc2da DL |
7881 | |
7882 | * Makefile.in (unlock, relock): New productions. | |
7883 | ||
7884 | 1993-03-16 Paul Eggert (eggert@twinsun.com) | |
7885 | ||
7886 | * rcs2log: Some awks don't understand "\r". Code around this. | |
7887 | Unfortunately this requires putting a carriage return in the | |
7888 | source code. Don't assume that rlog will tolerate times like | |
7889 | `10:10:60'; RCS 5.7 won't allow this. | |
7890 | ||
7891 | 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7892 | ||
7893 | * timer.c (main): Set the ownership of the stdin file descriptor | |
7894 | to the current process. Print error messages if either of the | |
7895 | fcntl's fails. | |
7896 | ||
7897 | * timer.c (sigcatch): Declare this to return SIGTYPE (defined in | |
7898 | ../src/config.h), not void. | |
7899 | ||
7900 | 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7901 | ||
7902 | * b2m.c (main): Don't exit upon reading a blank line. | |
7903 | ||
880820fe | 7904 | 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT) |
362bc2da DL |
7905 | |
7906 | * etags.c (C_entries): New local variable quotednl. Used for | |
7907 | parsing of #define's spanning multiple lines. | |
7908 | ||
7909 | * etags.c (C_entries): Save the definedef status | |
7910 | even when a newline is met inside a string. | |
7911 | ||
7912 | 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7913 | ||
7914 | * timer.c (notify): Initialize waitfor properly. | |
7915 | ||
880820fe | 7916 | 1993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT) |
362bc2da DL |
7917 | |
7918 | * etags.c (C_entries): Don't reset definedef when a newline inside a | |
7919 | comment is met. | |
7920 | ||
7921 | 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
7922 | ||
7923 | * etags.c (find_entries): If filename ends in .f or .for, | |
7924 | don't try anything but Fortran. | |
7925 | ||
7926 | 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) | |
7927 | ||
7928 | * timer.c (notify): Flush stdout after writing message to avoid lossage | |
7929 | on terminals. | |
7930 | ||
7931 | (notify): Also, write a newline after the token. | |
7932 | ||
7933 | 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7934 | ||
7935 | * Makefile.in (exec_prefix): New variable. | |
7936 | (bindir, libdir): Use it instead of `prefix'. | |
7937 | ||
7938 | * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too. | |
7939 | ||
7940 | * Makefile.in (libdir): Default to ${prefix}/lib. | |
b166dcd8 | 7941 | (archlibdir): Adjust to match. |
362bc2da DL |
7942 | |
7943 | * Makefile.in (distclean): Don't delete backup or autosave files. | |
7944 | (extraclean): Like realclean, but does delete backup and autosave | |
7945 | files. | |
7946 | ||
7947 | * Makefile.in (realclean): Ignore errors from rm. | |
7948 | ||
7949 | * Makefile.in (distclean): Don't bother to delete ../arch-lib; | |
7950 | that doesn't exist anymore. | |
7951 | ||
7952 | 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7953 | ||
7954 | * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as | |
7955 | described in the top-level Makefile. | |
7956 | (UTILITIES): Add make-path to the list of utility programs. | |
7957 | (../arch-lib): Replaced by the ${archlibdir} target, which places | |
7958 | the executables in their permanent home. | |
7959 | (install, install.sysv, install.xenix): Consolidated into one | |
7960 | target which should work under all circumstances, modulo a few | |
7961 | ignored error messages. | |
7962 | ||
7963 | * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes | |
7964 | a different number of arguments than other DEFVARs, recognize it | |
7965 | specially, and expect the right number of commas. | |
7966 | ||
7967 | 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7968 | ||
7969 | * make-path.c: New program, to help with the installation process. | |
7970 | * Makefile.in (make-path): New target. | |
7971 | ||
7972 | * make-path.c (touchy_mkdir): Remove debugging output. | |
7973 | ||
7974 | 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7975 | ||
b166dcd8 | 7976 | * Makefile.in (getdate.o): Add explicit target for this, so we |
362bc2da DL |
7977 | can indicate that it depends on ../src/config.h. |
7978 | ||
7979 | 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) | |
7980 | ||
7981 | * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this | |
7982 | instead of CFLAGS. | |
7983 | (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this. | |
7984 | ||
7985 | 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7986 | ||
7987 | * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP | |
7988 | 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on | |
7989 | that system. | |
7990 | ||
7991 | * Makefile.in (arch-lib): Give rm the `-f' option. | |
7992 | ||
7993 | 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
7994 | ||
7995 | * make-docfile.c (write_c_args): Rewritten to correctly print | |
7996 | &optionals before the first identifier, but after the first paren. | |
7997 | This code used to just wait for commas or spaces; now it notices | |
7998 | identifier boundaries. | |
7999 | ||
8000 | 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
8001 | ||
8002 | * rcs2log: When getting date, use %02d instead of %.2d in awk printf. | |
8003 | ||
8004 | 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8005 | ||
8006 | * make-docfile.c (write_c_args): Print the argument lists properly | |
8007 | when the first argument is optional. | |
8008 | ||
8009 | 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
8010 | ||
8011 | * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni. | |
8012 | Redefine @item. Set catcode of +. | |
8013 | ||
8014 | 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
8015 | ||
8016 | * emacsclient.c (main): Set IPC_CREAT in msgget call. | |
8017 | ||
8018 | 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
8019 | ||
8020 | * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops. | |
8021 | (TEX_decode_env): Make `tab' one element longer. | |
8022 | ||
8023 | 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8024 | ||
8025 | * etags.c (PF_funcs): Recognize the "entry" keyword. | |
8026 | ||
8027 | 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8028 | ||
8029 | * Makefile.in: Add rcs2log and vcdiff to the list of utilities. | |
8030 | ||
8031 | 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8032 | ||
8033 | * timer.c (events): Rather than having slots marked as in use or | |
8034 | out of use by the `token' field, keep all pending events at the | |
8035 | beginning of the array. When we delete an event in the middle of | |
8036 | the array, we move the last event into its place. | |
8037 | (num_events): New variable. | |
8038 | (schedule): It is now cheaper to find a free event slot; | |
8039 | events[num_events] is the first free slot. | |
8040 | (notify): Scan events[0 .. num_events-1], instead of the whole | |
8041 | array. When an event fires, move the last event in the array into | |
8042 | its spot. Use num_events to determine whether or not there are | |
8043 | any pending events, not wait_for. | |
b166dcd8 | 8044 | (getevent): Delete unused variable `ep'. |
362bc2da DL |
8045 | (sigcatch): It's now easier to find all the active events. |
8046 | (main): Initialize num_events. | |
8047 | ||
8048 | * etags.c: Rather than fret about which systems have index and | |
8049 | which systems have strchr, and how to tell the difference between | |
8050 | them, we just write out our own versions. Big deal. | |
8051 | (index, rindex): Extern declarations removed. | |
8052 | (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed. | |
8053 | (etags_index, etags_rindex): New declarations. | |
8054 | (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env, | |
8055 | TEX_getit, substr): Use the etags_*index functions, rather than | |
8056 | the native *index functions. | |
b166dcd8 | 8057 | (rindex, index): Rename to etags_rindex and tags_rindex, and |
362bc2da DL |
8058 | made them unconditionally defined, rather than having them depend |
8059 | on NEED_*INDEX. | |
8060 | ||
8061 | * etags.c (savenstr): Add declaration for this at top of file. | |
8062 | (TEX_decode_env): Don't declare it local to this function. | |
8063 | ||
8064 | * b2m.c: #include "../src/config.h", so we can test for the USG | |
8065 | macro, and decide whether to include <string.h> or <strings.h>. | |
8066 | * Makefile.in: Note that b2m.c depends on ../src/config.h. | |
8067 | ||
8068 | 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8069 | ||
8070 | * timer.c: Reformatted according to the GNU coding standards. | |
8071 | Removed arbitrary limits on the number of events queued and the | |
8072 | length of the tokens used to identify them. | |
8073 | Removed casts to (void). | |
8074 | Removed debugging printfs; they clutter the code, and the need | |
8075 | can be better filled using a real debugger. | |
8076 | ||
8077 | 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8078 | ||
8079 | * timer.c: Installed new version from Eric Raymond; this is more | |
8080 | portable, since it doesn't try to use SIGIO. | |
8081 | ||
8082 | 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8083 | ||
8084 | * emacsclient.c (main): If we can't find the socket in this | |
8085 | person's home directory, print a message which asks if they've | |
8086 | started the server, instead of just printing the message from | |
8087 | sys_errmsg; Cygnus finds that people are much less confused by | |
8088 | this. | |
8089 | ||
8090 | 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8091 | ||
8092 | * etags.c: Rather than defining "notdef" when "hpux" is #defined, | |
8093 | so that index and rindex get defined, why don't we actually | |
8094 | control index and rindex using symbols called "NEED_INDEX" and | |
8095 | "NEED_RINDEX", and define them if hpux is defined? Isn't that a | |
8096 | little more readable than defining something whose name implies | |
8097 | that it's not? | |
8098 | ||
8099 | 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8100 | ||
8101 | * movemail.c: Merged changes from Jamie Zawinski's byte compiler | |
8102 | distribution: | |
8103 | Miscellaneous doc fixes. | |
1c478461 | 8104 | (skip_white, read_lisp_symbol): New functions. |
362bc2da DL |
8105 | (scan_lisp_file): Instead of using long hairy strings of ifs, call |
8106 | read_lisp_symbol and then see what we got. Call skip_white | |
8107 | instead of writing out a loop to do its job. Correctly extract | |
8108 | docstrings from "defmacro" declarations. | |
8109 | ||
8110 | 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8111 | ||
8112 | * movemail.c (strcpy): Declare this to return char *. | |
8113 | ||
8114 | 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8115 | ||
8116 | * etags.c (C_entries): When we find a C++ comment, do actually | |
8117 | skip to the end of the line; do a 'break' instead of a 'continue'. | |
8118 | ||
8119 | 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8120 | ||
8121 | * etags.c (getit): Add missing parenthesis to expression which | |
8122 | decides if this token is an identifier. | |
8123 | ||
8124 | 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu) | |
8125 | ||
8126 | * etags.c (consider_token): Recognize `ENTRY' macro used in libc. | |
8127 | ||
8128 | 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
8129 | ||
8130 | * etags.c (put_entries): Always put space between name and line num. | |
8131 | ||
8132 | 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM) | |
8133 | ||
8134 | * etags.c (getit): Parenthesize &&/|| expression to avoid gcc | |
8135 | warning. | |
8136 | (LEVEL_OK_FOR_FUNCDEF): Ditto. | |
8137 | ||
8138 | 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | |
8139 | ||
8140 | * make-docfile.c (write_c_args): Pass both arguments to putc. | |
8141 | ||
8142 | 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu) | |
8143 | ||
b166dcd8 | 8144 | * etags.c (C_entries): Fix reading of "..." strings. |
362bc2da DL |
8145 | (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in |
8146 | the C library source. | |
8147 | ||
8148 | * etags.c (C_entries): When we see a backslash inside a quoted | |
8149 | string, skip to the next character. This allows us to correctly | |
8150 | deal with strings containing quotes. | |
8151 | ||
8152 | 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8153 | ||
8154 | * make-docfile.c (write_c_args): Print the C argument names as | |
8155 | they would be written in Elisp; print '_' as '-'. | |
8156 | ||
8157 | 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
8158 | ||
8159 | * movemail.c [POP]: Get user name via getpwuid. | |
8160 | ||
8161 | 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8162 | ||
2f2c687b | 8163 | * Makefile.in: Flags in CC invocations rearranged for no reason. |
362bc2da DL |
8164 | |
8165 | 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8166 | ||
10d1d0af | 8167 | * etags.c (print_help): Remember not to embed raw newlines in |
362bc2da DL |
8168 | strings - end the lines with `\n\'. |
8169 | ||
8170 | 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8171 | ||
b166dcd8 | 8172 | * timer.c (getevent): Remove declaration of memcpy; since |
362bc2da DL |
8173 | different systems have different return types, and we're not even |
8174 | using the return type anyway, it wasn't doing us any good. | |
8175 | ||
8176 | 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) | |
8177 | ||
8178 | * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the | |
8179 | type of this function. | |
8180 | ||
362bc2da DL |
8181 | 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) |
8182 | ||
290afd83 | 8183 | * etags.c: "--no-warning" option renamed to "--no-warn", |
362bc2da DL |
8184 | to be consistent with other GNU programs, like makeinfo. |
8185 | ||
290afd83 | 8186 | * Makefile: Renamed to Makefile.in; the configure script |
362bc2da DL |
8187 | will edit this to produce Makefile. |
8188 | ||
7bfc1caa | 8189 | 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) |
362bc2da | 8190 | |
7bfc1caa GM |
8191 | New directory, with files previously in ../etc. [approximate date] |
8192 | * README: New file. | |
8193 | * Makefile: Copy here from ../etc/Makefile. | |
8194 | * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c: | |
8195 | * emacsclient.c, emacsserver.c, emacstool.c, env.c: | |
8196 | * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y: | |
8197 | * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c: | |
8198 | * make-docfile.c, movemail.c, qsort.c, sorted-doc.c: | |
8199 | * test-distrib.c, testfile, timer.c, wakeup.c, yow.c: | |
8200 | Move here from ../etc. | |
6922b018 KH |
8201 | |
8202 | ;; Local Variables: | |
880820fe | 8203 | ;; coding: utf-8 |
6922b018 | 8204 | ;; End: |
2a34a036 | 8205 | |
ba318903 | 8206 | Copyright (C) 1988-1999, 2001-2014 Free Software Foundation, Inc. |
5b87ad55 GM |
8207 | |
8208 | This file is part of GNU Emacs. | |
8209 | ||
294981c7 | 8210 | GNU Emacs is free software: you can redistribute it and/or modify |
5b87ad55 | 8211 | it under the terms of the GNU General Public License as published by |
294981c7 GM |
8212 | the Free Software Foundation, either version 3 of the License, or |
8213 | (at your option) any later version. | |
5b87ad55 GM |
8214 | |
8215 | GNU Emacs is distributed in the hope that it will be useful, | |
8216 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
8217 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
8218 | GNU General Public License for more details. | |
8219 | ||
8220 | You should have received a copy of the GNU General Public License | |
294981c7 | 8221 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |