Commit graph

2383 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
1bf50bed96 Added support for more complex character encodings (ISO-2022-JP) 2009-01-08 19:52:01 +01:00
Juan Jose Garcia Ripoll
9fbd0a0e93 Avoid calling stream_dispatch_table too often. 2009-01-05 20:00:39 +01:00
Juan Jose Garcia Ripoll
ac54475fb6 Character mappings are now in binary form and include support for East Asian codepages. 2009-01-05 16:24:10 +01:00
Juan Jose Garcia Ripoll
6f2ba63706 Optimized implementations of read/write-byte. 2009-01-05 16:02:37 +01:00
Juan Jose Garcia Ripoll
77e560d630 FILE-STRING-LENGTH did not work with broadcast streams. Fixed READ-BYTE for echo streams. Fixed implementation of READ-BYTE for big endian encodings. 2009-01-05 10:46:29 +01:00
Juan Jose Garcia Ripoll
5b79b2c916 Allow :CR and :LF to override each other. 2009-01-05 00:25:30 +01:00
Juan Jose Garcia Ripoll
55045e8336 In Windows, line endings defaults to CR+LF. 2009-01-05 00:24:41 +01:00
Juan Jose Garcia Ripoll
f9a66ddfc6 Implemented endianness in byte I/O operations 2009-01-05 00:22:30 +01:00
Juan Jose Garcia Ripoll
3f4f7b08ff READ/WRITE-BYTE cannot be implemented in terms of ecl_read_byte8, because there are streams that do not have information about the underlying byte size. Added flags for big/little endian. 2009-01-04 23:49:26 +01:00
Juan Jose Garcia Ripoll
167a62765b Missing the installation part in the previous commit. 2009-01-04 19:54:06 +01:00
Juan Jose Garcia Ripoll
7aa9b4ce41 UCS-2 encoding now contemplates surrogate characters. 2009-01-04 17:50:43 +01:00
Juan Jose Garcia Ripoll
7fcaee964f Aliases are automatically generated and installed. 2009-01-04 17:49:57 +01:00
Juan Jose Garcia Ripoll
5c461c58f2 Encoded some properties of Unicode codepoints. 2009-01-04 14:08:37 +01:00
Juan Jose Garcia Ripoll
87e95b9909 FILE-STRING-LENGTH only works with file streams. The code compiles again with --disable-unicode. 2009-01-04 13:57:50 +01:00
Juan Jose Garcia Ripoll
6992814a04 Fixed several typos in the UCS, UTF and user defined encodings. 2009-01-03 23:47:56 +01:00
Juan Jose Garcia Ripoll
d26b1e75c8 Fixed some bugs in UTF-8 encoding. Added functions for signalling errors in encoding/decoding. Added in core support for US-ASCII encoding. 2009-01-03 16:39:39 +01:00
Juan Jose Garcia Ripoll
c20ac3a7a0 Implemented user defined encodings. Added files for most useful encodings. 2009-01-02 20:03:45 +01:00
Juan Jose Garcia Ripoll
944ffddb2e Implemented custom encodings via invertible mappings. 2009-01-02 19:40:53 +01:00
Juan Jose Garcia Ripoll
6e5902bd08 Implemented the BOM, BE and LE versions of UCS-2 and UCS-4 2009-01-02 17:43:56 +01:00
Juan Jose Garcia Ripoll
9cdbb57dbc Better support for external formats, including the :CR, :LF and :CRLF options. 2009-01-02 16:49:01 +01:00
Juan Jose Garcia Ripoll
7d60ada4af ENSURE-DIRECTORIES-EXIST must output the given pathname, not the truename 2009-01-02 16:48:34 +01:00
Juan Jose Garcia Ripoll
786affb7c5 ECL now follows the AMOP in the uses of SLOT-DEFINITION-INITFORM and SLOT-DEFINITION-INITFUNCTION. 2008-12-29 11:33:28 +01:00
Juan Jose Garcia Ripoll
c22c15726a Do not ignore the :type option in slot definitions. When canonicalizing slots, only output options that were supplied. 2008-12-28 11:54:43 +01:00
Juan Jose Garcia Ripoll
e6b3b6d944 (SXHASH -0.0) != (SXHASH 0.0) 2008-12-23 12:43:01 +01:00
Juan Jose Garcia Ripoll
020af55b65 FLOOR, CEILING, etc, return a second value that is a signed zero, as in (FLOOR -1.0 -1.0). 2008-12-23 12:19:25 +01:00
Juan Jose Garcia Ripoll
c9b36e4005 Merged the new_signals branch. 2008-12-23 12:08:29 +01:00
Juan Jose Garcia Ripoll
00f48c4b83 Foreign memory which has been allocated should be uncollectable. 2008-12-17 16:39:40 +01:00
Juan Jose Garcia Ripoll
6128b5f0ca Reroute MSVC import libraries for object files so that they do not
collide with the libraries generated by asdf:make-build. (S. Gromoff)
2008-12-17 16:33:57 +01:00
Juan Jose Garcia Ripoll
aeeea525ca == is not a portable shell operator 2008-12-17 15:18:09 +01:00
Juan Jose Garcia Ripoll
4663183075 The value of *READ-SUPPRESS* is reset to NIL before reading any form at the toplevel. 2008-12-17 15:15:48 +01:00
Juan Jose Garcia Ripoll
53864b189f READ-BYTE now works with STREAM-READ-BYTE also when the latter reaches an EOF 2008-12-15 16:50:58 +01:00
Juan Jose Garcia Ripoll
5a8e6ad8b6 lwsync is not available on all PowerPC cores 2008-12-15 10:15:29 +01:00
Juan Jose Garcia Ripoll
cd9ea1a177 The search for optimization qualities at the beginning of functions was broken. 2008-12-10 17:26:32 +01:00
Juan Jose Garcia Ripoll
f5cacd595c Optimized the function that computes the class precedence list. 2008-12-10 16:17:29 +01:00
Juan Jose Garcia Ripoll
80962ea9b4 Added a new method, STREAM-FILE-POSITION, for compatibility with SBCL's Gray streams 2008-12-10 16:16:46 +01:00
Juan Jose Garcia Ripoll
14d83543a9 T had a wrong class precedence list 2008-12-10 16:16:15 +01:00
Juan Jose Garcia Ripoll
a25d20a3cb READ-LINE did not support Gray streams 2008-12-10 12:13:29 +01:00
Juan Jose Garcia Ripoll
38ef5fad47 Fix the routine that computes the class precedence list. 2008-12-10 12:13:02 +01:00
Juan Jose Garcia Ripoll
a3fdf8f7da When working with Gray streams, READ-LINE did not handle the EOF properly. 2008-12-08 19:32:50 +01:00
Juan Jose Garcia Ripoll
2f4aa7aa96 The unsafe inline forms for CHAR/CHAR-SET do not handle Unicode strings properly. 2008-12-08 14:39:28 +01:00
Juan Jose Garcia Ripoll
6aa5c0572d Fixed several typos in the inline forms for OUTPUT-STREAM-P 2008-12-07 21:47:09 +01:00
Juan Jose Garcia Ripoll
21cd803aef SHRINK-VECTOR is not in the Gray package 2008-12-07 13:58:05 +01:00
Juan Jose Garcia Ripoll
e57c1ac85a WRITE-LINE did not work with Gray streams. 2008-12-07 13:54:17 +01:00
Juan Jose Garcia Ripoll
44a1cff9b5 Added missing files from CLX 2008-12-06 17:39:44 +01:00
Juan Jose Garcia Ripoll
47cff9f6ff Special variable declarations are no longer ignored in neither LABELS nor FLET forms. Only affected the interpreter. 2008-12-06 13:04:27 +01:00
Juan Jose Garcia Ripoll
4ddb8b02f1 Signal an error if the argument to SET-MACRO-CHARACTER is not a function designator 2008-12-06 11:01:02 +01:00
Juan Jose Garcia Ripoll
cd24fc30d5 Hash tables were not properly serialized. 2008-12-06 10:49:08 +01:00
Juan Jose Garcia Ripoll
8143e42705 Tag next release 2008-12-06 10:36:34 +01:00
Juan Jose Garcia Ripoll
bbdc6da0e3 Note the version of the CLX library. 2008-12-05 15:54:28 +01:00
Juan Jose Garcia Ripoll
d1012b12f3 When building CLX with ecl_min we cannot load the sockets library. 2008-12-05 15:40:30 +01:00