Did you know ... | Search Documentation: |
![]() | Title for pldoc(default) |
[Nov 18 2024]
bool
to correctly distinguish functions returning
true/false/*_OVERFLOW from those raising exceptions and only returning
true/false.[Nov 17 2024]
bool
).[Nov 16 2024]
~:D
The colon modifier for D
forces
the use of Prolog digit grouping using _
.[Nov 15 2024]
format_float(+Format)
and
format_integer(+Format)
Using a format seems a more sensible way to
control writing numbers from write_term/2. This patch removes the
previously introduced radix(+Radix)
option. If we want this back we
will implement it on top of format_integer(+Format)
.
This patch also contains a lot of small code cleanup and some optimization to low-level I/O.
radix(Radix)
. Experimental. Under
discussion as PIP-105. The current implementation writes, unlike XSB,
the radix prefix. We either need more options or we should consider
another alternative such as integer_format(+Format)
As this patch cleans up a lot of the code regarding numeric output and most will be needed anyway, it is merged despite the fact that the radix option may vanish eventually.
[Nov 14 2024]
~h
This provides compatibility to
SICStus. It also makes write/1 output for floats compatible to SICStus
for deciding between fixed point and exponential notation.[Nov 13 2024]
[Nov 8 2024]
[Nov 6 2024]
[Nov 5 2024]
Head[, Guard] ==> DCGBody
.libary(prolog_pack)
: detection of valid download URLs.[Nov 4 2024]
[Nov 3 2024]
plunit
requires clib
package.[Nov 1 2024]
[Oct 31 2024]
[Oct 29 2024]
[Oct 24 2024]
DISPLAY
when running xpce steps
(one more)[Oct 23 2024]
DISPLAY
when running xpce steps While
the build works without a DISPLAY variable, an invalid variable causes
the build to fail.wcsxfrm()
returns garbage.[Oct 22 2024]
setjmp()
/longjmp()
Clang demands using
a volatile variable for protecting the throw environment's parent.
This is probably correct, although it seems weird to place this
variable in a register.[Oct 19 2024]
theme/dark.pl
[Oct 18 2024]
[f(1), f(2)].
.
Reported by Uwe Neumerkel.[Oct 17 2024]
[Oct 15 2024]
[Oct 11 2024]
[Oct 10 2024]
[Oct 9 2024]
sem_timedwait()
[Oct 8 2024]
halt_grace_time
: graceful timeout limitarg(C,T,F)
I.e., arg/3 calls with a known
argument and the 3th index being a first var. These map to the
B_ARG_CF
VM instruction.[Oct 7 2024]
BUF_MALLOC
These functions could "stack" intermediate results,
overflowing the string stack when used excessively inside a single
foreign predicate or outside calls from Prolog (i.e., using "main"
in foreign code).[Oct 6 2024]
[Oct 5 2024]
[Oct 4 2024]
[Oct 3 2024]
BUF_MALLOC
.-g
goals.
Reported by Jos de Roounwind(halt(Status))
Older versions used
'$aborted'
PL_HALT_WITH_EXCEPTION
is used, PL_halt() tries to raise an
exception and returns false
. If the halt was cancelled, the return
is now true
(was false
). Otherwise, the function does not return.[Oct 2 2024]
unwind(halt(Status))
if possible.'$aborted'
unwind(...)
exceptions.unwind(thread_exit(Term))
.unwind(halt(Status))
to halt from an exception.unwind(Term)
exceptions.[Sep 30 2024]
time_t
is 64 bits, it doesn't seem to localtime()
seems broken handling large time offsets.[Sep 29 2024]
YYYY-MM
, which used to be a day too early.[Sep 30 2024]
[Sep 27 2024]
prefer_rationals
flag.[Nov 13 2024]
[Oct 2 2024]
[Nov 2 2024]
[Oct 12 2024]
[Sep 30 2024]
[Oct 2 2024]
[Sep 30 2024]
expires
For compatibility,
this is not converted by default.[Sep 29 2024]
[Nov 14 2024]
[Oct 6 2024]
[Oct 25 2024]
* ERROR: test_variable_attributes
(test_prologserver.TestPrologMQI.test_variable_attributes)
----------------------------------------------------------------------
Traceback (most recent call last): File
"c:/msys64/home/c7201178/swipl-devel/packages/mqi/python/test_prologserver.py",
line 95, in setUp
self.initialProcessCount = self.process_count("swipl")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"c:/msys64/home/c7201178/swipl-devel/packages/mqi/python/test_prologserver.py",
line 123, in process_count output =
subprocess.check_output(call)
.decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError:
'utf-8' codec can't decode byte 0xff in position 237: invalid start
byte
[Oct 2 2024]
[Oct 2 2024]
[Nov 6 2024]
[Oct 31 2024]
forall(Generator)
test.
This was completely broken. Format has been changed to print the
generator goal rather than just the variables.[Oct 9 2024]
[Oct 2 2024]
[Nov 17 2024]
BIO_C_FILE_TELL
and BIO_C_FILE_SEEK
for properly loading keys
from files.[Oct 2 2024]
[Oct 3 2024]
heartbeat()
to make Python process interrupts while
Prolog runs.exit()
Calls from Prolog to
Python, where Python raises a SystemExit() exception are mapped to
Prolog unwind(halt(Status))
exceptions or, for older versions into
abort/0, recording the exit status requested. Consisently, when
control comes back from Prolog to Python, the unwind(halt(Status))
raises SystemExit(Status) or, abort with recorded exit status raises
this Python exception.[Oct 2 2024]
[Oct 19 2024]
[Oct 18 2024]
[Oct 15 2024]
[Oct 8 2024]
C-x 5 2
and M-,
unwind()
exceptions from e.g. timer events calling
Prolog.[Oct 7 2024]
[Oct 2 2024]