Commit Graph

7607 Commits

Author SHA1 Message Date
David Capello
f99b5218b9 Remove unused code from ReplaceColor command
The original intention was to save selected colors in the Replace
Color dialog so then showing up it again would restore those saved
color. But it never worked in that way and just by mistake it was
using the Foreground/Background pair of colors by default (which is
the desidered behavior now). So we are just removing the buggy code
that never worked. (Related to #2028 in some way.)
2021-06-29 16:31:51 -03:00
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
6ad0f59e7f Update laf module 2021-06-28 19:56:25 -03:00
David Capello
ee7a1a1ed6 Add CompanyName field to Win32 resources file (fix #2801) 2021-06-28 12:04:56 -03:00
David Capello
cf88a36fbd Update laf module 2021-06-24 18:57:53 -03:00
David Capello
64d530cdb4
Merge pull request #2760 from xcession/typo
Correct macOS 10.15 name
2021-06-23 09:11:08 -03:00
David Capello
62f4f4e0ca Merge pull request #2781 from opfez/patch-1 2021-06-23 09:06:24 -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
8ee8bd0ec7 Update laf module 2021-06-22 16:11:19 -03:00
David Capello
da9a3bbff2 Add PULL_REQUEST_TEMPLATE file 2021-06-22 16:11:00 -03:00
opfez
bc3ccfe23f
Add Arch Linux dependencies 2021-06-20 11:25:52 +02:00
David Capello
0d77a54168 Update libarchive module 2021-06-17 16:32:59 -03:00
David Capello
7c4fbc7b53 Update libpng module 2021-06-17 11:06:58 -03:00
David Capello
567a58f57d [lua] Add conditional usage of system() function through HAVE_SYSTEM 2021-06-17 10:59:13 -03:00
David Capello
1482d6d5a7 Update libarchive module 2021-06-17 10:46:15 -03:00
David Capello
8dc5861435 Disable more libarchive utilities 2021-06-17 10:45:36 -03:00
David Capello
97ef3bf9c3 Don't build cmark program 2021-06-17 10:44:22 -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
xcession
184cd5ccf6 Correct macOS 10.15 name 2021-06-07 22:11:40 +07:00
David Capello
fabaadd559 Update laf module 2021-06-07 10:47:26 -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
d13f10212a Update broken link to compiler features (close #2677) 2021-05-29 10:59:35 -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
David Capello
83a6797d20 We support the 'í' char in our pixel-art font 2021-05-20 18:38:03 -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
4c1a13bf07 More info about coding style 2021-05-04 18:32:38 -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
32b5d20a8d Update laf module 2021-04-16 14:01:28 -03:00
David Capello
33db4281e7 Don't activate square aspect when we start a Rectangular Marquee w/Shift modifier
Regression introduced in 21e893162d 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: ef4f691459
2021-04-16 12:09:49 -03:00
David Capello
4fe8c93c5c Fix regression cannot move/resize reference layers
Regression introduced in f3ab779bfd
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