Commit Graph

30789 Commits (7c383a52ba7bdb00819abf54df87e991a58cbbdf)

Author SHA1 Message Date
Doug Coleman de43042ecf editors.visual-studio-code: Fix command-line args url. 2018-03-16 18:22:57 -05:00
Doug Coleman 63a21cbdd1 io.launcher.windows: Actually support +new-group+ and +new-session+.
DETACHED_PROCESS doesn't do what we want. Also, the check for
`windows?`` in a Windows vocabulary is quite suspect.
2018-03-16 18:22:23 -05:00
Doug Coleman f164f47e41 editors: Launch editors as child processes. Hopefully this is ok on
other platforms.

On Windows, VSCode gets launched as a child process, which kills the
editor when Factor exits. This is not what we want. Add an overridable
option to launch editors as child processes, which should get repated
when Factor quits.

The confusion comes from ``run-detached`` which itself just
waits until the child process returns (as opposed to "detaching" a child
process from the parent process, which is called +new-group+ or
+new-session+ instead).
2018-03-16 18:13:17 -05:00
Doug Coleman e50be2a1ca system: flush so we get the same behavior on windows and unix.
Related to #1918.
2018-03-15 17:26:51 -05:00
Doug Coleman 5e67ded4a9 Nmakefile: Let cl decide how many threads to use. 2018-03-15 11:13:48 -05:00
Doug Coleman a1995c491c Nmakefile: Parallel! 2018-03-15 11:13:41 -05:00
Doug Coleman 653af68a8e Revert "use tilde paths instead of home append-path."
This reverts commit 8af27125ec.
2018-03-15 08:45:12 -05:00
Doug Coleman 7941b033f7 Revert "help.pdf: use tilde paths."
This reverts commit 9276c26f4c.
2018-03-15 08:43:13 -05:00
Doug Coleman c1f38d6864 Revert "fix a couple more tilde paths."
This reverts commit b139a896ef.
2018-03-15 08:42:46 -05:00
Doug Coleman 97ea4ccb17 Revert "mason.build: Can't resolve path ~/builds/factor, not sure how this ever"
This reverts commit 0e88bd305e.
2018-03-15 08:41:06 -05:00
John Benediktsson 1685c4537c tools.scaffold: adding scaffold for error classes. 2018-03-14 20:27:17 -07:00
John Benediktsson c4f9ae8071 tools.hexdump: fix tests for slightly changed output. 2018-03-14 15:52:40 -07:00
John Benediktsson 5acacf109b unicode.collation: minor cleanup. 2018-03-14 15:46:10 -07:00
John Benediktsson c5a7ce216b game-of-life: simpler wraparound logic in count-neighbors. 2018-03-14 15:46:10 -07:00
Doug Coleman 0e88bd305e mason.build: Can't resolve path ~/builds/factor, not sure how this ever
works...

Can't use normalize-path because git.exe doesn't recognize the Windows unicode
path prefix.
2018-03-14 16:17:09 -05:00
John Benediktsson 880ce3d4b5 tools.hexdump: smaller binary sizes without formatting. 2018-03-14 13:34:41 -07:00
John Benediktsson ee83e0f0d3 tools.hexdump: don't require stream-length
for better stdin compatibility.
2018-03-14 13:29:47 -07:00
John Benediktsson f83449b688 Revert "io.backend.unix: fix handle-length on stdin."
This reverts commit b54da0f22b.
2018-03-14 13:29:47 -07:00
Doug Coleman a16707b176 mason.release: Sign the .dmg on macOS.
Fixes #1896.
2018-03-14 14:07:30 -05:00
John Benediktsson 3f64af43e1 tools.hexdump: much faster hexdump. 2018-03-14 11:22:47 -07:00
John Benediktsson 4e872db628 tools.hexdump: adding deploy file. 2018-03-13 14:17:21 -07:00
John Benediktsson 70749aa736 tools.hexdump: support stdin hexdump. 2018-03-13 13:53:47 -07:00
John Benediktsson b54da0f22b io.backend.unix: fix handle-length on stdin. 2018-03-13 13:53:26 -07:00
John Benediktsson 5c69396fb3 tools.cocoa: fix use of each-method-in-class. 2018-03-13 13:28:35 -07: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 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