Commit Graph

299 Commits

Author SHA1 Message Date
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00
U-w7\vsc
9c5d7af938 win32 patches 2013-11-15 18:25:33 +00:00
Vítor Santos Costa
bd5771eb59 handle empty sequence of clauses 2013-11-10 11:22:29 +00:00
Vitor Santos Costa
ec2e70fc39 fix the case where we leave an empty index 2013-11-08 23:48:28 +00:00
Vítor Santos Costa
7065c4678e debugging 2013-11-08 12:43:28 +00:00
Vítor Santos Costa
917d5ad75b line numbers for clauses and clause properties 2013-11-05 17:59:19 +00:00
Vítor Santos Costa
2028730eac check NULL 2013-09-05 00:48:00 +01:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -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
Vítor Santos Costa
14b67dc76d fix threads 2012-12-20 21:33:20 +00:00
Vitor Santos Costa
cb37e7714a fix warnings 2012-12-20 21:13:51 +00:00
Vitor Santos Costa
e05ee9670c unify indexing of dynamic and static clauses 2012-12-07 23:43:14 +00:00
Vitor Santos Costa
3e696eb831 fix bad index removal 2012-10-23 18:22:16 +01:00
Vitor Santos Costa
3917a19ab9 bad ref counting with trust_log/threads 2012-10-17 17:23:47 +01:00
Costa Vitor
c8ef4dbdb4 we cannot trust that just having on reference will protect a clause. Several references may go in a single operation! 2012-07-18 14:32:53 -05:00
Vitor Santos Costa
a1d8e46ee4 fix missing line. 2012-06-14 17:21:46 -05:00
Vítor Santos Costa
c4bd913e34 fix stupid indesing of very long terms. 2012-06-05 08:04:22 +01:00
Vítor Santos Costa
47a4b902e0 fix stupid indexing on sub-terms.; 2012-06-05 00:12:13 +01:00
Vitor Santos Costa
67d52d3560 fix depth calculation. 2012-06-04 18:21:34 +01:00
Vitor Santos Costa
3669cb894f Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/horus.yap
2012-06-04 16:29:56 +01:00
Vitor Santos Costa
39f392be9c allow finer control over indexing sub-terms.
improve flag code a bit.
2012-06-01 13:16:29 +01:00
Vítor Santos Costa
2def937080 don't index velow depth 20. 2012-05-28 20:40:12 +01:00
Vítor Santos Costa
c08178a57c fix thread compilation. 2012-04-11 22:08:02 +01:00
Vítor Santos Costa
36acb5f897 fix profiling support. 2012-03-09 11:46:34 +00:00
Vítor Santos Costa
d777ff863a fix warning on unused variables. 2012-02-17 15:04:25 +00:00
Vítor Santos Costa
b2378bf34f fix bug in nth_clause/3.
fix compiler warning.
2012-02-14 18:57:39 +00:00
Vitor Santos Costa
b331c4bed0 ClSize should be the block size in bytes, and not the amount of code. Check that for megaclauses. 2011-08-31 21:13:29 -07:00
Vitor Santos Costa
1b34fde09e consider case where we are not indexed. 2011-08-31 13:57:10 -07:00
Vitor Santos Costa
de60807724 cleanup patch 2011-07-14 09:40:15 +01:00
Ricardo Rocha
22d8e33a5f fix cut support for or-parallelism 2011-07-13 17:36:26 +01:00
Vitor Santos Costa
e160d86304 use assembler to tell whether a clause has cut, instead of stupidly searching the clause. 2011-07-05 07:28:28 +01:00
Vítor Santos Costa
e74a25d366 handle slowdown when retracting clauses. 2011-06-24 21:08:22 +01: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
Vítor Santos Costa
a9899c5443 ifix bad registers corrupting garbage collection. 2011-05-09 19:13:10 +01:00
Joao
d9cee607e9 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	C/cdmgr.c
2011-05-04 11:10:20 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vítor Santos Costa
6a3e422c11 timestamps are stored as terms! (fix also uninportant bug). 2011-04-30 01:08:48 +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
Vitor Santos Costa
26dc567a0f fix bad overflow handling. 2011-04-08 11:58:22 +01:00
Vítor Santos Costa
2a76f86785 don't lock ThreadLocal predicates. 2011-03-15 09:08:09 +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
d12762ffa2 fix missing cases in cut handling 2011-03-02 09:16:40 +00:00
Vítor Santos Costa
e93df788e5 fix indexing bug (report from Jos DeRoo). 2011-02-15 21:19:27 +00:00
ubu32
67d23051c2 fix pruning to handle backtrackable C-predicates in a much nicer way. 2011-02-14 11:29:20 -08:00
ubu32
b3fb1d1e73 ifix cut stuff 2011-02-14 06:58:42 -08:00
Vitor Santos Costa
76b3aec555 remove debugging stubs. 2011-01-20 12:01:50 -06:00
Vitor Santos Costa
4e90d68748 fix bad casts 2011-01-20 12:01:18 -06:00
Vitor Santos Costa
6e2947e8c4 avoid _longjmp 2010-12-16 01:22:10 +00:00
Vitor Santos Costa
ab8911708b fix YAP to use _longjmp when available. longjmp is just too expensive on OSX machines. 2010-10-26 22:03:36 +01:00