Commit Graph

2171 Commits

Author SHA1 Message Date
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +00:00
Vítor Santos Costa
81ca149be7 Merge branch 'master' of ../yap-6.2 2010-12-16 22:22:44 +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
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
Vítor Santos Costa
782fe00123 Merge branch 'master' of ../yap-6.2 2010-12-14 12:40:15 +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
9bea8b5f82 Merge branch 'master' of ../yap-6.2 2010-12-13 20:39:44 +00:00
Vítor Santos Costa
3933ee4053 fix slot initialization problem. 2010-12-13 20:39:12 +00:00
Vítor Santos Costa
0e32680331 Merge branch 'master' of ../yap-6.2 2010-12-13 19:14:52 +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
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
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
b086d8b5cd Merge branch 'master' of ../yap-6.2 2010-12-07 18:21:50 +00:00
Vítor Santos Costa
e7f5c50707 fix restore foreign functions 2010-12-07 18:21:10 +00:00
Vítor Santos Costa
30b0160b0d Merge branch 'master' of ../yap-6.2 2010-12-07 15:08:25 +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
Vítor Santos Costa
7874c790f3 Merge branch 'master' of ../yap-6.2 2010-12-06 20:16:05 +00:00
Vitor Santos Costa
8290341a5f fix typo 2010-12-05 00:07:22 +00:00
Vítor Santos Costa
5a5be3b31c Merge branch 'master' of ../yap-6.2 2010-12-04 19:06:10 +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
4e0390da5c Merge branch 'master' of ../yap-6.2 2010-12-02 19:42:52 +00:00
Vítor Santos Costa
514758e65b imake call_foreign_function module aware. 2010-12-01 19:30:58 +00:00
Vitor Santos Costa
7f846cd17b Merge ../yap-6.2 2010-12-01 14:04:55 +00:00
Vitor Santos Costa
22c27e0d5e fix debugging stuff. 2010-11-30 22:34:54 +00:00
Vitor Santos Costa
bb679f15fd Merge ../yap-6.2 2010-11-30 22:34:16 +00:00
Vitor Santos Costa
aead067476 mv swi compatibility stuff to library/dialect 2010-11-30 22:33:33 +00:00
Vitor Santos Costa
7341d86758 Merge ../yap-6.2 2010-11-30 22:02:42 +00:00
Abramo Bagnara
94194209ec Extended C predicates to have 10 arguments. 2010-11-30 12:27:30 +00:00
Vítor Santos Costa
63ea05bde8 Merge branch 'master' of ../yap-6.2 2010-11-29 18:45:50 +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
40be6b56f2 Merge branch 'master' of ../yap-6.2 2010-11-29 18:09:19 +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
338a6a1b9b Merge branch 'master' of ../yap-6.2 2010-11-29 16:53:32 +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
d1a05d2fb4 Merge ../yap-6.2 2010-11-28 11:53:16 +00:00
Vitor Santos Costa
4aee4df719 single initialization for top frame. 2010-11-28 11:51:31 +00:00
Vitor Santos Costa
55d28f6ad5 Merge ../yap-6.2 2010-11-26 23:37:36 +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
Vitor Santos Costa
edae401189 Merge ../yap-6.2 2010-11-24 10:02:04 +00:00
Vitor Santos Costa
bdc497cba0 Merge ../yap-6.2 2010-11-24 08:44:37 +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
cee293fe3a Merge ../yap-6.2 2010-11-22 12:52:07 +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
9c91a63436 Merge ../yap-6.2 2010-11-22 10:38:22 +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
133e562adb fix profon profon (obs from Bernd). 2010-11-21 23:04:38 +00:00
Vitor Santos Costa
cf59f9aedc Merge ../yap-6.2 2010-11-21 22:12:20 +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
f34cd3cfea Merge ../yap-6.2 2010-11-07 19:57:39 +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
d1c27fd31e Merge ../yap-6.2 2010-11-07 19:45:44 +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
216c1b85f3 an implementation of the meld language. 2010-11-01 21:29:12 +00:00
Vitor Santos Costa
8ca680705d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2010-11-01 21:28:49 +00:00
Vitor Santos Costa
2f3d762f80 display reference count in DBRef. 2010-11-01 21:28:18 +00:00
Vítor Santos Costa
e509d11c2e routines to copy rational terms to tree and vice-versa. 2010-11-01 20:11:28 +00:00
Vítor Santos Costa
a44d847b61 improve writing infinite terms. 2010-11-01 20:10:32 +00:00
Vítor Santos Costa
d1a0cfe21a Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-10-29 14:43:30 +01:00
Vitor Santos Costa
7e90e90239 fixes to number_codes and number_chars. 2010-10-29 10:28:25 +01: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
95acd408e7 support DragonFly BSD (patch from Aleksej Saushev) 2010-10-27 10:11:19 +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
e0aa6ae30a improve low level profiler interface. Still doesn't work too well. 2010-10-26 22:01:29 +01:00
Vitor Santos Costa
a2e6a0157c Use malloc to interfer less with normal memory allocation. 2010-10-26 10:06:45 +01:00
Vitor Santos Costa
b22094283e fix typo. 2010-10-26 10:05:49 +01:00
Vitor Santos Costa
d0cd5f3fa3 fix atom gc to actually recover first atom in the chain. 2010-10-26 10:04:36 +01:00
vsc
312d82816e fix memory allocation (MMAP) for shared LOCAL and GLOBAL in ENV_COPY 2010-10-15 02:06:37 +01:00
vsc
824ff4094c simplify RW locks 2010-10-15 02:05:20 +01:00
vsc
4c343d0762 fix save/restore in multi-process YAPOR. 2010-10-15 01:15:45 +01:00
vsc
fa42de1025 cannot optimise try/retry in the presence of or-parallelism 2010-10-15 01:11:49 +01:00
Vitor Santos Costa
755a57fdbd Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
	C/absmi.c
