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
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
3edf8f594a
ui: ceiling world dimensions when opening.
2016-05-06 20:57:03 -07:00
John Benediktsson
f7d92e4712
ui.tools.listener: fix introduction font sizes.
...
(should be smaller than default-style)
2016-04-29 18:30:59 -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
John Benediktsson
8a3dd3709e
ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word.
2016-04-21 10:13:57 -07:00
Doug Coleman
da65402ee8
ui.debugger: don't rethrow at all. it just makes an infinite loop.
2016-04-18 09:27:32 -07:00
Doug Coleman
9427c78506
ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere.
2016-04-06 17:35:13 -07:00
Doug Coleman
363e08b6a8
factor: fix whitespace at end of files.
2016-04-06 16:53:25 -07:00
John Benediktsson
1f063155a9
ui.backend.gtk: simplify calls to gtk_init.
2016-04-04 15:00:04 -07:00
Doug Coleman
58e18ad668
ui.gadgets.corners: move to unmaintained. trim using lists.
2016-04-04 14:11:54 -07:00
John Benediktsson
2ea3e304cf
ui.backend.gtk: simplify <window-handle>.
2016-04-04 10:33:03 -07:00
John Benediktsson
2f42e588da
ui.debugger: copyrighter.
2016-04-02 09:30:41 -07:00
Doug Coleman
e944ff7fe7
ui.debugger: If Linux has a ui error on startup you get popups continuously until you quit. The stack effect doesnt' throw, but I guess it's better to not have tons of popups.
2016-04-02 01:56:48 -07:00
John Benediktsson
37fc051506
Revert "ui.backend.gtk: try yield in idle callback."
...
This reverts commit 2929cc21f5 .
2016-03-31 16:53:52 -07:00
John Benediktsson
281ccddda8
Revert "ui.backend.gtk: only use the timer when not io.backend.unix."
...
This reverts commit 7d5df2c8a2 .
2016-03-31 16:53:47 -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
7d5df2c8a2
ui.backend.gtk: only use the timer when not io.backend.unix.
2016-03-29 22:36:02 -07:00
John Benediktsson
2929cc21f5
ui.backend.gtk: try yield in idle callback.
2016-03-29 22:15:57 -07:00
John Benediktsson
d3990d1eeb
ui.backend.gtk: simplify.
2016-03-29 20:52:49 -07:00
John Benediktsson
90b53e3054
ui.gadgets: fix tests for namespaces:set.
2016-03-29 18:57:38 -07:00
Doug Coleman
dbf781b29a
ui.backend.windows: fix set.
2016-03-29 18:05:23 -07:00
John Benediktsson
71ef8a22c2
disambiguate namespaces:set and sets:set.
2016-03-29 17:14:42 -07:00
John Benediktsson
7d0c596c92
Hopefully fix stack effects of error hooks to throw when required.
2016-03-28 22:27:35 -07:00
John Benediktsson
864912f446
ui.backend.cocoa.views: call super.prepareOpenGL().
2016-03-28 21:51:16 -07:00