Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2377 - stop using operator[] in map | Kartik K. Agaram | 2015-11-06 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | I'm still seeing all sorts of failures in turning on layer 11 of edit/, so I'm backing away and nailing down every culprit I run into. First up: stop accidentally inserting empty objects into maps during lookups. Commands run: $ sed -i 's/\(Recipe_ordinal\|Recipe\|Type_ordinal\|Type\|Memory\)\[\([^]]*\)\] = \(.*\);/put(\1, \2, \3);/' 0[1-9]* $ vi 075scenario_console.cc # manually fix up Memory[Memory[CONSOLE]] $ sed -i 's/\(Memory\)\[\([^]]*\)\]/get_or_insert(\1, \2)/' 0[1-9]* $ sed -i 's/\(Recipe_ordinal\|Type_ordinal\)\[\([^]]*\)\]/get(\1, \2)/' 0[1-9]* $ sed -i 's/\(Recipe\|Type\)\[\([^]]*\)\]/get(\1, \2)/' 0[1-9]* Now mu dies pretty quickly because of all the places I try to lookup a missing value. | ||||
* | 2313 | Kartik K. Agaram | 2015-10-29 | 1 | -5/+5 |
| | |||||
* | 2258 - separate warnings from errors | Kartik K. Agaram | 2015-10-06 | 1 | -8/+8 |
| | | | | | | | At the lowest level I'm reluctantly starting to see the need for errors that stop the program in its tracks. Only way to avoid memory corruption and security issues. But beyond that core I still want to be as lenient as possible at higher levels of abstraction. | ||||
* | 2226 - standardize warning format | Kartik K. Agaram | 2015-10-01 | 1 | -8/+8 |
| | | | | | | | | Always show recipe name where error occurred. But don't show internal 'interactive' name for sandboxes, that's just confusing. What started out as warnings are now ossifying into errors that halt all execution. Is this how things went with C and Unix as well? | ||||
* | 2223 | Kartik K. Agaram | 2015-09-30 | 1 | -19/+31 |
| | |||||
* | 2214 | Kartik K. Agaram | 2015-09-28 | 1 | -0/+141 |