Commit Graph

14159 Commits (vm-warnings)

Author SHA1 Message Date
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
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 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 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 4e9d383fe5 docs: Fix help-lint-all mistakes. 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 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
Doug Coleman 0e51880199 math.matrices: Add some more matrix norms. 2018-07-04 16:14:44 -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 05c72e8690 factor: trim some long using lists. 2018-06-23 11:43:00 -07:00
Doug Coleman 06e85cc606 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.
2018-06-23 11:41:41 -07:00
Doug Coleman 2ca1b32580 help.lint.checks: remove debug to fix deploy 23 2018-06-20 06:49:25 -05:00
Doug Coleman 88e58f9da8 factor: fix a few issues with new patch. 2018-06-19 23:39:33 -05:00
Doug Coleman 9f213f96f6 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...
2018-06-19 22:52:58 -05:00
Doug Coleman 317ceee23c 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.
2018-06-15 18:09:21 -05:00
John Benediktsson b854217796 tools.scaffold: quick fix for scaffold-vocab bug.
root-cache was getting added to with ``f`` and then subsequent check fails.
2018-06-15 15:51:45 -07:00
Doug Coleman a33128a4b3 io.directories.search: link-info better than file-info because file-info can crash if the link is bad. 2018-06-13 22:31:39 -05:00
John Benediktsson e19bb995fa system-info.macosx: new code name Mojave. 2018-06-04 11:38:51 -07:00
Doug Coleman aa87e69d25 Revert "VM: removing the unused callstack-bounds primitive"
This reverts commit c55a6ef873.

This primitive is useful for fixing the macOS pthread bug and the javascriptcore library.
2018-06-03 22:12:28 -05:00
Cat Stevens 358eb29357 math.functions docs: add logn to "powers and logarithms" article
logn function was omitted from the subsections in "powers and logarithms"
2018-06-03 13:42:18 -07:00
John Benediktsson 0d7233f2da heaps: simplify by using data vector directly. 2018-05-08 15:11:36 -07:00
John Benediktsson 9b2eac2942 math.functions: one line logn 2018-03-22 15:19:14 -07:00
Cat Stevens 4c96c9343c basis/math: add logn to math.functions (fix #1981) 2018-03-22 15:11:45 -07:00
John Benediktsson 60fddddc0d ui.gadgets.sliders: prevent negative elevator-length. 2018-03-22 10:01:14 -07:00
Doug Coleman dc52e28f2f windows.surface-dial: Add surface-dial COM interface. 2018-03-17 18:39:12 -05:00
Doug Coleman 123c5133f0 windows.com.wrapper: Fix up docs example so it runs. 2018-03-17 18:15:30 -05:00
Doug Coleman 1d1f827f9b windows: Add some more win32 calls. 2018-03-17 11:19:02 -05:00
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 653af68a8e Revert "use tilde paths instead of home append-path."
This reverts commit 8af27125ec.
2018-03-15 08:45:12 -05:00
Doug Coleman c1f38d6864 Revert "fix a couple more tilde paths."
This reverts commit b139a896ef.
2018-03-15 08:42:46 -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