- Feb 22, 2005
-
-
rtoy authored
-
- Feb 21, 2005
-
-
rtoy authored
streams opened with element-type (unsigned-byte 8) to be also opened for character input. This gives simple-streams semantics to fd-streams. * code/fd-stream.lisp o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct type of input. o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary and character input. Currently defaults to NIL, but will change to T. * code/stream.lisp o New READ-INTO-SIMPLE-STRING to allow stream element-type of (unsigned-byte 8). o Support reading and writing simple arrays of single-float and double-float. o Strings can be written to streams of element-type '(unsigned-byte 8). * tools/worldcom.lisp o Compile stream-vector-io.lisp. * tools/worldload.lisp o Load stream-vector-io. * code/stream-vector-io.lisp o New file implementing READ-VECTOR and WRITE-VECTOR.
-
rtoy authored
computing the union of a bunch of disjoint integer types, usually from some DO loop. This fix implements a hack to short-circuit that case by checking to see if the union is long enough and instead of returning the precise union, we return the smallest interval that contains all of the integer types in the union. The max length of the union is set by *union-length-threshold*, defaulting to 50. This is a gross hack. We should do something better than this.
-
- Feb 10, 2005
-
-
rtoy authored
connection is reset. Based on code from Scott Burson, cmucl-imp, 2005-01-31.
-
rtoy authored
accepted when computing namestrings. CLHS 19.2.2.2.3.1 says :unspecific components should not appear in the namestring. Make it so.
-
rtoy authored
unix-getgrnam and unix-getgrgid to select the buffer size. Apparently, some versions of Solaris won't work if the buffer is too small, even if the result would have fit. Bug pointed out by Damien Kick.
-
- Feb 08, 2005
-
-
rtoy authored
there's already a scavenger hook printer.)
-
- Feb 07, 2005
-
-
rtoy authored
o Make inet-recvfrom and friends available on Darwin again. * lisp/linux-stubs.S o Oops. Forgot to fix up #if with !defined(DARWIN) o Add recvfrom and friends to the stubs.
-
- Feb 06, 2005
-
-
rtoy authored
relatively straightforward port of the sparc version of linkage-tables. Some refinements are probably still needed, as well as some testing. Use boot-2005-02-ppc-linkage.lisp to bootstrap this change from the 2005-02 snapshot. * code/ppc-vm.lisp o Add appropriate FOREIGN-SYMBOL-ADDRESS-AUX and FIND-FOREIGN-SYMBOL functions for linkage-table. * compiler/generic/new-genesis.lisp o Basically do the same as the sparc port for linkage-tables. o need to extern-alien-name on the cold linkages since they C names depend on the backend conventions. * compiler/ppc/alloc.lisp o Load "undefined_tramp" appropriately for linkage-tables. * compiler/ppc/c-call.lisp o Define new vops (FOREIGN-SYMBOL-CODE-ADDRESS, FOREIGN-SYMBOL-DATA-ADDRESS) for linkage-tables so we can access correctly. * compiler/ppc/cell.lisp o Load "closure_tramp" appropriately for linkage-tables o Load "undefined_tramp" appropriately for linkage-tables * compiler/ppc/parms.lisp o Put the foreign linkage space start at the end of the static space to make it easier to bootstrap. (We need already mapped memory.) We can move this later. o Correct TARGET-FOREIGN-LINKAGE-ENTRY-SIZE. o Add new static-symbol *linkage-table-data* o While were at it, add SPARE-9 and SPARE-0 static symbols so we have 10 spares. * lisp/Config.ppc_darwin o Add -DLINKAGE_TABLE to CFLAGS/ASFLAGS if we have linkage-table support. * lisp/Darwin-os.c o Add os_dlsym to support linkage-tables. (This nees a little refactoring because we just copied the #defines for dlopen modes.) * lisp/os-common.c o The checking of the linkage tables that is done for sparc almost works for ppc, but not quite. Implement one for ppc. * lisp/ppc-arch.c o Add PPC version of arch_make_jump_entry, arch_make_linkage_entry, arch_linkage_entry. * lisp/ppc-assem.S o Add lazy_resolve_linkage to support linkage-tables. This needs some more work. o Add undefined_foreign_symbol_trap. This probably needs work, and definitely needs testing. * lisp/ppc-validate.h o Define the start of the linkage space and size.
-
rtoy authored
-
rtoy authored
-
- Feb 02, 2005
-
-
rtoy authored
(format nil "~G" 1d23) prints "100000000000000000000000. " instead of "099999999999999990000000. ".
-
- Jan 31, 2005
-
-
rtoy authored
equal to *gc-trigger*, and that was causing GC not to happen in some cases on x86. He said changing > to >= in sub-gc fixes this problem.
-
- Jan 27, 2005
-
-
rtoy authored
forwarded to cmucl-imp, 2005-01-17. Slightly modified the code therein. The functions are unix-recvfrom, unix-sendto, unix-shutdown, inet-recvfrom, inet-sendto, inet-shutdown.
-
rtoy authored
*last-bytes-in-use* and *gc-trigger* should be (unsigned-byte 32) instead fixnums. o Add simple docstring for gencgc-stats.
-
- Dec 24, 2004
-
-
rtoy authored
-
- Dec 23, 2004
- Dec 22, 2004
-
-
rtoy authored
read-preserving-whitespace, read-delimited-list, and read-from-string all return a primary value of nil. Make it so. We were returning a list of NILs previously.
-
- Dec 21, 2004
- Dec 15, 2004
-
-
rtoy authored
ANSI 5.1.3. (Based on the fixs in sbcl.)
-
rtoy authored
-
rtoy authored
o Fix the handling of parameters to ~{. We treat a NIL parameter as not given, as tested by ansi-tests. I suspect there are still cases that aren't handled. This also needs to be cleaned up. Lots of duplicated code between the ~{ interpreter and expander.
-
- Dec 14, 2004
- Dec 13, 2004
- Dec 09, 2004
-
-
rtoy authored
in several places to signal socket errors instead of generic errors. (For better support for trivial-sockets.)
-
- Dec 06, 2004
-
-
rtoy authored
an error. o Fix the logic error in scale in flonum-to-digits, where the test for high-ok was wrong. o Take the opportunity to eliminate some common subexpressions to reduce computation and consing of bignums.
-
- Dec 03, 2004
-
-
rtoy authored
Eller, cmucl-imp, 2004-12-03.
-
- Nov 20, 2004
-
-
cwang authored
-
- Nov 19, 2004
-
-
cwang authored
-
- Nov 17, 2004
-
-
cwang authored
-
- Nov 16, 2004
-
-
cwang authored
-
- Nov 11, 2004
-
-
rtoy authored
-
- Nov 10, 2004
-
-
rtoy authored
low or high were double-floats outside the range of single-floats. We now silently treat them as if they were * (unbounded). Fixes ansi-test real.1 and real.2 failures.
-
- Oct 24, 2004
-
-
rtoy authored
* alieneval.lisp: o The CALLBACK defstruct holds the entire alien function type o COMPATIBLE-RETURN-TYPES-P renamed to COMPATIBLE-FUNCTION-TYPES-P and and made specific to each backend. o Adjust code appropriately. ppc/c-call.lisp: o Port Thomas Burdick's callback code to ppc. sparc/c-call.lisp: x86/c-call.lisp: o Adjust code appropriately for new callback structure. o Implement COMPATIBLE-FUNCTION-TYPES-P, like original COMPATIBLE-RETURN-TYPES-P
-
- Oct 23, 2004
-
-
rtoy authored
converting the sp-fixnum and ret-addr args---a call to ash was generated. Use bignum:%ashl to get it nicely inlined.
-
- Oct 22, 2004
-
-
rtoy authored
around for the case where an invalid character is passed to LOGICAL-PATHNAME, which is supposed to signal a type-error. o Make sure the result from LOGICAL-PATHNAME is really a logical-pathname. (May not be the best solution.) This fixes ansi-test logical-pathname.error.3 and logical-pathname.error.10.
-