Commit Graph

174 Commits

Author SHA1 Message Date
Vitor Santos Costa
69f1bedf47 copy error routines from SWI. That was easy. 2011-07-25 23:52:05 +01:00
Vitor Santos Costa
beffc7b69d fix missing CONST 2011-07-25 00:57:35 -07:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
f6be2ed08d support interface to foreign objects that have a backtrack handler. 2011-07-22 04:09:33 -07:00
Vitor Santos Costa
a1d903e3e9 external term support. 2011-07-21 06:32:49 -07:00
Vitor Santos Costa
6b6276a4d3 patch to make YAP_cut_succeed() and YAP_cut_fail() safe to use as statements (from, Denys Duchier). 2011-07-21 04:18:35 -07:00
Vítor Santos Costa
14bdc262df export TermToStream 2011-05-25 13:10:39 +01:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vítor Santos Costa
6b5046bb8c use external modules. 2011-03-15 16:22:56 +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
7f44012266 upgrade to new version of clib 2011-03-10 11:06:13 +00:00
Vítor Santos Costa
d0465f0d7d use SWI code directly. 2011-03-09 23:20:37 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
53137a2502 fix PROTO problem. 2011-03-08 00:03:07 +00:00
Vítor Santos Costa
da1df3d851 more cleanups. 2011-03-02 23:19:39 +00:00
ubu32
3f6b92de4b enable compilation with multi-threading. 2011-02-27 15:06:10 -08:00
ubu32
3c261305db interface to rationals. 2011-02-27 02:13:25 -08:00
Vitor Santos Costa
dce619f804 compile readline. 2011-02-16 00:23:58 +00:00
Vítor Santos Costa
1c3188e304 make sure gmp is always included (patch from Nuno FOnseca). 2011-02-15 21:20:14 +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
4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
Vitor Santos Costa
2451a052cb use text routines from current SWI fli. 2011-02-12 00:17:59 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vitor Santos Costa
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a4a1feeacc improve SWI emulation in WIN32. 2011-02-03 11:23:12 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +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
Vitor Santos Costa
8290341a5f fix typo 2010-12-05 00:07:22 +00:00
Vítor Santos Costa
8db05c883b make sure we separate betwen async exceptions and synchroneous. 2010-12-04 19:05:13 +00:00
Vitor Santos Costa
7b6f330bd3 improve blob support (but just skeleton). 2010-11-29 23:17:06 +00:00
Vitor Santos Costa
69cde79ba6 PL_malloc and friends should call malloc, not Yap_Alloc 2010-11-24 08:44:03 +00:00
Vitor Santos Costa
99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa
8b9cf7dc2a YAP_SetYAP_Flag 2010-08-30 22:25:56 -05: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
388f4fb782 expand C-interface to allow access to common term operations (request from Ingo Molnar). 2010-08-02 19:48:17 +01:00
Vitor Santos Costa
f3b9811ef7 more packages to implement better thread interface. 2010-07-23 15:54:13 +01:00
Vítor Santos Costa
1f3455a656 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
	include/SWI-Prolog.h
2010-07-21 09:44:18 +01:00
Vítor Santos Costa
90f7504a76 make swi-yap io interface a structure. 2010-07-21 09:39:49 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
63f891ae40 work around iob problems 2010-07-20 22:55:27 +01:00
Vitor Santos Costa
bbc67cca67 fix numbering scheme for functors. 2010-07-19 14:45:11 +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
Vítor Santos Costa
b21603ac89 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-07-05 16:01:10 +01:00
Vítor Santos Costa
9413872467 fix get_atom_nchars (obs from Roberto Bagnara) 2010-07-05 16:00:12 +01:00
Vitor Santos Costa
8f8ba6221e add SWI's PL_get_string 2010-06-30 17:54:02 +02:00
Vítor Santos Costa
d22cb9b6ab new interface pedicates
fixes to bad implementation.
2010-06-23 11:44:21 +01:00
Vítor Santos Costa
d3f52d3f61 fix SWI to be able to include gmp.h 2010-06-19 14:36:12 +01:00
Vítor Santos Costa
b2d59d6c43 make sure gmp.h is included 2010-06-19 08:20:25 +01:00
Vítor Santos Costa
bd50f087e9 imore SWI compat, including string fixes 2010-06-19 00:38:49 +01:00