]>
gitweb.factorcode.org Git - factor.git/log
Joe Groff [Tue, 25 May 2010 01:39:24 +0000 (18:39 -0700)]
Merge branch 'master' of factorcode.org:/git/factor
Joe Groff [Tue, 25 May 2010 01:39:06 +0000 (18:39 -0700)]
math.vectors.simd.intrinsics: use unrolled loops for some software fallbacks
Joe Groff [Mon, 24 May 2010 23:50:46 +0000 (16:50 -0700)]
sequences.unrolled: tweak helper words so that call( -- ) guards inline in more cases (w/ help from Slava)
Slava Pestov [Mon, 24 May 2010 23:23:55 +0000 (19:23 -0400)]
ui.backend.x11: don't pass GLX_USE_GL since its a no-op and Mesa doesn't like it
Slava Pestov [Mon, 24 May 2010 23:23:02 +0000 (19:23 -0400)]
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
Joe Groff [Mon, 24 May 2010 22:56:00 +0000 (15:56 -0700)]
"factor.cmd" script to automate update/build/bootstrap cycle for windows. remove bootimage-* targets from nmakefile
Joe Groff [Mon, 24 May 2010 22:07:23 +0000 (15:07 -0700)]
build-support/http-get.vbs: handle exceptions when making http request and writing file, set appropriate errorlevel
Joe Groff [Mon, 24 May 2010 21:19:53 +0000 (14:19 -0700)]
Merge branch 'master' of factorcode.org:/git/factor
Joe Groff [Mon, 24 May 2010 21:19:44 +0000 (14:19 -0700)]
add targets to Nmakefile to fetch boot images on windows, add a wscript program to fetch files over http without depending on curl/wget
Slava Pestov [Mon, 24 May 2010 20:50:09 +0000 (16:50 -0400)]
ui: ditch window restore behavior since it was broken
Joe Groff [Mon, 24 May 2010 19:58:14 +0000 (12:58 -0700)]
math.vectors.simd.intrinsics: remove call( -- ) wrapper from fallbacks
Joe Groff [Mon, 24 May 2010 07:33:41 +0000 (00:33 -0700)]
sequences.unrolled: reimplement underlying (unrolled-each-integer) loop as a partial eval, sacrificing row polymorphism for flexibility
Joe Groff [Mon, 24 May 2010 06:18:02 +0000 (23:18 -0700)]
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
Joe Groff [Mon, 24 May 2010 05:39:44 +0000 (22:39 -0700)]
math.vectors.simd.intrinsics: wrap intrinsic fallback bodies in call( -- ) so we can abuse macros in their normally-inlined bodies
Slava Pestov [Mon, 24 May 2010 04:32:35 +0000 (00:32 -0400)]
game.input.x11: add alien.data to using list
Doug Coleman [Mon, 24 May 2010 03:26:46 +0000 (22:26 -0500)]
Delay the cursor blink
Doug Coleman [Mon, 24 May 2010 03:25:17 +0000 (22:25 -0500)]
- 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
Doug Coleman [Mon, 24 May 2010 03:19:48 +0000 (22:19 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 24 May 2010 03:16:41 +0000 (23:16 -0400)]
alarms: new test case for interrupt race
Slava Pestov [Mon, 24 May 2010 03:08:07 +0000 (23:08 -0400)]
cpu.x86: fix callbacks receiving stack parameters on Win64
Doug Coleman [Mon, 24 May 2010 02:34:37 +0000 (21:34 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 24 May 2010 02:23:44 +0000 (22:23 -0400)]
opengl.gl.unix renamed to opengl.gl.x11
Slava Pestov [Mon, 24 May 2010 02:08:24 +0000 (22:08 -0400)]
ui.backend.x11: fix load error
Doug Coleman [Sun, 23 May 2010 23:44:04 +0000 (18:44 -0500)]
Remove typo slot, fix scheduling formula, record initial iteration nano-count
Slava Pestov [Sun, 23 May 2010 22:38:37 +0000 (18:38 -0400)]
alarms: add unit test for race condition
Slava Pestov [Sun, 23 May 2010 08:27:40 +0000 (03:27 -0500)]
Fixes for out parameter changes
Slava Pestov [Sun, 23 May 2010 07:07:47 +0000 (03:07 -0400)]
Updating code to use with-out-parameters
Slava Pestov [Sun, 23 May 2010 07:00:53 +0000 (03:00 -0400)]
cpu.x86.64: callback prologue was clobbering 5th parameter register on x86-64
Joe Groff [Sun, 23 May 2010 02:23:45 +0000 (19:23 -0700)]
system-info.windows.nt: lingering string C type
Slava Pestov [Sat, 22 May 2010 20:23:29 +0000 (16:23 -0400)]
ecdsa: C types can't be strings anymore
Slava Pestov [Sat, 22 May 2010 07:24:04 +0000 (03:24 -0400)]
chipmunk.demo: fix load error
Slava Pestov [Sat, 22 May 2010 05:25:10 +0000 (01:25 -0400)]
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
Doug Coleman [Sat, 22 May 2010 05:17:30 +0000 (00:17 -0500)]
Clarify and reword alarms documentation
Doug Coleman [Sat, 22 May 2010 04:53:55 +0000 (23:53 -0500)]
Remove dependency on tick unit
Doug Coleman [Sat, 22 May 2010 04:50:42 +0000 (23:50 -0500)]
Finish renaming micros->nanos in game code, update libs
Doug Coleman [Sat, 22 May 2010 01:48:33 +0000 (20:48 -0500)]
Remove alarms from using list, minor refactoring
Doug Coleman [Sat, 22 May 2010 01:44:38 +0000 (20:44 -0500)]
Rotate logs every day, but wait a day first
Doug Coleman [Sat, 22 May 2010 01:42:12 +0000 (20:42 -0500)]
Update code base for new alarms api
Doug Coleman [Sat, 22 May 2010 01:29:25 +0000 (20:29 -0500)]
Cleaner implementation of alarms. Separate creating alarm from starting/stopping them.
Doug Coleman [Sat, 22 May 2010 01:03:32 +0000 (20:03 -0500)]
Make the alarm test wait for the promise to be fulfilled instead of returning immediately and failing
Joe Groff [Fri, 21 May 2010 23:40:41 +0000 (16:40 -0700)]
Merge branch 'master' of factorcode.org:/git/factor
Niklas.Waern [Fri, 21 May 2010 23:36:04 +0000 (01:36 +0200)]
x11.xinput2.ffi: make XI*Mask less ugly
Slava Pestov [Fri, 21 May 2010 23:09:15 +0000 (19:09 -0400)]
io.backend.unix: make timeouts work on stdin once Doug fixes alarms
Slava Pestov [Fri, 21 May 2010 23:09:01 +0000 (19:09 -0400)]
alarms: add a couple of unit tests
Niklas.Waern [Fri, 21 May 2010 22:29:38 +0000 (00:29 +0200)]
x11.xlib: add GenericEvent constant
Niklas.Waern [Fri, 21 May 2010 22:11:00 +0000 (00:11 +0200)]
x11.xinput2: xi2-available?
Niklas.Waern [Fri, 21 May 2010 22:05:34 +0000 (00:05 +0200)]
x11.xlib: add a few things for xinput2
Niklas.Waern [Fri, 21 May 2010 19:54:33 +0000 (21:54 +0200)]
x11.xinput2.ffi
Niklas.Waern [Fri, 21 May 2010 19:53:29 +0000 (21:53 +0200)]
x11.xinput2.constants
Niklas.Waern [Fri, 21 May 2010 19:52:22 +0000 (21:52 +0200)]
create basis/x11/xinput2
Doug Coleman [Fri, 21 May 2010 20:28:05 +0000 (15:28 -0500)]
Fix using list in sequences.unrolled, keys/values was not appropriate in several locations
Doug Coleman [Fri, 21 May 2010 18:28:03 +0000 (13:28 -0500)]
Change alarm start variable to store nano-count of start time instead of (nano-count + interval)
Doug Coleman [Fri, 21 May 2010 18:19:15 +0000 (13:19 -0500)]
Simplify the alarms implementation a bit
Doug Coleman [Fri, 21 May 2010 17:47:42 +0000 (12:47 -0500)]
Fix using list for keys/values change
Doug Coleman [Thu, 20 May 2010 17:28:02 +0000 (12:28 -0500)]
Use overhauled alarms in game.loop
Doug Coleman [Thu, 20 May 2010 17:24:26 +0000 (12:24 -0500)]
- Change alarms to run in a single spawned green thread instead of spawning a new thread for each iteration of the alarm so game.loop can use alarms -- the old behavior can be embedded by calling in-thread in your alarm handler quotation
- Remove current-alarm dynamic variable in favor of optionally passing the alarm on the stack to the quotation
- Reschedule alarms based on a multiple of the interval from the original start time to eliminate alarm drift over time
- Clarify alarm contract in docs
- Fix later example
Doug Coleman [Tue, 18 May 2010 03:20:46 +0000 (22:20 -0500)]
Use keys/values where appropriate
Doug Coleman [Sun, 16 May 2010 21:00:47 +0000 (16:00 -0500)]
Fix typo in stack effect docs
Joe Groff [Fri, 21 May 2010 01:10:17 +0000 (18:10 -0700)]
cuda.libraries: make grid tuple read-only, grid-dim/block-dim foldable, and CUDA-FUNCTION: words inline so that kernel call sites can optimize
Joe Groff [Fri, 21 May 2010 00:56:20 +0000 (17:56 -0700)]
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
Joe Groff [Fri, 21 May 2010 00:23:47 +0000 (17:23 -0700)]
cuda.libraries: rework parameter passing to fill entire parameter space in one API call
Joe Groff [Thu, 20 May 2010 22:57:23 +0000 (15:57 -0700)]
cuda.libraries: scrape out some useless code
Joe Groff [Thu, 20 May 2010 22:45:35 +0000 (15:45 -0700)]
cuda.libraries, cuda.syntax: factor generated CUDA-FUNCTION: word bodies into a "cuda-invoke" macro; add CUDA-GLOBAL: for referencing global symbols
Joe Groff [Thu, 20 May 2010 21:51:47 +0000 (14:51 -0700)]
cuda.libraries: rename "function-launcher" to "grid", 2<<< to <grid>, 3<<< to <grid-shared>, 4<<< to <grid-shared-stream>
Joe Groff [Thu, 20 May 2010 21:32:35 +0000 (14:32 -0700)]
improve cuda library organization
Slava Pestov [Thu, 20 May 2010 00:46:48 +0000 (20:46 -0400)]
io.files: fix unit test
Joe Groff [Wed, 19 May 2010 20:59:51 +0000 (13:59 -0700)]
sequences.unrolled vocab with fixed-length unrolling versions of some each and map combinators
Slava Pestov [Wed, 19 May 2010 20:22:39 +0000 (16:22 -0400)]
io: missed a few byte-array>int-array in unit tests
Slava Pestov [Wed, 19 May 2010 07:23:26 +0000 (03:23 -0400)]
specialized-arrays: fix typo
Slava Pestov [Wed, 19 May 2010 05:53:32 +0000 (01:53 -0400)]
compiler.cfg.builder.alien: use ##local-allot to fix value struct passing on Win64
Slava Pestov [Wed, 19 May 2010 05:29:52 +0000 (01:29 -0400)]
cpu.x86.32: fix load error
Slava Pestov [Wed, 19 May 2010 05:07:22 +0000 (01:07 -0400)]
Use ##local-allot to simplify longlong unboxing
Slava Pestov [Wed, 19 May 2010 04:51:03 +0000 (00:51 -0400)]
compiler.tree.propagation.known-words: fix load error
Slava Pestov [Wed, 19 May 2010 04:33:36 +0000 (00:33 -0400)]
alien.data: add with-scoped-allocation combinator for stack-allocating C data
Slava Pestov [Wed, 19 May 2010 04:33:15 +0000 (00:33 -0400)]
compiler.cfg: generalize ##prepare-struct-caller instruction to alloca()-like ##local-allot
Slava Pestov [Wed, 19 May 2010 04:31:46 +0000 (00:31 -0400)]
stack-checker.alien: callback and assembly quotations can be callables
Slava Pestov [Wed, 19 May 2010 03:09:34 +0000 (23:09 -0400)]
specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length
Slava Pestov [Wed, 19 May 2010 03:08:37 +0000 (23:08 -0400)]
compiler.tests: fix test for generalizations change
Slava Pestov [Wed, 19 May 2010 02:59:07 +0000 (22:59 -0400)]
Fixing fallout from sequences.generalizations change
Slava Pestov [Wed, 19 May 2010 02:34:52 +0000 (22:34 -0400)]
libc: use size_t instead of ulong for correct behavior on win64
Slava Pestov [Wed, 19 May 2010 02:34:42 +0000 (22:34 -0400)]
alien.c-types: make a couple of words private
Joe Groff [Wed, 19 May 2010 01:59:35 +0000 (18:59 -0700)]
syntax: correct documentation for ratio syntax
Slava Pestov [Tue, 18 May 2010 23:37:59 +0000 (19:37 -0400)]
cpu.x86.assembler: drop useless ST0 operand from some x87 instructions
Slava Pestov [Tue, 18 May 2010 23:18:53 +0000 (19:18 -0400)]
cpu.x86.x87: compares were clobbering ST0
Slava Pestov [Tue, 18 May 2010 22:46:31 +0000 (18:46 -0400)]
alien.libraries, stack-checker.alien: check user inputs more carefully to ensure that invalid ABI descriptors don't slip through and break random stuff (reported by prunedtree)
Slava Pestov [Tue, 18 May 2010 22:36:47 +0000 (18:36 -0400)]
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
Slava Pestov [Tue, 18 May 2010 21:59:34 +0000 (17:59 -0400)]
cpu.x86.assembler: fix typo
Slava Pestov [Tue, 18 May 2010 21:10:58 +0000 (17:10 -0400)]
cpu.x86.x87: use FISTPD to convert floats to integers, instead of the SSE3 instruction FISTTPD
Slava Pestov [Tue, 18 May 2010 21:10:32 +0000 (17:10 -0400)]
cpu.x86.assembler: AH CH DH BH register operands now work properly
Joe Groff [Tue, 18 May 2010 19:40:40 +0000 (12:40 -0700)]
images.viewer: tag "not tested" rather than "not tested^M"
Slava Pestov [Tue, 18 May 2010 19:39:43 +0000 (15:39 -0400)]
images.viewer: add not tested tag since the unit tests rely on a GL context
Slava Pestov [Tue, 18 May 2010 08:22:21 +0000 (04:22 -0400)]
compiler.cfg.value-numbering: constant folding for ##shuffle-vector
Slava Pestov [Tue, 18 May 2010 07:56:07 +0000 (03:56 -0400)]
compiler.cfg.value-numbering: add constant folding for ##gather-vector instructions, and fix ##scalar>vector constant folding for integers
Joe Groff [Mon, 17 May 2010 20:09:53 +0000 (13:09 -0700)]
Merge branch 'master' of factorcode.org:/git/factor
Joe Groff [Mon, 17 May 2010 20:08:58 +0000 (13:08 -0700)]
Merge branch 'images.viewer' of git://github.com/jonenst/factor
Slava Pestov [Mon, 17 May 2010 15:43:42 +0000 (11:43 -0400)]
cpu.x86.64: call check-sse to ensure that cpu.x86.sse is loaded
Slava Pestov [Mon, 17 May 2010 14:44:49 +0000 (10:44 -0400)]
cpu.x86: add x87 codegen for Model T enthusiasts
Slava Pestov [Mon, 17 May 2010 09:49:41 +0000 (05:49 -0400)]
compiler.cfg.ssa.interference: implement linear-time interference test
Slava Pestov [Mon, 17 May 2010 09:41:52 +0000 (05:41 -0400)]
compiler.cfg.ssa.interference.live-ranges: compute correct live ranges for ##phi instructions
Slava Pestov [Mon, 17 May 2010 09:18:40 +0000 (05:18 -0400)]
compiler.cfg.linear-scan: fix typo