/Picasso/trunk Developers: Sam "The Sham" Reed

Login name:
Sam "The Sham" Reed
Total Commits:
80 (17.8%)
Lines of Code:
973 (11.0%)
Most Recent Commit:
2009-12-18 14:14

Activity by Clock Time

Activity by Hour of Day for Sam

Activity by Day of Week for Sam

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 80 (100.0%) 973 (100.0%) 12.1
src/picasso/parser/ 41 (51.3%) 498 (51.2%) 12.1
src/picasso/view/ 15 (18.8%) 188 (19.3%) 12.5
src/picasso/parser/language/expressions/ 9 (11.3%) 127 (13.1%) 14.1
src/picasso/view/commands/ 6 (7.5%) 73 (7.5%) 12.1
src/picasso/parser/tokens/functions/ 4 (5.0%) 45 (4.6%) 11.2
src/picasso/parser/tokens/operations/ 2 (2.5%) 32 (3.3%) 16.0
/ 1 (1.3%) 6 (0.6%) 6.0
src/tests/ 1 (1.3%) 3 (0.3%) 3.0
src/picasso/parser/tokens/ 1 (1.3%) 1 (0.1%) 1.0

Activity of Sam

Most Recent Commits

Sam "The Sham" Reed 2009-12-18 14:14 Rev.: 152

Added "Save Commands" feature.

Cleaned up some imports on RandomEvaluator.

57 lines of code changed in 4 files:

  • src/picasso/view: Frame.java (+2 -1), TextPanel.java (+14 -4)
  • src/picasso/view/commands: CommandSaver.java (new 41), RandomEvaluater.java (-9)
Sam "The Sham" Reed 2009-12-18 13:53 Rev.: 150

Fixed scrolling on textarea.

3 lines of code changed in 1 file:

  • src/picasso/view: TextPanel.java (+3 -3)
Sam "The Sham" Reed 2009-12-18 13:43 Rev.: 149

Fixed Exponentiate - needed an abs

3 lines of code changed in 1 file:

  • src/picasso/parser/language/expressions: Exponentiate.java (+3 -3)
Sam "The Sham" Reed 2009-12-10 16:52 Rev.: 95

Added metrics
Removed a TODO on DivideAnalyzer

Forgot to mention - changed frame's property of DISPOSE_ON_CLOSE to EXIT_ON_CLOSE. The program wasn't actually closing when we closed the window.

6 lines of code changed in 2 files:

  • .project (+6)
  • src/picasso/parser: DivideAnalyzer.java (-1)
Sam "The Sham" Reed 2009-12-10 16:42 Rev.: 94

Huge commit:

Fixed order of operations on two-arg functions. There may be a few more that are messing this up, but I fixed divide, minus, and perlins. Any function that uses multiple args needs to be fixed - check DivideAnalyzer for details. Basically the parser is popping items off the queue in reverse order so we need to add them in reverse order.

Added Wrap, Exponentiate (^), Exp, and Negate (!).

Gave textentry box focus at startup and fixed order that items are added to textarea.

Removed Evaluate button.

206 lines of code changed in 19 files:

  • src/picasso/parser: DivideAnalyzer.java (+7 -4), ExpAnalyzer.java (new 26), ExponentiateAnalyzer.java (changed), MinusAnalyzer.java (+7 -4), PerlinBWAnalyzer.java (+7 -4), PerlinColorAnalyzer.java (+7 -4), WrapAnalyzer.java (new 26), functions.conf (+3), operations.prop (+3 -1)
  • src/picasso/parser/language/expressions: Exp.java (new 37), Exponentiate.java (changed), Log.java (+13 -3)
  • src/picasso/parser/tokens: CharTokenFactory.java (+1 -1)
  • src/picasso/parser/tokens/functions: ClampToken.java (new 15), ExpToken.java (new 15)
  • src/picasso/parser/tokens/operations: ExponentiateToken.java (new 16), NegateToken.java (new 16)
  • src/picasso/view: Frame.java (+4 -2), TextPanel.java (+3 -3)
Sam "The Sham" Reed 2009-12-10 15:24 Rev.: 93

Fixed order of operations

3 lines of code changed in 1 file:

  • src/picasso/parser: ExpressionTreeGenerator.java (+3 -4)
Sam "The Sham" Reed 2009-12-10 15:04 Rev.: 92

Added divide, minus, multiply
Fixed Log with abs - it doesn't just render half an image now when we use Log.

We still need a few more functions but try this out:
sin(log(atan(x) / log( [ 0.5969982517066919, 0.8007698879754397, 0.79637077865578 ] * atan(perlinColor(x, perlinColor(x, y))) + y)))

Nasty

