kusumotonorio
76f561ba3c
NSNotFound for both 32 bit and 64 bit environments
2019-09-08 11:15:49 -07:00
Doug Coleman
d4729bdde2
cocoa.messages: Add a Cocoa union type to import NSData.
...
Fixes bootstrap for macOS 10.14 for the error:
```
no-objc-type
name "("
```
Fixes #2059 .
2018-08-27 21:03:04 -05:00
Doug Coleman
f4ac9fcfca
cocoa.messages: fix docs..
2018-07-07 11:16:23 -05:00
Doug Coleman
79db3ca594
docs: fix docs for help-lint
2018-07-07 08:24:20 -05:00
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
John Benediktsson
1bffdff33a
cocoa.touchbar: another experiment for the 10.11 build machine.
...
NSButton.buttonWithTitle:target:action: is 10.12 and later.
2018-03-13 11:29:16 -07:00
John Benediktsson
a4f6d43645
Revert "cocoa.touchbar: quick hack to experiment with 1t 0.11 build problem"
...
This reverts commit 9fbddec50e
.
2018-03-13 11:06:43 -07:00
John Benediktsson
268dfecb0b
cocoa.messages: fix for ".cxx_destruct" selector name.
2018-03-13 10:38:33 -07:00
John Benediktsson
365584a644
cocoa.messages: bind classname.methodname selectors also.
...
We currently have a problem which is all selectors are assumed to have
the same method effect. The problem is we can have method collisions,
for example:
NSObject.load is { void { id SEL } }
NSBundle.load is { char { id SEL } }
So, this inferred wrong:
IN: scratchpad [ NSBundle -> mainBundle -> load ] infer .
( -- )
But now we can do this instead:
IN: scratchpad [ NSBundle -> NSBundle.mainBundle -> NSBundle.load ] infer .
( -- x )
It doesn't really fix the original problem, but its a way to workaround
it and added ``method-collisions`` to report on the conflicts.
2018-03-13 10:17:33 -07:00
John Benediktsson
9fbddec50e
cocoa.touchbar: quick hack to experiment with 10.11 build problem
2018-03-12 09:38:05 -07:00
John Benediktsson
f0347b71cf
Revert "cocoa.touchbar: try this."
...
This reverts commit f976d97983
.
2018-01-28 11:23:31 -08:00
John Benediktsson
f976d97983
cocoa.touchbar: try this.
2018-01-26 16:48:12 -08:00
John Benediktsson
07f4d19947
cocoa.touchbar: use arrays of strings instead of enums.
2018-01-01 16:00:19 -08: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