John Benediktsson
1524d43c9c
sequences: define a single "?set-nth" that is used.
2013-02-20 10:42:21 -08:00
John Benediktsson
f8f5feed4a
sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing.
2013-02-19 16:52:40 -08:00
Doug Coleman
9d4d5d0d00
renaming fixes: Forgot some words.
2012-06-21 11:54:43 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
John Benediktsson
d1f5fefab0
Cleanup some uses of global [ ] bind.
2011-10-19 11:01:16 -07:00
John Benediktsson
3207244c60
sequences: define ?first and ?second.
2011-10-13 12:53:46 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
Joe Groff
f6d90ce51f
game.input.iokit: deal with Lion's breakage of the IOHID* API
2011-07-29 13:24:10 -07:00
Philipp Brüschweiler
ed62334d95
game.input.gtk: clean up confusing reset-mouse/read-mouse interaction
2011-04-01 19:53:07 +02:00
Philipp Brüschweiler
fd78869f62
game.input.gtk: copy of game.input.x11 with gtk-specific way to get the dpy
2011-04-01 19:52:54 +02:00
Slava Pestov
75560699ea
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Doug Coleman
c7d22fe439
Fix typo in game.input.dinput
2010-10-25 22:06:25 -05:00
Doug Coleman
4ca9bd0bba
Remove usages of <void*> and *void*
2010-10-25 13:22:50 -05:00
Doug Coleman
1f57dc326e
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Slava Pestov
28e67b7066
game.input.x11: add alien.data to using list
2010-05-24 00:32:35 -04:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04: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
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05: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
Slava Pestov
60299f6d74
Eliminate some -rot from the codebase
2010-05-03 18:31:01 -04:00
Joe Groff
719a7d6ffd
Use dinput as default windows game.input backend
2010-05-02 00:38:37 -07:00
William Schlieper
39f066726c
Added mouse support to game.input on Linux
2010-04-03 08:48:15 -04:00
Joe Groff
2e4ebc0182
needlessly rice game.input backends further by using set/get-global everywhere
2010-03-02 15:24:47 -08:00
Joe Groff
4159cfcc7b
game.input.*: factor out callback implementations to separate words so they optimize
2010-03-01 23:29:26 -08:00
Joe Groff
09517a87e3
rename game.input.linux to game.input.x11, make x>hid-bit-order a hook on system
2010-02-26 18:30:51 -08:00
Joe Groff
3d479927d7
move XQueryKeymap binding to x11.xlib
2010-02-26 18:21:37 -08:00
Joe Groff
013760a906
co-credit William Schlieper for game.input.linux
2010-02-26 18:16:16 -08:00
Joe Groff
061a3bccf2
Merge branch 'master' of git://github.com/william42/factor
2010-02-26 18:14:10 -08:00
Joe Groff
6d4724a095
scrub memory>struct calls made redundant
2010-02-22 12:22:29 -08:00
Joe Groff
d673108518
game.input: add a convenient "buttons-delta" word to convert two key/button state samples into pressed/released values
2010-02-20 10:10:02 -08:00
William Schlieper
f71e22eda5
Fixed ridiculously stupid error in Linux game.input library
2010-02-20 09:36:58 -05:00
William Schlieper
47666f0049
Fixed a bug in the linux version of game.input
2010-02-20 08:35:02 -05:00
William Schlieper
e342e92f86
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/game/input/input.factor
2010-02-20 08:18:33 -05:00
William Schlieper
ea4d261a45
Added rudimentary x11 support in game.input
2010-02-20 08:09:49 -05:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
170f2b5eca
game.input: fix load error on *BSD, remove dependency on windows.com from game.input.linux
2010-02-19 18:24:23 +13:00
Erik Charlebois
d3d7392fa9
Implement input grabbing for x11; add do-nothing game.input backend for linux. The game and gpu demos now run correctly.
2010-02-18 12:52:33 -08:00
erikc
cfcd983bb4
Temporary xinput backend for game.input
2010-01-30 20:40:16 -08:00
erikc
f33c73bf94
Merge up
2010-01-30 20:39:43 -08:00
erikc
407399b86a
Add iota call in game.input.dinput fill-mouse-state.
2010-01-21 18:39:23 -08:00
Slava Pestov
e68996c511
game.input.dinput: fix load error
2010-01-20 07:02:48 -06:00
erikc
281103ec7e
Move windows.dinput to windows.directx.dinput.
2010-01-19 21:08:28 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
8f335ba47f
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-16 00:28:35 -06:00
Slava Pestov
236d1fba3e
iokit: fix load errors
2009-11-15 17:11:26 -06:00