Commit Graph

1355 Commits

Author SHA1 Message Date
Vítor Santos Costa f3e8b8b3da indenting; warning; exceptions; small fixes 2016-03-29 02:02:43 +01:00
Vítor Santos Costa cec2e9638a typo 2016-03-05 12:41:29 +00:00
Vítor Santos Costa 0fc0e96306 error should not be needed, 2016-03-05 12:30:13 +00:00
Vítor Santos Costa 2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa 56e9a8f8d9 add stub for SWI compat 2016-02-26 18:25:07 +00:00
Vítor Santos Costa 1f29aea94b clean-up 2016-02-26 17:53:20 +00:00
Vítor Santos Costa d8a7d05e01 typo 2016-02-26 17:52:34 +00:00
Vítor Santos Costa 733a03beef bootlist 2016-02-26 17:49:50 +00:00
Vítor Santos Costa e9712bc9ab we own bootlist 2016-02-26 17:41:55 +00:00
Vítor Santos Costa 0e7cc378af shuffle list ops around 2016-02-26 17:29:54 +00:00
Vítor Santos Costa b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +00:00
Vítor Santos Costa ef06ebe698 fix missing var warning 2016-02-20 20:40:23 +00:00
Vítor Santos Costa 56024b2a2c Eyal Dechter: The YAP version of assoc.pl has gen_assoc(Assoc, Key, Value). Both SWI and Sicstus use gen_assoc(Key, Assoc, Value). Could it be changed for compatibility with the other systems? 2016-02-18 19:41:11 +00:00
Vítor Santos Costa 9860b6244f small changes 2016-02-13 03:11:25 +00:00
V'itor Santos Costa 485d20d908 related changes 2016-02-11 06:20:16 -08:00
Vitor Santos Costa c8305988ca Merge branch 'master' of github.com:vscosta/yap-6.3 2016-02-03 10:17:01 +00:00
Vitor Santos Costa 143684731e foreign files 2016-02-03 09:22:23 +00:00
Vítor Santos Costa 7aba41e7c2 cleanup 2016-01-31 19:41:10 +00:00
Vítor Santos Costa 3966bf2ee1 windows dlls, meet thy mxmake 2016-01-20 22:25:25 +00:00
Vítor Santos Costa f7207f3c9d Inconsistent error codes 2016-01-20 22:19:43 +00:00
Vítor Santos Costa a2f1ed92ea syntax error 2016-01-20 22:18:52 +00:00
Vítor Santos Costa cfbbf6e97e avoid depending on library/... 2016-01-05 03:32:51 +00:00
Vítor Santos Costa 5fd4add82b Hide and Seek 2016-01-04 17:18:43 +00:00
Vítor Santos Costa 50c8724322 linux backport
file exists system predicate
$source_file -> $user source
hide and make system preds
fix check_head_and_body
user_expansion never fails
goal expansion is controlled b dynamic procedure
add must_be_of_type predicate_indicator
fix neat_call, debug flag is user controlled
use simplecudd, not ptoblogbdd
compile all of myddas
fx junk in file_name
fix warnings
use common file opening struct and funds
avoid pairs module
fix db queues
2016-01-04 14:11:09 +00:00
Vítor Santos Costa bd208fe63e new files 2016-01-03 03:21:00 +00:00
Vítor Santos Costa 661f33ac7e bug fices 2016-01-03 02:06:09 +00:00
Vítor Santos Costa 15404b3835 small
- do not call goal expansion on meta-calls (that is done by undef).
- docs updates
- fix init code
2015-12-15 09:28:43 +00:00
Vítor Santos Costa ce8a19d381 Add documentation 2015-11-18 15:06:25 +00:00
Vítor Santos Costa 4cea2839e4 add read_line_to_string 2015-11-13 13:23:49 +00:00
Vítor Santos Costa 120d6ff19a add missing directory_files/2 2015-11-13 13:21:21 +00:00
Vítor Santos Costa a91796e4c8 Follow actual syntax 2015-11-12 14:53:14 +00:00
Vítor Santos Costa e04dd14bed md5 support 2015-11-05 19:22:40 +00:00
Vítor Santos Costa 4cbeb6df39 oops.... 2015-11-05 17:27:20 +00:00
Vítor Santos Costa e4bfb263a0 md5 is in 2015-11-05 16:58:31 +00:00
Vítor Santos Costa 4a200c3601 take your own MD5, use version in Python/SWI 2015-11-05 16:14:45 +00:00
Vítor Santos Costa b0f3cda2d7 Import MD5 support, Macs are weird 2015-11-05 15:38:39 +00:00
Vítor Santos Costa bcdfdeb65d fix pthread complaining 2015-10-22 00:33:38 +01:00
Vítor Santos Costa c4aae66f3e submods work 2015-10-13 09:10:53 +01:00
Vítor Santos Costa b6130b0e7d long range errors and other fixes 2015-10-13 02:21:10 +01:00
Vítor Santos Costa 9595bb4e6e warning 2015-10-09 19:06:07 +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 263fdf330d fix bad substitute 2015-10-05 10:32:31 +01:00
Vítor Santos Costa c8ea14057c cleanup 2015-09-30 00:09:42 +01:00
Vítor Santos Costa 1ef7eeabdf fix files dragged in 2015-09-30 00:02:59 +01:00
Vítor Santos Costa f81f31a5f7 fix bad global replacement 2015-09-29 23:51:09 +01:00
Vítor Santos Costa db2cf949b4 oops
Signed-off-by: Vítor Santos Costa <vsc@dcc.fc.up.pt>
2015-09-29 23:24:33 +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 4cd70e68ce imrove python support
make syntax as Python-like as possible
get close to real.
2015-08-18 15:03:21 -05:00
Vítor Santos Costa b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa d4f49a20ba missing files 2015-07-24 21:28:04 -05:00
Vítor Santos Costa 1d6f9981e1 mkdir and small stuff 2015-07-06 12:04:42 +01:00
Vítor Santos Costa 59de30d606 cmake & text support 2015-06-19 01:29:28 +01:00
Vítor Santos Costa 84b5fcce77 cmake & text support 2015-06-19 01:29:16 +01:00
Vítor Santos Costa 0552edce2c SWI i/O lib 2015-06-19 01:13:46 +01:00
Vítor Santos Costa 5746edafaf new atoms, terms and slight functionality 2015-06-19 00:56:24 +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 14330244df unicode 2015-06-18 01:15:50 +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 18fee4eee1 fix exec and wait;
support OpenSSL's md5.
2015-04-22 14:19:14 -06:00
Vítor Santos Costa db6074f839 cmake work 2015-04-21 16:12:39 -06:00
Vítor Santos Costa ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Vitor Santos Costa 206d6cebcf autoloading is an import, like any other 2015-03-28 20:13:28 +00:00
Vítor Santos Costa 5150dcae3d file_select 2015-03-20 12:50:06 +00:00
Vítor Santos Costa 272d28ae5f android 2015-03-16 17:25:09 +00:00
Vítor Santos Costa 55bd75b8d8 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/parameters.yap
	packages/myddas/pl/myddas.ypp
