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
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
Slava Pestov
e139a7a02d
Clean up alien.c-types changes a little
2010-10-25 21:09:08 -07:00
Doug Coleman
67c37591ca
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
2010-10-25 15:54:42 -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
c214d62c0b
x11: general cleanup
2010-06-02 02:59:57 -04:00
Niklas.Waern
0be7a74e64
x11.xinput2.ffi: make XI*Mask less ugly
2010-05-22 01:36:04 +02:00
Niklas.Waern
15f0ff877e
x11.xlib: add GenericEvent constant
2010-05-22 00:29:38 +02:00
Niklas.Waern
35f7d049ae
x11.xinput2: xi2-available?
2010-05-22 00:12:51 +02:00
Niklas.Waern
e06ba797ca
x11.xlib: add a few things for xinput2
2010-05-22 00:12:51 +02:00
Niklas.Waern
715973905f
x11.xinput2.ffi
2010-05-22 00:12:51 +02:00
Niklas.Waern
af7f389b97
x11.xinput2.constants
2010-05-22 00:12:50 +02:00
Niklas.Waern
6247181026
create basis/x11/xinput2
2010-05-22 00:12:50 +02:00
Joe Groff
8b9f33e040
x11: convert XSupportsLocale return value to factor bool before testing (bug reported by ceninan)
2010-05-12 18:07:33 -07:00
Slava Pestov
1672c34f9f
ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X
2010-04-29 02:52:32 -04:00
Erik Charlebois
baab8c060d
Remove ENUM: f and replace uses with CONSTANTs.
...
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Joe Groff
4bc915d526
C-ENUM: -> ENUM:
2010-04-19 20:07:16 -07:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Joe Groff
c595c4a151
x11.syntax: update X-FUNCTION: for FUNCTION: refactoring
2010-04-14 21:34:32 -07:00
Erik Charlebois
edc489f4c1
Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses.
2010-04-09 23:48:22 -07:00
Doug Coleman
8a46a201fc
Fix bootstrap
2010-04-01 15:37:57 -05:00
Doug Coleman
026499e64f
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Daniel Ehrenberg
4af88ff9ff
Making more vocabs use require-when
2010-03-18 01:39:30 -04:00
Joe Groff
3d479927d7
move XQueryKeymap binding to x11.xlib
2010-02-26 18:21:37 -08:00
Joe Groff
6655002629
remove repeated "pad" slots from x11.xlib structs
2010-02-25 12:55:31 -08:00
Joe Groff
db6c083162
change back other char/uchar* parameters that don't look like actual string types
2010-02-23 13:15:16 -08:00
Joe Groff
4cfa1a6c77
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
2010-02-23 11:42:02 -08: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
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
Joe Groff
866b62755e
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
630e5ecc3b
update vocabs so a load-all on macosx works without parsing c-type strings
2009-09-27 15:11:21 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Joe Groff
1f04ed01fe
fix more ambiguities
2009-09-17 09:29:23 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
861a3f563b
x11.events, ui.backend.x11: actually make it work
2009-08-31 00:24:25 -04:00
Slava Pestov
e36029b376
x11 and ui.backend.x11: update to use new structs
2009-08-30 22:55:19 -05:00
Doug Coleman
37a9f01adc
fix typo in x11 binding
2009-07-23 17:39:12 -05:00
Slava Pestov
142fddd530
Fix usings on X11
2009-05-16 11:50:16 -04:00
Joe Groff
623b16d048
X11 backend for pixel formats
2009-05-02 16:39:31 -05:00
Joe Groff
8a4c6a30f9
multisample and float extensions for GLX
2009-04-30 22:28:45 -05:00
Slava Pestov
5d64766e4c
X11.windows: fix bug with radeonhd driver (reported by Chris Double)
2009-04-21 23:19:46 -05:00
Doug Coleman
8820c95964
make x11.io.unix unportable
2009-04-18 15:21:12 -05:00
Slava Pestov
427710427c
awaken-event-loop does nothing if dpy-fd not set; move x11.unix to x11.io.unix
2009-04-18 02:54:34 -05:00
Slava Pestov
616c293d86
X-FUNCTION: calls awaken-event-loop
2009-04-18 02:39:55 -05:00
Slava Pestov
0a22476cd3
Add awaken-event-loop word
2009-04-18 02:19:49 -05:00
Slava Pestov
4f74810c15
Split off x11 vocab from x11.xlib, and add x11.unix for event loop integration
2009-04-18 01:56:29 -05:00
Slava Pestov
d22ae36ca5
Revert part of 509869ca70
2009-04-17 22:49:42 -05:00
Slava Pestov
df18c0b6e7
Making more code infer
2009-04-15 19:03:44 -05:00
slava
509869ca70
X11 UI: Fix resize flicker, exception when closing window, unsuccessful attempt at fixing raise-window
2009-04-10 13:29:07 -04:00