Commit Graph

1326 Commits

Author SHA1 Message Date
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +00:00
Vítor Santos Costa
839d612367 improve SWI predicate calling: fix bug in non-deterministic calls. 2011-03-14 20:54:19 +00:00
Vítor Santos Costa
0d6be2d858 improve string support
fix non-thread compilation.
2011-03-11 23:21:23 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
93d2ac7e59 handle errors. 2011-03-11 19:49:01 +00:00
Vítor Santos Costa
8eeae7942c avoid loading memfile 2011-03-11 19:48:43 +00:00
Vitor Santos Costa
5418f55d74 fix pl-tai 2011-03-09 13:05:03 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
cfc806500d fix popen definition. 2011-03-08 00:07:08 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
Vítor Santos Costa
73541f506f get rid of old SWI emulation stuff. 2011-03-01 10:41:06 +00:00
ubu32
3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
ubu32
f2e8f2ac2e more fixes for bignum support in PLStream. 2011-02-27 03:40:27 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vitor Santos Costa
0614a8c26e readline fixes 2011-02-16 21:11:45 +00:00
Vitor Santos Costa
dce619f804 compile readline. 2011-02-16 00:23:58 +00:00
Theofrastos Mantadelis
2d54ccf355 fixed an open choice point 2011-02-15 21:19:21 +00:00
Vítor Santos Costa
a40987b70d ifixes to support 64 bits:
- protect registers before calling prune()
- use Int, not int.
2011-02-15 18:14:18 +00:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
57f5ef8cfc more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
2011-02-15 05:54:19 -08:00
ubu32
140318ff16 read works now. 2011-02-14 23:39:27 -08:00
ubu32
99cbe94bed fix unify functor 2011-02-14 11:28:07 -08:00
ubu32
c277229aa9 fix frame stuff
small interface fix.
2011-02-14 06:58:03 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
98684ba4bb remove YAP sockets interface. 2011-02-12 23:38:24 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
be79c3326e first pass at open/ and friends. 2011-02-12 14:14:12 +00:00
Vitor Santos Costa
b219e288eb is_absolute_file_name/2 2011-02-12 01:24:03 +00:00
Vitor Santos Costa
42ff655ae5 working directory is now a part of YAP kernel. 2011-02-12 00:44:39 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vitor Santos Costa
2451a052cb use text routines from current SWI fli. 2011-02-12 00:17:59 +00:00
Vítor Santos Costa
45032cc61e export current predicate for SWI built-ins. 2011-02-11 19:01:18 +00:00
Vitor Santos Costa
6617a63b7e attempt to improve error handliong in SWI emulation. 2011-02-11 14:17:27 +00:00
Vítor Santos Costa
b475be5692 more SWI compatibility changes. 2011-02-11 01:22:07 +00:00
Vítor Santos Costa
02c791fc3d iminor PLStream fixes. 2011-02-10 21:45:43 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vitor Santos Costa
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
Vítor Santos Costa
0ad02c3ee1 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-02-08 21:06:02 +00:00
Theofrastos Mantadelis
b57859f28b fixed some typos 2011-02-04 16:08:18 +01:00
Theofrastos Mantadelis
7fd6faea64 flags: fixed an interval bug 2011-02-03 17:20:42 +01:00
Vitor Santos Costa
c1721df472 Merge branch 'master' of /yap-6.3
Conflicts:
	C/c_interface.c
