Commit Graph

82 Commits

Author SHA1 Message Date
ubu32
78ea2213d1 remove small predicates 2011-02-14 14:55:59 -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
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
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +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
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
2f6733e37a add expand_file_name/2 2010-12-02 19:57:55 +00:00
Vitor Santos Costa
35100fe515 add interface to SWI's prolog_to_os_filename/2 2010-11-24 08:41:21 +00:00
Vitor Santos Costa
7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +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 II
2dcf02687e another victim of system module name change. 2010-04-22 12:12:24 +01:00
Vitor Santos Costa
5b1a2067f9 add support for with_output_to/2. 2010-04-14 10:57:00 +01:00
Vítor Santos Costa II
719089b96b make PL_is_initialised honest :) 2010-04-13 00:31:48 +01:00
Vitor Santos Costa
5df3c389b5 fix stream_property position 2010-02-26 12:13:28 +00:00
Vitor Santos Costa
69b6f47b73 make open remember original file. 2010-02-26 11:23:15 +00:00
Vítor Manuel de Morais Santos Costa
bf52be1ece add extra options for SWI compatibility: notice, attributes/1 is not actually implemented within write yet! 2010-01-12 14:27:32 +00:00
Vitor Santos Costa
cef6c9da36 fix bad processing of eof_action flag (obs from Ulrich, #147). 2009-11-17 02:37:56 +00:00
Costa Vitor
5d966928b9 prolog_file_name/2 was missing 2009-07-01 12:11:33 -05:00
Vitor Santos Costa
51e669dcfb support for passing priority as argument to write. (Ulrich's #45).
fixes on making write handle infinite loops
2009-05-22 13:24:27 -05:00
Vitor Santos Costa
a6b9d096a6 make sure we always close intermediate memory streams on exit. 2008-08-25 15:19:00 +01:00
Vitor Santos Costa
7a94144ccb support writeln/1 for SWI compatibility. 2008-08-24 16:09:33 +01:00
pmoura
ad67cd43af Added built-in predicate format/1 for compatibility with SWI-Prolog.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2303 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-10 15:44:12 +00:00
vsc
abbf5430dc keep current_stream across top-level.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2249 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-26 09:16:24 +00:00
vsc
18568bd46f fix unnecessary exception.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2156 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-22 11:38:05 +00:00
vsc
2fe3053c78 fix exists/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2148 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:03:57 +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
vsc
0e3d91a0ff fix chr bootstrap.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2111 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-23 01:32:31 +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
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
vsc
e032bcb8be fix typo
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2067 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 17:13:41 +00:00
vsc
fc2d89a372 fix case where BOM is asked for, and fix case where file with BOM is
consulted, not just read. Also fix some deadlocks when protecting
file access.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2066 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 12:47:45 +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
65f093bdb7 encoding/1
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1938 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-27 23:02:00 +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
35174e0901 fix some encoding stuff and add some documentation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1863 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-04-03 15:03:11 +00:00
vsc
917c777381 fix unicode16 and add BOM
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1862 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-04-02 23:04:48 +00:00
vsc
b3d9e88802 Fix typos across code
Change debugger to backtrack more alike byrd model
Fix typo in debugger option f


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1782 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-24 14:20:04 +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
vsc
0705ca0640 support for UNICODE, and other bug fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1725 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-27 17:42:03 +00:00