Commit Graph

373 Commits

Author SHA1 Message Date
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
40a39a79b1 Mega clauses
Fixes to sizeof(expand_clauses) which was being overestimated
Fixes to profiling+indexing
Fixes to reallocation of memory after restoring
Make sure all clauses, even for C, end in _Ystop
Don't reuse space for Streams
Fix Stream_F on StreaNo+1


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1147 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-27 20:45:04 +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
rslopes
fc791f3600 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@817 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-04-04 10:32:56 +00:00
rslopes
1febfedc9d added Low Profiler to yap
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@804 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-03-21 16:18:42 +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
4eb3336b3c back to config2.5
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-24 03:32:04 +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
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
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
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
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
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
cf638188ce support hidden predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@578 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-02 17:33:00 +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
vsc
3271b43294 don't break GMP for external applications.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@550 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-19 21:46: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
6fa55d4394 use config2.5
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@484 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-23 12:45:08 +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
86e4a99d73 changes to support extended foreign interface (include slots, new exception
handling for C-code, and several fixes to calling foreign code).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@470 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-14 18:24:34 +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
a5ce067f96 disable MPI by default
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@408 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-12 04:09:14 +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
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
vsc
84b445d4db update to latest configure.in
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@360 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-12 21:42:53 +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
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
vsc
0a7d3df88d bugfixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@154 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-10 14:39:55 +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
vsc
8fd1bc92f3 support trace
fix for ^c in readline


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@133 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-08 21:17:27 +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
3de3c1b7d2 improve system library.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-29 19:30:25 +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