Commit Graph

31719 Commits (3eb6e55ae4b51ec9de976f22a833f2f1f7605f5c)

Author SHA1 Message Date
John Benediktsson 3ee93ee68d lexer: cleanup docs for $slots. 2020-05-27 09:59:42 -07:00
John Benediktsson 10e19a3944 threads: cleanup docs for $slots. 2020-05-27 09:59:42 -07:00
Doug Coleman 0fb44180c0 db.sqlite.ffi: Update the sqlite3 bindings a bit. 2020-05-26 21:16:11 -05:00
John Benediktsson 130c1d8dd6 ui.gadgets.editors: fix page-up/page-down with one line. 2020-05-26 10:53:16 -07:00
John Benediktsson 8f3ce6f49a punycode: adding basic support for Punycode (RFC 3492). 2020-05-26 10:05:43 -07:00
Doug Coleman b1f29dc497 ui.backend.x11.keys: Enable numpad navigation keys for when numlock is off.
I recently got a Model F keyboard and the arrow keys weren't mapped.

To see the keycodes on Linux:

```
IN: ui.backend.x11.keys
: code>sym ( code -- name/code/f action? )
    dup . flush
    dup codes at* [ nip dup t and ] when ;
```

Also try ``USE: gesture-logger``
2020-05-22 18:18:31 -05:00
Doug Coleman 131c91b786 gesture-logger: Add as a demo! 2020-05-22 18:18:31 -05:00
John Benediktsson 02dd86a37d help.html: better tests, don't just drop the result. 2020-05-22 16:01:25 -07:00
John Benediktsson 0db8b2d012 help: some test fixes for recent behavior changes. 2020-05-22 14:41:00 -07:00
John Benediktsson ad1e4dcd11 help: change the "help" word-prop to store the actual documentation.
Change word-help to massage the $inputs and $outputs when requested.

Revert the help.lint.coverage checks to still look for $values.
2020-05-22 10:48:34 -07:00
John Benediktsson 409ce057f3 Revert "help.lint.coverage: change $values to $inputs and $outputs."
This reverts commit 61102548f4.
2020-05-22 10:47:27 -07:00
John Benediktsson 150c6a6554 help.html: adding back the link to factorcode.org.
It should probably be a cool logo or something...
2020-05-22 10:14:55 -07:00
timor 655f54af19 shell.nix: supply `wrapFactor` helper to make standalone factor binary
This adds the shell function `wrapFactor`.  This function is intended to wrap
the result of calling `build.sh` in the shell environment so it can be executed
outside of the nix shell.

Example:

```
$ nix-shell
[nix-shell] $ ./build.sh bootstrap
...build factor vm and image...
[nix-shell] $ wrapFactor .
exit
$ ./factor
```

