Commit Graph

193 Commits

Author SHA1 Message Date
vsc
400b1958b2 fix atom garbage collector (although it is still off by default)
make valgrind feel better


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1797 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-18 00:26:36 +00:00
pmoura
b9b1e9bb96 Added documentation on the new thread_create/2 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1774 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-10 23:11:29 +00:00
pmoura
139e50a1ca Corrected some bugs in the implementation of thread_sleep/1. Changed implementation to make the call succeed and return immediately when the argument is zero or a negative value (matching the current threads standardization proposal).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1757 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 16:10:29 +00:00
pmoura
a24c8bee1c Updated Logtalk description and usage instructions. Corrected a few typos.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1753 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 14:50:27 +00:00
pmoura
bb78dc5c7b Improved the documentation of the predicate sleep/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1752 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 11:29:30 +00:00
pmoura
ce45aab144 Corrected typo.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1731 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-08 02:31:13 +00:00
vsc
bd015b83ee fix avl stuff and all/3 stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-19 15:09:03 +00:00
vsc
31fb1d0345 add documentation to recent changes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1688 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-25 23:22:12 +00:00
vsc
d8d4d1516d preliminary support for readutil library (SWI compatible).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1678 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-02 18:18:31 +00:00
pmoura
67628a482a Corrected typo preventing generation of HTML documentation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1663 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-02 22:07:32 +00:00
nunofonseca
9a941730f7 New LAM MPI module - documentation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1661 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-02 04:23:09 +00:00
pmoura
326c64ff2c Added a new multi-threading predicate, threads/0, which prints a nicely formatted table of current threads and their status. Similar to the predicate with the same name on SWI-Prolog except that it does not join terminated threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1658 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 23:46:57 +00:00
pmoura
ccc1bc0f3c Documented YAP compilation thread options.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1657 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 22:56:25 +00:00
pmoura
177317b73b Corrected two small typos (one of them on the definition of the VERSION parameter).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1656 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 22:17:42 +00:00
vsc
f5b9000018 include thread_sleep functionality.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 16:28:28 +00:00
vsc
b172a9e75d fixes to Makefile and manual.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1641 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 17:49:25 +00:00
vsc
b54dd9e2b9 more thread stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1631 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-04 18:46:50 +00:00
vsc
d9689d50d4 prolog_flag(toplevel_print_options,_) was undocumented and broken!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1611 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 16:02:20 +00:00
ricroc
9c12627e84 documentation for tabling execution.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1605 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-21 18:39:38 +00:00
vsc
5198ba1077 more graph stuff.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 15:28:08 +00:00
rslopes
b80a77e4b5 update version to Yap-5.1.2 (working version)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1601 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-13 12:02:39 +00:00
vsc
783ae4b9a0 fix syntax error message handling
improve redblack trees and use it to reimplement association lists and
to have better implementation of several graph algorithms.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-10 19:24:52 +00:00
vsc
30318bb60d Lots of fixes (check logfile for details
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1585 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-05 00:16:55 +00:00
vsc
01091f0bfa JPL and DL fixes
documentation fix.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1572 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-22 15:00:29 +00:00
vsc
1edb3a8115 fix indexing and tabling bugs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1567 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-20 19:51:44 +00:00
vsc
cf669ee72b fixes to garbage collector
fixes to debugger


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1558 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-06 14:04:57 +00:00
vsc
b8e524424c fix MacOSX interrupt handling
fix using Yap files as Yap scripts.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1555 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-03 23:11:30 +00:00
pmoura
42ca7aa79f Corrected some spelling typos.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1538 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-08 19:13:11 +00:00
pmoura
7b527b676e Updated Logtalk notes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1536 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-06 16:48:21 +00:00
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