comparison src/ChangeLog @ 5001:714d854d00e9

Automatic merge
author Ben Wing <ben@xemacs.org>
date Sun, 07 Feb 2010 05:23:07 -0600
parents 44d7bde26046 ebafcd6e9f4b
children 0cd784a6ec44
comparison
equal deleted inserted replaced
5000:44d7bde26046 5001:714d854d00e9
32 char[] but then compared the value to an Ichar. Hence, any chars 32 char[] but then compared the value to an Ichar. Hence, any chars
33 in the range 128-255 would always appear changed -- in particular, 33 in the range 128-255 would always appear changed -- in particular,
34 this algorithm would fail completely with binary data. 34 this algorithm would fail completely with binary data.
35 35
36 36
37 2010-02-07 Ben Wing <ben@xemacs.org>
38
39 * fns.c (mapcarX):
40 C++ requires explicit cast to enum lrecord_type.
41
37 2010-02-06 Ben Wing <ben@xemacs.org> 42 2010-02-06 Ben Wing <ben@xemacs.org>
38 43
39 * mule-wnnfns.c: 44 * mule-wnnfns.c:
40 Convert file to utf-8. 45 Convert file to utf-8.
46
47 2010-02-03 Aidan Kehoe <kehoea@parhasard.net>
48
49 * fns.c (mapcarX):
50 Accept a new argument, indicating whether the function is being
51 called from #'some or #'every. Implement it.
52 Discard any multiple values where that is appropriate.
53 (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap)
54 (Fmap_into):
55 Pass the new flag to mapcarX.
56 (Fsome, Fevery): Move these functions here from cl-extra.el;
57 implement them in terms of mapcarX.
58 (maplist): Discard multiple values where appropriate.
41 59
42 2010-02-06 Ben Wing <ben@xemacs.org> 60 2010-02-06 Ben Wing <ben@xemacs.org>
43 61
44 * config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES. 62 * config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES.
45 * database.c: 63 * database.c:
1307 * search.c (search_buffer): 1325 * search.c (search_buffer):
1308 Don't use Boyer-Moore for case-insensitive search if the search 1326 Don't use Boyer-Moore for case-insensitive search if the search
1309 pattern contains repeated Ibytes and the corresponding character 1327 pattern contains repeated Ibytes and the corresponding character
1310 has case information (or, equivalently, if one of its case 1328 has case information (or, equivalently, if one of its case
1311 equivalents would contain repeated Ibytes). 1329 equivalents would contain repeated Ibytes).
1330
1331 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
1332
1333 Move #'mapcar*, #'mapcan, #'mapc, #'map, #'mapl, #'mapcon to C;
1334 extend #'mapvector, #'mapconcat, #'mapcar to support more
1335 SEQUENCES; have them all error with circular lists.
1336
1337 * fns.c (Fsubseq): Call CHECK_SEQUENCE here; Flength can return
1338 from the debugger if it errors with a non-sequence, leading to a
1339 crash in Fsubseq if sequence really is *not* a sequence.
1340 (mapcarX): Rename mapcar1 to mapcarX; rework it comprehensively to
1341 take an optional lisp output argument, and a varying number of
1342 sequences.
1343 Special-case a single list argument, as we used to, saving its
1344 elements in the stack space for the results before calling
1345 FUNCTION, so FUNCTION can corrupt the list all it
1346 wants. dead_wrong_type_argument() in the other cases if we
1347 encounter a non-cons where we expected a cons.
1348 (Fmapconcat):
1349 Accept further SEQUENCES after separator here. Special-case
1350 the idiom (mapconcat 'identity SEQUENCE), don't even funcall.
1351 (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES.
1352 (Fmapvector): Accept optional SEQUENCES.
1353 (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el.
1354 (Fmap_into): New function, as specified by Common Lisp.
1355 (maplist): New function, the guts of the implementation of
1356 Fmaplist and Fmapl.
1357 (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el.
1358 (syms_of_fns):
1359 Add a few needed symbols here, for the type tests
1360 used by #'map. Add the new subrs, with aliases for #'mapc-internal
1361 and #'mapcar.
1362
1363 * general-slots.h: Declare Qcoerce here, now it's used in both
1364 indent.c and fns.c
1365 * indent.c (syms_of_indent): Qcoerce is gone from here.
1366
1367 * lisp.h: Add ARRAYP(), SEQUENCEP(), and the corresponding CHECK_*
1368 macros. Declare Fbit_vector, Fstring, FmapcarX, now other files
1369 need to use them.
1370 * data.c (Farrayp, Fsequencep): Use ARRAYP and SEQUENCEP, just
1371 added to lisp.h
1372
1373 * buffer.c (Fbuffer_list): Now Fmapcar has been renamed FmapcarX
1374 and takes MANY arguments, update this function to reflect that.
1312 1375
1313 2010-01-28 Jerry James <james@xemacs.org> 1376 2010-01-28 Jerry James <james@xemacs.org>
1314 1377
1315 * Makefile.in.in: Remove internationalization rules, since the 1378 * Makefile.in.in: Remove internationalization rules, since the
1316 lib-src programs they invoke are now gone. 1379 lib-src programs they invoke are now gone.