Commit Graph

347 Commits

Author SHA1 Message Date
Vítor Santos Costa
b84262238d stupid bug: format would always use user_output 2015-11-05 17:16:55 +00:00
Vítor Santos Costa
83fdeab85f DebugIO + the big sys split 2015-11-05 17:16:10 +00:00
Vítor Santos Costa
99ee24ba69 the big sys split and make DebugIO more available 2015-11-05 17:15:32 +00:00
Vítor Santos Costa
5278affb0e Edinburgh IO, still useful. 2015-11-05 17:14:31 +00:00
Vítor Santos Costa
7be5d1374a The big sys split was here 2015-11-05 16:57:24 +00:00
Vítor Santos Costa
b323d17369 small fix 2015-11-05 16:56:59 +00:00
Vítor Santos Costa
e9ed130ffd keep on improving syntax_error handler 2015-11-05 16:54:13 +00:00
Vítor Santos Costa
ac48a263c4 fix $VAR 2015-11-05 16:53:11 +00:00
Vítor Santos Costa
bd6ffb5d41 misc
make an extra flush at close, for luck
get rid of a p_
2015-11-05 16:52:22 +00:00
Vítor Santos Costa
77d57b90d4 expandVars through glob and wordexp 2015-11-05 16:47:52 +00:00
Vítor Santos Costa
e3a56234e4 big sys split 2015-11-05 16:47:11 +00:00
Vítor Santos Costa
6cc1ed77ed the big split: break sysbits.c into 4 files; also, support glob 2015-11-05 15:47:36 +00:00
Vítor Santos Costa
9ce6ba5186 init tab/1 steam 2015-11-05 15:39:04 +00:00
Vítor Santos Costa
48f5a824e0 use flags to control and float 2015-10-27 23:07:11 +00:00
Vítor Santos Costa
3f58566ac8 syntax errors 2015-10-27 23:05:21 +00:00
Vítor Santos Costa
2047885bfa use flags to control and float 2015-10-27 22:58:06 +00:00
Vítor Santos Costa
759ce13bbf fix $VAR handling. 2015-10-22 12:01:54 +01:00
Vítor Santos Costa
f1c9952c77 fixes for upcast and lowercase 2015-10-22 11:51:07 +01:00
Vítor Santos Costa
b2369175e5 mostly indenting 2015-10-22 00:41:52 +01:00
Vítor Santos Costa
098be4aba0 remove chtypes 2015-10-22 00:39:10 +01:00
Vitor Santos Costa
7a70280940 unused vars and gcc warnings 2015-10-20 08:01:20 +01:00
Vitor Santos Costa
885fc51225 move text stuff to YapText 2015-10-20 08:00:39 +01:00
Vitor Santos Costa
6a068a6e94 unused vars 2015-10-20 07:59:05 +01:00
Vitor Santos Costa
b76be19b61 fix Darwin dep 2015-10-20 07:57:59 +01:00
Vitor Santos Costa
b7c3cf5484 char_type/2 2015-10-20 07:46:52 +01:00
Vítor Santos Costa
468913e38c fix arithmetic exceptions 2015-10-18 12:28:02 +01:00
Vítor Santos Costa
d4dde8699d inline check stream 2015-10-18 11:49:18 +01:00
Vítor Santos Costa
1c727bbe45 scan numbers 2015-10-18 11:48:51 +01:00
Vítor Santos Costa
684e733c8b small fixes for compaibility 2015-10-18 11:48:14 +01:00
Vítor Santos Costa
b6130b0e7d long range errors and other fixes 2015-10-13 02:21:10 +01:00
Vítor Santos Costa
1408237215 publish peek 2015-10-11 04:23:16 +01:00
Vítor Santos Costa
bc2dabbca5 fix slot leaks
also moe errot gandking
2015-10-09 10:31:07 +01:00
Vítor Santos Costa
fa738894a4 split ttys from other cases
also, get_wchar should be static
2015-10-08 11:28:28 +01:00
Vítor Santos Costa
d94ffe2126 utf8 support 2015-10-08 10:21:09 +01:00
Vítor Santos Costa
1bbb761aec indent 2015-10-08 10:19:57 +01:00
Vítor Santos Costa
699dcfe6eb fix deadlock 2015-10-08 10:19:17 +01:00
Vítor Santos Costa
e1f7333e2e bad call order in dopeek 2015-10-08 10:17:57 +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
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
Vítor Santos Costa
aef189ece2 Android /assets/ support (still not quite working) 2014-06-11 19:33:18 +01:00
Vítor Santos Costa
71b40e0438 changes to support eclipse compat
support of Android assets as /assets files.
2014-06-04 22:08:37 +01:00
Vítor Santos Costa
2400911db9 FIX: readline 6.3 type changes 2014-05-29 11:40:29 +01:00
Vítor Santos Costa
1e08a7ce05 more readline breakage. 2014-05-28 00:35:50 +01:00
Vítor Santos Costa
042b3e4343 improve android compilation and fix readline 6.3 2014-05-28 00:07:08 +01:00
Vítor Santos Costa
791702e4ec fix warnings 2014-05-18 10:33:24 +01:00
Vitor Santos Costa
e981973d56 fix disappearing syntax error 2014-05-05 16:27:54 +01:00
Vítor Santos Costa
f8ab2d093e work-around android bug. 2014-05-04 22:29:23 +01:00
Vítor Santos Costa
d8f4a77f47 fix style_check to be called at parse-time and not cause eexcution overheads. 2014-04-24 08:26:31 +01:00
Vítor Santos Costa
f1951777b7 fix checker to use read for singleton variables, instead of always computing
them.
2014-04-23 21:39:32 +01:00
Vítor Santos Costa
c629ae9283 doc updates 2014-04-09 12:39:52 +01:00
Vitor Santos Costa
5a73c525e9 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2014-03-15 22:48:12 +00:00
Vítor Santos Costa
242f872b5d Merge /Users/vsc/git/yap-6.3 2014-03-15 22:29:08 +00:00