Commit Graph

641 Commits

Author SHA1 Message Date
vsc
5fd92de03b further support for threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@647 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-22 03:45:24 +00:00
vsc
5a5c674300 disable stack shifting and garbage collection in the presence of
multiple threads.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@646 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-21 22:52:36 +00:00
vsc
0351b9f0ab make --enable-threads work on CVS release.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@645 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-21 22:14:29 +00:00
vsc
f7f3da7704 MacOSX dl patches by ROberto Chinnini
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@644 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-20 18:43:11 +00:00
vsc
a721ad3e27 more of the same module fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@643 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-18 14:52:58 +00:00
vsc
d21021da0d get rid of UnCutable
a:(a(X),b(X)) should be the same as a:a(X), a:b(X). Use PushModPred to
force that.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@642 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-18 13:54:53 +00:00
vsc
e19f91db60 missing variable when converting from P to S representation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@641 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 19:06:44 +00:00
vsc
b1b021d168 make it linux compatible again.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@640 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 03:42:14 +00:00
vsc
a1edbf5b9c WIN32 fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@639 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 01:37:46 +00:00
vsc
4a71cbda80 fix retry_head to work correctly if the argument is dereferenced.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@638 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 00:48:52 +00:00
vsc
153b2cb2a3 YAP would break when gc was called from portray:
always save arguments before calling plwrite with possible portray
 only do it for portray because plwrite may be called from unsafe environments
 make Slot machinery mainstream.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@637 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-17 00:05:29 +00:00
vsc
78923655b5 dynamic predicates with no clauses are not undefined, so
they should not point at UNDEFCODE but at FAIL_CODE


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@636 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-14 16:25:38 +00:00
vsc
ca930d6321 improve docs on current module a little bit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@635 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-14 16:22:33 +00:00
vsc
b9ae6fd4df avoid clause
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@634 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-14 16:09:08 +00:00
vsc
efc7c1c5a6 Christian patches for call_cleanup and documentation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@633 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-11 03:39:11 +00:00
vsc
523fae9544 stack overflow patches:
process overflows as high-level as possible;
   introduce overflow related errors
   ExpandWorkSpace should never call Error: use ErrorMessage instead,
   format_putc should never release memory, causes memory corruption,
   Linux does not like MAP_FIXED, it can overwrite the actual program
code.
   condor: twick configure to disable readline with condor.
----------------------------------------------------------------------


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@632 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-10 05:58:49 +00:00
vsc
3e662aca31 adjust HeapTop in save.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@631 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-09 04:26:48 +00:00
vsc
3ccfa0edaa fix @end table
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@630 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 16:05:26 +00:00
vsc
aae01edde2 keep on improving stack dumps.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@629 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 14:44:44 +00:00
vsc
935665ec92 fix ^c abort for PCs: registers were not being reset properly.
fix error message in abort.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 14:32:42 +00:00
vsc
bfbc9c9dfc fix listing/1 breakage.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@627 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 05:35:09 +00:00
vsc
98d9c42c42 fix error handling for second argument of number_codes and
number_chars/2


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@626 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 05:00:36 +00:00
vsc
1fe8842094 Reset ErrorMessage before entering IndexPred (otherwise system will be
confused with previous errors).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@625 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-08 01:09:28 +00:00
vsc
dba17092b2 fix error handling when copy_term was not called from a builtin.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@624 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-07 21:20:12 +00:00
vsc
6dde85e627 fix Makefiles to use @DLL_LIBS@ for DLLs
use _stat instead of stat in WIN32
regex.h may exist, even when regex function is not avalailable (should
check for libs?)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@623 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-07 14:50:00 +00:00
pmoura
b0bee478ec First version of Logtalk 2.14.4 compiler and config file.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@622 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-07 10:55:21 +00:00
stasinos
5d0716fb66 remove forgotten debugging puts()'s
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@621 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 17:32:40 +00:00
stasinos
5895564724 add the prototype of InitMPE
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@620 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 17:29:46 +00:00
stasinos
0263e5d9d6 circumvent problem with realloc and MPI in HPUX 10.20 and bring the invocation of the term parser up to date
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@619 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 17:28:37 +00:00
stasinos
1244a10a09 circumvent problem with realloc and MPI in HPUX 10.20
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@618 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 17:27:52 +00:00
vsc
1c252a2420 fix syntax error in Yatom.h.m4
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@617 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 14:20:07 +00:00
vsc
d83d64d1cb update flags
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@616 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 13:58:25 +00:00
vsc
342faf6d89 Insert Christian patches:
- uncutable predicates;
  - call_cleanup/2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@615 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 13:54:35 +00:00
vsc
e606c427fe move to UserMode when entering absmi.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@614 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-03 13:42:23 +00:00
vsc
fe129bcd9e fix restoring preds for module: there may be none!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@613 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-02 17:07:45 +00:00
vsc
f57c2a1c19 improve stack dumping
fix format docs to talk about ~*


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@612 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-01 20:29:58 +00:00
vsc
ef57cc40ce portray_clause should not bind variables.
fix to look more like SICStus.
use standard streams and format.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@611 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-01 20:28:47 +00:00
vsc
08342b2905 fix sym
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-27 20:04:49 +00:00
vsc
4f33235c7f tiny fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@609 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-25 04:31:13 +00:00
vsc
fc3beab705 include support for April ILP system.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@608 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-25 04:29:01 +00:00
vsc
cef69069de fix configure file
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@607 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-24 20:06:22 +00:00
vsc
ac601e20b6 support static linking for Nuno Fonseca's database module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@606 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-24 19:01:29 +00:00
vsc
d1c4016480 support dyld interface on Next and OSX machines.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@605 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-24 15:38:17 +00:00
vsc
ad67affbbd more experiments on load_dyld.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@604 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-24 14:20:56 +00:00
vsc
11622fb798 experiments for dyld support.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-24 14:18:56 +00:00
vsc
97c2bd2105 cleanup YapExecutable
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@602 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-23 17:06:13 +00:00
vsc
edee8a955f fix clause/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@601 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-23 13:43:47 +00:00
vsc
d4b8acf1fd fix recordifnot bug with ground terms
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@600 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-18 21:28:19 +00:00
vsc
aa2f469784 fix term_hash documentation
fix system not to look at :/2


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@599 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 19:42:06 +00:00
vsc
7076ced716 include flatten/2 in library(lists).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@598 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 16:43:00 +00:00