Kovid Goyal
b2e300c440
Simplify key round-tripping to IBUS
...
Only send to IBUS after full xkb processing. This is needed as otherwise
modifier state tracking does not work reliably. If you use alt+tab to
switch away from the window, the window never receives the release event
for the alt modifier.
The downside is that now if the uer has both XCompose and ibus active,
the who knows what will happen.
2018-07-12 18:18:20 +05:30
Kovid Goyal
38998a4869
Notify IBUS when focus is gained/lost
2018-07-12 18:18:19 +05:30
Kovid Goyal
21f1fd55f8
Have the IBUS popup display at the cursor position
2018-07-12 18:18:19 +05:30
Kovid Goyal
c6c6a18375
Handle keys returned by IBUS
2018-07-12 18:18:19 +05:30
Kovid Goyal
56063b283e
Implement text commit from the IME system
2018-07-12 18:18:19 +05:30
Kovid Goyal
d27e7ead49
Print an error if too many timers/watches are added
2018-07-12 18:18:19 +05:30
Kovid Goyal
342164ede1
Add API for the application to notify the IME system of state changes
2018-07-12 18:18:19 +05:30
Kovid Goyal
1061e40b98
Bi-directional glfw updates
2018-07-12 18:18:19 +05:30
Kovid Goyal
377115a594
Add a GLFW specific env var to toggle IBUS
2018-07-12 18:18:19 +05:30
Kovid Goyal
e405b68da1
...
2018-07-12 18:18:18 +05:30
Kovid Goyal
d875d7baed
Implement the handler for ibus signals
2018-07-12 18:18:18 +05:30
Kovid Goyal
9c48e4965c
Send key events to ibus
2018-07-12 18:18:18 +05:30
Kovid Goyal
8675659fcb
Fix remaining sync BUS calls
...
Also work on IBUS integration
2018-07-12 18:18:18 +05:30
Kovid Goyal
3b226618ad
Ensure no ibus comms take place till the connection is fully setup
2018-07-12 18:18:18 +05:30
Kovid Goyal
6879a492dc
Give watches and timers names to ease debugging
2018-07-12 18:18:18 +05:30
Kovid Goyal
4070255dde
Simplify watch->fd matching
2018-07-12 18:18:18 +05:30
Kovid Goyal
dd9e484336
Make the DBUS APIs async
2018-07-12 18:18:18 +05:30
Kovid Goyal
78cda7aa74
Implement dispatch for the IBUS connection
2018-07-12 18:18:17 +05:30
Kovid Goyal
9ced447fa3
Make timer dispatch more efficient
2018-07-12 18:18:17 +05:30
Kovid Goyal
8e665ffedc
Implement DBUS timeout functions
2018-07-12 18:18:17 +05:30
Kovid Goyal
99ea6c08a7
Implement timers for the linux event loops
...
Needed for dbus integration. Also cleanup the event handling code.
X11 and Wayland now share most of their event polling and dispatch logic.
2018-07-12 18:18:17 +05:30
Kovid Goyal
b0bfa2b2fc
...
2018-07-12 18:18:17 +05:30
Kovid Goyal
3797294838
Use an id for watches
2018-07-12 18:18:17 +05:30
Kovid Goyal
3d6995d1e6
Work on integration of DBUS into event loop
2018-07-12 18:18:17 +05:30
Kovid Goyal
e91eb27e56
Refactor linux backend event loops
...
Allow waiting for events on an arbitrary number of fds. Needed
for async DBUS integration.
2018-07-12 18:18:17 +05:30
Kovid Goyal
3a4b614ae0
IBUS does not need a connection to the DBUS session bus
2018-07-12 18:18:16 +05:30
Kovid Goyal
26a6d6bef9
Set startup IBUS cursor and focus state
2018-07-12 18:18:16 +05:30
Kovid Goyal
dca81589a7
Finish code to connect to IBUS daemon
2018-07-12 18:18:16 +05:30
Kovid Goyal
5b7c697dfe
Connect to IBUS
2018-07-12 18:18:16 +05:30
Kovid Goyal
18d6b8a0ad
Code to read the IBUS address
2018-07-12 18:18:16 +05:30
Kovid Goyal
cdee601137
Start work on IBUS support
2018-07-12 18:18:16 +05:30
Kovid Goyal
e74c08ff39
Disable brew based travis build
...
Building the latest release of harfbuzz is failing
2018-07-12 17:42:33 +05:30
Kovid Goyal
5bfe2fb8d3
Make using a fixed color for the text under the cursor the default
2018-07-12 16:52:38 +05:30
Kovid Goyal
55fc5c4358
Add an option :opt:cursor_text_color
to render text under the cursor in a fixed color.
...
See #126
2018-07-12 12:50:42 +05:30
Kovid Goyal
d6a603d536
Change the default publish action from build+ to all
2018-07-10 22:05:33 +05:30
Kovid Goyal
5c85d915cc
...
2018-07-10 22:00:34 +05:30
Kovid Goyal
57f8519a52
version 0.11.3
2018-07-10 21:42:01 +05:30
Kovid Goyal
056be45dd5
...
2018-07-10 21:30:30 +05:30
Kovid Goyal
3ee22e545e
macOS: Workaround for switching from fullscreen to windowed mode with the titlebar hidden causing window resizing to not work.
...
Fixes #711
2018-07-10 21:29:30 +05:30
Kovid Goyal
db5aa36f44
Fix deprecation warning from newer versions of wayland-scanner
2018-07-10 19:48:37 +05:30
Kovid Goyal
cc767061cc
Linux: Fix compilation with python 3.7
...
Fixes #714
2018-07-10 18:47:05 +05:30
Kovid Goyal
1d22b75090
Fix a regression in the previous release that caused pasting large amounts of text to be duplicated
...
Fixes #709
2018-07-08 16:25:08 +05:30
Kovid Goyal
4313531432
macOS: Use a custom mouse cursor that shows up well on both light and dark backgrounds
...
Fixes #359 . Also, update GLFW from upstream for retina cursor setting
support.
2018-07-07 10:43:30 +05:30
Kovid Goyal
1faddeb402
Also return image dimensions when loading PNG
2018-07-07 08:04:11 +05:30
Kovid Goyal
2b035739f8
Make the PNG reader code re-useable
2018-07-07 07:46:15 +05:30
Kovid Goyal
aeed20087e
Fix segfault when opening more tabs than would fit with even one character titles on the tab bar. Fixes #706
2018-07-07 05:35:56 +05:30
Kovid Goyal
a239f41495
minimal borders for the grid layout
2018-07-06 20:23:56 +05:30
Kovid Goyal
b36d6967a5
DRYer
2018-07-06 17:54:01 +05:30
Kovid Goyal
7c1d13b7db
Minimal borders for vertical and horizontal layouts
2018-07-06 17:46:08 +05:30
Kovid Goyal
3e99949db8
Implement minimal borders in the Fat layout
2018-07-06 17:35:23 +05:30