John Benediktsson
							
						 
						
							 
							
							
							
								
							
								d68175f48f 
								
							
								 
							
						 
						
							
							
								
								Some more general fixes for recent refactors.  
							
							 
							
							
							
						 
						
							2015-06-08 19:15:29 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								4390561a6e 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.*: new word reset-vreg-counter, useful for making test writing more convenient  
							
							 
							
							
							
						 
						
							2015-04-29 09:31:55 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								ded3760d46 
								
							
								 
							
						 
						
							
							
								
								compiler.*: merge of ##inc-r and ##inc-d into one instruction ##inc with a loc slot  
							
							 
							
							... 
							
							
							
							this is nice because it leads to simpler code and matches how ##peek and ##replace instructions work 
							
						 
						
							2015-04-29 09:31:53 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								edf1bddd67 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.optimizer: Re-enable the minor-gc test case that was  
							
							 
							
							... 
							
							
							
							failing until bjourne's latest commits. 
							
						 
						
							2015-01-22 13:03:28 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								b4e9334d04 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.stack-trace: Fix unit test.  
							
							 
							
							
							
						 
						
							2015-01-17 13:57:56 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								c4fbeccfa8 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.optimizer: Disable minor-gc test case for now.  #1187 .  
							
							 
							
							
							
						 
						
							2015-01-17 11:02:05 -08:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								b6d25ba090 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.stack-trace: unit tests against the  #1265  bugs  
							
							 
							
							
							
						 
						
							2015-01-15 09:29:14 +00:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								79d294e4bf 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.*: docs and more tests  
							
							 
							
							
							
						 
						
							2014-12-31 03:37:16 +01:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								068ddd6c7b 
								
							
								 
							
						 
						
							
							
								
								compiler: cleanup cfg passes to have stack effect ( cfg -- )  
							
							 
							
							
							
						 
						
							2014-12-11 12:48:43 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								cd8b686639 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32. Disable for now.  
							
							 
							
							
							
						 
						
							2014-11-24 08:20:28 -08:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								96396cb3ad 
								
							
								 
							
						 
						
							
							
								
								compiler.*: use block>cfg and insns>block in many tests instead of wordier code  
							
							 
							
							
							
						 
						
							2014-11-22 17:31:38 -08:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								18d7be2c05 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: tests to make sure  #1021  stays dead  
							
							 
							
							
							
						 
						
							2014-11-12 19:41:32 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								466fe4559d 
								
							
								 
							
						 
						
							
							
								
								ffi_test: Can actually test 62 and 63 on windows.  
							
							 
							
							
							
						 
						
							2014-11-10 10:30:35 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								564a67ce7e 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: Don't test ffi calls 61-63 on Windows.  
							
							 
							
							
							
						 
						
							2014-11-09 10:52:16 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								1b5711cc42 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: Add structs with uint and ulonglong pairs and return them from an FFI call. macosx32 seems to be working, hopefully this will break it or confirm that it's working. Linux32 is broken, hopefully this will show how.  
							
							 
							
							
							
						 
						
							2014-11-08 13:39:47 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								e494e3965b 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly.  
							
							 
							
							
							
						 
						
							2014-11-07 15:34:10 -08:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								cb83f3b39b 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: use the with-callback combinator to plug the memory leaks in the tests  
							
							 
							
							
							
						 
						
							2014-10-22 07:02:55 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								be372831f5 
								
							
								 
							
						 
						
							
							
								
								compiler.tests.alien: wrap all callback tests in special  
							
							 
							
							... 
							
							
							
							unit-test-with-destructor blocks, that way they dont leak memory in the
