Commit Graph

514 Commits

Author SHA1 Message Date
Vítor Santos Costa
123cf5af84 use external module for clib 2011-03-15 16:26:44 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +00:00
Vítor Santos Costa
2a76f86785 don't lock ThreadLocal predicates. 2011-03-15 09:08:09 +00:00
Vítor Santos Costa
656e95f068 fix low level emulation. 2011-03-14 21:03:28 +00:00
Vítor Santos Costa
2d2f5f8702 remove debugging message. 2011-03-14 21:03:13 +00:00
Vítor Santos Costa
0d6be2d858 improve string support
fix non-thread compilation.
2011-03-11 23:21:23 +00:00
Vítor Santos Costa
d42db0dc5c ithread_pool (untested). 2011-03-11 21:31:10 +00:00
Vítor Santos Costa
cb192cf26a add get_time. 2011-03-11 20:36:40 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
3c5eb3ff7d use SWI version of CLIB 2011-03-10 11:05:53 +00:00
Vítor Santos Costa
4b8a9a4f4e make http an external module. 2011-03-09 23:38:58 +00:00
Vítor Santos Costa
f92f8daa6d fix debugging message. 2011-03-09 22:39:11 +00:00
Vitor Santos Costa
4ad0407388 fix small differences 2011-03-09 13:33:30 +00:00
Vitor Santos Costa
5418f55d74 fix pl-tai 2011-03-09 13:05:03 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
ubu32
e98ba46ccb make new code work in 32 bit Linux. 2011-03-07 08:34:20 -08:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
9c3041f1e3 support copying registers in SWI code. 2011-03-03 11:41:21 +00:00
Vítor Santos Costa
da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
Vítor Santos Costa
cd287280b3 fix warnings 2011-03-02 09:20:05 +00:00
Vítor Santos Costa
824b5ff88e support critical sections, now that we have Yap.h 2011-03-02 09:19:35 +00:00
Vítor Santos Costa
7f3e510992 get rid of aliasing warnings. 2011-03-02 09:18:51 +00:00
Vítor Santos Costa
d42f4daed0 get rid of unused functions. 2011-03-02 09:18:14 +00:00
Vítor Santos Costa
282760de9c fix an alias warning by replacing cast by an union. 2011-03-02 09:15:30 +00:00
Vítor Santos Costa
b868d85ac8 make rl not deadlock under SIGINT 2011-03-01 12:31:19 +00:00
Vítor Santos Costa
0e447436b3 fix missing lock in OpInfo 2011-03-01 10:32:25 +00:00
Vítor Santos Costa
cce6bb6354 LD should be local to threads.
get rid of write_depth on YAP side.
2011-03-01 10:26:25 +00:00
Vítor Santos Costa
31909e3741 fix makefile rules.
fix dtoa for 64 bit machines
2011-03-01 09:18:19 +00:00
ubu32
3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
ubu32
f2e8f2ac2e more fixes for bignum support in PLStream. 2011-02-27 03:40:27 -08:00
ubu32
3c261305db interface to rationals. 2011-02-27 02:13:25 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
fbdac55317 rm Makefile, we have Makefile.in 2011-02-25 12:05:51 +00:00
Vítor Santos Costa
11f4ac0e52 remove dump files. 2011-02-25 12:04:46 +00:00
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vítor Santos Costa
6ea0b727e0 delete executable. 2011-02-23 15:35:17 +00:00
Vítor Santos Costa
29e46cbab9 Experimental code for Tiago Gomes bp solver. 2011-02-23 15:31:56 +00:00
Vitor Santos Costa
4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa
d4f11c9fda Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-02-16 21:12:03 +00:00
Vitor Santos Costa
0614a8c26e readline fixes 2011-02-16 21:11:45 +00:00
ubu32
3736a14d9b small fixes 2011-02-15 16:41:32 -08:00
Vitor Santos Costa
dce619f804 compile readline. 2011-02-16 00:23:58 +00:00
Vitor Santos Costa
ef918d8fe4 try compiling pl-rl 2011-02-15 23:45:47 +00:00
Vitor Santos Costa
842f80e928 encoding support. 2011-02-15 22:44:06 +00:00
Vítor Santos Costa
49f980a7a7 small fixes 2011-02-15 19:24:15 +00:00
Vítor Santos Costa
e90a1ce024 avoid repeated fetch 2011-02-15 18:40:18 +00:00
Vítor Santos Costa
ce0874d6be improve code to avoid warning. 2011-02-15 18:39:50 +00:00
Vítor Santos Costa
7b8a25d961 iYAP allows variables to be written as $VAR(-1) -> _ 2011-02-15 18:24:35 +00:00
ubu32
57f5ef8cfc more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
2011-02-15 05:54:19 -08:00
ubu32
4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
ubu32
09f4810b76 __APPLE__ is __unix__:w 2011-02-14 06:51:28 -08:00
ubu32
17da004a5f make sure we initialize the OS bits. 2011-02-14 06:49:48 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
a41627ef1d return time as an int64, not as a float. 2011-02-12 00:45:00 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vitor Santos Costa
2451a052cb use text routines from current SWI fli. 2011-02-12 00:17:59 +00:00
Vítor Santos Costa
45032cc61e export current predicate for SWI built-ins. 2011-02-11 19:01:18 +00:00
Vitor Santos Costa
07b17f473a improve non empty files. 2011-02-11 14:17:06 +00:00
Vítor Santos Costa
b475be5692 more SWI compatibility changes. 2011-02-11 01:22:07 +00:00
Vítor Santos Costa
02c791fc3d iminor PLStream fixes. 2011-02-10 21:45:43 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vitor Santos Costa
841f6eb1e5 YAP updates. 2011-02-10 00:02:05 +00:00
Vitor Santos Costa
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
Vitor Santos Costa
8e8c361671 zlib is now submodule. 2011-02-09 13:11:15 +00:00
Vitor Santos Costa
b00ed6508e move to new sharing structure 2011-02-09 13:10:20 +00:00
Vítor Santos Costa
0ad02c3ee1 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-02-08 21:06:02 +00:00
Vítor Santos Costa
54507703fe Merge branch 'master' of ../yap-6.2 2011-02-08 21:05:12 +00:00
Theofrastos Mantadelis
89789e8232 corrected an import bug 2011-02-08 15:57:23 +01:00
Vitor Santos Costa
9bdc7ca96e get rid of references to freed code. 2011-02-04 01:23:01 +00:00
Vitor Santos Costa
c1721df472 Merge branch 'master' of /yap-6.3
Conflicts:
	C/c_interface.c
