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
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
Björn Lindqvist
0a34002988
ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
2016-06-21 23:37:20 +02:00
Björn Lindqvist
4b919b19ce
ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
2016-06-20 13:13:20 +02:00
Björn Lindqvist
d752a1947c
x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
...
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
Björn Lindqvist
f0836dd69d
ui.backend.gtk.io: refactoring which removes ui.backend.gtk.io.unix
...
ui.backend.gtk is unix-specific so there is no need to have different
implementations for different os:es.
2016-06-19 01:33:59 +02:00
Björn Lindqvist
fbfc5fdae3
ui.backend.gtk: add handling of insert key ( #1656 )
2016-06-18 20:39:57 +02:00
Björn Lindqvist
ee80cb0752
ui.backend.gtk: use a global variable to store the icon data
...
It's easier than the previous code that replaced the get-icon-data word
during deployment. Also GTK support for icon.ico icons.
2016-06-17 16:39:11 +02:00
Björn Lindqvist
2c8b2d9bf5
ui.backend.gtk: hi-res icon awesomeness
2016-06-17 14:29:45 +02:00
Björn Lindqvist
91f335b424
style thing: indenting tuple slots
2016-05-31 03:37:23 +02:00
Alexander Iljin
d5e5589da8
browser: trim whitespace from query before search.
...
This behavior is consistent with the apropos word.
Should have been done in e4bf5f10
.
2016-05-22 07:54:53 -07:00
Alexander Iljin
1e0bf40b7f
docs: minor fixes and amendments.
2016-05-22 07:53:21 -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
6149bf5afc
ui.tools.debugger: set theme fonts on table...
...
Probably this should be in the table gadget itself and not scattered everywhere.
2016-05-11 18:37:07 -07:00
John Benediktsson
fb9a71627f
ui.theme.switching: adding back light-mode and dark-mode.
2016-05-11 18:32:33 -07:00
John Benediktsson
8a09779e3e
ui.theme.switching: adding some docs.
2016-05-11 18:09:36 -07:00
John Benediktsson
26e26599bd
ui.theme.switching: add a switch-theme word.
2016-05-11 18:09:36 -07:00
John Benediktsson
5ebc7193fa
ui.theme: remove unused url-color hook.
2016-05-10 15:20:28 -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