Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
Change uses of _"foo" to (intl:gettext "foo"). This is because slime may get confused with source locations if the reader macros are installed.
Remove _N"" reader macro from docstrings when possible.
Merge intl-branch 2010-03-18 to HEAD. To build, you need to use boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
Restart internalization work. This new branch starts with code from the intl-branch on date 2010-02-12 18:00:00+0500. This version works and LANG=en@piglatin bin/lisp works (once the piglatin translation is added).
Mark translatable strings; update cmucl.pot and ko/cmucl.po accordingly.
Add (intl:textdomain "cmucl") to the files to set the textdomain.
Merge Unicode work to trunk. From label unicode-utf16-extfmt-2009-06-11.
o Clean up some comments o Remove byte-size arg from READ-N-X8-BYTES and WRITE-N-X8-BYTES since the byte-size is always 8.
Oops. Forgot to fix the indexin for swapping of bits as was done for swapping pairs of bits and nibbles.
Oops. Remove debugging prints.
Fix critical bug in ENDIAN-SWAP-VECTOR. When swapping nibbles, pairs of bits or bits, the loop was counting over element indices but the body was accessing by bytes. This was overwriting stuff outside the array. Fix by adjusting indices to count by bytes.
Revert change allowing READ/WRITE-SEQUENCE to operate on 1, 2, and 4-bit vectors. This breaks some ansi-tests. READ/WRITE-VECTOR updated appropriately. CMUCL can still read and write unidata.bin correctly with these changes. code/stream.lisp: o Remove support for 1, 2, and 4-bit vectors for READ-SEQUENCE and WRITE-SEQUENCE. code/fd-stream.lisp: o Change VECTOR-ELT-WIDTH to return fractional values for arrays of 1, 2 and 4 bits. (The result is the number of octets (fractional) per element.) code/stream-vector-io.lisp: o Replace the calls to READ/WRITE-SEQUENCE with calls to new routines that implement the desired operations.
The return value from WRITE-VECTOR was wrong.
Update read/write-vector to output 1, 2, or 4-bit vectors in the "correct" order. This is an issue because big and little-endian machines store the bits in a different order in each byte. code/fd-stream.lisp: o Recognize 1, 2, and 4-bit vectors and choose an appropriate endian swap value (-8, -2, -1), respectively. This has been tested for :network-order, which works. The :big-endian and :little-endian cases have not been tested. The value is arbitrarily selected so that the lowest indexed element is written to the most significant part of a byte. code/stream-vector-io.lisp: o Perform appropriate bit swapping for 1, 2, and 4-bit vectors. i18n/unidata.bin: o Generated new version. This version can be correctly processed on sparc, and all of the normalization tests pass.
Add support for quick check normalization properties. (From Paul.) i18n/DerivedNormalizationProps.txt: o New file containing the normalization data we need. tools/build-unidata.lisp: o Read the normalization properties and build unidata.bin to include four new tries, one each NFC/NFKC/NFD/NFKD. o Add new 1 and 2 bit tries. code/unidata.lisp: o Read the new data o Add new functions to return the quick check normalization data. code/stream-vector-io.lisp: code/stream.lisp: o Add support for 1, 2, and 4 bit vectors for stream I/O.
Merge change from unicode-utf16-extfmt-branch that fixes the end index issue with WRITE-VECTOR.
Fix a confusion about the length of the vector versus the start and end octets for the case where swapping is needed. (Oversight from previous fix.)
Merge fix from HEAD for the incorrect WRITE-VECTOR for big-endian output on a big-endian machine.
o Add some docstrings to READ-VECTOR and WRITE-VECTOR. o Fix a confusion about the length of the vector versus the start and end octets. If END is not given, we use the length of the vector, but it must be scaled by the number of octets per element.
This removes some code duplication by moving bref, etc. (accessors for simple-streams buffers) into LISP and removes them from simple-streams (and from EXT). Use boot-2007-11-1.lisp to bootstrap the necessary symbol changes. Patch from Paul Foley.
Merge code from main branch of 2005-12-17 to ppc gencgc branch. Still doesn't work of course.
Merge snapshot-2005-05 to this branch.
The START and END arguments and the return value for READ-VECTOR and WRITE-VECTOR are supposed to be octet positions rather than element-positions. From Lynn Quam, cmucl-imp, 2005-03-29.
Apply Lynn Quam's proposed enhancements to fd-streams allowing input streams opened with element-type (unsigned-byte 8) to be also opened for character input. This gives simple-streams semantics to fd-streams. * code/fd-stream.lisp o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct type of input. o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary and character input. Currently defaults to NIL, but will change to T. * code/stream.lisp o New READ-INTO-SIMPLE-STRING to allow stream element-type of (unsigned-byte 8). o Support reading and writing simple arrays of single-float and double-float. o Strings can be written to streams of element-type '(unsigned-byte 8). * tools/worldcom.lisp o Compile stream-vector-io.lisp. * tools/worldload.lisp o Load stream-vector-io. * code/stream-vector-io.lisp o New file implementing READ-VECTOR and WRITE-VECTOR.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|