Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1178 | Kartik K. Agaram | 2015-04-24 | 1 | -3/+2 |
| | |||||
* | 1177 | Kartik K. Agaram | 2015-04-24 | 4 | -7/+7 |
| | |||||
* | 1176 | Kartik K. Agaram | 2015-04-24 | 3 | -9/+9 |
| | |||||
* | 1175 | Kartik K. Agaram | 2015-04-24 | 2 | -8/+0 |
| | |||||
* | 1174 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1173 | Kartik K. Agaram | 2015-04-24 | 2 | -4/+4 |
| | |||||
* | 1172 | Kartik K. Agaram | 2015-04-24 | 2 | -11/+11 |
| | |||||
* | 1171 | Kartik K. Agaram | 2015-04-24 | 16 | -155/+162 |
| | | | | | Chip away at eliminating that 'pc' reference by first throwing out the most common expression that uses it: instructions[pc]. | ||||
* | 1170 | Kartik K. Agaram | 2015-04-24 | 3 | -8/+10 |
| | |||||
* | 1169 - use the global variable god gave you | Kartik K. Agaram | 2015-04-24 | 5 | -53/+56 |
| | |||||
* | 1168 | Kartik K. Agaram | 2015-04-24 | 14 | -76/+76 |
| | |||||
* | 1167 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1166 | Kartik K. Agaram | 2015-04-24 | 14 | -46/+41 |
| | | | | | | | Why did I think STL's map wasn't efficient? It has logarithmic complexity (maintains a tree internally) and is faster than hashing for small containers. It's the more portable solution and should be what I turn to by default. | ||||
* | 1165 | Kartik K. Agaram | 2015-04-24 | 1 | -2/+2 |
| | |||||
* | 1164 | Kartik K. Agaram | 2015-04-24 | 1 | -0/+3 |
| | |||||
* | 1163 | Kartik K. Agaram | 2015-04-24 | 4 | -11/+11 |
| | |||||
* | 1162 | Kartik K. Agaram | 2015-04-24 | 23 | -99/+99 |
| | |||||
* | 1161 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1160 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1159 | Kartik K. Agaram | 2015-04-24 | 2 | -2/+2 |
| | |||||
* | 1158 | Kartik K. Agaram | 2015-04-24 | 1 | -14/+15 |
| | |||||
* | 1157 | Kartik K. Agaram | 2015-04-24 | 1 | -3/+3 |
| | |||||
* | 1156 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1155 - three phases of mu: load, transform, run | Kartik K. Agaram | 2015-04-24 | 7 | -22/+18 |
| | | | | | | Each phase implicitly calls previous phases. Most C++ scenarios implicitly call one, two or three of the phases. More clear now that 'load' does more than just add recipes. | ||||
* | 1154 | Kartik K. Agaram | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | 1153 - start of scheduler implementation | Kartik K. Agaram | 2015-04-23 | 2 | -2/+23 |
| | | | | | This first step is just stopping run() after a fixed number of instructions. But the scheduler layer isn't done yet. | ||||
* | 1152 | Kartik K. Agaram | 2015-04-23 | 1 | -7/+0 |
| | |||||
* | 1151 | Kartik K. Agaram | 2015-04-23 | 3 | -10/+32 |
| | |||||
* | 1149 | Kartik K. Agaram | 2015-04-23 | 1 | -0/+7 |
| | |||||
* | 1148 - valgrind ALL the things! | Kartik K. Agaram | 2015-04-22 | 2 | -2/+5 |
| | |||||
* | 1147 - one final memory leak; now valgrind-clean | Kartik K. Agaram | 2015-04-22 | 1 | -1/+0 |
| | |||||
* | 1146 - yet another out-of-bounds access | Kartik K. Agaram | 2015-04-22 | 3 | -2/+66 |
| | | | | | | | | | | | | | | There's a test in this commit, but it doesn't actually fail, because by some accident the memory at index 2 of recipe 'f' has data at the is_label offset and breaks out of the loop. Graah. How did I ever misplace that "Reading One Instruction" waypoint? I could swear I was concerned about this possibility when I implemented calls. Today has been tough on my confidence. STL helps avoid memory leaks but doesn't help with buffer overflows nearly as much as I thought. Oh brilliant, valgrind caught the problem! And there weren't any others. I feel much better. | ||||
* | 1145 - dump termbox's 256-color support | Kartik K. Agaram | 2015-04-22 | 2 | -118/+14 |
| | |||||
* | 1144 - dump termbox's support for modifier keys | Kartik K. Agaram | 2015-04-22 | 3 | -60/+9 |
| | |||||
* | 1143 | Kartik K. Agaram | 2015-04-22 | 2 | -1/+1 |
| | |||||
* | 1142 | Kartik K. Agaram | 2015-04-22 | 4 | -181/+159 |
| | |||||
* | 1141 | Kartik K. Agaram | 2015-04-22 | 1 | -25/+18 |
| | |||||
* | 1140 | Kartik K. Agaram | 2015-04-22 | 2 | -42/+0 |
| | | | | Dump deprecated interface. | ||||
* | 1139 | Kartik K. Agaram | 2015-04-22 | 6 | -864/+864 |
| | | | | Reindent termbox. | ||||
* | 1138 - fix some termbox warnings | Kartik K. Agaram | 2015-04-22 | 2 | -3/+7 |
| | |||||
* | 1137 | Kartik K. Agaram | 2015-04-22 | 1 | -5/+5 |
| | |||||
* | 1136 - switch from ncurses to https://github.com/nsf/termbox | Kartik K. Agaram | 2015-04-22 | 12 | -26/+1651 |
| | |||||
* | 1135 | Kartik K. Agaram | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | 1134 | Kartik K. Agaram | 2015-04-22 | 2 | -35/+29 |
| | |||||
* | 1133 - more reorg of commandline parsing | Kartik K. Agaram | 2015-04-22 | 6 | -75/+62 |
| | | | | | | | | | | | | | | | | | | | | | | 1. Drop the ability to run just some C++ tests. It's a lousy interface to use line numbers, we can't selectively run mu tests, we haven't used it in a while because our tests run plenty fast, and it's complicating other parts, like Next_recipe_number and test space handling. 2. Create a new layer right up top to show the usage message and all the different forms that are possible. Good for documentation until we come up with a way to put the different forms in their own layers. At least it's out of the test layer now. 3. Strengthen the assertion that no recipes exist in test space before we start running any sorts of tests. Earlier it was possible for files loaded explicitly to overflow into test space because we were asserting before load, not after. Now we check if we need to run tests, load all files, then make the assertion, run tests, and exit if necessary. Now we don't need to mess with commandline args at all in layer 50. That's a sign that we're on the right track. | ||||
* | 1132 | Kartik K. Agaram | 2015-04-22 | 3 | -0/+0 |
| | |||||
* | 1131 | Kartik K. Agaram | 2015-04-22 | 1 | -9/+9 |
| | |||||
* | 1130 | Kartik K. Agaram | 2015-04-22 | 1 | -4/+4 |
| | |||||
* | 1129 | Kartik K. Agaram | 2015-04-22 | 1 | -3/+2 |
| | |||||
* | 1128 | Kartik K. Agaram | 2015-04-22 | 3 | -22/+37 |
| | | | | | | Reorganized commandline handling to perform test space assertion in just one place at the right layer. Hopefully this issue will not bite us again. |