History for piccolo2d.java / core / src / main / java
2009-07-21
@Allain Lalonde
Marked the static instances as final
Allain Lalonde committed on 21 Jul 2009
@Allain Lalonde
Marked ALL_MODIFIERS_MASK as final
Allain Lalonde committed on 21 Jul 2009
@Allain Lalonde
Added back in check for modifiers applying to input events. Turns out some of the examples expect this behaviour (NavigationExample being one).
Allain Lalonde committed on 21 Jul 2009
@Allain Lalonde
Change path back to private scope. Accident caused while trying to figure out a way of unit testing the generated path.
Allain Lalonde committed on 21 Jul 2009
@Allain Lalonde
Removed some unnecessary imports from PCanvas
Allain Lalonde committed on 21 Jul 2009
@Allain Lalonde
Refactored mousePressed and mouseReleased so that code common to each is now in a helper method. Net result is a much lower cyclomatic complexity for each.
Allain Lalonde committed on 21 Jul 2009
2009-07-20
@Allain Lalonde
Unit tests
Allain Lalonde committed on 20 Jul 2009
2009-07-19
@Allain Lalonde
Added getInputEventListeners to PCanvas and PNode making them return an array of PInputEventListener objects. This makes it fall inline with the other listeners inherited from JComponent and it also makes listener methods testable.
Allain Lalonde committed on 19 Jul 2009
@Allain Lalonde
Reverted override of createInverse in PAffineTransform since the fact that it didn't throw anything was being overlooked in Hudson, but honoured in Eclipse
Allain Lalonde committed on 19 Jul 2009
@Allain Lalonde
Removing some calls to printStackTrace(), replacing them with appropriate responses Issue 101
Allain Lalonde committed on 19 Jul 2009
2009-07-18
@Allain Lalonde
Fixing bug with PImage being run in Headless Mode
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Unit Testing for PImage and removed a little cruft
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Some Unit Tests for PInputEvent
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Adding tests for PText
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Adding tests for PText and making it return empty string by default rather than null. More inline with JTextField
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Fixed a memory leak with PCanvas instances registering themselves with KeyboardFocus and never unregistering themselves. ...
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Fixed Issue 100; Plastered PInputEventFilter with Unit Tests and then made it consider the masks conditionally. ...
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Fixed Issue 91; deprecated repaintFromlayer(PBounds, PNode) in favor of the more specific repaintFromlayer(PBounds, PLayer) making it impossible to accidentally pass a camera say to this method.
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Fixed Issue 96; Made PAffineTransform throw PAffineTransformException (a subclass of RuntimeException) whenever a non-invertible transform is encountered. ...
Allain Lalonde committed on 18 Jul 2009
2009-07-17
@Allain Lalonde
Fixed Issue 92; make it check for empty stack before popping the cursor
Allain Lalonde committed on 17 Jul 2009
@Allain Lalonde
Fixed Issue 94; made removeLayer(PLayer) "fail" silently. Also added some additional tests and refactoring. Sorry for such a large commit, I'd try to split it up, but it's hard to tell what's safe to leave out and what's not. I know that the whole together unit tests fine. I have to remember to checkin more frequently.
Allain Lalonde committed on 17 Jul 2009
@Allain Lalonde
Simplifying getInverseTransform and making it not call printStackTrace() since it was handling that case anyway. Issue #96 may make this a non-issue anyway.
Allain Lalonde committed on 17 Jul 2009
2009-07-16
@Allain Lalonde
Added some trivial tests for PPanEventHandler and added come accesors to it for maxAutoPanSpeed and minAutoPanSpeed. ...
Allain Lalonde committed on 16 Jul 2009
@Allain Lalonde
Folding nested if statements into themselves. Makes PMD stop complaining so loudly.
Allain Lalonde committed on 16 Jul 2009
@Allain Lalonde
Refactored PDebug code so that PMD didn't complain about two ifs that could be joined. In the process making it slightly clearer.
Allain Lalonde committed on 16 Jul 2009
@Allain Lalonde
Replaced complex xor logic with Java's xor operator.
Allain Lalonde committed on 16 Jul 2009
@Allain Lalonde
Part of a solution to Issue #53; made toImage not use GraphicsEnvironment in the case of running in Headless mode.
Allain Lalonde committed on 16 Jul 2009
2009-07-14
@Allain Lalonde
Added accessors for render quality on PCanvas (Issue 93) , and also wrote more tests to confirm that Issue 87 is fixed.
Allain Lalonde committed on 14 Jul 2009
@Allain Lalonde
Added some move tests to PCanvas
Allain Lalonde committed on 14 Jul 2009
@Allain Lalonde
made toImage(int, int, Paint) return an image of the size requested. Since it seems that the resizing is already done in PNode.paint it was just a matter of deleting the resize code. ...
Allain Lalonde committed on 14 Jul 2009