Commit Graph

157 Commits

Author SHA1 Message Date
juliandescottes
58cf9f8390 issue #555 detect performance issues based on sprite specs 2016-12-16 07:49:15 +01:00
Julian Descottes
b21fc0490d remove unused previewController member in ImportService 2016-12-13 11:04:03 +01:00
Julian Descottes
37d2861352 move fps info from preview controller to piskel model 2016-12-13 09:17:34 +01:00
Smie
a65eeee2e0 Merge branch 'master' of https://github.com/juliandescottes/piskel 2016-11-26 13:32:23 -07:00
juliandescottes
0cb4a7831b fix drawing tests when running in browser 2016-11-24 14:18:52 +01:00
Smie
8cb7a4aaf6 Permits brush size of only 1-32 pixels. 2016-11-21 12:53:14 -07:00
juliandescottes
136506da40 issue #374 throttle calls to currentColorsService update function 2016-11-20 12:08:31 +01:00
juliandescottes
4b50dfdb5b issue #374 limit undo/redo to the last 500 states 2016-11-20 00:24:48 +01:00
Smie
aca6c28b4b Allows square brush size of up to 1,000,000 pixels using keyboard shortcuts. 2016-10-28 17:56:22 -06:00
Julian Descottes
73986c4e61 move arraybuffer serializer to dedicated subfolder 2016-10-16 18:28:12 +02:00
Julian Descottes
2a7957bce2 rollback to modelv2 for all serializations except history service 2016-10-16 00:22:06 +02:00
juliandescottes
d947fe1c05 add blob type 2016-10-10 02:17:19 +02:00
Dávid Szabó
9538e03928 Fix BackupService change JSON to new serialization 2016-10-01 14:34:01 +02:00
Dávid Szabó
e647826095 Move string to buffer converting code to utils 2016-10-01 14:34:01 +02:00
Dávid Szabó
d4f038f97b Move buffer to string converting to utils 2016-10-01 14:34:01 +02:00
Dávid Szabó
6c50816830 Refactor downloadAsFile to accept blob 2016-10-01 14:34:01 +02:00
Dávid Szabó
38cbfe4fce Fix FileDropperService to work with the new cb 2016-10-01 14:34:01 +02:00
Dávid Szabó
74f36daa7c Break oneliner to multiple lines 2016-10-01 14:34:01 +02:00
Dávid Szabó
ffca6aa44c Move intToHex to utils and change for to map 2016-10-01 14:34:01 +02:00
Dávid Szabó
5577c3ab5a Fix GalleryStorageService
GalleryStorageService is sending JSON so it couldn't serialize the
ArrayBuffer which came from serializing the Piskel. In this commit it
sends the ArrayBuffer as an Array to the server so it can store it easily.
2016-10-01 14:34:01 +02:00
Dávid Szabó
37443ecdc2 Fix code style errors 2016-10-01 14:34:01 +02:00
Dávid Szabó
91f0d98d63 Fix wrong colors being in current colors 2016-10-01 14:34:01 +02:00
Dávid Szabó
ac3e43bf61 Add caching to CurrentColorsService 2016-10-01 14:34:01 +02:00
Dávid Szabó
c2b283be67 Fix services to use new serializer format 2016-10-01 14:34:01 +02:00
Dávid Szabó
0c0aa5f2c9 Add caching to CurrentColorsService 2016-10-01 14:34:01 +02:00
Julian Descottes
01aa4629cc Issue #290: Commit selection on ENTER 2016-08-16 00:40:01 +02:00
Brad Buchanan
7e112776b6 Use Constants.EMPTY_FUNCTION 2016-06-16 18:13:08 -07:00
Brad Buchanan
efbfeca200 Improved comments 2016-06-16 18:12:13 -07:00
Brad Buchanan
e1cba9f13b Re-adopt ns convention for module definition 2016-06-16 18:09:47 -07:00
Brad Buchanan
e37d93f7f9 Extract import logic to ImportService
Isolates import dialog logic from actual import logic, which makes headless import eaiser to implement.
2016-06-14 18:12:25 -07:00
Julian Descottes
aa9c1659fc Issue #447: apply review comments 2016-05-22 15:05:22 +02:00
Guillaume Martigny
58a1a6b043 Dirty status compare last save state index and current state index
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
9b6d45e8ed Code formating
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
0f00ef563a Fix the states replay loop
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
Guillaume Martigny
eb1320de11 Move history service to linked list with random UUID
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-05-22 15:03:47 +02:00
jdescottes
21d4857b74 Update deps, use grunt-connect instead of express, fix jscs errors 2015-12-09 22:38:58 +01:00
jdescottes
f0ed4927e8 Issue #258 : Move resize method to utils + add unit test 2015-12-01 00:54:17 +01:00
jdescottes
12ac85f0f6 Issue #258 : add support for left/right keys + bugfix 2015-12-01 00:50:57 +01:00
jdescottes
3525b318a6 Issue #258 : KB shortcuts to increase/decrease pensize 2015-12-01 00:50:56 +01:00
jdescottes
222c65a8a5 Issue #258 : Initial implementation : missing tests + cleanup 2015-12-01 00:50:54 +01:00
jdescottes
82510314a5 Issue #332 : always use lowercase hexstring format for colors 2015-11-27 22:58:11 +01:00
jdescottes
6d309419d3 Issue #287 : Move utility functions from Shortcuts.js to ShortcutService 2015-11-12 23:14:57 +01:00
jdescottes
460688e2d5 Issue #287 : Move helptext to tooltip, change cheatsheet column layout 2015-11-12 22:47:51 +01:00
jdescottes
0b439e1b00 Issue #287 : Add forbidden keys & helptext 2015-11-12 20:31:50 +01:00
jdescottes
676cbd17ea Issue #287 : Edit shortcuts from cheatsheet window (WIP) 2015-11-12 20:31:49 +01:00
jdescottes
2e3558ef08 Issue #287 : Edit shortcuts from the Cheatsheet dialog (WIP) 2015-11-12 20:31:49 +01:00
jdescottes
b5234089cd Issue #287 : Move CheatsheetService to CheatsheetController + DialogsController 2015-11-12 20:31:48 +01:00
jdescottes
5cda3e57b4 Issue #287 : fix shortcut for cheatsheet 2015-11-12 20:31:47 +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
2c75daecb1 Issue #287 : Move shortcut definition to tool instances 2015-11-12 20:31:46 +01:00