John Benediktsson
115b7b62df
basis: removing unnecessary method stack effects.
2020-09-09 15:00:54 -07:00
Doug Coleman
c87811f611
ui.backend.cocoa: fix bootstrap -- vocab does not exist.
2020-06-12 18:43:01 -05:00
Doug Coleman
8efe213273
vocabs: On use-vocab we should throw an error if the vocabulary does not exist.
...
Also ui.pixel-formats.private does not exist so remove that.
Fixes #2298 .
2020-06-12 18:23:45 -05:00
John Benediktsson
a9ad206edc
ui.backend.gtk: don't let input-methods steal key-presses.
2020-06-06 16:09:15 -07:00
Doug Coleman
b1f29dc497
ui.backend.x11.keys: Enable numpad navigation keys for when numlock is off.
...
I recently got a Model F keyboard and the arrow keys weren't mapped.
To see the keycodes on Linux:
```
IN: ui.backend.x11.keys
: code>sym ( code -- name/code/f action? )
dup . flush
dup codes at* [ nip dup t and ] when ;
```
Also try ``USE: gesture-logger``
2020-05-22 18:18:31 -05:00
John Benediktsson
e2fa0a6392
ui.backend.cocoa.views: fix jittery resize.
...
This could still be improved since this current approach pauses Factor
execution when the window is being resized, and it could instead
maybe detect inLiveResize or something and be smoother.
2020-05-22 08:23:20 -07:00
John Benediktsson
5f89facf9e
basis/extra: replace "/ >integer" with "/i" in a few places.
2020-05-16 11:17:42 -07:00
Doug Coleman
96d3482475
windows: Fix user32/shcore DPI functions.
2020-03-09 21:59:10 -05:00
John Benediktsson
d2ab01a5d9
core/basis/extra: use flags{ } in places.
2020-02-11 13:27:42 -08:00
John Benediktsson
a62ea78d73
ui.backend.cocoa.views: some formatting cleanup.
2020-01-24 14:47:42 -08:00
kusumotonorio
5bee1ba3a1
Improve System V AMD64 ABI compliance
2020-01-16 20:57:13 +09:00
kusumotonorio
76f561ba3c
NSNotFound for both 32 bit and 64 bit environments
2019-09-08 11:15:49 -07:00
kusumotonorio
2f2cb869f1
Revert Unnecessary Changes
2019-08-10 22:12:52 +09:00
kusumotonorio
bada736a3f
Input Completion Improvements
2019-08-10 22:02:17 +09:00
John Benediktsson
41db42a571
Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
...
This reverts commit ad24fa414f
.
2019-08-06 07:12:55 -07:00
John Benediktsson
ad24fa414f
io.encodings.utf16: add a utf16n word for native utf16 type.
...
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
Doug Coleman
f7e4774d3f
ui.backend.windows: 2sequence cleanup
2019-08-02 18:29:19 -05:00
Doug Coleman
c70d1f6c4a
basis: Fix Windows 10 select-all for emojis.
...
This is @kusumotonorio's patch but his branch is not up to date so there
are a ton of merge conflicts so I'm just pulling his changes into a new
patch. Sorry for my lack of git to do this cleanly while maintaining his
credit for this patch.
2019-08-02 17:07:42 -05:00
Doug Coleman
8eb7621b54
factor: fix bootstrap and test and doc
2019-07-30 18:01:11 -05:00
KUSUMOTO Norio
1b790ee6b6
Better support to NSTextInputClient
2019-07-30 02:12:41 -05:00
KUSUMOTO Norio
b83435c9a9
cocoa inline input using IM
2019-07-30 02:12:41 -05:00
Doug Coleman
c14e571429
ui.backend.windows: GetKeyboardState returns 0 on error
2019-05-02 07:55:40 -05:00
KUSUMOTO Norio
08aa27a112
windows.factor KUSUMOTO Norio plan 2
...
bug fix for issue #1
Review of the structure of words
NUMPAD&OEM-keydown-codes
plugable keyboard info
keyboard auto detect
conflict
ToUnicode version
resolve conflicts
ui.backend.windows: fix whitespace
2019-05-02 07:52:27 -05:00
Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -07:00
Doug Coleman
5d78ab55be
basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.
2019-02-09 18:50:15 +00:00
John Benediktsson
f879a012c5
ui.backend.cocoa.views: fix macOS mojave opengl issue with new windows.
2018-12-11 15:40:41 -08: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
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
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
Björn Lindqvist
a9ebc772df
ui.backend.gtk: gtk_init terminates, better throw exception
2018-01-29 11:44:27 +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
cccdc09a71
ui: rename ui-windows to worlds.
2018-01-22 13:17:23 -08: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
f33bf70ad6
ui.backend.cocoa.views: use queued-gesture for touchbar commands.
2018-01-18 22:20:27 -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
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
John Benediktsson
d2162da88e
ui.backend.cocoa.views: allow up to 8 touchbar buttons.
2018-01-01 16:00:19 -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
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
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