Commit graph

379 commits

Author SHA1 Message Date
jjgarcia
d4d68e7b64 New function cl_shutdown(), complementary of cl_boot(). 2004-08-13 13:34:00 +00:00
jjgarcia
f97de40586 Missing variables 2004-08-02 09:42:04 +00:00
jjgarcia
f96d87cf6c Implement RUN-PROGRAM for Windows 2004-08-02 08:22:08 +00:00
jjgarcia
bc6b0c4ea1 By default, use / as directory separator under windows 2004-08-02 08:21:54 +00:00
jjgarcia
690a3da224 Remove the flag -fomit-frame-pointer which interferes with the debugger 2004-06-24 07:57:51 +00:00
jjgarcia
1a50860f26 pow() is producing wrong results in windows 2004-06-24 07:50:18 +00:00
jjgarcia
713f80d880 stat() produces errors when passed a directory name ending in '/'. Avoid using it for cl_truename. 2004-06-24 07:49:30 +00:00
jjgarcia
cb23bde0b7 Minor comments 2004-06-24 07:49:25 +00:00
jjgarcia
1ec73dec74 Hand-code several transcendental functions which are missing on Windows 2004-06-24 07:48:48 +00:00
jjgarcia
65c027eb7b cl_core must also be defined for a multithreaded lisp. 2004-06-18 08:17:54 +00:00
jjgarcia
ce41ff78fd Support for DLL in Windows 2004-06-18 07:51:14 +00:00
jjgarcia
3dd7d345d1 By keeping more bytes from the hash key in a package hash table we spare more calls to string_eq(). 2004-06-13 08:54:14 +00:00
jjgarcia
8659e4e4e7 Fixed and extended the implementation of RUN-PROGRAM. 2004-06-13 08:53:36 +00:00
jjgarcia
428c31794f Preliminary version of RUN-PROCESS 2004-06-11 20:12:33 +00:00
jjgarcia
d47c45ee6c MinGW32 does not have asinh/acosh/atanh 2004-06-11 15:10:45 +00:00
jjgarcia
32ae214c26 MingW does not like 'ERROR' as goto label. 2004-06-11 14:00:21 +00:00
jjgarcia
5fa8787f6e Both in CLISP and CMUCL, #\Linefeed is printed as #\Newline. 2004-06-08 14:46:10 +00:00
jjgarcia
47893c22d5 *** empty log message *** 2004-06-08 14:43:53 +00:00
jjgarcia
0bd3f15ca8 *** empty log message *** 2004-06-08 07:52:09 +00:00
jjgarcia
24b91659b2 C-{INT,LONG,UINT,ULONG}-{MIN,MAX} could exceed the limits of a fixnum and thus have to be created at boot time. 2004-06-08 07:14:18 +00:00
jjgarcia
24688d57f8 Teach the compiler how to produce C functions with a fixed number of arguments when the corresponding lisp function does not have any &optional, &rest, &key. Teach it also how to produce slimmer code for MULTIPLE-VALUE-SETQ/BIND. The type of a C1FORM can now be a (VALUES ...) expression, the first value being obtained with C1FORM-PRIMARY-TYPE. 2004-05-17 07:32:52 +00:00
jjgarcia
67eb87d545 write_ch = writec_stream when there is no pretty printer 2004-05-12 19:23:36 +00:00
jjgarcia
468c5e0396 *** empty log message *** 2004-05-12 14:55:04 +00:00
jjgarcia
db9bc0763a Recast some function pointers as (void*) to solve some problems with the C++ compiler. 2004-05-12 08:48:02 +00:00
jjgarcia
3246405dcc Imported the PRETTY-PRINTER from CMUCL and integrated it with the previously commited format.lsp. The old pretty printer remains merged in and is used by default. 2004-05-12 08:07:53 +00:00
jjgarcia
4e3189eddd Big changes in the way functions are compiled, unifying the code that handles DEFUN, DEFMACRO and LAMBDA, and fixing an important bug in the optimizer for tail-recursive calls. 2004-05-05 08:38:07 +00:00
jjgarcia
959180c2bd Protect the initialization routines of the lisp files with the prefix ECL, so that they do not collide with files supplied by the user 2004-04-27 08:30:30 +00:00
jjgarcia
20e3561ae0 Label with no statement. GCC complains. 2004-04-26 11:22:16 +00:00
jjgarcia
9eddd9fb08 All non-graphic characters below (code-char 128) have now character names from the ASCII standard 2004-04-21 13:42:25 +00:00
jjgarcia
4b480b2cec Some opcodes set the output in the VALUES stack, and cannot use REG0. 2004-04-08 14:02:21 +00:00
jjgarcia
213ef3de8e MULTIPLE-VALUE-SETQ now uses (SETF (VALUES ...)) when some of the places to be set is not a variable, but a generalized place. 2004-04-07 16:39:31 +00:00
jjgarcia
c503e0fc95 The different EPSILONs are now computed at compilation time, because the values provided by the C library are not all that precise. 2004-04-07 15:29:21 +00:00
jjgarcia
daa8064584 + Streams in ECL can now have element types CHARACTER, (UNSIGNED-BYTE 8)
and (SIGNED-BYTE 8). LISTEN and PEEK-CHAR had to be modified so that
they work with CONCATENATED-STREAMS. OPEN now signals errors of type
FILE-ERROR when a file cannot be opened.
+ Several special functions (ASIN, ACOS, ASINH, ...) have been reimplemented
using more stable formulas found in CMUCL, plus the functions from the C
mathematical library. They also serve as examples of how to use FFI:C-INLINE.
+ Several errors regarding packages have been rewritten as correctable errors,
and now the carry clearer messages.
+ In functions dealing with sequences, :COUNT can now be a bignum.
+ In the bytecodes compiler, MULTIPLE-VALUE-PROG1 did not save the values.
2004-04-05 07:21:54 +00:00
jjgarcia
62d43f4892 Preliminary implementation of the UFFI. 2004-03-29 11:13:17 +00:00
jjgarcia
403511c488 The portable CLX library has been incorporated. 2004-03-25 09:02:27 +00:00
jjgarcia
72dc89f61b Fixed generation of function prototypes, and other glitches so that the lisp code can be compiled with a C++ compiler. The core library is still compiled with a C compiler. 2004-03-03 09:18:20 +00:00
jjgarcia
21e7d900a7 Implemented a safer routine to retrieve the pointer of a foreign data structure. 2004-03-01 08:42:33 +00:00
jjgarcia
0d9781668f *** empty log message *** 2004-02-29 16:45:03 +00:00
jjgarcia
860dbd69ec Fixes due to type sizes, updates of the old garbage collector and the terrible bug with hash tables merged into main trunk 2004-02-29 15:47:01 +00:00
jjgarcia
71f921ed39 Remove some warnings from GCC 2004-01-24 17:00:24 +00:00
jjgarcia
feb3467d3d Remove unused header 2004-01-20 08:54:01 +00:00
jjgarcia
0d863a2a66 Most functions that operate with the native filesystem must complain if they get get pathnames with wild components 2004-01-16 15:02:51 +00:00
jjgarcia
e8b1a4b4c5 LOAD-LOGICAL-PATHNAME-TRANSLATIONS now implemented (uses sys:host.translation)
WILD-PATHNAME-P implemented.
PROBE-FILE and TRUENAME now complain when passed a pathname with wild components.
Fixed a bug in GENTEMP.
Some missing symbols are now defined (*PRINT-MARGIN*, etc), even though not used.
Destructuring lambda lists now identify NIL or '() as an empty list.
Fixed INTEGER-LENGTH and LOGCOUNT (they now work with bignums).
SYMBOL-MACROLET now complains about redefinition of global variables.
ENSURE-DIRECTORIES-EXIST now outputs the two requird values and produces some informative messages if requested.
2004-01-16 10:31:04 +00:00
jjgarcia
a5af1f450c Implemented LOAD-LOGICAL-PATHNAME-TRANSLATIONS. TRUENAME now merges the pathname with the current working directory. 2004-01-15 19:16:21 +00:00
jjgarcia
710e6e2888 Fix the way SUBLIS and NSUBLIS handle the key and test arguments. 2004-01-15 18:34:47 +00:00
jjgarcia
a6f856e73b When merging pathnames that have versions, there is a complicated rule for defaulting 2004-01-15 14:19:30 +00:00
jjgarcia
63e1c1789f Implemented WILD-PATHNAME-P 2004-01-15 13:30:46 +00:00
jjgarcia
90174a13e1 Fixed typo 2004-01-12 13:50:40 +00:00
jjgarcia
19d3e6ace5 Missing header for memcpy() 2004-01-12 13:49:37 +00:00
jjgarcia
13055827c8 Simplify the checks. 2004-01-12 10:54:31 +00:00