comparison src/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 cd167465bf69 99de5fd48e87
children 63f247c5da0a
comparison
equal deleted inserted replaced
5291:85bd42a1e544 5292:e4305eb6fb8c
1 2010-06-14 Stephen J. Turnbull <stephen@xemacs.org> 1 2010-06-14 Stephen J. Turnbull <stephen@xemacs.org>
2 2
3 * ui-byhand.c: 3 * ui-byhand.c:
4 * gtk-glue.c: 4 * gtk-glue.c:
5 Add copyright notice based on internal evidence. 5 Add copyright notice based on internal evidence.
6
7 2010-06-14 Stephen J. Turnbull <stephen@xemacs.org>
8
9 * number.h: Another permission consistency fix.
10
11 2010-10-14 Aidan Kehoe <kehoea@parhasard.net>
12
13 * fns.c (Fnbutlast, Fbutlast):
14 Tighten up Common Lisp compatibility for these two functions; they
15 need to operate on dotted lists without erroring.
16
17 2010-10-12 Aidan Kehoe <kehoea@parhasard.net>
18
19 * fns.c (list_merge):
20 Circularity checking here needs to be done independently for each
21 list, they can't share a loop counter. Thank you for the bug
22 report, Robert Pluim!
23
24 2010-09-20 Aidan Kehoe <kehoea@parhasard.net>
25
26 * lisp.h (GET_DEFUN_LISP_OBJECT): Make the NEW_GC version of this
27 work, remove a needless and unhelpful semicolon.
28 (GET_DEFUN_LISP_OBJECT): Remove a needless semicolon from the
29 non-NEW_GC version of this.
30 (PARSE_KEYWORDS): Fix the indentation for the DEBUG_XEMACS
31 version of this macro.
32 (PARSE_KEYWORDS): Use GET_DEFUN_LISP_OBJECT() for both the NEW_GC
33 and non-NEW_GC versions of this macro, when working out the
34 function's min args.
35
36 2010-09-18 Aidan Kehoe <kehoea@parhasard.net>
37
38 * lisp.h (PARSE_KEYWORDS):
39 Turns out #elsif is not valid preprocessor syntax, who knew!
40
41 2010-09-18 Aidan Kehoe <kehoea@parhasard.net>
42
43 * lisp.h (PARSE_KEYWORDS):
44 Correct the NEW_GC non-DEBUG_XEMACS version of this macro; under
45 such builds S##function is a pointer, not a Lisp_Subr structure.
46
47 2010-09-18 Aidan Kehoe <kehoea@parhasard.net>
48
49 Simplify the API of PARSE_KEYWORDS for callers.
50
51 * lisp.h (PARSE_KEYWORDS): Simply the API, while making the
52 implementation a little more complex; work out KEYWORDS_OFFSET
53 from the appropriate Lisp_Subr struct, take the function name as
54 the C name of the DEFUN rather than a symbol visible as a
55 Lisp_Object, on debug builds assert that we're actually in the
56 function so we choke on badly-done copy-and-pasting,
57
58 * lisp.h (PARSE_KEYWORDS_8): New. This is the old PARSE_KEYWORDS.
59
60 * fns.c (Fmerge, FsortX, Ffill, Freduce, Freplace):
61 Change to use the new PARSE_KEYWORDS syntax.
62 * elhash.c (Fmake_hash_table): Chance to the new PARSE_KEYWORDS
63 syntax, rename a define to correspond to what other files use.
6 64
7 2010-06-14 Stephen J. Turnbull <stephen@xemacs.org> 65 * symbols.c (intern_massaging_name):
8 66 * buffer.c (ADD_INT):
9 * number.h: Another permission consistency fix. 67 Rename intern_converting_underscores_to_dashes() to
68 intern_massaging_name(), now it does a little more.
69
70 2010-09-18 Aidan Kehoe <kehoea@parhasard.net>
71
72 * termcap.c:
73 Add a couple of missing includes here, which should fix builds
74 that use this file. (I have no access to such builds, but Mats'
75 buildbot shows output that indicates they fail at link time since
76 DEVICE_BAUD_RATE and IS_DIRECTORY_SEP are available.)
77
78 2010-09-18 Aidan Kehoe <kehoea@parhasard.net>
79
80 * fns.c (Freduce):
81 Move statements outside of the braces surrounding the
82 EXTERNAL_LIST_LOOP_3 macro, fixing strict C89 builds. Thank you
83 for the report, Vin!
84
85 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
86
87 * fns.c (Flist_length): New, moved here from cl-extra.el, needed
88 by the next function.
89 (shortest_length_among_sequences): New.
90 (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap)
91 (Fmap_into, Fsome, Fevery):
92 Use shortest_length_among_sequences() when working out how many
93 iterations to do, only giving circular list errors if all
94 arguments are circular.
95
96 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
97
98 * fns.c (Fsubseq):
99 Change the string code to better fit in with the rest of this
100 function (it still uses get_string_range_char(), though, which *may*
101 diverge algorithmically from what we're doing).
102
103 If dealing with a cons, only call #'length if we have reason to
104 believe that the START and END arguments are badly specified, and
105 check for circular lists ourselves when that's appropriate.
106
107 If dealing with a vector, call Fvector() on the appropriate subset
108 of the old vector's data directly, don't initialise the result
109 with nil and then copy.
110
111 (Ffill):
112 Only check the range arguments for a cons SEQUENCE if we have good
113 reason to think they were badly specified.
114
115 (Freduce):
116 Handle multiple values properly. Add bounds checking to this
117 function, as specificied by ANSI Common Lisp.
118
119 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
120
121 * eval.c (Ffunction, Fquote):
122 Add argument information in the arguments: () format for these two
123 special operators.
124
125 2010-09-07 Aidan Kehoe <kehoea@parhasard.net>
126
127 * fns.c (Freplace):
128 Replace an accidental double semi-colon with a single semi-colon,
129 hopefully fixing Vin's Visual Studio 6 build. (Visual Studio 2005
130 had no problem with it, oddly.)
131
132 2010-09-06 Aidan Kehoe <kehoea@parhasard.net>
133
134 Move #'replace to C; add bounds checking to it and to #'fill.
135
136 * fns.c (Fsubseq, Ffill, mapcarX):
137 Don't #'nreverse in #'subseq, use fill_string_range and check
138 bounds in #'fill, use replace_string_range() in #'map-into
139 avoiding quadratic time when modfiying the string.
140
141 * fns.c (check_sequence_range, fill_string_range)
142 (replace_string_range, replace_string_range_1, Freplace):
143 New functions; check that arguments fit sequence dimensions, fill
144 a string range with a given character, replace a string range from
145 an Ibyte pointer.
146
147 2010-09-05 Aidan Kehoe <kehoea@parhasard.net>
148
149 * chartab.c (char_table_default_for_type,
150 chartab_default_validate): New.
151 (print_char_table, Freset_char_table, chartab_default_validate)
152 (chartab_instantiate, structure_type_create_chartab):
153 Accept keyword :default in the read syntax for char tables, and
154 print the default when it is not what was expected for the
155 time. Makes it a little easier to debug things.
156
157 2010-09-05 Aidan Kehoe <kehoea@parhasard.net>
158
159 * editfns.c (Fformat_time_string):
160 Use two backslashes so that there is at least one present in the
161 output of describe function, when describing the Roman month
162 number syntax in this function's docstring. Thanks for provoking
163 me to look at this, Stephen Turnbull.
164
165 2010-09-03 Aidan Kehoe <kehoea@parhasard.net>
166
167 * symsinit.h: Declare reinit_process_early() here, fixing the C++
168 build; thank you for pointing this out, Adam Sjøgren!
169 * fontcolor-msw.c (mswindows_string_to_color):
170 Cast the result of bsearch() to a colormap_t pointer, fixing the
171 Visual Studio 2005 build.
172
173 2010-09-02 Aidan Kehoe <kehoea@parhasard.net>
174
175 * strftime.c (roman_upper, roman_lower, strftime):
176 Implement Roman month numbers, as used in central and eastern
177 Europe.
178 * editfns.c (Fformat_time_string):
179 Document two new escapes, to allow uppercase and lowercase Roman
180 month numbers. Remove documentation of a bug that we didn't
181 actually have.
182 * text.h (Qtime_function_encoding): We know the text encoding
183 coming from strftime(), because we always use the one in
184 strftime.c. Don't use Qnative.
185
186 2010-09-01 Aidan Kehoe <kehoea@parhasard.net>
187
188 * fns.c (list_merge, list_array_merge_into_list)
189 (list_array_merge_into_array):
190 Avoid algorithmic complexity surprises when checking for
191 circularity in these functions.
192 (Freduce): Fix some formatting, in passing.
193
194 (mapcarX): Drop the SOME_OR_EVERY argument to this function;
195 instead, take CALLER, a symbol reflecting the Lisp-visible
196 function that called mapcarX(). Use CALLER with
197 mapping_interaction_error() when sequences are modified
198 illegally. Don't cons with #'some, #'every, not even a little.
199 (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap)
200 (Fmap_into, Fsome, Fevery): Call mapcarX() with its new
201 arguments.
202 (Fmapcan): Don't unnecessarily complicate the nconc call.
203
204 (maplist): Take CALLER, a symbol reflecting the Lisp-visible
205 function that called maplist(), rather than having separate
206 arguments to indicate mapl vs. mapcon.
207 Avoid algorithmic complexity surprises when checking for
208 circularity. In #'mapcon, check a given stretch of
209 result for well-formedness once, which was not previously the
210 case, despite what the comments said.
211 (Fmaplist, Fmapl, Fmapcon):
212 Call maplist() with its new arguments.
213
214 2010-09-02 Aidan Kehoe <kehoea@parhasard.net>
215
216 * process.c (process_getprop, process_putprop, process_remprop)
217 (process_plist, process_setplist, reinit_process_early):
218 Add functions to modify a process's property list.
219 * process-slots.h (MARKED_SLOT): Add a plist slot.
220
221 * fns.c (Fobject_setplist): New function, analogous to #'setplist,
222 but more general.
223 Update the documentation in the other plist functions to reflect
224 that processes now have property lists.
225 * emacs.c (main_1): Call reinit_process_early(), now processes have
226 plist methods that need to be initialised.
227 * symbols.c (reinit_symbol_objects_early): Fsetplist is the named
228 setplist method for symbols.
229
230 2010-08-30 Aidan Kehoe <kehoea@parhasard.net>
231
232 * floatfns.c (ceiling_one_mundane_arg, floor_one_mundane_arg)
233 (round_one_mundane_arg, truncate_one_mundane_arg):
234 INTEGERP is always available, no need to wrap calls to it with
235 #ifdef HAVE_BIGNUM.
236 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor)
237 (Ffround, Fftruncate):
238 Correct some code formatting here.
239 * doprnt.c (emacs_doprnt_1):
240 Remove some needless #ifdef WITH_NUMBER_TYPES, now number.h is
241 always #included.
242
243 2010-08-26 Adam Sjøgren <asjo@koldfront.dk>
244
245 * glyphs-eimage.c (gif_instantiate): Try harder to find an
246 appropriate GIF colormap and then flag an error if one can't be
247 found.
248
249 2010-08-21 Aidan Kehoe <kehoea@parhasard.net>
250
251 * lread.c (read_escape):
252 Make error messages better reflect the text that was encountered,
253 when overlong hex character escapes or non-Latin-1 octal character
254 escapes are encountered.
255
256 2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
257
258 * print.c (print_symbol):
259 Escape any symbols that look like ratios, in the same way we do
260 symbols that look like floats or integers. Prevents confusion in
261 the Lisp reader.
262 * lread.c (isratio_string): Make this available even on builds
263 without HAVE_RATIO, so we can print symbols that look like ratios
264 with the appropriate escapes.
265 * lisp.h:
266 Make isratio_string available even if HAVE_RATIO is not defined.
267
268 2010-07-24 Aidan Kehoe <kehoea@parhasard.net>
269
270 * lisp.h (PARSE_KEYWORDS):
271 Always accept a nil :allow-other-keys keyword argument, as
272 described in the ALLOW-OTHER-KEYS-NIL Common Lisp issue writeup,
273 and as necessary for Paul Dietz' tests for #'reduce.
274
275 * fns.c (mapping_interaction_error): New.
276 (Freduce): Call mapping_interaction_error when KEY or FUNCTION
277 have modified a string SEQUENCE such that the byte length of the
278 string has changed, or such that the current cursor pointer
279 doesn't point to the beginning of a character.
280 Cf. the MAPPING-DESTRUCTIVE-INTERACTION Common Lisp issue
281 writeup.
282 When traversing a list, GCPRO the part of it we still have to
283 traverse, to avoid any crashes if FUNCTION or KEY amputate it
284 behind us and force a garbage collection.
285
286 2010-06-05 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
287
288 * gc.c:
289 * mc-alloc.c:
290 Document the new allocator and the new garbage collector.
10 291
11 2010-06-13 Stephen J. Turnbull <stephen@xemacs.org> 292 2010-06-13 Stephen J. Turnbull <stephen@xemacs.org>
12 293
13 * elhash.c: 294 * elhash.c:
14 * emacs.c: 295 * emacs.c: