Commit Graph

9610 Commits

Author SHA1 Message Date
David Capello
916b3bf26a Fix Steam screenshots (fix #4300)
Steam API/DLL now contains a SteamAPI_InitSafe() function for backward
compatibility similar to the old SteamAPI_Init(). The official
"steam_api.h" header file contains inline-defined functions for
SteamAPI_Init() and SteamAPI_InitEx() but both use the published
SteamInternal_SteamAPI_Init() function (we don't need it, I guess, so
SteamAPI_InitSafe() is enough for us).
2024-02-08 18:43:38 -03:00
David Capello
434c262489 Merge branch 'intuitive-opacity-values' (#1544, #4262) 2024-02-08 15:22:58 -03:00
Martín Capello
f7f2c56abf [lua] Fix tabs ID handling (fix #4268) 2024-02-08 10:55:46 -03:00
Martín Capello
9ef6c4848d Avoid exposing doc::frames types to the global namespace 2024-02-07 14:04:35 -03:00
Martín Capello
fdafc585c2 Adjust alpha color slider to make it work as percentage or value as specified by the preference settings 2024-02-07 13:33:09 -03:00
Martín Capello
b10390625f Introduce AlphaEntry class and make InkOpacityField extend from it (fix #1544) 2024-02-07 13:33:09 -03:00
Martín Capello
dd0e5addc9 Replace slider by opacityslider (fix #1544) 2024-02-07 13:33:09 -03:00
Martín Capello
04cf5eaa15 Introduce "alphaslider" and "opacityslider" controls. Use "opacityslider" in cel properties (fix #1544)
They work like a regular slider but use 0%-100% or 0-255 ranges depending on configuration settings.
2024-02-07 13:33:04 -03:00
David Capello
9318ce4941 Merge branch 'export-with-play-subtags' (#4173, #4211) 2024-02-07 11:58:28 -03:00
Gaspar Capello
e9706f106f Fix wrong edges on Brush Preview on Tilemap Mode (fix #4176) 2024-02-06 16:58:43 -03:00
Martín Capello
0c7759acf1 [lua] Fix how separators are added into dialog's tabs (fix #4288) 2024-02-06 16:27:24 -03:00
Gaspar Capello
024c266231 Fix deleting the "Pixel-perfect" checkbox from the "Spray Tool" (fix #4220) 2024-02-06 13:13:43 -03:00
Martín Capello
921504937c Fix Aseprite built-in file selector's file list layout to avoid horizontal scrolling (fix #4183) 2024-02-06 13:00:43 -03:00
David Capello
62599ad8b4 Fix assert in Widget::setMnemonic() for mnemonics like 'Ú'
This fixes the ASSERT((mnemonic & kMnemonicModifiersMask) == 0) in
Widget::setMnemonic() function, but as a future task we should try to
process/convert unicode chars like 'Ú' as a simplified form,
i.e. pressing 'u' should match 'ú' for mnemonics.
2024-02-06 09:38:14 -03:00
David Capello
af73adeab0 [i18n] Clone and add "strings" repo in "data/strings.git" to get updated translations
As we've moved all the translations to the strings
repo (06a852d1d4), to facilitate the
i18n work now we load translations from "data/strings" and from
"data/strings.git" folders, where "strings.git" is a clone of the
strings repo (https://github.com/aseprite/strings.git) in
"build/bin/data/strings.git".

This clone is executed automatically in the cmake configuration stage
so it's transparent for the developer and the result is like having
the translations available in the same "aseprite" repo.
2024-02-06 09:37:29 -03:00
Martín Capello
012da4da1b Add SelectedFrames.displace() tests 2024-02-02 17:53:09 -03:00
Martín Capello
982df4db1c Add FramesSequence tests 2024-02-02 17:53:09 -03:00
Martín Capello
eb45c4adf5 Add support to "play subtags & repetitions" when exporting an animation (fix #4173) 2024-02-02 17:52:58 -03:00
Martín Capello
a6556bb4f2 Fix exit frame handling for "PlayAll" playback mode
Without this when the playback cue is on the highest frame in "PlayAll"
mode it doesn't take into account the direction of the current tag that
is being played and assumes the end of the animation was reached
2024-02-02 17:52:58 -03:00
Martín Capello
0ae3a23066 Fix "ping-pong reverse" ordering of frames when exporting 2024-02-02 17:52:58 -03:00
Martín Capello
4d8fc12351 Adjust export dialog UI to support "Play Subtags & Repetitions" checkbox (fix #4173) 2024-02-02 17:52:42 -03:00
David Capello
5900605549 Fix "Too much data to uncompress" error recovering sessions (fix #4291)
This is due zlib returning Z_OK (instead of Z_STREAM_END) after
inflate() when all the output buffer was filled (avail_out = 0) but it
reports like there is still available uncompressed data (avail_in > 0).
It makes no sense but an extra inflate() call with avail_out=0
consumes the whole avail_in and the expected Z_STREAM_END is finally
reported.
2024-02-02 14:01:07 -03:00
David Capello
e0a677545e Show errors in UI when we cannot recover a specific file (related to #4291)
Internal:
Visible in: https://igarastudio.zendesk.com/agent/tickets/5772
With files from: https://igarastudio.zendesk.com/agent/tickets/5773
2024-02-02 12:49:55 -03:00
Martín Capello
799b3e1918 Add the user directory as the first path to search for the tags palette (fix #4182) 2024-02-01 10:27:11 -03:00
David Capello
40863a3a5e Copy hex text to native clipboard when copy colors from the palette (fix #4289) 2024-01-31 11:45:12 -03:00
Charlie-83
e47448ca24 Fix numerical errors in gradient tool (#4131) 2024-01-26 11:49:04 -03:00
David Capello
06a852d1d4 [i18n] Move all i18n work to https://github.com/aseprite/strings 2024-01-24 18:16:12 -03:00
David Capello
d4740394a9 [i18n] Update credits 2024-01-24 16:45:25 -03:00
Veydzher
b0025294a6 [i18n] Translate Ukrainian strings 2024-01-24 16:30:23 -03:00
doctor
f59b03e2c5 [i18n] Translate Irish strings 2024-01-24 16:30:23 -03:00
puddiCria
e1326d1ae3 [i18n] Translate Portuguese strings 2024-01-24 16:30:23 -03:00
peperoni
c96f7bc31c [i18n] Translate French strings 2024-01-24 16:30:23 -03:00
symegac
f2b5306121 [i18n] Translate Danish strings 2024-01-24 16:30:23 -03:00
Maks Dziemiańczuk
300166beca [i18n] Translate Polish strings 2024-01-24 16:30:22 -03:00
Aitornado _8
ac8429ab3b [i18n] Translate Spanish strings 2024-01-24 16:30:22 -03:00
David Capello
039244d0f7 [i18n] Translate Spanish strings 2024-01-24 16:30:22 -03:00
gallegonovato
83100ad6b7 [i18n] Translate Spanish strings 2024-01-24 16:30:22 -03:00
David Capello
bb1941a997 [i18n] Translate Spanish strings 2024-01-24 16:30:22 -03:00
gallegonovato
c983b8c884
[i18n] Translate Spanish strings 2024-01-24 20:24:12 +01:00
Martín Capello
d331195c4c Add "Alpha & Opacity" section to Preferences > Color (fix #1544) 2024-01-12 14:38:04 -03:00
Martín Capello
d10f0cc054 Prevent setting slider ranges with min > max (fix #4191) 2024-01-12 12:11:59 -03:00
David Capello
da7f51ee43 Revert part of Sentry::areThereCrashesToReport() impl for macOS mainly
Revert 00894101e0 as it was suggested in
this comment:

  https://github.com/getsentry/sentry-native/issues/930#issuecomment-1883739150

Only needed for macOS, but we can still use this on Windows just in
case (and use sentry_get_crashed_last_run() as a fast path if it
works).
2024-01-10 14:50:28 -03:00
David Capello
b5b33ae09c [i18n] Update credits 2024-01-09 10:49:30 -03:00
doctor
59ec4a2763 [i18n] Translate Irish strings 2024-01-09 10:14:53 -03:00
Mehrab Poladov
3bbccf9736 [i18n] Add Azerbaijani translation 2024-01-09 10:14:53 -03:00
symegac
8a97caa389 [i18n] Add Danish translation 2024-01-09 10:14:53 -03:00
puddiCria
7c88cebc3d [i18n] Translate Portuguese strings 2024-01-09 10:14:52 -03:00
David Capello
9d69cb8dfe Possible fix for crash in Window::limitPosition() when parent is nullptr (fix #4261)
We cannot reproduce this but just adding a check here to avoid using a
nullptr parent pointer.
2024-01-08 15:07:36 -03:00
David Capello
00894101e0 Simplify Sentry::areThereCrashesToReport() using sentry_get_crashed_last_run()
Thanks for the Sentry team for the help in:
https://github.com/getsentry/sentry-native/issues/930
2024-01-08 14:08:25 -03:00
David Capello
78f5560b33 Update copyright year to 2024 2024-01-04 14:10:07 -03:00