Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2086 - reset cursor on resize | Kartik K. Agaram | 2015-08-28 | 1 | -13/+11 |
| | | | | Also drop some redundancy with 'render-all'. | ||||
* | 2085 - undo/redo now working for simple typing | Kartik K. Agaram | 2015-08-27 | 1 | -0/+50 |
| | | | | | Not yet useable, because we never ever stop coalescing operations. That will happen when we introduce a second type of operation. | ||||
* | 2084 | Kartik K. Agaram | 2015-08-27 | 1 | -23/+155 |
| | |||||
* | 2083 | Kartik K. Agaram | 2015-08-26 | 1 | -2/+42 |
| | |||||
* | 2082 | Kartik K. Agaram | 2015-08-26 | 1 | -1/+92 |
| | |||||
* | 2081 - preliminary data model for undo | Kartik K. Agaram | 2015-08-26 | 1 | -4/+44 |
| | |||||
* | 2079 | Kartik K. Agaram | 2015-08-26 | 1 | -12/+7 |
| | | | | Cleanup 2078. | ||||
* | 2078 - update entire screen on tb_present() | Kartik K. Agaram | 2015-08-26 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | Termbox had been taking shortcuts when it thinks the screen hasn't changed, which doesn't work if some other process messes up the screen. The Go version has a Sync method in addition to Flush/tb_present for precisely this eventuality. But it feels like an unnecessary optimization given C's general speed. Just drop it altogether. --- This took me a long time to track down, and interestingly I found myself writing a new tracing primitive before I remembered how to selectively trace just certain layers during manual tests. I'm scared of generating traces not because of performance but because of the visual noise. Be aware of this. I'm going to clean up $log now. Maybe I should also stop using $print.. | ||||
* | 2077 | Kartik K. Agaram | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | 2076 - ensure cursor doesn't move on non-editor clicks | Kartik K. Agaram | 2015-08-24 | 1 | -6/+24 |
| | |||||
* | 2069 - arrow bugfix | Kartik K. Agaram | 2015-08-24 | 1 | -9/+81 |
| | |||||
* | 2068 | Kartik K. Agaram | 2015-08-24 | 1 | -2/+38 |
| | |||||
* | 2066 | Kartik K. Agaram | 2015-08-24 | 1 | -3/+1 |
| | |||||
* | 2065 - arrow bugfix | Kartik K. Agaram | 2015-08-24 | 1 | -3/+37 |
| | |||||
* | 2061 - clear status only after repaint | Kartik K. Agaram | 2015-08-22 | 1 | -4/+8 |
| | |||||
* | 2060 - even more efficient up/down | Kartik K. Agaram | 2015-08-22 | 1 | -2/+101 |
| | |||||
* | 2058 | Kartik K. Agaram | 2015-08-22 | 1 | -1/+1 |
| | |||||
* | 2057 - more efficient render on up/down | Kartik K. Agaram | 2015-08-22 | 1 | -8/+18 |
| | |||||
* | 2056 - more efficient render on delete | Kartik K. Agaram | 2015-08-21 | 1 | -3/+33 |
| | |||||
* | 2055 - more efficient render on backspace | Kartik K. Agaram | 2015-08-21 | 1 | -4/+38 |
| | |||||
* | 2053 | Kartik K. Agaram | 2015-08-21 | 1 | -13/+49 |
| | |||||
* | 2049 - snappier right-arrow | Kartik K. Agaram | 2015-08-21 | 1 | -2/+16 |
| | |||||
* | 2048 | Kartik K. Agaram | 2015-08-21 | 1 | -0/+30 |
| | |||||
* | 2047 | Kartik K. Agaram | 2015-08-20 | 1 | -5/+23 |
| | | | | Back on a nice cadence of optimizing one case at a time. | ||||
* | 2046 | Kartik K. Agaram | 2015-08-20 | 1 | -256/+67 |
| | | | | | | | | | Redo some of the work of commits 2025-2032. We still need to create special-cases for each branch, but we'll now always update cursor in a single place. We'll also have handle-keyboard-event tell its caller whether it already took care of rendering or not. That way the caller only falls back to painting the entire screen when necessary. No more double-painting. | ||||
* | 2045 | Kartik K. Agaram | 2015-08-20 | 1 | -26/+29 |
| | |||||
* | 2044 | Kartik K. Agaram | 2015-08-20 | 1 | -8/+45 |
| | | | | Don't render entire screen when appending to line. | ||||
* | 2040 | Kartik K. Agaram | 2015-08-20 | 1 | -3/+16 |
| | | | | Back to checking render performance everywhere. | ||||
* | 2039 - warn on unbalanced '[' | Kartik K. Agaram | 2015-08-19 | 1 | -0/+29 |
| | |||||
* | 2038 - toggle trace even if warnings or prints | Kartik K. Agaram | 2015-08-19 | 1 | -2/+5 |
| | |||||
* | 2037 | Kartik K. Agaram | 2015-08-19 | 1 | -43/+42 |
| | | | | | All scenarios should use just numeric locations, and 'run' should encapsulate the code under test. | ||||
* | 2036 | Kartik K. Agaram | 2015-08-19 | 1 | -5/+5 |
| | | | | | Standardize on whether screen operations will explicitly write to 'screen' inside scenarios. (Answer: not for setup code, at least.) | ||||
* | 2035 | Kartik K. Agaram | 2015-08-18 | 1 | -0/+30 |
| | |||||
* | 2034 | Kartik K. Agaram | 2015-08-17 | 1 | -7/+112 |
| | |||||
* | 2033 - minimal render for appending characters | Kartik K. Agaram | 2015-08-17 | 1 | -0/+29 |
| | |||||
* | 2032 | Kartik K. Agaram | 2015-08-17 | 1 | -3/+3 |
| | | | | | Get all tests passing again. Actually slower now than before, thanks to double-render when editing the sandbox side. But that is temporary. | ||||
* | 2031 - always position cursor after repainting | Kartik K. Agaram | 2015-08-17 | 1 | -0/+25 |
| | |||||
* | 2030 | Kartik K. Agaram | 2015-08-17 | 1 | -13/+39 |
| | |||||
* | 2029 | Kartik K. Agaram | 2015-08-17 | 1 | -5/+28 |
| | |||||
* | 2028 | Kartik K. Agaram | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | 2027 | Kartik K. Agaram | 2015-08-16 | 1 | -33/+57 |
| | |||||
* | 2026 | Kartik K. Agaram | 2015-08-16 | 1 | -27/+57 |
| | |||||
* | 2025 - back to speeding up render | Kartik K. Agaram | 2015-08-16 | 1 | -31/+31 |
| | | | | | | | | | First step: drop the existing optimization of not redrawing after every character. Gives the editor a jumpy feel. I'm also hoisting the render into handle-keyboard event as a first step to duplicating it everywhere. One test temporarily failing: we're gonna sometimes forget to draw the line below editors. | ||||
* | 2024 - mu environment now handles infinite loops gracefully | Kartik K. Agaram | 2015-08-16 | 1 | -1/+38 |
| | |||||
* | 2015 - ctrl-l: redraw screen | Kartik K. Agaram | 2015-08-15 | 1 | -4/+30 |
| | | | | | I'm starting to optimize screen-drawing. If I get it wrong, this will be a work-around. | ||||
* | 2014 - stop redundant prints on left-click | Kartik K. Agaram | 2015-08-15 | 1 | -6/+103 |
| | |||||
* | 2013 | Kartik K. Agaram | 2015-08-15 | 1 | -5/+6 |
| | |||||
* | 2012 | Kartik K. Agaram | 2015-08-15 | 1 | -2/+2 |
| | |||||
* | 2011 | Kartik K. Agaram | 2015-08-15 | 1 | -9/+0 |
| | | | | | I think this can never trigger because 'cursor-column' can't be greater than 'right'. | ||||
* | 2010 | Kartik K. Agaram | 2015-08-15 | 1 | -2/+2 |
| |