Vitor Santos Costa
|
212758d25e
|
fix bad handliong of position overflow.
|
2010-08-02 13:03:48 +01:00 |
|
Vitor Santos Costa
|
e02ca2f520
|
fix bad assumption in parse variables overflow handling (stacks can move around in use-malloc).
|
2010-08-02 11:56:14 +01:00 |
|
Vitor Santos Costa
|
6834ac544b
|
fix thread creation.
|
2010-07-30 12:08:00 +01:00 |
|
Vitor Santos Costa
|
8d5aa09e05
|
fix threaded error handling.
|
2010-07-30 00:57:46 +01:00 |
|
Vitor Santos Costa
|
3030247064
|
thread_local should be as dynamic in non-thread mode.
|
2010-07-28 23:22:24 +01:00 |
|
Vítor Santos Costa
|
0f0065049e
|
compile under thor, check every case.
|
2010-07-28 17:12:29 +01:00 |
|
Vítor Santos Costa
|
c017bccd1a
|
more locking fixes
|
2010-07-28 17:12:17 +01:00 |
|
Vitor Santos Costa
|
7b9ab9252c
|
get rid of debugging info.
|
2010-07-28 11:30:28 +01:00 |
|
Vitor Santos Costa
|
ccb7991a56
|
should not use PP for thread private
more lock tracing aids.
|
2010-07-28 11:26:20 +01:00 |
|
Vitor Santos Costa
|
86af6ff3f6
|
add THOR to threads version.
|
2010-07-28 00:30:02 +01:00 |
|
Vitor Santos Costa
|
5cd55b0e0e
|
EX changes
|
2010-07-27 23:29:55 +01:00 |
|
Vitor Santos Costa
|
07907f1839
|
fix breakage in ball access
fix unnecuessary --ASP (why?)
|
2010-07-27 23:21:15 +01:00 |
|
Vitor Santos Costa
|
5b7f04b4b6
|
fix typo.
|
2010-07-27 23:12:16 +01:00 |
|
Vitor Santos Costa
|
af056dd605
|
fix tabling to compile with threads+ or-parallelism.
|
2010-07-27 23:09:17 +01:00 |
|
Vítor Santos Costa
|
18d77309a6
|
c_inp_stream and friends are thread private!
|
2010-07-27 17:28:58 +01:00 |
|
Vítor Santos Costa
|
4c9d74c2e7
|
in closestream: make sure we have a lock before we start looking inside!
|
2010-07-27 17:28:27 +01:00 |
|
Vítor Santos Costa
|
08627579fc
|
try to maintain a valid ASP even after a longjmp to top-level
|
2010-07-27 17:27:47 +01:00 |
|
Vítor Santos Costa
|
2ce4427395
|
fix bad error handling
unlock new stream
|
2010-07-26 12:56:17 +01:00 |
|
Vítor Santos Costa
|
44f8f9bf5c
|
get new stream descriptor should lock the resource until it is initialised.
|
2010-07-26 12:54:22 +01:00 |
|
Vítor Santos Costa
|
e031026a62
|
instrument PE locking
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
|
2010-07-25 11:22:16 +01:00 |
|
Vítor Santos Costa
|
5b6014175e
|
support case where engines have no associated pthread
|
2010-07-25 11:21:15 +01:00 |
|
Vitor Santos Costa
|
f3b9811ef7
|
more packages to implement better thread interface.
|
2010-07-23 15:54:13 +01:00 |
|
Vitor Santos Costa
|
eebff5df6a
|
fixes to YAP C-thread interface.
|
2010-07-23 12:07:33 +01:00 |
|
Vítor Santos Costa
|
3dd68aa8bd
|
fix EX: it cannot be a term and it should be a placeholder for BallTerm,
so the twp can never be alive at the same time.
|
2010-07-21 12:49:06 +01:00 |
|
Vítor Santos Costa
|
73c89b096d
|
fix trouble with extension of latin1 characters.
|
2010-07-21 11:11:19 +01:00 |
|
Vítor Santos Costa
|
b61d69ffe8
|
allow SWI Interface to send/receive wide characters.
|
2010-07-21 10:58:24 +01:00 |
|
Vitor Santos Costa
|
a7612bb15e
|
fix bad call to subsumes (obs from Jose Santos)
|
2010-07-21 00:09:24 +01:00 |
|
Vitor Santos Costa
|
a46d6dc9eb
|
fix bad recent patch.
|
2010-07-20 11:28:56 +01:00 |
|
Vitor Santos Costa
|
18ff860937
|
fix WIN32 warning
|
2010-07-20 11:28:45 +01:00 |
|
Vitor Santos Costa
|
8edeead245
|
fix compilation warnings
|
2010-07-19 22:42:47 +01:00 |
|
Vitor Santos Costa
|
35c3081c18
|
fix bad declaration
|
2010-07-19 22:42:19 +01:00 |
|
Vitor Santos Costa
|
70bd4c78b6
|
all these predicates are unsafe.
|
2010-07-19 14:42:22 +01:00 |
|
Vitor Santos Costa
|
d6bd81ce81
|
SWI getc and putc may call prolog: protect them with slots.
allow format to codes/2 and terminate memory stream.
|
2010-07-19 14:40:52 +01:00 |
|
Vitor Santos Costa
|
68a1ab6ce7
|
make sure that we don't have tails of lists with local variables.
|
2010-07-19 14:39:52 +01:00 |
|
Vitor Santos Costa
|
834e3ed5d0
|
make arg/3 compatible with SWI for atomic argument (fail silently).
|
2010-07-19 14:38:17 +01:00 |
|
Vitor Santos Costa
|
6183ff0282
|
semweb and http compile now (but they don't work properly yet).
|
2010-07-15 23:35:37 +01:00 |
|
Vitor Santos Costa
|
a45105ee04
|
export wide atoms and add a little comment.y
|
2010-07-15 17:46:52 +01:00 |
|
Vitor Santos Costa
|
b2184ecb00
|
term export and import routines
|
2010-07-15 17:19:37 +01:00 |
|
Vitor Santos Costa
|
c15b20e9af
|
improve portability
|
2010-07-14 00:17:14 +01:00 |
|
Vítor Santos Costa
|
ecce575a0a
|
fix stack calculation (ricardo rocha)
|
2010-07-06 15:31:17 +01:00 |
|
Vitor Santos Costa
|
8690fb8ca0
|
make clp(bn) work again.
|
2010-06-30 17:54:58 +02:00 |
|
Vitor Santos Costa
|
8cab19c6b1
|
fix bad recovery of thread locals (report from Jiefie Ma).
|
2010-06-30 17:50:28 +02:00 |
|
Vítor Santos Costa
|
3e13be32a0
|
fix \\ in strings to scan up to next non-blank
|
2010-06-23 11:46:16 +01:00 |
|
Vítor Santos Costa
|
d100e697a3
|
fix debugging message
|
2010-06-23 11:45:44 +01:00 |
|
Vítor Santos Costa
|
2d6fc978e4
|
fix for threading initialization
|
2010-06-19 14:38:04 +01:00 |
|
Vítor Santos Costa
|
a906bd58d6
|
remove debugging info
|
2010-06-19 14:37:07 +01:00 |
|
Vítor Santos Costa
|
bd50f087e9
|
imore SWI compat, including string fixes
|
2010-06-19 00:38:49 +01:00 |
|
Vítor Santos Costa
|
d1d149b9fd
|
support for PL_ mpz and mpq ops
add missing atom_nchars
|
2010-06-18 23:24:36 +01:00 |
|
Vitor Santos Costa
|
5b047b516b
|
first attempt at error handling
|
2010-06-18 10:30:23 +01:00 |
|
Vítor Santos Costa
|
0ccb607f19
|
FIX: initslots could destroy environment
|
2010-06-18 00:25:24 +01:00 |
|
Vítor Santos Costa
|
cf90ace3e1
|
signal handling SWI style.
|
2010-06-17 08:20:34 +01:00 |
|
Vítor Santos Costa
|
c56ad7a80d
|
fix NStringToList
|
2010-06-17 00:29:46 +01:00 |
|
Vítor Santos Costa
|
6e67a84ab0
|
shared_object routines support: SWI compatibility and more flexibility.
|
2010-06-17 00:29:01 +01:00 |
|
Vítor Santos Costa
|
c7c4bd151c
|
open_shared_objects flag
|
2010-06-14 22:43:15 +01:00 |
|
Vítor Santos Costa
|
de336d7ffe
|
handle NULL pointer case.
|
2010-06-14 09:27:48 +01:00 |
|
Vítor Santos Costa
|
e6371c2e0b
|
beautification
|
2010-06-14 09:27:23 +01:00 |
|
Vítor Santos Costa
|
0718f3e08d
|
USE_THREADS->THREADS
|
2010-06-08 10:40:55 +01:00 |
|
Vítor Santos Costa
|
05a20e26f3
|
make sure we return correct code in YAP_Boot
|
2010-06-06 23:03:59 +01:00 |
|
Vítor Santos Costa
|
e9545be0d0
|
remove unused code.
|
2010-06-05 00:49:09 +01:00 |
|
Vítor Santos Costa
|
ab84319604
|
compile without gmp
|
2010-06-01 01:07:36 +01:00 |
|
Vítor Santos Costa
|
247d59f0ef
|
- slots should be considered as always live for gc.
- make sure slots do not die when they should be live, and vice-versa.
- improve a little on foreign_frame
|
2010-06-01 00:40:58 +01:00 |
|
Vítor Santos Costa
|
d1599bca8d
|
fix extra uses of mpz_ in external code.
|
2010-05-28 15:29:20 +01:00 |
|
Vítor Santos Costa
|
ae2421951b
|
fix comparison between terms when rationals come up.
|
2010-05-28 12:07:01 +01:00 |
|
Vítor Santos Costa
|
293dadb003
|
support for rational numbers
make floor and friends return an integer (make it closer to SICStus).
|
2010-05-28 09:53:56 +01:00 |
|
Vítor Santos Costa
|
09fef1a033
|
rational number support. First pass.
|
2010-05-27 12:24:15 +01:00 |
|
Vítor Santos Costa
|
457d5c11cb
|
remove debugging info from tracer.c
|
2010-05-25 16:14:44 +01:00 |
|
Vítor Santos Costa
|
b0de1c597f
|
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
|
2010-05-19 17:17:47 +01:00 |
|
Vitor Santos Costa
|
fd9f4efe0b
|
fix indexing of bignums (obs from Jos de Roo).
|
2010-05-14 12:42:30 +01:00 |
|
Vítor Santos Costa
|
439fbda8f7
|
remove warning message.
|
2010-05-13 12:27:52 +01:00 |
|
Vitor Santos Costa
|
c2f84c9e28
|
fix unify_dbterm.
|
2010-05-13 00:04:56 +01:00 |
|
Vitor Santos Costa
|
924e614857
|
fix related instructions.
|
2010-05-12 23:54:06 +01:00 |
|
Vitor Santos Costa
|
45fac6d7b5
|
fix bug in unify_bigint (obs from Jos de Roo).
|
2010-05-12 23:48:37 +01:00 |
|
U-vsc-win7\vsc
|
dd2232491a
|
be careful how to write inf and nan (obs from Paulo Moura)
|
2010-05-11 14:44:55 +01:00 |
|
Vítor Santos Costa
|
be2a3a635e
|
L constants are evil in 64 bits
|
2010-05-11 12:25:49 +01:00 |
|
Vítor Santos Costa
|
c52dda489b
|
be careful around 1L and friends
|
2010-05-11 00:18:12 +01:00 |
|
Vítor Santos Costa
|
99dafc9172
|
more win64 fixes
|
2010-05-10 22:14:08 +01:00 |
|
Vítor Santos Costa
|
faeef37a03
|
long -> Int
|
2010-05-10 10:21:56 +01:00 |
|
Vitor Santos Costa
|
f83ac17ca3
|
remove debugging info.
|
2010-05-10 03:10:18 +01:00 |
|
Vitor Santos Costa
|
d0371b2f36
|
arity 2?
|
2010-05-10 03:05:46 +01:00 |
|
Vitor Santos Costa
|
dec36676e5
|
stack expansion would not recognise bignums and friends.y
|
2010-05-10 03:04:54 +01:00 |
|
U-WIN-8E8REQR3Q7E\Vítor Santos Costa
|
e85d0a3939
|
fix unsafe test
|
2010-05-09 00:43:13 +01:00 |
|
Vítor Santos Costa
|
28ba64be94
|
fix garbage collector for attributed variables.
|
2010-05-07 23:49:20 +01:00 |
|
Vítor Santos Costa
|
11641c5f94
|
64 bit cleanups.
|
2010-05-06 15:00:44 +01:00 |
|
Vítor Santos Costa
|
c074076e89
|
fix warning in the absence of GMP
|
2010-05-06 12:39:42 +01:00 |
|
Vítor Santos Costa
|
51f33514b3
|
fix typing problems and a bug in quote.c?
|
2010-05-06 12:19:51 +01:00 |
|
Vitor Santos Costa
|
ecaf6aa713
|
lookup with max lentgth
|
2010-05-06 10:58:25 +01:00 |
|
Vítor Santos Costa
|
950abd136e
|
get rid of debugging info.
routines are only define with wctype.h
|
2010-05-05 12:51:38 +01:00 |
|
Vitor Santos Costa
|
f3b6a044f6
|
improvements to language support.
|
2010-05-05 12:45:11 +01:00 |
|
Vitor Santos Costa
|
950144a63f
|
more experiments with format
|
2010-05-05 00:38:46 +01:00 |
|
Vítor Santos Costa
|
ba22623aeb
|
mark slots if called from user-c-code
beautify oops messages.
|
2010-05-04 14:54:55 +01:00 |
|
Vítor Santos Costa
|
aadbb136f5
|
make sure we always look for slots if called from user code.
oops beautifications.
|
2010-05-04 14:53:34 +01:00 |
|
Vítor Santos Costa
|
2be8bcb482
|
64 bit error
|
2010-05-04 14:53:05 +01:00 |
|
Vítor Santos Costa II
|
ba996c8dd5
|
fix bad call to low_level_tracer.
|
2010-05-03 16:34:20 +01:00 |
|
Vitor Santos Costa
|
31554991c8
|
better emulation of SWI atom_t and functor_t.
|
2010-05-03 14:26:56 +01:00 |
|
Vitor Santos Costa
|
3e8dc5cd19
|
try to handle overflows in stack dumpers.
|
2010-04-29 10:29:06 +01:00 |
|
Vitor Santos Costa
|
e302eb3463
|
fix bad assumption in indexing code.
|
2010-04-27 22:09:44 +01:00 |
|
Vítor Santos Costa II
|
788193b0c9
|
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
|
2010-04-22 12:17:39 +01:00 |
|
Vítor Santos Costa II
|
3272d5d230
|
inform about new module for system library
|
2010-04-22 12:11:15 +01:00 |
|
Vítor Santos Costa II
|
14b1f65e35
|
save area was not being saved correctly.
|
2010-04-22 12:08:51 +01:00 |
|
Vítor Santos Costa II
|
7f9f10a1d9
|
cannot trust H0 in the att test (use Yap_GlobalBase instead).
|
2010-04-22 12:08:02 +01:00 |
|