Commit graph

80 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
e54d9a6173 Rename type_of -> ecl_t_of 2012-07-05 23:07:34 +02:00
Juan Jose Garcia Ripoll
825fc8cbd3 Cnil and Ct are now part of legacy 2012-06-30 23:01:40 +02:00
Juan Jose Garcia-Ripoll
05a16801ca Rename cl_va_* macros to ecl_va_* 2012-06-24 20:46:55 +02:00
Juan Jose Garcia Ripoll
52512c15a4 Rename the stp_* and aet_* enumeration names with the ecl_ prefix 2012-06-08 00:12:48 +02:00
Juan Jose Garcia Ripoll
64a9168434 CHARACTERP, BASE_CHAR_P, BASE_CHAR_CODE_P, CODE_CHAR, CHAR_CODE, REAL_TYPE, IMMEDIATE, IMMEDIATE_TAG, FIXNUM_TAG, FIXNUM_MINUSP, FIXNUM_PLUSP, FIXNUMP and fix get the ecl_ prefix 2012-06-06 11:19:55 +02:00
Juan Jose Garcia Ripoll
036cb55928 Fixes to remove warnings about unused variables. Replaced some uses of @(return) with ecl_return*() 2012-04-10 23:20:40 +02:00
Juan Jose Garcia Ripoll
4c4b58c5cf Fixed various type warnings issued by Clang 2012-04-09 22:31:09 +02:00
Juanjo Garcia-Ripoll
d24682b9fe Moved VECTOR-PUSH-EXTENT into the core because it is needed early in the bytecodes compiler 2012-02-06 17:06:04 +01:00
Juan Jose Garcia Ripoll
ee13dcd388 Introduce _ecl_funcall[0-5] to move the core from using cl_funcall to ecl_function_dispatch. 2011-12-18 00:26:53 +01:00
Juan Jose Garcia Ripoll
853ec3ebc5 Errors in array/sequence indexes are now a bit more uniform. Eliminated FEillegal_index. Changed prototype for FEtype_error_index. Fixed typo in FEwrong_index. 2011-04-03 10:03:50 +02:00
Juan Jose Garcia Ripoll
4a83432e01 ecl_make_simple_base_string() replaces make_simple_base_string() and allows fixing the length. 2011-01-13 23:28:44 +01:00
Juan Jose Garcia Ripoll
ec0ddc1174 New function SEQUENCE-START-END 2010-05-20 12:30:52 +02:00
Juan Jose Garcia Ripoll
566cd5137e Fixed typo in string.d 2010-03-01 11:25:37 +01:00
Juan Jose Garcia Ripoll
86fd17197c Function get_string_start_end() rewritten to provide more useful error messages 2010-02-28 12:00:53 +01:00
Juan Jose Garcia Ripoll
01e227c402 Replaced many uses of type_of() with specialized macros (ECL_BIT_VECTOR_P, ECL_BASE_STRING_P, etc) 2010-02-28 01:09:13 +01:00
Juan Jose Garcia Ripoll
86c211a6a1 Optimize ecl-inl.h for small cons and use of ecl_unlikely. New macros ECL_CONSP, ECL_LISTP, ECL_ATOM, ECL_SYMBOLP 2010-02-27 09:47:05 +01:00
Juan Jose Garcia Ripoll
6e4d572bfb Tag many error checks using ecl_unlikely 2010-02-26 10:43:37 +01:00
Juan Jose Garcia Ripoll
9da71f93a9 Replaced ecl_check_type_string with FEwrong_type_*_arg 2010-02-25 22:22:12 +01:00
Juan Jose Garcia Ripoll
29a988d222 Replaced many calls to ecl_type_error() with the more expressive but uncorrectable FEwrong_type_nth_arg() 2010-02-25 15:32:42 +01:00
Juan Jose Garcia Ripoll
e0a268376f Normalize names after @(defun tags so that the appear in the TAGS file. 2010-02-24 08:17:37 +01:00
Juan Jose Garcia Ripoll
4bcd908a0a The function ecl_alloc_simple_vector() is responsible now for allocation of simple strings and it uses ecl_alloc_compact_object(). 2009-08-29 18:53:28 +02:00
Juan Jose Garcia Ripoll
da641873e4 In structures ecl_{array,vector,base_string,string}, replaced the bitfields hasfillp and adjustable with a single integer holding all flags. This solves several problems with Microsoft C compiler. 2009-07-26 11:56:26 +02:00
Juan Jose Garcia Ripoll
866d8c8604 The array element type is stored in the arrays, vectors and strings, thus simplifying identification and code. Slight speedup in ecl_aref. 2009-07-02 23:48:20 +02:00
Juan Jose Garcia Ripoll
8fe85d2e7c Introduce ECL_STACK_INDEX macro 2009-02-25 19:11:28 +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
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
c9b36e4005 Merged the new_signals branch. 2008-12-23 12:08:29 +01:00
Juan Jose Garcia Ripoll
609e1b8396 Fix support for unicode characters in readtables 2008-10-24 23:10:49 +02:00
Juan Jose Garcia Ripoll
7c5ab4f1fb Some functions now take a cl_env_ptr argument, becoming better isolated. 2008-10-11 22:32:54 +02:00
Juan Jose Garcia Ripoll
5bda4b4f61 All allocation functions are now in the ECL library and they now have the ecl_* prefix. Old names are kept in macro form. 2008-10-10 22:36:15 +02:00
jgarcia
8800b254f5 Committed the changes to implement small conses 2008-04-30 14:24:20 +00:00
jgarcia
5ef5d32e74 Enforce indent and mode conditions on files 2008-01-26 10:30:41 +00:00
jgarcia
6e48d40f11 Include header for declaration of towupper (Ralph Campbell) 2007-12-30 19:09:35 +00:00
jgarcia
aa3dfe4058 Prefix most functions with 'ecl_' to avoid name collisions when embedding ECL in other libraries 2007-01-18 11:46:07 +00:00
jgarcia
e8f08ac8d4 Arrays can now be displaced to foreign data 2006-12-26 18:57:13 +00:00
jgarcia
0a478d6460 Updated functions to work with Unicode: STRING*TRIM, COPY-STRUCTURE, SHADOW 2006-11-12 17:12:22 +00:00
jgarcia
79ecafc64e String comparison routines failed when comparing strings with different character types. 2006-11-12 16:33:13 +00:00
jgarcia
fe77606f7c Removed spurious statement left from cut & paste. 2006-11-12 12:58:32 +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
644193ed56 Unicode support via wctype.h for most character handling functions. 2006-11-10 21:01:48 +00:00
jgarcia
6fd5899a64 MAKE-STRING always produced a BASE-STRING 2006-11-10 18:42:35 +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
57e6cbe321 Fixed two typos in string.d. Introduced new predicate ecl_stringp() 2006-11-10 13:04:19 +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
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
94e7c62cac Unified the code for string comparison functions. MAKE-SYMBOL now allows extended strings as far as they do not contain extended characters. Fixed typos in socket.lsp. Extended characters are printed with the same number of digits as in CHAR-NAME. 2006-05-29 08:51:37 +00:00
jgarcia
53dfd6fdb2 New function SI:COPY-TO-SIMPLE-BASE-STRING supersedes other redundant coercion functions. BASE_CHAR_P was wrong. Symbols can be made out of extended strings. 2006-05-29 08:51:33 +00:00
jgarcia
fa937337f8 Some lisp functions with non-standard names (base-char-p, base-string) are renamed and moved to the SYS package. socket.lsp fixed to understand base strings. limited support for arbitrary strings in string streams. 2006-05-29 08:51:28 +00:00
jgarcia
ff0be77070 Support for unicode strings as data structure (no clever handling of characters yet) contributed by Brian Spilsbury. 2006-05-29 08:51:21 +00:00