2015-03-11 22:31:18 +00:00
Vítor Santos Costa 7cceb655b3 protect against crashes in bad user code 2015-03-11 22:23:31 +00:00
Vítor Santos Costa 82d4716339 better compat with bdds 2015-03-11 22:21:48 +00:00
Vitor Santos Costa 252a2b7868 bdd stuff 2015-03-08 02:15:53 +00:00
Vítor Santos Costa a40c205d5f New files 2015-03-04 10:02:25 +00:00
Vítor Santos Costa 5b19e9546a fix foreach 2015-03-04 09:59:05 +00:00
Vítor Santos Costa 5ea3fcd08f men at work 2015-03-04 09:52:34 +00:00
Vítor Santos Costa 48c87bd775 support fpr conj etc 2015-03-04 09:52:06 +00:00
Vítor Santos Costa da83ad447c make var names available as a global var 2015-03-04 09:44:26 +00:00
Vítor Santos Costa e4b0b8c0df export 2015-02-17 20:27:31 +00:00
Vitor Santos Costa 1e57a2e978 path setup 2015-02-15 02:33:54 +00:00
Vítor Santos Costa 2d919a4a09 MPI fixes 2015-02-11 01:50:59 +00:00
Vitor Santos Costa 41baec9f6e c_interface still kicks 2015-02-09 10:31:50 +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 42d7b305c0 patch by Fab. Riguzzi to fix MPI interface 2015-02-06 18:11:44 +00:00
Vítor Santos Costa 7b4cd0d256 patch by Fab. Riguzzi to fix MPI interface 2015-02-06 18:08:06 +00:00
Vítor Santos Costa 30664a5344 cmake 2015-02-03 02:40:41 +00:00
Vitor Santos Costa 4526350113 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-01-30 07:26:01 +00:00
Vitor Santos Costa 36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Theo 75985b8fff Corrected a memory leak problem 2015-01-29 15:18:09 +00:00
Vitor Santos Costa d9357d3f49 fix mpi 2015-01-27 03:16:07 +00:00
Vitor Santos Costa d023e2e493 search lib64 before lib 2015-01-26 09:44:39 +00:00
Vítor Santos Costa 61a47b2874 cmake 2015-01-26 04:18:00 +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
Theo a2cd68f1ca minor dbtries bug 2015-01-16 14:33:53 +00:00
Vitor Santos Costa fcf0f41312 infinity, try to fix the ffsll mess, warnings 2015-01-05 16:06:32 +00:00
Vitor Santos Costa 5053cfb571 fix recent typos 2015-01-05 12:21:58 +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
Vitor Santos Costa ad2df06d2b doc support 2014-12-19 23:47:50 +00:00
Vítor Santos Costa 535135b21c cmake 2014-12-15 13:37:53 +00:00
Vitor Santos Costa 656e27f5e0 mpi support 2014-12-14 16:44:52 +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 197a943cd3 support search for predicates 2014-11-28 02:34:43 +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
Vitor Santos Costa 624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
Vítor Santos Costa 1ca062f558 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-11-25 12:04:05 +00:00
Vítor Santos Costa bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Theo cd4b9602ae depth breadth trie corrections and more :-) 2014-11-19 16:41:10 +00:00
vscosta 135e9127b1 warnings 2014-11-10 01:52:01 +00:00
Vitor Santos Costa 24920a230f Merge branch 'master' of https://www.github.com/vscosta/yap-6.3 2014-11-09 17:30:15 +00:00
vscosta d8c4ea4364 support intptr_t and uintptr_t in swi api 2014-11-09 11:18:03 +00:00
Theo 7e6ab7b0d2 Newest version of dbtries (several improvements and corrections of bugs) and the removal of a warning from flags 2014-11-04 18:04:54 +00:00
vscosta f993421ac8 fix longint < intptr_t warnings
Handle printf mess
2014-10-30 07:41:30 +00:00
Vitor Santos Costa 75c1e87470 callable strikes again. 2014-10-20 15:44:13 +01:00
Vítor Santos Costa 0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Theo f5b48e3f82 Removed a few inline definitions 2014-10-16 18:26:16 +01:00
Theo 44d38d3018 Theo corrected a bug in the dbtries implementation 2014-10-15 20:53:32 +01:00
Theo b9236fa5fa Theo corrected a bug in the dbtries implementation 2014-10-15 19:55:40 +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 427c3ecf54 fix operators. 2014-10-05 23:53:47 +01:00
Vítor Santos Costa 74c136b986 reorganise code to avoid duplicate goal_expansion. 2014-10-02 14:31:14 +01:00
Vítor Santos Costa 28c10dbefc fix meta decl to agree with new name. 2014-10-02 14:20:28 +01:00
Vítor Santos Costa f415e16b79 typo 2014-09-25 09:48:00 +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 ed3f0a8b74 use of as part of the phrase, not as main operatorSr 2014-09-23 22:39:20 +01:00
Vítor Santos Costa f29e017c63 documentation update. 2014-09-22 18:12:57 +01:00
Vitor Santos Costa 8461026303 fixes for win64 compilation. 2014-09-16 19:15:56 +01:00
Vítor Santos Costa df0ec5bc96 more doxygen fixes 2014-09-15 14:57:46 -05:00
Vítor Santos Costa 6453ca395c more doc changes 2014-09-15 13:42:35 -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 882eaca30c updates to documentation 2014-09-12 18:50:04 -05:00
Vítor Santos Costa 3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa 9e7257978c cleanup 2014-09-09 23:55:47 -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 19d0f56f2d fix arena initialization 2014-08-23 14:47:40 -05:00
Vítor Santos Costa 109597ab91 small cleaning. 2014-08-20 09:58:33 -05:00
Vítor Santos Costa b7d97bf4f6 needs maplist library. 2014-08-20 07:55:44 -05:00
Vítor Santos Costa 55910b4610 stuff 2014-08-17 15:33:57 -05:00
Vítor Santos Costa ed608db282 make goal expansion more readable 2014-08-06 10:25:08 -05:00
Vitor Santos Costa a8e301c486 the old R ibrary has been removed from the system. 2014-08-04 21:29:41 -05:00
Vítor Santos Costa bc16bf83ec small fixes 2014-08-04 09:47:03 -05:00
Vítor Santos Costa ce8a4b6958 module fixes plus add better docs 2014-07-17 12:19:38 -05:00
Vítor Santos Costa d4bffbaefd fix warnings 2014-06-19 15:09:44 +01:00
Vitor Santos Costa e8f2c37000 fix syntax error in using time. 2014-06-16 17:00:09 +01:00
Vítor Santos Costa ef59cdc50c swi is no longer a module, so needs no windows init code 2014-06-16 14:58:28 +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 059884bc03 Android 2014-06-11 19:36:50 +01:00
Vítor Santos Costa a76b6d23dc Fix: eclipse >u. into >y_u. 2014-05-30 01:06:09 +01:00
Vítor Santos Costa e3674e1223 fix: warningss 2014-05-30 01:01:58 +01:00
Vítor Santos Costa 0b2dff96d3 maplist: move docs to doxygen; add doxygen. 2014-05-27 22:44:03 +01:00
Vítor Santos Costa 5f72d8c332 purge duplicated content. 2014-05-25 20:53:24 +01:00
Vítor Santos Costa dee3774bbc fix small EClipse complaints 2014-05-25 20:50:07 +01:00
Vítor Santos Costa 99ab3fb748 no need to use PROTO. 2014-05-25 20:48:44 +01:00
Vítor Santos Costa 279a057d80 use mktemp instead of tmpname 2014-05-25 10:21:28 +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
Vítor Santos Costa 596768a56b documenetation . 2014-05-14 10:01:11 +01:00
Vítor Santos Costa 24b90ae6bd doc changes 2014-05-12 17:49:11 +01:00
Vitor Santos Costa 549b4dd834 add header 2014-05-05 14:01:21 +01:00
Vitor Santos Costa f1b88583e4 Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
Conflicts:
	library/listing.yap
