Commit Graph

241 Commits (fbbf2eb55020a68118768a322e3f2ba1aa37e38c)

Author SHA1 Message Date
Doug Coleman 5fb483099f cocoa: Prefer ``send: foo`` or ``send: \foo:`` instead of ``send\ foo:`` 2017-08-31 21:21:14 -05:00
Doug Coleman 3aa096e2e5 docs: Update docs. 2017-08-31 21:21:14 -05:00
Doug Coleman 9fc62092a4 factor: SEL: to selector\ postpone: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman 54ef674a99 cocoa: -> to send\ ?-> to ?send\ SUPER-> to super\ 2017-08-31 21:21:13 -05:00
Doug Coleman 147ae66ab5 factor: SYNTAX: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman c436f6dbad factor: char: postpone: color: hexcolor: flexhexcolor: decimal: 2017-08-31 21:21:13 -05:00
Doug Coleman 84e40810cd factor: CHAR: : -> CHAR: \:, same for [{( 2017-08-31 21:21:12 -05:00
Doug Coleman 8a6094229d cocoa.apple-script: Make APPLESCRIPT: take a string. 2017-08-05 22:33:47 -05:00
Doug Coleman 7d47def4c9 cocoa: CLASS: ; -> <CLASS: ;CLASS>
<CLASS: is a container like <PRIVATE and <FUNCTOR:
2017-08-05 20:54:02 -05:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05: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 5aa89e6251 factor: Add newlines to every line. 2017-06-01 13:46:32 -05:00
Doug Coleman dd22d6efa4 cocoa.touchbar: Add platforms file. 2017-05-30 18:14:39 -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 68e7a69572 cocoa.dialogs: simple fix for split-path errors with empty string input. 2017-05-29 08:27:58 -07:00
John Benediktsson e826546c6d cocoa.messages: simplify (objc-class). 2017-02-11 20:58:25 -08:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Björn Lindqvist ddc5ece757 alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g

: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
John Benediktsson 880d43d638 cocoa.views: more constants. 2016-06-29 09:08:20 -07:00
Doug Coleman ba7f71abc8 cocoa.views: add some constants for opengl. 2016-06-28 22:47:11 -07:00
Doug Coleman 391f8e433f basis: Cleaning up tests using lists and IN: forms. 2016-03-30 20:04:14 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
John Benediktsson b79c848d73 remove redundant IN: 2015-08-13 06:44:37 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 9f0a1ed730 cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token. 2015-08-12 19:44:07 -05: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
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 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31: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
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
John Benediktsson c01267d467 cocoa.dialogs: document save-panel stack effect better. 2014-12-15 19:24:57 -08:00
John Benediktsson 4a13633e5d cocoa: cleanup usings. 2014-12-13 16:25:48 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08: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 e137cde7f8 cocoa.plists: use new NSFastEnumeration>hashtable word. 2014-07-08 16:12:41 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson ec0741da35 cocoa.apple-script: adding some docs. 2013-10-11 08:25:11 -07:00
John Benediktsson 6069aef790 cocoa.apple-script: add APPLESCRIPT: syntax for defining words. 2013-10-11 08:17:25 -07:00
John Benediktsson 55f72a8568 cocoa.apple-script: adding a simple applescript runner. 2013-10-10 15:52:05 -07:00