Commit Graph

14678 Commits (2c488736e40435bdff6365a58556023e93032c55)

Author SHA1 Message Date
Doug Coleman 464bd705f4 unix: Add more posix_spawnp and rename fork-process to call-fork.
- spawn-process will call posix_spawn()
- fork-process will call fork()

The environment variable should be used or else apps like VSCode won't open because the display isn't set.
2020-06-30 21:12:51 -05:00
John Benediktsson 3a091577ae vocabs.hierarchy: use ensure-vocab-root/prefix. 2020-06-26 20:19:24 -07:00
John Benediktsson d8f7bd067d vocabs.hierarchy: fix (disk-vocabs) on subvocabs. 2020-06-26 20:13:13 -07:00
Doug Coleman 35719d11b6 vocabs.hierarchy: Fix typo.
Closes #2314.
2020-06-26 19:17:11 -05:00
Doug Coleman 87022ea3b9 unix.linux.proc: Add cpuinfo flag "vmx flags".
Fixes #2315.

I'm not sure how this would have stopped a vocabulary from loading.

cpuinfo flags are in linux kernel repo:
 arch/x86/kernel/cpu/proc.c
2020-06-26 19:16:18 -05:00
Doug Coleman b6373caa4f system-info.macosx: 11.0 2020-06-22 13:49:48 -05:00
Doug Coleman 8aa76be5ed system-info.macosx: Big Sur 2020-06-22 13:11:06 -05:00
John Benediktsson 0b7122350e Revert "ui.gadgets.borders: don't convert border-loc to fixnum."
This reverts commit eb7aad96c0.
2020-06-15 07:36:52 -07:00
Doug Coleman d88ed6ce63 help.cookbook: Fix typo.
Fixes #2307.
2020-06-13 08:48:00 -05:00
Doug Coleman e9ab963df9 math.bitwise: Fix example for bitfield* 2020-06-12 19:40:47 -05:00
Doug Coleman a7b058bed1 math.bitwise: I can't implement ``bitfield*`` as ``reverse bitfield``
I don't really know why. Add some tests in the docs and document bitfield*
2020-06-12 19:24:02 -05:00
Doug Coleman c87811f611 ui.backend.cocoa: fix bootstrap -- vocab does not exist. 2020-06-12 18:43:01 -05:00
Doug Coleman 8efe213273 vocabs: On use-vocab we should throw an error if the vocabulary does not exist.
Also ui.pixel-formats.private does not exist so remove that.

Fixes #2298.
2020-06-12 18:23:45 -05:00
John Benediktsson c6f634d6a6 ui.tools.listener: re-order emacs keybinding docs. 2020-06-08 11:39:41 -07:00
John Benediktsson d9210f738d editors.vim.generate-syntax: merge in factor.vim.fgen. 2020-06-08 11:21:09 -07:00
Dusk f70ce01b51 editors.vim.generate-syntax: Match new generation
Also update the vim/syntax README.
2020-06-06 20:32:17 -07:00
John Benediktsson 35681032d9 ui.tools.listener: change previous/next line to multiline-editor. 2020-06-06 16:47:30 -07:00
John Benediktsson 02386eebcc ui.tools.listener: document emacs-style keybindings for now. 2020-06-06 16:28:40 -07:00
John Benediktsson 4f51adf8bf Revert "ui: better support for Emacs-style key bindings."
This reverts commit 928b4c6abc.
2020-06-06 16:20:21 -07:00
John Benediktsson e446f34280 Revert "ui.gadgets.editors: adding Ctrl-u support."
This reverts commit 046d128c97.
2020-06-06 16:19:51 -07:00
John Benediktsson 5c04baf757 Revert "ui.gadgets.editors: make Ctrl-A select-all if at column 0."
This reverts commit 9287b05d57.
2020-06-06 16:19:50 -07:00
John Benediktsson 43c2ffead2 Revert "ui.tools: change Alt- to Ctrl-Shift- for tools."
This reverts commit 9c3908e003.
2020-06-06 16:19:43 -07:00
John Benediktsson a9ad206edc ui.backend.gtk: don't let input-methods steal key-presses. 2020-06-06 16:09:15 -07:00
John Benediktsson 9c3908e003 ui.tools: change Alt- to Ctrl-Shift- for tools. 2020-05-29 14:59:45 -07:00
John Benediktsson 9287b05d57 ui.gadgets.editors: make Ctrl-A select-all if at column 0. 2020-05-29 14:56:58 -07:00
John Benediktsson 046d128c97 ui.gadgets.editors: adding Ctrl-u support. 2020-05-27 20:01:33 -07:00
John Benediktsson 928b4c6abc ui: better support for Emacs-style key bindings.
This changes a bunch of things like Ctrl-E for edit becomes Alt-E
(Cmd-E on macOS).  I think that's overall nicer, but let's play with it.
2020-05-27 19:49:30 -07:00
John Benediktsson 32fa577368 ui.gadgets.editors: can just use preedit-start>> as boolean. 2020-05-27 12:52:45 -07:00
John Benediktsson 258d7e05d6 models: cleanup docs for $slots. 2020-05-27 12:51:31 -07:00
John Benediktsson 82a34fe4b8 ui.gadgets.editors: fix off-by-one. 2020-05-27 11:50:04 -07:00
John Benediktsson c781933d6b ui.gadgets.editors: fix page-up/page-down behavior. 2020-05-27 11:43:29 -07:00
John Benediktsson f2189a32f4 ui.gadgets.editors: cleanup docs for $slots. 2020-05-27 11:43:12 -07:00
John Benediktsson c8afb239a0 ui.gestures: clean docs for $slots. 2020-05-27 11:18:20 -07:00
John Benediktsson d0a694a7fe ui.gadgets.tables: change hook>> to be called on all row-actions.
Not just when a selected-row was available and action>> was called.
Also, call the hook after the action, not before.
2020-05-27 09:59:42 -07:00
John Benediktsson 75d5a8a8f9 ui.gadgets.tables: 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
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
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 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
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 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 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