John Benediktsson
8cf877a1cd
websites.concatenative: rename cgi to gitweb.
2020-04-17 22:11:25 -07:00
Alexander Iljin
a06e9cc3b2
io.files.trash.windows: convert input path to absolute in send-to-trash
...
The input path must be absolute, but normalize-path can't be used, because
that returns UNC path, and SHFileOperation fails on any path prefixed with
"\\?", see https://docs.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shfileopstructa
Use absolute-path instead. The mixture of slashes and backslashes in the
path is tolerated, at least on Windows 10.
Add a simple unit-test.
2020-04-17 02:55:24 +00:00
Alexander Iljin
595cf81eb8
io.files.trash.windows: fix SHFILEOPSTRUCTW struct
...
Fix the incorrect field alignment. SHFileOperationW crashed with a memory
protection error while trying to dereference only part of the string
pointer.
2020-04-17 02:55:24 +00:00
Alexander Iljin
d486e39255
ui.gadgets.charts: delete some obsolete implementation comments
2020-04-14 10:41:33 -07:00
Alexander Iljin
d2b79e7185
images.viewer-docs: remove some extra spaces
2020-04-14 10:41:27 -07:00
John Benediktsson
5d818ccc71
mason.child: change windows code-heap from 200 to 100.
2020-04-13 13:36:10 -07:00
John Benediktsson
a89474786e
drive-strings: really move this time.
2020-04-13 12:53:13 -07:00
John Benediktsson
1e81dbdf17
drive-strings: move to windows.drive-strings.
2020-04-13 12:43:25 -07:00
Alexander Iljin
0b1a080bb0
sodium.secure-memory: fix a stack effect and add documentation
2020-04-13 19:33:42 +00:00
Alexander Iljin
97b07d9972
drive-strings: add a demo vocab for GetLogicalDriveStrings to extra
2020-04-13 19:33:42 +00:00
Alexander Iljin
24eff67e60
windows.version: new vocab
2020-04-13 19:33:42 +00:00
John Benediktsson
61ae19d7e4
sodium: fix help-lint warnings.
2020-04-13 11:16:18 -07:00
John Benediktsson
799912b953
sodium.secure-memory: fix return type of secure-memory=.
2020-04-13 11:13:20 -07:00
John Benediktsson
f0013a8815
sodium.secure-memory: apply @AlexIljin patch for secure-memory=.
2020-04-13 09:53:39 -07:00
Alexander Iljin
87d7908063
sodium.secure-memory: new vocab
2020-04-13 15:32:00 +00:00
Alexander Iljin
7d87d1ee8a
sodium.ffi: add 2020 to the copyright years
2020-04-13 15:32:00 +00:00
Alexander Iljin
a2bb9f117b
sodium.ffi: fix the pointer declaration syntax
2020-04-13 15:32:00 +00:00
Alexander Iljin
7a7b69c73d
sodium.ffi: add the Argon2i header definitions
2020-04-13 15:32:00 +00:00
Alexander Iljin
2ba1db0362
sodium.ffi: fix the array parameters in the function declarations
...
Add a couple of necessary constants.
2020-04-13 15:32:00 +00:00
Alexander Iljin
142d02ce43
sodium.ffi: add some SHA hash and HMAC headers
2020-04-13 15:32:00 +00:00
Doug Coleman
899c388ca7
benchmark.regex-dna: We have to read the input and output files with \n
...
line endings.
2020-04-12 11:23:38 -07: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
cff2fde9f9
mason.child: Up the codeheap size on Windows mason tests.
2020-04-10 21:31:56 -07:00
Doug Coleman
f5d0b8bfb0
sodium: Less stack shuffling in test.
2020-04-07 00:52:29 -05:00
John Benediktsson
2c014197c7
mason.test: change mason to load roots in order.
...
This will allow us to know when core depends on basis, or basis on
extra, because they should get load errors.
2020-04-03 09:44:45 -07:00
John Benediktsson
94d97a20f5
basis/extra: move tools.
2020-04-02 17:06:50 -07:00
John Benediktsson
3b1464630c
cli.git: revert process-contents patch.
2020-04-02 09:53:56 -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
Alexander Iljin
7e4c854714
rosetta-code.multisplit: reduce memory usage
...
Avoid creating a filtered sequence when all we need is its first element.
2020-04-02 01:50:01 +00:00
Alexander Iljin
9b143a826d
rosetta-code.multisplit: new vocab
2020-04-01 23:21:52 +00: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
Doug Coleman
172649f667
factor: Update all repos to point to github.com.
...
factorcode.org repo can get behind the github one due to #1862 and low RAM on the new factorcode.org server
Change strategy for calling git fetch to not include the branch name if we are on a detached HEAD
2020-03-15 13:06:02 -05:00
Cat Stevens
426d8f09b2
fix various typos; cleanup and fully document boyer-moore
2020-03-15 14:58:43 +00:00
kusumotonorio
d8f813a531
Reduced stack waste, added LOGIC-RED: and LOGIC-VAR:, a little speed up.
2020-03-15 03:22:57 +00:00
Doug Coleman
96d3482475
windows: Fix user32/shcore DPI functions.
2020-03-09 21:59:10 -05:00
Doug Coleman
9bb9afd5cc
ui.render.test: Replace reference image with an uncorrupted one.
...
To generate a rendering image:
USE: ui.render.test
"ui-render-test" run
render-output get-global "resource:reference.bmp" save-graphic-image
Fixes #2210 .
2020-03-06 19:37:02 -06:00
John Benediktsson
7eee21ab94
vocabs.metadata: cleanup a couple uses of metadata paths.
2020-03-05 09:33:41 -08:00
John Benediktsson
0be0c69ea5
pdf: heuristic for dealing with table wrapping.
2020-03-03 11:31:00 -08:00
John Benediktsson
9d16162371
pdf.values: fix names for some fonts.
2020-03-03 11:09:11 -08:00
John Benediktsson
5a1b773899
help.pdf: use 1.25 line-height on pdf.
2020-03-03 09:46:45 -08:00
John Benediktsson
b23fc52850
pdf.canvas: add concept of line-height multiplier.
2020-03-03 09:46:32 -08:00
John Benediktsson
ab81a957c9
logic.examples: cleanup, make hanoi tests assert output.
2020-03-03 08:09:52 -08:00
kusumotonorio
4ecc1110c8
logic.factor: [ quot call( -- ) ] --> quot
2020-03-03 15:59:07 +00:00
kusumotonorio
14ac76fc2c
factlog vocab ==> logic vocab
2020-03-03 15:59:07 +00:00
kusumotonorio
a37cb9857a
Rename directory, files.
2020-03-03 15:59:07 +00:00
kusumotonorio
431282afcf
catb0t's PR: add a Prolog-like %! ... multiline comment #6
2020-03-03 15:59:07 +00:00
kusumotonorio
c760a5aa8f
factlog
2020-03-03 15:59:07 +00:00
John Benediktsson
8fd4552b45
webapps.planet: use factor color.
2020-03-02 17:07:30 -08:00
John Benediktsson
c57580b06a
webapps.wiki: remove footer border-top.
2020-03-02 17:03:25 -08:00
John Benediktsson
711297690b
websites.concatenative: navbar background.
2020-03-02 17:01:01 -08:00
John Benediktsson
36553b34fb
webapps.wiki: better spacing on article list.
2020-03-02 16:07:09 -08:00
John Benediktsson
b9bd328f2e
webapps: remove floating factorcode.org links.
2020-03-02 15:39:53 -08:00
John Benediktsson
9abc2ae873
webapps.help: matching style for navbar.
2020-03-02 08:48:25 -08:00
John Benediktsson
5acf0512b9
websites.concatenative: make navbar use line-height.
2020-03-02 08:44:17 -08:00
John Benediktsson
52d371320f
webapps.wiki: 24px hamburger instead of 32px.
2020-03-02 08:40:23 -08:00
John Benediktsson
1c1d23fd99
webapps.help: responsive search.
2020-03-02 07:03:55 -08:00
John Benediktsson
a8d35345c4
extra: moving hash-sets.numbers, hashtables.numbers to basis.
2020-03-01 20:50:58 -08:00
John Benediktsson
522bc97e87
webapps.planet: a bit more style.
2020-03-01 14:41:03 -08:00
John Benediktsson
70fba55732
webapps.planet: more responsive css.
2020-03-01 14:35:04 -08:00
John Benediktsson
77fd680475
webapps.planet: use div to style post body.
2020-03-01 13:49:06 -08:00
John Benediktsson
b6853b8c6a
webapps.pastebin: more padding.
2020-03-01 13:46:41 -08:00
John Benediktsson
a07af0b593
webapps.wiki: style the header.
2020-03-01 13:46:27 -08:00
John Benediktsson
670f5a77a7
webapps.wiki: tweak line-height to fix issue with title.
2020-03-01 13:31:08 -08:00
John Benediktsson
d326e8f788
webapps.wiki: simplify and fix resize issue on mobile.
2020-03-01 12:20:32 -08:00
John Benediktsson
9336cd6efc
webapps.wiki: some responsive css (and JS for hamburger menu).
2020-03-01 12:12:08 -08:00
John Benediktsson
18a1d07d05
websites.concatenative: write script (if any) from children.
2020-03-01 12:11:31 -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
2511fa72de
websites.concatenative: fix for xhtml.
2020-02-29 08:25:52 -08:00
John Benediktsson
f169051860
websites.concatenative: device viewport css.
2020-02-29 08:25:16 -08:00
John Benediktsson
50f0d241b7
websites.factorcode: some downloads style.
2020-02-29 08:21:41 -08:00
John Benediktsson
24b85d774f
websites.factorcode: give logo a width also.
2020-02-29 08:14:10 -08:00
John Benediktsson
5c758c7018
websites.factorcode: better mobile responsive css.
2020-02-29 08:06:59 -08:00
John Benediktsson
0139e0d081
websites.factorcode: tinypng the logo.
2020-02-28 14:25:35 -08:00
John Benediktsson
835a83d311
websites.factorcode: more examples.
2020-02-28 13:16:58 -08:00
John Benediktsson
9237a4f289
websites.factorcode: more examples.
2020-02-28 13:04:46 -08:00
John Benediktsson
ed3cdf7ec7
websites.factorcode: smaller fonts in downloads table.
2020-02-28 12:03:07 -08:00
John Benediktsson
12079725ac
webapps: pre tag line-height.
2020-02-27 17:25:20 -08:00
John Benediktsson
741d9e2dd6
webapps.wiki: moving class description to wiki.css.
2020-02-27 17:21:33 -08:00
John Benediktsson
ba09d70b8b
help.html: raise line-height to 150%.
2020-02-27 16:49:48 -08:00
John Benediktsson
d3337d566e
Revert "webapps.help: just include the original css instead of duplicating."
...
This reverts commit 77b0c45a13
.
2020-02-27 16:41:20 -08:00
John Benediktsson
77b0c45a13
webapps.help: just include the original css instead of duplicating.
2020-02-27 16:27:15 -08:00
John Benediktsson
490c66ef5d
webapps.help: sync with help.html.
2020-02-27 16:09:03 -08:00
John Benediktsson
db1069a6dd
websites.concatenative: move container div to page.xml.
2020-02-27 15:11:55 -08:00
John Benediktsson
c719b096a5
webapps.planet: minor fixes.
2020-02-27 14:44:19 -08:00
John Benediktsson
4241854f94
webapps.pastebin: updated css style.
2020-02-27 14:44:05 -08:00
John Benediktsson
e329d3d9c2
webapps.planet: use protocol agnostic link.
2020-02-27 14:41:13 -08:00
John Benediktsson
d2eb77e849
webapps.planet: some css cleanup.
2020-02-27 14:28:51 -08:00
John Benediktsson
de6d2e2ccd
webapps.wiki: forgot this file.
2020-02-27 12:49:46 -08:00
John Benediktsson
79f1b8e409
websites.concatenative: cleanup css a bit.
2020-02-27 12:49:22 -08:00
Doug Coleman
b546d88e83
extra: Finish renaming a couple words
2020-02-27 01:04:52 +00:00
John Benediktsson
b1a70d47a4
websites.factorcode: a couple more examples.
2020-02-26 17:00:07 -08:00
John Benediktsson
391e3734ee
websites.factorcode: first pass cleanup of website.
2020-02-26 16:46:05 -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
95b695d664
fjsc: remove unnecessary stack effects on generic words.
2020-02-26 11:34:23 -08:00
John Benediktsson
2cbcacad88
core/basis/extra: update some tags.txt.
2020-02-26 10:57:08 -08:00