History for piccolo2d.java / core
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
renamed test since PCanvas was redundant
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

Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Added Memory Leak Test for PCanvas, should demonstrate the memory leak installInputSources has
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
Adding some PInputEventFilter tests.
Allain Lalonde committed on 18 Jul 2009
@Allain Lalonde
Removed unnecessary call to getFullBounds in test. Probably just a hangover from a past test.
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
Some tests for PDragEventHandler
Allain Lalonde committed on 16 Jul 2009
@Allain Lalonde
Adding some preliminary tests for PInputEvent
Allain Lalonde committed on 16 Jul 2009
@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
@Allain Lalonde
Added some tests for PAffineTransform
Allain Lalonde committed on 16 Jul 2009
2009-07-15
@Allain Lalonde
Moved mockListener out of methods and into the setUp. it's common enough to warrant it.
Allain Lalonde committed on 15 Jul 2009
@Allain Lalonde
Slight modification to MockPCamera for extensibility.
Allain Lalonde committed on 15 Jul 2009