Commit Graph

9060 Commits (48e96ef0327d1e96d5018f7bb5390c7f3e744218)

Author SHA1 Message Date
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
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
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
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
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
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
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
Slava Pestov 73ff8ffed1 compiler.graphviz: fix load error 2010-05-10 00:45:48 -04: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