Commit Graph

167 Commits (86923107db5be84f429df84fc6b0da8246ef7987)

Author SHA1 Message Date
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
Joe Groff ba416afd61 images.tessel(l)ation: spelling 2011-08-27 17:30:45 -07:00
Joe Groff 9040ee37e0 Merge remote-tracking branch 'Blei/gtk-image-loader'
Conflicts:
	basis/alien/enums/enums-tests.factor
	basis/alien/enums/enums.factor
	basis/alien/parser/parser.factor
	basis/gdk/pixbuf/ffi/ffi.factor
	basis/glib/ffi/ffi.factor
	basis/tools/deploy/shaker/shaker.factor
	basis/ui/backend/gtk/gtk.factor
	basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Joe Groff 44ba9e086e opengl.gl.extensions: annoying hack to make gpu.* demos work in Lion. opengl 3 entry points such as glGenVertexArrays are available, but they only actually work in core profile contexts which factor doesn't support yet, so favor extension entry points such as glGenVertexArraysAPPLE instead of standard entry points 2011-07-29 14:15:59 -07:00
Anton Gorenko 8f297055d6 Merge branch 'master' of git://github.com/slavapestov/factor 2011-01-16 13:38:04 +06: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
Doug Coleman 67c37591ca Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
Doug Coleman 1f57dc326e Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
Anton Gorenko d5a7f99bea Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/cairo/ffi/ffi.factor
	basis/pango/cairo/cairo.factor
	basis/pango/layouts/layouts.factor
2010-09-26 23:24:30 +06:00
Joe Groff 50c3f2e03e opengl.gl: typo in the FFI bindings for some obscure gl functions 2010-08-13 10:16:47 -07:00
Joe Groff c2c5a87b0f opengl.gl: some opengl 4 functions were accidentally still presented as -EXT 2010-08-11 10:05:03 -07:00
Philipp Brüschweiler d2530a4365 Merge remote branch 'origin/native-image-loader' into gtk-image-loader 2010-07-17 11:26:45 +02:00
Anton Gorenko 65362a67e8 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/pango/cairo/cairo.factor
2010-07-17 14:11:06 +06:00
Slava Pestov 446ee6896d alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
Joe Groff 0d35e277ea images, opengl.textures, images.cocoa: add support for premultiplied alpha so we can use data from cocoa images 2010-06-27 13:44:25 -07:00
Anton Gorenko 17192dee7c change directories structure (add */ffi/ffi.factor files) 2010-05-27 00:17:14 +06:00
Anton Gorenko ab9e851bed Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/opengl/gl/extensions/extensions.factor
	basis/pango/cairo/cairo.factor
2010-05-24 19:43:05 +06:00
Anton Gorenko c6d2f4956a add opengl.gl.gtk backend 2010-05-24 19:22:29 +06:00
Slava Pestov 6b87f0d0d9 opengl.gl.unix renamed to opengl.gl.x11 2010-05-23 22:25:17 -04:00
Slava Pestov 70a99e1cdb Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff 010b5069bd opengl.textures: borrow get-texture-float and get-texture-int helper words from gpu.textures 2010-05-15 12:09:50 -07:00
Slava Pestov 145e6428ba Fixing load errors 2010-04-10 17:24:44 -07:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 632c199636 opengl 3.3, 4.0 2010-03-16 18:35:46 -07:00
Joe Groff fce55c7bb3 opengl 3.2; EXT_geometry_shader4 => ARB_geometry_shader4 2010-03-16 17:25:34 -07:00
Joe Groff 9412fe8297 update GL-FUNCTION: to use new FUNCTION: factors 2010-02-28 16:40:34 -08:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Joe Groff cdc17e38e8 opengl.gl: all those GLchar* should be c-string[ascii] 2010-02-23 20:29:31 -08:00
Joe Groff 4cfa1a6c77 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Joe Groff cdde1aa92a opengl.gl: TYPEDEF: void* GLvoid* => C-TYPE: GLvoid 2010-02-21 23:13:56 -08:00
Joe Groff a2c9563bb7 opengl.gl.extensions: scan return type of GL-FUNCTION: as c-type 2010-02-21 11:46:17 -08:00
Slava Pestov 95bfc8a240 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Erik Charlebois 8861dfb834 Merge up with Joe's earlier change that added s3tc 2010-02-13 02:43:42 -08:00
Erik Charlebois 6a039cdc76 Merge up with Joe's earlier change that added s3tc 2010-02-13 02:41:03 -08:00
Erik Charlebois ba493063fb Constants for GL_EXT_texture_compression_s3tc and GL_EXT_texture_compression_latc 2010-02-13 02:34:26 -08:00
Joe Groff 83d10d8135 gpu.textures: add compressed texture support 2010-02-11 14:22:54 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman cc194416f9 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov 78bd41ae97 opengl: fix stack effect error in (all-enabled) combinator and add a unit test 2009-11-09 00:54:39 -06:00
Joe Groff 7e88ead665 fix build errors 2009-10-28 19:28:16 -05:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 4f82861bf3 update windows vocabs to load without c-type strings 2009-09-27 18:19:53 -05:00
Joe Groff 5054c954be add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00