]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Fri, 6 Jul 2018 15:07:11 +0000 (08:07 -0700)]
sequences.extras: fix bug in count-head, add some tests.
Doug Coleman [Thu, 5 Jul 2018 06:18:37 +0000 (01:18 -0500)]
travis.yml: Testing all of core is too much code? It hung for 10m without any output.
Maybe we could load-all then test core?
Also, maybe doing ``"math" test`` takes too long because we test all the subvocabs, so we should just test single vocabs at a time, non-recursively.
Doug Coleman [Thu, 5 Jul 2018 05:34:16 +0000 (00:34 -0500)]
.travis.yml: Test all of core/ on each PR since it doesn't take that long.
Related to #1760.
Doug Coleman [Thu, 5 Jul 2018 01:31:44 +0000 (20:31 -0500)]
cli.git: Better branch names maybe.
zealot: use CI_BRANCH and set it in travis.
zealot.factor: Check against HEAD
.travis.yml: Travis seems to be terminating my command after the USING:.
[[
[0K$ ./factor -run=zealot.cli-changed-vocabs
io.pathnames
vocabs.loader
cli.git
modern
modern.out
modern.paths
modern.slices
sequences.extras
web-services.github
zealot.cli-changed-vocabs
zealot.factor
zealot
travis_time:end:
155cd3d8 :start=
1530762416088842089 ,finish=
1530762475370504525 ,duration=
59281662436
[0K
[32;1mThe command "./factor -run=zealot.cli-changed-vocabs" exited with 0.[0m
travis_time:start:
2ac2d2d0
[0K$ {:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\\"$line\\\" [ load ] [ test ] bi\" ; done"}
/home/travis/.travis/job_stages: line 78: {:./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e="USING=: No such file or directory
travis_time:end:
2ac2d2d0 :start=
1530762475377510994 ,finish=
1530762475383948090 ,duration=
6437096
[0K
[31;1mThe command "{:"./factor -run=zealot.cli-changed-vocabs | while read line ; do ./factor -e=\"USING"=>"kernel tools.test vocabs.hierarchy ; \\"$line\\" [ load ] [ test ] bi\" ; done"}" exited with 127.[0m
Done. Your build exited with 1.
]]
zealot: test on cli.
travis: Load zealot so we can use it quickly twice. Also fetch origin/master so we can ``git diff`` against it.
Doug Coleman [Thu, 5 Jul 2018 01:21:13 +0000 (20:21 -0500)]
.travis.yml: Experimental command to test changed vocabs.
Takes into account if the vocabs can run on the test machine's platform or not.
Doug Coleman [Thu, 5 Jul 2018 01:20:20 +0000 (20:20 -0500)]
zealot: Get a list of changed vocabs from the last run until now.
Also add a word to get a list of vocabs that changed between any two git revs.
Doug Coleman [Thu, 5 Jul 2018 01:19:54 +0000 (20:19 -0500)]
modern.out: fix load error..
Doug Coleman [Thu, 5 Jul 2018 01:19:31 +0000 (20:19 -0500)]
cli.git: Add more git commands.
Doug Coleman [Thu, 5 Jul 2018 01:19:02 +0000 (20:19 -0500)]
vocabs.loader: make a word for the default vocabs.
Doug Coleman [Thu, 5 Jul 2018 00:05:37 +0000 (19:05 -0500)]
modern: core-vocabs should not return the broken test vocabs.
Doug Coleman [Wed, 4 Jul 2018 23:47:50 +0000 (18:47 -0500)]
.gitignore: Don't ignore all directories that have factor in them, e.g. extra/zealot/factor/
Doug Coleman [Wed, 4 Jul 2018 23:47:14 +0000 (18:47 -0500)]
modern: Add to extra/ some version of modern that has the modern.paths vocab.
For travisci.
Doug Coleman [Wed, 4 Jul 2018 23:35:24 +0000 (18:35 -0500)]
zealot: Add a second CI type system to compete with mason.
This is for testing PRs against changed vocabs.
Doug Coleman [Wed, 4 Jul 2018 23:33:37 +0000 (18:33 -0500)]
webservices.github: Add more commands needed for zealot.
Doug Coleman [Wed, 4 Jul 2018 23:32:34 +0000 (18:32 -0500)]
cli.git: Allow git commands from within the directory and from without..
Doug Coleman [Wed, 4 Jul 2018 23:32:19 +0000 (18:32 -0500)]
sequences.extras: Add count-head and count-tail
Doug Coleman [Wed, 4 Jul 2018 23:29:17 +0000 (18:29 -0500)]
io.pathnames: Add a useful word 3append-path
Doug Coleman [Wed, 4 Jul 2018 23:05:40 +0000 (18:05 -0500)]
gap-buffer: fix using.
I'm cooking something up for travisci for this...
Doug Coleman [Wed, 4 Jul 2018 21:14:44 +0000 (16:14 -0500)]
math.matrices: Add some more matrix norms.
Doug Coleman [Wed, 4 Jul 2018 21:10:39 +0000 (16:10 -0500)]
gap-buffer: resurrect! gap-buffer/cursortree still needs to be ported.
removed in
c1792d169e7e1bfd97ddd0a419feaca200b96c36
Doug Coleman [Sat, 30 Jun 2018 05:38:16 +0000 (00:38 -0500)]
escape-strings: Add a way to find the shortest lua-string escape.
Also add a way to escape a string as either 'foo "foo" or [[foo]] depending on which delimiters will do the job.
Add a couple helper words to assocs.extras
Doug Coleman [Tue, 26 Jun 2018 02:58:35 +0000 (19:58 -0700)]
macho: Only test the vm-path on MacOS, but still let the macho library work on any platform.
Also testing TravisCI on a branch without a boot image -- it should use master boot image.
Doug Coleman [Tue, 26 Jun 2018 00:07:53 +0000 (17:07 -0700)]
build.sh: Fix broken command.
Doug Coleman [Mon, 25 Jun 2018 23:19:23 +0000 (16:19 -0700)]
macho: Update the structures for macho and add a unit test.
``vm-path dylib-exports`` passes on my machine now.
Doug Coleman [Tue, 26 Jun 2018 00:05:10 +0000 (17:05 -0700)]
build.sh: Try using the branch's boot image or fallback on `master` boot image.
Related to #2005
Doug Coleman [Sun, 24 Jun 2018 01:45:45 +0000 (18:45 -0700)]
.travis.yml: Allow testing on any branch.
I don't know how to check this out except to push the change.
Related to #2005.
Doug Coleman [Sat, 23 Jun 2018 18:43:00 +0000 (11:43 -0700)]
factor: trim some long using lists.
Doug Coleman [Sat, 23 Jun 2018 18:39:49 +0000 (11:39 -0700)]
http.server: Actually use the port remapping instead of throwing it away.
For a port 8080 remapped to port 80, the ``or`` in this line looks like ``8080 80 or`` which doesn't get the remapped port.
Fixes #692 and #1992.
Doug Coleman [Sat, 23 Jun 2018 15:51:04 +0000 (10:51 -0500)]
cuda.demos.hello-world: We need a byte-array from map-index.
Doug Coleman [Wed, 20 Jun 2018 11:49:10 +0000 (06:49 -0500)]
help.lint.checks: remove debug to fix deploy 23
Doug Coleman [Wed, 20 Jun 2018 04:39:33 +0000 (23:39 -0500)]
factor: fix a few issues with new patch.
Doug Coleman [Wed, 20 Jun 2018 00:15:05 +0000 (19:15 -0500)]
core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
Doug Coleman [Sun, 17 Jun 2018 00:26:47 +0000 (19:26 -0500)]
xkcd: Everybody stand back. I know regular expressions.
Doug Coleman [Fri, 15 Jun 2018 23:09:21 +0000 (18:09 -0500)]
tools.scaffold: delete from root cache but allow vocab to exist already.
If tools.scaffold fails, it is nice to rerun it to finish scaffolding anything it failed on and have it give you links to the files.
John Benediktsson [Fri, 15 Jun 2018 22:51:02 +0000 (15:51 -0700)]
tools.scaffold: quick fix for scaffold-vocab bug.
root-cache was getting added to with ``f`` and then subsequent check fails.
Doug Coleman [Fri, 15 Jun 2018 00:43:18 +0000 (19:43 -0500)]
s3: Fix get-object to allow signing. Add sorted-bucket to sort by time.
Doug Coleman [Thu, 14 Jun 2018 03:31:39 +0000 (22:31 -0500)]
io.directories.search: link-info better than file-info because file-info can crash if the link is bad.
Cat Stevens [Wed, 30 May 2018 23:19:41 +0000 (19:19 -0400)]
finish up fixes to help.lint.coverage
John Benediktsson [Mon, 4 Jun 2018 18:38:51 +0000 (11:38 -0700)]
system-info.macosx: new code name Mojave.
Doug Coleman [Mon, 4 Jun 2018 02:38:53 +0000 (21:38 -0500)]
Revert "VM: removing the unused callstack-bounds primitive"
This reverts commit
c55a6ef87324d1a22fa0f5e935d9575005e15bd4 .
This primitive is useful for fixing the macOS pthread bug and the javascriptcore library.
Doug Coleman [Mon, 4 Jun 2018 02:33:44 +0000 (21:33 -0500)]
assocs: kv-with word.
Doug Coleman [Mon, 4 Jun 2018 02:33:23 +0000 (21:33 -0500)]
html.parser.analyzer: find-classes-named word.
Cat Stevens [Fri, 1 Jun 2018 19:30:30 +0000 (15:30 -0400)]
math.functions docs: add logn to "powers and logarithms" article
logn function was omitted from the subsections in "powers and logarithms"
John Benediktsson [Tue, 8 May 2018 22:11:36 +0000 (15:11 -0700)]
heaps: simplify by using data vector directly.
John Benediktsson [Fri, 4 May 2018 02:52:16 +0000 (19:52 -0700)]
game.input.demos.key-caps: more fun with button texts.
John Benediktsson [Fri, 4 May 2018 02:17:33 +0000 (19:17 -0700)]
vm/mach_signal.cpp: didn't need mach_msg_return_t.
John Benediktsson [Thu, 19 Apr 2018 22:23:04 +0000 (15:23 -0700)]
decimals: fix stack effect for decimal>float.
John Benediktsson [Thu, 22 Mar 2018 22:19:14 +0000 (15:19 -0700)]
math.functions: one line logn
Cat Stevens [Thu, 22 Mar 2018 21:13:47 +0000 (17:13 -0400)]
basis/math: add logn to math.functions (fix #1981)
John Benediktsson [Thu, 22 Mar 2018 20:18:51 +0000 (13:18 -0700)]
pong: use different colors.
John Benediktsson [Thu, 22 Mar 2018 17:41:34 +0000 (10:41 -0700)]
vm: fix COMPILE-TIME to use __DATE__ and __TIME__
Those are "time the preprocessor is run", not "date and time of the last
modification of the current source file" like __TIMESTAMP__.
John Benediktsson [Thu, 22 Mar 2018 17:10:36 +0000 (10:10 -0700)]
minesweeper: adding games tag.
John Benediktsson [Thu, 22 Mar 2018 17:10:26 +0000 (10:10 -0700)]
pong: adding demos tag.
John Benediktsson [Thu, 22 Mar 2018 17:01:54 +0000 (10:01 -0700)]
flatland: moving back to unmaintained.
has some confusing bugs with "above?" and "below?".
needs to be cleaned up and tested better.
John Benediktsson [Thu, 22 Mar 2018 17:01:28 +0000 (10:01 -0700)]
pong: fix some bugs, cleanup, little fancier.
John Benediktsson [Thu, 22 Mar 2018 17:01:14 +0000 (10:01 -0700)]
ui.gadgets.sliders: prevent negative elevator-length.
Doug Coleman [Sat, 17 Mar 2018 23:34:23 +0000 (18:34 -0500)]
windows.surface-dial: Add surface-dial COM interface.
Doug Coleman [Sat, 17 Mar 2018 23:15:30 +0000 (18:15 -0500)]
windows.com.wrapper: Fix up docs example so it runs.
Doug Coleman [Sat, 17 Mar 2018 02:17:47 +0000 (21:17 -0500)]
windows: Add some more win32 calls.
Doug Coleman [Fri, 16 Mar 2018 23:22:57 +0000 (18:22 -0500)]
editors.visual-studio-code: Fix command-line args url.
Doug Coleman [Fri, 16 Mar 2018 23:22:23 +0000 (18:22 -0500)]
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.
Doug Coleman [Fri, 16 Mar 2018 23:13:17 +0000 (18:13 -0500)]
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).
Doug Coleman [Thu, 15 Mar 2018 22:26:51 +0000 (17:26 -0500)]
system: flush so we get the same behavior on windows and unix.
Related to #1918.
Doug Coleman [Sat, 16 Sep 2017 00:40:26 +0000 (19:40 -0500)]
Nmakefile: Let cl decide how many threads to use.
Doug Coleman [Sat, 16 Sep 2017 00:07:29 +0000 (19:07 -0500)]
Nmakefile: Parallel!
Doug Coleman [Thu, 15 Mar 2018 13:45:12 +0000 (08:45 -0500)]
Revert "use tilde paths instead of home append-path."
This reverts commit
8af27125ec0c0966867da7490db53a1cf071de7a .
Doug Coleman [Thu, 15 Mar 2018 13:43:13 +0000 (08:43 -0500)]
Revert "help.pdf: use tilde paths."
This reverts commit
9276c26f4c3fe2ace111393282ad7b885e065181 .
Doug Coleman [Thu, 15 Mar 2018 13:42:46 +0000 (08:42 -0500)]
Revert "fix a couple more tilde paths."
This reverts commit
b139a896ef7de4e9ca25794c3631186be9c8c888 .
Doug Coleman [Thu, 15 Mar 2018 13:41:06 +0000 (08:41 -0500)]
Revert "mason.build: Can't resolve path ~/builds/factor, not sure how this ever"
This reverts commit
0e88bd305eebaaae370d48362caa6ace3bee6984 .
John Benediktsson [Thu, 15 Mar 2018 03:27:17 +0000 (20:27 -0700)]
tools.scaffold: adding scaffold for error classes.
John Benediktsson [Wed, 14 Mar 2018 22:52:40 +0000 (15:52 -0700)]
tools.hexdump: fix tests for slightly changed output.
John Benediktsson [Wed, 14 Mar 2018 22:45:01 +0000 (15:45 -0700)]
unicode.collation: minor cleanup.
John Benediktsson [Wed, 14 Mar 2018 22:44:30 +0000 (15:44 -0700)]
game-of-life: simpler wraparound logic in count-neighbors.
Doug Coleman [Wed, 14 Mar 2018 21:17:09 +0000 (16:17 -0500)]
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.
John Benediktsson [Wed, 14 Mar 2018 20:34:41 +0000 (13:34 -0700)]
tools.hexdump: smaller binary sizes without formatting.
John Benediktsson [Wed, 14 Mar 2018 20:28:00 +0000 (13:28 -0700)]
tools.hexdump: don't require stream-length
for better stdin compatibility.
John Benediktsson [Wed, 14 Mar 2018 20:26:31 +0000 (13:26 -0700)]
Revert "io.backend.unix: fix handle-length on stdin."
This reverts commit
b54da0f22bfe020897cf3e3572f17deb588f0f95 .
Doug Coleman [Wed, 14 Mar 2018 19:07:30 +0000 (14:07 -0500)]
mason.release: Sign the .dmg on macOS.
Fixes #1896.
John Benediktsson [Wed, 14 Mar 2018 18:22:47 +0000 (11:22 -0700)]
tools.hexdump: much faster hexdump.
John Benediktsson [Tue, 13 Mar 2018 21:17:21 +0000 (14:17 -0700)]
tools.hexdump: adding deploy file.
John Benediktsson [Tue, 13 Mar 2018 20:53:47 +0000 (13:53 -0700)]
tools.hexdump: support stdin hexdump.
John Benediktsson [Tue, 13 Mar 2018 20:53:26 +0000 (13:53 -0700)]
io.backend.unix: fix handle-length on stdin.
John Benediktsson [Tue, 13 Mar 2018 20:28:35 +0000 (13:28 -0700)]
tools.cocoa: fix use of each-method-in-class.
John Benediktsson [Tue, 13 Mar 2018 20:21:21 +0000 (13:21 -0700)]
cocoa: cleanup ?-> syntax and implementation.
John Benediktsson [Tue, 13 Mar 2018 18:57:40 +0000 (11:57 -0700)]
cocoa: change ?-> to always cache stubs in syntax word.
John Benediktsson [Tue, 13 Mar 2018 18:29:16 +0000 (11:29 -0700)]
cocoa.touchbar: another experiment for the 10.11 build machine.
NSButton.buttonWithTitle:target:action: is 10.12 and later.
John Benediktsson [Tue, 13 Mar 2018 18:09:55 +0000 (11:09 -0700)]
ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax.
John Benediktsson [Tue, 13 Mar 2018 18:06:43 +0000 (11:06 -0700)]
Revert "cocoa.touchbar: quick hack to experiment with 1t 0.11 build problem"
This reverts commit
9fbddec50e80d27376de8cb616a02d49c8556a8d .
John Benediktsson [Tue, 13 Mar 2018 18:05:18 +0000 (11:05 -0700)]
ui.backend.cocoa.views: cleanup some method signatures.
John Benediktsson [Tue, 13 Mar 2018 17:38:33 +0000 (10:38 -0700)]
cocoa.messages: fix for ".cxx_destruct" selector name.
John Benediktsson [Tue, 13 Mar 2018 17:17:33 +0000 (10:17 -0700)]
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.
John Benediktsson [Mon, 12 Mar 2018 16:38:05 +0000 (09:38 -0700)]
cocoa.touchbar: quick hack to experiment with 10.11 build problem
John Benediktsson [Mon, 12 Mar 2018 15:47:31 +0000 (08:47 -0700)]
game-of-life: little bit more.
John Benediktsson [Mon, 12 Mar 2018 15:43:05 +0000 (08:43 -0700)]
game-of-life: cleanup play/stop and some count-neighbors.
John Benediktsson [Mon, 12 Mar 2018 00:05:47 +0000 (17:05 -0700)]
game-of-life: use row directly in next-step.
John Benediktsson [Sun, 11 Mar 2018 18:59:13 +0000 (11:59 -0700)]
game-of-life: cleanup using.
John Benediktsson [Sun, 11 Mar 2018 18:48:35 +0000 (11:48 -0700)]
game-of-life: even faster by factoring out the neighbor rows.
John Benediktsson [Sun, 11 Mar 2018 18:31:20 +0000 (11:31 -0700)]
game-of-life: more ugly faster code.
Alexander Iljin [Sun, 11 Mar 2018 10:46:24 +0000 (11:46 +0100)]
build.cmd: fix cmd script syntax
Doug Coleman [Sun, 11 Mar 2018 06:13:22 +0000 (00:13 -0600)]
Nmakefile, build.cmd: Set the build information in Nmakefile.
If there is no .git directory, assume we are on master branch.
Fixes #1970.