Commit Graph

116 Commits

Author SHA1 Message Date
juliandescottes
dba62d2b0d add pskl.utils.Array.chunk 2016-12-18 09:16:52 +01:00
Julian Descottes
37d2861352 move fps info from preview controller to piskel model 2016-12-13 09:17:34 +01:00
Smie
da0e8dec84 Stylistic changes to pixel and pen size code. 2016-11-28 08:21:30 -07:00
Smie
8cb7a4aaf6 Permits brush size of only 1-32 pixels. 2016-11-21 12:53:14 -07:00
Julian Descottes
73986c4e61 move arraybuffer serializer to dedicated subfolder 2016-10-16 18:28:12 +02:00
juliandescottes
eb69c91d43 add other color picker test 2016-10-09 23:59:16 +02:00
Dávid Szabó
c522d48c8f Fix test to work with new serializer format 2016-10-01 14:34:01 +02:00
Dávid Szabó
f5c98cf0b3 Rework pixel storage, manipulation, rendering 2016-10-01 14:34:01 +02:00
juliandescottes
2ca97b48e7 Add another performance tests for layers and undo 2016-10-01 13:56:53 +02:00
juliandescottes
132487704b Add simple performance test 2016-10-01 13:48:58 +02:00
juliandescottes
7bc5d20b2e Issue #533: Merge test suites. use delay as timeout 2016-09-01 01:42:06 +02:00
Dávid Szabó
0238dffe71 Update CasperJS and refactor tests 2016-08-31 16:20:01 +02:00
Julian Descottes
e6c8c59e81 Add FramesheetRenderer unit test 2016-05-29 22:30:09 +02:00
Matt D
da60495643 Had a zero instead of an O in unit test... 2016-05-12 11:15:29 +10:00
Matt D
5345c1ff0a Added unit test 2016-05-12 10:56:33 +10:00
Julian Descottes
7bf2662b66 Issue #414: part6: Support transparency when exporting as PNG spritesheet
Added flattenFrameAt to LayerUtils.
Added renderFrameAt to PiskelController (using flattenFrameAt)
Use renderFrameAt in PiskelRenderer (which is used for PNG spritesheet)

chore: renamed createLayerFromSpritesheet to createFramesFromSpritesheet
       (in LayerUtils)
