about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* delete curses primitives to read whole linesKartik K. Agaram2022-02-213-77/+8
| | | | | | | | They make it seem like you can use them to create simple REPL apps, but you can't, because standard Teliva shortcuts won't work. I _could_ make them work by emulating them using getch(), but that feels like an unnecessary abstraction for now.
* stop letting apps change directoryKartik K. Agaram2022-02-202-2/+3
| | | | | | | | | | | | | | I introduced this ability when I packaged up the lfs directory, but it can enable apps to circumvent sandboxing rules in some situations. If you can socially engineer someone to allow reading a file called 'passwd' in the current directory, you can now change directory to /etc and read something sensitive. Protecting against stuff like this gets subtle. It's easy for people to create policies that aren't robust to changing directories. Requiring absolute paths is also pretty unfriendly. So the whole notion of current directory is perhaps implicit state that is confusing to manage. Fix it in the context of a single session.
* rewrite the section on Teliva's dependenciesKartik K. Agaram2022-02-191-3/+17
|
* Readme: move some sections around to flow betterKartik K. Agaram2022-02-191-26/+20
|
* starting a few Readme tweaksKartik K. Agaram2022-02-191-4/+0
| | | | For starters, drop some redundant prose here.
* bring back pcall and xpcallKartik K. Agaram2022-02-181-0/+24
| | | | They aren't evaluating strings after all.
* show app blurb in screenshotKartik K. Agaram2022-02-171-0/+0
|
* 'doc:blurb': a place to briefly describe an appKartik K. Agaram2022-02-179-1/+79
| | | | | | This is for what the app does, as opposed to 'doc:main', which is also intended to include commentary about the internal organization of the app.
* fix a conflicting keyboard shortcutKartik K. Agaram2022-02-171-2/+2
|
* disable non-portable ASan flagsKartik K. Agaram2022-02-161-2/+2
|
* fix chesstv.tlv after we introduced sandboxingKartik K. Agaram2022-02-121-0/+23
|
* zet.tlv: new shortcuts, mostly for the editorKartik K. Agaram2022-02-121-0/+3447
|
* zet.tlv: some more editor shortcutsKartik K. Agaram2022-02-122-2/+438
|
* stop aborting if audit log fills upKartik K. Agaram2022-02-121-10/+32
| | | | | | | | | | | | When I started logging getch() events (which are just to help the reader orient on the log), this suddenly became more urgent. Now the log is larger, and it's also a circular buffer that rolls back to the start when it fills up. The next failure mode will be if we see the buffer filled up with just getch() calls, reducing visibility over real file and network operations. In which case we'll need to start coalescing getch() events.
* zet.tlv: yet another bugfixKartik K. Agaram2022-02-111-0/+141
| | | | Need for tests growing more acute..
* fix build on Mac OSKartik K. Agaram2022-02-102-0/+3
|
* zet.tlv: fix a couple more bugsKartik K. Agaram2022-02-101-0/+81
| | | | This snapshot was demoed at https://archive.org/details/akkartik-teliva-2022-02-10
* zet.tlv: cross-linksKartik K. Agaram2022-02-101-0/+820
| | | | | | | | | | | | | | We also made render dynamic, showing zettels in the first place it encounters them in depth-first order. Open question: how to show a collapsed outline view with the data model I'm experimenting with. Not even clear 'outline' has meaning in the presence of cross-links. Outliners privilege one view of the network. Zettelkasten also does so; changing child/sibling relationships is a lot of work. However, reading between the links it seems to try to provide an escape hatch for rethinking connections using cross-links. I'm trying to lean into that -- at the cost of providing outlines. We'll see if this is a good trade-off.
* hacky support for caller main in file permissionsKartik K. Agaram2022-02-101-0/+2
|
* fixup! clean up top-level Makefile targetsKartik K. Agaram2022-02-101-0/+1
|
* allow Teliva to show its sandboxing messageKartik K. Agaram2022-02-101-2/+4
|
* zet.tlv: refine the initial UX some moreKartik K. Agaram2022-02-101-0/+47
| | | | | | | | | | | | | | | | | | | | Conundrum: I want the app to provide some sample data for people to interact with. However, I also want them to be able to delete it to make it their own. BUT I'm not yet convinced the app should allow deletion in general. Besides, deleting stuff robustly and reliably is a whole other level of programming. Solution: Make people edit the app to clear the initial sample zettels. This has the "beneficial" side-effect of getting them editing apps on Teliva.
* zet.tlv: copy in sample zettelsKartik K. Agaram2022-02-101-4/+4
|
* zet.tlv: saving/loading to/from diskKartik K. Agaram2022-02-101-0/+76
|
* zet.tlvKartik K. Agaram2022-02-101-0/+131
|
* clean up top-level Makefile targetsKartik K. Agaram2022-02-101-2/+2
|
* zet.tlv: resizing zettel card sizesKartik K. Agaram2022-02-101-0/+124
|
* zet.tlv: creating new zettelsKartik K. Agaram2022-02-091-0/+211
|
* zet.tlv: bugfixes to editor cursor handlingKartik K. Agaram2022-02-091-5/+4
|
* .Kartik K. Agaram2022-02-091-2/+2
|
* flesh out sandboxing in Readme a tadKartik K. Agaram2022-02-091-3/+4
|
* update keyboard shortcuts in screenshots and docsKartik K. Agaram2022-02-093-3/+3
|
* standardize key order in .tlv filesKartik K. Agaram2022-02-095-40/+57
| | | | This will eliminate some spurious git diffs I keep having to clean up.
* zet.tlv: simpler UI, simpler editorKartik K. Agaram2022-02-091-0/+184
|
* bugfix in rendering non-top zettelsKartik K. Agaram2022-02-081-1/+1
|
* Lua gotcha: iterating over strings yields stringsKartik K. Agaram2022-02-082-4/+4
|
* zet.tlv: expand editor to accomodate more textKartik K. Agaram2022-02-081-7/+12
| | | | | Still won't show up in view mode for now. Soon we'll be able to adjust zettel dimensions.
* typoKartik K. Agaram2022-02-081-1/+1
|
* zet.tlv: editing a single zettelKartik K. Agaram2022-02-081-7/+307
|
* gemini.tlv: consistent menuKartik K. Agaram2022-02-081-2/+2
|
* zet.tlv: clean up historyKartik K. Agaram2022-02-071-2590/+17
|
* move most Teliva menus to the rightKartik K. Agaram2022-02-072-6/+8
| | | | | | | | | | The problem I'm running into is that apps might want to perform their own editing. So I can't take up prime estate like the ctrl-e hotkey or a menu name of 'edit'. I'm still prioritizing rendering Teliva's edit and permissions menu. If the window is too narrow the app's settings will be overwritten and Teliva's hotkeys will be preferentially displayed. Seems safer.
* more Readme polishKartik K. Agaram2022-02-071-5/+8
|
* remove dropped functions from docsKartik K. Agaram2022-02-073-731/+5
|
* question raised during FOSDEM '22Kartik K. Agaram2022-02-071-0/+2
| | | | https://fosdem.org/2022/schedule/event/lastmilesandboxing
* lisp.tlv: clean up historyKartik K. Agaram2022-02-071-309/+26
| | | | Also a minor edit in doc:main.
* some more dead codeKartik K. Agaram2022-02-061-23/+0
|
* in fact, loadlib.c is all dead code nowKartik K. Agaram2022-02-062-299/+1
| | | | Now we can be sure apps can't call `require`.
* now all our supported platforms are POSIXKartik K. Agaram2022-02-062-14/+5
|
* drop all support for loading dynamic librariesKartik K. Agaram2022-02-062-338/+7
|