2009-07-21 |
Marked the static instances as final
Allain Lalonde
committed
on 21 Jul 2009
|
---|---|
Marked ALL_MODIFIERS_MASK as final
Allain Lalonde
committed
on 21 Jul 2009
|
|
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
|
|
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
|
|
Removed some unnecessary imports from PCanvas
Allain Lalonde
committed
on 21 Jul 2009
|
|
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 |
Unit tests
Allain Lalonde
committed
on 20 Jul 2009
|
2009-07-19 |
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
|
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
|
|
Removing some calls to printStackTrace(), replacing them with appropriate responses Issue 101
Allain Lalonde
committed
on 19 Jul 2009
|
|
2009-07-18 |
Fixing bug with PImage being run in Headless Mode
Allain Lalonde
committed
on 18 Jul 2009
|
Unit Testing for PImage and removed a little cruft
Allain Lalonde
committed
on 18 Jul 2009
|
|
Some Unit Tests for PInputEvent
Allain Lalonde
committed
on 18 Jul 2009
|
|
Adding tests for PText
Allain Lalonde
committed
on 18 Jul 2009
|
|
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
|
|
Fixed a memory leak with PCanvas instances registering themselves with KeyboardFocus and never unregistering themselves.
...
Allain Lalonde
committed
on 18 Jul 2009
|
|
Fixed Issue 100; Plastered PInputEventFilter with Unit Tests and then made it consider the masks conditionally.
...
Allain Lalonde
committed
on 18 Jul 2009
|
|
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
|
|
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 |
Fixed Issue 92; make it check for empty stack before popping the cursor
Allain Lalonde
committed
on 17 Jul 2009
|
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
|
|
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 |
Added some trivial tests for PPanEventHandler and added come accesors to it for maxAutoPanSpeed and minAutoPanSpeed.
...
Allain Lalonde
committed
on 16 Jul 2009
|
Folding nested if statements into themselves. Makes PMD stop complaining so loudly.
Allain Lalonde
committed
on 16 Jul 2009
|
|
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
|
|
Replaced complex xor logic with Java's xor operator.
Allain Lalonde
committed
on 16 Jul 2009
|
|
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 |
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
|
Added some move tests to PCanvas
Allain Lalonde
committed
on 14 Jul 2009
|
|
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
|