Cat Stevens
358eb29357
math.functions docs: add logn to "powers and logarithms" article
...
logn function was omitted from the subsections in "powers and logarithms"
2018-06-03 13:42:18 -07:00
John Benediktsson
0d7233f2da
heaps: simplify by using data vector directly.
2018-05-08 15:11:36 -07:00
John Benediktsson
9b2eac2942
math.functions: one line logn
2018-03-22 15:19:14 -07:00
Cat Stevens
4c96c9343c
basis/math: add logn to math.functions ( fix #1981 )
2018-03-22 15:11:45 -07:00
John Benediktsson
60fddddc0d
ui.gadgets.sliders: prevent negative elevator-length.
2018-03-22 10:01:14 -07:00
Doug Coleman
dc52e28f2f
windows.surface-dial: Add surface-dial COM interface.
2018-03-17 18:39:12 -05:00
Doug Coleman
123c5133f0
windows.com.wrapper: Fix up docs example so it runs.
2018-03-17 18:15:30 -05:00
Doug Coleman
1d1f827f9b
windows: Add some more win32 calls.
2018-03-17 11:19:02 -05:00
Doug Coleman
de43042ecf
editors.visual-studio-code: Fix command-line args url.
2018-03-16 18:22:57 -05:00
Doug Coleman
63a21cbdd1
io.launcher.windows: Actually support +new-group+ and +new-session+.
...
DETACHED_PROCESS doesn't do what we want. Also, the check for
`windows?`` in a Windows vocabulary is quite suspect.
2018-03-16 18:22:23 -05:00
Doug Coleman
f164f47e41
editors: Launch editors as child processes. Hopefully this is ok on
...
other platforms.
On Windows, VSCode gets launched as a child process, which kills the
editor when Factor exits. This is not what we want. Add an overridable
option to launch editors as child processes, which should get repated
when Factor quits.
The confusion comes from ``run-detached`` which itself just
waits until the child process returns (as opposed to "detaching" a child
process from the parent process, which is called +new-group+ or
+new-session+ instead).
2018-03-16 18:13:17 -05:00
Doug Coleman
653af68a8e
Revert "use tilde paths instead of home append-path."
...
This reverts commit 8af27125ec
.
2018-03-15 08:45:12 -05:00
Doug Coleman
c1f38d6864
Revert "fix a couple more tilde paths."
...
This reverts commit b139a896ef
.
2018-03-15 08:42:46 -05:00
John Benediktsson
1685c4537c
tools.scaffold: adding scaffold for error classes.
2018-03-14 20:27:17 -07:00
John Benediktsson
c4f9ae8071
tools.hexdump: fix tests for slightly changed output.
2018-03-14 15:52:40 -07:00
John Benediktsson
5acacf109b
unicode.collation: minor cleanup.
2018-03-14 15:46:10 -07:00
John Benediktsson
880ce3d4b5
tools.hexdump: smaller binary sizes without formatting.
2018-03-14 13:34:41 -07:00
John Benediktsson
ee83e0f0d3
tools.hexdump: don't require stream-length
...
for better stdin compatibility.
2018-03-14 13:29:47 -07:00
John Benediktsson
f83449b688
Revert "io.backend.unix: fix handle-length on stdin."
...
This reverts commit b54da0f22b
.
2018-03-14 13:29:47 -07:00
John Benediktsson
3f64af43e1
tools.hexdump: much faster hexdump.
2018-03-14 11:22:47 -07:00
John Benediktsson
4e872db628
tools.hexdump: adding deploy file.
2018-03-13 14:17:21 -07:00
John Benediktsson
70749aa736
tools.hexdump: support stdin hexdump.
2018-03-13 13:53:47 -07:00
John Benediktsson
b54da0f22b
io.backend.unix: fix handle-length on stdin.
2018-03-13 13:53:26 -07:00
John Benediktsson
5c69396fb3
tools.cocoa: fix use of each-method-in-class.
2018-03-13 13:28:35 -07:00
John Benediktsson
d259d7ccec
cocoa: cleanup ?-> syntax and implementation.
2018-03-13 13:21:21 -07:00
John Benediktsson
5e18e609b3
cocoa: change ?-> to always cache stubs in syntax word.
2018-03-13 11:57:40 -07:00
John Benediktsson
1bffdff33a
cocoa.touchbar: another experiment for the 10.11 build machine.
...
NSButton.buttonWithTitle:target:action: is 10.12 and later.
2018-03-13 11:29:16 -07:00
John Benediktsson
ade70ab813
ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax.
2018-03-13 11:09:55 -07:00
John Benediktsson
a4f6d43645
Revert "cocoa.touchbar: quick hack to experiment with 1t 0.11 build problem"
...
This reverts commit 9fbddec50e
.
2018-03-13 11:06:43 -07:00
John Benediktsson
4883242292
ui.backend.cocoa.views: cleanup some method signatures.
2018-03-13 11:05:18 -07:00
John Benediktsson
268dfecb0b
cocoa.messages: fix for ".cxx_destruct" selector name.
2018-03-13 10:38:33 -07:00
John Benediktsson
365584a644
cocoa.messages: bind classname.methodname selectors also.
...
We currently have a problem which is all selectors are assumed to have
the same method effect. The problem is we can have method collisions,
for example:
NSObject.load is { void { id SEL } }
NSBundle.load is { char { id SEL } }
So, this inferred wrong:
IN: scratchpad [ NSBundle -> mainBundle -> load ] infer .
( -- )
But now we can do this instead:
IN: scratchpad [ NSBundle -> NSBundle.mainBundle -> NSBundle.load ] infer .
( -- x )
It doesn't really fix the original problem, but its a way to workaround
it and added ``method-collisions`` to report on the conflicts.
2018-03-13 10:17:33 -07:00
John Benediktsson
9fbddec50e
cocoa.touchbar: quick hack to experiment with 10.11 build problem
2018-03-12 09:38:05 -07:00
John Benediktsson
551144b8a2
grouping: change chunking to throw bounds-errors in nth.
...
instead of the more confusing slice-error.
2018-03-05 16:57:52 -08:00
Alexander Iljin
e749734b01
ui-docs: add help for resize-window
2018-03-05 16:45:35 -08:00
John Benediktsson
cb71664787
checksums.metrohash: don't need uint8_t-array.
2018-03-05 16:29:10 -08:00
John Benediktsson
6ca7703831
ui.backend.windows: fix resize-window to use "adjusted" dimensions.
2018-03-05 14:57:50 -08:00
John Benediktsson
368a99b0e1
specialized-arrays: slightly faster nth-unsafe.
2018-03-04 20:48:10 -08:00
Alexander Iljin
1386b556af
windows.kernel32: add the FILE_* constants for GetVolumeInformation
2018-03-04 21:27:28 +01:00
Alexander Iljin
bc3a4ceb9a
db.types-docs: mention the +primary-key+ in the appropriate help section
2018-03-04 21:27:22 +01:00
Alexander Iljin
b197af9446
db.sqlite: support the +primary-key+ modifier
2018-03-04 21:16:15 +01:00
Alexander Iljin
97a2a9533c
multiline-docs: amend the help for /*
2018-03-04 21:16:07 +01:00
John Benediktsson
6f408e38bd
gobject-introspection: cleanup using.
2018-03-03 16:14:48 -08:00
John Benediktsson
75168c1964
gobject-introspection: using xdg vocab.
2018-03-03 16:13:23 -08:00
John Benediktsson
8d672a382a
checksums.metrohash: fix using in tests.
2018-03-03 16:11:33 -08:00
John Benediktsson
7a23242460
checksums.metrohash: adding a first version of MetroHash algorithm.
2018-03-03 14:17:45 -08:00
John Benediktsson
b2de82042c
io.encodings.8-bit: adding KZ-1048 and KOI8-U.
2018-03-02 16:09:21 -08:00
John Benediktsson
6d2abd0122
io.encodings.8-bit: adding cp424.
2018-03-01 10:48:08 -08:00
John Benediktsson
7836dc0fc9
quoted-printable: whoops tests needs latin2, not latin1.
2018-02-28 11:08:45 -08:00
John Benediktsson
6d1bb9e1ba
io.encodings.8-bit: reimplement M\ 8-bit encode-string.
2018-02-28 10:35:33 -08:00
John Benediktsson
f43f88e7f0
io.encodings.latin1: re-implement M\ latin1 encode-string.
2018-02-28 10:35:23 -08:00
John Benediktsson
1b3a07ca44
io.encodings.8-bit: save 37% memory space by "compressing" codetable.
...
Instead of a biassoc with from/to hashtables, we make a from array that
is 256 length, using indexing instead of hashing since we know 8-bit
characters are [0,255] and the to hashtable.
2018-02-28 10:22:13 -08:00
John Benediktsson
557a6cca69
io.encodings.8-bit: remove latin1 help for now.
2018-02-28 09:56:04 -08:00
John Benediktsson
e11009d1a8
Revert "tools.deploy: bump image sizes."
...
This reverts commit 980b426760
.
2018-02-28 08:56:01 -08:00
John Benediktsson
0ab7ed6979
io.encodings: use new latin1 instead of 8-bit encoding from file.
2018-02-28 08:56:01 -08:00
John Benediktsson
093e6411be
io.encodings.latin1: adding a memory efficient latin1 encoding.
2018-02-28 08:56:01 -08:00
John Benediktsson
7dd32181dd
io.encodings.euc: make encoding table read-only.
2018-02-28 08:56:01 -08:00
Björn Lindqvist
1887593b8e
tools.test: improved docs
2018-02-27 13:20:57 +01:00
John Benediktsson
5098628f57
tools.scaffold.windows: handle rename of touch.
2018-02-26 20:45:14 -08:00
John Benediktsson
ce1de81ec6
cleanup a few resource paths.
2018-02-26 17:38:07 -08:00
John Benediktsson
b139a896ef
fix a couple more tilde paths.
2018-02-26 17:33:36 -08:00
John Benediktsson
43af9df6e0
tools.scaffold: rename ``touch.`` to ``scaffold-file``.
2018-02-26 17:21:27 -08:00
John Benediktsson
8af27125ec
use tilde paths instead of home append-path.
2018-02-26 17:17:15 -08:00
John Benediktsson
ca2612b906
io.encodings.8-bit: simplify by not implementing encode-string.
2018-02-26 15:19:53 -08:00
John Benediktsson
be5c7055ef
io.encodings.japanese: not used.
2018-02-26 15:02:44 -08:00
John Benediktsson
b74e8d3c22
Revert "io.encodings.8-bit: adding CP874."
...
This reverts commit 9cccb4de95
.
2018-02-26 12:30:11 -08:00
John Benediktsson
980b426760
tools.deploy: bump image sizes.
2018-02-26 12:13:35 -08:00
John Benediktsson
9cccb4de95
io.encodings.8-bit: adding CP874.
2018-02-26 11:45:11 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
f1030159af
io.encodings.iana: need IN: form for tests.
2018-02-25 20:25:37 -08:00
John Benediktsson
607de53ad3
more test IN: cleanup.
2018-02-25 15:44:16 -08:00
John Benediktsson
07d92b48e1
vocabs.refresh: slight cleanup.
2018-02-25 14:12:54 -08:00
John Benediktsson
4788bfba4c
vocabs.refresh: changing ``changed-vocabs`` to a hash-set.
2018-02-25 12:00:07 -08:00
John Benediktsson
d8813bf61a
help.vocabs: continue using convert-prefixes in $vocabs.
2018-02-24 18:11:26 -08:00
John Benediktsson
c48d3da8b5
tools.scaffold: revert previous commit.
2018-02-24 18:01:55 -08:00
John Benediktsson
b7d763a6e0
tools.scaffold: include vocab-root in error message.
2018-02-24 16:07:24 -08:00
John Benediktsson
68eb683387
tools.scaffold: make sure vocab does not exist.
2018-02-24 15:49:32 -08:00
John Benediktsson
c99ab4a652
help.html: cleanup using list.
2018-02-24 15:45:02 -08:00
John Benediktsson
cc0c5f2634
help.html: "no-roots no-prefixes" has a name, "filter-vocabs".
2018-02-24 15:45:02 -08:00
John Benediktsson
f96fb3bcc8
help.html: remove funky vocab-prefix hack.
2018-02-24 15:45:02 -08:00
Björn Lindqvist
3b36e969b2
math.statistics: the sample and population mean is the same
...
Afaik, the mean word works both for population data and for
samples. Which is different from standard deviations, where you have
different formulas for population and sample std.
2018-02-24 23:11:22 +01:00
Björn Lindqvist
97d9cee732
math.matrices: rename for consistency
...
Getting the sample cov matrix is actually much more common than getting
the population one.
2018-02-24 23:11:22 +01:00
John Benediktsson
3d1fff6572
db.tuples: use natural-sort in test case.
2018-02-22 14:23:22 -08:00
John Benediktsson
d573d44da1
db.tuples: simplify recreate-table.
2018-02-22 10:19:50 -08:00
John Benediktsson
da877c9e47
db.tuples: use recreate-table in tests.
2018-02-22 08:46:39 -08:00
John Benediktsson
a2ded18a0b
db.tuples: fix tests for select-me table not exists.
...
the first time run, the table can't be dropped because it doesn't exist.
2018-02-22 08:26:28 -08:00
Alexander Iljin
0d7fdb92b5
db.tuples-tests: add tests for each-tuple and update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
e3a2cf3a0f
db.tuples[-docs]: update copyright headers
2018-02-21 15:05:20 -08:00
Alexander Iljin
9e13db52a7
db.tuples[-docs]: add update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
16be5d0353
db.tuples[-docs]: add each-tuple
2018-02-21 15:05:20 -08:00
Alexander Iljin
e077aad163
db.{tuples,types}-docs: fix an indefinite article
...
Replace "a SQL" with "an SQL".
2018-02-21 15:05:20 -08:00
John Benediktsson
03a18c060b
io.streams.string: implement stream-tell for sbufs.
2018-02-21 15:05:20 -08:00
Doug Coleman
4a258dbc00
windows: Add some words that would be useful for Windows notifications.
2018-02-19 23:46:30 -06:00
Doug Coleman
618baf6753
ui.backend.windows: Refactoring how messages are handled a bit.
...
This is using a word from extra/
2018-02-19 23:45:21 -06:00
Doug Coleman
310a4a247c
alien.libraries: load-library is misnamed, refactor library-dll.
...
load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.
If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.
2018-02-19 10:38:21 -06:00
John Benediktsson
52de821e19
ui.gadgets.worlds: rethrow error so traceback is more obvious.
2018-02-16 16:19:51 -08:00
John Benediktsson
a4dcc12b98
sequences.extras: rename join-with to interleaved.
2018-02-16 08:42:07 -08:00
John Benediktsson
05df842e85
english: use ?pluralize in count-of-things.
2018-02-15 15:15:58 -08:00
John Benediktsson
7f5f4c348a
english: use join-with.
2018-02-15 14:46:57 -08:00
John Benediktsson
03141d93c1
english: simplify or-markup-example.
2018-02-15 14:12:42 -08:00