Commit Graph

1323 Commits

Author SHA1 Message Date
Vítor Santos Costa
8fc4dc2219 new flag system 2015-06-18 01:59:07 +01:00
Vítor Santos Costa
5829e326b7 Remove Old array based flags 2015-06-18 00:28:06 +01:00
Vítor Santos Costa
c26b5f3175 increase the ignore list 2015-06-17 23:49:02 +01:00
Vítor Santos Costa
660800af67 avoid using space on statistics 2015-04-21 16:09:43 -06:00
Vítor Santos Costa
4489616b19 fix current_pred 2015-04-19 04:13:12 +01: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
ec7ddf0dba Merge branch 'master' of github.com:vscosta/yap-6.3 2015-04-13 13:28:42 +01:00
Vítor Santos Costa
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Paulo Moura
b91c535ea3 Work in progress fixing evaluable type error terms 2015-04-09 01:51:36 +01:00
Vitor Santos Costa
9709c590bf YAP should not try to control cwd, that's the OS task 2015-03-28 19:38:54 +00:00
Vítor Santos Costa
272d28ae5f android 2015-03-16 17:25:09 +00:00
Vítor Santos Costa
9b6bcdde16 improve notion of standadard predicate 2015-03-04 09:54:08 +00:00
Vítor Santos Costa
3d9006db32 make var names available as a global var 2015-03-04 09:47:50 +00:00
Vítor Santos Costa
8ea17007f0 make var names available as a global var 2015-03-04 09:46:55 +00:00
Vítor Santos Costa
9d48f3c3c0 fix compilation of JIT (but still not working). 2015-02-18 10:03:57 +00:00
Vitor Santos Costa
63416fdc48 cut_c simplifications 2015-02-14 11:35:45 +00:00
Vítor Santos Costa
071bb36f0e fix alignment 2015-02-13 12:26:21 +00:00
Vítor Santos Costa
bfa9578d5e fix alignment 2015-02-13 12:26:08 +00:00
Vítor Santos Costa
d606a2820b bad typing 2015-02-13 12:24:50 +00:00
Vítor Santos Costa
9743c81f05 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-02-10 09:20:12 +00:00
Vítor Santos Costa
ab41d5411e RebootSlots when we start a new execution. 2015-02-10 09:19:05 +00:00
Vítor Santos Costa
350caa388b fix clashing properties (Paulo Moura). 2015-02-10 09:14:55 +00:00
Vitor Santos Costa
afd8c9b9c4 blanks and backslashed strings 2015-02-10 00:03:02 +00:00
Vitor Santos Costa
e2cd49f408 win32 2015-02-09 10:30:24 +00:00
Vitor Santos Costa
9e24724f0b sqlite 2015-02-09 10:30:09 +00:00
Vitor Santos Costa
2db0b9d6a6 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-02-09 09:00:37 +00:00
Vitor Santos Costa
886777f1e6 compilation 2015-02-09 09:00:00 +00:00
Vítor Santos Costa
88e3d637ec C++ & swig 2015-02-09 01:53:28 +00:00
Vítor Santos Costa
ba978d8275 just in time native code: now compiles by doing cmake; make.
no workie in this version, though :)
2015-02-06 18:11:52 +00:00
Vítor Santos Costa
e29b7afa1b fix warnings 2015-02-04 12:32:38 +00:00
Vítor Santos Costa
5e1b92019b nullptr 2015-02-03 02:58:49 +00:00
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vítor Santos Costa
bf215e68a2 one Int to rule them all 2015-02-03 02:36:24 +00:00
Vítor Santos Costa
65bcdc541c make sure the swi handle to cacheregs is ok when you move around.
small speedup.
2015-02-03 02:34:01 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Vitor Santos Costa
4a5a3d833a fix tyes. 2015-01-27 03:25:56 +00:00
Vítor Santos Costa
9bc20918c9 JIT code 2015-01-26 07:34:09 +00:00
Vítor Santos Costa
bc1e70758e cmake and jit 2015-01-26 04:02:46 +00:00
Vítor Santos Costa
bece9d05d8 JIT 2015-01-20 03:00:42 +00:00
Vítor Santos Costa
8f1699a343 fix bad protos 2015-01-18 03:48:02 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00
Vitor Santos Costa
e40c248c16 Merge branch 'master' of /home/vsc/yap-6.3
Conflicts:
	C/cdmgr.c
	pl/preds.yap
