Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | . | Kartik K. Agaram | 2021-11-26 | 1 | -2/+2 | |
| | ||||||
* | extract a function | Kartik K. Agaram | 2021-11-25 | 1 | -10/+18 | |
| | ||||||
* | more stack hygiene | Kartik K. Agaram | 2021-11-25 | 1 | -0/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-25 | 1 | -7/+7 | |
| | ||||||
* | dedup definitions in big-picture view | Kartik K. Agaram | 2021-11-25 | 1 | -4/+40 | |
| | | | | We only want to show most recent version of each binding. | |||||
* | new shortcut: return to big-picture view | Kartik K. Agaram | 2021-11-25 | 1 | -9/+14 | |
| | ||||||
* | teliva is now ASan-clean again | Kartik K. Agaram | 2021-11-25 | 1 | -0/+4 | |
| | | | | | | | | | At least in short runs. Encouraging that the problem was in a recent commit (5a63a5ca40 from yesterday when I introduced version control). Disabling Address Sanitizer again. | |||||
* | rename | Kartik K. Agaram | 2021-11-24 | 1 | -9/+9 | |
| | ||||||
* | monotonically accumulate versions of definitions | Kartik K. Agaram | 2021-11-24 | 1 | -71/+137 | |
| | | | | | | | | | | | One old drawback now has a new look. Before, we loaded definitions in order, so global definitions had to exist before other global definitions that used them. See window and grid in life.tlv. Now we load definitions in reverse order, so initialization needs to change. Worse, if we update window, we need to edit grid just to fix the order. This implies that we can't yet optimize away bindings where there are no new changes. | |||||
* | . | Kartik K. Agaram | 2021-11-24 | 1 | -3/+3 | |
| | ||||||
* | consistent file ops | Kartik K. Agaram | 2021-11-24 | 1 | -6/+6 | |
| | | | | Now we're down to 1 real warning and 1 false positive. | |||||
* | style | Kartik K. Agaram | 2021-11-24 | 1 | -3/+3 | |
| | ||||||
* | rename | Kartik K. Agaram | 2021-11-24 | 1 | -7/+7 | |
| | ||||||
* | indent | Kartik K. Agaram | 2021-11-24 | 1 | -32/+32 | |
| | ||||||
* | standardize warning flags everywhere | Kartik K. Agaram | 2021-11-22 | 1 | -10/+7 | |
| | | | | | | | | | | I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those. | |||||
* | https now working! | Kartik K. Agaram | 2021-11-21 | 1 | -0/+4 | |
| | | | | | | | | Still extremely ugly: - I've inlined all the namespaces under ssl, so you need to know that context and config are related to ssl. - luasec comes with its own copy of luasocket. I haven't deduped that yet. | |||||
* | basic http requests starting to work | Kartik K. Agaram | 2021-11-21 | 1 | -0/+10 | |
| | | | | | In the process we're starting to load almost all of luasocket by default. And everything is working as expected, no unpleasant surprises. | |||||
* | now. we. have. JSON. | Kartik K. Agaram | 2021-11-21 | 1 | -0/+2 | |
| | | | | Completely unmodified from upstream. | |||||
* | luasocket now loading properly | Kartik K. Agaram | 2021-11-20 | 1 | -0/+2 | |
| | | | | I still haven't tried actually running it. | |||||
* | extract a helper | Kartik K. Agaram | 2021-11-20 | 1 | -8/+17 | |
| | ||||||
* | bugfix: support running from top-level | Kartik K. Agaram | 2021-11-20 | 1 | -1/+1 | |
| | | | | Unfortunately we can't currently run teliva from anywhere else :/ | |||||
* | port changes from minimal to maximal version | Kartik K. Agaram | 2021-11-20 | 1 | -7/+19 | |
| | | | | From lcurseslib.c to lcurses/ directory. | |||||
* | report errors when calling non-existent functions | Kartik K. Agaram | 2021-11-20 | 1 | -2/+4 | |
| | ||||||
* | inline in C is not worth the trouble | Kartik K. Agaram | 2021-11-20 | 1 | -2/+2 | |
| | | | | https://merveilles.town/@akkartik/107310347838372198 | |||||
* | inline lcurses maximally rather than minimally | Kartik K. Agaram | 2021-11-19 | 1 | -0/+1 | |
| | | | | | | | | | 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. | |||||
* | import life.teliva into image format | Kartik K. Agaram | 2021-11-14 | 1 | -0/+1 | |
| | ||||||
* | cleaner error handling | Kartik K. Agaram | 2021-11-14 | 1 | -17/+7 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+1 | |
| | ||||||
* | remain in editor on error | Kartik K. Agaram | 2021-11-14 | 1 | -5/+20 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+2 | |
| | ||||||
* | 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 | 1 | -1/+4 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -18/+18 | |
| | ||||||
* | 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 | 1 | -9/+45 | |
| | ||||||
* | 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 | 1 | -2/+2 | |
| | | | | | | 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 layout for a function's code and data | Kartik K. Agaram | 2021-11-13 | 1 | -6/+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 | |
| | ||||||
* | 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 | 1 | -1/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+1 | |
| | ||||||
* | replace Kilo's raw terminal handling with ncurses | Kartik K. Agaram | 2021-11-13 | 1 | -1/+0 | |
| | | | | | | 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 | 1 | -2/+3 | |
| | ||||||
* | 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. |