Daniel Kochmański
fbb75a0fc5
bytecmp: load correctly cancatanated fasc files
...
The manual claims that fasc files may be concatanated and the result will be
loadable. Fixes #649 .
2021-08-13 09:48:27 +02:00
Marius Gerbershagen
36a9c95c80
tree-wide: use new dpp @"" specifier for constant base strings where appropriate
2021-03-12 19:53:33 +01:00
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
57f6637902
threading: introduce thread safe ECL_UNWIND_PROTECT macro and use where needed
...
Disabling interrupts during execution of cleanup forms of
unwind-protect caused problems in some cases. Hence only do this
where needed, i.e. for freeing resources (such as locks or files)
shared between multiple threads or processes.
2018-09-09 17:00:38 +02:00
Kris Katterjohn
892a3e92f3
Remove some unused variables
2017-03-14 15:51:13 -05:00
Daniel Kochmański
794abd1ff6
c-indent: g-n
2016-05-05 16:28:32 +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
b47b1869c6
New way of creating lisp data, using an array of string streams
2013-04-07 13:50:07 +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
738d844fc0
Prefix the smm_ enumeration values
2012-06-30 22:11:48 +02:00
Juan Jose Garcia-Ripoll
efadef99dc
Prefix the block creation macros, ECL_BLOCK_*, etc
2012-06-30 12:01:44 +02:00
Juan Jose Garcia-Ripoll
8441a08c97
VALUES() is now part of legacy.h
2012-06-30 11:48:01 +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
e950fc51bb
Detect the codepage in Windows.
2012-05-19 10:07:48 +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
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
Juan Jose Garcia Ripoll
704964093f
If a file does not use MMAPed data, allow it.
2011-11-14 23:35:45 +01:00
Juan Jose Garcia Ripoll
aae43ecce3
*load-hooks* and *module-provider-hooks* moved to package EXT
2011-08-01 22:04:33 +02:00
Juan Jose Garcia Ripoll
599f8017e1
Function read_VV is renamed to ecl_init_module()
2011-08-01 15:39:46 +02:00
Juan Jose Garcia Ripoll
111bf7e942
Remove debug statement.
2011-06-24 23:36:35 +02:00
Juan Jose Garcia Ripoll
e0d89daf02
Added the possibility of linking ECL's compiled data as binary data at the end of the compiled files, instead of C constants.
2011-06-23 21:28:58 +02:00
Juan Jose Garcia Ripoll
1801c64bff
Dedicated function for loaded bytecompiled files
2011-06-05 12:35:35 +02: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
1b8c9534be
Split out the library loading functions into a separate C file.
2010-10-30 11:35:22 +02:00
Juan Jose Garcia Ripoll
1f10848129
SI::LOAD-BINARY no longer needs a global lock
2010-10-24 00:04:37 +02:00
Juan Jose Garcia Ripoll
e8275b64dc
Loading of libraries is now thread safe independently of the load-compile lock
2010-10-23 00:47:42 +02:00
Juan Jose Garcia Ripoll
4f23ce577c
Ported SBCL's FLONUM-TO-STRING to ECL's core (in C).
...
New function INTEGER-TO-STRING added to ECL's core.
Both FLOAT-TO-STRING and INTEGER-TO-STRING are used in ECL's printer.
FORMAT uses ECL's new FLOAT-TO-STRING.
2010-10-17 14:38:47 +02:00
Juan Jose Garcia Ripoll
c96650531c
When dlopen and friends fail, the cblock got inserted in the library list (A Gavrilov)
2010-10-03 23:22:31 +02:00
Juan Jose Garcia Ripoll
5c63cd8345
When compiling for the Windows API, define ECL_MS_WINDOWS_HOST instead of checking for mingw or _MSC_VER separately (Gabriel Dos Reis)
2010-08-22 22:29:21 +02:00
Trail@.(none)
973090bc55
Use __MINGW32__ instead of mingw32 as preprocessor criterion of MinGW-ness.
2010-04-05 22:31:53 +02:00
Juan Jose Garcia Ripoll
36e0122ae9
Add a keyword argument, :external-format, to LOAD
2010-03-28 22:24:33 +02:00
Juan Jose Garcia Ripoll
9e8d89f55b
*SOURCE-LOCATION* is set to *LOAD-PATHNAME* not to *LOAD-TRUENAME*
2010-03-11 00:01:57 +01:00
Juan Jose Garcia Ripoll
9a76ab3da3
SI:LOAD-SOURCE opens files in buffered mode (ANSI C streams), to solve a performance problem in some NFS systems.
2009-12-13 11:01:51 +01:00
Juan Jose Garcia Ripoll
6a94780559
LOAD works on special files (/dev/null and the like).
2009-11-09 19:25:01 +01:00
Juan Jose Garcia Ripoll
5b9d7c562b
src/c/load.d:
...
* In cygwin, FASL files can not lack a file extension, because dlopen()
then looks for a file ending in .dll and fails.
* In cygwin, files that are dlopen'ed must have executable permissions.
2009-11-01 20:28:04 +01:00
Juanjo
e39a9044ec
src/c/load.d: windows fasls were not marked as self-destructing.
2009-10-05 11:00:22 +02:00
Juan Jose Garcia Ripoll
81d5550d9b
In ecl_library_open(), avoid merging the pathname with *default-pathname-defaults*
2009-08-04 11:59:52 +02:00
Juan Jose Garcia Ripoll
bff3f5ee3b
Only include unistd.h in non-Windows ports.
2009-06-15 00:41:29 +02:00
Juan Jose Garcia Ripoll
20b7bc1f53
Copy files that are loaded again, for the dynamic linker refuses to do it even with symlinks.
2009-06-12 11:01:26 +02:00
Juan Jose Garcia Ripoll
d35eb63139
Let ECL record source file positions instead of form numbers.
2009-06-10 11:52:42 +02:00
Juan Jose Garcia Ripoll
747652ed34
Compiled functions now carry information about their source file (based on code by JC Beaudoin)
2009-06-07 14:24:49 +02:00
Juan Jose Garcia Ripoll
77cde5c2f8
Several fixes for various compiler warnings.
2009-06-07 00:02:49 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a
Fixes for the Windows port, including a flag to make ANSI C streams the default file type.
2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
9f42309fbd
Finished the new dispatch code.
2009-02-14 00:01:57 +01:00
Juan Jose Garcia Ripoll
631a2663a7
A bug in the binary file loaded prevented loading a recompiled file.
2009-01-11 10:54:36 +01:00
Juan Jose Garcia Ripoll
9cdbb57dbc
Better support for external formats, including the :CR, :LF and :CRLF options.
2009-01-02 16:49:01 +01:00
Juan Jose Garcia Ripoll
c9b36e4005
Merged the new_signals branch.
2008-12-23 12:08:29 +01:00