Commit Graph

2031 Commits

Author SHA1 Message Date
pmoura
d39002c271 Work in progress in the implementation of a version of the message_queue_create/2 compliant with the ISO Threads DTR.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2085 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-09 13:04:32 +00:00
ricroc
458bdd890d bug in auxiliary_term_stack_size
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2084 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 19:35:12 +00:00
vsc
7a9e7816c9 undo current_predicate changes and make iso fully use LU semantics.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2083 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 09:49:21 +00:00
vsc
62c7d4aa8b fix reaction to pe==NULL
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2082 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 23:30:23 +00:00
vsc
83e941e4cf don't break ISO standard in current_predicate/1.
Include Nicos flag.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2081 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 23:09:13 +00:00
vsc
a65a9d67ad changes to import
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2080 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 22:34:45 +00:00
vsc
9b4c83ddb2 fix case where predicate is for an integer (DBEntry).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2079 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 21:39:51 +00:00
vsc
10afcef66b new version of CLP(FD)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2078 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 11:28:14 +00:00
pmoura
2f5a1ae92f Corrected a few typos on the classification of predicates as ISO Prolog predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2077 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-02 03:35:35 +00:00
vsc
1335561f1f get DebugPlWrite back in
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2076 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-01 22:40:05 +00:00
ricroc
51fd3b2dcc trie support for atoms with spaces
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2075 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-01 18:59:38 +00:00
pmoura
176c6ae3c5 Corrected a problem with the format/2 call in the definition of the new predicate time/1 for those cases where we print "Inf" instead of a number for the CPU percentage.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2074 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-01 16:50:28 +00:00
pmoura
ba31d8db97 NEW: time/1 (based on the SWI-Prolog time/1 predicate; request from Paulo Moura).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2073 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-31 23:31:47 +00:00
vsc
cfa2a8f75f fix indexing in 64 bits (it would split ints from atoms :( ).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2072 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-30 10:35:43 +00:00
vsc
cca4dfef2e fix debugger
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2071 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-29 17:25:45 +00:00
vsc
4a07cd99a5 win version was broken because wchar_t is unsigned in WIN32.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 23:35:04 +00:00
vsc
c567a5aeb1 fix small bug in recorded multi-threaded.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2069 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 18:21:26 +00:00
vsc
f1613bf732 fix small bug in restore opcode
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2068 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 18:12:36 +00:00
vsc
e032bcb8be fix typo
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2067 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 17:13:41 +00:00
vsc
fc2d89a372 fix case where BOM is asked for, and fix case where file with BOM is
consulted, not just read. Also fix some deadlocks when protecting
file access.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2066 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 12:47:45 +00:00
vsc
456b4eb6c1 fix BOM trouble
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2065 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 10:42:20 +00:00
vsc
44e4a953e4 fix another trail overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-27 23:07:30 +00:00
vsc
ff8213e506 make thread code more stable
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2063 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-27 11:01:07 +00:00
vsc
4ae454aac6 Will Benton's patches for Mac 64 bits.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2062 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-25 00:21:28 +00:00
vsc
fd6b87e5cf oops
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2061 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-24 22:47:14 +00:00
vsc
82508f287b avoid self-locking in garbage collector.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2060 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-24 22:21:27 +00:00
vsc
42c88eddff clause should not try to discover who is fail.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2059 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-24 10:20:42 +00:00
vsc
e353d8811f garbage collector was not asking for space.
avoid 0 sized calls to mmap.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2058 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-24 00:11:59 +00:00
vsc
817663588d get rid of debugging messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2057 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 22:22:42 +00:00
vsc
1a2d89a423 fix aux allocation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2056 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 18:25:19 +00:00
vsc
637f381d94 valgrind it!
enable atom garbage collection.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2055 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 17:57:56 +00:00
vsc
2a7d514d3f fix missing variable
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2054 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-16 09:53:42 +00:00
vsc
b677c030de fix socket bug with undo char.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2053 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-14 18:08:24 +00:00
vsc
535a43245d line utilities
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2052 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-14 16:34:06 +00:00
vsc
d7eaa84d9e fix declaration
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2051 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-02 10:02:33 +00:00
pmoura
0176f14ae9 The arithmetic function integer/1 is not an ISO Prolog function.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2050 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-01 21:05:13 +00:00
vsc
76bf9355a4 add SWI's char and code_type/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2049 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-29 12:26:41 +00:00
pmoura
f231da016b Correcte typo in the documentation of the key "walltime" of the built-in predicate statistics/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2048 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-27 02:40:28 +00:00
vsc
3faa45cb0a new version of clp(fd)
fix deadlock with empty args facts in clause/2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2047 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-26 19:50:40 +00:00
vsc
65d3704e4b recover stack space
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2046 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-23 22:48:44 +00:00
vsc
926d21808e purge_clauses does not need to do anything if there are no clauses
fix gprof bugs.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2045 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-18 17:46:58 +00:00
rzf
7f925bcd5b corrected bugs in handling negation
improved performance


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2044 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-11 18:46:14 +00:00
rzf
b8f97132d2 fixed typo in configure.in
cleaned up code in lpad.pl


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2043 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-11 11:49:36 +00:00
rzf
0ba4dd8efd removed loading of shared library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2042 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-10 21:27:20 +00:00
rzf
1d8e42eff0 now cplint compiles also under Mac OS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2041 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-09 22:46:38 +00:00
rzf
803e032b9f added some test file
added a target to makefile to perform individual tests


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2040 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 17:43:32 +00:00
rzf
9c511da82c Corrected a bug when dealing with existentially quantified bodies.
Now it does not need anymore BDDs


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2039 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 16:32:17 +00:00
vsc
aa642a83f9 weighted graphs SICStus like library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2038 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 14:49:59 +00:00
vsc
64d62f1e3e improve JT
fix graph compatibility with SICStus
re-export declaration.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 12:17:25 +00:00
rzf
c9c6b2e25c fixed compilation bug (it was not finding YapInterface.h in a clean install)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2036 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 10:47:19 +00:00