Commit Graph
1437 Commits
Author SHA1 Message Date
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 8d2a720fb9 version 0.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 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 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
Kovid Goyal e86c2f2000 Fix shift+up/down not generating correct escape codes
Fixes #186
2017-11-26 17:34:34 +05:30
Kovid Goyal 65b212fa1b Add a config option to control the line thickness for box drawing characters
Fixes #183
2017-11-26 11:24:27 +05:30
Kovid Goyal 4b0ff03868 Increase max ligature length to 9 chars
Fixes #182
2017-11-26 10:33:57 +05:30
Kovid Goyal 8961eaaa9d Fix compilation error on 32bot systems
Fixes #185
2017-11-26 08:22:14 +05:30
Kovid Goyal 356722b9a6 Fix build failure on systems with __OPTIMZE__ defined
Fixes #181
2017-11-24 22:42:56 +05:30
Kovid Goyal 89e5ae28bb Dont fail to start if the user's /etc/passwd is missing an entry for the current uid
Appears to happen on some nix systems. Fixes #178
2017-11-23 00:40:21 +05:30
Kovid Goyal b40e1e6492 Decrease minimum fonts size to 4pt 2017-11-21 07:13:17 +05:30
Kovid Goyal 4dc6918b13 Get rid of the send_text_map code
Just transform send_text directives in the config file to map
directives.
2017-11-19 08:56:34 +05:30
Kovid Goyal 1d45a831ef version 0.5.0 2017-11-19 07:59:01 +05:30
Kovid Goyal 32920fee5b Fix super imposing of glyphs generating fringes 2017-11-19 07:56:35 +05:30
Kovid Goyal 121de41930 Make send_text a normal keybaord shortcut action
Uses the new support for arguments to shortcut actions. Fixes #173
2017-11-17 01:27:26 +05:30
Kovid Goyal 8cad6ae9d6 Fix leak-on-exit from libstartup-notification 2017-11-16 10:29:21 +05:30
Kovid Goyal ed60e7cf19 Fix #172 2017-11-16 07:47:08 +05:30
Kovid Goyal 2b87e1f601 Fix #170 2017-11-13 19:47:54 +05:30
Kovid Goyal 084fb23930 Forgot to clear hash table roots after deleting
Doesn't matter in normal usage, but causes tests to fail.
2017-11-13 16:12:28 +05:30
Kovid Goyal 244840255b Remove unused function 2017-11-13 16:03:44 +05:30
Kovid Goyal 94c11af7c8 Refactor the font management code
Use a hash table for special glyph status caching
Manage (almost) all global state with a single object
Allocate all fonts on the heap
Fix the use-after-free for fallback fonts
2017-11-13 15:53:34 +05:30
Kovid Goyal aef8b4ae67 Allow re-use of ensure_space_for macro 2017-11-13 15:29:52 +05:30
Kovid Goyal a97ba08cbb Fix asan test failure 2017-11-13 09:31:48 +05:30
Kovid Goyal ddc327b772 Prevent DoS attacks via requesting too many fallback fonts 2017-11-13 08:40:47 +05:30
Kovid Goyal a70f6405ac Allocate fallback fonts on the heap
The size of a font is quite large ~ 100KB so it does not make sense to
store their data statically.
2017-11-13 08:39:30 +05:30
Kovid Goyal bf0ad30d17 DRYer 2017-11-13 07:30:35 +05:30
Kovid Goyal 6fbe52acf4 ... 2017-11-13 07:13:42 +05:30
Kovid Goyal 9fccc38382 Better fix for not using the unsafe to break flag
Recognize special glyphs by comparing the index to the glyph for the
codepoint in the font. Cannot rely on glyph width as many glyphs have
zero width. For example the glyph for space characters.
2017-11-13 07:03:58 +05:30
Kovid Goyal 339c0d2980 Put back consumed API 2017-11-12 23:43:22 +05:30