comparison src/ChangeLog @ 4998:b46c89ccbed3

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 06 Feb 2010 12:28:19 +0000
parents 76af7fc13e81 8800b5350a13
children ebafcd6e9f4b
comparison
equal deleted inserted replaced
4994:76af7fc13e81 4998:b46c89ccbed3
1 2010-02-06 Ben Wing <ben@xemacs.org> 1 2010-02-06 Ben Wing <ben@xemacs.org>
2 2
3 * mule-wnnfns.c: 3 * mule-wnnfns.c:
4 Convert file to utf-8. 4 Convert file to utf-8.
5
6 2010-02-03 Aidan Kehoe <kehoea@parhasard.net>
7
8 * fns.c (mapcarX):
9 Accept a new argument, indicating whether the function is being
10 called from #'some or #'every. Implement it.
11 Discard any multiple values where that is appropriate.
12 (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap)
13 (Fmap_into):
14 Pass the new flag to mapcarX.
15 (Fsome, Fevery): Move these functions here from cl-extra.el;
16 implement them in terms of mapcarX.
17 (maplist): Discard multiple values where appropriate.
5 18
6 2010-02-06 Ben Wing <ben@xemacs.org> 19 2010-02-06 Ben Wing <ben@xemacs.org>
7 20
8 * config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES. 21 * config.h.in: Add undef for TRUST_NDBM_H_PROTOTYPES.
9 * database.c: 22 * database.c:
1271 * search.c (search_buffer): 1284 * search.c (search_buffer):
1272 Don't use Boyer-Moore for case-insensitive search if the search 1285 Don't use Boyer-Moore for case-insensitive search if the search
1273 pattern contains repeated Ibytes and the corresponding character 1286 pattern contains repeated Ibytes and the corresponding character
1274 has case information (or, equivalently, if one of its case 1287 has case information (or, equivalently, if one of its case
1275 equivalents would contain repeated Ibytes). 1288 equivalents would contain repeated Ibytes).
1289
1290 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
1291
1292 Move #'mapcar*, #'mapcan, #'mapc, #'map, #'mapl, #'mapcon to C;
1293 extend #'mapvector, #'mapconcat, #'mapcar to support more
1294 SEQUENCES; have them all error with circular lists.
1295
1296 * fns.c (Fsubseq): Call CHECK_SEQUENCE here; Flength can return
1297 from the debugger if it errors with a non-sequence, leading to a
1298 crash in Fsubseq if sequence really is *not* a sequence.
1299 (mapcarX): Rename mapcar1 to mapcarX; rework it comprehensively to
1300 take an optional lisp output argument, and a varying number of
1301 sequences.
1302 Special-case a single list argument, as we used to, saving its
1303 elements in the stack space for the results before calling
1304 FUNCTION, so FUNCTION can corrupt the list all it
1305 wants. dead_wrong_type_argument() in the other cases if we
1306 encounter a non-cons where we expected a cons.
1307 (Fmapconcat):
1308 Accept further SEQUENCES after separator here. Special-case
1309 the idiom (mapconcat 'identity SEQUENCE), don't even funcall.
1310 (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES.
1311 (Fmapvector): Accept optional SEQUENCES.
1312 (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el.
1313 (Fmap_into): New function, as specified by Common Lisp.
1314 (maplist): New function, the guts of the implementation of
1315 Fmaplist and Fmapl.
1316 (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el.
1317 (syms_of_fns):
1318 Add a few needed symbols here, for the type tests
1319 used by #'map. Add the new subrs, with aliases for #'mapc-internal
1320 and #'mapcar.
1321
1322 * general-slots.h: Declare Qcoerce here, now it's used in both
1323 indent.c and fns.c
1324 * indent.c (syms_of_indent): Qcoerce is gone from here.
1325
1326 * lisp.h: Add ARRAYP(), SEQUENCEP(), and the corresponding CHECK_*
1327 macros. Declare Fbit_vector, Fstring, FmapcarX, now other files
1328 need to use them.
1329 * data.c (Farrayp, Fsequencep): Use ARRAYP and SEQUENCEP, just
1330 added to lisp.h
1331
1332 * buffer.c (Fbuffer_list): Now Fmapcar has been renamed FmapcarX
1333 and takes MANY arguments, update this function to reflect that.
1276 1334
1277 2010-01-28 Jerry James <james@xemacs.org> 1335 2010-01-28 Jerry James <james@xemacs.org>
1278 1336
1279 * Makefile.in.in: Remove internationalization rules, since the 1337 * Makefile.in.in: Remove internationalization rules, since the
1280 lib-src programs they invoke are now gone. 1338 lib-src programs they invoke are now gone.