Commit Graph

409 Commits

Author SHA1 Message Date
Vitor Santos Costa
da6d41433f Support for booting when YAP is called from a generic app
- ensure pl boot works
- ensure yap is initialed before user code is called
- cleanup code to use file status
2016-06-17 16:02:36 +01:00
Vitor Santos Costa
83a1269553 change bootstrap sequence to support -B and to allow booting from pl files 2016-05-10 08:33:44 +01:00
Vitor Santos Costa
f966a5b912 Fixes for processing write to buffer: should b more robust, but we still may have memory leaks 2016-04-22 18:19:58 +01:00
Vitor Santos Costa
49699f52e9 headers & booting 2016-04-18 16:40:17 +01:00
vscosta
c1b8d140db av 2016-04-17 17:09:10 -07:00
Vitor Santos Costa
c0c002134b Python support 2016-04-12 16:05:20 +01:00
Vitor Santos Costa
65f1cb9741 win64 support: encodings 2016-04-10 06:21:17 -07:00
vscosta
429c8155c9 check for non-heap memory 2016-04-08 01:11:33 -07:00
vscosta
40765a6afb booting from prolog plus indenting 2016-04-05 02:20:16 +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
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
712d79c7bb keep on fixing absolute_name 2016-02-22 12:59:49 +00:00
Vítor Santos Costa
f7d23f9deb Simplify Input/Output
get rid of string I/O, did not add much
getc is never actually used by Prolog
try to use system I/O, even if it may be slower, at least for now.
extend IO C-interface to allow reading clauses
2016-02-21 19:06:25 +00:00
Vítor Santos Costa
26013e2fb9 fix regress in style_check caused by bad argument to add clause 2016-02-21 11:30:13 +00:00
Vítor Santos Costa
52a2d00d0c init stuff. 2016-02-13 02:53:46 +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
ddabfe45b8 WIN32
cleanups
get rid of old log
2016-01-31 10:13:14 +00:00
Vítor Santos Costa
4e2649c743 thread support 2016-01-03 01:25:31 +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
e51de5f83c remove support for confusing manipulation of $VAR 2015-12-15 08:48:53 +00:00
Vítor Santos Costa
edb6189512 allow the option to have priorities above 1200 2015-12-15 08:38:56 +00:00
Vitor Santos Costa
cddb8191c8 config changes 2015-11-09 18:22:43 +00:00
Vítor Santos Costa
f8eb163a1d string to but and improve utf8 2015-11-05 16:59:30 +00:00
Vítor Santos Costa
a26dbe0dfc init spelling and remove debugging 2015-11-05 16:38:18 +00:00
Vítor Santos Costa
8cd22a0c18 strlcat 2015-10-22 00:45:47 +01:00
Vítor Santos Costa
d5c21324a4 small typos 2015-10-09 10:27:48 +01:00
Vítor Santos Costa
e8ed525e3b we usually are not sure how best to pass encoding: pass by ref 2015-10-08 02:12:06 +01:00
Vítor Santos Costa
4ed6e4fae9 indent 2015-10-05 10:27:25 +01:00
Vítor Santos Costa
04a2c10ebe support loop_stream while at initial boot (doesn't really do work so far) 2015-09-29 23:06:49 +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
8dec7f6478 initialize YAAM regs earl on. 2015-07-22 19:01:15 -05:00
Vítor Santos Costa
a97754623f more bootstrap stuff 2015-07-06 11:56:16 +01:00
Vítor Santos Costa
f5b50a4179 fix locks 2015-06-19 10:10:02 +01:00
Vítor Santos Costa
e2fc835cfd less usage of slots 2015-06-19 00:45:54 +01:00
Vítor Santos Costa
3e14ec4cb6 yap flag no more 2015-06-19 00:44:49 +01:00
Vítor Santos Costa
2f96a24a1f SWI not default 2015-06-19 00:42:40 +01:00
Vítor Santos Costa
315a882e8f remove swi deps 2015-06-18 08:09:31 +01:00
Vitor Santos Costa
800289f7bb weird module stuff 2015-04-15 11:45:49 +01:00
Vítor Santos Costa
bf8beba466 more Android fixes
merge trueFileName so that we don;t redo code
support rand48 and srand48
drop support for odbc and prolite, too much work.
2015-04-15 11:21:15 +01:00
Vítor Santos Costa
d1a230eb56 Cosmetic changes 2015-04-13 13:15:30 +01:00
Vitor Santos Costa
63416fdc48 cut_c simplifications 2015-02-14 11:35:45 +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
5a7602dfff fix slot at init 2015-02-09 10:20:19 +00:00
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Vítor Santos Costa
bc1e70758e cmake and jit 2015-01-26 04:02:46 +00:00
Vítor Santos Costa
bece9d05d8 JIT 2015-01-20 03:00:42 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00