Commit Graph

1162 Commits

Author SHA1 Message Date
vsc
a4f158fd33 more fixes to CLPBN
fix some Yap overflows.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1216 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-20 21:44:58 +00:00
vsc
a013a38c7b get rid of debugging messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1215 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-16 06:19:00 +00:00
vsc
94b1984a7f update graphviz interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1214 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-16 06:17:18 +00:00
vsc
319207d3c6 small bug fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1213 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-16 06:08:57 +00:00
vsc
7acacd1618 new version
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1212 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-16 06:07:07 +00:00
vsc
ae2a53d2e3 fix overflows
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1211 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-16 05:57:32 +00:00
vsc
3824534ee8 further updates to CLP(BN): fixes on variable elimination and
graph display with graphviz.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1210 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-11 19:53:43 +00:00
vsc
49455985b3 include two extensions for CLP(BN): dumping in XBif format (XML) and
aggregate averages.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1209 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-08 22:32:34 +00:00
vsc
2f2ba300c1 fix alignment problem with DLMALLOC and sparc
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1208 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-08 16:54:33 +00:00
vsc
84a0996e13 polish changes to undefp
get rid of a few warnings


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1207 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-08 04:45:04 +00:00
vsc
730b9badad missing ;
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1206 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-08 00:56:35 +00:00
vsc
ac7efbaabf more grow fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1205 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-08 00:10:48 +00:00
vsc
1fd9afa013 after using file from -l option we should get rid of it.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1204 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 19:24:13 +00:00
vsc
db9a865263 fix memory overflow
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1203 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 16:54:58 +00:00
vsc
f70af77e0c fixes for coroutining only
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1202 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 13:46:53 +00:00
vsc
f0f6dd9de5 fix USE_LD to eventually be restorable.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1201 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 06:01:55 +00:00
vsc
55c4f87043 garbage collector got confused about attributed variables if it also
had to do heap expansion!


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1200 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 04:56:27 +00:00
vsc
8437a80a1d avoid infinite loops where undef calls undef for ever.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1199 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-07 04:35:22 +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
0fe29b48b4 fix bug in removing first clause of a try sequence (lu preds)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1197 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-06 04:50:22 +00:00
pmoura
385035f2a5 Logtalk 2.22.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1196 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-05 21:52:49 +00:00
vsc
5a715bce75 change version number
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1195 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-05 16:39:44 +00:00
vsc
b0e6364cab name/2 should accept [] as a valid list (string)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1194 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-05 05:07:26 +00:00
vsc
5143aebb01 try to reduce overheads when running with goal expansion enabled.
CLPBN fixes
Handle overflows when allocating big clauses properly.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1193 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-05 05:01:45 +00:00
vsc
94af3000fe fix threads so that they at least start
allow error handling to work with threads
replace heap_base by Yap_heap_base, according to Yap's convention for globals.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1192 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-12-02 06:06:47 +00:00
pmoura
d6bbeaa734 Logtalk 2.22.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1191 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-29 20:36:31 +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
43f422c5d2 was always forcing restore
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1187 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-23 21:17:47 +00:00
vsc
bd965693e4 A few extra fixes for saved states.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1186 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-23 21:16:21 +00:00
vsc
c083c838bb First step to actually handling scanner overflows the right way
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1185 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 22:28:06 +00:00
vsc
36878b9a2b oops...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1184 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 16:31:33 +00:00
vsc
6c7b891ec8 previous fixes would not work for ! (eg, call((!,X=2;X=3))).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1183 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 16:22:14 +00:00
vsc
1c681ebd9b undo silly change to meta-calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1182 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 06:14:48 +00:00
vsc
fda0b76f18 fix meta-call on system predicates bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1181 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 05:48:43 +00:00
vsc
9dfcbc1de9 replace SYSTEM_ERROR by out OUT_OF_WHATEVER_ERROR whenever appropriate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1180 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-19 22:08:43 +00:00
vsc
7d245377a3 change abort so that it won't be caught by handlers.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1179 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-19 21:32:53 +00:00
vsc
0070c26061 a few fixes for 64 bit compiling.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1178 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-19 17:14:15 +00:00
vsc
8d2cb067ec fix situation where we might assume nonextsing double initialisation of C predicates (use
Hidden Pred Flag).
$host_type was double initialised.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1177 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-18 22:32:40 +00:00
vsc
481d9d38fb don't get confused when expanding over a hole
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-17 05:24:20 +00:00
pmoura
5f5589e8de Logtalk 2.21.6 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1175 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-16 19:37:30 +00:00
vsc
11ba3273da more bug fixes for CLP(BN)
Allow debugging of system procedures if written in Prolog.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1174 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-16 16:38:09 +00:00
vsc
6edf6f1dd3 fix DCGs to be closer to standard.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1173 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-05 03:03:54 +00:00
vsc
6853d8eecd don't ever use memory that has been freed (that was done by LU).
generic fixes for WIN32 libraries


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1172 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-04 18:22:36 +00:00
pmoura
20dcf89f9a Logtalk 2.21.5 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1171 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-03 00:13:01 +00:00
vsc
91d385147e ensure_loaded would never again reconsult a file, even if the file
had been changed meanwhile.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1170 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-01 15:54:01 +00:00
vsc
33207cac91 fix bug in handling Yap heap overflow while adding new clause.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-10-31 02:18:04 +00:00
vsc
2dfdca263d Use Doug Lea's malloc as an alternative to YAP's standard malloc
don't use TR directly in scanner/parser, this avoids trouble with ^C while
consulting large files.
pass gcc -mno-cygwin to library compilation in cygwin environment (cygwin should
compile out of the box now).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1168 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-10-28 20:12:23 +00:00
vsc
f267e74737 bug fixes on memory overflows and on clauses :- fail being ignored by clause.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1167 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-10-27 15:56:34 +00:00