December 2008 Commit Log

Number of Commits:
118
Number of Active Developers:
6
sprenkle 2008-12-18 13:40 Rev.: 139

Implemented the SETPENCOLOR instruction and its associated token and parser.

Added the appropriate entries into instructions.prop and alias.prop.

101 lines of code changed in 5 files:

sprenkle 2008-12-18 13:20 Rev.: 138

Added rainbowspiral.logo so that can test out the SETPENCOLOR command

Modified other Logo programs so that the variables don't use the : before their names.

Also did some formatting so easier to read.

61 lines of code changed in 7 files:

sprenkle 2008-12-17 17:05 Rev.: 137

Committed latest version of Javadocs

2874 lines of code changed in 165 files:

sprenkle 2008-12-17 17:02 Rev.: 136

Updated spiral.logo script

13 lines of code changed in 1 file:

sprenkle 2008-12-17 16:57

Removed unnecessary imports

0 lines of code changed in 2 files:

sprenkle 2008-12-17 16:57 Rev.: 133

Removed unnecessary imports

0 lines of code changed in 1 file:

sprenkle 2008-12-17 16:43 Rev.: 132

Added a few more tests to SLogoParserTest

2 lines of code changed in 2 files:

sprenkle 2008-12-17 16:34 Rev.: 131

Did some refactoring of Parsing code so that have less duplicated code.
- mainly created methods to parse instruction parameters (in SLogoParser). This code showed up in a lot of places, so it was good to make into methods.

Added a lot of tests to SLogoParserTest

Added a few methods to Turtle class so that the Parsing code does less/knows less about Turtle's innerworkings. (Required adding "notifyListeners" to some of Turtle's methods)

Cleaned up code: removed debugging statements

310 lines of code changed in 63 files:

sprenkle 2008-12-17 14:10 Rev.: 130

Updated SetXYParser to use GrammarElements instead of Expressions

Updated many instructions to inherit from the OneParameterInstruction (better code reuse)

Removed a print statement from Main.java (no longer prints when the user cancels Opening a file)

79 lines of code changed in 11 files:

sprenkle 2008-12-15 17:29 Rev.: 129

Made some major and minor changes

Created instruction hierarchy:

- ConditionalInstructions
- return 1 or 0 when evaluated

- NumericInstructions
- return a number when evaluated

- OneParameterInstructions
- have a parameter (often numeric) that needs to be evaluated

Made lots of changes because of the above changes. Needed to update the parsers and the instruction classes.

Added some methods to the Turtle class so that the Instructions have less knowledge of the Turtle's innerworkings.

Moved SubroutineFactory to slogo.language package instead of slogo.expression

Updated comments in many instructions (use the Javadoc in the evaluate)

617 lines of code changed in 60 files:

richardsonw 2008-12-12 15:28 Rev.: 128

Professor Sprenkle pointed out that I don't need to duplicate code and that I can refactor a method. Meanwhile, I've come to the conclusion that I need to get more sleep. Code now more elegant. Also, Undo used to set all state variables including pen color and pen up/down status. That tended to screw with the GUI portraying everything correctly, and I've fixed it so that it now will reset position/heading/points drawn and those will be the only changes that the user will see. Finally, I took out a couple of diagnostic print statements in my methods.

Sorry for the rapid succession there; THIS is why I normally don't commit often, and this should be my last one for the day/term. Happy Holidays.

16 lines of code changed in 2 files:

richardsonw 2008-12-12 15:08 Rev.: 127

Now the Undo/Redo functionality works for the GUI heading controls. I wasn't thinking. There IS duplicate code, but it is inevitable given the design (there is no central function for alteration to the turtle's state). Also, I changed the GUI back.

5 lines of code changed in 1 file:

richardsonw 2008-12-12 14:48 Rev.: 126

The Undo/Redo functionality is complete. The one small chink in its functionality is that it does not recognize when the user changes the header via the GUI. This could not be fixed without major design renovations OR other smaller, less sensible bugs (e.g. the stack being off by one, double clicking the first time to make it undo, etc.). It also increases the independence between GUI/underlying program (the program does not rely upon for signs from the GUI that indicate that the program has changed; it realizes that the state has changed using other methods), which seems like a good thing to me.

To make this part of the undo/redo functionality apparent to the user, I have changed the GUI tag above the Undo/Redo frame to: "Undo/Redo Command" (sorry to meddle with your GUI, Jack)

