sbcl Log


Commit Date  
[bad78f] by David Lichteblau David Lichteblau

Port tests/expect.sh, foreign.test.sh to FreeBSD's shell

Fixes clos.test.sh, foreign.test.sh on FreeBSD 9.1.

2012-09-14 17:36:21 Tree
[60bb50] by David Lichteblau David Lichteblau

Tweak slam.sh to be slightly more configurable regarding the host binary

Developers building with an existing SBCL as a host, which is not
installed as "sbcl" in the path, or which needs a --core option, can
now set XC_LISP and XC_CORE prior to invoking slam.sh. Previously,
such a host could only be used with slam.sh after custom
modifications to the script.

The default behaviour is unchanged.

2012-09-11 12:56:35 Tree
[1b39d9] by Juho Snellman Juho Snellman

release.sh: Push accumulated automation changes.

2012-09-11 12:50:33 Tree
[5cfc11] by David Lichteblau David Lichteblau

Add dyndebug flags backtrace_when_lost, sleep_when_lost

Available when :SB-QSHOW is enabled, these settings can be enabled
through the SBCL_DYNDEBUG environment variable to customize SBCL's
behaviour prior to entry to ldb.

With backtrace_when_lost, lossage shows a backtrace before
continuing with the lossage handler as usual. (Thanks to Dmitry
Kalyanov for this idea, here committed as a dyndebug option.)

With sleep_when_lost activated, the monitor is preempted, and SBCL
will instead cease to do anything except for a OS-level sleep call.
This behaviour has proven useful in preserving a failing thread's
current state until an external debugger can be attached.

2012-09-11 12:42:51 Tree
[ebb604] by David Lichteblau David Lichteblau

Add odxprint, a replacement for FSHOW which can be configured at run-time

