Commit Graph

20827 Commits (8fd6a24edb6a3eb99f59d2d6d4d39fef7289eaff)

Author SHA1 Message Date
Slava Pestov 8fd6a24edb ui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend 2010-05-29 04:27:54 -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 dc75f092fc build-support/factor.cmd: cleanups recommended by mnestic 2010-05-25 21:32:07 -07:00
Joe Groff d34b377c12 build-support/factor.cmd: spruce up "unable to detect cl.exe" message. use "call" to invoke cl so it doesn't stop the batch job if it's not on the path 2010-05-25 20:47:20 -07:00
Joe Groff fb41d351c2 build-support/factor.cmd: copy factor.image to factor.image.fresh after bootstrap completes, like factor.sh does 2010-05-25 19:01:55 -07:00
Joe Groff 17d07bdb0a build-support/factor.cmd: detect cl.exe platform and choose build platform based on that. fix errorlevel handling 2010-05-25 18:50:22 -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 05227a0e76 - Put back the good version of restart-alarm
- Don't sleep if the alarm is stopped before it starts
- Right before I committed, I changed the code.  oops.
2010-05-24 22:59:26 -05:00
Doug Coleman 3a7f9c3947 Use restart-alarm for ui blink code 2010-05-24 22:59:25 -05:00
Doug Coleman 99e3fe6a6e Add a restart-alarm word that doesn't spawn a new thread 2010-05-24 22:59:25 -05: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
Joe Groff 7325e13521 Merge branch 'master' of factorcode.org:/git/factor 2010-05-24 18:39:24 -07:00
Joe Groff 1041ad5f9b math.vectors.simd.intrinsics: use unrolled loops for some software fallbacks 2010-05-24 18:39:06 -07:00
Joe Groff 9391f10164 sequences.unrolled: tweak helper words so that call( -- ) guards inline in more cases (w/ help from Slava) 2010-05-24 16:50:46 -07:00
Slava Pestov 07e92b50ce ui.backend.x11: don't pass GLX_USE_GL since its a no-op and Mesa doesn't like it 2010-05-24 19:23:55 -04: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
Joe Groff 0993e6883d "factor.cmd" script to automate update/build/bootstrap cycle for windows. remove bootimage-* targets from nmakefile 2010-05-24 15:56:00 -07:00
Joe Groff 492e07723c build-support/http-get.vbs: handle exceptions when making http request and writing file, set appropriate errorlevel 2010-05-24 15:07:23 -07:00
Joe Groff 3993dace22 Merge branch 'master' of factorcode.org:/git/factor 2010-05-24 14:19:53 -07:00
Joe Groff 518fa0de57 add targets to Nmakefile to fetch boot images on windows, add a wscript program to fetch files over http without depending on curl/wget 2010-05-24 14:19:44 -07:00
Slava Pestov 212d308de1 ui: ditch window restore behavior since it was broken 2010-05-24 16:50:09 -04:00
Joe Groff 60b20d590a math.vectors.simd.intrinsics: remove call( -- ) wrapper from fallbacks 2010-05-24 12:58:14 -07:00
Joe Groff 44ed11a084 sequences.unrolled: reimplement underlying (unrolled-each-integer) loop as a partial eval, sacrificing row polymorphism for flexibility 2010-05-24 00:33:41 -07:00
Joe Groff 8d66b14e59 math.vectors.simd.intrinsics: use <direct-X-array> instead of X-array-cast to construct view over fallback byte-arrays to avoid redundant array size checking 2010-05-23 23:18:02 -07:00
Joe Groff af83a9341c math.vectors.simd.intrinsics: wrap intrinsic fallback bodies in call( -- ) so we can abuse macros in their normally-inlined bodies 2010-05-23 22:39:44 -07:00
Slava Pestov 28e67b7066 game.input.x11: add alien.data to using list 2010-05-24 00:32:35 -04:00
Doug Coleman 54ce8be408 Delay the cursor blink 2010-05-23 22:26:46 -05:00
Doug Coleman b3d6ab1d3b - Remove the alarms stop variable, and instead for a stop condition, check against the thread object being replaced.
- Interrupt the thread sleep when stopped, but only if the quotation is not currently running
2010-05-23 22:25:17 -05:00
Doug Coleman 0e32dafb38 Merge branch 'master' of git://factorcode.org/git/factor 2010-05-23 22:19:48 -05:00
Slava Pestov 75de44c2a5 alarms: new test case for interrupt race 2010-05-23 23:16:41 -04:00
Slava Pestov 48f87e03e3 cpu.x86: fix callbacks receiving stack parameters on Win64 2010-05-23 23:08:07 -04:00
Doug Coleman af2a5eb18d Merge branch 'master' of git://factorcode.org/git/factor 2010-05-23 21:34:37 -05:00
Slava Pestov 6b87f0d0d9 opengl.gl.unix renamed to opengl.gl.x11 2010-05-23 22:25:17 -04:00
Slava Pestov cd5c1ab499 ui.backend.x11: fix load error 2010-05-23 22:08:24 -04:00
Doug Coleman 591a77700d Remove typo slot, fix scheduling formula, record initial iteration nano-count 2010-05-23 18:44:04 -05:00
Slava Pestov c8af0e4d5c alarms: add unit test for race condition 2010-05-23 18:38:37 -04:00
Slava Pestov 66fcab3721 Fixes for out parameter changes 2010-05-23 03:27:40 -05:00
Slava Pestov 70a99e1cdb Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov c9ad0856d5 cpu.x86.64: callback prologue was clobbering 5th parameter register on x86-64 2010-05-23 03:00:53 -04:00
Joe Groff 6fb91a042e system-info.windows.nt: lingering string C type 2010-05-22 19:23:45 -07: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
Slava Pestov ba7cb61133 Stack allocation improvements
- New with-out-parameters combinator
- Inhibit tail call optimization in frames with local allocation, to ensure that passing a stack allocated value to the last word in the quotation works
- local allocations are now aligned properly
- spill slots are now aligned properly aligned in frames which have parameter and local allocation areas
2010-05-22 02:37:00 -04:00