Commit graph

3404 commits

Author SHA1 Message Date
Christophe Rhodes 62f4bd1032 2.6.8: will be tagged as "sbcl-2.6.8" 2026-08-28 17:31:36 +01:00
Charles Zhang eb3d6740f5 Adjust NEWS
To be slightly more accurate.
2026-08-27 13:18:55 +02:00
Stas Boukarev ecf9f81f92 Adjust NEWS
That was done in the previous release.
2026-08-27 00:31:19 +03:00
Christophe Rhodes fa26f84013 Draft NEWS for sbcl-2.6.8 2026-08-26 22:22:46 +01:00
Christophe Rhodes 09782c9c16 2.6.7: will be tagged as "sbcl-2.6.7" 2026-07-28 09:09:19 +01:00
Stas Boukarev c56f9b9d3c Typos 2026-07-24 15:55:57 +03:00
Christophe Rhodes 7969fb58e8 more draft NEWS 2026-07-24 11:37:41 +01:00
Gabor Melis 223bc344bd Add documentation changes to NEWS 2026-07-23 16:12:31 +02:00
Christophe Rhodes 8fbf3824e4 2.6.6: will be tagged as "sbcl-2.6.6" 2026-06-28 09:33:48 +01:00
Stas Boukarev a248b46823 NEWS 2026-06-27 16:02:13 +03:00
Christophe Rhodes 73c2618272 Draft NEWS for sbcl-2.6.6 2026-06-27 12:56:07 +01:00
Gabor Melis 2868d4dd0e doc: define and clean up docstring syntax
Previously, the format was ad-hoc and implicitly defined by
doc/manual/docstrings.lisp. Now, it is a bit less ad-hoc and still
implicitly defined docstrings.lisp.

The syntax is now a simple, strict subset of Markdown with escaping
extensions. The long comment near the top of docstrings.lisp has the
documentation.

Some notable changes:

- Markdown backticks are supported (e.g. `exit`(3),
  `/usr/local/bin/`).

- When the heuristic codification is overly eager, use backslashes to
  prevent codification (e.g. \\HTTP, where the backslash is doubled
  assuming that this is in a docstring).

- It is now possible to have code that's not downcased
  (`\\\\AC_LOCAL`, backslashes doubled again).

- Fenced code blocks are supported (but use them sparingly).

- Texinfo @itemize is used instead of @table.

- Texinfo @var was inconsistently used at best. What used to be @var
  is now simply @code.

