vsc
326583c727
current_thread would report an error on a non-existing id or alias.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1636 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-18 16:46:43 +00:00
vsc
ee78d90bb9
fix info reported by memory manager under DL_MALLOC and SYSTEM_MALLOC
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1635 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-18 16:33:05 +00:00
vsc
ef80f1df70
fix growglobal to handle the USE_MALLOC case correctly.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1634 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-18 13:07:48 +00:00
vsc
64a70572de
make system library use true file name
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1633 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-17 18:38:11 +00:00
vsc
98de08022b
WIN32 fixes
...
compiler bug fixes
extend interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1632 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-16 18:37:31 +00:00
vsc
b54dd9e2b9
more thread stuff
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1631 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-04 18:46:50 +00:00
tiagosoares
89d8c4d035
MYDDAS: Add dependencies to MYDDAS compilation flags
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1630 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-04 18:16:08 +00:00
vsc
034e780548
fix bug in thread initialization.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1629 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-04 17:47:28 +00:00
tiagosoares
174a2c4518
MYDDAS: Enhanced statistics ability
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-03 18:02:29 +00:00
vsc
955c6d7b32
avoid uninitialised memory at overflow.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1627 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 16:44:11 +00:00
vsc
9bb06c4c7e
bug in indexing code
...
fix warning messages for write.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1626 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 16:39:06 +00:00
rslopes
8a7745bff6
include <readline/history.h>
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1625 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 14:05:13 +00:00
ricroc
ec5891574e
incomplete tabling: remove subgoal frame from list of inactive subgoals when a repeated call appears.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1624 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-02 08:01:27 +00:00
tiagosoares
fd79ec1b9d
MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2. Added also a sql_query_optmizer for translate/3
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1623 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:11:25 +00:00
tiagosoares
7abbf8a1d8
MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1622 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:07:44 +00:00
ricroc
6c4cb8ab74
restore startup when not defined YAP_MEMORY_ALLOC_SCHEME.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1621 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 15:54:56 +00:00
ricroc
676e2774c9
new built-in predicate: show_tabled_predicates/0
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1620 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 15:52:22 +00:00
vsc
481a01c5e5
fix expand_consult patch
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1619 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-29 01:15:18 +00:00
vsc
62f7b73f09
fix the expand_consult patch
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1618 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 17:53:44 +00:00
vsc
720db316ce
cleanups
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1617 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 16:14:05 +00:00
vsc
9101c18410
do locking on streams
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1616 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 15:48:33 +00:00
vsc
6fb10bfc51
fix number of overflow bugs affecting threaded version
...
make current_op faster.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1615 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-28 13:23:23 +00:00
rslopes
a80878d5f6
fix do profiler offline.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1614 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 20:58:59 +00:00
vsc
da7da82733
don't use <= to compare with block top (libc may not have block header).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1613 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 17:04:08 +00:00
rslopes
87a481ca45
*** empty log message ***
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1612 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-27 14:13:24 +00:00
vsc
d9689d50d4
prolog_flag(toplevel_print_options,_) was undocumented and broken!
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1611 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 16:02:20 +00:00
vsc
b9e5416355
fix ! in debugger (execute_clause)
...
improve system/1 and execute/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 03:23:40 +00:00
tiagosoares
1265946374
MYDDAS: Reserved a predicate property entry Flag, for future use.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1609 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-24 12:05:51 +00:00
tiagosoares
dc31a4fc40
MYDDAS: Compilation error corrected. When MYDDAS_ODBC was enabled and MYDDAS_MYSQL not, it wouldn't compile. Bug report from Keri Harris.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1608 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-24 12:04:21 +00:00
vsc
3b26b9603b
fix thread_peek_message to understand aliases
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1607 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-22 11:51:38 +00:00
vsc
9cbe63778e
fix garbage collector to handle multi-assigned variables and to not mess around
...
with cp_tr fields.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1606 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-21 21:50:33 +00:00
ricroc
9c12627e84
documentation for tabling execution.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1605 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-21 18:39:38 +00:00
vsc
d8ccb42440
fix current_thread to make sure it uses the integer ID even with aliases.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1604 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 17:29:46 +00:00
vsc
5198ba1077
more graph stuff.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 15:28:08 +00:00
vsc
6d704a6675
commit updates to graphs and red-blac trees.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1602 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-14 01:01:55 +00:00
rslopes
b80a77e4b5
update version to Yap-5.1.2 (working version)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1601 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-13 12:02:39 +00:00
vsc
176f36d5fd
fix debugging typo
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1600 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-13 02:04:24 +00:00
vsc
ab361ad9fd
make it sure that making vars safe does not propagate across branches of disjunctions.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1599 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 20:08:51 +00:00
vsc
af65e2dbc2
fix bug in clause: a trust_me followed by a try should be implemented by
...
reusing the choice-point.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1598 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 18:56:50 +00:00
rslopes
307a132aa6
fix for the EAM internal function that shows abstract machine code
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1597 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 17:26:14 +00:00
rslopes
f116d8b854
fix needed by the EAM engine
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1596 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 17:14:58 +00:00
rslopes
1c6cb0e8cf
small fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1595 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 15:51:23 +00:00
ricroc
1ce0cdee55
subgoal_search: remove subgoal frame from list of inactive subgoals when a repeated call appears.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1594 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-12 14:57:59 +00:00
rslopes
e2b10fe908
fix for older compilers
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:49:07 +00:00
rslopes
13479f6091
Update for sun arch.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1592 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:45:43 +00:00
vsc
783ae4b9a0
fix syntax error message handling
...
improve redblack trees and use it to reimplement association lists and
to have better implementation of several graph algorithms.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-10 19:24:52 +00:00
rslopes
39daac182e
eamconsult can now be used to pre-compile simple prolog code.
...
We still need to support futher builtins.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1590 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 15:12:08 +00:00
rslopes
11f13db8fc
bug fix
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1589 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 14:56:48 +00:00
rslopes
794f7d1ce7
updated eamconsult, but still supporting only skip_while_var.
...
Next we plan to support other bluitins through
eam and-or-tree controls. Example:
var(X) must be transformed into wait_till_bound(X), var(X)
that will fail if X is bound or waits till is leftmost in the and-or-tree
before continuning...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1588 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-08 13:28:23 +00:00
rslopes
5179cb7d2b
eam.yap includes first version of eamconsult
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1587 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-06 11:18:37 +00:00