7404 Commits

Author SHA1 Message Date
David Capello
8b6116911d Add extra options to show brush preview with Eraser/Blur/etc. tools
Feature request: https://community.aseprite.org/t/6427
2020-08-03 12:12:52 -03:00
David Capello
8c0f81cbba Improve handling of image sequences when dropping files or opening multiple files
Now we can repeat the same action (Agree/Skip the all sequence of
images) for all the dropped files/selected files in the "Open File"
dialog (as in the CLI new behavior).
2020-07-30 16:27:23 -03:00
David Capello
1255b17738 Fix opening image sequences more times from CLI
We've also fixed the Agree/Skip dialog to show a checkbox and repeat
the same action for all image sequences.

Fixes:
https://github.com/aseprite/aseprite/issues/2128
https://github.com/aseprite/aseprite/issues/1936#issuecomment-451565903
2020-07-30 14:33:27 -03:00
David Capello
4cc2c6188d Fix cycling through palette indexes when Edit Mode is on
https://community.aseprite.org/t/6500
2020-07-29 19:24:07 -03:00
David Capello
63460ef9dc Support to encode 1bpp .bmp indexed images
Simplified a little the code merged in #2473

Related issues:
https://github.com/aseprite/aseprite/issues/210
https://github.com/aseprite/aseprite/issues/2472
https://community.aseprite.org/t/3892
2020-07-29 13:46:26 -03:00
David Capello
e9ba49bb9a Fix crash saving grayscale bmps 2020-07-29 11:14:30 -03:00
David Capello
35e7483ed5 Minor change BmpFormat::onSave()
Use "w" and "h" instead of "image->width()/height()"
2020-07-29 11:13:44 -03:00
MacSpain
2d5b080b1f Added saving 4-bit images 2020-07-29 10:07:35 -03:00
David Capello
0f328e1599 Change the number of colors when loading a .bmp file 2020-07-28 18:16:07 -03:00
David Capello
7a534b0a4e [lua] Add Sprite{ fromFile="...", oneFrame=true } to load just one frame 2020-07-28 17:41:01 -03:00
David Capello
11324c207d [lua] Minor changes 2020-07-28 17:40:43 -03:00
David Capello
c4ed8c1450 [lua] We cannot detect existent keys with nil in a table (they aren't added to the table)
All non-existent keys return nil (and nil keys are not added when the
table is created, so we cannot even iterate the table to search for
keys like "always" or "sRGB"). The only solution is assigning a
non-nil value, e.g. { always=true }, { sRGB=true }, etc.
2020-07-28 17:40:19 -03:00
David Capello
c6b42173cd Add some checks to BmpFormat::onLoad() to avoid crashing on some invalid .bmp files 2020-07-28 11:36:16 -03:00
David Capello
7656627605 [lua] Fix calling onclose Dialog event when we close the app (fix https://github.com/aseprite/api/issues/28) 2020-07-28 10:35:38 -03:00
David Capello
2a48c688e2 Fix playback of same tag when adding new frames (fix https://community.aseprite.org/t/6486) 2020-07-27 18:17:48 -03:00
David Capello
0c0510b3b1 Update laf (don't ask info to wintab when -verbose/-debug mode are disabled) 2020-07-27 17:05:43 -03:00
David Capello
866d614737 [lua] Add "ui" and "bounds" params to CanvasSize (fix https://community.aseprite.org/t/4319) 2020-07-27 17:04:17 -03:00
David Capello
4dfed179fb [lua] Fix crash undoing Sprite:newCel() in background layers 2020-07-22 14:19:11 -03:00
David Capello
0c194adef6 Fix auto cel guides painting of right and lower sides 2020-07-21 16:56:23 -03:00
David Capello
5f747cd0dc Update laf to fix #1776 through https://github.com/aseprite/laf/pull/20 2020-07-09 11:19:01 -03:00
David Capello
0ceff97e9f Update laf modules 2020-06-24 21:42:58 -03:00
David Capello
244687ccf7 Fix MinGW section level 2020-06-24 16:01:31 -03:00
David Capello
418cbd3f20 Add information about -DCMAKE_IGNORE_PATH to ignore MinGW
Tip from:
https://github.com/aseprite/aseprite/issues/2449#issuecomment-649004147
2020-06-24 16:00:18 -03:00
David Capello
200b0ce73d Minor change in Windows dependencies 2020-06-24 15:45:26 -03:00
David Capello
39d48c86e3 Add note that we don't support MingW (fix #2449) 2020-06-24 15:37:12 -03:00
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 v1.2.21 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 7170762f08009cc69e7e8d81a29d7e2435a4eeed,
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 eb5c7ee0e54b5e9929c5537624d2597b0f3560a2 2020-06-11 21:19:44 -03:00
David Capello
619903a2b3 Fix compilation with g++ v1.2.20 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