e252ef0b2fmore debugger fixes! - make sure donotrace and oncenotrace are known to the signal mechanism: they should disable creeping - avoid creep at deallocate: it is a very bad idea :(
Vítor Santos Costa
2008-09-23 23:43:01 +01:00
ebbefd71cedebugger fixes: fix $execute0 and $call: they should be handled explicitely fix missing ! for builtins in debugger meta-call
Vítor Santos Costa
2008-09-23 22:50:25 +01:00
1e8de3f86cfix ) in arity 0 predicates
Vítor Santos Costa
2008-09-23 22:49:44 +01:00
895e29d444FIX: '$execute0' should be invisible to creep processing
Vitor Santos Costa
2008-09-22 18:07:50 +01:00
bcb6edfb8ainclude PtoAtomHashEntryAdjust to reduce casts
Vitor Santos Costa
2008-09-18 17:59:16 +01:00
20e8924bbafix type warning in EnvPreg/error.c
Vitor Santos Costa
2008-09-18 17:48:31 +01:00
7f51339a97fix syntax error in current_predicate
Vitor Santos Costa
2008-09-18 17:48:01 +01:00
02893cc83fRicardo Rocha's code for user managed suspension. changed code from absmi.c to tab.macros.h
Vitor Santos Costa
2008-09-18 17:35:21 +01:00
5db95de67dfirst cut at making GPROF work on Leopard based on Ocaml macport.
Vitor Santos Costa
2008-09-18 17:34:46 +01:00
821cc384a3allow statistics on data base keys of integers. change pred_entry not to fail on this case. avoid using functor in this case.
Vitor Santos Costa
2008-09-15 04:30:09 +01:00
e35af2a352experiments with early completion.
Vitor Santos Costa
2008-09-15 04:29:26 +01:00
537dbb19fa"single" indexing cannot disable wait nodes for LU predicates. Otherwise, memory recovery breaks down.
Vitor Santos Costa
2008-09-14 05:11:51 +01:00
473012316aput tracer.c back to normal.
Vitor Santos Costa
2008-09-14 05:11:35 +01:00
f4100a8095small update to instruction name
Vitor Santos Costa
2008-09-12 14:09:29 +01:00
d70cb39c1dfix answer_trie compilation and execution: - YapOpcodes.h should have do/trust/try/trust: force this order in tab.tries.insts.i - retry and trust instructions should not trust YENV
Vítor Santos Costa
2008-09-05 18:34:26 +01:00
fdf762e326push changes to make tabling work: don't ignore tabling and yapor fields in optype.
Vítor Santos Costa
2008-09-05 05:22:19 +01:00
65ccd336b2fix a stupid threads bug
Vítor Santos Costa
2008-09-04 16:58:45 +01:00
6046f9f913more fixes to debugger: make l and s option do what they are supposed to do. fix k and t, they had been broken. Ideas: DebugOn is now in the system and can disable spypoints. Have an extra flag to distinguish fast (t,z,k) and slow(l,s) jumping.
Vítor Santos Costa
2008-09-02 03:48:02 +01:00
8f69c35e7foptime access to execute_cpred
Vítor Santos Costa
2008-09-01 16:48:05 +01:00
84ad9adff0fix clause to support new execute_cpred
Vítor Santos Costa
2008-09-01 16:30:37 +01:00
83ebf097dfadd support for dbusage
Vitor Santos Costa
2008-09-01 04:45:55 +01:00
236ffa0718add useful debugging info on data base usage.
Vitor Santos Costa
2008-09-01 04:45:16 +01:00
2a53a46d12document lineutils
Vitor Santos Costa
2008-09-01 04:44:54 +01:00
6062b1c738document lineutils library
Vítor Santos Costa
2008-09-01 02:41:09 +01:00
ff75b8ff85document 3 statistics/2 option.
Vítor Santos Costa
2008-09-01 02:01:01 +01:00
0fc361d331indexer was going bad on _pop instruction.
Vítor Santos Costa
2008-08-30 23:59:09 +01:00
b2d9eb7aacinstructions xyc really has optype xyn.
Vítor Santos Costa
2008-08-30 23:00:50 +01:00
2a84e259a2Upgrade to new CHR (with Jan's changes). Found out I need to add an extra field to allocate so that the exception handling code knows where the clause is. Protect creep_allowed from NULL pointers.
Vitor Santos Costa
2008-08-30 16:24:44 +01:00
2ae9677f4bAdded shlib as git module
Vitor Santos Costa
2008-08-30 14:43:25 +01:00
882178c02fsupport paths like the term a/b.
Vítor Santos Costa
2008-08-30 04:34:27 +01:00
1226b58d8eThe debugger relied on the environment stack. To fix it: - absmi.c now tells who called the debugger, besides who it was calling - this is used to control whether we allow a goal to be debugged. - I have creep to start creeping immediately, and signal_creep to tell the next meta-call to creep what it executes! - The debugger uses CalledFromTheDebugger to know if it is within the debugger. If so, we do not need to creep on leaving.
Vítor Santos Costa
2008-08-30 02:39:36 +01:00
d636450512more fixes to make rclause.h automatic: define new type n for Integers, as they were mistaken for Term. define early return cases and ifdef exceptions.
Vitor Santos Costa
2008-08-29 17:27:11 +01:00
6063c019degenerate rclause.h automaticallywq
Vítor Santos Costa
2008-08-29 05:25:36 +01:00
04c944972b-L swi compatibility had broken standard -L usage in YAP :(wq
Vítor Santos Costa
2008-08-29 05:19:36 +01:00
05f93cd4e6be more careful about marking attributed variables: - only mark unbound attributed variables in first step. - remove deterministic bindings for those variables. - mark non-deterministic bindings at mark_trail.
Vítor Santos Costa
2008-08-28 17:41:07 +01:00
17ba194c1eInclude new instruction execute_cpred to perform tail optimisation for builtins. Required changes: - be careful about creeping in deallocate: it may be followed by something that is not a cut nor a proceed. - include new instruction in absmi.c: it is a merge of execute and call_cpred. - change compiler to generate execute even for C builtins. - be careful with dexecute: it may not be done if execute_op is a C builtin. - if we are in execute_cpred, the garbage collector cannot trust P: instead it must look at CP to find out the size of the current environment. The macro gc_P receives that information. - We don't need to change CP if we do a meta-call from within execute_cpred (and we in fact cannot). Check places where we do meta-calls: exec, clause in cdmgr, and lu_recorded.
Vítor Santos Costa
2008-08-28 04:43:00 +01:00
ff12e2bdbfuse inlines instead of macros; add ENV_Parent function, to walk an environment chain
Vítor Santos Costa
2008-08-28 04:37:18 +01:00
3a7b3e15c6include type information in mark_delays.
Vitor Santos Costa
2008-08-27 17:12:03 +01:00
24c2650472get rid of suprious definition of $message
Vitor Santos Costa
2008-08-27 00:43:40 +01:00
d5d5a6c95fescape from NULL pointer.
Vitor Santos Costa
2008-08-26 01:08:52 +01:00
9821770ce4remove original CHR from tree.
Vitor Santos Costa
2008-08-26 00:45:53 +01:00
42bed282b4Updated to Working CHR
Vitor Santos Costa
2008-08-26 00:18:06 +01:00
6f0b3cf2f5fix flatten/2: it would not create variable elements.
Vitor Santos Costa
2008-08-25 20:41:09 +01:00
8169ef0343fix stack_dump
Vitor Santos Costa
2008-08-25 15:20:18 +01:00
a6b9d096a6make sure we always close intermediate memory streams on exit.
Vitor Santos Costa
2008-08-25 15:19:00 +01:00
7a94144ccbsupport writeln/1 for SWI compatibility.
Vitor Santos Costa
2008-08-24 16:09:33 +01:00
a72355f288redefine arg/3 as genarg/3 unless first argument is bound on call. term_variables/3 and /2 is now a builtin-in, and thus not in the interace.
Vitor Santos Costa
2008-08-24 14:25:04 +01:00
46744810aesupport exporting DCG rules as // (swi compatibility).
Vitor Santos Costa
2008-08-24 14:24:02 +01:00
2e2aaf040badd PL_fail and PL_succeed to SWI interface emulation.
Vitor Santos Costa
2008-08-24 14:22:49 +01:00
e1544a0358genarg is at arg module, not at globals module!
Vitor Santos Costa
2008-08-24 14:18:32 +01:00
33af161136add // operator for SWI compatibility.
Vitor Santos Costa
2008-08-24 00:46:20 +01:00
52a927dcf7add 'G' option as alias to 'S', again for SWI compatibility.
Vitor Santos Costa
2008-08-24 00:40:40 +01:00
92f99fce25more SWI compatibility fixes: make -f option test if there is an argument and if so use it.
Vitor Santos Costa
2008-08-24 00:30:25 +01:00
e0f108ee55allow -L option to be used for stack size (in SWI compatibility).
Vitor Santos Costa
2008-08-23 17:48:38 +01:00
88759dbb33make -t option allow top-level-goal if number parsing fails. add '.' to goals in yap.c so that we can parse them.
Vitor Santos Costa
2008-08-23 17:26:41 +01:00
a7f75fffefAdded CHR as git module
Vitor Santos Costa
2008-08-23 02:48:10 +01:00
63d77c3561Deleted CHR
Vitor Santos Costa
2008-08-23 02:45:57 +01:00
b6409fc980fix weird instruction with tabling and new optypes; fix a stray ld.
Vitor Santos Costa
2008-08-22 03:54:10 +01:00
461d24360asupport for install_docs
Vitor Santos Costa
2008-08-22 03:53:45 +01:00
29e161399cMerge branch 'master' into devel
Vítor Santos Costa
2008-08-21 13:49:22 +01:00
2fb1cb6e00fix problem in manual (report from Bernd Gutmann)
Vítor Santos Costa
2008-08-21 13:45:49 +01:00
d96461f04cadd missing files
Vítor Santos Costa
2008-08-21 13:39:56 +01:00
f499115573redo lost updates
Vítor Santos Costa
2008-08-21 13:38:25 +01:00
258796098efix d optype
vsc
2008-08-22 02:03:39 +00:00
27c1f89dcasmall change to c* optypes
vsc
2008-08-22 02:01:27 +00:00
82efc8fb2csmall fixes to compile in Windows again. Trust _isatty
vsc
2008-08-22 01:59:48 +00:00
0719b8a19dsmall fixes to compile in Windows again. Trust _isatty
Vitor Santos Costa
2008-08-19 15:50:57 +01:00
16d0f2e749fix TopLevelGoal to handle correctly undefined predicates. Make sure that undefined predicated will not force the boot process to loop.
vsc
2008-08-19 13:33:45 +00:00
39c4a2e67ffix c_interface not to crash when people try to recover slots that are not there. fix try_logical and friends to handle case where predicate has arity 0.
vsc
2008-06-17 13:37:51 +00:00