2014-05-05 13:59:58 +01:00
Vitor Santos Costa 426d952894 add listing.yap 2014-05-05 13:53:39 +01:00
Vítor Santos Costa 7393dd1405 :dummy library, for now. 2014-05-04 23:15:10 +01: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 d58dcdc3e6 portability. 2014-04-29 18:17:23 +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 c629ae9283 doc updates 2014-04-09 12:39:52 +01:00
Vitor Santos Costa 41e1980f83 fix memory leaks 2014-03-20 13:33:17 +00:00
Vitor Santos Costa e6fbba4030 fix bad copy to S 2014-03-18 19:32:10 +00:00
Vítor Santos Costa f0d8ee91d0 fix foldl2 2014-03-18 17:27:56 +00:00
Vítor Santos Costa 0e1b1dd4bc remove debugging 2014-03-18 17:27:12 +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
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
Vítor Santos Costa 242f585484 Eclipse stuff 2014-03-13 12:52:08 +00:00
Vitor Santos Costa 0602031bd9 win64 2014-03-11 15:36:02 +00:00
Vitor Santos Costa 2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
U-vsc-PC\vsc b7fbd08f7a signal handling 2014-03-04 12:03:14 +00:00
Vítor Santos Costa 3da5cc5977 check libpthread in win32 2014-02-22 22:48:29 +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
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
Vítor Santos Costa 1bd528198a more configuration fixes 2014-02-15 01:24:07 +00:00
Vítor Santos Costa 1d27d22ef0 big makefile cleanup 2014-02-13 01:58:48 +00:00
Vitor Santos Costa bfc94cbbe5 fix matlab autoconf 2014-02-10 23:55:35 +00:00
Vitor Santos Costa 9a46cdac9b clean up makefile 2014-02-10 23:31:33 +00:00
Vitor Santos Costa f11b0518a8 string support 2014-02-06 21:55:35 +00:00
Vitor Santos Costa 1e88998375 realclean support 2014-02-03 16:34:13 +00:00
Vítor Santos Costa 9e2a2b75b9 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/dialect/swi/fli/swi.c
	packages/real
2014-02-02 21:52:14 +00:00
Vítor Santos Costa ae0ab6fa86 improve SWI 2014-02-02 21:46:33 +00:00
Vitor Santos Costa 327c1216e4 fixes to SWI interface 2014-01-28 13:01:27 +00:00
Vitor Santos Costa d648375412 make MYDDAS into its own module. 2014-01-24 19:59:42 +00:00
Vitor Santos Costa 6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15: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
Vítor Santos Costa 88e188bece fix excessive trail trimming in SWI call emulation 2013-12-11 09:04:59 +00:00
Vítor Santos Costa ba2c0ca2a0 support no trace predicates 2013-12-11 01:05:51 +00:00
Vítor Santos Costa adea3bdb24 more string fixes and get_code 2013-12-08 19:12:24 +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 3edb01f5f7 more reflection updates 2013-11-26 10:40:00 +01:00