Commit Graph

260 Commits

Author SHA1 Message Date
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
c1b977b901 make sure we release streams lock!! 2015-10-05 10:37:23 +01:00
Vítor Santos Costa
4d132d278c fix confused predicate term_to_string/2. 2015-10-05 10:36:43 +01:00
Vítor Santos Costa
4cbf3387e1 PLIOError should return file number, where 2015-10-05 10:34:32 +01:00
Vítor Santos Costa
166d4892f9 mostly indenting 2015-10-05 10:33:52 +01:00
Vítor Santos Costa
e5fc818c37 encoding detection 2015-10-05 10:32:56 +01:00
Vítor Santos Costa
9326b2ea62 locking and other small fixes 2015-09-29 23:44:11 +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
880a9989c3 small changes 2015-08-18 15:08:52 -05:00
Vítor Santos Costa
bb68d19d39 remove automatically generated atom terms 2015-08-18 14:38:36 -05:00
Vítor Santos Costa
ca25eaa450 Improve error handling: calls to gc and syntax error management 2015-08-18 14:37:39 -05:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
dbdae6a930 syntax error handling 2015-07-27 22:22:44 -05:00
Vítor Santos Costa
3f55904bfe missing files 2015-07-24 21:35:02 -05:00
Vítor Santos Costa
d4f49a20ba missing files 2015-07-24 21:28:04 -05:00
Vítor Santos Costa
f3b84af062 bunch of fixes for YAP's own IO 2015-07-22 19:33:30 -05:00
Vítor Santos Costa
33de6766a5 bootstrap 2015-07-06 12:03:16 +01:00
Vítor Santos Costa
03d9fdd45a cleanups 2015-07-06 12:00:21 +01:00
Vítor Santos Costa
421dee6881 register init (again) 2015-07-06 11:54:33 +01:00
Vítor Santos Costa
f5b50a4179 fix locks 2015-06-19 10:10:02 +01:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
60861649a0 New Flags code 2015-06-18 07:55:07 +01:00
Vítor Santos Costa
c755a6d4e5 configuration for os interface layer 2015-06-18 01:48:44 +01:00
Vítor Santos Costa
c652f79f26 old swi library: replace by original yap code 2015-06-18 01:47:23 +01:00
Vítor Santos Costa
eabf145052 write and write_term 2015-06-18 01:40:15 +01:00
Vítor Santos Costa
4f8b6929b9 g;ue 2015-06-18 01:39:03 +01:00
Vítor Santos Costa
ef75c89c51 generic console 2015-06-18 01:35:39 +01:00
Vítor Santos Costa
8fb4f2a146 unicode 2015-06-18 01:34:39 +01:00
Vítor Santos Costa
a9abd9ea6a char_type 2015-06-18 01:34:23 +01:00
Vítor Santos Costa
b4e0cabb77 file and dir support 2015-06-18 01:33:55 +01:00
Vítor Santos Costa
a721aa5a3c format/2 2015-06-18 01:33:21 +01:00
Vítor Santos Costa
f4e4220130 in-memory streams 2015-06-18 01:32:33 +01:00
Vítor Santos Costa
3c0987ef55 piping support] 2015-06-18 01:31:02 +01:00
Vítor Santos Costa
d5e85663d9 sockets i/o 2015-06-18 01:24:14 +01:00
Vítor Santos Costa
3d6a8ddc77 read lines and files 2015-06-18 01:21:20 +01:00
Vítor Santos Costa
1b975a7a78 read_term/3 2015-06-18 01:20:05 +01:00
Vítor Santos Costa
aa29b88e70 swi utf-8 2015-06-18 01:18:24 +01:00
Vítor Santos Costa
204f81876a not well supported in YAP 2015-06-18 01:02:06 +01:00
Vítor Santos Costa
9c1a3cc3b1 support for get and put 2015-06-18 00:59:10 +01:00
Vítor Santos Costa
bd572cbb59 taken from iopreds.c: alias handling 2015-06-18 00:58:51 +01:00
Vítor Santos Costa
c26b5f3175 increase the ignore list 2015-06-17 23:49:02 +01:00
Vítor Santos Costa
0ed3ee4fc4 enable path expansion by default 2015-04-24 10:03:44 -06: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
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Vitor Santos Costa
d6e648a7ff do not use SWI path handling code: YAP should not try to control cwd, that's the OS task 2015-03-28 19:41:12 +00:00
Vítor Santos Costa
5f7101a9e3 fix parameters for open 2015-03-24 09:38:02 +00:00
Vítor Santos Costa
272d28ae5f android 2015-03-16 17:25:09 +00:00
Vitor Santos Costa
6a0b6fad8b C++ interface and ARM/Android 2015-03-11 22:18:00 +00:00
Vítor Santos Costa
a9acacd1c5 android stopped working. 2015-03-04 09:43:37 +00:00
Vítor Santos Costa
8a4257d80a make var names available as a global var 2015-03-04 09:40:21 +00:00
Vítor Santos Costa
3bcde55a77 -bad typing in SWI emulation. 2015-02-13 12:20:46 +00:00
Vitor Santos Costa
afd8c9b9c4 blanks and backslashed strings 2015-02-10 00:03:02 +00:00
Vítor Santos Costa
88e3d637ec C++ & swig 2015-02-09 01:53:28 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00
Vitor Santos Costa
45e3711ca2 remove system mod 2015-01-16 20:42:52 -08: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
Vitor Santos Costa
247371c095 cmake 2014-12-15 23:05:05 +00:00
Vítor Santos Costa
83d80943b9 missing in repo 2014-12-15 12:22:58 +00:00
Vítor Santos Costa
0200f39661 oops 2014-12-14 19:21:51 +00:00
Vítor Santos Costa
90feb7f9f8 cmake support 2014-12-14 12:05:43 +00:00
Vitor Santos Costa
ff977fbad8 cmake support: first cut from David Vaz work.i 2014-12-04 07:59:30 +00:00
Vítor Santos Costa
84e4162435 portability 2014-11-28 02:34:26 +00:00
Vítor Santos Costa
d526545bc9 Merge branch 'master' of github.com:vscosta/yap-6.3
Conflicts:
	C/sysbits.c
	C/threads.c
