Directory src/jturtle/

Directory Created:
2013-11-18 09:47
Total Files:
4
Deleted Files:
1
Lines of Code:
1100

[root]/src/jturtle
            directory in repo images (4 files, 7 lines)

Lines of Code

src/jturtle/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 50 (100.0%) 990 (100.0%) 19.8
sgould 35 (70.0%) 744 (75.2%) 21.2
archerh 9 (18.0%) 197 (19.9%) 21.8
eutomo 6 (12.0%) 49 (4.9%) 8.1

Most Recent Commits

archerh 2013-12-13 16:25 Rev.: 512

Removed unused imports and commented-out code.

4 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+4 -4)
sgould 2013-12-13 14:03 Rev.: 484

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

38 lines of code changed in 2 files:

  • src/jturtle: JTurtle.java (+23 -2), TurtleField.java (+15 -13)
archerh 2013-12-13 03:26 Rev.: 452

Minor cleanup: got rid of some print statements.

1 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+1)
archerh 2013-12-13 03:02 Rev.: 451

Added event handler so the user can select an image from their library and use it as the turtle. Added IF and TO tokens.

73 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+73 -4)
eutomo 2013-12-12 21:39 Rev.: 428

trying to get assignment to work. eutomo

5 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+5)
sgould 2013-12-12 14:30 Rev.: 390

Changed openfile to JMenuBar instead of button

11 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+11 -4)
sgould 2013-12-12 13:52 Rev.: 386

Added showturtle method to JTurtle to use in ShowTurtle and HideTurtle instructions

22 lines of code changed in 2 files:

  • src/jturtle: JTurtle.java (+15 -1), TurtleField.java (+7 -14)
archerh 2013-12-11 17:43 Rev.: 350

BatchInterpreter (reading commands in from an external file) doesn't work when the file includes an EOF_Token. TOWARDS still isn't working, see email for details on what I think should work but I can't think of the geometric equivalent of it at the moment. Need to be able to use variables as expressions (ex: x=50;FORWARD x), currently can't. Dialog box closes automatically except when the commands in the selected file don't parse.

8 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+8 -4)
archerh 2013-12-11 15:07 Rev.: 344

Got rid of ExpressionParser. Added option to choose a SLogo file to parse and execute. Need to fix button location and size, sorry it's so ugly at the moment. Working on Towards instruction (before it was moving forward, trying to perfect the geometry of having it return just the angle needed to have the turtle pointing TOWARD that point. Doesn't move the turtle, doesn't work properly, but it's a work in progress.

75 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+75 -1)
sgould 2013-12-11 11:10 Rev.: 330

Added a clearLines() method to JTurtle to clear the turtle's trail in the CLEAN and CLEARSCREEN instructions

10 lines of code changed in 1 file:

  • src/jturtle: JTurtle.java (+10)
sgould 2013-12-11 00:33 Rev.: 316

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:

  • src/jturtle: JTurtle.java (+8 -12), TurtleField.java (+27 -16), TurtlePen.java (+44 -8)
sgould 2013-12-10 22:34 Rev.: 311

Moved TurtlePen class out of JTurtle and into TurtlePen

11 lines of code changed in 2 files:

  • src/jturtle: JTurtle.java (-45), TurtlePen.java (+11 -31)
sgould 2013-12-10 21:59 Rev.: 310

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

199 lines of code changed in 3 files:

  • src/jturtle: JTurtle.java (+83 -18), TurtleField.java (+44 -10), TurtlePen.java (new 72)
eutomo 2013-12-08 23:20 Rev.: 281

2 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+2 -2)
sgould 2013-12-08 22:56 Rev.: 280

A couple of GUI updates, as well as uncommenting a line in IdentifierParser. Also removed some unimplemented things from the instructions.prop file

1 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+1 -1)
sgould 2013-12-08 15:47 Rev.: 276

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:

  • src/jturtle: JTurtle.java (+35 -6), TurtleField.java (+66 -26)
eutomo 2013-12-08 14:44 Rev.: 275

now aliases (including those with ? in their names). for commands that /require/ ?, we should consider whether we want to accept with /without/ ?. eutomo

