Commit graph

176 commits

Author SHA1 Message Date
jjgarcia
ee6300ea76 Fixed typo in path_list_match(). 2002-09-03 12:41:50 +00:00
jjgarcia
fcdc396b53 Remove useless definitions. 2002-09-03 12:23:11 +00:00
jjgarcia
91c4080337 Remove useless definitions. 2002-09-03 12:03:06 +00:00
jjgarcia
475c8627a6 Remove unused definitions. 2002-09-03 11:54:25 +00:00
jjgarcia
5339a44232 Fix typo in unreadc_stream(). 2002-08-29 15:49:18 +00:00
jjgarcia
41240fe8e9 Synonym streams can now point to CLOS streams. 2002-08-28 17:39:23 +00:00
jjgarcia
6c7dfc0477 LOAD accepts now a stream as input parameter. However, in this case it only
tolerates lisp source files, not compiled files or libraries. For example,
(LOAD (OPEN "foo.lsp")) is equivalent to (LOAD "foo.lsp").
2002-08-27 16:31:42 +00:00
jjgarcia
6a35761024 Introduce two new user-defined methods for CLOS streams: STREAM-INPUT-P and
STREAM-OUTPUT-P. Both should be defined, so that ECL may decide wether an
instance may be used for output or not.
2002-08-27 16:25:40 +00:00
jjgarcia
1179c35043 The interface for CLOS streams is cleared. First, output_ch_fun and read_ch_fun
disappear. All code pertaining CLOS streams is moved to file.d. This code
allows the user to supply an arbitrary object instead of a stream. The object
must have the following methods defined: STREAM-READ-CHAR, STREAM-UNREAD-CHAR,
STREAM-LISTEN, STREAM-CLEAR-INPUT, STREAM-WRITE-CHAR, STREAM-CLEAR-OUTPUT,
STREAM-FORCE-OUTPUT, STREAM-CLOSE. With these methods it can be used for
input and output. This implementation of streams is enabled with the flag
--with-clos-streams during configuration phase.
2002-08-27 13:46:04 +00:00
jjgarcia
cd71cbe5a3 Fix square root. 2002-07-08 07:35:55 +00:00
jjgarcia
b7cd0209b8 Use ISO-C99 functions to check whether a real number is finite. 2002-05-22 16:51:15 +00:00
jjgarcia
1286ec7528 No need to check for overflows while reading numbers -- make_shortfloat
and make_longfloat take care of that.
2002-05-22 16:50:41 +00:00
jjgarcia
723047975d Use ISO-C99 functions to extract exponents, mantisas, etc, instead of old
tricks based on the binary representation of numbers.
2002-05-22 16:36:41 +00:00
jjgarcia
99c96e7840 The name of the class itself does not appear in the class precedence list
under ECL.
2002-05-22 16:35:55 +00:00
jjgarcia
e6922fb76c Function SI:NANI has been removed. Its purpose was to provide an
object which could not be printed or readed so that it could be
used to mark unbound slots in classes. Now the function SI:UNBOUND
performs the same task
2002-05-22 13:40:38 +00:00
jjgarcia
ded8f34629 Code for handling :IMPORT-FROM in DEFPACKAGE was bogus 2002-05-22 13:38:33 +00:00
jjgarcia
7e5cacd38e * Variable *EVAL-WHEN-COMPILE* is no longer used.
* FIND-CLASS belongs to the C library -- it can now be directly called.
* Class BUILT-IN renamed to BUILT-IN-CLASS
* Macro PROG1 slightly optimized
2002-05-17 16:37:21 +00:00
jjgarcia
f9cf423040 DEFCLASS does not need an extra call to FIND-CLASS, since ENSURE-CLASS already
outputs the right value.
2002-05-17 16:35:13 +00:00
jjgarcia
a5aa7f83e3 Latest version of test suite merged from CLOCC. 2002-05-17 16:33:10 +00:00
jjgarcia
37ff2b9644 Removed INT-CHAR. Use CODE-CHAR instead. 2002-05-13 13:52:45 +00:00
jjgarcia
1be3957ec4 FIND-METHOD should be public in CL. 2002-05-13 12:30:12 +00:00
jjgarcia
8484be417b Under ECL, set-difference outputs values in reverse order. 2002-05-13 08:16:10 +00:00
jjgarcia
6f10f3e925 Fix typo. 2002-05-13 07:24:10 +00:00
jjgarcia
2fc2421073 Dot use "make" but the variable $(MAKE), which is set to a program that works
with our makefiles.
2002-05-13 07:23:45 +00:00
jjgarcia
acae405641 * DEFSETF now works with functions that take keword arguments. For instance,
(DEFSETF XY (&KEY X Y) (STORE) ...).
* GET-SETF-EXPANSION now avoids generating temporary variables for immediate
  values, such as keywords and integers.
