Commit Graph

175 Commits

Author SHA1 Message Date
vsc
59561e2688 fix excessive pruning in meta-calls
fix Term->int breakage in compiler
improve JPL (at least it does something now for amd64).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-13 06:26:13 +00:00
vsc
5493bd29f9 fix nth_instance
fix Makefile.in for multi-threading


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1262 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-09 06:35:52 +00:00
vsc
5792a4f18e First cut at lgamma support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1228 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-01-05 17:32:03 +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
7efbf340a5 fix compilation problems in garbage collector
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1156 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-10-06 19:40:22 +00:00
vsc
9e0151070f updates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1123 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-07 16:29:16 +00:00
vsc
3e0a3fa9f3 fix heap overflow in YAP_LookupAtom
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1098 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-07-23 03:37:17 +00:00
vsc
f1063a27b2 fixes for stack overflow
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@982 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 17:09:17 +00:00
vsc
ba9876268f threads, clean signals, and much more...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-23 02:23:51 +00:00
rslopes
c019bb6499 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@847 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-07-21 19:13:30 +00:00
vsc
0afb07931f patches to Ricardo Lopes' low level profiler: enable if SIGPROF is
there, do sorting, init PROFPREDS when you start counters, keep time
stamps for eventual assert/retract, and use qsort (3) to do less work.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@829 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-05-20 19:11:59 +00:00
vsc
4bc32d9a1b minor changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@730 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-13 22:09:54 +00:00
vsc
6014cd75ca initial support for vc++
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@723 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-10 19:09:50 +00:00
vsc
f339741dd2 use install_win in all windows versions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@696 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 14:36:19 +00:00
vsc
4a5d2809ab all windows should use install win
cygwin only needs -lcygwin


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@695 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 05:29:43 +00:00
vsc
304fad4247 commit configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@686 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-13 15:29:44 +00:00
vsc
0b562d3e2d updates to configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@681 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 04:36:59 +00:00
vsc
95e6dea185 respect prefix option in WIN32
check for rint in configure and use
a simple hack to replace it if needed.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@650 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-23 17:10:33 +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
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
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
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
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
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
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
b575ec7202 fixes to support condor better
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@575 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-18 23:18:18 +00:00
pmoura
1b13865b4f Updated configure.in for smooth YAP compilation on MacOS X 10.2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@566 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-09 13:08:55 +00:00
vsc
e5d7edf852 fix truncate
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@565 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-07 21:55:27 +00:00
vsc
ca59b7ad1a fix stasino's patch
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@551 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-25 16:13:56 +00:00
stasinos
79372c4167 HP-UX 10.20 to 11.0: strerr_r() obsolete, FPU exception handling interface changed. Also use X/Open networking lib when available.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@530 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-13 18:24:04 +00:00
vsc
a254dad245 fixes and extensions to file_property
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@524 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-11 05:30:05 +00:00
vsc
c80ac669de fix configure for WIN32 platform
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@506 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-01 04:01:38 +00:00
vsc
577298ac0b fix __SVR4
fix darwin cpp


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@504 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-28 17:28:25 +00:00
vsc
85f1080071 check for SA_SIGINFO
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@497 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-28 16:23:53 +00:00
vsc
41011ddb56 forgot committing arrays.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@483 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-23 12:44:18 +00:00
vsc
9674c91da6 allow using malloc for memory allocation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@477 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-19 19:04:33 +00:00
vsc
757f5147c9 support dynamic loading
fix save to leave module user in boot.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@468 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-14 18:21:33 +00:00
vsc
39d89a2d91 first changes towards dynamic loading in Darwin
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@450 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-23 14:37:56 +00:00
vsc
de244d1d01 check if these files are up-to-date
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@420 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-17 06:11:29 +00:00
vsc
48d0be8f4b changes to configure.in
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@407 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-12 04:08:52 +00:00
stasinos
672e6bc2c1 hopefully fix nikos' complaint
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@402 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-07 11:00:57 +00:00
vsc
798bdbdf39 be more careful about error handling when storing DB terms
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@399 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-07 05:13:21 +00:00
stasinos
a97390c1c3 fix compiling with MPI, but without MPE
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@397 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-04 10:02:03 +00:00
stasinos
fc7943925d typos
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@394 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-28 18:58:30 +00:00
stasinos
54b919fe5a do not fail when no MPI library is found
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@381 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 18:58:35 +00:00
stasinos
9d44227bd6 MPE made more usuable. Link with any MPI lib, not just MPICH.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@372 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 15:33:16 +00:00
stasinos
dcbba128ff a first take at an MPE interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@371 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-22 14:31:45 +00:00
stasinos
8f4c6583d2 Usr{Heap,Stack,Trail}Space were not necessary
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@356 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-12 12:22:31 +00:00
stasinos
5b10a066dc a first take at an interface to an MPI lib
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@355 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-11 20:46:41 +00:00
vsc
0dbc5373b4 atom_oncat was not allocating memory right
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@353 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-11 20:22:15 +00:00
vsc
a60e61f507 fix -f
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@334 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-28 15:30:26 +00:00
vsc
ed4afb5ca2 avoid heap overflows in cross-compiler before startup
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@321 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-23 02:44:55 +00:00
vsc
a203cec0f5 make consult meta-predicates
configuration changes


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@301 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 20:18:28 +00:00
stasinos
02b0f3be03 make the default stack, heap and trail sizes configurable, and have the default show at the -? message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@296 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-15 17:55:50 +00:00
stasinos
c8c7e97cf1 make gmp optional
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@205 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-26 19:55:44 +00:00
stasinos
ed9abae0a3 make readline optional
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@204 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-26 19:52:44 +00:00
vsc
5682ce7622 fix user c predicates
fix Makefiles to handle case where so is o.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@183 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-18 21:00:57 +00:00
vsc
af370a73e3 fixes to allow more memory: disable gc after crashing with MBIT, start
from 0x09 instead of 0x10.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-24 14:06:06 +00:00
stasinos
87b1ee8641 HPUX: the -E option is only applicable to ld -b
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@150 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-06 15:40:33 +00:00
stasinos
d071cebad4 C_PARSER_FLAGS=CFLAGS on non-cygnus platforms
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@146 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-03 17:30:53 +00:00
vsc
a09e21bf68 do not use use -fomit-frame-pointer in parser.c/cygnus
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@139 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-10 23:07:00 +00:00
stasinos
e1e54337b3 add test for defective fflush(NULL)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@122 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-11 07:10:17 +00:00
vsc
27526bcb0d improve support for cross-compilation with simplesimscalar
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@117 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-05 16:14:15 +00:00
vsc
b4a30d2cd4 extra improvements in configure scripts
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@98 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 19:44:26 +00:00
vsc
f22f7434c7 fixes to?\012handle interrupts ^C in Windows.
Improvements to configure scripts for WIN32 configurations.
--with-readline= option for configure


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@96 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 17:53:36 +00:00
vsc
90c92979c6 change library(random) to use O'Keefe code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@80 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 20:20:36 +00:00
vsc
55aa368d05 support for configure 2.5
recover memory in catch/throw.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@75 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:12:07 +00:00
vsc
38247e38fc cleanup of CLPQR and CHR;
simplification of module handling;
new timestamp implementation


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@52 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-06 19:10:51 +00:00
vsc
82438c1d6f fixes in modules
system support for WIN32 (first try).
small fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@45 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-28 19:54:53 +00:00
vsc
8dcee4415b library(system) plus several new support builtins
much improved garbage collector
improvements to compiler
yaptab compiles again


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@34 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-21 20:00:05 +00:00
vsc
1a8009654f fixes for modules, buffering, YP_*, live vars for gc, and nth(0).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@20 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-27 16:02:43 +00:00
vsc
e5f4633c39 This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-09 19:54:03 +00:00