Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						2a84e259a2 
					 
					
						
						
							
							Upgrade to new CHR (with Jan's changes).  
						
						... 
						
						
						
						Found out I need to add an extra field to allocate so that the
exception handling code knows where the clause is.
Protect creep_allowed from NULL pointers. 
						
						
					 
					
						2008-08-30 16:24:44 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Santos Costa 
							
						 
					 
					
						
						
							
						
						1226b58d8e 
					 
					
						
						
							
							The debugger relied on the environment stack. To fix it:  
						
						... 
						
						
						
						- absmi.c now tells who called the debugger, besides who it was calling
- this is used to control whether we allow a goal to be debugged.
- I have creep to start creeping immediately, and signal_creep to tell
  the next meta-call to creep what it executes!
- The debugger uses CalledFromTheDebugger to know if it is within the
debugger. If so, we do not need to creep on leaving. 
						
						
					 
					
						2008-08-30 02:39:36 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						d636450512 
					 
					
						
						
							
							more fixes to make rclause.h automatic:  
						
						... 
						
						
						
						define new type n for Integers, as they were mistaken for Term.
 define early return cases and ifdef exceptions. 
						
						
					 
					
						2008-08-29 17:27:11 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Santos Costa 
							
						 
					 
					
						
						
							
						
						05f93cd4e6 
					 
					
						
						
							
							be more careful about marking attributed variables:  
						
						... 
						
						
						
						- only mark unbound attributed variables in first step.
- remove deterministic bindings for those variables.
- mark non-deterministic bindings at mark_trail. 
						
						
					 
					
						2008-08-28 17:41:07 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Santos Costa 
							
						 
					 
					
						
						
							
						
						17ba194c1e 
					 
					
						
						
							
							Include new instruction execute_cpred to perform tail optimisation for  
						
						... 
						
						
						
						builtins. Required changes:
- be careful about creeping in deallocate: it may be followed by
something that is not a cut nor a proceed.
- include new instruction in absmi.c: it is a merge of execute and
call_cpred.
- change compiler to generate execute even for C builtins.
- be careful with dexecute: it may not be done if execute_op is a C
builtin.
- if we are in execute_cpred, the garbage collector cannot trust P:
instead it must look at CP to find out the size of the current
environment. The macro gc_P receives that information.
- We don't need to change CP if we do a meta-call from within
execute_cpred (and we in fact cannot). Check places where we do
meta-calls: exec, clause in cdmgr, and lu_recorded. 
						
						
					 
					
						2008-08-28 04:43:00 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						3a7b3e15c6 
					 
					
						
						
							
							include type information in mark_delays.  
						
						
						
						
					 
					
						2008-08-27 17:12:03 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						d5d5a6c95f 
					 
					
						
						
							
							escape from NULL pointer.  
						
						
						
						
					 
					
						2008-08-26 01:08:52 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						a6b9d096a6 
					 
					
						
						
							
							make sure we always close intermediate memory streams on exit.  
						
						
						
						
					 
					
						2008-08-25 15:19:00 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						e1544a0358 
					 
					
						
						
							
							genarg is at arg module, not at globals module!  
						
						
						
						
					 
					
						2008-08-24 14:18:32 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						33af161136 
					 
					
						
						
							
							add // operator for SWI compatibility.  
						
						
						
						
					 
					
						2008-08-24 00:46:20 +01:00 
						 
				 
			
				
					
						
							
							
								Vitor Santos Costa 
							
						 
					 
					
						
						
							
						
						b6409fc980 
					 
					
						
						
							
							fix weird instruction with tabling and new optypes;  
						
						... 
						
						
						
						fix a stray ld. 
						
						
					 
					
						2008-08-22 03:54:10 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Santos Costa 
							
						 
					 
					
						
						
							
						
						f499115573 
					 
					
						
						
							
							redo lost updates  
						
						
						
						
					 
					
						2008-08-21 13:38:25 +01:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						82efc8fb2c 
					 
					
						
						
							
							small fixes to compile in Windows again.  
						
						... 
						
						
						
						Trust _isatty
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2311  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-22 01:59:48 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						16d0f2e749 
					 
					
						
						
							
							fix TopLevelGoal to handle correctly undefined predicates. Make sure that  
						
						... 
						
						
						
						undefined predicated will not force the boot process to loop.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2310  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-19 13:33:45 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						df22b925b5 
					 
					
						
						
							
							fix thread messages  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2309  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-19 00:44:37 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						7db64c5e1c 
					 
					
						
						
							
							more locking fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2306  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-13 01:16:26 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						d170b34624 
					 
					
						
						
							
							MaxOS fixes  
						
						... 
						
						
						
						Avoid a thread deadlock
improvements to SWI predicates.
make variables_in_term system builtin.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2304  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-12 01:27:23 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						b3a0b412f1 
					 
					
						
						
							
							fix threads/0.  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2302  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-08 16:05:10 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						5776abb31c 
					 
					
						
						
							
							more thread fixes.  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2301  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-08 14:05:34 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						2581c3a3bf 
					 
					
						
						
							
							more threadin  fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2300  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-07 20:51:23 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						6d23a23a81 
					 
					
						
						
							
							fix debugging info  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2299  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-06 23:05:49 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						85d7d39dbf 
					 
					
						
						
							
							more thread fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2297  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-06 17:32:22 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						a3983fa820 
					 
					
						
						
							
							swi compatibility support  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2294  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-08-01 21:44:25 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						e1866e2917 
					 
					
						
						
							
							improve C-interface and SWI comptaibility a bit.  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2292  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-07-24 16:02:04 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						75c72d7b7d 
					 
					
						
						
							
							SWI and module fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2290  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-07-22 23:34:50 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						d8e5f2c895 
					 
					
						
						
							
							fixes by Bart and Tom: mostly libraries but nasty one in indexing  
						
						... 
						
						
						
						compilation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2286  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-07-11 17:02:10 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						39c4a2e67f 
					 
					
						
						
							
							fix c_interface not to crash when people try to recover slots that are  
						
						... 
						
						
						
						not there.
fix try_logical and friends to handle case where predicate has arity 0.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2278  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-17 13:37:51 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						e90f744e5e 
					 
					
						
						
							
							fix stack growth in globals  
						
						... 
						
						
						
						fix compilation messages
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2277  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-16 21:22:15 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						1340bc6f05 
					 
					
						
						
							
							fix debugging message.  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2276  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-13 14:10:27 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						ac6ddd5005 
					 
					
						
						
							
							fix syntax error messages  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2275  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-12 10:55:52 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						02565ae625 
					 
					
						
						
							
							some nice extra predicatesy  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2273  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-11 11:08:25 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						87fcf6233c 
					 
					
						
						
							
							put chr back to life  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2265  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-08 08:05:11 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						e26d72905e 
					 
					
						
						
							
							fix trim_trail on 64 bit machines and non x86  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2261  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-05 18:29:52 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						5d49f14545 
					 
					
						
						
							
							fix rbtrees built from ordered lists  
						
						... 
						
						
						
						fix jt
be more flexible about unbound parents
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2260  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-05 16:24:08 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						175a0ba6dd 
					 
					
						
						
							
							make sure we do trim_trail whenever we mess with B!  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2258  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-04 14:47:18 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						08422c967a 
					 
					
						
						
							
							more fixes to C-interface  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2257  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-04 13:58:42 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						02497c1172 
					 
					
						
						
							
							fix manual and message handling  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2253  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-03 09:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						8e6403794f 
					 
					
						
						
							
							fix abolish bug  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2252  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-06-02 17:20:28 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						ade7b34d49 
					 
					
						
						
							
							thread fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2251  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-28 17:18:35 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						214644aed4 
					 
					
						
						
							
							fix null pointer reference  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2247  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-23 21:06:44 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						7c24afa0f2 
					 
					
						
						
							
							handle SIGPIPE and improve USR1 and USR2  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2242  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-23 10:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						511181b472 
					 
					
						
						
							
							debugging fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2238  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-15 18:31:02 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						316811d2cd 
					 
					
						
						
							
							user:goal_expand should be called before import  
						
						... 
						
						
						
						add extra apply_macros and apply stuff; fix unexisting definitions.
add forall/2 and ignore/1 to system stuff.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2237  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-15 13:41:48 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						a25234a2da 
					 
					
						
						
							
							fix -(2<<100).  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2236  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-13 10:37:27 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						897224b36e 
					 
					
						
						
							
							fix previous fixes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2235  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-12 22:31:37 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						f4173813ff 
					 
					
						
						
							
							updates to restore  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2234  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-12 14:04:23 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						257c3a2cbc 
					 
					
						
						
							
							fix threads and LU  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2233  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-05-10 23:24:13 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						f1d5e84918 
					 
					
						
						
							
							fix bug in current_predicate/2  
						
						... 
						
						
						
						fix bug in c_interface.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2221  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-04-28 23:02:32 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						89bdffe91e 
					 
					
						
						
							
							make static_clause only commit to a lause if it is sure that is the true  
						
						... 
						
						
						
						clause. Otherwise, search for the clause.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2220  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-04-16 17:16:47 +00:00 
						 
				 
			
				
					
						
							
							
								vsc 
							
						 
					 
					
						
						
							
						
						d8488ec48e 
					 
					
						
						
							
							fix CR in read_line_to_codes  
						
						... 
						
						
						
						git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2219  b08c6af1-5177-4d33-ba66-4b1c6b8b522a 
						
						
					 
					
						2008-04-15 11:08:10 +00:00