2420 Commits

Author SHA1 Message Date
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
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 v0.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
a553107da8
Update README 2017-11-16 10:46:42 +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
a9db9f8874
... 2017-11-14 12:41:09 +05:30
Kovid Goyal
b9b2570369
Reduce brew install harfbuzz time on travis 2017-11-14 12:01:06 +05:30
Kovid Goyal
c4f61de3fe
Add a couple more targets to the makefile 2017-11-14 09:48:59 +05:30
Kovid Goyal
523c9ff0d1
Make incremental building the default 2017-11-14 09:47:08 +05:30
Kovid Goyal
a02fd8411a
Generate a compilation database, useful for llvm tooling 2017-11-14 09:31:23 +05:30
Kovid Goyal
98d8d6b915
Update CHANGELOG 2017-11-13 19:48:06 +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
26e6716f67
A test that reliably triggers the current failure 2017-11-13 15:30:30 +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
Kovid Goyal
336857a106
A more general cp->gid API 2017-11-12 23:43:21 +05:30