f61aee4a83third argument to thread_create needs :, #91
Vitor Santos Costa
2009-05-30 10:43:03 -05:00
e84ecf2eaffix#37: give resource error if trying to create a functor with bignum arity also, allow meta-call to create large functors > Int.
Vitor Santos Costa
2009-05-29 22:34:50 -05:00
0cd72ad258changes to compile YAP in WIN32
Vitor Santos Costa
2009-05-29 14:36:49 -05:00
2dae7fd5effix unnecesary warnings for multifile (obs from Paulo Moura).
Vitor Santos Costa
2009-05-29 10:48:40 -05:00
a45da5f722check for memory overflows in format (very long double, say) obs from Ingo Thon.
Vitor Santos Costa
2009-05-29 10:26:48 -05:00
3fc4f71beeprolog module is visible everywhere.
Vitor Santos Costa
2009-05-28 21:51:34 -05:00
5760986b2fForgotten failure - found by #22
Ulrich Neumerkel
2009-05-29 00:15:40 +02:00
2b495cd095Introduction of errors for signal. In a case of conflict, 13211-1:7.12.2a is given precedence over 13211-2:6.7.1.4
Ulrich Neumerkel
2009-05-28 19:08:29 +02:00
c2bd671bfdtime_out/3: Give every alternative the full timeout time #86
Ulrich Neumerkel
2009-05-28 01:15:02 +02:00
f9342e835dWhat's wrong with this one? Of course, the granularity of the alarms is a problem. And the inability to nest.
Ulrich Neumerkel
2009-05-27 22:54:05 +02:00
43e9e9f337alarm(0) should be careful to kill existing signals.
Costa Vitor
2009-05-26 17:31:21 -05:00
f11eeb2967be more careful to handle throws.
Costa Vitor
2009-05-26 17:24:49 -05:00
e6129e84b7unnecessary disable_interrupts (#69)
Costa Vitor
2009-05-26 16:57:27 -05:00
3d9bd1a49fDOC: minor
Ulrich Neumerkel
2009-05-24 00:38:27 +02:00
a10bf47a0cimprove stochastic grammar learning (work in progress).
Vitor Santos Costa
2009-05-26 10:49:04 -05:00
de7474a5d9allow inplace operations.
Vitor Santos Costa
2009-05-26 10:48:45 -05:00
3c57286531make sure we disable disabling interrupts on error handler.
Vitor Santos Costa
2009-05-25 09:58:27 -05:00
4f71103b88idon't disable interrupts for creeping.
Vitor Santos Costa
2009-05-25 09:57:59 -05:00
9a0393e2cepredicate_property would only return first prop for system pred (obs from Paulo Moura).
Vitor Santos Costa
2009-05-25 09:57:27 -05:00
a6f0b8cc9fignore specific limit for max write depth on lists. Use same limit everywhere.
Vitor Santos Costa
2009-05-24 19:37:07 -05:00
a0750ff5b7handle heap overflows when constructing new predicates.
Vitor Santos Costa
2009-05-24 19:25:26 -05:00
9a9767d73ccannot just do error when user does crazy things.
Vitor Santos Costa
2009-05-24 19:20:00 -05:00
46dc2b1a49should exit if interrupts *are* disabled.
Vitor Santos Costa
2009-05-24 19:19:22 -05:00
99ac4f4d4ahandle SWI style goal expansion natively, instead of trying to be smart.
Vitor Santos Costa
2009-05-24 19:18:52 -05:00
de3c042143just update, no interesting change.
Vitor Santos Costa
2009-05-24 15:17:23 -05:00
f5bff2a21djust indenting
Vitor Santos Costa
2009-05-24 15:16:40 -05:00
09216a70b8fix unprotected calls to plwrite.
Vitor Santos Costa
2009-05-24 15:15:36 -05:00
488a230169fix unification core dump.
Vitor Santos Costa
2009-05-24 15:15:05 -05:00
81970013edallow storing a pointer.
Vitor Santos Costa
2009-05-24 15:14:44 -05:00
b94baf1e5ftry not to loop in infinite terms.
Vitor Santos Costa
2009-05-24 15:14:23 -05:00
b5e5a671a8restore stack on JumpExec
Vitor Santos Costa
2009-05-23 15:51:50 -05:00
b9a7d24e8bavoid too long messages back to top level if Yap_Error is called in a critical region.
Vitor Santos Costa
2009-05-23 15:51:00 -05:00
4d497193b6fix garbage collection on attributed variables with lots of choice points.
Vitor Santos Costa
2009-05-23 12:41:37 -05:00
04c419b3b0not always throw an error when it is not a variable.
Vitor Santos Costa
2009-05-22 22:35:40 -05:00
9a2dbdcb24one extra warning goes away.
Vitor Santos Costa
2009-05-22 21:53:24 -05:00
f79d79e926replace TYPE_ERROR_VARIABLE for attributes #57
Vitor Santos Costa
2009-05-22 21:51:48 -05:00
264d9322b9fix compiler warning messages.
Vitor Santos Costa
2009-05-22 21:33:09 -05:00
7304fbda13fix lack of streams message (Ulrich Neumerkel #60)
Costa Vitor
2009-05-22 19:55:18 -05:00
c00facdd17exception at fail could loop with bad env. #59
Costa Vitor
2009-05-22 19:43:17 -05:00
b93e5fd300fix warning
Costa Vitor
2009-05-22 19:20:53 -05:00
e611e1061afix annoying int cast problems (64 bit only)
Costa Vitor
2009-05-22 19:09:18 -05:00
8fcc534a19fix bad error propagation in term comparison #53
Costa Vitor
2009-05-22 18:44:05 -05:00
ec595374a6fix allocation of temporary stack so that unification can work even for very deep terms. fix occur_unification_bug X = a(f(Y)).
Costa Vitor
2009-05-22 18:35:24 -05:00
cfbd2f8886use types in unification algorithm, makes the rest simpler.
Costa Vitor
2009-05-22 15:21:14 -05:00
75e08846fevargs needs include.
Costa Vitor
2009-05-22 14:44:32 -05:00
23301fb19aavoid warning on malloc
Vitor Santos Costa
2009-05-22 14:01:22 -05:00
8f019b22demake sure to work even without system mode
Vitor Santos Costa
2009-05-22 14:01:05 -05:00
51e669dcfbsupport for passing priority as argument to write. (Ulrich's #45). fixes on making write handle infinite loops
Vitor Santos Costa
2009-05-22 13:24:27 -05:00
e1421f207euse DebugPlWrite for debugging writes
Vitor Santos Costa
2009-05-22 13:23:51 -05:00
328e2f5c22don't loop on cyclic terms.
Vitor Santos Costa
2009-05-22 12:24:30 -05:00
8e1c8d723enever do P=FAILCODE directly in the code.
Vitor Santos Costa
2009-05-22 11:24:44 -05:00
9852f7781d- simplify error handling in arithmetic and handle infinite terms (#46)
Vitor Santos Costa
2009-05-22 11:21:39 -05:00
3736ba5793$notrace should call $execute and disable interrupts below.
Vitor Santos Costa
2009-05-21 22:35:24 -05:00
d7135f06e9fix charsio.
Costa Vitor
2009-05-21 19:15:12 -05:00
f9533c8757fix backtracking in timeout.
Vitor Santos Costa
2009-05-21 01:30:24 -05:00
56fa3499b1oops
Vitor Santos Costa
2009-05-21 01:08:34 -05:00
3a3220d1a1make sure we don't generate an heapexpansion in the middle of a write.
Vitor Santos Costa
2009-05-21 01:04:13 -05:00
a58e3d812dfix interrupt enabling in call_setup and friends remove between.
Vitor Santos Costa
2009-05-21 00:41:35 -05:00
46543ccb5cremove redundant $between
Vitor Santos Costa
2009-05-21 00:40:52 -05:00
f3e4148511fix bad behavior of time_out by making sure interrupts are disabled during critical operation, up to setting a throw.
Vitor Santos Costa
2009-05-21 00:39:57 -05:00
c3974d49eballow users to disable interrupts, if so inclined.
Vitor Santos Costa
2009-05-21 00:39:44 -05:00
88b5f1a735be careful to make sure we can hanle the interrupt.
Vitor Santos Costa
2009-05-21 00:39:14 -05:00
a59a434d66use interrupts_disabled make onerrupts disabled recursive (not quite needed, but maybe one day).
Vitor Santos Costa
2009-05-21 00:38:35 -05:00
efcf162aa6use interrupts_disabled instead of enabled.
Vitor Santos Costa
2009-05-21 00:38:04 -05:00
fe01f71f3ebetween/3 is now part of arith.yap: - handle inf - handle errors - make top case deterministic (Ulrich #66)
Vitor Santos Costa
2009-05-21 00:36:09 -05:00
c7066b43ecfirst try of setup_call_cleanup/3 and setup_call_catcher_cleanup/4
Vitor Santos Costa
2009-05-19 23:53:14 -07:00
13b9098200Ulrich: [PATCH-YAP] Permit | in DCGs.
Vitor Santos Costa
2009-05-18 07:39:01 -07:00
62118e3a0cUlrich: [PATCH-YAP] DOC: copy_term/3
Vitor Santos Costa
2009-05-18 07:36:00 -07:00
cfec78de06fix copy_term and frozen (obs from Ulrich).
Vitor Santos Costa
2009-05-18 07:07:42 -07:00
a1203e56ddwe don't always expand stack on attvar overflow.
Vitor Santos Costa
2009-05-17 22:51:34 -07:00
17e36dbda1keep things right if there is a temporary overflow in loopy term checking.
Vitor Santos Costa
2009-05-17 12:39:51 -07:00
a52317b9c2fix Yap_shift_visit for malloc: a few miscalculations...
Vitor Santos Costa
2009-05-17 12:26:09 -07:00
55036ad9bbcheck if argument to when is bound (obs from Ulrich Neumerkel).
Vitor Santos Costa
2009-05-17 10:58:21 -07:00
f4e3869025include messages for out of stack and friends.
Vitor Santos Costa
2009-05-17 10:40:14 -07:00
44f7e67394make sure we reset global variables when exiting a thread
Vitor Santos Costa
2009-05-17 10:38:39 -07:00
ae5bf4d6e7support resource errors for out of memory conditions. improve stack dump message.
Vitor Santos Costa
2009-05-17 09:42:56 -07:00
d8590f2587return error message if no room available.
Vitor Santos Costa
2009-05-17 09:42:40 -07:00
55e37020a4return copy when copying term
Vitor Santos Costa
2009-05-17 09:41:59 -07:00
94e740ae31reduce the initail amount of space for globals
Vitor Santos Costa
2009-05-17 09:41:34 -07:00
de1fb3e2c5copy exception term early on to avoid dangling pointers.
Vitor Santos Costa
2009-05-17 08:02:34 -07:00
8e7695a42cmake Yap_Eval only on entry.
Vitor Santos Costa
2009-05-16 22:41:44 -07:00
1058a350c6more cleanups: get rid of dead code.
Vitor Santos Costa
2009-05-16 12:08:11 -07:00
1fe1b19534cleanup handling of attributed variables: - try to make it clear when to call project - try to make it clear when to generate goals for attributed variables (get_goalist_from_attvars). - change call_residue to rely this infrastructure and then add extra variables. - change frozen never to call project.
Vitor Santos Costa
2009-05-16 12:00:56 -07:00
d333de262efix typo (Ingo Molnar).
Vitor Santos Costa
2009-05-15 20:55:24 -05:00