Commit Graph

14383 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Doug Coleman 06e85cc606 http.server: Actually use the port remapping instead of throwing it away.
For a port 8080 remapped to port 80, the ``or`` in this line looks like ``8080 80 or`` which doesn't get the remapped port.

Fixes #692 and #1992.
2018-06-23 11:41:41 -07:00
Doug Coleman 2ca1b32580 help.lint.checks: remove debug to fix deploy 23 2018-06-20 06:49:25 -05:00
Doug Coleman 88e58f9da8 factor: fix a few issues with new patch. 2018-06-19 23:39:33 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman 317ceee23c tools.scaffold: delete from root cache but allow vocab to exist already.
If tools.scaffold fails, it is nice to rerun it to finish scaffolding anything it failed on and have it give you links to the files.
2018-06-15 18:09:21 -05:00
John Benediktsson b854217796 tools.scaffold: quick fix for scaffold-vocab bug.
root-cache was getting added to with ``f`` and then subsequent check fails.
2018-06-15 15:51:45 -07:00
Doug Coleman a33128a4b3 io.directories.search: link-info better than file-info because file-info can crash if the link is bad. 2018-06-13 22:31:39 -05:00
John Benediktsson e19bb995fa system-info.macosx: new code name Mojave. 2018-06-04 11:38:51 -07:00
Doug Coleman aa87e69d25 Revert "VM: removing the unused callstack-bounds primitive"
This reverts commit c55a6ef873.

This primitive is useful for fixing the macOS pthread bug and the javascriptcore library.
2018-06-03 22:12:28 -05:00
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
John Benediktsson 0099da77e1 english: fix up docs. 2018-02-15 13:50:53 -08:00
John Benediktsson be657a20fb english: change comma-list to fit my brain better.
We can always map-index in the caller if you want it before passing the parts in.
2018-02-15 13:47:23 -08:00
John Benediktsson f960c51878 Squashed commit of the following:
commit 429917d51c569b28d43b64f3b116e6b750e77c72
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Thu Feb 15 15:54:50 2018 -0500

    fix <PRIVATE> inside ARTICLE: ?!?!

commit b93243511c40ca7fd06120d089ead172df46c8b7
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 18:11:26 2018 -0500

    pluralize definition fix

commit e461c08166f98b974ae0e9075331dd388c1bcb48
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:28:05 2018 -0500

    update some words

commit 573ba01d6310d64788d13685dfc46099ffddb01b
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:06:42 2018 -0500

    remove a useless comment

commit 7733ade275a904449a3c691f4142329aaf73081e
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 14:30:06 2018 -0500

    extra/help.lint.coverage: update doctests because of new 100% coverage in basis/english

commit 9f89d2f5a261188dbd030b868323e3a0e95fb6c8
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Tue Feb 13 18:51:33 2018 -0500

    basis/english: new words; full help and test coverage
