Commit Graph

4332 Commits

Author SHA1 Message Date
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +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
Theofrastos Mantadelis
a442d888de Newest ProbLog version 2010-12-16 14:30:50 +01:00
Vitor Santos Costa
9a45897308 fix _longjmp 2010-12-16 01:31:19 +00:00
Vitor Santos Costa
7ad5bc0214 include amasm.c 2010-12-16 01:30:05 +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
Vítor Santos Costa
d1665c7462 improve checking for _setjmp, I hope. 2010-12-15 12:47:21 +00:00
Vítor Santos Costa
1ca5c92469 fix goal expansion for with_output_to in SWI mode (obs from Roberto Bagnara). 2010-12-15 12:08:26 +00:00
Vitor Santos Costa
bd6da9dd40 fix reconsult of multifile predicates (static). 2010-12-15 00:06:14 +00:00
Vitor Santos Costa
68539ab1e0 make sure with_output_to argument is not rewritten. 2010-12-14 23:46:17 +00:00
Vítor Santos Costa
828f8b07f7 make YAP more compatible with SWI by going inside 0 arguments (obs from Roberto). 2010-12-14 12:39:24 +00:00
Vítor Santos Costa
57aafe5d23 don't use with_output_to/2 from PLStream: it gets confused by whose stdout it should write to. 2010-12-14 12:04:44 +00:00
Vítor Santos Costa
628ae12d15 ifix warning message. 2010-12-14 12:04:33 +00:00
Vítor Santos Costa
eb82f5fa2a more fixes to recursive call execution and backtracking from within C-mode.
semweb java example now working.
2010-12-14 09:30:40 +00:00
Vítor Santos Costa
666ef1877d itry to respect SWI semantics on expand_goal/2. 2010-12-13 22:03:54 +00:00
Vítor Santos Costa
eec588f488 distribute goal_Expansion over comma 2010-12-13 21:33:43 +00:00
Vítor Santos Costa
f89f7e8e98 PL_set_engine should always return a sensible answer, even if multi-threading is not on. 2010-12-13 21:07:35 +00:00
Vítor Santos Costa
3933ee4053 fix slot initialization problem. 2010-12-13 20:39:12 +00:00
Vítor Santos Costa
9f8f8ee73e fix missing cut (obs from Bernd). 2010-12-13 19:35:16 +00:00
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +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
7c2c3febe5 checker should be called after preprocessing (obs from Roberto Bagnara). 2010-12-12 19:19:49 +00:00
Vítor Santos Costa
51e9cb14a7 nl should be in the SWI IO (obs from Roberto Bagnara). 2010-12-12 19:07:24 +00:00
Vítor Santos Costa
2d1ece71c8 iget rid of message. 2010-12-12 19:05:49 +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
b0e44bc276 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-12-12 16:46:12 +00:00
Vítor Santos Costa
378035a4b0 fix bad marking of dbterms (obs from Ines Dutra). 2010-12-12 16:45:39 +00:00
Paulo Moura
76ee19ab59 Corrected the meta_predicate/1 directive for the built-in tabling predicate tabling_mode/2. 2010-12-09 18:21:26 +00:00
Vítor Santos Costa
e7f5c50707 fix restore foreign functions 2010-12-07 18:21:10 +00:00
Vítor Santos Costa
1bbded5ef7 memfiles need swi compat streams. 2010-12-07 18:20:45 +00:00
Vítor Santos Costa
c08e99a77c fix mapnodes/2 (obs from Ingo Molnar). 2010-12-07 17:50:51 +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
1deb6d2663 fix order at boot 2010-12-06 20:15:05 +00:00
Vítor Santos Costa
c085e68529 document YAP_Throw 2010-12-06 20:14:51 +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
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
268a378ba0 fix p(X) :- once((X, write(yippee), nl)). (obs from Gerlof Bouma). 2010-12-03 15:14:00 +00:00
Vítor Santos Costa
552d424ee0 debugger should use the same code that system uses to find undefined predicates. 2010-12-03 12:40:30 +00:00
Vítor Santos Costa
f8806bed9f explicitely link pthreads in clib. 2010-12-03 12:12:15 +00:00
Vítor Santos Costa
2f6733e37a add expand_file_name/2 2010-12-02 19:57:55 +00:00
Vítor Santos Costa
af6bf40985 fix SWI functor handling to work with 32 bits. (for now) 2010-12-02 19:41:48 +00:00
Vítor Santos Costa
2713ac27b6 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
	library/dialect/swi/fli/swi.h
2010-12-02 19:38:15 +00:00
Vítor Santos Costa
f03f353722 make swi functors more robust to confusion with atoms. 2010-12-02 19:25:10 +00:00
Theofrastos Mantadelis
9ee83ddf6c problog examples fix 2010-12-02 15:04:42 +01:00
Theofrastos Mantadelis
f46000cd11 office fix 2010-12-02 15:02:49 +01:00
Theofrastos Mantadelis
df162a0ae6 Updating ProbLog and adding ADs 2010-12-02 14:55:15 +01:00
Theofrastos Mantadelis
b54517d419 Updating ProbLog and adding ADs 2010-12-02 14:54:47 +01:00