Commit Graph

74 Commits

Author SHA1 Message Date
Vítor Santos Costa
f7d23f9deb Simplify Input/Output
get rid of string I/O, did not add much
getc is never actually used by Prolog
try to use system I/O, even if it may be slower, at least for now.
extend IO C-interface to allow reading clauses
2016-02-21 19:06:25 +00:00
Vítor Santos Costa
eec32e698a stream_Property/2:
allow sp(X,Y), sp(u,Y), sp(X,t(Y))
 fix lines
2016-02-20 01:30:52 +00:00
Vítor Santos Costa
484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
V'itor Santos Costa
ee0335124f absolute_filename ^#%@% 2016-02-11 06:17:30 -08:00
Vítor Santos Costa
06a2caf7a9 init fields
lots of docs, boolean -> booleanFlag
2016-01-31 10:39:15 +00:00
Vítor Santos Costa
713e9dc9d8 init 2016-01-04 15:12:44 +00:00
Vítor Santos Costa
50c8724322 linux backport
file exists system predicate
$source_file -> $user source
hide and make system preds
fix check_head_and_body
user_expansion never fails
goal expansion is controlled b dynamic procedure
add must_be_of_type predicate_indicator
fix neat_call, debug flag is user controlled
use simplecudd, not ptoblogbdd
compile all of myddas
fx junk in file_name
fix warnings
use common file opening struct and funds
avoid pairs module
fix db queues
2016-01-04 14:11:09 +00:00
Vítor Santos Costa
5ceb98bdf9 peek support 2015-12-15 09:14:15 +00:00
Vítor Santos Costa
5d5ac22834 add line_count/2 built-in 2015-11-13 13:21:45 +00:00
Vítor Santos Costa
bd6ffb5d41 misc
make an extra flush at close, for luck
get rid of a p_
2015-11-05 16:52:22 +00:00
Vitor Santos Costa
7a70280940 unused vars and gcc warnings 2015-10-20 08:01:20 +01:00
Vítor Santos Costa
fa738894a4 split ttys from other cases
also, get_wchar should be static
2015-10-08 11:28:28 +01:00
Vítor Santos Costa
1bbb761aec indent 2015-10-08 10:19:57 +01:00
Vítor Santos Costa
b3cc23ce64 IO patches
simplify error handling
use get and inject
use wide support in OS
be stricter in checkin streams and arguments
2015-10-08 02:23:45 +01:00
Vítor Santos Costa
c1b977b901 make sure we release streams lock!! 2015-10-05 10:37:23 +01:00
Vítor Santos Costa
9326b2ea62 locking and other small fixes 2015-09-29 23:44:11 +01:00
Vítor Santos Costa
b871f6676e fix error handling 2015-09-25 10:57:26 +01:00
Vítor Santos Costa
4336b2ba88 Avoid complaining from strlen
`
2015-09-21 17:05:36 -05:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
f3b84af062 bunch of fixes for YAP's own IO 2015-07-22 19:33:30 -05:00
Vítor Santos Costa
33de6766a5 bootstrap 2015-07-06 12:03:16 +01:00
Vítor Santos Costa
f5b50a4179 fix locks 2015-06-19 10:10:02 +01:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
4f8b6929b9 g;ue 2015-06-18 01:39:03 +01:00