Commit Graph

2884 Commits

Author SHA1 Message Date
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
Costa Vitor
15519fa3cd tightenn conditions on JumpExec 2009-06-05 18:45:41 -05:00
Vitor Santos Costa
dd6426b3b9 fix dbqueues (obs from Paulo Moura). 2009-06-05 14:31:06 -05:00
Vitor Santos Costa
4e5fe4186f fix bad test for bignum condition. 2009-06-05 14:19:02 -05:00
Costa Vitor
5e4be93491 able to commit 64 bits 2009-06-05 12:18:10 -05:00
Vitor Santos Costa
7e108201b0 fix memory leak in mod. 2009-06-05 10:55:28 -05:00
Vitor Santos Costa
ecb03a61c0 fix memory leak in min/2 and max/2. 2009-06-05 10:38:07 -05:00
Vitor Santos Costa
a1b621507a max of bignums would always return the first bignum #118 2009-06-05 09:49:00 -05:00
Vitor Santos Costa
6983a45a43 improve a bit implementation of attr operations. 2009-06-05 09:48:22 -05:00
Vitor Santos Costa
a9647b0321 wake up goals the same order they were suspended. 2009-06-05 09:48:00 -05:00
Vitor Santos Costa
4b91f13ee1 allow easy shunting, but make sure we do not shunt chains below the current CP. 2009-06-05 09:47:17 -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
b455f057a8 fix writing of atributed variables. 2009-06-04 10:18:28 -05:00
Vitor Santos Costa
cd63a1f493 temporary disable easy shunting until I understand trouble with aattributed variables #80 2009-06-04 10:14:27 -05:00
Vitor Santos Costa
ea4f3f6447 always count gc calls #93 2009-06-03 20:36:15 -05:00
Vitor Santos Costa
d42a2dc225 make yap2swi compile without GMP (obs from Tony Wilson). 2009-06-03 20:21:45 -05:00
Vitor Santos Costa
b127d0c248 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2009-06-03 20:15:30 -05:00
Costa Vitor
5da51d615d fix crashes in 64-bit mode with unknown predicates. 2009-06-03 15:27:53 -05:00
Costa Vitor
51d1c442d6 fix not_empty_list #92 2009-06-03 10:43:40 -05:00
Costa Vitor
efb72f7d0e make sure we send unsigned chars to writing routine (obs from Simon Strobl) 2009-06-03 10:25:21 -05:00
Costa Vitor
8a20da6639 fix clean_call handling by top level (regression #110) 2009-06-03 10:11:41 -05:00
Costa Vitor
7f54acb536 separate standard alarm from virtual alarm. timeout uses virtual alarm #112 2009-06-03 10:09:14 -05:00
Vitor Santos Costa
170a5bcd70 fix regression #110 2009-06-03 09:22:23 -05:00
Costa Vitor
b72345cc97 handle correctly throws within the scope of a call_cleanup. This is implemented
by using an extra argument to verify if the catcher is the current call_cleanup.
If it is, we allow the exception to go forth.
2009-06-02 19:46:41 -05:00
Costa Vitor
2daccab1cb avoid setjmp if we can do it. 2009-06-02 18:08:40 -05:00
Costa Vitor
adb25ff96f growglobal would core dump over holes. 2009-06-02 18:08:18 -05:00
Costa Vitor
f10dde5b90 make sure garbage collector goes to FAILCODE, not do a hard reset. 2009-06-02 16:36:00 -05:00
Ulrich Neumerkel
6714048c9d Forgotten change to virtual 2009-06-02 15:12:57 -05:00
Costa Vitor
11214d6ba9 fix atom garbage collector when found a wide atom (rep from Simon Strobl). 2009-06-02 09:51:57 -05:00
Vitor Santos Costa
627a4f8b1f ensure environment after goal execution in call_cleanup #106 2009-06-01 23:43:59 -05:00
Vitor Santos Costa
484595df5b improve error handling. 2009-06-01 22:55:18 -05:00
Vitor Santos Costa
a2a8f8e40e stop writing at very long lists. 2009-06-01 22:54:56 -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
Vitor Santos Costa
662dcde178 fix Darwin compilation. 2009-06-01 21:30:44 -05:00
Costa Vitor
93a74d4224 SWI-Stream should define S__checkpasteeof #102 2009-06-01 20:05:04 -05:00
Costa Vitor
8870a1e661 define virtual timer and use it for timeout (#96) 2009-06-01 19:49:03 -05:00
Costa Vitor
4363b53c4d fix bad order in arguments. 2009-06-01 19:30:24 -05:00
Costa Vitor
6a0d5c303d make sure we initialise stdstreams as well. 2009-06-01 19:29:54 -05:00
Costa Vitor
251ac240b6 fix bad compilation of varargs preds. 2009-06-01 19:29:16 -05:00
Costa Vitor
8e55611d90 fix bad test for space overflow 2009-06-01 19:28:30 -05:00
Costa Vitor
8e30d82119 fix inconsistency #99 2009-06-01 18:10:31 -05:00
Ulrich Neumerkel
28f593f0a8 alarm(0,Any1,Any2) steadfast: Always disables alarm. 2009-06-01 18:03:02 -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
9d5a049c8f upgrade to most recent version of pl-os
fix some warnings.
2009-06-01 17:30:08 -05:00
Costa Vitor
edfcfe9ddc more fixes to PLStream 2009-06-01 16:56:00 -05:00
Costa Vitor
4a823a5065 include privitf to support new pl-file.c 2009-06-01 16:43:27 -05:00