Commit graph

151 commits

Author SHA1 Message Date
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
Juan Jose Garcia Ripoll
b2457f3806 Merged in latest fixes from master 2008-11-09 20:08:34 +01:00
Juan Jose Garcia Ripoll
454d89d8d9 MAKE-STRING-OUTPUT-STREAM must be able to create both base and extended strings 2008-10-26 19:45:35 +01:00
Juan Jose Garcia Ripoll
d916ff8349 Replaced EXT:SET-STACK-SIZE with the pair EXT:SET/GET-LIMIT which also allows to adjust the heap size. 2008-10-25 20:49:00 +02:00
Juan Jose Garcia Ripoll
d2a8385f7d Basic support for multibyte external formats 2008-10-23 23:17:35 +02:00
Juan Jose Garcia Ripoll
b731eea3c0 Avoid a full garbage collection on every LOAD. 2008-10-21 23:35:33 +02:00
Juan Jose Garcia Ripoll
e5c608b379 Implement streams based on POSIX file descriptors. 2008-10-20 00:27:21 +02:00
Juan Jose Garcia Ripoll
c27fddb329 Binary streams now can only read or write bytes whose size is a multiple of 8. 2008-10-14 00:07:23 +02:00
Juan Jose Garcia Ripoll
46aa17b1d9 frs_push, frs_pop and ecl_unwind tak an environment as arg 2008-10-13 22:34:18 +02:00
Juan Jose Garcia Ripoll
70c64f9652 The macros/functions for accessing and changing symbol values require an environment value. 2008-10-12 16:44:29 +02:00
Juan Jose Garcia Ripoll
5cfb4c0919 Use of lists to keep the list of libraries is safe against threads and signal race conditions. 2008-10-12 00:26:05 +02:00