Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge lines.love | Kartik K. Agaram | 2022-12-23 | 1 | -21/+21 |
|\ | |||||
| * | consistent names in a few more places | Kartik K. Agaram | 2022-12-23 | 1 | -4/+4 |
| | | |||||
| * | make love event names consistent | Kartik K. Agaram | 2022-12-23 | 1 | -19/+19 |
| | | | | | | | | | | I want the words to be easy to read, and to use a consistent tense. update and focus seem more timeless; let's make everything like those. | ||||
| * | require editor margins to be ints | Kartik K. Agaram | 2022-12-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Not directly relevant here, but forks of this project that permit zooming can run into weird glitches if margins are not a whole number of pixels. I'd always assumed a type system that divided ints into floats was strictly superior, but now I have experienced a situation where requiring ints isn't just a compromise for the underlying CPU implementation. Particularly since Lua's print() silently hides really tiny fractions. | ||||
| * | bugfix in changing shape mid-stroke | Kartik K. Agaram | 2022-12-12 | 1 | -2/+5 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-12-12 | 1 | -1/+6 |
|\| | |||||
| * | bugfix: naming points in drawings | Kartik K. Agaram | 2022-12-12 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | We had a regression since commit 60e1023f0 on Nov 27. Turns out we do need the ancient hack after all. But no, we won't go back to the hack. It's a simple problem to fix right. And while we're at it, we'll fix the test harness to be more realistic so it would have caught this problem. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-11-27 | 1 | -1/+1 |
|\| | |||||
| * | bugfix | Kartik K. Agaram | 2022-11-27 | 1 | -1/+1 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-11-19 | 1 | -1/+4 |
|\| | |||||
| * | ctrl+a: select entire buffer | Kartik K. Agaram | 2022-11-19 | 1 | -1/+4 |
| | | |||||
* | | purge unused button infrastructure | Kartik K. Agaram | 2022-11-05 | 1 | -6/+0 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-11-03 | 1 | -2/+2 |
|\| | |||||
| * | stop tracking wallclock time | Kartik K. Agaram | 2022-11-03 | 1 | -2/+2 |
| | | | | | | | | We only need time differences. | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-10 | 1 | -1/+1 |
|\| | |||||
| * | bugfix: path munging on Windows | Kartik K. Agaram | 2022-09-10 | 1 | -1/+1 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-07 | 1 | -1/+4 |
|\| | |||||
| * | self-documenting 0 Test_right_margin | Kartik K. Agaram | 2022-09-07 | 1 | -1/+4 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-09-05 | 1 | -3/+5 |
|\| | |||||
| * | support drawings in the source editor | Kartik K. Agaram | 2022-09-05 | 1 | -3/+5 |
| | | |||||
| * | editing source code from within the app | Kartik K. Agaram | 2022-09-03 | 1 | -9/+0 |
| | | | | | | | | | | integrated from pong.love via text.love: https://merveilles.town/@akkartik/108933336531898243 | ||||
* | | editing source code from within the app | Kartik K. Agaram | 2022-09-03 | 1 | -5/+0 |
| | | | | | | | | integrated from pong.love: https://merveilles.town/@akkartik/108933336531898243 | ||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-24 | 1 | -0/+1 |
|\| | |||||
| * | infrastructure for caching LÖVE text objects | Kartik K. Agaram | 2022-08-24 | 1 | -0/+1 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-23 | 1 | -12/+16 |
|\| | |||||
| * | flip return value of button handlers | Kartik K. Agaram | 2022-08-23 | 1 | -2/+1 |
| | | | | | | | | | | | | This is compatible with Javascript, and it also seems like a better default; when people forget to think about return values in click handlers, they should be consumed. | ||||
| * | stop putting button state in a global | Kartik K. Agaram | 2022-08-23 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symptom: a test (test_click_to_create_drawing) started randomly failing after I inserted a `return` 2 commits ago. Cause: my tests call edit.draw, but button handlers only get cleared in app.draw. So my tests weren't clearing button handlers, and every call to edit.draw was accumulating states. Still unclear why those were going to different state objects after the `return`, but anyway. I'm not going to understand every last thing that happens when things go wrong, just guarantee they can't go wrong. And the way to do that is to decentralize button handlers to each state that receives them. The State object in buttons.lua doesn't have to be Editor_state. It just has to be some table that provides a Schelling Point for shared state. | ||||
| * | allow buttons to interrupt events | Kartik K. Agaram | 2022-08-23 | 1 | -1/+5 |
| | | | | | | | | Most button onpress1 handlers will want to return true. | ||||
| * | distinguish consistently between mouse buttons and other buttons | Kartik K. Agaram | 2022-08-23 | 1 | -11/+11 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-18 | 1 | -0/+2 |
|\| | |||||
| * | subsection headings in a long switch | Kartik K. Agaram | 2022-08-18 | 1 | -0/+2 |
| | | |||||
* | | Merge lines.love | Kartik K. Agaram | 2022-08-17 | 1 | -5/+3 |
|\| | |||||
| * | simplify cursor-on-screen check | Kartik K. Agaram | 2022-08-17 | 1 | -5/+3 |
| | | |||||
* | | bring back a level of wrapping | Kartik K. Agaram | 2022-08-15 | 1 | -2/+2 |
| | | | | | | | | | | Many projects will require the ability to add metadata to lines, so let's not drop that. | ||||
* | | clean up a few more loose ends | Kartik K. Agaram | 2022-08-14 | 1 | -4/+0 |
| | | |||||
* | | new fork: rip out drawing support | Kartik K. Agaram | 2022-08-14 | 1 | -186/+48 |
|/ | |||||
* | remove some duplication | Kartik K. Agaram | 2022-08-14 | 1 | -6/+4 |
| | |||||
* | bugfix: obsolete location for attribute | Kartik K. Agaram | 2022-08-14 | 1 | -2/+2 |
| | |||||
* | click to the left of a line | Kartik K. Agaram | 2022-07-29 | 1 | -2/+4 |
| | |||||
* | copying to clipboard can never scroll | Kartik K. Agaram | 2022-07-27 | 1 | -1/+0 |
| | |||||
* | line.y -> line_cache.starty in a few more places | Kartik K. Agaram | 2022-07-27 | 1 | -8/+8 |
| | | | | | | Disquieting that none of my tests caught these. On the other hand, I also haven't noticed any issues in practice. Perhaps cache invalidation is often unnecessary. | ||||
* | have file API operate on state object | Kartik K. Agaram | 2022-07-25 | 1 | -2/+2 |
| | |||||
* | extract method | Kartik K. Agaram | 2022-07-23 | 1 | -0/+11 |
| | |||||
* | move drawing.starty into line cache | Kartik K. Agaram | 2022-07-20 | 1 | -4/+4 |
| | |||||
* | use line cache for drawings as well | Kartik K. Agaram | 2022-07-20 | 1 | -4/+4 |
| | |||||
* | separate data structure for each line's cache data | Kartik K. Agaram | 2022-07-17 | 1 | -8/+13 |
| | | | | I have no idea what the performance implications of this are.. | ||||
* | keep all text cache writes inside text.lua | Kartik K. Agaram | 2022-07-17 | 1 | -4/+3 |
| | |||||
* | switch to line index in a function | Kartik K. Agaram | 2022-07-17 | 1 | -2/+2 |
| | | | | - Text.to_pos_on_line | ||||
* | switch to line index in a function | Kartik K. Agaram | 2022-07-17 | 1 | -2/+2 |
| | | | | - Text.in_line | ||||
* | drop some extra args | Kartik K. Agaram | 2022-07-17 | 1 | -4/+4 |
| |