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 |
|
Vítor Santos Costa II
|
23d01fc7a6
|
version 6.0.5
|
2010-05-01 12:20:28 +01:00 |
|
Vítor Santos Costa II
|
c351637eeb
|
add\0 after CVT_WRITE
|
2010-04-29 23:45:08 +01:00 |
|
Vítor Santos Costa II
|
030539f33b
|
PL_get_chars: Implement CVT_WRITE and CVT_WRITE_CANONICAL
|
2010-04-29 23:04:04 +01:00 |
|
Vítor Santos Costa II
|
8d04b08b95
|
fix PL_cut_query to remove top CP, and fix PL_call_predicate to use PL_cut_query to close,
and not PL_close_query.
|
2010-04-23 16:43:29 +01:00 |
|
Vitor Santos Costa
|
0e0973de42
|
another that got away (meta-predicate declarations).
|
2010-04-22 21:05:34 +01:00 |
|
Vitor Santos Costa
|
cd537cfe96
|
one that go away: meta-pred decls.
|
2010-04-22 21:04:54 +01:00 |
|
Vitor Santos Costa
|
3cb5e57833
|
declare meta-predicate call arguments (Paulo Moura).
|
2010-04-22 20:45:57 +01:00 |
|
Vítor Santos Costa II
|
bc2ddcc372
|
fix SWI's index.
|
2010-04-22 18:05:23 +01:00 |
|
Vítor Santos Costa II
|
a22aca2f81
|
fix warning
|
2010-04-22 16:29:08 +01:00 |
|
Vítor Santos Costa II
|
9ba631824b
|
load_foreign* wasn't exported.
|
2010-04-22 16:27:32 +01:00 |
|
Vítor Santos Costa II
|
52ef6ae819
|
improve dialect support (make it less hackhish).
first attempt at emulation of autoloader.
|
2010-04-22 12:16:37 +01:00 |
|
Vítor Santos Costa II
|
f417933da0
|
make expansion more robut
|
2010-04-22 12:15:16 +01:00 |
|
Vítor Santos Costa II
|
e8be4296f3
|
make ctime accept integers, who knows?
|
2010-04-22 12:13:57 +01:00 |
|
Vítor Santos Costa II
|
034c585489
|
listing library is a SWI thing.
|
2010-04-22 09:07:38 +01:00 |
|
Vítor Santos Costa II
|
39ce07fefb
|
PL_call_predicate should close query, not cut query :(
ctime should accept a float for SWI compatibility
|
2010-04-22 09:00:41 +01:00 |
|
Vítor Santos Costa II
|
1e82155fc9
|
avoid module clash with SWI's system module.
|
2010-04-21 14:22:36 +01:00 |
|
Vítor Santos Costa II
|
b0b42d0e31
|
intersection/3
|
2010-04-21 00:15:11 +01:00 |
|
Vítor Santos Costa II
|
2566ebcee5
|
make predsort a system predicate.
|
2010-04-20 23:49:14 +01:00 |
|
Vítor Santos Costa II
|
d957569e83
|
fix macro expansion stuff. Everything bounces from maplist now.
|
2010-04-20 23:11:13 +01:00 |
|
Vítor Santos Costa II
|
ff135d53d2
|
simplify compatibility
|
2010-04-20 23:10:40 +01:00 |
|
Vítor Santos Costa II
|
5ab2a97852
|
use meta-predicates for aggregate (like SWI does now).
|
2010-04-20 23:09:46 +01:00 |
|
Vitor Santos Costa
|
7e389a5b87
|
allow a file filter with initialization.
|
2010-04-18 21:48:00 +01:00 |
|
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 |
|
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 |
|
U-Khasa\Vitor
|
868c7158ab
|
improve SWI emulation in WIN32
|
2009-07-20 20:56:54 -07:00 |
|
U-Khasa\Vitor
|
2020a31362
|
mingw compilation
|
2009-07-18 13:38:38 -07:00 |
|
Costa Vitor
|
a69a34f3a5
|
fields/ library predicate, to return empty fields.
|
2009-07-15 17:30:27 -05:00 |
|
Vitor Santos Costa
|
ad30c36626
|
fix overflow testing in matrix_to_list
|
2009-07-13 21:57:01 -05:00 |
|
Ricardo Rocha
|
cd2902f0d8
|
deleting old files for trie library
|
2009-07-01 16:35:21 +01:00 |
|
Costa Vitor
|
b7b3abb2c7
|
very old machines and gcc may not have isinf
|
2009-06-15 14:58:57 -05:00 |
|
Vitor Santos Costa
|
9aae90680e
|
fix maplist metapredicates in SWI.
|
2009-06-14 22:57:45 -05:00 |
|
Costa Vitor
|
91b09d7382
|
do not do macro_expansion from goal, only when consulting.
|
2009-06-14 19:44:36 -05:00 |
|
Costa Vitor
|
c3e84c9aaf
|
fix SWI emulation of maplist
|
2009-06-14 19:44:10 -05:00 |
|
Costa Vitor
|
76e5fa69e4
|
maplist: instead of trying to be smart, just create a new predicate per expanded metacall (#133)
|
2009-06-14 18:55:59 -05:00 |
|
Costa Vitor
|
f4856cf8d0
|
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Conflicts:
library/wundgraphs.yap
|
2009-06-10 14:09:30 -05:00 |
|
Vitor Santos Costa
|
5dd3aa5782
|
fix wneighbors
|
2009-06-10 12:42:45 -05:00 |
|
Vitor Santos Costa
|
4421f177b5
|
more module fixes (obs from Paulo Moura).
|
2009-06-10 12:35:13 -05:00 |
|
Vitor Santos Costa
|
4b19db742d
|
fix module problems (obs from Paulo Moura).
|
2009-06-10 11:36:28 -05:00 |
|
Costa Vitor
|
7ffbfdbc77
|
should use use_module, not ensure_loaded.
|
2009-06-08 14:14:26 -05:00 |
|
Costa Vitor
|
1e55e2f388
|
fix bad calls (obs from Paulo Moura).
|
2009-06-08 14:13:31 -05:00 |
|
Costa Vitor
|
982cf95bf6
|
fix warnings (rep from Paulo Moura)
|
2009-06-05 18:46:01 -05:00 |
|
Vitor Santos Costa
|
dd6426b3b9
|
fix dbqueues (obs from Paulo Moura).
|
2009-06-05 14:31:06 -05:00 |
|
Vitor Santos Costa
|
6983a45a43
|
improve a bit implementation of attr operations.
|
2009-06-05 09:48:22 -05:00 |
|
Vitor Santos Costa
|
b5a5e10544
|
fix warning.
|
2009-06-04 10:26:27 -05:00 |
|
Vitor Santos Costa
|
5a4d16790d
|
fix bad bracket for non GMP (Simon Strobl, #117)
|
2009-06-04 10:21:24 -05:00 |
|
Vitor Santos Costa
|
d42a2dc225
|
make yap2swi compile without GMP (obs from Tony Wilson).
|
2009-06-03 20:21:45 -05:00 |
|
Costa Vitor
|
7f54acb536
|
separate standard alarm from virtual alarm. timeout uses virtual alarm #112
|
2009-06-03 10:09:14 -05:00 |
|
Ulrich Neumerkel
|
6714048c9d
|
Forgotten change to virtual
|
2009-06-02 15:12:57 -05:00 |
|
Vitor Santos Costa
|
484595df5b
|
improve error handling.
|
2009-06-01 22:55:18 -05:00 |
|
Vitor Santos Costa
|
256d322f43
|
try to fix weird calling conventions of SWI.
|
2009-06-01 21:49:24 -05:00 |
|
Vitor Santos Costa
|
217afd3a72
|
fix undefined virtual_alarm
|
2009-06-01 21:30:56 -05:00 |
|
Costa Vitor
|
8870a1e661
|
define virtual timer and use it for timeout (#96)
|
2009-06-01 19:49:03 -05:00 |
|
Costa Vitor
|
251ac240b6
|
fix bad compilation of varargs preds.
|
2009-06-01 19:29:16 -05:00 |
|
Costa Vitor
|
98fef199bd
|
fix conflict in error handling (not supposed to be exported by SWI-Prolog.h
add PL_eval_expression_to_int64_ex
|
2009-06-01 18:01:30 -05:00 |
|
Costa Vitor
|
01f80f8116
|
-1 is the error in datime
|
2009-06-01 16:42:17 -05:00 |
|
Vitor Santos Costa
|
b8f60c623d
|
improvements to SWI compatibility
|
2009-06-01 15:38:39 -05:00 |
|
Vitor Santos Costa
|
d6ed058157
|
first pass at a decent implementation of PL_error (#95)
- basically copy SWI code.
|
2009-05-30 12:52:23 -05:00 |
|
Ulrich Neumerkel
|
5760986b2f
|
Forgotten failure - found by #22
|
2009-05-28 21:13:51 -05:00 |
|
Ulrich Neumerkel
|
c2bd671bfd
|
time_out/3: Give every alternative the full timeout time #86
|
2009-05-27 18:21:25 -05:00 |
|
Ulrich Neumerkel
|
f9342e835d
|
What's wrong with this one? Of course, the granularity of the alarms is a problem. And the inability to nest.
|
2009-05-27 16:01:44 -05:00 |
|
Costa Vitor
|
f11eeb2967
|
be more careful to handle throws.
|
2009-05-26 17:24:49 -05:00 |
|
Costa Vitor
|
e6129e84b7
|
unnecessary disable_interrupts (#69)
|
2009-05-26 16:57:27 -05:00 |
|
Vitor Santos Costa
|
de7474a5d9
|
allow inplace operations.
|
2009-05-26 10:48:45 -05:00 |
|
Vitor Santos Costa
|
99ac4f4d4a
|
handle SWI style goal expansion natively, instead of trying to be smart.
|
2009-05-24 19:18:52 -05:00 |
|
Costa Vitor
|
b93e5fd300
|
fix warning
|
2009-05-22 19:20:53 -05:00 |
|
Costa Vitor
|
d7135f06e9
|
fix charsio.
|
2009-05-21 19:15:12 -05:00 |
|
Vitor Santos Costa
|
f9533c8757
|
fix backtracking in timeout.
|
2009-05-21 01:30:24 -05:00 |
|
Vitor Santos Costa
|
56fa3499b1
|
oops
|
2009-05-21 01:08:34 -05:00 |
|
Vitor Santos Costa
|
f3e4148511
|
fix bad behavior of time_out by making sure interrupts are disabled during critical operation, up
to setting a throw.
|
2009-05-21 00:39:57 -05:00 |
|
Vitor Santos Costa
|
c3974d49eb
|
allow users to disable interrupts, if so inclined.
|
2009-05-21 00:39:44 -05:00 |
|
Vitor Santos Costa
|
2020a19e69
|
fix format_to_chars/4 (Ulrich Neumerkel #62)
|
2009-05-20 09:14:48 -07:00 |
|
Ulrich Neumerkel
|
b38505cff2
|
FIXED: time_out output argument, exceptions (unhappy about once)
?- time_out(true,3600,time_out).
yes
?- catch(time_out(throw(x),3600,R),x,length(L,L)).
ERROR!!
UNHANDLED EXCEPTION - message time_out unknown
|
2009-05-19 23:58:35 -07:00 |
|
Vitor Santos Costa
|
ced3448c9a
|
error.pl should not be here (obs from Ulrich Neumerkel).
|
2009-05-04 11:41:01 -05:00 |
|
Vitor Santos Costa
|
1f7b839e85
|
support exporting top-level-work as absolute path
|
2009-05-02 14:11:54 -05:00 |
|
Vitor Santos Costa
|
496349e38a
|
do not compile regex packages unnecessarily
|
2009-05-01 12:45:21 -05:00 |
|
Vitor Santos Costa
|
6c10e49eb8
|
remove debugging writeln
|
2009-04-26 10:56:19 -05:00 |
|
Vitor Santos Costa
|
3fff188701
|
fix maplist and friends to handle non-var non-ground arguments (obs from Jose Santos).
|
2009-04-26 10:46:53 -05:00 |
|
Vitor Santos Costa
|
710d15e506
|
fix numlist/3
|
2009-04-25 13:00:09 -05:00 |
|