Commit graph

1679 commits

Author SHA1 Message Date
Alexey Dejneka 14ff2ab5d8 0.8.8.23.stack.4:
* Fix bug MISC.295: in DF ordering take into account hidden
          control transfers to NLEs.
2004-04-10 10:24:57 +00:00
Alexey Dejneka f1e093e0f8 0.8.8.23.stack.3:
* Fix MISC.292: SET-DIFFERENCE does not preserve order;
        * add commentaries;
        * describe MISC.293 (PFD is incredibly good at finding rough
          corners).
2004-03-16 16:39:19 +00:00
Alexey Dejneka 2e9512b3c3 0.8.8.23.stack.2:
* Check BLOCK-FLAG of the predecessor when ordering NLE (fix
          MISC.290, -a);
        * in DISCARD-UNUSED-VALUES compare stacks with EQUAL, not EQL.
2004-03-15 05:25:49 +00:00
Alexey Dejneka 1677493bf0 0.8.8.23.stack.1:
* Make two passes: first, compute live _sets_, second, order
          them to stacks;
        * new VOP: %%NIP-VALUES, removing dead UVL from the middle of
          the stack (currently implemented only on X86).
2004-03-13 19:39:14 +00:00
Christophe Rhodes aa15be083d 0.8.8.23:
Better %SXHASH-SUBSTRING (patch Juho Snellman sbcl-devel 2004-03-09)
	... frob comments a little
	... make the same FLET workaround in %SXHASH-SIMPLE-SUBSTRING
	... probably fasl-incompatible with 0.8.8.22, but I've already
		changed the fasl version number once this cycle.  Let's
		see if anyone complains :)
	... 20% faster at compiling mk-defsystem on DB's iMac
		(MORE SPEED!)
2004-03-10 16:10:17 +00:00
Christophe Rhodes 398c7bf8d4 0.8.8.22:
Less pprint suboptimiality
	... s/simple-string/(simple-array character (*))/ and add
		explicit coercions;
	... this should remove most of the performance degradation in the
		pretty printer introduced around 0.8.1.x when (vector nil)
		was recognized as a string type.
2004-03-09 14:45:37 +00:00
Christophe Rhodes 2912f5f6c2 0.8.8.21:
Make unknown variables signal a compile-time warning.
	... slightly hacky (if (eq kind :variable) ...) in the
		warning logic itself;
	... rearrange bits of the build to eliminate technically
		undefined forward references;
	... fix for multiple *CURRENT-CATCH-BLOCK* and
		*CURRENT-UNWIND-PROTECT-BLOCK*: we now have one and
		only one of each variable, rather than three
2004-03-09 12:08:39 +00:00
Christophe Rhodes e5e1b41799 0.8.8.20:
Hey look!  An ANSI bug that's more annoying than (vector nil)!
	... printing #\Space is defined to yield #\
	... did you see the whitespace at the end of that line?
2004-03-08 22:14:31 +00:00
Christophe Rhodes 0728e7b996 0.8.8.19:
Fix for *PRINT-CASE* :CAPITALIZE and word determination (see
	CLHS *PRINT-CASE* and STRING-CAPITALIZE)
	... also note unpleasant discovery about lack of threadsafety
		in the printer
2004-03-08 21:59:47 +00:00
Alexey Dejneka 086056ed37 0.8.8.18:
* VALID-FUN-USE:
        ** when checking result type, intersect NODE-DERIVED-TYPE with
           the trusted type assertion, if it exists;
        ** recognize NIL for RESULT-TEST as "always succeeds".
2004-03-07 07:50:51 +00:00
Christophe Rhodes 8bc4923b67 0.8.8.17:
Make CLOSE works on STRING-STREAMs
2004-03-06 22:09:43 +00:00
Christophe Rhodes 4f7e45c9c4 0.8.8.16:
Allow CLOSE to work on (MAKE-CONCATENATED-STREAM)
2004-03-06 19:54:51 +00:00
William Harold Newman 7628542a73 0.8.8.15:
hacked TRACE :PRINT code so that it does TERPRI as well as
		FRESH-LINE (which is perhaps less elegant than doing
		only one or the other, but seems to be more robust
		than the previous FRESH-LINE-only solution)
	fixed overlooked merge conflict in NEWS (pointed out by
		Neil Schemenauer)
