Alexander Iljin
56ca2c3cb0
alien.data-docs: fix a typo
2020-04-13 19:33:42 +00:00
Alexander Iljin
e14cd169e1
io.files.windows: rename a stack effect to make it more readable
2020-04-13 19:33:42 +00:00
John Benediktsson
dc78ea1ac8
mirrors: make failures check error type.
2020-04-13 10:53:22 -07:00
Cat Stevens
90fcf7cfd5
mirrors: useless using
2020-04-13 17:52:09 +00:00
Cat Stevens
175a42bd49
mirrors: delete-at and clear-assoc are an error, fix #1757
...
M\ mirror delete-at and M\ mirror clear-assoc
have been made to throw a new
mirror-slot-removal error, because
it doesn't make sense to remove a
tuple slot, and this behaviour should
not have been relied on.
2020-04-13 17:52:09 +00:00
John Benediktsson
c56dd706ce
io.directories: use factor for touch-file.
2020-04-13 10:28:16 -07:00
Doug Coleman
1870c11c0b
io.directories: The only truly cross-platform binary is Factor.
2020-04-12 13:25:24 -05:00
Doug Coleman
4a48297387
io: Really fix the tests.
2020-04-12 11:04:50 -05:00
Doug Coleman
32410ebca7
Windows: Handle three places where Windows line endings break the tests.
...
Usually we check out with Unix line endings, but if you don't set this
option, then get adds extra newlines to text files. Since there are
only three places, let's just fix them.
Fixes #2276
2020-04-12 00:05:44 -05:00
Doug Coleman
2b85b27c17
io.directories: Maybe echo is a good cross-platform test?
...
4a6bd57977 (commitcomment-38433000)
2020-04-11 12:48:08 -05:00
Doug Coleman
723072726e
Revert "io.directories: Don't use ``touch`` because it's not default on Windows."
...
This reverts commit 4a6bd57977
.
We don't test anything without try-process.
2020-04-11 12:39:22 -05:00
Doug Coleman
4a6bd57977
io.directories: Don't use ``touch`` because it's not default on Windows.
2020-04-10 21:44:38 -07:00
John Benediktsson
ce7cad8bd3
webbrowser: disable some tests that open windows.
2020-04-09 13:35:28 -07:00
Doug Coleman
0e5a3e2f6a
openssl.libssl: Add functions to set options on SSL_CTX.
...
With these functions we can disable TLS1.0 and TLS1.1 someday.
Related to #2273 .
2020-04-07 22:34:43 +00:00
John Benediktsson
2c378da929
furnace.actions: better using.
2020-04-02 20:00:56 -07:00
John Benediktsson
c4d179643b
furnace.actions: cleanup using.
2020-04-02 17:31:41 -07:00
John Benediktsson
a785e279d5
windows.iphlpapi: use follow, it's simpler.
2020-04-02 17:30:13 -07:00
John Benediktsson
94d97a20f5
basis/extra: move tools.
2020-04-02 17:06:50 -07:00
John Benediktsson
7deab681c6
io.encodings.utf7: skip over first char when searching.
2020-04-02 12:32:05 -07:00
John Benediktsson
605dad2406
io.encodings.utf7: revert last patch, fixed and faster.
2020-04-02 10:54:51 -07:00
John Benediktsson
de3b74d1c6
basis/extra: move fewer things.
2020-04-01 21:37:28 -07:00
John Benediktsson
42cf41e616
Revert "basis: Move any vocabularies required by basis into basis."
...
This reverts commit 59c2956570
.
2020-04-01 21:37:28 -07:00
John Benediktsson
33eb8a7837
Revert "basis: Move more extra to basis."
...
This reverts commit 2d85dafa98
.
2020-04-01 21:37:28 -07:00
Doug Coleman
2d85dafa98
basis: Move more extra to basis.
...
I missed these because they were already loaded in my saved image.
2020-03-28 10:39:06 -05:00
Doug Coleman
59c2956570
basis: Move any vocabularies required by basis into basis.
2020-03-28 09:30:37 -05:00
John Benediktsson
497d6491e6
formatting: simplify using assoc>map instead of unzip map map zip.
2020-03-24 11:13:55 -07:00
John Benediktsson
5525313757
formatting: support other sequences in printf.
2020-03-24 11:11:15 -07:00
Doug Coleman
5cc97a4d1b
unix.process: Add posix_spawn stub.
...
I couldn't get this to work in all cases to replace spawn-process yet.
```
! works
{ "/bin/ls" "-al" } posix-spawn-args-with-path
! Broken on Linux64 for some reason
{
"/usr/bin/code"
"-g"
"-r"
"/home/erg/factor-master/basis/io/launcher/launcher.factor"
} posix-spawn-args-with-path
```
2020-03-15 17:23:21 -05:00
Doug Coleman
c23230ed82
windows: Move types to ole32
2020-03-15 13:31:46 -05:00
Doug Coleman
1abde46c79
windows: Move IStream to windows.com to fix bootstrap.
2020-03-15 13:21:38 -05:00
Cat Stevens
426d8f09b2
fix various typos; cleanup and fully document boyer-moore
2020-03-15 14:58:43 +00:00
John Benediktsson
ee4e977fbb
ui.text.core-text: apply @kusumotonorio patch.
2020-03-11 20:59:20 -07:00
Doug Coleman
85d15e865a
windows: Add more COM code.
2020-03-10 18:34:24 -05:00
John Benediktsson
717dce055a
images.loader: fix tests.
2020-03-10 10:20:21 -07:00
Doug Coleman
d98f0134ab
images.loader: fix using and kick the tires
2020-03-10 09:57:47 -05:00
Doug Coleman
39f8abc764
images.loader: Disable saving a bmp on win32.
...
This is probably fixable with enough auditing of the gdiplus flat
interface.
2020-03-10 03:53:14 -05:00
Doug Coleman
96d3482475
windows: Fix user32/shcore DPI functions.
2020-03-09 21:59:10 -05:00
Doug Coleman
37871d87f4
windows: Add a bunch of HighDPI functions.
2020-03-07 13:26:25 -06:00
Benjamin Pollack
bafb101b7a
windows; add functions to determine DPI scaling
2020-03-06 23:21:02 -06:00
Niklas Larsson
8df1d1fbe6
cache: Don't use in-place filter
...
This solves a UI corruption problem by not reusing the hashtable when
purging the cache. The root cause of why the hashtable gets corrupted
when filtering in place hasn't been found.
Fixes #1978 .
2020-03-06 23:14:44 -06:00
Doug Coleman
96b891f5d8
images.loader: Windows can save bmp files.
...
If there is a crasher, we can debug it.
2020-03-06 22:59:30 -06:00
Doug Coleman
d188bcf592
images.loader.gdiplus: Allow writing .bmp and do a better lookup.
2020-03-06 19:35:16 -06:00
Doug Coleman
97532d020a
ui.gadgets: Stale gestures can lose the associated gadget.
...
The gesture queue can send messages where the
focusable-child has disappeared.
Handle ``M: f focusable-child*`` by doing nothing.
Fixes #2117 .
2020-03-06 19:05:27 -06:00
Doug Coleman
8da5c2fc91
windows.ole32: Add more LONG: constants.
2020-03-06 19:05:07 -06:00
Doug Coleman
92cb20163f
windows.ole32: Add more error constants as long.
...
These are -2B..2B instead of positive integers because long is s32 on
Windows.
2020-03-06 17:53:38 -06:00
John Benediktsson
7eee21ab94
vocabs.metadata: cleanup a couple uses of metadata paths.
2020-03-05 09:33:41 -08:00
John Benediktsson
d94b135087
vocabs.metadata: cleanup paths to be fully specified.
2020-03-05 08:59:36 -08:00
John Benediktsson
3efe23cc71
ui.gadgets.panes: fix tests under dark-theme.
2020-03-03 15:23:18 -08:00
John Benediktsson
a462587833
html.templates.chloe: adding missing tests.
2020-03-02 19:01:01 -08:00
John Benediktsson
711297690b
websites.concatenative: navbar background.
2020-03-02 17:01:01 -08:00
John Benediktsson
290d0ed7d2
html.templates: adding meta tag and some chloe tests.
2020-03-02 15:57:19 -08:00
John Benediktsson
3b18827044
tools.errors: fix to match current behavior: "show".
2020-03-02 15:40:37 -08:00
John Benediktsson
ab9eca2454
bootstrap.image: add make-my-image to docs.
2020-03-02 15:40:22 -08:00
John Benediktsson
9abc2ae873
webapps.help: matching style for navbar.
2020-03-02 08:48:25 -08:00
John Benediktsson
a8d35345c4
extra: moving hash-sets.numbers, hashtables.numbers to basis.
2020-03-01 20:50:58 -08:00
John Benediktsson
50bd41d82f
help.html: move pre-wrap to css style fixup.
2020-03-01 18:32:47 -08:00
John Benediktsson
2c43df72ea
html.streams: fix tests.
2020-03-01 18:32:35 -08:00
John Benediktsson
5967033fe5
html.templates: adding t:script and t:write-script.
2020-03-01 12:05:59 -08:00
John Benediktsson
c64d9032b5
help.html: more responsive help docs.
2020-03-01 10:27:22 -08:00
John Benediktsson
e07abedafe
html.streams: monospace uses pre-wrap, wrap-margin sets width.
2020-03-01 10:27:22 -08:00
Cat Stevens
573e4ed198
math.matrices: fix/rename mnorm, update all norms
...
closes #2244
- `mnorm` has been renamed to `normalize-matrix`
to reflect what it actually does, which
is normalize a matrix, not find a norm
of a matrix.
- `mnorm` is no longer a word defined here.
- bugfix: previously, `normalize-matrix` found
the supremum of a matrix (`mmax`),
before taking the supremum's absolute
value (`abs`) and dividing the matrix
by it (`m/n`).
for matrices containing only negative
values and 0, the supremum is 0, and
a `div-by-zero` error was thrown.
`normalize-matrix` has been fixed to
first `abs` all the matrix elements,
and then find the supremum and divide,
it also receieved a zero-matrix? guard
for optimization and preventing
`div-by-zero`.
- new alias: `hilbert-schmidt-norm` for
`frobenius-norm`, to go along with
`math.matrices.extras.<hilbert-matrix>`
and improve searchability by physicists.
- new word: `matrix-p-norm`, written as an
analogue of `math.vectors.p-norm`.
- new word: `matrix-p-q-norm`, which generalizes
entrywise matrix norm over the L^p,q
vector space.
- new word: `matrix-p-norm-entrywise`:
`matrix-p-norm`'s fallback
for p =/= 1, 2, inf; analogue of
`math.vectors.p-norm-default`.
- all norm words have gotten new docs,
`zero-matrix?` guards as an optimisation,
and most have gotten new tests.
2020-03-01 03:31:28 +00:00
John Benediktsson
6599869f73
prettyprint.backend: make +nil+ render as L{ }.
2020-02-29 07:16:46 -08:00
John Benediktsson
dc8e6e6799
ui.gadgets.paragraphs: need to merge height/metrics.
...
Sometimes cap-height is false and we handle that differently.
2020-02-27 21:53:39 -08:00
John Benediktsson
086269ba34
help.html: default font size should be 12pt, less line-height for pre.
2020-02-27 21:44:32 -08:00
John Benediktsson
2379d27950
ui.gadgets.paragraphs: faster pref-dim.
...
Now computing gadget-metrics once, before called (measure-metrics) twice,
the first time adding the result, the second time dropping the top of stack.
2020-02-27 18:10:37 -08:00
John Benediktsson
ba09d70b8b
help.html: raise line-height to 150%.
2020-02-27 16:49:48 -08:00
John Benediktsson
d732e87cfa
help.html: less css reset.
2020-02-27 16:08:33 -08:00
John Benediktsson
7ec954ec05
help.html: use protocol agnostic link.
2020-02-27 14:40:50 -08:00
John Benediktsson
83f47eb209
help.html: make these match new wiki css.
2020-02-27 13:15:53 -08:00
John Benediktsson
43b82b03ad
math.vectors: rename "h." to "hdot"
2020-02-26 13:06:52 -08:00
John Benediktsson
da5d010c5b
math.vectors.simd: fix typo in simd vdot intrinsic.
2020-02-26 12:56:52 -08:00
John Benediktsson
07a5912afa
math.matrices: rename m./m.v/v.m to mdot/mdotv/vdotm.
2020-02-26 12:51:04 -08:00
John Benediktsson
1c5d417100
math.vectors: rename "v." to "vdot"
2020-02-26 12:40:16 -08:00
John Benediktsson
29054e53e8
help.markup: make sure lists wrap wider.
2020-02-26 12:02:20 -08:00
John Benediktsson
385c5edf1a
calendar: remove unnecessary effects on generics.
2020-02-26 11:34:02 -08:00
John Benediktsson
6ee821e061
prettyprint.stylesheet: s/stack-effect-style/base-effect/style/.
2020-02-26 11:18:18 -08:00
John Benediktsson
049271d04e
help.markup: cleanup using.
2020-02-26 11:08:13 -08:00
John Benediktsson
59ddb844e9
prettyprint.stylesheet: change stack effects to not be green.
2020-02-26 11:07:46 -08:00
John Benediktsson
2cbcacad88
core/basis/extra: update some tags.txt.
2020-02-26 10:57:08 -08:00
John Benediktsson
522f30e520
xml.writer: remove M\ number write-xml.
...
This is likely an artifact from when numbers were treated as sequences,
which isn't needed anymore.
2020-02-26 10:24:23 -08:00
John Benediktsson
994ecb655b
help.html: assume even padding started out odd.
2020-02-26 10:03:35 -08:00
John Benediktsson
6796daab79
help.html: clone attrs in css-styles-to-classes and double padding.
2020-02-26 09:44:14 -08:00
John Benediktsson
15d6762449
help.markup: change $breadcrumbs to unicode.
2020-02-26 09:40:27 -08:00
John Benediktsson
6aa7d52473
ui.tools.browser: use unicode next/prev arrows.
2020-02-26 09:22:48 -08:00
John Benediktsson
c03a7b5ec2
ui.gadgets.panes: simplify <styled-label>.
2020-02-25 12:33:01 -08:00
John Benediktsson
94fcf3f2b6
html.streams: allow div-css-style to use span-css-style.
2020-02-25 12:30:51 -08:00
John Benediktsson
404aa1bc92
Revert "html.streams: use style-stream."
...
This reverts commit 6f9a7dcc9e
.
2020-02-25 12:10:42 -08:00
John Benediktsson
08dd854b15
lists: check for errors like L{ . 3 }.
2020-02-24 09:11:46 -08:00
John Benediktsson
20f0b8aa28
lists: make multiple dots a syntax error.
2020-02-23 07:29:02 -08:00
John Benediktsson
79add00e24
help.html: don't use sprintf.
2020-02-22 20:40:11 -08:00
John Benediktsson
83e46eb030
lists: simplify parse-list-literal to fix bootstrap issue.
2020-02-22 20:37:10 -08:00
kusumotonorio
0f6ec42e3e
lists.factor: rest: --> .
2020-02-22 19:58:55 -08:00
kusumotonorio
384f976deb
lists.factor: Added some vocab
2020-02-22 19:58:55 -08:00
kusumotonorio
a38b3dfd83
Supports dotted pair notation
2020-02-22 19:58:55 -08:00
John Benediktsson
189b54998d
Revert "help.markup: separate examples using newlines."
...
This reverts commit 76fcbdc690
.
2020-02-22 19:49:41 -08:00
John Benediktsson
2ee8635f1e
help.stylesheet: make some fonts bigger.
2020-02-19 21:55:29 -08:00
John Benediktsson
b73b3e04f9
help: simplify navigation-table.
2020-02-19 21:47:01 -08:00
John Benediktsson
76fcbdc690
help.markup: separate examples using newlines.
2020-02-19 21:47:01 -08:00
John Benediktsson
e0e58a62c5
ui.tools.browser: change $navigation to not use title-style.
2020-02-19 21:47:01 -08:00
John Benediktsson
1a84cede3b
ui.gadgets.panes: change approach to nested-pane-stream.
2020-02-19 21:47:01 -08:00
John Benediktsson
a7682c9854
io.styles: change style-stream to inherit all styles by default.
2020-02-19 21:47:01 -08:00
John Benediktsson
fa31902975
ui.tools.error-list: adding table header emphasis.
2020-02-19 21:47:01 -08:00
Doug Coleman
a91fbb54b0
syndication: Property can be present but f, handle this.
...
Test case:
"http://www.spreaker.com/show/2952221/episodes/feed " http-get nip parse-feed
2020-02-18 18:43:49 -06:00
John Benediktsson
3aa71bcb84
help.html: cleanup stylesheet a bit.
2020-02-17 14:50:48 -08:00
John Benediktsson
ff35f79f3e
help.html: change fixed font-size to relative.
2020-02-17 14:50:30 -08:00
John Benediktsson
2e5cec428a
help.markup: adding a $slots word to document slots, use it.
2020-02-16 22:36:19 -08:00
John Benediktsson
7de25b9f20
ui.gadgets.panes: make it clear that pane/pack/paragraph are not streams.
2020-02-16 19:23:29 -08:00
John Benediktsson
f651c8fd9a
ui.gadgets.pane: rename pane-clear to clear-pane.
2020-02-16 19:17:29 -08:00
John Benediktsson
8976014697
help.html: support style/class replacement in more tags.
2020-02-15 10:27:22 -08:00
John Benediktsson
7b0f6efe7f
ui.gadgets.panes: use style-stream.
2020-02-15 09:35:09 -08:00
John Benediktsson
6f9a7dcc9e
html.streams: use style-stream.
2020-02-15 09:33:55 -08:00
John Benediktsson
4a05a845bc
io.styles: rename do-nested-style, make private.
2020-02-15 09:22:41 -08:00
John Benediktsson
d0a44d665e
io.styles: only allow character styles to inherit.
2020-02-15 08:42:06 -08:00
John Benediktsson
be746c1f6d
help: unify code-char-style and code-style.
2020-02-15 08:40:21 -08:00
John Benediktsson
647a477d68
help.html: vertical-align images.
2020-02-14 22:31:12 -08:00
John Benediktsson
75db2b0d4a
help.markup: change default-style to use with-nesting.
2020-02-14 22:18:38 -08:00
John Benediktsson
1da20adc63
help: change $title to only use with-nesting.
2020-02-14 22:17:41 -08:00
John Benediktsson
6adabbdf2d
io.styles: simplify style-stream by depending on style words.
2020-02-14 21:28:05 -08:00
John Benediktsson
3b08633604
help.html: whoops, need to remove the extra links.
2020-02-13 21:52:43 -08:00
John Benediktsson
ba81ca3fa6
help.html: tweak the navbar a bit.
2020-02-13 21:43:24 -08:00
John Benediktsson
d890f410bf
help.html: use max-width for content.
2020-02-13 21:07:25 -08:00
John Benediktsson
de294563d1
help.html: wrap contents in a div, update style a little.
2020-02-13 21:01:47 -08:00
John Benediktsson
a3730c329a
help: change $title to nest then style.
...
This changnes the HTML we produce to look like:
<div><span>...</span></div>
Instead of:
<span><div>...</div></span>
2020-02-13 21:01:03 -08:00
John Benediktsson
02ec3531c3
help.markup: more bold table headings.
2020-02-13 15:20:17 -08:00
John Benediktsson
38bfcd4bf1
help: add more bold table headings.
2020-02-13 15:18:43 -08:00
John Benediktsson
dc0a5ba216
help: add some bold table headings.
2020-02-13 15:07:15 -08:00
John Benediktsson
b94d9662f9
bootstrap.image: define MAIN: to make-my-image.
2020-02-13 14:56:35 -08:00
Doug Coleman
5cb26d546f
windows.gdiplus: flags{ } is in literals, fix using
2020-02-13 06:25:21 +03:00
John Benediktsson
bd0369e4e1
x11.xim: fix use of flags.
2020-02-12 08:37:13 -08:00
John Benediktsson
d2ab01a5d9
core/basis/extra: use flags{ } in places.
2020-02-11 13:27:42 -08:00
John Benediktsson
fe929be0f4
io.directories.windows: don't need to wrap.
2020-02-11 13:25:44 -08:00
John Benediktsson
4e91f55f1e
vocabs.hierarchy: change sorting to sort visible-dirs.
2020-02-09 10:00:18 -08:00
John Benediktsson
1a1ee4b4a8
vocabs.hierarchy: faster all-disk-vocabs-recursive.
...
The old technique caused a high amount of redundant ``exists?`` checks,
even though we are traversing the directory tree. That happens to be a
little slow on Windows, for some pathological reason, the first time
it's run. This should make it better while we also investigate why
``windows_stat`` is slower in that case.
2020-02-09 09:04:14 -08:00
John Benediktsson
b430f8e0a7
io.files.windows: make win32-file-attributes a little faster.
2020-02-07 14:11:43 -08:00
John Benediktsson
dfc4901857
math.statistics: adding interquartile-range, midhinge, and fivenum.
2020-02-06 11:40:53 -08:00
John Benediktsson
2200468755
gobject-introspection: support more number type constants.
2020-01-30 08:23:13 -08:00
John Benediktsson
dfdbde9f33
math.matrices: use any? and all? directly in tests.
2020-01-28 20:44:19 -08:00
John Benediktsson
464f0a11ef
math.matrices: update using on tests.
2020-01-28 20:38:43 -08:00
John Benediktsson
6aa8f640c8
persistent.hashtables: cleanup.
2020-01-28 16:22:33 -08:00
John Benediktsson
548109bf4b
math: use sorted-histogram values in a few places.
2020-01-28 16:21:33 -08:00
John Benediktsson
94cbe2b479
ui.gadgets.panes: fix for big strings on windows and linux.
...
Using 3639 grapheme length, which is win32 limit. Maybe cairo supports
4681 graphemes, but use the lower limit for now.
2020-01-28 16:16:09 -08:00
John Benediktsson
a62ea78d73
ui.backend.cocoa.views: some formatting cleanup.
2020-01-24 14:47:42 -08:00
kusumotonorio
fb3928f807
Tests for System V AMD64 ABI ( #2233 )
...
* Adds Tests for System V AMD64 ABI
* Remove TABs, etc.
* Adds a test
* Some Cleanup
* Add Callback Tests
* Add More Tests
2020-01-24 21:54:33 +00:00
John Benediktsson
4e17fb13cb
Merge pull request #2235 from kusumotonorio/system-v-amd64-abi
...
Improved System V AMD64 ABI compliance
2020-01-24 21:52:40 +00:00
kusumotonorio
1eaa895c8a
unix.factor: Bug fix etc., boxing.factor: Improves record/unrecord-reps
2020-01-23 20:02:03 +09:00
kusumotonorio
95519b0130
boxing.factor: Swap first and second positions
2020-01-20 20:47:16 +09:00
kusumotonorio
7349f9d953
boxing.factor: Use count
2020-01-20 20:38:43 +09:00
kusumotonorio
aba3d66849
unix.factor: Use count
2020-01-20 18:53:26 +09:00
kusumotonorio
e6726acd02
put alien.factor back
2020-01-19 22:27:17 +09:00
kusumotonorio
c258a4e2f4
Add Callback Tests
2020-01-19 21:57:05 +09:00