Commit Graph

1453 Commits

Author SHA1 Message Date
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
Vítor Santos Costa
1dd3ff800e use stdbool 2014-09-09 23:51:44 -05:00
Vítor Santos Costa
f9438806ee creep should be the last signal to be processed? 2014-09-08 17:14:58 -05: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
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
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
fea65ba68d clean-up: use No Spy and No Trace predicate flags. 2014-06-17 16:24:40 +01:00
Vítor Santos Costa
07c9aa5bca fix typo 2014-06-16 14:57:12 +01:00
Vítor Santos Costa
0b569a374e fix call of android_log_print to make sure it plays well with the remaining code.
Signed-off-by: Vítor Santos Costa <vsc@dcc.fc.up.pt>
2014-06-16 14:43:18 +01:00
Vítor Santos Costa
8da6fb70e1 handle_t type name causes conflict with WIN32, replace by yhandle_t 2014-06-16 14:41:54 +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
daae1df152 g++ coplaints (llvm) 2014-06-12 01:25:50 +01:00
Vitor Santos Costa
489bb27a7e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-06-11 19:45:21 +01:00
Vitor Santos Costa
ec881b8e13 improve functor locking. 2014-06-11 19:44:01 +01:00
Vítor Santos Costa
059884bc03 Android 2014-06-11 19:36:50 +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
a76b6d23dc Fix: eclipse >u. into >y_u. 2014-05-30 01:06:09 +01:00
Andreas Becker
dc37d76e8b Merge branch 'github.com/master'
Conflicts:
	Makefile.in
