Commit Graph

155 Commits

Author SHA1 Message Date
Vitor Santos Costa
1219fb6b6a meta-pred support 2016-09-20 22:49:16 -05:00
Vitor Santos Costa
72fcd2befa IndicatorOfPred 2016-07-30 23:08:05 -05:00
Vitor Santos Costa
7d44e3188b error handling 2016-07-30 23:06:28 -05:00
Vitor Santos Costa
e5891afe44 fix nil pointer in prolog profiler 2016-05-13 11:41:19 +01:00
Vítor Santos Costa
b4742fb3cf fix trying to remove the same atom twice 2016-03-16 23:53:15 +00:00
Vítor Santos Costa
96bc776375 avoid direct dependencies on CurrentModule 2016-03-05 12:12:37 +00:00
Vítor Santos Costa
2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa
c25d35356a Try to clarify operators
prolog has priority and cannot be redefined by default.
user is global but may be redefined
others should just plug-in.
2016-02-26 17:18:37 +00:00
V'itor Santos Costa
be835c73e6 protect from possible overflow 2016-02-11 05:55:53 -08:00
V'itor Santos Costa
b13dc6812c avoid overflow 2016-02-11 05:53:47 -08:00
Vítor Santos Costa
7a24d3015e debugging 2016-01-03 01:16:51 +00:00
Vítor Santos Costa
062293055b protect systemm 2016-01-03 01:16:38 +00:00
Vítor Santos Costa
344cdc69be owner file 2016-01-03 01:15:29 +00:00
Vítor Santos Costa
da66171f3d mod 0 protection 2016-01-03 01:15:11 +00:00
Vítor Santos Costa
3ee2a11529 thread support 2016-01-03 01:13:39 +00:00
Vítor Santos Costa
f0cf91548a change hash function to not be inline 2016-01-03 01:09:57 +00:00
Vítor Santos Costa
15404b3835 small
- do not call goal expansion on meta-calls (that is done by undef).
- docs updates
- fix init code
2015-12-15 09:28:43 +00:00
Vítor Santos Costa
d6148eb8ad indenting 2015-10-22 00:25:11 +01:00
Vítor Santos Costa
b871f6676e fix error handling 2015-09-25 10:57:26 +01:00
Vítor Santos Costa
4336b2ba88 Avoid complaining from strlen
`
2015-09-21 17:05:36 -05:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
98d7b2d7f8 avoi ugly unsigned char * 2015-07-22 18:59:07 -05:00
Vítor Santos Costa
60861649a0 New Flags code 2015-06-18 07:55:07 +01:00
Vítor Santos Costa
4e09c0faf1 more flag and simplification stuff 2015-06-18 00:11:02 +01:00
Vítor Santos Costa
e989419605 Use new YAP flags 2015-06-18 00:05:49 +01:00
Vítor Santos Costa
660800af67 avoid using space on statistics 2015-04-21 16:09:43 -06:00
Vítor Santos Costa
4489616b19 fix current_pred 2015-04-19 04:13:12 +01:00
Vítor Santos Costa
88e3d637ec C++ & swig 2015-02-09 01:53:28 +00:00
Vitor Santos Costa
f22f337f67 32 bit support:
use uint64_t for predflags
define a type for arity
2015-01-06 17:47:58 +00:00
Vitor Santos Costa
afc6c5d04e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	C/threads.c
	JIT/HPP/EnvironmentInit.h
	packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
	pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa
50659967ed begin of support for named mutexes. 2014-11-25 16:41:53 +00:00
Vítor Santos Costa
bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Vitor Santos Costa
fcc0c51ce7 avoid int 2014-09-23 22:35:01 +01:00
Vítor Santos Costa
3c0a65218b use stdbool 2014-09-09 23:50:43 -05:00
Vítor Santos Costa
99713d81a6 replace locks by critical sections in interrupt handling 2014-09-02 14:19:23 -05:00
Vítor Santos Costa
fea65ba68d clean-up: use No Spy and No Trace predicate flags. 2014-06-17 16:24:40 +01:00
Vitor Santos Costa
87d7c90171 adtdefs.c: add debugging code to verify when a specific predicate is added.
modules.* implemente module_property/2:class(_)
prism: comment unneeded labels.
2014-06-17 15:44:46 +01:00
Vítor Santos Costa
f00a6d5a40 small bugfixes and leaks, patch by João Silva 2014-06-14 10:27:39 +01:00
Vítor Santos Costa
daae1df152 g++ coplaints (llvm) 2014-06-12 01:25:50 +01:00
Vitor Santos Costa
ec881b8e13 improve functor locking. 2014-06-11 19:44:01 +01:00
Vítor Santos Costa
6b409a55a6 use const wherever possible 2014-05-25 20:44:57 +01:00
Vítor Santos Costa
1db83cc30d make consult reconsult the original file, so that
[x]. [x].
is more like
[x]. [-x].
2014-04-24 11:40:35 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vitor Santos Costa
5a83e7c7a6 fix text handling for wide strinbgs with max length. 2014-03-18 15:40:50 +00:00
Vítor Santos Costa
f204776107 simplify 2013-12-15 10:27:33 +00:00
Vítor Santos Costa
a8e1b91fd5 make length explicit in buffer conversion 2013-12-15 08:37:10 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vitor Santos Costa
44d28aa0c9 cleanup on exception handling 2013-12-12 14:24:40 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +00:00
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00