If this is unwieldy/ugly/unclear, feel free to change it.

44 lines of code changed in 2 files:

sprenkle 2008-12-12 14:02 Rev.: 125

Removed some other debugging print statements from TokenFactory.

0 lines of code changed in 1 file:

sprenkle 2008-12-12 13:44 Rev.: 124

Deleted a bunch of the debugging/print statements from TokenFactory.java

3 lines of code changed in 1 file:

richardsonw 2008-12-11 17:45 Rev.: 123

Together with Eric's find regarding the mis-cast Object, the Undo/redo function is now no longer off by one (i.e. press twice on first undo and it wouldn't go all the way back to initial state). Also, redo stack now feeds back into the undo stack, allowing infinite undoings/redoings. It should be noted that the bug that won't allow one to execute after one has undone anything is still there, though. I'm still working on it.

58 lines of code changed in 3 files:

tshishikub 2008-12-11 17:38 Rev.: 122

Added documentation to classes in slogo.instruction packages.

227 lines of code changed in 33 files:

gehmane 2008-12-11 17:15 Rev.: 121

Testing added for the getTowardsHeading method

12 lines of code changed in 1 file:

tshishikub 2008-12-11 17:10 Rev.: 120

minor fix for hide turtle. now hides the turtle immediately

1 lines of code changed in 1 file:

sprenkle 2008-12-11 15:48 Rev.: 119

Created a new/neat SLogo test program.

22 lines of code changed in 1 file:

sprenkle 2008-12-11 13:22 Rev.: 118

Minor change to SLogoParserTest
- made Turtle object accessible to all tests.

3 lines of code changed in 1 file:

tshishikub 2008-12-11 13:04 Rev.: 117

minor changes. every command should be functional now.

1 lines of code changed in 2 files:

tshishikub 2008-12-11 02:14 Rev.: 116

little changes. renaming some classes (like equal) so that the tokens are recognized.

51 lines of code changed in 20 files:

tshishikub 2008-12-11 02:06 Rev.: 115

fixed MINUS command. involve making slogo.expression.UnaryExpression an instruction (and moving it into the slogo.instruction package)

70 lines of code changed in 5 files:

tshishikub 2008-12-11 01:12 Rev.: 114

refactoring:
renamed token/classes/methods/fields named penIsDown to isPenDown
the old name looked too much like something else (especially when
typed as a command in all lower case)

59 lines of code changed in 5 files:

tshishikub 2008-12-10 23:52 Rev.: 113

clean and clearscreen commands completed

11 lines of code changed in 2 files:

ivyj 2008-12-10 21:44 Rev.: 112

set Turtle status display text fields to non-editable

7 lines of code changed in 1 file:

ivyj 2008-12-10 21:22 Rev.: 111

add more menu functionality

fixed reset option

85 lines of code changed in 1 file:

gehmane 2008-12-10 21:19 Rev.: 110

Fixed Will's error with clone() (LOOK AT THE API NEXT TIME!!!)

2 lines of code changed in 1 file:

gehmane 2008-12-10 21:07 Rev.: 109

minor bug fixes for clean and reset methods so that turtle is drawn after screen is cleared

2 lines of code changed in 1 file:

gehmane 2008-12-10 20:33 Rev.: 108

added "clean" method which clears the array of lines but leaves the turtle as is.

34 lines of code changed in 1 file:

tshishikub 2008-12-10 20:16 Rev.: 107

updated SLogoParserTest

2 lines of code changed in 1 file:

ivyj 2008-12-10 20:00 Rev.: 106

set turtle to center of window

4 lines of code changed in 1 file:

ivyj 2008-12-10 19:59 Rev.: 105

minor variable change

2 lines of code changed in 1 file:

richardsonw 2008-12-10 19:53 Rev.: 104

Now Turtle is cloneable

20 lines of code changed in 1 file:

tshishikub 2008-12-10 19:53 Rev.: 103

fixed towards instruction class

2 lines of code changed in 1 file:

richardsonw 2008-12-10 19:51 Rev.: 102

Now with undo and redo methods that don't quite work! They don't make anything crash, though. I hope.

60 lines of code changed in 1 file:

gehmane 2008-12-10 19:47 Rev.: 101

add getTowardsHeading method for Towards

12 lines of code changed in 1 file:

