Commit Graph

547 Commits

Author SHA1 Message Date
vsc
47765f7739 WIN32 support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1790 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-28 14:26:37 +00:00
vsc
3ddc4cef3a all/3 should fail on no solutions.
get rid of annoying gcc complaints.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1787 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-25 22:11:55 +00:00
vsc
0e560e8cb8 new version had changed semantics of all/3 to fail on no solutions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1786 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-25 10:52:50 +00:00
vsc
e0944f4a65 get rid of debugger debugging messages :-).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1783 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 14:23:29 +00:00
vsc
b3d9e88802 Fix typos across code
Change debugger to backtrack more alike byrd model
Fix typo in debugger option f


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1782 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 14:20:04 +00:00
vsc
48fdba3f1e fix matrix mess
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1778 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 10:01:40 +00:00
pmoura
c837589385 Protect the predicate with_mutex/2 by using a mutex when updating the internal database. Also, use catch/3 instead of call_cleanup/2 as the later still seems to be buggy.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1772 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-08 11:30:38 +00:00
pmoura
64e1c56f28 Success or failure of the cleanup goal should also be ignored when dealing with exceptions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1770 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-07 13:47:23 +00:00
pmoura
ab33864f0c Another attemp to get call_cleanup/2-3 right. Third is the charm (I hope...).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1769 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-07 11:27:09 +00:00
pmoura
9d3618393f Main thread cannot be cancelled (note that the predicate thread_cancel/1 is not yet operacional).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1768 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-02 11:10:58 +00:00
pmoura
ca2723e71f Code clean-up.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1767 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-02 03:01:20 +00:00
pmoura
44adaf58cd Represent more thread properties internally. Updated predicate threads/0 to also show thread detached status.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1766 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-02 02:51:31 +00:00
pmoura
57c480e165 Added predicates thread_property/1-2. Implementation is still incomplete as some thread properties are not yet internally represented.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1765 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-01 19:40:17 +00:00
pmoura
7c82c1acb3 Added predicate '$check_thread_or_alias'/2 in order to simplify error checking for most thread predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1764 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-01 18:11:24 +00:00
pmoura
2896253b4c Added error checking code to the predicates thread_exit/1 and thread_signal/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1763 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-01 17:20:56 +00:00
pmoura
bf002885d7 Support a single alias per thread. Added error checking code to the predicates thread_self/1 and thread_join/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1762 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-01 16:54:39 +00:00
pmoura
0711088664 Added error checking code to the predicate thread_detach/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1761 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 22:23:24 +00:00
pmoura
9825556096 Added predicates thread_default/1 and thread_set_default/1 (as specified in the current threads standardization proposal).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1760 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 20:33:55 +00:00
pmoura
6e0c674f13 Added missing declaration for meta-predicate thread_create/2. Added support for consulting and defining the default value of detached/1 thread creation option.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1759 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 19:33:27 +00:00
pmoura
ce1694aa15 Corrected typo in declaration of meta-predicate with_mutex/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1758 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 19:30:11 +00:00
pmoura
139e50a1ca Corrected some bugs in the implementation of thread_sleep/1. Changed implementation to make the call succeed and return immediately when the argument is zero or a negative value (matching the current threads standardization proposal).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1757 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 16:10:29 +00:00
pmoura
9de3c0c7a9 Added call/5-12 (we alread have call_with_args/2-12); not sure they are worth. Alternative implementation for call_cleanup/2-3: previous implementation appears to be pruning cleanup goals before they are executed; needs testing.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1756 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 12:29:46 +00:00
pmoura
7c0175abbc with_mutex/2 is a meta-predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1755 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 10:59:16 +00:00
vsc
88f51c97d7 fix some bugs in call_cleanup: the result of action should not matter,
and !,fail would not wakeup the delayed goal.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1754 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-31 01:50:35 +00:00
pmoura
8ddee740a4 Implemented the predicate with_mutex/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 10:49:37 +00:00
vsc
7d1b20c9cd call_cleanup/2 and 3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1750 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-30 03:25:47 +00:00
vsc
10a791842b comment out unfinished code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1749 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 10:27:03 +00:00
vsc
bc43ba2424 fix small bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1748 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 10:26:27 +00:00
vsc
c79a7a5bdb allow coroutining plus tabling, this means fixing some trouble with the
gc and a bug in global variable handling.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1745 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 01:57:50 +00:00
vsc
bb51b72a9d fix booting without global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1742 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 12:27:15 +00:00
vsc
e79300c305 fix $$cut_by and $cut_by
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1739 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:48:18 +00:00
vsc
78b52b925c diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1738 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:32:38 +00:00
vsc
714ef7a560 do not creep in k and t
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1733 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-14 09:15:18 +00:00
vsc
90c1641841 several debugger and CLP(BN) improvements.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
vsc
0705ca0640 support for UNICODE, and other bug fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1725 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-27 17:42:03 +00:00
vsc
0a21ac1b71 fix I/O mess
fix spy/reconsult mess


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1724 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-21 16:21:33 +00:00
vsc
d9029c6c56 fix library_directory
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1723 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-18 01:40:42 +00:00
vsc
93fd5bf9d5 style_checker was failing on DCGs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1722 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-17 12:10:46 +00:00
vsc
29642223bb fixes for indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1719 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-15 00:13:37 +00:00
vsc
e112ce1a8a fix bug in growstack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1718 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-14 11:42:26 +00:00
pmoura
297d94b096 Corrected a bug in the definition of predicate length/2 when the second argument is a negative number.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1710 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-07 11:44:53 +00:00
vsc
9c506b2a2c 1estranha
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1709 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-06 18:35:05 +00:00
vsc
bd015b83ee fix avl stuff and all/3 stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-19 15:09:03 +00:00
vsc
cb34dbdc88 index.c implementation of trust_logical was decrementing the wrong
cp_tr


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1706 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-18 13:47:32 +00:00
vsc
a6365ffdea fix new indexing code to actually recover space
fix predicate info to work for LUs


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1701 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-10 20:21:42 +00:00
vsc
13080439a6 small fixes on threaded implementation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1700 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-10 14:08:17 +00:00
vsc
168bef9531 fix initialization of non-backtrackable module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1698 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-28 17:24:40 +00:00
vsc
4ff41f7a62 improve indexing on floats
fix sending large lists to DB


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1692 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-20 20:03:51 +00:00
vsc
f0b132b083 more fixes for global data-structures.
statistics on atom space.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1690 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-01 20:14:42 +00:00
vsc
cd5bc14cfc win32 fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1689 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-30 01:06:30 +00:00
vsc
182d4f4694 debug fixes to new globals code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1686 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-23 12:12:14 +00:00
vsc
d11fd73306 global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1685 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-22 16:12:46 +00:00
pmoura
326c64ff2c Added a new multi-threading predicate, threads/0, which prints a nicely formatted table of current threads and their status. Similar to the predicate with the same name on SWI-Prolog except that it does not join terminated threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1658 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 23:46:57 +00:00
vsc
51553d40f2 more thread fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1655 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 17:35:49 +00:00
vsc
1d445a731d Fix termination conditions for failed and detached threads.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1654 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 16:57:21 +00:00
vsc
f5b9000018 include thread_sleep functionality.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 16:28:28 +00:00
pmoura
3b033eee50 More strict argument checking for thread predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1652 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 10:46:23 +00:00
pmoura
4f6d13e8c0 Add thread_create/2 predicate (same as thread_create/3 using default options).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1651 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 21:41:00 +00:00
pmoura
c5e3e3f528 Fixed use of thread defaults by the thread_create/3 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1650 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 15:27:45 +00:00
pmoura
cf28236537 Preliminary implementations of thread_defaults/1 and thread_set_defaults/1 for consulting/setting default sizes for new thread code areas.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1649 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 14:40:50 +00:00
vsc
00d12106d0 make chr work and other minor fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1648 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 02:35:39 +00:00
tiagosoares
21b2a88281 MYDDAS: MYDDAS version boot message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1643 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-22 16:12:01 +00:00
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
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
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
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
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
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
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
vsc
30318bb60d Lots of fixes (check logfile for details
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1585 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-05 00:16:55 +00:00
vsc
0f8650bfa3 get rid of debug code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1584 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-30 01:12:38 +00:00
vsc
79c0a8cc27 fix nasty variable shunting bug in garbage collector :-(:wq
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1583 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-30 01:11:10 +00:00
vsc
fded381282 had broken listing when changed "" to ''.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1579 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 17:15:20 +00:00
vsc
8ed6f693bb code review
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1576 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-24 16:26:31 +00:00
vsc
1edb3a8115 fix indexing and tabling bugs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1567 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-20 19:51:44 +00:00
vsc
cf669ee72b fixes to garbage collector
fixes to debugger


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1558 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-06 14:04:57 +00:00
vsc
77786d5051 oops, some debugging code got in.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1556 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-03 23:15:25 +00:00
vsc
b8e524424c fix MacOSX interrupt handling
fix using Yap files as Yap scripts.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1555 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-03 23:11:30 +00:00
vsc
703d948559 fix informational_messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1551 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-24 14:26:37 +00:00
vsc
2de3fd9474 fix trouble with tkyap (Kerri Harris)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1548 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-20 13:18:08 +00:00
vsc
919c1946f3 style check should always use true file name
pipe open was returning output descriptor twice.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1545 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-17 15:56:36 +00:00
tiagosoares
fbcfdb49a9 MYDDAS: Myddas Top Level for MySQL and Datalog
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1537 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-08 17:29:55 +00:00
vsc
a4eaafaef3 syntax error was giving the offset
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1529 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-26 19:20:00 +00:00
vsc
08d6e238fb fix error message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1525 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-20 04:35:28 +00:00
vsc
aaf846389a fix fixes ;-).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1499 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 03:16:24 +00:00
vsc
b881f59a71 fix small bug in attvar handling.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1498 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 03:12:02 +00:00
vsc
a4b85e2abd more fixes to get_attributes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1497 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-07 02:12:32 +00:00
vsc
e10213929a support new interface between YAP and GMP, so that we don't rely on our own
allocation routines.
Several big fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1490 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-02 02:16:19 +00:00
vsc
f5002fa37f updates to gprof
support for __POWER__
Try to saveregs before longjmp.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1485 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-23 00:20:14 +00:00
vsc
b52c6d333e fix bad handling of undef warning
fix exporting module in use_module([_|_],_).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1480 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-18 17:12:33 +00:00
vsc
60d79804fe major changes to support online event-based profiling
improve error discovery and restart on scanner.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1477 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-17 03:25:39 +00:00
vsc
5c2e06ad50 write_depth/3
overflow handlings and garbage collection
Several ipdates to CLPBN
dif/2 could be broken in the presence of attributed variables.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1474 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-05 17:16:12 +00:00
vsc
4157f2ce61 improvements to debugger
overflow fixes
reading attvars from DB was broken.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1472 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-26 02:57:25 +00:00
vsc
681717eecb cleanups in OS interface predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1469 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-23 13:24:00 +00:00
vsc
db16d32668 minor fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1459 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-16 02:01:09 +00:00
vsc
1088b6cf0f fix debugger message for EOF input
fix fix to setof
fix profiler spewing out hidden atoms.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1449 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-10 01:27:13 +00:00
vsc
90e2f0360f ^C was very broken: break was not accepted, and debug,
trace and statistics did not work at all.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1448 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-09 18:02:53 +00:00
vsc
90c9397a47 should have meta-predicate definitions for calls,
multifile and discontiguous.
have discontiguous as a builtin, not just as a
  declaration.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1443 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-05 23:56:10 +00:00
vsc
7aef2d7426 get rid of unnecessary ^ in setof
Found bug in comparisons


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1442 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-05 03:02:33 +00:00