Doug Coleman
e6e7655cbd
vm: Fix some really minor warnings.
2018-07-27 21:35:55 -05:00
Benjamin Pollack
339be707a2
build: allow any GCC version
...
The existing test didn't work on modern GCC; a clean fix didn't work
on modern macOS due to its aliasing gcc to clang; and the test being
done is for a version of GCC from 2013 that doesn't ship on any modern
Linux system. (RHEL7 is on GCC 4, but hasn't shipped the buggy version
either ever or since 2015, depending on which source material I look
at.)
Closes #2023
2018-07-26 16:59:27 -04:00
Doug Coleman
3a5533dc44
layouts: Add 32bit? and 64bit? words.
2018-07-22 11:46:01 -05:00
Doug Coleman
2b4d2a4a13
system: Make the git version code more robust.
...
Really confusing sequence errors if Factor vm isn't compiled with proper git label.
e.g. good: -DFACTOR_GIT_LABEL="heads/master-102fe6154e9deec5dff38ee70519f7bbe506f6ce"
bad: -DFACTOR_GIT_LABEL=""
before this patch gave an integer comparison error comparing ``f 16 <``
2018-07-22 11:45:50 -05:00
Doug Coleman
102fe6154e
ci.run-process platforms: getting uid/gid, so unix only for now
2018-07-21 15:28:43 -05:00
Doug Coleman
0655ed4e00
ci: Start new vocabs.
...
Add ci.docker for running commands in docker.
Add ci.run-process for running commands and capturing everything from their run.
USE: ci.docker USE: ci.run-process
{ "run" "hello-world" } "docker" find-in-standard-login-path prefix
ci-run-process>autopsy autopsy.
2018-07-21 15:27:25 -05:00
Doug Coleman
12918ae2a5
escape-strings: Add a tag-payload word to make a string payload and tag.
2018-07-21 15:19:42 -05:00
Doug Coleman
279acbc53e
io.launcher: Add process-lines word.
2018-07-16 21:02:11 -05:00
Doug Coleman
39cbe60fd2
vocabs.platforms: Add <LINUX LINUX> sections that ignore code for the wrong platform.
2018-07-15 22:30:45 -05:00
Doug Coleman
47408528d0
lists: Add list literal doc example.
2018-07-13 22:58:57 -05:00
Doug Coleman
ae74a794e1
lists: Add list literals.
...
Fixes #2019 .
2018-07-13 20:36:50 -05:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Doug Coleman
2a409c79e0
vm: Fix unused variable warnings on Windows.
2018-07-13 00:48:58 -05:00
Doug Coleman
0939974c65
contexts.cpp: Don't warn on unused variables.
2018-07-13 00:00:55 -05:00
Alexander Iljin
7298918029
windows.registry: add change-registry-value and delete-value
2018-07-12 23:33:14 -05:00
Doug Coleman
b21f9ed3eb
editors.ui: Make the editors ui its own thing.
2018-07-11 21:52:17 -05:00
Doug Coleman
cd2b8eee42
Revert "editors: Add a MAIN-WINDOW: to editors to easily reload editors."
...
This reverts commit cb4ca7cca4
.
2018-07-11 21:51:26 -05:00
Doug Coleman
cb4ca7cca4
editors: Add a MAIN-WINDOW: to editors to easily reload editors.
2018-07-11 21:41:46 -05:00
Doug Coleman
7209d53c83
Revert "gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``"
...
This reverts commit 76f4678a96
.
This breaks ``"cuda" load`` with circularity.
2018-07-10 02:06:54 -05:00
Doug Coleman
e17a352af3
system-info.macosx: Fix using
2018-07-09 09:10:27 -05:00
Doug Coleman
8a8399e633
tools.directory-to-file: Add a command-line program to make a directory into a file and restore it.
2018-07-09 01:59:58 -05:00
Doug Coleman
9b97da0658
calendar.format: Add a word to format time to a string for convenience.
2018-07-08 22:57:24 -05:00
Doug Coleman
97097fae2c
system-info: Add computer-name
2018-07-08 22:46:18 -05:00
Doug Coleman
565ac276cd
help.lint.checks: Ignore linux-monitors as not real leaks.
...
Fixes #2014 .
2018-07-07 17:32:06 -05:00
Doug Coleman
f140d48e24
help.lint.coverage: Clean up test a bit. Hopefully this fixes an error on macOS in travisci.
2018-07-07 15:40:33 -05:00
Doug Coleman
06758e9633
travis.yml: rvm sucks, travisci sucks...
2018-07-07 15:02:30 -05:00
Doug Coleman
f0d0686114
.travis.yml: Still running out of time on macOS, test fewer.
2018-07-07 14:49:17 -05:00
Doug Coleman
be2061e9cd
.travis.yml: Fix rvm error hopefully.
...
/Users/travis/build.sh: line 109: shell_session_update: command not found
https://github.com/travis-ci/travis-ci/issues/6307
2018-07-07 14:46:32 -05:00
Doug Coleman
7df8e8b1a9
.travis.yml: The travisci macOS machines are slower, so only test half of the core-vocabs randomly on macOS.
2018-07-07 13:50:26 -05:00
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