Commit Graph

  • 281cb50780 API to map OpenGL buffers Kovid Goyal 2017-09-08 17:22:00 +05:30
  • 012b209a56 Update CELL data structure Kovid Goyal 2017-09-08 16:15:13 +05:30
  • c0593d9f1f Get rid of update_screen Kovid Goyal 2017-09-08 16:09:47 +05:30
  • f655112bda Directly copy the sprite positions into the GPU buffer Kovid Goyal 2017-09-08 14:22:27 +05:30
  • c4680aae2c Track sprite positions in the Cell structure Kovid Goyal 2017-09-08 13:51:35 +05:30
  • a8d5ad2c1a ... Kovid Goyal 2017-09-08 10:33:47 +05:30
  • 333eb3534a ... Kovid Goyal 2017-09-08 10:15:00 +05:30
  • 1a42356f68 Forgot to close stdin_read_fd in the master process Kovid Goyal 2017-09-08 10:10:24 +05:30
  • 1197549e5b Remove the last use of the python threading module Kovid Goyal 2017-09-08 09:57:55 +05:30
  • d2749f5ccc Sigh Kovid Goyal 2017-09-08 09:18:47 +05:30
  • 6379b3f898 Forgot to modify the fds array in remove children Kovid Goyal 2017-09-08 08:30:52 +05:30
  • c97afd7b44 Handle unexpected closing of child fds gracefully Kovid Goyal 2017-09-08 08:10:23 +05:30
  • 9b9003ded0 Simplify code to set thread names Kovid Goyal 2017-09-08 07:20:23 +05:30
  • 5550c7a95f _GNU_SOURCE needed on apple as well? Kovid Goyal 2017-09-08 06:44:05 +05:30
  • fe7f3233ba Fix initial tab bar visibility when starting a session with multiple tabs Kovid Goyal 2017-09-07 21:17:07 +05:30
  • a52f0939df Make using the timer for wakeups more efficient Kovid Goyal 2017-09-07 21:11:29 +05:30
  • ff3ddfd369 Simply use of repaint_delay in parse_input() Kovid Goyal 2017-09-07 20:50:39 +05:30
  • 161161f840 Dont include stropts.h on macs Kovid Goyal 2017-09-07 20:46:05 +05:30
  • b0e1c74fdd Note about interaction of cursor_blink_time and repaint_delay Kovid Goyal 2017-09-07 20:44:02 +05:30
  • 1bd46b0636 Avoid extra wakeup when rendering blinking cursor Kovid Goyal 2017-09-07 20:18:29 +05:30
  • 5e676090fa Report failures to write to child Kovid Goyal 2017-09-07 19:51:01 +05:30
  • 4d31624a69 Better handling of failure to execute child Kovid Goyal 2017-09-07 18:45:51 +05:30
  • c9695efd18 ... Kovid Goyal 2017-09-07 18:31:53 +05:30
  • 7dc51d7d9e Handle ioctl failures when resizing the tty more gracefully Kovid Goyal 2017-09-07 18:29:23 +05:30
  • d5d812ccfe Fix for session with empty enabled_layouts Kovid Goyal 2017-09-07 18:12:35 +05:30
  • af02b735e7 Move child process management into child-monitor.c Kovid Goyal 2017-09-07 18:00:47 +05:30
  • 52ab534e22 Move setting of IUTF8 into child-monitor.c Kovid Goyal 2017-09-07 14:43:58 +05:30
  • 895eedeb9b Apparently pthread_mutex_t is a scalar on macs Kovid Goyal 2017-09-07 13:46:24 +05:30
  • 5972a37550 Work on centralising lifecycle management in the child monitor Kovid Goyal 2017-09-07 13:44:12 +05:30
  • 079054f798 Fix tab bar rendering Kovid Goyal 2017-09-07 09:05:26 +05:30
  • 914f7ddbd5 Fix zero division Kovid Goyal 2017-09-07 08:59:15 +05:30
  • 5357876128 Ensure screen objects are de-allocated immediately on close instead of waiting for garbage collection Kovid Goyal 2017-09-07 08:57:11 +05:30
  • b20367b888 Avoid dict lookups when calling python callbacks Kovid Goyal 2017-09-06 21:04:31 +05:30
  • 6698712b44 Respect repaint_delay when calling render() as well Kovid Goyal 2017-09-06 20:57:51 +05:30
  • 21b799905d Move the main loop into the C module Kovid Goyal 2017-09-06 20:47:39 +05:30
  • 02870d7221 Move the signal received handler into the C module Kovid Goyal 2017-09-06 20:26:04 +05:30
  • d4991424f9 Set the python thread switch interval to forever Kovid Goyal 2017-09-06 20:03:57 +05:30
  • 1684bda1e9 Better thread name Kovid Goyal 2017-09-06 18:41:39 +05:30
  • e8b5a72c96 Remove GIL management code since it is no longer needed Kovid Goyal 2017-09-06 18:35:23 +05:30
  • 7f180ad3d9 Do not use the python threading module Kovid Goyal 2017-09-06 18:32:57 +05:30
  • 94c4c00859 Move signal handling code into the C module Kovid Goyal 2017-09-06 18:14:08 +05:30
  • 1308bbac2d Move creation of wakeup fds to c module Kovid Goyal 2017-09-06 17:43:11 +05:30
  • 76890a2b71 Do not perform any python API calls in the I/O thread Kovid Goyal 2017-09-06 16:45:47 +05:30
  • 2c8f3b6d98 Remove unnecessary extra lock/unlock of children_mutex Kovid Goyal 2017-09-06 15:24:30 +05:30
  • 0e46994d0a Restore repaint_delay Kovid Goyal 2017-09-06 14:31:54 +05:30
  • 44650c5723 Make reading into the screen read buffer more efficient Kovid Goyal 2017-09-06 13:28:37 +05:30
  • 234bb07b67 Initial attempt at moving all threading code into a single file Kovid Goyal 2017-09-01 16:31:29 +05:30
  • fea79878fa Make the monotonic() function available everywhere Kovid Goyal 2017-09-01 16:22:34 +05:30
  • 0365828a5b Remove all python threading related code Kovid Goyal 2017-08-31 13:11:46 +05:30
  • fa30a95b46 ... Kovid Goyal 2017-08-31 10:41:02 +05:30
  • f44d56b116 Ensure GIL is not released when rendering sprites Kovid Goyal 2017-08-31 10:37:17 +05:30
  • 6127d2d122 Make the sprite map globally accessible from C code as well as python code Kovid Goyal 2017-08-30 20:49:53 +05:30
  • 4feff2e2da Fix rendering of strikethrough not working Kovid Goyal 2017-08-30 13:30:52 +05:30
  • 8624dbac2c Sigh, stupid OpenGL Kovid Goyal 2017-08-30 10:38:54 +05:30
  • 4c0cf93562 Fix tab bar not rendering because of selection handling changes Kovid Goyal 2017-08-30 10:28:47 +05:30
  • d12573a67d Dont send the color table to the GPU on every frame Kovid Goyal 2017-08-30 10:20:26 +05:30
  • d7b433f6b7 API for Uniform Block Objects Kovid Goyal 2017-08-30 09:20:35 +05:30
  • b1168f6c6c Handle zero timeout correctly Kovid Goyal 2017-08-30 05:55:52 +05:30
  • 91e263cabb Fix sub-millisecond and no event waits not working Kovid Goyal 2017-08-30 05:46:01 +05:30
  • ed15f2f97e Get the layout of the Cell structure Kovid Goyal 2017-08-29 20:57:54 +05:30
  • 6689595277 Dont use Py_UCS4 for char_type Kovid Goyal 2017-08-29 20:37:24 +05:30
  • 34f946fd98 Move rendering of selection to GPU Kovid Goyal 2017-08-29 19:46:50 +05:30
  • a5bec84554 ... Kovid Goyal 2017-08-29 18:01:29 +05:30
  • 0fae3e1b10 ... Kovid Goyal 2017-08-29 16:05:39 +05:30
  • a56e1296fd Refactor the tab bar into its own class Kovid Goyal 2017-08-29 15:53:14 +05:30
  • acdeaaeda5 Move the border shaders into their own files Kovid Goyal 2017-08-29 12:49:34 +05:30
  • a44e3a3a50 Ensure line numbers reported by the GLSL compiler are correct Kovid Goyal 2017-08-29 12:45:52 +05:30
  • db40445572 Do color mapping on the GPU Kovid Goyal 2017-08-29 12:41:57 +05:30
  • 1d888c9194 Centralise color management into ColorProfile Kovid Goyal 2017-08-29 10:58:34 +05:30
  • b50eaa9cbb ColorProfile should belong to Screen Kovid Goyal 2017-08-28 17:20:58 +05:30
  • fe764ab6b6 oops Kovid Goyal 2017-08-28 16:37:55 +05:30
  • bab4680828 ... Kovid Goyal 2017-08-28 15:03:03 +05:30
  • 564010c7cd Migrate history.c Kovid Goyal 2017-08-28 14:54:32 +05:30
  • 052fd46ff9 Migrate sprites.c Kovid Goyal 2017-08-28 11:12:35 +05:30
  • 4fd8c7cfaa DRYer Kovid Goyal 2017-08-28 11:09:54 +05:30
  • 37f0cf86d0 Migrated line.c Kovid Goyal 2017-08-28 11:05:42 +05:30
  • 0cbd3a2820 Start work on using a struct for the cell Kovid Goyal 2017-08-28 10:09:58 +05:30
  • af3c89d79f oops Kovid Goyal 2017-08-28 08:41:19 +05:30
  • a1d75eb00d Use a function pointer to avoid a branch in loop() Kovid Goyal 2017-08-27 19:59:17 +05:30
  • 6176607ac4 Initial stab at switching to poll() instead of select() Kovid Goyal 2017-08-27 19:50:47 +05:30
  • 40254625d9 Fix timers not being replaced Kovid Goyal 2017-08-27 20:57:38 +05:30
  • 29b16d0856 Fix timers not being re-sorted on replace Kovid Goyal 2017-08-27 20:42:59 +05:30
  • ff72b1f96f Limit sprite co-ordinates to fit in uint16_t Kovid Goyal 2017-08-27 13:01:41 +05:30
  • a429bcbb22 Dont use the glfw timer function as it requires glfwInit Kovid Goyal 2017-08-26 21:24:26 +05:30
  • 3c7305b93c ... Kovid Goyal 2017-08-26 18:24:31 +05:30
  • f9b1a71edd Move the timers implementation to C Kovid Goyal 2017-08-26 17:30:20 +05:30
  • 2de0c82f18 Fix incorrect full keyboard mode escape codes Kovid Goyal 2017-09-15 10:44:56 +05:30
  • cdb12f2049 Fix #122 Kovid Goyal 2017-09-13 14:20:20 +05:30
  • ca310fc2f2 Add a note about border visibility Kovid Goyal 2017-09-12 06:52:33 +05:30
  • 273210cb97 Ignore resize requests for very small sizes. Fixes #119 Kovid Goyal 2017-08-28 20:31:01 +05:30
  • b957ef441c Avoid function name conflict with index from string.h Kovid Goyal 2017-08-27 21:07:45 +05:30
  • 31775c8b50 ... Kovid Goyal 2017-08-26 15:19:33 +05:30
  • 8199802b44 Remove unused code Kovid Goyal 2017-08-26 15:10:55 +05:30
  • 941c553172 Implement an option to adjust the line height Kovid Goyal 2017-08-26 14:14:51 +05:30
  • 8ee1c851a1 Optimize the bit twiddling in sprite_position_for Kovid Goyal 2017-08-26 13:05:18 +05:30
  • 4ce9f550ac Inline to_color for an easy performance boost Kovid Goyal 2017-08-26 10:52:24 +05:30
  • 7041616837 More semantic handling of profile arg when compiling Kovid Goyal 2017-08-26 10:36:04 +05:30
  • 6a3c812470 Forgot to remove python profiling from one place Kovid Goyal 2017-08-26 10:35:11 +05:30
  • 778b090467 ... Kovid Goyal 2017-08-26 10:25:50 +05:30
  • a922b4c789 Add instrumentation to analyse kitty performance Kovid Goyal 2017-08-26 10:24:12 +05:30