For the user, the most visible effect of this change is that the
manual has much fewer errors in codification, and a few docstrings
have backticks and escapes in them, which should be acceptably
readable in the sources or via CL:DOCUMENTATION.
2026-05-30 11:14:29 +02:00
Gabor Melis 39ea7adbef Bind *PRINT-READABLY* to NIL when printing TRACE "returned" message
It was already bound to NIL for the "call" message.
2026-05-30 11:01:45 +02:00
Gabor Melis 48063e4170 doc: document sb-introspect 2026-05-30 10:57:36 +02:00
Gabor Melis d9b4878a31 Make FDEFINITION not strip encapsulation
This fixes the ANSI non-compliance passed down from early
CMUCL (1991-10-31). The bug was that FDEFINITION did not return the
same value as SYMBOL-FUNCTION for symbols (lp#799533). The fix is an
incompatible change but only affects encapsulated (e.g. TRACEd and
SP-PROFILE:PROFILEd) non-generic functions.

However, encapsulations belong to the definition (the name) and not to
the function associated with the name, so (SETF (FDEFINITION NAME) FN)
strips encapsulations from FN and keeps the encapsulations of NAME.

- SB-EXT:UNENCAPSULATED-FUNCTION was added.

- Encapsulated functions are printed as

    #<FUNCTION FOO ENCAPSULATED>

  or, if they have no proper name, as

    #<FUNCTION FOO ENCAPSULATED {B1782332}>

  This is the same as for unencapsulated functions except for the
  additional " ENCAPSULATED".

- Unused slots were removed from SB-PROFILE:PROFILE-INFO.

- Since generic function identity is stable in face of encapsulation,
  CLOS is largely unaffected by this change.
2026-05-30 10:55:46 +02:00
Christophe Rhodes 85913ede1f 2.6.5: will be tagged as "sbcl-2.6.5" 2026-05-29 20:30:14 +01:00
Christophe Rhodes ca665565e5 Draft NEWS for sbcl-2.6.5 2026-05-28 21:36:13 +01:00
Jan Moringen 2720527dfa Fix TAKE-NEW restart in EXPORT 2026-05-17 19:57:31 +02:00
Jan Moringen 7aee69c495 Fix KEEP-OLD restart in ADD-PACKAGE-LOCAL-NICKNAME 2026-05-16 12:39:15 +02:00
Christophe Rhodes ec1f07e79a Make sure TYPE-ERRORs have valid DATUM and EXPECTED-TYPE
We should not make generalized instances of TYPE-ERROR with unbound
DATUM or EXPECTED-TYPE, or where the DATUM is actually of type
EXPECTED-TYPE.  With #+sb-devel, provide a special variable to check
for mismatch when creating the condition, and turn that switch on when
running tests.

Fix the issues that this reveals:

- in sequence-related code, make sure any errors relating to the
  length mismatch between expressed type and sequence length have a
  precise size if appropriate.

- also in sequence-related code, special-case the NIL sequence type
  specifier, which is a recognizable subtype of LIST and VECTOR and
  yet not a good type for making sequences.

  (arguably the type error that the standard "expects" us to signal
  for the bad cases of MAKE-SEQUENCE and friends is that the
  constructed sequence is not of the type given by the type specifier,
  rather than that the type specifier is not of some strange
  VALID-MAKE-SEQUENCE-TYPE-SPECIFIER type.  However, that's not what
  we currently have.)

- in stream-related code, make new predicates for
  {BINARY,CHARACTER}-{INPUT-OUTPUT}-STREAM-P and use them in the ILL-X
  stream functions.

- make the PCL-internal MISSING-SLOT condition not be a TYPE-ERROR.

- make accessing an uninitialized structure slot, from &AUX arguments
  in BOA constructors with no defaults, not be a type error (according
  to the standard, accessing an uninitialized slot is undefined
  behaviour).
2026-05-05 21:37:09 +01:00
Christophe Rhodes 39a97c7328 Restore non-simple strings of length 1 as character designators
The 1 in the (STRING 1) type refers to the size of the underlying
array, not the length of the sequence.
2026-05-02 23:07:41 +01:00
Christophe Rhodes 1a0e4afd51 2.6.4: will be tagged as "sbcl-2.6.4" 2026-04-29 20:26:57 +01:00
Stas Boukarev 7cabf02c65 Spell-check NEWS
[skip ci]
2026-04-28 23:52:26 +03:00
Christophe Rhodes 3fbd492e48 fixes to NEWS 2026-04-28 20:35:36 +01:00
Christophe Rhodes 6fff197f35 First draft of NEWS for sbcl-2.6.4 2026-04-27 18:30:32 +01:00
Christophe Rhodes 45d6d63a4b 2.6.3: will be tagged as "sbcl-2.6.3" 2026-03-29 17:01:54 +01:00
Stas Boukarev 8ed6652bd0 Augment NEWS
The x86 thing was just a fallout of a preceding change.
2026-03-28 15:15:21 +03:00
Christophe Rhodes dad5194802 Draft NEWS for sbcl-2.6.3 2026-03-28 11:34:20 +00:00
Jan Moringen f3bc9d50f5 Restore (use-package "KEYWORD" PACKAGE) signaling an error
Before this change, the wrong variable was checked for the presence of
the KEYWORD package so that no error was signaled.

The test :USE-KEYWORD-NOPE was designed to test this behavior but
didn't catch the regression because the specific test case

  (use-package "KEYWORD" "CL-USER")

/did/ signal an error, but not the right one.  The wrong error was a
NAME-CONFLICT between :IF and CL:IF.
2026-03-10 16:24:45 +01:00
Christophe Rhodes 2c7d86644a 2.6.2: will be tagged as "sbcl-2.6.2" 2026-02-27 18:08:03 +00:00
Christophe Rhodes dfe72e1c9f Add a NEWS item for the weak hash table fix 2026-02-27 17:43:16 +00:00
Christophe Rhodes 62772437e1 Draft NEWS for sbcl-2.6.2 2026-02-26 15:35:37 +00:00
Stas Boukarev 7c540dc551 Fix set_csp_from_context on arm64
It stores zero in thread->control_stack_pointer when in lisp.
2026-02-16 08:23:37 +03:00
Christophe Rhodes 4aa5b5ae59 2.6.1: will be tagged as "sbcl-2.6.1" 2026-01-26 21:10:06 +00:00
Christophe Rhodes 144dc92eaa News entry for CLRHASH fix 2026-01-24 14:04:33 +00:00
Stas Boukarev ad2e87ded3 Increase NEWS. 2026-01-23 18:18:50 +03:00
Christophe Rhodes 211da727e6 First draft of NEWS for sbcl-2.6.1 2026-01-23 12:36:05 +00:00
Christophe Rhodes fc9f5a9d14 2.6.0: will be tagged as "sbcl-2.6.0" 2025-12-28 10:52:54 +00:00
Christophe Rhodes 245c760ed5 NEWS typo 2025-12-28 10:51:28 +00:00
Christophe Rhodes fbd195cd81 One more NEWS item 2025-12-27 22:42:59 +00:00
Stas Boukarev b843f98369 Revert "Call SQRT when doing (expt x 0.5)"
This reverts commit 7bd07705f9.

Does not produce consistent results.
2025-12-27 21:33:26 +03:00
Christophe Rhodes e3b788fedb Update NEWS 2025-12-27 11:18:00 +00:00
Christophe Rhodes f326578ecb First draft of NEWS for sbcl-2.6.0 2025-12-24 11:39:09 +00:00
Christophe Rhodes ea206da2d4 Suppress #A mostly like #C in SB-COVER source mapping reader
Fixes SB-COVER in the presence of #A(dim type . contents) syntax,
lp#2134290.
2025-12-07 10:24:43 +00:00
Christophe Rhodes e33d8d8753 2.5.11: will be tagged as "sbcl-2.5.11" 2025-11-30 15:14:42 +00:00
Stas Boukarev 0966592ac0 Add to NEWS 2025-11-30 17:46:26 +03:00
Christophe Rhodes 2844197a4d NEWS for sbcl-2.5.11 2025-11-30 14:35:55 +00:00
Christophe Rhodes baa9da2fc3 Reduce SB-MD5's compiler policy restrictions
Do not do anything in the :LOAD-TOPLEVEL case (the common case for
requiring the sb-md5 contrib module).  Also undo the compiler policy
restriction used to compile the md5 routines at the end of the file.
2025-11-18 22:29:26 +00:00
Christophe Rhodes c7db82eee4 Fix unbounded data growth with store-coverage-data
In order to track whether a path has already emitted a coverage mark
in a given block, rather than have a hash-table keyed on paths with a
list of blocks as the value, give each block for which coverage is
emitted at all a table of source paths to act as a set.  This means
that there are no additional links to blocks during compilation, which
therefore means that they don't cause retention of their component,
which would otherwise transitively retains a whole heap of IR2
structure.

(This allows a build storing coverage marks for the system itself to
complete in a host lisp with a dynamic-space-size of 700MB, as used in
builds in github's CI.)
2025-11-12 22:14:06 +00:00
Christophe Rhodes 81cc4b07c9 Improve ENOUGH-NAMESTRING on logical pathnames
If the hosts are the same, no need to include it in the (enough)
namestring, because parsing and merging will use the default host.
2025-11-09 21:06:13 +00:00