Commit Graph

98 Commits (014163e27b85410396859e04a984167873ea842e)

Author SHA1 Message Date
Joe Groff c86bef70c9 update windows.types structs 2009-09-18 19:12:31 -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
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 0238fce941 ui.backend.x11: fix set-fullscreen 2009-09-04 12:35:45 -04:00
Joe Groff 9bd7471696 fix some things that broke in the windows UI/game-input backends 2009-08-31 12:45:39 -05:00
Slava Pestov 6ed46177e9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 00:24:46 -04: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 d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman 111c0f6b89 more struct changes 2009-08-27 21:43:29 -05:00
Doug Coleman ae001ce75c Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:40:11 -05:00
Joe Groff c3002ed0f0 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:17:17 -05:00
Joe Groff eb4081c696 return YES from cocoa app delegate's applicationShouldHandleReopen: method. this allows app-icon-minimized windows on snow leopard to automatically restore when the dock icon is clicked 2009-08-27 21:16:41 -05:00
Doug Coleman c926854790 update RECT for new structs 2009-08-27 21:16:28 -05:00
Doug Coleman 7df875c7fe update WNDCLASSEX 2009-08-27 20:43:42 -05:00
Doug Coleman 065db08680 TRACKMOUSEVENT uses <struct> now 2009-08-27 20:39:37 -05:00
Doug Coleman 469e7e8d67 newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Joe Groff 367f024a1b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:23:20 -05:00
Joe Groff 7771c55cb5 ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard 2009-08-27 19:21:38 -05:00
Doug Coleman d4497c81ef spacing 2009-08-27 11:43:19 -05:00
Slava Pestov 449be040f8 Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps 2009-08-23 19:07:21 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 77104b7256 put a slot on worlds for window-resources which get disposed when window is closed 2009-07-01 13:54:42 -05:00
Joe Groff 85acbf4abc validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff 16c977491b bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Slava Pestov a99f8f5741 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00
Joe Groff 10ab07224f make windows without titlebars on win32 actually not have titlebars 2009-06-18 15:09:03 -05:00
Joe Groff 76b3e5fea2 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff b75999aac6 fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 3231fcd052 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Joe Groff 3061cea61f disable WGL_ARB_pixel_format code path in windows UI backend 'cause ATI drivers are shit 2009-05-23 08:39:01 -05:00
Slava Pestov a9c339e583 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
Joe Groff b3039786c2 don't unfocus the world if cocoa view has gone fullscreen; the original window isn't really associated with the view while fullscreen 2009-05-14 17:37:14 -05:00
Joe Groff 7fdd018aec set first responder on cocoa view back when returning from fullscreen mode. un-fullscreen the view if window is closed while view is fullscreen 2009-05-14 17:29:25 -05:00
Joe Groff 606ed8aaa1 spin on GetCurrentButtonState before warping cursor when grabbing cocoa input. this keeps the window from jumping if you click on its titlebar to focus 2009-05-14 15:36:18 -05:00
Joe Groff 92e508356e flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Slava Pestov 06efcd1502 ui.backend.windows: create-window can now be called even when the UI is not running. Fixes game-input deploy test 2009-05-13 22:41:42 -05:00
Doug Coleman 0d8115a940 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Doug Coleman 31e3fe5a2f rename set-fullscreen? to set-fullscreen, add a toggle-fullscreen word, fix windows backend for fullscreen* 2009-05-13 20:05:22 -05:00
Slava Pestov 0a6c9e08a9 Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
U-C4\Administrator 5e07dc04a5 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -05:00
Joe Groff 2295c967fa clip to window client area when grabbing on windows 2009-05-08 15:49:29 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff 01546acb1c typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 045635cdf2 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff a0c8d0ae9e fix x11 backend bugs 2009-05-02 21:55:19 -05:00
U-FROGGER\erg aa142a1b52 fix windows ui 2009-05-02 20:36:31 -05:00
Joe Groff 886d087332 ui.backend.windows code cleanup 2009-05-02 19:44:08 -05:00