December 2011 Commit Log

Number of Commits:
90
Number of Active Developers:
7
Garrett 2011-12-16 16:20 Rev.: 450

Cleaned up code a little bit (minor changes).

8 lines of code changed in 5 files:

Garrett 2011-12-16 15:36 Rev.: 448

My internet died in the middle of the last commit. Here's hoping everything didn't break... :-)

1 lines of code changed in 1 file:

Garrett 2011-12-16 15:32 Rev.: 447

Renamed "slogo.slogo" package and subpackages to just "slogo".

4563 lines of code changed in 437 files:

Garrett 2011-12-16 08:43 Rev.: 442

Added the "New Workspace" button and made the 'writeStatus()' method in the TurtleCommander to make it more obvious about the use of the status window instead of going through the odd TextCommander.write() methodology.

44 lines of code changed in 6 files:

Garrett 2011-12-16 07:59 Rev.: 441

When SLogoSession is run, the Workspace is placed to the side of the TurtleSandbox.

65 lines of code changed in 5 files:

twitchard 2011-12-16 07:50 Rev.: 440

Print statement and interpreter now evaluates expressions to the little box at the bottom of the SandBox.

168 lines of code changed in 25 files:

Garrett 2011-12-16 07:42 Rev.: 439

Made parser be case-insensitive so that lowercase commands are executed as well as uppercase commands.

4 lines of code changed in 2 files:

twitchard 2011-12-16 07:25 Rev.: 438

Added a nice panel for error reporting...soon will also contain print statements.

44 lines of code changed in 2 files:

Garrett 2011-12-16 07:20 Rev.: 437

Fixed bad sizing problem with Workspace window where the text area was wider than the window.

4 lines of code changed in 1 file:

Garrett 2011-12-16 07:00 Rev.: 436

Added the Load button to the Workspace window.

52 lines of code changed in 1 file:

bajracharyas 2011-12-16 06:36 Rev.: 435

LESS, GREATER, EQUAL and NOTEQUAL works in the command line. Also, since I needed an EqualToken, I changed the old EqualToken (the one representing the "=" sign) to EqualSignToken.

333 lines of code changed in 17 files:

Garrett 2011-12-16 06:32 Rev.: 434

Took out finally clause of try-catch block.

0 lines of code changed in 1 file:

Garrett 2011-12-16 06:29 Rev.: 433

Added the Load button to the TurtleSandbox to load and immediately execute a script of commands.

38 lines of code changed in 1 file:

Garrett 2011-12-16 06:15 Rev.: 432

Added the Load button to the TurtleSandbox to load and immediately execute a script of commands.

7 lines of code changed in 3 files:

twitchard 2011-12-16 06:07 Rev.: 431

98 lines of code changed in 3 files:

reeda 2011-12-16 05:51 Rev.: 430

Error reporting is almost ready. Once the exceptions are created, you'll just be able to plug them in.

7 lines of code changed in 1 file:

twitchard 2011-12-16 05:35 Rev.: 429

More work on the extra workspaces.

19 lines of code changed in 1 file:

reeda 2011-12-16 05:31

The turtle draws when you resize, but not when you start the app. THis is so FRUSTRATING

82 lines of code changed in 2 files:

twitchard 2011-12-16 05:29 Rev.: 426

Skeleton for ExtraWorkspace.

59 lines of code changed in 1 file:

bajracharyas 2011-12-16 05:28 Rev.: 425

SHOWTURTLE and HIDETURTLE works in the command line!

159 lines of code changed in 11 files:

Garrett 2011-12-16 05:27 Rev.: 424

Cleaned up TurtleHistory class and added a Save dialog box whenever the "Save" button is clicked.

44 lines of code changed in 3 files:

Garrett 2011-12-16 04:50 Rev.: 423

Set print() statement in a 'if (DEBUG)' block to make it easy to enable and disable the debugging mode.

4 lines of code changed in 1 file:

Garrett 2011-12-16 04:41 Rev.: 422

Fixed various minor warnings in Eclipse, including unnecessary imports and unused variables.

2 lines of code changed in 3 files:

reeda 2011-12-16 04:36 Rev.: 421

pink TURTLE

1 lines of code changed in 1 file:

twitchard 2011-12-16 04:36 Rev.: 420

Subroutines are working.

10 lines of code changed in 1 file:

bajracharyas 2011-12-16 04:35 Rev.: 419

