Commit Graph

81 Commits

Author SHA1 Message Date
rslopes
1e93141fae coroutining and depth-limit enabled by default
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1292 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-05-26 17:26:55 +00:00
vsc
7e06e3fa36 fix error handling
configure should not allow max-memory and use-malloc at same time
some extensions for jpl


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1289 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-05-25 18:18:02 +00:00
vsc
eb8721e6be improve ld support in dynamic library version.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1274 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-15 15:20:52 +00:00
vsc
056ccbc819 bug fixes, I hope!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1270 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-10 04:01:15 +00:00
ricroc
de17f5cca4 Adding tabling support for mixed strategy evaluation (batched and local scheduling)
UPDATE: compilation flags -DTABLING_BATCHED_SCHEDULING and -DTABLING_LOCAL_SCHEDULING removed. To support tabling use -DTABLING in the Makefile or --enable-tabling in configure.
  NEW: yap_flag(tabling_mode,MODE) changes the tabling execution mode of all tabled predicates to MODE (batched, local or default).
  NEW: tabling_mode(PRED,MODE) changes the default tabling execution mode of predicate PRED to MODE (batched or local).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1268 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-07 17:56:58 +00:00
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
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