Commit Graph

61 Commits (d91524b98df3b8a90cf7b92e5f18d378dadb4d0b)

Author SHA1 Message Date
Slava Pestov b9b72a6efa ui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend 2010-05-29 04:27:54 -04:00
Slava Pestov 5d9993d46f Updating code to use with-out-parameters 2010-05-23 03:07:47 -04: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 54260643c3 ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X 2010-04-29 02:52:32 -04:00
Joe Groff e1a15af319 ui.backend.cocoa.views: change drawRect: method so it does "draw-world" directly instead of relayout-1 yield 2010-03-15 12:57:09 -07:00
Joe Groff eb93f68302 ui.backend.cocoa: invalidate run loop timers before raising an NSAlert and add them back when runModal returns to avoid run loop callbacks reentering Factor 2010-02-23 23:52:03 -08:00
Joe Groff 9186c3c682 ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code 2010-02-23 19:28:57 -08: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 dca4463240 ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service 2010-02-10 11:47:06 +13:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -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
Doug Coleman b5fd809209 memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Joe Groff dbd2f1b7f2 update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Joe Groff 6d47f2abe7 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff 484b9131eb fix cocoa bootstrap 2009-09-24 20:25:41 -05:00
Joe Groff 61e683643d reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled 2009-09-24 16:08:58 -05:00
Joe Groff 6ebb13dd2e support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -05:00
Joe Groff 4a1422e7fe 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 a74a0151c3 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
Joe Groff 8e85b5ef96 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:23:20 -05:00
Joe Groff ee8c48bbb8 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 49af91cfd0 spacing 2009-08-27 11:43:19 -05:00
Slava Pestov 6380e5be4d 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
Joe Groff 936a72db60 validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff fbafdea47e bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Joe Groff 62ed8d1404 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff 6e334026bc fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 7d1b67b098 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Doug Coleman 8da9d0f203 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Joe Groff 698eccd5ab 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 fc59ee2e4a 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 681d5253c4 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 a229ec788a flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Doug Coleman 73f4b0d781 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Joe Groff 3a2a1a6a62 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff cd7e2aecd2 typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 087e0ca745 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff b4deae664f oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff dc5cd04a41 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff ce9611a390 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 9c043282dc adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Joe Groff 7adf836542 shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00
Joe Groff b45ea14d39 compilation fixes 2009-05-01 12:56:52 -05:00
Joe Groff ba8abd6cad cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic 2009-05-01 09:09:38 -05:00
Slava Pestov bfe0787454 Merge branch 'master' into smarter_error_list 2009-04-13 15:23:27 -05:00
Slava Pestov 3b1f3c08a4 Fix window positioning on OS X 2009-04-13 03:16:57 -05:00
Slava Pestov 5aab0078a0 Make more code infer 2009-04-12 16:08:54 -05:00
Slava Pestov 370e90f57b Fix odd race condition in ui.backend.cocoa 2009-04-10 06:19:46 -05:00