Marius Gerbershagen
24dcb778cf
clean up functions creating base strings from C strings
...
Make functions behave as documented, remove use of legacy names.
Fixes #462 .
2019-01-07 18:43:55 +01:00
Marius Gerbershagen
af2c152682
doc: improvements to standards section
...
Apply consistent formatting, fix all ANSI dictionary sections as
well as other errors and typos.
2018-12-31 16:22:44 +01:00
Fabrizio Fabbri
f0d09de88e
Fix #402 multiple-values are not returned (reverted)
...
Reintroduce fix for additional coverity warnings.
2017-09-19 00:16:06 -04:00
Daniel Kochmanski
5ef3d3d51d
Revert "Fix additional coverity warnings."
...
This reverts commit 06f5697074 .
2017-09-01 09:51:40 +02:00
Fabrizio Fabbri
06f5697074
Fix additional coverity warnings.
2017-06-06 23:43:02 +02:00
Kris Katterjohn
2c651a9ecd
Improve some error messages for functions of exactly one variable
...
This changes
"the value of the first argument"
to
"the value of the only argument"
in some type-error error messages for functions accepting exactly
one argument.
2017-02-07 16:19:17 -06:00
Daniel Kochmański
5e8ec11bdd
cosmetic: fix indent (rest of C)
2016-05-06 08:41:52 +02:00
Matthew Mondor
8f07cd58d8
The ECL code no longer uses tabulator characters, they were replaced
...
by spaces.
A custom script was used to insert/replace Emacs and ViM per-file editor
settings according to their type and the new ECL coding style.
2015-09-03 07:35:47 -04:00
Daniel Kochmański
4d19a27424
cosmetic: untabify
...
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-06-21 14:38:20 +02:00
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