Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/ChangeLog Sat Feb 06 04:27:47 2010 -0600 +++ b/src/ChangeLog Sat Feb 06 12:28:19 2010 +0000 @@ -2,6 +2,19 @@ * mule-wnnfns.c: Convert file to utf-8. + +2010-02-03 Aidan Kehoe <kehoea@parhasard.net> + + * fns.c (mapcarX): + Accept a new argument, indicating whether the function is being + called from #'some or #'every. Implement it. + Discard any multiple values where that is appropriate. + (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap) + (Fmap_into): + Pass the new flag to mapcarX. + (Fsome, Fevery): Move these functions here from cl-extra.el; + implement them in terms of mapcarX. + (maplist): Discard multiple values where appropriate. 2010-02-06 Ben Wing <ben@xemacs.org> @@ -1274,6 +1287,51 @@ has case information (or, equivalently, if one of its case equivalents would contain repeated Ibytes). +2010-01-31 Aidan Kehoe <kehoea@parhasard.net> + + Move #'mapcar*, #'mapcan, #'mapc, #'map, #'mapl, #'mapcon to C; + extend #'mapvector, #'mapconcat, #'mapcar to support more + SEQUENCES; have them all error with circular lists. + + * fns.c (Fsubseq): Call CHECK_SEQUENCE here; Flength can return + from the debugger if it errors with a non-sequence, leading to a + crash in Fsubseq if sequence really is *not* a sequence. + (mapcarX): Rename mapcar1 to mapcarX; rework it comprehensively to + take an optional lisp output argument, and a varying number of + sequences. + Special-case a single list argument, as we used to, saving its + elements in the stack space for the results before calling + FUNCTION, so FUNCTION can corrupt the list all it + wants. dead_wrong_type_argument() in the other cases if we + encounter a non-cons where we expected a cons. + (Fmapconcat): + Accept further SEQUENCES after separator here. Special-case + the idiom (mapconcat 'identity SEQUENCE), don't even funcall. + (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES. + (Fmapvector): Accept optional SEQUENCES. + (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el. + (Fmap_into): New function, as specified by Common Lisp. + (maplist): New function, the guts of the implementation of + Fmaplist and Fmapl. + (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el. + (syms_of_fns): + Add a few needed symbols here, for the type tests + used by #'map. Add the new subrs, with aliases for #'mapc-internal + and #'mapcar. + + * general-slots.h: Declare Qcoerce here, now it's used in both + indent.c and fns.c + * indent.c (syms_of_indent): Qcoerce is gone from here. + + * lisp.h: Add ARRAYP(), SEQUENCEP(), and the corresponding CHECK_* + macros. Declare Fbit_vector, Fstring, FmapcarX, now other files + need to use them. + * data.c (Farrayp, Fsequencep): Use ARRAYP and SEQUENCEP, just + added to lisp.h + + * buffer.c (Fbuffer_list): Now Fmapcar has been renamed FmapcarX + and takes MANY arguments, update this function to reflect that. + 2010-01-28 Jerry James <james@xemacs.org> * Makefile.in.in: Remove internationalization rules, since the