Julian Descottes
2a7957bce2
rollback to modelv2 for all serializations except history service
2016-10-16 00:22:06 +02:00
Julian Descottes
2b78456314
fix #554 : zooming in/out breaks drawing area on Safari
2016-10-10 18:14:06 +02:00
juliandescottes
4b378d48a2
trigger piskel_saved event after loading page sprite
2016-10-10 03:03:59 +02:00
juliandescottes
5faf4af7c9
fix page title update when loading existing piskel
2016-10-10 02:44:51 +02:00
juliandescottes
d947fe1c05
add blob type
2016-10-10 02:17:19 +02:00
juliandescottes
85336f9b9a
fix loading of v2 models
2016-10-10 01:47:26 +02:00
juliandescottes
91f637d2fd
fix color picker regression with intToColor missing
2016-10-09 23:59:16 +02:00
juliandescottes
7ae40d8794
fix pick color with middle mouse no longer workin
2016-10-09 23:59:16 +02:00
juliandescottes
5a39d6850e
fix backward compatibility issue on piskelapp.com
2016-10-09 23:59:16 +02:00
Julian Descottes
1624792f61
Fix transparency issues after deserialization
2016-10-09 13:09:28 +02:00
juliandescottes
dd58af30b9
close dialogs when clicking outside of the dialog container
2016-10-02 00:56:13 +02:00
juliandescottes
71ec809aea
fix #502 : add smoothscroll polyfill
2016-10-02 00:23:26 +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ó
5fe9081df1
Remove unneccessary frame version incrementing
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ó
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ó
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
f6be33d5bf
Add performance figures to drawing tests
2016-10-01 13:09:19 +02:00
Dávid Szabó
3be2b3d3bc
Add misc export: download selected frame as png
2016-09-23 16:35:22 +02:00
juliandescottes
e9ef6eb5b3
Issue #533 : drawing tests, fix keyboard event replay on osx
2016-09-01 00:14:13 +02:00
juliandescottes
a2d5e6ff04
Issue #533 : Fix drawing tests cross-browser/OS issues
2016-09-01 00:12:07 +02:00
juliandescottes
8867324468
Fix zoom centering when zooming with keyboard shortcuts
2016-08-16 09:53:14 +02:00
juliandescottes
8e3ac50f81
Issue #290 : cleanup unused code in SelectionManager
2016-08-16 01:04:55 +02:00
Julian Descottes
f4cbabe2ce
Issue #290 : selection tools: clear hasSelection flag when calling commitSelection
2016-08-16 00:40:01 +02:00
Julian Descottes
69393127fa
Issue #290 : rename dismissSelection to commitSelection
2016-08-16 00:40:01 +02:00
Julian Descottes
fc7fc6d9b0
Issue #290 : Fix typo in comment
2016-08-16 00:40:01 +02:00
Julian Descottes
01aa4629cc
Issue #290 : Commit selection on ENTER
2016-08-16 00:40:01 +02:00
Julian Descottes
22797e5dc5
Issue #290 : add missing parameter to dismissSelection in BaseSelect
2016-08-16 00:40:01 +02:00
Julian Descottes
0d5dc21a41
Issue #290 : change boolean flag name to isMovingContent in BaseSelect
2016-08-16 00:40:01 +02:00
Julian Descottes
34f2a9df0b
Issue #163 : show highlighter pixel for selection tools when no selection
2016-08-16 00:40:01 +02:00
Julian Descottes
a383e59280
Issue #290 : allow to drag selection when using SHIFT while selection
2016-08-16 00:40:01 +02:00
Julian Descottes
fdd4fb5b4e
only update zoom for a valid modifier, fix zoom centering bug when using keyboard shortcuts
2016-07-30 00:01:32 +02:00
Julian Descottes
3e7999cfc5
Merge pull request #385 from smiegrin/master
...
Introduces zooming towards/away from mouse
2016-07-28 09:39:18 +02:00
Smie
f4c860ddfa
Consolidates zooming into single function.
2016-07-26 09:28:18 -06:00
Julian Descottes
4895017ebb
Fix viewport shaking on touchmove event on mobile/tablet
2016-07-26 12:13:49 +02:00
Smie
81b1bca7f5
Merge branch 'master' of https://github.com/juliandescottes/piskel
2016-07-25 14:40:58 -06:00
juliandescottes
ba56a32b88
Issue #502 : scroll selected layer into view when redrawing layer list
2016-07-24 19:21:07 +02:00
Lee Reilly
89c4044016
Replace 'alt' buttons with 'option' buttons on Macs
2016-07-20 12:35:05 -06:00
Julian Descottes
4518f50efa
consider layer with opacity=0 as transparent
2016-07-04 00:23:03 +02:00
Julian Descottes
cd36a57a1a
export controller: add synchronized rows input, remove poweroftwo checkbox
2016-07-02 16:49:17 +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
c49fe4d6a0
Issue #483 - limit zoom to have 10 sprite pixels displayed on screen
2016-06-09 11:05:59 +02:00
Julian Descottes
c0f0445544
Fix Transform tool CMD modifier on OSX
2016-06-05 00:25:41 +02:00
Julian Descottes
4b8e5ace07
Issue #470 : remove references to tiled-preview, rename preferences
2016-06-04 17:03:34 +02:00
Julian Descottes
5533664900
Issue #470 : move the seamless overlay color to Constants.js
2016-06-04 16:58:49 +02:00
juliandescottes
f2ff3bc74e
Feature #470 : Tiled drawing improvements
2016-06-04 16:50:58 +02:00
Julian Descottes
058b6fa333
Issue #293 : add FramesheetRenderer unit tests
2016-05-29 11:47:57 +02:00
Julian Descottes
c8fa83462a
Issue #293 : remove unused user settings
2016-05-29 11:19:54 +02:00
Julian Descottes
fae04f3616
Issue #293 : use input type number and fix linting issues
2016-05-29 11:06:45 +02:00
Julian Descottes
169ce21556
Issue #293 : Add spritesheet layout options in PNG export tab
2016-05-29 10:45:19 +02:00
Julian Descottes
2f295825f2
Issue #446 : store selected export tab in user preferences
2016-05-23 22:51:48 +02:00