about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 3854Kartik K. Agaram2017-05-1324-115/+402
| | | | Revert commits 3824, 3850 and 3852. We'll redo them more carefully.
* 3853Kartik K. Agaram2017-05-123-6/+32
| | | | | | Bring back commit 3844, albeit in simplified form. I'd forgotten that the one place where we still need to buffer rendering is when people hold down up/down arrow keys.
* 3852Kartik K. Agaram2017-05-123-2/+35
| | | | | | | | | | | | | Bugfix of commit 3850 for the sandbox/ app. I'd hoped to just quickly move past this ugly approach, but a cleaner way is more involved than I thought. This way is ugly partly because I'm introducing a bunch of conditionals without testing them. One or more of my additions may well be hiding bugs. Or I may need to add them in a few other places. The clean way is to update the fake screen model to accurately mimic the new real screen, where out of bounds prints aren't silently ignored, and where scrolling is a fact of life.
* 3851Kartik K. Agaram2017-05-101-1/+1
|
* 3850Kartik K. Agaram2017-05-104-6/+58
| | | | | Bugfix: writes out of bounds used to be skipped, but started clobbering the screen on commit 3824.
* 3849Kartik K. Agaram2017-05-102-376/+376
|
* 3848Kartik K. Agaram2017-05-064-157/+151
| | | | | Improve an error message. Still lots of room for improving how we render reagents in errors.
* 3847Kartik K. Agaram2017-05-064-150/+166
| | | | | Fix a crash on an invalid program. Thanks Lakshman Swaminathan for reporting this issue.
* 3846Kartik K. Agaram2017-05-061-1/+1
| | | | Be more robust to stray files with numeric prefixes.
* 3845Kartik K. Agaram2017-05-0625-1457/+1364
|
* 3844Kartik K. Agaram2017-05-064-107/+13
| | | | | Once I start optimizing most events to not repaint everything there's no need to be smart about queued-up events.
* 3843Kartik K. Agaram2017-05-064-18/+27
|
* 3842Kartik K. Agaram2017-05-045-67/+8
| | | | | | | Always start with an untouched screen that can scroll on printing "\r\n". We can still clear the screen as needed. Also drop support for hiding the cursor.
* 3841Kartik K. Agaram2017-04-2714-34/+34
| | | | | Use the real original instruction in error messages. Thanks Ella Couch.
* 3840Kartik K. Agaram2017-04-204-1559/+1555
| | | | | | | | Fix CI. Our previous approach was breaking because a test was generating different results depending on what layer you stopped at. Turns out we rename instructions in layer 54. So let's save the original_name in the same layer.
* 3839Kartik K. Agaram2017-04-206-1050/+1071
| | | | | | Fix CI. In the process I also fixed a bug in the tangle/ utility.
* 3838 - further improve an error messageKartik K. Agaram2017-04-202-487/+497
| | | | | | | Expanded instructions don't seem to be worth the space they take up. Let people think through the types of variables for themselves. Thanks again to Ella Couch.
* 3837Kartik K. Agaram2017-04-1913-1674/+1720
|
* 3836Kartik K. Agaram2017-04-191-0/+2
| | | | Fix CI.
* 3835Kartik K. Agaram2017-04-181-9/+3
|
* 3834Kartik K. Agaram2017-04-181-0/+2
|
* 3833Kartik K. Agaram2017-04-183-3/+28
| | | | Loosen type-checking slightly to accomodate type abbreviations.
* 3832Kartik K. Agaram2017-04-181-8/+27
| | | | | More fixes for commit 3828 (supporting buffers of something other than characters).
* 3831Kartik K. Agaram2017-04-187-15/+15
| | | | Fix CI.
* 3830 - crosslink shape-shifting containers in htmlKartik K. Agaram2017-04-1827-567/+567
|
* 3829Kartik K. Agaram2017-04-1811-1345/+1345
|
* 3828 - make buffers shape-shifting (generic)Kartik K. Agaram2017-04-184-24/+23
|
* 3827Kartik K. Agaram2017-04-181-0/+1
|
* 3826Kartik K. Agaram2017-04-161-173/+0
|
* 3825Kartik K. Agaram2017-04-1619-3654/+3541
|
* 3824 - experiment: stop buffering in termboxKartik K. Agaram2017-04-1623-344/+25
| | | | | | | | | | | | | | | | Now it's much more apparent why things are slow. You can see each repaint happening. Already I fixed one performance bug -- in clear-rest-of-screen. Since this subverts Mu's fake screen there may be bugs. Another salubrious side effect: I've finally internalized that switching to raw mode doesn't have to clear the screen. That was just an artifact of how termbox abstracted operations. Now I can conceive of using termbox to build a repl as well. (I was inspired to poke into termbox internals by http://viewsourcecode.org/snaptoken/kilo and https://github.com/antirez/linenoise)
* 3823Kartik K. Agaram2017-04-148-1561/+1571
|
* 3822Kartik K. Agaram2017-04-142-0/+9
| | | | | | Provide an option to disable memory reclamation. This makes edit/ *much* more responsive. The cost: memory use grows monotonically. Since we no longer have a safe way to reclaim heap allocations, we never do so.
* 3821Kartik K. Agaram2017-04-131-0/+1
| | | | Fix CI.
* 3820Kartik K. Agaram2017-04-1318-2561/+2609
|
* 3819Kartik K. Agaram2017-04-134-16/+18
| | | | | | | Yet another attempt at trying to clean up commit 3216. I think this solution might finally let me stop agonizing over the problem. State variables for distinguishing call-sites are a reasonable mechanism, orthogonal to waypoints and the hook functions to hold them.
* 3818 - better error messages on type mismatchKartik K. Agaram2017-04-131-1/+50
| | | | Thanks Ella Couch for suggesting this approach.
* 3817 - better errors on streams from null textsKartik K. Agaram2017-04-131-0/+6
| | | | Thanks Ella Couch for reporting this issue.
* 3816Kartik K. Agaram2017-04-061-12/+2
| | | | | | | | Resize events don't actually seem to ever get queued up, so they're still super slow. Dump all our extra smarts about skipping repaints. We need to focus on speeding up repaints in general. Thanks Andrew Owen for reporting this issue.
* 3815Kartik K. Agaram2017-04-061-1/+1
| | | | | Turns out enabling profiling requires '-pg' to also be passed in to the linker. Might as well pass all flags everywhere.
* 3814Kartik K. Agaram2017-04-061-0/+1
| | | | | | Initial baby steps at trying to understand why rendering to screen is so slow in Mu. I'd forgotten about this old "poor man's profiler" I'd added back in 2015.
* 3813Kartik K. Agaram2017-04-042-8/+8
|
* 3812Kartik K. Agaram2017-04-042-6/+6
| | | | Fix CI.
* 3811Kartik K. Agaram2017-04-046-8/+8
|
* 3810Kartik K. Agaram2017-04-046-34/+34
| | | | | | | Stop naming 'jump' instructions in their errors since they're so often rewritten from 'break' or 'loop' instructions. Thanks Lakshman Swaminathan for running into this issue.
* 3809Kartik K. Agaram2017-04-046-233/+235
|
* 3808 - 'length' for duplex listsKartik K. Agaram2017-03-316-766/+796
|
* 3807Kartik K. Agaram2017-03-311-3/+3
| | | | Handle CFLAGS like "-g -O3 -pg" while compiling.
* 3806Kartik K. Agaram2017-03-213-78/+63
|
* 3805Kartik K. Agaram2017-03-202-207/+291
|