Commit graph

2746 commits

Author SHA1 Message Date
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
jjgarcia
7802543f2d Small optimization 2004-01-09 13:46:37 +00:00
jjgarcia
738b711ea2 Fixed typo 2004-01-09 13:10:33 +00:00
jjgarcia
02ed9d6468 Fixed several typos. 2004-01-09 12:30:39 +00:00
jjgarcia
1884126793 Fixed typo. 2004-01-08 17:15:39 +00:00
jjgarcia
0eae764528 Do not set *DEFAULT-PATHNAME-DEFAULTS* because some people expect it to be empty. 2004-01-08 11:23:50 +00:00
jjgarcia
90a0382ae8 + Fixes in the routines that deal with pathnames: it is now possible to
use *DEFAULT-PATHNAME-DEFAULTS* as current working directory, because it
is set to the initial directory and because it can be updated with SI::CHDIR.
+ Pathname versions are now properly handled and printed. At least for logical
pathnames, because physical namestrings cannot have version numbers.
+ An error is signaled when one tries to print _readably_ a pathname that does
not have a namestring such that parsing this namestring produces the same
pathname. This happens, for instance, with pathnames that do not have hosts,
or that have version numbers and are not logical.
+ Fixes in the CLOS subsystem: ADD-METHOD and REMOVE-METHOD now update the
GENERIC-FUNCTION slot of method objects, and output the right values.
It is now possible to use two nested SYMBOL-MACROLET that define the same
symbols.
2004-01-08 11:03:05 +00:00
jjgarcia
20564352dd ASH was bitten by a C feature: that numbers cannot be right shifted (>>) more than the number of bits they have. Otherwise the result is unspecified, and in intel bogus (due to the use of SAR). 2003-12-19 16:35:42 +00:00
jjgarcia
f99b39e820 Fixed typos. 2003-12-19 14:09:03 +00:00
jjgarcia
0772b295cc Signal also an arithmetic error when dividing by a floating point 0 2003-12-19 13:00:29 +00:00
jjgarcia
d0eeede5e0 (LCM) => 1 2003-12-19 10:21:45 +00:00
jjgarcia
99e1acec1c CLASS-OF is now in the C core, and the parameter specializers of a method are always either class objects, EQL specializers or NIL. 2003-12-19 10:10:13 +00:00
jjgarcia
e9133326f7 The conditions signaled by MAKE-PATHNAME because of bogus pathname components are now of type FILE-ERROR. 2003-12-18 14:23:37 +00:00
jjgarcia
6b03e9343b Fixes for PARSE-NAMESTRING. 2003-12-18 12:46:54 +00:00
jjgarcia
8bba2eadcf Support for :CASE keyword argument in most pathname functions (Contributed by Julian Stecklina). COMPILE-FILE now handles relative pathnames. 2003-12-17 10:28:26 +00:00
jjgarcia
4331d7bdc4 Fixed typo. 2003-12-15 09:03:38 +00:00
jjgarcia
daf5da0929 si_formatter_aux does only exist when the ECL formatter is used. 2003-12-15 08:56:35 +00:00
jjgarcia
0290efd01c Implemented the class redefinition protocol, and forward referenced classes. 2003-12-15 08:54:10 +00:00
jjgarcia
d4e8230777 LCM may be called without any argument 2003-12-15 08:53:28 +00:00
jjgarcia
8ae8d16cd4 Fixed LOGBITP and the other binary operations among integers. 2003-12-15 08:53:07 +00:00
jjgarcia
6d1ec50d38 Fixed GCD. Implemented several stream functions. Fixed LCM. Fixed the inline expansions for ZEROP, PLUSP, MINUSP, ODDP and EVENP. Fixed the meaning and allowed values of REHASH-THRESHOLD. SXHASH now produces hash keys which are equal for EQUAL bitvectors. Implemented ARITHMETIC-ERROR-OPERANDS. Fixed a bug in hash table which duplicated the number of entries whenever the hash grew. 2003-12-12 08:26:29 +00:00
jjgarcia
630bfdf4f4 Clean up the package CL from non-standard symbols and move them into the EXT package, which is a nickname for SYSTEM. 2003-12-11 17:16:48 +00:00
jjgarcia
84d17508bb Symbol UNBOUND already existed in the SI package 2003-12-11 16:16:06 +00:00
jjgarcia
789844e8d3 Use a lisp object to fill unbound slots rather than a null pointer which may end up causing SIGSEGV. 2003-12-11 12:56:38 +00:00
jjgarcia
c5ec810687 Division by integer 0 signal a DIVIDE-BY-ZERO error. (- (- MOST-NEGATIVE-FIXNUM)) now works. Fixed CEILING and FLOOR with arguments MOST-NEGATIVE-FIXNUM (- MOST-NEGATIVE-FIXNUM). (EXPT x y) now returns 1 coerced to the right type when (ZEROP y)=>T. 2003-12-09 09:34:33 +00:00
jjgarcia
c4959d77ed Fixed typo. 2003-12-08 11:06:52 +00:00
jjgarcia
43b76fb00e More specific type for 'T 2003-12-08 11:05:05 +00:00
jjgarcia
a6715bfa92 Split the compiler flags into CFLAGS (used only when building ECL) and ECL_CFLAGS (exported into ecl-config). Set the value of SHELL explicitely in the makefiles so that they work when SHELL=/bin/csh in the environment. 2003-12-08 09:41:29 +00:00
jjgarcia
9a0f314024 PARSE-INTEGER now signals an error of type PARSE-ERROR when the parsing failed. 2003-12-08 09:39:12 +00:00
jjgarcia
e9d7cef106 EXPT should return 1 whenever the exponent is 0 (Even if it is a float). This 1 is coerced to the type of the exponent, not of the base number. 2003-12-08 09:36:47 +00:00
jjgarcia
762dd34d5a Fixed ROUND. 2003-12-08 09:34:30 +00:00
jjgarcia
037dad4601 The value of reg0 must be restored after a nonlocal jump due to RETURN 2003-12-08 09:34:00 +00:00
jjgarcia
933cb8b4ba ECL now follows the GNU coding standards for handling the configuration parameters prefix,libdir,bindir... 2003-12-02 10:49:20 +00:00
jjgarcia
2c3806bc8e select() does not work with ordinary files under MinGW32 2003-12-02 10:47:54 +00:00