John Benediktsson
b246c06345
ui.gadgets.frames: default filled-cell to { 0 0 }.
2018-09-12 07:01:23 -07:00
Pi
fd7e19b6a0
pick a better caret color for the dark theme
2018-09-07 10:02:25 -07:00
Pi
7a248c0cda
actually remove caret-color slot
2018-09-07 10:02:25 -07:00
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
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
Björn Lindqvist
dc3fa20bf6
ui.render.tests: removing bad test
2016-08-24 16:44:35 +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
Björn Lindqvist
f8e781ee17
ui.backend.x11.keys: symbolic constants can be used
2016-08-17 04:04:06 +02:00
Björn Lindqvist
1c3f345396
x11.*: new vocab x11.X for ffi stuff from the X.h header
...
It's nicer to have one vocab for each X11 header file than the previous
organization.
2016-08-17 03:46:28 +02:00
Björn Lindqvist
acdcc1f2c2
ui.backend.x11.keys: Support for the Windows/Meta key on X11
2016-08-17 03:41:45 +02:00
Björn Lindqvist
de2e01268e
ui.backend.x11.keys: typo on F12
2016-08-17 03:37:57 +02: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
ee621f8a3e
ui.tools-docs: fix description of the context menu behavior
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
cc70848c24
ui.commands-docs: improve define-command-map word description
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
bc6d5e6ce6
ui.render-docs: fix description of graft-state
2016-08-10 19:42:20 -07:00
Björn Lindqvist
ddc5ece757
alien.*: frontend varargs support! #1677
...
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g
: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
Björn Lindqvist
48bd0d2b66
ui.tools.*: fix swapped argument order for set-tool-dim
2016-07-30 19:03:23 +02:00
Björn Lindqvist
9ba5419bef
ui.tools.*: new docs
2016-07-30 19:03:22 +02:00
Björn Lindqvist
e73337fe55
ui.tools.common: it's nicer to store the tool dims as word properties
2016-07-30 19:03:22 +02: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
ccbde89968
vocabs.loader: one vocab-exists? word.
2016-07-16 16:21:45 -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