Vitor Santos Costa
6b2e1973ab
Windows fixes, mainly H -> HB
2014-01-19 21:15:05 +00:00
Vítor Santos Costa
d7397b43af
new text conversion and string code (big changes, take care please)
2013-12-02 14:49:41 +00:00
Vitor Santos Costa
44ac5c6eac
accumulator first try
2013-06-22 00:26:14 -05:00
Vitor Santos Costa
d163cadda1
pass regs when constructing long ints and floats.
...
fix small gcc complaints.
2013-03-26 15:01:52 -05:00
Vitor Santos Costa
9107af2e3d
improve thread startup
2012-12-13 18:12:50 +00:00
Vítor Santos Costa
b985ea2fbc
fix bug in stack overflow.
2012-05-13 10:17:30 +01:00
Vítor Santos Costa
597a63cc12
fix messup on WIN64.
2012-02-06 15:11:38 +00:00
Vitor Santos Costa
5f3df98069
make sure wide property is always the first property.
2011-08-17 11:16:21 -07:00
Joao
971ad94311
moved several global variables to misc/GLOBALS
2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb
Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS
2011-05-23 16:19:47 +01:00
Vitor Santos Costa
2064e304ac
new library to replace elements in queue
2011-05-11 09:29:07 +01:00
Joao
dc3c54c164
change LOCALS macros.
2011-05-04 10:11:41 +01:00
Joao
274de7652f
fix error messages in configure file.
2011-04-18 14:59:17 +01:00
Vítor Santos Costa
8fb8aec9bf
MULTIPLE_STACKS - or-parallelism/threads/tabling
...
YAPOR_THREADS - threads with or-parallelism
make tabling require reference counting for dynamic predicates.
2011-04-14 18:51:11 +01:00
Vítor Santos Costa
8f713b01c7
allow accumulators.
2011-04-04 16:23:14 +01:00
Vitor Santos Costa
417fb5c52c
includ e6.2 changes for globals.
2011-04-04 13:20:35 +01:00
Vitor Santos Costa
1de5dfacf9
fix bad pointers and reuse memory in nb_setarg
2011-03-30 23:20:25 +01:00
Vitor Santos Costa
2fb880b64a
fix bad tests for attributed variable, and use a better name for Quick Test.
2011-03-19 10:25:23 +00:00
Vítor Santos Costa
0d8aed7971
new implementation of corourining...
2011-03-18 19:34:58 +00:00
Vítor Santos Costa
a358355709
fix old dvar list code.
2011-03-14 20:53:17 +00:00
Vítor Santos Costa
90d93fdbdd
cache abstra machine register in threaded mode.
2011-03-07 16:02:55 +00:00
Vítor Santos Costa
293dadb003
support for rational numbers
...
make floor and friends return an integer (make it closer to SICStus).
2010-05-28 09:53:56 +01:00
Vítor Santos Costa II
2aff3b5071
clean reference to removed element.
2010-04-10 21:17:17 +01:00
Vítor Santos Costa II
469fab876d
keep on working even after an overflow.
2010-04-09 18:08:08 +01:00
Vitor Santos Costa
d49e139360
fix missing return value.
2010-03-31 15:51:08 +01:00
Vitor Santos Costa
16a5e33267
fix queue_close (Anton Dries).
2010-03-30 13:02:46 +01:00
Vitor Santos Costa
3f5117d020
check overflow correctly.
2010-03-30 12:45:46 +01:00
Vitor Santos Costa
8b6b9e9ac3
we don't need to wakeup variables that have no attributes, even if they have been bound.
2010-03-15 14:17:30 +00:00
Vitor Santos Costa
2908d4ccbd
fix: size of quue went down.
2010-03-12 22:40:17 +00:00
Vitor Santos Costa
30a4f3cfe7
fixes to support copy_term and nb_
2010-03-12 08:24:58 +00:00
Vitor Santos Costa
d48be6406b
no more need to support AttVars
2010-03-08 09:21:48 +00:00
Vitor Santos Costa
233926ea00
fix nb_getval to handle exceptions.
2010-03-01 22:32:40 +00:00
Vitor Santos Costa
51982bee42
fix nb_current/2
2010-03-01 21:48:39 +00:00
Vitor Santos Costa
7037b38fa7
make nb_ undefined variable return an error, as SWI does.
2010-02-28 00:57:29 +00:00
Vítor Manuel de Morais Santos Costa
98f79484ae
change throw mechanism to fit better with cleanup mechanism:
...
- balls are now stored off line and recovered by Prolog code when everything
is safe.
- if a ball exists, throw uses the *existing* one (be careful not to have one
laying around).
- Jump routine cleans up every cp except ones for setup_call handling, backtracking simply calls setup handlers.
2009-11-27 11:21:24 +00:00
Vitor Santos Costa
0179998d60
change Heap.h to YapHeap.h
...
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vítor Manuel de Morais Santos Costa
91b47a438b
indenting stuff.
2009-10-19 16:39:06 +01:00
Costa Vitor
c0fd49df34
fix bad functor in heap routines.
2009-09-12 16:44:28 -05:00
Costa Vitor
09f5a9ccb1
make YAP ask less space in deeply nested calls of findall.
2009-06-22 15:37:17 -05:00
Costa Vitor
15519fa3cd
tightenn conditions on JumpExec
2009-06-05 18:45:41 -05:00
Costa Vitor
5da51d615d
fix crashes in 64-bit mode with unknown predicates.
2009-06-03 15:27:53 -05:00
Costa Vitor
ec595374a6
fix allocation of temporary stack so that unification can work even for
...
very deep terms.
fix occur_unification_bug X = a(f(Y)).
2009-05-22 18:35:24 -05:00
Vitor Santos Costa
44f7e67394
make sure we reset global variables when exiting a thread
2009-05-17 10:38:39 -07:00
Vitor Santos Costa
55e37020a4
return copy when copying term
2009-05-17 09:41:59 -07:00
Vítor Santos Costa
8c3406adac
don't forget to globalise variables before making them global.
2009-04-29 14:21:52 +01:00
Vitor Santos Costa
e06ee4d4fa
avoid over enthusiastic stack expansion.
2009-04-26 10:50:10 -05:00
Vitor Santos Costa
d98c3f0817
add support for sized queues.
2009-02-27 22:22:49 +00:00
Vitor Santos Costa
48eaa975f2
if we have many embedded calls to nb_queue, make sure we don't allocate a lot of memory for each one.
2009-02-27 00:31:29 +00:00
Vitor Santos Costa
51875c627a
avoid excessive overflows and too large overflows in delay stack.
2009-02-26 23:06:27 +00:00
Vítor Santos Costa
331d1830dd
fix throw (it should undo bindings).
2008-12-29 00:11:05 +00:00