`wrapFactor` takes the path to the factor root dir as argument, and expects the
binary `factor` and the image file `factor.image` there and uses Nixpkgs'
`makeWrapper` to wrap the `factor` executable in-place with the correct
`LD_LIBRARY_PATH`.  Afterwards, the factor executable can be called outside of
the nix-shell environment.
2020-05-22 17:11:26 +00:00
John Benediktsson 802bb073b0 help.html: better navbar on iPhone. 2020-05-22 10:03:39 -07:00
John Benediktsson e2fa0a6392 ui.backend.cocoa.views: fix jittery resize.
This could still be improved since this current approach pauses Factor
execution when the window is being resized, and it could instead
maybe detect inLiveResize or something and be smoother.
2020-05-22 08:23:20 -07:00
John Benediktsson 61102548f4 help.lint.coverage: change $values to $inputs and $outputs. 2020-05-22 08:06:36 -07:00
John Benediktsson eded28cc74 help: splitting $values into $inputs and $outputs.
This is an automatic conversion, so we can keep writing docs the way we
have been.
2020-05-21 19:47:28 -07:00
John Benediktsson 27215982e6 help.html: copy image resources to output directory.
This helps avoid needing so many different static responders in
webapps.help, and makes the documentation more self-contained.
2020-05-21 19:17:56 -07:00
John Benediktsson da8a378b38 ui.tools.error-list: changing icons from tiff to png. 2020-05-21 17:31:41 -07:00
John Benediktsson 4e498ad3b7 webapps.help: whoops. 2020-05-21 17:25:03 -07:00
John Benediktsson 2e2f1d673a help.html: support ui/tools/error-list/icons also. 2020-05-21 17:23:47 -07:00
John Benediktsson 868d970784 html.streams: move icon src mapping to help.html. 2020-05-21 17:19:36 -07:00
John Benediktsson d2114e913c syntax: allow anonymous MAIN:. 2020-05-21 14:19:43 -07:00
John Benediktsson 551e079da8 webbrowser: adding MAIN. 2020-05-20 20:26:02 -07:00
John Benediktsson 15b0f07b37 metar: add a main. 2020-05-20 19:47:47 -07:00
John Benediktsson 918436af7e websites.factorcode: update macos screenshot. 2020-05-20 11:11:57 -07:00
John Benediktsson 721cb84d2a definitions.icons: lighter open-vocab/unopen-vocab. 2020-05-20 10:46:34 -07:00
John Benediktsson e3fb39e3fe definitions.icons: prefer more isometric vocab icons. 2020-05-20 09:33:54 -07:00
John Benediktsson b277d96065 definitions.icons: fix unopen-vocab.png. 2020-05-19 21:46:46 -07:00
John Benediktsson ba80c1b6d6 definitions.icons: fix some 1x images. 2020-05-19 21:45:26 -07:00
John Benediktsson e28bcd400b help.html: use @2x images. 2020-05-19 20:53:08 -07:00
John Benediktsson 149cc270ff ui.images: fix for gl-scale-factor not being set. 2020-05-19 19:10:51 -07:00
John Benediktsson 27c9792108 ui.images: load 1x or 2x graphics. 2020-05-19 19:00:25 -07:00
timor 01a389cb68 compiler.tree.propagation.slots: remove unused word
The last use of `length-accessor?` has been removed in
8e227bc874, which obsoleted the `length` slot.
2020-05-19 10:18:15 -07:00
John Benediktsson e065e5b315 ui.theme: fix help-path-border-color to match toolbar-background. 2020-05-19 10:15:50 -07:00
John Benediktsson 1b007dd7fc Revert "ui.pens.image: allow float math."
This reverts commit 2d71fd9e22.
2020-05-19 10:00:05 -07:00
John Benediktsson fd4ddf588f ui: update more icons, including ui.tools.error-list. 2020-05-19 09:46:43 -07:00
John Benediktsson 1a3d061954 definitions.icons: minor tweak. 2020-05-19 08:25:49 -07:00
John Benediktsson 466f599d11 definitions.icons: minor tweaks. 2020-05-19 08:08:12 -07:00
John Benediktsson dc584bb671 unix.signals: bump time on tests. 2020-05-19 07:49:56 -07:00
John Benediktsson cc823e7db1 tools.profiler.sampling: bump runtime. 2020-05-19 07:46:25 -07:00
John Benediktsson 221b222f86 Revert "ui.baseline-alignment: allow floats in alignment."
This reverts commit c37e9551ad.
2020-05-19 07:41:06 -07:00
John Benediktsson 1ee94a168b ui.theme.images: minor scroll arrow fixes. 2020-05-18 21:20:10 -07:00
John Benediktsson 44003d802f ui.theme.images: minor cleanup. 2020-05-18 21:09:37 -07:00
John Benediktsson 2d71fd9e22 ui.pens.image: allow float math. 2020-05-18 20:57:03 -07:00
John Benediktsson cf5bc20b1b ui.gadgets.icons: draw icon on top of selected background. 2020-05-18 20:56:25 -07:00
John Benediktsson c37e9551ad ui.baseline-alignment: allow floats in alignment. 2020-05-18 20:53:14 -07:00
John Benediktsson c0ab4beb0c help.html: set the sizes of 2x definition icons. 2020-05-18 20:46:27 -07:00
John Benediktsson 65a3f0b6f4 ui.images: load all UI images as 2x for retina displays. 2020-05-18 20:45:58 -07:00
John Benediktsson 9635596b0b ui.gadgets.labels: only ceiling the height for now.
This might align to every other pixel on a 2x display but it fixes some
rendering artifacts with borders on subpixel boundaries.
2020-05-18 08:06:08 -07:00