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
ade70ab813
ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax.
2018-03-13 11:09:55 -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
4883242292
ui.backend.cocoa.views: cleanup some method signatures.
2018-03-13 11:05:18 -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
252ce232cf
game-of-life: little bit more.
2018-03-12 08:47:31 -07:00
John Benediktsson
bf010ba1a5
game-of-life: cleanup play/stop and some count-neighbors.
2018-03-12 08:43:05 -07:00
John Benediktsson
18a3bd0c4c
game-of-life: use row directly in next-step.
2018-03-11 17:05:47 -07:00
John Benediktsson
b29a99d03f
game-of-life: cleanup using.
2018-03-11 11:59:13 -07:00
John Benediktsson
6a215adbbb
game-of-life: even faster by factoring out the neighbor rows.
2018-03-11 11:48:35 -07:00
John Benediktsson
ac1029e8eb
game-of-life: more ugly faster code.
2018-03-11 11:31:20 -07:00
Alexander Iljin
2b1dc5a376
build.cmd: fix cmd script syntax
2018-03-11 07:55:09 -07:00
Doug Coleman
8c6925294f
Nmakefile, build.cmd: Set the build information in Nmakefile.
...
If there is no .git directory, assume we are on master branch.
Fixes #1970 .
2018-03-11 00:14:03 -06:00
John Benediktsson
0a9752fcc9
game-of-life: more speed in count-neighbors.
2018-03-09 16:58:11 -08:00
John Benediktsson
7179394ea0
game-of-life: count-neighbors needs circular wraparound logic back.
2018-03-09 16:53:05 -08:00
John Benediktsson
5e7bfd7cc4
game-of-life: flip scroll direction.
2018-03-09 16:32:08 -08:00
John Benediktsson
25fc79a40c
game-of-life: faster com-random.
2018-03-09 15:53:29 -08:00
John Benediktsson
0c9086b385
game-of-life: fix inevitable bug in faster code.
2018-03-09 15:29:22 -08:00
John Benediktsson
9e563c4103
game-of-life: ugly code that makes next-step faster.
2018-03-09 15:04:23 -08:00
John Benediktsson
c24779d27e
game-of-life: small updates.
2018-03-09 14:32:30 -08:00
John Benediktsson
efb2f0ed55
game-of-life: implement scrolling and resizable windows.
2018-03-09 14:24:50 -08:00
John Benediktsson
17eabacd2b
game-of-life: experimental Conway's Game of Life.
2018-03-09 12:13:07 -08:00
John Benediktsson
e37b530338
crontab: adding first version of crontab parser.
2018-03-09 12:08:49 -08:00
John Benediktsson
074d4e9d0a
minesweeper: fix stack effect in adjacent-flags.
2018-03-06 16:02:20 -08:00
John Benediktsson
2dc44cd360
minesweeper: reduce duplicated code in count-neighbors.
2018-03-06 16:01:33 -08:00
John Benediktsson
02e231633e
minesweeper: reduce duplicated code for click/mark/open cells.
2018-03-06 15:50:47 -08:00
John Benediktsson
551144b8a2
grouping: change chunking to throw bounds-errors in nth.
...
instead of the more confusing slice-error.
2018-03-05 16:57:52 -08:00
Alexander Iljin
e749734b01
ui-docs: add help for resize-window
2018-03-05 16:45:35 -08:00
John Benediktsson
cb71664787
checksums.metrohash: don't need uint8_t-array.
2018-03-05 16:29:10 -08:00
John Benediktsson
6ca7703831
ui.backend.windows: fix resize-window to use "adjusted" dimensions.
2018-03-05 14:57:50 -08:00
John Benediktsson
1386489bbc
minesweeper: re-use click-cells-around.
2018-03-05 09:05:20 -08:00
John Benediktsson
3c7b0825db
minesweeper: adding docs for middle-click.
2018-03-05 08:57:42 -08:00
Philip Dexter
9a994e1bd9
minesweeper: add classic middle-click functionality
2018-03-05 08:52:26 -08:00
John Benediktsson
368a99b0e1
specialized-arrays: slightly faster nth-unsafe.
2018-03-04 20:48:10 -08:00
John Benediktsson
39602240da
checksums.multi: making these checked $examples.
2018-03-04 17:49:52 -08:00
John Benediktsson
8dece633e6
checksums.multi: fix $slot help-lint error.
2018-03-04 17:47:01 -08:00
John Benediktsson
e6c9e76db4
checksums.multi: use resource: to make sure test works.
2018-03-04 15:28:18 -08:00
Alexander Iljin
156f69b3a3
checksums.multi: new vocab
2018-03-04 14:43:53 -08:00
Alexander Iljin
1386b556af
windows.kernel32: add the FILE_* constants for GetVolumeInformation
2018-03-04 21:27:28 +01:00
Alexander Iljin
bc3a4ceb9a
db.types-docs: mention the +primary-key+ in the appropriate help section
2018-03-04 21:27:22 +01:00
Alexander Iljin
b197af9446
db.sqlite: support the +primary-key+ modifier
2018-03-04 21:16:15 +01:00
Alexander Iljin
97a2a9533c
multiline-docs: amend the help for /*
2018-03-04 21:16:07 +01:00
John Benediktsson
6f408e38bd
gobject-introspection: cleanup using.
2018-03-03 16:14:48 -08:00
John Benediktsson
75168c1964
gobject-introspection: using xdg vocab.
2018-03-03 16:13:23 -08:00
John Benediktsson
8d672a382a
checksums.metrohash: fix using in tests.
2018-03-03 16:11:33 -08:00
John Benediktsson
7a23242460
checksums.metrohash: adding a first version of MetroHash algorithm.
2018-03-03 14:17:45 -08:00
John Benediktsson
b2de82042c
io.encodings.8-bit: adding KZ-1048 and KOI8-U.
2018-03-02 16:09:21 -08:00
John Benediktsson
6d2abd0122
io.encodings.8-bit: adding cp424.
2018-03-01 10:48:08 -08:00