21c09ab97a 
								
							
								 
							
						 
						
							
							
								
								fix struct class see  
							
							
							
						 
						
							2009-09-16 09:56:07 -05:00  
				
					
						
							
							
								 
						
							
							
								01d2ef415a 
								
							
								 
							
						 
						
							
							
								
								get compiler tests loading  
							
							
							
						 
						
							2009-09-16 09:20:47 -05:00  
				
					
						
							
							
								 
						
							
							
								93b12d3ef4 
								
							
								 
							
						 
						
							
							
								
								update classes.struct tests to use word c-types  
							
							
							
						 
						
							2009-09-15 22:43:11 -05:00  
				
					
						
							
							
								 
						
							
							
								3b4330fcf6 
								
							
								 
							
						 
						
							
							
								
								get things to a point where they bootstrap again  
							
							
							
						 
						
							2009-09-15 21:43:18 -05:00  
				
					
						
							
							
								 
						
							
							
								3c541f736f 
								
							
								 
							
						 
						
							
							
								
								fix failing classes.struct tests  
							
							
							
						 
						
							2009-09-15 19:10:05 -05:00  
				
					
						
							
							
								 
						
							
							
								cc680ae698 
								
							
								 
							
						 
						
							
							
								
								Revert "make struct classes print properly in the status bar"  
							
							... 
							
							
							
							This reverts commit 4ee1a4f9e8 
							
						 
						
							2009-09-15 18:56:17 -05:00  
				
					
						
							
							
								 
						
							
							
								4d16c569f0 
								
							
								 
							
						 
						
							
							
								
								struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types  
							
							
							
						 
						
							2009-09-15 17:38:49 -05:00  
				
					
						
							
							
								 
						
							
							
								3c98ec95e2 
								
							
								 
							
						 
						
							
							
								
								make struct classes print properly in the status bar  
							
							
							
						 
						
							2009-09-15 15:16:53 -05:00  
				
					
						
							
							
								 
						
							
							
								d5bc1ceca2 
								
							
								 
							
						 
						
							
							
								
								classes.struct: fix some bugs  
							
							... 
							
							
							
							- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly 
							
						 
						
							2009-09-10 15:59:27 -05:00  
				
					
						
							
							
								 
						
							
							
								7f2e2b1777 
								
							
								 
							
						 
						
							
							
								
								Specialized array overhaul  
							
							... 
							
							
							
							- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely 
							
						 
						
							2009-09-09 22:33:34 -05:00  
				
					
						
							
							
								 
						
							
							
								f2212acd46 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into strong-typing  
							
							
							
						 
						
							2009-09-08 15:53:20 -05:00  
				
					
						
							
							
								 
						
							
							
								a1ae209f81 
								
							
								 
							
						 
						
							
							
								
								compiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a [ b ] curry call(' where 'a' is literal, [ b ] doesn't infer, but [ a b ] does infer. This simplifies classes.struct:memory>struct  
							
							
							
						 
						
							2009-09-07 17:45:03 -05:00  
				
					
						
							
							
								 
						
							
							
								1798000335 
								
							
								 
							
						 
						
							
							
								
								Fix unit tests for specialized-arrays.direct change  
							
							
							
						 
						
							2009-09-05 02:26:06 -05:00  
				
					
						
							
							
								 
						
							
							
								a054ec3d64 
								
							
								 
							
						 
						
							
							
								
								specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor  
							
							
							
						 
						
							2009-09-04 22:01:55 -05:00  
				
					
						
							
							
								 
						
							
							
								366946348c 
								
							
								 
							
						 
						
							
							
								
								make struct-mirror an instance of assoc  
							
							
							
						 
						
							2009-09-03 22:31:55 -05:00  
				
					
						
							
							
								 
						
							
							
								521b3ab12c 
								
							
								 
							
						 
						
							
							
								
								forget the old struct class when redefining a struct class so the old accessors get purged  
							
							
							
						 
						
							2009-09-03 11:12:58 -05:00  
				
					
						
							
							
								 
						
							
							
								32cba4dad3 
								
							
								 
							
						 
						
							
							
								
								metadata for classes.struct  
							
							
							
						 
						
							2009-09-01 15:49:21 -05:00  
				
					
						
							
							
								 
						
							
							
								d893f3cdb7 
								
							
								 
							
						 
						
							
							
								
								put a more useful mirror over structs  
							
							
							
						 
						
							2009-08-31 22:26:03 -05:00  
				
					
						
							
							
								 
						
							
							
								4cbd4d4b5c 
								
							
								 
							
						 
						
							
							
								
								update classes.struct tests, and make struct prettyprinting work again  
							
							
							
						 
						
							2009-08-31 20:46:33 -05:00  
				
					
						
							
							
								 
						
							
							
								f3768b5361 
								
							
								 
							
						 
						
							
							
								
								clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint  
							
							
							
						 
						
							2009-08-31 20:32:00 -05:00  
				
					
						
							
							
								 
						
							
							
								badbfef890 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor  
							
							
							
						 
						
							2009-08-31 20:13:19 -05:00  
				
					
						
							
							
								 
						
							
							
								79be927371 
								
							
								 
							
						 
						
							
							
								
								take advantage of pprint-prefix in c-object-pointer prettyprinters  
							
							
							
						 
						
							2009-08-31 19:56:36 -05:00  
				
					
						
							
							
								 
						
							
							
								fee0953cc4 
								
							
								 
							
						 
						
							
							
								
								make-mirror method on structs.  fix typo on struct-slots stack effect.  don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo.  
							
							
							
						 
						
							2009-08-31 18:51:47 -05:00  
				
					
						
							
							
								 
						
							
							
								0a7b62177b 
								
							
								 
							
						 
						
							
							
								
								link S{ and S@ docs in classes.struct  
							
							
							
						 
						
							2009-08-31 18:04:09 -05:00  
				
					
						
							
							
								 
						
							
							
								43f81d3835 
								
							
								 
							
						 
						
							
							
								
								hashcode* for structs  
							
							
							
						 
						
							2009-08-31 10:51:45 -05:00  
				
					
						
							
							
								 
						
							
							
								472189452d 
								
							
								 
							
						 
						
							
							
								
								oops—fix STRUCT: functor  
							
							
							
						 
						
							2009-08-30 22:40:18 -05:00  
				
					
						
							
							
								 
						
							
							
								509ed99c79 
								
							
								 
							
						 
						
							
							
								
								refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct  
							
							
							
						 
						
							2009-08-30 22:37:37 -05:00  
				
					
						
							
							
								 
						
							
							
								5d56e16188 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor  
							
							
							
						 
						
							2009-08-30 21:14:33 -05:00  
				
					
						
							
							
								 
						
							
							
								adb15243f2 
								
							
								 
							
						 
						
							
							
								
								docs for new syntax and pprint config  
							
							
							
						 
						
							2009-08-30 21:14:14 -05:00  
				
					
						
							
							
								 
						
							
							
								e1e457c27e 
								
							
								 
							
						 
						
							
							
								
								pprint S@, X-array@ in <block block> for better formatting  
							
							
							
						 
						
							2009-08-30 21:12:02 -05:00  
				
					
						
							
							
								 
						
							
							
								e918e9cddc 
								
							
								 
							
						 
						
							
							
								
								classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol  
							
							
							
						 
						
							2009-08-30 21:01:44 -05:00  
				
					
						
							
							
								 
						
							
							
								82025bde30 
								
							
								 
							
						 
						
							
							
								
								likewise, an S@ word for structs  
							
							
							
						 
						
							2009-08-30 20:46:31 -05:00  
				
					
						
							
							
								 
						
							
							
								2dd3f5690d 
								
							
								 
							
						 
						
							
							
								
								classes.struct: make <struct>, malloc-struct, and clone work in deployed images where C type info has been stripped out  
							
							
							
						 
						
							2009-08-30 20:13:54 -05:00  
				
					
						
							
							
								 
						
							
							
								be406fa964 
								
							
								 
							
						 
						
							
							
								
								fix alien.complex unboxer  
							
							
							
						 
						
							2009-08-29 23:18:31 -05:00  
				
					
						
							
							
								 
						
							
							
								32f014a030 
								
							
								 
							
						 
						
							
							
								
								privatize classes.struct's shameful bits  
							
							
							
						 
						
							2009-08-29 22:59:13 -05:00  
				
					
						
							
							
								 
						
							
							
								20aa00f8df 
								
							
								 
							
						 
						
							
							
								
								implement clone on struct classes to copy the struct contents  
							
							
							
						 
						
							2009-08-29 22:54:56 -05:00  
				
					
						
							
							
								 
						
							
							
								3e51bde484 
								
							
								 
							
						 
						
							
							
								
								change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized  
							
							
							
						 
						
							2009-08-29 22:40:13 -05:00  
				
					
						
							
							
								 
						
							
							
								7276fe44d7 
								
							
								 
							
						 
						
							
							
								
								refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency  
							
							
							
						 
						
							2009-08-29 21:04:19 -05:00  
				
					
						
							
							
								 
						
							
							
								309b11213c 
								
							
								 
							
						 
						
							
							
								
								correct some classes.struct docs  
							
							
							
						 
						
							2009-08-29 19:58:07 -05:00  
				
					
						
							
							
								 
						
							
							
								4e7bada863 
								
							
								 
							
						 
						
							
							
								
								use calloc in malloc-struct for consistency with malloc-object and malloc-array  
							
							
							
						 
						
							2009-08-29 17:17:25 -05:00  
				
					
						
							
							
								 
						
							
							
								80a5bf7138 
								
							
								 
							
						 
						
							
							
								
								support { type dimension } c-type syntax in STRUCT: definitions  
							
							
							
						 
						
							2009-08-27 21:39:43 -05:00  
				
					
						
							
							
								 
						
							
							
								69e640c55b 
								
							
								 
							
						 
						
							
							
								
								throw a friendlier error when attempting to create a struct without slots  
							
							
							
						 
						
							2009-08-26 22:37:59 -05:00  
				
					
						
							
							
								 
						
							
							
								64990eb23d 
								
							
								 
							
						 
						
							
							
								
								test that array slots in structs optimize down  
							
							
							
						 
						
							2009-08-26 21:50:12 -05:00  
				
					
						
							
							
								 
						
							
							
								ecd0bdbd58 
								
							
								 
							
						 
						
							
							
								
								test that struct-arrays and struct construction optimize down  
							
							
							
						 
						
							2009-08-26 21:38:00 -05:00  
				
					
						
							
							
								 
						
							
							
								4bf4cacc4b 
								
							
								 
							
						 
						
							
							
								
								make struct-prototype foldable so that <struct> compiles efficiently  
							
							
							
						 
						
							2009-08-26 21:27:12 -05:00  
				
					
						
							
							
								 
						
							
							
								4b56fa8009 
								
							
								 
							
						 
						
							
							
								
								add a partial eval for memory>struct so that it compiles efficiently when the struct class is known  
							
							
							
						 
						
							2009-08-26 21:18:19 -05:00  
				
					
						
							
							
								 
						
							
							
								ad463795aa 
								
							
								 
							
						 
						
							
							
								
								fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better  
							
							
							
						 
						
							2009-08-26 19:20:20 -05:00  
				
					
						
							
							
								 
						
							
							
								f4c90fdabe 
								
							
								 
							
						 
						
							
							
								
								bitwise equal? for struct objects  
							
							
							
						 
						
							2009-08-26 18:05:38 -05:00  
				
					
						
							
							
								 
						
							
							
								24c2eaae01 
								
							
								 
							
						 
						
							
							
								
								box elements of struct-arrays when a struct class is used as the element type  
							
							
							
						 
						
							2009-08-26 17:19:30 -05:00  
				
					
						
							
							
								 
						
							
							
								784b8c04ce 
								
							
								 
							
						 
						
							
							
								
								move classes.struct from extra to basis  
							
							
							
						 
						
							2009-08-26 15:55:01 -05:00