Commit graph

653 commits

Author SHA1 Message Date
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
199f14dbc8 When the input argument is 0 (integer), the output of PHASE must be a short-float. 2003-12-19 13:08:32 +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
9157c73a9e The optimizer for BOOLE had not been updated when the new C1FORM structures were introduced. 2003-12-19 11:15:58 +00:00
jjgarcia
0ec3ff5cc6 PHASE of 0 is zero by definition. 2003-12-19 11:15:40 +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
8d6ffa8edf Warn the user about a type mismatch between the variables in M-V-S-Q and the
type that M-V-S-Q assumes (which is always 'T until we find a better method).
2003-12-19 10:08:45 +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
6d46b455ab The output of SLOT-BOUNDP should be a boolean 2003-12-15 09:19:24 +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
5b7ac2b21b Beautify the message from SAFE-SYSTEM 2003-12-15 08:52:03 +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
a583081e53 Fixed a few references to undefined variables. QUIT is now imported into CL-USER. 2003-12-11 18:20:16 +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
b147bb43e8 Made the compilation of function calls simpler. Now only two routines, C1CALL-LOCAL and C1CALL-GLOBAL do handle the calling of symbols, and C1FUNCALL is left for the rest. 2003-12-09 09:34:21 +00:00
jjgarcia
7013ab5278 File thread.lsp is now mp.lsp 2003-12-09 09:34:05 +00:00
jjgarcia
fefc705589 Scripts should be installed using a different commadn 2003-12-08 11:26:08 +00:00
jjgarcia
5bb8393da6 Mark potential non-conformance. 2003-12-08 11:07:08 +00:00
jjgarcia
c4959d77ed Fixed typo. 2003-12-08 11:06:52 +00:00
jjgarcia
bcbf783688 slot-exists-p now works with structures 2003-12-08 11:06:23 +00:00
jjgarcia
43b76fb00e More specific type for 'T 2003-12-08 11:05:05 +00:00
jjgarcia
bdb7be296f DISASSEMBLE should not signal an error when a form cannot be disassembled, and it should always return NIL. 2003-12-08 11:01:11 +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
1a6921b16a (SETF FIND-CLASS) now accepts the optional arguments ERRORP and ENV and outputs the class as a single value. 2003-12-08 09:38:45 +00:00
jjgarcia
ec401a32c7 SLOT-EXISTS-P now works with all types of objects. 2003-12-08 09:38:06 +00:00
jjgarcia
48740191e6 Local functions whose name appears in a FUNCTION special form must be converted into an object. This is marked by setting FUN-REF-CCB to true. 2003-12-08 09:37:47 +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
f133f72886 All the F(FLOOR|ROUND|...) converted the remainder into a float, which is wrong. 2003-12-08 09:35:09 +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
c6b914dc7b Due to VPATH, lsp/config.lsp would sometimes be built, and sometimes not. Also, extension '.in' is not good for the files output by configure 2003-12-05 10:22:24 +00:00
jjgarcia
8de4862ffe Do not try to configure ECL when the user asks for help. 2003-12-05 09:34:48 +00:00
jjgarcia
62850ff427 Forgot to apply autoconf before releasing patches 2003-12-05 09:05:18 +00:00
jjgarcia
1b45538191 ecl-config must also be built using the Makefile 2003-12-04 16:02:51 +00:00
jjgarcia
82ab667354 The shells need the '-c' flag to execute the script mkinstalldir properly. Otherwise /bin/csh will think that mkinstalldir is a C-shell script, which it is not. 2003-12-04 15:28:48 +00:00
jjgarcia
a5368d913a Remove all references to the installation directory (except for --rpath) during build time 2003-12-03 14:05:20 +00:00