163 lines of code changed in 8 files:

  • src/picasso/parser: DivideAnalyzer.java (new 33), MinusAnalyzer.java (new 33), MultiplyAnalyzer.java (new 33), operations.prop (+4 -1)
  • src/picasso/parser/language/expressions: Log.java (+3 -3), Minus.java (+14), Multiply.java (new 43), Times.java (del)
Sam "The Sham" Reed 2009-12-10 14:49 Rev.: 91

Added popup error messages, only serious error messages, basically those not supposed to be seen by the user in the final product, will be displayed on the console. All parser errors are shown in a popup box.

13 lines of code changed in 2 files:

  • src/picasso/view: TextPanel.java (+2)
  • src/picasso/view/commands: Evaluater.java (+11)
Sam "The Sham" Reed 2009-12-09 16:49 Rev.: 76

Fixed the addition section of ParsedExpressionTreeTests.

Apparently it builds the tree from the list backwards, so I first changed the order of the list. This gave me a weird error about two very equal things not being equal. Sprenkle told me that it was because Plus didn't have an equals() method - so I added one to the Plus class and all's well.

17 lines of code changed in 2 files:

  • src/picasso/parser/language/expressions: Plus.java (+14)
  • src/tests: ParsedExpressionTreeTests.java (+3 -3)
Sam "The Sham" Reed 2009-12-09 16:39 Rev.: 75

Added up/down keypress history functionality to the textEntry box. Try it. It's awesome.

51 lines of code changed in 1 file:

  • src/picasso/view: TextPanel.java (+51 -3)
Sam "The Sham" Reed 2009-12-09 12:12 Rev.: 71

1 lines of code changed in 1 file:

  • src/picasso/parser: operations.prop (+1)
Sam "The Sham" Reed 2009-12-09 12:01 Rev.: 69

Fixed multiarg analyzers - see plus, PerlinBW, etc. Plus works! Removed some items from functions.conf that weren't working yet.

43 lines of code changed in 10 files:

  • src/picasso/parser: AbsAnalyzer.java (+1 -1), AtanAnalyzer.java (+1 -1), CeilAnalyzer.java (+1 -1), ClampAnalyzer.java (+1 -1), ExponentiateAnalyzer.java (+9 -3), ModAnalyzer.java (+9 -3), NegateAnalyzer.java (+1 -1), PerlinBWAnalyzer.java (+10 -4), PerlinColorAnalyzer.java (+10 -4), functions.conf (-2)
Sam "The Sham" Reed 2009-12-09 11:52 Rev.: 68

Deleted some functions that weren't implemented yet

0 lines of code changed in 1 file:

  • src/picasso/parser: functions.conf (-6)
Sam "The Sham" Reed 2009-12-09 11:51 Rev.: 67

Fixed spelling error on "ceil"

1 lines of code changed in 1 file:

  • src/picasso/parser: functions.conf (+1 -1)
Sam "The Sham" Reed 2009-12-09 11:44 Rev.: 65

Updated PlusAnalyzer

9 lines of code changed in 1 file:

  • src/picasso/parser: PlusAnalyzer.java (+9 -1)
Sam "The Sham" Reed 2009-12-09 11:33 Rev.: 63

Added Analyzers A-N, updated functions.conf

196 lines of code changed in 8 files:

  • src/picasso/parser: AbsAnalyzer.java (new 26), AtanAnalyzer.java (new 26), CeilAnalyzer.java (new 26), ClampAnalyzer.java (new 26), ExponentiateAnalyzer.java (new 26), ModAnalyzer.java (new 26), NegateAnalyzer.java (new 26), functions.conf (+14 -1)
Sam "The Sham" Reed 2009-12-09 11:20 Rev.: 59

Added LogAnalyzer - we need to update functions.conf and add simple Analyzers to finish all the functions.

28 lines of code changed in 2 files:

  • src/picasso/parser: LogAnalyzer.java (new 26), functions.conf (+2 -1)
Sam "The Sham" Reed 2009-12-07 15:54 Rev.: 35

Added comments and cleaned up a few files in the GUI.

10 lines of code changed in 3 files:

  • src/picasso/view: Frame.java (-1), TextPanel.java (+8 -9)
  • src/picasso/view/commands: Evaluater.java (+2 -12)
Sam "The Sham" Reed 2009-12-07 15:49 Rev.: 34

Fixed TextPanel to render an image on a carriage return.

28 lines of code changed in 2 files:

  • src/picasso/view: Frame.java (+8 -2), TextPanel.java (+20 -5)
Sam "The Sham" Reed 2009-12-07 15:32 Rev.: 33

Some things didn't get updated

58 lines of code changed in 6 files:

  • src/picasso/parser: CosAnalyzer.java (new 26), functions.conf (+2 -1)
  • src/picasso/parser/tokens/functions: CosToken.java (new 15), CosineToken.java (del)
  • src/picasso/view: Frame.java (+4 -4), TextPanel.java (+11)

(2 more)

Generated by StatSVN 0.4.1