Directory | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 127 (100.0%) | 2157 (100.0%) | 16.9 |
src/jturtle/ | 35 (27.6%) | 744 (34.5%) | 21.2 |
src/slogo/instruction/ | 38 (29.9%) | 680 (31.5%) | 17.8 |
src/slogo/parser/ | 26 (20.5%) | 469 (21.7%) | 18.0 |
src/slogo/parser/token/ | 17 (13.4%) | 226 (10.5%) | 13.2 |
/ | 4 (3.1%) | 24 (1.1%) | 6.0 |
.settings/ | 1 (0.8%) | 11 (0.5%) | 11.0 |
src/slogo/ | 2 (1.6%) | 3 (0.1%) | 1.5 |
src/jturtle/images/ | 4 (3.1%) | 0 (0.0%) | 0.0 |
Mostly just fixing up code and adding comments to methods. Changed a little bit of error handling behavior so user gets presented a message in a dialog box instead of just in the terminal, but it still closes the application for some incorrect inputs
43 lines of code changed in 3 files:
Changed openfile to JMenuBar instead of button
11 lines of code changed in 1 file:
Added showturtle method to JTurtle to use in ShowTurtle and HideTurtle instructions
32 lines of code changed in 7 files:
Updated the towards instruction so that it just returns the int heading needed to face coordinates, instead of turning turtle. Had it turning the turtle before just for testing purposes, and everything is working as it should.
6 lines of code changed in 1 file:
Updated towards instruction so that it works correctly I think
19 lines of code changed in 1 file:
Added a clearLines() method to JTurtle to clear the turtle's trail in the CLEAN and CLEARSCREEN instructions
13 lines of code changed in 3 files:
Added ability to change pen stroke to either solid (default), dotted, or dashed via the GUI. Also refactored some code into methods, and made some changes to variable access modifiers related to the pen
79 lines of code changed in 3 files:
Moved TurtlePen class out of JTurtle and into TurtlePen
11 lines of code changed in 2 files:
Added instruction/token/parser for pendown, penup, and pendownp. Also made TurtlePen into its own subclass (inside of JTurtle), to clean up the code. And I added some error handling to BACK, FORWARD, RIGHT, and LEFT
529 lines of code changed in 18 files:
A couple of GUI updates, as well as uncommenting a line in IdentifierParser. Also removed some unimplemented things from the instructions.prop file
3 lines of code changed in 3 files:
Added the additional functionality for the pen. It now fully matches what is needed for the extension. Not the best code, so hopefully there will be time to refactor at some point.
101 lines of code changed in 2 files:
Updated instructions.prop to match instructions that I just added in previous commit
6 lines of code changed in 1 file:
Some GUI improvements and added parser/instruction/token for heading, home, setxy, xcor, ycor.
436 lines of code changed in 17 files:
Added turtle line with pen up/pen down functionality. Still need to work on figuring out how to modify the other things that need to be modified to finish the extension (line width, color, etc.)
170 lines of code changed in 2 files:
Added SetX and SetY implementations. Started SetXY but have some questions on how to complete this. Also changed the instructions to use a variable to refer to the turtle instead of a string (Dr. Sprenkle said we should change that). The string is defined in TurtleField (I think that's where I put it), but I'm not confident that's the best place for it.
263 lines of code changed in 15 files:
Updated the forward, back, left, and right instructions to move relative to the current orientation of the turtle. This is how they are supposed to work, but previously I had them implemented as always moving north, south, east, west.
3 lines of code changed in 4 files:
Added back, left, and right instructions, parsers, and tokens. Also made turtle image smaller because it minimizes the shift when switching directions.
295 lines of code changed in 14 files:
updated gui size and turtle starting location. Tried to figure out drawing line, but was unable (I think I deleted all of this code)
3 lines of code changed in 2 files:
4 lines of code changed in 1 file:
both FD and FORWARD working due to code added to tokenFactory
2 lines of code changed in 1 file:
(10 more)