7210 Commits

Author SHA1 Message Date
David Capello
ba51812c89 Fix typo with auto-fit preferences 2020-03-30 11:02:28 -03:00
David Capello
9609e541e5 Fix some issue with saved defaults (selection mode and snap to grid)
These two preferences are confusing when saved with non-default
values. For example, snap to grid should be almost always turned off
and turned on only when the user do it explicitly.

The other one is the subtraction selection mode, if we save that as a
default mode, users will find that the selection tool stop working
when the program is re-started.

Both of these issues generated user support over all these years.
2020-03-30 10:39:07 -03:00
David Capello
d358e6055f Add auto-fit screen option (fix #789, fix #2267) 2020-03-30 09:16:14 -03:00
David Capello
70afe4195e [lua] Add Image(sprite) constructor (renders the first sprite frame) 2020-03-28 13:28:30 -03:00
David Capello
c7b3e15d05 [lua] Fix crash using invalid width/height in Image() 2020-03-28 13:28:25 -03:00
David Capello
76ef344f49 [lua] Support to use Image:drawSprite(sprite) without frame to render the first frame 2020-03-28 13:28:18 -03:00
David Capello
32fd67e187 [lua] Add ev.button property onclick of shades widget 2020-03-27 16:14:00 -03:00
David Capello
09ea577a08 Match ui::MouseButton values to os::Event::MouseButton 2020-03-27 15:40:43 -03:00
David Capello
2c42f8670a Update tga module (again, trying to fix compilation errors in CIs) 2020-03-25 19:52:23 -03:00
David Capello
2a0751c6dd Update tga module 2020-03-25 19:09:55 -03:00
David Capello
ba1a8611a9 Use ASSERT instead of assert 2020-03-25 18:42:24 -03:00
David Capello
f532539a76 Minor change in flic library 2020-03-25 18:31:20 -03:00
David Capello
780133be6f Use tga library to encode files 2020-03-25 18:31:14 -03:00
David Capello
538dc9e6aa Fix loading fully transparent TGA images in 32 bpp 2020-03-25 11:11:13 -03:00
David Capello
319c89c2ad Use the new tga library to decode tga files 2020-03-24 17:07:35 -03:00
David Capello
4f1eacfddc Simplify bits scaling function from 3/5/6 bits to 8 bits 2020-03-24 17:02:15 -03:00
David Capello
5c0a82e9e0 Update FLIC library 2020-03-23 11:33:09 -03:00
David Capello
b95b01aa9a Fix loading invalid FLIC or with huge image sizes 2020-03-21 20:54:41 -03:00
David Capello
72b5f0e701 Add missing files for the new TGA options 2020-03-20 20:15:29 -03:00
David Capello
c230e8f0ab Add options to save TGA files with 16/24/32bpp & uncompressed/compressed 2020-03-20 19:18:03 -03:00
David Capello
ffdb5f2e42 Update status bar and mouse cursor when editor scroll changes 2020-03-20 15:04:53 -03:00
David Capello
3b9274b9b5 Improve TGA encoder to save files compressed 2020-03-20 12:35:27 -03:00
David Capello
1826d66f10 Fix loading some particular TGA files (multiple scanlines compressed, invalid alpha information, etc.) 2020-03-19 20:52:03 -03:00
David Capello
de1019342a Fixes for aseprite.desktop file (fix #2295) 2020-03-19 12:13:51 -03:00
David Capello
941219363b Keep "Export File" window position saved on preferences (fix #2300) 2020-03-19 09:50:18 -03:00
David Capello
28248bf228 [lua] Add Tag.color property (fix https://github.com/aseprite/api/issues/24) 2020-03-19 08:41:29 -03:00
David Capello
9f88508083 Fix regression with editor canvas border (fix #2294) 2020-03-16 11:40:03 -03:00
David Capello
a0882ba443 Move PACKAGE/VERSION, etc. to new ver-lib
* As we moved the VERSION macro to a .c file, we don't have to
  recompile the whole project when we change the version number.
* Removed the version number from gui.xml
* Removed the invalid first menu item that might appear in the root
  menu when the gui.xml version is outdated in debug mode.
2020-03-16 10:31:32 -03:00
David Capello
23d41e7340 Update laf module v1.2.17 2020-03-11 13:52:47 -03:00
David Capello
609b9accfc [win] Fix error entering to files as a folder when the full path is used in the file selector 2020-03-11 12:27:31 -03:00
David Capello
fd8beb573c We can use slashes in the file selector to go to other folders 2020-03-11 12:26:58 -03:00
David Capello
a19e317212 Merge branch 'fix/2228' of https://github.com/Adrijaned/aseprite into fix-2228 2020-03-11 09:51:32 -03:00
David Capello
afefac73bd Fix compilation when !ENABLE_UI 2020-03-09 10:59:28 -03:00
David Capello
14c046573a Remove dependency with harfbuzz-icu 2020-03-06 16:19:14 -03:00
David Capello
9ec310a5eb Update laf module 2020-03-06 15:35:04 -03:00
David Capello
3f3928cdf2 Fix invalid var name 2020-03-06 15:32:40 -03:00
David Capello
1fe3c3a4bc Add a number to each new slice that is created (related to #1651) 2020-03-06 15:18:10 -03:00
David Capello
99cb95357a Add support to send crash reports from macOS 2020-03-06 14:45:13 -03:00
Josh Soref
e80dfbbdaf
Fix typos in README file (#2177) 2020-03-02 23:33:36 -03:00
David Capello
b106e2c717 Update clip module 2020-03-02 23:09:19 -03:00
David Capello
302dcdc7cf Fix Shift+Enter to play animation in Preview window (fix #2249) 2020-03-02 14:49:38 -03:00
David Capello
062ae58d9e We need to specify the C and C++ flags for our project anyway (undo 00fa2545739956009d8476936fa0e39e02e3a91b) 2020-03-02 11:36:53 -03:00
David Capello
00fa254573 Move C and C++ flags override to laf library 2020-03-02 10:55:51 -03:00
David Capello
d86bbcc78d Update minimum version of compilers/platforms 2020-03-02 10:55:20 -03:00
David Capello
95b655168c Use new laf + skia m81 branch
* Some minor refactors due laf changes.
* Updated the instructions to compile Aseprite linking to external
  skia instructions and pre-built packages.
2020-03-01 23:42:08 -03:00
David Capello
eaa2dd14b6 Update submodules 2020-02-27 12:15:41 -03:00
David Capello
817c6e361f Fix crash closing/reopening sprites when "keep closed sprite data in memory" is disabled 2020-02-27 12:02:01 -03:00
David Capello
e3f28acf9e Fix deleting docs from memory when "keep closed docs alive" is disabled & the backup on disk is enabled 2020-02-27 11:32:18 -03:00
David Capello
f0e60d2068 Fix crashes using MaskByColor command after we cannot lock the sprite
If ContextWriter thrown an exception (i.e. we cannot lock the sprite
for writing purposes), the "Mask by Color" ui::Window would persist
with its signal slots, and it creates an unstable scenario where color
change signals are generated from sliders and crashes the program
because we were using a deleted ContextReader variable which was
stored in the stack in MaskByColorCommand::onExecute().
2020-02-26 12:49:23 -03:00
David Capello
5cd23b8522 Fix moving 9-slices rules (regression introduced in 73de6c8b1d8825ad31619bb45397f1ed74baf500) 2020-02-25 15:25:36 -03:00