Commit Graph

301 Commits

Author SHA1 Message Date
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
57f5ef8cfc more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
2011-02-15 05:54:19 -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
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
5fda308e23 current_input current_output 2011-02-14 11:45:43 -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
67d23051c2 fix pruning to handle backtrackable C-predicates in a much nicer way. 2011-02-14 11:29:20 -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
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
0d0a95ae8a remove code support for null streams. 2011-02-12 23:45:19 +00:00
Vitor Santos Costa
9c1d780931 remove support for pipes. 2011-02-12 23:42:15 +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
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
f840ee307d Merge branch 'master' of ../yap-6.2 2011-02-02 16:15:50 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +00:00
Vítor Santos Costa
ae89fa5728 make SWIgetc check for EOF and \n 2010-12-19 14:10:25 +00:00
Vítor Santos Costa
26c265ba13 Merge branch 'master' of ../yap-6.2 2010-12-17 20:27:26 +00:00
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +00:00
Vítor Santos Costa
2dad416011 Merge branch 'master' of ../yap-6.2 2010-12-15 20:04:13 +00:00
Vítor Santos Costa
4546a22101 SWI seems to use t=0 for user_input/output. Not very clear why... 2010-12-15 20:03:22 +00:00
Vitor Santos Costa
dffacb814b Merge branch 'master' of ../yap-6.2 2010-12-13 12:40:07 +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
a634f3f7e7 fix scanning of UTF-32 files. 2010-10-28 18:05:42 +01:00
Paulo Moura
9a09a93a5b Corrected another bug in my patch for detecting UTF-32 BOMs. 2010-10-27 17:43:00 +01:00
Paulo Moura
f3efdff878 Uncommented the code that generates an error when UTF-32 BOMs are detected. 2010-10-27 17:33:48 +01:00
Paulo Moura
168e084c62 Corrected a bug in my patch for detecting UTF-32 BOMs. 2010-10-27 17:19:26 +01: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
ab8911708b fix YAP to use _longjmp when available. longjmp is just too expensive on OSX machines. 2010-10-26 22:03:36 +01:00
Vitor Santos Costa
96dd342cbc fix file_base_name (obs from Paulo Moura). 2010-09-24 19:47:05 +01:00
Vítor Santos Costa
bebb236e32 improve SWI compatibility, especilaly for threaded stuff. 2010-08-04 11:37:12 +01:00
Vítor Santos Costa
c081d01e78 implement access_file/2 in C 2010-08-03 21:04:16 +01:00
Vitor Santos Costa
212758d25e fix bad handliong of position overflow. 2010-08-02 13:03:48 +01:00
Vitor Santos Costa
e02ca2f520 fix bad assumption in parse variables overflow handling (stacks can move around in use-malloc). 2010-08-02 11:56:14 +01:00
Vitor Santos Costa
07907f1839 fix breakage in ball access
fix unnecuessary --ASP (why?)
2010-07-27 23:21:15 +01:00
Vítor Santos Costa
4c9d74c2e7 in closestream: make sure we have a lock before we start looking inside! 2010-07-27 17:28:27 +01:00
Vítor Santos Costa
44f8f9bf5c get new stream descriptor should lock the resource until it is initialised. 2010-07-26 12:54:22 +01:00
Vítor Santos Costa
b61d69ffe8 allow SWI Interface to send/receive wide characters. 2010-07-21 10:58:24 +01:00
Vitor Santos Costa
18ff860937 fix WIN32 warning 2010-07-20 11:28:45 +01:00