2010-10-12 23:22:23 +01:00
Vitor Santos Costa
b27a9869bf initialise for 1024 threads (report from Jiefie Ma). 2010-10-12 23:16:51 +01:00
Vitor Santos Costa
80c38081da no need for special procceed instruction. 2010-10-12 22:02:51 +01:00
Vítor Santos Costa
3e6309cc8a fix trace problem 2010-10-11 20:10:12 +01:00
Vitor Santos Costa
fae29012a9 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-10-11 14:46:53 +01:00
Vitor Santos Costa
e5232bc8fc force system to check for overflows at end of procceed for clauses with body. 2010-10-11 14:45:15 +01:00
Vítor Santos Costa
6811ded37b Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-10-08 12:22:06 +01:00
Vítor Santos Costa
c1710974b8 fix bad comparison (Ulrich Neumerkel). 2010-10-08 12:21:49 +01:00
Vitor Santos Costa
3cfe5c74d5 fix div to round correctly (Ulrich's #181). 2010-10-08 10:58:08 +01:00
Vitor Santos Costa
afa0799504 fix error message (Ulrich's #184). 2010-10-08 10:50:23 +01:00
Vitor Santos Costa
9187c658b8 fix very large clause handling 2010-10-08 10:45:50 +01:00
Vítor Santos Costa
e968fe21dd fix bad call to gc when finding very large terms. 2010-09-30 20:09:17 +01:00
Vitor Santos Costa
c50ed643f9 allow atan(X,Y) again. 2010-09-27 22:01:38 +01:00
Vitor Santos Costa
96dd342cbc fix file_base_name (obs from Paulo Moura). 2010-09-24 19:47:05 +01:00
Vitor Santos Costa
99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa
01776c7a48 fixes by David Powers (broadcast and >= 0)
Dion't mess with linger.
2010-09-21 22:27:35 +01:00
Vitor Santos Costa
ea0fbabedd xor can be used for exclusive disj 2010-09-21 22:26:24 +01:00
Vitor Santos Costa
9e3b363bfd xor should not be an operator (Ulrich's #185) 2010-09-21 22:25:47 +01:00
Vitor Santos Costa
8b9cf7dc2a YAP_SetYAP_Flag 2010-08-30 22:25:56 -05:00
Vitor Santos Costa
8f49db480d fix stupid code. 2010-08-30 21:52:11 -05:00
Vitor Santos Costa
d2a4b9d6b6 div operator 2010-08-30 21:51:44 -05:00
Vitor Santos Costa
e4a15cba33 div/2 operators (from WG17 and #176) 2010-08-30 21:50:33 -05:00
Vitor Santos Costa
6e17b2053f fix assembly of table_try_single (report from Paolo Frasconi). 2010-08-19 09:32:35 +01:00
Vitor Santos Costa
ca3177889c improve code in getting restore file. 2010-08-17 13:19:17 +01:00
Vitor Santos Costa
ace9025c10 fix bad messup with program counter (obs from Ingo Molnar).q 2010-08-17 13:02:50 +01:00
Vitor Santos Costa
3e6ce40eb1 indenting cganges 2010-08-17 13:02:28 +01:00
Vitor Santos Costa
7bf8187bba remove atan2 (WG17 UD #175) 2010-08-04 22:09:08 +01:00
Vitor Santos Costa
0449bf1e7f acyclic_term/1 should be builtin(ISO WG17, UD #174). 2010-08-04 21:50:19 +01:00
Vítor Santos Costa
f1977f5dab allow saving and restoring current arguments to/from slots. 2010-08-04 17:36:20 +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
6ee0ce8e48 support missing instructions. 2010-08-04 11:36:10 +01:00
Vítor Santos Costa
28de20262f initialise *all* threads.
support SWI buffers.
2010-08-04 11:35:30 +01:00
Vítor Santos Costa
52c019ec54 cannot hold the lock while getting a char: someone else may be trying to add to the stream. 2010-08-04 11:34:46 +01:00
Vítor Santos Costa
2d425fb7b4 don't go set jumping if in UserCCode. Just say there is an exception. 2010-08-04 11:34:04 +01:00
Vítor Santos Costa
28a27f75da fix first read can-t generate an EOF. 2010-08-04 02:45:31 +01:00
Vítor Santos Costa
91db3beeeb fix missing locking 2010-08-03 21:05:53 +01:00
Vítor Santos Costa
c081d01e78 implement access_file/2 in C 2010-08-03 21:04:16 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
8340ee4cb1 fix CYGWIN compilation 2010-08-03 01:11:13 +01:00
Vítor Santos Costa
388f4fb782 expand C-interface to allow access to common term operations (request from Ingo Molnar). 2010-08-02 19:48:17 +01:00
Vítor Santos Costa
1e737747bf add new instruction 2010-08-02 19:48:01 +01:00
Vítor Santos Costa
ffc094e25f make sure we have enough room before we enter a clause. 2010-08-02 18:20:03 +01:00
Vitor Santos Costa
3d6e223dae support for space reservation (goal: call gc before trying to insert very large terms). 2010-08-02 13:04:30 +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
6834ac544b fix thread creation. 2010-07-30 12:08:00 +01:00
Vitor Santos Costa
8d5aa09e05 fix threaded error handling. 2010-07-30 00:57:46 +01:00
Vitor Santos Costa
3030247064 thread_local should be as dynamic in non-thread mode. 2010-07-28 23:22:24 +01:00
Vítor Santos Costa
0f0065049e compile under thor, check every case. 2010-07-28 17:12:29 +01:00
Vítor Santos Costa
c017bccd1a more locking fixes 2010-07-28 17:12:17 +01:00
Vitor Santos Costa
7b9ab9252c get rid of debugging info. 2010-07-28 11:30:28 +01:00
Vitor Santos Costa
ccb7991a56 should not use PP for thread private
more lock tracing aids.
2010-07-28 11:26:20 +01:00
Vitor Santos Costa
86af6ff3f6 add THOR to threads version. 2010-07-28 00:30:02 +01:00
Vitor Santos Costa
5cd55b0e0e EX changes 2010-07-27 23:29:55 +01:00
Vitor Santos Costa
07907f1839 fix breakage in ball access
fix unnecuessary --ASP (why?)
2010-07-27 23:21:15 +01:00
Vitor Santos Costa
5b7f04b4b6 fix typo. 2010-07-27 23:12:16 +01:00
Vitor Santos Costa
af056dd605 fix tabling to compile with threads+ or-parallelism. 2010-07-27 23:09:17 +01:00
Vítor Santos Costa
18d77309a6 c_inp_stream and friends are thread private! 2010-07-27 17:28:58 +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
08627579fc try to maintain a valid ASP even after a longjmp to top-level 2010-07-27 17:27:47 +01:00
Vítor Santos Costa
2ce4427395 fix bad error handling
unlock new stream
2010-07-26 12:56:17 +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
e031026a62 instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
2010-07-25 11:22:16 +01:00
Vítor Santos Costa
5b6014175e support case where engines have no associated pthread 2010-07-25 11:21:15 +01:00
Vitor Santos Costa
f3b9811ef7 more packages to implement better thread interface. 2010-07-23 15:54:13 +01:00
Vitor Santos Costa
eebff5df6a fixes to YAP C-thread interface. 2010-07-23 12:07:33 +01:00
Vítor Santos Costa
3dd68aa8bd fix EX: it cannot be a term and it should be a placeholder for BallTerm,
so the twp can never be alive at the same time.
2010-07-21 12:49:06 +01:00
Vítor Santos Costa
73c89b096d fix trouble with extension of latin1 characters. 2010-07-21 11:11:19 +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
a7612bb15e fix bad call to subsumes (obs from Jose Santos) 2010-07-21 00:09:24 +01:00
Vitor Santos Costa
a46d6dc9eb fix bad recent patch. 2010-07-20 11:28:56 +01:00
Vitor Santos Costa
18ff860937 fix WIN32 warning 2010-07-20 11:28:45 +01:00
Vitor Santos Costa
8edeead245 fix compilation warnings 2010-07-19 22:42:47 +01:00
Vitor Santos Costa
35c3081c18 fix bad declaration 2010-07-19 22:42:19 +01:00
Vitor Santos Costa
70bd4c78b6 all these predicates are unsafe. 2010-07-19 14:42:22 +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
Vitor Santos Costa
68a1ab6ce7 make sure that we don't have tails of lists with local variables. 2010-07-19 14:39:52 +01:00
Vitor Santos Costa
834e3ed5d0 make arg/3 compatible with SWI for atomic argument (fail silently). 2010-07-19 14:38:17 +01:00
Vitor Santos Costa
6183ff0282 semweb and http compile now (but they don't work properly yet). 2010-07-15 23:35:37 +01:00
Vitor Santos Costa
a45105ee04 export wide atoms and add a little comment.y 2010-07-15 17:46:52 +01:00
Vitor Santos Costa
b2184ecb00 term export and import routines 2010-07-15 17:19:37 +01:00
Vitor Santos Costa
c15b20e9af improve portability 2010-07-14 00:17:14 +01:00
Vítor Santos Costa
ecce575a0a fix stack calculation (ricardo rocha) 2010-07-06 15:31:17 +01:00
Vitor Santos Costa
8690fb8ca0 make clp(bn) work again. 2010-06-30 17:54:58 +02:00
Vitor Santos Costa
8cab19c6b1 fix bad recovery of thread locals (report from Jiefie Ma). 2010-06-30 17:50:28 +02: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
d100e697a3 fix debugging message 2010-06-23 11:45:44 +01:00
Vítor Santos Costa
2d6fc978e4 fix for threading initialization 2010-06-19 14:38:04 +01:00
Vítor Santos Costa
a906bd58d6 remove debugging info 2010-06-19 14:37:07 +01:00
Vítor Santos Costa
bd50f087e9 imore SWI compat, including string fixes 2010-06-19 00:38:49 +01:00
Vítor Santos Costa
d1d149b9fd support for PL_ mpz and mpq ops
add missing atom_nchars
2010-06-18 23:24:36 +01:00
Vitor Santos Costa
5b047b516b first attempt at error handling 2010-06-18 10:30:23 +01:00
Vítor Santos Costa
0ccb607f19 FIX: initslots could destroy environment 2010-06-18 00:25:24 +01:00
Vítor Santos Costa
cf90ace3e1 signal handling SWI style. 2010-06-17 08:20:34 +01:00
Vítor Santos Costa
c56ad7a80d fix NStringToList 2010-06-17 00:29:46 +01:00
Vítor Santos Costa
6e67a84ab0 shared_object routines support: SWI compatibility and more flexibility. 2010-06-17 00:29:01 +01:00
Vítor Santos Costa
c7c4bd151c open_shared_objects flag 2010-06-14 22:43:15 +01:00
Vítor Santos Costa
de336d7ffe handle NULL pointer case. 2010-06-14 09:27:48 +01:00
Vítor Santos Costa
e6371c2e0b beautification 2010-06-14 09:27:23 +01:00
Vítor Santos Costa
0718f3e08d USE_THREADS->THREADS 2010-06-08 10:40:55 +01:00
Vítor Santos Costa
05a20e26f3 make sure we return correct code in YAP_Boot 2010-06-06 23:03:59 +01:00
Vítor Santos Costa
e9545be0d0 remove unused code. 2010-06-05 00:49:09 +01:00
Vítor Santos Costa
ab84319604 compile without gmp 2010-06-01 01:07:36 +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
293dadb003 support for rational numbers
make floor and friends return an integer (make it closer to SICStus).
2010-05-28 09:53:56 +01:00