Commit Graph

738 Commits

Author SHA1 Message Date
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
Theofrastos Mantadelis
3432b7bb67 Correction of a huge dbtrie bug 2010-11-09 01:58:42 +01:00
Paulo Moura
3d0e88dc10 Added missing meta_predicate/1 directives to the charsio library. Thanks to Cristiano Pitangui for reporting the problem. 2010-10-28 17:18:57 +01:00
Vítor Santos Costa
0deddd5603 include Nicos Angelopoulos r_session package. 2010-10-16 14:54:48 +01:00
Vitor Santos Costa
7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +01:00
Vitor Santos Costa
b272ac33f0 cpp does not always have -o 2010-09-27 22:31:57 +01:00
Paulo Moura
794b66987c Fixed a minor bug in the "wundgraphs" library: the predicate wdgraph_symmetric_closure/2 is already reexported, should not be listed in the use_module/2 directive for the same module. 2010-09-26 17:27:20 +01:00
Vitor Santos Costa
99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa
d19ee6094e fix use of Yap instead of YAP. 2010-09-21 22:20:01 +01:00
Theofrastos Mantadelis
3399fd9e8f db tries library small null bug fix 2010-09-07 19:28:56 +02:00
Vitor Santos Costa
eed3eded82 remove some old SWI code (unused). 2010-08-06 22:48:54 +01:00
Vitor Santos Costa
fcbd2b34fe fix missing ! 2010-08-06 01:18:58 +01:00
Vitor Santos Costa
e4a76d7f1e add coinduction.yap code. 2010-08-06 00:58:11 +01:00
Vitor Santos Costa
18c3292dad and the file itself. 2010-08-04 23:27:17 +01:00
Vitor Santos Costa
410c4c96d5 Ulrich Neumerkel's lambda expressions. 2010-08-04 23:26:50 +01:00
Vitor Santos Costa
0449bf1e7f acyclic_term/1 should be builtin(ISO WG17, UD #174). 2010-08-04 21:50:19 +01:00
Vítor Santos Costa
032d9f7591 bug fixes 2010-08-04 13:04:09 +01:00
Vítor Santos Costa
bebb236e32 improve SWI compatibility, especilaly for threaded stuff. 2010-08-04 11:37:12 +01:00
Vítor Santos Costa
e913087190 improvements in SWI emulation, especially for text. 2010-08-04 02:46:26 +01:00
Vítor Santos Costa
a89336a555 PL_get_chars does not play nice. 2010-08-03 21:09:14 +01:00
Vítor Santos Costa
16341a3a0c export normalize_ 2010-08-03 21:07:58 +01:00
Vítor Santos Costa
69b21df917 improve PL_get_chars, still needs to handle wide chars. 2010-08-03 17:22:33 +01:00
Vitor Santos Costa
d59fa6c28b make zlib load zlib.so
add delete_file/1 as default.
2010-07-29 01:01:16 +01:00
Vitor Santos Costa
617e43b9c1 support requires/1. 2010-07-28 23:25:12 +01:00
Vítor Santos Costa
d45020e940 fix PL_pred and 2
export method for finding out arity of swi functor
2010-07-28 17:13:10 +01:00
Vítor Santos Costa
e80cc50fc7 assoc_to_keys/2 (used in SWI). 2010-07-28 17:12:51 +01:00
Vitor Santos Costa
c27fdc9b35 file_name_ is now a YAP builtin. 2010-07-28 10:46:35 +01:00
Vitor Santos Costa
36a56ccd13 update len for wchar.
SWI can release frame twice.
2010-07-28 10:45:37 +01:00
Vítor Santos Costa
7dd2714263 emulate SWI MT interface correctly 2010-07-25 11:19:07 +01:00
Vitor Santos Costa
f3b9811ef7 more packages to implement better thread interface. 2010-07-23 15:54:13 +01:00
Vitor Santos Costa
eebff5df6a fixes to YAP C-thread interface. 2010-07-23 12:07:33 +01:00
Vítor Santos Costa
3dd68aa8bd fix EX: it cannot be a term and it should be a placeholder for BallTerm,
so the twp can never be alive at the same time.
2010-07-21 12:49:06 +01:00
Vítor Santos Costa
b61d69ffe8 allow SWI Interface to send/receive wide characters. 2010-07-21 10:58:24 +01:00
Vítor Santos Costa
90f7504a76 make swi-yap io interface a structure. 2010-07-21 09:39:49 +01:00
Vitor Santos Costa
bc7f49c3b2 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-07-19 22:43:03 +01:00
Vitor Santos Costa
6731383b07 fix small bugs in SWI interface 2010-07-19 14:54:21 +01:00
Vitor Santos Costa
baab2cdbfe add tai package (and SWI interface). 2010-07-19 14:52:26 +01:00
Theo
5e84c38efe fixed trie warnings 2010-07-19 12:06:39 +01:00
Theo
0a6ba6a678 Hmm learning the git (half of the files were commited sorry guys) 2010-07-19 11:29:13 +01:00
Theo
2e95faf4f7 I added the dbtrie support :-) 2010-07-18 18:25:30 +01:00
Vitor Santos Costa
6183ff0282 semweb and http compile now (but they don't work properly yet). 2010-07-15 23:35:37 +01:00
Vítor Santos Costa
b21603ac89 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-07-05 16:01:10 +01:00
Vítor Santos Costa
9413872467 fix get_atom_nchars (obs from Roberto Bagnara) 2010-07-05 16:00:12 +01:00
Vitor Santos Costa
8f8ba6221e add SWI's PL_get_string 2010-06-30 17:54:02 +02:00
Vitor Santos Costa
6619bd44b0 fix interfacey 2010-06-30 13:18:15 +02:00
Vítor Santos Costa
1b16a3d909 fix american version of neighbors. 2010-06-23 15:38:58 +01:00
Vítor Santos Costa
d22cb9b6ab new interface pedicates
fixes to bad implementation.
2010-06-23 11:44:21 +01:00
Vítor Santos Costa
e72ce435d9 fix confusion 2010-06-21 17:12:45 +01:00
Vítor Santos Costa
d05d4c920d fix conflict between clib and old random libraries (they are much the same): 2010-06-21 17:11:48 +01:00
Vítor Santos Costa
a37adad3e8 the sage of configuring everything goes on! 2010-06-21 11:54:21 +01:00
Vitor Santos Costa
c9e150bab7 fix PL_cleanup_fork (avoid two definitions). 2010-06-20 00:11:07 +01:00
Vítor Santos Costa
d210d85f09 PL_get_atom_nchars 2010-06-19 14:40:47 +01:00
Vítor Santos Costa
bd50f087e9 imore SWI compat, including string fixes 2010-06-19 00:38:49 +01:00
Vítor Santos Costa
d1d149b9fd support for PL_ mpz and mpq ops
add missing atom_nchars
2010-06-18 23:24:36 +01:00
Vitor Santos Costa
37fd542071 fix loading after comment :( 2010-06-18 10:34:04 +01:00
Vitor Santos Costa
53773207f4 fix environ on MAC 2010-06-18 10:32:57 +01:00
Vitor Santos Costa
b74e38378f new: PL_atom_nchars 2010-06-18 09:14:45 +01:00
Vítor Santos Costa
71f59ac570 PL_unify_list_codes 2010-06-18 00:29:07 +01:00
Vítor Santos Costa
e81960a96d shlib is now in YAP. 2010-06-18 00:28:42 +01:00
Vítor Santos Costa
32cbd34ff1 add shlib to autoloader (SWI emulation). 2010-06-18 00:27:51 +01:00
Vítor Santos Costa
b0b4d53ee6 several fixes to SWI C-interface emulation. 2010-06-17 00:34:29 +01:00
Vítor Santos Costa
d8e3483120 fix bad @SO@ 2010-06-14 16:49:46 +01:00
Vítor Santos Costa
6ddfecc861 use SO to make YAP makefiles closer to SWI's 2010-06-14 10:36:13 +01:00
Vítor Santos Costa
b0096fc2f5 DLL cleanup (yet again) 2010-06-14 09:28:20 +01:00
Vítor Santos Costa
bf26536626 make frame structure thread local. 2010-06-14 09:26:32 +01:00
Vítor Santos Costa
4ffdafb529 fix YAP_Init return test. 2010-06-06 23:05:54 +01:00
Vítor Santos Costa
247d59f0ef - slots should be considered as always live for gc.
- make sure slots do not die when they should be live, and vice-versa.
- improve a little on foreign_frame
2010-06-01 00:40:58 +01:00
Vítor Santos Costa
7e1692bdb0 fix mess with LIBDIR and YAPLIBDIR
use -Wl,-WR in a more consistent way in Linux
use --with-java instead of --with-jpl
2010-06-01 00:38:42 +01:00
Vítor Santos Costa
215581ffc8 fix use of in/2 (could conflict with autoloader's clpfd). 2010-05-27 12:02:52 +01:00
Vítor Santos Costa
eb980421a9 make term_to_atom/2 a YAP builtin. 2010-05-23 18:39:46 +01:00
Vítor Santos Costa
71ff7762e5 is_list/1 is now a built-in. 2010-05-23 18:24:24 +01:00
Vítor Santos Costa
6722ec6fec fix bad handle passing 2010-05-23 18:23:51 +01:00
Vítor Santos Costa
845866f940 fix db_sql/3 (from Anton Dries) 2010-05-21 08:38:20 +01:00
Vítor Santos Costa
6a433c33a1 fix messup with functors that are atoms. 2010-05-19 17:17:05 +01:00
Vítor Santos Costa
2639e6c868 bad inline expansion of exclude (obs from Paolo Frasconi) 2010-05-19 17:15:11 +01:00
Vitor Santos Costa
86333a9c6e have to fix SWI frames. 2010-05-10 03:06:06 +01:00
Vítor Santos Costa
db18bf74fc documentation fix from Jan Wielemaker 2010-05-08 08:26:59 +01:00
Vítor Santos Costa
958720d92e more win64 2010-05-06 16:45:38 +01:00
Vítor Santos Costa
dd8d122f04 fix fixes (export to win64 vm) 2010-05-06 16:43:51 +01:00
Vítor Santos Costa
32ff9b54ff more win64 warnings 2010-05-06 16:41:40 +01:00
Vítor Santos Costa
11641c5f94 64 bit cleanups. 2010-05-06 15:00:44 +01:00
Vítor Santos Costa
51f33514b3 fix typing problems and a bug in quote.c? 2010-05-06 12:19:51 +01:00
Vitor Santos Costa
9301b67724 allow better control over using SWI I/O 2010-05-06 11:36:47 +01:00
Vitor Santos Costa
849c96cb38 handle lookups with max len and hack for _PL_get_arg 2010-05-06 10:57:59 +01:00
Vitor Santos Costa
c3f1231923 fix stupid bug in using memset (obs from Jos De Roo). 2010-05-06 09:08:59 +01:00
Vítor Santos Costa
4d0967b050 arg(2,a,X) fails in SWI and gives an error in YAP/SICStus. Keep on using genarg. 2010-05-05 19:37:56 +01:00
Vítor Santos Costa
0740495d77 PL_handle_signals is now provided by PLStream 2010-05-04 15:16:10 +01:00
Vítor Santos Costa
1ad9b168ca use PLStream functionality whenever possible. 2010-05-04 15:15:46 +01:00
Vítor Santos Costa
0e88668df8 check for overflows.
check PL_unify_list
2010-05-04 15:03:12 +01:00
Vítor Santos Costa
f4e2a0b4c8 fix PL_unify_list and atom/functor conversion.
small speedups.
2010-05-03 17:02:49 +01:00
Vítor Santos Costa
b9cf8ecf4b optimise case where genarg is know to reduce to arg. 2010-05-03 16:35:51 +01:00
Vitor Santos Costa
31554991c8 better emulation of SWI atom_t and functor_t. 2010-05-03 14:26:56 +01:00
Costa Vitor
fa63422c51 fix warnings in matlab interface. 2010-05-01 06:57:51 -05:00