Commit Graph

274 Commits

Author SHA1 Message Date
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
2b684e4636 fix sigaction on SVR4 systems.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@493 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-26 04:03:56 +00:00
vsc
b9aefa0f94 fix debugging message that got away
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@492 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 18:25:25 +00:00
vsc
0f471f8810 I/O fixes: get_quoted would go through EOF, check if answer replied EOF
when asking for more solutions, readline in stream == 0 not 2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@491 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 05:14:46 +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
1ae6ae839d oops, pesky debugging message got through.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@489 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 04:01:22 +00:00
vsc
38f07b67de take care of the case where two files have different names but
are the same (at least for Unix/Linux).
recover $loaded space after initialisation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@488 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 03:57:20 +00:00
vsc
c9be907884 fix bug in wakeup when in the middle of unifying a list (found by Bart Demoen).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@486 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 00:13:15 +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
61affa1652 keep all dynamic arrays linked and garbage collect them.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@481 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-23 03:52:34 +00:00
vsc
bfca528833 more fixes on modules
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@479 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-20 14:19:03 +00:00
vsc
330b262560 fix modules bug
fix newly introduced coroutining bug


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@478 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-20 05:24:13 +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
008cd709a1 improve the interface a bit more.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@476 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-18 04:01:53 +00:00
vsc
17728f58f5 beautification
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@475 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-17 01:01:07 +00:00
vsc
3b3a19f5d9 more stuff for foreign interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@474 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-16 20:33:00 +00:00
vsc
734d6ae2d3 debugging changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@473 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-15 03:58:03 +00:00
vsc
e6215e8073 handle delay overflow while in copy_attachments.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@472 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-15 03:57:09 +00:00
vsc
92fe2d5c9f check overflow while copying constraints.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@471 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-15 03:41:19 +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
5bad222cfa fix case where code moved but base addresses didn't
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@469 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-14 18:22:42 +00:00
vsc
e0a80c43c5 debugger should not give any specific meaning to false.
init must only initialise preds after undef is made.
don't give annoying messages in s or t, just continue


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@467 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-10 15:04:03 +00:00
vsc
d2a6f16e4a handle stack overflow within =..
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@466 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-07 21:19:52 +00:00
vsc
97f7414cd2 fix debugger typos
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@465 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-07 03:51:59 +00:00
vsc
ec48cc9e24 fix overflow in copy_term_no_delays
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@464 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-07 02:52:08 +00:00
vsc
b8b8dd6a45 C-interface improvements
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@463 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-06 15:33:05 +00:00
vsc
722b798507 move tabling gc code to tabling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@461 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-03 18:15:37 +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
83c4fab84c socket fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@459 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-01 16:19:43 +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
238598e41f socket reading and writing was broken under MINGW32.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@456 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-24 14:17:56 +00:00
vsc
b63425bf5c fix copy term when the same constrained term appears several times.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@455 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-24 02:52:34 +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
2d5fc60330 fix debug info in errors.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@453 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-23 22:45:21 +00:00
vsc
778dbbde3e fix anon vars in new syntax_error
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@452 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-23 22:43:10 +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
60c859d470 diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@448 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-19 14:43:39 +00:00
vsc
4824e0f247 fix handling of end_of_file before end_of_term
fix overflow in constructing syntax error term.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@447 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-19 14:42:58 +00:00
vsc
d3942df58c it looks like mod for execute_in_mod may be instantiated.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@446 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-19 14:41:56 +00:00
vsc
0ddc85551f fix format overflow bug;
fix variables in syntax error handler


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@445 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-16 19:48:45 +00:00
vsc
6f8a9f3042 compiler expected module instantiated.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@444 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-13 04:59:00 +00:00
vsc
be3a996d1e WakeAttVar should only test if variables it is binding are in queue
ugraphs should not bind variable


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@441 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-13 04:39:03 +00:00
vsc
13cb0c1e13 syntax_error now throws error;
fix handling of error if no top-level handler is available


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@440 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-11 15:31:58 +00:00
vsc
03484b9960 fix bad marked var in copy_att_var
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@439 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-11 01:43:09 +00:00
vsc
3a78f26888 fix bug with gc being called from recorda
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@438 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-10 05:16:58 +00:00
vsc
d8384f4bf3 fix bad code for unify_float and friends
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@437 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-09 16:53: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
83a9b6530e fix overflow in copy_term's internal stack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@434 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-08 22:10:14 +00:00
vsc
3ef0b143b0 fix debugging in the presence of goal_expansion
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@432 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 05:33:44 +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