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 |
|
Vitor Santos Costa
|
35c3081c18
|
fix bad declaration
|
2010-07-19 22:42:19 +01:00 |
|
Vitor Santos Costa
|
d6bd81ce81
|
SWI getc and putc may call prolog: protect them with slots.
allow format to codes/2 and terminate memory stream.
|
2010-07-19 14:40:52 +01:00 |
|
Vítor Santos Costa
|
3e13be32a0
|
fix \\ in strings to scan up to next non-blank
|
2010-06-23 11:46:16 +01:00 |
|
Vítor Santos Costa
|
247d59f0ef
|
- slots should be considered as always live for gc.
- make sure slots do not die when they should be live, and vice-versa.
- improve a little on foreign_frame
|
2010-06-01 00:40:58 +01:00 |
|
Vítor Santos Costa
|
d1599bca8d
|
fix extra uses of mpz_ in external code.
|
2010-05-28 15:29:20 +01:00 |
|
Vítor Santos Costa
|
ae2421951b
|
fix comparison between terms when rationals come up.
|
2010-05-28 12:07:01 +01:00 |
|
Vítor Santos Costa
|
be2a3a635e
|
L constants are evil in 64 bits
|
2010-05-11 12:25:49 +01:00 |
|
Vítor Santos Costa
|
faeef37a03
|
long -> Int
|
2010-05-10 10:21:56 +01:00 |
|
Vítor Santos Costa
|
11641c5f94
|
64 bit cleanups.
|
2010-05-06 15:00:44 +01:00 |
|
Vitor Santos Costa
|
f3b6a044f6
|
improvements to language support.
|
2010-05-05 12:45:11 +01:00 |
|
Vitor Santos Costa
|
ccca051c48
|
avoid using ftell: it can be very slow on NFS.
|
2010-04-14 23:47:01 +01:00 |
|
Vitor Santos Costa
|
5b1a2067f9
|
add support for with_output_to/2.
|
2010-04-14 10:57:00 +01:00 |
|
Vitor Santos Costa
|
471bf55c4c
|
fix reading from pipes in WIN32.
|
2010-04-07 01:18:32 +01:00 |
|
Vítor Santos Costa II
|
4052f03726
|
initialise everything
|
2010-03-23 16:15:55 +00:00 |
|
U-Khasa\Vitor
|
1b65f5e220
|
WINDOWS can seek
|
2010-03-03 18:50:56 -06:00 |
|
Vitor Santos Costa
|
24f5b060d5
|
improve previous patch for syntax_error.
|
2010-03-02 23:18:04 +00:00 |
|
Vitor Santos Costa
|
9e5a25c61e
|
make sure syntax_error receives a global variable (obs from Jose Santos).
|
2010-03-02 22:21:48 +00:00 |
|
Vitor Santos Costa
|
c8479541bb
|
fix bad overflow handling in peek_memory_stream (obs from Jos De Roo).
|
2010-02-28 09:30:58 +00:00 |
|
Vitor Santos Costa
|
59759cc88e
|
make current_stream file name ISO friendly.
|
2010-02-26 11:43:05 +00:00 |
|
Vitor Santos Costa
|
69b6f47b73
|
make open remember original file.
|
2010-02-26 11:23:15 +00:00 |
|
Vitor Santos Costa
|
038b74493c
|
more ATOM changes.
|
2010-02-26 10:59:43 +00:00 |
|
Vitor Santos Costa
|
21fb6091ea
|
fix char_conversion
|
2010-02-26 09:12:06 +00:00 |
|
Vitor Santos Costa
|
29854466fa
|
check_bom should undo char, even if end of file (obs from Nicola di Mauro).
|
2010-02-21 00:53:55 +00:00 |
|
U-Khasa\Vitor
|
7855ddf2ce
|
exists_directory/1
|
2010-02-11 12:07:08 -06:00 |
|
U-Khasa\Vitor
|
33190e290d
|
mingw complaint with recent versions of gcc
|
2010-02-10 03:03:03 -06:00 |
|
Vitor Santos Costa
|
6b8c2b096a
|
make sure everything is close together.
|
2010-01-31 23:03:27 +00:00 |
|
Vitor Santos Costa
|
df267a07b9
|
be able to parse "hello"
|
2010-01-26 12:19:48 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
31314c8059
|
fix warning about not checking output.
|
2010-01-14 15:43:18 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
4670e456a5
|
do not check for bom over binary files (obs from Nuno Fonseca).
|
2010-01-12 14:08:38 +00:00 |
|
Vitor Santos Costa
|
6ec92ac5c0
|
handle correctly file rewind in the presence of ungetc (obs from Jose Santos).
|
2009-12-19 19:57:20 -02:00 |
|
Vitor Santos Costa
|
1c52d17a4d
|
get_bom should consider the case the file is empty.
|
2009-11-17 02:37:29 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
8ecac6c2f9
|
sebuf on stdin was called if any std stream was a tty. Bad. (obs from Ashwin Srinivasan).
|
2009-11-10 11:25:56 +00:00 |
|
Vitor Santos Costa
|
923094bd01
|
more updates to HEAPFIELDS.
|
2009-10-30 23:59:00 +00:00 |
|
Vitor Santos Costa
|
36a7e5c59e
|
fix error handling in syntax_error (don't assume ARG2 has the output).
|
2009-10-26 22:56:18 +00:00 |
|
Vitor Santos Costa
|
4c8eb33e06
|
we had args already (no need for argv0)
improve error handling in YAP_ReadBuffer
|
2009-10-26 10:42:19 +00:00 |
|
Vitor Santos Costa
|
0179998d60
|
change Heap.h to YapHeap.h
rename $live to prolog/0 (for SWI compatibility).
|
2009-10-23 14:22:17 +01:00 |
|
Vitor Santos Costa
|
c6e16a608a
|
fix @ option in format/2
|
2009-10-21 00:07:31 +01:00 |
|
Costa Vitor
|
a00c69b6f7
|
badly initialised memory stream (obs from J Santos).
|
2009-08-31 23:56:00 -05:00 |
|
U-Khasa\Vitor
|
f68cc92bce
|
make sure binary files are open as binary in WIN32 (obs from Meera Sridhar).
|
2009-08-02 16:04:21 -05:00 |
|
U-Khasa\Vitor
|
2c53d1f8ed
|
fix error message in put
|
2009-08-02 15:54:27 -05:00 |
|
Vitor Santos Costa
|
9c74080512
|
fix memory overflow when doing very large writes on strings (obs from Jos Deroo).
|
2009-07-28 18:30:15 -05:00 |
|
Vitor Santos Costa
|
c1024caa53
|
Unify emptylist of variables if one reads EOF.
|
2009-07-21 00:11:44 -05:00 |
|
Costa Vitor
|
de5a09039f
|
no_readline patches
avoid warnings in no_gmp world
avoid complaining by Solaris
|
2009-06-15 14:59:50 -05:00 |
|
Vitor Santos Costa
|
1005fa8abf
|
PLIOError should not prevent weird errors, like
resource_errors (#36).
|
2009-06-12 13:46:44 -05:00 |
|
Vitor Santos Costa
|
303261b283
|
improve error messages.
|
2009-06-12 13:44:22 -05:00 |
|
Vitor Santos Costa
|
a45da5f722
|
check for memory overflows in format (very long double, say) obs from Ingo Thon.
|
2009-05-29 10:26:48 -05:00 |
|
Vitor Santos Costa
|
09216a70b8
|
fix unprotected calls to plwrite.
|
2009-05-24 15:15:36 -05:00 |
|
Costa Vitor
|
7304fbda13
|
fix lack of streams message (Ulrich Neumerkel #60)
|
2009-05-22 19:55:18 -05:00 |
|
Costa Vitor
|
ec595374a6
|
fix allocation of temporary stack so that unification can work even for
very deep terms.
fix occur_unification_bug X = a(f(Y)).
|
2009-05-22 18:35:24 -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
|
7953004610
|
fix unused variable warning.
|
2009-05-13 17:12:12 -05:00 |
|
Vitor Santos Costa
|
2016e118b3
|
Ulrich Neumerkel's patch so that variables are declared in front of a block.
|
2009-05-02 10:54:09 -05:00 |
|
Vitor Santos Costa
|
d02e14415b
|
another fix to FileFromStream
|
2009-04-25 10:59:05 -05:00 |
|