2011-02-03 11:33:50 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a4a1feeacc improve SWI emulation in WIN32. 2011-02-03 11:23:12 +00:00
Vítor Santos Costa
8ab12ec680 fix mix swi/sicstus 2011-02-02 20:45:29 +00:00
Theofrastos Mantadelis
857c8c042e Final version for today 2011-02-01 18:37:32 +01:00
Theofrastos Mantadelis
95427488d6 ... 2011-02-01 18:11:36 +01:00
Theofrastos Mantadelis
ab24175145 hopefully the bug is now fixed... 2011-02-01 17:51:54 +01:00
Theofrastos Mantadelis
f0c7c76966 fixed some minor issues in c_alarms 2011-02-01 17:36:34 +01:00
Theofrastos Mantadelis
73918e78aa Added flags library 2011-02-01 12:13:42 +01:00
Theofrastos Mantadelis
b73a93f26a fixed the makefile... 2011-02-01 12:05:35 +01:00
Theofrastos Mantadelis
a82b1fed6f A new library, namely concurrent alarms 2011-02-01 12:02:57 +01:00
Vitor Santos Costa
404c6d3a4f protect registers. 2011-01-20 12:04:50 -06:00
Vitor Santos Costa
d52d05a626 fix atom_term builtin not to require previous loading of charsio. 2011-01-20 11:51:46 -06:00
Vitor Santos Costa
5c54ff89a1 add subtract/3 to lists. 2011-01-03 21:55:42 -06:00
Vitor Santos Costa
a9587b5e3d restore and agc of recorded terms
overflows in recorded.
2011-01-02 21:16:29 -06:00
Vitor Santos Costa
7c86b244b9 patches from Keri Harris 2010-12-30 22:14:45 -06:00
Theofrastos Mantadelis
8499f36f0b Fixed the tmp_file/2, added tmpdir/1. 2010-12-20 17:33:23 +01:00
Vitor Santos Costa
1533d0bbd7 more fixes to PL_get_codes. 2010-12-19 22:06:41 +00:00
Vitor Santos Costa
f4d82b0f58 looks like sound. 2010-12-19 22:01:37 +00:00
Roberto Bagnara
02fbaf958a Fixed a few issues in the glue code for SWI-Prolog compatibility. 2010-12-19 21:59:38 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +00:00
Roberto Bagnara
cb7c2e0ca8 Fixed PL_is_integer() and PL_is_number() so as to take bignums into account. 2010-12-19 19:39:12 +00:00
Vítor Santos Costa
4b2156446a ifix writeln in SWI mode 2010-12-17 20:26:45 +00:00
Theofrastos Mantadelis
b5d486279a fix a trie backward traverse bug 2010-12-17 12:29:56 +01:00
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +00:00
Vítor Santos Costa
4546a22101 SWI seems to use t=0 for user_input/output. Not very clear why... 2010-12-15 20:03:22 +00:00
Vítor Santos Costa
1ca5c92469 fix goal expansion for with_output_to in SWI mode (obs from Roberto Bagnara). 2010-12-15 12:08:26 +00:00
Vitor Santos Costa
68539ab1e0 make sure with_output_to argument is not rewritten. 2010-12-14 23:46:17 +00:00
Vítor Santos Costa
57aafe5d23 don't use with_output_to/2 from PLStream: it gets confused by whose stdout it should write to. 2010-12-14 12:04:44 +00:00
Vítor Santos Costa
628ae12d15 ifix warning message. 2010-12-14 12:04:33 +00:00
Vítor Santos Costa
eb82f5fa2a more fixes to recursive call execution and backtracking from within C-mode.
semweb java example now working.
2010-12-14 09:30:40 +00:00
Vítor Santos Costa
f89f7e8e98 PL_set_engine should always return a sensible answer, even if multi-threading is not on. 2010-12-13 21:07:35 +00:00
Vitor Santos Costa
3c4da56af2 allow write to find out about SWI streams in SWI mode. 2010-12-13 12:38:37 +00:00
Vítor Santos Costa
51e9cb14a7 nl should be in the SWI IO (obs from Roberto Bagnara). 2010-12-12 19:07:24 +00:00
Vítor Santos Costa
c08e99a77c fix mapnodes/2 (obs from Ingo Molnar). 2010-12-07 17:50:51 +00:00
Vítor Santos Costa
af6bf40985 fix SWI functor handling to work with 32 bits. (for now) 2010-12-02 19:41:48 +00:00
Vítor Santos Costa
2713ac27b6 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
	library/dialect/swi/fli/swi.h
