Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | helper: count | Kartik K. Agaram | 2022-03-27 | 8 | -2/+130 |
| | |||||
* | reorg | Kartik K. Agaram | 2022-03-20 | 1 | -2/+5 |
| | |||||
* | disallow all relative paths (./ or ../) | Kartik K. Agaram | 2022-03-20 | 4 | -1/+25 |
| | | | | | | | | | Teliva's model doesn't include any way to change directory. We just have relative paths and absolute paths. Relative paths should not be able to reach into parent directories. The current test is a bit hacky; it also disallows directories ending in a period. Hopefully not an issue. | ||||
* | graphviz: show topology in multiple lines | Kartik K. Agaram | 2022-03-19 | 3 | -12/+91 |
| | |||||
* | graphviz: for basic stats, show all nodes ordered | Kartik K. Agaram | 2022-03-19 | 9 | -184/+527 |
| | | | | | | The ordering is topological; nodes come before their dependencies. Also some more helpful functions in the template for new apps. | ||||
* | standardize common helpers across all apps | Kartik K. Agaram | 2022-03-19 | 9 | -62/+883 |
| | | | | | In particular, I merged take_out in anagrams.tlv with all_but in graphviz. | ||||
* | graphviz: second sketch to present the Focus | Kartik K. Agaram | 2022-03-19 | 1 | -15/+100 |
| | | | | | In the process we fix some bugs in how we compare tables and count nodes in the graph. | ||||
* | . | Kartik K. Agaram | 2022-03-18 | 1 | -5/+5 |
| | |||||
* | graphviz: draft notion of nodes in 'focus' | Kartik K. Agaram | 2022-03-18 | 9 | -24/+230 |
| | | | | | Now the REPL isn't about deciding what to calculate, but just what nodes to calculate it for. | ||||
* | idiom: table.insert for appending | Kartik K. Agaram | 2022-03-18 | 6 | -14/+14 |
| | | | | Stop using arr[#arr+1]. | ||||
* | graphviz: tweak data structure slightly | Kartik K. Agaram | 2022-03-18 | 1 | -4/+3 |
| | | | | | | | A node's edges contain an associative array of target nodes rather than a linear array. This way we automatically dedup edges when we load multiple graphs. | ||||
* | graphviz: read multiple .dot files | Kartik K. Agaram | 2022-03-18 | 1 | -0/+30 |
| | | | | | It's useful to be able to import dependencies for multiple packages at once, so that we can see common dependencies. | ||||
* | fix a warning | Kartik K. Agaram | 2022-03-18 | 1 | -1/+1 |
| | |||||
* | graphviz: sketch of the dashboard | Kartik K. Agaram | 2022-03-18 | 1 | -0/+83 |
| | |||||
* | graphviz: done parsing directed graphs | Kartik K. Agaram | 2022-03-18 | 1 | -1/+83 |
| | | | | | This is mostly what I want since I'm interested in parsing the output of debtree. | ||||
* | graphviz: show error when lacking permissions | Kartik K. Agaram | 2022-03-18 | 1 | -4/+6 |
| | |||||
* | graphviz: don't interpret substrings as regexes | Kartik K. Agaram | 2022-03-18 | 9 | -5/+41 |
| | |||||
* | show current definition being edited | Kartik K. Agaram | 2022-03-18 | 2 | -6/+8 |
| | | | | | | | | | | This serves two purposes: - Things get confusing if function being defined doesn't match the definition name. Displaying the current definition helps diagnose this situation. - We're already able to see callers at a glance even if the cursor is below the fold. The name of the current definition is arguably more important in that situation. | ||||
* | stale references to caller | Kartik K. Agaram | 2022-03-18 | 1 | -2/+2 |
| | |||||
* | 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 |
| |