2015-01-17 03:06:59 -08:00
Vitor Santos Costa
9623f70d3a fix types 2015-01-17 02:50:54 -08:00
Vitor Santos Costa
408333f0d4 types 2015-01-16 20:02:43 -08:00
Vitor Santos Costa
0cca59b36f cases 2015-01-16 19:59:43 -08:00
Vitor Santos Costa
62a2c14c12 debugging 2015-01-16 19:59:01 -08:00
Vitor Santos Costa
326771d17b add utility routine to report on a predicate. 2015-01-15 01:14:47 -08:00
Vitor Santos Costa
3122d323b5 support 64 bit flags in 32 bit mode 2015-01-14 04:51:54 -08:00
Vítor Santos Costa
dbd2aa64aa fix bad header 2015-01-06 22:32:52 +00:00
Vitor Santos Costa
f22f337f67 32 bit support:
use uint64_t for predflags
define a type for arity
2015-01-06 17:47:58 +00:00
Vitor Santos Costa
fcf0f41312 infinity, try to fix the ffsll mess, warnings 2015-01-05 16:06:32 +00: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
Vítor Santos Costa
72915ff622 fix string as atoms,, obs Paulo Moura 2014-12-15 00:53:56 +00:00
Vítor Santos Costa
bed14749f8 use const char * 2014-12-14 11:49:51 +00:00
Vítor Santos Costa
7acb2110d2 Merge branch 'cmake' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-12-04 08:03:45 +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
2c5fa4a65e fix list of atoms (Paulo Moura obs) 2014-12-02 02:34:28 +00:00
Vítor Santos Costa
d44beea3aa does not fit an int 2014-11-28 02:31:30 +00:00
Vítor Santos Costa
70060bf627 move to eval.h 2014-11-27 15:11:26 +00:00
Vítor Santos Costa
a83ff038f4 Mutex stuff movibg to C 2014-11-27 10:02:04 +00:00
Vitor Santos Costa
624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
Vitor Santos Costa
afc6c5d04e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	C/threads.c
	JIT/HPP/EnvironmentInit.h
	packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
	pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa
50659967ed begin of support for named mutexes. 2014-11-25 16:41:53 +00:00
Vítor Santos Costa
bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Vitor Santos Costa
addb8cbce3 ORP support 2014-11-14 16:51:42 +00:00
vscosta
c633eac236 avoid using registry, clean-up 2014-11-05 07:45:36 +00:00
vscosta
c7a3836b2c WIN32 support
Ugh
2014-11-03 00:13:34 +00:00
vscosta
091f9dda33 MSYS32 2014-10-30 07:46:17 +00:00
Vítor Santos Costa
546af97345 win32 patches 2014-10-28 12:56:26 +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
130d28ceb3 recover space after portray 2014-10-23 02:10:55 +01:00
Vitor Santos Costa
d2984b6548 reimplement portray 2014-10-23 01:21:22 +01:00
Vitor Santos Costa
126e498c35 fix signals > 64, 2014-10-23 01:17:45 +01:00
Vitor Santos Costa
dab3a4a4f6 fix msicalculaation in recovering cells. 2014-10-23 01:16:30 +01:00
Vítor Santos Costa
61f5baf7a4 cuda links in osx; nullptr patch from mozilla 2014-10-22 14:54:54 +01:00
Vitor Santos Costa
a4081673e5 fix indexing on dynamics (bug introduced when fixing MT code). 2014-10-20 23:47:33 +01:00
Vítor Santos Costa
0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Vítor Santos Costa
47d1bd5ecc allow setting up arithmetic exception handling. 2014-10-19 11:27:53 +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
18506025c3 use PP with care:
- clean after interrupt;
  - use it only for indexing code.
2014-10-19 01:48:38 +01:00
Vitor Santos Costa
1bb12cbc35 second try to fix error handling in arithmetic expressions. THis time:
- exit at predicate end;
- just return first on multiple erors.
- YapArithError takes care of inner errors, Yp_EvalError fixes externals.
- a few ISO stuff to make Paulo's unit tests go happier.
2014-10-16 10:49:11 +01:00
Vítor Santos Costa
8576e67d84 generate exceptions on arithmetic errors 2014-10-15 11:06:07 +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
c95045e14c improve support for floating point exceptions. 2014-10-14 01:13:31 +01:00
Vítor Santos Costa
3c7779ec78 move message queues to C 2014-10-13 12:34:52 +01:00
Vítor Santos Costa
a64c6772fc fix atomic_concat/3 to be backtrackable. 2014-10-12 00:32:17 +01:00
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vítor Santos Costa
2d5f8f136d SWI functors is now dynamic 2014-10-02 14:25:11 +01:00
Vítor Santos Costa
81440607f1 support outputting strings for debugging. 2014-10-02 14:17:26 +01:00
Vítor Santos Costa
37a49f2135 synchronize compiler oops with their descriptions
computils; allocate N instruction blocks.
2014-10-02 14:15:17 +01:00
Vitor Santos Costa
66a95e96c0 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/matrix.yap
	pl/qly.yap
2014-09-23 22:46:19 +01:00
Vitor Santos Costa
fcc0c51ce7 avoid int 2014-09-23 22:35:01 +01:00
Vítor Santos Costa
3e255ec4a1 qload 2014-09-22 18:13:35 +01:00
Vitor Santos Costa
0ad92137a9 WIN32 compilation 2014-09-16 19:13:09 +01:00
Vítor Santos Costa
3168b2cfc8 fix int/Int in save; add debugging (obs from Gong Su 2014-09-16 04:00:31 -05:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -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