ivyj 2008-12-10 19:26 Rev.: 100

added more menu functionality

24 lines of code changed in 1 file:

gehmane 2008-12-10 19:25 Rev.: 99

several changes of note: drawing lines is now handled by PenLine class, and color changing works for the lines

130 lines of code changed in 2 files:

tshishikub 2008-12-10 19:05 Rev.: 98

subroutines work. whew!

6 lines of code changed in 3 files:

tshishikub 2008-12-10 18:31 Rev.: 97

to confusion

19 lines of code changed in 10 files:

ivyj 2008-12-10 18:17 Rev.: 96

added File-Open capability (no file readers yet though, just getting file from dialogue)

initialized Undo/Redo buttons to "unclickable"

32 lines of code changed in 1 file:

tshishikub 2008-12-10 17:57 Rev.: 95

To Subroutine classes. should be working now

27 lines of code changed in 5 files:

test209 2008-12-10 17:31 Rev.: 94

Committing slogo.instruction.Subroutine

4 lines of code changed in 1 file:

sprenkle 2008-12-10 15:28 Rev.: 93

Added a little more error handling in GUI for user commands.
- need to handle "other" exceptions besides the parse exceptions

6 lines of code changed in 1 file:

sprenkle 2008-12-10 15:23 Rev.: 92

Modified SLogoParser so that the parse method (now called "interpret") returns the value from executing the last statement.
- updated related methods as appropriate

Added tests to SLogoParserTest for subroutines

Modified some arithmetic-related SLogoParserTests to leverage that interpret returns a result, so now uses the assert statements to verify the results

Modified Main
- to use SLogoParser's new interpret method
- does not throw runtime nullpointer exceptions if the result of executing the command is null.

99 lines of code changed in 3 files:

tshishikub 2008-12-09 18:17 Rev.: 91

Classes associated with To command added. this is not complete but has been entered so that prof. sprenkle might be able to look at it.

99 lines of code changed in 4 files:

ivyj 2008-12-08 15:22 Rev.: 90

now handles when user attempts to rotate turtle without first entering an angle

23 lines of code changed in 1 file:

ivyj 2008-12-08 14:54 Rev.: 89

added pen color changing functionality, although the color of a given line drawn is not saved with the Turtle, so whenever the turtle is updated (moved or rotated) and the color has been changed, all previous lines drawn are changed to that color

96 lines of code changed in 2 files:

ivyj 2008-12-08 14:29 Rev.: 88

got rid of some more import warnings

9 lines of code changed in 12 files:

ivyj 2008-12-08 14:23 Rev.: 87

got rid of warning (import issue)

0 lines of code changed in 1 file:

ivyj 2008-12-08 14:22 Rev.: 86

added text area that displays results of expressions

refactored duplicated code in ActionListeners of command button and command text field

33 lines of code changed in 1 file:

ivyj 2008-12-08 13:41 Rev.: 85

added a result variable to use for displaying result in GUI text field

7 lines of code changed in 1 file:

ivyj 2008-12-08 13:06 Rev.: 84

added pen color changeability

6 lines of code changed in 1 file:

ivyj 2008-12-06 14:19 Rev.: 83

Fixed the "TURTLE" border disappearing, a little reorganizing as well

80 lines of code changed in 1 file:

ivyj 2008-12-06 13:55 Rev.: 82

set up the catch block for ParseException when entering invalid commands

added capability to press the "Enter" key and execute commands

22 lines of code changed in 1 file:

sprenkle 2008-12-05 18:13 Rev.: 81

Added more tests to test the SLogoParser

20 lines of code changed in 1 file:

sprenkle 2008-12-05 18:12 Rev.: 80

Adding mappings from lower case commands to uppercase commands.

31 lines of code changed in 1 file:

sprenkle 2008-12-05 18:00 Rev.: 79

Added a properties file that contains the mappings of commands (shorthand) to the actual command.
-- mapped this way so that can have multiple aliases for the same commands.

51 lines of code changed in 2 files:

tshishikub 2008-12-05 16:21 Rev.: 78

to parser

10 lines of code changed in 1 file:

tshishikub 2008-12-05 14:53 Rev.: 77

organizing/changes to subroutine

11 lines of code changed in 1 file:

ivyj 2008-12-05 13:17 Rev.: 76

deleting model package

1 lines of code changed in 2 files:

