Commit Graph

347 Commits

Author SHA1 Message Date
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