Vitor Santos Costa
0602031bd9
win64
2014-03-11 15:36:02 +00:00
Vitor Santos Costa
2c89aadb11
WIN64 support (sill needs improvement)
2014-03-06 02:09:48 +00:00
U-vsc-PC\vsc
b7fbd08f7a
signal handling
2014-03-04 12:03:14 +00:00
Vítor Santos Costa
3da5cc5977
check libpthread in win32
2014-02-22 22:48:29 +00:00
Vítor Santos Costa
f264859483
- versioning in macos
...
- fixes to input/output to improve interaction with eclipse console.
-
2014-02-20 10:38:18 +00:00
Vitor Santos Costa
964b15d107
keep on simplifying configure.
2014-02-18 07:59:47 +00:00
Vítor Santos Costa
6a1302221c
change to support autoheaders
2014-02-16 13:03:09 +00:00
Vítor Santos Costa
1bd528198a
more configuration fixes
2014-02-15 01:24:07 +00:00
Vítor Santos Costa
1d27d22ef0
big makefile cleanup
2014-02-13 01:58:48 +00:00
Vitor Santos Costa
bfc94cbbe5
fix matlab autoconf
2014-02-10 23:55:35 +00:00
Vitor Santos Costa
9a46cdac9b
clean up makefile
2014-02-10 23:31:33 +00:00
Vitor Santos Costa
f11b0518a8
string support
2014-02-06 21:55:35 +00:00
Vitor Santos Costa
1e88998375
realclean support
2014-02-03 16:34:13 +00:00
Vítor Santos Costa
9e2a2b75b9
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
...
Conflicts:
library/dialect/swi/fli/swi.c
packages/real
2014-02-02 21:52:14 +00:00
Vítor Santos Costa
ae0ab6fa86
improve SWI
2014-02-02 21:46:33 +00:00
Vitor Santos Costa
327c1216e4
fixes to SWI interface
2014-01-28 13:01:27 +00:00
Vitor Santos Costa
d648375412
make MYDDAS into its own module.
2014-01-24 19:59:42 +00:00
Vitor Santos Costa
6b2e1973ab
Windows fixes, mainly H -> HB
2014-01-19 21:15:05 +00:00
Vítor Santos Costa
a8e1b91fd5
make length explicit in buffer conversion
2013-12-15 08:37:10 +00:00
Vítor Santos Costa
6402360691
fix S handling in new interrupt code
2013-12-14 12:35:18 +00:00
Vítor Santos Costa
88e188bece
fix excessive trail trimming in SWI call emulation
2013-12-11 09:04:59 +00:00
Vítor Santos Costa
ba2c0ca2a0
support no trace predicates
2013-12-11 01:05:51 +00:00
Vítor Santos Costa
adea3bdb24
more string fixes and get_code
2013-12-08 19:12:24 +00:00
Vítor Santos Costa
d7397b43af
new text conversion and string code (big changes, take care please)
2013-12-02 14:49:41 +00:00
Vítor Santos Costa
3edb01f5f7
more reflection updates
2013-11-26 10:40:00 +01:00
Vítor Santos Costa
acea59a82a
avoid \!
2013-11-25 12:16:36 +01:00
Vítor Santos Costa
ed2ecb29e7
exten support and small fixes
2013-11-25 12:15:03 +01:00
Vitor Santos Costa
de606255bb
extend blob interface
2013-11-22 15:16:54 +00:00
Vitor Santos Costa
7c48eb8ff7
move call_structure where it cannot be messed up by stack shifter
2013-11-21 21:59:14 +00:00
Vítor Santos Costa
f1f64bf25c
printwarning
2013-11-21 00:22:03 +00:00
Vitor Santos Costa
d75e6b56e5
handles in SWI and changes in exports
2013-11-20 22:29:51 +00:00
Vítor Santos Costa
b76be1b33f
support for quasi quotations, requires more integration with SWI code.
2013-11-18 12:57:09 +00:00
Vítor Santos Costa
84bd55df0d
continue cleanup
2013-11-16 00:27:02 +00:00
Vitor Santos Costa
9eb07a8c8a
more cleanups
2013-11-15 15:45:55 +00:00
Vitor Santos Costa
4e4f21e1dc
upgrade to latest swi
2013-11-15 01:10:25 +00:00
Vitor Santos Costa
4fa9021a7b
integration work:
...
- use SWI flags whenever possible
- support by module unknown, escapes, strings
- accesss thread info fom SWI
- allow strings to be input as strings.
- remove some unused flags.
2013-11-13 10:38:20 +00:00
Vitor Santos Costa
153794e14b
support win32
2013-11-11 00:28:38 +00:00
Vítor Santos Costa
0205a222d9
Attached is a small patch to respect any LDFLAGS when building
...
library/lammpi or packages/CLPBN/horus.
Keri Harris
2013-11-10 11:22:54 +00:00
Vítor Santos Costa
6793a1f83b
fix thread-only compilation
2013-11-04 21:41:49 +00:00
U-w7\vsc
f2b90a1bb0
improve thread signal support, still far from good
2013-11-04 15:31:26 +00:00
Vitor Santos Costa
d2ed850643
separate cplint and mpi interface.
2013-11-04 13:16:14 +00:00
Vítor Santos Costa
a2842ef9ce
missing new files
2013-11-04 08:16:52 +00:00
Vítor Santos Costa
3977ceee60
fix excessive inlining
2013-11-04 01:07:44 +00:00
Vítor Santos Costa
1ede2112c6
distributed configure
2013-11-03 23:55:09 +00:00
Vitor Santos Costa
fe154e87a5
lam_mpi configuration (again).
2013-10-29 16:17:16 +00:00
Vitor Santos Costa
96611027f3
SWI likes nth/4
2013-10-29 12:41:56 +00:00
Vítor Santos Costa
691e977a68
cuda fixes by Carlos and other diverse (fact init, configure).
2013-10-12 12:46:01 +01:00
Vitor Santos Costa
30b567ae66
fix reexport issues and duplicated definitions
2013-10-04 18:18:04 +01:00
Vitor Santos Costa
43163a190f
Atom Translations and CUDA stub
2013-10-04 13:22:00 +01:00
Vitor Santos Costa
1c9167a6c5
small fixes
2013-10-03 11:28:09 +01:00
Vítor Santos Costa
937077d51b
booleans and more fixes
2013-09-30 00:20:00 +01:00
Vítor Santos Costa
1ee58c5922
use attributed variables
2013-09-29 17:41:02 +01:00
Vítor Santos Costa
7cf1b68c3a
documentation and small fixes; also call for foreach
2013-09-29 11:31:18 +01:00
Vítor Santos Costa
e19b58cf53
use new matrix functionality
2013-09-28 11:11:42 +01:00
Vítor Santos Costa
b64965f22c
new mapargs
2013-09-28 11:10:55 +01:00
Vítor Santos Costa
8c9025cdb4
improve and document matrix package
2013-09-28 11:09:57 +01:00
Vítor Santos Costa
3d863b1058
improve and document matrix package
2013-09-28 11:09:32 +01:00
Vítor Santos Costa
dd17f5a3aa
include mapargs as separate support
2013-09-28 11:08:34 +01:00
Vítor Santos Costa
efddaab558
sudoku and for
2013-09-21 23:23:42 +01:00
Vítor Santos Costa
e7477d9888
foreach + fold (idea from BProlog)
2013-09-20 01:42:50 +01:00
Vítor Santos Costa
0f45b3dc42
foreach on matrices (idea from BProlog)
2013-09-20 01:16:25 +01:00
Vitor Santos Costa
28ff95f8de
progress with matrix package
2013-09-19 17:59:37 +01:00
Vítor Santos Costa
285c61b87f
development commit
2013-09-19 14:35:31 +01:00
Vítor Santos Costa
b2dcbe961c
development commit
2013-09-19 14:34:44 +01:00
Vitor Santos Costa
5cd9720593
DFA and TupleSet
2013-09-12 10:17:59 +01:00
Vitor Santos Costa
9d4c7a5c8c
include min and max of lists
2013-09-11 22:01:18 +01:00
Vitor Santos Costa
23b860a977
scalar_product and a fix
2013-09-11 14:53:43 +01:00
Vitor Santos Costa
b30f0eafdf
fixes to clpbn interface
2013-09-11 13:04:39 +01:00
Vitor Santos Costa
12d1e17dd3
first cut at supporting TupleSets
2013-09-11 12:31:07 +01:00
Vitor Santos Costa
99ab8e541b
improve CLP support
2013-09-11 12:30:31 +01:00
Vitor Santos Costa
52c0d8a8de
first cut at supporting TupleSets
2013-09-11 12:29:49 +01:00
Vitor Santos Costa
46c3c4546f
examples
2013-09-10 09:57:26 +01:00
Vítor Santos Costa
77e1d9425b
improve clpfd emulation
2013-09-10 00:53:54 +01:00
Vitor Santos Costa
eadfdbd646
clp like interface to gecode
2013-09-09 23:48:44 +01:00
Vitor Santos Costa
cda2e3bffe
clp like interface to gecode
2013-09-09 23:48:02 +01:00
Vítor Santos Costa
6966d23195
fix P details when creating execution environment: we should save the old one
2013-09-08 22:24:09 +01:00
Vítor Santos Costa
4c148cc0d3
fix bad setup of goal (SWI emulatin for JPL, Sergio Castro)
2013-09-07 01:03:27 +01:00
Vítor Santos Costa
a1b5764527
gecode: clone by default (oops)
2013-09-05 00:47:37 +01:00
Vítor Santos Costa
9932aff5c4
gecode: clone by default
2013-09-05 00:46:00 +01:00
Vítor Santos Costa
ef82f25594
control changes for gecode
2013-09-05 00:26:54 +01:00
Vítor Santos Costa
90c70459be
fix FloatVar code
2013-09-04 17:11:22 +01:00
Vítor Santos Costa
614e7ab856
initialize FloatVar
2013-09-04 17:01:37 +01:00
vsc
6ab396ee85
support for gecode 4, reification, initial floats
2013-09-04 04:50:32 -05:00
Vítor Santos Costa
bc992f552f
use new notation
2013-07-16 07:59:38 -05:00
Vitor Santos Costa
459ab89d7d
more ezo stuff
2013-06-28 21:15:03 -05:00
Vitor Santos Costa
e50f62ba3f
accumulator first try
2013-06-22 00:26:43 -05:00
Vítor Santos Costa
44dccc00bb
fix exception passing from SWI
2013-06-20 12:11:29 -05:00
Vitor Santos Costa
4826d92709
exo updates
2013-06-05 23:00:57 +01:00
Vitor Santos Costa
889279cd81
fix prototype
2013-06-03 23:46:09 +01:00
Vitor Santos Costa
933ee11985
add a second selectlist
2013-06-03 16:39:48 -05:00
Vitor Santos Costa
c04f04d078
more exo fixes.
2013-04-29 16:19:43 -05:00
Vitor Santos Costa
72cc5bc317
generalise interval handling
2013-04-29 11:58:05 -05:00
Vitor Santos Costa
edbc21dcb0
fix typo
2013-04-26 18:23:17 -05:00
Vitor Santos Costa
6480f75b23
compile conditionally on HAVE_MPI_H.
2013-04-26 18:12:23 -05:00
Vítor Santos Costa
2c49edb975
more exo stuff
2013-04-25 09:48:06 -05:00
Vitor Santos Costa
66af6f7642
fix quotes
2013-04-08 17:51:55 -05:00
Vitor Santos Costa
439b7e293f
use --showme in lammpi.
2013-04-08 17:20:13 -05:00
Vitor Santos Costa
230debfb44
enable compiling, but needs fixing YAP_Write
2013-04-07 00:01:46 +01:00
Vitor Santos Costa
a599699f0c
new dgraph path predicate
2013-03-24 09:12:55 -05:00
Vítor Santos Costa
b88dcb86ab
fix tid lookup
2013-03-10 16:44:46 -05:00
Vitor Santos Costa
7f758cf103
SWI expects thread IDs to be like addresses
2013-03-10 16:39:54 +00:00
Vitor Santos Costa
d59afea65e
fix determinacy
2013-03-05 15:46:40 -06:00
Vítor Santos Costa
e27ceac1aa
fix extra cp
2013-02-14 20:42:23 -06:00
Vitor Santos Costa
9fb63762dc
delete_file should be SICStus compatible
2013-02-12 16:21:26 -06:00
Vitor Santos Costa
9f49512497
make SWI exec safer
2013-02-06 00:17:09 +00:00
Vitor Santos Costa
33da88be5b
fix SWI exec issues and try to clean up the code a bit
2013-02-05 14:22:17 +00:00
Vitor Santos Costa
e87a4f4f56
handle exec flags
2013-01-18 14:26:24 +00:00
Vitor Santos Costa
e7da973009
FreeBSD support by mei
2013-01-17 12:59:52 +00:00
Vitor Santos Costa
33714b14b9
atom completion in readline
2013-01-17 12:43:01 +00:00
Vitor Santos Costa
7407ecb60c
SWI extension including write variable_names
2013-01-17 00:17:02 +00:00
Vitor Santos Costa
e85e76cd57
update to newer pl-file.c and pl-write.c.
2013-01-15 16:51:55 +00:00
Vitor Santos Costa
84b0529060
improve prism compatibility (fix asia).
2012-12-14 08:26:56 +00:00
Vitor Santos Costa
e41f821d67
improve multi-threading support from C-interface. Still not quite there.
2012-12-11 22:07:10 +00:00
Vitor Santos Costa
7fe1f20200
indenting
2012-12-07 08:07:30 +00:00
Vítor Santos Costa
2a737fe22b
small speedups
2012-11-05 13:49:49 +00:00
Vitor Santos Costa
06051f05fb
fix swi interface.
2012-10-28 18:21:11 +00:00
Vitor Santos Costa
139b06115e
range builtins
2012-10-23 14:55:17 +01:00
Vitor Santos Costa
bb71204a11
small tests for MPI interface
2012-10-11 13:47:29 +01:00
Vitor Santos Costa
3f6e56eb82
fix overflow in SWI interface code.
2012-10-09 16:30:18 +01:00
Vitor Santos Costa
b0ddda1fde
fix PL_is_list
2012-10-08 18:26:40 +01:00
Vitor Santos Costa
daf9f589b9
cleanup now in system
2012-10-08 18:26:05 +01:00
Vítor Santos Costa
a3757ddbd7
more examples.
2012-10-02 15:16:30 +01:00
Vítor Santos Costa
c8468f6391
add foldl4
2012-10-02 08:47:27 +01:00
Vitor Santos Costa
55f28a75ab
be a bit more careful saving state.
2012-09-26 22:07:47 +01:00
Vítor Santos Costa
419bd2b219
Fix WriteBuffer and add WriteDynamicBuffer
2012-09-18 23:07:32 +01:00
Vítor Santos Costa
8d779f68ea
fix writebuffer interface
2012-09-08 00:12:38 +02:00
Vítor Santos Costa
fa2c5ee114
more foldl2
2012-09-07 07:42:16 +02:00
Costa Vitor
5a3cb76378
fold operation on tree
2012-08-28 20:19:22 -05:00
Costa Vitor
5c70b295bd
fold operation on tree
2012-08-28 20:19:10 -05:00
Costa Vitor
38a2bee3ab
Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
2012-08-24 15:19:44 -05:00
Costa Vitor
cb53d087b2
add rb_fold/4.
2012-08-24 15:19:15 -05:00
Vítor Santos Costa
d871b8dd2a
scanl and foldl.
2012-08-24 10:39:14 -05:00
Vítor Santos Costa
e7551b106a
emulate old yap socket (thanks to Jan code).
2012-07-26 16:16:26 -04:00
Vítor Santos Costa
9d48e0ed79
fix compatibility with unix library.
2012-07-25 22:36:19 -04:00
Costa Vitor
efc857b3e1
small fixes.
2012-07-16 14:10:22 -05:00
Vítor Santos Costa
61439cdd12
iimprove dbusage debugging module.
2012-07-16 10:19:15 -05:00
Denys Duchier
97163fa150
place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same.
2012-06-30 20:42:14 +02:00
Vítor Santos Costa
fab462b002
Merge branch 'master' of https://github.com/denys-duchier/yap-6.3
2012-06-29 22:45:47 +01:00
Vítor Santos Costa
70bde4d38f
inline extern patch by Denys Duchier
2012-06-29 22:44:08 +01:00
Vitor Santos Costa
5989af937b
MT support in mingw win32.
2012-06-29 15:38:49 -05:00
Denys Duchier
3d28c7939e
Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2012-06-28 14:05:38 +02:00
Denys Duchier
8b57ca1cef
copy-and-paste bug in dimensioning a dynamic array
2012-06-28 14:04:41 +02:00
Vitor Santos Costa
a9d1bd788e
improve SWI console
2012-06-22 03:56:01 -05:00
Vitor Santos Costa
58c3445d82
win console.
2012-06-08 06:55:23 -05:00
Vitor Santos Costa
06cd0c7414
fix overflow handling.
2012-05-15 16:03:41 +01:00
Vitor Santos Costa
682db0aad4
support term_subsumer.
2012-05-14 15:04:19 +01:00
Vítor Santos Costa
c3e3b0b50f
fix term_to_atom/2.
2012-05-02 23:38:04 +01:00
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
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
8ab12ec680
fix mix swi/sicstus
2011-02-02 20:45:29 +00:00
Theofrastos Mantadelis
857c8c042e
Final version for today
2011-02-01 18:37:32 +01:00
Theofrastos Mantadelis
95427488d6
...
2011-02-01 18:11:36 +01:00
Theofrastos Mantadelis
ab24175145
hopefully the bug is now fixed...
2011-02-01 17:51:54 +01:00
Theofrastos Mantadelis
f0c7c76966
fixed some minor issues in c_alarms
2011-02-01 17:36:34 +01:00
Theofrastos Mantadelis
73918e78aa
Added flags library
2011-02-01 12:13:42 +01:00
Theofrastos Mantadelis
b73a93f26a
fixed the makefile...
2011-02-01 12:05:35 +01:00
Theofrastos Mantadelis
a82b1fed6f
A new library, namely concurrent alarms
2011-02-01 12:02:57 +01:00
Vitor Santos Costa
404c6d3a4f
protect registers.
2011-01-20 12:04:50 -06:00
Vitor Santos Costa
d52d05a626
fix atom_term builtin not to require previous loading of charsio.
2011-01-20 11:51:46 -06:00
Vitor Santos Costa
5c54ff89a1
add subtract/3 to lists.
2011-01-03 21:55:42 -06:00
Vitor Santos Costa
a9587b5e3d
restore and agc of recorded terms
...
overflows in recorded.
2011-01-02 21:16:29 -06:00
Vitor Santos Costa
7c86b244b9
patches from Keri Harris
2010-12-30 22:14:45 -06:00
Theofrastos Mantadelis
8499f36f0b
Fixed the tmp_file/2, added tmpdir/1.
2010-12-20 17:33:23 +01:00
Vitor Santos Costa
1533d0bbd7
more fixes to PL_get_codes.
2010-12-19 22:06:41 +00:00
Vitor Santos Costa
f4d82b0f58
looks like sound.
2010-12-19 22:01:37 +00:00
Roberto Bagnara
02fbaf958a
Fixed a few issues in the glue code for SWI-Prolog compatibility.
2010-12-19 21:59:38 +00:00
Vitor Santos Costa
168a6366f8
enable obtaining current stream_position from SWI.y
2010-12-19 21:32:13 +00:00
Roberto Bagnara
cb7c2e0ca8
Fixed PL_is_integer() and PL_is_number() so as to take bignums into account.
2010-12-19 19:39:12 +00:00
Vítor Santos Costa
4b2156446a
ifix writeln in SWI mode
2010-12-17 20:26:45 +00:00
Theofrastos Mantadelis
b5d486279a
fix a trie backward traverse bug
2010-12-17 12:29:56 +01:00
Vitor Santos Costa
0c7f207627
make format/n swi aware.
2010-12-17 00:11:05 +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
Vítor Santos Costa
1ca5c92469
fix goal expansion for with_output_to in SWI mode (obs from Roberto Bagnara).
2010-12-15 12:08:26 +00:00
Vitor Santos Costa
68539ab1e0
make sure with_output_to argument is not rewritten.
2010-12-14 23:46:17 +00:00
Vítor Santos Costa
57aafe5d23
don't use with_output_to/2 from PLStream: it gets confused by whose stdout it should write to.
2010-12-14 12:04:44 +00:00
Vítor Santos Costa
628ae12d15
ifix warning message.
2010-12-14 12:04:33 +00:00
Vítor Santos Costa
eb82f5fa2a
more fixes to recursive call execution and backtracking from within C-mode.
...
semweb java example now working.
2010-12-14 09:30:40 +00:00
Vítor Santos Costa
f89f7e8e98
PL_set_engine should always return a sensible answer, even if multi-threading is not on.
2010-12-13 21:07:35 +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
c08e99a77c
fix mapnodes/2 (obs from Ingo Molnar).
2010-12-07 17:50:51 +00:00
Vítor Santos Costa
af6bf40985
fix SWI functor handling to work with 32 bits. (for now)
2010-12-02 19:41:48 +00:00
Vítor Santos Costa
2713ac27b6
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
...
Conflicts:
library/dialect/swi/fli/swi.h
2010-12-02 19:38:15 +00:00
Vítor Santos Costa
f03f353722
make swi functors more robust to confusion with atoms.
2010-12-02 19:25:10 +00:00
Vitor Santos Costa
7e59179622
fix bad SWI functor :(
2010-12-02 12:10:03 +00:00
Vitor Santos Costa
b02507ed22
fix 32 bit atoms to ensure alignment at 8 bytes (broken with blobs).
2010-12-02 11:49:58 +00:00
Vitor Santos Costa
aead067476
mv swi compatibility stuff to library/dialect
2010-11-30 22:33:33 +00:00
Vitor Santos Costa
56c767f2b7
fix bad free
2010-11-30 22:12:30 +00:00
Vitor Santos Costa
2d00dd15ab
fix missing files
2010-11-30 21:59:45 +00:00
Vitor Santos Costa
7b6f330bd3
improve blob support (but just skeleton).
2010-11-29 23:17:06 +00:00
Vitor Santos Costa
fe1fbaf6f7
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
...
Conflicts:
library/dialect/swi.yap
2010-11-28 13:48:09 +00:00
Vitor Santos Costa
f4bda9b043
fix build compund term.
2010-11-28 11:50:41 +00:00
Theofrastos Mantadelis
359855132a
Corrected a db trie related bug
2010-11-27 16:34:18 +01:00
Vitor Santos Costa
92f647556d
prolog_to_os_filename is now built-in.
2010-11-27 10:20:52 +00:00
Paulo Moura
f604df8fec
Commented out the definition of the predicate prolog_to_os_filename/2, now a built-in predicate, in order to fix CHR compilation.
2010-11-27 00:13:00 +00:00
Vitor Santos Costa
f470a44efe
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
2010-11-26 23:14:09 +00:00
Theofrastos Mantadelis
44105c6c49
forgot to add :-D
2010-11-24 21:53:16 +01:00
Theofrastos Mantadelis
5033588754
corrected an extension error
2010-11-24 18:39:07 +01:00
Vitor Santos Costa
e03f030907
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
2010-11-24 10:01:47 +00:00
Vitor Santos Costa
69cde79ba6
PL_malloc and friends should call malloc, not Yap_Alloc
2010-11-24 08:44:03 +00:00
Theofrastos Mantadelis
ccc1fee7ae
Adding a new tool for yap: block_diagram, also fixed the term_to_atom/2 warning
2010-11-23 13:02:12 +01:00