ivyj 2008-12-05 13:14

29 lines of code changed in 2 files:

gehmane 2008-12-05 09:24 Rev.: 72

all functionality works as normal for the presentation

5 lines of code changed in 1 file:

gehmane 2008-12-05 09:23 Rev.: 71

Test cases in JUnit for the Turtle class in slogo.gui

92 lines of code changed in 1 file:

sprenkle 2008-12-04 19:19 Rev.: 70

Renamed To class to Subroutine class

18 lines of code changed in 3 files:

sprenkle 2008-12-04 18:51 Rev.: 69

Updated documentation

Cleaning up mess from my moving instructions around

1868 lines of code changed in 181 files:

sprenkle 2008-12-04 18:18 Rev.: 68

Major: Changed from using "Expression" superclass to using "GrammarElement" super class.
- allows handling instructions in instructions

Added a JUnit test case for SLogoParser (more tests should be added)
Reorganized the Instructions into packages so easier to find.
- Not possible for Tokens because of use of reflection

Added Quotient to InstructionProps file

Updated the Documentation

Other minor changes to code

835 lines of code changed in 110 files:

ivyj 2008-12-04 18:05 Rev.: 67

99 lines of code changed in 2 files:

gehmane 2008-12-04 16:51

Added getter methods for startX and startY variables

8 lines of code changed in 2 files:

gehmane 2008-12-04 16:50 Rev.: 64

Added methods to allow GUI to access turtle start point

10 lines of code changed in 1 file:

tshishikub 2008-12-04 16:22 Rev.: 63

Right and Left (rotation) instruction classes

6 lines of code changed in 2 files:

tshishikub 2008-12-04 16:17 Rev.: 62

Pen Up/Down/isDown classes set up.

3 lines of code changed in 3 files:

gehmane 2008-12-04 16:12 Rev.: 61

Added boolean penIsDown variable to allow GUI/user to specify when the pen is up or down (thus, when the turtle is drawing or not drawing).

Also added a rotate method to add or subtract an int representation of the number of degrees the turtle should turn.

33 lines of code changed in 1 file:

sprenkle 2008-12-04 11:15 Rev.: 60

Updated the Documentation

4365 lines of code changed in 177 files:

tshishikub 2008-12-04 10:11 Rev.: 59

Lots of changes adding instruction classes and fixing methods in slogo.parser classes. add names to instructionprop.

471 lines of code changed in 38 files:

tshishikub 2008-12-04 05:47

7 lines of code changed in 2 files:

tshishikub 2008-12-03 19:39 Rev.: 56

lots of changes including
1. filling in the parser methods
2. adding new instruction classes
3. updating instruction.prop

215 lines of code changed in 20 files:

ivyj 2008-12-03 18:18 Rev.: 55

3 lines of code changed in 1 file:

ivyj 2008-12-03 18:13 Rev.: 54

14 lines of code changed in 1 file:

tshishikub 2008-12-03 17:53 Rev.: 53

test for Forward class.

27 lines of code changed in 1 file:

ivyj 2008-12-03 17:45 Rev.: 52

9 lines of code changed in 1 file:

ivyj 2008-12-03 17:36 Rev.: 51

1 lines of code changed in 2 files:

tshishikub 2008-12-03 17:29 Rev.: 50

5 lines of code changed in 1 file:

tshishikub 2008-12-03 17:29 Rev.: 49

parser classes updated. specifically forward

449 lines of code changed in 27 files:

ivyj 2008-12-03 17:20 Rev.: 48

80 lines of code changed in 1 file:

tshishikub 2008-12-03 17:20 Rev.: 47

added instruction classes for commands that change the turtle's state

185 lines of code changed in 9 files:

tshishikub 2008-12-03 17:15 Rev.: 46

8 lines of code changed in 1 file:

gehmane 2008-12-03 16:33 Rev.: 45

Added pen functionality to the Turtle

22 lines of code changed in 1 file:

tshishikub 2008-12-03 16:17 Rev.: 44

Changed TreeMap to HashMap.

2 lines of code changed in 1 file:

tshishikub 2008-12-03 15:47 Rev.: 43

3 lines of code changed in 1 file:

tshishikub 2008-12-03 15:46 Rev.: 42

Created SLogoContext that implements Context and sets up the Context.

30 lines of code changed in 1 file:

