Commit Graph

200 Commits

Author SHA1 Message Date
Vitor Santos Costa 41c2d856a7 cleanup dead flags 2013-11-13 13:28:43 +00:00
Vitor Santos Costa 9d34ac34ff clean up unbounded 2013-11-13 13:01:11 +00:00
Vitor Santos Costa 220970db6d more integration and cleanup work: allow irect access from YAP to swi global and local, to
check flags quickly.
2013-11-13 12:57:52 +00:00
Vitor Santos Costa 4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa 6f9b8bfca8 fix bad instruction format 2013-11-01 08:26:06 +00:00
Vitor Santos Costa 609f6fc440 allow yser code error handling 2013-10-03 11:24:59 +01:00
vsc c21b5bef3c fix PRISM xompiltaion in 32 bits 2013-09-04 05:05:01 -05:00
Vitor Santos Costa 923be33404 speedup between
more exo stuff.
2013-04-30 15:23:01 -05:00
Vitor Santos Costa 33da88be5b fix SWI exec issues and try to clean up the code a bit 2013-02-05 14:22:17 +00:00
Vítor Santos Costa 8971f37232 start 6.3.4. 2013-01-20 19:28:33 +00:00
Vítor Santos Costa 1bd2224377 update version 2013-01-20 17:16:34 +00:00
Vitor Santos Costa 7e3db0f75c improve error handling for qload 2013-01-18 14:29:41 +00:00
Vitor Santos Costa e85e76cd57 update to newer pl-file.c and pl-write.c. 2013-01-15 16:51:55 +00:00
Vitor Santos Costa a309f47794 MT support in win32 2012-12-20 21:13:20 +00:00
Vitor Santos Costa e41f821d67 improve multi-threading support from C-interface. Still not quite there. 2012-12-11 22:07:10 +00:00
Vitor Santos Costa b34c8b1b2c try to improve slot allocation. 2012-12-10 12:14:24 +00:00
Vítor Santos Costa 70bde4d38f inline extern patch by Denys Duchier 2012-06-29 22:44:08 +01:00
Vitor Santos Costa 39f392be9c allow finer control over indexing sub-terms.
improve flag code a bit.
2012-06-01 13:16:29 +01:00
Vitor Santos Costa 6c36a8ccd3 make it easier for outside packages to link with YAP innards. 2012-05-14 15:06:18 +01:00
U-WIN-UA9ACS5GS9N\vitor 19807d46f7 WIN32 and CYGWIN fixes. 2012-04-18 14:14:56 -05:00
Vítor Santos Costa 36acb5f897 fix profiling support. 2012-03-09 11:46:34 +00:00
Vítor Santos Costa 3e4a2c6767 improve handling of recursive writes, catch exceptions. 2012-03-07 23:52:15 +00:00
Vítor Santos Costa 0f10f4332e improve ˆC handling (still needs work). 2012-03-03 21:46:07 +00:00
Vítor Santos Costa fc4edc3ad1 update version. 2012-02-13 19:30:00 +00:00
Vítor Santos Costa aab98180c5 garbage collection support for opaque variables 2011-12-13 10:01:51 +00:00
Vítor Santos Costa b85f9d1d54 use new interface code. 2011-11-03 07:53:49 +09:00
Vítor Santos Costa 48bfaa1ce1 move to 6.3.1 2011-10-22 10:25:04 +01:00
Vitor Santos Costa 49dc19c53b can't trust mmap in OSX: it runs all over allocated memory. 2011-09-04 19:26:19 +02:00
Vitor Santos Costa e5a62a8843 CloseSlots should work even if the stack doesn't have a slot on top. 2011-08-31 13:56:32 -07:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa a06586ad22 make more slot ops inline. 2011-07-27 16:31:10 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa 5437984815 Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-26 17:07:10 +01:00
Vitor Santos Costa 78d8487156 fix for OSX Lion. 2011-07-25 23:50:50 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa 840e287cda mode changes 2011-07-25 17:09:28 +01:00
ubu32 11a74236dc fix slots: have slots ready at init, even if we don't have a Prolog top-level;
don't get lost after pruning.
2011-07-11 22:12:32 -07:00
Ricardo Rocha e1fdbd7537 fix incompatibilities with string patch 2011-06-21 16:53:17 +01:00
Joao 77171d4179 fix Yap debug. 2011-06-20 14:49:24 +01:00
Vitor Santos Costa 2bc9f6093c type error for string 2011-06-13 01:42:32 +01:00
Ricardo Rocha d601ba9caf fix yapor memory allocation 2011-06-02 17:01:00 +01:00
Joao 971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao 8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao ebd0e8a7c0 change global_optyap_data macros to GLOBAL_. 2011-05-10 11:47:18 +01:00
Joao 274de7652f fix error messages in configure file. 2011-04-18 14:59:17 +01:00
Joao 2bef030634 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	packages/YapR
2011-04-15 15:23:10 +01:00
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
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 d6640260cc remove MAX_AGENTS 2011-03-24 17:07:01 +00:00
Vítor Santos Costa 926e720561 Int should be enough. 2011-03-14 20:39:01 +00:00
Vitor Santos Costa 8ee0724524 set version number. 2011-03-07 22:26:28 +00: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 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
Vitor Santos Costa 7c86b244b9 patches from Keri Harris 2010-12-30 22:14:45 -06:00
Vitor Santos Costa 6e2947e8c4 avoid _longjmp 2010-12-16 01:22: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
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 9770904f6f update version to next stable 2010-10-18 09:17:12 +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
Vitor Santos Costa b27a9869bf initialise for 1024 threads (report from Jiefie Ma). 2010-10-12 23:16:51 +01:00
Vítor Santos Costa 8592db72d7 start 6.0.7 2010-08-04 20:29:24 +01:00
Charlie d62d88731d NetBSD also exists. 2010-08-03 01:47:56 +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
Vitor Santos Costa eebff5df6a fixes to YAP C-thread interface. 2010-07-23 12:07:33 +01:00
Vitor Santos Costa 0ca38f0b57 amd64 locking does not work 2010-06-19 22:24:41 +01:00
Vítor Santos Costa 2d6fc978e4 fix for threading initialization 2010-06-19 14:38:04 +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
Vitor Santos Costa a4344f5bf6 move to 6.0.6 2010-05-11 22:22:13 +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 11641c5f94 64 bit cleanups. 2010-05-06 15:00:44 +01:00
Vitor Santos Costa 950144a63f more experiments with format 2010-05-05 00:38:46 +01:00
Vitor Santos Costa 1a53fdc757 try to support size independent printf 2010-05-05 00:27:00 +01:00
Vítor Santos Costa II 23d01fc7a6 version 6.0.5 2010-05-01 12:20:28 +01:00
Ricardo Rocha c221c2ff85 renaming some OPTYap files in order to have a more consistent name organization 2010-04-19 02:34:08 +01:00
Vitor Santos Costa 0c28e58dd4 do not randomise initial address. 2010-03-22 00:11:54 +00:00
Vitor Santos Costa d5e1ff38f4 new interface to access globals. They are not in a file called GLOBALS, from which
we generate several files automatically.
2010-03-21 22:12:42 +00:00
Vitor Santos Costa 1245c85ba1 move to version 6.0.4 2010-03-16 01:16:36 +00:00
Vitor Santos Costa 50b692d2c1 change release to 6.0.3 2010-03-04 09:13:06 +00:00
Vitor Santos Costa 145e66063b inc version to 6.0.2 2010-03-01 23:06:25 +00:00
Vitor Santos Costa 7037b38fa7 make nb_ undefined variable return an error, as SWI does. 2010-02-28 00:57:29 +00:00
Vitor Santos Costa 0bdea36358 6.0.1 2010-02-27 10:11:32 +00:00
Vitor Santos Costa ad3bf0b178 pthread_locking is required for CYGWIN and Mac. 2010-01-22 22:30:43 +00:00
Vítor Manuel de Morais Santos Costa 3a0179ca9d fix XOPEN_SOURCE complaint. 2010-01-21 15:05:30 +00:00
Vítor Manuel de Morais Santos Costa 5ef31fbfd2 experiment in or-parallel threads. 2010-01-14 15:58:19 +00:00
Vitor Santos Costa 9cbdf8f57e tiny cleanups. 2009-11-18 23:36:07 +00:00
Vitor Santos Costa 6c887452e6 allow randomization of initial address, this enables testing restore routine. 2009-11-18 23:32:00 +00:00
Vitor Santos Costa 253444d7ca support parms.h
pass argv[0]
2009-10-23 09:09:16 +01:00
Vitor Santos Costa 0f99e336cc YAPVERSION 2009-10-21 00:20:18 +01:00
Vítor Manuel de Morais Santos Costa 463348bb2f fix memory collision in allocatng mmap 2009-10-16 08:09:22 +01:00