comparison lisp/ChangeLog @ 5292:e4305eb6fb8c

Merge some permissions corrections to trunk.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 18 Oct 2010 23:21:23 +0900
parents 85bd42a1e544 99de5fd48e87
children bbff29a01820
comparison
equal deleted inserted replaced
5291:85bd42a1e544 5292:e4305eb6fb8c
42 * auto-save.el: 42 * auto-save.el:
43 * font.el: 43 * font.el:
44 * fontconfig.el: 44 * fontconfig.el:
45 * mule/kinsoku.el: 45 * mule/kinsoku.el:
46 Add "part of XEmacs" text to permission notice. 46 Add "part of XEmacs" text to permission notice.
47
48 2010-10-14 Aidan Kehoe <kehoea@parhasard.net>
49
50 * byte-optimize.el (side-effect-free-fns):
51 * cl-macs.el (remf, getf):
52 * cl-extra.el (tailp, cl-set-getf, cl-do-remf):
53 * cl.el (ldiff, endp):
54 Tighten up Common Lisp compatibility for #'ldiff, #'endp, #'tailp;
55 add circularity checking for the first two.
56
57 #'cl-set-getf and #'cl-do-remf were Lisp implementations of
58 #'plist-put and #'plist-remprop; change the names to aliases,
59 changes the macros that use them to using #'plist-put and
60 #'plist-remprop directly.
61
62 2010-10-12 Aidan Kehoe <kehoea@parhasard.net>
63
64 * abbrev.el (fundamental-mode-abbrev-table, global-abbrev-table):
65 Create both these abbrev tables using the usual
66 #'define-abbrev-table calls, rather than attempting to
67 special-case them.
68 * cl-extra.el: Force cl-macs to be loaded here, if cl-extra.el is
69 being loaded interpreted. Previously other, later files would
70 redundantly call (load "cl-macs") when interpreted, it's more
71 reasonable to do it here, once.
72 * cmdloop.el (read-quoted-char-radix): Use defcustom here, we
73 don't have any dump-order dependencies that would prevent that.
74 * custom.el (eval-when-compile): Don't load cl-macs when
75 interpreted or when byte-compiling, rely on cl-extra.el in the
76 former case and the appropriate entry in bytecomp-load-hook in the
77 latter. Get rid of custom-declare-variable-list, we have no
78 dump-time dependencies that would require it.
79 * faces.el (eval-when-compile): Don't load cl-macs when
80 interpreted or when byte-compiling.
81 * packages.el: Remove some inaccurate comments.
82 * post-gc.el (cleanup-simple-finalizers): Use #'delete-if-not
83 here, now the order of preloaded-file-list has been changed to
84 make it available.
85 * subr.el (custom-declare-variable-list): Remove. No need for it.
86 Also remove a stub define-abbrev-table from this file, given the
87 current order of preloaded-file-list there's no need for it.
88
89 2010-10-10 Aidan Kehoe <kehoea@parhasard.net>
90
91 * bytecomp.el (byte-compile-constp) Forms quoted with FUNCTION are
92 also constant.
93 (byte-compile-initial-macro-environment): In #'the, if FORM is
94 constant and does not match TYPE, warn at byte-compile time.
95
96 2010-10-10 Aidan Kehoe <kehoea@parhasard.net>
97
98 * backquote.el (bq-vector-contents, bq-list*): Remove; the former
99 is equivalent to (append VECTOR nil), the latter to (list* ...).
100 (bq-process-2): Use (append VECTOR nil) instead of using
101 #'bq-vector-contents to convert to a list.
102 (bq-process-1): Now we use list* instead of bq-list
103 * subr.el (list*): Moved from cl.el, since it is now required to
104 be available the first time a backquoted form is encountered.
105 * cl.el (list*): Move to subr.el.
106
107 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
108
109 * test-harness.el (Check-Message):
110 Add an omitted comma here, thank you the buildbot.
111
112 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
113
114 * hash-table.el (hash-table-key-list, hash-table-value-list)
115 (hash-table-key-value-alist, hash-table-key-value-plist):
116 Remove some useless #'nreverse calls in these files; our hash
117 tables have no order, it's not helpful to pretend they do.
118 * behavior.el (read-behavior):
119 Do the same in this file, in some code evidently copied from
120 hash-table.el.
121
122 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
123
124 * info.el (Info-insert-dir):
125 * format.el (format-deannotate-region):
126 * files.el (cd, save-buffers-kill-emacs):
127 Use #'some, #'every and related functions for applying boolean
128 operations to lists, instead of rolling our own ones that cons and
129 don't short-circuit.
130
131 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
132
133 * bytecomp.el (byte-compile-initial-macro-environment):
134 * cl-macs.el (the):
135 Rephrase the docstring, make its implementation when compiling
136 files a little nicer.
137
138 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
139
140 * descr-text.el (unidata-initialize-unicodedata-database)
141 (unidata-initialize-unihan-database, describe-char-unicode-data)
142 (describe-char-unicode-data):
143 Wrap calls to the database functions with (with-fboundp ...),
144 avoiding byte compile warnings on builds without support for the
145 database functions.
146 (describe-char): (reduce #'max ...), not (apply #'max ...), no
147 need to cons needlessly.
148 (describe-char): Remove a redundant lambda wrapping
149 #'extent-properties.
150 (describe-char-unicode-data): Call #'nsubst when replacing "" with
151 nil in the result of #'split-string, instead of consing inside
152 mapcar.
153
154 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
155
156 * x-faces.el (x-available-font-sizes):
157 * specifier.el (let-specifier):
158 * package-ui.el (pui-add-required-packages):
159 * msw-faces.el (mswindows-available-font-sizes):
160 * modeline.el (modeline-minor-mode-menu):
161 * minibuf.el (minibuf-directory-files):
162 Replace the O2N (delq nil (mapcar (lambda (W) (and X Y)) Z)) with
163 the ON (mapcan (lambda (W) (and X (list Y))) Z) in these files.
164
165 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
166
167 * cl-macs.el (= < > <= >=):
168 When these functions are handed more than two arguments, and those
169 arguments have no side effects, transform to a series of two
170 argument calls, avoiding funcall in the byte-compiled code.
171 * mule/mule-cmds.el (finish-set-language-environment):
172 Take advantage of this change in a function called 256 times at
173 startup.
174
175 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
176
177 * bytecomp.el (byte-compile-function-form, byte-compile-quote)
178 (byte-compile-quote-form):
179 Warn at compile time, and error at runtime, if a (quote ...) or a
180 (function ...) form attempts to quote more than one object.
181
182 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
183
184 * byte-optimize.el (byte-optimize-apply): Transform (apply 'nconc
185 (mapcar ...)) to (mapcan ...); warn about use of the first idiom.
186
187 * update-elc.el (do-autoload-commands):
188 * packages.el (packages-find-package-library-path):
189 * frame.el (frame-list):
190 * extents.el (extent-descendants):
191 * etags.el (buffer-tag-table-files):
192 * dumped-lisp.el (preloaded-file-list):
193 * device.el (device-list):
194 * bytecomp-runtime.el (proclaim-inline, proclaim-notinline)
195 Use #'mapcan, not (apply #'nconc (mapcar ...) in all these files.
196
197 * bytecomp-runtime.el (eval-when-compile, eval-and-compile):
198 In passing, mention that these macros also evaluate the body when
199 interpreted.
200
201 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
202
203 * cl-macs.el (the): Add a docstring and an implementation for this
204 macro.
205 * bytecomp.el (byte-compile-initial-macro-environment): Add #'the
206 to this, checking byte-compile-delete-errors to decide whether to
207 make the type assertion. Change the initvalue to use backquote and
208 preceding commas for the lambda expressions, to allow the latter
209 to be compiled.
210
211 2010-09-06 Aidan Kehoe <kehoea@parhasard.net>
212
213 * cl-seq.el (replace):
214 Move this function, with added bounds-checking per ANSI Common
215 Lisp, to fns.c.
216
217 2010-09-05 Aidan Kehoe <kehoea@parhasard.net>
218
219 * x-compose.el (define-compose-map, compose-map)
220 (decide-on-bindings): Support the precomposed characters with
221 stroke here too, necessary for Polish and Danish, among others.
222 * x-init.el (x-initialize-compose): Add the appropriate map
223 autoloads and bindings here.
224
225 2010-09-03 Aidan Kehoe <kehoea@parhasard.net>
226
227 * cl-extra.el (coerce):
228 Add fixnum as an accepted destination type.
229
230 2010-09-02 Aidan Kehoe <kehoea@parhasard.net>
231
232 * obsolete.el (process-get):
233 Make #'process-get, #'process-put, #'process-plist,
234 #'set-process-plist available as aliases to the more general
235 functions #'get, #'put, #'object-plist, #'object-setplist, for GNU
236 compatibility.
237
238 2010-08-20 Mike Sperber <mike@xemacs.org>
239
240 * files.el (save-some-buffers-action-alist): Add.
241 (save-some-buffers-1): Use (synching with (GPLv2) FSF Emacs.
242
243 2010-08-18 Mike Sperber <mike@xemacs.org>
244
245 * files.el (diff-files-for-recover): Abstract this out out
246 `recover-file'.
247 (diff-buffer-with-file): Add from (GPLv2) FSF Emacs.
248 (recover-file): Use `diff-files-for-recover'.
249
250 2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
251
252 * specifier.el (canonicalize-inst-pair, canonicalize-spec):
253 If a specifier tag set is correct, but an instantiator is not in
254 an accepted format, don't error with the message "Invalid
255 specifier tag set".
256 Also, when we error, use error-symbols, for better structured
257 error handling and more ease when testing.
258
259 2010-07-24 Aidan Kehoe <kehoea@parhasard.net>
260
261 * cl-extra.el (concatenate):
262 * cl-seq.el (remove*, cl-delete-duplicates):
263 Bit vectors are also sequences; enforce this in these functions.
264 * cl-macs.el (concatenate):
265 If TYPE is constant, don't inline #'concatenate, replace it by a
266 call to the appropriate C functions.
47 267
48 2010-06-13 Stephen J. Turnbull <stephen@xemacs.org> 268 2010-06-13 Stephen J. Turnbull <stephen@xemacs.org>
49 269
50 * gnome.el: 270 * gnome.el:
51 * gtk-compose.el: 271 * gtk-compose.el: