Commit Graph

241 Commits

Author SHA1 Message Date
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00
Vítor Santos Costa
3edb01f5f7 more reflection updates 2013-11-26 10:40:00 +01:00
Vítor Santos Costa
acea59a82a avoid \! 2013-11-25 12:16:36 +01:00
Vítor Santos Costa
ed2ecb29e7 exten support and small fixes 2013-11-25 12:15:03 +01:00
Vitor Santos Costa
de606255bb extend blob interface 2013-11-22 15:16:54 +00:00
Vitor Santos Costa
7c48eb8ff7 move call_structure where it cannot be messed up by stack shifter 2013-11-21 21:59:14 +00:00
Vítor Santos Costa
f1f64bf25c printwarning 2013-11-21 00:22:03 +00:00
Vitor Santos Costa
d75e6b56e5 handles in SWI and changes in exports 2013-11-20 22:29:51 +00:00
Vítor Santos Costa
b76be1b33f support for quasi quotations, requires more integration with SWI code. 2013-11-18 12:57:09 +00:00
Vítor Santos Costa
84bd55df0d continue cleanup 2013-11-16 00:27:02 +00:00
Vitor Santos Costa
9eb07a8c8a more cleanups 2013-11-15 15:45:55 +00:00
Vitor Santos Costa
4e4f21e1dc upgrade to latest swi 2013-11-15 01:10:25 +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
Vitor Santos Costa
153794e14b support win32 2013-11-11 00:28:38 +00:00
Vítor Santos Costa
6793a1f83b fix thread-only compilation 2013-11-04 21:41:49 +00:00
U-w7\vsc
f2b90a1bb0 improve thread signal support, still far from good 2013-11-04 15:31:26 +00:00
Vitor Santos Costa
96611027f3 SWI likes nth/4 2013-10-29 12:41:56 +00:00
Vítor Santos Costa
691e977a68 cuda fixes by Carlos and other diverse (fact init, configure). 2013-10-12 12:46:01 +01:00
Vitor Santos Costa
43163a190f Atom Translations and CUDA stub 2013-10-04 13:22:00 +01:00
Vítor Santos Costa
6966d23195 fix P details when creating execution environment: we should save the old one 2013-09-08 22:24:09 +01:00
Vítor Santos Costa
4c148cc0d3 fix bad setup of goal (SWI emulatin for JPL, Sergio Castro) 2013-09-07 01:03:27 +01:00
Vítor Santos Costa
44dccc00bb fix exception passing from SWI 2013-06-20 12:11:29 -05:00
Vítor Santos Costa
b88dcb86ab fix tid lookup 2013-03-10 16:44:46 -05:00
Vitor Santos Costa
7f758cf103 SWI expects thread IDs to be like addresses 2013-03-10 16:39:54 +00:00
Vitor Santos Costa
d59afea65e fix determinacy 2013-03-05 15:46:40 -06:00
Vitor Santos Costa
9f49512497 make SWI exec safer 2013-02-06 00:17:09 +00: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
Vitor Santos Costa
e87a4f4f56 handle exec flags 2013-01-18 14:26:24 +00:00
Vitor Santos Costa
e7da973009 FreeBSD support by mei 2013-01-17 12:59:52 +00:00
Vitor Santos Costa
33714b14b9 atom completion in readline 2013-01-17 12:43:01 +00:00
Vitor Santos Costa
7407ecb60c SWI extension including write variable_names 2013-01-17 00:17:02 +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
84b0529060 improve prism compatibility (fix asia). 2012-12-14 08:26:56 +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
Vítor Santos Costa
2a737fe22b small speedups 2012-11-05 13:49:49 +00:00
Vitor Santos Costa
06051f05fb fix swi interface. 2012-10-28 18:21:11 +00:00
Vitor Santos Costa
3f6e56eb82 fix overflow in SWI interface code. 2012-10-09 16:30:18 +01:00
Vitor Santos Costa
b0ddda1fde fix PL_is_list 2012-10-08 18:26:40 +01:00
Vitor Santos Costa
55f28a75ab be a bit more careful saving state. 2012-09-26 22:07:47 +01:00
Vítor Santos Costa
419bd2b219 Fix WriteBuffer and add WriteDynamicBuffer 2012-09-18 23:07:32 +01:00
Vítor Santos Costa
8d779f68ea fix writebuffer interface 2012-09-08 00:12:38 +02:00
Denys Duchier
97163fa150 place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same. 2012-06-30 20:42:14 +02:00
Vítor Santos Costa
70bde4d38f inline extern patch by Denys Duchier 2012-06-29 22:44:08 +01:00
Vitor Santos Costa
5989af937b MT support in mingw win32. 2012-06-29 15:38:49 -05:00
Vitor Santos Costa
a9d1bd788e improve SWI console 2012-06-22 03:56:01 -05:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vítor Santos Costa
c3e3b0b50f fix term_to_atom/2. 2012-05-02 23:38:04 +01:00
Ricardo Rocha
42631bcc71 missing cache regs 2012-04-23 18:57:10 +01:00
Vítor Santos Costa
a9434aed37 more gc changes. 2012-04-20 23:45:16 +02:00
Vítor Santos Costa
fac8af303d fix call to gc. 2012-04-18 00:57:43 +02:00
Vítor Santos Costa
88cc8a0bdb predicate options. 2012-02-13 09:39:09 +00:00
Vítor Santos Costa
795a958090 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-02-12 12:29:00 +00:00
Vítor Santos Costa
ea18699602 JPL support patches. 2012-02-12 12:28:37 +00:00
João Santos
21522ce151 CACHE_REGS 2012-02-07 15:18:43 +00:00
Vítor Santos Costa
6eea1fe1ea fixes for export_term and friends. 2012-02-02 23:25:09 +00:00
Vitor Santos Costa
db619fa81f protect atoms in SWI interface. 2012-01-17 12:37:29 +00:00
Vítor Santos Costa
f2dc53a53e atoms passed through the SWI interface must always have a hold. 2012-01-15 11:21:38 -06:00
Vitor Santos Costa
d3c7800ab4 support PL_skip_list and PL_unify_bool. 2012-01-09 23:29:31 +00:00
Vitor Santos Costa
f632bc72bc comment out debugging codes. 2012-01-09 23:27:22 +00:00
Vítor Santos Costa
551df1c70a handle blob overflows. 2011-12-22 10:27:56 +00:00
Vítor Santos Costa
ee4ad9ffd0 ifix warnings. 2011-11-30 13:05:44 +00:00
Vítor Santos Costa
7b6d26b014 fix thread stuff. 2011-11-16 15:20:21 +00:00
Vítor Santos Costa
02a8b35e36 improve action rules compilation. 2011-11-10 12:27:07 +00:00
Vítor Santos Costa
1d2de81e86 update bprolog emulation stuff. 2011-11-03 07:54:51 +09:00
Vítor Santos Costa
51bcb1f5a3 handle PL_unify_int64 without bigint when number is small enough. 2011-11-03 07:45:51 +09:00
Vítor Santos Costa
1769fc7313 bprolog support 2011-10-27 12:38:22 +02:00
Vítor Santos Costa
73dd81478f B-Prolog suppoty. 2011-10-24 22:47:42 +01:00
Vítor Santos Costa
f6cc9578ae first cut at emulation for BP C-interface. 2011-10-24 22:44:41 +01: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
U-WIN-U2045GN0RNQ\Vítor Santos Costa
0e2da3c3e0 fix version info 2011-08-18 22:32:59 +01:00
Vitor Santos Costa
d51a89c815 fix time routines 2011-08-16 13:31:59 +00:00
Vitor Santos Costa
a83546e313 fixes to have windows version of yap. 2011-07-26 23:32:38 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
a516d6ad47 more SWI stuff. 2011-06-14 09:04:03 +01:00
U-WIN-ENP104VVO3U\Vítor Santos Costa
029bf6e400 improve error message. 2011-06-06 12:27:45 +01:00
Vítor Santos Costa
791106aa05 these two now include SWI-Stream in Yap.h, so they need PL_KERNEL defined before Yap.h. 2011-05-27 11:49:42 +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
ab63cd190b LOCALS and GLOBALS are now generated by misc/buildlocalglobal. 2011-05-11 18:22:58 +01:00
Joao
676dd26c90 change macros in misc/GLOBALS to GLOBAL_. 2011-05-10 10:06:51 +01:00
Ricardo Rocha
026616963c remove FOREIGN_ macros and use REMOTE_ instead 2011-05-09 20:19:49 +01:00
Ricardo Rocha
a532b6cff3 struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS) 2011-05-09 19:36:51 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vitor Santos Costa
9c3d6a187d debugging cleanups
actually use readline flag.
2011-03-26 15:45:42 +00:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vitor Santos Costa
ca952a4eac include R package. 2011-03-19 15:29:06 +00:00
Vítor Santos Costa
dcccf3aa85 catch null access. 2011-03-16 00:15:15 +00:00
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +00:00
Vítor Santos Costa
839d612367 improve SWI predicate calling: fix bug in non-deterministic calls. 2011-03-14 20:54:19 +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
Vitor Santos Costa
5418f55d74 fix pl-tai 2011-03-09 13:05:03 +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
73541f506f get rid of old SWI emulation stuff. 2011-03-01 10:41:06 +00:00
ubu32
3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
ubu32
f2e8f2ac2e more fixes for bignum support in PLStream. 2011-02-27 03:40:27 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vitor Santos Costa
0614a8c26e readline fixes 2011-02-16 21:11:45 +00:00