John Benediktsson
d259d7ccec
cocoa: cleanup ?-> syntax and implementation.
2018-03-13 13:21:21 -07:00
John Benediktsson
5e18e609b3
cocoa: change ?-> to always cache stubs in syntax word.
2018-03-13 11:57:40 -07:00
Doug Coleman
d838f95370
cocoa: Allow ?-> syntax for methods that might not exist.
...
If a method doesn't exist we need to provide a signature so the stack is balanced. This should also allow deploying from macOS versions that do not contain methods to ones that do. This is an alternative to asking a class if it provides a selector.
2017-06-01 16:53:05 -05:00
Doug Coleman
a632337ba2
cocoa: Add basic support for TouchBar.
2017-05-30 15:33:48 -05:00
Doug Coleman
f3ed43dc74
cocoa: Import more classes for TouchBar support.
2017-05-29 12:36:35 -05:00
John Benediktsson
3f18b71d07
cleanup some QUALIFIED: that are no longer needed.
2016-03-29 10:20:16 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson
42fd891cbb
cocoa: switch back to an assoc, used by tools.deploy.shaker.strip-cocoa.
2014-10-31 16:52:40 -07:00
John Benediktsson
7d0039babe
cocoa: fix requirement that mac deploys have high reflection.
2014-10-31 11:34:08 -07:00
John Benediktsson
55f72a8568
cocoa.apple-script: adding a simple applescript runner.
2013-10-10 15:52:05 -07:00
John Benediktsson
bf83eaccfc
cocoa: maybe this is cleaner...
2013-03-30 13:44:11 -07:00
John Benediktsson
a99f66f505
cocoa: add ?-> to remember messages being used at runtime.
2013-03-30 13:14:51 -07:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
Joe Groff
05faf6919b
new vocab images.cocoa: load image objects using native cocoa api
2010-06-27 12:29:21 -07: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
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
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -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
3231fcd052
interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend
2009-06-17 22:47:51 -05:00
Slava Pestov
4c756a1147
cocoa: don't need to explicitly compile words anymore, as if more than a year ago...
2009-05-05 09:40:58 -05:00
Slava Pestov
9bb70c2c4d
Update usages of global ... change-at to use the new change-global combinator
2009-04-30 21:38:14 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
36c36a7f83
Update code for core-foundation split, add core-foundation.timers
2008-12-12 01:11:37 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
b4d918caa5
Some minor new features for Cocoa binding
2008-10-02 07:10:22 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00