]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Thu, 2 Aug 2018 04:03:40 +0000 (21:03 -0700)]
tools.wc: use re-decode here also.
John Benediktsson [Wed, 1 Aug 2018 21:25:25 +0000 (14:25 -0700)]
tools.cat: use re-encode/re-decode.
John Benediktsson [Wed, 1 Aug 2018 19:52:33 +0000 (12:52 -0700)]
tools.cat: significant performance improvement using binary.
Before (using strings): 77MiB/s
After (using byte-arrays): 3.06GiB/s
John Benediktsson [Wed, 1 Aug 2018 01:12:54 +0000 (18:12 -0700)]
odbc: add windows platform.txt.
John Benediktsson [Tue, 31 Jul 2018 19:40:12 +0000 (12:40 -0700)]
Version bump to 0.99 (-dev).
John Benediktsson [Tue, 31 Jul 2018 17:19:09 +0000 (10:19 -0700)]
Factor.app: update copyrights.
Doug Coleman [Mon, 30 Jul 2018 17:02:42 +0000 (12:02 -0500)]
Revert "lists: Add list literal doc example."
This reverts commit
47408528d0374dd9b015a0b8d06b5d7157652890 .
Doug Coleman [Mon, 30 Jul 2018 17:01:28 +0000 (12:01 -0500)]
Revert "lists: Add list literals."
This reverts commit
ae74a794e1ef8e76a1fbf6fe07b649662dc17874 .
The listener forces lazy lists, which is not what we want. We need a different approach for prettyprinting lazy lists.
Doug Coleman [Sat, 28 Jul 2018 02:35:55 +0000 (21:35 -0500)]
vm: Fix some really minor warnings.
Benjamin Pollack [Thu, 26 Jul 2018 20:59:27 +0000 (16:59 -0400)]
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
Doug Coleman [Sun, 22 Jul 2018 16:34:29 +0000 (11:34 -0500)]
layouts: Add 32bit? and 64bit? words.
Doug Coleman [Sun, 22 Jul 2018 16:32:02 +0000 (11:32 -0500)]
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 <``
Doug Coleman [Sat, 21 Jul 2018 20:28:43 +0000 (15:28 -0500)]
ci.run-process platforms: getting uid/gid, so unix only for now
Doug Coleman [Sat, 21 Jul 2018 20:26:37 +0000 (15:26 -0500)]
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.
Doug Coleman [Sat, 21 Jul 2018 20:18:29 +0000 (15:18 -0500)]
escape-strings: Add a tag-payload word to make a string payload and tag.
Doug Coleman [Tue, 17 Jul 2018 02:02:11 +0000 (21:02 -0500)]
io.launcher: Add process-lines word.
Doug Coleman [Mon, 16 Jul 2018 03:30:03 +0000 (22:30 -0500)]
vocabs.platforms: Add <LINUX LINUX> sections that ignore code for the wrong platform.
Doug Coleman [Sat, 14 Jul 2018 03:58:18 +0000 (22:58 -0500)]
lists: Add list literal doc example.
Doug Coleman [Sat, 14 Jul 2018 01:36:07 +0000 (20:36 -0500)]
lists: Add list literals.
Fixes #2019.
Doug Coleman [Mon, 9 Jul 2018 06:58:04 +0000 (01:58 -0500)]
factor: Make source files/resources 644 instead of 755.
Doug Coleman [Fri, 13 Jul 2018 05:48:58 +0000 (00:48 -0500)]
vm: Fix unused variable warnings on Windows.
Doug Coleman [Fri, 13 Jul 2018 04:59:02 +0000 (23:59 -0500)]
contexts.cpp: Don't warn on unused variables.
Alexander Iljin [Wed, 11 Jul 2018 09:58:08 +0000 (16:58 +0700)]
windows.registry: add change-registry-value and delete-value
Doug Coleman [Thu, 12 Jul 2018 02:52:17 +0000 (21:52 -0500)]
editors.ui: Make the editors ui its own thing.
Doug Coleman [Thu, 12 Jul 2018 02:51:26 +0000 (21:51 -0500)]
Revert "editors: Add a MAIN-WINDOW: to editors to easily reload editors."
This reverts commit
cb4ca7cca410fcd9c3a76b633f47e5475e442024 .
Doug Coleman [Thu, 12 Jul 2018 02:41:46 +0000 (21:41 -0500)]
editors: Add a MAIN-WINDOW: to editors to easily reload editors.
Doug Coleman [Tue, 10 Jul 2018 07:06:54 +0000 (02:06 -0500)]
Revert "gpu: Load all the links for the docs to not error with: ``Help article does not exist name "gpu.textures"``"
This reverts commit
76f4678a963a1adb90861fea7cd8bf6dbb8d3db3 .
This breaks ``"cuda" load`` with circularity.
Doug Coleman [Mon, 9 Jul 2018 14:10:27 +0000 (09:10 -0500)]
system-info.macosx: Fix using
Doug Coleman [Mon, 9 Jul 2018 06:33:26 +0000 (01:33 -0500)]
tools.directory-to-file: Add a command-line program to make a directory into a file and restore it.
Doug Coleman [Mon, 9 Jul 2018 03:57:24 +0000 (22:57 -0500)]
calendar.format: Add a word to format time to a string for convenience.
Doug Coleman [Mon, 9 Jul 2018 03:46:18 +0000 (22:46 -0500)]
system-info: Add computer-name
Doug Coleman [Sat, 7 Jul 2018 22:32:06 +0000 (17:32 -0500)]
help.lint.checks: Ignore linux-monitors as not real leaks.
Fixes #2014.
Doug Coleman [Sat, 7 Jul 2018 20:40:33 +0000 (15:40 -0500)]
help.lint.coverage: Clean up test a bit. Hopefully this fixes an error on macOS in travisci.
Doug Coleman [Sat, 7 Jul 2018 20:02:30 +0000 (15:02 -0500)]
travis.yml: rvm sucks, travisci sucks...
Doug Coleman [Sat, 7 Jul 2018 19:49:17 +0000 (14:49 -0500)]
.travis.yml: Still running out of time on macOS, test fewer.
Doug Coleman [Sat, 7 Jul 2018 19:46:32 +0000 (14:46 -0500)]
.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
Doug Coleman [Sat, 7 Jul 2018 18:50:26 +0000 (13:50 -0500)]
.travis.yml: The travisci macOS machines are slower, so only test half of the core-vocabs randomly on macOS.
Doug Coleman [Sat, 7 Jul 2018 17:47:45 +0000 (12:47 -0500)]
yaml: Docs don't help-lint unless the yaml library is present.
We need a better docs system, after .98
Doug Coleman [Sat, 7 Jul 2018 17:33:08 +0000 (12:33 -0500)]
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.
Doug Coleman [Sat, 7 Jul 2018 17:26:27 +0000 (12:26 -0500)]
fuel.help: Help test requires io.servers to be loaded, so load it.
Doug Coleman [Sat, 7 Jul 2018 17:09:02 +0000 (12:09 -0500)]
io.pathnames: Fix using list.
Doug Coleman [Sat, 7 Jul 2018 16:59:59 +0000 (11:59 -0500)]
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.
Doug Coleman [Sat, 7 Jul 2018 16:16:23 +0000 (11:16 -0500)]
cocoa.messages: fix docs..
Doug Coleman [Sat, 7 Jul 2018 16:14:57 +0000 (11:14 -0500)]
grouping: Fix some spacing.
Doug Coleman [Sat, 7 Jul 2018 16:14:16 +0000 (11:14 -0500)]
help.lint.checks: Save lint disposables in hash.
Doug Coleman [Sat, 7 Jul 2018 13:24:05 +0000 (08:24 -0500)]
docs: fix docs for help-lint
Doug Coleman [Sat, 7 Jul 2018 08:35:09 +0000 (03:35 -0500)]
.travis.yml: Test all of core/ because it stopped hanging.
Doug Coleman [Sat, 7 Jul 2018 08:15:09 +0000 (03:15 -0500)]
kernel: Only test that it fails 10 times for TravisCI to pass.
Doug Coleman [Sat, 7 Jul 2018 08:04:05 +0000 (03:04 -0500)]
.travis.yml: Don't test on clean branches.
Doug Coleman [Sat, 7 Jul 2018 07:44:32 +0000 (02:44 -0500)]
kernel: Test if one ``-1 f <array>`` hangs travisci.
Related to #2013.
Doug Coleman [Sat, 7 Jul 2018 07:03:55 +0000 (02:03 -0500)]
help.lint.coverage: Add yet another sanity test, clean up broken words after lint test.
Doug Coleman [Sat, 7 Jul 2018 06:47:46 +0000 (01:47 -0500)]
.travis.yml: Add the clean repositories.
I also had to force push to these from factorcode's script that syncs factorcode to github.
Doug Coleman [Sat, 7 Jul 2018 06:11:56 +0000 (01:11 -0500)]
.travis.yml: Print out changed vocabularies again. Also do help-lint-all.
Doug Coleman [Sat, 7 Jul 2018 05:44:46 +0000 (00:44 -0500)]
docs: Fix help-lint-all mistakes.
Doug Coleman [Sat, 7 Jul 2018 05:18:23 +0000 (00:18 -0500)]
zealot.factor: Test against the clean branch if we are pushing to master.
Doug Coleman [Sat, 7 Jul 2018 05:16:52 +0000 (00:16 -0500)]
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.
Doug Coleman [Sat, 7 Jul 2018 05:06:52 +0000 (00:06 -0500)]
help.lint.checks: Fix regression in help-lint introduced in
8c158aa68ff5a478349392f89fee6c50e0bd16af .
We haven't been checking words in help-lint for two years! Ack!
Doug Coleman [Sat, 7 Jul 2018 04:53:40 +0000 (23:53 -0500)]
tools.test: Print out test failures at the end of test main.
Doug Coleman [Sat, 7 Jul 2018 02:25:29 +0000 (21:25 -0500)]
ui.backend.windows: And fix the UI for LoadCursor.
Related to #2011
Doug Coleman [Sat, 7 Jul 2018 02:22:37 +0000 (21:22 -0500)]
.travis: Use tools.test as a command line app.
Doug Coleman [Fri, 6 Jul 2018 23:49:19 +0000 (18:49 -0500)]
cli.git: Fix parameter order.
Doug Coleman [Sat, 7 Jul 2018 02:20:23 +0000 (21:20 -0500)]
windows.user32: Fix signature of LoadCursorW.
Also change a couple more that weren't exactly right.
Fixes #2011.
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