Commit Graph

9277 Commits (91013943d92d478f8f00011989499c25e48bd340)

Author SHA1 Message Date
Anton Gorenko 507583c8d3 Merge branch 'master' of git://factorcode.org/git/factor 2010-06-17 11:33:21 +06:00
Doug Coleman e8d528ad93 Remove system_micros from vm, implement gmt hook on windows 2010-06-16 23:39:16 -05:00
Doug Coleman 09db1a9608 Add platforms.txt files to time vocab 2010-06-16 22:04:41 -05:00
Dmitry Shubin cb361af8b4 gdbm: implement gdbm-setopt 2010-06-17 03:51:28 +04:00
Doug Coleman 11d20228f1 Implement set-time on Windows 2010-06-16 17:42:15 -05:00
Doug Coleman d487a4b045 Merge branch 'master' of http://factorcode.org/git/factor 2010-06-16 16:48:04 -05:00
Doug Coleman d4e30aedcf Use two timers in game.loop 2010-06-16 16:23:31 -05:00
Doug Coleman 22faa12205 Add a word that waits for a game to finish running 2010-06-16 16:23:30 -05:00
Doug Coleman d9bd3d572e Fix load error in game.loop 2010-06-16 16:23:29 -05:00
Joe Groff 9a47e0004c new vocab alien.handles: generate integer handles to allow references to Factor objects to be passed through the FFI 2010-06-16 16:23:29 -05:00
Slava Pestov ff3daa5092 pop3: fix tests to not hang if openssl is not installed 2010-06-16 16:23:29 -05:00
Joe Groff 7fb0c25621 opengl.glu: add DESTRUCTOR: and CALLBACK: definitions for GLU tessellator 2010-06-16 16:23:28 -05:00
Slava Pestov 53f664ae50 Merge branch 'mongodb-changes' of git://github.com/x6j8x/factor 2010-06-16 17:12:13 -04:00
Dmitry Shubin 77465c8755 gdbm: better exception handling 2010-06-16 19:40:33 +04:00
Joe Groff f3f5bbfb58 new vocab alien.handles: generate integer handles to allow references to Factor objects to be passed through the FFI 2010-06-15 15:33:30 -07:00
Slava Pestov 34d261a9e1 pop3: fix tests to not hang if openssl is not installed 2010-06-15 18:32:13 -04:00
Joe Groff 577e1175f3 opengl.glu: add DESTRUCTOR: and CALLBACK: definitions for GLU tessellator 2010-06-15 13:41:11 -07:00
Daniel Ehrenberg 4ed01d3fbc Specialized words (not done yet) 2010-06-15 16:38:34 -04:00
Doug Coleman cc573c0ecc Fix mason unit test 2010-06-13 22:39:31 -05:00
Doug Coleman c886ea537d Check in Joe's codebook vocab with a few tweaks. Requires the kindlegen binary from Amazon's website. 2010-06-13 19:34:19 -05:00
Doug Coleman c59b71d6ae Add time vocab that can set system clock time 2010-06-13 19:34:18 -05:00
Doug Coleman cf09a138d2 Delete the .git/index in case it's corrupted. Do a "git reset --hard HEAD" before a git pull. Make sure a build directory cannot collide with another build directory. 2010-06-13 19:34:17 -05:00
Joe Groff 6c1bf4e0eb io.encodings.detect: detect empty files as utf8 rather than raise a sequence error 2010-06-13 19:34:16 -05:00
Joe Groff 1636821eec io.encodings.detect: fill in USING: list for tests 2010-06-13 19:34:15 -05:00
Dmitry Shubin 01a62e25eb gdbm: code cleanup 2010-06-14 00:37:40 +04:00
Dmitry Shubin 4378948e47 gdbm: add higher level interface 2010-06-13 06:10:10 +04:00
Anton Gorenko 5c6d4d4017 Merge branch 'master' of git://factorcode.org/git/factor 2010-06-13 07:54:23 +06:00
Joe Groff f950fca035 io.encodings.detect: detect empty files as utf8 rather than raise a sequence error 2010-06-10 17:32:56 -07:00
Joe Groff 7825cb6d10 io.encodings.detect: fill in USING: list for tests 2010-06-10 16:39:48 -07:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman 6d63be4168 Check in benchmark.struct vocab 2010-06-10 15:37:53 -05:00
Doug Coleman 445b43d924 Use benchmark.struct vocab to record tick/draw timings in game loop 2010-06-10 15:37:36 -05:00
Doug Coleman 46ad6b63e6 Add start-game word, make foo-attributes words when GAME: foo is defined, don't lose the loop object after the game is over 2010-06-10 15:37:31 -05:00
Sascha Matzke 5ca5210ed6 simplified bson.reader and made it faster 2010-06-10 19:57:19 +02:00
Sascha Matzke 379f34a821 added new BSON types 2010-06-09 14:45:25 +02:00
Joe Groff 4997489980 new vocab io.encodings.detect: borrow binary file/text encoding detection heuristics from a certain text editor written in java 2010-06-09 00:11:01 -07:00
Anton Gorenko e174b7a070 Merge branch 'master' of git://factorcode.org/git/factor 2010-06-07 23:12:23 +06:00
Sascha Matzke 2653ae7f47 revised tuple oid handling 2010-06-05 12:59:50 +02:00
Sascha Matzke 4a836dcdea fixed bson tests 2010-06-05 12:04:16 +02:00
Sascha Matzke bd5b798942 fix doc typo and example error 2010-06-05 11:52:41 +02:00
Sascha Matzke 8f7516d614 use mongodb standardport (27017) in benchmark 2010-06-05 11:52:41 +02:00
Sascha Matzke d3aa7812bf fix for changed mongodb behaviour 2010-06-05 11:52:41 +02:00
Sascha Matzke 134affb339 bson writer performance improvements 2010-06-05 11:52:41 +02:00
Sascha Matzke c3df0a15fa renamed internal words 2010-06-05 11:52:41 +02:00
Sascha Matzke 9f52a0aaf2 wrapped output-stream get into it's own typed word 2010-06-05 11:52:40 +02:00
Sascha Matzke b34acc0752 fixed inline quots 2010-06-05 11:52:40 +02:00
Sascha Matzke 8361db4504 typed words 2010-06-05 11:52:40 +02:00
Sascha Matzke 56cbc62b74 removed locals usage & dead code 2010-06-05 11:52:40 +02:00
Sascha Matzke faf4d2372c fixed USING: 2010-06-05 11:52:40 +02:00
Sascha Matzke 0c2cc6d459 added gridfs implementation, reworked mongodb commands, some minor performance improvements 2010-06-05 11:52:40 +02:00
Slava Pestov d8ce35aacc benchmark.spectral-norm-simd: SIMD implementation of spectral-norm algorithm using SIMD primitives, about 40% faster but takes ages to compile -- good compile-time benchmark 2010-05-30 20:11:34 -04:00
Slava Pestov 9111c8387b benchmark.spectral-norm: add copyright notice 2010-05-30 20:11:34 -04:00
Slava Pestov f790934768 Add deployment descriptors for benchmarks, and add a bigger input file for knucleotide and regex-dna 2010-05-29 04:27:55 -04:00
Joe Groff b8c6799527 key-caps, joystick-demo: move demos to game.input.demos.key-caps, game.input.demos.joysticks 2010-05-29 00:20:09 -07:00
Anton Gorenko 17192dee7c change directories structure (add */ffi/ffi.factor files) 2010-05-27 00:17:14 +06:00
Joe Groff b60f8482e5 Merge branch 'master' of http://factorcode.org/git/factor 2010-05-25 18:40:58 -07:00
Slava Pestov e8cb8bb359 bootstrap.image.download: refactor it a bit to make mason.updates more robust 2010-05-25 17:18:06 -04:00
Joe Groff bbe156f3de cuda.gl: with-mapped-cuda-buffer helper word 2010-05-25 00:37:15 -07:00
Joe Groff ee995b4770 cuda.gl: cuda-buffer helper object that pairs a buffer with its attached CUDA resource 2010-05-24 22:57:25 -07:00
Slava Pestov c80e5435d4 nehe: fix load errors 2010-05-25 01:42:46 -04:00
Joe Groff db5998e121 gpu.buffers: grow-buffer helper word 2010-05-24 22:13:15 -07:00
Joe Groff 9fccc38994 cuda.contexts, cuda.gl: factor out set-up-cuda-context and clean-up-cuda-context so they can be used by objects that own a cuda context (separate from with-cuda-context) 2010-05-24 22:13:15 -07:00
Doug Coleman e9110c09d1 Make frequency a constant 2010-05-24 22:59:25 -05:00
Doug Coleman 586dadba88 Key-logger demo 2010-05-24 22:59:24 -05:00
Slava Pestov 46fe340be3 ui.gadgets.worlds: don't enable depth buffer by default, since it just wastes memory and apps which need it can pass custom pixel-format-attributes to open-window to enable it explicitly 2010-05-24 19:23:02 -04:00
Anton Gorenko 1981fb8186 clean up 2010-05-23 16:08:14 +06:00
Anton Gorenko f44bc6f056 Merge branch 'master' of git://github.com/slavapestov/factor 2010-05-23 09:58:35 +06:00
Slava Pestov 9887e9c9d7 ecdsa: C types can't be strings anymore 2010-05-22 16:23:29 -04:00
Slava Pestov d68b25da95 chipmunk.demo: fix load error 2010-05-22 03:24:04 -04:00
Doug Coleman d2731012d6 Remove dependency on tick unit 2010-05-21 23:53:55 -05:00
Doug Coleman 8656725f78 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Doug Coleman e75b85de30 Update code base for new alarms api 2010-05-21 20:42:12 -05:00
Doug Coleman 01e14d1430 Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman 39013d1373 Fix using list for keys/values change 2010-05-21 12:48:06 -05:00
Doug Coleman 5a08add73a Use overhauled alarms in game.loop 2010-05-21 12:48:06 -05:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Joe Groff ff748b5c9f cuda.libraries: make grid tuple read-only, grid-dim/block-dim foldable, and CUDA-FUNCTION: words inline so that kernel call sites can optimize 2010-05-20 18:10:17 -07:00
Joe Groff 2ad382865e cuda.libraries, cuda.syntax: support for both 32- and 64-bit CUDA pointer abis. make CUDA-LIBRARY: read the abi as part of the library definition 2010-05-20 17:56:45 -07:00
Joe Groff 0d04406a41 cuda.libraries: rework parameter passing to fill entire parameter space in one API call 2010-05-20 17:23:47 -07:00
Joe Groff ca1426096a cuda.libraries: scrape out some useless code 2010-05-20 15:57:23 -07:00
Joe Groff efe7e94a07 cuda.libraries, cuda.syntax: factor generated CUDA-FUNCTION: word bodies into a "cuda-invoke" macro; add CUDA-GLOBAL: for referencing global symbols 2010-05-20 15:45:35 -07:00
Joe Groff f0a7f039bd cuda.libraries: rename "function-launcher" to "grid", 2<<< to <grid>, 3<<< to <grid-shared>, 4<<< to <grid-shared-stream> 2010-05-20 14:59:27 -07:00
Joe Groff 1a3fd1dc8c improve cuda library organization 2010-05-20 14:40:26 -07:00
Slava Pestov a8098e3182 specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length 2010-05-18 23:09:34 -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 05f98a184c images.viewer: tag "not tested" rather than "not tested^M" 2010-05-18 12:43:31 -07:00
Slava Pestov 8a1765a9e9 images.viewer: add not tested tag since the unit tests rely on a GL context 2010-05-18 15:39:43 -04:00
Joe Groff d639baa319 Merge branch 'images.viewer' of git://github.com/jonenst/factor 2010-05-17 13:08:58 -07:00
Joe Groff e286a8daef cuda.devices: factor "context-device cuda-device-properties" into a "context-device-properties" word 2010-05-16 17:16:27 -07:00
Jon Harper c7012f4276 fix exception for large images 2010-05-16 17:36:51 +02:00
Joe Groff a0f28d4402 cuda.gl.ffi: add missing LIBRARY: cuda befor ffi function defs 2010-05-15 22:33:03 -07:00
Joe Groff 5f909cf443 cuda.gl: enum>number the flags argument to gl-buffer>resource so that single CUDA flag symbols can be used as arguments 2010-05-15 16:26:49 -07:00
Joe Groff c1dbce85bb cuda: move init-cuda from cuda.utils 2010-05-15 15:28:02 -07:00
Joe Groff 896cd58451 cuda.demos.prefix-sum: add init-cuda 2010-05-15 15:01:32 -07:00
Jon Harper 429c9df977 gl-texture-int is now in opengl.textures 2010-05-15 21:44:08 +02:00
Jon Harper badbb3fbfd fix images.viewer + documentation 2010-05-15 21:33:22 +02: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
Joe Groff 22e853ecb0 cuda: more API cleanups:
- remove useless with-cuda and with-cuda-program combinators
	- eliminate redundant cuda-device, cuda-context variables
	- rearrange arguments of with-*cuda-context to ( device flags quot -- )
	- don't pass context to with-cuda-context quot
	- add context-device word to ask for current device
