Commit Graph

7479 Commits

Author SHA1 Message Date
David Capello
9d6bedcb7d Update link to pixel-perfect algorithm (fix #2138) 2020-06-24 12:19:47 -03:00
David Capello
a110d7a539 Update laf module 2020-06-22 11:06:55 -03:00
David Capello
1839f05e68 Update laf 2020-06-17 18:35:05 -03:00
David Capello
319733d30b Fix some extra issues reported by the ThreadSanitizer 2020-06-17 18:10:26 -03:00
David Capello
6f048d10c5 lua: Fix crash using Selection:deselect() when there is no selection
Fixes https://community.aseprite.org/t/6169
2020-06-17 17:13:37 -03:00
David Capello
d75c9c443a Use LOG() with the printf-like interface (the only way to be thread safe) 2020-06-17 17:05:43 -03:00
David Capello
677b8bf204 Fix several issues found with ThreadSanitizer 2020-06-17 15:55:44 -03:00
David Capello
f0c9db7041 Don't show the notification flag on Advanced Mode 2020-06-17 12:40:11 -03:00
David Capello
89a896d627 Fix Insert Text to use the sprite transparent color in indexed mode (fix #2444) 2020-06-16 21:24:32 -03:00
David Capello
52137324b4 Limit the timeline vertical separator pos in getter instead of setter
Fixed regression introduced in 7170762f08,
we must keep the original value so resizing the window doesn't reset
the value limiting it, or other strange situations where the value is
not saved correctly, e.g.:
https://community.aseprite.org/t/6107
https://community.aseprite.org/t/6097/6
2020-06-16 14:37:24 -03:00
David Capello
ad2bd63531 Fix default path to use to save a recovered document 2020-06-16 14:36:49 -03:00
David Capello
34af054118 Add missing palette files from eb5c7ee0e5 2020-06-11 21:19:44 -03:00
David Capello
619903a2b3 Fix compilation with g++ 2020-06-11 17:15:21 -03:00
David Capello
6290f18742 Fix Screenshot command compilation when ENABLE_STEAM is undefined 2020-06-11 16:42:54 -03:00
David Capello
d46f771820 Fix compilation of steam API wrapper with MSVC 2020-06-11 16:42:23 -03:00
David Capello
3bba9d05da Give more space to AniControls if there aren't tags to display in the Timeline 2020-06-11 15:46:07 -03:00
David Capello
7170762f08 Timeline: Limit the vertical separator min/max position (fix #2436) 2020-06-11 15:30:06 -03:00
David Capello
5a24a7c6b4 [steam] Open Steam Screenshots uploader when a screenshot is taken 2020-06-11 15:09:45 -03:00
David Capello
c8999af6d6 [steam] Avoid crash taking screenshots after Steam client is closed 2020-06-11 14:51:28 -03:00
David Capello
2f472f0760 [steam] Add possibility to take screenshots and add them to the Steam library
Requests:
https://community.aseprite.org/t/6067
https://steamcommunity.com/app/431730/discussions/0/1482109512300945388/
https://steamcommunity.com/app/431730/discussions/0/1495615865218665223/
https://steamcommunity.com/app/431730/discussions/0/1708438376933048578/
2020-06-11 14:18:13 -03:00
Gaspar Capello
064482b352 Fix movement of several layer with locked layers, results in a missed image.
Before this fix, the selected image in the active layer was missed. The sequence to reproduce this bug:
- The user moves the selected image portion with several selected layers to a new position,
- Then it locks the active layer,
- Finally, it drops the selection (click outside the selected area).
The selected image in the active layer is missed.
2020-06-10 17:27:25 -03:00
Gaspar Capello
f9a9e1a0bc Intersect selection too slow (fix #2393)
Before this fix, the Intersect selection context option were much slower than Add or Subtract.
To reproduce the old 'bug':
- Create a 1000x1000 sprite
- Make a small rectangular selection on some place
- Click on the empty area with the Magic Wand in Intersect context option.
The same action in Add or Substract is much faster.
2020-06-10 17:23:22 -03:00
David Capello
73ff0dc28c Fix exporting correct set of layers in JSON's meta.layers when -split-layers and -ignore-layer (fix #2432) 2020-06-10 12:55:26 -03:00
David Capello
36252cfc2c Include groups in JSON meta data even when they weren't exported in the sprite sheet (fix #2380) 2020-06-10 11:55:23 -03:00
David Capello
9b86d30d61 [osx] Add osx_async_view option to disable the drawsAsynchronously of the NSView layer 2020-06-10 10:57:49 -03:00
David Capello
0e47d0ec24 Minor changes in doc::ImageImpl to avoid using impl details in member functions 2020-06-10 09:58:55 -03:00
David Capello
b41f1ace30 Move function to convert doc::Image -> os::Surface to app/util 2020-06-09 19:56:25 -03:00
Gaspar Capello
9c37ea41ed Fix locked layer not completely locked (fix #2181) 2020-06-09 18:03:09 -03:00
David Capello
0ba2a8922b Fix crash handling layers of multiple docs with the timeline (fix #2397)
If we were handling several documents, and merging/flatting/deleting
layers in one of those documents, it could be a problem for the
timeline range when we switched to another doc and undo/redo (because
the DocRange might be holding a pointer to an invalid/deleted layer of
the other document).
2020-06-09 17:30:02 -03:00
David Capello
b879fc855a Fix crash undoing the copy of cels from a deleted layer
This could happen when we copied a cel from another document, then
we closed that document, and undid the cmd::CopyCel in the destination
document.
2020-06-09 15:14:56 -03:00
David Capello
d8bbbfdea3 Wrap base::RWLock interface inside Doc 2020-06-08 16:16:45 -03:00
David Capello
aa1943e609 Minor refactor using cmds directly instead of DocApi in Layer/Background from Background/Layer 2020-06-08 14:47:11 -03:00
David Capello
f2bc864fc9 Don't build webp extras 2020-06-08 12:24:32 -03:00
David Capello
f008d608ce Update modules 2020-06-06 13:28:02 -03:00
David Capello
2550e28c83 Fix crash recovering sessions from v1.2.9 or older
The issue here was the missing color space was allocating an huge
std::vector() because we had an invalid color space size from
read32().
2020-06-05 11:59:11 -03:00
David Capello
ae40198106 Merge branch 'svg-rendering' 2020-06-05 11:17:44 -03:00
David Capello
eb5c7ee0e5 Add MSX1/MSX2 color palettes 2020-06-05 10:51:25 -03:00
David Capello
24ddad4795 Merge branch 'm13253/master' 2020-06-05 10:10:03 -03:00
David Capello
1068926f7b Reformat SwapCheckerboardColorsCommand file 2020-06-04 17:00:10 -03:00
David Capello
e4b224a0bd Merge branch 'swap-bg-colors' (fix #1812) 2020-06-04 16:59:41 -03:00
David Capello
29b91aed48 Show minimum brush size when dynamics is on in BrushPreview (fix #2419)
Reports:
https://github.com/aseprite/aseprite/issues/2419
https://community.aseprite.org/t/5919
2020-06-04 16:15:57 -03:00
David Capello
26c675e0d3 Fix memory leak drawing Unicode text
Reported in: https://igarastudio.zendesk.com/agent/tickets/963
2020-06-04 16:13:46 -03:00
Dan Prince
4b0d527505
Adds crisp shape rendering for svg file format 2020-06-02 00:33:39 +01:00
David Capello
6bfdada9ac Fix Simple ink on indexed sprites when painting w/transparent index 2020-05-30 20:53:34 -03:00
David Capello
98106cb2be Revert 83b2038de1 to bring back PaintInk::Type::AlphaCompositing introduced in 1509699a46 2020-05-30 20:38:02 -03:00
David Capello
445e0abb0b [win] Add Tablet section on Edit > Preferences and restore old wintab behavior
Now on Windows it's more clear the different APIs to use (Windows
Pointer vs Wintab), the Wintab API works as before (generates mouse
events on WM_MOUSE message instead for each packet), and there is a
new Wintab mode to create events directly from packets (still a little
buggy with some tablets, but might be useful in other tablets to get
more precision for fast strokes).
2020-05-30 16:54:35 -03:00
MorganDavid
39a2045a43 Added swap checkerboard colors command 2020-05-28 23:11:26 +01:00
Gaspar Capello
b0d76d096f Fix recent files history order on home view when the file count is greater than 10 (issue #2388)
This fix is backward compatible (it preserves Recent Files history of the older Aseprite versions)
2020-05-28 15:19:14 -03:00
David Capello
0fc4989419 [lua] Fix crash when setting layer.parent to nil 2020-05-28 15:12:26 -03:00
David Capello
896387635b [lua] Fail if we give an invalid parent to layer.parent setter 2020-05-28 14:24:10 -03:00