about summary refs log tree commit diff stats
path: root/log_browser.lua
Commit message (Collapse)AuthorAgeFilesLines
* use editor state font for width calculationsKartik K. Agaram2024-01-121-4/+4
|
* bugfixKartik K. Agaram2023-12-291-1/+1
| | | | | | | | | scenario: run without config file, quit, run again expected: font size remains the same on second run Before this commit it was increasing on each run. It turns out the font height that you pass into love.graphics.newFont() is not the result of font:getHeight().
* pull font into editorKartik K. Agaram2023-12-291-1/+1
| | | | | Now it adjusts the current font for itself. And it's up to the caller to adjust the current font after.
* audit all assertsKartik K. Agaram2023-11-181-2/+2
| | | | | | | | | | | | | Each one should provide a message that will show up within LÖVE. Stop relying on nearby prints to the terminal. I also found some unnecessary ones. There is some potential here for performance regressions: the format() calls will trigger whether or not the assertion fails, and cause allocations. So far Lua's GC seems good enough to manage the load even with Moby Dick, even in some situations that caused issues in the past like undo.
* change section delimiters in log for OpenBSDKartik K. Agaram2023-10-201-4/+4
| | | | Thanks eril for the report and patch.
* delete some dead codeKartik K. Agaram2023-09-151-10/+0
| | | | This is a holdover from the days of bifold text.
* hide cursor in log browser windowKartik K. Agaram2023-05-141-2/+2
|
* switch source side to new screen-line-based renderKartik K. Agaram2023-04-031-1/+1
| | | | Also copy over the implementation of links from pensieve.love.
* get rid of to_textKartik K. Agaram2023-04-011-7/+6
| | | | | | | | | | | | | I've been misunderstanding what Text objects are. They can render a lot of text with a given line height, word wrap, colors in various places. And I've been creating one for every word :facepalm: Unwinding this will take some time. This is just a first baby step for ad hoc text objects. Turns out I don't need to convert to Text to get something's rendered width, just the Font can do that. Thanks to the LÖVE Discord for educating me: https://discord.com/channels/329400828920070144/330089431379869708/1091535487333826580
* some minor cleanupKartik K. Agaram2023-03-231-1/+1
| | | | | I can't see the mouse wheel ever setting dx, but it's more obvious now that the editor doesn't support panning left/right.
* mouse wheel supportKartik K. Agaram2023-03-231-12/+32
|
* more bugfixKartik K. Agaram2023-03-171-4/+2
| | | | Don't crash on showing the log browser.
* consistent names in a few more placesKartik K. Agaram2022-12-231-1/+1
|
* make love event names consistentKartik K. Agaram2022-12-231-4/+4
| | | | | 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.
* yet another bugfix in log parsingKartik K. Agaram2022-09-171-2/+6
|
* bugfix: perform matches in the right orderKartik K. Agaram2022-09-171-2/+2
|
* bugfix: log filenames can have 2 formatsKartik K. Agaram2022-09-171-1/+4
|
* editing source code from within the appKartik K. Agaram2022-09-031-0/+316
integrated from pong.love via text.love: https://merveilles.town/@akkartik/108933336531898243