Commit Graph

1992 Commits

Author SHA1 Message Date
Vitor Santos Costa
afc6c5d04e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	C/threads.c
	JIT/HPP/EnvironmentInit.h
	packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
	pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa
f79458bac2 typos 2014-11-25 16:43:43 +00:00
Vítor Santos Costa
1ca062f558 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-11-25 12:04:05 +00:00
Vítor Santos Costa
bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Theo
ddb8e2dd3f Fixed the domain error flag_value message to be able to print the flag if given. 2014-11-13 18:13:49 +00:00
vscosta
04b87d2414 does not need duplcated functionality 2014-11-10 01:54:50 +00:00
vscosta
7094d604fb support windows
improve registry handling
2014-11-10 01:54:14 +00:00
vscosta
c633eac236 avoid using registry, clean-up 2014-11-05 07:45:36 +00:00
Vítor Santos Costa
c440ab239b doc changes 2014-11-02 12:10:32 +00:00
Vítor Santos Costa
9cd2975532 fix argv && os_argv 2014-10-26 17:39:13 +00:00
Vítor Santos Costa
fca75670bc fix argv && os_argv 2014-10-26 17:38:41 +00:00
Vítor Santos Costa
749ba13d3d fix retractall with numbers, Paulo Moura 2014-10-23 00:35:14 +01:00
Vitor Santos Costa
67de7e422d Separate callable errors that refer to the predicate indicator. 2014-10-20 15:40:19 +01:00
Vítor Santos Costa
d40b9d1426 restore callable. 2014-10-20 09:20:56 +01:00
Vítor Santos Costa
6a32efe51a fix \+((!,fail)). 2014-10-19 13:09:35 +01:00
Vítor Santos Costa
0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Vítor Santos Costa
47d1bd5ecc allow setting up arithmetic exception handling. 2014-10-19 11:27:53 +01:00
Vítor Santos Costa
4a2d6b9137 typo. 2014-10-19 02:02:46 +01:00
Vítor Santos Costa
53a8a8f7c9 try to make MT more robust by:
- tracking memory overflows (still worried about blobs)
- moving core components to C-code, namely the mailboxes.
- reducing locking: too many locks == deadlock.
thanks to Paulo Moura for the test suite!
2014-10-19 01:54:57 +01:00
Vitor Santos Costa
8014110080 fix debugging letfover. 2014-10-15 12:10:39 +01:00
Vítor Santos Costa
8576e67d84 generate exceptions on arithmetic errors 2014-10-15 11:06:07 +01:00
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
c95045e14c improve support for floating point exceptions. 2014-10-14 01:13:31 +01:00
Vítor Santos Costa
3c7779ec78 move message queues to C 2014-10-13 12:34:52 +01:00
Vítor Santos Costa
c0b723ca14 fix module transparent. 2014-10-12 11:00:45 +01:00
Vítor Santos Costa
1a56819658 fix typo 2014-10-11 21:56:55 +01:00
Vítor Santos Costa
0c461c538b remove unneeded call 2014-10-11 14:10:35 +01:00
Vítor Santos Costa
b40a5a7837 fix change in undef. 2014-10-11 14:09:40 +01:00
Vítor Santos Costa
5312086b60 typo in expansion. 2014-10-11 14:07:34 +01:00
Vítor Santos Costa
cf7dccdcdf fix handling of attributed vars. 2014-10-11 14:06:57 +01:00
Vítor Santos Costa
1461f44184 fix goal expansion problems 2014-10-11 12:45:54 +01:00
Vitor Santos Costa
18aadaecd8 fix ways to call listing and improve documentation. 2014-10-10 15:52:14 +01:00
Vitor Santos Costa
4d3bb0143f small fix to hook case. 2014-10-10 15:50:41 +01:00
Vitor Santos Costa
96149d991f fix reloading of foreign files: don't allow it even if you are
reconsulting, it makes no sense.
2014-10-10 12:52:03 +01:00
Vitor Santos Costa
946f6cebf3 fix bad exit from undef code. 2014-10-10 12:39:54 +01:00
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vitor Santos Costa
e18f083da6 fix warning. 2014-10-09 10:47:41 +01:00
Vitor Santos Costa
48053694c7 document abolish and make sure that assert(m:(H:-B)) treats m as source
module.
2014-10-09 10:46:09 +01:00
Vitor Santos Costa
ed6f7f8573 fix warning. 2014-10-09 10:45:38 +01:00
Vitor Santos Costa
716f80d4c8 ugh, did not allow loading more than a file. 2014-10-09 10:44:37 +01:00
Vitor Santos Costa
6ec4d99d86 allow users to load foreign code from cwd, as said in manual. 2014-10-09 10:43:44 +01:00
Vítor Santos Costa
bd35580713 fixes for qly loading. 2014-10-08 00:28:14 +01:00
Vítor Santos Costa
bcc8fea458 fix another typo. 2014-10-07 23:34:49 +01:00
Vítor Santos Costa
ef73a788d9 fix case where unnecessart messages wwere printed while if disables code reading. 2014-10-07 10:28:43 +01:00
Vítor Santos Costa
46a81e8d2b more typos. 2014-10-07 10:13:31 +01:00
Vítor Santos Costa
cff80914e4 handle modules in exporteed procedures. 2014-10-07 09:59:59 +01:00
Vítor Santos Costa
e9cc545f68 big cleanup: cpmpile under style checker.
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
0c4f846c0e move modules to as early as possible 2014-10-06 00:01:25 +01:00
Vítor Santos Costa
8c87eabb22 fix typos 2014-10-06 00:00:42 +01:00
Vítor Santos Costa
800a019a16 fix typos 2014-10-05 23:59:34 +01:00
Vítor Santos Costa
028c036757 fix typos 2014-10-05 23:59:21 +01:00
Vítor Santos Costa
3b5a093983 fix message display time 2014-10-05 23:58:19 +01:00
Vítor Santos Costa
733bb5ddc4 module stuff 2014-10-05 23:54:51 +01:00
Vítor Santos Costa
9f00389e52 keep three modules, just for imported stuff. 2014-10-05 23:53:05 +01:00
Vítor Santos Costa
64e7e7e663 make writeln a C built-in. 2014-10-05 23:51:43 +01:00
Vítor Santos Costa
d1242028d2 fixes for notrace predicates. 2014-10-05 10:24:44 +01:00
Vítor Santos Costa
98a471b9d7 fix unrelated comment. 2014-10-05 10:23:21 +01:00
Vítor Santos Costa
b30d0bbdaf fix bad formatting. 2014-10-05 10:22:03 +01:00
Vítor Santos Costa
8345bf3e24 ensure loading is recognised. 2014-10-05 10:20:36 +01:00
Vítor Santos Costa
d29fb0fd57 fix source mode. 2014-10-05 10:18:54 +01:00
Vítor Santos Costa
ad2ee8225d fix modularized grammar.yap. 2014-10-03 08:54:41 +01:00
Vítor Santos Costa
510c7cdeee respect source mode indications. 2014-10-03 08:50:15 +01:00
Vítor Santos Costa
dddc9fbb85 fix listing/0 to avoid going into every system predicate. 2014-10-03 08:49:14 +01:00
Vítor Santos Costa
80faee6824 qload/qsave implementation. 2014-10-02 14:57:50 +01:00
Vítor Santos Costa
ef479f00dc make grammar a module. 2014-10-02 14:55:47 +01:00
Vítor Santos Costa
a306d0b0ee improve messages for cosulting. 2014-10-02 14:52:54 +01:00
Vítor Santos Costa
1cbc0705c6 syntax changes. 2014-10-02 14:50:19 +01:00
Vítor Santos Costa
5a40f834f1 push directives to as early as possible. 2014-10-02 14:41:41 +01:00
Vítor Santos Costa
fe0e12b030 store loaded files state. 2014-10-02 14:40:45 +01:00
Vítor Santos Costa
5bae8321d7 move gramar preprocessing here. 2014-10-02 14:39:45 +01:00
Vítor Santos Costa
48b1cf5d45 store away all directives we find. 2014-10-02 14:34:03 +01:00
Vítor Santos Costa
4fdd501bbb qly is not a source file. 2014-10-02 14:24:12 +01:00
Vítor Santos Costa
5bd42984b9 fix qsave_module 2014-09-25 09:45:25 +01:00
Vítor Santos Costa
077570314d don't source system predicates 2014-09-25 09:44:34 +01:00
Vítor Santos Costa
e4603ffe22 beautify code 2014-09-25 09:43:50 +01:00
Vítor Santos Costa
7f952c8b74 avoid backtracking 2014-09-25 09:42:51 +01:00
Vítor Santos Costa
78967d6eb2 fix typo 2014-09-25 08:50:26 +01:00
Vitor Santos Costa
66a95e96c0 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/matrix.yap
	pl/qly.yap