2014-05-29 12:19:45 +02:00
Andreas Becker
72b9ec59b7 Fix: Win32 defines Bind, so change Bind to YapBind. 2014-05-29 11:32:28 +02:00
Vitor Santos Costa
3a21922e37 fix 32 bit operations 2014-05-25 23:49:01 +01:00
Vítor Santos Costa
dee3774bbc fix small EClipse complaints 2014-05-25 20:50:07 +01:00
Vítor Santos Costa
4172f4efd5 use const wherever possible 2014-05-25 20:46:04 +01:00
Vítor Santos Costa
b7c05b49e2 support debugging of compiler-level instructions. 2014-05-22 21:57:54 +01:00
Vitor Santos Costa
0aa91d7c00 fix bad handle recovery properly. 2014-05-15 01:11:26 +01:00
Vitor Santos Costa
b532fbd0b9 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	C/write.c
2014-05-14 18:00:25 +01:00
Vitor Santos Costa
e0d0543e52 fix removeSlots and more documnetation. 2014-05-14 17:59:08 +01:00
Vitor Santos Costa
a35521b52c bad merge 2014-05-12 16:52:40 +01:00
Vitor Santos Costa
da48f3a877 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	H/eval.h
2014-05-12 16:41:13 +01:00
Vitor Santos Costa
ee2d1f1332 add documentation. 2014-05-12 16:36:41 +01:00
Vítor Santos Costa
4f1a0d985c more docs 2014-05-07 09:38:56 +01:00
Vítor Santos Costa
410efd577c fix comment mess
add some more documentation (slowly).
2014-05-06 23:01:04 +01:00
Vítor Santos Costa
f2ee773f55 fix broken comment. 2014-05-06 22:32:18 +01:00
Vítor Santos Costa
f0d17d0210 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	docs/doxygen.rc
2014-05-06 13:59:28 +01:00
Vítor Santos Costa
2dc4d66bb9 doc 2014-05-06 13:58:08 +01:00
Vítor Santos Costa
cf39051162 fix gcc complaint. 2014-05-02 01:44:07 +01:00
Vítor Santos Costa
785e404de4 C++ compatibility. 2014-04-28 11:48:24 +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
Vitor Santos Costa
6591b5429c Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2014-04-23 22:42:03 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +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
137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vitor Santos Costa
f39ed68fe8 check for mistypes 2014-04-06 17:06:19 +01:00
Vitor Santos Costa
ce0715e75a fix IOSTREAM 2014-03-20 16:23:07 +00:00
Vitor Santos Costa
37c018d4b5 add proto for WriteAtom 2014-03-20 15:40:56 +00:00
Vitor Santos Costa
5a83e7c7a6 fix text handling for wide strinbgs with max length. 2014-03-18 15:40:50 +00:00
Vitor Santos Costa
b932008946 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3 2014-03-16 00:15:34 +00:00
Vítor Santos Costa
79763e9ea1 fix signal handling 2014-03-15 23:47:29 +00: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
c3d0504a54 Avoid using repeated fiels names ( u -> ut ). 2014-03-12 15:47:53 +00:00
Vitor Santos Costa
d0adb0b910 fix slot handling 2014-03-11 15:33:38 +00:00
Vítor Santos Costa
8cf9e44a57 fix CHARESCAPE mess (Ulrich #292) 2014-03-11 10:24:44 +00:00
Vítor Santos Costa
233c4ee903 fix bad initialization in signals 2014-03-08 00:03:58 +00:00
Vítor Santos Costa
7e85bfd4a4 yapor support by João Silva 2014-03-07 23:07:46 +00:00
Vitor Santos Costa
0dc40370dc merge 2014-03-06 02:18:02 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
Vitor Santos Costa
e9fce51e92 ndk support 2014-02-27 16:31:20 +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
6bde2d2cd7 avoid unions called u: they confuse eclipse. 2014-02-18 09:44:01 +00:00
Vitor Santos Costa
964b15d107 keep on simplifying configure. 2014-02-18 07:59:47 +00:00
Vítor Santos Costa
6a1302221c change to support autoheaders 2014-02-16 13:03:09 +00:00
Vitor Santos Costa
d0efa26d8b Merge branch 'rtries' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	OPTYap/tab.insts.i
	OPTYap/tab.tries.c
	OPTYap/tab.tries.i
2014-02-13 11:57:46 +00:00
David Vaz
3cad9c37b1 removed unnecessary cut_c macros (always on) 2014-02-11 07:15:39 -08:00
Vitor Santos Costa
9a46cdac9b clean up makefile 2014-02-10 23:31:33 +00:00
Vitor Santos Costa
93859706e3 fix source file for predicates 2014-02-09 11:00:11 +00:00
Vitor Santos Costa
6c7e5e3cd2 patch for OPTYap from João Silva 2014-02-05 16:21:21 +00:00
Vitor Santos Costa
9dacb84c99 fix string comparison 2014-02-03 23:26:36 +00:00
Vitor Santos Costa
d648375412 make MYDDAS into its own module. 2014-01-24 19:59:42 +00:00
Vitor Santos Costa
0391988788 support cross-compilation for windows 2014-01-23 01:46:16 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vítor Santos Costa
e1201fc468 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3 2014-01-17 09:39:49 +00:00
Vítor Santos Costa
ccccf71ae1 support for tabling of bignums and strings 2014-01-17 09:39:29 +00:00
Vitor Santos Costa
bcc1757989 fixes to message handling 2014-01-07 01:10:48 +00:00
Vítor Santos Costa
233829ec52 fix array expansion to use realloc and fix arrays to separate static/dynamic and malloced 2014-01-02 19:11:06 +00:00
Theo
b4506cf793 CoInductive tabling 2013-12-19 16:56:55 +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
Vítor Santos Costa
6402360691 fix S handling in new interrupt code 2013-12-14 12:35:18 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vitor Santos Costa
44d28aa0c9 cleanup on exception handling 2013-12-12 14:24:40 +00:00
Vítor Santos Costa
ba2c0ca2a0 support no trace predicates 2013-12-11 01:05:51 +00:00
Vítor Santos Costa
29c0d55ad4 nth_clause cleanup with support for mega and exo clauses 2013-12-09 14:16:30 +00:00
Vítor Santos Costa
61d624e416 fix comment handling 2013-12-08 22:56:48 +00:00
Vítor Santos Costa
adea3bdb24 more string fixes and get_code 2013-12-08 19:12:24 +00:00
Vitor Santos Costa
863b796370 new string_code/3 plus some fixes 2013-12-06 23:24:01 +00:00
Vítor Santos Costa
35f6ecad66 more atom and string 2013-12-06 15:08:35 +00:00
Vitor Santos Costa
7e58cf7755 more atom/string manipulation fixes and SWI compatibility 2013-12-05 21:26:46 +00:00
Vitor Santos Costa
2665f71112 keep trying to fix atoms 2013-12-04 23:01:30 +00:00
Vítor Santos Costa
0d749059a4 new text conversion and string code (big changes, take care please) 2013-12-02 14:50:02 +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
cbd0fa14e8 small fixes and code moving around 2013-11-25 12:15:25 +01:00
Vitor Santos Costa
5013880fc5 get rid of locale for now 2013-11-22 17:19:26 +00:00
Vitor Santos Costa
f6f183c0f6 remove some more duplicated code 2013-11-22 15:18:03 +00:00
Vítor Santos Costa
f1f64bf25c printwarning 2013-11-21 00:22:03 +00:00
Vitor Santos Costa
61e78d9963 more handles and fix exit from a backtrackable user c-pred 2013-11-20 22:27:46 +00:00
Vitor Santos Costa
48bec6b247 fix broken, complicated code for slots 2013-11-20 22:20:51 +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
U-w7\vsc
3aa994313b fix threads 2013-11-16 18:51:32 +00:00
Vitor Santos Costa
1b5aa1a969 enable dlls 2013-11-16 17:26:31 +00:00
Vitor Santos Costa
1c51b61253 fix win64 2013-11-16 16:58:36 +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
6de15433aa upgrade to latest swi 2013-11-15 01:10:47 +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
U-w7\vsc
7f8f80fdbe Windows Threaded Patches 2013-11-13 17:04:34 +00:00
Vitor Santos Costa
41c2d856a7 cleanup dead flags 2013-11-13 13:28:43 +00:00
Vitor Santos Costa
9d34ac34ff clean up unbounded 2013-11-13 13:01:11 +00:00
Vitor Santos Costa
220970db6d more integration and cleanup work: allow irect access from YAP to swi global and local, to
check flags quickly.
2013-11-13 12:57:52 +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
e813c75814 enable thread debugging 2013-11-12 08:34:26 +00:00
U-vsc-PC\vsc
30995ce506 improve win32 support 2013-11-11 10:32:55 +00:00
Vítor Santos Costa
08e5dcfbd1 fix functors for staticclause 2013-11-07 23:51:22 +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
72bc04e63d fix compilation without GMP 2013-11-05 17:12:05 +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
101a54e6ff ifix debug option 2013-11-04 13:04:19 +00:00
Vitor Santos Costa
1d8f96fd74 use proper place for verbose flag. 2013-11-04 13:02:18 +00:00
Vítor Santos Costa
d945f01f53 A not a for Atom (unused anyway) 2013-11-04 01:12:04 +00:00
Vítor Santos Costa
0d038e4528 fix llvm variable size warning 2013-11-04 01:04:52 +00:00
Vítor Santos Costa
c6b471d725 fix YAP_RunGoalOnce warning 2013-11-04 01:03:57 +00:00
Vítor Santos Costa
6f9b8bfca8 fix bad instruction format 2013-11-01 08:26:06 +00:00
U-w7\vsc
360e8a9269 WIN32 support 2013-10-30 13:56:35 +00:00
Vitor Santos Costa
4dd7afa07d Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3 2013-10-29 12:43:53 +00:00
Vitor Santos Costa
35b7f040d5 fix compilation without P 2013-10-29 12:42:55 +00:00
Vítor Santos Costa
8623131b31 support -m32 osx 2013-10-15 13:09:36 +01:00
Vítor Santos Costa
70d864b13d fix limit on atoms to ints 2013-10-08 13:04:30 +01:00
Vitor Santos Costa
43163a190f Atom Translations and CUDA stub 2013-10-04 13:22:00 +01:00
Vitor Santos Costa
609f6fc440 allow yser code error handling 2013-10-03 11:24:59 +01:00
Vitor Santos Costa
2cfa0081ad make syntax extensions SWI compatible 2013-09-13 11:44:26 +01:00
Vítor Santos Costa
6966d23195 fix P details when creating execution environment: we should save the old one 2013-09-08 22:24:09 +01:00
vsc
c21b5bef3c fix PRISM xompiltaion in 32 bits 2013-09-04 05:05:01 -05:00
Vitor Santos Costa
5f741122fa more user udi fixes 2013-08-05 15:07:51 -05:00
Vitor Santos Costa
38a804db1e fix indexing of long instructions 2013-07-22 10:43:38 -05:00
Vítor Santos Costa
493161f6d8 ciao style arrays, (...) 2013-07-07 16:15:25 -05:00
Vitor Santos Costa
ec5f7ebb28 Chaange semantics for min and max 2013-06-25 22:53:23 -05:00
Vitor Santos Costa
a1632ff3e7 fix 32 bit offsets 2013-06-22 20:09:20 -05:00
Vitor Santos Costa
b2fda6c653 more exo fixes 2013-06-22 00:25:37 -05:00
Vitor Santos Costa
4f8fad43df make sure BITS32 and 16 are what they say they are 2013-06-22 00:24:53 -05:00
Vitor Santos Costa
b6b6b12c6f Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2013-06-03 16:40:12 -05:00
Vitor Santos Costa
639247b4c3 sub_atom/5 in C. 2013-05-15 17:12:01 -05:00
Vítor Santos Costa
6af394a35e fix PASS_REGS 2013-05-01 19:27:09 -05:00
Vitor Santos Costa
923be33404 speedup between
more exo stuff.
2013-04-30 15:23:01 -05:00
Vitor Santos Costa
64a61e2479 make between/3 a C-builtin. 2013-04-29 18:22:53 -05:00
Vitor Santos Costa
c04f04d078 more exo fixes. 2013-04-29 16:19:43 -05:00
Vitor Santos Costa
72cc5bc317 generalise interval handling 2013-04-29 11:58:05 -05:00
Vitor Santos Costa
743c9c69fb get rid of PROTO 2013-04-25 17:15:04 -05:00
Vitor Santos Costa
24a75525c0 fix compilation 2013-04-25 14:21:41 -05:00
Vitor Santos Costa
52253e3e9e fix bugs in exo clause 2013-04-20 20:29:08 -05:00
Vítor Santos Costa
210dacfe5a exo-compilation fixes for threads. 2013-04-16 21:49:37 -05:00
Vitor Santos Costa
90abff4f2f Exo compilation, the range example. 2013-04-16 20:04:53 -05:00
Vitor Santos Costa
f7980f941b avoid unnecessary CACHE_REGS in inlines. 2013-03-26 16:10:03 -05:00
Vitor Santos Costa
d163cadda1 pass regs when constructing long ints and floats.
fix small gcc complaints.
2013-03-26 15:01:52 -05:00
Vitor Santos Costa
4dac867fb8 new more compact/better hashing version of exo.c 2013-03-15 14:56:18 -05:00
Vítor Santos Costa
f431142ef4 Merge branch 'master' into debugger
Conflicts:
	pl/boot.yap
2013-02-13 09:08:58 -06:00
Vítor Santos Costa
ec7158eb99 debugger progress 2013-02-13 09:06:06 -06:00
Vitor Santos Costa
9fb63762dc delete_file should be SICStus compatible 2013-02-12 16:21:26 -06:00
Vitor Santos Costa
76f5696328 Merge branch 'master' into debugger 2013-02-08 20:39:00 +00:00
Vitor Santos Costa
19863f08f2 fix gprof undder a single running thread 2013-02-08 20:38:04 +00:00
Vítor Santos Costa
046cb5f8d6 debugging 2013-02-08 10:36:45 -06:00
Vitor Santos Costa
33da88be5b fix SWI exec issues and try to clean up the code a bit 2013-02-05 14:22:17 +00:00
Vitor Santos Costa
9ce268915d imprive error handling. 2013-01-29 10:50:04 +00:00
Vitor Santos Costa
deba351b87 UDI fixes 2013-01-28 11:18:38 +00:00
Vitor Santos Costa
3d24a458fb add field for statistics to exo_index 2013-01-23 10:43:32 +00:00
Vitor Santos Costa
504c2f3000 fix loop in restore 2013-01-22 16:01:37 +00:00
Vítor Santos Costa
b9f1885f0a use version from swi 2013-01-21 09:36:50 +00:00
Vítor Santos Costa
8971f37232 start 6.3.4. 2013-01-20 19:28:33 +00:00
Vítor Santos Costa
4c34528e90 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-01-20 17:16:49 +00:00
Vítor Santos Costa
1bd2224377 update version 2013-01-20 17:16:34 +00:00
Vitor Santos Costa
0865235c48 swi stuff 2013-01-19 23:06:38 +00:00
Vitor Santos Costa
7e3db0f75c improve error handling for qload 2013-01-18 14:29:41 +00:00
Vitor Santos Costa
33714b14b9 atom completion in readline 2013-01-17 12:43:01 +00:00
Vitor Santos Costa
7407ecb60c SWI extension including write variable_names 2013-01-17 00:17:02 +00:00
Vitor Santos Costa
7cf4e9442c SWI portability 2013-01-16 12:28:37 +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
e85e76cd57 update to newer pl-file.c and pl-write.c. 2013-01-15 16:51:55 +00:00
Vitor Santos Costa
be5208f281 fix search for free variables in bagof. 2013-01-14 22:46:06 +00:00
Vítor Santos Costa
798afc81c4 fix argv[0] discovery. 2013-01-13 17:55:13 +00:00
Vítor Santos Costa
8f2766cbf3 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-01-11 19:26:11 +00:00
Vitor Santos Costa
e9d04ef9f5 save/restore exo 2013-01-11 18:36:34 +00:00
Vitor Santos Costa
f83379648c fix use of exo preds. 2013-01-11 16:45:14 +00:00
Vítor Santos Costa
d078a2b2c4 thread support 2013-01-10 23:22:11 +00:00
Vitor Santos Costa
649fae4294 more fixes to exo compilation. 2013-01-09 16:38:39 +00:00
Vitor Santos Costa
6cd778f70b exo stuff 2013-01-09 09:21:07 +00:00
Vitor Santos Costa
1043d037e9 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2013-01-08 22:06:26 +00:00
Vitor Santos Costa
8ce30976ce count collisions 2013-01-08 22:06:22 +00:00
David Vaz
c9a01455b5 Merge branch 'udi_new' into yap 2013-01-08 18:45:39 +00:00
Vitor Santos Costa
2a44a0205b support backtracking with uninst args 2013-01-08 12:35:18 +00:00
David Vaz
38fcc19d55 Merge branch 'udi_new' of github.com:davidvaz/yap-udi into udi_new 2013-01-07 16:33:21 +00:00
Vítor Santos Costa
f063a2bd52 exo first step. 2013-01-07 09:47:14 +00:00
David Vaz
cdc15e8cd8 merge with yap-6.3 2013-01-06 20:09:48 +00:00
David Vaz
a9cacc7b33 Changes to autoconfigure libjudy in udi 2013-01-02 12:10:11 +00:00
David Vaz
58962f2595 UDI: some code refactor, simple code when no index intersection is needed 2013-01-02 11:23:54 +00:00
David Vaz
bae26c618b UDI: Added Judy1 with support for integer set intersection 2012-12-28 17:46:11 +00:00
David Vaz
e6c2fa30ee Added uthash to store indexed predicates info 2012-12-27 12:11:14 +00:00
Vitor Santos Costa
a309f47794 MT support in win32 2012-12-20 21:13:20 +00:00
David Vaz
bd25c61fbf New work on UDI 2012-12-17 20:23:03 +00:00
Vitor Santos Costa
f47a7bb999 add debugging hooks to gc 2012-12-17 16:25:27 +00:00
Vítor Santos Costa
7c0c795518 fix compilation of prism+odbc. 2012-12-14 23:29:07 +00:00
Vitor Santos Costa
2e6360738c itry to use size_t
fix overflow handling bugs.
2012-12-14 19:35:26 +00:00
Vitor Santos Costa
524edecdd3 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2012-12-13 23:08:00 +00:00
Vitor Santos Costa
9107af2e3d improve thread startup 2012-12-13 18:12:50 +00:00
Vitor Santos Costa
547ba48f9f fix CUT_C=1 not being exported to sub-makefiles. 2012-12-11 23:02:05 +00:00
Vitor Santos Costa
e41f821d67 improve multi-threading support from C-interface. Still not quite there. 2012-12-11 22:07:10 +00:00
Vitor Santos Costa
b34c8b1b2c try to improve slot allocation. 2012-12-10 12:14:24 +00:00
Vitor Santos Costa
f0b44b9b77 fix bad indexing (obs from Jos) 2012-12-07 23:43:00 +00:00
Vitor Santos Costa
556937195d avoid meta-call in system; improve goal/pred expansion 2012-12-07 08:08:32 +00:00
Vítor Santos Costa
f74164c642 correct support for goal expansion (bug report from Paulo Moura) 2012-11-07 13:49:54 +00:00
Vitor Santos Costa
8126381e8d range and fix locals. 2012-10-23 14:55:44 +01:00
Vitor Santos Costa
139b06115e range builtins 2012-10-23 14:55:17 +01:00
Vitor Santos Costa
84a5f518bf fix Makefile trouble 2012-10-23 09:06:38 +01:00
Vítor Santos Costa
7f41b36378 fix typo 2012-10-20 10:48:42 +01:00
Vitor Santos Costa
88f2dc7730 change the way predicates are hidden 2012-10-19 18:10:48 +01:00
Vítor Santos Costa
4de83f5f52 include cyclic_term and friends. 2012-10-02 15:14:41 +01:00
Vítor Santos Costa
d5bf100b71 make full init even before entering Prolog top-level 2012-09-21 11:49:59 +01:00
VITOR SANTOS COSTA
89030ce97d Fix WriteBuffer and add WriteDynamicBuffer 2012-09-18 23:06:26 +01:00
Vítor Santos Costa
8d779f68ea fix writebuffer interface 2012-09-08 00:12:38 +02:00
Vitor Santos Costa
1be424fe57 imprive speed of ql 2012-08-23 09:04:58 -05:00
Vitor Santos Costa
e2fb330575 avoid fixed sized hash tables. 2012-08-22 18:57:13 -05:00
Costa Vitor
bf4d37eb0d simplify meta-call handling. 2012-08-13 23:35:37 -05:00
Vitor Santos Costa
5fb55b2535 inline fixes. 2012-07-02 20:03:46 +01:00
Vitor Santos Costa
51c8142cb1 Merge branch 'master' of https://github.com/denys-duchier/yap-6.3
Conflicts:
	H/yapio.h
2012-07-02 19:58:04 +01:00
Miguel Areias
bc21735ff1 fixed compilation bug (Prof. Vitor Costa) 2012-07-02 19:48:58 +01:00
Denys Duchier
97163fa150 place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same. 2012-06-30 20:42:14 +02:00
Denys Duchier
a34b45bcc0 distinguish gcc and clang for INLINE_ONLY 2012-06-30 17:51:47 +02:00
Vítor Santos Costa
70bde4d38f inline extern patch by Denys Duchier 2012-06-29 22:44:08 +01:00
Vítor Santos Costa
0ed4e15925 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2012-06-29 21:40:10 +01:00
Vitor Santos Costa
5989af937b MT support in mingw win32. 2012-06-29 15:38:49 -05:00
Vítor Santos Costa
4230515792 fix inconsistent usage for extern/EXTERN. 2012-06-26 22:30:15 +01:00
Vítor Santos Costa
0228bfbb30 qsave_program/2. 2012-06-26 10:09:10 +01:00
Vitor Santos Costa
c64d22311d call UDI at abolish. 2012-06-21 16:47:19 +01:00
Vítor Santos Costa
3ee64c50a2 include blobs. 2012-06-16 21:06:10 +01:00
Vitor Santos Costa
a997f5647c fix save & restore in 6.3. 2012-06-12 14:50:36 +01:00
Vitor Santos Costa
f6de18cb09 6.2 fix to load_foreign atom. 2012-06-11 22:11:30 +01:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vitor Santos Costa
2f434ff48b complain if we have no valid float configureation. 2012-06-07 10:28:30 -05:00
Vítor Santos Costa
3a212944fb fix bad compare in checking pt 2012-06-06 00:09:14 +01:00
Vitor Santos Costa
39f392be9c allow finer control over indexing sub-terms.
improve flag code a bit.
2012-06-01 13:16:29 +01:00
Vítor Santos Costa
2def937080 don't index velow depth 20. 2012-05-28 20:40:12 +01:00
Vitor Santos Costa
10d5a38e92 fix compilation under threads. 2012-05-14 18:05:16 +01:00
Vitor Santos Costa
6c36a8ccd3 make it easier for outside packages to link with YAP innards. 2012-05-14 15:06:18 +01:00
Vitor Santos Costa
681d4e78a2 ifix C++ complaint. 2012-05-08 12:57:32 +01:00
Vítor Santos Costa
5b443bdc46 fix marking of dead mega clauses */ 2012-04-23 23:24:35 +01:00
U-WIN-UA9ACS5GS9N\vitor
19807d46f7 WIN32 and CYGWIN fixes. 2012-04-18 14:14:56 -05:00
Vítor Santos Costa
683377b520 buffer output when exiting absmi. 2012-04-12 23:52:25 +01:00
Vítor Santos Costa
04e9a3a8ed nclude limits.h 2012-03-27 14:55:39 +01:00
Vítor Santos Costa
857ff4b895 get rid of portray_delays. 2012-03-22 21:59:04 +00:00
Vítor Santos Costa
919fa40464 fix overflow handling in loop checking for unify_occurs_check (UN #232) 2012-03-15 22:37:13 +00: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
36acb5f897 fix profiling support. 2012-03-09 11:46:34 +00:00
Vítor Santos Costa
3e4a2c6767 improve handling of recursive writes, catch exceptions. 2012-03-07 23:52:15 +00:00
Vítor Santos Costa
020323d633 list_or_partial_list support. 2012-03-06 14:41:23 +00:00
Vítor Santos Costa
0f10f4332e improve ˆC handling (still needs work). 2012-03-03 21:46:07 +00:00
Vítor Santos Costa
665d426e13 fix writing streams by write.c 2012-02-27 08:53:18 +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
b454383e30 more write updates. 2012-02-14 07:46:37 +00:00
Vitor Santos Costa
247aa54046 back to using YAP writer. 2012-02-13 23:07:31 +00:00
Vítor Santos Costa
fc4edc3ad1 update version. 2012-02-13 19:30:00 +00:00
Vítor Santos Costa
c98e42f545 fix global variable on compiler (move it to LOCALS). 2012-02-06 15:11:50 +00:00
Vítor Santos Costa
123ef47171 fix longjmp RestartEnv to be performed by a single function. 2012-02-05 12:04:29 +00:00
Vítor Santos Costa
a2c86643b0 ismall fixes to MPI interface. 2012-02-03 16:31:49 +00:00
Vítor Santos Costa
6eea1fe1ea fixes for export_term and friends. 2012-02-02 23:25:09 +00:00
Vítor Santos Costa
4e6cc28cd3 lam support. 2012-02-02 09:58:05 +00:00
Vítor Santos Costa
ad9e1d8ea4 update to latest SWI. 2012-02-01 20:52:13 +00:00