Commit Graph

1385 Commits

Author SHA1 Message Date
Vítor Santos Costa
a3c9684714 perform true goal expansion from top level goals 2013-11-05 22:29:28 +00:00
Vítor Santos Costa
917d5ad75b line numbers for clauses and clause properties 2013-11-05 17:59:19 +00:00
Vítor Santos Costa
e5e71ee618 fix source 2013-11-05 17:57:17 +00:00
Vítor Santos Costa
4818d28b0b handle alias 2013-11-04 22:32:03 +00:00
Vítor Santos Costa
98b4f64b40 syntax error 2013-11-04 22:31:43 +00:00
Vitor Santos Costa
dd6c66392a fix typo 2013-11-04 13:05:40 +00:00
Vitor Santos Costa
f397cbe0b6 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	pl/boot.yap
	pl/control.yap
	pl/debug.yap
2013-11-04 11:03:27 +00:00
Vítor Santos Costa
ad0ff98f1a use swi flags whenever possible 2013-11-04 01:14:48 +00:00
Vitor Santos Costa
8ea594c104 use flag for debugging 2013-10-31 13:16:27 +00:00
U-w7\vsc
4260c37245 remove debugging output from thread close 2013-10-30 16:27:12 +00:00
Vitor Santos Costa
ab5c24cb87 init state should be shared by threads 2013-10-30 14:12:54 +00:00
Vitor Santos Costa
27d92de39a fix nb_getval 2013-10-30 12:57:33 +00:00
Vítor Santos Costa
990dfbecbf fix flags upgrade 2013-10-30 09:41:45 +00:00
Vitor Santos Costa
1cbe82da1e SWI flags compat 2013-10-29 12:43:31 +00:00
Paulo Moura
0e2402b27e Fix message_queue_property/2 to accept integers as valid queue indentifiers 2013-10-10 11:44:52 +01:00
Paulo Moura
c412f6de2f Fix built-in predicate threads/0 2013-10-10 11:00:36 +01:00
Vítor Santos Costa
fde44acdf3 ensure global environment when consulting 2013-09-09 22:11:12 +01:00
Vitor Santos Costa
1c2e17f86a fix break/1 2013-07-22 10:52:49 -05:00
Vítor Santos Costa
f79f93bccd small updates 2013-07-16 08:01:01 -05:00
Vítor Santos Costa
493161f6d8 ciao style arrays, (...) 2013-07-07 16:15:25 -05:00
Vitor Santos Costa
c60e1046a7 use int64 fr file_time 2013-06-07 18:00:27 +01:00
Vítor Santos Costa
5b4f355ee0 avoid creating new index in retractall 2013-06-07 09:26:50 -05:00
Vitor Santos Costa
639247b4c3 sub_atom/5 in C. 2013-05-15 17:12:01 -05:00
Vitor Santos Costa
923be33404 speedup between
more exo stuff.
2013-04-30 15:23:01 -05:00
Vitor Santos Costa
64a61e2479 make between/3 a C-builtin. 2013-04-29 18:22:53 -05:00
Vitor Santos Costa
6404c2d827 fix error 2013-03-19 21:23:55 -05:00
Vitor Santos Costa
263a1a548c fix meta-call handling 2013-03-05 15:50:03 -06:00
Vitor Santos Costa
a64c6e523a fix meta-call handling 2013-03-05 15:47:00 -06:00
Vítor Santos Costa
0a0b3cf6ac re-enable arit compilation 2013-03-03 20:27:20 -06:00
Vítor Santos Costa
874fc97970 leave system mode 2013-03-03 20:26:48 -06:00
Vítor Santos Costa
725617cedd optimise trace in body 2013-03-03 20:26:20 -06:00
Vitor Santos Costa
6e7742ce8b suport /u/vitor/linux/bin:/u/vitor/bin:/usr/bin:/bin:/sbin:/usr/sbin:/ua/vitor/linux/bin:/usr/X11R6/bin:.:/usr/openwin/bin:/usr/local/bin:/ua/vitor/bin:/usr/bin:/bin:/ua/vitor/sw/bin:/opt/condor/bin:/s/bin in paths 2013-02-26 09:33:02 -06:00
Vitor Santos Costa
ddb14f97aa strengthen error handling from top-level 2013-02-26 09:32:39 -06:00
Vitor Santos Costa
19c16176d4 get rid of 2013-02-15 13:40:05 -06:00
Vítor Santos Costa
918a973019 creepy fixes 2013-02-15 10:31:49 -06:00
Vítor Santos Costa
e2acdf72cf don't leave system mode for hooks 2013-02-14 20:40:11 -06:00
Vítor Santos Costa
f431142ef4 Merge branch 'master' into debugger
Conflicts:
	pl/boot.yap
