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
David Capello
3a82e64c23
Fix crash caused by ActiveSiteHandler::onBeforeRemoveLayer() that don't remove deleted layers from selected layers
...
This affected only scripts (because UI uses the Timeline to manage the
active range which is already doing this).
2020-05-28 12:26:18 -03:00
David Capello
7a74aef1a7
[lua] Use the correct "controller" when "tool" param is specified in app.useTool()
...
Fix regression introduced in 1ec502d242
2020-05-28 12:01:34 -03:00
David Capello
6d2ddf877b
"contiguous" option is true by default for paint bucket-like tools
2020-05-27 15:18:04 -03:00
David Capello
1b08d5248c
Fix Flip command when ENABLE_UI is off
2020-05-27 14:48:16 -03:00
David Capello
c49c6ae068
Link with webpdemux and libwebpmux
2020-05-27 13:11:02 -03:00
David Capello
a6c4368e9c
Update laf module
2020-05-27 12:38:07 -03:00
David Capello
9b26e422f7
Make range boundaries smaller for layers to enable alt+click on icons ( fix #2222 )
2020-05-26 12:02:15 -03:00
Star Brilliant
992d2e002e
Add the Minecraft palette
2020-05-26 19:12:33 +08:00
David Capello
d4b4dfd36d
Fix the ink processing to draw brushes w/alpha compositing on indexed sprites
2020-05-25 17:33:29 -03:00
David Capello
83b2038de1
Remove PaintInk::Type::AlphaCompositing introduced in 1509699a46
...
"Simple" and "Alpha Compositing" user inks will still use the internal
"PaintInk::Type::Simple" type that is then converted to
"TransparentInkProcessing" when opacity < 255 (alpha compositing
case).
2020-05-25 12:30:53 -03:00
David Capello
f5f8664732
Update laf module
2020-05-22 14:35:17 -03:00
David Capello
013b27bd8d
Use default macOS image in travis
2020-05-22 11:30:41 -03:00
David Capello
6728087407
Update laf module
2020-05-22 11:16:57 -03:00
David Capello
f56931a612
Add missing #include in engine.cpp
2020-05-22 11:15:15 -03:00
David Capello
2bfd3261b5
Define fill_toolloop_params_from_tool_preferences() only when needed
2020-05-22 11:15:04 -03:00
David Capello
3163d00e1e
Avoid multi-line comment warning
2020-05-22 11:14:48 -03:00
David Capello
60c54a3242
Fix edge case w/alpha compositing on indexed images
...
On indexed images, if we paint with alpha compositing and opacity=255,
we can act just like the simple ink, copying the color (the original
index). If we go through the process of color blending, we might loss
the index in sprites that contain palettes with the same color two or
more times.
2020-05-21 20:36:04 -03:00
David Capello
c6720b543a
Move doc::rgba_to_graya_* functions from .h to .cpp
2020-05-21 20:07:23 -03:00
David Capello
847f176f0d
Add new palette hept32 by ENDESGA
...
https://twitter.com/ENDESGA/status/1263381772173062144
2020-05-21 12:08:09 -03:00
David Capello
3898210ca1
Fix some links in README
2020-05-20 19:29:58 -03:00
David Capello
31ccedb07d
More changes to the list of features in README
2020-05-20 19:24:44 -03:00
David Capello
e7a1b9523f
Update list of features in README with more links
2020-05-20 19:01:18 -03:00
Gaspar Capello
1509699a46
Fix Alpha Compositing Ink - Indexed Mode - Pencil tool with transparent color selected.
...
The normal Alpha Compositing Ink behavior is:
Do nothing when the user wants to paint with the transparent color.
Before this fix, Alpha Compositing in Indexed Mode worked like Simple Ink
2020-05-20 17:16:51 -03:00
David Capello
1ec502d242
Add "ink" parameter to app.useTool() + minor needed refactors
2020-05-20 17:15:30 -03:00