jjgarcia
0a7813e93e
Fixes for Windows
2004-11-29 13:05:22 +00:00
jjgarcia
1281dfb830
FFI Patches by M. Goffioul
2004-11-23 15:11:02 +00:00
jjgarcia
3b2fe13154
Print the address of the foreign data in ffi objects
2004-11-23 15:09:41 +00:00
jjgarcia
3b411fbfaf
MKSTEMP now accepts and returns pathnames
2004-11-23 15:01:40 +00:00
jjgarcia
63678eb25c
Fixes for mingw32
2004-11-22 19:02:58 +00:00
jjgarcia
83e5db4c77
Better code for traversing symlinks so that relative symlinks are understood
2004-11-22 14:33:14 +00:00
jjgarcia
6c445495ae
LOAD must save the value of *READTABLE*
2004-11-22 14:31:37 +00:00
jjgarcia
5254ad4c3d
A variable name was clobbered. The first argument to execvp() was of type
...
object, instead of a pointer to a string.
2004-11-02 10:54:54 +00:00
jjgarcia
1c435cd8ff
limits.h needed for INT_MAX, UINT_MAX, etc
2004-10-29 17:00:05 +00:00
jjgarcia
1b87eaae01
Make the MSVC++ port relocatable, i.e. the installation path is not hardcoded in ECL. Also, suport for NSI under MSVC++.
2004-10-29 13:50:26 +00:00
jjgarcia
2b6e16ad98
Allow ~...,V,... arguments to also be big integers
2004-10-29 13:48:47 +00:00
jjgarcia
6b219625b5
Port to Microsoft VC++ by Goffioul Michael <goffioul@imec.be>
2004-10-25 16:34:20 +00:00
jjgarcia
d70236c84c
Allow integer arguments to be bignums, though truncate their values to fixnumes
2004-10-25 16:29:43 +00:00
jjgarcia
6f3bb037dd
Fixed typo
2004-10-21 14:17:23 +00:00
jjgarcia
d981b63c0b
Disable warnings, because their names depend very much on the version of GCC
2004-10-15 14:46:52 +00:00
jjgarcia
cca49cd1c7
Removed attribute "noreturn" because GCC does not take into account the
...
possibility of longjmp into the function that called a noreturn function.
Simplified the FORMAT routine abstracting the operations on arguments,
so that they can be easily reimplemented when the type of stack changes.
FORMAT does no longer use the lisp stack, but builds lists of arguments.
2004-10-11 08:02:21 +00:00
jjgarcia
a0417f0a88
Summer fixes
2004-10-04 08:02:39 +00:00
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