Commit Graph

846 Commits

Author SHA1 Message Date
Vítor Santos Costa 5488a9bccf for now go back to old tabling trailing
update YapR
2011-04-15 10:48:24 +01:00
Joao 4d537f1536 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	H/Yap.h
	packages/YapR
2011-04-14 20:00:35 +01:00
Joao b6e0a64e56 fix memory allocation for YapOR 2011-04-14 19:19:13 +01:00
Vítor Santos Costa 8fb8aec9bf MULTIPLE_STACKS - or-parallelism/threads/tabling
YAPOR_THREADS - threads with or-parallelism
make tabling require reference counting for dynamic predicates.
2011-04-14 18:51:11 +01:00
Vítor Santos Costa b11a3f894c make sure to initialise both fields in trail entry (helpful for valgrind). 2011-04-13 14:49:03 +01:00
Vítor Santos Costa bb9552f6f6 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-04-13 14:29:45 +01:00
Joao de8518cf15 change optyap_global_data to global_optyap_data 2011-04-07 16:30:56 +01:00
Joao 9ab6f7ad36 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-04-07 16:04:19 +01:00
Vítor Santos Costa d1327dba9c memcpy does not cope well with overlapped segments. 2011-04-05 10:01:34 +01:00
Vítor Santos Costa 4ed9df43ac remove Yap_InitPlIO (unused). 2011-04-04 13:55:39 +01:00
Vitor Santos Costa 417fb5c52c includ e6.2 changes for globals. 2011-04-04 13:20:35 +01:00
Joao 27d3399768 rename YAPOR files in OPTYAP 2011-03-31 14:50:47 +01:00
Joao 662658986a chnage define ACOW to YAPOR_COW 2011-03-30 16:39:09 +01:00
Joao 3e148c3541 change define SBA to YAPOR_SBA 2011-03-30 15:32:59 +01:00
Joao 810c96416b change define ENV_COPY to YAPOR_COPY 2011-03-30 14:35:10 +01:00
Joao f890a11377 change macros GLOBAL to Yap 2011-03-29 18:19:18 +01:00
Joao 1cede1f4d6 change struct worker_share to global_data
change struct global_data to optyap_global_data
chnage field global in struct worker_share to optyap_global
2011-03-25 18:01:17 +00:00
Joao 6b48f8949f change macro FOREIGN_WL to FOREIGN 2011-03-25 15:21:02 +00:00
Joao d6640260cc remove MAX_AGENTS 2011-03-24 17:07:01 +00:00
Vítor Santos Costa 0352410666 support separate file for LOCALS 2011-03-24 10:25:02 +00:00
Vítor Santos Costa 0ffe3fa6a5 break GLOBALS into GLOBALS+LOCALS 2011-03-23 16:45:47 +00:00
Vítor Santos Costa 973fb57ab8 fix yapor 2011-03-22 16:58:31 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa 1a7561c609 fix reinit and improve performance for cut predicates. 2011-03-22 11:07:49 +00:00
U-WIN-ENP104VVO3U\Vítor Santos Costa 7670ce631b WIN32 patches 2011-03-21 17:07:58 +00:00
Vitor Santos Costa 2fb880b64a fix bad tests for attributed variable, and use a better name for Quick Test. 2011-03-19 10:25:23 +00:00
Vítor Santos Costa 0d8aed7971 new implementation of corourining... 2011-03-18 19:34:58 +00:00
Vítor Santos Costa 36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa 926e720561 Int should be enough. 2011-03-14 20:39:01 +00:00
Vítor Santos Costa 0d6be2d858 improve string support
fix non-thread compilation.
2011-03-11 23:21:23 +00:00
Vítor Santos Costa e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa e4275b6361 first support for restoring blobs. 2011-03-08 00:22:32 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
Vitor Santos Costa 8ee0724524 set version number. 2011-03-07 22:26:28 +00:00
ubu32 e98ba46ccb make new code work in 32 bit Linux. 2011-03-07 08:34:20 -08:00
ubu32 bef041a268 small updates 2011-03-07 08:08:07 -08:00
Vítor Santos Costa 90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa 9c3041f1e3 support copying registers in SWI code. 2011-03-03 11:41:21 +00:00
Vítor Santos Costa da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
Vítor Santos Costa b868d85ac8 make rl not deadlock under SIGINT 2011-03-01 12:31:19 +00:00
Vítor Santos Costa 73541f506f get rid of old SWI emulation stuff. 2011-03-01 10:41:06 +00:00
Vítor Santos Costa cce6bb6354 LD should be local to threads.
get rid of write_depth on YAP side.
2011-03-01 10:26:25 +00:00
ubu32 3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
Vitor Santos Costa 4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa 145b9c1b4a fix stream access. 2011-02-15 22:22:10 +00:00
Vítor Santos Costa a40987b70d ifixes to support 64 bits:
- protect registers before calling prune()
- use Int, not int.
2011-02-15 18:14:18 +00: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 67d23051c2 fix pruning to handle backtrackable C-predicates in a much nicer way. 2011-02-14 11:29:20 -08:00
ubu32 1717b113b3 cut should know about environment size. 2011-02-14 06:57:16 -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 6617a63b7e attempt to improve error handliong in SWI emulation. 2011-02-11 14:17:27 +00:00
Vitor Santos Costa 232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
Vítor Santos Costa 54507703fe Merge branch 'master' of ../yap-6.2 2011-02-08 21:05:12 +00:00
Vítor Santos Costa 8496d1979b Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2011-02-08 21:02:41 +00:00
Vítor Santos Costa d0a5571900 trace the total number of choice-points created in profiling mode. 2011-02-08 21:02:10 +00:00
Vitor Santos Costa 94bdda200f make sure we have NULL pointers 2011-02-04 01:41:01 +00:00
Vitor Santos Costa 9bdc7ca96e get rid of references to freed code. 2011-02-04 01:23:01 +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 a9587b5e3d restore and agc of recorded terms
overflows in recorded.
2011-01-02 21:16:29 -06:00
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 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 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
Vitor Santos Costa bd6da9dd40 fix reconsult of multifile predicates (static). 2010-12-15 00:06:14 +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 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 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 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
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 10a3d52de0 Merge ../yap-6.2 2010-11-29 23:17:49 +00:00
Vitor Santos Costa 7b6f330bd3 improve blob support (but just skeleton). 2010-11-29 23:17:06 +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 2a8854094b halt_hooks should not be in save/restore, this will cause trouble. 2010-11-29 18:08:29 +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
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