2004-03-06 03:02:19 +00:00
William Harold Newman 308a685dde 0.8.8.14:
introduced SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism
	fixed trivial bug in CONCATENATED-N-BIN
2004-03-05 13:02:20 +00:00
Christophe Rhodes b5e062b2e6 0.8.8.13:
CONCATENATED-STREAM-STREAMS fix
	... yes, do discard streams.  The old behaviour said "keep streams
		around for closing", but that's actually the user's job.
2004-03-04 11:12:45 +00:00
Christophe Rhodes af296975b3 0.8.8.12:
PFDFixes
	... ECHO-STREAM and end-of-file
	... *PRINT-BASE*, *PRINT-RADIX* and ratios
2004-03-02 16:23:21 +00:00
Christophe Rhodes f6a2e547ef 0.8.8.11:
Exploit the new widetag structure on PPC.
2004-03-02 09:37:48 +00:00
Christophe Rhodes cd875f8c1f 0.8.8.10:
MORE MICRO-OPTIMIZATION
	... renumber all widetags.  (LESS BINARY-COMPATIBILITY)
	... implement some smarter type tag checking on the x86.

	The smarter type checking comes in several flavours.

	* If we have two adjacent lowtags, in three cases out of four
	  we can do "and, cmp, branch", rather than
	  "cmp, branch, cmp, branch";
	* If we have two lowtags that are unadjacent but differ by
	  just one bit, we can likewise do "and, cmp, branch" rather
	  than "cmp, branch, cmp, branch";
	* If we have a contiguous range of lowtags that includes the
	  most positive lowtag, we do not need to test the upper bound;
	* If we have four lowtags with only two bits different, we can
	  do "and, cmp, branch" rather than *four* "cmp, branch" pairs.

	This change will conflict with ongoing 64-bit ports.  The
	conflict is resolvable (there are enough widetags in the "array"
	range (which in practice is 130 - 254; currently there are five
	in this range unused (or three with long-float arrays)
2004-03-01 23:22:25 +00:00
Christophe Rhodes a2feba471e 0.8.8.9:
Reinstate some compiler transforms for STRINGoid types.
	... since STRING is now a union type, some compiler transforms
		would give up (unnecessarily) with arguments of such
		a type, even when the conditions were otherwise
		favourable;
	... extend the logic in those transforms to deal with arrays
		with the same 'shape' but different specialized
		array element type
2004-03-01 21:32:42 +00:00
Christophe Rhodes 1d46d379bb 0.8.8.8:
Fix for CLEAR-INPUT
	... its optional argument can be NIL or T as well as a stream;
	... since we're in the area,
	  s/STREAMLIKE/STREAM-DESIGNATOR/
	  s/STRINGABLE/STRING-DESIGNATOR/
	  s/SYMBOLS/SYMBOLS-DESIGNATOR/
	  (and move SYMBOLS-DESIGNATOR and PACKAGE-DESIGNATOR to
	  deftypes-for-target.lisp where they belong)
	Note *ZAP-ARRAY-DATA-TEMP* as a source of non-threadsafety
	in ADJUST-ARRAY
2004-03-01 20:30:23 +00:00
Christophe Rhodes a6103aace1 0.8.8.7:
MAKE-STRING-INPUT-STREAM fixes
	... :END can be NIL;
	... coerce non-(simple-array character (*))s to that type.
	Also fix an erroneous test and message in ADJUST-ARRAY.
2004-03-01 20:23:30 +00:00
Christophe Rhodes 7861b0dc2f 0.8.8.6:
Some fixes for ADJUST-ARRAY
	... make sure we copy the element in a zero-rank array;
	... don't adjust simple arrays, even if it doesn't break
		anything (because there's probably lying to compilers
		going on).
2004-03-01 16:21:14 +00:00
Christophe Rhodes 4f45338a22 0.8.8.5:
Implemented *-MOD32 on the PPC
2004-03-01 15:08:21 +00:00
Christophe Rhodes 93b8975500 0.8.8.4:
Restore cross-compilability, by making ldso-stubs.S in host-1
2004-02-27 09:41:37 +00:00
Christophe Rhodes 86c6cea80b 0.8.8.3:
MORE BACKSLASHES
	... restore buildability on x86/linux, and probably other places,
		by escaping backslashes as necessary
2004-02-26 12:15:01 +00:00
Christophe Rhodes fab1ba8d4e 0.8.8.2:
Merge build patch ("building SBCL with Sun toolchain" Nikodemus
	Siivola sbcl-devel 2004-02-05)
	... add some assertions to ldso-stubs.lisp
	... fix the conditional around dlopen()
	... delete ~% pasteo from sparc-funcdef.sh
2004-02-26 08:36:22 +00:00
William Harold Newman 20e05e5ed4 0.8.8.1:
text fiddling:
		corrected credits on the big OS X patch
		some explanation from Brian Mastenbrook on the big
			OS X patch (with more, for sigreturn() stuff,
			in the queue and expected to be checked in soon)
		tweaked oft-misunderstood diagnostic output
2004-02-25 17:41:42 +00:00
William Harold Newman 464f56e1e4 0.8.8:
release, tagged as sbcl_0_8_8
2004-02-24 22:52:25 +00:00
William Harold Newman ded744f74a 0.8.7.57:
merged Brian Mastenbrook's "SBCL-on-Darwin state" patch
		(sbcl-devel 2004-02-18)
2004-02-20 18:15:10 +00:00
Christophe Rhodes 1f7f3d741e 0.8.7.56:
Fix for bug revealed by ITERATE on PPC
	... the powerpc backend has no branch delay slot, so putting the
		last defaulting operation after the branch doesn't work
		so well
	... neither does the alpha, so fix that too, even though with a
		higher REGISTER-ARG-COUNT value it's not exposed by
		ITERATE
	... cook up a test case that's likely to catch the problem
		elsewhere, if present
2004-02-19 00:09:06 +00:00
Alexey Dejneka e21e48c032 0.8.7.55:
* Fix typo in FIX-NLE-BLOCK-STACKS: s/exit-var/exit-lvar/
          (thanks to sexp from #lisp).
2004-02-18 03:04:09 +00:00
Christophe Rhodes 147f24abbb 0.8.7.54:
Fix unbelievably long-standing RUN-PROGRAM bug (190) once
	and for all
	... sigtrap_handler() in ppc-arch.c was just completely wrong; it
		handled the SIGTRAP multiple times.  Oh well :-)
2004-02-17 17:59:38 +00:00
Christophe Rhodes d6d808d530 0.8.7.53:
Implement tc{get,set}attr() for sb-posix
	... yet more horrible kludges that will need fixing once sb-grovel
		generates alien types -- including one in constants.lisp
2004-02-17 16:50:30 +00:00
Christophe Rhodes cd13034f94 0.8.7.52:
Miscellaneous fixes
	... fix bad behaviour on install.sh on missing directories (reported
		Zach Beane sbcl-devel 2004-01-16)
	... fix PUSHNEW docstring (patch VJA sbcl-devel 2003-12-30)
	... call PACK-BEFORE-GC-HOOK by hand in make-target-2.sh, to get
		core sizes down a bit (2Mb on x86, 6Mb on PPC).  We're still
		awaiting a proper fix, though.
2004-02-12 10:32:30 +00:00
William Harold Newman ab03a2f300 0.8.7.51:
merged Zach Beane's option processing changes patch from
		sbcl-devel
	trivial formatting and comment changes elsewhere
2004-02-12 01:30:13 +00:00
Christophe Rhodes 082a5f0fdc 0.8.7.50:
Fix build on non-Linux (or at least SunOS).
	... I hope I haven't broken the build on non-SunOS...
2004-02-11 19:37:00 +00:00
Christophe Rhodes 32c8edbd49 0.8.7.49:
Make sb-bsd-sockets properly depend on sb-grovel.  The disadvantage
	of reaching into sb-grovel internals is more than balanced by the
	advantage of not having two similar but diverging implementations
	of the same functionality.  (patch VJA sbcl-devel 2004-02-08)
2004-02-11 11:00:39 +00:00
Christophe Rhodes f3f1143a09 0.8.7.48:
Allow opening of streams with element-type larger than 32 bits
	... autogenerate an input/output routine if it's none of our
		friendly predefined ones are applicable
	... arbitrary constants, endianness issues and the like are
		all wilfully ignored.
	... passes 12 more of PFD's ansi-tests!
2004-02-09 20:25:59 +00:00
William Harold Newman 1422f9e5fa 0.8.7.47:
fixed bug: FORMAT ~W interpreter dependence on ATSIGNP
2004-02-08 19:37:53 +00:00
Christophe Rhodes a22dd643fb 0.8.7.46:
Improve DESCRIBE and INSPECT slightly
	... make condition objects less opaque to inspect
	... likewise funcallable-instances
	... make generic functions /more/ opaque to DESCRIBE...
		... so now (describe #'print-object) only
		takes up 4 screens, not hundreds
2004-02-06 13:36:04 +00:00
William Harold Newman ffdebb412a 0.8.7.45:
merged patch from Robert E. Brown to OAOOify and tidy the
		coercion of SORT-related function designators to
		functions
2004-02-05 02:13:17 +00:00
William Harold Newman 1b778d4357 0.8.7.44:
simplified *FOP-STACK* mechanism (fixing bug when *FOP-STACK*
		was expanded within nested LOADs; also slightly
		pessimizing performance, O(10%) in simple benchmark)
2004-02-05 01:19:18 +00:00
Christophe Rhodes 8cd789d3fc 0.8.7.43:
Allow SET-PPRINT-DISPATCH to take symbols as arguments
	... possibly violate ANSI by immediate coercion to function
	... move things around so that I can add the pprinting
		functions to fndb (new host-pprint file)
	... also delete unused WHITESPACE-CHAR-P
2004-02-04 21:16:23 +00:00
Christophe Rhodes e14f0127e9 0.8.7.42:
Make STREAM-ELEMENT-TYPE and FRESH-LINE work better on
	BROADCAST-STREAMs
	... also fix various odd close behaviours -- compound streams
		should probably all get closed by CLOSE, even if their
		constituents don't
2004-02-04 15:48:43 +00:00
Christophe Rhodes f80a86227b 0.8.7.41:
Make {IN,OUT}PUT-STREAM-P work on synonym streams
	... looks like pvaneynd's HIGH-SECURITY is in fact necessary
	... delete workarounds for this through the rest of the stream
		code while I'm at it.
2004-02-04 14:07:52 +00:00
Christophe Rhodes 531b03cfcb 0.8.7.40:
Merge patch (Vincent Arkesteijn sbcl-devel 2004-02-03) for
	ASDF-INSTALL (and my patch lisppaste/113 for namestrings)
	... :name "" no longer prints the same as :name nil
	... make the asdf-install:directorified pathname more
		robustly
	... also add a couple of :supersedes.  ARGH WHY DOES
		SB-BSD-SOCKETS STILL HAVE ITS OWN FAKE SB-GROVELALIKE?
2004-02-03 14:17:08 +00:00
Christophe Rhodes c2dc8ac533 0.8.7.39:
F_GETFL and test case from Helmut Eller for sb-posix
2004-02-02 17:13:31 +00:00
Christophe Rhodes b20abacbe7 0.8.7.38:
Make (specifier-type 'atom) unparse as ATOM, now that we have
	a non-sucky negation-type and NOT translator
2004-02-02 16:58:34 +00:00
Christophe Rhodes 94743c6e54 0.8.7.37:
Fix for the type translation of the class corresponding to
	(SIMPLE-ARRAY (UNSIGNED-BYTE 15) (*))
2004-02-02 16:19:14 +00:00
Christophe Rhodes 84271f268f 0.8.7.36:
SB-POSIX fcntl binding, inspired by Helmut Eller (with cribbing
	from Vincent Arkesteijn's ioctl())
	... add constants
	... write three variants like ioctl (for two-arg,
		third-arg-integer and third-arg-pointer versions)
2004-02-01 16:31:05 +00:00