2010-05-15 11:47:19 -07:00
Joe Groff 20305432a9 gpu.buffers: "with-mapped-buffer-array" helper word that wraps a mapped GL buffer in a specialized-array for easy inspection 2010-05-14 16:54:06 -07:00
Joe Groff e32e0f1423 cuda.gl: add free-resource word to release interop handles 2010-05-14 16:17:03 -07:00
Joe Groff f9a8e90c41 cuda: add "cuda.gl" vocab with words for cuda/opengl/gpu interop 2010-05-14 16:00:27 -07:00
Joe Groff afdced0183 cuda: in with-cuda-context, sync context when cleaning up so that destroying context doesn't fail due to asynchronous errors 2010-05-14 16:00:27 -07:00
Joe Groff 51c3e8a1b9 gpu.render: allow uchar-array, ushort-array, and uint-array to be passed directly to render as element arrays 2010-05-14 16:00:27 -07:00
Dmitry Shubin 1ed16f775c gdbm: add low-level interface 2010-05-13 23:32:34 +04:00
Anton Gorenko 83819c9902 Merge branch 'master' of git://factorcode.org/git/factor 2010-05-13 17:58:01 +06:00
Joe Groff 4eb55a5c3b Merge branch 'master' of factorcode.org:/git/factor 2010-05-12 13:49:02 -07:00
Joe Groff 860e871fe6 new cuda.types vocab containing CUDA vector types (int2, float4, etc.) with CUDA alignment 2010-05-12 13:48:44 -07:00
Anton Gorenko e97f10ff6b add generation of records as STRUCT: with slots when the record is listed in IMPLEMENT-STRUCTS:, add generation of enumerations as ENUM: 2010-05-11 23:31:35 +06:00
Slava Pestov d1e2554ebf cuda.utils: fix load error 2010-05-10 20:50:28 -04:00
Joe Groff cc2cee1ae3 Merge branch 'master' of factorcode.org:/git/factor 2010-05-10 15:07:00 -07:00
Joe Groff 6d30ce485c cuda.utils: add "sync-context" word 2010-05-10 15:06:15 -07:00
Anton Gorenko b2b5365ebd Merge branch 'master' of git://factorcode.org/git/factor 2010-05-10 23:42:41 +06:00
Slava Pestov 73ff8ffed1 compiler.graphviz: fix load error 2010-05-10 00:45:48 -04:00
Anton Gorenko da25daeb51 first commit (move from factor-gir); basis/pango is gir-based now (very draft version); add gstreamer and gtkglext modules and samples 2010-05-09 23:21:12 +06:00
Joe Groff 077cd0397b cuda.devices: fix distribute-jobs to look only at width of maxThreadsDim 2010-05-07 18:15:37 -07:00
Joe Groff 6d41ea32f5 cuda.devices: have distribute-jobs construct a launcher with the calculated grid-dim, block-dim, and shared-size 2010-05-07 18:09:21 -07:00
Joe Groff 5a980b58cb remove cuda.constants; it's better to get those values from device-properties 2010-05-07 18:03:30 -07:00
Joe Groff f26a5836e6 cuda.devices: "distribute-jobs" utility word that determines grid and block size for a job based on per-thread shared memory requirements and max block size 2010-05-07 18:02:42 -07:00
Joe Groff 097100cb12 cuda.utils: foo <c-object> ... foo memory>struct == foo <struct> 2010-05-07 17:18:08 -07:00
Joe Groff a228e575a5 cdua.devices: remove redundant init-cuda calls 2010-05-07 17:16:28 -07:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Joe Groff fb619ec928 cuda: fix using single integer as grid size 2010-05-05 19:07:39 -07:00
Joe Groff ae37cc730b cuda.memory: dependencies 2010-05-05 17:38:59 -07:00
Joe Groff 1d916246b0 cuda: rearrange function-launcher grid and block dim to be in the right order 2010-05-05 17:38:37 -07:00
Joe Groff 7c89fb2438 add cuda.constants vocab 2010-05-04 19:49:44 -07:00
Joe Groff 76512260b0 cuda.memory, cuda.syntax: inline some more words, add cuda-malloc-type word that allocates n*heap-size bytes of memory 2010-05-04 19:46:53 -07:00
Joe Groff 0778923d98 Merge branch 'master' of factorcode.org:/git/factor into cuda-changes 2010-05-04 17:34:31 -07:00
Daniel Ehrenberg 50705c1dce Merge branch 'master' of git://factorcode.org/git/factor 2010-05-04 18:11:02 -05:00
Daniel Ehrenberg b9d9f3e2bd Cleaning up trees code a little bit 2010-05-04 18:10:34 -05:00
Slava Pestov d051df31a5 mason.release.tidy: don't die if file doesn't exist 2010-05-04 18:21:24 -04:00
Joe Groff 67b991dbe3 Merge branch 'master' into cuda-changes 2010-05-04 12:44:59 -07:00
Joe Groff 152da8c93c cuda: streamline memory api 2010-05-03 18:18:10 -07:00
Slava Pestov 33eb15bf44 compiler.cfg.debugger: clean up and make it more flexible 2010-05-03 17:34:22 -04:00
Slava Pestov 0ddaba8adb benchmark.yuv-to-rgb: use TYPED: instead of HINTS: 2010-05-03 17:34:05 -04:00
Joe Groff 338c568478 joystick-demo: missing iota 2010-05-02 01:25:46 -07:00
Joe Groff 0aff35bfee game.models.half-edge: additional vertex-diagonals word 2010-04-28 18:52:40 -07:00
Joe Groff 84c79879df game.models.half-edge words for walking half-edge model representation 2010-04-28 18:41:36 -07:00
Joe Groff add082faa3 Merge branch 'master' of factorcode.org:/git/factor 2010-04-28 15:49:00 -07:00
Joe Groff 0ab9046300 rename half-floats vocab to math.floats.half 2010-04-28 15:48:47 -07:00
Doug Coleman 13baf777c9 Test factor.sh output on unix platforms 2010-04-25 15:23:44 -05:00
Doug Coleman a51fea1224 Fix unit test for when auto-use isnt on and test the other constructor error condition 2010-04-23 23:30:51 -05:00
Doug Coleman cc546c3a94 init-cuda in a couple more places... 2010-04-23 23:19:26 -05:00
Doug Coleman 8d76f2e612 Sprinkle init-cuda everywhere you could conceivably need it! 2010-04-23 23:17:47 -05:00
Doug Coleman 654e4d48f5 More error checking in constructors for when slot name is repeated or a slot is not present in a tuple 2010-04-23 20:12:54 -05:00
Doug Coleman 095763bcee Move cuda.devices word out of cuda.utils 2010-04-23 18:27:13 -05:00
Doug Coleman 8323332838 Compile the .cu file with a relative pathname instead of absolute 2010-04-23 15:06:43 -05:00
Doug Coleman b8c10dc2cd Add using 2010-04-23 14:43:48 -05:00
Doug Coleman b34c75a6a3 move cuda.utils library words to cuda.libraries 2010-04-23 14:43:13 -05:00
Doug Coleman 8ae600124c remove init-cuda from a combinator because it's a startup-hook now 2010-04-23 14:29:24 -05:00
Doug Coleman 656f8987a1 Run hello-world on each CUDA device. fix a bug with returning the hello world string. add with-each-cuda-device combinator to run a program on each device. add an init-hook for cuda-init 2010-04-23 14:29:24 -05:00
Doug Coleman d6036b6d5b make host>device only take one parameter, add 2<<< for calling cuda functions where shared-memory is 0, simplify hello-world example 2010-04-23 14:29:23 -05:00
Joe Groff 6b2fdc73f5 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 22:48:45 -07:00
Joe Groff 33cf10e922 lua: clean up some literals abuse 2010-04-20 22:48:28 -07:00
Doug Coleman eefc8b6e2f Fix C-ENUM: -> ENUM: 2010-04-21 00:42:33 -05:00
Doug Coleman ddfeee4621 Add a 'not tested' tag to javascriptcore 2010-04-21 00:30:05 -05:00
Erik Charlebois 01bec445e1 Merge branch 'dwarf' 2010-04-20 22:28:45 -07:00
Erik Charlebois 2be0e94c87 Merge branch 'fluids' 2010-04-20 22:28:43 -07:00
Erik Charlebois 723302053b Merge branch 'lua' 2010-04-20 22:28:17 -07:00
Erik Charlebois e3e19ddc67 Remove redundant vocab usage in model-viewer 2010-04-20 22:27:52 -07:00
Joe Groff 305c3de2af Merge branch 'master' of factorcode.org:/git/factor into symbolic-enums 2010-04-20 17:17:35 -07:00
Joe Groff a848b4b0c5 Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor 2010-04-20 16:43:58 -07:00
Doug Coleman 54134f90f5 use js-context in eval-js 2010-04-20 17:30:23 -05:00
Doug Coleman b32782ac9b Move the guts of eval-js to its own word, add eval-js-standalone for unit tests 2010-04-20 17:25:28 -05:00
Doug Coleman 6ecf43b91f fix add-library in javascriptcore 2010-04-20 16:06:50 -05:00
Joe Groff d6b56c7e25 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 13:51:33 -07:00
Joe Groff b71933f4d7 cuda.ptx: better representation of operands 2010-04-20 13:51:10 -07:00
Doug Coleman 73eb31a35c Add unit test to javascriptcore, make eval-js throw errors and return a string 2010-04-20 14:21:05 -05:00
Doug Coleman e4b67b268c Add eval-js and eval-js-file 2010-04-20 13:40:16 -05:00
Erik Charlebois baab8c060d Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Joe Groff 4bc915d526 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Erik Charlebois f572b56f8e Lua FFI bindings 2010-04-19 20:06:27 -07:00
Erik Charlebois dd4e505253 Dwarf authors file 2010-04-19 20:06:11 -07:00
Erik Charlebois 8d5b270fbd DWARF ffi constants 2010-04-19 20:06:11 -07:00
Erik Charlebois ebd6594ef5 Resources file for fluids and using vocab: instead of resource: for file paths. 2010-04-19 20:05:59 -07:00
Doug Coleman 1a6a8d4c93 Add a with-javascriptcore combinator to set the callstack bounds before calling javascriptcore ffi functions 2010-04-19 20:07:39 -05:00
Doug Coleman 5249ebfdf2 Use the javascriptcore library in javascriptcore bindings.. 2010-04-19 18:03:44 -05:00
Doug Coleman 6bd0c02b34 Only load core-foundation vocab on macosx 2010-04-19 17:12:52 -05:00
Doug Coleman c9dc95b103 Add a bare-bones javascriptcore.ffi binding 2010-04-19 17:09:26 -05:00
Slava Pestov a618407bda Merge branch 'master' of git://factorcode.org/git/factor 2010-04-19 14:07:47 -05:00
Slava Pestov 703ff5385d Merge branch 'require-when' of git://github.com/littledan/Factor 2010-04-19 14:06:52 -05:00
Joe Groff 1e7cc1613e Merge branch 'master' of factorcode.org:/git/factor 2010-04-19 00:40:30 -07:00
Joe Groff 717dd1b10e cuda.ptx: unit tests for instruction serialization 2010-04-19 00:40:10 -07:00
Doug Coleman 6b2024055f Move some code to cuda.devices 2010-04-19 01:21:36 -05:00
Slava Pestov f0543e6bdd benchmark.fasta: formatting fix 2010-04-19 01:14:01 -05:00
Doug Coleman 1624903ae1 Split up cuda vocab some more, make CUDA-LIBRARY: work 2010-04-19 00:46:26 -05:00
Doug Coleman eb3c6f414b Fix the ptx path in cuda demo 2010-04-18 20:52:09 -05:00
Doug Coleman 5c17e6ee98 CUDA-FUNCTION: works, splitting up CUDA into more vocabs 2010-04-18 18:34:46 -05:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Joe Groff 23cf6413dc cuda.ptx: some unit tests 2010-04-18 11:59:37 -07:00
Joe Groff 0f2f54a195 cuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust output of some insns 2010-04-17 16:10:53 -07:00
Joe Groff 8820f3bc26 Merge branch 'master' of factorcode.org:/git/factor 2010-04-17 15:59:37 -07:00
Joe Groff f2de2222c7 cuda: AST representation for PTX code 2010-04-17 15:58:51 -07:00
Slava Pestov dedc448f55 webapps.mason.package: fix 2010-04-17 15:52:40 -05:00
Slava Pestov 1ae8cdc587 mason: use web service instead of shell script for status notifications, to scale better in the cloud 2010-04-17 14:51:29 -05:00
Slava Pestov b7631c98cf benchmark.binary-search: cleanup 2010-04-17 00:57:53 -05:00
Slava Pestov 8ed8d2d8ad webapps.mason: fix template again 2010-04-16 23:49:56 -05:00
Slava Pestov 649b57b7fe webapps.mason: fix heartbeat field in template 2010-04-16 23:48:06 -05:00
Slava Pestov 26ffebe18c Merge branch 'master' of git://factorcode.org/git/factor 2010-04-16 23:40:52 -05:00
Slava Pestov e422c68d69 Merge branch 'boyer-moore' of git://github.com/dmsh/factor 2010-04-16 23:40:36 -05:00
Joe Groff 992f932608 Merge branch 'master' of factorcode.org:/git/factor 2010-04-16 16:42:57 -07:00
Joe Groff 8501d5649e cuda: add a single-block prefix sum sample kernel (so doug has a more substantive kernel to test with) 2010-04-16 16:42:46 -07:00
Slava Pestov 8b258bbe1b webapps.mason: fix typo 2010-04-16 17:32:19 -05:00
Slava Pestov 14c52d947a mason.version: fixes 2010-04-16 17:27:15 -05:00
Slava Pestov 58bf727ac5 Merge branch 'macho' of git://github.com/erikcharlebois/factor 2010-04-15 22:51:50 -05:00
Dmitry Shubin 87dfd458a5 boyer-moore: fixed indentation, typos 2010-04-16 04:44:37 +04:00
Dmitry Shubin 38ef5919e8 Add: Boyer-Moore string search algorithm 2010-04-16 03:49:55 +04:00
Erik Charlebois ccda46921f Don't run mach-o and elf tests on ppc until endian issue sorted out 2010-04-15 16:31:37 -07:00
Slava Pestov 34771c8e10 benchmark.fasta: tweak it a bit 2010-04-15 17:19:38 -05:00
Joe Groff 8f56108702 cuda.ffi: add CUDA versions of double, longlong, ulonglong that always 8-byte align, and a >cuda-param-type function we can use to make structs that match kernel param space layout 2010-04-15 14:46:13 -07:00
Erik Charlebois d8c26b7d87 Fat binary loading 2010-04-15 01:20:57 -07:00
Slava Pestov 6556311115 mason: fix 2010-04-14 22:09:52 -07:00
Slava Pestov 06d91b239f elf.nm: fix load error 2010-04-14 21:51:01 -07:00
Slava Pestov 829b7c8904 benchmark.spectral-norm: use unsafe sequence ops again, use TYPED: instead of HINTS: 2010-04-14 21:51:01 -07:00
Slava Pestov 008ec8f40f benchmark.knucleotide: small performance improvement from using virtual sequences 2010-04-14 21:51:00 -07:00
Slava Pestov b87171ff00 benchmark.fasta: make it about 2x faster 2010-04-14 21:51:00 -07:00
Joe Groff 4aa62ffb24 Merge branch 'master' of factorcode.org:/git/factor 2010-04-14 19:37:54 -07:00
Doug Coleman c392ff2718 Working on a CUDA api. Add a hello world program. 2010-04-14 21:10:28 -05:00
Slava Pestov b7164ee4c1 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-04-14 17:20:12 -07:00
Joe Groff 0f028feb22 get symbols out of a dylib and map the C++ ones to their demangled names 2010-04-14 15:52:46 -07:00
Joe Groff b7307c2dd6 foundation for abi-generic demangling 2010-04-14 15:51:32 -07:00
Joe Groff 4f2fd501e4 source file for testing c++ stuff 2010-04-14 15:46:23 -07:00
Joe Groff 4f91d1fede alien.cxx.demangle.libstdcxx: better to use libstdc++ linked into VM 2010-04-14 15:11:59 -07:00
Joe Groff 3544568fe8 macho: add utility for getting exported symbols from a dylib 2010-04-14 14:37:21 -07:00
Joe Groff 94c0382b99 macho: use with-mapped-file-reader in with-mapped-macho 2010-04-14 13:38:41 -07:00
Joe Groff 1af11dbfb9 Merge git://github.com/erikcharlebois/factor 2010-04-14 13:21:03 -07:00
Joe Groff 1dadc4efed Merge branch 'master' of git://factorcode.org/git/factor 2010-04-14 13:16:08 -07:00
Joe Groff dcf68af105 new vocab alien.cxx.demangle.libstdcxx: name demangling for gnu abi 2010-04-14 13:16:04 -07:00
Slava Pestov 5615671560 benchmark.knucleotide: some cleanups 2010-04-14 02:32:54 -07:00
Erik Charlebois b4a0fd8b17 Remove some inline flags for info words to avoid out of memory on 32-bit archs. 2010-04-14 01:28:21 -07:00
Erik Charlebois bb0c4d94e0 Replace info and 2info macros with simple inline words. 2010-04-14 00:08:10 -07:00
Erik Charlebois 44639d2f6d Merge branch 'master' of git://github.com/slavapestov/factor 2010-04-13 21:16:01 -07:00
Erik Charlebois 5ef2531325 Merge branch 'master' of github.com:erikcharlebois/factor 2010-04-13 21:15:53 -07:00
Slava Pestov e1ee2c82ea cuda: 'not tested' tag 2010-04-13 18:44:10 -07:00
Slava Pestov 3f36a2dd2d opencl.ffi: fix load error 2010-04-13 18:43:56 -07:00
Slava Pestov f6908f513f llvm: fix load errors 2010-04-13 18:43:48 -07:00
Slava Pestov da6bcbedfc Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Erik Charlebois 017f772c48 Macho version of nm and testcase for it. 2010-04-13 17:58:45 -07:00
Slava Pestov f652ee2b02 classes.struct.vectored: fix unit test for forget-tests? flag 2010-04-13 06:15:08 -07:00
Slava Pestov a47db60a74 mason.server.notify: fix heartbeat logic 2010-04-13 05:25:13 -07:00
Doug Coleman 81c1e9fcb4 Playing around with a higher-level CUDA api. Also, changed some char* to c-string in cuda.ffi 2010-04-13 02:32:07 -07:00
Slava Pestov 89560ee4d9 mason: big overhaul
- add heartbeats for eventual notification of when build machines go down
- mason.version: replaces mason.release, builds source package automatically, and tweets when new versions released
- webapps.mason: new downloads action includes automatically-generated source download and release announcement links
2010-04-13 01:56:43 -07:00
Slava Pestov 3e6c16ce36 bit.ly: some old-school newfx 2010-04-13 01:43:10 -07:00
Slava Pestov c09f1567cb bit.ly: check response for errors 2010-04-13 00:54:55 -07:00
Erik Charlebois 93b3906fc7 Merge branch 'master' of git://github.com/slavapestov/factor 2010-04-12 23:52:57 -07:00
Slava Pestov ea3af2aef6 twitter: add meta-data 2010-04-12 22:55:33 -07:00
Slava Pestov b5e99faf4f bit.ly: URL shortening web service 2010-04-12 22:55:33 -07:00
Erik Charlebois f31929ca5b a.elf for elf tests 2010-04-12 21:38:01 -07:00
Erik Charlebois 904a205728 Test cases for ELF 2010-04-12 21:23:26 -07:00
Joe Groff 54b357eb63 Merge git://github.com/erikcharlebois/factor 2010-04-12 19:17:37 -07:00
Erik Charlebois 03ec284c2e nm for ELF files 2010-04-12 19:10:20 -07:00
Joe Groff a46c624123 missed LIBRARY: cuda in cuda.ffi 2010-04-12 17:45:30 -07:00
Joe Groff de50d0bfda cuda.ffi binding 2010-04-12 17:37:06 -07:00
Joe Groff 0d5729b639 opencl.ffi: library isn't stdcall except on windows 2010-04-12 17:25:36 -07:00
Joe Groff a83090edba Merge branch 'master' of git://factorcode.org/git/factor 2010-04-12 16:15:07 -07:00
Slava Pestov a7ee58dc83 mason.test: forget test vocabs right after each test, instead of at the end 2010-04-12 14:45:43 -07:00
Joe Groff 73d9c1c94d Merge branch 'master' of factorcode.org:/git/factor 2010-04-12 14:26:13 -07:00
Erik Charlebois 3d4dadffe2 Image encoding/decoding of PBM format 2010-04-12 00:49:16 -07:00
Erik Charlebois 5478913e19 Remove unix.types dependency from macho 2010-04-11 23:51:50 -07:00
Joe Groff 43ab0af1ac Merge branch 'master' of factorcode.org:/git/factor 2010-04-11 15:08:41 -07:00
Erik Charlebois b9aa133b21 Merge upstream macho patch 2010-04-11 12:27:21 -07:00
Slava Pestov ad0f697b14 macho: fix load errors 2010-04-11 11:49:14 -07:00
Erik Charlebois a52103decd Use the new C-ENUM for libusb 2010-04-11 02:57:37 -07:00
Erik Charlebois b34331431e Use vector operations instead of bespoke ones. Use different verlet integration for ease of use. 2010-04-11 01:46:00 -07:00
Erik Charlebois e117300bb4 Fix build breaks 2010-04-10 22:38:17 -07:00
Slava Pestov 2b4a55b53a Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-04-10 18:01:19 -07:00
Slava Pestov 145e6428ba Fixing load errors 2010-04-10 17:24:44 -07:00
Erik Charlebois f6d8c0ad22 Convert image to binary form and remove debug code. 2010-04-10 17:07:05 -07:00
Slava Pestov 46a1fb2646 Merge remote branch 'origin/abi-symbols' into fastcall-madness 2010-04-10 00:10:33 -07:00
Erik Charlebois faf0418a12 Remove empty quad vocabulary 2010-04-10 00:02:44 -07:00
Erik Charlebois e1849518ec Merge branch 'master' of git://github.com/slavapestov/factor 2010-04-09 23:49:40 -07:00
Erik Charlebois edc489f4c1 Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses. 2010-04-09 23:48:22 -07:00
Erik Charlebois b86abfb70c Helper words for elf 2010-04-09 23:45:21 -07:00
Slava Pestov 618915a084 mason.child: update for Nmakefile change 2010-04-08 16:49:16 -07:00
Joe Groff 181c45209f gpu.shaders: use "counter" instead of reinventing it 2010-04-07 15:33:19 -07:00
Joe Groff aa7bf38e38 cursors: unify input-cursor and assoc-cursor, give all cursors a "key" concept 2010-04-06 15:20:56 -07:00
Erik Charlebois 1a570a8fc8 Merge branch 'techniques' 2010-04-06 13:12:37 -07:00
Erik Charlebois e6b4e54e2c More work on fluids 2010-04-06 13:12:10 -07:00
Erik Charlebois 6699560327 Helper words for ELF parsing 2010-04-06 12:59:46 -07:00
Joe Groff 3e0d86f355 Merge branch 'master' of git://factorcode.org/git/factor into abi-symbols
Conflicts:
	basis/compiler/tests/alien.factor
