Dávid Szabó
d4f038f97b
Move buffer to string converting to utils
2016-10-01 14:34:01 +02:00
Dávid Szabó
23a0768f8d
Fix wrong calculation of requried bytes
2016-10-01 14:34:01 +02:00
Dávid Szabó
4cc434edd6
Remove atob and btoa, it's already in base64
2016-10-01 14:34:01 +02:00
Dávid Szabó
26b3cf3a23
Remove unnecessary caching
2016-10-01 14:34:01 +02:00
Dávid Szabó
7e9c632efd
Remove unused sub variable
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ó
d775609183
Remove unneccessary frame version incrementation
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ó
6ea9c248d8
Remove unneccessary else if
2016-10-01 14:34:01 +02:00
Dávid Szabó
9c96c7eaf2
Fix missing variable and remove unnecessesary if
2016-10-01 14:34:01 +02:00
Dávid Szabó
c97ce34e6e
Fix consistency
2016-10-01 14:34:01 +02:00
Dávid Szabó
43f989919c
Remove unneccessary type check
2016-10-01 14:34:01 +02:00
Dávid Szabó
0ec8036670
Move Uint32Array.fill polyfill to utils
2016-10-01 14:34:01 +02:00
Dávid Szabó
3a2d837f5a
Decrease animated preview throttle to 300ms
2016-10-01 14:34:01 +02:00
Dávid Szabó
0f404d2b25
Refactor dom initialize flag
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ó
baf8049ea6
Fix jshint errors
2016-10-01 14:34:01 +02:00
Dávid Szabó
74b7f93ddb
Fix code style errors
2016-10-01 14:34:01 +02:00
Dávid Szabó
fb97533cc9
Rework frameslist for better perfomance
2016-10-01 14:34:01 +02:00
Dávid Szabó
ebab5ecb3f
Change frameslist throttle from 1sec to 500ms
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ó
fa716d7a6c
Fix ColorSwap and Bucket tool
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ó
502eb1aac4
Fix missing name and description from v2
2016-10-01 14:34:01 +02:00
Dávid Szabó
218c0b511b
Fix callbacks to work with the new serializer
2016-10-01 14:34:01 +02:00
Dávid Szabó
a3fd2f0d89
Remove unnecessary argument
2016-10-01 14:34:01 +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ó
c2b283be67
Fix services to use new serializer format
2016-10-01 14:34:01 +02:00
Dávid Szabó
dbbd57ae28
Fix old deserializers to match new callback func
2016-10-01 14:34:01 +02:00
Dávid Szabó
fefc635e25
Add function for reading file as array buffer
2016-10-01 14:34:01 +02:00
Dávid Szabó
8910bf0dbd
Add model version 2 backward compatiblity
2016-10-01 14:34:01 +02:00
Dávid Szabó
f607c65789
Add model version 3 deserializer
2016-10-01 14:34:01 +02:00
Dávid Szabó
2962a838d3
Add model version 3 serializer
2016-10-01 14:34:01 +02:00
Dávid Szabó
7eab386122
Make sure opacity is a float and rounded
2016-10-01 14:34:01 +02:00
Dávid Szabó
0c0aa5f2c9
Add caching to CurrentColorsService
2016-10-01 14:34:01 +02:00
Dávid Szabó
bb7d5c862f
Remove unnecessary rendering
2016-10-01 14:34:01 +02:00
Dávid Szabó
f0f79754f1
Remove loop and use the pixels directly
2016-10-01 14:34:01 +02:00
Dávid Szabó
a097d0b897
Fix frame processor caching
2016-10-01 14:34:01 +02:00
Dávid Szabó
a1ab693fb5
Remove nested loop
2016-10-01 14:34:01 +02:00
Dávid Szabó
7707aca03e
Change nested loop and directly change pixels
2016-10-01 14:34:01 +02:00
Dávid Szabó
f829d589d5
Improve frame colors worker perfomance by caching
2016-10-01 14:34:01 +02:00
Dávid Szabó
712262b82a
Format some code and remove unnecessary logging
2016-10-01 14:34:01 +02:00
Dávid Szabó
0bbb4ff2d5
Remove 2nd level cache
2016-10-01 14:34:01 +02:00
Dávid Szabó
6ee23e22df
Throttle frameslist and preview rendering
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
Dávid Szabó
06abdca62e
Change model version to 3
...
The new serializing will use typed arrays / blob.
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