[root]/src/jturtle
images
(4 files, 7 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 84 (100.0%) | 3907 (100.0%) | 46.5 |
tobind | 33 (39.3%) | 2009 (51.4%) | 60.8 |
mugabej | 34 (40.5%) | 1392 (35.6%) | 40.9 |
kimberlya | 10 (11.9%) | 321 (8.2%) | 32.1 |
walkerc | 7 (8.3%) | 185 (4.7%) | 26.4 |
Changed the way we accessed the user subroutines text area so that our fields stay private and hence stay closed to modification. Also, removed some unused imports. Should be all from me. Nice job everyone! #TheRainbowSprenkles
29 lines of code changed in 1 file:
Changed Frame names to be more descriptive. #TheRainbowSprenkles
2 lines of code changed in 1 file:
Committed all of the files that had been changed. The last commit hadn't committed them. #TheRainbowSprenkles
1 lines of code changed in 1 file:
Added the third extension to the project, namely displaying the user defined subroutines. #TheRainbowSprenkles
24 lines of code changed in 1 file:
Added text area
25 lines of code changed in 1 file:
Pop up window for procedures.
568 lines of code changed in 1 file:
More button realignment on TurtleField
15 lines of code changed in 1 file:
Changed button orientation in turtleField
278 lines of code changed in 1 file:
still working on pop up window.
27 lines of code changed in 1 file:
Uploading new popup window for procedures. #therainbowsprenkles
595 lines of code changed in 2 files:
Added code to allow the user to choose a display image for the turtle. Still need to add the code that actually changes the turle's image. #TheRainbowSprenkles.
54 lines of code changed in 1 file:
more work on implementing the extension for the turtle image.
#therainbowsprenkles
3 lines of code changed in 1 file:
Committing extension for changing turtle image.
right now, just uses the "turtle.gif" originally in images.
#therainbowsprenkles
41 lines of code changed in 2 files:
Fixed an error that was causing some .wav files to not be opened. Redirected error from opening an audio sound to the output textfield. Made the playMusic method non-static. #TheRainbowSprenkles
19 lines of code changed in 1 file:
Added code to allow the user to choose a music file to play as background music. #TheRainbowSprenkles
60 lines of code changed in 1 file:
Implemented GrammarElementParser on getx and gety. Fixed cs and clean ArrayIndexOutOfBoundsException
4 lines of code changed in 2 files:
Added code to allow the user to choose the background image from his file system. #TheRainbowSprenkles
741 lines of code changed in 2 files:
Slightly cleaned up our dictionary of aliases
2 lines of code changed in 1 file:
Began working on the extension to set the background with Jean Paul
#TheRainbowSprenkles
37 lines of code changed in 2 files:
Deleted the print statement that was making the evaluate method run twice in the execCommand method. The print was introduced as part of an debugging effort. #TheRainbowSprenkles
0 lines of code changed in 1 file:
Committing files that hadn't been committed when I added the Greater? command. #TheRainbowSprenkles
15 lines of code changed in 1 file:
Added Less? num1 num2 command. Also, removed the sorting of aliases as it was leading to incorrect matchings. Instead, each added alias must be put at the end of the appropriate array so that the matchings will heavily depend on the positions of instructions in the respective arrays. #TheRainbowSprenkles
5 lines of code changed in 1 file:
Made sure we don't read empty lines in a file in the parseInstructionsInFile method.
3 lines of code changed in 1 file:
Added code the saveContentsToFile method to save contents to a file. Currently saving content from the myCommands textfield. Is general enought to save content from any textfield. #TheRainbowSprenkles
35 lines of code changed in 1 file:
Added the parseAndEvaluateCommandsInFile method. This method allows us to have the openFile method be responsible for only opening a file and thus comply with the single responsibility principle. Also, its makes the code more extensible since we will surely need to parse and evaluate instructions in a file more often. #TheRainbowSprenkles
10 lines of code changed in 1 file:
Separated code to save and open files in two different methods to comply with the single responsibility principle. Will also need to change the way they are handled to comply even further with this principle. Also, changed the name of the method to open a file program to make it more readable. #TheRainbowSprenkles
17 lines of code changed in 1 file:
Added the Save to File Button. Note that currently it's not working. Still need to add code for it to save instructions to the file. Also added code in the executeProgram method ( will need a better name...) to handle the saveButton. #TheRainbowSprenkles
55 lines of code changed in 1 file:
Changed color of turtle and path.
#theRainbowSprenkles
5 lines of code changed in 1 file:
Added the minus token to the instructions.prop file. Committing the current working copy we have just tested for the in class demo to come. #TheRainbowSprenkles
4 lines of code changed in 1 file:
Cleaned up the code for a bit, not that much changed. #TheRainbowSprenkles
3 lines of code changed in 1 file:
Added setMyOutPutTextfield method that redirects most of the output to the output textfield. Also, for choosing files, the user will either press enter in the "Choose a file to open"(myProgramFile textfield) or press the "open a file" button. Will decide if we want to allow the user to enter the full path of his/her file. #TheRainbowSprenkles
18 lines of code changed in 1 file:
Added the OpenFile Button. Now the user will be able to choose the file of instructions from his/her own file system. Also, I left the user the freedom of simply typing in the file's full path. #TheRainbowSprenkles
46 lines of code changed in 1 file:
Added helper method in Jturtle for the pendownp command.
Added alias for pendownpcommand.
Added comments in PenDownP.java, PenDownPToken.java, QuotientParser.java, MinusToken.java
14 lines of code changed in 2 files:
Added "&& steps != 0" to the if statement where the current point is added to the line.
I then added code (getting the initial point to the line) to when penOn is set to true.
#TheRainbowSprenkles
3 lines of code changed in 1 file:
Lines are now drawn correctly with Pendown! The problem was that I was adding the point to the line-list AFTER notifyListeners was being called. Oops. But now that will work correctly for our demo tomorrow. GO TEAM
#TheRainbowSprenkles
17 lines of code changed in 1 file:
Added aliases mapping for PD and PU
2 lines of code changed in 1 file:
Although Pd is not yet perfect (I must figure out how to get the line to draw once more; I'm pretty close) I am finished for the day and it hasn't broken anything so I will commit it! I have implemented Pu, Pd, and Clean. This should also include their respective parsers and tokens and the updated instructions list. I have not changed the program to allow the user to type in PenUp or PenDown yet, but I can mess with this later.
Pd draws lines, Pu stops drawing lines (but keeps them on the screen), and Clean removes all the lines.
#TheRainbowSprenkles
91 lines of code changed in 2 files:
Working on Clear and Minus commands. neither are on the instructions.prop list yet because Clear will mainly deal with clearing the pen trail (which I can't test yet) and I have a question about minus. #TheRainbowSprenkles
1 lines of code changed in 1 file:
Fixed the processCommand method in TurtleField to support commands such as "FORward SUm 10 10". #TheRainbowSprenkles
10 lines of code changed in 1 file:
A bit of documentation. Added read_program_tester for testing reading in from a file. Currently, can read from a file valid instructions separated by new lines.
#TheRainbowSprenkles
9 lines of code changed in 1 file:
(33 more)