ddb1cd8604adding two new modes to the yap_flag/2 and tabling_mode/2 built-in predicates: 'local_trie' mode and 'global_trie' mode.
Ricardo Rocha
2010-04-16 02:08:06 +01:00
052c20a29bmore memory allocation fixes.
Vítor Santos Costa II
2010-04-15 22:49:25 +01:00
c4b12d5cbe- fix memory leaks - avoid unnecessary mallocs by having a first alloc to do th ework.
Vítor Santos Costa II
2010-04-15 22:23:54 +01:00
e231aea1b4Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
Vítor Santos Costa II
2010-04-15 11:37:51 +01:00
28e006b484Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2010-04-15 11:38:55 +01:00
b737ce447fimprove allocation through malloc: avoid allocating labels in the stack.
Vitor Santos Costa
2010-04-15 11:37:39 +01:00
78b3213d5aadd debugging info to system_malloc
Vitor Santos Costa
2010-04-15 11:37:15 +01:00
e122f2ca8dGlobal trie support: atomic terms (vars, integers and atoms) are now stored in the local tries (and not in the global trie). This required major changes to the trie instructions in order to unify the use of the auxiliary stack organization for the terms in the local tries and in the global trie.
Ricardo Rocha
2010-04-15 01:09:59 +01:00
ccca051c48avoid using ftell: it can be very slow on NFS.
Vitor Santos Costa
2010-04-14 23:47:01 +01:00
3666988f57fixes for non-gmp case.
Vítor Santos Costa II
2010-04-14 19:49:22 +01:00
2b4e51a2d4more jpk fixes
Vítor Santos Costa II
2010-04-14 15:55:19 +01:00
5b1a2067f9add support for with_output_to/2.
Vitor Santos Costa
2010-04-14 10:57:00 +01:00
660ea12537exception handler was not passing well exceptions in setup.
Vitor Santos Costa
2010-04-14 10:49:32 +01:00
45acd9b07diupgrade to latest
Vítor Santos Costa II
2010-04-13 22:35:49 +01:00
a3667150d3remove debugging message
Vítor Santos Costa II
2010-04-13 13:34:05 +01:00
719089b96bmake PL_is_initialised honest :)
Vítor Santos Costa II
2010-04-13 00:31:48 +01:00
661b9c3b7dprotect base choice-point from nasty cutting.
Vítor Santos Costa II
2010-04-13 00:31:25 +01:00
e605da8685dump should dump to stdout, not stderr (that's where SWI dumps, and that's where scripts expect it).
Vítor Santos Costa II
2010-04-13 00:30:15 +01:00
f753284785fix JPL setup. Also, JPL requires paths for installed yap. so should only be compiled after installing libs: do make at install time.
Vítor Santos Costa II
2010-04-13 00:24:40 +01:00
9def5978bbSWI actually calls initialization after exiting the directory (obs from Paulo Moura).
Vítor Santos Costa II
2010-04-12 18:30:39 +01:00
51c6ac37d9fix documentation of SWI compatible memory allocation flags.
Vítor Santos Costa II
2010-04-12 17:22:03 +01:00
2b7c645300no need for a cast here.
Vítor Santos Costa II
2010-04-12 17:21:50 +01:00
b10268def1be careful about testing for attvars.
Vítor Santos Costa II
2010-04-12 17:21:19 +01:00
4ccc201322fix version_data
Vítor Santos Costa II
2010-04-10 23:57:46 +01:00
894666efb8unnecessary access could result in core dump (patch from Keri Harris).
Vítor Santos Costa II
2010-04-10 21:52:53 +01:00
2257b056f0fix absolute_file_name (SWI and SICStus compatibility, obs from Paulo Moura).
Vítor Santos Costa II
2010-04-10 21:23:38 +01:00
b1621d033aexport type of foreign fields.
Vítor Santos Costa II
2010-04-10 21:20:00 +01:00
0df80db205protect from looking at unused fields
Vítor Santos Costa II
2010-04-10 21:19:31 +01:00
37bf70fde1improve dbusage
Vítor Santos Costa II
2010-04-10 21:19:03 +01:00
9b3b304624try again to get correct statistics on memory usage :(w
Vítor Santos Costa II
2010-04-10 21:18:35 +01:00
2aff3b5071clean reference to removed element.
Vítor Santos Costa II
2010-04-10 21:17:17 +01:00
469fab876dkeep on working even after an overflow.
Vítor Santos Costa II
2010-04-09 18:08:08 +01:00
d524dd542dtest could access unused memory.
Vítor Santos Costa II
2010-04-09 18:07:45 +01:00
b6f704fc7afix possible memory leak.
Vítor Santos Costa II
2010-04-09 17:02:24 +01:00
8efec0b26eput ThOr back in shape.
Vítor Santos Costa II
2010-04-09 11:56:07 +01:00
e9fce7c755fix bad while: pred chain will be restored through pred hash table.
Vítor Santos Costa II
2010-04-09 11:55:36 +01:00
45473e939bfix previous patch for restoring PredHashTable.
Vitor Santos Costa
2010-04-09 11:46:59 +01:00
066603c79bfix global variables
Vitor Santos Costa
2010-04-08 01:44:08 +01:00
3fd7da94bamore valgrind catches.
Vítor Santos Costa II
2010-04-08 00:53:38 +01:00
222aac067bfix bad limit test (caught by valgrind).
Vítor Santos Costa II
2010-04-08 00:52:59 +01:00
5aed596919bad list keeping
Vítor Santos Costa II
2010-04-08 00:52:47 +01:00
143022e6aafix bad restore: we would just restore the first predicate with same name (obs from Nuno Fonseca).
Vítor Santos Costa II
2010-04-08 00:52:00 +01:00
55b464daceexport Yap_WinError
Vitor Santos Costa
2010-04-07 01:35:44 +01:00
f7e6242fe9fix spy bug (obs from Nuno Fonseca).
Vitor Santos Costa
2010-04-07 01:32:57 +01:00
471bf55c4cfix reading from pipes in WIN32.
Vitor Santos Costa
2010-04-07 01:18:32 +01:00
8e72f97651fix version info to be more like SWI/SICStus.
Vitor Santos Costa
2010-04-06 00:57:40 +01:00
504306d651fix fast_proofs in ProbLog (obs from A Kimmig, F Riguzzi).
Vitor Santos Costa
2010-04-05 12:20:59 +01:00
ab8fee4e08common global trie for subtems (seems to be working correctly !)
Ricardo Rocha
2010-04-05 03:34:02 +01:00
9c3bb73babcommon global trie (version GT-ST: global trie for subterms)
Ricardo Rocha
2010-04-05 03:31:12 +01:00
6c222b8e87use a macro (stack_terms_limit) to delimit the top of the auxiliary term stack
Ricardo Rocha
2010-04-03 16:05:38 +01:00
6cb0886587tries module: undo last change on macro MAX_NODES_PER_TRIE_LEVEL
Ricardo Rocha
2010-03-31 18:39:38 +01:00
7b49c14eddtries module: add support for term-ending pairs (pairs of the form [a|b])
Ricardo Rocha
2010-03-31 18:36:13 +01:00
9110c4db71if we use malloc, get memory out of malloc instead of using stacks. This is in order to avoid growing stacks that never contract again.
Vitor Santos Costa
2010-03-31 15:51:18 +01:00
d49e139360fix missing return value.
Vitor Santos Costa
2010-03-31 15:51:08 +01:00
3d5878f651another fix to new nb_getval.
Vitor Santos Costa
2010-03-31 15:50:36 +01:00
16a5e33267fix queue_close (Anton Dries).
Vitor Santos Costa
2010-03-30 13:02:46 +01:00
ecf5c572abMerge branch 'master' of yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2010-03-30 12:48:56 +01:00
03b96b3a60upgrade to Markus' latest.
Vitor Santos Costa
2010-03-30 12:46:01 +01:00
3f5117d020check overflow correctly.
Vitor Santos Costa
2010-03-30 12:45:46 +01:00
c4819d8ab2better handle over overflow.
Vitor Santos Costa
2010-03-30 12:45:32 +01:00
f45e95ba68fix sTR0 to always point to base of updates.
Vitor Santos Costa
2010-03-30 10:59:12 +01:00
9a728ed796fix int -> Int
Vitor Santos Costa
2010-03-30 10:58:46 +01:00
91542c7be1avoid bad alignment on 64 bits.
Vitor Santos Costa
2010-03-30 09:16:20 +01:00
66a5235098just get rid of warning.
Vitor Santos Costa
2010-03-30 09:16:07 +01:00
394b3e08e1make sure we never ask for less than what we were asked for (growtrail).
Vitor Santos Costa
2010-03-30 09:15:02 +01:00
55855d8d90fix abolish_table/1 abolish_all_tables/0 for predicates with arity 0
Ricardo Rocha
2010-03-29 15:41:59 +01:00
ca31e9fad8fix portray_clause to use copy_term_nat and get rid of attributed variables.
Vitor Santos Costa
2010-03-27 15:06:36 +00:00
35bbb9e7d1avoid binding attributed variables.
Vitor Santos Costa
2010-03-27 11:43:03 +00:00
c468d8431etry to make top level writing more SWI compatible.
Vitor Santos Costa
2010-03-27 11:34:10 +00:00
6d52fa371eMerge branch 'master' of yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2010-03-27 11:00:42 +00:00
9869ffebfddelete_attributes deletes v as an attvar.
Vitor Santos Costa
2010-03-27 10:57:21 +00:00
568c541874use copy_term compatible with SWI.
Vitor Santos Costa
2010-03-27 10:56:35 +00:00
000f4524eafix bad bracket
Vítor Santos Costa II
2010-03-26 16:16:05 +00:00
50b380c2aamake number_chars and atom_chars accept strings of numbers, unless if in strict iso.
Vítor Santos Costa II
2010-03-25 09:59:39 +00:00
4052f03726initialise everything
Vítor Santos Costa II
2010-03-23 16:15:55 +00:00
3ceb7eb479fix unneed call.
Vítor Santos Costa II
2010-03-23 16:15:41 +00:00
e03b948b0aifix warning
Vítor Santos Costa II
2010-03-22 16:57:19 +00:00
a9b979144cforward possible errors
Vítor Santos Costa II
2010-03-22 16:56:58 +00:00
b068721c68fix type warnings.
Vítor Santos Costa II
2010-03-22 15:01:54 +00:00
c3d2e4cd14support for agc_margin
Vítor Santos Costa II
2010-03-22 14:47:53 +00:00
39483147f4fix project_attributes/2 (was not being called ever).
Vitor Santos Costa
2010-03-22 09:11:27 +00:00
0c28e58dd4do not randomise initial address.
Vitor Santos Costa
2010-03-22 00:11:54 +00:00
5a8fcfb641Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Vitor Santos Costa
2010-03-22 00:10:22 +00:00
da51afc1e4fix term_hash of floats and large ints (obs from Jose Santos).
Vitor Santos Costa
2010-03-22 00:09:50 +00:00
d5e1ff38f4new interface to access globals. They are not in a file called GLOBALS, from which we generate several files automatically.
Vitor Santos Costa
2010-03-21 22:12:42 +00:00