Commit Graph

2212 Commits

Author SHA1 Message Date
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
rzf
212a27a564 handling queries composed by a single negative literal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2035 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 22:55:17 +00:00
rzf
e58d6b7bb5 added comments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2034 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:47:31 +00:00
rzf
63bd762d12 added test file for semlpadsld.pl and semlpad.pl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2033 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:31:34 +00:00
rzf
523a101b15 added comments to the semantic modules
added test files for semlpadsld.pl and semlpad.pl


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2032 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-04 18:30:35 +00:00
vsc
1bd96722de junction tree algorithm
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2031 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-28 23:52:14 +00:00
vsc
3beda27d14 fixes to support threads and assert correctly, even if inefficiently.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2030 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-26 23:43:10 +00:00
ricroc
5941606d19 fixed bug in itrie_traverse_cont()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2029 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 16:15:41 +00:00
vsc
507d3058f4 fix some overflows
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2028 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 15:51:39 +00:00
rzf
69ac9d7885 removed comment
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2027 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-17 19:12:02 +00:00
rzf
f7ea80dec3 added dual compilation html/pdf to manual.tex
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2026 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-17 19:09:05 +00:00
rzf
48b6818654 added instructions on semcpl.pl commands print/0 and build/1
modified targets of Makefile


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2025 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 15:23:01 +00:00
vsc
9ffa95724d just get rid of some debugging code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2024 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 15:02:25 +00:00
vsc
968c509131 matrix operations for CLP(BN) discrete distributions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2023 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 15:00:56 +00:00
vsc
d908c8633f implement sophisticated operations with matrices.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2022 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 14:58:41 +00:00
rzf
3fb3776842 fized formatting
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2021 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:31:17 +00:00
rzf
3fb86afe87 added comments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2020 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:29:09 +00:00
rzf
d88751ae2d now it copies also manual.bbl and Makefile
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2019 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 16:27:09 +00:00
rzf
dd38b5706f removing old files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2018 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 14:01:22 +00:00
rzf
8fb01d6607 examples for the new programs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2017 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-15 12:38:55 +00:00