Commit graph

4618 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
bc4469906f Trap and use SIGCHLD to update the status of running processes 2011-02-27 16:57:46 +01:00
Juan Jose Garcia Ripoll
0e644e3340 Use dup2() instead of dup() when executing child processes (more portable, due to use of STD*_FILENO?) 2011-02-27 16:23:13 +01:00
Juan Jose Garcia Ripoll
4fd77c7963 Fixed disassembly of OP_CSET 2011-02-27 16:21:01 +01:00
Juan Jose Garcia Ripoll
bc31e21e68 ECL's bytecodes compiler now properly creates load forms for complex constants. 2011-02-27 15:31:04 +01:00
Juan Jose Garcia Ripoll
ad18f713c4 The bytecodes compiler may now compile constant values using make-load-forms 2011-02-27 10:58:09 +01:00
Juan Jose Garcia Ripoll
a573268a8c Linker flags for libffi did not work with preinstalled versions. 2011-02-27 10:56:37 +01:00
Juan Jose Garcia Ripoll
fe34270379 Remove the load-time constants from the array, as they are replaced later on any way. 2011-02-27 00:05:28 +01:00
Juan Jose Garcia Ripoll
0a7f39449a Added the possibility of compiling load-time forms in the interpreter, when :load-toplevel is active. 2011-02-26 23:56:57 +01:00
Juan Jose Garcia Ripoll
1de2a7a3b2 Imported libffi into the ECL source tree. 2011-02-26 22:11:39 +01:00
Juan Jose Garcia Ripoll
eeb09cf316 Refactor the code that checks and configures the Boehm-Weiser GC. 2011-02-26 22:09:58 +01:00
Juan Jose Garcia Ripoll
ad4b59a79f Refactor compile_form() into various subfunctions and split out c_quote() as special operator. 2011-02-24 14:08:55 +00:00
Juan Jose Garcia Ripoll
f732748a9d The definition of policy-debug-variable-bindings implied SAFETY 3 instead of DEBUG 3 2011-02-21 21:32:34 +00:00
Juan Jose Garcia Ripoll
ea33182ace The Unicode database distributed as C files. 2011-02-20 23:53:02 +00:00
Juan Jose Garcia Ripoll
a136b663bd Embed the Unicode database in the C library as a sequence of C arrays. 2011-02-20 23:52:24 +00:00
Juan Jose Garcia Ripoll
3771cb64c6 Modified ucd.lisp to generate C files, assigning a new, ficticious class, to undefined characters 2011-02-20 23:51:39 +00:00
Juan Jose Garcia Ripoll
ac4b1a7b8d Added support for a subset of Unicode (0 - 65535). 2011-02-19 23:46:52 +00:00
Juan Jose Garcia Ripoll
00f99f5e98 Upgraded to Unicode 6 and added support for a smaller database with just the 16-bits part of Unicode 2011-02-19 23:45:27 +00:00
Juan Jose Garcia Ripoll
5f9ad922f7 Add the possibility of creating smaller (65536) Unicode tables. 2011-02-19 21:54:11 +00:00
Juan Jose Garcia Ripoll
d42d4de9ba Slight cleanup of process-lambda-list. 2011-02-19 21:23:09 +00:00
Juan Jose Garcia Ripoll
7193e17f18 Slight optimization of si_process_lambda_list() (removing ecl_endp, ECL_CONSP, etc). 2011-02-19 15:58:26 +00:00
Juan Jose Garcia Ripoll
62956ab982 Remove all uses of VALUES() in compiler.d 2011-02-19 00:19:15 +00:00
Juan Jose Garcia Ripoll
cd7e2af0fe In eval_form(), avoid bytecompiling constant forms. 2011-02-18 22:37:46 +00:00
Juan Jose Garcia Ripoll
4c590fbb1b SI::EVAL-WITH-ENV is now implemented using eval_form() and compile_form_toplevel() is thus simplified. 2011-02-18 22:05:28 +00:00
Juan Jose Garcia Ripoll
52a1537f5c Simplify new_location() in compiler.d. 2011-02-17 23:03:51 +00:00
Juan Jose Garcia Ripoll
7caf463d99 Slight cleanup of SI:PROCESS-DECLARATIONS. 2011-02-17 10:55:09 +00:00
Juan Jose Garcia Ripoll
53034c1c87 Remove uses of ecl_endp() in compiler.d 2011-02-16 23:38:12 +00:00
Juan Jose Garcia Ripoll
c6c437305b Split compile_body() into compile_toplevel_body() and compile_body() and avoid using the former from constructs that contain subforms. 2011-02-16 23:10:13 +00:00
Juan Jose Garcia Ripoll
2d974ffc2b The interpreter optimizes FUNCALL acting on known core functions. 2011-02-15 23:39:24 +00:00
Juan Jose Garcia Ripoll
b3e359ec28 Avoid multiple passes over the eval-when list (compiler.d) 2011-02-15 22:34:53 +00:00
Juan Jose Garcia Ripoll
5056fe59a8 In utf_8_decoder(), decoding_error() was invoked with the wrong number of buffer bytes. 2011-02-12 23:48:30 +01:00
Juan Jose Garcia Ripoll
a6ab5a526e ECL's compiler complained about IGNORE declarations of MACROLET/SYMBOL-MACRO names 2011-02-12 19:49:56 +01:00
Juan Jose Garcia Ripoll
77f51dc653 Remove printf statement FElibc_error(). 2011-02-12 19:35:41 +01:00
Juan Jose Garcia Ripoll
b268cc89bd ECL implements EXT:*INSPECTOR-HOOK* 2011-02-12 19:31:13 +01:00
Juan Jose Garcia Ripoll
0abfe4a7e9 encoding_error() was not used in the encoding routines. 2011-02-12 18:42:45 +01:00
Juan Jose Garcia Ripoll
6867470670 Added STREAM-ENCODING/DECODING-ERROR to the initial symbols table. 2011-02-12 18:37:08 +01:00
Juan Jose Garcia Ripoll
51e21a51fe Added a CONTINUE restart for the *-DECODING-ERROR condition 2011-02-12 18:36:46 +01:00
Juan Jose Garcia Ripoll
2596f2882a Function decoding_error() and encoding_error() now extract the format from the stream. 2011-02-12 18:16:42 +01:00
Juan Jose Garcia Ripoll
c55d53cce8 The stream decoding functions now take just one argument: the stream 2011-02-12 18:11:24 +01:00
Juan Jose Garcia Ripoll
7065b28ad8 While reading the utf8 buffer, ECL changed bits in buffer[0] thus passing wrong information to decoding_error(). 2011-02-12 12:44:40 +01:00
Juan Jose Garcia Ripoll
a8b06a2359 Bytecode compiled child functions only should get a vector with the constants they really use; without the parent's. 2011-02-10 09:19:19 +01:00
Juan Jose Garcia Ripoll
da11b861eb Nested TIME calls do not reset the GC counters. This requires reimplementing GC-STATS to have a special input value mean 'resetting the counters'. 2011-02-08 23:54:14 +01:00
Juan Jose Garcia Ripoll
3e2e5f9dc3 EXT:GETENV now coerces its input to type SIMPLE-BASE-STRING. 2011-02-08 23:12:09 +01:00
Juan Jose Garcia Ripoll
40146b3fd3 The TRACE mechanism no longer inspects the bytecodes, but rather relies on the central database *TRACE-LIST* (Still not thread safe) 2011-02-06 20:04:35 +01:00
Juan Jose Garcia Ripoll
2fdec49c69 Remove slightly annoying compiler note about optimized away constant values. 2011-02-06 20:00:57 +01:00
Juan Jose Garcia Ripoll
87a7b900b2 New function SI:PROPER-LIST-P 2011-02-06 19:57:29 +01:00
Juan Jose Garcia Ripoll
fa473daaf1 The compilation function in ASDF is now customizable via a global variable 2011-02-05 23:21:45 +01:00
Juan Jose Garcia Ripoll
a0d03672aa Fixed externalization of bytecodes with literals that need MAKE-LOAD-FORM. 2011-02-05 23:21:12 +01:00
Juan Jose Garcia Ripoll
6559a32332 Store the old value of compile-file* in a global variable, so that bytecmp can redefine it. 2011-02-05 00:09:23 +01:00
Juan Jose Garcia Ripoll
85c008c439 Remove debug statement. 2011-02-05 00:08:16 +01:00
Juan Jose Garcia Ripoll
794539a29f The list of load hooks was missing the one for files without extension 2011-02-04 23:53:19 +01:00