2010-04-06 12:30:15 -07:00
Erik Charlebois 2a2d9eb0a2 Mach-O FFI constants and data structures. 2010-04-06 02:44:57 -07:00
Erik Charlebois a91d7a0e7b Get fluids working on Mac 2010-04-05 01:38:39 -07:00
Erik Charlebois 6081abea04 Fix step effect 2010-04-04 20:52:09 -07:00
Erik Charlebois b9de2ca5c1 Merge branch 'master' of git://github.com/slavapestov/factor into techniques 2010-04-04 20:38:59 -07:00
Erik Charlebois 964f45fc77 Techniques work 2010-04-04 18:57:58 -07:00
Slava Pestov 52736dd94f mason.child: fix unit test for boot image renaming 2010-04-04 12:20:56 -04:00
Erik Charlebois 925d2c7e58 PGM image loading and saving 2010-04-04 03:23:04 -07:00
Slava Pestov 68073831f9 mason.common: increase timeout because Windows is damn slow 2010-04-02 14:14:25 -04:00
Doug Coleman 0c0935dfc1 Fix typo in webkit demo 2010-04-01 22:25:07 -05:00
Joe Groff ef884ef7f2 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Doug Coleman 026499e64f Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Erik Charlebois 116c8850ac PPM image loading and saving 2010-04-01 00:44:32 -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 0a9d1b03a1 variables: typed vars, globals 2010-03-28 21:25:49 -07:00
Joe Groff 5f31860f18 "variables" vocab with uniform-access global, dynamic, and local vars 2010-03-28 19:27:34 -07:00
Joe Groff f60bdb4cb1 remove old, unused 'vars' vocab 2010-03-28 19:26:24 -07:00
Daniel Ehrenberg 240c6819a9 Merge branch 'master' into conditional 2010-03-28 19:49:32 -04:00
Erik Charlebois fcec127d2d Debug rendering vocabulary 2010-03-27 14:31:24 -07:00
Erik Charlebois 532c2aa5ad FFI structs for manipulating ELF objects. 2010-03-27 14:21:28 -07:00
Slava Pestov 88d0793946 spelling: John Benediktsson's port of Peter Norvig's spelling corrector 2010-03-27 06:25:47 -04:00