2018-02-15 13:21:27 -08:00
John Benediktsson 42b37dcc8a fix some tests broken by previous commit. 2018-02-15 13:16:39 -08:00
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
John Benediktsson 3a1fb4d588 assoc-heaps: adding / fixing test case. 2018-02-14 16:52:53 -08:00
John Benediktsson c0a8d0cf1f typed: cleanup using. 2018-02-14 16:22:04 -08:00
John Benediktsson 59bc3a1ca0 io.directories.search: use fry instead of curry in find-file. 2018-02-14 16:21:50 -08:00
John Benediktsson 30739e70ff tools.deprecation: use none?. 2018-02-14 11:57:55 -08:00
John Benediktsson bd9676e152 core/basis/extra: use none?. 2018-02-14 11:56:31 -08:00
John Benediktsson df9ddd1ddd db.sqlite: remove unused "db-table" namespace variable. 2018-02-14 10:40:07 -08:00
John Benediktsson 276534a5e1 db.tuples: simplify count-tuples. 2018-02-14 10:39:55 -08:00
John Benediktsson efcd5ab98d db.queries: set the "table-name" inside a with-variables. 2018-02-14 10:39:20 -08:00
John Benediktsson 9a9670c7ce db.errors: cleanup using. 2018-02-14 10:39:09 -08:00
John Benediktsson 8b71fe04f3 db.tuples: use fry instead of curry, fix stack effect of check-columns. 2018-02-14 09:49:27 -08:00
John Benediktsson cf137d9976 db.tuples: more efficient with-disposals if sequence passed in. 2018-02-14 09:42:19 -08:00
John Benediktsson 355bd0be77 db.types: simplify filter-ignores. 2018-02-14 09:19:21 -08:00
John Benediktsson 35591cc13b fix couple more typos in docs. 2018-02-13 11:44:32 -08:00
John Benediktsson 3e15dfc4cb documents: simplify text+loc. 2018-02-12 17:45:48 -08:00
John Benediktsson 0bd052500e fix another typo. 2018-02-12 17:17:44 -08:00
John Benediktsson a92d67fcb2 fix more typos in docs. 2018-02-12 16:43:08 -08:00
John Benediktsson 7d628b833d fix some typos in docs. 2018-02-12 16:22:49 -08:00
Cat Stevens b14d6085d6 fix a typo in compiler.tree.propagation.constraints documentation 2018-02-12 13:05:27 -08:00
John Benediktsson 9c22098dec ui.gadgets.labeled: make <labeled-gadget> not take a color.
This allows backwards compatibility with 0.97 API.  Adding
<colored-labeled-gadget> for a version with a colored divider
and implementing it with a gap between title bar and content
intead of a shelf border gadget.
2018-02-11 09:53:48 -08:00
Doug Coleman 2a45023e2f windows.dragdrop-listener: Fix the other using! 2018-02-11 00:12:47 -06:00
Doug Coleman 2464e70fad ui.pens.caching: Fix using. 2018-02-10 19:52:03 -06:00
Doug Coleman c8d63c56a9 factor: Clean up wrong form of specialized-arrays in using lists. 2018-02-10 15:25:36 -06:00
John Benediktsson 8f9bfae37c vocabs.metadata: rename vocab-file-contents to vocab-file-lines. 2018-02-09 10:19:33 -08:00
John Benediktsson 77f56b648f vocabs.metadata.resources: sometimes vocab-resources can be ``f``. 2018-02-09 10:19:06 -08:00
John Benediktsson 69b8555b32 help.markup: allow { $maybe { $sequence "lines" } } in docs. 2018-02-09 10:18:36 -08:00
John Benediktsson a791d297ea Revert "add $related-subsections"
This reverts commit 7c22e764f9.
2018-02-05 07:46:42 -08:00
Cat Stevens 7c22e764f9 add $related-subsections 2018-02-04 20:21:15 -08:00
Björn Lindqvist 0763be780f game.input.gtk: throw in case no display is found 2018-02-04 23:24:04 +01:00
Cat Stevens de3d01daef v0.2 help.lint.pedantic: move to extra 2018-02-03 14:58:32 -08:00
Cat Stevens 28336323b4 v0.1 help.lint.pedantic 2018-02-03 14:58:32 -08:00
Cat Stevens e3e41db6aa fix syntax typo in shaders docs 2018-02-01 21:21:01 +01:00
Björn Lindqvist 62f9acdbbc opengl.shaders: probably better to call the gl functions directly 2018-01-31 01:42:04 +01:00
Björn Lindqvist 713543644d opengl.shaders: docs + removing an unused word 2018-01-31 01:23:11 +01:00
Björn Lindqvist a9ebc772df ui.backend.gtk: gtk_init terminates, better throw exception 2018-01-29 11:44:27 +01:00
Björn Lindqvist f281a8cb87 ui.tests: remove badly baked unit test 2018-01-29 11:42:49 +01:00
Björn Lindqvist 62542c52a9 ui: try and ensure that the ui thread finishes #1905 2018-01-29 07:55:36 +01:00
Björn Lindqvist dd36f6ad57 ui: the with-ui-running combinator can be removed
It was only used within the (with-ui) words which in turn were only
called by with-ui.
2018-01-29 07:18:39 +01:00
John Benediktsson f0347b71cf Revert "cocoa.touchbar: try this."
This reverts commit f976d97983.
2018-01-28 11:23:31 -08:00
John Benediktsson f976d97983 cocoa.touchbar: try this. 2018-01-26 16:48:12 -08:00
John Benediktsson 10a3af39da tools.deploy: bump up deploy size for gpu.bunny. 2018-01-26 10:20:45 -08:00
John Benediktsson 7f37709c04 ui.tools.listener: implement vocab-word-completions. 2018-01-24 17:11:26 -08:00
John Benediktsson 9887829103 tools.completion: adding complete-vocab-words?. 2018-01-24 17:11:08 -08:00
Alexander Iljin 8a4dba4cd9 Fix the existing IN: suffixes for the test vocabs
Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.
2018-01-24 16:03:48 -08:00
Björn Lindqvist 71d2a373fe openssl.libcrypto.tests: should not forget to free the BIO 2018-01-24 20:20:38 +01:00
Björn Lindqvist 3b45c93ece gtk.*,gdk.*: not using find-library again 2018-01-24 15:37:47 +01:00
Björn Lindqvist 3a7c1ead3b alien.libraries.finder: find-library for gtk libs
This should make the code find the correct .so's when compiling Factor
yourself.
2018-01-24 13:17:54 +01:00
Björn Lindqvist 2424a77507 alien.libraries.finder.linux.tests: correcting in 2018-01-24 13:13:20 +01:00
John Benediktsson ed92cb066b math.bitwise: add >signed to docs next to >even, >odd. 2018-01-23 15:37:21 -08:00
John Benediktsson 86ee1d452a boxes: add stack-effect info to if-box?. 2018-01-22 20:19:57 -08:00
John Benediktsson 27db0b6346 windows.dropfiles: need to use windows.errors. 2018-01-22 16:06:04 -08:00
John Benediktsson 55030e7d11 biassocs: fix docs for set-at-once. 2018-01-22 13:23:23 -08:00
John Benediktsson cccdc09a71 ui: rename ui-windows to worlds. 2018-01-22 13:17:23 -08:00
Alexander Iljin d588a9dd3a windows.dropfiles: add startup hook to reset initialization status 2018-01-22 13:09:41 -08:00
Alexander Iljin b9eb4d546f windows.dragdrop-listener: update copyright year to 2018 2018-01-22 13:09:41 -08:00
Alexander Iljin deefb43bd2 windows.dragdrop-listener: make it produce file-drop gestures 2018-01-22 13:09:41 -08:00
Alexander Iljin 2d546cde54 windows.dropfiles: fix hwnd-reject-files and world-reject-files 2018-01-22 13:09:41 -08:00
Alexander Iljin ddd3965f98 windows.dropfiles[-docs]: update copyright year to 2018 2018-01-22 13:09:41 -08:00
Alexander Iljin 1224353571 windows.dropfiles: remove an exception suppression
Instead of suppressing all exceptions make a specific check for the
function avalability.
2018-01-22 13:09:41 -08:00
Alexander Iljin 8a24d1b25a windows.dropfiles[-docs]: remove unnecessary symbol 2018-01-22 13:09:41 -08:00
Alexander Iljin d4a849b192 ui.tools-docs: add a pointer to the file-drop gesture docs 2018-01-22 13:09:41 -08:00
Alexander Iljin 2ad605b9c7 ui.tools.listener: support file-drop gesture
The array of dropped file names is pushed onto the listener's stack.
2018-01-22 13:09:41 -08:00
Alexander Iljin 12d55bd882 windows.dropfiles: add summary file 2018-01-22 13:09:41 -08:00
Alexander Iljin afdef8c90e windows.dropfiles[-docs]: implement the file-drop gesture 2018-01-22 13:09:41 -08:00
Alexander Iljin 29ef0dcc59 windows.dropfiles: move two words from windows.dragdrop-listener 2018-01-22 13:09:41 -08:00
Alexander Iljin a236b11dfd windows.dropfiles: new vocab 2018-01-22 13:09:41 -08:00
Alexander Iljin 4c24cc2603 ui.gestures[-docs]: add the file-drop gesture and the dropped-files symbol 2018-01-22 13:09:41 -08:00
Alexander Iljin e4a9c1efc5 windows.user32: add a couple of functions and related constants
ChangeWindowMessageFilter is available since Vista.
ChangeWindowMessageFilterEx is available since Win7.
2018-01-22 13:09:41 -08:00
Alexander Iljin 751f88d9ec windows.shell32: remove duplicate HDROP type definition 2018-01-22 13:09:41 -08:00
Alexander Iljin 8acdd142cf windows.shell32: add some file drag-drop functions 2018-01-22 13:09:41 -08:00
Alexander Iljin 42fc4340ab windows.messages: add WM_COPYGLOBALDATA constant 2018-01-22 13:09:41 -08:00
Alexander Iljin 5690d4c25d windows.dragdrop-listener: call ole-initialize when necessary
This makes the code more robust and self-reliant.
2018-01-22 13:09:41 -08:00
John Benediktsson b43c652f68 biassocs: rename once-at to set-at-once. 2018-01-22 12:02:04 -08:00
John Benediktsson 2b31e95270 tools.scaffold: remove unused contains-dot?, contains-separator?. 2018-01-22 11:37:24 -08:00
John Benediktsson 7f23854b56 ui.operations: add docs for +secondary+. 2018-01-22 10:59:31 -08:00
John Benediktsson 603728b181 ui.tools.browser: adding back/forward to touchbar. 2018-01-22 10:46:50 -08:00
John Benediktsson f778422439 cpu.x86.assembler: fix article title to match other cpu.x86. 2018-01-22 10:46:39 -08:00
John Benediktsson 20534f06bb cpu.x86.features: fix article title to start with uppercase. 2018-01-22 10:18:20 -08:00
Alexander Iljin 083c73b232 windows.kernel32: add SetFileValidData function 2018-01-22 07:58:17 -08:00
Alexander Iljin cf5d0b349c ui.gadgets.editors-docs: fix a typo 2018-01-22 07:58:17 -08:00
Alexander Iljin d16cf66810 cpu.x86.features-docs: add some help on instruction-count 2018-01-22 07:58:17 -08:00
Alexander Iljin 5a627505ef ui.gesture-docs: amend propagate-gesture description 2018-01-22 07:58:17 -08:00
Alexander Iljin e07ba18839 ui: add find-windows to find multiple worlds matching a predicate 2018-01-22 07:58:17 -08:00
Alexander Iljin 183da87bf4 calendar.parser: simplify hms>duration 2018-01-22 07:58:17 -08:00
Alexander Iljin 261439fec6 random.windows: reduce verbosity of windows-crypto-context random-bytes* 2018-01-22 07:58:17 -08:00
John Benediktsson be20da972a concurrency.mailboxes: some cleanup and docs. 2018-01-22 07:51:43 -08:00
John Benediktsson 0133a674a4 concurrency.mailboxes: fix test now that get-all returns a vector. 2018-01-20 21:30:34 -08:00
John Benediktsson 0eb4fc2951 io.launcher.unix: cleanup find-process. 2018-01-20 13:33:16 -08:00
John Benediktsson cb89a14ed6 concurrency.mailboxes: use unless-disposed. 2018-01-20 12:23:32 -08:00
John Benediktsson f25d7313d6 concurrency.mailboxes: simplify mailbox-get-all-timeout. 2018-01-20 11:58:52 -08:00
Björn Lindqvist 3b78ec7b6f ui.render: small simplification 2018-01-20 18:10:06 +01:00
John Benediktsson f0fac14c14 system-info.macosx: adding High Sierra system-code-name. 2018-01-20 09:01:33 -08:00
John Benediktsson c68f0e0042 concurrency.distributed: use delete-at* instead of at/delete-at. 2018-01-20 08:18:36 -08:00
John Benediktsson 0ac73e1f11 concurrency.distributed: simplify a bit, mostly because...
... I'm not a fan of thd instead of thread, and it seemed (to me)
a little cleaner inlining assoc instead of using get/set words.
2018-01-20 08:16:25 -08:00
Alexander Iljin 392e57a0d5 concurrency.distributed: replace remote-thread connection slot with assoc
The new global assoc will match remote-thread instances with their
connection instances, if any. The slot removal will reduce the burden of
sending the remote-thread instances over the socket.
2018-01-20 08:12:38 -08:00
Alexander Iljin 5dec80711b concurrency.distributed: add myself to the vocab authors 2018-01-20 09:43:40 -06:00
Alexander Iljin 762268f2fe concurrency.distributed: implement with-connection combinator
This allows to send multiple messages over the same socket connection. The
old implementation used with-client, which sent a single message and then
closed the socket. The connection stream is stored in the new remote-thread
tuple slot named connection.
2018-01-20 09:43:40 -06:00
Alexander Iljin 72ed5bf73d concurrency.distributed: shorten stop-node implementation 2018-01-20 09:43:40 -06:00
John Benediktsson b40ba26bac basis/extra: removing '[ @ ] in favor of _ for fried quotations. 2018-01-19 23:40:23 -08:00
John Benediktsson dcb06f3cbd ui.backend.cocoa.views: use world get-global in touchbar-commands. 2018-01-19 15:39:52 -08:00
John Benediktsson 07e6e5e949 ui.gadgets.worlds: don't need world with-variable.
with-gl-context already does world set-global.
2018-01-19 15:09:27 -08:00
John Benediktsson c4d139ca9f porter-stemmer: use zip. 2018-01-19 12:13:58 -08:00
John Benediktsson d5b5706241 game.input.x11: use zip-as. 2018-01-19 12:13:35 -08:00
John Benediktsson 7bec9dcac7 windows.gdiplus: remove extra whitespace. 2018-01-19 09:22:39 -08:00
John Benediktsson 001ea5f6b4 ui.gadgets.worlds: revert back to 1 track-add. 2018-01-19 09:18:49 -08:00
John Benediktsson f33bf70ad6 ui.backend.cocoa.views: use queued-gesture for touchbar commands. 2018-01-18 22:20:27 -08:00
John Benediktsson b0ded020ea ui.gadgets.worlds: use constraints for single gadget in window. 2018-01-18 21:30:34 -08:00
John Benediktsson 1d751e7e12 ui.gadgets.worlds: world-attributes can specify fill and orientation. 2018-01-18 21:14:24 -08:00
Björn Lindqvist 09d3f243ef ui.backend.gtk: set the source priority to idle, fixes #1879 2018-01-18 23:25:30 +01:00
John Benediktsson d6fd4215d2 formatting: better error messages for unknown directives. 2018-01-18 08:54:06 -08:00
Björn Lindqvist f93da595f5 ui: undoing 9e9b70005b
The ui-thread variable absolutely is needed to ensure that only one UI
thread is running at the same time. If more than one UI thread runs,
they will be competing for events which causes all sorts of problems.
2018-01-18 17:30:51 +01:00
Björn Lindqvist 9f1935c7f1 ui.*: lets rename ui-running to with-ui-running
Because it is really annoying with global variables having the same name
as words.
2018-01-18 16:48:35 +01:00
Björn Lindqvist 78c31ada9e ui.*: doc updates 2018-01-18 16:48:35 +01:00
John Benediktsson 3147593b2c math.combinatorics: make selections use change-nth-unsafe again. 2018-01-17 14:17:44 -08:00
John Benediktsson 1beaa8f494 math.combinatorics: fix selections bug, geez. 2018-01-17 13:59:22 -08:00
John Benediktsson 9d35cd9048 math.combinatorics: fix selections bug that went missing before previous commit. 2018-01-17 13:55:05 -08:00
Björn Lindqvist 1c7c2a380c ui.gadgets.panes.tests: better than hardcoding values 2018-01-17 19:40:48 +01:00
John Benediktsson 3bf23d242d math.combinatorics: speed up selections word. 2018-01-17 10:36:12 -08:00
John Benediktsson 9a4441a80e math.combinatorics: remove memoize of factorial.
If lots of large factorials are computed could use too much memory.
2018-01-16 14:57:17 -08:00
Alexander Iljin 1c41499681 concurrency.messaging-docs: add a missing parenthesis 2018-01-16 13:40:14 -08:00
Alexander Iljin 737597fd5a concurrency.messaging-docs: add help for handle-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin d97a83889a concurrency.distributed-docs: add a note about send-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin 6bffbf4318 concurrency.distributed-docs: shorten some sample code 2018-01-16 13:40:14 -08:00
Alexander Iljin 620ab30ed7 concurrency.distributed-tests: add test for send-/reply-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin a25bffeb01 concurrency.distributed-docs: fix an error in port number specification 2018-01-16 13:40:14 -08:00
Alexander Iljin f1e4095d50 concurrency.distributed-docs: update an example code 2018-01-16 13:40:14 -08:00
Alexander Iljin 5d5b794100 io.servers-docs: fix link formatting 2018-01-16 13:40:14 -08:00
Alexander Iljin 74de0033b2 io.directories-docs: remove an extra character 2018-01-16 13:40:14 -08:00
Alexander Iljin ef0bf15eb4 db[.tuples|.types]-docs: replace "a SQL" with "an SQL" 2018-01-16 13:40:14 -08:00
Alexander Iljin 49665c546f db-docs: add a missing space 2018-01-16 13:40:14 -08:00
Alexander Iljin c9f5757dcd db-docs: fix the documentation for query-each and query-map 2018-01-16 13:40:14 -08:00
John Benediktsson fb9c3920ae ui.tools: enable touchbar commands. 2018-01-01 16:00:19 -08:00
John Benediktsson d2162da88e ui.backend.cocoa.views: allow up to 8 touchbar buttons. 2018-01-01 16:00:19 -08:00
John Benediktsson 07f4d19947 cocoa.touchbar: use arrays of strings instead of enums. 2018-01-01 16:00:19 -08:00
Doug Coleman 6ddeeac3dc tools.ps.windows: If we can't read the process command-line args, just
ignore the error.

