Commit Graph

29960 Commits (21500f2b2f8473d0408eb62184e7f29a01feb323)

Author SHA1 Message Date
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 eb62e1fe4e fuel.help: fix for a small help bug on vocabs without words in them 2017-06-26 15:53:54 +02:00
Björn Lindqvist 81446d7948 FUEL: confirmation prompt for cleaning browsing history seem overkill 2017-06-26 14:51:11 +02:00
Björn Lindqvist af940cbb24 FUEL: need to specify used vocabs 2017-06-26 05:44:51 +02:00
Björn Lindqvist 08354f638f fuel.eval: fixing the manifest gunk more
Some FUEL features doesn't ship a correct usings list so you need to use
the current manifests vocabs.
2017-06-26 05:44:51 +02:00
Björn Lindqvist be31d22797 FUEL: this looks unused 2017-06-26 05:44:51 +02:00
Björn Lindqvist 963d9da525 fuel.eval: refactoring to remove the globals eval-error and eval-output 2017-06-26 05:44:51 +02:00
Björn Lindqvist e020369b13 fuel.eval: better manifest handling in eval-in-context 2017-06-26 05:44:51 +02:00
Alexander Iljin fff7bc72a4 sequences.extras: add ?supremum and ?infimum 2017-06-25 16:26:45 -07:00
Björn Lindqvist f87d017624 FUEL: workaround for a bug caused by session.el 2017-06-25 20:06:45 +02:00
Björn Lindqvist 134a9fbcb4 VM: we can save the process by throwing a normal error here 2017-06-25 01:43:31 +02:00
Björn Lindqvist abbf8f8f1f VM: merging the profiling_sample and profiling_sample_count classes
This refactoring makes the code a bit simpler.
2017-06-25 01:17:12 +02:00
Björn Lindqvist e66b1a594a file-picker.linux: fixing open-file-dialog and save-file-dialog
I had to use utf8 string>alien over utf8 encode because the latter
doesnt null-terminate the string.
2017-06-24 23:49:07 +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 483325d0f0 core/: bunch of more docs 2017-06-24 16:42:59 +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 581489b64f sytax-docs: mention that numbers may contain commas 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 106e1ea4f3 sequences-docs: add short help for the words longest and shortest 2017-06-21 12:35:47 +03:00
Alexander Iljin 24a071d6e6 ui.gadgets-docs: fix wording 2017-06-21 12:35:37 +03:00
John Benediktsson 13e7ed3986 math.parser: allow 0B, 0O, and 0X number prefixes. 2017-06-15 15:53:01 -07: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 dc0b8994f0 Factor.app: update copyright. 2017-06-11 14:16:53 -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 f086b54067 odbc: Minor style fixes and add an error function. 2017-06-08 21:05:03 -05: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