2327 Commits

Author SHA1 Message Date
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
Kovid Goyal
c145dfc832
Forgot to destroy glfw window when closing OSWindow
Also fix double decref of OSWindow->window_title
2017-12-01 12:15:34 +05:30
Kovid Goyal
407431adc8
Debounce resize requests 2017-12-01 12:15:34 +05:30
Kovid Goyal
8e3b5ddb0b
Also show mouse cursor when window gains focus 2017-12-01 12:15:34 +05:30
Kovid Goyal
e1b77f0a59
Ensure cleanup when closing OSWindow 2017-12-01 12:15:34 +05:30
Kovid Goyal
81a465f7bc
... 2017-12-01 12:15:34 +05:30
Kovid Goyal
0bec6ea15d
Fix mem leak when closing tabs introduced by move to OSWindow 2017-12-01 12:15:34 +05:30
Kovid Goyal
2b988b01c6
Get rid of the needs_render tracking as it was too fragile. 2017-12-01 12:15:34 +05:30
Kovid Goyal
ab604fb149
more bugs 2017-12-01 12:15:33 +05:30
Kovid Goyal
d344c391fd
... 2017-12-01 12:15:33 +05:30
Kovid Goyal
449c1ba5d7
Ensure OSWindow references are not stale 2017-12-01 12:15:33 +05:30
Kovid Goyal
12340e4c60
Ensure window object is fully initialized in callbacks 2017-12-01 12:15:33 +05:30
Kovid Goyal
95aad91a49
... 2017-12-01 12:15:33 +05:30
Kovid Goyal
c3f5b20ca7
more bugs 2017-12-01 12:15:33 +05:30
Kovid Goyal
f8c7a7a690
more bug fixes 2017-12-01 12:15:33 +05:30
Kovid Goyal
c5649df971
Fix various bugs introduced by the refactoring to support OSWindow 2017-12-01 12:15:33 +05:30
Kovid Goyal
9cedefb50c
Port tab_manager and miscellaneous cleanups 2017-12-01 12:15:33 +05:30
Kovid Goyal
96f8f8c79d
Remove unused code 2017-12-01 12:15:33 +05:30
Kovid Goyal
889d5b07a6
Pass os_window_id in activate_tab_at 2017-12-01 12:15:32 +05:30
Kovid Goyal
82d17c8a59
DRYer 2017-12-01 12:15:32 +05:30
Kovid Goyal
7ba3aa0c6f
... 2017-12-01 12:15:32 +05:30
Kovid Goyal
598f08e222
Avoid unneccessary roundtrip through python to create VAOs 2017-12-01 12:15:32 +05:30
Kovid Goyal
625798220a
... 2017-12-01 12:15:32 +05:30
Kovid Goyal
2f06c0f721
Remove last view uses of viewport_size and cell_size in python
Also move counters into C
2017-12-01 12:15:32 +05:30