2 lines of code changed in 2 files:

twitchard 2011-12-16 04:26 Rev.: 418

Added "To" to instructions.prop

2 lines of code changed in 1 file:

twitchard 2011-12-16 04:24 Rev.: 417

Overhauled the interpreter so instructions returned values, in order to facilitate subroutines inside of variables. It's pretty ugly--and not quite working yet.

146 lines of code changed in 27 files:

bajracharyas 2011-12-16 04:24 Rev.: 416

PENDOWNP works to see if Pen is down or not. Returns 1 if pen is down. Or else, returns 0.

184 lines of code changed in 11 files:

Garrett 2011-12-16 04:21 Rev.: 415

Fixed Pen drawing in that previously drawn lines aren't erased later. Plus, I fixed the part where the first FORWARD call draws a random diagonal line from the top right corner of the window to the turtle's current position.

45 lines of code changed in 4 files:

bajracharyas 2011-12-16 04:06 Rev.: 414

PENUP and PENDOWN commands implemented in Turtle Window.

148 lines of code changed in 11 files:

reeda 2011-12-16 03:47 Rev.: 413

Turtle History actually writes to the external file now. The save button works. The format of the written strings is off. It looks like a list in python. I don't think we'll be able to copy it into an SLogo session directly like this so i'll try to format it more.

3 lines of code changed in 1 file:

Garrett 2011-12-16 03:44 Rev.: 412

Centered the Turtle inside the window. Also, made the window have a bigger default size.

28 lines of code changed in 4 files:

reeda 2011-12-16 03:30 Rev.: 411

Turtle History actually writes to the external file now. The save button works. The format of the written strings is off. It looks like a list in python. I don't think we'll be able to copy it into an SLogo session directly like this so i'll try to format it more.

14 lines of code changed in 1 file:

twitchard 2011-12-16 03:23 Rev.: 410

Got variable assignment to work. Made it so that expressions that are just a variable name evaluate to their values.

12 lines of code changed in 2 files:

bajracharyas 2011-12-16 03:18 Rev.: 409

TOWARDS added. Let me know if anyone finds any bugs.

114 lines of code changed in 6 files:

twitchard 2011-12-16 03:10 Rev.: 408

Added IF statement. Woot!

104 lines of code changed in 4 files:

Garrett 2011-12-16 02:56 Rev.: 407

Gave the Pen constructor the Canvas Graphics instead of the entire window's Graphics in SLogoSession.

9 lines of code changed in 3 files:

Garrett 2011-12-16 02:37 Rev.: 406

Fixed Graphics problem with Pen (setGraphics not called before trying to draw the lines behind the Turtle).

1 lines of code changed in 2 files:

Anton 2011-12-16 02:32 Rev.: 405

1 lines of code changed in 1 file:

Garrett 2011-12-16 02:30 Rev.: 404

Fixed the pen drawing centering problem. Now a line gets drawn behind the turtle instead of off in the top left corner of the canvas.

17 lines of code changed in 3 files:

Anton 2011-12-16 02:29 Rev.: 403


22 lines of code changed in 1 file:

twitchard 2011-12-16 02:20 Rev.: 402

Added getTrueX and getTrueY to help make the Turtle compatible with the graphics thingy and the pen.

6 lines of code changed in 1 file:

Anton 2011-12-16 01:52 Rev.: 401

the statistics work for me now

83 lines of code changed in 3 files:

Garrett 2011-12-16 01:43 Rev.: 400

Removed unnecessary import and unnecessary 'throws Exception' clause for constructor.

2 lines of code changed in 1 file:

twitchard 2011-12-16 01:17 Rev.: 399

Moved the setGraphics in SLogoSession that was supposed to be called by the pen from being called by TurtleCommander.

6 lines of code changed in 3 files:

Garrett 2011-12-16 01:16 Rev.: 398

Removed the 'throws Exception' in the default constructor.

1 lines of code changed in 1 file:

twitchard 2011-12-16 01:07 Rev.: 397

Added the work I have done on the Pen that I did on the plane. It's not functional yet.

74 lines of code changed in 6 files:

bajracharyas 2011-12-16 01:06 Rev.: 396

HEADING works.

70 lines of code changed in 5 files:

twitchard 2011-12-16 01:04 Rev.: 395

Changed the error handling here to only catch ParseException...makes everything easier to debug.

3 lines of code changed in 1 file:

