about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 1781 - the hog is Trace_stream, not MemoryKartik K. Agaram2015-07-142-0/+19
| | | | | I keep forgetting about it. Until, that is, I run gprof. Even if I think I need a memory profile, a cpu profile is a pretty good proxy.
* 1780 - now we always reclaim local scopesKartik K. Agaram2015-07-1317-123/+168
| | | | | | But still no difference in either memory footprint or in running time. This will teach me -- for the umpteenth time -- to optimize before measuring.
* 1779Kartik K. Agaram2015-07-131-0/+86
| | | | | | Now we can reclaim allocated space. But the API's suspect. I still want to provide some sort of tree of allocations. For now we'll use this only to reclaim default-spaces. That's next.
* 1778Kartik K. Agaram2015-07-1336-166/+361
|
* 1777 - consistent terminology: 'product'Kartik K. Agaram2015-07-134-9/+9
|
* 1776Kartik K. Agaram2015-07-131-0/+0
|
* 1775Kartik K. Agaram2015-07-133-2/+2
|
* 1774Kartik K. Agaram2015-07-133-4/+4
|
* 1773 - update all mu recipes to new-default-spaceKartik K. Agaram2015-07-1314-113/+113
| | | | | Turns out to not affect memory utilization or run-time. At all. But still looks nicer and requires less fudging on our part.
* 1772 - stop wasting space when allocating default-spaceKartik K. Agaram2015-07-131-0/+47
| | | | Let's see how much this helps edit.mu.