callback heap 
							
						 
						
							2014-09-29 07:30:22 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								beb2d1df3a 
								
							
								 
							
						 
						
							
							
								
								ffi: Add some tests to ensure that 64bit integers are handled properly.  
							
							 
							
							
							
						 
						
							2014-07-07 17:02:36 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								4f49edaa66 
								
							
								 
							
						 
						
							
							
								
								VM: tests that rely on the integer values of the vm_error_type needs to be updated  
							
							 
							
							
							
						 
						
							2014-06-07 12:13:59 +02:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								05c35ebda3 
								
							
								 
							
						 
						
							
							
								
								kernel: change errors to be in kernel.private.  
							
							 
							
							
							
						 
						
							2014-06-04 14:33:02 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								6627a3327b 
								
							
								 
							
						 
						
							
							
								
								kernel: symbolic constants for the various kernel errors  
							
							 
							
							
							
						 
						
							2014-06-04 23:16:40 +02:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								fa0b4c1a5b 
								
							
								 
							
						 
						
							
							
								
								compiler: Use lookup-library.  
							
							 
							
							
							
						 
						
							2013-03-23 21:23:23 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								9f92b12e3b 
								
							
								 
							
						 
						
							
							
								
								compiler.tests: Fix test for <groups> change.  
							
							 
							
							
							
						 
						
							2013-03-23 17:11:27 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								07227f22f9 
								
							
								 
							
						 
						
							
							
								
								WIP  
							
							 
							
							
							
						 
						
							2012-12-31 11:03:33 -08:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								013160df9a 
								
							
								 
							
						 
						
							
							
								
								change some "2drop 2drop" to "4drop".  
							
							 
							
							
							
						 
						
							2012-10-23 12:21:30 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								bf8d455e9c 
								
							
								 
							
						 
						
							
							
								
								compiler: Fix /mod simplications in dead-code, add unit tests.  Fixes   #544  
							
							 
							
							
							
						 
						
							2012-07-21 03:41:42 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								42f4dc36b2 
								
							
								 
							
						 
						
							
							
								
								namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``.  
							
							 
							
							
							
						 
						
							2012-07-19 00:02:47 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								3507b9bad7 
								
							
								 
							
						 
						
							
							
								
								classes:  
							
							 
							
							... 
							
							
							
							- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized. 
							
						 
						
							2012-05-03 19:45:30 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								2e4d6f724b 
								
							
								 
							
						 
						
							
							
								
								compiler: fix failing test  
							
							 
							
							
							
						 
						
							2011-12-06 21:11:44 -08:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								943596575a 
								
							
								 
							
						 
						
							
							
								
								use radix literals  
							
							 
							
							
							
						 
						
							2011-11-23 19:03:40 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								f7700809c5 
								
							
								 
							
						 
						
							
							
								
								compiler tests: fix using, add tests to make sure instance? inlines  
							
							 
							
							
							
						 
						
							2011-11-23 01:01:11 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								fac17c10ba 
								
							
								 
							
						 
						
							
							
								
								classes.maybe: move maybe definition from classes.union to classes.maybe  
							
							 
							
							
							
						 
						
							2011-11-22 02:46:36 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								067f9830ef 
								
							
								 
							
						 
						
							
							
								
								classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;.  Fixes   #416  and lots of headaches.  
							
							 
							
							
							
						 
						
							2011-11-22 01:56:13 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								c731dc6edb 
								
							
								 
							
						 
						
							
							
								
								Rename lookup to lookup-word.  
							
							 
							
							
							
						 
						
							2011-11-06 16:00:00 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								51c033a1f6 
								
							
								 
							
						 
						
							
							
								
								Fix all failures in the linux64 build email  
							
							 
							
							
							
						 
						
							2011-10-24 19:33:09 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								80e1c8e3f2 
								
							
								 
							
						 
						
							
							
								
								Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.  
							
							 
							
							
							
						 
						
							2011-10-18 13:19:39 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								ae286fb7ef 
								
							
								 
							
						 
						
							
							
								
								callback-error: don't use -e until we fix issue  #245  
							
							 
							
							
							
						 
						
							2011-10-10 21:25:50 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								901ee2434c 
								
							
								 
							
						 
						
							
							
								
								Fix custom-inlining for mod and rem, which was converting these calls to bitand in some cases, even if the input was not known to be an integer.  Fixes   #243  
							
							 
							
							
							
						 
						
							2011-10-09 13:51:35 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								31175eb5cc 
								
							
								 
							
						 
						
							
							
								
								Mixin classes in redefine25 test are forgotten, but words still reference them -- forget those words, too.  Fixes   #143 .  
							
							 
							
							
							
						 
						
							2011-10-07 10:49:17 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								181f11faa8 
								
							
								 
							
						 
						
							
							
								
								Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method.  Fixes   #229 .  
							
							 
							
							
							
						 
						
							2011-10-03 15:49:49 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								72d3c6e791 
								
							
								 
							
						 
						
							
							
								
								Fix linkage-errors test to not clobber its own linkage error  
							
							 
							
							
							
						 
						
							2011-10-03 00:26:21 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								daf40ea0c6 
								
							
								 
							
						 
						
							
							
								
								Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue  #92  
							
							 
							
							
							
						 
						
							2011-10-02 21:59:09 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								06218d5d12 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.builder.alien: fix compilation of callbacks which unconditionally throw errors  
							
							 
							
							
							
						 
						
							2011-10-02 19:52:12 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								4f42c72012 
								
							
								 
							
						 
						
							
							
								
								specialized-arrays: performed some cleanup.  
							
							 
							
							... 
							
							
							
							Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.
I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me. 
							
						 
						
							2011-09-26 11:37:51 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								bf2a96e9e0 
								
							
								 
							
						 
						
							
							
								
								Remove Windows CE from core/ basis/ and build-support/  
							
							 
							
							... 
							
							
							
							Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes  #84 . 
							
						 
						
							2011-09-18 23:19:06 -05:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								736cebe729 
								
							
								 
							
						 
						
							
							
								
								Fix linkage-errors tests for recent changes  
							
							 
							
							
							
						 
						
							2011-09-13 20:42:36 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								7c3827190b 
								
							
								 
							
						 
						
							
							
								
								Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name.  Fixes   #93  
							
							 
							
							
							
						 
						
							2011-09-12 00:56:24 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								75560699ea 
								
							
								 
							
						 
						
							
							
								
								Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>  
							
							 
							
							
							
						 
						
							2010-12-25 16:55:36 -08:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								675a420717 
								
							
								 
							
						 
						
							
							
								
								compiler.tests: update for <ref> deref  
							
							 
							
							
							
						 
						
							2010-10-25 22:23:03 -07:00