Commit graph

2741 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
bd7da68ebf Using fwrite() to write a string, we miss the right character count 2009-02-09 21:27:19 +01:00
Juan Jose Garcia Ripoll
acfb2b748f Include stdio.h for the FILE type and use it in the definition of streams. Solves problems with void * type casts in BSD systems. 2009-02-08 17:47:33 +01:00
Juan Jose Garcia Ripoll
b788fe6360 In case of failure, mmap() returns MAP_FAILED, not MAP_FAIL (got it wrong from a webpage). 2009-02-08 17:31:10 +01:00
Juan Jose Garcia Ripoll
150398b8b1 Extended strings are now arrays of 32-bit integers. 2009-02-07 19:54:34 +01:00
Juan Jose Garcia Ripoll
1dc66edf3d Use a union type for storing the ANSI C stream handle and the POSIX file descriptor 2009-02-07 18:07:19 +01:00
Juan Jose Garcia Ripoll
7308dc932d SETF for structures that are specialized vectors 2009-02-07 16:44:51 +01:00
Juan Jose Garcia Ripoll
b9436ff2f2 Strings do not have a elttype field. 2009-02-01 19:09:15 +01:00
Juan Jose Garcia Ripoll
b334585e3b Fixed typo in the definition of invalid_codepoint() 2009-01-30 09:41:23 +01:00
Juan Jose Garcia Ripoll
60af256996 The previous fix did not include all possible values of structure-type. 2009-01-29 10:49:29 +01:00
Juan Jose Garcia Ripoll
15559cb364 If the structure has a specialized vector type, use AREF instead of SVREF. 2009-01-27 23:03:17 +01:00
Juan Jose Garcia Ripoll
72a0809f6a Save the full information on the structure :type option 2009-01-27 23:02:46 +01:00
Juan Jose Garcia Ripoll
40e37e8ccc LOG does not overflow on bignums 2009-01-27 22:40:43 +01:00
Juan Jose Garcia Ripoll
dac81c0ba9 READ-DELIMITED-LIST interpreted the value of :RECURSIVEP the wrong way. 2009-01-27 22:20:40 +01:00
Juan Jose Garcia Ripoll
a40ed5054c Failure of mmap() is signaled by MAP_FAIL (Posix), but in some platforms it is not defined and specified as -1 2009-01-27 21:55:15 +01:00
Juan Jose Garcia Ripoll
92c4454ece Include sys/stat.h always: it is not included by various BSD variants. 2009-01-27 21:51:15 +01:00
Juan Jose Garcia Ripoll
061b9d0e78 New function, EXT:HEAP-SIZE to change the memory limits 2009-01-27 21:49:52 +01:00
Juan Jose Garcia Ripoll
4ef223694e Print the value of errno when an internal error happened (J.Elsasser). 2009-01-27 21:48:35 +01:00
Juan Jose Garcia Ripoll
fb8eb86e72 Accept :UNSPECIFIC as pathname type component. 2009-01-16 19:37:28 +01:00
Juan Jose Garcia Ripoll
c89b7352f8 Force to lookup the name of #\Space in the hash table 2009-01-16 19:37:09 +01:00
Juan Jose Garcia Ripoll
e1b4b6748c Export the Unicode database in a constant. 2009-01-16 18:49:18 +01:00
Juan Jose Garcia Ripoll
c78f7c9aff Cast pointer to the right size. 2009-01-16 10:05:58 +01:00
Juan Jose Garcia Ripoll
02a44ebdcd The Unicode database is shipped in DOS CR+LF format 2009-01-11 20:11:50 +01:00
Juan Jose Garcia Ripoll
ba16e548a3 Installed version 5.0.0 of the Unicode database 2009-01-11 20:11:22 +01:00
Juan Jose Garcia Ripoll
631a2663a7 A bug in the binary file loaded prevented loading a recompiled file. 2009-01-11 10:54:36 +01:00
Juan Jose Garcia Ripoll
0293501b95 Graphic characters are their own names. 2009-01-11 00:49:46 +01:00
Juan Jose Garcia Ripoll
63f1b0313e Cannot assign to symbol *unicode-database* until it has been interned. 2009-01-11 00:42:49 +01:00
Juan Jose Garcia Ripoll
bdf3191253 Give SBCL credit for the Unicode database 2009-01-11 00:42:27 +01:00
Juan Jose Garcia Ripoll
3c3dafa315 When ECL is built with --enable-unicode, it uses its own database for Unicode properties instead of tolower, toupper, etc. 2009-01-10 22:45:38 +01:00
Juan Jose Garcia Ripoll
f8478fb5e9 Missing 'make directory' for the generated files 2009-01-09 15:11:24 +01:00
Juan Jose Garcia Ripoll
f4eb4dc68c Adapt the tools files for being used by the test suite 2009-01-09 11:11:44 +01:00
Juan Jose Garcia Ripoll
392cb901f6 Added more aliases which are compatible with iconv's 2009-01-09 11:10:43 +01:00
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
537cf31bfd Added some more references to the character database 2009-01-05 17:34:37 +01:00
Juan Jose Garcia Ripoll
aacec998f6 Added references to some Japanese encodings. 2009-01-05 16:56:58 +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
738bcba7f1 Redundant codepage WINDOWS-CP874 2009-01-04 14:22:33 +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