Commit Graph

494 Commits

Author SHA1 Message Date
Costa Vitor
f4856cf8d0 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Conflicts:
	library/wundgraphs.yap
2009-06-10 14:09:30 -05:00
Vitor Santos Costa
5dd3aa5782 fix wneighbors 2009-06-10 12:42:45 -05:00
Vitor Santos Costa
4421f177b5 more module fixes (obs from Paulo Moura). 2009-06-10 12:35:13 -05:00
Vitor Santos Costa
4b19db742d fix module problems (obs from Paulo Moura). 2009-06-10 11:36:28 -05:00
Costa Vitor
7ffbfdbc77 should use use_module, not ensure_loaded. 2009-06-08 14:14:26 -05:00
Costa Vitor
1e55e2f388 fix bad calls (obs from Paulo Moura). 2009-06-08 14:13:31 -05:00
Costa Vitor
982cf95bf6 fix warnings (rep from Paulo Moura) 2009-06-05 18:46:01 -05:00
Vitor Santos Costa
dd6426b3b9 fix dbqueues (obs from Paulo Moura). 2009-06-05 14:31:06 -05:00
Vitor Santos Costa
6983a45a43 improve a bit implementation of attr operations. 2009-06-05 09:48:22 -05:00
Vitor Santos Costa
b5a5e10544 fix warning. 2009-06-04 10:26:27 -05:00
Vitor Santos Costa
5a4d16790d fix bad bracket for non GMP (Simon Strobl, #117) 2009-06-04 10:21:24 -05:00
Vitor Santos Costa
d42a2dc225 make yap2swi compile without GMP (obs from Tony Wilson). 2009-06-03 20:21:45 -05:00
Costa Vitor
7f54acb536 separate standard alarm from virtual alarm. timeout uses virtual alarm #112 2009-06-03 10:09:14 -05:00
Ulrich Neumerkel
6714048c9d Forgotten change to virtual 2009-06-02 15:12:57 -05:00
Vitor Santos Costa
484595df5b improve error handling. 2009-06-01 22:55:18 -05:00
Vitor Santos Costa
256d322f43 try to fix weird calling conventions of SWI. 2009-06-01 21:49:24 -05:00
Vitor Santos Costa
217afd3a72 fix undefined virtual_alarm 2009-06-01 21:30:56 -05:00
Costa Vitor
8870a1e661 define virtual timer and use it for timeout (#96) 2009-06-01 19:49:03 -05:00
Costa Vitor
251ac240b6 fix bad compilation of varargs preds. 2009-06-01 19:29:16 -05:00
Costa Vitor
98fef199bd fix conflict in error handling (not supposed to be exported by SWI-Prolog.h
add PL_eval_expression_to_int64_ex
2009-06-01 18:01:30 -05:00
Costa Vitor
01f80f8116 -1 is the error in datime 2009-06-01 16:42:17 -05:00
Vitor Santos Costa
b8f60c623d improvements to SWI compatibility 2009-06-01 15:38:39 -05:00
Vitor Santos Costa
d6ed058157 first pass at a decent implementation of PL_error (#95)
- basically copy SWI code.
2009-05-30 12:52:23 -05:00
Ulrich Neumerkel
5760986b2f Forgotten failure - found by #22 2009-05-28 21:13:51 -05:00
Ulrich Neumerkel
c2bd671bfd time_out/3: Give every alternative the full timeout time #86 2009-05-27 18:21:25 -05:00
Ulrich Neumerkel
f9342e835d What's wrong with this one? Of course, the granularity of the alarms is a problem. And the inability to nest. 2009-05-27 16:01:44 -05:00
Costa Vitor
f11eeb2967 be more careful to handle throws. 2009-05-26 17:24:49 -05:00
Costa Vitor
e6129e84b7 unnecessary disable_interrupts (#69) 2009-05-26 16:57:27 -05:00
Vitor Santos Costa
de7474a5d9 allow inplace operations. 2009-05-26 10:48:45 -05:00
Vitor Santos Costa
99ac4f4d4a handle SWI style goal expansion natively, instead of trying to be smart. 2009-05-24 19:18:52 -05:00
Costa Vitor
b93e5fd300 fix warning 2009-05-22 19:20:53 -05:00
Costa Vitor
d7135f06e9 fix charsio. 2009-05-21 19:15:12 -05:00
Vitor Santos Costa
f9533c8757 fix backtracking in timeout. 2009-05-21 01:30:24 -05:00
Vitor Santos Costa
56fa3499b1 oops 2009-05-21 01:08:34 -05:00
Vitor Santos Costa
f3e4148511 fix bad behavior of time_out by making sure interrupts are disabled during critical operation, up
to setting a throw.
2009-05-21 00:39:57 -05:00
Vitor Santos Costa
c3974d49eb allow users to disable interrupts, if so inclined. 2009-05-21 00:39:44 -05:00
Vitor Santos Costa
2020a19e69 fix format_to_chars/4 (Ulrich Neumerkel #62) 2009-05-20 09:14:48 -07:00
Ulrich Neumerkel
b38505cff2 FIXED: time_out output argument, exceptions (unhappy about once)
?- time_out(true,3600,time_out).
yes
   ?- catch(time_out(throw(x),3600,R),x,length(L,L)).
     ERROR!!
     UNHANDLED EXCEPTION - message time_out unknown
2009-05-19 23:58:35 -07:00
Vitor Santos Costa
ced3448c9a error.pl should not be here (obs from Ulrich Neumerkel). 2009-05-04 11:41:01 -05:00
Vitor Santos Costa
1f7b839e85 support exporting top-level-work as absolute path 2009-05-02 14:11:54 -05:00
Vitor Santos Costa
496349e38a do not compile regex packages unnecessarily 2009-05-01 12:45:21 -05:00
Vitor Santos Costa
6c10e49eb8 remove debugging writeln 2009-04-26 10:56:19 -05:00
Vitor Santos Costa
3fff188701 fix maplist and friends to handle non-var non-ground arguments (obs from Jose Santos). 2009-04-26 10:46:53 -05:00
Vitor Santos Costa
710d15e506 fix numlist/3 2009-04-25 13:00:09 -05:00
Vitor Santos Costa
8ffcaf612e fix emulation of goal_expansion. 2009-04-25 12:56:01 -05:00
Vitor Santos Costa
c04eb48f12 new version of clpfd.pl 2009-04-25 12:55:23 -05:00
Vitor Santos Costa
065a88d0cc fix grammer expansion. 2009-04-24 21:41:26 -05:00
Vítor Santos Costa
eef4b3cad2 fix apply_macros calling maplist (not that it is very much used, most
of always will go through expand_macros).
2009-04-24 22:48:24 +01:00
Vítor Santos Costa
23e258bdd4 fix the apply_macros/maplist conundrum! 2009-04-24 22:43:08 +01:00
Vítor Santos Costa
1c053da021 support missing SWI functionality: phrase/2 and phrase/3. 2009-04-24 21:45:41 +01:00