]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Wed, 27 Jan 2010 23:31:23 +0000 (15:31 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoMake TUPLE: indent, which seems to be the common indentation.
erikc [Wed, 27 Jan 2010 23:31:08 +0000 (15:31 -0800)]
Make TUPLE: indent, which seems to be the common indentation.

14 years agovocabs.parser: a couple of fixes
Slava Pestov [Wed, 27 Jan 2010 10:20:17 +0000 (23:20 +1300)]
vocabs.parser: a couple of fixes

14 years agocombinators.smart: smart-if was declared inline, and had no unit tests, and so was...
Slava Pestov [Wed, 27 Jan 2010 09:23:04 +0000 (22:23 +1300)]
combinators.smart: smart-if was declared inline, and had no unit tests, and so was broken. This was not caught until inline macros became a parse error. Add unit tests for it

14 years agoThrow a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO...
Slava Pestov [Wed, 27 Jan 2010 08:00:10 +0000 (21:00 +1300)]
Throw a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO: word inline. Such words cannot be inlined, and doing this before previously result in confusing error messages

14 years agovocabs.parser: The manifest is now a definition observer, and updates itself when...
Slava Pestov [Wed, 27 Jan 2010 07:26:40 +0000 (20:26 +1300)]
vocabs.parser: The manifest is now a definition observer, and updates itself when compilation units complete. This helps keep listener's search path up to date if vocabularies and words are renamed, defined, and undefined
- This makes forget-vocab more reliable in the listener
- It also fixes the problem of listener sessions where QUALIFIED: was used referring to outdated words if the vocabulary in question was reloaded

14 years agoclasses.tuple: tests were changing superclass of vocab tuple
Slava Pestov [Wed, 27 Jan 2010 07:24:33 +0000 (20:24 +1300)]
classes.tuple: tests were changing superclass of vocab tuple

14 years agomath.ranges: doesn't need an equal? method, since sequence doesn't define one, and...
Slava Pestov [Wed, 27 Jan 2010 06:28:45 +0000 (19:28 +1300)]
math.ranges: doesn't need an equal? method, since sequence doesn't define one, and default tuple equal? is fine for ranges

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Wed, 27 Jan 2010 06:00:31 +0000 (22:00 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoAdd struct, struct-union and tag indent words.
erikc [Wed, 27 Jan 2010 06:00:25 +0000 (22:00 -0800)]
Add struct, struct-union and tag indent words.

14 years agovm: 'become' primitive needs to update literal references in code blocks
Slava Pestov [Wed, 27 Jan 2010 05:42:31 +0000 (18:42 +1300)]
vm: 'become' primitive needs to update literal references in code blocks

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Tue, 26 Jan 2010 08:25:36 +0000 (00:25 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agodocs for audio.vorbis
Joe Groff [Tue, 26 Jan 2010 04:35:36 +0000 (20:35 -0800)]
docs for audio.vorbis

14 years agodon't leak the Factor stream when the vorbis-stream finishes
Joe Groff [Tue, 26 Jan 2010 04:27:07 +0000 (20:27 -0800)]
don't leak the Factor stream when the vorbis-stream finishes

14 years agoaudio.loader docs
Joe Groff [Tue, 26 Jan 2010 04:12:22 +0000 (20:12 -0800)]
audio.loader docs

14 years agofix audio.vorbis streaming to read in data from factor stream whenever necessary...
Joe Groff [Tue, 26 Jan 2010 03:19:17 +0000 (19:19 -0800)]
fix audio.vorbis streaming to read in data from factor stream whenever necessary to feed libogg a full page. fixes premature stops on some test files

14 years agoTarga image file loading and saving for RGB and ARGB uncompressed images
erikc [Tue, 26 Jan 2010 00:38:04 +0000 (16:38 -0800)]
Targa image file loading and saving for RGB and ARGB uncompressed images

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 25 Jan 2010 23:16:05 +0000 (15:16 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agotweak queue-clip-buffer to stop bothering the audio generator after generate-audio...
Joe Groff [Mon, 25 Jan 2010 22:52:21 +0000 (14:52 -0800)]
tweak queue-clip-buffer to stop bothering the audio generator after generate-audio returns a size of 0 or f

14 years agodocs for audio.engine
Joe Groff [Mon, 25 Jan 2010 22:49:11 +0000 (14:49 -0800)]
docs for audio.engine

14 years agodocs for "audio" vocab
Joe Groff [Mon, 25 Jan 2010 21:14:12 +0000 (13:14 -0800)]
docs for "audio" vocab

14 years agohelp.crossref, tools.crossref: improved help cross-referencing
Slava Pestov [Mon, 25 Jan 2010 12:18:10 +0000 (01:18 +1300)]
help.crossref, tools.crossref: improved help cross-referencing

14 years agohelp.lint: flush
Slava Pestov [Mon, 25 Jan 2010 12:01:27 +0000 (01:01 +1300)]
help.lint: flush

14 years agogrouping: add a unit test
Slava Pestov [Mon, 25 Jan 2010 12:01:22 +0000 (01:01 +1300)]
grouping: add a unit test

14 years agoVarious documentation improvements
Slava Pestov [Mon, 25 Jan 2010 12:01:12 +0000 (01:01 +1300)]
Various documentation improvements

14 years agocommand-line: if -e= is passed, don't run main vocab after evaluation ends
Slava Pestov [Mon, 25 Jan 2010 06:20:13 +0000 (19:20 +1300)]
command-line: if -e= is passed, don't run main vocab after evaluation ends

14 years agoui.gadgets: make fast-children-on more flexible and take a quotation instead of alway...
Slava Pestov [Mon, 25 Jan 2010 06:10:17 +0000 (19:10 +1300)]
ui.gadgets: make fast-children-on more flexible and take a quotation instead of always calling loc>> on elements of the children array. This enables a bug fix for M\ grid children-on, discovered from UI mis-rendering of '\ blend-mode help'

14 years agomason.child: run nmake on Windows
Slava Pestov [Mon, 25 Jan 2010 05:02:38 +0000 (18:02 +1300)]
mason.child: run nmake on Windows

14 years agotweak audio.vorbis to queue up a fixed-sized preallocated buffer instead of taking...
Joe Groff [Mon, 25 Jan 2010 05:28:59 +0000 (21:28 -0800)]
tweak audio.vorbis to queue up a fixed-sized preallocated buffer instead of taking ogg packets in whatever bizarre size they come

14 years agoinline specialized-vector byte-length
Joe Groff [Mon, 25 Jan 2010 04:16:10 +0000 (20:16 -0800)]
inline specialized-vector byte-length

14 years agoUpdate Win64 support
Slava Pestov [Sun, 24 Jan 2010 13:17:18 +0000 (07:17 -0600)]
Update Win64 support

14 years agoBetter fix for ipv6
Doug Coleman [Sun, 24 Jan 2010 21:57:06 +0000 (15:57 -0600)]
Better fix for ipv6

14 years agoHandle IPv6 addresses of the form ::127.0.0.1
Doug Coleman [Sun, 24 Jan 2010 21:40:34 +0000 (15:40 -0600)]
Handle IPv6 addresses of the form ::127.0.0.1

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 24 Jan 2010 20:48:17 +0000 (12:48 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoaudio.vorbis phase 2—actually decode and supply audio
Joe Groff [Sun, 24 Jan 2010 20:47:10 +0000 (12:47 -0800)]
audio.vorbis phase 2—actually decode and supply audio

14 years agoaudio.engine: dispose generator for streaming-audio-clip when it finishes
Joe Groff [Sun, 24 Jan 2010 20:44:01 +0000 (12:44 -0800)]
audio.engine: dispose generator for streaming-audio-clip when it finishes

14 years agosteal chris double's ogg.player code and turn it into an audio.engine compatible...
Joe Groff [Sun, 24 Jan 2010 18:08:39 +0000 (10:08 -0800)]
steal chris double's ogg.player code and turn it into an audio.engine compatible vorbis streamer. phase 1—read headers and determine stream audio format

14 years agoaudio.engine: let audio generators determine their own buffer size
Joe Groff [Sun, 24 Jan 2010 18:07:14 +0000 (10:07 -0800)]
audio.engine: let audio generators determine their own buffer size

14 years agomore fussing over locals docs grammar
Joe Groff [Sun, 24 Jan 2010 18:05:56 +0000 (10:05 -0800)]
more fussing over locals docs grammar

14 years agomake unix.utilities unportable
Doug Coleman [Sat, 23 Jan 2010 16:12:25 +0000 (10:12 -0600)]
make unix.utilities unportable

14 years agoMake unix.debugger unportable
Doug Coleman [Sat, 23 Jan 2010 16:03:02 +0000 (10:03 -0600)]
Make unix.debugger unportable

14 years agounix-system-call io-error -> unix-system-call drop
Doug Coleman [Sat, 23 Jan 2010 15:07:35 +0000 (09:07 -0600)]
unix-system-call io-error -> unix-system-call drop
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring

14 years agoremove redundant text from docs for locals docs
Joe Groff [Sat, 23 Jan 2010 02:40:00 +0000 (18:40 -0800)]
remove redundant text from docs for locals docs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 23 Jan 2010 01:40:59 +0000 (19:40 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agogetgrent doesn't need unix-system-call
Doug Coleman [Sat, 23 Jan 2010 01:05:17 +0000 (19:05 -0600)]
getgrent doesn't need unix-system-call

14 years agoFix netbsd load error
Doug Coleman [Fri, 22 Jan 2010 23:10:32 +0000 (17:10 -0600)]
Fix netbsd load error

14 years agounicode.case: rename title-word to capitalize and make it public
Joe Groff [Fri, 22 Jan 2010 23:06:04 +0000 (15:06 -0800)]
unicode.case: rename title-word to capitalize and make it public

14 years agoFix getgrent call in unix.groups
Doug Coleman [Fri, 22 Jan 2010 22:55:05 +0000 (16:55 -0600)]
Fix getgrent call in unix.groups

14 years agomove sequence-hashcode-step to private
Doug Coleman [Fri, 22 Jan 2010 22:30:22 +0000 (16:30 -0600)]
move sequence-hashcode-step to private

14 years agoremove a stray character
Doug Coleman [Fri, 22 Jan 2010 21:07:01 +0000 (15:07 -0600)]
remove a stray character

14 years agomove (accumulate) to sequences.private
Doug Coleman [Fri, 22 Jan 2010 21:04:13 +0000 (15:04 -0600)]
move (accumulate) to sequences.private

14 years agoFix using
Doug Coleman [Fri, 22 Jan 2010 21:01:38 +0000 (15:01 -0600)]
Fix using

14 years agoRename accumulator to collector, pusher to selector
Doug Coleman [Fri, 22 Jan 2010 21:00:53 +0000 (15:00 -0600)]
Rename accumulator to collector, pusher to selector

14 years agoMove netbsd.structs into netbsd
Doug Coleman [Fri, 22 Jan 2010 20:49:32 +0000 (14:49 -0600)]
Move netbsd.structs into netbsd

14 years agoFix load error
Doug Coleman [Fri, 22 Jan 2010 20:45:15 +0000 (14:45 -0600)]
Fix load error

14 years agoFix using
Doug Coleman [Fri, 22 Jan 2010 19:24:50 +0000 (13:24 -0600)]
Fix using

14 years agoDelete .lib objects from Visual Studio if they exist. gcc doesn't build them, yet...
Doug Coleman [Fri, 22 Jan 2010 07:22:14 +0000 (01:22 -0600)]
Delete .lib objects from Visual Studio if they exist.  gcc doesn't build them, yet tries to use them if they exist...

14 years agoFix image save on Windows
Doug Coleman [Fri, 22 Jan 2010 07:17:18 +0000 (01:17 -0600)]
Fix image save on Windows

14 years agoFix using
Doug Coleman [Thu, 21 Jan 2010 19:44:23 +0000 (13:44 -0600)]
Fix using

14 years agoMason requires a hostname now (things break if this is an empty string)
Doug Coleman [Thu, 21 Jan 2010 06:42:07 +0000 (00:42 -0600)]
Mason requires a hostname now (things break if this is an empty string)

14 years agofix using
Doug Coleman [Thu, 21 Jan 2010 04:57:51 +0000 (22:57 -0600)]
fix using

14 years agoHandle EINTR in a lot of cases where it wasn't handled before. Split off unix into...
Doug Coleman [Thu, 21 Jan 2010 04:42:07 +0000 (22:42 -0600)]
Handle EINTR in a lot of cases where it wasn't handled before.  Split off unix into unix.ffi and unix.

14 years agoSave images to a temporary file first, then call MOVE_FILE to avoid writing incomplet...
Doug Coleman [Thu, 21 Jan 2010 04:40:25 +0000 (22:40 -0600)]
Save images to a temporary file first, then call MOVE_FILE to avoid writing incomplete and truncated images.

14 years agoMake unix-system-call retry the call immediately upon hitting EINTR. Use unix-system...
Doug Coleman [Tue, 19 Jan 2010 22:53:15 +0000 (16:53 -0600)]
Make unix-system-call retry the call immediately upon hitting EINTR.  Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled.  Handle EINTR if connect returns it.

14 years agoTighten up libc file io code to avoid EINTR problems
Doug Coleman [Tue, 19 Jan 2010 20:01:11 +0000 (14:01 -0600)]
Tighten up libc file io code to avoid EINTR problems

14 years agoio.launcher: since process timeouts only kick in when wait-for-process is called...
Slava Pestov [Fri, 22 Jan 2010 18:20:37 +0000 (12:20 -0600)]
io.launcher: since process timeouts only kick in when wait-for-process is called, try-output-process would hang indefinitely. Fix this by splitting up wait-for-process and wrapping stream-contents in a with-timeout

14 years agocompiler: fix docs
Slava Pestov [Fri, 22 Jan 2010 11:46:04 +0000 (00:46 +1300)]
compiler: fix docs

14 years agocompiler.test: fix
Slava Pestov [Fri, 22 Jan 2010 11:40:56 +0000 (00:40 +1300)]
compiler.test: fix

14 years agoMove compile-call and related words only meant to be used for debugging to compiler...
Slava Pestov [Fri, 22 Jan 2010 11:39:56 +0000 (00:39 +1300)]
Move compile-call and related words only meant to be used for debugging to compiler.test

14 years agoalien.c-types: ensure that long and ulong types are defined with define-primitive...
Slava Pestov [Fri, 22 Jan 2010 11:15:08 +0000 (00:15 +1300)]
alien.c-types: ensure that long and ulong types are defined with define-primitive-type and not typedef

14 years agoalien.c-types: clean up and fix for win64
Slava Pestov [Fri, 22 Jan 2010 10:14:20 +0000 (23:14 +1300)]
alien.c-types: clean up and fix for win64

14 years agoFix missing vocab USINGs and mispelled d2dbasetypes
erikc [Fri, 22 Jan 2010 07:33:37 +0000 (23:33 -0800)]
Fix missing vocab USINGs and mispelled d2dbasetypes

14 years agoAdd iota call in game.input.dinput fill-mouse-state.
erikc [Fri, 22 Jan 2010 02:39:23 +0000 (18:39 -0800)]
Add iota call in game.input.dinput fill-mouse-state.

14 years agogeneralize vim syntax highlighting for SBUF" " to any syntax word ending in "
Joe Groff [Thu, 21 Jan 2010 19:13:34 +0000 (11:13 -0800)]
generalize vim syntax highlighting for SBUF" " to any syntax word ending in "

14 years agomake sure VAOs are available to gpu library
Joe Groff [Thu, 21 Jan 2010 18:41:11 +0000 (10:41 -0800)]
make sure VAOs are available to gpu library

14 years agoNetBSD 64 blas abi changed
Doug Coleman [Thu, 21 Jan 2010 11:02:39 +0000 (05:02 -0600)]
NetBSD 64 blas abi changed

14 years agoremove debug prints
Joe Groff [Wed, 20 Jan 2010 23:23:48 +0000 (15:23 -0800)]
remove debug prints

14 years agorearrange order of <static-audio-clip> args to be consistent with <streaming-audio...
Joe Groff [Wed, 20 Jan 2010 20:26:07 +0000 (12:26 -0800)]
rearrange order of <static-audio-clip> args to be consistent with <streaming-audio-clip> . add a streaming noise generator to audio.engine.test to ensure streaming clips work

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 20 Jan 2010 19:49:59 +0000 (11:49 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agotweak audio.engine generator interface
Joe Groff [Wed, 20 Jan 2010 19:48:48 +0000 (11:48 -0800)]
tweak audio.engine generator interface

14 years agoupdate game.worlds and gpu.demo.raytrace for audio.engine changes
Joe Groff [Wed, 20 Jan 2010 19:44:18 +0000 (11:44 -0800)]
update game.worlds and gpu.demo.raytrace for audio.engine changes

14 years agomop up dead code and other debris from audio.engine
Joe Groff [Wed, 20 Jan 2010 19:40:13 +0000 (11:40 -0800)]
mop up dead code and other debris from audio.engine

14 years agoupdate audio.engine.test for audio.engine changes
Joe Groff [Wed, 20 Jan 2010 19:36:52 +0000 (11:36 -0800)]
update audio.engine.test for audio.engine changes

14 years agoaudio.engine improvements: support static and streaming audio clips. let openal handl...
Joe Groff [Wed, 20 Jan 2010 19:35:02 +0000 (11:35 -0800)]
audio.engine improvements: support static and streaming audio clips. let openal handle static sources to avoid factor timer vagaries. rename (audio-clip) to <static-audio-clip>/<streaming-audio-clip>, and <audio-clip> to play-static-audio-clip/play-streaming-audio-clip

14 years agoadjust game.worlds docs language
Joe Groff [Wed, 20 Jan 2010 19:32:21 +0000 (11:32 -0800)]
adjust game.worlds docs language

14 years agomisc: update factor.vim and it's template
Philipp Brüschweiler [Wed, 20 Jan 2010 15:57:24 +0000 (16:57 +0100)]
misc: update factor.vim and it's template

14 years agogame.input.dinput: fix load error
Slava Pestov [Wed, 20 Jan 2010 13:02:48 +0000 (07:02 -0600)]
game.input.dinput: fix load error

14 years agotools.deploy.shaker: also include tools.errors if user requests debugger to be part...
Slava Pestov [Wed, 20 Jan 2010 13:01:29 +0000 (07:01 -0600)]
tools.deploy.shaker: also include tools.errors if user requests debugger to be part of image. This ensures useful printouts of parse errors

14 years agokernel: remove bogus test
Slava Pestov [Wed, 20 Jan 2010 06:13:58 +0000 (19:13 +1300)]
kernel: remove bogus test

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Wed, 20 Jan 2010 05:10:25 +0000 (18:10 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agoMove windows.dinput to windows.directx.dinput.
erikc [Wed, 20 Jan 2010 05:08:28 +0000 (21:08 -0800)]
Move windows.dinput to windows.directx.dinput.

14 years agowindows.psapi: add unportable tag
Slava Pestov [Wed, 20 Jan 2010 05:02:10 +0000 (18:02 +1300)]
windows.psapi: add unportable tag

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Wed, 20 Jan 2010 04:51:40 +0000 (17:51 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agovm: remove vm-ptr primitive
Slava Pestov [Wed, 20 Jan 2010 04:06:49 +0000 (17:06 +1300)]
vm: remove vm-ptr primitive

14 years agoMake stack-checker throw proper errors for primitives that do not have static stack...
Slava Pestov [Wed, 20 Jan 2010 03:37:58 +0000 (16:37 +1300)]
Make stack-checker throw proper errors for primitives that do not have static stack effects

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Wed, 20 Jan 2010 03:31:44 +0000 (19:31 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoDirectSDK bindings, excluding dinput which already exists.
erikc [Wed, 20 Jan 2010 03:31:14 +0000 (19:31 -0800)]
DirectSDK bindings, excluding dinput which already exists.

14 years agoadd note to game.worlds docs that draw-world* and resize-world can have methods added...
Joe Groff [Wed, 20 Jan 2010 03:12:00 +0000 (19:12 -0800)]
add note to game.worlds docs that draw-world* and resize-world can have methods added in addition to the *-game-world specific methods

14 years agodownsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly...
Joe Groff [Wed, 20 Jan 2010 03:03:01 +0000 (19:03 -0800)]
downsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly huge

14 years agoMap WM_APPCOMMAND browser backward and forward messages to action-left and action...
erikc [Wed, 20 Jan 2010 02:28:53 +0000 (18:28 -0800)]
Map WM_APPCOMMAND browser backward and forward messages to action-left and action-right.