Commit Graph

57 Commits (08f29d9fcd98a003d2d9fb6dca459e46dbcc1e3a)

Author SHA1 Message Date
Joe Groff 08f29d9fcd 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 2aa1a3dbd7 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 f6183703b2 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 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
Slava Pestov 646a88fbf2 ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service 2010-02-10 11:47:06 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman cc194416f9 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Joe Groff cc5f9ff98a update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Joe Groff 9798564536 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff 28d78c9954 fix cocoa bootstrap 2009-09-24 20:25:41 -05:00
Joe Groff 2af6104d99 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 e0157c55d1 support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -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 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
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
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
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 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
Doug Coleman 0d8115a940 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -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 d96f6d3197 oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff 623b16d048 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff 621fed2dd5 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 54e9447ec4 adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Joe Groff 2a7c26c20a 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
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 36d03dfa08 Use call( so that with-ui infers 2009-03-16 03:01:47 -05:00
Slava Pestov ebb5adfdb7 Clicking on dock icon with no windows visible opens new listener 2009-03-05 16:32:43 -06:00
Slava Pestov 58e55d4f45 Working on documentation 2009-02-19 16:54:27 -06:00