Commit Graph

1990 Commits

Author SHA1 Message Date
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
cede94f6d2 creeping should not prevent wake ups. 2010-12-19 13:52:42 +00:00
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +00:00
Vítor Santos Costa
cfe0dda995 more bigint and dbterm fixes. 2010-12-16 22:21:46 +00:00
Vítor Santos Costa
5a2d908489 fix restore of instructions that manipulate bigints or db terms. 2010-12-16 20:39:53 +00:00
Vitor Santos Costa
9a45897308 fix _longjmp 2010-12-16 01:31:19 +00:00
Vitor Santos Costa
7ad5bc0214 include amasm.c 2010-12-16 01:30:05 +00:00
Vitor Santos Costa
6e2947e8c4 avoid _longjmp 2010-12-16 01:22:10 +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
Vítor Santos Costa
eb82f5fa2a more fixes to recursive call execution and backtracking from within C-mode.
semweb java example now working.
2010-12-14 09:30:40 +00:00
Vítor Santos Costa
3933ee4053 fix slot initialization problem. 2010-12-13 20:39:12 +00:00
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13: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
2d1ece71c8 iget rid of message. 2010-12-12 19:05:49 +00:00
Vítor Santos Costa
2e319c50ba make sure that atom garbage collector knows about foreign function names. 2010-12-12 18:28:55 +00:00
Vítor Santos Costa
378035a4b0 fix bad marking of dbterms (obs from Ines Dutra). 2010-12-12 16:45:39 +00:00
Vítor Santos Costa
e7f5c50707 fix restore foreign functions 2010-12-07 18:21:10 +00:00
Vítor Santos Costa
21bbffceda make sure we rebuild saved state stuff even if we do not actually enter top-level.
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vitor Santos Costa
8290341a5f fix typo 2010-12-05 00:07:22 +00:00
Vítor Santos Costa
8db05c883b make sure we separate betwen async exceptions and synchroneous. 2010-12-04 19:05:13 +00:00
Vítor Santos Costa
c6f41e2970 YAP_FAIL_ERROR in case a fail has been requested, but not accepetd yet. 2010-12-04 18:45:09 +00:00
Vítor Santos Costa
514758e65b imake call_foreign_function module aware. 2010-12-01 19:30:58 +00:00
Vitor Santos Costa
22c27e0d5e fix debugging stuff. 2010-11-30 22:34:54 +00:00
Vitor Santos Costa
aead067476 mv swi compatibility stuff to library/dialect 2010-11-30 22:33:33 +00:00
Abramo Bagnara
94194209ec Extended C predicates to have 10 arguments. 2010-11-30 12:27:30 +00:00
Vítor Santos Costa
c454690a67 fix save_program to reload foreign files SWI style when restarting. 2010-11-29 18:44:39 +00:00
Vítor Santos Costa
863747da7b fix save/1 and save/2 to at least work now. 2010-11-29 18:08:11 +00:00
Vítor Santos Costa
a1d9a1d095 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-11-29 16:52:25 +00:00
Vitor Santos Costa
4aee4df719 single initialization for top frame. 2010-11-28 11:51:31 +00:00
Vitor Santos Costa
471cc93f6c fix some bad code in legalAtom, allowing /a/b not to be quoted (obs from Paulo Moura). 2010-11-26 23:36:50 +00:00
Vítor Santos Costa
89280493d0 fix restopring from gfull saved states. 2010-11-26 18:02:44 +00:00
Vítor Santos Costa
31d0969585 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-11-25 16:33:50 +00:00
Vítor Santos Costa
969dcfa98c save should set slots. 2010-11-25 16:33:25 +00:00
Paulo Moura
907d10128d Commented out buggy patch for supporting quote atoms starting with /* as it breaks write_canonical/1. 2010-11-23 00:12:41 +00:00
Vitor Santos Costa
f9cd010242 do not reexecute function on restore if f_name is NULL. 2010-11-22 21:47:17 +00:00
Vítor Santos Costa
a2286354c8 fix shared object stuff (obs from Roberto Bagnara). 2010-11-22 18:07:01 +00:00
Vitor Santos Costa
2ee12ca1a7 only force 1E30 an error if in ISO mode.
always 1.0e30.
2010-11-22 12:51:02 +00:00
Vitor Santos Costa
92bfc4cedc fix loop in c_files (obs from roberto bagnara). 2010-11-22 10:36:32 +00:00
Vitor Santos Costa
1730d4e206 fix profon profon (obs from Bernd). 2010-11-21 23:31:42 +00:00
Vitor Santos Costa
7640700fdf [PATCH-YAP 6/6] ISO: compound(+1). now holds.
from ulrich neumerkel
2010-11-21 22:11:10 +00:00
Vitor Santos Costa
0fa3fff5d5 [PATCH-YAP 5/5] ISO: reject 1E1 as float notation
from ulrich neumerkel
2010-11-21 22:09:07 +00:00
Vitor Santos Costa
c4913849c6 [PATCH-YAP 3/4] ISO: Restrict binary, octal, hexadecimal integer constant indicators
and exponent char to minuscules.  (6.4.4)
from Ulrich Neumerkel
2010-11-21 21:55:58 +00:00
Vitor Santos Costa
86d0a251b5 [PATCH-YAP 4/4] ISO: quote atoms starting with /* (7.10.5 d)
from ulrich neumerkel
2010-11-21 21:53:58 +00:00
Vitor Santos Costa
bb570108de ISO: Always bracket atoms that are current operators when written as
operands (7.10.5 h 2 ii)
2010-11-21 21:47:07 +00:00
Vitor Santos Costa
c8c5c3d1dc Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-11-07 19:56:34 +00:00
Vitor Santos Costa
8f02054109 From Keri Harris
In the event that Yap is compiled on a machine where the timezone is not set
it's possible to hit a buffer overflow:
2010-11-07 19:32:40 +00:00
Vítor Santos Costa
6fb86625c6 fix operator declaration (patch from Ulrich Neumerkel) 2010-11-05 11:00:14 +00:00
Vitor Santos Costa
7e90e90239 fixes to number_codes and number_chars. 2010-10-29 10:28:25 +01:00
Paulo Moura
9a09a93a5b Corrected another bug in my patch for detecting UTF-32 BOMs. 2010-10-27 17:43:00 +01:00