Commit Graph

3632 Commits

Author SHA1 Message Date
Vítor Santos Costa II
acee213eeb beautification. 2010-04-20 23:13:11 +01:00
Vítor Santos Costa II
d957569e83 fix macro expansion stuff. Everything bounces from maplist now. 2010-04-20 23:11:13 +01:00
Vítor Santos Costa II
ff135d53d2 simplify compatibility 2010-04-20 23:10:40 +01:00
Vítor Santos Costa II
5ab2a97852 use meta-predicates for aggregate (like SWI does now). 2010-04-20 23:09:46 +01:00
Vítor Santos Costa II
c2ff395626 fix path to access java libs 2010-04-20 23:08:52 +01:00
Vítor Santos Costa II
da78b22324 fix fixes to garbage collector. 2010-04-20 23:08:08 +01:00
Vítor Santos Costa II
007bfc21b9 document aggregate library
support plus/3 and succ/2 and document them, plus between
2010-04-20 23:06:41 +01:00
Vítor Santos Costa II
04ddd8dca0 fix garbage collection of attributed variables. 2010-04-19 16:15:33 +01:00
Vítor Santos Costa II
9f7df27e3a Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-04-19 15:58:41 +01:00
Ricardo Rocha
1029828775 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-04-19 02:36:14 +01:00
Ricardo Rocha
c221c2ff85 renaming some OPTYap files in order to have a more consistent name organization 2010-04-19 02:34:08 +01:00
Vitor Santos Costa
2a7765ae5c make clear that some files are generated automatically. 2010-04-18 21:48:20 +01:00
Vitor Santos Costa
7e389a5b87 allow a file filter with initialization. 2010-04-18 21:48:00 +01:00
Vitor Santos Costa
7593a9ec78 fix scanning of integers starting with 0b and 0o (ISO, obs from Paulo Moura). 2010-04-18 20:48:25 +01:00
Ricardo Rocha
73d210c991 reducing the number of macros for error checking in the OPTYap files 2010-04-18 04:59:11 +01:00
Vítor Santos Costa II
dd182fdeac Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-04-16 12:12:37 +01:00
Vítor Santos Costa II
0e431dcf24 prefetch on x86 2010-04-16 12:12:25 +01:00
Vitor Santos Costa
d68c7854bd make things run in sparc-64 2010-04-16 12:12:23 +01:00
Vitor Santos Costa
1cf17cc2fe improve type in token 2010-04-16 12:11:52 +01:00
Vitor Santos Costa
be91864c1e Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-04-16 10:33:11 +01:00
Vitor Santos Costa
463ab07f3c fix error handling with nan (obs from Jose Santos). 2010-04-16 10:32:36 +01:00
Ricardo Rocha
467dd91b32 new built-in predicate global_trie_statistics/0. 2010-04-16 03:07:37 +01:00
Ricardo Rocha
ddb1cd8604 adding two new modes to the yap_flag/2 and tabling_mode/2 built-in
predicates: 'local_trie' mode and 'global_trie' mode.
2010-04-16 02:08:06 +01:00
Vítor Santos Costa II
052c20a29b more memory allocation fixes. 2010-04-15 22:49:25 +01:00
Vítor Santos Costa II
c4b12d5cbe - fix memory leaks
- avoid unnecessary mallocs by having a first alloc to do th ework.
2010-04-15 22:23:54 +01:00
Vítor Santos Costa II
e231aea1b4 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2010-04-15 11:37:51 +01:00
Vitor Santos Costa
28e006b484 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-04-15 11:38:55 +01:00
Vitor Santos Costa
b737ce447f improve allocation through malloc: avoid allocating labels in the stack. 2010-04-15 11:37:39 +01:00
Vitor Santos Costa
78b3213d5a add debugging info to system_malloc 2010-04-15 11:37:15 +01:00
Ricardo Rocha
e122f2ca8d Global 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.
2010-04-15 01:09:59 +01:00
Vitor Santos Costa
ccca051c48 avoid using ftell: it can be very slow on NFS. 2010-04-14 23:47:01 +01:00
Vítor Santos Costa II
3666988f57 fixes for non-gmp case. 2010-04-14 19:49:22 +01:00
Vítor Santos Costa II
2b4e51a2d4 more jpk fixes 2010-04-14 15:55:19 +01:00
Vitor Santos Costa
5b1a2067f9 add support for with_output_to/2. 2010-04-14 10:57:00 +01:00
Vitor Santos Costa
660ea12537 exception handler was not passing well exceptions in setup. 2010-04-14 10:49:32 +01:00
Vítor Santos Costa II
45acd9b07d iupgrade to latest 2010-04-13 22:35:49 +01:00
Vítor Santos Costa II
a3667150d3 remove debugging message 2010-04-13 13:34:05 +01:00
Vítor Santos Costa II
719089b96b make PL_is_initialised honest :) 2010-04-13 00:31:48 +01:00
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
e605da8685 dump should dump to stdout, not stderr (that's where SWI dumps, and that's where
scripts expect it).
2010-04-13 00:30:15 +01:00
Vítor Santos Costa II
f753284785 fix JPL setup. Also, JPL requires paths for installed yap. so should
only be compiled after installing libs: do make at install time.
2010-04-13 00:24:40 +01:00
Vítor Santos Costa II
9def5978bb SWI actually calls initialization after exiting the directory (obs from Paulo Moura). 2010-04-12 18:30:39 +01:00
Vítor Santos Costa II
51c6ac37d9 fix documentation of SWI compatible memory allocation flags. 2010-04-12 17:22:03 +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
4ccc201322 fix version_data 2010-04-10 23:57:46 +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
2257b056f0 fix absolute_file_name (SWI and SICStus compatibility, obs from Paulo Moura). 2010-04-10 21:23:38 +01:00
Vítor Santos Costa II
b1621d033a export type of foreign fields. 2010-04-10 21:20:00 +01:00
Vítor Santos Costa II
0df80db205 protect from looking at unused fields 2010-04-10 21:19:31 +01:00