Commit Graph

1800 Commits

Author SHA1 Message Date
Kovid Goyal
3b4a242e26 Fix sprites uniform not being initialized when using layered rendering
Had no actual bad effects since it is initialized to zero anyway
2017-12-01 12:16:14 +05:30
Kovid Goyal
b8937bc151 Only use wayland if a special env var is present
wayland is currently fairly broken. No window decorations and no key
auto-repeat.
2017-12-01 12:16:14 +05:30
Kovid Goyal
b3de442116 pretty colors 2017-12-01 12:16:14 +05:30
Kovid Goyal
fb797d7735 ... 2017-12-01 12:16:14 +05:30
Kovid Goyal
982a9320c5 Final fixes needed for wayland building
kitty now runs under wayland again
2017-12-01 12:16:13 +05:30
Kovid Goyal
47dec2c2e9 Dynamic detection of wayland 2017-12-01 12:16:13 +05:30
Kovid Goyal
eb8f4e0b3c isosx -> is_macos 2017-12-01 12:16:13 +05:30
Kovid Goyal
85fcd51ea3 Enable building of glfw-wayland backend 2017-12-01 12:16:13 +05:30
Kovid Goyal
9ec6cf721f Update compilation database even after failed builds 2017-12-01 12:16:13 +05:30
Kovid Goyal
bcd4c64b8a Key compilation database by output as well 2017-12-01 12:16:13 +05:30
Kovid Goyal
3b0d8ec500 Nicer error when pkg-config fails 2017-12-01 12:16:13 +05:30
Kovid Goyal
73ce2ccb47 remove unused header 2017-12-01 12:16:13 +05:30
Kovid Goyal
a5078afd1e Move the bell implementation into glfw 2017-12-01 12:16:13 +05:30
Kovid Goyal
32a6dd2aa1 Add a command line switch to set the name part of WM_CLASS independently 2017-12-01 12:16:13 +05:30
Kovid Goyal
02884c5045 Debounce audio bells 2017-12-01 12:16:12 +05:30
Kovid Goyal
25d7668b70 Add an option to control the audio bell volume on X11 2017-12-01 12:16:12 +05:30
Kovid Goyal
2ff39c1578 DRYer 2017-12-01 12:16:12 +05:30
Kovid Goyal
a11d6466c6 Update vendored glfw 2017-12-01 12:16:12 +05:30
Kovid Goyal
df56080303 Fix building on travis/macOS libunistring detection 2017-12-01 12:16:12 +05:30
Kovid Goyal
4d1eb1f729 Install libxkbcommon on Travis 2017-12-01 12:16:12 +05:30
Kovid Goyal
ec06dd7460 Add a --verbose build flag 2017-12-01 12:16:12 +05:30
Kovid Goyal
163ce2a066 Update CHANGELOG 2017-12-01 12:16:12 +05:30
Kovid Goyal
058c1bec10 Workaround for new windows not getting focus events on macOS 2017-12-01 12:16:12 +05:30
Kovid Goyal
ba40bf5e6f remove no longer needed code 2017-12-01 12:16:12 +05:30
Kovid Goyal
d457abdee4 Prevent glfw from doing stupid stuff on cocoa 2017-12-01 12:16:11 +05:30
Kovid Goyal
3773aaa8a1 Get it building on macOS 2017-12-01 12:16:11 +05:30
Kovid Goyal
cfc99baac4 Get rid of ctypes based loading of libglfw/libX11 2017-12-01 12:15:36 +05:30
Kovid Goyal
b6be6ee1e7 Explicitly set expandtab 2017-12-01 12:15:36 +05:30
Kovid Goyal
dfd8a69cf2 Build kitty against bundled glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
9307486254 Initial import of glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
6a627cca9e A spot of refactoring 2017-12-01 12:15:36 +05:30
Kovid Goyal
480f4bf44e Build script should not fail on python without threading 2017-12-01 12:15:36 +05:30
Kovid Goyal
b5b2f11b18 Enable parallel builds 2017-12-01 12:15:36 +05:30
Kovid Goyal
ee232fb08c API needed for kitty-bar 2017-12-01 12:15:36 +05:30
Kovid Goyal
ef7dcbf365 API to create initially hidden windows 2017-12-01 12:15:36 +05:30
Kovid Goyal
3e511d217b Pass the window class and size settings when creating a grouped window 2017-12-01 12:15:36 +05:30
Kovid Goyal
b08f4ab593 Use startup notifications in single instance mode 2017-12-01 12:15:35 +05:30
Kovid Goyal
fa1ae39480 Update Changelog 2017-12-01 12:15:35 +05:30
Kovid Goyal
96483a0e92 Finish single_instance implementation 2017-12-01 12:15:35 +05:30
Kovid Goyal
7deb68de61 Get IPC working 2017-12-01 12:15:35 +05:30
Kovid Goyal
bf09c33b99 Move option_parser into its own module 2017-12-01 12:15:35 +05:30
Kovid Goyal
9e5882c9fb Code to handle messages from peers 2017-12-01 12:15:35 +05:30
Kovid Goyal
c5d17934e4 Function to establish IPC communication 2017-12-01 12:15:35 +05:30
Kovid Goyal
c8c1a3618c Get the user cache dir path on macOS 2017-12-01 12:15:35 +05:30
Kovid Goyal
593b4c5a46 Use sigaction() rather than signal() to register signal handlers 2017-12-01 12:15:35 +05:30
Kovid Goyal
d7ea28f8e7 Fix sprite texture not initially bound for new OSWindow 2017-12-01 12:15:35 +05:30
Kovid Goyal
c4bcda80e9 Fix removing OSWindow breaking pointer references in glfw 2017-12-01 12:15:34 +05:30
Kovid Goyal
528573ac80 Make sure window context is correct for all remove_vao calls 2017-12-01 12:15:34 +05:30
Kovid Goyal
dba067d875 Ensure correct OpenGL ctx in effect when creating a new window 2017-12-01 12:15:34 +05:30
Kovid Goyal
5a5d27077c Shortcut to open new OSWindow
Note that rendering is still pretty buggy with multiple windows.
2017-12-01 12:15:34 +05:30