Vitor Santos Costa
124b2e9069
move all error related state to a record
2016-09-20 22:52:34 -05:00
Vitor Santos Costa
db0deea576
ugh, that hurts
2016-08-01 19:15:31 -05:00
Vitor Santos Costa
9e01be6a22
clean
2016-08-01 17:50:31 -05:00
Vitor Santos Costa
1da507902c
use indicator instead of name
2016-07-30 23:19:56 -05:00
Vitor Santos Costa
d375d0ffbb
indenting
2016-05-14 11:34:27 +01:00
Vítor Santos Costa
1be002558c
call_cleanup in C plus indenting
2016-03-29 01:55:12 +01:00
Vítor Santos Costa
001b169d81
indenting
2016-03-05 12:21:58 +00:00
Vítor Santos Costa
1c68deb663
dump stack on YAP bug (maybe extend to user foreign code).
2016-02-20 23:58:06 +00:00
V'itor Santos Costa
74b2b5561d
- add debugging code to memory allocation
...
= atom to number: cleanup function name as this is more than just supporting SWI
- SrcMask only applies to rules.
- add auxiliary type/error function
- fix typos
- fix enumeration mode in current_flag
- get rid of TrueName routines, use AbsoluteFileName instead.
- detail synatx error source
2016-02-11 06:03:33 -08:00
Vítor Santos Costa
3de5b2c2de
error_handling
2016-01-31 11:54:45 +00:00
Vítor Santos Costa
f5c493507e
CurrentModule needs to be set correctly,
2016-01-31 10:16:02 +00:00
Vítor Santos Costa
703ac35735
fix error crash while constructing error term
2016-01-20 23:16:04 +00:00
Vítor Santos Costa
50c8724322
linux backport
...
file exists system predicate
$source_file -> $user source
hide and make system preds
fix check_head_and_body
user_expansion never fails
goal expansion is controlled b dynamic procedure
add must_be_of_type predicate_indicator
fix neat_call, debug flag is user controlled
use simplecudd, not ptoblogbdd
compile all of myddas
fx junk in file_name
fix warnings
use common file opening struct and funds
avoid pairs module
fix db queues
2016-01-04 14:11:09 +00:00
Vítor Santos Costa
c927cd5133
fix flags
2016-01-03 01:29:27 +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
14459cce03
undefined with fast_fail support
2015-12-15 09:18:36 +00:00
Vítor Santos Costa
12dcbbc0f3
Fix error hanfler
...
bug location info
detail exit msg
fix error term construction.
2015-11-05 15:21:21 +00:00
Vítor Santos Costa
5762aa846c
indenting, fix syntax erors
2015-10-18 11:39:25 +01:00
Vítor Santos Costa
a66f5f0531
fix warning
2015-10-09 19:05:36 +01:00
Vítor Santos Costa
d1c4db3c4b
be careful about error mode
2015-10-08 02:12:56 +01:00
Vítor Santos Costa
7885433ab5
mostly indenting
2015-10-05 10:29:07 +01:00
Vítor Santos Costa
cd7d654cca
first cut at detecting error source
2015-09-29 23:09:12 +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
338a4bb733
consistency changes
2015-08-18 14:56:54 -05:00
Vítor Santos Costa
b164f53191
fix regression tests
2015-08-07 16:57:53 -05:00
Vítor Santos Costa
69344f26d1
fixes to warning and complicated cases where warnings are called insidewarning
2015-07-22 19:04:22 -05:00
Vítor Santos Costa
3a00568489
warnings + some work on naming funnctions
2015-07-06 11:51:24 +01:00
Vítor Santos Costa
1c06bfdc05
cmake & text support
2015-06-19 01:30:13 +01:00
Vítor Santos Costa
bc1e70758e
cmake and jit
2015-01-26 04:02:46 +00:00
Vitor Santos Costa
ce84e60d08
cosmetic
2015-01-18 01:32:13 +00:00
Vitor Santos Costa
9623f70d3a
fix types
2015-01-17 02:50:54 -08:00
Vítor Santos Costa
a83ff038f4
Mutex stuff movibg to C
2014-11-27 10:02:04 +00:00
Vitor Santos Costa
1bb12cbc35
second try to fix error handling in arithmetic expressions. THis time:
...
- exit at predicate end;
- just return first on multiple erors.
- YapArithError takes care of inner errors, Yp_EvalError fixes externals.
- a few ISO stuff to make Paulo's unit tests go happier.
2014-10-16 10:49:11 +01:00
Vítor Santos Costa
3168b2cfc8
fix int/Int in save; add debugging (obs from Gong Su
2014-09-16 04:00:31 -05:00
Vítor Santos Costa
87a0a7af74
define unnecessary lock
2014-09-08 17:11:26 -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
bc16bf83ec
small fixes
2014-08-04 09:47:03 -05: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
2c89aadb11
WIN64 support (sill needs improvement)
2014-03-06 02:09:48 +00:00
Vitor Santos Costa
6b2e1973ab
Windows fixes, mainly H -> HB
2014-01-19 21:15:05 +00:00
Vitor Santos Costa
44d28aa0c9
cleanup on exception handling
2013-12-12 14:24:40 +00:00
Vítor Santos Costa
29c0d55ad4
nth_clause cleanup with support for mega and exo clauses
2013-12-09 14:16:30 +00:00
Vítor Santos Costa
adea3bdb24
more string fixes and get_code
2013-12-08 19:12:24 +00:00
Vitor Santos Costa
7e58cf7755
more atom/string manipulation fixes and SWI compatibility
2013-12-05 21:26:46 +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
Vítor Santos Costa
797c063785
debug bad exit
2013-10-14 08:04:24 +01:00
Vitor Santos Costa
743c9c69fb
get rid of PROTO
2013-04-25 17:15:04 -05:00
Vitor Santos Costa
6d16dcf991
fix message
2013-04-16 14:38:01 -05:00
Vitor Santos Costa
9ce268915d
imprive error handling.
2013-01-29 10:50:04 +00:00