Fixes #1788.
2017-12-30 20:30:28 +00:00
Doug Coleman 97a928a1bd images.loader.gtk: Add with-destructors. Fixes #1893.
Also did this on imac: cd /usr/local/lib && ln -s /opt/local/lib/libgobject-2.0.dylib .
2017-12-29 15:25:16 -06:00
Doug Coleman 6ab59c4446 present: add callable and pointer defs. 2017-12-28 17:56:50 -08:00
Doug Coleman 9dbfc9351c math.functions: nan: -> NAN: oops 2017-12-28 00:43:51 -08:00
Doug Coleman 099549940a math.functions: disable a test. 2017-12-27 22:28:20 -08:00
Doug Coleman c6f2cbdeaf glib.ffi: look for glib-2.0.dylib not glib-2.0.0.dylib 2017-12-18 17:02:06 -06:00
Doug Coleman 45766ff4e9 tools.deploy: cheat on file sizes. 2017-12-17 21:44:57 -06:00
Doug Coleman f6f15b9c82 io.socketes.secure: Use TLS 1.0 or TLS 1.2 certs.
Fixes #1887.
2017-12-17 20:02:29 -06:00
Doug Coleman db9073d98d openssl: Add TLS 1.0 test certs back for macOS 10.11.6.
Fixes #1887.
2017-12-17 20:01:27 -06:00
Doug Coleman 7d8fe2b54c io.sockets.secure.unix: Stop these tests from hanging on errors.
Specifically, the server writes its port to a mailbox. On Mac 10.11.6, the last macOS for my old computers, TLS1.0 is the last supported SSL protocol, and there is a yet-undebugged error. This patch at least exposes the error for debugging.
2017-12-17 18:49:52 -06:00
Doug Coleman 02a9bbefe7 concurrency.messaging: Fix a couple of confusing typos. 2017-12-17 18:49:30 -06:00
Doug Coleman 53951c4ade ui.gadgets.labeled: Fix a random failing unit test. 2017-12-09 04:02:11 -06:00
Doug Coleman 034337fd02 factor: latest -> master 2017-12-09 01:56:12 -06:00
Doug Coleman f96f6d787e bootstrap.image.upload: Downloads moved. 2017-12-09 00:25:17 -06:00
John Benediktsson c95a565619 ui.render: fix ghosting in gpu.demos.raytrace. fixes #1881. 2017-11-20 15:02:39 -08:00
Jon Harper 2a2aa7f915 ui.backend.x11, implement (fullscreen?) 2017-11-19 13:24:40 -08:00
John Benediktsson d2f3977768 ui.backend.cocoa.views: remove listener touchbar support (temporarily).
... it breaks deploys of other UI apps that aren't the listener.
2017-10-29 15:38:20 -07:00
John Benediktsson da0ca21fc8 ui.traverse: cleanup tests a little. 2017-10-25 19:00:47 -07:00
John Benediktsson e06b1d7ded ui.traverse: some cleanup, use locals to understand logic better. 2017-10-25 18:06:47 -07:00
John Benediktsson c22e55ce48 ui.gadgets.slots: move to ui.tools.inspector.slots. 2017-10-25 16:17:08 -07:00
John Benediktsson b90f37b13e ui.tools.common: only save tool-dim when not fullscreen. 2017-10-25 16:16:53 -07:00
John Benediktsson c2c879c999 ui.gadgets: remove dependence on ui.tools.common. 2017-10-25 15:56:40 -07:00
John Benediktsson 59af2ae3d7 ui.gadgets.slots: use with-lines like other tools. 2017-10-25 15:48:20 -07:00
John Benediktsson e376724aa8 ui.gadgets.search-tables: remove slot-protocol.
... too much complexity for not enough gain, I think.
2017-10-25 15:41:23 -07:00
John Benediktsson d1f5282c6d ui.gadgets.labeled: cleanup labeled-gadget words. 2017-10-25 15:00:22 -07:00
John Benediktsson b28bb90167 docs: fix models-range article link. 2017-10-25 14:59:57 -07:00
John Benediktsson 5b4339e429 ui: use (poorly named) white-interior theme word in a few places. 2017-10-25 13:57:35 -07:00
John Benediktsson 10d5d471fe tools.errors.model: remove in favor of ui.tools.error-list. 2017-10-25 12:42:33 -07:00
John Benediktsson af254f7f0f models: change some article names. 2017-10-25 12:10:51 -07:00
John Benediktsson 1a38a6f63a calendar.model: delete in favor of inline timers in lcd vocab. 2017-10-25 11:53:37 -07:00
John Benediktsson 88eff49c13 docs: cleanup some article titles that can be strings. 2017-10-25 11:11:44 -07:00
John Benediktsson 013adec055 source-files.errors: rename <definition-error> to new-source-file-error. 2017-10-25 10:45:46 -07:00
John Benediktsson 37794a326c sequences: rename setup-each to (each).
...to match (each-from), (2each), and (3each), etc.
2017-10-24 17:22:55 -07:00
John Benediktsson 1a952a1fdc combinators.smart: using each-from. 2017-10-24 17:05:23 -07:00
John Benediktsson aa5623eede math: using ``v.`` instead of ``v* sum`` in a few places. 2017-10-24 12:26:39 -07:00
John Benediktsson c3354c3167 ui.tools.deploy: cleanup using. 2017-10-24 11:32:35 -07:00
John Benediktsson 0b47618cb7 ui.gadgets.search-tables: change search-tables to use default-text. 2017-10-24 10:05:23 -07:00
John Benediktsson 02d6c8df1f ui.gadgets.editors: allow all editors to have default text. 2017-10-24 10:05:09 -07:00
John Benediktsson c6953d5d62 help.markup: simpler $url. 2017-10-23 16:55:41 -07:00
John Benediktsson 1006b4afc4 help.markup: allow $url to have display text that's not just the url. 2017-10-23 16:44:59 -07:00
Pi 4cb04165db use lists vocab in factor handbook 2017-10-23 16:33:36 -07:00
John Benediktsson 021e595c58 ui.tools.listener: change to just reset line-height so it can be recomputed lazily when needed. 2017-10-16 11:24:40 -07:00
Alexander Iljin 6de6cb687f ui.tools.listener: update interactor's line-height in set-listener-font 2017-10-16 10:28:10 -07:00
John Benediktsson dc001f9a34 ui.pixel-formats: apply @jonenst's patch for #1859. 2017-10-09 10:01:41 -07:00
Alexander Iljin 9cdb209d01 ui.backend.windows: explicate quotation parameters in add-wm-handler 2017-10-09 09:58:07 -07:00
Alexander Iljin d1d3a33617 windows.user32: add some of the power setting notifications API 2017-10-09 09:58:07 -07:00
Alexander Iljin 6c04569536 windows.ole32: add LPCGUID type 2017-10-09 09:58:07 -07:00
Doug Coleman b8a0feea5c Revert "openssl.libssl: The SSL struct has grown a lot."
This reverts commit af7a248131.

Crashes on Linux?

We should fix the SSL struct in another patch soon.
2017-09-24 23:17:35 -05:00
Doug Coleman af7a248131 openssl.libssl: The SSL struct has grown a lot.
Maybe this is related to #1860.
2017-09-24 23:10:44 -05:00
John Benediktsson 705e7018c8 random: minor doc improvement with $snippet. 2017-09-11 15:47:39 -07:00
Robert Vollmert 8ab4e94475 random-bytes: fix docs, aligning with random-bytes* 2017-09-11 15:44:36 -07:00
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00