Commit Graph

49 Commits

Author SHA1 Message Date
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Vitor Santos Costa
ff977fbad8 cmake support: first cut from David Vaz work.i 2014-12-04 07:59:30 +00:00
vscosta
604c28f8c1 Fix getpid warning
include <process,h> and use _getpid
2014-10-30 07:39:10 +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
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
99713d81a6 replace locks by critical sections in interrupt handling 2014-09-02 14:19:23 -05:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
daae1df152 g++ coplaints (llvm) 2014-06-12 01:25:50 +01:00
Vítor Santos Costa
6de73e6469 introudce handle_t and arity_t
Android: /assets and debugging
2014-06-11 19:35:45 +01:00
Andreas Becker
f01de36c23 Fix: Don't need to define LOCK just use PL_LOCK from SWI headers. 2014-05-29 11:40:33 +02:00
Vítor Santos Costa
6738682c26 handle int64 in 32 bits no gmp as floats.. 2014-05-04 22:26:53 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
Vitor Santos Costa
598267ca23 fix encoding for strings: it's utf-8 2014-01-28 14:15:40 +00:00
Vítor Santos Costa
adea3bdb24 more string fixes and get_code 2013-12-08 19:12:24 +00:00
Vitor Santos Costa
7e58cf7755 more atom/string manipulation fixes and SWI compatibility 2013-12-05 21:26:46 +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
Vitor Santos Costa
5f3ff4fc73 use SWI opts for read 2013-11-20 22:25:27 +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
Vítor Santos Costa
84bd55df0d continue cleanup 2013-11-16 00:27:02 +00:00
Vitor Santos Costa
9eb07a8c8a more cleanups 2013-11-15 15:45:55 +00:00
Vitor Santos Costa
4e4f21e1dc upgrade to latest swi 2013-11-15 01:10:25 +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
917d5ad75b line numbers for clauses and clause properties 2013-11-05 17:59:19 +00:00
Vitor Santos Costa
1a8facffac fix compilation without threads, thanks Andrea 2013-11-05 17:12:31 +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
ab9d2da775 improve LOCK init 2013-10-29 12:41:28 +00:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vítor Santos Costa
9a71f20caa sysError 2013-01-21 09:37:32 +00:00
Vitor Santos Costa
00c47e0ecc fix compatibility with swi: _PL_unify_atomic 2013-01-20 16:46:11 +00:00
Vítor Santos Costa
e22e3d74a0 thread support 2013-01-17 09:09:46 +00:00
Vitor Santos Costa
7407ecb60c SWI extension including write variable_names 2013-01-17 00:17:02 +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
e596cce6f5 fix compilation under threads. 2012-10-17 17:24:14 +01:00
VITOR SANTOS COSTA
89030ce97d Fix WriteBuffer and add WriteDynamicBuffer 2012-09-18 23:06:26 +01:00
Vitor Santos Costa
19a3796978 first attempt at locking and MT support with signals. 2012-06-29 15:36:31 -05:00
Vitor Santos Costa
a9d1bd788e improve SWI console 2012-06-22 03:56:01 -05:00
Vitor Santos Costa
ca9c748692 make win crash on interrupt, for now 2012-06-08 06:52:21 -05:00
U-WIN-UA9ACS5GS9N\vitor
19807d46f7 WIN32 and CYGWIN fixes. 2012-04-18 14:14:56 -05:00
Vítor Santos Costa
0c1eb1d642 fix write_canonical of $VAR(_). 2012-03-15 22:19:48 +00:00
Vítor Santos Costa
cc8521c9d5 fix bad handling of singletons with write_canonical. 2012-03-14 22:10:21 +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
Vitor Santos Costa
6403b4793a small write fixes. 2012-02-14 09:10:07 +00:00
Vitor Santos Costa
db619fa81f protect atoms in SWI interface. 2012-01-17 12:37:29 +00:00
Vítor Santos Costa
780a5ba83e use numbervars. 2011-11-03 07:51:13 +09:00
Vitor Santos Costa
9cfd4d8d8b move package/PLStream to os
modify Makefiles accordingly
define __unix__ on Unix like clones (OSX, AIX, etc).
2011-09-04 19:42:33 +02:00