Commit Graph

814 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -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
Alexander Iljin cf5d0b349c ui.gadgets.editors-docs: fix a typo 2018-01-22 07:58:17 -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 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 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
Doug Coleman 53951c4ade ui.gadgets.labeled: Fix a random failing unit test. 2017-12-09 04:02:11 -06:00
John Benediktsson c22e55ce48 ui.gadgets.slots: move to ui.tools.inspector.slots. 2017-10-25 16:17:08 -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 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
Björn Lindqvist 3aac5a6591 ui: more docs and tests 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 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 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
nicolas-p c1d33065ad editors: added pref-dim* for action-editor 2017-05-29 08:08:21 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
nicolas-p 55834faba7 slots: added margins 2017-02-14 13:49:30 -08:00
John Benediktsson f7ce76aa4b wrap: remove line-ideal, we only ever use a max-width. 2017-02-01 20:30:57 -08:00
John Benediktsson 1c9909cd76 ui.gadgets.slots: removing unnecessary tuples. 2016-12-31 18:54:18 -08:00
Björn Lindqvist 6cb3e313d9 dlists,http,ui.gadgets.*: nicer formatting of tuples 2016-11-30 16:36:25 +01:00
John Benediktsson 5f38ec1a4a ui.gadgets.scrollers: minor cleanup using if*. 2016-11-02 11:00:23 -07:00
Sankaranarayanan Viswanathan 1c97b0d76e menus: allow keyboard control 2016-10-22 09:01:56 -07:00
Sankaranarayanan Viswanathan d59b2d2f3d menus: ESC should close menu popup 2016-10-14 07:57:02 -07:00
Sankaranarayanan Viswanathan 25a9b9a92a ui.gadget.menus: improve show-menu 2016-10-07 16:04:43 -07:00
Björn Lindqvist bff165c85c ui.*: more tests 2016-09-05 07:47:39 +02:00
Björn Lindqvist a5c0ba98d0 ui.*: new tests 2016-08-23 07:32:17 +02:00
John Benediktsson dcae1baad5 Revert "ui.gadgets.editors: add editor-constrained-dim function to editor"
This reverts commit 16381beddc.
2016-08-22 07:53:08 -07:00
John Benediktsson fdcbf0d110 Revert "ui.gadgets.editors: remove extra spaces."
This reverts commit 7a4e345f6c.
2016-08-22 07:53:08 -07:00
Björn Lindqvist 351838fcff ui.gadgets.*: updated docs and new tests
As mentioned on the mailing list, the editor class doesn't have a color
slot.
2016-08-22 14:22:28 +02:00
John Benediktsson 7a4e345f6c ui.gadgets.editors: remove extra spaces. 2016-08-21 21:41:08 -07:00
masweeney 16381beddc ui.gadgets.editors: add editor-constrained-dim function to editor
This function allows the calculation of dimensions with respect
to min/max-row/column values.
2016-08-21 21:40:27 -07:00
Alexander Iljin 2c30b2f243 ui.gadgets.tables: implement cell-dim and draw-cell for the f class 2016-08-10 19:55:41 -07:00
Alexander Iljin bb948bbbfb ui.gadgets.tables-docs: add row-value? to the renderer protocol 2016-08-10 19:42:20 -07:00
Alexander Iljin 554445995e ui.gadgets.tables: fix a typo in a comment 2016-08-10 19:42:20 -07:00
Alexander Iljin ce525a7481 ui.gadgets.tracks-docs: minor documentation improvements 2016-08-10 19:42:20 -07:00
Alexander Iljin 63ba5d458e ui.gadgets.toolbar-docs: fix <toolbar> word description 2016-08-10 19:42:20 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 1ce733ef72 ui: some more dark theme polish. 2016-07-16 10:16:29 -07:00
John Benediktsson e8a9582400 ui.gadgets.panes: fix #1661.
Using old "split-lines" behavior that was needed by documents vocabulary,
rather than the new "string-lines" behavior that doesn't indicate if the
string is newline terminated.
2016-07-16 07:37:15 -07:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
Alexander Iljin 2db2f0eaa0 *-docs: remove extra spaces from the end of various topics 2016-06-22 11:27:26 -07:00
John Benediktsson 59e3cf93b7 ui.gadgets.theme: rename to ui.theme.images. 2016-05-22 07:53:21 -07:00
John Benediktsson ff2f58ac4b ui.theme.switching: default font colors. 2016-05-22 07:53:21 -07:00
John Benediktsson 7d66c331db ui.gadgets.table: mouse-color uses theme. 2016-05-11 18:39:44 -07:00
John Benediktsson 0781fa5d00 ui.gadgets.theme: fix windows bootstrap.
not sure yet why this is necessary.
2016-05-09 23:27:41 -07:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
nicolas-p 7a028977c4 Moved both themes into ui.theme 2016-05-09 21:40:56 -07:00
nicolas-p 35c8ec6bae Updated scrollbar buttons 2016-05-09 21:40:56 -07:00
nicolas-p 0d6ae8a8b9 Fixed USING 2016-05-09 21:40:56 -07:00
nicolas-p f650f7d869 Added listener styles in theme switching 2016-05-09 21:40:56 -07:00
nicolas-p a83c90d849 Some color changes in both themes 2016-05-09 21:40:56 -07:00
nicolas-p 5985291a4a Changed warning background in light theme 2016-05-09 21:40:56 -07:00
nicolas-p a13d2b9fbf Small change in themes 2016-05-09 21:40:56 -07:00
nicolas-p 45316318e8 Added "require" for theme.light and theme.dark 2016-05-09 21:40:56 -07:00
nicolas-p 94d9bf8c88 Added prompt style and tip style in switching 2016-05-09 21:40:56 -07:00
nicolas-p d2e645b5a2 Scrollbar buttons with transparent background 2016-05-09 21:40:56 -07:00
nicolas-p e7897dd194 Author and summary for ui.gadgets.theme.switching 2016-05-09 21:40:56 -07:00
nicolas-p 85ba970bed Renaming themes 2016-05-09 21:40:56 -07:00
nicolas-p 6a912e47b4 Implemented theme switching 2016-05-09 21:40:56 -07:00
nicolas-p 83a725563e Added colors in light and dark themes 2016-05-09 21:40:56 -07:00
nicolas-p 072f8e2625 Set text color almost everywhere 2016-05-09 21:40:56 -07:00
nicolas-p 61707f7fef Author and summary for dark theme 2016-05-09 21:40:56 -07:00
nicolas-p e5698281fb Replaced hard-coded colors with constants 2016-05-09 21:40:56 -07:00
nicolas-p bea90b8d1f Better copyright format 2016-05-09 21:40:56 -07:00
John Benediktsson 7cab3d61fe ui.gadgets.sliders: this fixes the previous test failure. 2016-04-23 12:41:12 -07:00
John Benediktsson 473c1cd55d Revert "ui.gadgets.scrollers: fix tests for scrollbar change."
This reverts commit 4c7eed5812.
2016-04-23 12:41:08 -07:00
John Benediktsson 4c7eed5812 ui.gadgets.scrollers: fix tests for scrollbar change. 2016-04-23 12:25:13 -07:00
John Benediktsson 6a5f3f192e ui.gadgets.sliders: restoring the arrows (temporarily?). 2016-04-23 10:04:46 -07:00
John Benediktsson b31415f8a3 ui.gadgets.scrollers: 4 space indentation. 2016-04-23 09:51:15 -07:00
nicolas-p e8c60ca890 Made scrollers disappear when disabled 2016-04-23 09:51:15 -07:00
nicolas-p 365c8d08d2 ui.gadgets.sliders: removed buttons 2016-04-23 09:51:15 -07:00
Björn Lindqvist d5cb972a71 Docs: ui and compiler 2016-04-22 18:23:02 +02:00
Doug Coleman 58e18ad668 ui.gadgets.corners: move to unmaintained. trim using lists. 2016-04-04 14:11:54 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson e0a40e4f96 opengl: log all mac os errors where framebuffer is undefined. 2016-03-30 15:28:39 -07:00
John Benediktsson 1b71efb748 ui: change active? back to a boolean. 2016-03-30 07:31:13 -07:00
John Benediktsson 90b53e3054 ui.gadgets: fix tests for namespaces:set. 2016-03-29 18:57:38 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
Björn Lindqvist b21457411e mirrors: makes string an inspectable sequence, fixes #1238 2016-03-25 21:10:26 +01:00
Doug Coleman d3bc2035a2 factor: remove rest of double paren words. 2016-03-25 03:13:27 -07:00
John Benediktsson c04ce00b45 ui.gadgets.panes: fix use of string-lines that prevented icons from showing in help browser. 2016-03-20 15:56:02 -07:00
Björn Lindqvist 763b892a1d ui.*: move some of the gl initing to set-up-window, should fix #1510
it's also more efficent to run the check-extensions "1.0"
require-gl-version code only once when the window is created, rather
than once for each draw
2015-12-01 04:49:36 +01:00
Sankaranarayanan Viswanathan 4ce72ddbfb Show persistent border on right clicking presentation gadgets 2015-11-04 07:55:13 -08:00