Commit graph

1700 commits

Author SHA1 Message Date
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
jgarcia
adc23a67c2 Clean up the code for hierarchical packages. 2006-10-27 20:08:13 +00:00
jgarcia
828b431e25 Removed unused function si_set_compiled_function_name() 2006-10-27 20:08:01 +00:00
jgarcia
baa9407388 Support for hierarchical package names 2006-10-26 16:39:14 +00:00
jgarcia
161e5a0fe8 Split system definition as separate file (needed by ASDF) and added an exit statement to the standalone program 2006-10-25 15:27:17 +00:00
jgarcia
3e31b7bbfb New example for using CFFI 2006-10-25 10:23:31 +00:00
jgarcia
21d0d6c4c0 profile.d is no longer part of the editable sources. 2006-10-25 10:21:19 +00:00
jgarcia
ffe789a498 Move load forms closer to the first reference to the externalizable object they build. 2006-10-24 22:06:47 +00:00
jgarcia
2b8e92658e File no longer used 2006-10-24 13:56:33 +00:00
jgarcia
877be121c1 limits.h needed for MAXPATHLEN 2006-10-24 12:54:18 +00:00