bajracharyas 2011-12-16 00:33 Rev.: 394

HOME was giving an infinite loop. It is fixed now.

XCOR and YCOR commands are added to return the current XCordinate and YCordinate respectively in the Console.

141 lines of code changed in 11 files:

bajracharyas 2011-12-15 23:25 Rev.: 391

SETX, SETY, SETXY and HOME are working

329 lines of code changed in 24 files:

Anton 2011-12-15 22:41 Rev.: 389

Turtle History works now. If you press UP, it'll give you the previous command, and vice versa for DOWN. There is error handling so that if you enter a blank command, it doesn't save it in the history and it won't report errors if you press UP/DOWN w/ no commands.

125 lines of code changed in 4 files:

bajracharyas 2011-12-15 19:13 Rev.: 388

5 lines of code changed in 1 file:

bajracharyas 2011-12-15 17:52 Rev.: 387

DIFFERENCE, PRODUCT, QUOTIENT, MINUS and REMAINDER works as they're supposed to. But I'm kind of worried about the "QUOTIENT 0 0" giving the result "0". "REMAINDER 0 0" works fine, evaluating it to "NaN".
Also, since we needed a "MinusToken" as a command, I changed the other MinusToken (the one that represents the Character Constant "-") to "MinusSignToken".

408 lines of code changed in 19 files:

bajracharyas 2011-12-15 16:50 Rev.: 386

LT and RT now corresponds to LEFT and RIGHT

128 lines of code changed in 10 files:

twitchard 2011-12-15 11:20 Rev.: 385

Large changes to the interpreter in this commit. Essentially what I've done is begin to unify the "Instruction" and "Expression" types, right...so in the ELan you could type things like "3 + 7"--but in SLogo that's not valid, you have to type "SUM 3 7." I've gotten rid of the old expressions and gotten "sum" working. And you can even do cool things like "SUM 7 SUM 3 9" = 19.

140 lines of code changed in 8 files:

marmorsteinr 2011-12-13 17:40 Rev.: 295

Renamed ELanInterpreter to SLogoInterpreter

179 lines of code changed in 17 files:

marmorsteinr 2011-12-13 17:20 Rev.: 293

3 lines of code changed in 82 files:

marmorsteinr 2011-12-13 17:07 Rev.: 292

Adding slogo.slogo

254 lines of code changed in 134 files:

marmorsteinr 2011-12-13 16:22 Rev.: 289

Fixed all the weird errors that came from making the turtlethingamabobber constructors take no arguments.

8 lines of code changed in 2 files:

Sara Sprenkle 2011-12-13 16:11 Rev.: 288

On behalf of Richard (who made the changes) to the constructor for the SLogoContext to not take a parameter the TurtleCommander and instead has a setCommander method

5 lines of code changed in 1 file:

twitchard 2011-12-13 01:35 Rev.: 287

Made the zero-parameter constructor + set method for the context and turtlecommander, too. Made the main method for the interpreter better for testing.

36 lines of code changed in 4 files:

twitchard 2011-12-10 20:51 Rev.: 176

Made it so Interpreter is associated with a context via setContext instead of via the constructor. Also implemented Random.

120 lines of code changed in 10 files:

Garrett 2011-12-10 18:51 Rev.: 175

Implemented the "BK" instruction, which is a synonym of the "BACK" instruction. Also, the "BACKWARD" instruction doesn't exist; it's just not a thing. If you ever say something about the "BACKWARD" instruction, you actually mean the "BACK" instruction.

69 lines of code changed in 6 files:

Anton 2011-12-09 01:19 Rev.: 155

made a history class. we might want to fold thin=s into turtleSandbox...we;ll talk soon about this

38 lines of code changed in 2 files:

Anton 2011-12-09 00:19 Rev.: 154

You can now press enter to make the field empty and move the turtle, instead of clicking the stupid button

38 lines of code changed in 1 file:

reeda 2011-12-05 16:31 Rev.: 116

1 lines of code changed in 1 file:

Garrett 2011-12-05 11:33 Rev.: 101

Added the "FD" instruction as a synonym for the "FORWARD" instruction. This includes adding the FD token class, FD instruction class, adding "FD" to the Instructions.prop file, and the FDParser class. I also cleaned up a few minor Eclipse warnings.

95 lines of code changed in 9 files:

twitchard 2011-12-05 04:45 Rev.: 88

