Doug Coleman
0b0ead5135
yaml: Docs don't help-lint unless the yaml library is present.
...
We need a better docs system, after .98
2018-07-07 12:48:39 -05:00
Doug Coleman
76f4678a96
gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``
...
There might be a better way.
2018-07-07 12:33:08 -05:00
Doug Coleman
70537e86e4
fuel.help: Help test requires io.servers to be loaded, so load it.
2018-07-07 12:27:11 -05:00
Doug Coleman
db9386d4c3
io.pathnames: Fix using list.
2018-07-07 12:09:02 -05:00
Doug Coleman
3ac520a8ec
io.pathnames: Add canonicalize-path.
...
The idea is to make a canonical representation of any path, taking into
account . and .. and unicode-prefix on Windows.
The use case is in a shell you have a current-directory and you can do
crazy commands like ``cd ../foo/bar/baz/../.././././`` and get the
canonical/shortened directory name. You can also use this word to
compare if two paths are the same.
2018-07-07 11:59:59 -05:00
Doug Coleman
f4ac9fcfca
cocoa.messages: fix docs..
2018-07-07 11:16:23 -05:00
Doug Coleman
57ee2553b3
grouping: Fix some spacing.
2018-07-07 11:14:57 -05:00
Doug Coleman
e5bd5f6719
help.lint.checks: Save lint disposables in hash.
2018-07-07 11:14:16 -05:00
Doug Coleman
79db3ca594
docs: fix docs for help-lint
2018-07-07 08:24:20 -05:00
Doug Coleman
7da7a1d70e
.travis.yml: Test all of core/ because it stopped hanging.
2018-07-07 03:35:31 -05:00
Doug Coleman
93b5e59f72
kernel: Only test that it fails 10 times for TravisCI to pass.
2018-07-07 03:15:09 -05:00
Doug Coleman
ebf9edb243
.travis.yml: Don't test on clean branches.
2018-07-07 03:04:05 -05:00
Doug Coleman
54d36ec03f
kernel: Test if one ``-1 f <array>`` hangs travisci.
...
Related to #2013 .
2018-07-07 02:44:32 -05:00
Doug Coleman
dadf462661
help.lint.coverage: Add yet another sanity test, clean up broken words after lint test.
2018-07-07 02:03:55 -05:00
Doug Coleman
8c9b3bf7a4
.travis.yml: Add the clean repositories.
...
I also had to force push to these from factorcode's script that syncs factorcode to github.
2018-07-07 01:47:46 -05:00
Doug Coleman
7a00e44cad
.travis.yml: Print out changed vocabularies again. Also do help-lint-all.
2018-07-07 01:13:19 -05:00
Doug Coleman
4e9d383fe5
docs: Fix help-lint-all mistakes.
2018-07-07 01:13:19 -05:00
Doug Coleman
ff466b894a
zealot.factor: Test against the clean branch if we are pushing to master.
2018-07-07 01:13:19 -05:00
Doug Coleman
411a55314c
help.lint: Add a MAIN: to help-lint to test lint from command line like we already have for unit tests.
...
Also flush stdout for both MAIN: test apps.
2018-07-07 01:13:19 -05:00
Doug Coleman
06b07b9e9c
help.lint.checks: Fix regression in help-lint introduced in 8c158aa68f
.
...
We haven't been checking words in help-lint for two years! Ack!
2018-07-07 01:13:19 -05:00
Doug Coleman
e21125ac2c
tools.test: Print out test failures at the end of test main.
2018-07-07 01:13:19 -05:00
Doug Coleman
a3abec6f5c
ui.backend.windows: And fix the UI for LoadCursor.
...
Related to #2011
2018-07-06 21:26:27 -05:00
Doug Coleman
d92ebf4f82
.travis: Use tools.test as a command line app.
2018-07-06 21:22:37 -05:00
Doug Coleman
9d911fab73
cli.git: Fix parameter order.
2018-07-06 21:22:26 -05:00
Doug Coleman
0f2466e6fb
windows.user32: Fix signature of LoadCursorW.
...
Also change a couple more that weren't exactly right.
Fixes #2011 .
2018-07-06 21:21:29 -05:00
John Benediktsson
6e89e4ecab
sequences.extras: fix bug in count-head, add some tests.
2018-07-06 08:07:11 -07:00
Doug Coleman
739742d0ae
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.
2018-07-05 01:18:37 -05:00
Doug Coleman
4d3430c8cc
.travis.yml: Test all of core/ on each PR since it doesn't take that long.
...
Related to #1760 .
2018-07-05 00:34:16 -05:00
Doug Coleman
682e0b92e3
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🔚 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🔚 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.
2018-07-05 00:13:02 -05:00
Doug Coleman
957dea14b4
.travis.yml: Experimental command to test changed vocabs.
...
Takes into account if the vocabs can run on the test machine's platform or not.
2018-07-04 20:21:13 -05:00
Doug Coleman
96f2470e5d
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.
2018-07-04 20:20:20 -05:00
Doug Coleman
d35df269d8
modern.out: fix load error..
2018-07-04 20:19:54 -05:00
Doug Coleman
76e50c3479
cli.git: Add more git commands.
2018-07-04 20:19:31 -05:00
Doug Coleman
6df7360ec9
vocabs.loader: make a word for the default vocabs.
2018-07-04 20:19:02 -05:00
Doug Coleman
e01d1133be
modern: core-vocabs should not return the broken test vocabs.
2018-07-04 19:05:37 -05:00
Doug Coleman
afd60c1d3b
.gitignore: Don't ignore all directories that have factor in them, e.g. extra/zealot/factor/
2018-07-04 18:47:50 -05:00
Doug Coleman
256f0ed4a4
modern: Add to extra/ some version of modern that has the modern.paths vocab.
...
For travisci.
2018-07-04 18:47:14 -05:00
Doug Coleman
138d150da2
zealot: Add a second CI type system to compete with mason.
...
This is for testing PRs against changed vocabs.
2018-07-04 18:35:24 -05:00
Doug Coleman
1a084d2293
webservices.github: Add more commands needed for zealot.
2018-07-04 18:33:37 -05:00
Doug Coleman
725bbf9e45
cli.git: Allow git commands from within the directory and from without..
2018-07-04 18:32:34 -05:00
Doug Coleman
000f3eab07
sequences.extras: Add count-head and count-tail
2018-07-04 18:32:19 -05:00
Doug Coleman
147d13ed19
io.pathnames: Add a useful word 3append-path
2018-07-04 18:29:17 -05:00
Doug Coleman
b1e179106b
gap-buffer: fix using.
...
I'm cooking something up for travisci for this...
2018-07-04 18:05:40 -05:00
Doug Coleman
0e51880199
math.matrices: Add some more matrix norms.
2018-07-04 16:14:44 -05:00
Doug Coleman
9af298fd49
gap-buffer: resurrect! gap-buffer/cursortree still needs to be ported.
...
removed in c1792d169e
2018-07-04 16:10:39 -05:00
Doug Coleman
211d69561a
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
2018-06-30 00:39:39 -05:00
Doug Coleman
7fdb8fcab5
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.
2018-06-25 23:02:59 -07:00
Doug Coleman
27172e1a2f
build.sh: Fix broken command.
2018-06-25 17:07:53 -07:00
Doug Coleman
b1ea62a626
macho: Update the structures for macho and add a unit test.
...
``vm-path dylib-exports`` passes on my machine now.
2018-06-25 17:06:55 -07:00
Doug Coleman
84dabbd6e0
build.sh: Try using the branch's boot image or fallback on `master` boot image.
...
Related to #2005
2018-06-25 17:05:10 -07:00