Commit Graph

232 Commits

Author SHA1 Message Date
Vitor Santos Costa
98a5538f45 a question of size 2017-09-19 13:19:13 +01:00
Vitor Santos Costa
b24dc4893d text 2017-09-17 21:06:22 +01:00
Vitor Santos Costa
e3ab36f091 call cleanup 2017-09-06 01:13:00 +01:00
Vitor Santos Costa
dac6dc7c22 replace cut_c by trail entries 2017-07-30 21:53:07 +01:00
vsc
272ddc0228 bad merge :( 2017-02-21 14:34:34 -08:00
Vitor Santos Costa
f426d25bef Merge branch 'master' of https://github.com/vscosta/yap-6.3 2017-02-20 15:48:22 +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
6778ea2975 TEXT HANDLING BUGS 2017-01-09 14:58:01 +00: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
02e0e50915 Merge ssh://192.168.66.221/~vitor/Yap/yap-6.3 2016-11-02 00:16:36 -05:00
Vitor Santos Costa
41ccbf7367 allocate space 2016-09-30 17:10:01 -05:00
Vitor Santos Costa
7d6082d39a slots 2016-07-31 04:46:51 -05: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
3ac1a285a9 make syre we have a NUL pointer. 2016-04-18 16:38:29 +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
c25d35356a Try to clarify operators
prolog has priority and cannot be redefined by default.
user is global but may be redefined
others should just plug-in.
2016-02-26 17:18:37 +00:00
Vítor Santos Costa
484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
Vítor Santos Costa
661f33ac7e bug fices 2016-01-03 02:06: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
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
Vítor Santos Costa
f758ac2fe4 misc
Allow string in $VAR
init spell
2015-11-05 16:35:25 +00:00
Vítor Santos Costa
42e2543ab7 generic fixes, mostly indentin 2015-10-22 00:45:21 +01:00
Vítor Santos Costa
b3cc23ce64 IO patches
simplify error handling
use get and inject
use wide support in OS
be stricter in checkin streams and arguments
2015-10-08 02:23:45 +01:00
Vítor Santos Costa
784a058b04 me streams are now OS streams. 2015-10-05 10:30:47 +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
94092be293 bootstrap and small cleanups 2015-07-06 11:59:50 +01:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Vitor Santos Costa
6a0b6fad8b C++ interface and ARM/Android 2015-03-11 22:18:00 +00:00
Vitor Santos Costa
afd8c9b9c4 blanks and backslashed strings 2015-02-10 00:03:02 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00
Vitor Santos Costa
504d67375b fix warning 2015-01-15 01:19:07 -08:00
Vitor Santos Costa
130d28ceb3 recover space after portray 2014-10-23 02:10:55 +01:00
Vitor Santos Costa
d2984b6548 reimplement portray 2014-10-23 01:21:22 +01:00
Vítor Santos Costa
53a8a8f7c9 try to make MT more robust by:
- tracking memory overflows (still worried about blobs)
- moving core components to C-code, namely the mailboxes.
- reducing locking: too many locks == deadlock.
thanks to Paulo Moura for the test suite!
2014-10-19 01:54:57 +01:00
Vitor Santos Costa
9101de3014 handl weird cases in writing [] 2014-09-23 22:33:31 +01:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
ab06b04a09 fix non locale code 2014-06-11 19:30:44 +01:00
Vitor Santos Costa
0aa91d7c00 fix bad handle recovery properly. 2014-05-15 01:11:26 +01:00
Vitor Santos Costa
b532fbd0b9 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	C/write.c
2014-05-14 18:00:25 +01:00
Vitor Santos Costa
94032de135 fix recover slots. 2014-05-14 17:57:41 +01:00
Vítor Santos Costa
503b2b93f9 indenting and fix bad usage of recover slots. 2014-05-14 10:00:40 +01:00
Vítor Santos Costa
f264859483 - versioning in macos
- fixes to input/output to improve interaction with eclipse console.
-
2014-02-20 10:38:18 +00:00
Vítor Santos Costa
6bde2d2cd7 avoid unions called u: they confuse eclipse. 2014-02-18 09:44:01 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vítor Santos Costa
4612a7cc57 ISO 2013-12-20 00:34:15 +00:00
Vítor Santos Costa
35f6ecad66 more atom and string 2013-12-06 15:08:35 +00:00
Vitor Santos Costa
5ada26eab3 improve printing of quoted objects 2013-12-05 21:26:05 +00:00
Vítor Santos Costa
b3608c6a83 improve char conversion 2013-12-05 11:20:57 +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
80dc774a5f fix blob output 2013-11-23 15:19:54 +00:00
Vítor Santos Costa
fd58cf10b2 fix output for floats 2013-11-23 14:51:33 +00:00
Vítor Santos Costa
d447d80fdb improve locale support in scanner and write: basically, just hide current locale 2013-11-23 12:34:49 +00:00
Vitor Santos Costa
220970db6d more integration and cleanup work: allow irect access from YAP to swi global and local, to
check flags quickly.
2013-11-13 12:57:52 +00:00
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
d77de70868 extra protection 2013-10-30 09:41:15 +00:00
Vítor Santos Costa
ff2acca219 fix operators 2013-10-07 12:20:52 +01:00
Vítor Santos Costa
577b99367d don't make mega-clauses always source 2013-09-28 18:20:04 +01:00
Vítor Santos Costa
048c00a7a6 fix writing [](_,_) 2013-09-28 12:12:09 +01:00
Vitor Santos Costa
2cfa0081ad make syntax extensions SWI compatible 2013-09-13 11:44:26 +01:00
Vítor Santos Costa
493161f6d8 ciao style arrays, (...) 2013-07-07 16:15:25 -05:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vitor Santos Costa
87e811028c ifix indenting 2012-12-10 12:48:02 +00:00
Vitor Santos Costa
7b579b810f fix printing of opaque terms. 2012-12-10 12:47:01 +00:00
Vitor Santos Costa
f261a3fd2f fix writing att vars. 2012-05-18 13:03:22 +01:00
Vítor Santos Costa
d3fd980474 another try at improving output of operators. 2012-03-27 16:44:11 +01:00
Vítor Santos Costa
9c685e71a7 fix - -2. 2012-03-27 15:19:07 +01:00
Vítor Santos Costa
573c11e8b2 patch by UN: Avoid writing quoted for bar. Conforms to 6.3.4.3 of ISO/IEC 13211-1:1995/Cor 2:2012 2012-03-22 22:15:07 +00:00
Vítor Santos Costa
857ff4b895 get rid of portray_delays. 2012-03-22 21:59:04 +00:00
Vítor Santos Costa
4484dec044 allow writing constraints, and small fix for writing after prefix ops. 2012-03-22 21:40:42 +00:00
Vítor Santos Costa
3443fa1932 another try... 2012-03-19 09:31:15 +00:00
Vítor Santos Costa
0b8c998ae1 fix - and (. 2012-03-19 08:58:26 +00:00
Vítor Santos Costa
3cb8b99852 fix write -(-1) UN # 236 2012-03-18 00:08:10 +00:00
Vítor Santos Costa
06242879c0 fix hassle with write(-(1)). #UN 135. 2012-03-15 22:55:50 +00:00
Vítor Santos Costa
0c1eb1d642 fix write_canonical of $VAR(_). 2012-03-15 22:19:48 +00:00
Vítor Santos Costa
44737a5d0f Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-03-08 11:29:25 +00:00
Vítor Santos Costa
a95666c977 fix dereferences when saving terms. 2012-03-08 11:28:59 +00:00
Vítor Santos Costa
89183a143a portray_delays only works in debugging mode. 2012-03-08 08:15:13 +00:00
Vítor Santos Costa
3e4a2c6767 improve handling of recursive writes, catch exceptions. 2012-03-07 23:52:15 +00:00
Vítor Santos Costa
665d426e13 fix writing streams by write.c 2012-02-27 08:53:18 +00:00
Vitor Santos Costa
4135553063 fix write to be thread-safe (wrputf was also unsafe *) 2012-02-17 13:41:05 +00:00
Vitor Santos Costa
6403b4793a small write fixes. 2012-02-14 09:10:07 +00:00
Vitor Santos Costa
b454383e30 more write updates. 2012-02-14 07:46:37 +00:00
Vitor Santos Costa
98b2cf70c2 fix write '$VAR'('_A'). 2012-02-14 06:54:32 +00:00
Vitor Santos Costa
247aa54046 back to using YAP writer. 2012-02-13 23:07:31 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
89e23bff65 fix cache usage in write. 2011-07-04 14:14:38 +01:00
Ricardo Rocha
e1fdbd7537 fix incompatibilities with string patch 2011-06-21 16:53:17 +01:00
Vítor Santos Costa
ded6b2435c improve BigNum handling. 2011-06-21 15:11:07 +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
Ricardo Rocha
a532b6cff3 struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS) 2011-05-09 19:36:51 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vítor Santos Costa
697f7c650c I/O fixes. 2011-04-22 15:29:41 +01:00
Joao
b6e0a64e56 fix memory allocation for YapOR 2011-04-14 19:19:13 +01:00
Vítor Santos Costa
b0965f60b5 write at higher depth. 2011-03-24 15:10:29 +00:00