Commit Graph

2430 Commits

Author SHA1 Message Date
Vítor Santos Costa
749a5103a1 fix empty slots in unnumbervars. 2011-11-18 22:16:33 +00:00
Vítor Santos Costa
0409449a23 expand interface to create list from array of terms. 2011-11-18 16:26:11 +00:00
Vítor Santos Costa
cadb0fe4ae ifix bad call to unnumbervars. 2011-11-16 14:59:28 +00:00
Vítor Santos Costa
67820baee0 fix overflow in << and >> 2011-11-16 07:36:34 +00:00
Vítor Santos Costa
c2504af4fb fix rounding on negative number shifting
avoid allocating unnecessary space.
2011-11-16 07:34:58 +00:00
Ricardo Rocha
d063989dff add tabled pred flag to undefined built-in 2011-11-09 10:24:39 +00:00
Ubuntu32
e1b132325e Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2011-11-08 00:17:54 -08:00
Vítor Santos Costa
64dded4a53 iunnumbervars may be copying terms from outside the stacks, so don't share
unless we know we share.
2011-11-04 09:28:33 +00:00
Vítor Santos Costa
e283f6406a fix Yap_compare_terms for 64 bit code. 2011-11-04 11:41:35 +09:00
Vítor Santos Costa
9f2b0c7e70 extend C-interface to support b-prolog like stuff 2011-11-03 07:52:52 +09:00
Vítor Santos Costa
c322722d5b add code to call external function by name, it maay come handy one day. 2011-11-03 07:51:34 +09:00
Vítor Santos Costa
780a5ba83e use numbervars. 2011-11-03 07:51:13 +09:00
Vítor Santos Costa
0154db015e beautification. 2011-11-03 07:50:34 +09:00
Vítor Santos Costa
98de122687 UserCCode shouldn't be allowed to look up hidden atoms. 2011-11-03 07:49:41 +09:00
Vítor Santos Costa
3966822bff Setting YREG in cut_t seems buggy. 2011-11-03 07:45:02 +09:00
Vítor Santos Costa
6ed7736c28 C implementation of numbervars 2011-11-03 07:44:08 +09:00
Vítor Santos Costa
02e39ee78a beautify code. 2011-11-02 21:21:28 +09:00
Ubuntu32
29dc250a66 fix big int indexing 2011-11-01 17:25:59 -07:00
Vítor Santos Costa
1ddd61314c support for X^[A,B] and X^length in arithmetic expressions. 2011-10-27 12:36:48 +02:00
Vítor Santos Costa
8785108e66 Yap_unifiable and TagOfTerm 2011-10-27 12:35:40 +02:00
Vítor Santos Costa
980c79359f Yap_unifiable and YAP_Unifiable. 2011-10-27 12:35:07 +02:00
Vítor Santos Costa
384ddd84ad extend interface with IsTermNIl() 2011-10-24 22:46:16 +01:00
Vítor Santos Costa
5d0eed5eb1 make sure SWI atom constants are typed as atom_t 2011-10-21 23:06:17 +01:00
Vítor Santos Costa
df05859cb4 fix maximum limit for expanding area. 2011-10-21 22:05:28 +01:00
Vítor Santos Costa
5cd157147f fix CurrentTrailTop 2011-10-21 22:04:58 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
f7f90d5f5c fix conflict with WIN library 2011-10-21 19:12:21 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
e3847eff38 optimise straight line code. 2011-10-21 19:11:25 +01:00
Vitor Santos Costa
72afe868ec allow access to argc and argv in the c-interface. 2011-10-13 16:46:39 +01:00
Vitor Santos Costa
98cc029b66 fix warning. 2011-10-13 16:46:29 +01:00
Vítor Santos Costa
d4ea15811e fix yapor bootstrap. 2011-10-13 15:04:16 +01:00
Vitor Santos Costa
a2a554f17f improve debugger error reporting. 2011-10-12 23:50:49 +01:00
Vítor Santos Costa
df6c0b59e9 jump guessing 2011-10-04 06:42:01 -03:00
Vítor Santos Costa
ff67abc937 fix prefetching 2011-10-03 15:29:57 -03:00
Vítor Santos Costa
43c07f5051 more speed stuff. 2011-10-02 21:01:14 -03:00
Vítor Santos Costa
66ae65fe09 small look at compilation. 2011-10-02 19:55:22 -03:00
Vítor Santos Costa
36d20477fb small fixes to avoid using global reg. 2011-10-02 16:18:09 -03:00
Vítor Santos Costa
bab27a5761 fix warning. 2011-10-02 16:17:30 -03:00
Vitor Santos Costa
29866562fb fix gc calling from C-code. 2011-10-01 13:00:00 -07:00
Vitor Santos Costa
7c57ab99f2 add debugging aids. 2011-10-01 12:59:45 -07:00
Joao
cc80efbff0 CACHE_REGS 2011-09-21 15:30:29 +01:00
Joao
9e50de9efc Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-09-20 11:38:10 +01:00
Joao
7378b56289 Fix READ_LOCK. 2011-09-20 11:36:49 +01:00
Vítor Santos Costa
7cc1d98079 fix bug with incremental gc setting HZ incorrectly. 2011-09-20 09:53:43 +01:00
Vítor Santos Costa
abf74a8aa9 avoid unnecessart work. 2011-09-20 09:53:06 +01:00
Joao
1a6aff8aa1 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-09-15 15:44:26 +01:00
Joao
64ae3cdf52 fix YAPOR incremental copy. 2011-09-15 15:40:47 +01:00
Vitor Santos Costa
045df7d7d6 MultiFiles should initialize as FAIL. 2011-09-07 23:35:11 +02:00
Vitor Santos Costa
bf54802c49 go back to model where multifile cannot be in module 0. 2011-09-07 22:04:42 +02:00
Vitor Santos Costa
c47a7be2e8 fix formt to include all predicates and add right arity to DB entries. 2011-09-07 08:03:46 +02:00
Vitor Santos Costa
db0a7771ba fix multi-file preds defined in Prolog mode to be actuall defined in that mode. 2011-09-07 08:02:54 +02:00
Vitor Santos Costa
5dd62b6354 fix reading predicates with prolog and other module. 2011-09-05 01:11:06 +02:00
Vitor Santos Costa
9cfd4d8d8b move package/PLStream to os
modify Makefiles accordingly
define __unix__ on Unix like clones (OSX, AIX, etc).
2011-09-04 19:42:33 +02:00
Vitor Santos Costa
eaceaaad29 spaces changed. 2011-09-04 19:24:53 +02:00
Vitor Santos Costa
9d8e7ed034 indent alloc.c 2011-09-04 19:22:08 +02:00
Vitor Santos Costa
c3ea833845 check for NULL cps when adjusting. 2011-09-04 13:05:09 +02:00
Vitor Santos Costa
5a91af843f encoding is done by SWI code, don't mess around. 2011-09-02 21:03:41 +01:00
Vitor Santos Costa
8a9868a120 fix spurious error. 2011-09-02 15:37:47 +01:00
Vitor Santos Costa
11a84ec0a2 cosmetic fixes. 2011-09-01 06:20:21 -07:00
Vitor Santos Costa
521d65c058 fix oops in try_open 2011-09-01 06:11:38 -07: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
8314ecde02 adjust bmap pointers too. 2011-08-31 14:10:31 -07:00
Vitor Santos Costa
51e635f0c9 more QLY stuff. 2011-08-31 13:59:30 -07:00
Vitor Santos Costa
b343da1042 avoid repeated computations. 2011-08-31 13:58:41 -07:00
Vitor Santos Costa
d349079e82 temporary disable ground terms opt. 2011-08-31 13:58:06 -07:00
Vitor Santos Costa
1b34fde09e consider case where we are not indexed. 2011-08-31 13:57:10 -07:00
Vitor Santos Costa
dfa10d1c23 fix size calculation. 2011-08-31 13:55:46 -07:00
Vitor Santos Costa
083c88a91d iroutine to add new operator in certain module. 2011-08-31 13:54:52 -07:00
Vitor Santos Costa
9993ca2f3a syntax change 2011-08-31 13:54:19 -07:00
Vitor Santos Costa
ec438106a0 more qly stuff 2011-08-27 21:23:14 -03:00
Vitor Santos Costa
ae05e95815 more qly fixes. 2011-08-25 03:20:20 +01:00
Vitor Santos Costa
6df5d0a214 don't remove source annotations. 2011-08-25 03:19:27 +01:00
Vitor Santos Costa
26e3f2cea0 qly fixes 2011-08-24 12:40:06 +01:00
Vitor Santos Costa
7c0ba3b867 qly stuff. 2011-08-24 00:11:54 -03:00
Vitor Santos Costa
704989bf70 fix bad memory reference 2011-08-23 14:26:59 -03:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa
fee0ee8691 fix scanning for operators. 2011-08-18 05:01:48 -07:00
Vitor Santos Costa
d8b5a0e5d5 handle SY of wide characters. 2011-08-17 16:23:12 -07:00
Vitor Santos Costa
27299d432f more operator stuff. 2011-08-17 14:35:29 -07:00
Vitor Santos Costa
5f3df98069 make sure wide property is always the first property. 2011-08-17 11:16:21 -07:00
Vitor Santos Costa
5a2aa219db more slot stuff 2011-08-16 08:47:31 -07:00
Vitor Santos Costa
a3303eeb69 more qlyw stuff. 2011-08-16 10:34:44 -03:00
Vitor Santos Costa
2ab46f753d recover slots 2011-08-16 13:30:51 +00:00
Vitor Santos Costa
0b12932f34 make this code DEBUG only. 2011-08-09 08:34:23 -03:00
Vitor Santos Costa
31aed3db43 fix merge. 2011-08-09 08:13:42 -03:00
Vitor Santos Costa
451dc1380f qly to qlyw 2011-08-09 08:11:23 -03:00
Vitor Santos Costa
fe8544c01e fix debugging info. 2011-08-03 16:11:41 +01:00
Vitor Santos Costa
c871761c11 more qly stuff. 2011-08-03 08:23:00 +01:00
Vitor Santos Costa
a56402303e first step for quick loader, and fix an instruction format. 2011-07-30 00:07:35 +01:00
Vitor Santos Costa
169758af5e fix bug. 2011-07-28 10:31:56 +01:00
Vitor Santos Costa
4a50cfa853 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-07-27 16:51:24 +01:00
Vitor Santos Costa
619d0622e6 allow writing of opaque terms. 2011-07-27 16:50:14 +01:00
Vitor Santos Costa
a06586ad22 make more slot ops inline. 2011-07-27 16:31:10 +01:00
Vitor Santos Costa
b55ffd0089 fix warning message. 2011-07-26 21:05:16 +01:00
Ricardo Rocha
efc59cf8d6 DepFr_cons field initialization for threads 2011-07-26 16:49:49 +01:00
Ricardo Rocha
3345709bdb avoid InitWorker twice for main thread 2011-07-26 15:51:52 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
991d85edf0 fixes to interrupt handling in readline. 2011-07-22 22:48:30 +01:00
Vitor Santos Costa
a701f08180 small fixes. 2011-07-22 21:35:18 +01:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00