- A new macro odxprint(flag, "fmt", ...) performs the equivalent of
a printf("fmt", ...), but only if `flag' has been enabled at
run-time.

- Environment variables can be used to set flags, using either
SBCL_DYNDEBUG="flag1 flag2 flag3" syntax, or
SBCL_DYNDEBUG__FLAG1="nonempty string" syntax.

- Lisp feature SB-QSHOW enables support for odxprint-based FSHOW.
(Users who prefer to edit runtime.h to enable QSHOW can still do
so...) SB-QSHOW is enabled by default on Windows, where the
odxprint mechanism was first used.

- Implement FSHOW, FSHOW_SIGNAL on top of odxprint. Corresponding
flags are called fshow, fshow_signal.

- For gencgc_verbose, support a flag of the same name, since it is
conditional on QSHOW (inspite of not being implemented on top of
FSHOW).

- Does not yet support odxprint features specific to Windows debugger
integration; output is currently directed to stderr unconditionally.

This commit backports Anton Kovalenko's Windows-specific odxprint to
POSIX and integrates it with FSHOW.

2012-09-11 10:14:50 Tree
[0285aa] by David Lichteblau David Lichteblau

win32-os.c: Split up handle_exception

In preparation for various changes to exception handling, split up
handle_exception into separate functions for each kind of exception.

This change is entirely cosmetic in nature.

2012-09-11 09:21:22 Tree
[31a554] by Nikodemus Siivola Nikodemus Siivola

fix bug in SYMBOL-VALUE CAS expansion for constant arguments

2012-09-10 22:52:16 Tree
[8cef5f] by David Lichteblau David Lichteblau

Mention sb-safepoint, sb-thruption in base-target-features.lisp-expr

2012-09-10 16:32:02 Tree
[137710] by David Lichteblau David Lichteblau

Fix a corner case in RUN-INTERRUPTION

Loop in C, not Lisp, if only to appease the test suite.

2012-09-07 18:24:08 Tree
[8f4444] by David Lichteblau David Lichteblau

interrupt.h: Remove rtmin[01]_handler forward declarations

Left in accidentally from an earlier POSIX safepoint idea.

2012-09-07 18:24:08 Tree
[08efbe] by David Lichteblau David Lichteblau

Ignore an argument in x86's EMIT-CONSTANT-SEGMENT-HEADER

Fixes the build on this platform.

2012-09-07 14:09:35 Tree
[9d17f7] by Nathan Froyd Nathan Froyd

make SOCKET-RECEIVE work correctly when receiving overly-long UDP packets

Only copy as much data as the provided buffer can hold. Continue to return
the length provided from recvfrom as per documentation.

Fixes lp#1023438. Thanks to Robert Uhl for the fix.

2012-09-05 02:45:03 Tree
[c8ef1a] by Nathan Froyd Nathan Froyd

align inline constant section with long nops

Makes the disassembly much nicer, particularly at speed > space.

2012-09-05 02:24:37 Tree
[2357d3] by Nathan Froyd Nathan Froyd

add SSE instructions with two opcode bytes

This patch just introduces the formats, some helper functions, and most
of, if not all of, the xmm-xmm/mem ones. There's still quite some
interesting instructions left to add.

2012-09-03 00:38:09 Tree
[b8359d] by Stas Boukarev Stas Boukarev

Reading floats with large exponents no longer takes too much time.

Reading 1.0s1000000000000000 will attempt to construct a very large
bignum, which takes a considerable amount of time just to report in
the end that it cannot be represented as a float. Truncate the
exponent to manageable size before raising it.

Fixes lp#309070. Thanks to Paul Khuong for the help.

2012-08-31 21:38:13 Tree
[34d75f] by Stas Boukarev Stas Boukarev

Define _GNU_SOURCE when building contribs on Linux.

sb-posix:o-direct doesn't get grovelled without it.

2012-08-25 04:57:11 Tree
[6d9e22] by Stas Boukarev Stas Boukarev

disassemble: New customization variable sb-ext:*disassemble-annotate*.

sb-ext:*disassemble-annotate*: Controls whether to annotate
DISASSEMBLE output with source forms, defaults to T.

Also remove an unused function.

2012-08-24 23:35:26 Tree
[28346e] by Stas Boukarev Stas Boukarev

sb-bsd-sockets: Package clean up.

sb-bsd-sockets-internal: Don't use sb-c-call package, it's a
deprecated nickname for sb-alien, and sb-alien is already
used.
sb-win32-sockets-internal: Remove, not used anywhere.

2012-08-24 23:18:17 Tree
[b14aef] by Stas Boukarev Stas Boukarev

Fix test-case for bug-511072 in packages.impure.lisp

It was creating an error in an additional thread and didn't handle it
properly, which caused SBCL to bail out.
Reported by Mirko Vukovic.

2012-08-15 18:09:16 Tree
[c64c82] by Paul Khuong Paul Khuong

Add type declarations in stable-sort-list

* I'd copied some code from a preliminary development version.

2012-08-13 20:06:50 Tree
[088583] by Paul Khuong Paul Khuong

More efficient (stable) sort of lists

* (Reverse-) Sorted runs are mostly processed in linear time;

* Calls to the :key function are cached;

* Base cases now include specialised sorts for lists of
length 3 and shorter.

* Minimal test case for stable sorting.

2012-08-13 06:46:00 Tree
[9ec385] by Paul Khuong Paul Khuong

Fix the build on Darwin

* Darwin's assembler doesn't have default values for .fill directives.

* Only use call_into_lisp_tramp on darwin/x86, not darwin.

* Edit NEWS to note that threads have been OK on 10.8 since 1.0.58,
while we're here.

2012-08-13 06:45:51 Tree
[af1b96] by Lutz Euler Lutz Euler

Add a section about random number generation to the manual.

Document initial random state consistency, how to achieve or avoid
repeatability of random numbers, extensions with respect to seeding,
generation of random floats, and the currently used PRNG algorithm.

Move the docstring of SEED-RANDOM-STATE over from the "Miscellaneous
Extensions" section.

2012-08-12 18:56:40 Tree
[2af760] by Lutz Euler Lutz Euler

Add some missing launchpad references to NEWS.

2012-08-12 18:17:17 Tree
[3f8a69] by Jan Moringen Jan Moringen , pushed by Stas Boukarev Stas Boukarev

Mention SB-EXT:EXIT instead of SB-EXT:QUIT in docstrings, etc.

Suggest SB-EXT:EXIT instead of SB-EXT:QUIT in help string in
%INVOKE-DEBUGGER

Refer to SB-EXT:EXIT instead of SB-EXT:QUIT in docstring of
SB-EXT:SAVE-LISP-AND-DIE

Refer to SB-EXT:EXIT instead of SB-EXT:QUIT in docstring of
SB-EXT:*EXIT-HOOKS*

2012-08-12 04:05:16 Tree
Older >