Commit Graph

566 Commits

Author SHA1 Message Date
Vítor Santos Costa II
719089b96b make PL_is_initialised honest :) 2010-04-13 00:31:48 +01:00
Vítor Santos Costa II
37bf70fde1 improve dbusage 2010-04-10 21:19:03 +01:00
Ricardo Rocha
fd1f63a73b tries module: bug fix when printing float terms 2010-03-31 19:36:26 +01:00
Ricardo Rocha
6cb0886587 tries module: undo last change on macro MAX_NODES_PER_TRIE_LEVEL 2010-03-31 18:39:38 +01:00
Ricardo Rocha
7b49c14edd tries module: add support for term-ending pairs (pairs of the form [a|b]) 2010-03-31 18:36:13 +01:00
Vitor Santos Costa
03b96b3a60 upgrade to Markus' latest. 2010-03-30 12:46:01 +01:00
Vitor Santos Costa
cfc0a23953 make sublist from hprolog and sublist from yap be the same beast. 2010-03-15 14:19:05 +00:00
Vitor Santos Costa
c4b39d3ab9 update Prolog code: do a cleanup and make delays use SWI interface. 2010-03-12 14:26:35 +00:00
Vitor Santos Costa
c41f6e1906 atts stuff is now a part of prolog. 2010-03-12 08:26:56 +00:00
Vitor Santos Costa
5e26f604c6 fix makefiles to define $exec_prefix 2010-03-05 10:22:48 +00:00
Vitor Santos Costa
2685a8449d installation patches from Keri Harris 2010-03-05 08:15:02 +00:00
Vitor Santos Costa
75d1b897e0 fix fragile export. 2010-03-05 00:00:00 +00:00
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