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
jdescottes
c11e0d5d8d
Issue #287 : Rename addShortcut/removeShortcut to less ambiguous register/unregister
2015-11-12 20:31:45 +01:00
Julian Descottes
48d1214a6d
Merge pull request #314 from juliandescottes/add-save-service
...
Add save service
2015-10-01 01:10:23 +02:00
jdescottes
b859857b2d
Issue #277 : Switch HeaderController to events instead of infinite setTimeout
2015-10-01 01:07:29 +02:00
jdescottes
669d7a21cb
Issue #277 : Fix FF bug showing native save popup despite preventDefault
2015-10-01 01:06:54 +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
055bcdb001
Enhancement : Adding CTRL+SHIFT+Z as REDO shortcut
2015-09-20 12:25:54 +02:00
jdescottes
fe9875841a
Issue #277 : Add isSaving state to storageService
2015-09-20 11:19:17 +02:00
jdescottes
e5be581e19
Issue #277 : Move all name update logic to a dedicated controller polling the model
2015-09-20 10:42:15 +02:00
jdescottes
6620f7e5a9
Issue #277 : Add global StorageService, enable CTRL+S
2015-09-20 10:42:14 +02:00
jdescottes
551e15e67b
Issue #277 : Move storage services to dedicated package
2015-09-20 10:41:48 +02:00
grosbouddha
5a469202e9
Remove color argument from BaseTool/BaseSelect interfaces
2015-09-16 23:40:44 +02:00
grosbouddha
3209c50304
Create MouseStateService and integrate
2015-09-16 22:57:53 +02:00
grosbouddha
5d38804523
Integrate selectedColorsService into PaletteController and PaletteListController
...
- update selectedColorsService getColors array API to explicit
getPrimary/getSecondary
- update drawing test helper as well
2015-09-16 22:57:52 +02:00
grosbouddha
d0acb625cf
Applying review comments for dithering tool
2015-09-14 23:40:16 +02:00
grosbouddha
63449b2694
Fixing lint errors
2015-09-14 21:53:29 +02:00
grosbouddha
ed32ddc747
Introduce basic dithering tool
2015-09-14 21:41:10 +02:00
jdescottes
069bfb9a90
Issue #305 : Changed naming for consistency -> original-size
2015-09-13 23:28:53 +02:00
jdescottes
96ab2dd781
Issue #305 : Add keyboard shortcut for native preview resolution
2015-09-13 23:07:22 +02:00
jdescottes
754bc9b830
Issue #215 : Dev environment : support keyboard/undo/redo events in drawing tests
2015-08-24 23:56:09 +02:00
jdescottes
6a4d3cb106
Keyboard Cheatsheet : extract color shortcuts to dedicated category
2015-08-14 00:01:47 +02:00
jdescottes
9800d85cb7
Add keyboard shortcuts 1 to 9 to quickly select palette colors
2015-07-24 01:16:47 +02:00
jdescottes
4edbc29e72
Fix #281 : Zoom keyboard shortcuts on Firefox
...
Keycode not consistent on FF :
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
Also added support for numpad +/- keys.
2015-05-08 22:34:29 +02:00
jdescottes
ac9ccd04e2
Fix currentcolors on sprites with many frames
2015-04-29 04:00:46 +02:00
jdescottes
473bd4705c
Add save as button
2015-04-23 23:59:05 +02:00
jdescottes
be3d2cf20d
merge
2015-04-14 22:36:25 +02:00
juliandescottes
b480acc6a0
Added JSCS linter to enforce style conventions
2015-04-14 18:02:33 +02:00
juliandescottes
007e4d4e11
Usability : keyboard shortcuts cheatsheet
...
- click outside of cheatsheet-wrapper closes the popup
- removed jquery from CheatsheetService
- removed label 'Keyboard shortcuts' in favor of tooltip
2015-04-14 11:09:36 +02:00
juliandescottes
6070ebead5
Updated dependencies
2015-04-13 17:24:49 +02:00
juliandescottes
1f5272415c
#261 replaced throw by console.error for recoverable errors
2015-04-13 14:33:34 +02:00
juliandescottes
d1b12a07ac
fix : check undefined palette
2015-04-13 13:29:13 +02:00
juliandescottes
0e817a88a7
Fix for #265
2015-04-13 11:45:50 +02:00
juliandescottes
3d58bcae6c
Fix jshint errors
2015-04-09 18:24:34 +02:00
Julian Descottes
281103c46e
wip : replace Job by promises
2015-04-09 17:17:05 +02:00
Julian Descottes
522006f67a
wip : replace Job by promises
2015-04-09 17:16:48 +02:00
Julian Descottes
e11355193b
Now using webworker to compute current colors
2015-04-09 17:16:26 +02:00
jdescottes
30cdb6d335
Fix node-webkit regression
2015-04-08 00:14:35 +02:00
jdescottes
3d6cd3e576
Fix post merge bugs for desktop mode
2015-04-07 23:54:49 +02:00
juliandescottes
4b7b18ca6f
post merge
2015-04-07 23:15:36 +02:00
Lee Grey
f114676db7
Include save file path in "Successfully Saved" popup. Show full save path under the save button. Hide the "save to browser" portion of the save panel when running in desktop mode.
2015-03-26 20:32:27 +13:00
Lee Grey
93deb1c2c5
Just adding semicolons to make the linter happy
2015-03-24 22:33:14 +13:00
Lee Grey
c9b581f6db
When running in Node-Webkit, hold onto the full savePath when opening.piskel files via the gui or drag and drop.
2015-03-22 00:39:23 +13:00
Lee Grey
6a6f75b3ce
Moved desktop lO logic to new DesktopStorageService class. Bound keypresses for ctrl-o, ctrl-s, and ctrl-shift-s. Savepath is now also propagated on resize operation. SaveFile can optionally guarantee that a supplied file extension will be present on output file.
2015-03-19 23:46:53 +13:00
Lee Grey
04a1633a90
Moved desktop FileUtils into their own class. Split PiskelFileUtils::loadFromFile() so the decoding portion can be called separately by desktop load function. "savePath" is stored in piskel instance, and propagated to new instances in HistoryService. "savePath" is also stored on load so it is available for resave.
2015-03-18 00:24:03 +13:00
jdescottes
bcecd3058b
Popup preview : refactor, cross browser, WIP
...
- moved preview controllers to pskl.controller.preview
- renamed PreviewFilmController to FramesListController
- renamed AnimatedPreviewController to PreviewController
- fixed init of popup preview on IE (use ownerDocument to create
TiledFrameRenderer container) => should try with innerHTML
- moved open popup button inside the minimap (show on hover)
2015-02-28 10:56:15 +01:00
jdescottes
7a355b39a0
Refactored HistoryService, CurrentColorsService, draft for popup preview
2015-02-27 23:54:18 +01:00