2005-10-28 18:57:25 +01:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
"http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
|
|
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>YAP change log</title>
|
|
|
|
<link rel=stylesheet href="changes.css" type="text/css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<h1>Changes in YAP-5.1</h1>
|
|
|
|
|
|
|
|
<h2>Yap-5.1.0:</h2>
|
|
|
|
<ul>
|
2005-12-05 17:16:12 +00:00
|
|
|
<li> FIXED: dif/2 might get into trouble restoring assignments to
|
|
|
|
attributes. </li>
|
|
|
|
<li> NEW: Yap_DebugPlWrite and Yap_DebugErrorPutc for those debugging
|
|
|
|
moments. </li>
|
|
|
|
<li> FIXED: get rid of dead internal variable MutableList. </li>
|
|
|
|
<li> NEW: write_depth/3 for very large compound terms. </li>
|
|
|
|
<li> FIXED: new bug in garbage collection. </li>
|
2005-11-26 02:57:25 +00:00
|
|
|
<li> FIXED: overflow handling in DB/AttVars was resetting old var, and
|
|
|
|
wasn't resetting trail. </li>
|
|
|
|
<li> FIXED: when rebuilding DB term with attvars, set global var to
|
|
|
|
point to attvar. </li>
|
|
|
|
<li> NEW: add school CLP(BN) example. </li>
|
|
|
|
<li> NEW: add sc CLP(BN) example. </li>
|
|
|
|
<li> FIXED: make exception port more like a true port. </li>
|
|
|
|
<li> FIXED: don't run ^ in setof if there are no excess variables. </li>
|
|
|
|
<li> FIXED: prolog_load_context(directory) relied on dead code. </li>
|
2005-11-23 13:24:00 +00:00
|
|
|
<li> FIXED: some small beautifications for system/1, getcwd/1, sh/1, rename/2. </li>
|
|
|
|
<li> NEW: operating_system_error. </li>
|
2005-11-23 12:09:50 +00:00
|
|
|
<li> FIXED: Restore could not recover DL_MALLOC info and was not recovering
|
|
|
|
DBTerms correctly. </li>
|
|
|
|
<li> FIXED: with locking field, AtomNil and friends might not be
|
|
|
|
aligned, and would be confused with int. </li>
|
|
|
|
<li> FIXED: variables should always be reset when doing trail
|
|
|
|
expansion from the parser, even if there is no shifting (obs Trevor
|
|
|
|
Walker). </li>
|
2005-11-17 13:40:18 +00:00
|
|
|
<li> FIXED: growglobal with realloc was broken. </li>
|
|
|
|
<li> FIXED: with threads, self-deadlocking in new array codes. </li>
|
2005-11-16 01:55:03 +00:00
|
|
|
<li> FIXED: in tabling, use malloc when AllocCodeSpace fails. </li>
|
2005-11-15 00:50:49 +00:00
|
|
|
<li> FIXED: in tabling don't look inside cp_ap == NULL and fix recent
|
|
|
|
bug in walking dependency frames. </li>
|
|
|
|
<li> FIXED: with tabling ASP sometimes was miscalculated, causing
|
|
|
|
trouble with stack shifter (obs Kostis Sagonas). </li>
|
2005-11-13 02:43:52 +00:00
|
|
|
<li> FIXED: ~D should print bignums (obs Jude Shavlik). </li>
|
2005-11-10 01:55:12 +00:00
|
|
|
<li> FIXED: format's ~d and ~D were broken (obs Jude Shavlik). </li>
|
2005-11-10 01:27:13 +00:00
|
|
|
<li> FIXED: profiler should not talk about hidden predicates or idb entries. </li>
|
|
|
|
<li> FIXED: recentg change in setof could bind argument (obs
|
|
|
|
Jude Shavlik). </li>
|
|
|
|
<li> FIXED: EOF (-1) at debugger prompt would generate exception (obs
|
|
|
|
Jude Shavlik). </li>
|
2005-11-09 18:02:53 +00:00
|
|
|
<li> FIXED: ^C was very broken: break was not accepted, and debug,
|
2005-11-10 01:27:13 +00:00
|
|
|
trace and statistics did not work at all (obs Jude Shavlik). </li>
|
|
|
|
<li> FIXED: format_has_tabs could miss tab signs (obs Jude Shavlik). </li>
|
|
|
|
<li> FIXED: plug holes in memory allocation from scanner (obs
|
|
|
|
Mark Goadrich). </li>
|
|
|
|
<li> FIXED: instrument memory allocation when using system malloc. </li>
|
2005-11-08 13:57:41 +00:00
|
|
|
<li> FIXED: adjust_cp_hbs was readjusting consumer choice-points (it
|
2005-11-10 01:27:13 +00:00
|
|
|
can only adjust hb once) (obs Remko Troncon). </li>
|
2005-11-07 15:35:47 +00:00
|
|
|
<li> FIXED: try to make GC trace message "marked N vars" intelligible. </li>
|
2005-11-10 01:27:13 +00:00
|
|
|
<li> FIXED: garbage collection of mabindings was broken with tabling
|
|
|
|
(obs Remko Troncon). </li>
|
|
|
|
<li> FIXED: did not initialise tabling variables
|
|
|
|
(obs Remko Troncon). </li>
|
2005-11-07 15:35:47 +00:00
|
|
|
<li> FIXED: should have meta-predicate definitions for calls and
|
|
|
|
discontiguous. </li>
|
2005-11-05 23:56:10 +00:00
|
|
|
<li> FIXED: have discontiguous as a builtin, not just as a
|
2005-11-10 01:27:13 +00:00
|
|
|
declaration (obs Jude Shavlik). </li>
|
2005-11-05 03:02:33 +00:00
|
|
|
<li> FIXED: if first argument was unbound, comparisons might be
|
|
|
|
called with second argument undereferenced!! </li>
|
|
|
|
<li> FIXED: strip ^ before doing execute in setof or bagof. </li>
|
2005-11-05 01:28:28 +00:00
|
|
|
<li> FIXED: use CONST declarations in interface (thanks to Roberto Bagnara). </li>
|
2005-11-10 01:27:13 +00:00
|
|
|
<li> FIXED: absmi should consult PREG, not P (obs Remko Troncon). </li>
|
2005-11-05 01:28:28 +00:00
|
|
|
<li> FIXED: bad init in tabling code. </li>
|
2005-11-10 01:27:13 +00:00
|
|
|
<li> FIXED: YAP_MkBigIntTerm was broken (obs Roberto Bagnara). </li>
|
2005-11-01 18:19:44 +00:00
|
|
|
<li> NEW: update documentation to support new CLP(R) and CHR packages. </li>
|
|
|
|
<li> FIXED: regression in clpbn/utils.yap. </li>
|
2005-10-31 18:12:51 +00:00
|
|
|
<li> NEW: put_attrs/2. </li>
|
2005-10-31 12:44:29 +00:00
|
|
|
<li> FIXED: don't install CLP unless coroutining && rational trees are
|
|
|
|
active. </li>
|
2005-10-31 12:27:54 +00:00
|
|
|
<li> FIXED: syntax error in ypp.yap (obs Paulo Moura). </li>
|
|
|
|
<li> FIXED: save/restore should be as usual if using YAP allocation. </li>
|
|
|
|
<li> FIXED: save/restore FZ regs. </li>
|
|
|
|
<li> FIXED: $loop_stream could be defined early in boot process. </li>
|
|
|
|
<li> NEW: make rational trees default. </li>
|
2005-10-29 12:22:43 +01:00
|
|
|
<li> NEW: make enable-max-memory default. </li>
|
2005-10-29 03:21:47 +01:00
|
|
|
<li> FIXED: allow people to disable indexing (obs Ricardo Lopes). </li>
|
|
|
|
<li> FIXED: make undefined exception more ISO like (obs Paulo Moura). </li>
|
2005-10-29 02:28:37 +01:00
|
|
|
<li> FIXED: add missing dependency in chr's Makefile.in. </li>
|
2005-10-28 18:57:25 +01:00
|
|
|
<li> FIXED: fix corruption in ypp.yap. </li>
|
|
|
|
<li> FIXED: ~@ makes format a meta-predicate. </li>
|
|
|
|
<li> FIXED: format should do immediate exit on exception (from Prolog call). </li>
|
|
|
|
<li> FIXED: make format reentrant and thread-safe (format may call itself). </li>
|
|
|
|
<li> FIXED: don't complain if a module is loading a reexported
|
|
|
|
predicate and the original predicate. </li>
|
|
|
|
<li> FIXED: change a few defaults for SWI compatibility. </li>
|
2005-10-29 03:21:47 +01:00
|
|
|
<li> FIXED: library prandom was broken (obs Nuno Fonseca). </li>
|
2005-10-28 18:57:25 +01:00
|
|
|
<li> NEW: add max_tagged_integer and min_tagged_inter prolog_flags. </li>
|
|
|
|
<li> NEW: add ~@ option to format. </li>
|
|
|
|
<li> NEW: memberchk/2 is like builtin in SWI emulation lib. </li>
|
|
|
|
<li> NEW: SWI like prolog_source_location/2 </li>
|
|
|
|
<li> FIXED: $loop_stream usage was broken. Fix $fetch_stream_alias to
|
|
|
|
be bidirectional.</li>
|
|
|
|
<li> FIXED: allow nb_set followed by b_set, bheakkkk! The other way round
|
|
|
|
is still not allowed.</li>
|
|
|
|
<li> NEW: from SWI maplist/2, maplist/3, maplist/4.</li>
|
|
|
|
<li> NEW: call/2, call/3, call/4.</li>
|
|
|
|
<li> FIXED: disable mutables in SWI mode. </li>
|
|
|
|
<li> FIXED: safe C-preds should always use P when calling garbage
|
|
|
|
collector, aarrggh :-(, CP use found in GetTermFromArray.</li>
|
|
|
|
<li> NEW: SWI-like ord_empty/1 and ord_memberchk/2 in library(ordsets).</li>
|
|
|
|
<li> FIXED: safe call_c should check for signals before calling a built-in.</li>
|
|
|
|
<li> NEW: -p option allows setting path from command line.</li>
|
|
|
|
<li> FIXED: during grow, heap references should not be followed from trail.</li>
|
|
|
|
<li> FIXED: \= was not resetting wakeups correctly.</li>
|
|
|
|
<li> FIXED: copy_term was broken if attrs were an unbound variable.</li>
|
|
|
|
<li> FIXED: during garbage collection, heap references should be
|
|
|
|
copied to trail, and that's it.</li>
|
|
|
|
<li> FIXED: excessive backtracking in multifile declaration.</li>
|
|
|
|
<li> NEW: allow style_check(singleton) and style_check(-singleton).</li>
|
|
|
|
<li> NEW: SWI module now makes atom_concat/{2,3} behave like atomic_concat/{2,3}.</li>
|
|
|
|
<li> NEW: add SWI-like copy_term_nat/2.</li>
|
|
|
|
<li> NEW: add SWI-like get_time and convert_time, but using integers, not floats.</li>
|
|
|
|
<li> NEW: add SWI-like working_directory/2 and chdir/2.</li>
|
|
|
|
<li> NEW: add append/3 and member/2 to SWI module.</li>
|
|
|
|
<li> FIXED: use bootstrap/1 to load up system.</li>
|
|
|
|
<li> FIXED: use_module/3 did not get info on loaded_module.</li>
|
|
|
|
<li> NEW: use_load_files as main file loading option.</li>
|
|
|
|
<li> FIXED: broken do_print_message for defined_elsewhere.</li>
|
|
|
|
<li> FIXED: debugger option.</li>
|
|
|
|
<li> FIXED: trace through undefined predicates correctly.</li>
|
|
|
|
<li> FIXED: WIN32 missing include files (untested)</li>
|
|
|
|
<li> FIXED: -L trouble (my thanks to Takeyuchi Shiramoto-san)!</li>
|
|
|
|
<li> FIXED: debugging of backtrable user-C preds would core dump.</li>
|
|
|
|
<li> FIXED: redeclaring a C-predicate as Prolog core dumps.</li>
|
|
|
|
<li> FIXED: badly protected YapInterface.h.</li>
|
|
|
|
<li> FIXED: break/0 was failing at exit.</li>
|
|
|
|
<li> FIXED: YAP_cut_fail and YAP_cut_succeed were different from manual.</li>
|
|
|
|
<li> FIXED: tracing through data-bases could core dump.</li>
|
|
|
|
<li> FIXED: cut could break on very large computations.</li>
|
2005-11-10 01:27:13 +00:00
|
|
|
<li> FIXED: first pass at BigNum issues (obs Roberto Bagnara).</li>
|
2005-10-28 18:57:25 +01:00
|
|
|
<li> FIXED: debugger could get go awol after fail port.</li>
|
|
|
|
<li> FIXED: weird message on wrong debugger option.</li>
|
|
|
|
<li> FIXED: cases where restore/1 could break.</li>
|
|
|
|
<li> NEW: SWI predicates now update prolog module</li>
|
|
|
|
<li> NEW: port of Leslie's CLP(R) system.</li>
|
|
|
|
<li> NEW: generations in garbage collector.</li>
|
|
|
|
<li> SPEEDUP: optimise some garbage collector code.</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|