Commit Graph

639 Commits

Author SHA1 Message Date
Vitor Santos Costa 8feca162bf android 2017-11-27 13:36:19 +00:00
Vitor Santos Costa 06485f071a iandroid 2017-11-21 15:44:43 +00:00
Vitor Santos Costa 484213efb6 Merge branch 'master' of github.com:vscosta/yap-6.3 2017-11-18 00:27:26 +00:00
Vitor Santos Costa bf78d70d66 fix skip/1 and debugging stuff
formatting
2017-11-18 00:18:42 +00:00
Vitor Santos Costa ed2c85a56b saved states and anaconda 2017-11-15 12:18:19 +00:00
Vitor Santos Costa 407815e09a skip1?? 2017-10-27 13:56:01 +01:00
Vitor Santos Costa 2e6684b995 immediate_writing 2017-10-27 13:55:34 +01:00
Vitor Santos Costa f12d98a38c typos 2017-10-18 18:23:09 +01:00
Vitor Santos Costa 861f185ec6 atom_concat and empty atoms 2017-10-18 17:03:23 +01:00
Vitor Santos Costa 7dab812d64 chaeacters mostly 2017-10-18 01:02:52 +01:00
Vitor Santos Costa d93134dcf6 Makefiles 2017-10-17 00:13:09 +01:00
Vitor Santos Costa 6b0478db00 anaconda 2017-10-11 02:24:15 +01:00
Vitor Santos Costa da94db80cf fix warnings 2017-10-06 13:05:12 +01:00
Vitor Santos Costa d05b1f4b2b commas 2017-10-02 16:04:34 +01:00
Vitor Santos Costa 9f1ef65ff5 generic tmp alloc fixes. 2017-10-02 08:58:51 +01:00
Vitor Santos Costa 46d997713f memory handling 2017-09-26 15:15:15 +01:00
Vitor Santos Costa a40fbe420f memory mgmt 2017-09-23 02:17:55 +01:00
Vitor Santos Costa 70f4f7adcf text handling/UNICODE 2017-09-21 09:47:21 +01:00
Vitor Santos Costa 98a5538f45 a question of size 2017-09-19 13:19:13 +01:00
Vitor Santos Costa 00d1bf9af4 indenting 2017-09-17 07:53:43 +01:00
Vitor Santos Costa b9c84ab7e9 cmake 2017-09-06 01:17:43 +01:00
Vitor Santos Costa a115024aee Merge http://www.github.com/vscosta/yap-6.3 2017-09-03 10:49:16 +01:00
Vitor Santos Costa 22c0cbeca3 utf-8 in text 2017-09-03 00:15:04 +01:00
Vitor Santoss Costa 675ce8c77b Merge branch 'master' of https://github.com/vscosta/yap-6.3 2017-09-03 00:05:33 +01:00
vscosta b032803616 sytem_library/1should fail on not finding anything 2017-09-02 23:44:16 +01:00
Vitor Santos Costa b1067dcc34 error handling 2017-08-27 22:22:34 +01:00
Vitor Santos Costa ec3995dd82 completion in readline 2017-08-27 22:20:38 +01:00
Vitor Santos Costa 54234c7e1d fix C major issues
- use delays to implement setup_call
- fix user_* flag
- error handling i CXX should b local
- fix mess on  how to call openQuert
- deter pt -> from a pointer to another one
- avoid text forms when you can use C: LOCLS to locals.h
- fux seto_call
- new gated call
- mem streams
2017-08-21 12:29:58 +01:00
Vitor Santos Costa 5b5e954dbc use FeatureSummary 2017-07-30 22:24:00 +01:00
Vitor Santos Costa 8ad14f6765 fix prompting vs buffering outside readline 2017-07-30 22:23:16 +01:00
Vitor Santos Costa 75befc69f7 Merge /home/vsc/github/yap-6.3 2017-07-25 01:11:16 +01:00
Vitor Santos Costa 963752fa9c Android support, 2017-07-25 01:10:44 +01:00
Vitor Santos Costa 22837d498b improve signal handling. 2017-07-24 18:17:51 +01:00
Vitor Santos Costa d7e21c80df fix swi call leak
improve yapi
reformat
2017-06-19 19:02:36 +01:00
Vitor Santos Costa 0d96197ddf X_API 2017-06-12 18:00:47 +01:00
vsc ebd6f0a0c2 windows trouble 2017-06-08 22:16:52 +01:00
Vitor Santos Costa 2ad3420fac fixes 2017-06-05 13:06:12 +01:00
Vitor Santos Costa 0c46c894d3 python support 2017-05-27 22:54:00 +01:00
Vitor Santos Costa 25a2b68b15 yap_kernl + docs 2017-05-25 19:20:16 +01:00
Vitor Santos Costa 6e7846e210 docs 2017-05-02 07:42:21 +01:00
Vitor Santos Costa 70232133cc docs 2017-04-13 21:42:34 +01:00
Vitor Santos Costa 7063641a5b Merge /Users/vsc/yap-6.3 2017-04-08 11:53:14 +01:00
Vitor Santos Costa 4b350ccecc jmp 2017-04-08 11:29:29 +01:00
Vitor Santos Costa faf3c930c8 docs 2017-04-07 23:10:59 +01:00
Vitor Santos Costa fddb79895d fix prompting 2017-03-03 11:21:29 +00:00
Vitor Santos Costa f7efff157b tcflush 2017-03-02 22:01:32 +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 a53615ceaf python .h collision 2017-02-20 14:21: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 c9309dce75 embedded YAP should ignore int by default. 2016-12-16 02:51:17 -06:00
Vitor Santos Costa 4f423dc16a small bugs, especiall in error processing 2016-12-05 14:50:04 -06:00
Vitor Santos Costa 6a4dbd91ec merge text to term routines 2016-12-04 12:52:42 -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 44dab9ab33 fix atom_term 2016-12-03 10:32:13 -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 8d1cc35a8a docsc 2016-11-16 17:17:33 -06:00
Vitor Santos Costa 0be43c6525 fix scripts 2016-11-11 09:53:09 -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 02e0e50915 Merge ssh://192.168.66.221/~vitor/Yap/yap-6.3 2016-11-02 00:16:36 -05:00
Vitor Santos Costa d082af605d less invasive error handling 2016-10-19 22:44:59 -05:00
Vitor Santos Costa 8f72db3b56 fixes 2016-10-19 22:38:17 -05:00
Vitor Santos Costa 8a6de8b157 Merge ssh://ub64:/home/vitor/Yap/yap-6.3 2016-10-16 17:23:04 -05:00
Vitor Santos Costa ad5347257b avoid long vrs in error handling 2016-10-16 17:23:00 -05:00
Vitor Santos Costa 08dd1dcdb3 python 2016-10-16 17:18:51 -05:00
Vitor Santos Costa 3f4fe6815f format was broken in old Linuxen 2016-09-28 09:08:22 -05:00
Vitor Santos Costa a1ee3b30d3 fix mess with memory streams 2016-09-27 19:32:27 -05:00
Vitor Santos Costa b0ce23f131 fix bad header
scan files for line count.
2016-09-27 12:32:48 -05:00
Vitor Santos Costa 21324d7434 fast access too lines in file 2016-09-21 14:47:05 -05:00
Vitor Santos Costa a478a83c27 missing define 2016-09-21 14:44:49 -05:00
Vitor Santos Costa f6d434e314 avoid silly seek 2016-09-21 14:43:18 -05:00
Vitor Santos Costa 04ff54917e Android support 2016-08-30 08:29:40 -05:00
Vitor Santos Costa 5fcf173d0a empty strings 2016-08-30 08:26:14 -05:00
Vitor Santos Costa 15c6381579 file_name_extension 2016-08-29 17:35:01 -05:00
Vitor Santos Costa b80a6bad97 debugging 2016-08-19 21:38:07 -05:00
Vitor Santos Costa 670eacc823 Merge branch 'master' of https://github.com/vscosta/yap-6.3 2016-08-18 01:36:17 -05:00
Vitor Santos Costa a270349dae release mem 2016-08-18 01:34:37 -05:00
Vitor Santos Costa 9e5675755e emptybuffer 2016-08-16 17:11:14 -05:00
Vitor Santos Costa 2d94bba498 fixleak 2016-08-16 17:10:36 -05:00
Vitor Santos Costa 93068241d3 oops 2016-08-16 09:32:27 -05:00
Vitor Santos Costa 2726fb279c fix get_num 2016-08-15 23:42:49 -05:00
Vitor Santos Costa 7b86e28e00 strncpy is trouble 2016-08-15 14:52:39 -05:00
Vitor Santos Costa 44262405df improve deb 2016-08-15 14:52:15 -05:00
Vitor Santos Costa ed6385a3e7 ugh 2016-08-15 14:51:46 -05:00
Vitor Santos Costa cad55bcf71 look for errors 2016-08-15 14:51:36 -05:00
Vitor Santos Costa fccf3d9f6f fix no output 2016-08-15 14:50:58 -05:00
Vitor Santos Costa 2595555982 make get_byte scan text 2016-08-15 14:50:23 -05:00
Vitor Santos Costa a4fa6c5b4b typing 2016-08-07 09:48:50 -05:00
Vitor Santos Costa afeb4b2870 tracing 2016-08-07 09:48:37 -05:00
Vitor Santos Costa 121d927e85 extern and protect Aux 2016-08-07 09:48:21 -05:00
Vitor Santos Costa 339048c76b clean name on close 2016-08-05 16:44:38 -05:00
Vitor Santos Costa 384e74ae59 extern 2016-08-05 16:35:50 -05:00
Vitor Santos Costa be1ce69e07 handle stream error 2016-08-05 16:35:38 -05:00
Vitor Santos Costa b8045f1a39 fix_floats 2016-08-04 10:24:32 -05:00
Vitor Santos Costa 2dbf860a58 linux does not like setbuf on mem stream 2016-08-02 18:23:42 -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 304489c74f warnings and stream read wchar simplification 2016-08-01 19:17:56 -05:00
Vitor Santos Costa 957aa9f977 fix existing-stream ase for with_output_to/2 2016-08-01 13:20:00 -05:00
Vitor Santos Costa 81c00f9736 compilation support 2016-08-01 06:54:28 -05:00
Vitor Santos Costa 8d19f397d4 android and encoding 2016-07-31 10:28:05 -05:00
Vitor Santos Costa 2e6572bfe5 memory parsing here? 2016-07-31 10:17:10 -05:00
Vitor Santos Costa 57ae30c79c fixes and ~T 2016-07-31 10:16:20 -05:00
Vitor Santos Costa fa26588bbf indenting 2016-07-31 10:15:55 -05:00
Vitor Santos Costa 9d3b46132b fix prompting? 2016-07-31 10:14:47 -05:00
Vitor Santos Costa 84d5974cca Android support 2016-07-31 09:55:50 -05:00
Vitor Santos Costa 9b3bbf5e33 android 2016-07-31 09:54:43 -05:00
Vitor Santos Costa 5f2964cce6 handle EOF 2016-07-31 09:54:07 -05:00
Vitor Santos Costa 63b985c452 slots plus read from text 2016-07-31 09:53:23 -05:00
Vitor Santos Costa 943900865e limit history 2016-07-31 09:52:45 -05:00
Vitor Santos Costa 6a076bc8ac lots of fixes 2016-07-31 09:51:52 -05:00
Vitor Santos Costa 5584eb1a55 Android support 2016-07-31 04:56:54 -05:00
Vitor Santos Costa 99b3d0db99 android 2016-06-03 17:05:18 +01:00
Vitor Santos Costa 79e6e3fcc1 fix is_abs_path 2016-06-02 12:49:06 +01:00
Vitor Santos Costa 71c49f5063 memory leaks 2016-05-30 11:25:28 +01:00
Vitor Santos Costa 4ac6d11dca path finding 2016-05-30 11:24:40 +01:00
Vitor Santos Costa cd7571da7a annoying small bugs 2016-05-26 22:47:19 +01:00
Vitor Santos Costa d00698b76a os/sysbits.c 2016-05-19 13:35:22 +01:00
Vitor Santos Costa a5bb2e226c simplifications 2016-05-19 13:34:27 +01:00
Vitor Santos Costa 9fcbfca1fa Merge branch 'master' of github.com:vscosta/yap-6.3 2016-05-16 11:21:58 +01:00
Vitor Santos Costa f54e11db94 flush 2016-05-16 11:21:54 +01:00
Vitor Santos Costa 9f664c9e36 exists 2016-05-15 08:08:42 +01:00
Vitor Santos Costa 7b977c2538 protect bad frees 2016-05-14 11:30:42 +01:00
Vitor Santos Costa c0db3d4e18 recover arg vector 2016-05-14 02:25:51 +01:00
Vitor Santos Costa ea7d247ec8 oops, writing the wrong stuff :( 2016-05-12 11:44:32 +01:00
Vitor Santos Costa 1573d5ebd2 flags 2016-05-12 11:44:00 +01:00
Vitor Santos Costa e92062886b fix format to use two streams, including a memory buffer; simpler 2016-05-12 11:40:22 +01:00
Vitor Santos Costa 407280ea3b fix tab/1 2016-05-12 11:39:29 +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 235179ff47 get rid of warning 2016-04-28 14:57:59 +01:00
Vitor Santos Costa f4111997e7 improve error handling in get_byte 2016-04-22 18:24:20 +01:00
Vitor Santos Costa c06d07985e macro conflict 2016-04-22 18:23:22 +01:00
Vitor Santos Costa b0766abb5c Bug in imported sw :( 2016-04-22 18:22:50 +01:00
Vitor Santos Costa 768b17751b fix redline to send history at the very end 2016-04-22 18:22:17 +01:00
Vitor Santos Costa 445a7f33c1 ANDROID doesn't ;like signals.. 2016-04-22 18:21:45 +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 cd41d373db hiatory 2016-04-19 23:30:02 +01:00
Vitor Santos Costa 3d68f0e06b readline completion 2016-04-19 22:42:44 +01:00
Vitor Santos Costa 96f03e26e8 fix WIN stuff 2016-04-18 16:41:30 +01:00
vscosta c1b8d140db av 2016-04-17 17:09:10 -07:00
Vitor Santos Costa 068b624fca fic tell/1 2016-04-16 02:55:17 +01:00
Vitor Santos Costa ab1b8cea39 fix open/3 munging filenames in write mode 2016-04-15 11:30:33 +01:00
Vitor Santos Costa 1aa20e24b7 misc_bugs_when_compiling_problog 2016-04-14 12:00:09 +01:00
Vitor Santos Costa e6c2503563 fixes + indenting 2016-04-12 16:04:33 +01:00
Vitor Santos Costa 65f1cb9741 win64 support: encodings 2016-04-10 06:21:17 -07:00
vscosta 2f5386bd6f handle cases where mem streams do not have FILE* 2016-04-08 01:22:27 -07:00
vscosta 6ee452f0c5 handle null ptrs 2016-04-08 01:21:22 -07:00
vscosta 948c8e7cbb handle null pointers and memory streams 2016-04-08 01:18:28 -07:00
vscosta c3488eeaed socklen_t should be supported in WIN32 :( 2016-04-08 01:17:05 -07:00
Vitor Santos Costa b89f6e55b4 indenting 2016-04-05 08:12:16 +01:00
vscosta 71f0076ed6 signed wchar 2016-04-05 02:53:39 +01:00
Vítor Santos Costa 145ad73255 small fixes
indenting
2016-03-30 17:35:03 +01:00
Vítor Santos Costa 2d8fdad839 highlighting 2016-03-30 01:27:54 +01:00
Vítor Santos Costa a304fc721a improve error handling; be careful with trail. 2016-03-30 01:27:03 +01:00
Vítor Santos Costa 06e5371afd exceptions 2016-03-29 01:57:55 +01:00
Vítor Santos Costa 2dae2363a3 fix tests 2016-03-29 01:57:13 +01:00
Vítor Santos Costa 9f722319ec fix utf-8 reading 2016-03-29 01:56:38 +01:00
Vítor Santos Costa cda490eda8 aliases should be global? 2016-03-29 01:56:00 +01:00
Vítor Santos Costa bac60d2d94 bad typo in bom 2016-03-06 01:09:02 +00:00
Vítor Santos Costa bc914e9e91 fix lines that terminate on EOF 2016-03-05 23:43:11 +00:00
Vítor Santos Costa 50bfe3c014 ugh 2016-03-05 12:31:09 +00:00
Vítor Santos Costa 0522720ff4 mostly indenting 2016-03-05 12:30:49 +00:00
Vítor Santos Costa 52f949d3f9 further op stuff 2016-03-05 12:18:43 +00:00
Vítor Santos Costa 87c58493d4 /fix stream_prop; indenting 2016-03-05 12:17:23 +00:00
Vítor Santos Costa 5a95c6bbc7 fix stream_property 2016-03-05 00:08:04 +00:00
Vítor Santos Costa d3796aba5a ok, even if the locale is C, unicode is most often supported. 2016-03-03 23:19:19 +00:00
Vítor Santos Costa 5f9752baff use utf-8 internally: problem, still seems to core dump 2016-03-03 23:18:04 +00:00
Vítor Santos Costa 638f784f81 more oops 2016-02-29 03:36:10 +00:00
Vítor Santos Costa b9eb327d86 fix fixes (lots of white space, somehow. 2016-02-29 03:13:23 +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 77123269e7 fix batched job :( 2016-02-26 17:47:40 +00:00
Vítor Santos Costa 54985f4678 fix eof handling + indent 2016-02-26 17:45:45 +00:00
Vítor Santos Costa d9fe5133d3 what happens when a filename is a base path? 2016-02-26 17:30:50 +00:00
Vítor Santos Costa d2dceb91d3 fix syntax errors 2016-02-26 17:28:22 +00:00
Vítor Santos Costa bc291ed08b If user says use module m, then use module M 2016-02-26 17:25:33 +00:00
Vítor Santos Costa e4e59dedf7 win32 support, especially win does not allow file streaming in memory 2016-02-24 02:07:46 +00:00
Vítor Santos Costa 6f1b5fbef9 thread compilation 2016-02-22 13:01:09 +00:00
Vítor Santos Costa 712d79c7bb keep on fixing absolute_name 2016-02-22 12:59:49 +00:00
Vítor Santos Costa 588ef40a16 follow encoding directives 2016-02-22 12:57:46 +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 b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +00:00
Vítor Santos Costa eec32e698a stream_Property/2:
allow sp(X,Y), sp(u,Y), sp(X,t(Y))
 fix lines
2016-02-20 01:30:52 +00:00
Vítor Santos Costa bc71e54f20 encoding stuff 2016-02-19 19:36:11 +00:00
Vítor Santos Costa d8620c785e lucky this wasn't noticed 2016-02-19 19:31:58 +00:00
Vítor Santos Costa 083d374e02 fix missing syntax errors regression :( 2016-02-19 11:34:48 +00:00
Vítor Santos Costa ad91eb0ec9 fix regression: checking for EOT should first peek, and if happy consume the blank after the dot. 2016-02-18 22:10:40 +00:00
Vítor Santos Costa 484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
Vítor Santos Costa fb966536a9 warnings 2016-02-14 04:15:53 +00:00
Vítor Santos Costa 0a9f37710c reformatting 2016-02-14 04:15:28 +00:00
Vítor Santos Costa ae65bb0265 fix peek 2016-02-14 04:14:31 +00:00
Vítor Santos Costa 42091deffc encoding fixes 2016-02-14 04:14:20 +00:00
Vítor Santos Costa df0b3d3a0d make base name and dirname compatible with other prologs 2016-02-13 20:32:26 +00:00
Vítor Santos Costa 9860b6244f small changes 2016-02-13 03:11:25 +00:00
Vítor Santos Costa bea2431c3e back port 2016-02-11 15:39:04 +00:00
Vítor Santos Costa 8f9fb0437c git ... 2016-02-11 15:35:34 +00:00
Vítor Santos Costa 21fa15bf10 macos fixes 2016-02-11 15:32:42 +00:00
V'itor Santos Costa ee0335124f absolute_filename ^#%@% 2016-02-11 06:17:30 -08:00
V'itor Santos Costa 9a071d5823 split path processing 2016-02-11 06:15:30 -08:00
Vitor Santos Costa c8305988ca Merge branch 'master' of github.com:vscosta/yap-6.3 2016-02-03 10:17:01 +00:00
Vitor Santos Costa 143684731e foreign files 2016-02-03 09:22:23 +00:00