Got the window to display with the components drawn instead of having to resize first. Still can't figure out how to start with the turtle visible.

12 lines of code changed in 2 files:

bajracharyas 2011-12-05 00:25 Rev.: 87

RIGHT and LEFT fixed

2 lines of code changed in 1 file:

bajracharyas 2011-12-04 21:29 Rev.: 79

LEFT and RIGHT commands added, though isn't working as it is supposed to (e.g. LEFT 10 turns the turtle way more than 90 degrees). Will be debugging it in a moment. For now, just this.

183 lines of code changed in 8 files:

twitchard 2011-12-04 19:30 Rev.: 64

Removed some extra stuff, and put back in instructions.prop so Suraj's backwards command would work.

2 lines of code changed in 2 files:

bajracharyas 2011-12-04 17:20 Rev.: 63

The text boxes on the top are "disabled" so that it can't be typed into.

6 lines of code changed in 1 file:

bajracharyas 2011-12-04 17:07

1 lines of code changed in 3 files:

bajracharyas 2011-12-04 17:06 Rev.: 59

BACK added, including the tokens and the parser. Tested OKAY

17 lines of code changed in 2 files:

reeda 2011-12-04 16:51 Rev.: 58

We constructed a new GUI from scratch based loosely off the TurtleField but with our own components. The only problem is that the Turtle doesn't start visible.

97 lines of code changed in 3 files:

bajracharyas 2011-12-04 16:33 Rev.: 57

38 lines of code changed in 1 file:

bajracharyas 2011-12-04 16:28 Rev.: 56

BACK added

4 lines of code changed in 1 file:

bajracharyas 2011-12-04 16:27 Rev.: 55

added BACK

38 lines of code changed in 1 file:

twitchard 2011-12-04 16:03 Rev.: 54

Anton doesn't have the Session object, I'm committing it to see if he will get it.

25 lines of code changed in 1 file:

reeda 2011-12-04 15:50 Rev.: 50

we have our own GUI, that we didn't steal from Sprenkle. We need to add the turtle to it.

60 lines of code changed in 1 file:

reeda 2011-12-04 14:19 Rev.: 46

Made the textfield in Sandbox clear itself when the submit button is pressed.

5 lines of code changed in 1 file:

Anton 2011-12-04 12:06 Rev.: 44

command getter is supposed to both save the user's command history and get the newest command. I'm trying to do this by comparing
the file w/ command history to the new user input and only passing the part that isn't in both to garrett's thingy, then updating history.
JtextPane doens't have method for getting a single (ie. the last) line of txt.

103 lines of code changed in 3 files:

reeda 2011-12-03 16:49 Rev.: 40

the box needs to be made so that it starts with some width. It is skinny until you type into it right now. The button and the box are connected at this point. I have the button printing the textPanel's height, which means it can see it right now. I don't know how to get the actual text that is in the box right now.

41 lines of code changed in 1 file:

twitchard 2011-12-03 16:45 Rev.: 39

We made a forwardFiftyTest that checks and makes sure the interpreter updates the state of the turtle properly when "FORWARD 50" is passed as a StringReader to the interpreter.

58 lines of code changed in 6 files:

twitchard 2011-12-03 15:48 Rev.: 37

We created a SLogoContext which implements Context for the SLogo language. We modified the Context class to have a setValue method as well as a getValue method. We put the mapping of variables to values into SLogoContext--it was previously located in the GrammarElement class. (We don't know why it was there, this seems to make more sense.) Also, we're making it a mapping of Strings to values instead of GrammarElements to values.

51 lines of code changed in 2 files:

reeda 2011-12-03 14:47 Rev.: 36

okay, this Sandbox has all of the components. The return button is there and so is the text box, at the bottom of the page. It needs to probably be more than 2 lines tall, and it still isn't tied to the return button, so it doesn't do anything. You can type in it.

10 lines of code changed in 1 file:

reeda 2011-12-03 14:37 Rev.: 35

Sandbox is just a copy of turtleField with a new method. I am going to remove the slider, or move it somewhere else, but for now i haven't modified turtlefield and that is still what runs. Sandbox is not complete right now

296 lines of code changed in 1 file:

Garrett 2011-12-01 19:29 Rev.: 34

Changed the return value of Context.value(String name) to an Object.

1 lines of code changed in 1 file:

November 2011 »

Generated by StatSVN 0.7.0