9569d04a9fremove some warnings in the absence of GMP
Costa Vitor
2009-06-15 10:11:05 -05:00
557ed169e8fix processing of meta-arguments.
Vitor Santos Costa
2009-06-14 22:58:12 -05:00
9aae90680efix maplist metapredicates in SWI.
Vitor Santos Costa
2009-06-14 22:57:45 -05:00
65e8ed2908use more efficient predicate.
Vitor Santos Costa
2009-06-14 22:57:07 -05:00
91b09d7382do not do macro_expansion from goal, only when consulting.
Costa Vitor
2009-06-14 19:44:36 -05:00
c3e84c9aaffix SWI emulation of maplist
Costa Vitor
2009-06-14 19:44:10 -05:00
76e5fa69e4maplist: instead of trying to be smart, just create a new predicate per expanded metacall (#133)
Costa Vitor
2009-06-14 18:55:59 -05:00
a22f66a4fadon't import everything in a module by default when reexporting it #134
Vitor Santos Costa
2009-06-14 12:16:54 -05:00
b4ff9b492amake sure to recover stack before copying exception term.
Vitor Santos Costa
2009-06-14 11:17:12 -05:00
3ae6f583ecinclude AtomInStackExpansion
Vitor Santos Costa
2009-06-13 16:05:45 -05:00
826b45d21cfix handling of out stack while throwing an exception.
Vitor Santos Costa
2009-06-13 15:21:13 -05:00
5a10dda14efix threads version.
Vitor Santos Costa
2009-06-13 14:01:16 -05:00
475e681907do fetch and remove a the same time: PopFromDB
Vitor Santos Costa
2009-06-13 13:06:02 -05:00
4de6e48a33save exception term in database, so that it is clean separate from stacks. #116
Vitor Santos Costa
2009-06-12 14:35:15 -05:00
9dff291be2improve DCG support #72
Vitor Santos Costa
2009-06-12 14:08:03 -05:00
e6265e9d84only dump stack if user not handling the stack #47
Vitor Santos Costa
2009-06-12 14:04:32 -05:00
1005fa8abfPLIOError should not prevent weird errors, like resource_errors (#36).
Vitor Santos Costa
2009-06-12 13:46:44 -05:00
303261b283improve error messages.
Vitor Santos Costa
2009-06-12 13:44:22 -05:00
d8e92a2808do not use immediate updates, even in cprolog mode.
Vitor Santos Costa
2009-06-11 23:05:10 -05:00
2f47f8902bOperator change for ISO/SWI
Ulrich Neumerkel
2009-06-11 05:32:06 +02:00
f4856cf8d0Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Costa Vitor
2009-06-10 14:09:30 -05:00
5dd3aa5782fix wneighbors
Vitor Santos Costa
2009-06-10 12:42:45 -05:00
4421f177b5more module fixes (obs from Paulo Moura).
Vitor Santos Costa
2009-06-10 12:35:13 -05:00
4b19db742dfix module problems (obs from Paulo Moura).
Vitor Santos Costa
2009-06-10 11:36:28 -05:00
7ae4c887fcInstantiation error for looping :- meta_predicate P.
Ulrich Neumerkel
2009-06-05 09:54:25 +02:00
04674cd584Doc: module related
Ulrich Neumerkel
2009-06-09 00:32:01 +02:00
c45903301eadd missing new atoms.
Costa Vitor
2009-06-08 20:25:47 -05:00
2689d69e92-f could try to parse empty string... #124
Costa Vitor
2009-06-08 20:23:55 -05:00
9b7d2b1cd4if the compiler has ommited the instructions, it means we should the argument set up there by the compiler.
Costa Vitor
2009-06-08 20:08:21 -05:00
7ffbfdbc77should use use_module, not ensure_loaded.
Costa Vitor
2009-06-08 14:14:26 -05:00
1e55e2f388fix bad calls (obs from Paulo Moura).
Costa Vitor
2009-06-08 14:13:31 -05:00
982cf95bf6fix warnings (rep from Paulo Moura)
Costa Vitor
2009-06-05 18:46:01 -05:00
15519fa3cdtightenn conditions on JumpExec
Costa Vitor
2009-06-05 18:45:41 -05:00
dd6426b3b9fix dbqueues (obs from Paulo Moura).
Vitor Santos Costa
2009-06-05 14:31:06 -05:00
4e5fe4186ffix bad test for bignum condition.
Vitor Santos Costa
2009-06-05 14:19:02 -05:00
5e4be93491able to commit 64 bits
Costa Vitor
2009-06-05 12:18:10 -05:00
7e108201b0fix memory leak in mod.
Vitor Santos Costa
2009-06-05 10:55:28 -05:00
ecb03a61c0fix memory leak in min/2 and max/2.
Vitor Santos Costa
2009-06-05 10:38:07 -05:00
a1b621507amax of bignums would always return the first bignum #118
Vitor Santos Costa
2009-06-05 09:49:00 -05:00
6983a45a43improve a bit implementation of attr operations.
Vitor Santos Costa
2009-06-05 09:48:22 -05:00
a9647b0321wake up goals the same order they were suspended.
Vitor Santos Costa
2009-06-05 09:48:00 -05:00
4b91f13ee1allow easy shunting, but make sure we do not shunt chains below the current CP.
Vitor Santos Costa
2009-06-05 09:47:17 -05:00
b5a5e10544fix warning.
Vitor Santos Costa
2009-06-04 10:26:27 -05:00
5a4d16790dfix bad bracket for non GMP (Simon Strobl, #117)
Vitor Santos Costa
2009-06-04 10:21:24 -05:00
b455f057a8fix writing of atributed variables.
Vitor Santos Costa
2009-06-04 10:18:28 -05:00
cd63a1f493temporary disable easy shunting until I understand trouble with aattributed variables #80
Vitor Santos Costa
2009-06-04 10:14:27 -05:00
d42a2dc225make yap2swi compile without GMP (obs from Tony Wilson).
Vitor Santos Costa
2009-06-03 20:21:45 -05:00
b127d0c248Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2009-06-03 20:15:30 -05:00
5da51d615dfix crashes in 64-bit mode with unknown predicates.
Costa Vitor
2009-06-03 15:27:53 -05:00
51d1c442d6fix not_empty_list #92
Costa Vitor
2009-06-03 10:43:40 -05:00
efb72f7d0emake sure we send unsigned chars to writing routine (obs from Simon Strobl)
Costa Vitor
2009-06-03 10:25:21 -05:00
8a20da6639fix clean_call handling by top level (regression #110)
Costa Vitor
2009-06-03 10:11:41 -05:00
7f54acb536separate standard alarm from virtual alarm. timeout uses virtual alarm #112
Costa Vitor
2009-06-03 10:09:14 -05:00
170a5bcd70fix regression #110
Vitor Santos Costa
2009-06-03 09:22:23 -05:00
b72345cc97handle 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.
Costa Vitor
2009-06-02 19:46:41 -05:00
2daccab1cbavoid setjmp if we can do it.
Costa Vitor
2009-06-02 18:08:40 -05:00
adb25ff96fgrowglobal would core dump over holes.
Costa Vitor
2009-06-02 18:08:18 -05:00
f10dde5b90make sure garbage collector goes to FAILCODE, not do a hard reset.
Costa Vitor
2009-06-02 16:36:00 -05:00
6714048c9dForgotten change to virtual
Ulrich Neumerkel
2009-06-02 20:20:17 +02:00
11214d6ba9fix atom garbage collector when found a wide atom (rep from Simon Strobl).
Costa Vitor
2009-06-02 09:51:57 -05:00
627a4f8b1fensure environment after goal execution in call_cleanup #106
Vitor Santos Costa
2009-06-01 23:43:59 -05:00
484595df5bimprove error handling.
Vitor Santos Costa
2009-06-01 22:55:18 -05:00
a2a8f8e40estop writing at very long lists.
Vitor Santos Costa
2009-06-01 22:54:56 -05:00
256d322f43try to fix weird calling conventions of SWI.
Vitor Santos Costa
2009-06-01 21:49:24 -05:00
217afd3a72fix undefined virtual_alarm
Vitor Santos Costa
2009-06-01 21:30:56 -05:00
662dcde178fix Darwin compilation.
Vitor Santos Costa
2009-06-01 21:30:44 -05:00
93a74d4224SWI-Stream should define S__checkpasteeof #102
Costa Vitor
2009-06-01 20:05:04 -05:00
8870a1e661define virtual timer and use it for timeout (#96)
Costa Vitor
2009-06-01 19:49:03 -05:00
4363b53c4dfix bad order in arguments.
Costa Vitor
2009-06-01 19:30:24 -05:00
6a0d5c303dmake sure we initialise stdstreams as well.
Costa Vitor
2009-06-01 19:29:54 -05:00
251ac240b6fix bad compilation of varargs preds.
Costa Vitor
2009-06-01 19:29:16 -05:00
8e55611d90fix bad test for space overflow
Costa Vitor
2009-06-01 19:28:30 -05:00
8e30d82119fix inconsistency #99
Costa Vitor
2009-06-01 18:10:31 -05:00
98fef199bdfix conflict in error handling (not supposed to be exported by SWI-Prolog.h add PL_eval_expression_to_int64_ex
Costa Vitor
2009-06-01 18:01:30 -05:00
9d5a049c8fupgrade to most recent version of pl-os fix some warnings.
Costa Vitor
2009-06-01 17:30:08 -05:00
edfcfe9ddcmore fixes to PLStream
Costa Vitor
2009-06-01 16:56:00 -05:00
4a823a5065include privitf to support new pl-file.c
Costa Vitor
2009-06-01 16:43:27 -05:00
01f80f8116-1 is the error in datime
Costa Vitor
2009-06-01 16:42:17 -05:00
2ce09e66e7Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Costa Vitor
2009-06-01 15:56:32 -05:00
4847b19becPLStream changes.
Vitor Santos Costa
2009-06-01 15:55:31 -05:00
00c9194014fix reference to Yap_regp
Costa Vitor
2009-06-01 15:46:37 -05:00
d1175de6bbupgrade to more recent version of pl-file.c (not complete).
Vitor Santos Costa
2009-06-01 15:39:38 -05:00
b8f60c623dimprovements to SWI compatibility
Vitor Santos Costa
2009-06-01 15:38:39 -05:00
dbfccfced5fix flags from int to Int
Vitor Santos Costa
2009-06-01 15:37:32 -05:00
a36c507175infrastructure to eventually support SWI atom table.
Vitor Santos Costa
2009-06-01 15:37:01 -05:00
0bd3c910ddstep towards better emulation of SWI in backtrackable predicates.
Vitor Santos Costa
2009-06-01 15:32:36 -05:00
45a1544307use Int for 32 bit flags (int would be ok, though).
Vitor Santos Costa
2009-06-01 15:32:07 -05:00
95f28228f6- separate user_try and user_retry - make sure we have slots inited in retrying user C code.
Vitor Santos Costa
2009-06-01 15:30:22 -05:00
d6ed058157first pass at a decent implementation of PL_error (#95) - basically copy SWI code.
Vitor Santos Costa
2009-05-30 12:52:23 -05:00