2002-05-13 07:22:06 +00:00
jjgarcia
7c142461af Added new type names for the different forms of streams (ECHO-STREAM, STRING-
STREAM, etc). Now TYPE_OF() returns these more specific names.
2002-05-13 07:21:15 +00:00
jjgarcia
dffbb731bd * SYMBOL-MACROLET now fails when redefining a symbol that has been declared
special.
* Declarations are now properly handled by DOTIMES/DOLIST and LOCALLY. See
  src/ansi-tests/section3.* for details.
2002-05-13 07:19:26 +00:00
jjgarcia
249ba9e916 Fixed typo. 2002-05-13 07:17:38 +00:00
jjgarcia
b1ca5addcb CLASS-NAME, CLASS-SLOTS, etc, are now functions. 2002-05-13 07:16:52 +00:00
jjgarcia
69f92bea35 clos/{builtin,kernel}.lsp: Added classes for STREAM, *-STREAM, HASHTABLE,
PACKAGE, LOGICAL-PATHNAME, REAL, READTABLE, RANDOM-STATE.
2002-05-13 07:16:19 +00:00
jjgarcia
ee331c3583 Fix typo. 2002-05-13 07:13:48 +00:00
jjgarcia
50564327b0 BYTECODES-SPLIT is now called BC-SPLIT 2002-05-13 07:13:04 +00:00
jjgarcia
6ec3b91890 Implement DEFINE-COMPILER-MACRO and COMPILER-MACRO-FUNCTION 2002-05-10 07:41:15 +00:00
jjgarcia
d0b7a61fa8 Update the output of some tests to ECL's current behavior 2002-05-10 07:40:47 +00:00
jjgarcia
ddc91bdf9d Fix typos. 2002-05-10 07:39:24 +00:00
jjgarcia
9d936beb41 When displacing array A to B, ADJUST-ARRAY should not copy data from A to B. 2002-05-10 07:37:25 +00:00
jjgarcia
7b9899db80 (SETF (CHAR string ndx) char) now properly ignores fill pointers. 2002-05-10 07:36:37 +00:00
jjgarcia
de69da1d5a SXHASH now generates identical keys for the copies of a random state object. 2002-05-10 07:36:07 +00:00
jjgarcia
8dca6b0e27 Remove some tests which use nonportable features that ECL lacks. 2002-05-10 07:35:32 +00:00
jjgarcia
13f65ea3fe Hannu Koivisto:
* define-setf-method -> define-setf-expander,
* get-setf-method -> get-setf-expansion.
* (setf-expand-1) Now relies completely on get-setf-expansion and
  macros are no longer favored over setf expanders.
* Export added reinitialize-instance, shared-initialize and
  update-instance-for-redefined-class
2002-02-18 11:13:19 +00:00
jjgarcia
6a0862fc8c Hannu Koivisto: Add dummy targets to avoid the *html rules being executed needlessly. 2002-02-18 11:10:36 +00:00
jjgarcia
3d968c077a ffi::definline has a bogus definition in ffi.lsp. 2002-02-12 16:06:18 +00:00
jjgarcia
af0504410d Instead of producing a call to object_to_int, defCbody should call object_to_fixnum 2002-02-12 16:05:35 +00:00
jjgarcia
33263c74c5 Hannu Koivisto: Now respects if-does-not-exist argument in all case 2002-02-12 15:59:15 +00:00
jjgarcia
e76f6f9831 When found a suitable texi2html, use it. 2002-02-11 13:19:34 +00:00
jjgarcia
09768d8f44 Implicit suffix rule may cause problems with gnumake. Replaced with pattern
rule which forces users of BSD systems to install gmake.
2002-02-11 13:19:16 +00:00
jjgarcia
ab82a93fda Solve bogus patch to si::pathname-translations. 2002-02-11 10:40:50 +00:00
jjgarcia
339300744e Local variable host clobbers argument to si::pathname_translations 2002-02-11 10:29:55 +00:00
jjgarcia
ade8820a11 libgc.a is not added to LIBRARIES when using system's Boehm collector. 2002-02-11 10:29:32 +00:00
jjgarcia
e6ee6f2a69 Ignore versions in logical pathnames and in physical pathnames, but parse
them in logical pathnames.
2002-02-07 10:15:33 +00:00