7 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+7)
eutomo 2013-12-08 09:50 Rev.: 271

eutomo. Four Boolean commands work. Changed EQUAL the = to EQUALSIGN everywhere it was needed so that EQUAL can be a Boolean command.

2 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+2 -2)
sgould 2013-12-08 08:54 Rev.: 269

Some GUI improvements and added parser/instruction/token for heading, home, setxy, xcor, ycor.

18 lines of code changed in 2 files:

  • src/jturtle: JTurtle.java (+7 -2), TurtleField.java (+11 -8)
sgould 2013-12-07 23:26 Rev.: 268

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:

  • src/jturtle: JTurtle.java (+59 -3), TurtleField.java (+111 -36)
archerh 2013-12-06 12:22 Rev.: 250

Changed SLogoParser so it does not depend on expression or expressionParser, and parse method returns a GrammarElement rather than an Instruction and takes no parameters. Since parse() no longer takes a Reader, you'll have to re-initialize SLogoParser for every new string, although this should only matter to the TurtleField. Removed while loop in parse, which will matter for batch mode but not for the command-line mode. Don't update to this for now if you want prior updates to work. Mostly comitting so Eric can made progress based on the new changes.

4 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+4 -3)
sgould 2013-12-05 20:38 Rev.: 219

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.

6 lines of code changed in 2 files:

  • src/jturtle: JTurtle.java (+1), TurtleField.java (+5 -4)
sgould 2013-12-05 00:16 Rev.: 207

Added back, left, and right instructions, parsers, and tokens. Also made turtle image smaller because it minimizes the shift when switching directions.

1 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+1 -1)
eutomo 2013-12-02 12:45 Rev.: 133

2 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+2 -1)
sgould 2013-12-02 11:05 Rev.: 131

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:

  • src/jturtle: JTurtle.java (+2 -2), TurtleField.java (+1 -1)
sgould 2013-12-02 07:30 Rev.: 124

1 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+1 -1)
sgould 2013-12-01 21:56

2 lines of code changed in 2 files:

  • src/jturtle: TurtleField.java (+2 -2)
archerh 2013-12-01 21:44 Rev.: 97

working version for FORWARD 50
calls default constructor, not specifying new turtle image
need to add FD token

7 lines of code changed in 2 files:

  • src/jturtle: SLogoContext.java (del), TurtleField.java (+7)
sgould 2013-12-01 20:59 Rev.: 90

4 lines of code changed in 2 files:

  • src/jturtle: SLogoContext.java (+2 -2), TurtleField.java (+2 -2)
sgould 2013-12-01 20:49 Rev.: 88

43 lines of code changed in 2 files:

  • src/jturtle: SLogoContext.java (new 34), TurtleField.java (+9 -5)
archerh 2013-11-26 21:51 Rev.: 54

Slightly altered Forward.java to extend Instruction so that it parallels structure of other Instructions. Changed TextField to receive text when "ENTER" key is pressed, then parsing this text as a StringReader. Currently only works on assignment and gives errors for other instructions. Changed SLogoParser to return an Instruction rather than nothing.
--Haley

25 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+25 -7)
sgould 2013-11-26 19:08 Rev.: 53

Further fixed the GUI and added different turtle as image

4 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+4 -4)
sgould 2013-11-22 15:07 Rev.: 30

Made some preliminary GUI updates and deleted some excess code that we had in TurtleField. Planning on doing more with the GUI, but wanted to go ahead and commit these changes.

20 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+20 -46)
eutomo 2013-11-21 22:35 Rev.: 22

This is the stuff we did Nov 21 at night. A lot of thoughts on paper, very productive, Happy Thanksgiving. Just 2 changes but a lot of thought out on paper.

31 lines of code changed in 1 file:

  • src/jturtle: TurtleField.java (+31 -2)
sprenkle 2013-11-18 09:47 Rev.: 4

First Import

502 lines of code changed in 3 files:

  • src/jturtle: JTurtle.java (new 219), TurtleField.java (new 272), TurtleListener.java (new 11)
Generated by StatSVN 0.7.0