Commit Graph

382 Commits

Author SHA1 Message Date
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
1e379e7635 Merge branch 'master' of https://github.com/vscosta/yap-6.3
Conflicts:
	C/c_interface.c
	C/exec.c
2016-12-19 18:28:43 -06:00
Vitor Santos Costa
0a043720b1 What was this doing? 2016-12-16 02:52:34 -06:00
Vitor Santos Costa
4f423dc16a small bugs, especiall in error processing 2016-12-05 14:50:04 -06:00
Vitor Santos Costa
b07a35a993 Merge branch 'master' of https://github.com/vscosta/yap-6.3 2016-12-04 12:49:17 -06:00
Vitor Santos Costa
d37e198c12 signals
doc support
2016-11-23 22:35:39 -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
51bf90908f error handling work 2016-09-27 12:31:12 -05:00
Vitor Santos Costa
2bbc3b9265 rrors 2016-09-22 21:53:42 -05:00
Vitor Santos Costa
7d66aa5d01 improv meta-calls 2016-09-20 22:48:28 -05:00
Vitor Santos Costa
d54446d736 fix bad meta-call handling & throw(Var)
also warnings
2016-08-02 09:01:54 -05:00
Vitor Santos Costa
4628adc63e Merge branch 'master' of https://github.com/vscosta/yap-6.3 2016-08-01 21:45:42 -05:00
Vitor Santos Costa
5606410a64 avoid unnecessary slot ops
drop repeated code
2016-07-30 23:23:06 -05:00
Vitor Santos Costa
5c83d305fc reorder init to handle possible overflows 2016-06-17 16:13:15 +01:00
Vitor Santos Costa
66709db4bb don't blow up with bad modules 2016-06-02 10:51:36 +01:00
Vitor Santos Costa
70f6080857 simplify module unfolding 2016-05-12 11:49:04 +01:00
Vitor Santos Costa
c8f1e8a74a user:term_expansion 2016-04-28 21:59:06 +01:00
Vitor Santos Costa
6ff24e9a16 setup_call_catcher_cleanup 2016-04-15 11:28:07 +01:00
Vitor Santos Costa
c0c002134b Python support 2016-04-12 16:05:20 +01:00
Vítor Santos Costa
145ad73255 small fixes
indenting
2016-03-30 17:35:03 +01:00
Vítor Santos Costa
4103aa6e83 don't inline == and \= for now. 2016-03-30 01:24:34 +01:00
Vítor Santos Costa
1be002558c call_cleanup in C plus indenting 2016-03-29 01:55:12 +01: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
eabc869c69 user expansion
pretty
2016-01-03 01:31:21 +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
a26dbe0dfc init spelling and remove debugging 2015-11-05 16:38:18 +00:00
Vítor Santos Costa
c26e5afaf0 fix bad arg order 2015-10-20 08:10:39 +01:00
Vítor Santos Costa
468913e38c fix arithmetic exceptions 2015-10-18 12:28:02 +01:00
Vítor Santos Costa
8dcae6ca47 restore to original code just in case. 2015-10-13 01:58:23 +01:00
Vítor Santos Costa
68c29b3ab0 no need to change emv 2015-10-11 04:20:36 +01:00
Vítor Santos Costa
b871f6676e fix error handling 2015-09-25 10:57:26 +01:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
99948c5acc fox tracing/ 2015-07-22 19:05:06 -05:00
Vítor Santos Costa
84afde2d56 deadlock avoidal; function renaming 2015-07-06 11:57:47 +01:00
Vítor Santos Costa
b13f742f02 bag of changes
- spacing
- exception handling should be seen carefully.
2015-06-19 00:29:14 +01:00
Vítor Santos Costa
315a882e8f remove swi deps 2015-06-18 08:09:31 +01:00
Vítor Santos Costa
9b6bcdde16 improve notion of standadard predicate 2015-03-04 09:54:08 +00:00
Vítor Santos Costa
ab41d5411e RebootSlots when we start a new execution. 2015-02-10 09:19:05 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00
Vitor Santos Costa
3122d323b5 support 64 bit flags in 32 bit mode 2015-01-14 04:51:54 -08:00
Vítor Santos Costa
bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Vitor Santos Costa
130d28ceb3 recover space after portray 2014-10-23 02:10:55 +01:00
Vitor Santos Costa
2f34be261e beauty 2014-10-23 01:23:29 +01:00
Vítor Santos Costa
d40b9d1426 restore callable. 2014-10-20 09:20:56 +01:00
Vítor Santos Costa
0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Vítor Santos Costa
c7d2973c1e avoid confusing gc. 2014-10-19 01:51:50 +01:00
Vítor Santos Costa
c95045e14c improve support for floating point exceptions. 2014-10-14 01:13:31 +01:00
Vítor Santos Costa
11b957f5fe protect from tracing. 2014-10-05 10:19:42 +01:00
Vítor Santos Costa
7a577a72ff stdbool. 2014-09-22 18:08:39 +01: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
19d0f56f2d fix arena initialization 2014-08-23 14:47:40 -05:00
Vítor Santos Costa
6f88083d38 fix inityaamregs not to destroy global structures. 2014-08-18 01:25:55 -05:00
Vítor Santos Costa
a76b6d23dc Fix: eclipse >u. into >y_u. 2014-05-30 01:06:09 +01:00
Andreas Becker
dc37d76e8b Merge branch 'github.com/master'
Conflicts:
	Makefile.in