tshishikub 2008-12-03 15:44 Rev.: 41

Adjusted the constructor of SLogoParser to take a turtle object and added the context to the constructor.
I also had to create a turtle object to the main method so that I could pass it in when the SLogoParser is created.

12 lines of code changed in 1 file:

tshishikub 2008-12-03 15:29 Rev.: 40

Created SlogoContext class that implements the Context interface.

20 lines of code changed in 1 file:

ivyj 2008-12-03 15:26 Rev.: 39

This is the new SLogo GUI...in progress!

451 lines of code changed in 4 files:

sprenkle 2008-12-03 14:53 Rev.: 38

slogo.language.Context: Changed the interface of the value method to return an Object

1 lines of code changed in 1 file:

gehmane 2008-12-02 21:26 Rev.: 37

Changed access scope to Turtle's instance variables (location, direction, pen position are all private now)

4 lines of code changed in 1 file:

gehmane 2008-12-02 21:23 Rev.: 36

Minor comment alteration for documentation

2 lines of code changed in 1 file:

sprenkle 2008-12-02 14:41 Rev.: 35

Updated the Documentation

2173 lines of code changed in 179 files:

tshishikub 2008-12-01 21:20 Rev.: 34

I've moved the token classes all to one package because i realized it was necessary with the current code in InstructionParser

357 lines of code changed in 62 files:

gehmane 2008-12-01 19:52 Rev.: 33

"Rough Draft" version of the Turtle model for consideration. So far, the Turtle has a location (represented as a Point), a direction (represented by an int between 0 and 360), and a boolean, penIsDown, that represents the state of the pen. All the constructors and getter methods work correctly but because my partner didn't show up *cough* Will *cough* I didn't really think I'd rush to figure out all the trig involved in the rotate and move methods.

2 lines of code changed in 1 file:

tshishikub 2008-12-01 16:58 Rev.: 32

I added tokens for all the commands. I put them in separate packages based on function since there are so many tokens.

9 lines of code changed in 30 files:

sprenkle 2008-12-01 11:21 Rev.: 30

Added documentation of IF instruction/parser/token

1136 lines of code changed in 5 files:

sprenkle 2008-12-01 11:19 Rev.: 29

Updated documentation

308 lines of code changed in 172 files:

sprenkle 2008-12-01 11:12 Rev.: 28

Moved tests to old_elan_tests so that you know they're not "good" for SLogo language

0 lines of code changed in 9 files:

sprenkle 2008-12-01 11:09 Rev.: 27

Added the IF instruction/token/parser

Deleted the PRINT instruction/token/parser (not part of SLogo language)

83 lines of code changed in 8 files:

sprenkle 2008-12-01 10:51 Rev.: 26

Modified documentation
- deleted the jelan, jturtle package documentation
- added the slogo package documentation

Deleted EricGehman's file

35613 lines of code changed in 343 files:

sprenkle 2008-12-01 10:45 Rev.: 25

Updated documentation.

Fixed references to jelan.elan

32 lines of code changed in 30 files:

sprenkle 2008-12-01 10:45 Rev.: 24

Fixed a bug in InstructionNames: was reading from wrong input file (path problem)

Updated the documentation for "package.html" in slogo.parser so that no longer has references to Elan.

6 lines of code changed in 3 files:

ivyj 2008-12-01 09:31 Rev.: 23

I edited your file

3 lines of code changed in 1 file:

gehmane 2008-12-01 09:30 Rev.: 22

I moved it to the Project directory. This makes the project better.

1 lines of code changed in 1 file:

tshishikub 2008-12-01 09:29 Rev.: 21

I added a file with my name

1 lines of code changed in 1 file:

gehmane 2008-12-01 09:28 Rev.: 20

This is a text file that says "Hello World!" for practice in class.

This makes the code better.

0 lines of code changed in 1 file:

ivyj 2008-12-01 09:28 Rev.: 19

I typed my name

1 lines of code changed in 1 file:

richardsonw 2008-12-01 09:28 Rev.: 18

Made files better

24 lines of code changed in 3 files:

sprenkle 2008-12-01 09:01 Rev.: 17

Updated Javadocs

1181 lines of code changed in 31 files:

sprenkle 2008-12-01 08:54 Rev.: 15

Reorganized code some more to have better names

276 lines of code changed in 42 files:

November 2008 »

Generated by StatSVN 0.4.1