Commit Graph

158 Commits

Author SHA1 Message Date
Vitor Santos Costa
f1ddb5822e fix predicate search 2017-06-06 12:47:59 +01:00
Vitor Santos Costa
436a4b4235 smal fix 2016-12-16 03:54:16 -06:00
Vitor Santos Costa
474fa2fe14 one_arg 2016-12-06 01:50:11 -06:00
Vitor Santos Costa
b03e0634c7 fixes + win64 2016-11-08 01:37:36 -06:00
Vitor Santos Costa
12664254e9 keep on trying to get this right 2016-07-31 10:35:18 -05:00
Vitor Santos Costa
32743f3731 undef handler 2016-06-03 16:53:43 +01:00
Vitor Santos Costa
437a303681 modules and extra cut. 2016-05-19 13:38:54 +01:00
Vitor Santos Costa
214b6a74ff debugging 2016-05-15 08:12:49 +01:00
Vitor Santos Costa
d46bef3adb verbose_load 2016-05-12 11:45:06 +01:00
Vitor Santos Costa
516f89b76d verbosity cleanup -- not finished yet 2016-05-10 15:44:28 +01:00
Vitor Santos Costa
e98c4c9f2a start cleaning up message code 2016-05-10 15:23:22 +01:00
Vitor Santos Costa
6880fc20a6 win32 2016-04-18 13:37:31 +01:00
Vítor Santos Costa
f3e8b8b3da indenting; warning; exceptions; small fixes 2016-03-29 02:02:43 +01:00
Vítor Santos Costa
da51cfe6b9 use system.2 2016-03-05 12:41:47 +00:00
Vítor Santos Costa
8c7756f8fb He who messes with error messages... 2016-03-03 23:23:32 +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
d2dceb91d3 fix syntax errors 2016-02-26 17:28:22 +00:00
Vítor Santos Costa
f017f38dee move error handling to early on so as to get feedback on errors since bootstrap. 2016-02-21 19:09:10 +00:00
Vítor Santos Costa
504734c879 typo 2016-02-20 23:58:37 +00:00
Vítor Santos Costa
b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +00:00
V'itor Santos Costa
ee0335124f absolute_filename ^#%@% 2016-02-11 06:17:30 -08:00
Vítor Santos Costa
7aba41e7c2 cleanup 2016-01-31 19:41:10 +00:00
Vítor Santos Costa
828c2c9f6e docs 2016-01-20 22:36:16 +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
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
2b5f5c3d0a another useless message 2015-11-11 16:49:44 +00:00
Vítor Santos Costa
1d66c45fc2 more fixes to absolute_file_names and a new option, glob/1. 2015-11-09 11:27:46 +00:00
Vítor Santos Costa
35bebd3a56 lots of annoying small bugs 2015-11-05 17:23:26 +00:00
Vítor Santos Costa
f1be0f94d0 restore prefix 2015-10-22 00:39:39 +01:00
Vítor Santos Costa
98127b7102 error handling 2015-10-18 11:50:49 +01:00
Vítor Santos Costa
ec1e35192f user handling of messages 2015-10-13 02:19:21 +01:00
Vítor Santos Costa
59f6e89def make new framework more flexible. 2015-10-05 10:38:54 +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
c97cd1fcae Rewrite message handling to be structured and less of a mess 2015-08-18 14:53:05 -05:00
Vítor Santos Costa
dbdae6a930 syntax error handling 2015-07-27 22:22:44 -05:00
Vítor Santos Costa
78ed4c9e5e debugging stuff 2015-07-22 19:31:03 -05:00
Vítor Santos Costa
1d6f9981e1 mkdir and small stuff 2015-07-06 12:04:42 +01:00
Vítor Santos Costa
0889596e8b flags etc 2015-06-19 01:12:05 +01:00
Vítor Santos Costa
3164ed2d61 doc support 2015-01-04 23:58:23 +00:00
Vítor Santos Costa
53877ad426 docs 2014-12-24 15:32:29 +00:00
Vítor Santos Costa
a83ff038f4 Mutex stuff movibg to C 2014-11-27 10:02:04 +00:00
Theo
ddb8e2dd3f Fixed the domain error flag_value message to be able to print the flag if given. 2014-11-13 18:13:49 +00:00
Vítor Santos Costa
e9cc545f68 big cleanup: cpmpile under style checker.
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
a306d0b0ee improve messages for cosulting. 2014-10-02 14:52:54 +01:00
Vítor Santos Costa
5bd42984b9 fix qsave_module 2014-09-25 09:45:25 +01:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
b26b5b1b7d small fixes 2014-09-09 23:53:41 -05:00
Vítor Santos Costa
ce8a4b6958 module fixes plus add better docs 2014-07-17 12:19:38 -05:00
Vítor Santos Costa
d8f4a77f47 fix style_check to be called at parse-time and not cause eexcution overheads. 2014-04-24 08:26:31 +01:00
Vítor Santos Costa
f1951777b7 fix checker to use read for singleton variables, instead of always computing
them.
2014-04-23 21:39:32 +01:00
Vítor Santos Costa
605e68c80d fix prolog:messages 2014-04-21 11:29:05 +01:00
Vítor Santos Costa
a8c77d2609 fix string_concat/2 2014-04-09 12:39:29 +01:00
Vitor Santos Costa
cc84cd8cb5 check for mistypes 2014-04-06 17:05:17 +01:00
Vitor Santos Costa
2c8fcc6698 fix typo 2014-01-10 15:34:02 +00:00
Vitor Santos Costa
bcc1757989 fixes to message handling 2014-01-07 01:10:48 +00:00
Vitor Santos Costa
26c80b0624 use singletons option of read_term to implement singleton test 2014-01-06 22:17:42 +00:00
Vítor Santos Costa
2f8c3d2d1b fix getting thread and sending it to format 2013-12-11 00:03:13 +00:00
Vítor Santos Costa
cc03317bd0 user defined messages 2013-11-22 00:44:28 +00:00
Vítor Santos Costa
4818d28b0b handle alias 2013-11-04 22:32:03 +00:00
Vitor Santos Costa
6404c2d827 fix error 2013-03-19 21:23:55 -05:00
Costa Vitor
da79af201b top-level more SWI style. 2013-02-12 12:47:30 -06:00
Vitor Santos Costa
cf3c62f4b4 names are now atoms, not sequences of codes 2013-02-04 22:55:34 +00:00
Vítor Santos Costa
e1f6187395 make syntax error standard. 2012-05-03 00:16:11 +01:00
Vítor Santos Costa
7d3d9bcf41 fix module stuff. 2012-03-28 14:35:09 +01:00
Vítor Santos Costa
1698bb3c91 imessage for missing library. 2012-03-22 21:42:41 +00:00
Vítor Santos Costa
d971219b7e just add a comment. 2011-11-08 15:48:55 +00:00
Vítor Santos Costa
a90eaa4937 fix syntax error handling. 2011-11-08 15:30:06 +00:00
Vitor Santos Costa
67ddf94afa fix error messages. 2011-07-22 23:38:19 +01:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
1da3cc8b5c compatibility with SWI generated error messages. 2011-02-11 19:00:32 +00:00
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +00:00
Vitor Santos Costa
9396252588 patches to provide initial support UTF32 encodings(from Paulo Moura) 2010-10-27 14:49:27 +01:00
Vitor Santos Costa
7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +01:00
Vitor Santos Costa
bf40154ff1 fix UN #189 and #172 2010-09-27 22:31:06 +01:00
Vítor Santos Costa
6895b8521a fix for long messages (from Denys Duchier) 2010-08-02 18:44:10 +01:00
Vitor Santos Costa
8e72f97651 fix version info to be more like SWI/SICStus. 2010-04-06 00:57:40 +01: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
ec30e08f69 add user_flags/s prolog_flag 2010-02-28 00:42:47 +00:00
Vitor Santos Costa
4355a94793 make syntax_error handling ISO compatible. 2010-02-26 13:08:38 +00:00
Vitor Santos Costa
06d30b9fc9 Jump and Throw need to store the term away, if they try to use arena
the term will hang in the stack (#152).
2009-12-02 21:59:41 +00:00
Costa Vitor
51d1c442d6 fix not_empty_list #92 2009-06-03 10:43:40 -05:00
Vitor Santos Costa
d6ed058157 first pass at a decent implementation of PL_error (#95)
- basically copy SWI code.
2009-05-30 12:52:23 -05:00
Vitor Santos Costa
f79d79e926 replace TYPE_ERROR_VARIABLE for attributes #57 2009-05-22 21:51:48 -05:00
Costa Vitor
7304fbda13 fix lack of streams message (Ulrich Neumerkel #60) 2009-05-22 19:55:18 -05:00
Vitor Santos Costa
f4e3869025 include messages for out of stack and friends. 2009-05-17 10:40:14 -07:00
Vitor Santos Costa
6a6b18b045 send the abort message at the right place. 2009-05-04 22:31:03 -05:00
Vitor Santos Costa
c132e7e6ec fix gmp support to give out of resource error if the bignum is too big. 2009-04-25 11:01:33 -05:00
Vitor Santos Costa
2503805aff support 2^2 is 4 and not 4.0: complicated if we have to deal with bignums. 2009-04-24 19:03:00 -05:00
Vitor Santos Costa
007a1346f4 fix unhandled exceptions. 2009-03-26 08:54:49 +00:00
Vitor Santos Costa
503d97af90 make top-level error handling a bit more compatible with SWI. 2009-03-10 18:07:50 +00:00
Vitor Santos Costa
0dcf34b7bc mainbranch fixes to:
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00
vsc
dc53522604 small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2289 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:58:59 +00:00
vsc
d8e5f2c895 fixes by Bart and Tom: mostly libraries but nasty one in indexing
compilation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2286 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-11 17:02:10 +00:00
vsc
e90f744e5e fix stack growth in globals
fix compilation messages


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2277 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-16 21:22:15 +00:00
vsc
ac6ddd5005 fix syntax error messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2275 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-12 10:55:52 +00:00
vsc
0c006711ba fix cygiwn version
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2248 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 22:29:52 +00:00
vsc
7c24afa0f2 handle SIGPIPE and improve USR1 and USR2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2242 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-23 10:02:13 +00:00
vsc
316811d2cd user:goal_expand should be called before import
add extra apply_macros and apply stuff; fix unexisting definitions.
add forall/2 and ignore/1 to system stuff.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2237 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-15 13:41:48 +00:00