]>
gitweb.factorcode.org Git - factor.git/log
Jon Harper [Thu, 6 Jul 2017 22:21:38 +0000 (00:21 +0200)]
formatting, workaround bug for "%.0e" and "%.0f" on windows
On windows, the underlying formatting implementation
uses a precison of 6 when asked to do a precision of 0.
Improve the post-processing so that it doesn't fully break
the formatted number. The previous implementation would change
"1.00000" to "10000", and 1.
00000e0 to
10000e0 ...
With this, windows has a different formatting for "%.0f" and "%.0e"
but at least it's the right number
Jon Harper [Thu, 6 Jul 2017 21:36:29 +0000 (23:36 +0200)]
formatting: fix exception when formatting the integer 0 using "%e"
Björn Lindqvist [Sat, 8 Jul 2017 16:31:39 +0000 (18:31 +0200)]
basis/,core/,extra/: more tags
Björn Lindqvist [Fri, 7 Jul 2017 13:18:54 +0000 (15:18 +0200)]
FUEL: need to specify vocab containing developer-name
Björn Lindqvist [Fri, 7 Jul 2017 13:01:26 +0000 (15:01 +0200)]
FUEL: breadcrumb system on vocabs/tag and vocabs/author pages
Björn Lindqvist [Thu, 6 Jul 2017 23:45:13 +0000 (01:45 +0200)]
basic/, extra/: even more tags
Björn Lindqvist [Thu, 6 Jul 2017 21:04:18 +0000 (23:04 +0200)]
basis/,core/,extra/: many new tags
John Benediktsson [Thu, 6 Jul 2017 18:25:11 +0000 (11:25 -0700)]
hash-sets/hashtables: remove wrapped-key, use slot-types for errors.
John Benediktsson [Thu, 6 Jul 2017 01:41:45 +0000 (18:41 -0700)]
hashtables/hash-sets: add some error checking...
...to the sequence/number wrapped versions.
John Benediktsson [Wed, 5 Jul 2017 23:45:23 +0000 (16:45 -0700)]
sorting.slots: make sort-keys-by and sort-values-by support hashtables.
Björn Lindqvist [Wed, 5 Jul 2017 22:33:22 +0000 (00:33 +0200)]
FUEL: ensures fuel-listener-mode and factor-mode has the same syntax table
Björn Lindqvist [Wed, 5 Jul 2017 22:24:47 +0000 (00:24 +0200)]
FUEL: more consistent font-locking of strings
John Benediktsson [Wed, 5 Jul 2017 16:41:05 +0000 (09:41 -0700)]
vocabs.metadata: remove filter-don't-test (inline it instead).
John Benediktsson [Wed, 5 Jul 2017 16:35:25 +0000 (09:35 -0700)]
misc/fuel: fix typo.
Björn Lindqvist [Wed, 5 Jul 2017 09:55:30 +0000 (11:55 +0200)]
compiler.crossref: stray char broke bootstrap, sorry
Björn Lindqvist [Tue, 4 Jul 2017 23:46:28 +0000 (01:46 +0200)]
vocabs.metadata: removing words not used anymore
Björn Lindqvist [Tue, 4 Jul 2017 21:09:28 +0000 (23:09 +0200)]
basis/,extra/: lots of new tags.txt files
Björn Lindqvist [Tue, 4 Jul 2017 20:44:57 +0000 (22:44 +0200)]
openssl.test: updating cert for openssl 1.1 (#1843)
The password is "password" as it was
Björn Lindqvist [Tue, 4 Jul 2017 22:51:26 +0000 (00:51 +0200)]
compiler.*: more docs
Björn Lindqvist [Tue, 4 Jul 2017 16:08:26 +0000 (18:08 +0200)]
FUEL: indenting the code examples in fuel looks cool
Björn Lindqvist [Tue, 4 Jul 2017 15:05:46 +0000 (17:05 +0200)]
fuel.help: breadcrumbs in article pages too
Björn Lindqvist [Tue, 4 Jul 2017 13:23:04 +0000 (15:23 +0200)]
FUEL: cool breadcrumb navigation for help pages
Björn Lindqvist [Tue, 4 Jul 2017 10:02:24 +0000 (12:02 +0200)]
irc.*: removing more EXCLUDE: (#1839)
Björn Lindqvist [Tue, 4 Jul 2017 03:10:58 +0000 (05:10 +0200)]
FUEL: fixing the name of the $vocab markup word
Doug Coleman [Tue, 4 Jul 2017 04:01:47 +0000 (21:01 -0700)]
roms.lunar-rescue: Fix docs link.
Doug Coleman [Tue, 4 Jul 2017 02:14:28 +0000 (19:14 -0700)]
alien.endian: Add a couple more types. This vocab needs better
compatibility with c-types.
Björn Lindqvist [Tue, 4 Jul 2017 01:28:25 +0000 (03:28 +0200)]
FUEL: clickabe http urls in fuel help
Björn Lindqvist [Tue, 4 Jul 2017 01:04:31 +0000 (03:04 +0200)]
space-invaders,lunar-rescue,balloon-bomber: let's move these into a common hierarchy
Björn Lindqvist [Mon, 3 Jul 2017 23:17:58 +0000 (01:17 +0200)]
balloon-bomber,lunar-rescue,space-invaders: fixing links in docs and comments
Björn Lindqvist [Mon, 3 Jul 2017 22:52:34 +0000 (00:52 +0200)]
windows.fullscreen: fix IN: declaration
Doug Coleman [Mon, 3 Jul 2017 19:00:44 +0000 (12:00 -0700)]
Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s
Björn Lindqvist [Mon, 3 Jul 2017 16:48:39 +0000 (18:48 +0200)]
ldcache: fixing article title
Björn Lindqvist [Sun, 2 Jul 2017 22:56:55 +0000 (00:56 +0200)]
io.standard-paths.unix: ofc /bin/ps should be included...
Björn Lindqvist [Sun, 2 Jul 2017 22:47:40 +0000 (00:47 +0200)]
ldcache: new vocab for reading and parsing the /etc/ld.so.cache file
Björn Lindqvist [Sun, 2 Jul 2017 22:13:06 +0000 (00:13 +0200)]
number-game: need to flush the output
Björn Lindqvist [Fri, 30 Jun 2017 04:54:29 +0000 (06:54 +0200)]
fullscreen: looks like the vocab belongs in the windows hierarchy
Björn Lindqvist [Sun, 2 Jul 2017 15:17:46 +0000 (17:17 +0200)]
io.standard-paths.unix: ifconfig isnt installed everywhere, but ps is
Björn Lindqvist [Sat, 1 Jul 2017 20:19:42 +0000 (22:19 +0200)]
checksums,openssl.libcrypto: make it work with openssl 1.1
Björn Lindqvist [Sat, 1 Jul 2017 11:50:29 +0000 (13:50 +0200)]
openssl: docs
Björn Lindqvist [Sat, 1 Jul 2017 11:41:22 +0000 (13:41 +0200)]
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.
Björn Lindqvist [Sat, 1 Jul 2017 07:25:09 +0000 (09:25 +0200)]
openssl.*: adding functions that are different in libbsl 1.1.x
Björn Lindqvist [Wed, 28 Jun 2017 12:25:38 +0000 (14:25 +0200)]
ui.tools: setting the initial tool dim as a multiple of the default font
Björn Lindqvist [Tue, 23 Aug 2016 13:25:19 +0000 (15:25 +0200)]
VM: removing init_globals(), calling init_mvm() instead
Björn Lindqvist [Fri, 30 Jun 2017 00:31:53 +0000 (02:31 +0200)]
FUEL: make the req-id always a 5-digit number.. prettier that way
Björn Lindqvist [Fri, 30 Jun 2017 00:27:42 +0000 (02:27 +0200)]
FUEL: improved logging
point goes to end of buffer and a timestamp is added
Björn Lindqvist [Thu, 29 Jun 2017 22:24:24 +0000 (00:24 +0200)]
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.
Björn Lindqvist [Wed, 28 Jun 2017 09:17:15 +0000 (11:17 +0200)]
formatting.tests: conditioning some tests to pass on windows
Björn Lindqvist [Wed, 28 Jun 2017 09:01:32 +0000 (11:01 +0200)]
math.parser: fill argument must not be an empty byte-array
Björn Lindqvist [Tue, 27 Jun 2017 21:29:52 +0000 (23:29 +0200)]
ui: more docs and tests
Björn Lindqvist [Tue, 27 Jun 2017 21:15:41 +0000 (23:15 +0200)]
ui: the ui-thread variable isn't needed
Björn Lindqvist [Tue, 27 Jun 2017 21:02:25 +0000 (23:02 +0200)]
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.
Björn Lindqvist [Tue, 27 Jun 2017 17:17:52 +0000 (19:17 +0200)]
FUEL: can use the factor-on-vocab function instead
John Benediktsson [Tue, 27 Jun 2017 17:03:41 +0000 (10:03 -0700)]
Revert "compiler.cfg.gvn.avail: use ?infimum"
This reverts commit
e6ce2eb45546494fd3503e3390294f1e8522c2db .
Alexander Iljin [Thu, 22 Jun 2017 10:49:01 +0000 (13:49 +0300)]
compiler.cfg.gvn.avail: use ?infimum
Björn Lindqvist [Mon, 26 Jun 2017 15:43:14 +0000 (17:43 +0200)]
VM: removing the annotations to please musl (#1836)
Björn Lindqvist [Mon, 26 Jun 2017 13:57:58 +0000 (15:57 +0200)]
help: fix to make the orphan articles index page render in fuel-help
Björn Lindqvist [Mon, 26 Jun 2017 13:53:54 +0000 (15:53 +0200)]
fuel.help: fix for a small help bug on vocabs without words in them
Björn Lindqvist [Mon, 26 Jun 2017 12:51:11 +0000 (14:51 +0200)]
FUEL: confirmation prompt for cleaning browsing history seem overkill
Björn Lindqvist [Mon, 26 Jun 2017 03:39:26 +0000 (05:39 +0200)]
FUEL: need to specify used vocabs
Björn Lindqvist [Mon, 26 Jun 2017 01:46:07 +0000 (03:46 +0200)]
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.
Björn Lindqvist [Mon, 26 Jun 2017 01:14:04 +0000 (03:14 +0200)]
FUEL: this looks unused
Björn Lindqvist [Mon, 26 Jun 2017 00:03:41 +0000 (02:03 +0200)]
fuel.eval: refactoring to remove the globals eval-error and eval-output
Björn Lindqvist [Sun, 25 Jun 2017 23:39:28 +0000 (01:39 +0200)]
fuel.eval: better manifest handling in eval-in-context
Alexander Iljin [Thu, 22 Jun 2017 10:32:46 +0000 (13:32 +0300)]
sequences.extras: add ?supremum and ?infimum
Björn Lindqvist [Sun, 25 Jun 2017 18:06:45 +0000 (20:06 +0200)]
FUEL: workaround for a bug caused by session.el
Björn Lindqvist [Sat, 24 Jun 2017 23:43:31 +0000 (01:43 +0200)]
VM: we can save the process by throwing a normal error here
Björn Lindqvist [Sat, 24 Jun 2017 23:15:40 +0000 (01:15 +0200)]
VM: merging the profiling_sample and profiling_sample_count classes
This refactoring makes the code a bit simpler.
Björn Lindqvist [Sat, 24 Jun 2017 21:49:07 +0000 (23:49 +0200)]
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.
Björn Lindqvist [Sat, 24 Jun 2017 14:46:00 +0000 (16:46 +0200)]
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.
Björn Lindqvist [Sat, 24 Jun 2017 14:42:59 +0000 (16:42 +0200)]
core/: bunch of more docs
Björn Lindqvist [Sat, 24 Jun 2017 14:38:34 +0000 (16:38 +0200)]
basis/,extra/: removing some unnecessary EXCLUDE declarations
Björn Lindqvist [Fri, 23 Jun 2017 22:14:52 +0000 (00:14 +0200)]
tools.trace: we can surely hardcode the excluded vocab list
Alexander Iljin [Tue, 20 Jun 2017 22:15:38 +0000 (01:15 +0300)]
pixel-format-docs: add a missing space
Alexander Iljin [Tue, 20 Jun 2017 18:51:14 +0000 (21:51 +0300)]
sytax-docs: mention that numbers may contain commas
Alexander Iljin [Tue, 20 Jun 2017 18:50:23 +0000 (21:50 +0300)]
models-docs: update documentation
Alexander Iljin [Thu, 15 Jun 2017 22:37:21 +0000 (01:37 +0300)]
ui.gadgets.panes-docs: add a missing parenthesis
Alexander Iljin [Sun, 11 Jun 2017 20:14:40 +0000 (23:14 +0300)]
sequences-docs: add short help for the words longest and shortest
Alexander Iljin [Wed, 7 Jun 2017 19:33:43 +0000 (22:33 +0300)]
ui.gadgets-docs: fix wording
John Benediktsson [Thu, 15 Jun 2017 22:53:01 +0000 (15:53 -0700)]
math.parser: allow 0B, 0O, and 0X number prefixes.
John Benediktsson [Mon, 12 Jun 2017 14:28:33 +0000 (07:28 -0700)]
ui.gadgets.line-support: even though 1/.0 parses, change to 1/0.
John Benediktsson [Sun, 11 Jun 2017 21:16:53 +0000 (14:16 -0700)]
Factor.app: update copyright.
John Benediktsson [Sun, 11 Jun 2017 20:45:22 +0000 (13:45 -0700)]
prettyprint: make sure float number-base is tested.
John Benediktsson [Sun, 11 Jun 2017 20:43:02 +0000 (13:43 -0700)]
prettyprint: remove tests for float .b and .o.
John Benediktsson [Sun, 11 Jun 2017 17:57:01 +0000 (10:57 -0700)]
prettyprint: fix .b, .o, and .h for negative numbers.
Also makes these useful for nested printing in different number bases.
John Benediktsson [Sun, 11 Jun 2017 17:54:13 +0000 (10:54 -0700)]
prettyprint.backend: allow octal and binary float printing.
John Benediktsson [Sun, 11 Jun 2017 17:53:55 +0000 (10:53 -0700)]
prettyprint.sections: don't create empty strings with zero indent.
John Benediktsson [Sun, 11 Jun 2017 15:59:45 +0000 (08:59 -0700)]
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 }.
John Benediktsson [Sat, 10 Jun 2017 20:31:26 +0000 (13:31 -0700)]
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.
John Benediktsson [Fri, 9 Jun 2017 18:28:21 +0000 (11:28 -0700)]
math.functions: fix another test impacted by float truncate change.
Doug Coleman [Fri, 9 Jun 2017 02:05:03 +0000 (21:05 -0500)]
odbc: Minor style fixes and add an error function.
Doug Coleman [Fri, 9 Jun 2017 02:02:13 +0000 (21:02 -0500)]
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.
John Benediktsson [Thu, 8 Jun 2017 18:27:48 +0000 (11:27 -0700)]
math.functions: make -0.3 truncate return 0.0 instead of -0.0.
Jon Harper [Sun, 9 Apr 2017 18:29:11 +0000 (20:29 +0200)]
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.
Jon Harper [Sun, 9 Apr 2017 18:26:39 +0000 (20:26 +0200)]
formatting: change %.0f and %.0e to remove the radix character. It's more standard.
Jon Harper [Sun, 9 Apr 2017 18:25:28 +0000 (20:25 +0200)]
formatting: make these tests actually test the expected code path
Jon Harper [Sun, 26 Feb 2017 15:55:49 +0000 (16:55 +0100)]
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..
Jon Harper [Sun, 26 Feb 2017 15:14:52 +0000 (16:14 +0100)]
formatting-docs, document ' ' as an alternative to '+' for positive numbers sign prefixing
Jon Harper [Sun, 26 Feb 2017 14:54:35 +0000 (15:54 +0100)]
formatting, allow uppercase exponent for bin floats in base 2 and 8
Jon Harper [Sun, 26 Feb 2017 14:50:38 +0000 (15:50 +0100)]
formatting, make %d, %o, %b work for ratios and floats
Jon Harper [Fri, 24 Feb 2017 16:01:45 +0000 (17:01 +0100)]
formatting, fix %f and %e for ratios and integers