Commit Graph

376 Commits

Author SHA1 Message Date
Vítor Santos Costa
87c58493d4 /fix stream_prop; indenting 2016-03-05 12:17:23 +00:00
Vítor Santos Costa
5a95c6bbc7 fix stream_property 2016-03-05 00:08:04 +00:00
Vítor Santos Costa
d3796aba5a ok, even if the locale is C, unicode is most often supported. 2016-03-03 23:19:19 +00:00
Vítor Santos Costa
5f9752baff use utf-8 internally: problem, still seems to core dump 2016-03-03 23:18:04 +00:00
Vítor Santos Costa
638f784f81 more oops 2016-02-29 03:36:10 +00:00
Vítor Santos Costa
b9eb327d86 fix fixes (lots of white space, somehow. 2016-02-29 03:13:23 +00:00
Vítor Santos Costa
2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa
77123269e7 fix batched job :( 2016-02-26 17:47:40 +00:00
Vítor Santos Costa
54985f4678 fix eof handling + indent 2016-02-26 17:45:45 +00:00
Vítor Santos Costa
d9fe5133d3 what happens when a filename is a base path? 2016-02-26 17:30:50 +00:00
Vítor Santos Costa
d2dceb91d3 fix syntax errors 2016-02-26 17:28:22 +00:00
Vítor Santos Costa
bc291ed08b If user says use module m, then use module M 2016-02-26 17:25:33 +00:00
Vítor Santos Costa
e4e59dedf7 win32 support, especially win does not allow file streaming in memory 2016-02-24 02:07:46 +00:00
Vítor Santos Costa
6f1b5fbef9 thread compilation 2016-02-22 13:01:09 +00:00
Vítor Santos Costa
712d79c7bb keep on fixing absolute_name 2016-02-22 12:59:49 +00:00
Vítor Santos Costa
588ef40a16 follow encoding directives 2016-02-22 12:57:46 +00:00
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
b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +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
bc71e54f20 encoding stuff 2016-02-19 19:36:11 +00:00
Vítor Santos Costa
d8620c785e lucky this wasn't noticed 2016-02-19 19:31:58 +00:00
Vítor Santos Costa
083d374e02 fix missing syntax errors regression :( 2016-02-19 11:34:48 +00:00
Vítor Santos Costa
ad91eb0ec9 fix regression: checking for EOT should first peek, and if happy consume the blank after the dot. 2016-02-18 22:10:40 +00:00
Vítor Santos Costa
484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
Vítor Santos Costa
fb966536a9 warnings 2016-02-14 04:15:53 +00:00
Vítor Santos Costa
0a9f37710c reformatting 2016-02-14 04:15:28 +00:00
Vítor Santos Costa
ae65bb0265 fix peek 2016-02-14 04:14:31 +00:00
Vítor Santos Costa
42091deffc encoding fixes 2016-02-14 04:14:20 +00:00
Vítor Santos Costa
df0b3d3a0d make base name and dirname compatible with other prologs 2016-02-13 20:32:26 +00:00
Vítor Santos Costa
9860b6244f small changes 2016-02-13 03:11:25 +00:00
Vítor Santos Costa
bea2431c3e back port 2016-02-11 15:39:04 +00:00
Vítor Santos Costa
8f9fb0437c git ... 2016-02-11 15:35:34 +00:00
Vítor Santos Costa
21fa15bf10 macos fixes 2016-02-11 15:32:42 +00:00
V'itor Santos Costa
ee0335124f absolute_filename ^#%@% 2016-02-11 06:17:30 -08:00
V'itor Santos Costa
9a071d5823 split path processing 2016-02-11 06:15:30 -08:00
Vitor Santos Costa
c8305988ca Merge branch 'master' of github.com:vscosta/yap-6.3 2016-02-03 10:17:01 +00:00
Vitor Santos Costa
143684731e foreign files 2016-02-03 09:22:23 +00:00
Vítor Santos Costa
965eb4739e Linux patches 2016-02-01 03:18:57 +00:00
V'itor Santos Costa
d83c62051b file fixes 2016-01-31 18:48:07 -08:00
Vítor Santos Costa
7aba41e7c2 cleanup 2016-01-31 19:41:10 +00:00
Vítor Santos Costa
c9babdd03e win32 2016-01-31 10:58:24 +00:00
Vítor Santos Costa
ae771e70e2 compile without deadline, other win32 work 2016-01-31 10:42:57 +00: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
794d04c851 flags & var init work 2016-01-31 10:37:41 +00:00
Vítor Santos Costa
5073ff9b43 win32 2016-01-31 10:33:32 +00:00
Vítor Santos Costa
8c873350c9 win32 2016-01-31 10:33:13 +00:00
Vítor Santos Costa
017e356cfb sockets use sysbtslu 2016-01-31 10:32:51 +00:00
Vítor Santos Costa
697f57ecef memory streams
- work with blobs
- recover memory on close
- do not call Unix code on win32
2016-01-31 10:02:11 +00:00
Vítor Santos Costa
e8f87d2875 glob should not return error on miss 2016-01-20 22:38:42 +00:00
Vítor Santos Costa
10a29998a3 fix read_term options 2016-01-20 22:38:09 +00:00
Vítor Santos Costa
77a5090276 Add missing documentation 2016-01-20 22:18:17 +00:00
Vítor Santos Costa
97feeda48a support script option in open, both for reading and writing. 2016-01-20 22:12:41 +00:00
Vítor Santos Costa
784f9a2880 BOM fixes 2016-01-08 20:04:31 +00:00
Vítor Santos Costa
13f020ad25 threads 2016-01-06 12:39:42 +00:00
Vítor Santos Costa
c104fb946d use slots 2016-01-06 12:36:59 +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
661f33ac7e bug fices 2016-01-03 02:06:09 +00:00
Vítor Santos Costa
15404b3835 small
- do not call goal expansion on meta-calls (that is done by undef).
- docs updates
- fix init code
2015-12-15 09:28:43 +00:00
Vítor Santos Costa
14459cce03 undefined with fast_fail support 2015-12-15 09:18:36 +00:00
Vítor Santos Costa
5ceb98bdf9 peek support 2015-12-15 09:14:15 +00:00
Vítor Santos Costa
e95e795e08 docs 2015-12-15 09:07:36 +00:00
Vítor Santos Costa
e51de5f83c remove support for confusing manipulation of $VAR 2015-12-15 08:48:53 +00:00
Vítor Santos Costa
edb6189512 allow the option to have priorities above 1200 2015-12-15 08:38:56 +00:00
Vítor Santos Costa
ce8a19d381 Add documentation 2015-11-18 15:06:25 +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
f17fae43e3 add read_line_to_string/2 2015-11-13 13:19:42 +00:00
Vítor Santos Costa
2466db7ff5 skip/2 was using user_input 2015-11-11 08:45:03 +00:00
Vítor Santos Costa
0b982a72fe fix broken padding 2015-11-11 07:50:12 +00:00
Vítor Santos Costa
adf3ed0311 docs 2015-11-10 14:18:27 +00:00
Vítor Santos Costa
7468de4553 indenting 2015-11-10 14:16:10 +00:00
Vítor Santos Costa
a3c09d66be docs 2015-11-10 14:13:56 +00:00
Vitor Santos Costa
cddb8191c8 config changes 2015-11-09 18:22:43 +00:00
Vitor Santos Costa
e6b6e7c593 don't loop for ever, and utf8 2015-11-09 18:19:51 +00:00
Vítor Santos Costa
759ff81e39 absolute_file_name support. 2015-11-09 11:31:58 +00:00
Vítor Santos Costa
1d66c45fc2 more fixes to absolute_file_names and a new option, glob/1. 2015-11-09 11:27:46 +00:00
Vítor Santos Costa
50c04116c8 moved from H 2015-11-06 18:22:31 +00:00
Vítor Santos Costa
4354083208 YAP_TextLllength and the init saga 2015-11-05 19:24:55 +00:00
Vítor Santos Costa
53927de579 char_type/2, or is it UNICODE? 2015-11-05 17:17:51 +00:00
Vítor Santos Costa
b84262238d stupid bug: format would always use user_output 2015-11-05 17:16:55 +00:00
Vítor Santos Costa
83fdeab85f DebugIO + the big sys split 2015-11-05 17:16:10 +00:00
Vítor Santos Costa
99ee24ba69 the big sys split and make DebugIO more available 2015-11-05 17:15:32 +00:00
Vítor Santos Costa
5278affb0e Edinburgh IO, still useful. 2015-11-05 17:14:31 +00:00
Vítor Santos Costa
7be5d1374a The big sys split was here 2015-11-05 16:57:24 +00:00
Vítor Santos Costa
b323d17369 small fix 2015-11-05 16:56:59 +00:00
Vítor Santos Costa
e9ed130ffd keep on improving syntax_error handler 2015-11-05 16:54:13 +00:00
Vítor Santos Costa
ac48a263c4 fix $VAR 2015-11-05 16:53:11 +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
Vítor Santos Costa
77d57b90d4 expandVars through glob and wordexp 2015-11-05 16:47:52 +00:00
Vítor Santos Costa
e3a56234e4 big sys split 2015-11-05 16:47:11 +00:00
Vítor Santos Costa
6cc1ed77ed the big split: break sysbits.c into 4 files; also, support glob 2015-11-05 15:47:36 +00:00
Vítor Santos Costa
9ce6ba5186 init tab/1 steam 2015-11-05 15:39:04 +00:00
Vítor Santos Costa
48f5a824e0 use flags to control and float 2015-10-27 23:07:11 +00:00
Vítor Santos Costa
3f58566ac8 syntax errors 2015-10-27 23:05:21 +00:00
Vítor Santos Costa
2047885bfa use flags to control and float 2015-10-27 22:58:06 +00:00
Vítor Santos Costa
759ce13bbf fix $VAR handling. 2015-10-22 12:01:54 +01:00
Vítor Santos Costa
f1c9952c77 fixes for upcast and lowercase 2015-10-22 11:51:07 +01:00
Vítor Santos Costa
b2369175e5 mostly indenting 2015-10-22 00:41:52 +01:00
Vítor Santos Costa
098be4aba0 remove chtypes 2015-10-22 00:39:10 +01:00
Vitor Santos Costa
7a70280940 unused vars and gcc warnings 2015-10-20 08:01:20 +01:00