David Capello
e73d96262d
Always use Foreground color in Select > Color Range ( fix #2028 )
2021-06-29 16:26:48 -03:00
David Capello
78abaf0292
Minor change in MaskColor add ConfigSection constant
2021-06-29 16:23:56 -03:00
David Capello
9609d2c827
Fix crash if we press F5/reload menus when we have a menu open ( fix #2496 )
2021-06-28 21:13:56 -03:00
David Capello
ee7a1a1ed6
Add CompanyName field to Win32 resources file ( fix #2801 )
2021-06-28 12:04:56 -03:00
David Capello
6157b004e4
Fix possible memory leak setting invalid preference when loading a BoolPrefWidget from an XML file
...
Reported in #2782
2021-06-23 08:54:26 -03:00
David Capello
89f8e6f275
Fix possible/low chance to happen memory leak
...
Reported in PR #2782
2021-06-23 08:41:06 -03:00
David Capello
11e4243d05
Add ${main_target} to reference "aseprite" target
2021-06-16 17:22:31 -03:00
David Capello
74170c14fa
Add ${DATA_OUTPUT_DIR} to src/CMakeLists.txt
2021-06-16 17:21:34 -03:00
David Capello
5d97aed5e9
Use new laf flags to detect platform in main and App
2021-06-16 17:21:02 -03:00
David Capello
61952bc45f
Fix compilation of src/app/file_system.cpp in non-Windows platforms
2021-06-16 09:46:00 -03:00
David Capello
92c5222aa7
Use base::ComPtr in the FileSystemModule
2021-06-15 18:23:49 -03:00
David Capello
5f00e6f96a
Fix possible crashes on UI menu bar/box logic ( fix #2771 )
...
We weren't able to reproduce the crash, but these checks will prevent
the crash itself. (So in the future if we receive a related report, it
will be because something is not working correctly in the menus, but
not a crash report.)
2021-06-15 15:14:17 -03:00
David Capello
37d2b62250
Convert MenuBaseData pointer to std::unique_ptr
2021-06-15 14:35:48 -03:00
Gaspar Capello
1eace24891
Improve aspect of ellipses for 16x16 or bigger sizes ( fix #2217 )
...
Now algo_ellipse() function supports additional parameters to create
rounded squares in the future.
2021-06-11 14:47:23 -03:00
David Capello
65fabf3a68
Update README/LICENSE files in src/desktop
2021-06-11 12:18:45 -03:00
David Capello
55db5ac6f2
[win] Fill the whole available space for the File Explorer thumbnail
2021-06-08 16:44:58 -03:00
David Capello
7d809bd537
Remove unused var
2021-06-07 16:14:40 -03:00
David Capello
364b121fb3
Fix some memory leaks reported by g++ 11 memory sanitizer
2021-06-07 14:19:54 -03:00
David Capello
1889e1b4a5
Don't ignore alert dialogs for fatal incompatibilities when saving
...
E.g. if we are going to save an indexed file as .jpg, it's a fatal
error, so we have to show the alert dialog (even when the user chose
to ignore this kind of messages warnings).
2021-06-07 13:00:01 -03:00
David Capello
f6ba8d9ae0
Allow to drag mouse outside color wheel to select colors at the circumference
2021-05-31 15:00:21 -03:00
David Capello
779bf09893
Fix color wheel radius ( fix #2737 )
2021-05-31 14:50:01 -03:00
David Capello
613cd38daa
Set the theme of ColorButton popups correctly if they are created
2021-05-23 12:32:32 -03:00
David Capello
f4ed3ae321
Don't change user-defined pos of Splitter when we resize the window
2021-05-20 20:42:01 -03:00
David Capello
141bc434bf
Fix bug undoing a Remap operation when several colors are removed from the palette
2021-05-20 19:43:18 -03:00
Gaspar Capello
b1203216be
Fix crash when remap on palettes with more than 256 colors
2021-05-11 18:57:55 -03:00
David Capello
d7a1c71df0
lua: Add support for selection tools in app.useTool()
...
Fix https://github.com/aseprite/api/issues/37
2021-04-22 13:51:56 -03:00
David Capello
33db4281e7
Don't activate square aspect when we start a Rectangular Marquee w/Shift modifier
...
Regression introduced in 21e893162d0a529019f75f91f3d7d25e2fdf55f0 to fix #2537
2021-04-16 13:58:12 -03:00
David Capello
ca41785f18
Fix regression: 'Simple Crosshair' mouse cursor dissapears when we switch to Eraser tool
...
Regression introduced in: ef4f691459d13b45459c56383ab3673ca6fbec0a
2021-04-16 12:09:49 -03:00
David Capello
4fe8c93c5c
Fix regression cannot move/resize reference layers
...
Regression introduced in f3ab779bfded7710934cff6b9cc6b596756eccbb
2021-04-16 10:23:35 -03:00
David Capello
cdf271af74
Avoid leaks running "gen" when memory sanitizer is enabled
2021-04-15 10:43:17 -03:00
David Capello
a035f64d8d
Simplify About dialog
2021-04-13 19:08:33 -03:00
David Capello
5b3600e261
Cache user.aseprite-brushes path
2021-04-13 16:38:56 -03:00
David Capello
70e2abaf69
Fix some issues detected with the ThreadSanitizer
2021-04-13 15:35:34 -03:00
David Capello
8b4746e813
Add option to disable the "open sequence of files" dialog
2021-04-12 16:57:02 -03:00
David Capello
5e98b39944
Expand timeline range outline for layers/frames to all cels
2021-04-12 14:48:16 -03:00
David Capello
1b0466af17
Fix some bugs drawing the timeline when we scroll it
...
Mainly the range outline outside the frames header.
2021-04-12 14:47:59 -03:00
David Capello
8d6f889e0e
Add option to keep the timeline selection when we draw on the canvas
2021-04-12 14:47:47 -03:00
David Capello
2df3cd8a80
[lua] Add app.command.ImportSpriteSheet()
...
Feature request: https://community.aseprite.org/t/8482
2021-04-09 17:28:59 -03:00
David Capello
3769d91125
[lua] Add Sprite.pixelRatio property
...
Feature request: https://community.aseprite.org/t/8627
2021-04-09 16:22:50 -03:00
David Capello
5053443d21
Load indexed tga w/transparent pal entries as transparent layer
...
Before this we were loading the file with a Background layer with a
transparent palette entry.
2021-04-09 12:09:45 -03:00
David Capello
cff3475941
Don't show warning when saving indexed tga w/transparent pal entries
2021-04-09 12:09:09 -03:00
David Capello
f311e3edde
Fix selection feedback in indexed when mask color w/alpha=0 ( fix #1412 , fix #1667 )
...
Also reported recently here (and probably in several other places):
https://community.aseprite.org/t/8462
2021-04-09 11:11:41 -03:00
David Capello
64f96f0851
[linux] Use $XDG_CONFIG_HOME if defined instead of $HOME/.config ( fix #2332 )
2021-04-08 15:56:32 -03:00
David Capello
f1b02a3347
Deselect timeline range in "auto select layer" mode if we just click the active layer
...
Fix: https://community.aseprite.org/t/8610
2021-04-08 15:21:11 -03:00
David Capello
f91c07825b
Don't use Timeline range if it's hidden in editor site & moving cel
2021-04-08 15:17:39 -03:00
David Capello
f3ab779bfd
Don't transform hidden layers ( fix #2680 )
2021-04-08 11:24:55 -03:00
David Capello
565057cf77
Add missing file in 67eeac8045eb126c4cc0d956a83a3f58de134e49
2021-04-07 18:51:48 -03:00
David Capello
9c319e46ac
Fix bug transforming the same linked cel two times
...
As we wanted the current cel as the first cel to transform (to avoid
re-transforming it with inner cmds when we drop pixels), if this cel
was a linked from other one it will not be removed from the
getEditableCels() list, so two linked cels would appear two times in
the list. Now we remove the current cel correctly when it's a linked
cel after re-adding it.
Reported here: https://community.aseprite.org/t/8618
2021-04-07 18:32:56 -03:00
David Capello
67eeac8045
Fix bug keeping the modified range different than the visible range when moving pixels
...
When we clicked the current cel/frame/layer on MovingPixelsState in
the Timeline, we weren't dropping the pixels, so the range was
different in the Timeline UI, but we were using the old site range
which was different (bigger) than the Timeline range.
Fixes several bugs: https://community.aseprite.org/t/8618
2021-04-07 18:11:30 -03:00
David Capello
169cfa39cf
Use timeline selection only when it's visible
2021-04-07 15:20:36 -03:00