Commit Graph

30121 Commits (4cba08aa8c64c47a1b2b3d18ff79f6e34b45ac3f)

Author SHA1 Message Date
Björn Lindqvist e8099389f9 FUEL: improved logging
point goes to end of buffer and a timestamp is added
2017-06-30 02:27:42 +02:00
Björn Lindqvist e27bd4020d Build: let's remove the NO_UI variable
That option has no effect on the build just confuses people because they
think Factor can be built with/without the UI. The runtime never depends
on any ui libraries.
2017-06-30 00:24:24 +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 1ed40f74f9 math.parser: fill argument must not be an empty byte-array 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 f718269d50 FUEL: can use the factor-on-vocab function instead 2017-06-27 23:47:35 +02:00
John Benediktsson dcb0cc8da7 Revert "compiler.cfg.gvn.avail: use ?infimum"
This reverts commit e6ce2eb455.
2017-06-27 10:03:41 -07:00
Alexander Iljin e6ce2eb455 compiler.cfg.gvn.avail: use ?infimum 2017-06-27 00:39:53 +02:00
Björn Lindqvist b20084317a VM: removing the annotations to please musl (#1836) 2017-06-26 17:43:14 +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 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