Commit Graph

1827 Commits (36b2ac97efd94119dbf0aa8618ae6c68265a43b8)

Author SHA1 Message Date
John Benediktsson 115b7b62df basis: removing unnecessary method stack effects. 2020-09-09 15:00:54 -07: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 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 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 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 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 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 da8a378b38 ui.tools.error-list: changing icons from tiff to png. 2020-05-21 17:31:41 -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
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 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 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
John Benediktsson 06ff539b17 Revert "ui.gadgets.labels: make labels integer larger than text."
This reverts commit 0b294c5d50.
2020-05-18 08:02:06 -07:00
John Benediktsson 5d4a0b4f00 ui.gadgets.tracks: don't convert dims to floats in track-pref-dims-2. 2020-05-17 20:47:22 -07:00
John Benediktsson eb7aad96c0 ui.gadgets.borders: don't convert border-loc to fixnum. 2020-05-17 20:45:49 -07:00
John Benediktsson 0b294c5d50 ui.gadgets.labels: make labels integer larger than text. 2020-05-17 20:44:21 -07:00
John Benediktsson 457485dae7 ui.gadgets.labels: allow sub-pixel baseline and cap-height. 2020-05-16 11:18:11 -07:00
John Benediktsson 5f89facf9e basis/extra: replace "/ >integer" with "/i" in a few places. 2020-05-16 11:17:42 -07:00
John Benediktsson 68f6eeb3ad ui.gadgets.packs: change pack-layout not to round. 2020-05-16 11:10:18 -07:00
John Benediktsson b3412e8930 ui.gadgets: formatting. 2020-05-16 10:07:35 -07:00
John Benediktsson 33e72abff9 ui.baseline-alignment: better stack effects. 2020-05-16 10:05:11 -07:00
Alexander Iljin bcaba7b7c6 ui.gestures-docs: add code example to file-drop gesture documentation 2020-04-14 10:41:12 -07:00