Commit Graph

91 Commits (9c7655d286f171956462acf4777228cc84aa53a4)

Author SHA1 Message Date
Björn Lindqvist 36966c1a7d x11.*: auto string to alien conversion for XOpenDisplay 2016-08-24 05:32:44 +02:00
Björn Lindqvist 1c3f345396 x11.*: new vocab x11.X for ffi stuff from the X.h header
It's nicer to have one vocab for each X11 header file than the previous
organization.
2016-08-17 03:46:28 +02:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Björn Lindqvist d752a1947c x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
Björn Lindqvist e48e4d2484 x11.*: cosmetic fixes, breaking long lines, indenting struct slots.. 2016-06-20 02:02:23 +02:00
John Benediktsson fffb501486 x11.xim: fix "cannot execute a word before it has been compiled" bug. 2016-01-09 16:16:58 -08:00
Jon Harper 3e84d30760 x11.xim: lookup-string, always use same buf and simplify 2016-01-09 20:21:13 +01:00
Jon Harper 2f92f29d2a x11 xlib, use Xutf8LookupString instead of XwcLookupString
XwcLookupString uses a locale dependant encoding, but was always
decoded using utf16. On my system, it was not utf16 that was used.
Xutf8LookupString always uses utf8 so it should work everywhere
2016-01-09 19:28:33 +01:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 4ec2311406 factor: Trim whitespace after ! comments and a few USING: lines that got skipped before. 2015-07-18 20:14:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson 5e129a8964 more libc fixes. 2014-04-04 08:03:46 -07:00
John Benediktsson a056a81307 ui.backend.gtk.io.unix: switch to "mx get-global". 2012-08-01 16:22:23 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08: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
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