Commit Graph

13732 Commits (c74cfe6c54b625fed15d0fe75aaf15f2a475e47f)

Author SHA1 Message Date
Jon Harper c74cfe6c54 math.functions: fix truncate and round to output -0.0 for negative floats near 0 2017-06-08 11:22:40 -07:00
Jon Harper 271c7d9519 math.functions, fix round for ratios between -1/2 and -1
it was outputting 1 instead of -1
2017-06-08 11:22:40 -07:00
Alexander Iljin acf14a7bd1 io.directories.windows: add size slot to windows-directory-entry tuple 2017-06-05 16:47:01 -07:00
Alexander Iljin 6d355c998b help.lint.spaces: new vocab 2017-06-05 13:16:07 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Robert Vollmert 445b55b3e5 test runner: non-zero exit code in case of failed tests
This makes it easier to detect unit test failures from the
command line.
2017-06-05 13:13:09 -07:00
Doug Coleman 9e76899dbd tools.test: Make the flag public. Finish porting tester changes to fuzzer. 2017-06-04 14:47:35 -05:00
Doug Coleman 50fbf0457a tools.deploy: Change unit-test to long-unit-test for deploy tests.
long-unit-tests are enabled by default.
2017-06-04 12:55:58 -05:00
Doug Coleman be1175b3c5 tools.test: Add long-unit-test and refactor a bit. 2017-06-04 12:55:52 -05:00
Doug Coleman 72eaa9d466 compiler.tree.propagation.call-effect: I deleted an important method on compose on accident. 2017-06-02 23:31:35 -05:00
Doug Coleman 7a703658f1 sequences: Remove start for real in favor of subseq-start.
Update a usage of start that was masked by the ALIAS:

Compatibility/migration is a .99 feature.
2017-06-02 17:41:10 -05:00
Doug Coleman 48344ab55c factor: last iota -> <iota> fix. 2017-06-02 17:39:40 -05:00
Doug Coleman 32710df620 core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -05:00
Doug Coleman 195630f637 iota: Fix second iota -> <iota> in line several times. 2017-06-02 15:41:51 -05:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman 0ca1b4656f ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist. 2017-06-01 16:53:10 -05:00
Doug Coleman d838f95370 cocoa: Allow ?-> syntax for methods that might not exist.
If a method doesn't exist we need to provide a signature so the stack is balanced. This should also allow deploying from macOS versions that do not contain methods to ones that do. This is an alternative to asking a class if it provides a selector.
2017-06-01 16:53:05 -05:00
Doug Coleman 42a7a8e572 compiler: Rename start -> start-compilation, finish -> finish-compilation.
These start/finish are cute names, but ``finish`` is pretty vague even in the same file in the ``deoptimize-with`` word.
2017-06-01 14:51:18 -05:00
Doug Coleman c5b563ed09 factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Doug Coleman 5aa89e6251 factor: Add newlines to every line. 2017-06-01 13:46:32 -05:00
Doug Coleman df189eada5 io.files.info.windows: Fix using list.
We are using fry twice and it shows up in bootstrap.
2017-05-31 18:40:08 -05:00
Doug Coleman dd22d6efa4 cocoa.touchbar: Add platforms file. 2017-05-30 18:14:39 -05:00
Doug Coleman a632337ba2 cocoa: Add basic support for TouchBar. 2017-05-30 15:33:48 -05:00
Doug Coleman 75d6395849 multiline: Add [[ as string/comment parsers. 2017-05-30 12:04:35 -05:00
Doug Coleman f3ed43dc74 cocoa: Import more classes for TouchBar support. 2017-05-29 12:36:35 -05:00
John Benediktsson 55d5577961 tools.test: fix fake unit test to notify observers after clearing test failures. 2017-05-29 08:42:32 -07:00
John Benediktsson 68e7a69572 cocoa.dialogs: simple fix for split-path errors with empty string input. 2017-05-29 08:27:58 -07:00
nicolas-p c1d33065ad editors: added pref-dim* for action-editor 2017-05-29 08:08:21 -07:00
Alexander Iljin 646f14f249 ui-docs: mark an optional output parameter with the "/f" suffix 2017-05-26 14:39:33 +03:00
Alexander Iljin 632961798f alien.data-docs: add a missing space between sentences 2017-05-26 14:39:25 +03:00
Alexander Iljin 72e6699279 ui.tools.listener-docs: wrap a hotkey in the $snippet tag 2017-05-14 20:04:39 -07:00
John Benediktsson ca51f43b3f locals: modify examples to use new "--- Data stack:" output. 2017-05-05 08:41:52 -07:00
John Benediktsson b1c0a1be33 help.lint.checks: improve check-example to print the stack (if any).
Any output from the example will be preserved like it currently is,
and any objects on the stack will be printed the same way they are
in the listener prefixed by ``--- Data stack:``.
2017-05-05 08:40:47 -07:00
John Benediktsson 4982bcce27 binary-search: improve example for search.
(But use prettyprint, the help.lint.checks patch wasn't ready)
2017-05-03 18:23:05 -07:00
John Benediktsson 7f38fd5ae9 Revert "binary-search: improve example for search."
This reverts commit aac6780285.
2017-05-03 18:21:31 -07:00
John Benediktsson e1b7d5db1f Revert "help.lint.checks: prettyprints the examples stack automatically."
This reverts commit 1f4bcc2d56.
2017-05-03 18:21:25 -07:00
John Benediktsson aac6780285 binary-search: improve example for search. 2017-05-03 18:16:38 -07:00
John Benediktsson 1f4bcc2d56 help.lint.checks: prettyprints the examples stack automatically.
This allows us to not have to "USE: prettyprint" and "." in the examples.
Much cleaner this way!
2017-05-03 18:15:36 -07:00
John Benediktsson 0fd663e25d editors.emacs: add an emacsclient-args on request. 2017-05-03 18:14:28 -07:00
Alexander Iljin e44104c8d2 calendar.format: restore the deleted duration>hm
It was replaced with duration>hms, but the version without the seconds is
also useful.
2017-04-25 15:38:51 -04:00
Alexander Iljin 6819db7e8f tools.test-docs: fix the order of parameters for must-fail-with 2017-04-07 19:01:38 +03:00
Alexander Iljin a6caeb6e80 math.functions-docs: update description of e^ 2017-04-07 19:01:33 +03:00
Alexander Iljin c6208e4677 math.functions[-docs]: rename the output parameters of the power functions 2017-04-07 19:01:24 +03:00
John Benediktsson cdf0dbd038 io.standard-paths.unix: use $USER's configured shell.
Hope that '-l -c "echo $PATH"' works.
2017-03-21 16:05:23 -07:00
Alexander Iljin bad5408c76 *-docs: fix a typo in the word parametErized 2017-03-17 08:22:18 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
John Benediktsson d60970c0a5 io.standard-paths.windows: fix find-in-program-files.
Remove stale bfs? flag.
2017-03-05 19:17:14 -08:00
John Benediktsson 2ede9f09be io.standard-paths.windows: fix to use find-file-in-directories. 2017-03-05 15:58:59 -08:00
John Benediktsson 495d27a502 io.directories.search: fix linux tests.
Linux doesn't return alphabetic ordering like Windows and macOS, so
we just assert the paths are iterated in the correct order by depth.
2017-03-05 15:56:28 -08:00