about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 1832Kartik K. Agaram2015-07-244-3/+38
|
* 1831Kartik K. Agaram2015-07-241-0/+28
|
* 1830Kartik K. Agaram2015-07-234-7/+10
|
* 1829Kartik K. Agaram2015-07-233-7/+38
|
* 1828Kartik K. Agaram2015-07-231-6/+6
|
* 1827Kartik K. Agaram2015-07-231-2/+2
|
* 1826 - edit: start carefully showing all errorsKartik K. Agaram2015-07-214-4/+55
| | | | | | | | | | | | | | | | | | | | | Eventually we might be able to get rid of die entirely. This is just a preliminary stab at a random error. In the process I ran into two issues that have impeded debugging before: a) Naming conflicts within scenarios are a real no-no. I need to warn on them, but the rules are getting complicated: Always print warnings on redefine But not in interactive mode Or in scenarios checking warning behavior Unless the scenario recipe itself is overridden b) Now that we've added collect_layers and a long time can go between traces, debugging is a minefield because trace lines don't print to screen immediately after they're created. Need to do something about that. Maybe explicitly trigger collection by tracing '\n' or something. These are the next two items on my todo list.
* 1825Kartik K. Agaram2015-07-211-0/+10
|
* 1824Kartik K. Agaram2015-07-201-1/+2
|
* 1823 - restore sandboxes from previous sessionKartik K. Agaram2015-07-192-7/+43
| | | | | | Starting to feel some need to test this persistence support. Next time I'll create a fake storage handle and support for 'assume-storage filename'.
* 1822Kartik K. Agaram2015-07-193-11/+11
|
* 1821Kartik K. Agaram2015-07-191-82/+82
|
* 1820Kartik K. Agaram2015-07-191-2/+2
|
* 1819Kartik K. Agaram2015-07-181-0/+0
| | | | How did this image get corrupted?
* 1818Kartik K. Agaram2015-07-1828-382/+1785
|
* 1817 - save for sandboxesKartik K. Agaram2015-07-182-10/+34
| | | | | | | No restore. We'll have to do that manually for the first lesson. The version control is also super ugly; every save creates a new commit. But that's ok; version control is just the backup of last resort.
* 1816 - ack, accidental namespace collisionKartik K. Agaram2015-07-182-5/+5
|
* 1815 - git commit only if lesson/.git existsKartik K. Agaram2015-07-181-0/+10
| | | | | We want to avoid accidentally mixing lessons into ourselves. Require users to git-enable it first.
* 1814 - save code in editorKartik K. Agaram2015-07-185-14/+62
| | | | | | | Very rudimentary ability to read/write from file+version control. No control over name. Recipes now saved. But what to do about sandboxes?
* 1813 - ignore strings when highlightingKartik K. Agaram2015-07-181-116/+2
| | | | | Otherwise can't use colors inside recipes! This will do for now, until we start distinguishing '[' at end of line.
* 1812 - brighter comment colorKartik K. Agaram2015-07-181-5/+5
|
* 1811 - simple coloring inside editorsKartik K. Agaram2015-07-181-2/+227
| | | | | Nice to get a couple of easy wins under my belt after the troubles with memory corruption.
* 1810Kartik K. Agaram2015-07-171-5/+5
|
* 1809 - simple example for first showing to studentsKartik K. Agaram2015-07-171-45/+6
|
* 1808 - helper to print newlines during debuggingKartik K. Agaram2015-07-176-136/+54
| | | | | | | The recent session makes me weary of deleting comment counts from inside strings, and the newlines everywhere take up vertical space. Considered println like pascal/ruby, but I'd like something I can add/remove at the end of existing prints. So this hack for $print.
* 1807 - all tests passing againKartik K. Agaram2015-07-171-14/+14
| | | | | | | | | | | | | | | | | | | Rendering the screen was easy to fix: I'd just never gotten around to printing anything but spaces. Rendering the 'screen:' was harder. Turned out I wasn't incrementing row, and so the screen contents were overwriting the header. Much fiddling with row ensued. Still unclear if I have a sane policy for managing row. I don't leave cursor on start of next line after render-string (relying on run-interactive to return strings terminated by newlines) but I do so in render-screen. Never mind, all architecture is illusion and all programs sit on the edge of chaos. This is just the best way I know how to permit others to periodically reclaim architecture from chaos by expending energy. But it'll never be perfect. Crash-only architecture for the win.
* 1805 - bring back sandbox deletionKartik K. Agaram2015-07-171-9/+167
| | | | | | | Between it and support for printing screens our tests take twice as long to run as they did two days ago. Still the one failing test. Finishing all this cleanup first.
* 1804Kartik K. Agaram2015-07-171-16/+16
|
* 1803Kartik K. Agaram2015-07-172-10/+11
| | | | | Bring back my optimizations for avoiding unnecessary work. But they shouldn't be needed for correctness, and they aren't.
* 1802 - cleanupKartik K. Agaram2015-07-174-92/+49
|
* 1801 - assertion failures fixedKartik K. Agaram2015-07-171-12/+11
| | | | | | Now we can investigate the remaining issues: print-string to main screen not working to print 'screen:' print-integer to toy screen not working to print '4'
* 1800 - ah, found the bounds-checking bugKartik K. Agaram2015-07-174-55/+168
| | | | I was counting locations when I should have been counting elements.
* 1799 - continue to debug memory corruption of 1795Kartik K. Agaram2015-07-177-240/+329
| | | | | | | | | | | | Things I figured out: - 'row' in render-screen doesn't perfectly track cursor-row in screen - proximal cause was forgetting to add left:number to stop-printing - trying to print to screen outside bounds was silently succeeding and corrupting simulated memory - if we silently ignore prints outside bounds things are fine But why are prints outside screen bounds working? We should be accessing screen data using 'index', and that's checking its bounds.
* 1798 - support for deleting sandboxesKartik K. Agaram2015-07-161-1/+144
|
* 1797 - widget to delete sandboxKartik K. Agaram2015-07-161-7/+24
| | | | Doesn't work yet.
* 1796 - temporarily undo 1795Kartik K. Agaram2015-07-165-244/+24
| | | | | Debugging simulated-screen support is taking too long, and I suddenly have a few higher priorities.
* 1795 - still debugging screen-in-screen renderingKartik K. Agaram2015-07-165-24/+244
| | | | I'm writing to location 'screen' somehow that's not the raw location.
* 1794 - stop redundantly recompiling on .mu changesKartik K. Agaram2015-07-161-2/+6
|
* 1793 - rudimentary sandboxing for scenarios in the environmentKartik K. Agaram2015-07-152-2/+11
|
* 1792 - better semantics for ctrl-kKartik K. Agaram2015-07-151-3/+122
| | | | More evidence that the choice of 'before-cursor' was inspired.
* 1791 - delete to start/end of lineKartik K. Agaram2015-07-151-0/+166
|
* 1790 - move to end of lineKartik K. Agaram2015-07-151-0/+145
|
* 1789 - move to start of line with home/ctrl-aKartik K. Agaram2015-07-151-2/+133
|
* 1788Kartik K. Agaram2015-07-151-1/+3
|
* 1787 - clear warnings between runsKartik K. Agaram2015-07-152-29/+39
|
* 1786 - render only the side that changedKartik K. Agaram2015-07-151-8/+33
|
* 1785Kartik K. Agaram2015-07-151-5/+23
|
* 1784 - start making render more efficientKartik K. Agaram2015-07-151-1/+0
| | | | | We stopped rendering just the widget under focus when we switched away from the simplistic list of editors. Need to bring that back.
* 1783 - stable if sluggish on caleb's 512MB serverKartik K. Agaram2015-07-142-8/+45
| | | | | Profiling shows the bulk of time is spent in read_memory, canonize, absolutize. But I'm not sure how to optimize those places.
* 1782 - stop tracing anything but warnings inside editKartik K. Agaram2015-07-143-4/+7
| | | | | | | | | Speeds up edit.mu tests by 10x, and shrinks memory usage by 100x. We need a more efficient implementation of traces, but we can keep going for now. We didn't really need to reclaim memory just yet, after all. Mu is pretty memory-efficient.