2014-11-27 15:15:22 +00:00
Vítor Santos Costa
c9c2d7233c fix warnings 2014-11-26 09:47:05 +00:00
Vitor Santos Costa
624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
vscosta
1650b12267 windows os stuff
-new subgroup
- avoid fied size types
- FOLDERID
-  registr get sub key
2014-11-10 01:51:33 +00:00
vscosta
58734fe2e7 win32 support
- support for win graphic console
- correct versioning
- document mkwin script
2014-11-04 01:27:58 +00:00
vscosta
091f9dda33 MSYS32 2014-10-30 07:46:17 +00:00
vscosta
93bad76d18 type mess in mingw32/MSYS
int or mode_t?
2014-10-30 07:44:43 +00:00
Vítor Santos Costa
546af97345 win32 patches 2014-10-28 12:56:26 +00:00
Vítor Santos Costa
fca75670bc fix argv && os_argv 2014-10-26 17:38:41 +00:00
Vitor Santos Costa
f7fe32a03c fix win32 warnings: unsigned long != CELL, IOSTREAM with sace restore, _ffsll and _isatty, fp patches 2014-10-24 15:18:32 +01:00
Vitor Santos Costa
13421d0cd7 fix minor locking problems and disable localization for now 2014-10-19 03:51:56 +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
Vítor Santos Costa
438c09b5d0 if THREADS on, please usse locking. 2014-10-19 01:44:11 +01:00
Vítor Santos Costa
71c587bec1 better safe than.. 2014-10-19 01:43:14 +01:00
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vitor Santos Costa
1896237ed3 remove unknows msg 2014-10-09 10:49:24 +01:00
Vítor Santos Costa
0ba024a7b0 activate style checking from day 1. 2014-10-07 01:37:13 +01:00
Vítor Santos Costa
64e7e7e663 make writeln a C built-in. 2014-10-05 23:51:43 +01:00
Vítor Santos Costa
3ab27ad588 allow application to set source file, useful in saved states. 2014-10-02 14:29:48 +01:00
Vítor Santos Costa
61ffaf5720 avoid int 2014-10-02 14:26:50 +01:00
Vítor Santos Costa
0a353815a3 fix argunebt handling 2014-09-15 13:41:44 -05:00
Vítor Santos Costa
aeb54ebc61 more doc udates 2014-09-15 13:10:49 -05:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -05:00
Vítor Santos Costa
582efcf6eb try again t fix readline paths in config 2014-09-15 03:13:21 -05:00
Vitor Santos Costa
b7ae9cb45e documentation improvemeents 2014-09-13 00:26:46 -05:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
3fd07064da use stdbool 2014-09-09 23:53:10 -05:00
Vítor Santos Costa
45c0671fa2 support open as script option, to avoid spurious warning message 2014-08-05 09:06:35 -05:00
Vítor Santos Costa
325c819f79 intermediate steo in improving doc system to doxygeb 2014-07-26 19:14:15 -05:00
Vítor Santos Costa
04092424bf rename android compilation 2014-07-09 23:28:10 -05:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
74a65633d8 fix duplicated system predicate + android related cleanups 2014-06-20 11:13:39 +01:00
Vítor Santos Costa
d4bffbaefd fix warnings 2014-06-19 15:09:44 +01:00
Vítor Santos Costa
07c9aa5bca fix typo 2014-06-16 14:57:12 +01:00
Vítor Santos Costa
f00a6d5a40 small bugfixes and leaks, patch by João Silva 2014-06-14 10:27:39 +01:00
Vítor Santos Costa
aefb7b3668 more Android debugging. 2014-06-12 01:49:03 +01:00