Commit Graph

1754 Commits

Author SHA1 Message Date
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
Kovid Goyal
0ec793e8bc Finish porting of borders and layout 2017-12-01 12:15:32 +05:30
Kovid Goyal
e30f88d382 ... 2017-12-01 12:15:32 +05:30
Kovid Goyal
49be779982 Port drawing of borders 2017-12-01 12:15:32 +05:30
Kovid Goyal
2ac8ad39c9 Implement destruction of OS windows 2017-12-01 12:15:32 +05:30
Kovid Goyal
e11a50ae83 Work on migrating the code needed for application startup 2017-12-01 12:15:32 +05:30
Kovid Goyal
eecd0c8d9a Function to remove OSWindows 2017-12-01 12:15:31 +05:30
Kovid Goyal
974950e7de Allocate window management structures on the heap 2017-12-01 12:15:31 +05:30
Kovid Goyal
47446975ac Fix spelling of var name 2017-12-01 12:15:31 +05:30
Kovid Goyal
c69145b6bc Port state.c and all code that calls into it 2017-12-01 12:15:31 +05:30
Kovid Goyal
141a08ec7c Migrate child-monitor.c to use OSWindow 2017-12-01 12:15:31 +05:30
Kovid Goyal
f0003f223a Start work on multi-window support
Port the glfw.c module and various bits of code that depend on it.
2017-12-01 12:15:31 +05:30
Kovid Goyal
a4fe97c88c Apparently libunistring is now already install by brew 2017-12-01 12:08:28 +05:30
Kovid Goyal
cc23515a35 Make the publish script a little smarter 2017-12-01 10:31:50 +05:30
Kovid Goyal
8d2a720fb9 version 0.5.1 v0.5.1 2017-12-01 10:15:18 +05:30
Kovid Goyal
9ed980a511 More 32bit fixes 2017-11-30 00:02:44 +05:30
Kovid Goyal
1365eafce5 ... 2017-11-29 18:15:12 +05:30
Kovid Goyal
07b70f8c95 Image display: Fix displaying images taller than two screen heights not scrolling properly
Fixes #194
2017-11-29 18:12:22 +05:30
Kovid Goyal
f16bf2a136 ... 2017-11-29 08:32:00 +05:30
Kovid Goyal
0f2bcfabb3 Sanity check when moving baseline for line height adjustment 2017-11-29 08:30:34 +05:30
Kovid Goyal
d3e8c616b0 Fix text not vertically centered when adjusting line height
Fixes #193
2017-11-29 08:27:28 +05:30
Kovid Goyal
99888996a0 Implement special rendering for unicode block characters
Fixes #184
2017-11-26 21:29:00 +05:30
Kovid Goyal
4c94e16936 Refactor the box drawing showcase code
Make it work with the new font render infrastructure
2017-11-26 19:53:25 +05:30
Kovid Goyal
235f3940f2 DRYer 2017-11-26 18:10:34 +05:30