jdescottes
c70e339296
Issue #338 : disable sizeInput sync if maintainration is off in usersettings
2015-12-02 00:44:13 +01:00
jdescottes
6583d8f8b9
Issue #357 : Trans. -> white if too many colors + add test files
2015-12-01 20:07:26 +01:00
juliandescottes
5b567683a7
Issue #357 : prevent transparency in GIF export if more than 256 colors
2015-12-01 14:17:26 +01:00
jdescottes
4d8b093941
Fixes #355 : IconMarkupRenderer:render signature changed
2015-12-01 01:16:04 +01:00
jdescottes
12ac85f0f6
Issue #258 : add support for left/right keys + bugfix
2015-12-01 00:50:57 +01:00
jdescottes
222c65a8a5
Issue #258 : Initial implementation : missing tests + cleanup
2015-12-01 00:50:54 +01:00
juliandescottes
070003a414
Issue #344 : Escape django template tags
2015-12-01 00:41:01 +01:00
jdescottes
2b28577813
Issue #344 : Avoid templating syntax conflict with Django
2015-12-01 00:41:00 +01:00
jdescottes
8aa6eff715
Issue #344 : Add image spriting using spritesmith
2015-12-01 00:39:37 +01:00
Patrick Brosset
6f5e2f130e
Fixes #346 by blurring disabled buttons
2015-11-30 16:46:27 +01:00
jdescottes
8d26d693ff
Issue #338 : Cleanup public/private in SettingsController
2015-11-25 00:40:12 +01:00
jdescottes
9329a5fd03
Issue #338 : Remove jquery from settingscontroller, destroy setting controller when closing drawer
2015-11-25 00:36:19 +01:00
jdescottes
30c3cdbcc5
Issue #338 : Store resize prefs to userpref
2015-11-19 08:18:26 +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
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
Alexander Holland
8ec47506bf
Issue #331 : Gruntfile : host as variable
2015-11-11 22:28:10 +01:00
Alexander Holland
4cf6088441
tweak valid checks and event types
2015-11-05 16:12:27 +01:00
Alexander Holland
00a05ee839
fix style error
2015-11-03 15:00:29 +01:00
Alexander Holland
73badf06b0
remove strange file
2015-11-03 03:49:41 +01:00
Alexander Holland
ea679913f9
tablet touch and s-pen
2015-11-03 03:42:31 +01:00
Alexander Holland
ba33533178
tablet touch and s-pen input
2015-11-03 03:34:13 +01:00
jdescottes
0021de35b4
Issue #312 : Improve layer preview tooltip + mutualize tooltip code
2015-10-08 00:47:35 +02:00
jdescottes
4d53f5e3b7
Issue #311 : Cleanup and comments
2015-10-06 00:21:13 +02:00
jdescottes
28912fc58f
Issue #311 : Add lasso tool. Implementation and cleanup
2015-10-06 00:21:12 +02:00
jdescottes
f7592f864b
Issue #311 : Add lasso tool initial commit
2015-10-05 23:51:10 +02:00
jdescottes
a8f727fdcd
Issue #315 : Implement custom replay for transform tools + add drawing test support
2015-10-02 01:27:59 +02: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
a286d5926a
Issue #277 : Cleanup save controller
2015-10-01 00:30:36 +02:00
Julian Descottes
92cc986fb6
Merge pull request #300 from jnlopar/exportscale
...
Adds the ability to export a scaled spritesheet.
2015-09-29 08:34:35 +02:00
Jason Neufeld
da1f26291c
Adds superclass destroy call to ImageExportController.
2015-09-28 17:14:48 -07:00
Jason Neufeld
a92e198519
Adds input event listener to scaling factor.
2015-09-28 17:10:40 -07: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
grosbouddha
5a469202e9
Remove color argument from BaseTool/BaseSelect interfaces
2015-09-16 23:40:44 +02:00
grosbouddha
e9c99a241f
Migrate tools to BaseTool#getToolColor
2015-09-16 22:58:13 +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
Julian Descottes
5367c75972
Merge pull request #308 from juliandescottes/dithering
...
Introduce basic dithering tool
2015-09-15 07:47:11 +02:00
jdescottes
e6950e5c1a
Issue #306 : Switch implementation for memoizer
2015-09-14 22:04:25 +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
1fe327495c
Issue #305 : Allow DrawingController to zoom out to real size
2015-09-13 22:44:59 +02:00
jdescottes
089b4ea14d
Issue #306 : Selection : set opacity for overlay instead of pixel per pixel
2015-09-13 21:32:45 +02:00
jdescottes
84e26b28da
Issue #305 : Add 1x icon, redesign popup icon
2015-09-13 19:16:08 +02:00
jdescottes
489298e87a
Issue #304 : Blur FPS range input only on change event
2015-09-13 15:49:18 +02:00
Jason Neufeld
bd8eaa4307
Uses ImageResizer for spritesheet export scaling.
2015-09-06 11:48:04 -07:00
Jason Neufeld
72edf47734
Adds the ability to export a scaled spritesheet.
2015-08-31 11:21:17 -07:00
juliandescottes
1208324d4d
Copy paste bug : add unit tests for FrameUtils with null value
2015-08-09 12:37:03 +02:00
jdescottes
d962217f90
Issue #281 : Add app.settings & user pref for layer preview opacity
2015-07-26 02:00:46 +02:00
jdescottes
9800d85cb7
Add keyboard shortcuts 1 to 9 to quickly select palette colors
2015-07-24 01:16:47 +02:00
jdescottes
12cfe16cb4
Cleaning up settings and dialogs CSS
2015-06-07 12:40:40 +02:00
James Lissiak
5c46cfe20a
Updating for pull request feedback
...
- Using labels for the import type radio buttons
- Non animated gifs can now be imported as a spritesheet
- Fixing frame slicing to ignore a partial frame while looping
2015-06-03 19:48:29 -07:00
James Lissiak
2d9001db6e
Updating the spritesheet import to use size
...
- The import dialog now allows users to select an option between single image or spritesheet importing
- The spritesheet option allows setting of the size of an indivdual frame and the offset from the left/top from which to start slicing frames
- Selecting the spritesheet option will display a frame slice grid over the preview image to give a quick view of where the frames will be made
- When importing the spritesheet blank (transparent) frames and also partial frames will be ignored
- This allows users to import spritesheets that have been packed into a larger image with excess padding
2015-06-02 21:54:26 -07:00
James Lissiak
8ff15fd0e1
Fixing the preview frame grid stroke
...
- The width/height of the canvas used to draw the frame grid in the preview was incorrect, so the stroke width was too thick
- This change fixes it so the stroke width remains nice and thin by applying the correct canvas size
2015-06-01 10:50:58 -07:00
James Lissiak
8e4ea8437f
Fixing unnecessary whitespace changes
...
- My editor added additional whitespace to several unchanged lines, so I just reverted them
2015-06-01 10:38:10 -07:00
James Lissiak
48f24c0cf3
Adding spritesheet import
...
- Updated the import dialog to allow users to specify the number of frames in the image (which defaults to 1 x and 1 y)
- Setting the frame count for x and y will draw a dotted line in the preview that shows where the image will be split into individual frames
- When imported with a frame count above 1, the source image will be split into the different frames and loaded just as if it were an animated gif
- This allows users to import existing spritesheet pngs, including those produced by the piskel export function
2015-06-01 10:29:52 -07:00
juliandescottes
1beeb8d6e4
Revert "Fix a GIF bug ... again"
...
This reverts commit f9b07b29a9
.
2015-05-18 11:47:48 +02:00
juliandescottes
f9b07b29a9
Fix a GIF bug ... again
2015-05-18 10:40:05 +02:00
Max Eden
034057dcd2
Moved subfunctions to prototype
2015-04-30 13:17:56 +06:00
Max Eden
016316518d
Zip-Export: Split by layers option
2015-04-29 20:20:35 +06:00
juliandescottes
ce8d71f47e
Fix : resize panel : maintain ratio is always on
2015-04-28 13:32:55 +02:00
jdescottes
d3f5a41c0d
Fix popup preview on Firefox
2015-04-27 22:34:50 +02:00
jdescottes
cf62f2ac0b
Merge branch 'master' of https://github.com/juliandescottes/piskel
2015-04-26 22:13:23 +02:00
jdescottes
16362e1b13
Fix : Online save failing
2015-04-26 22:07:14 +02:00
juliandescottes
6df145455e
enhancement : use size-input instead of select for export
2015-04-24 14:57:01 +02:00
juliandescottes
daceb326c5
enhancement : use size-input instead of select for export
2015-04-24 14:55:00 +02:00
jdescottes
473bd4705c
Add save as button
2015-04-23 23:59:05 +02:00
jdescottes
9e1cfef924
fix:focus preview popup if already opened
2015-04-15 07:27:00 +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
1f5272415c
#261 replaced throw by console.error for recoverable errors
2015-04-13 14:33:34 +02:00
juliandescottes
e0c16486d3
fix : strip # from hexcolor before parseint16
2015-04-13 13:08:42 +02:00
juliandescottes
ba491736c1
test : add unit test for ColorUtils
2015-04-13 13:02:12 +02:00
juliandescottes
0e817a88a7
Fix for #265
2015-04-13 11:45:50 +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
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
Lee Grey
b168e8ca76
Store user selected filePath on the Piskel instance stored in pskl.app.piskelController. Getter and Setter in PublicPiskelController for filePath.
2015-03-16 23:13:36 +13:00
Lee Grey
fa6f2e5db6
Added new save functions for when running in Node-Webkit.
2015-03-15 01:40:00 +13:00
jdescottes
6254490a23
feature #251 : Set default size in Resize pref panel
2015-03-04 08:37:37 +01:00
jdescottes
43e60e300c
Set preview render flag when updating TILED_PREVIEW seW
2015-03-03 23:50:19 +01:00
jdescottes
fe95abca0f
Switch to template for popup preview (easier integration)
2015-03-03 23:36:12 +01: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
68a807ccb5
Forgot PopupPreviewController.js
2015-02-27 23:57:14 +01:00
jdescottes
7a355b39a0
Refactored HistoryService, CurrentColorsService, draft for popup preview
2015-02-27 23:54:18 +01:00
jdescottes
0f1489727c
Removed JQuery from ImportController
2015-02-26 22:07:36 +01:00
jdescottes
bab3d6677e
Remove JQuery from all setting controllers
2015-02-26 01:25:33 +01:00
jdescottes
4f2f01ea36
Wrapped applicationSettings in FORM
2015-02-23 00:32:34 +01:00