2010-12-02 19:38:15 +00:00
Vítor Santos Costa
f03f353722 make swi functors more robust to confusion with atoms. 2010-12-02 19:25:10 +00:00
Vitor Santos Costa
7e59179622 fix bad SWI functor :( 2010-12-02 12:10:03 +00:00
Vitor Santos Costa
b02507ed22 fix 32 bit atoms to ensure alignment at 8 bytes (broken with blobs). 2010-12-02 11:49:58 +00:00
Vitor Santos Costa
aead067476 mv swi compatibility stuff to library/dialect 2010-11-30 22:33:33 +00:00
Vitor Santos Costa
56c767f2b7 fix bad free 2010-11-30 22:12:30 +00:00
Vitor Santos Costa
2d00dd15ab fix missing files 2010-11-30 21:59:45 +00:00
Vitor Santos Costa
7b6f330bd3 improve blob support (but just skeleton). 2010-11-29 23:17:06 +00:00
Vitor Santos Costa
fe1fbaf6f7 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
	library/dialect/swi.yap
2010-11-28 13:48:09 +00:00
Vitor Santos Costa
f4bda9b043 fix build compund term. 2010-11-28 11:50:41 +00:00
Theofrastos Mantadelis
359855132a Corrected a db trie related bug 2010-11-27 16:34:18 +01:00
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
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
Vitor Santos Costa
8ffcaf612e fix emulation of goal_expansion. 2009-04-25 12:56:01 -05:00
Vitor Santos Costa
c04eb48f12 new version of clpfd.pl 2009-04-25 12:55:23 -05:00
Vitor Santos Costa
065a88d0cc fix grammer expansion. 2009-04-24 21:41:26 -05:00
Vítor Santos Costa
eef4b3cad2 fix apply_macros calling maplist (not that it is very much used, most
of always will go through expand_macros).
2009-04-24 22:48:24 +01:00
Vítor Santos Costa
23e258bdd4 fix the apply_macros/maplist conundrum! 2009-04-24 22:43:08 +01:00
Vítor Santos Costa
1c053da021 support missing SWI functionality: phrase/2 and phrase/3. 2009-04-24 21:45:41 +01:00
Vítor Santos Costa
8a4fb12d75 is_list is now a builtin. 2009-04-24 21:03:10 +01:00
Vitor Santos Costa
b5dc71d080 is_list/1 is now a builtin. 2009-04-24 10:31:53 -05:00
Vitor Santos Costa
154bc2cde1 make sure we export definitions here. 2009-04-21 08:29:28 -05:00
Vitor Santos Costa
2e7e3c156d fix volatile. 2009-04-21 08:29:02 -05:00
Vitor Santos Costa
dba3444a04 fix stack for construction of deep terms in PL_unify. 2009-04-18 18:49:12 -05:00
Vitor Santos Costa
9c0831d18a one little step forward with PL_signals. 2009-04-18 15:21:02 -05:00
Vitor Santos Costa
b159736edd fixes for 64 bits. 2009-04-14 01:25:21 +01:00
Vitor Santos Costa
d05dfc3283 allow different comparison functions in b_hash 2009-04-04 23:57:46 +01:00
Vitor Santos Costa
cc7ff82275 term_hash non non_ground terms: ignoring the variables. 2009-03-31 21:56:12 +01:00
Vitor Santos Costa
67b29f3c85 improve SWI compatibility. 2009-03-13 19:40:27 +00:00
Vitor Santos Costa
66931e6518 Prolog dialect support 2009-03-06 10:59:02 +00:00
Vitor Santos Costa
d98c3f0817 add support for sized queues. 2009-02-27 22:22:49 +00:00
Vitor Santos Costa
a000af113b OSX portability updates
start of support for commons prolog initiative
2009-02-16 12:25:03 +00:00
Vitor Santos Costa
3439cc8787 From Jose Santos: rb_map is a meta_predicate! 2009-02-10 22:53:40 +00:00
Vítor Santos Costa
43e70f2003 more changes to support SWI Input/Output. Now it compiles, which does
not mean it would work!
2008-12-22 12:03:14 +00:00
Vítor Santos Costa
e51a4c2f5b more changes to interface better with SWI-Prolog 2008-12-19 11:41:56 +00:00
Vítor Santos Costa
a2744ed186 further changes to better support SWI interface. 2008-12-17 14:47:05 +00:00
Vítor Santos Costa
f19db29647 support split on blank spaces (tab and spaces). 2008-12-17 14:46:39 +00:00
Vítor Santos Costa
2b0c27deb6 Remove attempt to emulate SWI I/O
add YAP_getcwd and PL_cwd to interface
2008-12-13 16:07:55 +00:00
Vitor Santos Costa
a64c1138df more CLP(BN) fixes
- support clpbn_table for an efficient implementation of deterministic tabling.
- corresponding changes to learning algorithm.
2008-11-18 11:29:59 +00:00
Vitor Santos Costa
abf9691282 fixes to hashing code. 2008-11-18 11:29:08 +00:00
Vitor Santos Costa
1be78e23ec had shortcut for var-to-var unification. 2008-11-14 14:54:52 +00:00
Vitor Santos Costa
8e9fde1c6c backtrack global hash table. 2008-11-14 14:50:04 +00:00
Vitor Santos Costa
13fb5d5156 fix underflows when computing marginals. 2008-11-04 03:55:49 +00:00
Vitor Santos Costa
8938666bf5 add sum_list/3 2008-11-03 16:00:22 +00:00
Vitor Santos Costa
4a2aa23c5b more CLP(BN) fixes, add softening option when computing MLE estimators. 2008-10-31 15:11:27 +00:00
Vitor Santos Costa
9c1ee7ba34 add matrix_row to get a row of a matrix
fix a bit of error handling.
2008-10-31 09:47:58 +00:00
Vitor Santos Costa
aca06e16fc fix bad call to map_tree (obs from Paulo Moura). 2008-10-31 09:42:32 +00:00
Vitor Santos Costa
0dcf34b7bc mainbranch fixes to:
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00
Vítor Santos de Costa
b3cb7b1071 add log/2 and exp/2 2008-10-22 00:40:15 +01:00
Vítor Santos Costa
9c3ef66490 fix OSX breakage 2008-10-20 17:58:12 +01:00
Vitor Santos Costa
83c6d45cbc fixed: bad argument passing in expand_component. 2008-09-30 11:46:49 +01:00
Vítor Santos Costa
65ccd336b2 fix a stupid threads bug 2008-09-04 16:58:45 +01:00
Vitor Santos Costa
83ebf097df add support for dbusage 2008-09-01 04:45:55 +01:00
Vitor Santos Costa
236ffa0718 add useful debugging info on data base usage. 2008-09-01 04:45:16 +01:00
Vitor Santos Costa
2a53a46d12 document lineutils 2008-09-01 04:44:54 +01:00
Vitor Santos Costa
2a84e259a2 Upgrade to new CHR (with Jan's changes).
Found out I need to add an extra field to allocate so that the
exception handling code knows where the clause is.
Protect creep_allowed from NULL pointers.
2008-08-30 16:24:44 +01:00
Vitor Santos Costa
24c2650472 get rid of suprious definition of $message 2008-08-27 00:43:40 +01:00
Vitor Santos Costa
6f0b3cf2f5 fix flatten/2: it would not create variable elements. 2008-08-25 20:41:09 +01:00
Vitor Santos Costa
8169ef0343 fix stack_dump 2008-08-25 15:20:18 +01:00
Vitor Santos Costa
a72355f288 redefine arg/3 as genarg/3 unless first argument is bound on call.
term_variables/3 and /2 is now a builtin-in, and thus not in the interace.
2008-08-24 14:25:04 +01:00
Vítor Santos Costa
d96461f04c add missing files 2008-08-21 13:39:56 +01:00
vsc
82efc8fb2c small fixes to compile in Windows again.
Trust _isatty


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2311 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-22 01:59:48 +00:00
vsc
d170b34624 MaxOS fixes
Avoid a thread deadlock
improvements to SWI predicates.
make variables_in_term system builtin.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2304 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-12 01:27:23 +00:00
vsc
dbd6e1b139 fix fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2298 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-06 17:34:15 +00:00
vsc
85d7d39dbf more thread fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2297 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-06 17:32:22 +00:00
vsc
a3983fa820 swi compatibility support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2294 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-01 21:44:25 +00:00
vsc
e1866e2917 improve C-interface and SWI comptaibility a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2292 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-24 16:02:04 +00:00
vsc
75c72d7b7d SWI and module fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-22 23:34:50 +00:00
vsc
d832a81991 add extra versions to maplist and fix apply macros to handle predicates
with the same aargument.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2288 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:45:47 +00:00
vsc
dc45cde7ee flatten does not need to be defined as a system predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2287 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:34:00 +00:00
vsc
d8e5f2c895 fixes by Bart and Tom: mostly libraries but nasty one in indexing
compilation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2286 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-11 17:02:10 +00:00
vsc
0dd1ed933e improve graphs a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2285 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-26 13:09:15 +00:00
vsc
ac6ddd5005 fix syntax error messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2275 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-12 10:55:52 +00:00
vsc
8a00ab9d70 fix insert_new in rbtrees
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2274 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-11 16:57:31 +00:00
vsc
02565ae625 some nice extra predicatesy
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2273 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-11 11:08:25 +00:00
pmoura
6a2843f4e3 Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2268 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 09:55:34 +00:00
pmoura
dccdcc7ada Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2267 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 09:48:36 +00:00
vsc
87fcf6233c put chr back to life
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2265 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-08 08:05:11 +00:00
pmoura
ea139a37c6 Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-07 10:11:44 +00:00
vsc
39e72437b0 extra fixes to list_to_rbtree
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2263 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-05 22:12:22 +00:00
vsc
5d49f14545 fix rbtrees built from ordered lists
fix jt
be more flexible about unbound parents


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2260 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-05 16:24:08 +00:00
vsc
f868298acf fix some cleanups
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2256 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 22:43:14 +00:00
vsc
aa92d9628d fix fixes to prandom
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2254 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:27:57 +00:00
vsc
02497c1172 fix manual and message handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2253 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:24:28 +00:00
vsc
8e6403794f fix abolish bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2252 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-02 17:20:28 +00:00
vsc
fbc1f5e4a9 fix sys.c for win32
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2245 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 13:16:13 +00:00
vsc
5974495e87 Latest from Markus!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2244 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 10:43:27 +00:00
vsc
6fbe60046b fix rb_insert and add Jan's comments.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2243 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 10:42:14 +00:00
vsc
a70fb91592 add tmp_file/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2241 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-22 23:25:21 +00:00
vsc
316811d2cd user:goal_expand should be called before import
add extra apply_macros and apply stuff; fix unexisting definitions.
add forall/2 and ignore/1 to system stuff.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2237 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-15 13:41:48 +00:00
ricroc
ed339dcb12 Tries module: when loading a trie from a file, we now check if the file is corrupted before starting loading.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2232 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-07 14:21:39 +00:00
vsc
3c3d0de2de partial fix to predicate_property trouble (obs from Nicos).
fix core dump when writing arrays without bignum support.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2217 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-14 17:30:18 +00:00
vsc
5b6e8e742b more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 22:56:22 +00:00
vsc
24b91ce2e1 rl_tree library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2171 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 14:59:29 +00:00
nunofonseca
48f393bedf RL-Trees module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 23:05:22 +00:00
vsc
f933b890f0 fix thread_dettach
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2167 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-26 14:41:45 +00:00
vsc
0c0826b938 fix some icc warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 22:03:14 +00:00
vsc
b2274186bd make or-parallelism compile again
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2164 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 16:45:53 +00:00
vsc
84c15fda0b regexp core-dump (obs from Ryszard Szopa)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 11:54:08 +00:00
vsc
381a3401ac further upgrades to chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2147 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:43:13 +00:00
vsc
54ceaa1f37 string manipulation utilities for scripts.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2146 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:38:24 +00:00
vsc
0e45f242d4 update to CLP(QR). Note that CLP(Q) is still unsupported.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2145 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 17:16:47 +00:00
vsc
d02bc3de81 update chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 14:38:02 +00:00
vsc
d0cd8182d9 fix path issues when opening files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2137 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:37:34 +00:00
rzf
2e289a8317 reverted to old version due to a wrong commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2124 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:37:56 +00:00
rzf
b55a9bd8f9 added option for setting the value of zeros in cpt table. By using a small value rather than 0.0 some errors with jt and vel are avoided
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2123 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:11:18 +00:00
vsc
9c54e6c7bb improve library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2122 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-28 00:33:52 +00:00
vsc
a3f3d62b1b more fixes to messages
improve lineutils


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2117 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-25 10:15:31 +00:00
vsc
6a7e26eab1 Marku's latest, thanks!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2116 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-25 09:58:11 +00:00
ricroc
bd957c06b6 support for trie_traverse/2 and itrie_save_as_trie/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2110 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 18:57:27 +00:00
ricroc
596ecc5126 support for trie_traverse/2 and itrie_save_as_trie/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2109 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 18:47:24 +00:00
vsc
17d16e0b14 Big update to support more SICStus/SWI like message handling
fix YAPSHAREDIR
fix yap.tex (Bernd)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2107 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 15:08:37 +00:00
ricroc
da6d73302a bug in trie_join functions fixed
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2106 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-21 15:14:41 +00:00
vsc
6d4edaa609 allow float matrix to be initialised with ints.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2098 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-13 15:20:59 +00:00
vsc
efe6c4eaef condor support.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2092 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 21:50:58 +00:00
vsc
8ccc09d38f Quintus arg package
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2091 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 21:39:37 +00:00
vsc
29d7bac9b7 a few extra portability fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2090 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 18:10:48 +00:00
vsc
af0fb4f4d9 SWI-portability changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2088 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 17:03:59 +00:00
ricroc
1ac399f57b new support for join/intersect operations
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2086 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-11 17:00:23 +00:00
ricroc
458bdd890d bug in auxiliary_term_stack_size
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2084 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 19:35:12 +00:00
vsc
7a9e7816c9 undo current_predicate changes and make iso fully use LU semantics.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2083 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-08 09:49:21 +00:00
vsc
10afcef66b new version of CLP(FD)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2078 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-07 11:28:14 +00:00
ricroc
51fd3b2dcc trie support for atoms with spaces
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2075 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-01 18:59:38 +00:00
vsc
44e4a953e4 fix another trail overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-27 23:07:30 +00:00
vsc
817663588d get rid of debugging messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2057 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 22:22:42 +00:00
vsc
535a43245d line utilities
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2052 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-14 16:34:06 +00:00
vsc
3faa45cb0a new version of clp(fd)
fix deadlock with empty args facts in clause/2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2047 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-26 19:50:40 +00:00
vsc
aa642a83f9 weighted graphs SICStus like library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2038 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 14:49:59 +00:00
vsc
64d62f1e3e improve JT
fix graph compatibility with SICStus
re-export declaration.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 12:17:25 +00:00
vsc
1bd96722de junction tree algorithm
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2031 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-28 23:52:14 +00:00
ricroc
5941606d19 fixed bug in itrie_traverse_cont()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2029 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 16:15:41 +00:00
vsc
507d3058f4 fix some overflows
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2028 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 15:51:39 +00:00
vsc
d908c8633f implement sophisticated operations with matrices.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2022 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 14:58:41 +00:00
pmoura
c1a999bfb1 Logtalk 2.30.8 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1989 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-09 19:05:00 +00:00
vsc
e01e7cc8bf small fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1977 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-07 09:35:53 +00:00
pmoura
42aabce1bb Logtalk 2.30.7 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-06 01:50:09 +00:00
vsc
9e9c260f7e new version of viterbi implementation
fix all:atvars reporting bad info
fix bad S info in x86_64


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1968 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-28 00:54:09 +00:00
vsc
c625347697 fix global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1962 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-18 08:24:16 +00:00
vsc
6cc9e24976 upgrade chr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-16 23:17:04 +00:00
vsc
5df974b857 some more fixes to make YAP swi compatible
fix absolute_file_name (again)
fix setarg


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1951 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-10 09:44:28 +00:00
vsc
fb37dd62ea CLP(FD) thanks to Markus Triska!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1950 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-09 22:13:55 +00:00
vsc
642b498728 fix garbage collector and fix LeaveGoal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1945 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-05 18:24:30 +00:00
vsc
31ff28d3ee upgrade JPL
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1936 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-27 15:25:34 +00:00
vsc
c64baeb728 move yap2swi.o to main.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1923 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-12 10:13:38 +00:00
vsc
35cb7569b7 fix recent includes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1921 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-04 22:37:02 +00:00
vsc
4c08960096 Improve SWI interface emulation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1920 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-04 10:34:55 +00:00
vsc
66d14116dd improve CLP(BN)/BNT interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1918 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-08-06 14:55:43 +00:00
vsc
9a730f3b05 CLP(BN) related fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1914 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-07-07 01:52:57 +00:00
vsc
69046824cd add documentation to matrix library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1912 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-07-03 15:24:20 +00:00
vsc
cd23c60c45 move to 5.1.3
add MATLAB docs.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1910 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-29 01:33:35 +00:00
pmoura
9fc2c47d53 Logtalk 2.30.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1908 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-24 13:27:35 +00:00
vsc
7a98e7df59 fix bug in index emulator
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-20 13:48:45 +00:00
pmoura
6b4bde14e1 Logtalk 2.30.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1903 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-12 10:39:47 +00:00
pmoura
211e5cec2b Added emulation of the =@=/2 predicate to the SWI-Prolog compatibility library.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1891 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-02 15:37:50 +00:00
vsc
dc9ab3b1c7 fix library search.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1888 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-24 19:54:45 +00:00
vsc
244d4128cf matlab interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1887 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-24 15:11:46 +00:00
vsc
5affad32b6 use setitmer instead of alarm.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1886 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-20 23:00:38 +00:00
tiagosoares
ed7873ef8a MYDDAS: Added db_sql_mode/1 and db_sql_mode/2 predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1885 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-20 21:33:29 +00:00
vsc
498c7a6d42 fix min list
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1882 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-15 11:33:51 +00:00
vsc
804348c83c fix mktime fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1880 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-07 12:11:39 +00:00
vsc
b13be040d8 mktime needs to know if daylight time savings are on
(obs from Bernd Gutmann).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1879 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-07 11:21:29 +00:00
ricroc
d9b7100f37 tries library module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1877 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 15:31:23 +00:00
ricroc
e9c848ea41 tries library module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1876 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 15:23:00 +00:00
vsc
d931ff8cdd small fixes to sys.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1875 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 11:16:43 +00:00
vsc
2d3d3ff22c get rid of small bugs/warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1874 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-02 11:12:39 +00:00
vsc
f1411c368e CLP(BN) fixes and declare dynamic as dynamic.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1861 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-30 22:42:15 +00:00
vsc
0f5ccae3b7 fix gmpless blob handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1860 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-30 16:47:22 +00:00
pmoura
4569fca292 Logtalk 2.29.5 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1858 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-28 22:44:31 +00:00
vsc
0b7083adb2 make sure that YAP_Restart does not restart a failed goal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1855 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-03-22 11:12:22 +00:00
vsc
621e47f8a4 add nb_current and fix nb_delete.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1801 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-21 16:50:51 +00:00
pmoura
46c8cfbeff Logtalk 2.29.4 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1799 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-19 18:58:28 +00:00
ricroc
a32d5dbe5f *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1796 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-13 12:35:30 +00:00
pmoura
73a30641a0 Fixed typo on nextto/3 documentation pointed out by Christian Thaeter.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1794 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-02-12 10:33:01 +00:00
pmoura
b697f3d34e Logtalk 2.29.3 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1781 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 11:01:56 +00:00
vsc
48fdba3f1e fix matrix mess
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1778 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 10:01:40 +00:00
pmoura
e75e406f84 Logtalk 2.29.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1773 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-10 12:46:10 +00:00
vsc
0cef3c5389 fix restore (Trevor)
make indexing a bit faster on IDB


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1771 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-08 08:27:19 +00:00
pmoura
23fb55aa62 Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1746 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-29 09:48:32 +00:00
vsc
7a82e1b59b Varnumbers predicate (originally in QP)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1741 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 12:26:33 +00:00
vsc
b998d18a1a direct access to blood curdling stuff!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1740 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:54:21 +00:00
vsc
78b52b925c diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1738 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:32:38 +00:00
vsc
72064a8c74 compact representation for matrix operations
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1737 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:34:16 +00:00
vsc
9ff0059be3 create directory matrix in right place
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1736 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:33:32 +00:00
vsc
ab1d33cf8c small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1735 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-24 01:11:13 +00:00
vsc
922406496b add matrix operations support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1734 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-14 17:17:01 +00:00
vsc
90c1641841 several debugger and CLP(BN) improvements.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
pmoura
36a326908c Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-07 17:11:47 +00:00
vsc
bd015b83ee fix avl stuff and all/3 stuff
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1707 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-19 15:09:03 +00:00
vsc
13080439a6 small fixes on threaded implementation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1700 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-10-10 14:08:17 +00:00
vsc
53b412d1a8 fix make_directory
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1697 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-28 16:29:50 +00:00
vsc
23757e5563 fix bropken MPI_LAM configure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1695 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-09-28 11:42:51 +00:00
vsc
29bbffc650 global data structures
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1687 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-25 19:50:35 +00:00
vsc
d11fd73306 global variables
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1685 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-22 16:12:46 +00:00
vsc
0f714371e5 fix garbage collector not to try to garbage collect when we ask for large
chunks of stack in a single go.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1684 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-07 18:51:44 +00:00
vsc
089e864621 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1682 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-04 04:06:33 +00:00
vsc
d7b73e6886 readutil library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1681 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-03 01:50:47 +00:00
vsc
d8d4d1516d preliminary support for readutil library (SWI compatible).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1678 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-02 18:18:31 +00:00
vsc
beba8315ca fix nasty overflows in and add some very preliminary support for very large
clauses with lots
of disjuncts (eg, query packs).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1676 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-27 19:04:56 +00:00
vsc
4dc4eb8a75 fix min_list
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1675 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-16 01:44:17 +00:00
vsc
24b78dbf8b an implementation of queues in the DB.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1674 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-07-16 01:41:07 +00:00
tiagosoares
3af669d7d2 MYDDAS: Fixed some single_var_warnings
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1673 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-09 18:32:01 +00:00
nunofonseca
21662f4015 lam_mpi: fixed error during instalation when not compiled.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1672 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-06 17:07:05 +00:00
tiagosoares
989d9579b3 MYDDAS: Fix a bug on memory dealocation on MYDDAS_STATS module
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1669 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-06 14:11:36 +00:00
nunofonseca
0db94f615a Changed copyright notice to GPL.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1667 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 19:02:07 +00:00
nunofonseca
67dfd7facb Fixed compilation warnings.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1666 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 18:45:20 +00:00
nunofonseca
87bac7cafa New LAM MPI module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1665 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-04 18:43:38 +00:00
nunofonseca
b984d9191e New LAM MPI module.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1660 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-06-02 04:16:31 +00:00
tiagosoares
637cb7812c MYDDAS: MySQL Top Level now available with db_top_level/4 or db_top_level/5 predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1659 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-31 14:35:05 +00:00
vsc
f5b9000018 include thread_sleep functionality.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1653 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-25 16:28:28 +00:00
vsc
00d12106d0 make chr work and other minor fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1648 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-24 02:35:39 +00:00
tiagosoares
4bf4767073 MYDDAS: New internal organization and new MYDDAS statistics
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1646 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-22 16:45:07 +00:00
vsc
b172a9e75d fixes to Makefile and manual.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1641 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 17:49:25 +00:00
vsc
ba3ea30e8e some matricial operations, very early development right now
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1639 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 13:51:24 +00:00
vsc
871bb9e024 help to make Yap work with dynamic libs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1638 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-19 13:48:11 +00:00
vsc
64a70572de make system library use true file name
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1633 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-17 18:38:11 +00:00
tiagosoares
174a2c4518 MYDDAS: Enhanced statistics ability
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-03 18:02:29 +00:00
tiagosoares
fd79ec1b9d MYDDAS: added new predicates to the MYDDAS interface. db_call_procedure/3 and db_sql_mode/2. Added also a sql_query_optmizer for translate/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1623 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-30 10:11:25 +00:00
vsc
b9e5416355 fix ! in debugger (execute_clause)
improve system/1 and execute/1


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-25 03:23:40 +00:00
vsc
5198ba1077 more graph stuff.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1603 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-20 15:28:08 +00:00
vsc
6d704a6675 commit updates to graphs and red-blac trees.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1602 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-14 01:01:55 +00:00
rslopes
e2b10fe908 fix for older compilers
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1593 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-11 16:49:07 +00:00
vsc
783ae4b9a0 fix syntax error message handling
improve redblack trees and use it to reimplement association lists and
to have better implementation of several graph algorithms.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1591 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-10 19:24:52 +00:00
pmoura
75b2645e3f Logtalk 2.27.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-26 17:31:34 +00:00
vsc
b38d4fc941 fix fix on index expansion
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1570 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-21 19:20:35 +00:00
tiagosoares
cbc94bbaf7 MYDDAS: db_open/5 support to user specify the TCP/IP port and/or Unix Socket of the MySQL Server to connect to.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1566 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-17 10:41:44 +00:00
tiagosoares
6f409cb962 CUT_C and MYDDAS support for 64 bits architectures
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1564 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-09 15:52:06 +00:00
tiagosoares
16eb3a70fc MYDDAS: Improved the MYDDAS instalation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1562 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-07 17:34:29 +00:00
tiagosoares
35d9290a43 Added -P to cpp execution
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1561 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-07 17:30:47 +00:00
tiagosoares
e1b2643b62 MYDDAS: New syntax in some predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1553 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-03-03 14:14:54 +00:00
vsc
46f90fc6aa fix register recovery after ^c on Macs
fix 64 bit complaints.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1542 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-13 16:58:55 +00:00
tiagosoares
bc82175e5e MYDDAS: New functionalitys to the MYDDAS system
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1541 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-10 23:42:19 +00:00
tiagosoares
302495f6c4 MYDDAS: Bug fix on translate. We know put the tables names betwwen "`"
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1540 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-10 23:39:18 +00:00
pmoura
9fe4d26c59 Logtalk 2.27.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1539 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-10 17:44:05 +00:00
tiagosoares
fbcfdb49a9 MYDDAS: Myddas Top Level for MySQL and Datalog
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1537 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-08 17:29:55 +00:00
tiagosoares
8012773ae1 MYDDAS: Top Level Functionality
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1534 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-05 02:19:15 +00:00
vsc
9e697d5bee bignum support fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1531 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-01 13:28:57 +00:00
tiagosoares
5f56e91375 MyDDAS: bug fix on db_update/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1530 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-30 17:55:40 +00:00
tiagosoares
1fcc25ff3b MyDDAS: Added once to the prolog2sql compilar
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1527 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-26 18:52:49 +00:00
tiagosoares
e66348b44c MyDDAS: Added some new functionalitys to MyDDAS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1526 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-25 20:40:21 +00:00
tiagosoares
54595ec094 MyDDAS: Changed MyDDAS internal structure
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1521 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-17 22:54:02 +00:00
tiagosoares
ac5ba3fa10 MyDDAS: Changed translate/3 only for a particular case, for April
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1520 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-17 18:07:06 +00:00
vsc
9618c90255 YENV may be an HW register (breaks some tabling code)
All YAAM instructions are now brackedted, so Op introduced an { and EndOp introduces an }. This is because Ricardo assumes that.
Fix attvars when COROUTING is undefined.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1516 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-17 14:10:42 +00:00
michel_ferreira
440364362e MYDDAS: exist/1 using LIMIT 1 on the subquery
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1514 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-16 21:00:12 +00:00
tiagosoares
f03fd0c1da MyDDAS: Changed the syntax of db_prolog_select/4 to db_prolog_select/3, following a sugestion by Nuno Fonseca
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1512 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-11 23:15:52 +00:00
tiagosoares
b0f11a69db MyDDAS: Added new predicate db_prolog_select/4
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1511 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-10 15:37:21 +00:00
tiagosoares
3f7a2c730d MyDDAS: Nuno Fonseca notice an error on db_import/3 and db_view/3. The asserted predicates didn't consider the Bind Value of the variables. Bug fixed ;)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1510 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-10 15:36:35 +00:00
tiagosoares
4de4b4d76c MyDDAS: Nuno Fonseca notice an error on translate. SQL syntax for the =< operator was wrong. Bug fixed ;)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1509 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-10 15:16:15 +00:00
tiagosoares
4e1a9d0588 MyDDAS: Changed the syntax of db_update/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1507 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-09 19:07:26 +00:00
tiagosoares
6ec25f8520 MyDDAS: Added new functionalitys, db_command/2 and db_update/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1506 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-09 13:38:02 +00:00
vsc
fdaae10887 *** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1505 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 23:04:41 +00:00
tiagosoares
d1fc8bc59c MyDDAS: Professor Michel Ferreira extended the prolog2sql interface with some new capabilities, including the support for ...WHERE EXISTS... querys
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1503 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 16:36:17 +00:00
tiagosoares
c0a9fa5cab MyDDAS: Enhanced the MyDDAS interface Statistics capabilities
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1502 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 16:30:00 +00:00
vsc
b881f59a71 fix small bug in attvar handling.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1498 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-08 03:12:02 +00:00
vsc
a4b85e2abd more fixes to get_attributes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1497 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-07 02:12:32 +00:00
vsc
68164fff7b fix bugs in removing attributes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1494 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-04 03:45:49 +00:00
pmoura
9f1b358c04 Logtalk 2.26.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1486 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-24 18:00:21 +00:00
tiagosoares
4630006e9f Revision on the MyDDAS Interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1481 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-12-19 13:41:15 +00:00
tiagosoares
253f5e7f9a support for the MyDDAS interface library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1465 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-22 11:25:59 +00:00
vsc
61d9980cf3 updates do documentation
put_attrs


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1433 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-31 18:12:51 +00:00
vsc
b8d0396939 more small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1431 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-31 12:27:54 +00:00
vsc
809ba67ccb SWI code complains if it can't find this.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1426 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-29 01:59:46 +00:00
vsc
9dbbd43e54 gensym builtin for SWI emulation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1423 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-29 00:13:10 +00:00
vsc
1fa46c6051 sveral updates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1415 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-28 17:38:50 +00:00
vsc
f5fc38a79e SWI compatible module only operators
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1412 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-21 16:09:03 +00:00
vsc
4479ee4626 extend arrays with nb_terms so that we can implement nb_ builtins
correctly.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1406 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-19 19:00:48 +00:00
vsc
31a09376f8 use_load_files to handle initialization files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1404 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-19 10:12:50 +00:00
vsc
e6a15addf5 5.1:
- improvements to GC
   2 generations
   generic speedups
- new scheme for attvars
   - hProlog like interface also supported
- SWI compatibility layer
   - extra predicates
   - global variables
   - moved to Prolog module
- CLP(R) by Leslie De Koninck, Tom Schrijvers, Cristian Holzbaur, Bart
Demoen and Jan Wielemacker
- load_files/2

from 5.0.1

- WIN32 missing include files (untested)
- -L trouble (my thanks to Takeyuchi Shiramoto-san)!
- debugging of backtrable user-C preds would core dump.
- redeclaring a C-predicate as Prolog core dumps.
- badly protected  YapInterface.h.
- break/0 was failing at exit.
- YAP_cut_fail and YAP_cut_succeed were different from manual.
- tracing through data-bases could core dump.
- cut could break on very large computations.
- first pass at BigNum issues (reported by Roberto).
- debugger could get go awol after fail port.
- weird message on wrong debugger option.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1402 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-18 17:04:43 +00:00
vsc
38b3140eab change array semantics to allow creating same array several times.
implement SWI style global variables.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1395 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-09-22 03:26:13 +00:00
vsc
03ba05f24a a new and hopefully much better implementation of atts.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1392 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-09-09 17:24:39 +00:00
vsc
996272db22 YPP would leave exceptions on the system, disabling Yap-4.5.7
message.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1364 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-17 13:35:52 +00:00
pmoura
80c28e1507 Logtalk 2.25.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1357 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-08 12:13:45 +00:00
vsc
6979a873cc improvements to compiler: merged instructions and fixes for ->
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1338 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-07-06 15:10:18 +00:00
vsc
d62a9e2ffa ifix bad performance in backtracking nth and th0.
X


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1336 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-07-05 18:29:25 +00:00
vsc
99e42cfaf7 get rid of //
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1334 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-06-06 22:29:22 +00:00
vsc
a84b8967a8 support Nuno Fonseca's ypp
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1333 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-06-06 05:11:55 +00:00
vsc
8c709eb519 add Nuno's YPP
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1332 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-06-06 05:10:37 +00:00
pmoura
72b037275f Logtalk 2.25.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1288 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-05-23 23:33:41 +00:00
pmoura
c2e03a81b9 Logtalk 2.24.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-22 23:57:45 +00:00
vsc
9ebc807dfb fix a few variable warnings
fix erase clause to pass a pointer to clause, not code
get rid of Yap4.4 code in Yap_EraseStaticClause


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1278 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-20 04:02:30 +00:00
vsc
056ccbc819 bug fixes, I hope!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1270 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-04-10 04:01:15 +00:00
vsc
b089ae2575 fix GPL
fix idb: stuff in coroutines.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1267 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-15 18:29:25 +00:00
vsc
59561e2688 fix excessive pruning in meta-calls
fix Term->int breakage in compiler
improve JPL (at least it does something now for amd64).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-13 06:26:13 +00:00
rslopes
7f481cef24 update YAP_Error arguments
to be able to compile on Windows...


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1263 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-10 18:04:01 +00:00
pmoura
8b74eb8b2b Logtalk 2.23.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1260 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-06 21:19:09 +00:00
vsc
81b4413a33 Fix some possible errors in name/2 and friends, and cleanup code a bit
YAP_Error changed.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1256 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-02 19:48:03 +00:00
vsc
0139bfc33a amd64 fixes
library fixes


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1247 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-21 16:50:21 +00:00
pmoura
f40265838d Logtalk 2.23.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1246 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-21 02:40:52 +00:00