2016-03-24 02:17:57 +01:00
Julian Descottes
6546b520b3 Issue #414: part2: serialize and deserialize layer opacity 2016-03-24 02:17:57 +01:00
Julian Descottes
7660119b50 Issue #414: part1: add opacity to Layer model 2016-03-24 02:17:57 +01:00
Julian Descottes
cc62c5b3cb chore : fix ShortcutServiceTest on macosx 2016-01-24 13:02:32 +01:00
jdescottes
f5a33dc39a Issue #146 : add unittest for line & uniform lines
Uniform lines step is now capped so that the step remains lower
than min(dx, dy). If the step would be greater than this value,
use Infinity and draw a straight line
2015-12-04 14:30:36 +01:00
jdescottes
92d5a4a2fe Issue #258 : Add pensize support to DrawingTest + add pensize test suite 2015-12-01 00:54:18 +01:00
jdescottes
f0ed4927e8 Issue #258 : Move resize method to utils + add unit test 2015-12-01 00:54:17 +01:00
jdescottes
27061291a3 Issue #258 : Simplify Lighten & update test 2015-12-01 00:54:16 +01:00
jdescottes
676cbd17ea Issue #287 : Edit shortcuts from cheatsheet window (WIP) 2015-11-12 20:31:49 +01:00
jdescottes
ca3bbf1c57 Issue #287 : Shortcuts now rely on Shortcut instances. Shortcut key can be changed dynamically. 2015-11-12 20:31:47 +01:00
jdescottes
8081d5e232 Issue #287 : Fix unit test mocks 2015-11-12 20:31:46 +01:00
jdescottes
c11e0d5d8d Issue #287 : Rename addShortcut/removeShortcut to less ambiguous register/unregister 2015-11-12 20:31:45 +01:00
jdescottes
a3a75b6096 Issue #315 : custom replay for Swap Color 2015-10-06 01:22:43 +02:00
jdescottes
9811a3a604 Issue #311 : Add drawing test for lasso 2015-10-06 00:21:12 +02:00
jdescottes
a0c9f2923e Issue #315 : Fix replay with alt/shift/ctrl modifiers 2015-10-02 02:04:03 +02:00
jdescottes
c9529dc65c Issue #315 : avoid saving state when replaying state 2015-10-02 01:48:35 +02:00
jdescottes
a8f727fdcd Issue #315 : Implement custom replay for transform tools + add drawing test support 2015-10-02 01:27:59 +02:00
jdescottes
a286d5926a Issue #277 : Cleanup save controller 2015-10-01 00:30:36 +02:00
jdescottes
acb6fd2172 Issue #277 : Add unit test for StorageService 2015-09-25 01:41:22 +02:00
jdescottes
ef05cc4fd1 Refactor : move FrameTransform to transform package 2015-09-20 02:20:16 +02:00
grosbouddha
8faa6db4c0 Fix SelectedColorsService tests 2015-09-16 23:36:55 +02:00
grosbouddha
d6351fccb3 Add dithering tool drawing tests 2015-09-16 01:13:45 +02:00
grosbouddha
a58b643a26 Add SelectedColorsService unit tests 2015-09-16 01:13:21 +02:00
jdescottes
6a2f7fb58d Issue #256 : add drawing test 2015-09-02 00:48:29 +02:00
jdescottes
6b6674a04d Issue #215 : Dev environment : first undo/redo drawing test 2015-08-25 01:01:12 +02:00
jdescottes
754bc9b830 Issue #215 : Dev environment : support keyboard/undo/redo events in drawing tests 2015-08-24 23:56:09 +02:00
juliandescottes
99da69553c Copy paste out of bounds : added SelectionManager unit tests 2015-08-09 15:42:46 +02:00
juliandescottes
1208324d4d Copy paste bug : add unit tests for FrameUtils with null value 2015-08-09 12:37:03 +02:00
jdescottes
3f181c6248 Fix gif export transparency issue 2015-04-27 22:23:35 +02:00
juliandescottes
ba491736c1 test : add unit test for ColorUtils 2015-04-13 13:02:12 +02:00
jdescottes
7a355b39a0 Refactored HistoryService, CurrentColorsService, draft for popup preview 2015-02-27 23:54:18 +01:00
juliandescottes
5831447f75 Fix #242, onion skin rendered not cleared if 0 frames 2014-12-27 15:02:41 +01:00
jdescottes
5cb1d0cd03 Fixed CanvasRenderer regression + added unit test 2014-12-21 18:56:40 +01:00
jdescottes
ce1a5c4918 Rotate non square sprites, added rotate icon, unit tests for transforms 2014-11-23 15:03:35 +01:00
jdescottes
8a29b78af8 Merge branch 'master' into enhancement-palette-sorting
Conflicts:
	src/js/utils/FrameUtils.js
2014-09-21 21:56:22 +02:00
jdescottes
9ef46d5ec5 added FrameUtils unit tests 2014-09-21 21:39:54 +02:00
jdescottes
508fb79c32 Homogeneize layout, drop palette 2014-09-18 07:18:07 +02:00
juliandescottes
9325abb924 Enhancement : Layers merge
Added drawing test + fixed drawing test runner on Mac OS X
2014-09-13 20:21:40 +02:00
jdescottes
e457209c8f Enhancement : Palette color creator
- Added import button on create palette dialog
- implemented import from images
- missing limitation on color count when importing !!
- should remove button when editing existing palette
2014-09-07 14:31:28 +02:00
jdescottes
8441f28ac1 Palette creator can save palettes to local storage 2014-09-06 12:37:11 +02:00
jdescottes
b2ab504422 Drawing tests structure cleanup 2014-08-26 08:21:58 +02:00
jdescottes
35d4be5d3e Configuration clenup 2014-08-26 01:11:14 +02:00
jdescottes
efccfdc0c6 Added test for lighten / darken 2014-08-24 23:44:22 +02:00
jdescottes
13001bd7bd added drawing tests for all tools currently available 2014-08-24 17:57:30 +02:00
jdescottes
caebce5ec8 added test suite runner, removed tests from travis build 2014-08-23 22:45:52 +02:00
jdescottes
a8788c83f1 add drawing tests to casper 2014-08-22 00:51:35 +02:00
jdescottes
56b1f421bc add drawing tests to casper 2014-08-22 00:37:35 +02:00
jdescottes
8d8c40e6a6 tests update 2014-08-12 07:11:23 +02:00
jdescottes
6d6e80c762 tests update 2014-08-12 00:30:57 +02:00
jdescottes
05e8f9adac added karma runner + first test 2014-07-23 19:42:08 +02:00
jdescottes
87574a2b30 Cleanup project root 2014-03-16 21:15:34 +01:00