Commit Graph

1213 Commits

Author SHA1 Message Date
Vítor Santos Costa
ce8a4b6958 module fixes plus add better docs 2014-07-17 12:19:38 -05:00
Vítor Santos Costa
d4bffbaefd fix warnings 2014-06-19 15:09:44 +01:00
Vitor Santos Costa
e8f2c37000 fix syntax error in using time. 2014-06-16 17:00:09 +01:00
Vítor Santos Costa
ef59cdc50c swi is no longer a module, so needs no windows init code 2014-06-16 14:58:28 +01:00
Vítor Santos Costa
f00a6d5a40 small bugfixes and leaks, patch by João Silva 2014-06-14 10:27:39 +01:00
Vítor Santos Costa
059884bc03 Android 2014-06-11 19:36:50 +01:00
Vítor Santos Costa
a76b6d23dc Fix: eclipse >u. into >y_u. 2014-05-30 01:06:09 +01:00
Vítor Santos Costa
e3674e1223 fix: warningss 2014-05-30 01:01:58 +01:00
Vítor Santos Costa
0b2dff96d3 maplist: move docs to doxygen; add doxygen. 2014-05-27 22:44:03 +01:00
Vítor Santos Costa
5f72d8c332 purge duplicated content. 2014-05-25 20:53:24 +01:00
Vítor Santos Costa
dee3774bbc fix small EClipse complaints 2014-05-25 20:50:07 +01:00
Vítor Santos Costa
99ab3fb748 no need to use PROTO. 2014-05-25 20:48:44 +01:00
Vítor Santos Costa
279a057d80 use mktemp instead of tmpname 2014-05-25 10:21:28 +01:00
Vitor Santos Costa
b532fbd0b9 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	C/write.c
2014-05-14 18:00:25 +01:00
Vitor Santos Costa
e0d0543e52 fix removeSlots and more documnetation. 2014-05-14 17:59:08 +01:00
Vítor Santos Costa
596768a56b documenetation . 2014-05-14 10:01:11 +01:00
Vítor Santos Costa
24b90ae6bd doc changes 2014-05-12 17:49:11 +01:00
Vitor Santos Costa
549b4dd834 add header 2014-05-05 14:01:21 +01:00
Vitor Santos Costa
f1b88583e4 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	library/listing.yap
2014-05-05 13:59:58 +01:00
Vitor Santos Costa
426d952894 add listing.yap 2014-05-05 13:53:39 +01:00
Vítor Santos Costa
7393dd1405 :dummy library, for now. 2014-05-04 23:15:10 +01:00
Vítor Santos Costa
6738682c26 handle int64 in 32 bits no gmp as floats.. 2014-05-04 22:26:53 +01:00
Vitor Santos Costa
d58dcdc3e6 portability. 2014-04-29 18:17:23 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vítor Santos Costa
c629ae9283 doc updates 2014-04-09 12:39:52 +01:00
Vitor Santos Costa
41e1980f83 fix memory leaks 2014-03-20 13:33:17 +00:00
Vitor Santos Costa
e6fbba4030 fix bad copy to S 2014-03-18 19:32:10 +00:00
Vítor Santos Costa
f0d8ee91d0 fix foldl2 2014-03-18 17:27:56 +00:00
Vítor Santos Costa
0e1b1dd4bc remove debugging 2014-03-18 17:27:12 +00:00
Vitor Santos Costa
5a73c525e9 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2014-03-15 22:48:12 +00:00
Vitor Santos Costa
228bc76a35 Eclipse Support 2014-03-13 16:57:21 +00:00
Vítor Santos Costa
4591e1baaf Eclipse stuff 2014-03-13 12:54:06 +00:00
Vítor Santos Costa
242f585484 Eclipse stuff 2014-03-13 12:52:08 +00:00
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