Commit Graph
69 Commits
Author SHA1 Message Date
Kovid Goyal 96c93fa252 Add support for emoji presentation when choosing fallback fonts 2018-02-06 11:11:22 +05:30
Kovid Goyal bff9b03935 ... 2018-01-28 10:18:02 +05:30
Kovid Goyal edf9413356 Add a setting to adjust the width of cells, similar to the existing setting to adjust the height of cells 2018-01-28 10:16:59 +05:30
Kovid Goyal 213768b6e0 Option to place tab bar at the top edge
Fixes #288
2018-01-19 17:04:58 +05:30
Kovid Goyal 4f12c91fff Use the new region function everywhere
Centralizes window layout calculation and no longer assumes
tab bar geometry
2018-01-19 15:56:07 +05:30
Kovid Goyal b6188bf436 Move window region calculations into one place 2018-01-19 11:31:44 +05:30
Kovid Goyal b01c3483de Add an option to fade text in inactive windows
Fixes #256
2017-12-28 10:36:48 +05:30
Jo De Boeck 60e17d5224 Make it possible to modify rectangle selection modifiers
Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
2017-12-24 18:40:25 +02:00
Kovid Goyal c8aee8c881 Automatically adjust cell height when DPI changes
DPI changes are detected as a change in the ration of the window size to
the framebuffer size. I dont know how reliable that is. Possiblly Fix #77
2017-12-20 22:55:05 +05:30
Kovid Goyal 0fcce6ec58 Remove trailing whitespace from native code files 2017-12-20 08:44:47 +05:30
Kovid Goyal 684a2e05f4 Move logical DPI calculation into glfw module
Now DPI state is maintained in only one central place.
2017-12-14 18:30:53 +05:30
Kovid Goyal c7e1a12eb6 Have pt_to_px use global_state instead of get_dpi
DRYer and reduces code size
2017-12-14 18:04:10 +05:30
Kovid Goyal 8d7515bd9b Basic color emoji rendering working
Still need to downscale color bitmaps to fit into cells
2017-12-09 12:01:43 +05:30
Kovid Goyal e4b839742c Add option to control using color emoji or not 2017-12-09 12:01:43 +05:30
Kovid Goyal ed9b332da5 Add an option to control the underline style for highlighting URLs on mouse over 2017-12-05 12:28:10 +05:30
Kovid Goyal ffff343e3d Work on rendering to FBO 2017-12-01 12:16:15 +05:30
Kovid Goyal 2bcbcfff44 Start work on background opacity 2017-12-01 12:16:14 +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 058c1bec10 Workaround for new windows not getting focus events on macOS 2017-12-01 12:16:12 +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 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 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 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 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 82d17c8a59 DRYer 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 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 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 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 3643a78b18 Start work on line based rendering 2017-11-09 16:45:44 +05:30
Kovid Goyal 505ae90fd7 macOS: Add an setting to have the option key not behave as alt 2017-11-08 09:14:19 +05:30
Kovid Goyal 2f5b110c41 Implement an option to have focus follow the mouse
Fixes #156
2017-10-24 09:29:28 +05:30
Kovid Goyal 66803e6873 Workaround to get graphics working on Apple's buggy products
Apparently some macOS OpenGL drivers cannot handle using a VAO with
attributes that have different divisors/apply to different shaders. So
use a separate VAO for graphics rendering. This is a small performance hit,
but is the price of supporting substandard computers.
2017-10-17 12:15:52 +05:30