David Capello
612ad98392
Rename DocumentObserver/Event to DocObserver/Event
2018-07-06 21:06:03 -03:00
David Capello
9449bb3a43
Move RWLock class to laf module
2018-07-06 20:55:10 -03:00
Gaspar Capello
a69a120e14
Flip command changes to moving pixels state ( fix #1738 )
2018-07-06 16:22:44 -03:00
David Capello
c388f1d812
Fix issues updating status bar in special cases when status bar indicators layout do not change
2018-07-05 12:39:49 -03:00
David Capello
7250e6adc4
Fix destination index in status bar text when moving palette colors
2018-07-05 11:29:12 -03:00
David Capello
7f2082e89c
Show palette entry info in status bar correctly when there are selected colors ( fix #1777 )
2018-07-05 11:02:07 -03:00
David Capello
f0d61b0557
Make Command::execute() private so it can be called only from app::Context
2018-07-04 16:43:38 -03:00
David Capello
3704bb4093
Fix problems changing HSV/HSL color sliders with mouse wheel
...
When we change HSV/HSL sliders, the RGB color is calculated and all
sliders are re-updated from that color. As HSV/HSL are floating point
values, there might be a small adjustment in the 0-100 conversion for
the sliders, so we have to lock the changed slider to keep its
original value set from the mouse wheel.
Fix: https://community.aseprite.org/t/1411
2018-07-04 16:28:34 -03:00
David Capello
7c19744798
Add some checks in ui/manager.cpp to report messages correctly
2018-07-04 14:27:13 -03:00
David Capello
1c8f2cde7d
Fix bug: removing frames weren't saving updated cel frame positions in the backup info
2018-07-04 13:38:54 -03:00
David Capello
68bf959b80
Add TX_TRACE() in app/transaction.cpp for debugging purposes
2018-07-04 13:38:20 -03:00
David Capello
6b1c884eb5
Add code to check integrity of backups
2018-07-04 12:35:15 -03:00
David Capello
cc1e76490c
Disable more commands to edit reference layers
...
* Disable filters (e.g. replace color, adjust hue, etc.)
* Disable cut/copy/paste/clear
2018-06-29 16:36:01 -03:00
David Capello
ec8266ea48
Go back to current editor frame when animation in preview window is stopped
2018-06-29 15:13:56 -03:00
David Capello
ac65b1291d
Add Shift+Enter (PlayPreviewAnimation command) to play/stop animation in preview window ( fix #1774 )
2018-06-29 15:05:11 -03:00
David Capello
3e0ebd34c9
Fix macOS bug executing commands from other native menu instead of the open aseprite menubox when we use mnemonics
2018-06-29 12:14:54 -03:00
David Capello
4d885b5b8a
Use old render engine when there are visible ref layers in zoom > 100%
2018-06-28 16:56:35 -03:00
David Capello
598f69d2e0
Create all intermediate directories required for --save-as ( fix #1492 )
2018-06-28 15:44:59 -03:00
David Capello
aec65faa2b
Add DOC_SPRITE_MAX_WIDTH/HEIGHT constants
2018-06-28 13:53:38 -03:00
David Capello
f595ceea7f
Add possibility to write math expression in number textboxes ( fix #1762 )
2018-06-28 13:33:13 -03:00
David Capello
aa8d4dfc11
macOS: Fix bug re-assigning default keyboard shortcuts to other native menus
...
I've found this bug re-assigning Cmd+E shortcut to File > Export,
after restarting Aseprite, Cmd+E will still execute the default
action (File > Export Sprite Sheet), and the only way to fix this was
opening "Edit > Keyboard Shortcuts" and closing the file (which will
call AppMenus::instance()->syncNativeMenuItemKeyShortcuts()).
Now if we create native menus after loading user defined keyboard
shortcuts, the native menus will contain the correct keyboard
shortcuts from the very beginning.
2018-06-27 11:32:24 -03:00
David Capello
51ce52981a
Improve UX in File > Export in special cases for output filename extension
...
* When the extension is unknown, an error is shown.
* When the extension is not written, the default extension will
be added (the default extension is different depending on
if the file format is image format or an animation format).
2018-06-27 10:00:19 -03:00
David Capello
49106817d4
Undo resize operation correctly in File > Export w/Resize != 100% and without undo history
...
If we open a new image (there is no undo history) and use File > Export
with a Resize parameter, the resize command must be undone, but the
UndoState to return will be nullptr (nullptr is before the first UndoState,
which is the resize operation for the export operation). So without this
fix we just resize and cannot go back before the resize.
This regression was introduced in a4d1833a9c37aa95c67185ee8632bd4b9f8d84fc
2018-06-26 10:56:41 -03:00
David Capello
b015fee8e0
Add a semi-transparent pixel (alpha=254) when export png for Twitter
2018-06-25 15:58:28 -03:00
David Capello
56ec9f113c
Avoid crash if the theme package doesn't contain a sheet.png file
2018-06-25 14:05:57 -03:00
David Capello
58b9dfed11
Merge branch 'master'
2018-06-22 16:22:06 -03:00
David Capello
33369c0a5f
Add a fast path for RGBA images to convert_image_to_surface()
...
Most common case in Aseprite where we convert
a IMAGE_RGB doc::Image into a 32bpp she::Surface
and all RGBA masks/shifts match.
2018-06-22 15:56:50 -03:00
David Capello
511752fea7
New render engine to use bicubic interpolation when zoom < %100 ( fix #1671 )
...
This only works with Skia back-end.
2018-06-22 15:41:22 -03:00
Gaspar Capello
2b177601b5
Fix Duplicate Cels ignores collapsed layer groups ( fix #1727 )
2018-06-21 14:37:52 -03:00
David Capello
e06735a4c0
Move EditorPreRender code to EditorPostRender
...
This simplify Editor::drawOneSpriteUnclippedRect() impl to create an
alternative version of the renderer in the future.
2018-06-21 12:58:11 -03:00
David Capello
c3e233f34d
Create EditorRender to merge shared render image buffer and AppRender
2018-06-19 23:25:31 -03:00
David Capello
a5b0c7ebdd
Merge pull request #1750 from DexterIV/master
...
Fix "Sprite>Rotate Canvas > 90" not working on empty canvas (fix #1711 )
2018-06-19 15:41:21 -03:00
David Capello
ddff5d559c
Keep focus of layer name when right-click a layer > Properties ( fix #1466 )
2018-06-19 15:25:49 -03:00
David Capello
9323194cd9
Add a flag to disable warnings for about.xml
2018-06-19 14:49:40 -03:00
David Capello
e82404e3ba
Don't jump inside "Loop" tag w/next/previous frame within tag when we are outside the tag ( fix #1756 )
2018-06-19 14:35:00 -03:00
David Capello
a0c0b1c8e2
Add option to disable Wintab from Preferences dialog
...
With this is easier to give support to the end-user. The
--disable-wintab option was initially added for crash situation when
the user cannot execute Aseprite from the very beginning, but in other
situations, when Aseprite can be executed correctly but the stylus
doesn't work as expected, it's nice to have this option available from
the UI just to disable the Wintab32.dll.
2018-06-19 14:10:19 -03:00
David Capello
790705937f
Fix compilation error in non-Windows platforms
2018-06-19 13:50:23 -03:00
David Capello
5d763d108c
Win8/10: Add support to draw with one finger, pan/scroll with two
...
https://community.aseprite.org/t/using-touchscreen-computers-to-draw-in-aseprite/677
2018-06-19 10:59:12 -03:00
DexterIV
9e6940e16e
Fix Sprite>Rotate Canvas > 90 not working on empty canvas ( fix #1711 )
2018-06-15 15:40:10 +02:00
David Capello
a4d1833a9c
Fix Export with resize + non-linear undo history ( fix #1749 )
2018-06-14 17:27:22 -03:00
David Capello
40c55e1322
Update About dialog and authors/credits in README file
2018-06-14 16:16:50 -03:00
David Capello
8401f8f5de
Add FS_TRACE() in file_system.pp
2018-06-14 11:21:18 -03:00
David Capello
67a61fd3d6
Avoid saving backups when we are in the middle of a File > Export with Resize
2018-06-13 16:00:37 -03:00
David Capello
b321a75b5b
New Timeline UI to move frames inside or outside tags ( fix #1656 )
2018-06-12 17:11:10 -03:00
David Capello
627ef49716
Fix bug adding an extra empty frame after removing all frames and undoing
2018-06-11 11:51:11 -03:00
David Capello
339183c9df
Shift+click on cels will select multiple frames/layers
...
At the moments this doesn't select multiple cel ranges (as in #1510 ),
it will select the the layer and the frame, but it's good enough for a
first version (just to jump between current layer/frames in the
current selected range).
2018-06-11 08:34:20 -03:00
David Capello
8042bbb60d
Add Alt+click on timeline to hide all layers except the clicked one
...
https://community.aseprite.org/t/turn-off-all-other-layers/151
2018-06-08 17:57:58 -03:00
David Capello
b8c5ad074a
Support switching several eyes/padlocks on timeline dragging the mouse ( fix #1592 )
2018-06-08 16:54:08 -03:00
David Capello
97d74e0e80
Fix webp_format.cpp compilation problem introduced in e025d1a40a2e6960f9b4fb44aeb8305c6c9919d3
2018-06-08 16:43:08 -03:00
David Capello
744e40b4b7
Show full animation length/tag length on status bar ( fix #1528 )
2018-06-08 16:41:24 -03:00