Daniel Kochmański
915b40ce03
cleanup: move C/CXX part of CLOS to src/c/clos/ directory
...
instance.d and gfun.d were in the top C source directory.
2017-05-06 18:27:34 +02:00
Kris Katterjohn
892a3e92f3
Remove some unused variables
2017-03-14 15:51:13 -05:00
Daniel Kochmański
c80b7762d6
buildsystem: fix sse build
2016-12-19 12:31:51 +01:00
Daniel Kochmański
c1067620a7
Improve rwlock built-in class recognition
...
Fixes #303 .
2016-11-10 19:42:52 +01:00
Daniel Kochmański
5e8ec11bdd
cosmetic: fix indent (rest of C)
2016-05-06 08:41:52 +02:00
Fabrizio Fabbri
52de2ceea6
Fix compilation for AIX and xlc compiler.
2016-03-02 12:08:48 -05:00
Daniel Kochmański
c80e3cad11
Merge branch 'style' into 'develop'
...
"style" temporary branch
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.
See merge request !8
2015-09-03 18:07:04 +00: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
527be2a017
printer: coerce float infinity more roboustly
...
Basically use C function instead of a generic Lisp one.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-03 08:47:00 +02:00
Daniel Kochmański
de22539146
cosmetic: short-float: fix inconsistencies with short-float
...
Altough short-float is now implemented as single-float, there are
clear signs that there were attempts / was separate implementation of
that type with partly-abandoned efforts. This patch shapes a bit code
in predlib.lsp and adds comments in appropriate places, that this
files needs to be modified, if such separate implementation occurs.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-07-26 12:54:10 +02:00
Daniel Kochmański
7a29be4337
CLOS: remove dead code and conditionals for non-clos builds
...
Builds without CLOS weren't possible for long time, yet a lot of dead
code for non-clos builds was spread across sources. This commit
removes all ifdefs and dead blocks from codebase.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-07-01 16:56:17 +02: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
Philipp Marek
2929636a14
#276 [PATCH]: printing hashtables readably is broken
...
https://sourceforge.net/p/ecls/bugs/276/
Thanks, Stas.
2014-02-22 12:27:26 +01:00
Juan Jose Garcia Ripoll
f7afeb4c34
Print integers using upcase letters for radix > 10 (P. Salvi)
2013-01-12 09:37:54 +01:00
Juan Jose Garcia Ripoll
04bcc1414d
potential_number_p() did not use the fact that potential numbers must contain one digit
2012-11-27 22:03:47 +01: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
738d844fc0
Prefix the smm_ enumeration values
2012-06-30 22:11:48 +02:00
Juan Jose Garcia Ripoll
288d5e8ce6
Force LISTP,CONSP,ATOM and SYMBOLP into legacy.h
2012-06-30 21:59:10 +02:00
Juan Jose Garcia Ripoll
dac086195d
Renamed the array limit constants: ADIMLIM, ATOTLIM, ARANKLIM, to ECL_ARRAY_{DIMENSION,TOTAL,RANK}_LIMIT
2012-06-12 21:43:32 +02:00
Juan Jose Garcia Ripoll
d9ed24c440
Change ecl_make_(single|double|long)float to ecl_make_*_flat, splitting the name for consistency
2012-06-10 00:09:41 +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
cb1cf92713
Rename ecl_fix() to ecl_fixnum(), just like ecl_long_float() or ecl_double_float()
2012-06-07 23:55:43 +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
b3e6bf772a
New console streams for Windows.
2012-05-19 09:34:35 +02:00
Juan Jose Garcia Ripoll
dbd51915dc
Remove further uses of cl_funcall in the C core
2012-05-05 10:40:14 +02:00
Juan Jose Garcia Ripoll
fbd3587b1a
Removed further warnings about uninitialized or unused variables and functions
2012-04-11 23:04:27 +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
ad49125681
Implemented a first prototype of mailbox
2012-04-07 00:55:14 +02:00
Juan Jose Garcia Ripoll
991bc3ab78
Changed reader/writer syntax for bytecodes so that shared constants remain shared.
2012-02-09 23:02:29 +01:00
Juanjo Garcia-Ripoll
a3726a2ecc
Changed the bytecodes compiler so that constants are stored in a vector and are shared by the main form and all its children (functions)
2012-02-06 17:06:14 +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
05a46aca0b
Print readably hash tables using the EXT:HASH-TABLE-FILL
2011-12-10 19:00:09 +01:00
Juan Jose Garcia Ripoll
7e1d1e5767
Slight reorganization of _ecl_write_symbol.
2011-12-10 00:14:53 +01:00
Juan Jose Garcia Ripoll
dd05b04372
Implemented SEQUENCE-STREAMs
2011-08-27 17:33:12 +02:00
Juan Jose Garcia Ripoll
cb6fc56fc4
Remove the 'thread-safe' argument from remaining calls to cl__make_hash_table
2011-07-31 16:45:34 +02:00
Juan Jose Garcia Ripoll
d08fd4f44e
File streams are printed different from ANSI C streams
2011-06-19 17:08:33 +02:00
Juan Jose Garcia Ripoll
6b00c54dd3
Save locations also in bytecompiled code
2011-06-05 15:20:55 +02:00
Juan Jose Garcia Ripoll
73cda82adb
In src/c/printer/write_symbol.d, potential_number_p() did not work with Unicode strings.
2011-04-03 21:12:31 +02:00
Juan Jose Garcia Ripoll
412bfc1f4f
potential_number_p() did not recognize numbers with +-/^. inside.
2011-01-24 22:20:03 +01:00
Juan Jose Garcia Ripoll
a86bbd3605
Fixed various warnings to allow compiling ECL with CLang
2011-01-23 16:06:47 +01:00
Juan Jose Garcia Ripoll
83bdf8b1fb
Fixed some typos related to SSE printing
2010-12-23 13:03:24 +01:00
Juan Jose Garcia Ripoll
47299166f6
ECL removed the sign when printing -0.0d0
2010-12-19 20:06:34 +01:00
Juan Jose Garcia Ripoll
fab0592bc3
Buffer overrun in bignum_to_string with negative numbers.
2010-12-17 23:54:55 +01:00
Juan Jose Garcia Ripoll
8399cc8d21
Buffer overrun problem in bignum_to_string() (integer_to_string.d)
2010-12-17 15:20:06 +01:00
Juan Jose Garcia Ripoll
ac796033eb
A file in src/c/printer/ still used the old macro name CMU_FORMAT instead of ECL_CMU_FORMAT
2010-12-08 23:22:27 +01:00
Juan Jose Garcia Ripoll
f1b60b9de9
Update ECL's old implementation of FORMAT to make it work (J. Jaakkola)
2010-11-21 21:54:10 +01:00
Juan Jose Garcia Ripoll
b2a8389730
Avoid using snprintf
2010-11-06 00:50:58 +01:00
Juan Jose Garcia Ripoll
edb7e7de44
FLOAT-TO-STRING used unitialized variables
2010-11-01 23:41:15 +01:00
Juan Jose Garcia Ripoll
9ed3341c25
SI:WRITE-OBJECT might not return the right values
2010-10-29 22:29:37 +02:00