Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | inline lcurses maximally rather than minimally | Kartik K. Agaram | 2021-11-19 | 12 | -4/+4991 | |
| | | | | | | | | | Until now we had just the bare minimum bindings needed for the demos built so far. Now we have all of lcurses building in place with minimal changes. The changes in this commit can run hanoi.lua when inlined into Lua 5.1, but don't work with Teliva. | |||||
* | . | Kartik K. Agaram | 2021-11-19 | 1 | -5/+7 | |
| | ||||||
* | demo | Kartik Agaram | 2021-11-14 | 1 | -0/+4 | |
| | | | | https://archive.org/details/akkartik-2021-11-14 | |||||
* | tested on Mac OS | Kartik K. Agaram | 2021-11-14 | 2 | -2/+5 | |
| | ||||||
* | list dependencies | Kartik K. Agaram | 2021-11-14 | 1 | -1/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+2 | |
| | ||||||
* | drop mentions of the old .teliva extension | Kartik K. Agaram | 2021-11-14 | 1 | -3/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+1 | |
| | ||||||
* | tweak Readme | Kartik K. Agaram | 2021-11-14 | 2 | -23/+13 | |
| | ||||||
* | get rid of old script files | Kartik K. Agaram | 2021-11-14 | 3 | -418/+0 | |
| | ||||||
* | import life.teliva into image format | Kartik K. Agaram | 2021-11-14 | 2 | -0/+274 | |
| | ||||||
* | cleaner error handling | Kartik K. Agaram | 2021-11-14 | 2 | -21/+9 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+1 | |
| | ||||||
* | remain in editor on error | Kartik K. Agaram | 2021-11-14 | 2 | -5/+31 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 2 | -3/+3 | |
| | ||||||
* | find _some_ way to show error on initial load | Kartik K. Agaram | 2021-11-14 | 1 | -2/+8 | |
| | ||||||
* | more menu cleanup | Kartik K. Agaram | 2021-11-14 | 2 | -8/+16 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 2 | -20/+20 | |
| | ||||||
* | drop support for non-image Lua scripts | Kartik K. Agaram | 2021-11-14 | 1 | -35/+8 | |
| | | | | We still have no story for error messages. We'll work on that next. | |||||
* | draw the browse dialog the same way | Kartik K. Agaram | 2021-11-14 | 2 | -10/+46 | |
| | ||||||
* | dialogs are not status messages | Kartik K. Agaram | 2021-11-14 | 1 | -3/+8 | |
| | ||||||
* | smarter image browsing | Kartik K. Agaram | 2021-11-14 | 1 | -19/+53 | |
| | | | | | - distinguish between unused functions and data - don't hardcode a specific convention for the curses window object | |||||
* | slightly more robust on-disk format | Kartik K. Agaram | 2021-11-14 | 3 | -33/+33 | |
| | | | | | | Looks like Lua supports a little bit of programmability in its multi-line string literals. Even though I can't find this documented anywhere. | |||||
* | janky way to cancel browsing | Kartik K. Agaram | 2021-11-14 | 1 | -6/+9 | |
| | ||||||
* | slightly more obvious browse dialog | Kartik K. Agaram | 2021-11-14 | 1 | -1/+4 | |
| | ||||||
* | cleaner dialogs | Kartik K. Agaram | 2021-11-14 | 2 | -23/+60 | |
| | ||||||
* | no, use Esc to cancel | Kartik K. Agaram | 2021-11-14 | 1 | -5/+5 | |
| | | | | | It inserts an ugly pause for ghastly historical reasons having to do with the origins of terminals. But hopefully this isn't a common case. | |||||
* | use word at cursor when it's not at start of line | Kartik K. Agaram | 2021-11-14 | 1 | -2/+4 | |
| | ||||||
* | editor: use ctrl-g to cancel dialogs | Kartik K. Agaram | 2021-11-13 | 1 | -5/+5 | |
| | ||||||
* | jump to word at cursor by default | Kartik K. Agaram | 2021-11-13 | 1 | -0/+28 | |
| | ||||||
* | ctrl-u to clear response in go menu | Kartik K. Agaram | 2021-11-13 | 1 | -0/+3 | |
| | ||||||
* | reset cursor position when switching definitions | Kartik K. Agaram | 2021-11-13 | 1 | -0/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+0 | |
| | ||||||
* | a larger test image | Kartik K. Agaram | 2021-11-13 | 1 | -0/+81 | |
| | ||||||
* | cleaner layout for a function's code and data | Kartik K. Agaram | 2021-11-13 | 2 | -9/+54 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -0/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -4/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+1 | |
| | ||||||
* | generalize kilo's hard-coded multiline C syntax | Kartik K. Agaram | 2021-11-13 | 1 | -21/+28 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -6/+2 | |
| | ||||||
* | fix for editor highlighting | Kartik K. Agaram | 2021-11-13 | 1 | -1/+2 | |
| | | | | Bug introduced during the transition to ncurses. | |||||
* | clean up after the editor | Kartik K. Agaram | 2021-11-13 | 1 | -0/+1 | |
| | | | | | Even though we don't need to leave ncurses mode, there's still a process boundary to clean up before. | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -3/+4 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -8/+7 | |
| | ||||||
* | kill highlighting flags | Kartik K. Agaram | 2021-11-13 | 1 | -9/+5 | |
| | | | | Looks like they were never used in original Kilo. | |||||
* | replace Kilo's raw terminal handling with ncurses | Kartik K. Agaram | 2021-11-13 | 3 | -357/+92 | |
| | | | | | | This was on my todo list. What made it urgent was finding that calling getch() even once while in ncurses caused Kilo to stop detecting arrow keys. No need to debug that sort of nonsense. | |||||
* | avoid side-effects on the Lua stack | Kartik K. Agaram | 2021-11-13 | 1 | -0/+5 | |
| | ||||||
* | stop leaking memory | Kartik K. Agaram | 2021-11-13 | 2 | -4/+6 | |
| | ||||||
* | memory corruption bug | Kartik K. Agaram | 2021-11-13 | 1 | -1/+3 | |
| | | | | | | | | | I was saving an address on the stack to a global, and it was getting clobbered later. This is the sort of thing I completely eliminated in https://github.com/akkartik/mu :/ Now I'm taking a leaf out of the Mu playbook and leaking a little bit of memory every time I switch definitions. | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -6/+0 | |
| |