Commit Graph

365 Commits

Author SHA1 Message Date
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
Vítor Santos Costa
5491abdeeb clean up and support missing locale 2014-03-15 22:29:04 +00:00
Vítor Santos Costa
801c4cb369 catch warnings 2014-03-15 22:22:11 +00:00
Vitor Santos Costa
228bc76a35 Eclipse Support 2014-03-13 16:57:21 +00:00
Vítor Santos Costa
4591e1baaf Eclipse stuff 2014-03-13 12:54:06 +00:00
Vitor Santos Costa
0602031bd9 win64 2014-03-11 15:36:02 +00:00
Vítor Santos Costa
8cf9e44a57 fix CHARESCAPE mess (Ulrich #292) 2014-03-11 10:24:44 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00: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
6a1302221c change to support autoheaders 2014-02-16 13:03:09 +00:00
Vitor Santos Costa
91989ad13a support utf-8 2014-02-03 23:27:06 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vitor Santos Costa
bcc1757989 fixes to message handling 2014-01-07 01:10:48 +00:00
Vitor Santos Costa
c6351abe25 remove debugging msg 2013-12-18 19:09:21 +00:00
Vitor Santos Costa
30828eba98 fix input sz: should only matter with NCHARS 2013-12-18 16:42:05 +00:00
Vítor Santos Costa
a8e1b91fd5 make length explicit in buffer conversion 2013-12-15 08:37:10 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vítor Santos Costa
61d624e416 fix comment handling 2013-12-08 22:56:48 +00:00
Vitor Santos Costa
342477f6e0 utf8 utilities 2013-12-06 23:22:42 +00:00
Vitor Santos Costa
c2e29efbc7 fix types 2013-12-05 21:25:06 +00:00
Vítor Santos Costa
ba07371328 support broken LC_CTYPE in OSX 2013-12-05 11:20:29 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +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
0ea61e8f1a kdebugging stuff 2013-11-25 23:59:52 +01:00
Vítor Santos Costa
75737f6d56 quasi quote 2013-11-25 11:23:28 +01:00
Vítor Santos Costa
f1f64bf25c printwarning 2013-11-21 00:22:03 +00:00
Vitor Santos Costa
6d773a3189 use SWI opts for read 2013-11-20 22:30:49 +00:00
Vítor Santos Costa
b76be1b33f support for quasi quotations, requires more integration with SWI code. 2013-11-18 12:57:09 +00:00
Vitor Santos Costa
2a5f6535ae fix win64 2013-11-16 16:58:07 +00:00
Vítor Santos Costa
84bd55df0d continue cleanup 2013-11-16 00:27:02 +00:00
U-w7\vsc
9c5d7af938 win32 patches 2013-11-15 18:25:33 +00:00
Vitor Santos Costa
9eb07a8c8a more cleanups 2013-11-15 15:45:55 +00:00
Vítor Santos Costa
3c7656b619 clang fixes 2013-11-15 10:38:00 +00:00
Vitor Santos Costa
4e4f21e1dc upgrade to latest swi 2013-11-15 01:10:25 +00:00
Vítor Santos Costa
5b46b6bd1a latest swi flgs 2013-11-13 23:48:54 +00:00
Vítor Santos Costa
14747fd0bf more fixes 2013-11-13 22:52:36 +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
2c224666aa warning 2013-11-11 11:41:42 +00:00
U-vsc-PC\vsc
30995ce506 improve win32 support 2013-11-11 10:32:55 +00:00
Vítor Santos Costa
ad8b101233 fix warnings 2013-11-04 22:32:53 +00:00
U-w7\vsc
f2b90a1bb0 improve thread signal support, still far from good 2013-11-04 15:31:26 +00:00
Vitor Santos Costa
1d8f96fd74 use proper place for verbose flag. 2013-11-04 13:02:18 +00:00
Vítor Santos Costa
0f62de3744 fix source_location 2013-11-04 01:13:29 +00:00
U-w7\vsc
360e8a9269 WIN32 support 2013-10-30 13:56:35 +00:00
Vítor Santos Costa
990dfbecbf fix flags upgrade 2013-10-30 09:41:45 +00:00
Vitor Santos Costa
1cbe82da1e SWI flags compat 2013-10-29 12:43:31 +00:00
Vitor Santos Costa
ab9d2da775 improve LOCK init 2013-10-29 12:41:28 +00:00
Vítor Santos Costa
0726597812 error handling 2013-06-20 10:48:00 -05:00
Vítor Santos Costa
5a57611749 copyright changes 2013-06-20 10:47:44 -05:00
Vitor Santos Costa
c60e1046a7 use int64 fr file_time 2013-06-07 18:00:27 +01:00
Vítor Santos Costa
17709a9669 fix UN #280 2013-03-05 19:05:37 -06:00
Vítor Santos Costa
ab01bb0124 do not wake up constraints in write_term (UN) 2013-03-04 09:14:43 -06:00
Vitor Santos Costa
9fb63762dc delete_file should be SICStus compatible 2013-02-12 16:21:26 -06:00
Vítor Santos Costa
b9f1885f0a use version from swi 2013-01-21 09:36:50 +00:00
Vitor Santos Costa
5880420db9 swi stuff 2013-01-19 22:15:57 +00:00
Vítor Santos Costa
eea91f782f more swi win fixes 2013-01-19 14:40:08 +00:00
Vítor Santos Costa
5023da7893 Windows SWI upgrades 2013-01-19 14:35:11 +00:00
Vítor Santos Costa
290e58e262 SWI update 2013-01-19 14:19:01 +00:00
Vítor Santos Costa
b7c230217a update to recent SWI. 2013-01-19 14:15:48 +00:00
Vítor Santos Costa
a1e599ebe4 windows stuff 2013-01-19 11:48:36 +00:00
Vitor Santos Costa
05f9a935e1 windows stuff 2013-01-19 11:47:14 +00:00
Vitor Santos Costa
7407ecb60c SWI extension including write variable_names 2013-01-17 00:17:02 +00:00
Vitor Santos Costa
4b5ef10caf SWI portability 2013-01-16 12:33:06 +00:00
Vitor Santos Costa
7cf4e9442c SWI portability 2013-01-16 12:28:37 +00:00
Vitor Santos Costa
298fb62f0c Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-01-16 11:29:38 +00:00
Vítor Santos Costa
abe6621495 SWI update 2013-01-16 11:28:58 +00:00
Vítor Santos Costa
0eacb68907 SWI update 2013-01-16 00:19:07 +00:00
Vitor Santos Costa
5a6f6c09ce iupdate buffer. 2013-01-15 17:13:41 +00:00
Vitor Santos Costa
e85e76cd57 update to newer pl-file.c and pl-write.c. 2013-01-15 16:51:55 +00:00
Vitor Santos Costa
ebb239b233 uninst error 2012-12-20 21:15:26 +00:00
Vitor Santos Costa
ac74c9e3de remove debugging messages. 2012-12-10 14:28:04 +00:00
Vitor Santos Costa
9e63e83f1f worker_id may not be initialised if we start from C-level. 2012-12-10 12:13:31 +00:00
Vitor Santos Costa
fcb59e5c74 fix buffer overflow 2012-10-16 08:41:15 +01:00
Vítor Santos Costa
05d3266671 fix lib64 issues 2012-08-22 10:07:33 -05:00
Vitor Santos Costa
5989af937b MT support in mingw win32. 2012-06-29 15:38:49 -05:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vitor Santos Costa
71bd1d9d1f fix missing cygwin header:w::wq 2012-06-07 10:29:17 -05:00
Vítor Santos Costa
81be229e22 fix SWI error handling. 2012-04-18 01:09:23 +02:00
Vítor Santos Costa
683377b520 buffer output when exiting absmi. 2012-04-12 23:52:25 +01:00
Vítor Santos Costa
0c1eb1d642 fix write_canonical of $VAR(_). 2012-03-15 22:19:48 +00:00
Vítor Santos Costa
b02d34e400 drop comment levels. 2012-03-04 15:28:04 +00:00
Vítor Santos Costa
04ef859158 fix thread compilation. 2012-02-27 17:09:04 +00:00
Vítor Santos Costa
1531002f26 avoid unnecessrily using slots in Input/Output calls or just because I need a stream. This can lead to hard to
catch stack bugs.
2012-02-18 11:01:06 +00:00