Commit Graph

723 Commits

Author SHA1 Message Date
Vitor Santos Costa 7c86b244b9 patches from Keri Harris 2010-12-30 22:14:45 -06:00
Vitor Santos Costa d64af810da force wakeups before ! 2010-12-29 09:29:42 -06: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 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 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
Vitor Santos Costa bd6da9dd40 fix reconsult of multifile predicates (static). 2010-12-15 00:06:14 +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 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 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 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
Vitor Santos Costa b02507ed22 fix 32 bit atoms to ensure alignment at 8 bytes (broken with blobs). 2010-12-02 11:49:58 +00:00
Vitor Santos Costa 7b6f330bd3 improve blob support (but just skeleton). 2010-11-29 23:17:06 +00:00
Vítor Santos Costa 2a8854094b halt_hooks should not be in save/restore, this will cause trouble. 2010-11-29 18:08:29 +00: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 d0cd5f3fa3 fix atom gc to actually recover first atom in the chain. 2010-10-26 10:04:36 +01:00
Vitor Santos Costa 9770904f6f update version to next stable 2010-10-18 09:17:12 +01:00
Vitor Santos Costa 6ab7987c69 be stricter about what is an attributed variable: the previous definition allowed confusion if there was garbage in the local stack. 2010-10-15 13:14:37 +01:00
Vitor Santos Costa 45ce3a83ef allow low level locking in OSX. 2010-10-15 13:14:24 +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 72b8334358 imake predicates parallel by default. 2010-10-15 02:04:50 +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
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 61d99731c8 avoid recursion on very deep sequences of static indices. 2010-10-07 18:14:55 +01:00
Vitor Santos Costa 99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa e4a15cba33 div/2 operators (from WG17 and #176) 2010-08-30 21:50:33 -05:00
Vítor Santos Costa 8592db72d7 start 6.0.7 2010-08-04 20:29:24 +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
Charlie d62d88731d NetBSD also exists. 2010-08-03 01:47:56 +01:00
Charlie fd64559643 NetBSD compilation 2010-08-02 22:41:32 +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 473fd5516d small fix to Osbmp type instructions. 2010-08-02 19:47:29 +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 30caf35bff fix bad overflow handling in == 2010-07-29 22:36:30 +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 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 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
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