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
Björn Lindqvist
39811fc7e7
ui.*: using pixel-format-attributes>int-array in even more places
...
So now we don't need the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax anymore.
2017-01-30 06:17:37 +01:00
Björn Lindqvist
4756c30d3f
ui.pixel-formats,ui.backend.*: new word pixel-format-attributes>int-array
...
This word replaces usages of the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax
2017-01-30 05:43:19 +01:00
Björn Lindqvist
1b1842f62d
ui.pixel-formats,ui.backend.*: removing the (pixel-format-attribute) generic
...
It appears to be unused code.
2017-01-30 05:07:28 +01:00
Jon Harper
14f51e2dd5
ui.backend.gtk, use a separate widget for drawing opengl. Fixes #1487
...
Apparently you can't use opengl calls in a configure event signaled from
the window. If you do, on ubuntu 14.04 with unity, each and every frame
will be drawn. Since they are drawn slower than the event are emitted,
it continues to redraw after the resize is done, 'replaying' the resize
motion.
opengl calls from a configure event on the single child of the
window are ok.
Also, now that the window is not used to draw opengl, it doesn't produce
expose events, instead the drawable child must be used.
This also makes moving the window much smoother.
2017-01-23 10:04:43 -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
dadff2f062
some cleanup.
2016-11-26 22:01:03 -08:00
John Benediktsson
7d92217551
ui.tools.operations: making "See" an operation on words.
2016-11-09 15:39:59 -08:00
John Benediktsson
0bed0870bb
ui.theme: change deprecated background color also.
2016-11-08 16:05:26 -08:00
John Benediktsson
d5a57ca04f
ui.theme: make warning background color a light shade of red.
2016-11-08 15:48:40 -08:00
John Benediktsson
4f2a1a2e4e
ui.tools.listener: make all call-listener use with-ctrl-break.
2016-11-02 11:04:52 -07:00
John Benediktsson
5f38ec1a4a
ui.gadgets.scrollers: minor cleanup using if*.
2016-11-02 11:00:23 -07:00
Alexander Iljin
17aa171ccf
ui.tools.listener-docs: add TIP: about the Ctrl-Break feature
2016-11-01 16:53:01 -07:00
Alexander Iljin
2e49ffe6bd
ui.tools: make refresh-all command interruptible with Ctrl-Break
2016-11-01 16:53:01 -07:00
Björn Lindqvist
b31c0b8857
Docs: bunch of random doc updates
2016-10-31 11:46:39 +01: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
John Benediktsson
fd801e7946
ui.tools.listener: protect vocab completion from bad vocab names.
2016-09-15 15:00:24 -07:00
Björn Lindqvist
bff165c85c
ui.*: more tests
2016-09-05 07:47:39 +02:00