Commit Graph

228 Commits

Author SHA1 Message Date
Vitor Santos Costa
cc84cd8cb5 check for mistypes 2014-04-06 17:05:17 +01:00
Vítor Santos Costa
a6cb6f6a25 paths are hard 2014-03-16 18:59:54 +00:00
Vitor Santos Costa
e0642dbaa3 reexport again 2014-02-09 18:06:37 +00:00
Vitor Santos Costa
52525a5319 do reexport even when file has already been loaded 2014-01-06 18:28:22 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +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
8b7fa9be36 reflection patches 2013-11-26 10:53:04 +01:00
Vítor Santos Costa
b3ee389d5e module_property 2013-11-25 16:50:57 +01:00
Vítor Santos Costa
f67c7c184b fix reexport adding to export list 2013-11-17 21:41:41 +00:00
Vítor Santos Costa
14747fd0bf more fixes 2013-11-13 22:52:36 +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
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
ea44e780b6 fix path 2013-11-08 12:43:07 +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
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
ad0ff98f1a use swi flags whenever possible 2013-11-04 01:14:48 +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
Vítor Santos Costa
fde44acdf3 ensure global environment when consulting 2013-09-09 22:11:12 +01:00
Vitor Santos Costa
c60e1046a7 use int64 fr file_time 2013-06-07 18:00:27 +01: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
046cb5f8d6 debugging 2013-02-08 10:36:45 -06:00
Vitor Santos Costa
8c8392b5da exo support 2013-01-15 11:18:09 +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
feb70d0146 fix absolute_file_name with empty arguments. 2012-11-25 23:35:59 +00: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
Vítor Santos Costa
753170bf7c fix synatx error. 2012-04-20 12:28:42 +02: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
5a472616e7 fix recent regressions on :- if, etc. 2012-03-04 10:22:40 +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
c8787a29f2 allow weird use of atom_file_name
exists_source/1.
2012-02-13 09:36:44 +00:00
Vitor Santos Costa
7940ec75b2 fix bad transitions on missing file. 2011-09-07 22:28:13 +02:00
Vitor Santos Costa
5a91af843f encoding is done by SWI code, don't mess around. 2011-09-02 21:03:41 +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
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
ubu32
d488984753 get rid of loop alias. 2011-07-11 07:40:58 -07: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
Vítor Santos Costa
d4ed02bdd3 absolute_file_name 2011-06-22 12:29:35 +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
a516d6ad47 more SWI stuff. 2011-06-14 09:04:03 +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
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
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
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
c52ad77861 fix swi IO predicates. 2011-03-09 23:28:30 +00:00
Vitor Santos Costa
5a5a992cc6 more encoding stuff. 2011-02-15 22:46:59 +00: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
9691a0843d port flush predicates. 2011-02-14 11:28:44 -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
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
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
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +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
68f49e9bdd fix bsolute_file_name for directories (obs from Paulo Moura). 2010-09-24 12:14:37 +01:00
Vitor Santos Costa
b2c1523de6 fix different semantics for yapor. 2010-07-31 00:32:54 +01:00
Vítor Santos Costa
67ba23efdd remove unnecessary code 2010-06-17 11:03:13 +01:00
Vítor Santos Costa
8872fed811 make initialization/2 executable (SWI compatibility).
add predicate on file suffix (SWI compatibility).
2010-06-17 00:24:19 +01:00
Vítor Santos Costa
43cc875571 fix verbose_load (obs from Paulo Moura). 2010-06-14 08:47:15 +01:00
Vítor Santos Costa
0645040602 get rid of debug messages. 2010-05-28 16:59:52 +01:00
Vítor Santos Costa
8d93e8f9b9 remove all initialization/1 in a single swoop. 2010-05-28 16:07:20 +01:00
Vítor Santos Costa
55019a83bd win64 2010-05-10 10:22:42 +01:00
Vitor Santos Costa
d8fc0ea8bf fix obj detection. 2010-05-05 00:12:25 +01:00
Vítor Santos Costa II
3efe7a067a another victim of system name change 2010-04-22 12:16:23 +01:00
Vítor Santos Costa II
9def5978bb SWI actually calls initialization after exiting the directory (obs from Paulo Moura). 2010-04-12 18:30:39 +01:00
Vítor Santos Costa II
2257b056f0 fix absolute_file_name (SWI and SICStus compatibility, obs from Paulo Moura). 2010-04-10 21:23:38 +01:00
Vitor Santos Costa
96a15851a7 fix unnecessary choicepoint in [a]. 2010-03-10 14:09:48 +00:00
Vitor Santos Costa
e4f3a127e0 make sure environment variables are consulted first. 2010-03-05 08:33:40 +00:00
Vitor Santos Costa
fb6c4f966c Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-03-03 21:49:14 +00:00
Vítor Santos Costa II
f489118025 small fix to consult. 2010-03-03 19:08:59 +00:00
Vitor Santos Costa
910d04a786 test for [X] and friends. 2010-03-02 23:13:39 +00:00
Vitor Santos Costa
16a9c8a807 SWI-compatible source_file/1 and 2 2010-02-28 22:24:51 +00:00
Vitor Santos Costa
b4481ca98c fix confusion with file names. 2010-02-26 13:41:40 +00:00
Vitor Santos Costa
69b6f47b73 make open remember original file. 2010-02-26 11:23:15 +00:00
Vitor Santos Costa
e860bd7ee1 fix initialization/1 (obs from Paulo Moura). 2010-01-18 14:34:30 +00:00
Vítor Manuel de Morais Santos Costa
0c29616bc2 SWI-compatible for initialization/2· 2010-01-15 16:21:29 +00:00
Vitor Santos Costa
b15d9c0363 add source_location for SWI compatibility 2009-11-23 10:02:40 +00:00
Vítor Manuel de Morais Santos Costa
0f4b64d199 make should only look at reconsulted files, it makes no sense to use make for
consulted files.
2009-10-16 08:31:23 +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
2dae7fd5ef fix unnecesary warnings for multifile (obs from Paulo Moura). 2009-05-29 10:48:40 -05:00
Vitor Santos Costa
8f019b22de make sure to work even without system mode 2009-05-22 14:01:05 -05:00
Vitor Santos Costa
e466bf2c5b fix $notrace (Ulrich Neumerkel #26) 2009-05-21 23:51:34 -05:00
Vitor Santos Costa
9d07b51937 make sure we don't redo things. 2009-04-21 15:19:26 -05:00
Vitor Santos Costa
374051733b objects may be more than .so: they may be .dylib or .dll. 2009-04-17 16:19:21 -05:00
Vitor Santos Costa
67b29f3c85 improve SWI compatibility. 2009-03-13 19:40:27 +00:00
Vitor Santos Costa
a000af113b OSX portability updates
start of support for commons prolog initiative
2009-02-16 12:25:03 +00:00
Vítor Santos Costa
e0531d0743 fix bad access flags call. 2008-12-12 22:46:32 +00:00
Vítor Santos Costa
139f591458 fix catch and throw: make sure we have an environment.
use $notrace consistently: note that it only matters if ran from the
debugger, otherwise it is just a meta-call.
2008-09-24 00:13:02 +01:00
Vítor Santos Costa
882178c02f support paths like the term a/b. 2008-08-30 04:34:27 +01:00