Commit Graph

983 Commits

Author SHA1 Message Date
Ricardo Rocha
42631bcc71 missing cache regs 2012-04-23 18:57:10 +01:00
Vítor Santos Costa
a9434aed37 more gc changes. 2012-04-20 23:45:16 +02:00
Vítor Santos Costa
fac8af303d fix call to gc. 2012-04-18 00:57:43 +02:00
Denys Duchier
c484053210 added a README file for gecode bindings 2012-04-16 22:28:35 +02:00
Denys Duchier
638bcfb242 added support for gecode 3.7.3 2012-04-16 22:14:34 +02:00
Denys Duchier
82ced70a33 maybe import customize_compiler from new distutils 2012-04-16 22:02:53 +02:00
Denys Duchier
347b28f69d removed -q option because of new g++ 2012-04-16 21:59:11 +02:00
Denys Duchier
b66b261972 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-04-16 21:51:54 +02:00
Vítor Santos Costa
01b86d78cc support warning if matlab is not to be found. 2012-03-22 21:42:11 +00:00
Vítor Santos Costa
a0d2e6f285 dgraph_leaves: all leaves in a directed graph (linear time). 2012-03-22 21:41:48 +00:00
Denys Duchier
05bd59a2fb better error messages. regenerated for all versions of gecode 2012-03-22 20:49:24 +01:00
Denys Duchier
8b16734e1c fix for setvars. also slightly better errors in generated code. 2012-03-22 16:10:59 +01:00
Denys Duchier
48cb3d6543 added support for gecode 3.7.2 2012-03-22 15:10:19 +01:00
Vítor Santos Costa
7b84608e5e ifix case where we lose hash table output. 2012-03-22 12:07:38 +00:00
Vítor Santos Costa
88cc8a0bdb predicate options. 2012-02-13 09:39:09 +00:00
Vítor Santos Costa
795a958090 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-02-12 12:29:00 +00:00
Vítor Santos Costa
ea18699602 JPL support patches. 2012-02-12 12:28:37 +00:00
João Santos
21522ce151 CACHE_REGS 2012-02-07 15:18:43 +00:00
Vitor Santos Costa
3648c562fa more lammpi compilation fixes. 2012-02-06 17:35:32 +00:00
Vitor Santos Costa
e032d5faf7 configure fixes for LAM MPI. 2012-02-06 16:44:33 +00:00
Vítor Santos Costa
0b1c98d3f6 allow MPI to compute term size. 2012-02-05 11:57:03 +00:00
Vítor Santos Costa
bd677152e7 more MPI fixes. 2012-02-05 11:20:30 +00:00
Vítor Santos Costa
e6fb330f58 fix warnings. 2012-02-03 20:55:35 +00:00
Vítor Santos Costa
5e85dcbd8e an example. 2012-02-03 20:53:59 +00:00
Vítor Santos Costa
a2c86643b0 ismall fixes to MPI interface. 2012-02-03 16:31:49 +00:00
Vítor Santos Costa
ab33cacf7b LAM MPI interface support. 2012-02-02 23:25:31 +00:00
Vítor Santos Costa
6eea1fe1ea fixes for export_term and friends. 2012-02-02 23:25:09 +00:00
Vítor Santos Costa
c60514f89b add some MPI tests. 2012-02-02 10:00:17 +00:00
Vítor Santos Costa
4e6cc28cd3 lam support. 2012-02-02 09:58:05 +00:00
Vítor Santos Costa
7e73c781b0 configure fixes for lam-mpi. 2012-02-01 19:26:58 +00:00
Vitor Santos Costa
db619fa81f protect atoms in SWI interface. 2012-01-17 12:37:29 +00:00
Vítor Santos Costa
f2dc53a53e atoms passed through the SWI interface must always have a hold. 2012-01-15 11:21:38 -06:00
Vítor Santos Costa
5ce80cfe8a fix matrix row removal. 2012-01-10 18:49:16 +00:00
Vitor Santos Costa
d3c7800ab4 support PL_skip_list and PL_unify_bool. 2012-01-09 23:29:31 +00:00
Vitor Santos Costa
f632bc72bc comment out debugging codes. 2012-01-09 23:27:22 +00:00
Vítor Santos Costa
00b5edd8da allow copying a chunk of floats to a list in a single operation. Also
improve performance of sum out operation on arrays.
2011-12-30 16:04:16 +00:00
Vítor Santos Costa
551df1c70a handle blob overflows. 2011-12-22 10:27:56 +00:00
Denys Duchier
0eb760e68f doc for kept vars 2011-12-03 23:35:44 +01:00
Denys Duchier
8aa813d342 initial support for 'keep' 2011-12-03 23:31:28 +01:00
Denys Duchier
696e0e91e7 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-12-03 22:05:22 +01:00
Denys Duchier
9a78735aaf added support for search options 2011-12-03 22:04:04 +01:00
Vítor Santos Costa
514189e097 gecode compatibility. 2011-12-02 23:09:25 +00:00
Denys Duchier
9ebcae23ea add -framework gecode if necessary 2011-12-02 14:30:55 +01:00
Denys Duchier
7c78f52a89 support search options, added 'restart' 2011-12-01 22:48:28 +01:00
Denys Duchier
d9ce468a03 move to a leaner install procedure 2011-12-01 21:54:39 +01:00
Vítor Santos Costa
ee4ad9ffd0 ifix warnings. 2011-11-30 13:05:44 +00:00
Vítor Santos Costa
7b6d26b014 fix thread stuff. 2011-11-16 15:20:21 +00:00
Vítor Santos Costa
42cb27c973 ifix typo. 2011-11-14 14:36:24 +00:00
Vítor Santos Costa
02a8b35e36 improve action rules compilation. 2011-11-10 12:27:07 +00:00
Vítor Santos Costa
2ee9981a11 new Makefiles and prototypes. 2011-11-03 07:55:56 +09:00
Vítor Santos Costa
1d2de81e86 update bprolog emulation stuff. 2011-11-03 07:54:51 +09:00
Vítor Santos Costa
fc2a50b67e use C-code. 2011-11-03 07:51:58 +09:00
Vítor Santos Costa
51bcb1f5a3 handle PL_unify_int64 without bigint when number is small enough. 2011-11-03 07:45:51 +09:00
Vítor Santos Costa
73e3359d4f enumerate bhashes and fix bug in haash expansion. 2011-11-03 07:44:38 +09:00
Vítor Santos Costa
1769fc7313 bprolog support 2011-10-27 12:38:22 +02:00
Vítor Santos Costa
20a1362bf8 bprolog support 2011-10-27 12:38:11 +02:00
Vítor Santos Costa
c57fbf40e6 extend support for hash tables. 2011-10-24 22:49:42 +01:00
Vítor Santos Costa
73dd81478f B-Prolog suppoty. 2011-10-24 22:47:42 +01:00
Vítor Santos Costa
f6cc9578ae first cut at emulation for BP C-interface. 2011-10-24 22:44:41 +01:00
Vítor Santos Costa
c052b195e5 fix interface dependencies. 2011-10-21 22:06:13 +01:00
Vitor Santos Costa
565407926d compilation fixes. 2011-10-13 16:47:02 +01:00
Vitor Santos Costa
9cfd4d8d8b move package/PLStream to os
modify Makefiles accordingly
define __unix__ on Unix like clones (OSX, AIX, etc).
2011-09-04 19:42:33 +02:00
Denys Duchier
0e49f6cf3b doc should say to load gecode as a library module 2011-09-02 20:00:55 +02:00
Denys Duchier
33f1566a81 import gecode as a library 2011-09-02 14:23:35 +02:00
Denys Duchier
da437bb6a9 don't leave pickles in source directory 2011-08-30 15:58:49 +02:00
Denys Duchier
6bb5476411 added extracted files for gecode 3.7.0 2011-08-30 15:44:22 +02:00
Denys Duchier
fcb70fe502 parenthesize conditionals 2011-08-25 12:47:13 +02:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
0e2da3c3e0 fix version info 2011-08-18 22:32:59 +01:00
Vitor Santos Costa
d51a89c815 fix time routines 2011-08-16 13:31:59 +00:00
Denys Duchier
4c4f3b624d add pid to temp filename so that make -j works 2011-08-12 16:33:57 +02:00
Denys Duchier
d70e53f243 support for ranges and values of intvars 2011-08-09 16:57:33 +02:00
Denys Duchier
76dd2511a8 finish and test support for dynamic arrays 2011-08-09 16:30:59 +02:00
Denys Duchier
31063fdc85 Merge branch 'master' of /home/denys/src/yap/yap-6.3 2011-08-09 15:03:54 +02:00
Denys Duchier
292f89360b add support for compilers without dynamic arrays 2011-08-09 15:03:45 +02:00
Vitor Santos Costa
8096f22b21 fix Makefile to use -I. 2011-08-09 08:34:50 -03:00
Denys Duchier
d4d4dbaddf added support for gecode library 2011-08-08 15:21:36 +02:00
Vitor Santos Costa
a83546e313 fixes to have windows version of yap. 2011-07-26 23:32:38 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
2c8e6cf2d1 fixes to ODBC interface: plug memory leak. 2011-07-21 02:24:08 -07:00
ubu32
dfd2db7c85 fix execute to actually check for null and to actually check result of dup. 2011-07-10 04:49:27 -07:00
Vitor Santos Costa
a516d6ad47 more SWI stuff. 2011-06-14 09:04:03 +01:00
Vitor Santos Costa
49450cbbf4 lists_to_set/2 (from SWI). 2011-06-14 09:01:48 +01:00
Vitor Santos Costa
82ecc61f6d missing read_from_chars/2 2011-06-14 09:00:25 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
029bf6e400 improve error message. 2011-06-06 12:27:45 +01:00
Vitor Santos Costa
1962a0507f Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-06-01 14:39:43 +01:00
Ricardo Rocha
7b1e4ca51e small fixes in tries module 2011-05-30 15:30:02 +01:00
Vitor Santos Costa
e9171547b9 implementation of bayes ball. 2011-05-27 21:34:55 +01:00
Vítor Santos Costa
791106aa05 these two now include SWI-Stream in Yap.h, so they need PL_KERNEL defined before Yap.h. 2011-05-27 11:49:42 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao
bce888bd6d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-11 18:24:25 +01:00
Joao
ab63cd190b LOCALS and GLOBALS are now generated by misc/buildlocalglobal. 2011-05-11 18:22:58 +01:00
Vitor Santos Costa
31679df9ce Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-05-11 09:29:43 +01:00
Vitor Santos Costa
2064e304ac new library to replace elements in queue 2011-05-11 09:29:07 +01:00
Joao
676dd26c90 change macros in misc/GLOBALS to GLOBAL_. 2011-05-10 10:06:51 +01:00
Ricardo Rocha
026616963c remove FOREIGN_ macros and use REMOTE_ instead 2011-05-09 20:19:49 +01:00
Ricardo Rocha
a532b6cff3 struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS) 2011-05-09 19:36:51 +01:00
Vitor Santos Costa
925b8fec01 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-05-08 23:12:44 +01:00
Vitor Santos Costa
14bae4cb7e avoid choice-point in ord-union. 2011-05-08 23:11:40 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vitor Santos Costa
9c3d6a187d debugging cleanups
actually use readline flag.
2011-03-26 15:45:42 +00:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vitor Santos Costa
ca952a4eac include R package. 2011-03-19 15:29:06 +00:00
Vítor Santos Costa
dcccf3aa85 catch null access. 2011-03-16 00:15:15 +00:00
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +00:00
Vítor Santos Costa
839d612367 improve SWI predicate calling: fix bug in non-deterministic calls. 2011-03-14 20:54:19 +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
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
93d2ac7e59 handle errors. 2011-03-11 19:49:01 +00:00
Vítor Santos Costa
8eeae7942c avoid loading memfile 2011-03-11 19:48:43 +00:00
Vitor Santos Costa
5418f55d74 fix pl-tai 2011-03-09 13:05:03 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
cfc806500d fix popen definition. 2011-03-08 00:07:08 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00: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
da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
Vítor Santos Costa
73541f506f get rid of old SWI emulation stuff. 2011-03-01 10:41:06 +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
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vitor Santos Costa
0614a8c26e readline fixes 2011-02-16 21:11:45 +00:00
Vitor Santos Costa
dce619f804 compile readline. 2011-02-16 00:23:58 +00:00
Theofrastos Mantadelis
2d54ccf355 fixed an open choice point 2011-02-15 21:19:21 +00:00
Vítor Santos Costa
a40987b70d ifixes to support 64 bits:
- protect registers before calling prune()
- use Int, not int.
2011-02-15 18:14:18 +00:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08: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
140318ff16 read works now. 2011-02-14 23:39:27 -08:00
ubu32
99cbe94bed fix unify functor 2011-02-14 11:28:07 -08:00
ubu32
c277229aa9 fix frame stuff
small interface fix.
2011-02-14 06:58:03 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
98684ba4bb remove YAP sockets interface. 2011-02-12 23:38:24 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
be79c3326e first pass at open/ and friends. 2011-02-12 14:14:12 +00:00
Vitor Santos Costa
b219e288eb is_absolute_file_name/2 2011-02-12 01:24:03 +00:00
Vitor Santos Costa
42ff655ae5 working directory is now a part of YAP kernel. 2011-02-12 00:44:39 +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
6617a63b7e attempt to improve error handliong in SWI emulation. 2011-02-11 14:17:27 +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
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +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
Theofrastos Mantadelis
b57859f28b fixed some typos 2011-02-04 16:08:18 +01:00
Theofrastos Mantadelis
7fd6faea64 flags: fixed an interval bug 2011-02-03 17:20:42 +01: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