Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | beginnings of a parser for .dot files | Kartik K. Agaram | 2022-03-18 | 1 | -0/+669 |
| | | | | | I'm following https://graphviz.org/doc/info/lang.html. Just tokenization so far. | ||||
* | fake to stand in for start_reading in tests | Kartik K. Agaram | 2022-03-18 | 1 | -0/+44 |
| | |||||
* | break.tlv: nascent live-updating stack language | Kartik K. Agaram | 2022-03-17 | 6 | -12/+824 |
| | | | | | | | | | Joint work with Sumeet Agarwal. In the process we discovered several bugs in our fake window helpers for tests. Thanks Sumeet! Previous prototypes: - https://archive.org/details/akkartik-2min-2020-12-06 - https://merveilles.town/@akkartik/105759816342173743 | ||||
* | sandbox os.remove | Kartik K. Agaram | 2022-03-17 | 1 | -5/+18 |
| | |||||
* | fix some warnings | Kartik K. Agaram | 2022-03-17 | 1 | -3/+3 |
| | |||||
* | file handles vs file objects, ugh | Kartik K. Agaram | 2022-03-17 | 1 | -2/+3 |
| | |||||
* | function names from globals rather than debug info | Kartik K. Agaram | 2022-03-16 | 1 | -22/+22 |
| | | | | | | | | | | | This reclaims all the slowdown in sieve.tlv, and it also is now smart enough to detect calls to global bindings that pass through variables. On the flip side, we lose names for non-globals. But that's not very useful anyway in Teliva's context. This is still not enough to detect callers through coroutines (intervening anonymous functions), though. | ||||
* | bring back hack when caller is main | Kartik K. Agaram | 2022-03-16 | 1 | -0/+2 |
| | | | | Partially undoes commit f2d29c22f86a88. | ||||
* | cache function names | Kartik K. Agaram | 2022-03-16 | 1 | -10/+46 |
| | | | | This brings down the slowdown in sieve.tlv from 50% to 25% (15s). | ||||
* | standardize some names | Kartik K. Agaram | 2022-03-16 | 3 | -11/+12 |
| | |||||
* | stop running task.scheduler by default | Kartik K. Agaram | 2022-03-16 | 5 | -42/+36 |
| | | | | | sieve.tlv is 50% slower (18s vs 12s) with the new function call instrumentation. | ||||
* | delete dead code | Kartik K. Agaram | 2022-03-16 | 1 | -25/+0 |
| | |||||
* | simplify function call instrumentation | Kartik K. Agaram | 2022-03-16 | 3 | -41/+20 |
| | | | | | | | | src/ldo.c now has a minimal diff with Lua 5.1. It might be a bit slower than it was before, but not noticeably so.. This approach doesn't support indirect calls. | ||||
* | drop a header | Kartik K. Agaram | 2022-03-16 | 1 | -1/+0 |
| | |||||
* | drop a forward decl | Kartik K. Agaram | 2022-03-16 | 1 | -8/+7 |
| | |||||
* | start cleaning up function call instrumentation | Kartik K. Agaram | 2022-03-16 | 1 | -2/+2 |
| | | | | | | It's a mess. I calculate call-graph depth one way and calculate caller names another way. At least one of the ways fails to work with indirect calls. Hopefully the other way works? | ||||
* | stop using tasks in start_reading/start_writing | Kartik K. Agaram | 2022-03-16 | 5 | -99/+57 |
| | | | | | We just need queues/streams for file I/O. No need to complect concurrency concerns with them. | ||||
* | Teliva's been broken 2 days while I mess with docs | Kartik K. Agaram | 2022-03-15 | 1 | -1/+1 |
| | |||||
* | . | Kartik K. Agaram | 2022-03-14 | 1 | -9/+10 |
| | |||||
* | drop the lfs library | Kartik K. Agaram | 2022-03-14 | 7 | -1285/+1 |
| | | | | | I can't feel confident about its sandboxing story yet. And if we can't build a file navigator, what are we even doing with it. | ||||
* | . | Kartik K. Agaram | 2022-03-14 | 1 | -1/+4 |
| | |||||
* | update link to manual | Kartik K. Agaram | 2022-03-14 | 1 | -6/+6 |
| | |||||
* | typo | Kartik K. Agaram | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | doc: curses | Kartik K. Agaram | 2022-03-14 | 1 | -8/+260 |
| | |||||
* | doc: flesh out tasks and channels | Kartik K. Agaram | 2022-03-14 | 1 | -1/+51 |
| | |||||
* | doc: correct and flesh out json | Kartik K. Agaram | 2022-03-14 | 1 | -4/+44 |
| | |||||
* | typo | Kartik K. Agaram | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | document functions that are sandboxed | Kartik K. Agaram | 2022-03-13 | 1 | -0/+13 |
| | |||||
* | drop docs for 2 functions removed from Lua | Kartik K. Agaram | 2022-03-13 | 1 | -25/+0 |
| | |||||
* | delete debug library | Kartik K. Agaram | 2022-03-13 | 5 | -680/+1 |
| | | | | | There's security issues here, and they're subtle. Dropping for now until I or someone else finds a need for them. | ||||
* | standard markup | Kartik K. Agaram | 2022-03-13 | 1 | -18/+18 |
| | |||||
* | . | Kartik K. Agaram | 2022-03-13 | 1 | -2/+2 |
| | |||||
* | one more highlight | Kartik K. Agaram | 2022-03-13 | 1 | -1/+1 |
| | |||||
* | rudimentary docs for libraries added to Teliva | Kartik K. Agaram | 2022-03-13 | 3 | -3/+104 |
| | |||||
* | drop string.dump, clean up docs around it | Kartik K. Agaram | 2022-03-13 | 3 | -39/+5 |
| | |||||
* | rip out most references to C and userdata in docs | Kartik K. Agaram | 2022-03-13 | 1 | -143/+30 |
| | |||||
* | starting to spend some time improving docs | Kartik K. Agaram | 2022-03-13 | 2 | -0/+19 |
| | |||||
* | less confusing error when apps get past main | Kartik K. Agaram | 2022-03-13 | 1 | -4/+6 |
| | |||||
* | toot-toot.tlv: scrolling | Kartik K. Agaram | 2022-03-12 | 1 | -1/+109 |
| | |||||
* | more extensive deletions from the Lua manual | Kartik K. Agaram | 2022-03-10 | 3 | -3776/+17 |
| | | | | | | | I'm trying to represent where Teliva borrows from Lua, but without making it seem identical. Please support the Lua project! | ||||
* | zet.tlv: thoroughly test rendering single zettel | Kartik K. Agaram | 2022-03-10 | 1 | -11/+47 |
| | |||||
* | leak check | Kartik K. Agaram | 2022-03-10 | 1 | -0/+6 |
| | |||||
* | support fixing >1 test failure from within Teliva | Kartik K. Agaram | 2022-03-10 | 1 | -0/+2 |
| | | | | | This bug was caused by me forgetting that lua_setglobal affects the stack. | ||||
* | reconcile template in all apps | Kartik K. Agaram | 2022-03-10 | 1 | -8/+47 |
| | |||||
* | zet.tlv: first screen tests | Kartik K. Agaram | 2022-03-10 | 3 | -6/+111 |
| | | | | In the process I found a couple of bugs in fake screen primitives. | ||||
* | screen tests: support bold, reverse, color | Kartik K. Agaram | 2022-03-08 | 2 | -6/+198 |
| | | | | | We can't test combinations of these yet because Lua 5.1 doesn't support bitwise operators. Reason #1 to upgrade. | ||||
* | protect framework files from apps | Kartik K. Agaram | 2022-03-08 | 3 | -12/+35 |
| | | | | | | | | There's a separate open question here of where Teliva should store files like teliva_editor_state and teliva_editor_buffer. One school of thought is that apps should never be dropping crud into people's directories. On the other hand, I'm kinda encouraging people so far to just run apps from Teliva's directory. Perhaps that makes it ok? | ||||
* | just always temp files to be created | Kartik K. Agaram | 2022-03-07 | 6 | -10/+26 |
| | | | | | Implication: os.rename now needs to be sandboxed. Hopefully it's tractable to treat it as conceptually identical to opening two files. | ||||
* | stop loading libraries after app code | Kartik K. Agaram | 2022-03-07 | 1 | -7/+2 |
| | | | | This whole approach of disallowing overriding is suspect. | ||||
* | purge all support for per-function permissions | Kartik K. Agaram | 2022-03-07 | 5 | -882/+9 |
| | | | | | | | | | We're now back to the problem of how to transparently allow Teliva to create temporary filenames without every app having to explicitly allow them. I think I may need to define start_writing in C, so that it can use a non-sandboxed version of io.open. |