Commit graph

325 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
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
jjgarcia
7dd5586d9e Sleep is bogus under windows and counts the time in milliseconds. 2003-12-02 10:47:02 +00:00
jjgarcia
b55dafa58d Finished the port to MingW32. 2003-12-01 11:21:47 +00:00
jjgarcia
58cf3c6b9d Fixed problems with STEP and forms that have to be evaluated at compilation time, such as toplevel PROGN, EVAL-WHEN, etc. 2003-11-26 18:40:46 +00:00
jjgarcia
72a90f9e90 Stepper implemented 2003-11-26 08:51:52 +00:00
jjgarcia
f6d910d0db Fixed two typos regarding FORMAT-ERROR. 2003-11-25 15:56:27 +00:00
jjgarcia
02fddd850d TRACE now handles the new bytecodes format, and SI::BC-SPLIT now outputs an array with the data of a bytecodes function. 2003-11-25 15:56:21 +00:00
jjgarcia
b8fba94b43 ecl_find_symbol is also needed in single-threaded systems. 2003-11-25 15:53:47 +00:00
jjgarcia
cdff225681 Implemented locking on hash tables and packages. Fixed several floating point contagion bugs in +, -, /, *, and ROUND. 2003-11-24 11:27:28 +00:00
jjgarcia
eb8f202478 Change order in which threads are initialized. Improved (or let's say fixed) marking of thread objects. New own_process thread object 2003-11-21 17:11:06 +00:00
jjgarcia
11dd7ed7a2 Implement a more 'standard' interface for creating processes. 2003-11-20 08:38:16 +00:00
jjgarcia
1cc9cfe5c1 Remove old implementation of cooperative threads 2003-11-20 08:33:44 +00:00
jjgarcia
01c6e8abff Use more lispy names for the thread objects, and add locks. 2003-11-19 15:07:18 +00:00
jjgarcia
4eac79774e Preliminary support for POSIX threads. 2003-11-18 11:23:07 +00:00
jjgarcia
6c7e48efb6 Support for making and loading FASL files under OSX. 2003-11-08 16:53:22 +00:00
jjgarcia
f275da2454 Check whether the FILE structure has a field from which we can guess the number of characters in the buffer. 2003-11-03 12:53:32 +00:00
jjgarcia
76d878f4bf When a package is created in a file loaded by a binary file, it must be removed from the list of packages to be created. 2003-11-03 09:41:01 +00:00
jjgarcia
158997357b In the compiling process, we differentiate between registration of a constant, and dumping of the database of constants. The later being improved with support for a common storage space. Also, complex numbers may now be read that use #n# and #n=. 2003-11-03 08:57:01 +00:00
jjgarcia
bcff01450f install.sh cannot handle more than one source argument at a time. 2003-10-31 12:31:18 +00:00
jjgarcia
3802c872ef Fixed typo 2003-10-30 16:28:43 +00:00
jjgarcia
4b11900381 By default, bytecodes are built using 16-bits integers. This avoids SIGBUS due to pointer misalignment in Alpha and SPARC architectures. 2003-10-30 10:30:37 +00:00
jjgarcia
4dcf2dd604 The garbage collector and the finalizer routines should not distort the lisp environment in which they were invoked. 2003-10-30 10:29:30 +00:00