2011-02-03 11:33:50 +00:00
Vitor Santos Costa
48b891a5b2 Merge branch 'master' of ../yap-6.2 2011-02-03 11:27:01 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a4a1feeacc improve SWI emulation in WIN32. 2011-02-03 11:23:12 +00:00
Vítor Santos Costa
ea5b0a29b2 Merge branch 'master' of ../yap-6.2 2011-02-02 19:38:32 +00:00
Vítor Santos Costa
cbf6caddbd fix support for comparing weird terms. 2011-02-02 19:37:11 +00:00
Vítor Santos Costa
f840ee307d Merge branch 'master' of ../yap-6.2 2011-02-02 16:15:50 +00:00
Vitor Santos Costa
67ec597966 Merge ../yap-6.2 2011-01-21 08:16:41 -06:00
Theofrastos Mantadelis
457052f661 Corrected a minor ProbLog bug 2011-01-17 12:02:05 +01:00
vsc
150d54d527 fix jpl 2010-12-31 05:39:22 +00:00
vsc
58b838b8e1 fix bad overflow handling 2010-12-31 05:37:25 +00:00
Vitor Santos Costa
fa0e2d6954 Merge branch 'master' of ../yap-6.2 2010-12-30 22:45:06 -06:00
Vitor Santos Costa
5feb6a9dc5 SWI emulation: it is unsafe to keep arguments in regs. 2010-12-30 22:42:30 -06:00
Vitor Santos Costa
7c86b244b9 patches from Keri Harris 2010-12-30 22:14:45 -06:00
Vitor Santos Costa
eb4e59652f fix getStrem in 2010-12-29 09:29:30 -06:00
Theofrastos Mantadelis
8d77ee7769 ProbLog: Added fact map export 2010-12-20 12:36:59 +01:00
Vitor Santos Costa
8cee9a27c7 Merge branch 'master' of ../yap-6.2 2010-12-19 22:07:44 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +00:00
Vítor Santos Costa
26c265ba13 Merge branch 'master' of ../yap-6.2 2010-12-17 20:27:26 +00:00
Theofrastos Mantadelis
90041919d4 fixed problogbdd compilation warnings 2010-12-17 12:23:03 +01:00
Vítor Santos Costa
81ca149be7 Merge branch 'master' of ../yap-6.2 2010-12-16 22:22:44 +00:00
Theofrastos Mantadelis
a442d888de Newest ProbLog version 2010-12-16 14:30:50 +01:00
Vítor Santos Costa
2dad416011 Merge branch 'master' of ../yap-6.2 2010-12-15 20:04:13 +00:00
Vítor Santos Costa
4546a22101 SWI seems to use t=0 for user_input/output. Not very clear why... 2010-12-15 20:03:22 +00:00
Vitor Santos Costa
dffacb814b Merge branch 'master' of ../yap-6.2 2010-12-13 12:40:07 +00:00
Vitor Santos Costa
3c4da56af2 allow write to find out about SWI streams in SWI mode. 2010-12-13 12:38:37 +00:00
Vítor Santos Costa
51e9cb14a7 nl should be in the SWI IO (obs from Roberto Bagnara). 2010-12-12 19:07:24 +00:00
Vítor Santos Costa
b086d8b5cd Merge branch 'master' of ../yap-6.2 2010-12-07 18:21:50 +00:00
Vítor Santos Costa
1bbded5ef7 memfiles need swi compat streams. 2010-12-07 18:20:45 +00:00
Vítor Santos Costa
856a32bd19 Merge branch 'master' of ../yap-6.2 2010-12-03 12:13:14 +00:00
Vítor Santos Costa
f8806bed9f explicitely link pthreads in clib. 2010-12-03 12:12:15 +00:00
Vítor Santos Costa
4e0390da5c Merge branch 'master' of ../yap-6.2 2010-12-02 19:42:52 +00:00
Theofrastos Mantadelis
9ee83ddf6c problog examples fix 2010-12-02 15:04:42 +01:00
Theofrastos Mantadelis
f46000cd11 office fix 2010-12-02 15:02:49 +01:00
Theofrastos Mantadelis
df162a0ae6 Updating ProbLog and adding ADs 2010-12-02 14:55:15 +01:00
Theofrastos Mantadelis
b54517d419 Updating ProbLog and adding ADs 2010-12-02 14:54:47 +01:00
Theofrastos Mantadelis
d3cdc8d2b9 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-12-02 14:48:39 +01:00
Theofrastos Mantadelis
6ffa3eb06b ... 2010-12-02 14:48:28 +01:00
Vitor Santos Costa
bb679f15fd Merge ../yap-6.2 2010-11-30 22:34:16 +00:00
Vitor Santos Costa
cb1307ded7 hack to fix differences in SWI compatibility. 2010-11-30 22:33:12 +00:00
Theofrastos Mantadelis
611af95e43 added anottated disjunctions 2010-11-30 19:17:25 +01:00
Vítor Santos Costa
338a6a1b9b Merge branch 'master' of ../yap-6.2 2010-11-29 16:53:32 +00:00
Vítor Santos Costa
eeee1a29b4 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2010-11-29 16:52:56 +00:00
Paulo Moura
e784d72c22 Fixed make clean bug for the tai package (reported by Roberto Bagnara). 2010-11-29 15:36:23 +00:00
Vitor Santos Costa
d1a05d2fb4 Merge ../yap-6.2 2010-11-28 11:53:16 +00:00
Vitor Santos Costa
c47419ed03 better support for YAP portability. 2010-11-28 11:50:21 +00:00
Vitor Santos Costa
bdc497cba0 Merge ../yap-6.2 2010-11-24 08:44:37 +00:00
Vitor Santos Costa
bd59f1e908 process needs maplist (obs from Nicos). 2010-11-24 08:42:26 +00:00
Vítor Santos Costa
ff95134c16 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2010-11-22 18:08:09 +00:00
Vitor Santos Costa
cf59f9aedc Merge ../yap-6.2 2010-11-21 22:12:20 +00:00
Theofrastos Mantadelis
bad796702d follow up for using user defined ground 2010-11-09 15:12:34 +01:00
Theofrastos Mantadelis
94d6c3cebd Added a user modifiable ground handler for ProbLog probabilistic facts 2010-11-09 02:51:24 +01:00
Vítor Santos Costa
60f7678c01 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2010-11-08 16:08:51 +00:00
Vitor Santos Costa
f34cd3cfea Merge ../yap-6.2 2010-11-07 19:57:39 +00:00
Vítor Santos Costa
b2b8fc480a Merge branch 'master' of ../yap-6.2 2010-11-05 11:07:22 +00:00
Vitor Santos Costa
916f43c799 makefile for meld plaything 2010-11-05 04:19:51 +00:00
Theofrastos Mantadelis
0a5a1efd77 no comment 2010-11-03 19:34:16 +01:00
Theofrastos Mantadelis
8303b477ab these guys got forgotten 2010-11-03 19:30:43 +01:00
Theofrastos Mantadelis
24b21de2e7 ProbLog Makefile.in to include a new file please re-configure 2010-11-03 19:24:37 +01:00
Theofrastos Mantadelis
c804d105b6 Some ProbLog improvements related with tabling efficiency, more to come soon 2010-11-03 19:22:11 +01:00
Vítor Santos Costa
2f525cb2f3 first attemp at deletion. 2010-11-03 16:16:40 +00:00
Vitor Santos Costa
cca1461747 reentrant maxval and minval. 2010-11-03 09:45:18 +00:00
Vitor Santos Costa
a90e006be0 more meld updates. 2010-11-03 00:33:26 +00:00
Vitor Santos Costa
89ef9ac1e4 integrate meld. 2010-11-01 22:20:58 +00:00
Vitor Santos Costa
216c1b85f3 an implementation of the meld language. 2010-11-01 21:29:12 +00:00
Vitor Santos Costa
95acd408e7 support DragonFly BSD (patch from Aleksej Saushev) 2010-10-27 10:11:19 +01:00
Vitor Santos Costa
9304fd52f7 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-10-24 21:31:52 +02:00
Vitor Santos Costa
d5785152f8 more HAVE_CONFIG_H patches 2010-10-24 21:28:37 +02:00
Vitor Santos Costa
facebe43e4 doc fixes
64 bits should use /usr/lib64, not /usr/lib
2010-10-24 21:26:49 +02:00
Theofrastos Mantadelis
de06131ba4 bug correction 2010-10-20 17:41:13 +02:00
Theofrastos Mantadelis
284fc9ab8b corrected a small bug with export 2010-10-06 18:27:40 +02:00
Theofrastos Mantadelis
1342d2dab2 SimpleCUDD versioning 2010-10-06 13:24:25 +02:00
Theofrastos Mantadelis
d1839b730c ProbLog versioning, ProbLog Tabling warning message instead of error 2010-10-06 12:59:18 +02:00
Theofrastos Mantadelis
ff6bd1dda0 ProbLog Versioning System 2010-10-05 18:29:29 +02:00
Theofrastos Mantadelis
f2e3476a8e ProbLog Versioning System 2010-10-05 18:27:09 +02:00
Theofrastos Mantadelis
5323a3677d ProbLog Versioning System 2010-10-05 18:26:40 +02:00
Theofrastos Mantadelis
c1c02d1e95 Correcting some versioning issues 2010-10-01 12:04:45 +02:00
Theofrastos Mantadelis
69dbf72553 Various ProbLog improvements 2010-10-01 11:40:24 +02:00
Theofrastos Mantadelis
4359629681 ProblogBDD -> problogbdd 2010-09-29 18:43:48 +02:00