Commit Graph

246 Commits

Author SHA1 Message Date
Vitor Santos Costa
bdc9e7005d scanner fixes
-> vs !
error handling
2018-02-21 13:02:20 +00:00
Vitor Santos Costa
34c6ace8be fixes 2018-02-07 21:48:37 +00:00
Vitor Santos Costa
4c25aa21c5 boot 2018-01-18 14:47:27 +00:00
Vitor Santos Costa
9a5681b2cb rpath 2017-12-10 11:42:51 +00:00
Vitor Santos Costa
645b2c7d93 boot 2017-12-05 15:14:57 +00:00
Vitor Santos Costa
3688819ea2 iandroid 2017-11-29 13:47:57 +00:00
Vitor Santos Costa
7dab812d64 chaeacters mostly 2017-10-18 01:02:52 +01:00
Vitor Santos Costa
9f1ef65ff5 generic tmp alloc fixes. 2017-10-02 08:58:51 +01:00
Vitor Santos Costa
b24dc4893d text 2017-09-17 21:06:22 +01:00
Vitor Santos Costa
51b99388e7 use same format for all call instructions; try to be more robust in doing g 2017-08-27 22:03:19 +01:00
Vitor Santos Costa
4180fd9737 error handling (Miguel Areias) 2017-03-23 12:28:46 +00:00
Vitor Santos Costa
65ff3ed471 Smaller updates:
constant use of longjmp
conflict with python headers
win32 support
dll support
2017-02-20 15:28:46 +00:00
Vitor Santos Costa
5526dc48bf Keep improving EH 2016-12-10 01:07:57 -06:00
Vitor Santos Costa
f44ef18fed fix atom_to_term and increase sharing on CUDD stuff 2016-11-23 17:23:59 -06:00
Vitor Santos Costa
b03e0634c7 fixes + win64 2016-11-08 01:37:36 -06:00
Vitor Santos Costa
46a9d52d2d Memory management and UTF-8 for all fixes 2016-11-04 11:36:48 -05:00
Vitor Santos Costa
d082af605d less invasive error handling 2016-10-19 22:44:59 -05:00
Vitor Santos Costa
2bbc3b9265 rrors 2016-09-22 21:53:42 -05:00
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
Vitor Santos Costa
8758b6de5a improve error handling for qload 2013-01-18 14:30:10 +00:00
Vítor Santos Costa
e1f6187395 make syntax error standard. 2012-05-03 00:16:11 +01:00
João Santos
21522ce151 CACHE_REGS 2012-02-07 15:18:43 +00:00
Vítor Santos Costa
123ef47171 fix longjmp RestartEnv to be performed by a single function. 2012-02-05 12:04:29 +00:00
Vítor Santos Costa
6c98e37e18 make sure to save absmi registers before longjmp. 2012-02-05 10:51:40 +00:00
Vítor Santos Costa
22a4dcf9bd fix tp warning. 2011-12-30 16:02:45 +00:00
Vitor Santos Costa
a2a554f17f improve debugger error reporting. 2011-10-12 23:50:49 +01:00
Vítor Santos Costa
43c07f5051 more speed stuff. 2011-10-02 21:01:14 -03:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
2bc9f6093c type error for string 2011-06-13 01:42:32 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vítor Santos Costa
f4b218b50d Yap_ErrorMessage should never point at an atom! 2011-04-27 10:04:26 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a3f79cede9 WINDOWS compatibility 2011-03-08 00:03:50 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
b868d85ac8 make rl not deadlock under SIGINT 2011-03-01 12:31:19 +00:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
ubu32
140318ff16 read works now. 2011-02-14 23:39:27 -08:00
Vítor Santos Costa
8db05c883b make sure we separate betwen async exceptions and synchroneous. 2010-12-04 19:05:13 +00:00
Vítor Santos Costa
c6f41e2970 YAP_FAIL_ERROR in case a fail has been requested, but not accepetd yet. 2010-12-04 18:45:09 +00:00
Vitor Santos Costa
9396252588 patches to provide initial support UTF32 encodings(from Paulo Moura) 2010-10-27 14:49:27 +01:00
Vítor Santos Costa
2d425fb7b4 don't go set jumping if in UserCCode. Just say there is an exception. 2010-08-04 11:34:04 +01:00
Vítor Santos Costa
e031026a62 instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
2010-07-25 11:22:16 +01:00
Vitor Santos Costa
3e8dc5cd19 try to handle overflows in stack dumpers. 2010-04-29 10:29:06 +01:00
Vitor Santos Costa
066603c79b fix global variables 2010-04-08 01:44:08 +01:00
Vítor Santos Costa II
b068721c68 fix type warnings. 2010-03-22 15:01:54 +00:00
Vitor Santos Costa
7037b38fa7 make nb_ undefined variable return an error, as SWI does. 2010-02-28 00:57:29 +00:00
Vitor Santos Costa
4355a94793 make syntax_error handling ISO compatible. 2010-02-26 13:08:38 +00:00
Vitor Santos Costa
038b74493c more ATOM changes. 2010-02-26 10:59:43 +00:00
Vitor Santos Costa
ff20a23e64 stop counters at counter underflow event 2009-06-26 08:42:40 -05:00
Vitor Santos Costa
e6265e9d84 only dump stack if user not handling the stack #47 2009-06-12 14:04:32 -05:00