Commit Graph

164 Commits

Author SHA1 Message Date
stasinos
00146978bf minor fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1508 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-10 11:35:27 +00:00
vsc
772a6ae805 fixes to reclaim space on error, allow compilation whitout GMP, and
improve docs.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1493 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-02 23:19:10 +00:00
vsc
72214cb08c fix interface and docs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1492 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-02 03:35:45 +00:00
vsc
e10213929a support new interface between YAP and GMP, so that we don't rely on our own
allocation routines.
Several big fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1490 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-02 02:16:19 +00:00
vsc
5c2e06ad50 write_depth/3
overflow handlings and garbage collection
Several ipdates to CLPBN
dif/2 could be broken in the presence of attributed variables.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1474 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-05 17:16:12 +00:00
vsc
5cfad07c92 update documentation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1434 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-01 18:19:44 +00:00
vsc
61d9980cf3 updates do documentation
put_attrs


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1433 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-31 18:12:51 +00:00
vsc
ee9b97222a more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1419 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-28 17:55:30 +00:00
rslopes
65c209a3f0 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1410 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-20 17:32:30 +00:00
rslopes
de30fd5fa0 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1409 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-20 08:18:30 +00:00
vsc
e6a15addf5 5.1:
- improvements to GC
   2 generations
   generic speedups
- new scheme for attvars
   - hProlog like interface also supported
- SWI compatibility layer
   - extra predicates
   - global variables
   - moved to Prolog module
- CLP(R) by Leslie De Koninck, Tom Schrijvers, Cristian Holzbaur, Bart
Demoen and Jan Wielemacker
- load_files/2

from 5.0.1

- WIN32 missing include files (untested)
- -L trouble (my thanks to Takeyuchi Shiramoto-san)!
- debugging of backtrable user-C preds would core dump.
- redeclaring a C-predicate as Prolog core dumps.
- badly protected  YapInterface.h.
- break/0 was failing at exit.
- YAP_cut_fail and YAP_cut_succeed were different from manual.
- tracing through data-bases could core dump.
- cut could break on very large computations.
- first pass at BigNum issues (reported by Roberto).
- debugger could get go awol after fail port.
- weird message on wrong debugger option.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1402 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-18 17:04:43 +00:00
vsc
7175b62a27 fix manual on bigint interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1400 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-15 02:43:59 +00:00
rslopes
eb4ef75c31 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1378 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-23 18:05:02 +00:00
rslopes
dd6ac01ece *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1373 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-22 14:38:04 +00:00
rslopes
2d53ee8b6b *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1371 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-22 13:42:05 +00:00
vsc
996272db22 YPP would leave exceptions on the system, disabling Yap-4.5.7
message.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1364 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-17 13:35:52 +00:00
vsc
0b420f5493 debugger was making predicates meta instead of testing
fix handling of dbrefs in facts and in subarguments.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1287 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-05-12 03:36:33 +00:00
vsc
056ccbc819 bug fixes, I hope!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1270 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-10 04:01:15 +00:00
ricroc
de17f5cca4 Adding tabling support for mixed strategy evaluation (batched and local scheduling)
UPDATE: compilation flags -DTABLING_BATCHED_SCHEDULING and -DTABLING_LOCAL_SCHEDULING removed. To support tabling use -DTABLING in the Makefile or --enable-tabling in configure.
  NEW: yap_flag(tabling_mode,MODE) changes the tabling execution mode of all tabled predicates to MODE (batched, local or default).
  NEW: tabling_mode(PRED,MODE) changes the default tabling execution mode of predicate PRED to MODE (batched or local).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1268 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-07 17:56:58 +00:00
vsc
b729ef2709 documentation fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1258 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-02 22:41:59 +00:00
vsc
de1a56c9f8 add some manual updates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1257 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-02 19:52:12 +00:00
vsc
f11ab09a60 try to make initialisation process more robust
try to make name more robust (in case Lookup new atom fails)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1254 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-02 18:35:49 +00:00
pmoura
bdff56d3b0 Improved Logtalk usage instructions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1248 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-21 17:06:45 +00:00
vsc
18f0de5486 fix log(0.0) and log10(0.0) to be SICStus compatible.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1245 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-18 21:34:02 +00:00
vsc
ee8e119602 at_end_of_line
max_list,min_list


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1237 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-01-29 04:43:14 +00:00
vsc
2ce853ec5f move to Yap-4.5.7
Fix clause size


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1236 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-01-28 23:14:41 +00:00
vsc
ef6bbb1273 some extra bug fixes for trail overflows: some cannot be recovered that easily,
some can.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1219 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-28 22:20:37 +00:00
vsc
037f478b31 update to 4.5.5
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1198 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 04:19:43 +00:00
vsc
2feba3d528 move to 4.5.4
small changes to make threads work again.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1190 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-29 04:43:15 +00:00
vsc
6e3af3ddd0 iso codes break make html
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1189 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-24 04:17:54 +00:00
vsc
afe24f8f7a fix documentation (Christian)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1188 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-24 04:13:50 +00:00
vsc
27a98ecdde add attvar/1 to system.
sort before printing attributed variables to get rid of duplicates.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1132 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-10 20:18:01 +00:00
vsc
1781ff9420 whole lot of fixes:
- memory leak in indexing
  - memory management in WIN32 now supports holes
  - extend Yap interface, more support for SWI-Interface
  - new predicate mktime in system
  - buffer console I/O in WIN32


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-08-11 16:14:55 +00:00
vsc
bb96fe5aea fix format/2 to rely on stream's putc if no ~t is found on string.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1089 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-07-06 18:24:40 +00:00
vsc
f6503f0100 fix multithreaded version
include new version of Ricardo's profiler
new predicat atomic_concat
allow multithreaded-debugging
small fixes


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1085 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-29 19:04:46 +00:00
vsc
a7f550d667 New comment-based message style
Fix thread support (at least don't deadlock with oneself)
small fixes for coroutining predicates
force Yap to recover space in arrays of dbrefs
use private predicates in debugger.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1084 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-23 17:24:20 +00:00
vsc
0101c09236 coroutining is now a part of attvars.
some more fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-05 03:37:01 +00:00
vsc
a6f1b27c09 misc fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1068 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-17 21:42:12 +00:00
vsc
e7fbb54532 Yap_WriteBuffer
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1067 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 17:56:47 +00:00
vsc
874758e936 support BigNums in interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1066 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 17:11:32 +00:00
vsc
0aa358a2b7 add Yap_ReadBuffer
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 16:33:47 +00:00
vsc
39044cd21c move to 4.5.3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1023 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-08 19:31:01 +00:00
vsc
dbe36978b6 documentation for thread support (stolen from Jan's SWI docs).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1021 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-08 15:38:36 +00:00
vsc
cd3142c211 fix ClSize for IDB
fix error handling for binary cmps


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1020 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-06 00:31:48 +00:00
vsc
ad685b6e5b fix missing ClSize in index.c
start introducing docs for threads (copied from SWI).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1019 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-05 17:27:53 +00:00
vsc
0092e6fd45 support yap_flag(system_options,...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1016 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-04 18:33:34 +00:00
vsc
860ea6d115 Take care to process heap overflows correctly.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@992 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-17 16:27:22 +00:00
rslopes
d4616d2f06 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@961 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-26 10:44:13 +00:00
vsc
221665bab8 support for tabling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@951 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-18 16:38:40 +00:00
vsc
1516c032e9 keep key_statistics/3 for compatibility with previous version.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@947 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-04 18:11:53 +00:00