Commit Graph

13838 Commits (3861e85d09b4235081de3d9975ea427c07c371ea)

Author SHA1 Message Date
Björn Lindqvist 8675cb2c25 basis/,core/,extra/: more tags 2017-07-08 18:31:39 +02:00
Björn Lindqvist ba9a1ca5ef basic/, extra/: even more tags 2017-07-07 01:45:13 +02:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
John Benediktsson d78972e045 hash-sets/hashtables: remove wrapped-key, use slot-types for errors. 2017-07-06 11:25:11 -07:00
John Benediktsson 1eff2b3dbc hashtables/hash-sets: add some error checking...
...to the sequence/number wrapped versions.
2017-07-05 18:41:45 -07:00
John Benediktsson 46d4b33349 sorting.slots: make sort-keys-by and sort-values-by support hashtables. 2017-07-05 16:46:06 -07:00
John Benediktsson 94e285e6de vocabs.metadata: remove filter-don't-test (inline it instead). 2017-07-05 09:41:05 -07:00
Björn Lindqvist 178701f117 compiler.crossref: stray char broke bootstrap, sorry 2017-07-05 11:56:03 +02:00
Björn Lindqvist f8e34c7392 vocabs.metadata: removing words not used anymore 2017-07-05 01:50:39 +02:00
Björn Lindqvist 72807720f2 basis/,extra/: lots of new tags.txt files 2017-07-05 01:50:39 +02:00
Björn Lindqvist 5903f8f6b6 openssl.test: updating cert for openssl 1.1 (#1843)
The password is "password" as it was
2017-07-05 01:50:39 +02:00
Björn Lindqvist aab79a655c compiler.*: more docs 2017-07-05 00:51:26 +02:00
Doug Coleman 6cfa87a379 alien.endian: Add a couple more types. This vocab needs better
compatibility with c-types.
2017-07-03 19:15:22 -07:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07:00
Björn Lindqvist e9764621c9 io.standard-paths.unix: ofc /bin/ps should be included... 2017-07-03 00:56:55 +02:00
Björn Lindqvist 6f1f4e5968 io.standard-paths.unix: ifconfig isnt installed everywhere, but ps is 2017-07-02 17:17:46 +02:00
Björn Lindqvist 5156d250b9 checksums,openssl.libcrypto: make it work with openssl 1.1 2017-07-01 22:19:42 +02:00
Björn Lindqvist 97cf96b668 openssl: docs 2017-07-01 13:50:29 +02:00
Björn Lindqvist 2a5f5ca6b9 openssl.*,io.sockets.*: support for openssl 1.1
In the new version, a lot of c function names have changed. So a new
global ssl-new-api? is needed to know if the new or old names should be
used.
2017-07-01 13:41:22 +02:00
Björn Lindqvist 8b6ae235ab openssl.*: adding functions that are different in libbsl 1.1.x 2017-07-01 09:25:09 +02:00
Björn Lindqvist 522eb559e4 ui.tools: setting the initial tool dim as a multiple of the default font 2017-06-30 22:47:11 +02:00
Björn Lindqvist 7a9817aeb6 formatting.tests: conditioning some tests to pass on windows 2017-06-28 11:18:40 +02:00
Björn Lindqvist 3aac5a6591 ui: more docs and tests 2017-06-27 23:47:35 +02:00
Björn Lindqvist 9e9b70005b ui: the ui-thread variable isn't needed 2017-06-27 23:47:35 +02:00
Björn Lindqvist fe41e99437 ui: better handling of cascading errors
The second update-ui is wrapped in a recover so that if it fails
again, the UI system is stopped. That should fix the cascade problem
in #1827.
2017-06-27 23:47:35 +02:00
Björn Lindqvist 21500f2b2f help: fix to make the orphan articles index page render in fuel-help 2017-06-26 15:57:58 +02:00
Björn Lindqvist 0d8338ceb8 io.sockets.secure.openssl,openssl.libssl: ENUM: over syntax
The enum does the same thing as the custom syntax did and is a little
easier to understand.
2017-06-24 16:46:00 +02:00
Björn Lindqvist f2a8a79a1a basis/,extra/: removing some unnecessary EXCLUDE declarations 2017-06-24 16:38:34 +02:00
Björn Lindqvist 3f818637cd tools.trace: we can surely hardcode the excluded vocab list 2017-06-24 00:14:52 +02:00
Alexander Iljin c53895e03d pixel-format-docs: add a missing space 2017-06-21 12:36:39 +03:00
Alexander Iljin df576aa6c3 models-docs: update documentation 2017-06-21 12:36:38 +03:00
Alexander Iljin 5cc07a1c5f ui.gadgets.panes-docs: add a missing parenthesis 2017-06-21 12:36:32 +03:00
Alexander Iljin 24a071d6e6 ui.gadgets-docs: fix wording 2017-06-21 12:35:37 +03:00
John Benediktsson 3bd0776630 ui.gadgets.line-support: even though 1/.0 parses, change to 1/0. 2017-06-12 07:28:33 -07:00
John Benediktsson 7202cf0fb4 prettyprint: make sure float number-base is tested. 2017-06-11 13:45:22 -07:00
John Benediktsson 7b65b5193f prettyprint: remove tests for float .b and .o. 2017-06-11 13:43:02 -07:00
John Benediktsson bf6300b7b0 prettyprint: fix .b, .o, and .h for negative numbers.
Also makes these useful for nested printing in different number bases.
2017-06-11 10:57:01 -07:00
John Benediktsson 634df46db9 prettyprint.backend: allow octal and binary float printing. 2017-06-11 10:54:13 -07:00
John Benediktsson 3018010f67 prettyprint.sections: don't create empty strings with zero indent. 2017-06-11 10:53:55 -07:00
John Benediktsson e8cef24486 ui.tools.inspector: improve performance for large arrays and hashtables.
Using trick suggested by @AlexIljin, we compute the longest key and then
set the column widths to be { length-of-longest-key 0 }.
2017-06-11 08:59:45 -07:00
John Benediktsson 0fddbc2af1 formatting: revert change to %d, %o, %b, %x for now.
We should have a format character in the future to format using our Factor
binary, octal, and hex parser.  Maybe using the "alternate form" format
character like Python does? And if we do that, maybe print the 0b, 0o, 0x
prefixes? TBD.
2017-06-10 13:33:01 -07:00
John Benediktsson c503659a93 math.functions: fix another test impacted by float truncate change. 2017-06-10 13:33:01 -07:00
Doug Coleman 67c44bcf62 base64: Fix base64 for strings that don't end in equal signs.
Some uses of base64 in the wild do not have trailing ==, such as JWT (JSON Web Token) strings.
2017-06-08 21:03:40 -05:00
John Benediktsson 57de1f5ab0 math.functions: make -0.3 truncate return 0.0 instead of -0.0. 2017-06-08 11:27:48 -07:00
Jon Harper 1dceb069ad formatting: fix bug when using %e and the number rounds up in magnitude
99/10 0 format-scientific-simple was outputting 1.0e0 because
the mantissa was rounded up, so it had one extra character, and
the exponent was wrong.
2017-06-08 11:23:38 -07:00
Jon Harper 4df21818f5 formatting: change %.0f and %.0e to remove the radix character. It's more standard. 2017-06-08 11:23:38 -07:00
Jon Harper 756184607b formatting: make these tests actually test the expected code path 2017-06-08 11:23:38 -07:00
Jon Harper 552791d1cf formatting: don't force the presence of ".0" for %f and %e when precision is 0
It's misleading because you can think you have more precision than you really
do when looking at the output. So instead of "1.0", we can format it as "1" or
"1.".  And instead of "1.0e+00" we can format "1e+00" or "1.e+00".  In C,
printf does not print the radix character, it's prettier. But since the factor
parser accepts both styles, and keeping the radix character gives a stronger sense
that the number is approximate, I prefer to keep the radix character..
2017-06-08 11:23:38 -07:00
Jon Harper 762b22e1a8 formatting-docs, document ' ' as an alternative to '+' for positive numbers sign prefixing 2017-06-08 11:23:38 -07:00
Jon Harper 6061da92be formatting, allow uppercase exponent for bin floats in base 2 and 8 2017-06-08 11:23:37 -07:00
Jon Harper ccbb8116fc formatting, make %d, %o, %b work for ratios and floats 2017-06-08 11:23:37 -07:00
Jon Harper 438e22fceb formatting, fix %f and %e for ratios and integers 2017-06-08 11:23:37 -07:00
Jon Harper e1df9df735 formatting: fix missing '+' for %+e with negative exponent 2017-06-08 11:23:37 -07:00
Jon Harper 80e9d7c115 move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Jon Harper bf852cea6a add basis.math.functions.integer-logs: exact integer logarithms 2017-06-08 11:22:40 -07:00
Jon Harper 34f36a529e math.functions, speed up truncate for floats 2017-06-08 11:22:40 -07:00
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