Commit Graph

1103 Commits

Author SHA1 Message Date
Vítor Santos Costa 36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vítor Santos Costa 3bfcc2e7b4 fix bad call. 2011-03-14 20:37:55 +00:00
Vítor Santos Costa 921fb1c815 thread_create should ignore bad options, not complain. 2011-03-11 20:36:00 +00:00
Vítor Santos Costa e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa c52ad77861 fix swi IO predicates. 2011-03-09 23:28:30 +00:00
Vítor Santos Costa d0465f0d7d use SWI code directly. 2011-03-09 23:20:37 +00:00
Vitor Santos Costa 4ad0407388 fix small differences 2011-03-09 13:33:30 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa 752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +00:00
Vítor Santos Costa 90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa 6f1537475f fix -p option to work with SYSTEM_MALLOC 2011-03-02 09:20:18 +00:00
ubu32 851b07c240 fix small bugs 2011-02-28 15:45:14 -08:00
ubu32 53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vitor Santos Costa 4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa b902efe21f remove $access 2011-02-15 22:56:15 +00:00
Vitor Santos Costa 5a5a992cc6 more encoding stuff. 2011-02-15 22:46:59 +00:00
Vítor Santos Costa 3e77151af0 fix bad var. 2011-02-15 21:19:10 +00:00
ubu32 cd028bbd3f handle case where system:goal_expansion/2 is undefined. 2011-02-15 07:51:12 -08:00
ubu32 8c975eca5d make [a/b] more robust. 2011-02-15 07:50:33 -08:00
ubu32 185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32 140318ff16 read works now. 2011-02-14 23:39:27 -08:00
ubu32 78ea2213d1 remove small predicates 2011-02-14 14:55:59 -08:00
ubu32 f0d217dd92 ifix small stuff. 2011-02-14 14:19:30 -08:00
ubu32 4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32 52f8cb1041 skip
more write updates.
2011-02-14 12:47:34 -08:00
ubu32 f13215700b write 2011-02-14 12:40:10 -08:00
ubu32 eff5dd3166 Edinburgh stuff. 2011-02-14 12:25:57 -08:00
ubu32 38fa886e18 more stream stuff. 2011-02-14 12:14:31 -08:00
ubu32 c8aee540ce put 2011-02-14 11:57:22 -08:00
ubu32 85a7e7b9b0 peek_ 2011-02-14 11:50:30 -08:00
ubu32 6469a0d464 add temporary definitions. 2011-02-14 11:46:27 -08:00
ubu32 7fa58bca40 set_input 2011-02-14 11:43:54 -08:00
ubu32 a851c56e3d get predicates. 2011-02-14 11:39:23 -08:00
ubu32 9691a0843d port flush predicates. 2011-02-14 11:28:44 -08:00
ubu32 a46e5b313d iuse SWI prompts 2011-02-14 07:19:37 -08:00
ubu32 f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
Vitor Santos Costa 8b2312daf7 close must be last to be proted, otherwise YAP gets confused about who owns the stream. 2011-02-13 01:29:25 +00:00
Vitor Santos Costa 80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa 98684ba4bb remove YAP sockets interface. 2011-02-12 23:38:24 +00:00
Vitor Santos Costa 2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa be79c3326e first pass at open/ and friends. 2011-02-12 14:14:12 +00:00
Vitor Santos Costa 3bdece404b cd and getcwd stuff. 2011-02-12 01:24:15 +00:00
Vitor Santos Costa 74d780698e s_absolute_file_name/2 2011-02-12 01:23:48 +00:00
Vitor Santos Costa efc65fdb28 SWI file_name builtins. 2011-02-12 01:03:22 +00:00
Vitor Santos Costa 9efbc0fce8 support time_file and access_file from SWI library. 2011-02-12 00:45:33 +00:00
Vitor Santos Costa 712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vítor Santos Costa b041ae00c2 use SWI code for char_type and friends. 2011-02-11 19:00:59 +00:00
Vítor Santos Costa 1da3cc8b5c compatibility with SWI generated error messages. 2011-02-11 19:00:32 +00:00
Paulo Moura c95134e94d Fixed a bug in the implementation of between/3. Reported by Bernd Gutmann. 2011-02-04 12:38:05 +00:00
Vitor Santos Costa d52d05a626 fix atom_term builtin not to require previous loading of charsio. 2011-01-20 11:51:46 -06:00
Vitor Santos Costa d593f99c13 fix style check on reconsulting. 2011-01-20 11:50:08 -06:00
Vitor Santos Costa 75703ed89a fix top-level message 2011-01-20 11:49:37 -06:00
Vitor Santos Costa 088869c5ea make yap return an error on undef preds by default. 2010-12-30 23:21:07 -06:00
Vitor Santos Costa 4e8e81f044 don't ask for solutions if we know there are none left. 2010-12-30 23:20:49 -06:00
Vitor Santos Costa 8161cf64b7 fix overflow in atom_to_term error (UN #206) 2010-12-30 23:00:10 -06:00
Vitor Santos Costa 95281f78ee fix leap over meta-predicates. 2010-12-19 21:57:40 +00:00
Vítor Santos Costa 828f8b07f7 make YAP more compatible with SWI by going inside 0 arguments (obs from Roberto). 2010-12-14 12:39:24 +00:00
Vítor Santos Costa 666ef1877d itry to respect SWI semantics on expand_goal/2. 2010-12-13 22:03:54 +00:00
Vítor Santos Costa eec588f488 distribute goal_Expansion over comma 2010-12-13 21:33:43 +00:00
Vítor Santos Costa 9f8f8ee73e fix missing cut (obs from Bernd). 2010-12-13 19:35:16 +00:00
Vítor Santos Costa 1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +00:00
Vitor Santos Costa 3c4da56af2 allow write to find out about SWI streams in SWI mode. 2010-12-13 12:38:37 +00:00
Vítor Santos Costa 7c2c3febe5 checker should be called after preprocessing (obs from Roberto Bagnara). 2010-12-12 19:19:49 +00:00
Paulo Moura 76ee19ab59 Corrected the meta_predicate/1 directive for the built-in tabling predicate tabling_mode/2. 2010-12-09 18:21:26 +00:00
Vítor Santos Costa 21bbffceda make sure we rebuild saved state stuff even if we do not actually enter top-level.
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vítor Santos Costa 1deb6d2663 fix order at boot 2010-12-06 20:15:05 +00:00
Vítor Santos Costa c6f41e2970 YAP_FAIL_ERROR in case a fail has been requested, but not accepetd yet. 2010-12-04 18:45:09 +00:00
Vítor Santos Costa 268a378ba0 fix p(X) :- once((X, write(yippee), nl)). (obs from Gerlof Bouma). 2010-12-03 15:14:00 +00:00
Vítor Santos Costa 552d424ee0 debugger should use the same code that system uses to find undefined predicates. 2010-12-03 12:40:30 +00:00
Vítor Santos Costa 2f6733e37a add expand_file_name/2 2010-12-02 19:57:55 +00:00
Vítor Santos Costa 514758e65b imake call_foreign_function module aware. 2010-12-01 19:30:58 +00:00
Vítor Santos Costa c454690a67 fix save_program to reload foreign files SWI style when restarting. 2010-11-29 18:44:39 +00:00
Vítor Santos Costa 863747da7b fix save/1 and save/2 to at least work now. 2010-11-29 18:08:11 +00:00
Vitor Santos Costa 99f1249382 fix file_name_extension with '' as second arg (obs from Crhis Mungall) 2010-11-26 23:44:11 +00:00
Vitor Santos Costa 35100fe515 add interface to SWI's prolog_to_os_filename/2 2010-11-24 08:41:21 +00:00
Vítor Santos Costa 576d37510c fix ls/0. 2010-11-22 18:22:53 +00:00
Vitor Santos Costa 20699fd838 fix syntax error. 2010-11-22 12:50:50 +00:00
Vitor Santos Costa 1b36c79733 ISO: conforming type errors for setof/3 etc ulrich neumerkel patch 2010-11-21 21:49:13 +00:00
Paulo Moura a0201aa53f Added implementation of the SWI-Prolog predicates pwd/0, cd/0, and ls/0 (work in progress). 2010-11-09 16:36:22 +00:00
Vitor Santos Costa 9396252588 patches to provide initial support UTF32 encodings(from Paulo Moura) 2010-10-27 14:49:27 +01:00
Vitor Santos Costa b16a0d53b0 integration of two different event profilers. 2010-10-26 22:02:23 +01:00
Vitor Santos Costa ef53ed696b allow uninstanted arguments in erased_statistics. 2010-10-26 10:07:34 +01:00
Paulo Moura 15a728ce6d Added hook predicate user:prolog_predicate_name/2, taken from SWI-Prolog, to the profiler code. 2010-10-21 20:15:17 +01:00
Vitor Santos Costa 65a66a3360 fix operator problem (|). (Ulrich #193) 2010-10-18 08:36:47 +01:00
Vitor Santos Costa 7f70a797f4 fix error messages to obey standard. 2010-10-12 22:02:24 +01:00
Vitor Santos Costa f40ba3e6db rounding function was incorrect (ulrich's #180) 2010-10-08 11:02:56 +01:00
Vitor Santos Costa da0aee0f57 fix operator error checking (Ulrich #192) 2010-10-08 10:44:51 +01:00
Vítor Santos Costa f56cf4a737 fix rooted_path for win32 (patch from David Powers) 2010-09-30 20:59:33 +01:00
Vítor Santos Costa 4ae92544b2 fix $when (obs from David Powers) 2010-09-30 20:48:13 +01:00
Vítor Santos Costa fa91fb6d86 ifix typo 2010-09-30 20:10:25 +01:00
Vítor Santos Costa 48cc87e882 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-09-28 01:01:55 +01:00
Vítor Santos Costa 6d4d1b1a3a speedup current_pred
fixes from David Powerswq
2010-09-28 01:01:37 +01:00
Vítor Santos Costa 13130df3d9 fix bugs in corout (onbs from David Powers).wq 2010-09-28 00:59:39 +01:00
Vitor Santos Costa bf40154ff1 fix UN #189 and #172 2010-09-27 22:31:06 +01:00
Vitor Santos Costa 206638e92b fix checking on_signal/3 (obs from Theo Mantadelis). 2010-09-24 12:37:36 +01:00
Vitor Santos Costa 68f49e9bdd fix bsolute_file_name for directories (obs from Paulo Moura). 2010-09-24 12:14:37 +01:00
Vitor Santos Costa 4707c4c10c fix v 2010-09-24 12:14:20 +01:00
Vitor Santos Costa f9e687a971 Fix block/1 declarations and remove uses of $recorded (patch from David Powers). 2010-09-24 00:36:10 +01:00
Vitor Santos Costa 01776c7a48 fixes by David Powers (broadcast and >= 0)
Dion't mess with linger.
2010-09-21 22:27:35 +01:00
Vitor Santos Costa 0fd0662603 ˆ/2 and ˆ/3 are not built-ins. 2010-08-04 23:32:46 +01:00