2014-09-23 22:46:19 +01:00
Vitor Santos Costa
2bc55d868d formatting changes 2014-09-23 22:40:40 +01:00
Vítor Santos Costa
3e255ec4a1 qload 2014-09-22 18:13:35 +01:00
Vítor Santos Costa
797e0c6be7 don't dump stack, for now 2014-09-16 04:01:37 -05:00
Vítor Santos Costa
aeb54ebc61 more doc udates 2014-09-15 13:10:49 -05:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -05:00
Vítor Santos Costa
050ce4fce6 "moredocupdates" 2014-09-13 00:53:56 -05:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
b26b5b1b7d small fixes 2014-09-09 23:53:41 -05:00
Vítor Santos Costa
53a49bb3c3 call ypp from the console 2014-09-08 17:16:00 -05:00
Vítor Santos Costa
99713d81a6 replace locks by critical sections in interrupt handling 2014-09-02 14:19:23 -05:00
Vítor Santos Costa
19d0f56f2d fix arena initialization 2014-08-23 14:47:40 -05:00
Vítor Santos Costa
69d2cc3e49 fix beautified recorded. 2014-08-20 09:13:19 -05:00
Vítor Santos Costa
3b5cd95d22 get rid of write_depth
fix at_end_of_line.
2014-08-20 09:12:40 -05:00
Vítor Santos Costa
5721ce5e7d fix bad call to use_module. 2014-08-20 09:09:20 -05:00
Vítor Santos Costa
8a4590f3ce put mod_scan back. 2014-08-20 08:08:21 -05:00
Vítor Santos Costa
86a363d3bd remove dead code. 2014-08-20 08:03:27 -05:00
Vítor Santos Costa
373d488974 erase_source is not used any longer: source is packaed with code. 2014-08-20 08:01:20 -05:00
Vítor Santos Costa
4573afa70b fix frozen/2. 2014-08-20 07:55:05 -05:00
Vítor Santos Costa
823175f50a fix small bugs from changing style_check 2014-08-04 09:45:30 -05:00
Vitor Santos Costa
0ef90c9b6a Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	pl/modules.yap
2014-07-26 19:45:16 -05:00
Vitor Santos Costa
9179e4780b avoid operators 2014-07-26 19:43:16 -05:00
Vítor Santos Costa
325c819f79 intermediate steo in improving doc system to doxygeb 2014-07-26 19:14:15 -05:00
Vítor Santos Costa
ce8a4b6958 module fixes plus add better docs 2014-07-17 12:19:38 -05:00
Vítor Santos Costa
dbff20343a small fixes to listing 2014-07-16 12:59:03 -05:00
Vítor Santos Costa
2becb15578 more android support changes. 2014-07-16 11:56:09 -05:00
Vítor Santos Costa
f37806d7cc improve listing, make it more generous and SWi-like. 2014-07-16 11:55:16 -05:00
Vítor Santos Costa
1b57bdc2eb try to be really sicstus compatible 2014-07-16 11:54:59 -05:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
74a65633d8 fix duplicated system predicate + android related cleanups 2014-06-20 11:13:39 +01:00
Vítor Santos Costa
32a4ea3a94 patch by J santos to make ORP work again. 2014-06-19 15:04:48 +01:00
Vitor Santos Costa
87d7c90171 adtdefs.c: add debugging code to verify when a specific predicate is added.
modules.* implemente module_property/2:class(_)
prism: comment unneeded labels.
2014-06-17 15:44:46 +01:00
Vítor Santos Costa
ff2a7a364f mod prperty step 1 2014-06-16 15:00:04 +01:00
Vítor Santos Costa
ed04954b3f fix module expansion inside arguments. 2014-06-13 10:16:18 +01:00
Vítor Santos Costa
d73793de63 remove debugging info. 2014-06-12 01:22:56 +01:00
Vítor Santos Costa
2455a1d83c Android /assets support 2014-06-11 19:26:50 +01:00
Vítor Santos Costa
37e8fcc353 Fix: bad implementation of with_mutex/2 2014-05-30 01:00:57 +01:00
Vítor Santos Costa
b2d34d016f get rid of debugging msg 2014-05-25 21:44:32 +01:00
Vítor Santos Costa
ec2e1c21b0 fix docs 2014-05-25 20:52:45 +01:00
Vítor Santos Costa
2c7e62ad71 handle :-use_module on non module.
improve handling of redefinitions.
2014-05-25 20:51:42 +01:00
Vítor Santos Costa
3310a904c4 ensure that if we load a file that does not define a module, it is reconaulted per every different module 2014-05-18 14:47:23 +01:00
Vitor Santos Costa
b532fbd0b9 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	C/write.c
2014-05-14 18:00:25 +01:00
Vitor Santos Costa
eb8f4cebcc idocumentation updates. 2014-05-12 16:39:13 +01:00
Vítor Santos Costa
323386e34b another try for use_module/3. 2014-05-07 15:04:17 +01:00
Vítor Santos Costa
a54a101fb0 emacs typo :( 2014-05-07 09:36:40 +01:00
Vítor Santos Costa
98daf1ebdd bad call to style_checker. 2014-05-07 09:35:57 +01:00
Vitor Santos Costa
d6aa3ed8f0 use_module/3 wasn't working. 2014-05-06 09:34:25 +01:00
Vitor Santos Costa
58336add23 fix module export. 2014-04-24 14:24:50 +01:00
Vítor Santos Costa
1db83cc30d make consult reconsult the original file, so that
[x]. [x].
is more like
[x]. [-x].
2014-04-24 11:40:35 +01:00
Vítor Santos Costa
d8f4a77f47 fix style_check to be called at parse-time and not cause eexcution overheads. 2014-04-24 08:26:31 +01:00
Vítor Santos Costa
f1951777b7 fix checker to use read for singleton variables, instead of always computing
them.
2014-04-23 21:39:32 +01:00
Vítor Santos Costa
605e68c80d fix prolog:messages 2014-04-21 11:29:05 +01:00
Vítor Santos Costa
0625f1d7ad doc support 2014-04-21 11:20:00 +01:00
Vítor Santos Costa
137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vítor Santos Costa
295be2d5be doc fixes 2014-04-10 11:59:30 +01:00
Vítor Santos Costa
a8c77d2609 fix string_concat/2 2014-04-09 12:39:29 +01:00
Vitor Santos Costa
cc84cd8cb5 check for mistypes 2014-04-06 17:05:17 +01:00
Vítor Santos Costa
875546e36a don't optimise sub-args, as it may introduce new variables. 2014-03-18 17:24:20 +00:00
Vítor Santos Costa
a6cb6f6a25 paths are hard 2014-03-16 18:59:54 +00:00
Vitor Santos Costa
2c82906714 fix paths 2014-03-11 15:34:26 +00:00
Vítor Santos Costa
265bc20f90 simplify absf 2014-03-09 12:26:07 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
U-vsc-PC\vsc
f8f2376394 use iuse executable to handle cases hwere we may have different versions of YAP around. 2014-03-04 11:58:48 +00:00
Vítor Santos Costa
3da5cc5977 check libpthread in win32 2014-02-22 22:48:29 +00:00
Vítor Santos Costa
d3b3a45dde improve handling of meta-call in setof and debugging 2014-02-19 00:04:26 +00:00
Vítor Santos Costa
7b69d48afb fix undefined CP and user:rl_add_history is a built-in. 2014-02-16 12:52:18 +00:00
Vítor Santos Costa
625c66015d avoid factorized trouble 2014-02-14 22:44:55 +00:00
Vítor Santos Costa
12364bb89a cleanup modules and fix loading swi emulation 2014-02-14 20:26:09 +00:00
Vitor Santos Costa
d0efa26d8b Merge branch 'rtries' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	OPTYap/tab.insts.i
	OPTYap/tab.tries.c
	OPTYap/tab.tries.i
2014-02-13 11:57:46 +00:00
Vitor Santos Costa
e0642dbaa3 reexport again 2014-02-09 18:06:37 +00:00
Vitor Santos Costa
ca0c43ba8d module expansion, again 2014-02-09 10:47:44 +00:00
Vitor Santos Costa
d85dc3fd5c factorized answer 2014-02-06 21:56:43 +00:00
Vitor Santos Costa
b3aa3e37c6 fix small bugs and declare format_time to be a meta-predicate 2014-02-06 21:55:01 +00:00
Vitor Santos Costa
2c8fcc6698 fix typo 2014-01-10 15:34:02 +00:00
Vitor Santos Costa
bcc1757989 fixes to message handling 2014-01-07 01:10:48 +00:00
Vitor Santos Costa
26c80b0624 use singletons option of read_term to implement singleton test 2014-01-06 22:17:42 +00:00
Vitor Santos Costa
52525a5319 do reexport even when file has already been loaded 2014-01-06 18:28:22 +00:00
Theo
e105130a8b Tabling with coinductive mode for predicate 2013-12-20 14:56:13 +00:00
Theo
ffa0823e57 Same as before... 2013-12-19 18:18:01 +00:00
Vitor Santos Costa
30828eba98 fix input sz: should only matter with NCHARS 2013-12-18 16:42:05 +00:00
Vitor Santos Costa
51535a86ce allow reconsult of tabled predicates 2013-12-16 15:11:30 +00:00
Vitor Santos Costa
e4fbd39cab avoid weird messages in debugging 2013-12-16 15:10:53 +00:00
Vítor Santos Costa
b65dee6b3a text files and other typed files cannot be directoried 2013-12-14 11:06:09 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vitor Santos Costa
44d28aa0c9 cleanup on exception handling 2013-12-12 14:24:40 +00:00
Vítor Santos Costa
fba3c34e50 trace fixes 2013-12-11 09:34:43 +00:00
Vítor Santos Costa
ba2c0ca2a0 support no trace predicates 2013-12-11 01:05:51 +00:00
Vítor Santos Costa
2f8c3d2d1b fix getting thread and sending it to format 2013-12-11 00:03:13 +00:00
Vítor Santos Costa
e768a7e7be small improvements to debugger, prolog mode and meta-call (*->) 2013-12-10 22:58:02 +00:00
Vítor Santos Costa
29c0d55ad4 nth_clause cleanup with support for mega and exo clauses 2013-12-09 14:16:30 +00:00
Vítor Santos Costa
09accc834c remove problog atom initialization 2013-12-08 23:16:22 +00:00
Vítor Santos Costa
61d624e416 fix comment handling 2013-12-08 22:56:48 +00:00
Vitor Santos Costa
863b796370 new string_code/3 plus some fixes 2013-12-06 23:24:01 +00:00
Vítor Santos Costa
35f6ecad66 more atom and string 2013-12-06 15:08:35 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +00:00
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00
Vítor Santos Costa
8b7fa9be36 reflection patches 2013-11-26 10:53:04 +01:00
Vítor Santos Costa
3edb01f5f7 more reflection updates 2013-11-26 10:40:00 +01:00
Vítor Santos Costa
ea99d42897 current_predicate and imports 2013-11-25 23:57:05 +01:00
Vítor Santos Costa
67b23a2ae4 cleanups 2013-11-25 23:09:03 +01:00
Vítor Santos Costa
b46dd8d392 speed-up imports 2013-11-25 23:08:35 +01:00
Vítor Santos Costa
2343494f1e fix high arity and nth clause 2013-11-25 18:32:11 +01:00
Vítor Santos Costa
b3ee389d5e module_property 2013-11-25 16:50:57 +01:00
Vítor Santos Costa
def97602e2 nth_clause 2013-11-25 16:03:25 +01:00
Vítor Santos Costa
42d3ca6459 avoid \! 2013-11-25 12:16:10 +01:00
Vítor Santos Costa
cc03317bd0 user defined messages 2013-11-22 00:44:28 +00:00
Vitor Santos Costa
6d773a3189 use SWI opts for read 2013-11-20 22:30:49 +00:00
Vítor Santos Costa
b167e62bc7 fix typo 2013-11-18 12:56:00 +00:00
Vítor Santos Costa
f67c7c184b fix reexport adding to export list 2013-11-17 21:41:41 +00:00
Vitor Santos Costa
bb650629d9 clean load library 2013-11-15 16:04:14 +00:00
Vitor Santos Costa
9eb07a8c8a more cleanups 2013-11-15 15:45:55 +00:00
Vítor Santos Costa
45f91c9d42 char_conversion 2013-11-15 12:17:48 +00:00
Vítor Santos Costa
14747fd0bf more fixes 2013-11-13 22:52:36 +00:00
Vitor Santos Costa
9a35d17861 fix DLL loading and C_SO suffix (remove an extra .) 2013-11-13 15:10:15 +00:00
Vitor Santos Costa
41c2d856a7 cleanup dead flags 2013-11-13 13:28:43 +00:00
Vitor Santos Costa
9d34ac34ff clean up unbounded 2013-11-13 13:01:11 +00:00
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Paulo Moura
2314efdc6c Make thread_property/2 deterministic when the second argument is instantiated 2013-11-11 17:11:53 +00:00
Paulo Moura
16e3bda666 Fix singleton variable that breaks expanding a relative file path 2013-11-11 16:38:04 +00:00
U-vsc-PC\vsc
80315e1be3 multiath & abs_file_name 2013-11-11 10:31:59 +00:00
U-vsc-PC\vsc
493f310b49 registry 2013-11-11 10:31:28 +00:00
U-vsc-PC\vsc
a811f56d14 avoid dot 2013-11-11 10:28:45 +00:00
Vitor Santos Costa
dcc5a4041e paths 2013-11-11 00:52:13 +00:00
Vítor Santos Costa
f6f7f70b7f handle verbosity and autoload 2013-11-10 11:18:00 +00:00
Vítor Santos Costa
318199a47b fix first fail in autoload 2013-11-10 10:58:09 +00:00
Vítor Santos Costa
ea44e780b6 fix path 2013-11-08 12:43:07 +00:00
Vítor Santos Costa
7150bc1ef8 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3 2013-11-08 08:24:25 +00:00
Vítor Santos Costa
4085f268af fix reconsult non-mod file, fix cases where users call source, fix bad atom_concat 2013-11-08 08:24:06 +00:00
Paulo Moura
746aee16f7 Add support for using .prolog as a Prolog source file extension 2013-11-08 00:40:14 +00:00
Vítor Santos Costa
cbba7e93df clean up load_files and friends to reuse code 2013-11-08 00:02:38 +00:00
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
Vítor Santos Costa
c637863616 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-11-10 12:31:35 +00:00
Vítor Santos Costa
cfc13a0d61 improve term expansion: avoid duplicated calls and handle throws gracefully. 2011-11-10 12:27:36 +00:00
Ricardo Rocha
88760aa0b1 mode directed tabling 2011-11-09 11:00:31 +00:00
Vítor Santos Costa
d971219b7e just add a comment. 2011-11-08 15:48:55 +00:00
Vítor Santos Costa
a90eaa4937 fix syntax error handling. 2011-11-08 15:30:06 +00:00
Vítor Santos Costa
d690ffdb18 make ground.yap use new C-code. 2011-11-03 07:49:06 +09:00
Vítor Santos Costa
22b0bcac14 mode directed tabling. 2011-10-22 16:49:13 +01:00
Vítor Santos Costa
8d4c9160eb add compile_predicates/1. 2011-10-21 23:02:07 +01:00
Vítor Santos Costa
c8061d46d6 fix length/2. 2011-10-02 19:55:12 -03:00
Vítor Santos Costa
5b0874be32 avoid error handling overhead. 2011-09-15 15:50:41 +01:00
Vítor Santos Costa
91791f8e3d icleanups to initialization process.w 2011-09-09 21:39:15 +01:00
Vitor Santos Costa
7940ec75b2 fix bad transitions on missing file. 2011-09-07 22:28:13 +02:00
Vitor Santos Costa
3d1781d2f3 fix initialization of arithmetic. 2011-09-07 22:17:23 +02:00
Vitor Santos Costa
9a32038e8c allow import of DCGs. 2011-09-05 03:07:40 +02:00
Vitor Santos Costa
5a91af843f encoding is done by SWI code, don't mess around. 2011-09-02 21:03:41 +01:00
Vitor Santos Costa
0c940b2dce be sure to respect priority in saving flags 2011-08-31 21:12:25 -07:00
Vitor Santos Costa
841dd3a3e1 fix prompt 2011-08-31 21:10:49 -07:00
Vitor Santos Costa
51e635f0c9 more QLY stuff. 2011-08-31 13:59:30 -07:00
Vitor Santos Costa
bdce2e7241 ifix non ground flags 2011-08-31 13:53:03 -07:00
Vitor Santos Costa
347e654273 new version of qly 2011-08-27 21:29:04 -03:00
Vitor Santos Costa
26e3f2cea0 qly fixes 2011-08-24 12:40:06 +01:00
Vitor Santos Costa
7c0ba3b867 qly stuff. 2011-08-24 00:11:54 -03:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa
cd4d55be9b don't test flag options. 2011-08-16 08:53:29 -07:00
Vitor Santos Costa
2256c3bf8b add timezone flag 2011-08-16 13:31:19 +00:00
Vitor Santos Costa
b9effea2e9 fix changes 2011-08-09 08:12:52 -03:00
Vitor Santos Costa
bdeea3b15e support ply 2011-08-03 16:30:39 +01:00
Vitor Santos Costa
b79a885480 fix prompt stuff. 2011-07-27 16:49:43 +01:00
Vitor Santos Costa
40976581a3 fix exists. 2011-07-27 16:30:29 +01:00
Vitor Santos Costa
e2179a277d make top-level more SWI like 2011-07-26 23:32:50 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
67ddf94afa fix error messages. 2011-07-22 23:38:19 +01:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
c78aa3cf1d fix user-c spying. 2011-07-22 14:10:55 +01:00
ubu32
d488984753 get rid of loop alias. 2011-07-11 07:40:58 -07:00
ubu32
e379928239 make cd look for ~ and $HOME expansion. 2011-07-11 07:40:43 -07:00
ubu32
d62fb5c2d7 fix volatile processing (doesn't do much more). 2011-07-10 04:52:33 -07:00
Vitor Santos Costa
6863a43e76 fix handling of backtrackable C-code in longjmp and other long range cuts. 2011-07-09 07:56:11 -04:00
Paulo Moura
5332cc45fb Fixed some meta_predicate/1 directives (goals are represented by "0", not ":". 2011-06-25 06:50:22 -05:00
Paulo Moura
c723d98869 Corrected a typo/bug in the processing of the YAP flag "associate". 2011-06-24 11:26:29 -05:00
Paulo Moura
8f8e62ea63 Corrected bug in the processing of the option file_errors/1 for absolute_file_name/3. 2011-06-23 21:35:42 -05:00
Ricardo Rocha
b849d3a86d fix parallel_once/1 2011-06-22 19:20:56 +01:00
Ricardo Rocha
61f2c53b47 fix meta_predicate declaration 2011-06-22 15:00:58 +01:00
Vítor Santos Costa
d4ed02bdd3 absolute_file_name 2011-06-22 12:29:35 +01:00
Vítor Santos Costa
46ab2e7590 file_name_on_path 2011-06-22 12:29:24 +01:00
Vítor Santos Costa
a1e3f0daa2 file_name_on_path 2011-06-22 12:29:01 +01:00
Vítor Santos Costa
0b6b471359 more SWI style flags: associate and shared_object_extension. 2011-06-22 12:27:05 +01:00
Vitor Santos Costa
dba2fd398f fix absolute_file_path and its use by load_files to new SWI framework. 2011-06-21 22:36:09 +01:00
Vitor Santos Costa
249010bd90 add SWI compatible file_name_variables flag. 2011-06-21 22:33:10 +01:00
Ricardo Rocha
8116aac432 parallel execution is now explicit using one of the new built-in
predicates: parallel/1, parallel_findall/3 or parallel_once/1.
2011-06-21 15:19:07 +01:00
Vitor Santos Costa
a516d6ad47 more SWI stuff. 2011-06-14 09:04:03 +01:00
Vitor Santos Costa
ad5e29ba72 fix comment option in read_term. 2011-06-14 09:03:44 +01:00
Vitor Santos Costa
318c906966 export some SWI builtins 2011-06-14 09:03:00 +01:00
Vitor Santos Costa
dfe3fcbf0b use SWI stuff module. 2011-06-14 09:02:44 +01:00
Vitor Santos Costa
eaf96e918b allow multifile as an user predicate. 2011-06-14 09:02:16 +01:00
Vitor Santos Costa
9c8d759a43 insert SWI-compatible hook for comment processing. 2011-06-14 09:01:10 +01:00
Vitor Santos Costa
5c03739525 SWI inherited stuff 2011-06-14 08:59:58 +01:00
Vitor Santos Costa
b57e809adb fix bug in public directive. 2011-06-13 01:45:03 +01:00
Vitor Santos Costa
c67cac0a36 improve // handling. 2011-06-13 01:44:31 +01:00
Vitor Santos Costa
d6e87420e3 user:prolog_file_type/2.
avoid using old OS stuff, if we have it in.
2011-06-13 01:43:40 +01:00
Vitor Santos Costa
261e02b43e support for option comments(X) in read_term/1. 2011-06-12 17:23:10 +01:00
Ricardo Rocha
e63cba963e new local predicates for tabling with threads 2011-05-25 20:08:04 +01:00
Ricardo Rocha
1d4fdd53c0 use SWI's IOSTREAM for output 2011-05-25 18:38:46 +01:00
Vitor Santos Costa
0886c7d114 try to fix prompting. 2011-05-12 23:05:49 +01:00
Vitor Santos Costa
47f1499ae0 fix comments and use of peek in file scanning. 2011-05-12 22:34:44 +01:00
Vitor Santos Costa
c1f74b7682 fix usage of cd/1. 2011-05-12 22:26:10 +01:00
Vitor Santos Costa
8aad2d0bde fix non-determinism in arithmetic compilation. 2011-05-08 23:11:56 +01:00
Vitor Santos Costa
fee158c071 fix call to read_vars 2011-05-02 23:28:59 +01:00
Vitor Santos Costa
fa5989587d fix |: prompt with readline. 2011-05-01 22:43:54 +01:00
Paulo Moura
cfe65cea0a Corrected a bug in the implementation of yap_flag/2 when returning the user_input, uer_error, and user_ouput flag values. 2011-04-30 20:22:20 +02:00
Vítor Santos Costa
49daa4ab0b fix prolog_load_context position detection to be SWI compatible (obs from Paulo Moura).wq 2011-04-30 10:57:00 +01:00
Vítor Santos Costa
de0f8a8236 dbload 2011-04-30 01:16:40 +01:00
Vítor Santos Costa
e49e59c705 include optimise flag. 2011-04-04 16:23:46 +01:00
Vítor Santos Costa
7463cbea96 protect readline against failure. 2011-04-04 14:35:42 +01:00
Vitor Santos Costa
a6d0944996 fix memory leak in between/3. 2011-03-30 23:20:49 +01:00
Vitor Santos Costa
9c3d6a187d debugging cleanups
actually use readline flag.
2011-03-26 15:45:42 +00:00
Vitor Santos Costa
c1c32ec26a fix left stuff. 2011-03-26 15:30:30 +00:00
Vitor Santos Costa
89d605d6c0 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3
Conflicts:
	packages/PLStream/pl-file.c
	packages/http
	packages/plunit
	pl/flags.yap
2011-03-26 15:27:03 +00:00
Vitor Santos Costa
48cd3bd675 use SWI flags. 2011-03-26 15:18:56 +00:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vítor Santos Costa
f31e15deb8 SWI compat: use $VAR(ATOM) for names 2011-03-18 19:34:19 +00:00
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
3bfcc2e7b4 fix bad call. 2011-03-14 20:37:55 +00:00
Vítor Santos Costa
921fb1c815 thread_create should ignore bad options, not complain. 2011-03-11 20:36:00 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
c52ad77861 fix swi IO predicates. 2011-03-09 23:28:30 +00:00
Vítor Santos Costa
d0465f0d7d use SWI code directly. 2011-03-09 23:20:37 +00:00
Vitor Santos Costa
4ad0407388 fix small differences 2011-03-09 13:33:30 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +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
6f1537475f fix -p option to work with SYSTEM_MALLOC 2011-03-02 09:20:18 +00:00
ubu32
851b07c240 fix small bugs 2011-02-28 15:45:14 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vitor Santos Costa
4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa
b902efe21f remove $access 2011-02-15 22:56:15 +00:00
Vitor Santos Costa
5a5a992cc6 more encoding stuff. 2011-02-15 22:46:59 +00:00
Vítor Santos Costa
3e77151af0 fix bad var. 2011-02-15 21:19:10 +00:00
ubu32
cd028bbd3f handle case where system:goal_expansion/2 is undefined. 2011-02-15 07:51:12 -08:00
ubu32
8c975eca5d make [a/b] more robust. 2011-02-15 07:50:33 -08:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
140318ff16 read works now. 2011-02-14 23:39:27 -08:00
ubu32
78ea2213d1 remove small predicates 2011-02-14 14:55:59 -08:00
ubu32
f0d217dd92 ifix small stuff. 2011-02-14 14:19:30 -08:00
ubu32
4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32
52f8cb1041 skip
more write updates.
2011-02-14 12:47:34 -08:00
ubu32
f13215700b write 2011-02-14 12:40:10 -08:00
ubu32
eff5dd3166 Edinburgh stuff. 2011-02-14 12:25:57 -08:00
ubu32
38fa886e18 more stream stuff. 2011-02-14 12:14:31 -08:00
ubu32
c8aee540ce put 2011-02-14 11:57:22 -08:00
ubu32
85a7e7b9b0 peek_ 2011-02-14 11:50:30 -08:00
ubu32
6469a0d464 add temporary definitions. 2011-02-14 11:46:27 -08:00
ubu32
7fa58bca40 set_input 2011-02-14 11:43:54 -08:00
ubu32
a851c56e3d get predicates. 2011-02-14 11:39:23 -08:00
ubu32
9691a0843d port flush predicates. 2011-02-14 11:28:44 -08:00
ubu32
a46e5b313d iuse SWI prompts 2011-02-14 07:19:37 -08:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
Vitor Santos Costa
8b2312daf7 close must be last to be proted, otherwise YAP gets confused about who owns the stream. 2011-02-13 01:29:25 +00: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
3bdece404b cd and getcwd stuff. 2011-02-12 01:24:15 +00:00
Vitor Santos Costa
74d780698e s_absolute_file_name/2 2011-02-12 01:23:48 +00:00
Vitor Santos Costa
efc65fdb28 SWI file_name builtins. 2011-02-12 01:03:22 +00:00
Vitor Santos Costa
9efbc0fce8 support time_file and access_file from SWI library. 2011-02-12 00:45:33 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vítor Santos Costa
b041ae00c2 use SWI code for char_type and friends. 2011-02-11 19:00:59 +00:00
Vítor Santos Costa
1da3cc8b5c compatibility with SWI generated error messages. 2011-02-11 19:00:32 +00:00
Paulo Moura
c95134e94d Fixed a bug in the implementation of between/3. Reported by Bernd Gutmann. 2011-02-04 12:38:05 +00: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
d593f99c13 fix style check on reconsulting. 2011-01-20 11:50:08 -06:00
Vitor Santos Costa
75703ed89a fix top-level message 2011-01-20 11:49:37 -06:00
Vitor Santos Costa
088869c5ea make yap return an error on undef preds by default. 2010-12-30 23:21:07 -06:00
Vitor Santos Costa
4e8e81f044 don't ask for solutions if we know there are none left. 2010-12-30 23:20:49 -06:00
Vitor Santos Costa
8161cf64b7 fix overflow in atom_to_term error (UN #206) 2010-12-30 23:00:10 -06:00
Vitor Santos Costa
95281f78ee fix leap over meta-predicates. 2010-12-19 21:57:40 +00:00
Vítor Santos Costa
828f8b07f7 make YAP more compatible with SWI by going inside 0 arguments (obs from Roberto). 2010-12-14 12:39:24 +00:00
Vítor Santos Costa
666ef1877d itry to respect SWI semantics on expand_goal/2. 2010-12-13 22:03:54 +00:00
Vítor Santos Costa
eec588f488 distribute goal_Expansion over comma 2010-12-13 21:33:43 +00:00
Vítor Santos Costa
9f8f8ee73e fix missing cut (obs from Bernd). 2010-12-13 19:35:16 +00:00
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +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
7c2c3febe5 checker should be called after preprocessing (obs from Roberto Bagnara). 2010-12-12 19:19:49 +00:00
Paulo Moura
76ee19ab59 Corrected the meta_predicate/1 directive for the built-in tabling predicate tabling_mode/2. 2010-12-09 18:21:26 +00:00
Vítor Santos Costa
21bbffceda make sure we rebuild saved state stuff even if we do not actually enter top-level.
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vítor Santos Costa
1deb6d2663 fix order at boot 2010-12-06 20:15:05 +00:00
Vítor Santos Costa
c6f41e2970 YAP_FAIL_ERROR in case a fail has been requested, but not accepetd yet. 2010-12-04 18:45:09 +00:00
Vítor Santos Costa
268a378ba0 fix p(X) :- once((X, write(yippee), nl)). (obs from Gerlof Bouma). 2010-12-03 15:14:00 +00:00
Vítor Santos Costa
552d424ee0 debugger should use the same code that system uses to find undefined predicates. 2010-12-03 12:40:30 +00:00
Vítor Santos Costa
2f6733e37a add expand_file_name/2 2010-12-02 19:57:55 +00:00
Vítor Santos Costa
514758e65b imake call_foreign_function module aware. 2010-12-01 19:30:58 +00:00
Vítor Santos Costa
c454690a67 fix save_program to reload foreign files SWI style when restarting. 2010-11-29 18:44:39 +00:00
Vítor Santos Costa
863747da7b fix save/1 and save/2 to at least work now. 2010-11-29 18:08:11 +00:00
Vitor Santos Costa
99f1249382 fix file_name_extension with '' as second arg (obs from Crhis Mungall) 2010-11-26 23:44:11 +00:00
Vitor Santos Costa
35100fe515 add interface to SWI's prolog_to_os_filename/2 2010-11-24 08:41:21 +00:00
Vítor Santos Costa
576d37510c fix ls/0. 2010-11-22 18:22:53 +00:00
Vitor Santos Costa
20699fd838 fix syntax error. 2010-11-22 12:50:50 +00:00
Vitor Santos Costa
1b36c79733 ISO: conforming type errors for setof/3 etc ulrich neumerkel patch 2010-11-21 21:49:13 +00:00
Paulo Moura
a0201aa53f Added implementation of the SWI-Prolog predicates pwd/0, cd/0, and ls/0 (work in progress). 2010-11-09 16:36:22 +00:00
Vitor Santos Costa
9396252588 patches to provide initial support UTF32 encodings(from Paulo Moura) 2010-10-27 14:49:27 +01:00
Vitor Santos Costa
b16a0d53b0 integration of two different event profilers. 2010-10-26 22:02:23 +01:00
Vitor Santos Costa
ef53ed696b allow uninstanted arguments in erased_statistics. 2010-10-26 10:07:34 +01:00
Paulo Moura
15a728ce6d Added hook predicate user:prolog_predicate_name/2, taken from SWI-Prolog, to the profiler code. 2010-10-21 20:15:17 +01:00
Vitor Santos Costa
65a66a3360 fix operator problem (|). (Ulrich #193) 2010-10-18 08:36:47 +01:00
Vitor Santos Costa
7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +01:00
Vitor Santos Costa
f40ba3e6db rounding function was incorrect (ulrich's #180) 2010-10-08 11:02:56 +01:00
Vitor Santos Costa
da0aee0f57 fix operator error checking (Ulrich #192) 2010-10-08 10:44:51 +01:00
Vítor Santos Costa
f56cf4a737 fix rooted_path for win32 (patch from David Powers) 2010-09-30 20:59:33 +01:00
Vítor Santos Costa
4ae92544b2 fix $when (obs from David Powers) 2010-09-30 20:48:13 +01:00
Vítor Santos Costa
fa91fb6d86 ifix typo 2010-09-30 20:10:25 +01:00
Vítor Santos Costa
48cc87e882 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-09-28 01:01:55 +01:00
Vítor Santos Costa
6d4d1b1a3a speedup current_pred
fixes from David Powerswq
2010-09-28 01:01:37 +01:00
Vítor Santos Costa
13130df3d9 fix bugs in corout (onbs from David Powers).wq 2010-09-28 00:59:39 +01:00
Vitor Santos Costa
bf40154ff1 fix UN #189 and #172 2010-09-27 22:31:06 +01:00
Vitor Santos Costa
206638e92b fix checking on_signal/3 (obs from Theo Mantadelis). 2010-09-24 12:37:36 +01:00
Vitor Santos Costa
68f49e9bdd fix bsolute_file_name for directories (obs from Paulo Moura). 2010-09-24 12:14:37 +01:00
Vitor Santos Costa
4707c4c10c fix v 2010-09-24 12:14:20 +01:00
Vitor Santos Costa
f9e687a971 Fix block/1 declarations and remove uses of $recorded (patch from David Powers). 2010-09-24 00:36:10 +01:00
Vitor Santos Costa
01776c7a48 fixes by David Powers (broadcast and >= 0)
Dion't mess with linger.
2010-09-21 22:27:35 +01:00
Vitor Santos Costa
0fd0662603 ˆ/2 and ˆ/3 are not built-ins. 2010-08-04 23:32:46 +01:00
Vitor Santos Costa
cf3cb21fd7 subsumes_term/2 (from ISO and UD #173). 2010-08-04 21:46:10 +01:00
Vítor Santos Costa
f2dff606ef replace call to non-existing predicate. 2010-08-04 13:04:17 +01:00
Vítor Santos Costa
c081d01e78 implement access_file/2 in C 2010-08-03 21:04:16 +01:00
Vítor Santos Costa
6895b8521a fix for long messages (from Denys Duchier) 2010-08-02 18:44:10 +01:00
Vitor Santos Costa
b2c1523de6 fix different semantics for yapor. 2010-07-31 00:32:54 +01:00
Vitor Santos Costa
e9c83142ad fix stupid bug in setof (patch from U Neumerkel). 2010-07-14 00:24:26 +01:00
Vitor Santos Costa
8690fb8ca0 make clp(bn) work again. 2010-06-30 17:54:58 +02:00
Vítor Santos Costa
e350a938e6 new predicates 2010-06-23 11:47:44 +01:00
Vítor Santos Costa
e21526ffc8 allow term_expansion from system 2010-06-23 11:45:18 +01:00
Vítor Santos Costa
735f318b77 fix silly cut in autoload 2010-06-18 00:30:11 +01:00
Vítor Santos Costa
0021b66807 fix case where second argument is known. 2010-06-18 00:29:47 +01:00