Commit graph

8959 commits

Author SHA1 Message Date
jgarcia
e3b4c251d5 It is now allowed to use extended strings in pathnames and namestrings. Occurrence of extended chars in filenames produces an error. 2006-11-12 15:47:41 +00:00
jgarcia
5393f572f2 Missing break caused MAKE-SYMBOL to abort when input a string with extended chars. 2006-11-12 13:26:48 +00:00
jgarcia
d60a7f33a5 Fixed a couple of typos in character predicates 2006-11-12 13:19:59 +00:00
jgarcia
a8278e00d8 #\Rubout is not a standard-char 2006-11-12 13:11:56 +00:00
jgarcia
bdcbb2a19f Type BASE-STRING and STRING were defined as equivalent even with Unicode. 2006-11-12 12:58:47 +00:00
jgarcia
fe77606f7c Removed spurious statement left from cut & paste. 2006-11-12 12:58:32 +00:00
jgarcia
5e2204136e EXT:BASE-STRING-P and EXT:BASE-CHARACTER-P are now compiled even without Unicode, to make code more uniform. 2006-11-12 10:09:46 +00:00
jgarcia
d5e5650254 TYPE-OF did not recognize extended characters 2006-11-12 09:46:46 +00:00
jgarcia
e7a9885a4a The output of si_base_string_p was not a lisp object. 2006-11-12 09:22:14 +00:00
jgarcia
ac93eb388f si:base-string-p only defined with Unicode 2006-11-11 19:43:40 +00:00
jgarcia
0e18c3237b Unless specified, sequence functions must output a string of the same type as the input 2006-11-11 19:28:21 +00:00
jgarcia
4d6c3b1d64 RANDOM must rejects limit = 0 2006-11-11 19:11:21 +00:00
jgarcia
28a638305c RANDOM overflowed when limit was a bignum too large to fit in a double float 2006-11-11 19:11:13 +00:00
jgarcia
14fc59dec5 PARSE-INTEGER works with Unicode strings. For that, changed the signature of parse_number/integer, which now operate on strings. 2006-11-11 17:35:57 +00:00
jgarcia
34f8e69dc8 frexpf() takes a _float_ as input. When passed a double it can lead to FPE. 2006-11-11 13:44:21 +00:00
jgarcia
644193ed56 Unicode support via wctype.h for most character handling functions. 2006-11-10 21:01:48 +00:00
jgarcia
17a2dd29f4 Identify FORMAT as broken under unicode 2006-11-10 21:01:32 +00:00
jgarcia
6708d5e5ff Unicode character names can only be base strings -- notice this bug. 2006-11-10 21:01:19 +00:00
jgarcia
38cb221455 Extended strings were not properly hashed. 2006-11-10 21:01:09 +00:00
jgarcia
340de87eae EQUALP should not be influenced by the character type of the string 2006-11-10 18:43:26 +00:00
jgarcia
6fd5899a64 MAKE-STRING always produced a BASE-STRING 2006-11-10 18:42:35 +00:00
jgarcia
d715216ac2 SXHASH does not produce the same key for two strings which only differ on the character type 2006-11-10 18:41:47 +00:00
jgarcia
788d6bb11a *OPTIMIZE-SLOT-ACCESS* was defined in the CL package instead of in CLOS 2006-11-10 16:09:17 +00:00
jgarcia
42d7e63b23 Allow creating symbols with extended characters in the name, and teach EQUAL how to compare strings with different character types. 2006-11-10 15:36:18 +00:00
jgarcia
da5c0d6e17 Remove illegal prefix keys from emacs configuration file 2006-11-10 13:07:46 +00:00
jgarcia
57e6cbe321 Fixed two typos in string.d. Introduced new predicate ecl_stringp() 2006-11-10 13:04:19 +00:00
jgarcia
73945ba049 Simulate va_copy() in MSVC. Header lwp.h required by the windows port is no longer used. 2006-11-06 20:51:01 +00:00
jgarcia
078bd05352 The slot accessors for structures with type VECTOR or LIST now rely on the standard function ELT, instead of si:list-nth and si:rplaca-nthcdr. 2006-11-06 20:43:53 +00:00
jgarcia
b46c6fe4b1 Reorganized checking of arguments in #* reader. MKDIR only allows mode up to 0777. 2006-11-02 12:41:56 +00:00
jgarcia
bcfd379bad Reader for #( now reads until the last parenthesis, even if lenght is supplied. 2006-11-01 17:46:57 +00:00
jgarcia
d2d0dd1093 No need for using fixnnint() when we now the argument is a fixnum. 2006-11-01 17:46:44 +00:00
jgarcia
17ecba77ed Reorganized argument checks for READ-SEQUENCE and WRITE-SEQUENCE. 2006-11-01 17:46:33 +00:00
jgarcia
899e7ba66b Restrict further the port range (as specified by open standards) 2006-11-01 17:46:19 +00:00
jgarcia
ce3489a846 Strict bounds checking with error recovery for most routines in array.d 2006-11-01 17:45:34 +00:00
jgarcia
6bdf79f448 MAKE-HASH-TABLE uses now correctable errors. 2006-11-01 17:45:21 +00:00
jgarcia
1277df09fd DIGIT-CHAR complains when passed an invalid radix. 2006-11-01 17:45:08 +00:00
jgarcia
6c64794b43 DIGIT-CHAR-P complains when passed an invalid radix. 2006-11-01 17:44:56 +00:00
jgarcia
29f9b6c04d New function for range checking of integers. 2006-11-01 17:44:14 +00:00
jgarcia
0ff208f28e ecl_checl_cl_type and ecl_check_type string are new functions, assert_type_{char,symbol,string} disappear 2006-10-30 10:52:17 +00:00
jgarcia
6b5f1fd969 Implemented generic type checker based on ecl type tags and used it to replace multiple assertions. 2006-10-30 10:50:58 +00:00
jgarcia
1c2466c722 Added some restarts to the array errors. 2006-10-29 12:46:31 +00:00
jgarcia
5ecf2e8348 Added new functions to DLL definition files. 2006-10-29 10:41:51 +00:00
jgarcia
ffa984809d New functions for type errors with error recovery (ecl_type_error, si:wrong-type-argument). Incorporated this facility to all functions in num_sfun.d and num_co.d, as well as to make_complex() 2006-10-29 10:34:32 +00:00
jgarcia
d42cc3de90 Debugger lists available restarts. New lisp & C functions for correctable type errors with useful restarts. 2006-10-29 07:41:20 +00:00
jgarcia
71a2f6d882 Unicode strings cannot appear in string-input-streams -- signal an error. 2006-10-27 22:47:16 +00:00
jgarcia
363d11b287 ecl_output_stream_p now works with smm_probe 2006-10-27 22:31:04 +00:00
jgarcia
8724c18d3c Function cl_va_end() is now a macro. 2006-10-27 22:20:32 +00:00
jgarcia
aee133c4b5 Remove ad-hoc limit in the number of strings SI:BASE-STRING-CONCATENATE can handle. New macros for copying and finishing arguments lists. 2006-10-27 22:16:45 +00:00
jgarcia
8958390eae MAKE-STRING with Unicode accepts arbitrary type specifiers. New function ecl_base_char_code() used to coerce objects to char and unsigned 2006-10-27 21:40:34 +00:00
jgarcia
962eb7ff4d Small fix regarding the references to undefined packages in compiled code: it is allow to reference the package by a nickname if it is to be created with that nickname later on. 2006-10-27 20:27:41 +00:00