aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog121
1 files changed, 118 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 01352adf4e3..4b50b2dddeb 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,118 @@
12011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
2
3 * emacsclient.c (longopts): Add quiet.
4 (decode_options): Handle q/quiet.
5 (print_help_and_exit): Add q/quiet.
6 (main): Suppress some messages if quiet option is used.
7
82011-02-26 Eli Zaretskii <eliz@gnu.org>
9
10 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
11
12 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
13 (w32_getenv): Use xstrdup to return all values in malloc'ed
14 storage.
15
162011-02-26 Paul Eggert <eggert@cs.ucla.edu>
17
18 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
19 to reader (and to the compiler) that the loop always executes at
20 least once. This prevents a warning with recent GCC.
21 (BROWSE_STRUCT): Remove unused macro.
22
23 * fakemail.c: Include <ignore-value.h>.
24 (put_line): Explicitly ignore fwrite return value, for benefit of
25 recent glibc + gcc.
26 (close_the_streams): Diagnose output errors instead of merely
27 exiting with nonzero status.
28 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
29 Formerly, input errors were silently ignored.
30
31 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
32 All callers changed. This is cleaner, and avoids GCC warnings about
33 passing NULL to fputs.
34 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
35
362011-02-25 Paul Eggert <eggert@cs.ucla.edu>
37
38 * emacsclient.c (main): Avoid dangling 'if'.
39 (xstrdup): Remove; no longer needed.
40 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
41 (set_local_socket, main):
42 Use const char *, not char *, for pointers that are not assigned
43 through.
44 (IF_LINT): New macro.
45 (set_local_socket, main): Use it to suppress warnings with
46 GCC -Wuninitialized.
47
48 * emacsclient.c: Redo local variables to avoid shadowing problems.
49 (message, socket_status, start_daemon_and_retry_set_socket):
50 Rename locals.
51 (main): Move decl of "i".
52
53 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
54 This avoids an unused-macro warning with some GCC settings.
55
56 * make-docfile.c (write_globals): Change char * to char const *
57 to avoid a GCC "assignment discards qualifiers" diagnostic
58 in some configurations.
59 (scan_c_file): Refactor local variable decls to make their scope
60 more accurate and to avoid a GCC -Wuninitialized diagnostic.
61
622011-02-22 Eli Zaretskii <eliz@gnu.org>
63
64 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
65
66 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
67 on ../lib/min-max.h.
68
692011-02-22 Paul Eggert <eggert@cs.ucla.edu>
70
71 etags: Downcase drive letters, for consistency with Emacs proper.
72 * etags.c (upcase): Remove; no longer used.
73 (canonicalize_filename): Downcase drive letters.
74
75 Assume S_ISLNK etc. work, since gnulib supports this.
76 * etags.c (S_ISREG): Remove.
77
782011-02-22 Paul Eggert <eggert@cs.ucla.edu>
79
80 Assume S_ISLNK etc. work, since gnulib supports this.
81 * etags.c (S_ISREG): Remove.
82
832011-02-22 Juanma Barranquero <lekktu@gmail.com>
84
85 * makefile.w32-in (obj): Remove filemode.o.
86
872011-02-21 Paul Eggert <eggert@cs.ucla.edu>
88
89 New file "lib/min-max.h".
90 * ebrowse.c (min, max): Define them by including <min-max.h>
91 instead of defining it ourselves.
92 * pop.c (min): Likewise.
93 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
94
95 * movemail.c (popmail): Report fchown failure instead of ignoring it.
96 But if the file already has the right ownership, don't worry about it.
97
98 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
99 * test-distrib.c (buf): Make this local, to avoid shadowing.
100
101 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
102 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
103 (DONE): Remove unused macro.
104 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
105 Define these macros only in the contexts that need them.
106 * pop.c (index): Remove unused macro.
107 (KPOP_PORT): Define only if KERBEROS is defined.
108
109 Declare file-scope functions and variables static if not exported.
110 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
111 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
112 * profile.c, test-distrib.c, update-game-score.c:
113 Declare non-'main' functions and variables to be static.
114 * ebrowse.c: Omit redundant function prototypes.
115
12011-02-21 Eli Zaretskii <eliz@gnu.org> 1162011-02-21 Eli Zaretskii <eliz@gnu.org>
2 117
3 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O)) 118 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
@@ -39,7 +154,7 @@
39 154
402011-02-05 Paul Eggert <eggert@cs.ucla.edu> 1552011-02-05 Paul Eggert <eggert@cs.ucla.edu>
41 156
42 * emacsclient.c: conform to C89 pointer rules 157 * emacsclient.c: Conform to C89 pointer rules.
43 (file_name_absolute_p): Accept const char *, not const unsigned 158 (file_name_absolute_p): Accept const char *, not const unsigned
44 char *, to satisfy C89 rules. 159 char *, to satisfy C89 rules.
45 160
@@ -197,7 +312,7 @@
197 * test-distrib.c (cool_read): 312 * test-distrib.c (cool_read):
198 * movemail.c (main, concat): 313 * movemail.c (main, concat):
199 * make-docfile.c (scan_file, write_c_args): 314 * make-docfile.c (scan_file, write_c_args):
200 * emacsclient.c (get_server_config): Fix -Wconversion warning. 315 * emacsclient.c (get_server_config): Fix -Wconversion warning.
201 (egetenv): Move conditional definition earlier. 316 (egetenv): Move conditional definition earlier.
202 (progname): Use const. 317 (progname): Use const.
203 * sorted-doc.c (xstrdup): Use const. 318 * sorted-doc.c (xstrdup): Use const.
@@ -557,7 +672,7 @@
557 autoconf, not cpp. 672 autoconf, not cpp.
558 (ALL_CFLAGS): Use them as make variables. 673 (ALL_CFLAGS): Use them as make variables.
559 674
5602010-04-07 Christoph <cschol2112@googlemail.com> (tiny change) 6752010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
561 676
562 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis 677 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
563 for macros for nmake compatibility. 678 for macros for nmake compatibility.