Commit Graph

554 Commits

Author SHA1 Message Date
Vitor Santos Costa
cef4a27d1c export new_variables_in_term and variables_within_term (obs from Jiefei Ma). 2010-03-04 23:45:33 +00:00
Vitor Santos Costa
c58e9f4562 export attributes. 2010-03-04 23:41:45 +00:00
Vítor Santos Costa II
8f41517e24 del_attrs/1 (for SWI compatibility). 2010-03-03 19:08:17 +00:00
Vitor Santos Costa
ca12a4b959 fix all_distinct/1 (patch from Markus Triska). 2010-03-02 21:35:12 +00:00
Vitor Santos Costa
192aa92b9c fix clpfd back to use exceptions. 2010-03-01 22:32:59 +00:00
Vitor Santos Costa
ba7861b218 fix set_source_module
add time_file/2 and flag/3 (and current_flag/1).
2010-02-28 22:19:52 +00:00
Vitor Santos Costa
7a23f016c2 upgrade to more recent clp. 2010-02-28 12:18:26 +00:00
Vitor Santos Costa
db2bee6b9b subsumes_chk is a builtin in SWI-Prolog. 2010-02-28 10:07:36 +00:00
Vitor Santos Costa
ec30e08f69 add user_flags/s prolog_flag 2010-02-28 00:42:47 +00:00
Vitor Santos Costa
ba8d27a265 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-02-26 00:17:12 +00:00
Vitor Santos Costa
9f098a0297 use truncate for integer (ISO standard, obs from Paulo Moura). 2010-02-26 00:16:32 +00:00
Ricardo Rocha
5d0e404191 tries module: fix bug in trie_traverse/2 2010-02-24 18:03:43 +00:00
Ricardo Rocha
42b07768d6 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-02-22 14:04:09 +00:00
Ricardo Rocha
71a9be9742 tries module: fix bug in trie_get_first_entry/2 2010-02-22 14:01:56 +00:00
Vitor Santos Costa
4fda6b7488 track recent SWI changes. 2010-02-22 09:35:21 +00:00
Vitor Santos Costa
11e679edfe fix mktime to use local time (fix from Takeyuki Shiramoto). 2010-02-21 00:59:38 +00:00
U-Khasa\Vitor
33190e290d mingw complaint with recent versions of gcc 2010-02-10 03:03:03 -06:00
Vitor Santos Costa
74f3142499 faster calls 2010-01-26 22:26:08 +00:00
Vitor Santos Costa
110f1c7977 improve SWI interface compatibility 2010-01-26 12:21:06 +00:00
Vitor Santos Costa
0d38d67dfa add missing interface functions. 2010-01-25 12:29:51 +00:00
Vítor Manuel de Morais Santos Costa
d3f0410c7d include PL_get_intptr 2010-01-15 16:21:43 +00:00
Vítor Manuel de Morais Santos Costa
af32dc1a9c make cut_c default. 2010-01-15 15:09:18 +00:00
Vitor Santos Costa
ff628b8e78 move to more recent interface. 2010-01-15 00:49:05 +00:00
Vítor Manuel de Morais Santos Costa
324833f84a fix excessive trimming in C-interface for backtrackable predicates (obs from José Vieira). 2010-01-11 15:44:43 +00:00
Vitor Santos Costa
5fc26e1b45 improve emulataion of backtrackable SWI c-code (request from NF). 2010-01-06 11:25:15 -02:00
Vitor Santos Costa
6d1eec34db make atom locking compatible with SWI-Prolog. 2009-12-21 10:12:47 -02:00
Vítor Manuel de Morais Santos Costa
b69c0ba2a9 add to API 2009-12-12 23:21:25 +00:00
Vítor Manuel de Morais Santos Costa
72e2a9658e make volatile part of the system (SWI compatibility). 2009-12-04 18:24:22 +00:00
Vitor Santos Costa
b3088710d3 emulate SWI module inheritance mechanism (at least, I hope). 2009-12-04 11:00:13 +00:00
Vitor Santos Costa
9814a3e95b better support for plunit, and don't trust SWI flags (use SICStus flags). 2009-12-04 00:35:37 +00:00
Vitor Santos Costa
742979eb9c maplist and friends should be exported from apply, not builtins (obs from Jan Wielemaker). 2009-12-03 16:33:10 +00:00
Vitor Santos Costa
dcf0c87e8a apply should export all versions of maplist (#157) 2009-12-03 16:31:23 +00:00
Vitor Santos Costa
e973a3ea40 fix SWI emulation of maplist to use meta_predicate instead of module_transparent. 2009-12-03 10:36:36 +00:00
Vitor Santos Costa
344a0a6e87 make sure expand_macros only expands predicates visible to the module. 2009-12-03 10:16:15 +00:00
Ricardo Rocha
f01283bd28 new primitives trie_get_first_entry/2 and trie_get_last_entry/2 in tries module 2009-11-27 19:10:36 +00:00
Vítor Manuel de Morais Santos Costa
b16623d026 fix realloc and friends (obs from Nuno Fonseca). 2009-11-27 13:31:03 +00:00
Vitor Santos Costa
1136597f6f fix debugging info (obs from Jose Santos). 2009-11-23 23:43:12 +00:00
Vitor Santos Costa
025ee58f58 some SWI predicates became system predicate. Add stubs for $ predicates. 2009-11-23 10:12:10 +00:00
Vitor Santos Costa
a132707746 undo PL_error updates 2009-11-21 22:21:17 +00:00
nf@khaixa.(none)
1bfbe535da Extended support for SWI-Prolog C interface. 2009-11-20 08:42:22 +00:00
Vitor Santos Costa
a2927c4a72 =@= needs not be in lib. 2009-11-20 00:32:45 +00:00
Vítor Manuel de Morais Santos Costa
995b82cc6e Nuno Fonseca's trie writing updates. 2009-11-03 14:37:12 +00:00
Vitor Santos Costa
9303efd6d6 fix singleton warning. 2009-10-23 23:54:00 +01:00
Vitor Santos Costa
981d060ffb fix nth/4 going backwards (obs from Daniel Diaz). 2009-10-23 23:19:55 +01:00
Vitor Santos Costa
0ea348c26d extend SWI interface with PL_toplevel and to handle C++ code.
prolog/0 built-in
fixes to parms.h changes.
2009-10-23 16:50:43 +01:00
Vítor Manuel de Morais Santos Costa
ff31aa4a7c assign value to attributed variable 2009-10-16 08:32:03 +01:00
Vítor Manuel de Morais Santos Costa
d649ba5894 first cut at make/0y 2009-10-15 12:56:16 +01:00
Vitor Santos Costa
ef05f4a919 how did append/3 come up twice in lists? 2009-09-09 18:00:04 -05:00
Vitor Santos Costa
e1a724e456 allow unification not to bound a variable. 2009-09-09 17:59:49 -05:00
Costa Vitor
6453cf5ae7 avoid unnecessary backtracking. 2009-08-19 20:23:20 -05:00