Commit Graph

69 Commits

Author SHA1 Message Date
vsc a23c409540 don't leave dangling pointers to switch tables, as they can be removed
easily.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@913 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-31 00:20:52 +00:00
vsc 009452e075 fix reference counters when copying try-trust chains
fixes on memory allocation


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@912 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-30 22:52:46 +00:00
vsc 77bb5fed93 variant and subsumes with coroutining should always reset to slot, not to
value.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@906 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-28 16:20:44 +00:00
vsc 5e4816eb5a new heap allocation code
new atom table growth code and hash algorithm
more fixes for new indexing algorithm


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-28 01:16:03 +00:00
vsc 9f6ef90e85 fix another bug in when removing indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@896 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-10-14 18:37:56 +00:00
vsc 1f2fb8284a Two fixes:
GMP should not do error handling itself, as its execution env is
not reliable.
	allocate should check for space.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@875 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-24 14:51:42 +00:00
vsc 8df97ef09d more fixes for new indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@874 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-23 15:14:56 +00:00
vsc 3e17f53c28 more fixes to new indexing code
a few fixes to functor


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@872 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-23 02:19:37 +00:00
vsc f6170508cd more indexing fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@871 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-20 03:06:15 +00:00
vsc ac19e411a2 more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@869 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-15 17:56:27 +00:00
vsc 98578b16dc more fixes for indexing code
stable stuff


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@867 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-09-15 01:25:29 +00:00
vsc 17ecf0dc14 continue big commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@863 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-08-27 13:37:10 +00:00
vsc d81fffeec9 try to make comparison faster in indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@837 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-06-06 13:16:40 +00:00
vsc b936201465 improvements to indexing: allow user control and fix bugs in sorting
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@836 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-06-06 11:54:02 +00:00
vsc d290885f8f new indexing algorithm
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@822 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-04-30 17:46:05 +00:00
vsc 4d4516f848 >Code should be initialised in recordp and record_stat_p
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@770 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-12 14:02:42 +00:00
vsc 9a032b656a fix previous module processing fixes
check if predicate is not in use before abolish static


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@763 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-11 16:33:24 +00:00
vsc 1369dfa410 new meta-call scheme.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-29 14:47:17 +00:00
vsc d7f80ea1ad Stasinos noticed that _YAP_ breaks C standard: use Yap_ instead.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@691 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-18 18:18:05 +00:00
vsc 7b2c4dc6ff all global symbols should now start with _YAP
global functions should not be called from within file (bug in
binutils/WIN32).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@675 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-11 17:38:10 +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 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 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 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
vsc 21aab28a59 new error handlong mechanism
new YAP_ foreign interface
fix unbound_first_arg in call_with_args


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@582 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 17:40:12 +00:00
vsc 5cc8ea1d52 hide_predicate
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@571 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-14 16:00:54 +00:00
vsc 325cfeeadc fix debugging info
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@570 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-13 17:02:26 +00:00
vsc 742299360c fix unification bug.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@569 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-13 16:51:37 +00:00
vsc 7176752a68 fixes for abolish.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@525 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-11 05:30:47 +00:00
vsc b58dbff727 fix restore
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@498 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-28 16:26:00 +00:00
vsc ba40e074ea don't core dump if Yap tries to reconsult redirect standard input.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@490 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 04:45:05 +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 4fc1a2ff42 put tabling back to work
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@460 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-03 15:30:36 +00:00
vsc a23bff9b6b fix wrong ! in debugger
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@457 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-26 19:15:21 +00:00
vsc 376d26f93f more fixes to error checking in error access.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@454 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-23 23:23:45 +00:00
vsc 13d72287f1 fix WIN32 makefiles
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@449 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-22 23:33:00 +00:00
vsc 061670eeb0 bad meta-call causing undetected module overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@436 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-09 15:12:14 +00:00
vsc bd654f1e18 fix overflow when copying terms with attributes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@430 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 03:54:18 +00:00
vsc 44a00eb7fc compiler would break with g :- a:[u].
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@396 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-04 03:25:41 +00:00
vsc 20444412f5 gc in dexecute should not use current Y, instead if should look at
parent's Y.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@393 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-28 18:25:55 +00:00
vsc f92947d61b configurarion changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@369 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-22 06:12:18 +00:00
vsc e74b412591 fix bad compilation of arithmetic in disjunctions
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@361 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-14 04:32:09 +00:00
vsc d70b5be256 new debugger code would get lost in meta-calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@310 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-18 15:55:33 +00:00
vsc 9966ff57c6 fix overflow fixes for p_execute in absmi.c
execute_last was not decreasing depth (thanks to Camacho for finding out).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@299 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 05:32:17 +00:00
vsc 4414acbdf9 fix unix environ
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@293 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-14 22:26:53 +00:00
vsc 48b5a364e3 fix 'aaaa''aaaa' in no escape mode
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@266 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-03 18:35:46 +00:00
vsc 8155e3fbf1 don't do garbage collection while in ErrorMode
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@262 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-03 16:27:00 +00:00
vsc 7b77c87b94 store constraints in DB
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@233 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-17 18:31:11 +00:00
vsc 43550a67a8 debugger fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@218 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-07 20:27:03 +00:00
vsc 9c7149eab5 fix overflow while shunting in garbage collector;
start debugging tabling bug (ai_tests).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@210 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-02 16:54:39 +00:00