Commit Graph

876 Commits

Author SHA1 Message Date
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
vsc
d6778dac3a current_predicate should bever export prolog:(_:_)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@597 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 16:37:48 +00:00
vsc
2c1cb9b4bb fix unify in c_interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@596 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 06:02:01 +00:00
vsc
39a825e85f fix backtracking in syntax error.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@595 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 05:55:14 +00:00
vsc
89565bf45a fix current_modules/1 and 2 to return all predefined modules.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@594 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 00:14:23 +00:00
vsc
8ba604d9b3 count profiling entries from meta-calls, even if that means a little more
work.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-17 00:02:39 +00:00
vsc
e09b7fa8ad YAP_Deref should be in C-interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@592 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-16 23:25:09 +00:00
vsc
f0ce954741 fixes to c-interface
fixes for compilation with native mingw32
documentation fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-16 23:01:59 +00:00
vsc
cf6391d96b make open/3 complain when trying to read after end of file.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@590 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-16 16:57:27 +00:00
pmoura
4b88cd24f9 Logtalk 2.14.3 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@589 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-14 18:14:17 +00:00
vsc
00c4895761 fix typo
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@588 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-14 04:36:08 +00:00
vsc
2fff206939 fix current_predicate
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@587 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-13 21:30:06 +00:00
vsc
e801069a19 don't try to unify results for matching clause if we
can't find it.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@586 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-10 18:41:12 +00:00
uid49918
a758145ae9 dump stack on error
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@585 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 19:52:38 +00:00
vsc
636600e3b8 support for YapInterface.h
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@584 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 17:46:30 +00:00
vsc
a2d8ea40d6 new file YapInterface.h
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@583 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 17:45:51 +00:00