Commit Graph

1765 Commits

Author SHA1 Message Date
Vítor Santos Costa II
661b9c3b7d protect base choice-point from nasty cutting. 2010-04-13 00:31:25 +01:00
Vítor Santos Costa II
2b7c645300 no need for a cast here. 2010-04-12 17:21:50 +01:00
Vítor Santos Costa II
b10268def1 be careful about testing for attvars. 2010-04-12 17:21:19 +01:00
Vítor Santos Costa II
894666efb8 unnecessary access could result in core dump (patch from Keri Harris). 2010-04-10 21:52:53 +01:00
Vítor Santos Costa II
9b3b304624 try again to get correct statistics on memory usage :(w 2010-04-10 21:18:35 +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
Vítor Santos Costa II
d524dd542d test could access unused memory. 2010-04-09 18:07:45 +01:00
Vítor Santos Costa II
b6f704fc7a fix possible memory leak. 2010-04-09 17:02:24 +01:00
Vítor Santos Costa II
8efec0b26e put ThOr back in shape. 2010-04-09 11:56:07 +01:00
Vitor Santos Costa
45473e939b fix previous patch for restoring PredHashTable. 2010-04-09 11:46:59 +01:00
Vitor Santos Costa
066603c79b fix global variables 2010-04-08 01:44:08 +01:00
Vítor Santos Costa II
3fd7da94ba more valgrind catches. 2010-04-08 00:53:38 +01:00
Vítor Santos Costa II
222aac067b fix bad limit test (caught by valgrind). 2010-04-08 00:52:59 +01:00
Vítor Santos Costa II
5aed596919 bad list keeping 2010-04-08 00:52:47 +01:00
Vitor Santos Costa
55b464dace export Yap_WinError 2010-04-07 01:35:44 +01:00
Vitor Santos Costa
471bf55c4c fix reading from pipes in WIN32. 2010-04-07 01:18:32 +01:00
Vitor Santos Costa
9110c4db71 if we use malloc, get memory out of malloc instead of using stacks. This is in order to avoid growing stacks that never contract again. 2010-03-31 15:51:18 +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
c4819d8ab2 better handle over overflow. 2010-03-30 12:45:32 +01:00
Vitor Santos Costa
f45e95ba68 fix sTR0 to always point to base of updates. 2010-03-30 10:59:12 +01:00
Vitor Santos Costa
9a728ed796 fix int -> Int 2010-03-30 10:58:46 +01:00
Vitor Santos Costa
66a5235098 just get rid of warning. 2010-03-30 09:16:07 +01:00
Vitor Santos Costa
394b3e08e1 make sure we never ask for less than what we were asked for (growtrail). 2010-03-30 09:15:02 +01:00
Vitor Santos Costa
6d52fa371e Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-03-27 11:00:42 +00:00
Vitor Santos Costa
9869ffebfd delete_attributes deletes v as an attvar. 2010-03-27 10:57:21 +00:00
Vítor Santos Costa II
000f4524ea fix bad bracket 2010-03-26 16:16:05 +00:00
Vítor Santos Costa II
50b380c2aa make number_chars and atom_chars accept strings of numbers, unless if in strict iso. 2010-03-25 09:59:39 +00:00
Vítor Santos Costa II
4052f03726 initialise everything 2010-03-23 16:15:55 +00:00
Vítor Santos Costa II
3ceb7eb479 fix unneed call. 2010-03-23 16:15:41 +00:00
Vítor Santos Costa II
e03b948b0a ifix warning 2010-03-22 16:57:19 +00:00
Vítor Santos Costa II
a9b979144c forward possible errors 2010-03-22 16:56:58 +00:00
Vítor Santos Costa II
b068721c68 fix type warnings. 2010-03-22 15:01:54 +00:00
Vítor Santos Costa II
c3d2e4cd14 support for agc_margin 2010-03-22 14:47:53 +00:00
Vitor Santos Costa
da51afc1e4 fix term_hash of floats and large ints (obs from Jose Santos). 2010-03-22 00:09:50 +00:00
Vitor Santos Costa
d5e1ff38f4 new interface to access globals. They are not in a file called GLOBALS, from which
we generate several files automatically.
2010-03-21 22:12:42 +00:00
Vitor Santos Costa
57f55cbd28 fix garbage collection of pointers to attributed variables. 2010-03-16 01:07:26 +00:00
Vítor Santos Costa II
3c67550975 fix stupid use of ++ within macro. 2010-03-15 16:20:47 +00:00
Vitor Santos Costa
3c6a4435d8 Merge branch 'new_atts' 2010-03-15 15:05:42 +00: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
4fafe10fbe fix error messages 2010-03-14 09:32:04 +00:00
Vitor Santos Costa
3683da028a use correct tests. 2010-03-14 09:31:04 +00:00
Vitor Santos Costa
2908d4ccbd fix: size of quue went down. 2010-03-12 22:40:17 +00:00
Ricardo Rocha
ee0022bb47 checking for frozen segments in the trail stack in now done using the
macro IN_BETWEEN(Yap_TrailBase, ref, Yap_TrailTop)
2010-03-12 20:02:32 +00:00
Vítor Santos Costa II
df6b9a8511 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-03-12 18:03:41 +00:00
Vítor Santos Costa II
ff97f53a24 expand_index was broken for long_ints 2010-03-12 18:03:15 +00:00
Vitor Santos Costa
222ead095c term_attvars/2. 2010-03-12 08:49:12 +00:00
Vitor Santos Costa
30a4f3cfe7 fixes to support copy_term and nb_ 2010-03-12 08:24:58 +00:00