Commit Graph

54 Commits (166ae51d37790600015439d1fcbfc2687ce9e1c2)

Author SHA1 Message Date
Doug Coleman ff8e144340 renaming fixes: Forgot some words. 2012-06-21 11:54:43 -07:00
Doug Coleman bbf5cfbc4d 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 eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman be12f2b27d 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 e00d06cd09 Cleanup some uses of global [ ] bind. 2011-10-19 11:01:16 -07:00
John Benediktsson 59fe95c9e9 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 0e3d598e69 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 571ef865e6 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 17e0fbe501 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 689511f316 game.input.iokit: deal with Lion's breakage of the IOHID* API 2011-07-29 13:24:10 -07:00
Philipp Brüschweiler e59a7376d0 game.input.gtk: clean up confusing reset-mouse/read-mouse interaction 2011-04-01 19:53:07 +02:00
Philipp Brüschweiler 7d8ede7433 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 55fd15c45a 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 80510afee6 Fix typo in game.input.dinput 2010-10-25 22:06:25 -05:00
Doug Coleman 6510bdb1eb Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Doug Coleman 40bdadcac4 Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
Slava Pestov cf6b910c9f 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 608175447b game.input.x11: add alien.data to using list 2010-05-24 00:32:35 -04:00
Slava Pestov 5d9993d46f Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Doug Coleman 7a41f5da2e Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman e559f1470b Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Slava Pestov d2d466de29 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 59ad41b6a3 Eliminate some -rot from the codebase 2010-05-03 18:31:01 -04:00
Joe Groff 9d10175f8e Use dinput as default windows game.input backend 2010-05-02 00:38:37 -07:00
William Schlieper f9ce5c0076 Added mouse support to game.input on Linux 2010-04-03 08:48:15 -04:00
Joe Groff 3d12a4eeb3 needlessly rice game.input backends further by using set/get-global everywhere 2010-03-02 15:24:47 -08:00
Joe Groff 50ba12160d game.input.*: factor out callback implementations to separate words so they optimize 2010-03-01 23:29:26 -08:00
Joe Groff 2dd0c7f4cc 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 32c8fce252 move XQueryKeymap binding to x11.xlib 2010-02-26 18:21:37 -08:00
Joe Groff 7cd7f68ba8 co-credit William Schlieper for game.input.linux 2010-02-26 18:16:16 -08:00
Joe Groff ebffe9b4f6 Merge branch 'master' of git://github.com/william42/factor 2010-02-26 18:14:10 -08:00
Joe Groff 47b4b10d03 scrub memory>struct calls made redundant 2010-02-22 12:22:29 -08:00
Joe Groff 8eafe6a98a 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 4e1405e5ed Fixed ridiculously stupid error in Linux game.input library 2010-02-20 09:36:58 -05:00
William Schlieper 3fd8b4a4e1 Fixed a bug in the linux version of game.input 2010-02-20 08:35:02 -05:00
William Schlieper caf28f0603 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 2b706c3b4e Added rudimentary x11 support in game.input 2010-02-20 08:09:49 -05:00
Slava Pestov 0aad3e6e12 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 9d53a4a027 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 1c7060c313 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 4dc152b547 Temporary xinput backend for game.input 2010-01-30 20:40:16 -08:00
erikc 4506512a16 Merge up 2010-01-30 20:39:43 -08:00
erikc 838b16420b Add iota call in game.input.dinput fill-mouse-state. 2010-01-21 18:39:23 -08:00
Slava Pestov 71ae723828 game.input.dinput: fix load error 2010-01-20 07:02:48 -06:00
erikc ab3225feee Move windows.dinput to windows.directx.dinput. 2010-01-19 21:08:28 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 8d086f068a Merge branch 'master' of git://factorcode.org/git/factor 2009-11-16 00:28:35 -06:00
Slava Pestov cb2f528113 iokit: fix load errors 2009-11-15 17:11:26 -06:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Joe Groff 25d384abe4 remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00