2014-05-29 12:19:45 +02:00
Andreas Becker
72b9ec59b7 Fix: Win32 defines Bind, so change Bind to YapBind. 2014-05-29 11:32:28 +02:00
Vítor Santos Costa
a719c19d03 fix interrupt handling, especially for ! and ;
avoid using S.
2014-05-25 20:43:52 +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
f39ed68fe8 check for mistypes 2014-04-06 17:06:19 +01:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
David Vaz
3cad9c37b1 removed unnecessary cut_c macros (always on) 2014-02-11 07:15:39 -08:00
Vitor Santos Costa
d648375412 make MYDDAS into its own module. 2014-01-24 19:59:42 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vitor Santos Costa
a4b130ff1b do wake up before \! 2013-12-16 12:34:41 +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
Vítor Santos Costa
fba3c34e50 trace fixes 2013-12-11 09:34:43 +00:00
Vítor Santos Costa
e768a7e7be small improvements to debugger, prolog mode and meta-call (*->) 2013-12-10 22:58:02 +00:00
Vitor Santos Costa
6ba13c7b88 yaam knows not about handles, and they do not know about the yaam 2013-11-20 22:23:29 +00:00
Vítor Santos Costa
84bd55df0d continue cleanup 2013-11-16 00:27:02 +00:00
Vitor Santos Costa
4e4f21e1dc upgrade to latest swi 2013-11-15 01:10:25 +00:00
Vitor Santos Costa
f0bc4fb458 cut point should be initialised when bootrapping a new goal 2013-04-26 16:38:54 -05:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vítor Santos Costa
8cadc14ed4 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
Conflicts:
	C/exec.c
2013-02-17 07:03:38 -06:00
Vítor Santos Costa
4dc28bc48a add missing predicate. 2013-02-17 07:02:03 -06:00
Vítor Santos Costa
ec7158eb99 debugger progress 2013-02-13 09:06:06 -06:00
Vítor Santos Costa
046cb5f8d6 debugging 2013-02-08 10:36:45 -06:00
Vitor Santos Costa
33da88be5b fix SWI exec issues and try to clean up the code a bit 2013-02-05 14:22:17 +00:00
Vitor Santos Costa
14d4386e5a inf depth limit 2013-01-28 23:21:54 +00:00
Vítor Santos Costa
014a0ec5bc CurSlot maintenance 2013-01-19 22:13:43 +00:00
Vitor Santos Costa
0f362ae77f term and goal expansion should actually call the goal 2013-01-18 14:27:06 +00:00
Vítor Santos Costa
14b67dc76d fix threads 2012-12-20 21:33:20 +00:00
Vítor Santos Costa
45b6263f85 have a separator cell not to confuse the gc. 2012-12-15 00:40:11 +00:00
Vitor Santos Costa
f329b5f06b fix compilation without threads 2012-12-14 22:54:00 +00:00
Vitor Santos Costa
e648d197a8 fix worker_id assignment in threads 2012-12-14 19:58:07 +00:00
Vitor Santos Costa
9107af2e3d improve thread startup 2012-12-13 18:12:50 +00:00
Vitor Santos Costa
e41f821d67 improve multi-threading support from C-interface. Still not quite there. 2012-12-11 22:07:10 +00:00
Vitor Santos Costa
556937195d avoid meta-call in system; improve goal/pred expansion 2012-12-07 08:08:32 +00:00
Vitor Santos Costa
88f2dc7730 change the way predicates are hidden 2012-10-19 18:10:48 +01:00
Vítor Santos Costa
2cfb744b07 fix bad frame pointer. 2012-04-17 00:21:08 +01:00
Vítor Santos Costa
683377b520 buffer output when exiting absmi. 2012-04-12 23:52:25 +01:00
Vítor Santos Costa
2f17b25885 improve error handling. 2012-02-06 11:41:58 +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
8c7d0af032 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-12-22 11:44:48 +00:00
Vítor Santos Costa
551df1c70a handle blob overflows. 2011-12-22 10:27:56 +00:00