2013-02-13 09:08:58 -06:00
Vítor Santos Costa
ec7158eb99 debugger progress 2013-02-13 09:06:06 -06:00
Costa Vitor
da79af201b top-level more SWI style. 2013-02-12 12:47:30 -06:00
Vítor Santos Costa
046cb5f8d6 debugging 2013-02-08 10:36:45 -06:00
Vitor Santos Costa
cf3c62f4b4 names are now atoms, not sequences of codes 2013-02-04 22:55:34 +00:00
Vítor Santos Costa
2cb0f298a8 fix style_checking flags and especially variables. 2013-02-04 11:22:42 -06:00
Vitor Santos Costa
798038ad38 avoid PL_error 2013-01-31 10:18:07 +00:00
Vitor Santos Costa
0e9641fe20 sub_string hack 2013-01-31 10:17:48 +00:00
Vítor Santos Costa
5e243a6fbc use SWI's version data 2013-01-28 09:31:58 +00:00
Vitor Santos Costa
d2a47ca4c0 protect exo compilation from atom gc 2013-01-22 22:21:44 +00:00
Vitor Santos Costa
4791a18c5b don't rset RO flags 2013-01-18 14:33:41 +00:00
Vitor Santos Costa
20398352e3 who will you check? 2013-01-18 14:32:13 +00:00
Vitor Santos Costa
f98a2d5e01 fix unbound throw (obs from Paualo Moura). 2013-01-17 14:00:12 +00:00
Vitor Santos Costa
098608700c fix history 2013-01-17 10:12:08 +00:00
Vitor Santos Costa
8c8392b5da exo support 2013-01-15 11:18:09 +00:00
Vitor Santos Costa
1207205493 fix setof bugs 2013-01-15 11:17:56 +00:00
Vitor Santos Costa
f83379648c fix use of exo preds. 2013-01-11 16:45:14 +00:00
Vitor Santos Costa
6cd778f70b exo stuff 2013-01-09 09:21:07 +00:00
David Vaz
c9a01455b5 Merge branch 'udi_new' into yap 2013-01-08 18:45:39 +00:00
Vítor Santos Costa
f063a2bd52 exo first step. 2013-01-07 09:47:14 +00:00
David Vaz
43e459b8f8 Changes Rtree so almost working 2012-12-18 18:26:59 +00:00
David Vaz
bd25c61fbf New work on UDI 2012-12-17 20:23:03 +00:00
Vítor Santos Costa
7811a697b8 fix swi falgs and set_prolog_flag/2. 2012-12-14 23:31:13 +00:00
Vítor Santos Costa
4d35c1f70a fix call to undefined halt/1. 2012-12-14 23:30:48 +00:00
Vitor Santos Costa
63a5daa295 read only flag to emulate debug_on_exception SWI flag. 2012-12-11 22:07:44 +00:00
Vitor Santos Costa
556937195d avoid meta-call in system; improve goal/pred expansion 2012-12-07 08:08:32 +00:00
Vítor Santos Costa
2cbf3439ac introduce at_halt/1.
fix bug in naming variables in suspended goals.
2012-12-02 13:18:29 +00:00
Vítor Santos Costa
095cd68cac prevent failure in listing X 2012-11-26 09:23:25 +00:00
Vítor Santos Costa
2607e59a16 add stash_predicate and fix hide_predicate. 2012-11-25 23:36:43 +00:00
Vítor Santos Costa
feb70d0146 fix absolute_file_name with empty arguments. 2012-11-25 23:35:59 +00:00
Vítor Santos Costa
f371fca6c5 check if defined 2012-11-08 00:19:48 +00:00
Vítor Santos Costa
f74164c642 correct support for goal expansion (bug report from Paulo Moura) 2012-11-07 13:49:54 +00:00
Vitor Santos Costa
68547e1abf imake sure we use current encoding when opening pipes... 2012-10-28 22:27:27 +00:00
Vitor Santos Costa
43c3c89f30 export patch from Paulo Moura 2012-10-22 15:04:52 +01:00
Vítor Santos Costa
7fa7c8b92a patch module code (by Paulo Moura) 2012-10-22 10:18:26 +01:00
Vítor Santos Costa
14796f5d90 patch syntax error (by Paulo Moura) 2012-10-22 10:18:01 +01:00
Vitor Santos Costa
04bba4f1de fix A option. 2012-10-19 18:13:48 +01:00
Vitor Santos Costa
e92b8791c5 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-10-19 18:12:06 +01:00
Vitor Santos Costa
88f2dc7730 change the way predicates are hidden 2012-10-19 18:10:48 +01:00
Vítor Santos Costa
140a19ba7c make thread_exit follow protocol 2012-10-19 09:27:19 +01:00
Vitor Santos Costa
4da6733194 fix bad initialization of mqs 2012-10-17 17:25:35 +01:00
Vitor Santos Costa
474b7a19e7 fix read_term to handle new notation. 2012-10-09 17:19:39 +01:00
Vitor Santos Costa
48f07ad338 fix parsing of input strings. 2012-10-09 16:31:43 +01:00
Vítor Santos Costa
1089aaf585 fix error messages (patch by Ulrich Neumerkel). 2012-10-03 21:52:18 +01:00
Vítor Santos Costa
8eede3eb73 fix ground cyclic terms (thanks to Paulo). 2012-10-02 15:13:52 +01:00
Vítor Santos Costa
78a08e1b87 fix length/2 error handling. 2012-09-27 22:32:50 +01:00
Vítor Santos Costa
d5bf100b71 make full init even before entering Prolog top-level 2012-09-21 11:49:59 +01:00
Vitor Santos Costa
495d852879 fix indenting. 2012-08-23 21:02:41 +01:00
Vitor Santos Costa
f85a2112c9 make sure we can use clause. 2012-08-23 21:02:15 +01:00
Vitor Santos Costa
55267cac34 fix no threads case. 2012-08-22 15:29:28 -05:00
Vítor Santos Costa
475face871 fix thread startup aftre restore. 2012-08-22 11:32:05 -05:00
Costa Vitor
51b47d14da if/3 didn't work. 2012-08-07 18:32:45 -05:00
Vítor Santos Costa
d6773df815 fix current_stream/3. 2012-08-02 09:36:37 -05:00
Vítor Santos Costa
e7551b106a emulate old yap socket (thanks to Jan code). 2012-07-26 16:16:26 -04:00
Vítor Santos Costa
ec0437664c fix loop in db_dynamic. 2012-07-13 14:56:50 -05:00
Vítor Santos Costa
f166b8bfb6 make sure library_path is initialised at boot time, so that people get no
surprises.
2012-07-06 18:49:02 -05:00
Vitor Santos Costa
051936ca50 fix thread bootup (with mutex/2). 2012-06-26 13:02:44 +01:00
Vítor Santos Costa
0228bfbb30 qsave_program/2. 2012-06-26 10:09:10 +01:00
Vitor Santos Costa
71eeda081c fix *-> (thanks to ulrich). 2012-06-21 15:41:35 +01:00
Vitor Santos Costa
a997f5647c fix save & restore in 6.3. 2012-06-12 14:50:36 +01:00
Vitor Santos Costa
7db18d5ce2 fix bad use of current_predicate. 2012-06-12 14:50:07 +01:00
Vítor Santos Costa
3458efd335 saved state fixes. 2012-06-11 09:22:53 +01:00
Vítor Santos Costa
e55d143e8d fix extra CP. 2012-06-08 13:26:11 +01:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Ricardo Rocha
d540354c30 adding sum mode operator + fix multithreading compatibility 2012-06-04 19:27:31 +01:00
Vitor Santos Costa
3669cb894f Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/horus.yap
2012-06-04 16:29:56 +01:00
Vitor Santos Costa
39f392be9c allow finer control over indexing sub-terms.
improve flag code a bit.
2012-06-01 13:16:29 +01:00
Vitor Santos Costa
2423407b37 fix bug in detecting tabling on (Paulo Moura). 2012-05-08 14:55:37 +01:00
Vítor Santos Costa
e1f6187395 make syntax error standard. 2012-05-03 00:16:11 +01:00
Vítor Santos Costa
0efe86f3ba fix bad fix on modules, hope this one works. 2012-04-30 15:35:17 +01:00
Vítor Santos Costa
2bfc88db98 fix module dereferencing. 2012-04-27 16:30:23 +01:00
Vítor Santos Costa
9e36576951 fix implicit import 2012-04-27 15:52:03 +01:00
Vítor Santos Costa
e11d8bbda1 fix module generating detection and messages. 2012-04-20 12:29:10 +02:00
Vítor Santos Costa
753170bf7c fix synatx error. 2012-04-20 12:28:42 +02:00
Vitor Santos Costa
49b936db67 avoid read-only flags. 2012-04-19 01:00:29 -05:00
Vítor Santos Costa
cdd1af567e if commit is called from C-code we can't trust getval not to send exceptions. 2012-04-15 00:01:26 +01:00
Vítor Santos Costa
9ab7ab0a5e fix possible error in modules. 2012-04-03 16:24:14 +01:00
Vítor Santos Costa
f8972365f8 fix phrase/3 2012-03-29 22:32:56 +01:00
Vítor Santos Costa
32167b5465 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-03-28 17:55:06 +01:00
Vítor Santos Costa
7d3d9bcf41 fix module stuff. 2012-03-28 14:35:09 +01:00
Vítor Santos Costa
d149d041a3 hack around phrase 2012-03-28 10:58:53 +01:00
Vítor Santos Costa
a223c33e0b UN keysort/2 partial error checking and tiny speedup 2012-03-27 14:17:29 +01:00
Vítor Santos Costa
9c42dfa26c UW Experimental: Superfast phrase/3. This version is simply using call/3 2012-03-23 15:00:58 +00:00
Vítor Santos Costa
52f06f5f60 un: strict iso update 2012-03-23 14:42:26 +00:00
Vítor Santos Costa
bdb855a57b make skip_list available to user code 2012-03-22 23:30:02 +00:00
Vítor Santos Costa
372f3d795e fix bad use of skip_list. 2012-03-22 22:41:41 +00:00
Vítor Santos Costa
65e61cfefd patch by UN: op/3 typo in error 2012-03-22 22:13:11 +00:00
Vítor Santos Costa
1e2abadd78 patch by UN: op/3 typo in error 2012-03-22 22:12:13 +00:00
Vítor Santos Costa
4d5c70b64b fix operator handling (by UN). 2012-03-22 22:10:23 +00:00
Vítor Santos Costa
756bba9bc5 fix by UN to do type checking on sort. 2012-03-22 22:09:08 +00:00
Vítor Santos Costa
e6b48be445 avoid making choice-point. 2012-03-22 21:43:26 +00:00
Vítor Santos Costa
1698bb3c91 imessage for missing library. 2012-03-22 21:42:41 +00:00
Vítor Santos Costa
36acb5f897 fix profiling support. 2012-03-09 11:46:34 +00:00
Vítor Santos Costa
020323d633 list_or_partial_list support. 2012-03-06 14:41:23 +00:00
Vítor Santos Costa
5a472616e7 fix recent regressions on :- if, etc. 2012-03-04 10:22:40 +00:00
João Santos
78fb13e651 parallel_findfirst/3 2012-02-27 18:31:57 +00:00
Vítor Santos Costa
ddcf1f003b make sure we can consult from external code directly. 2012-02-27 16:37:31 +00:00
Vítor Santos Costa
e38c850361 fix yap_flag(user_* (obs from Nicos). 2012-02-27 14:20:34 +00:00
Vítor Santos Costa
5d65c49292 fix user defined directives. 2012-02-26 23:26:08 +00:00
Vítor Santos Costa
6c16f4e953 iadd export functionality. 2012-02-14 09:54:56 +00:00
Vitor Santos Costa
8d9c5617eb fix clash. 2012-02-14 07:46:55 +00:00
Vítor Santos Costa
fb04195314 first version for occurs_check flag. 2012-02-13 11:26:05 +00:00
Vítor Santos Costa
8a5413c2fb follow SWI. 2012-02-13 11:23:30 +00:00
Vítor Santos Costa
7c2ba414a3 support predicate flagas and declaration support. 2012-02-13 09:41:37 +00:00
Vítor Santos Costa
d5bfd78b64 $length1 was broken. 2012-02-13 09:40:57 +00:00
Vítor Santos Costa
db35eb4b3c call SWI's predicate option expansion. 2012-02-13 09:39:57 +00:00
Vítor Santos Costa
a128d1d78d allow calling directives with VL and Line Number. 2012-02-13 09:39:29 +00:00
Vítor Santos Costa
c8787a29f2 allow weird use of atom_file_name
exists_source/1.
2012-02-13 09:36:44 +00:00
Vítor Santos Costa
037597ce2f fix qly to load .yaprc before -l starts. 2012-01-13 23:23:18 +00:00
Vítor Santos Costa
37b79f663f module stuff. 2012-01-10 18:50:04 +00:00
Vitor Santos Costa
aef7555e02 fix new version of length/2. 2012-01-10 09:33:10 +00:00
Vitor Santos Costa
805ad7f958 update length to use skip_list/3. 2012-01-09 23:46:17 +00:00
Ricardo Rocha
1fe86ba2b3 fix parallel_findall/3 2012-01-05 16:04:32 +00:00
Ricardo Rocha
d33829205e support for local pages with threads 2011-12-07 13:53:20 +00:00