Commit Graph

1773 Commits (014eaa51f3d63aebb7b0cf71fdaffbc012d5dbb2)

Author SHA1 Message Date
Pi 7c383a52ba make the caret color themeable 2018-09-07 10:02:25 -07:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
John Benediktsson dc25fe3688 ui.tools.listener: minor cleanup to completion stuff. 2018-08-01 21:08:43 -07:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman a3abec6f5c ui.backend.windows: And fix the UI for LoadCursor.
Related to #2011
2018-07-06 21:26:27 -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
John Benediktsson 60fddddc0d ui.gadgets.sliders: prevent negative elevator-length. 2018-03-22 10:01:14 -07:00
John Benediktsson ade70ab813 ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax. 2018-03-13 11:09:55 -07:00
John Benediktsson 4883242292 ui.backend.cocoa.views: cleanup some method signatures. 2018-03-13 11:05:18 -07:00
Alexander Iljin e749734b01 ui-docs: add help for resize-window 2018-03-05 16:45:35 -08:00
John Benediktsson 6ca7703831 ui.backend.windows: fix resize-window to use "adjusted" dimensions. 2018-03-05 14:57:50 -08: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
John Benediktsson 52de821e19 ui.gadgets.worlds: rethrow error so traceback is more obvious. 2018-02-16 16:19:51 -08:00
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
John Benediktsson 35591cc13b fix couple more typos in docs. 2018-02-13 11:44:32 -08:00
John Benediktsson 7d628b833d fix some typos in docs. 2018-02-12 16:22:49 -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 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
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 7f37709c04 ui.tools.listener: implement vocab-word-completions. 2018-01-24 17:11:26 -08:00
John Benediktsson cccdc09a71 ui: rename ui-windows to worlds. 2018-01-22 13:17:23 -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 afdef8c90e windows.dropfiles[-docs]: implement the file-drop gesture 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
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
Alexander Iljin cf5d0b349c ui.gadgets.editors-docs: fix a typo 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
Björn Lindqvist 3b78ec7b6f ui.render: small simplification 2018-01-20 18:10:06 +01: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 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
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
Björn Lindqvist 1c7c2a380c ui.gadgets.panes.tests: better than hardcoding values 2018-01-17 19:40:48 +01: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
Doug Coleman 53951c4ade ui.gadgets.labeled: Fix a random failing unit test. 2017-12-09 04:02:11 -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 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 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
Doug Coleman ed62640f83 Revert "ui.backend.cocoa.views: call super.prepareOpenGL()."
This reverts commit 864912f446.

This patch breaks the UI on 10.13
2017-08-08 15:29:59 -05:00
Doug Coleman c469bfaf0c ui.backend.cocoa.tools: install-app-delegate is a confusing word name to
reuse.
2017-08-06 17:48:03 -05:00
Doug Coleman 7d47def4c9 cocoa: CLASS: ; -> <CLASS: ;CLASS>
<CLASS: is a container like <PRIVATE and <FUNCTOR:
2017-08-05 20:54:02 -05:00
Björn Lindqvist 522eb559e4 ui.tools: setting the initial tool dim as a multiple of the default font 2017-06-30 22:47:11 +02:00
Björn Lindqvist 3aac5a6591 ui: more docs and tests 2017-06-27 23:47:35 +02:00
Björn Lindqvist 9e9b70005b ui: the ui-thread variable isn't needed 2017-06-27 23:47:35 +02:00
Björn Lindqvist fe41e99437 ui: better handling of cascading errors
The second update-ui is wrapped in a recover so that if it fails
again, the UI system is stopped. That should fix the cascade problem
in #1827.
2017-06-27 23:47:35 +02:00
Björn Lindqvist f2a8a79a1a basis/,extra/: removing some unnecessary EXCLUDE declarations 2017-06-24 16:38:34 +02:00
Alexander Iljin c53895e03d pixel-format-docs: add a missing space 2017-06-21 12:36:39 +03:00
Alexander Iljin 5cc07a1c5f ui.gadgets.panes-docs: add a missing parenthesis 2017-06-21 12:36:32 +03:00
Alexander Iljin 24a071d6e6 ui.gadgets-docs: fix wording 2017-06-21 12:35:37 +03:00
John Benediktsson 3bd0776630 ui.gadgets.line-support: even though 1/.0 parses, change to 1/0. 2017-06-12 07:28:33 -07:00
John Benediktsson e8cef24486 ui.tools.inspector: improve performance for large arrays and hashtables.
Using trick suggested by @AlexIljin, we compute the longest key and then
set the column widths to be { length-of-longest-key 0 }.
2017-06-11 08:59:45 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman 0ca1b4656f ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist. 2017-06-01 16:53:10 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Doug Coleman a632337ba2 cocoa: Add basic support for TouchBar. 2017-05-30 15:33:48 -05:00
nicolas-p c1d33065ad editors: added pref-dim* for action-editor 2017-05-29 08:08:21 -07:00
Alexander Iljin 646f14f249 ui-docs: mark an optional output parameter with the "/f" suffix 2017-05-26 14:39:33 +03:00
Alexander Iljin 72e6699279 ui.tools.listener-docs: wrap a hotkey in the $snippet tag 2017-05-14 20:04:39 -07:00
Alexander Iljin bad5408c76 *-docs: fix a typo in the word parametErized 2017-03-17 08:22:18 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
John Benediktsson 8b455d2306 tools.deploy.shaker: support "stop-after-last-window?".
This only works on macOS right now, but since most every deploy.factor
has it set, we should read it and use it.
2017-03-05 15:13:24 -08:00
John Benediktsson 96a0c30baf ui.backend: adding ui-stop-after-last-window?.
This defaults to true, except for the "ui.tools".  Also, this only
works on macOS right now.  Linux and Windows always stop after the
last window closes.
2017-03-05 14:51:33 -08:00
nicolas-p 55834faba7 slots: added margins 2017-02-14 13:49:30 -08:00
Alexander Iljin 226d8a2397 ui.baseline-alignment-docs: replace $snippet with $slot 2017-02-14 23:02:36 +03:00
Alexander Iljin 3503bf86e2 ui.render-docs: replace $snippet with $slot 2017-02-14 23:02:29 +03:00
John Benediktsson f7ce76aa4b wrap: remove line-ideal, we only ever use a max-width. 2017-02-01 20:30:57 -08:00