Commit graph

96 commits

Author SHA1 Message Date
Julian Descottes
799c9fbf5a Feature #541 crop based on the current selection 2017-06-01 19:46:34 +02:00
Julian Descottes
319060beb6 add drawing test for move layer top/bottom 2017-05-20 20:03:42 +02:00
juliandescottes
b768a22b1c Fix #689 - add unit test for v1 deserializer 2017-05-14 17:39:33 +02:00
juliandescottes
8f4f9d9b0a Fix #689 - add unit test for v0 deserializer 2017-05-14 17:39:33 +02:00
juliandescottes
14e969a3bb Fix typos and errors in existing DeserializationTest 2017-05-14 17:39:33 +02:00
juliandescottes
799bf76a86 update integration tests after selectMode step changes 2017-05-13 01:36:04 +02:00
juliandescottes
80a1edf027 add unit test for piskel MergeUtils 2017-05-13 01:36:04 +02:00
juliandescottes
41ef0cd460 increase casper load timeout 2017-05-13 01:36:04 +02:00
juliandescottes
d77889d265 add integration test chaining two import flows 2017-05-13 01:36:04 +02:00
juliandescottes
c6733cdad4 add integration test for import merge wizard 2017-05-13 01:36:04 +02:00
juliandescottes
78bbc71e6c Implement Import and Merge wizard dialog 2017-05-13 01:36:04 +02:00
juliandescottes
b5a8eb9f96 Feature #683 - add drawing test for duplicate layer 2017-05-13 01:11:45 +02:00
juliandescottes
af3d0fa48b Feature #683: duplicate layer when SHIFT+CLICK on create layer button 2017-05-13 01:11:45 +02:00
juliandescottes
1918227c81 add integration tests for PNG export & scaled export 2017-01-29 13:56:06 +01:00
juliandescottes
8b1b21368c add gif export integration test 2017-01-29 02:42:42 +01:00
juliandescottes
d781df3290 add drawing test for center tool 2017-01-29 00:11:58 +01:00
juliandescottes
94b1a1df4a History service gets core piskelController from public piskelController 2017-01-14 21:58:37 +01:00
juliandescottes
552d4fa710 nits on test/js/utils/PixelUtilsTest_visit_connected.js 2017-01-14 15:44:47 +01:00
juliandescottes
b11f7a430d add unit test for getSimilarConnectedPixelsFromFrame 2017-01-14 00:56:24 +01:00
juliandescottes
42f4812b46 move drop image logic to FrameUtils, add unit test 2017-01-13 13:58:57 +01:00
juliandescottes
03f37d46ac add unit tests for colorToInt 2017-01-13 03:31:02 +01:00
juliandescottes
95256071e1 add missing EOF new lines 2017-01-08 20:43:15 +01:00
juliandescottes
b86ec72a4e use evalLine in integration/settings/test-resize 2017-01-08 20:42:00 +01:00
juliandescottes
70085bc056 Add integration tests for resize content and resize from other origin 2017-01-08 20:38:12 +01:00
Julian Descottes
a328e4d20e add resize test checking frame content
Moved shared methods to a head.js file
2017-01-08 19:56:53 +01:00
Julian Descottes
d30f6a05d1 add integration tests 2017-01-08 16:09:03 +01:00
juliandescottes
dd9b1e0189 add test to check deserialized piskel contains valid frames 2016-12-21 17:20:54 +01:00
juliandescottes
eca9191f29 increase drawing test timeout to 30 seconds 2016-12-21 15:38:31 +01:00
juliandescottes
32070efcc1 save split: add comments and cleanup 2016-12-21 12:22:50 +01:00
juliandescottes
66c941dd25 support chunked layerData in regular deserializer 2016-12-18 11:36:11 +01:00
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