Commit Graph

1536 Commits

Author SHA1 Message Date
Martín Capello 86ad09291f Add UUIDs to layers 2025-02-24 10:10:28 -03:00
David Capello 5739bfe287 Fix crash canceling "Apply" filter and then using "OK"
This fixes the ASSERT(!m_tx) in FilterManagerImpl::initTransaction()
in Debug mode, and a crash in Release that happens in any filter if we
cancel a filter progress in the middle, and then press the "OK"
button.
2025-02-20 12:23:31 -03:00
David Capello d4406629e6 Add possibility to customize theme fonts (#712, #4307)
From Edit > Preferences > Themes we now can customize the theme Font
and Mini Font.
2025-02-15 12:58:25 -03:00
David Capello bc3433fcf2 Add new ui::TranslationDelegate to translate Entry popup items
Parts of this commit are from #4968 and will be useful to reuse in the
multiline TextEdit widget.

Co-authored-by: Christian Kaiser <info@ckaiser.com.ar>
2025-02-15 12:09:37 -03:00
Martín Capello e65b678e9e Add option to select cel compression (fix #4901) 2025-02-05 14:41:44 -03:00
David Capello 81bd37551b Merge branch 'main' into beta 2025-01-28 10:08:32 -03:00
sharkboi 8d30a18ed5 Refactor "View > Preview > Brush Preview" to be a global option (fix #4876)
Co-authored-by: David Capello <david@igara.com>
2025-01-23 15:16:44 -03:00
Liebranca 45a183945e Add 'edit_full_path' to preferences for FilenameField 2025-01-13 14:04:18 -03:00
Liebranca ac1231b083 Use FilenameField in ExportSpriteSheetWindow 2025-01-13 13:55:00 -03:00
Liebranca f1d03b12c5 Move 'OutputFile' logic to FilenameField class 2025-01-13 13:54:55 -03:00
Liebranca cb5163c742 Add Relative/Absolute path options to ExportFileWindow 2025-01-09 17:11:27 -03:00
Christian Kaiser 55b3e3c41c Clipboard access check, content 2025-01-08 12:35:20 -03:00
David Capello 8787aae762 Merge branch 'main' into beta 2025-01-07 12:34:49 -03:00
David Capello ea000719ab Update copyright year to 2025 2025-01-07 11:52:40 -03:00
Martín Capello dedfdce705 Fix toolbutton_last image (fix #4719) 2025-01-07 10:16:19 -03:00
Christian Kaiser 039bdda695 Improve preference resetting: window, brushes and preserve uuid 2025-01-06 14:51:09 -03:00
David Capello 09538f9a1a clang-format all files 2024-12-16 14:52:19 -03:00
David Capello b2e4f78b69 clang-format all files 2024-12-16 10:10:34 -03:00
David Capello f62b5eafb1 Merge branch 'main' into beta 2024-12-10 16:16:16 -03:00
Martín Capello 8a8a324651 Add columns and rows fields to Import Sprite Sheet 2024-12-10 09:30:29 -03:00
Martín Capello 3987412826 Change position of Apply button 2024-12-09 15:50:02 -03:00
Martín Capello 6c714bfc05 Add "Apply" button (fix #4678) 2024-12-09 15:50:02 -03:00
David Capello 41baef2627 Merge branch 'main' into beta 2024-11-19 16:00:11 -03:00
David Capello 7ff124d108 Add HD icons 2024-11-15 19:02:57 -03:00
Christian Kaiser 9b90159d1b Handle toolbar in small sizes with overflow button 2024-11-10 13:01:29 -03:00
David Capello a9d795b6df Merge branch 'main' into beta 2024-11-06 18:01:44 -03:00
sharkboi cd5bf499ea Disable Brush Preview in Preview window by default (fix #4721, #4752) 2024-11-06 15:40:29 -03:00
Gaspar Capello b7aa5d5ebe Add diagonal symmetry (fix #1171)
Added symmetry UI buttons, 45 and -45 degrees axis.
Now are possible activate all four symmetries, both
diagonal symmetries, individual diagonal symmetry, and
the old horizontal/vertical combinations.

Also added symmetry to image brushes (prior to this fix:
only the brush position was symmetrical, the image brush
was not flipped).
2024-11-01 15:17:01 -03:00
David Capello 6093282ac3 Add pin/unpin icon to font search field (#4617, #4692)
With this we can finally easily save font presets, even references to
external .ttf files.
2024-10-29 09:48:23 -03:00
David Capello e700cce987 Merge branch 'main' into beta 2024-09-23 15:03:11 -03:00
Christian Kaiser 96438b789e WebP show_alert reset in options 2024-09-23 13:38:14 -03:00
Christian Kaiser b10cc60fdb Add dont_show checkbox for WebP format 2024-09-23 13:38:14 -03:00
Christian Kaiser 31c80a5e0c Add reset preferences page (fix #4432, #4620) 2024-09-17 16:09:14 -03:00
David Capello 55e1b320c4 Remove invalid ExportSpriteSheet definition from gui.xml 2024-09-16 10:37:36 -03:00
Gaspar Capello 04c45f4329 Fix duplicate items in keyboard shortcuts list (fix #4387)
Introduced Key::isListed() and Command::isListed() to customize when a
command should be displayed in the list of shortcuts.

Removed commands:
'Launch'
'OpenBrowser'
And removed unnecessary commands:
'Change Color Mode: Indexed'
'Contract Selection'
'Export Sprite Sheet'
'Flip Canvas Horizontally'
'Frame Properties'
'Load Palette'
'Open Sprite'
'Playback Speed 1x'
'Run Script'
'Save Palette'
'Select Used Colors'
'Set Palette Entry Size'
'Tileset Mode: Auto'
2024-09-16 10:14:12 -03:00
Gaspar Capello a7a31f9a4a Fix duplicate "Zoom" items in the keyboard shortcuts list (#4387)
Before this fix, the following items were repeated in the list box:
'Zoom 600%'
'Zoom 800%'
'Zoom 1600%'
2024-09-16 10:08:47 -03:00
Gaspar Capello aca9bf6bb7 Fix duplicate "Tiled Mode" items in the keyboard shortcuts list (#4387) 2024-09-16 10:08:35 -03:00
David Capello 12e253d1ef Revert [symmetry]reset_position string name
This was changed to reset_position_to_center in
d4c9a2fb36 but it's better if we keep
the string ID as it is so we can use the existent i18n.
2024-09-16 09:32:07 -03:00
David Czekalla d4c9a2fb36 Add "Reset Symmetry to View Center" option (fix #4638, #4640)
Added an option in the ContextBar to reset the symmetry options to the
current view center.
2024-09-13 16:55:36 -03:00
David Capello 132405b3cd Merge branch 'slices-transform-switch' into beta (#4533) 2024-09-10 15:58:56 -03:00
David Capello 3d683ac6aa Minor layout change in Color Mode dialog (from vbox to grid) 2024-09-03 18:15:29 -03:00
Gaspar Capello 3cc1c63274 Add different best fit criteria to compare colors for RgbMaps (fix #2787, #4416) 2024-09-03 13:17:06 -03:00
David Capello a21f0888ad Merge branch 'main' into beta 2024-09-03 11:26:23 -03:00
David Capello fea3f5fcee Fix English strings considering some comments from Weblate
Comments:
https://hosted.weblate.org/translate/aseprite/aseprite/en/?checksum=10ed5b5794156584#comments
https://hosted.weblate.org/translate/aseprite/aseprite/en/?checksum=a866d26f91d1f329#comments
https://hosted.weblate.org/translate/aseprite/aseprite/en/?checksum=df163b02578e8c01#comments
https://hosted.weblate.org/translate/aseprite/aseprite/en/?checksum=b23f6bf0b6dcbce4#comments
https://hosted.weblate.org/translate/aseprite/aseprite/en/?checksum=1b58980af2aa6bd0#comments
2024-08-30 14:15:30 -03:00
Christian Kaiser c554f07d28 Adjust strings for clarity/correctness 2024-08-30 13:42:57 -03:00
Martín Capello ead2023cfd Add "Transform" checkbox to slices and introduce moving slice content 2024-08-29 15:24:48 -03:00
David Capello 0bf9353a02 Add new Text tool (fix #28)
This is the first (not yet production-ready) version of the
interactive Text tool. The text input is done with a transparent
ui::Entry, and on each text modification an ExtraCel is rendered with
this same ui::Entry's TextBlob to be displayed in the canvas with the
active zoom level.

The ui::Entry is being painted along the text in the canvas (just for
testing), but this is something to be fixed. Probably it will not be
the case in the future and a fully customized rendering (onPaint())
process will be required.
2024-08-26 11:47:57 -03:00
David Capello cf514f0c53 New font selector (fix #4363)
This new font selector list installed fonts with its proper name. It
still needs some extra work to select font set styles (regular, bold,
italic, etc.)
2024-08-26 11:47:57 -03:00
David Capello 1c1c4593ed Merge branch 'main' into beta 2024-08-22 14:26:18 -03:00
David Capello 7b24cf2594 Fix "New Frame" button for existing third-party themes (fix #4609)
We made an attempt to change the "+" character with an icon, but we
cannot use an existing style to do this kind of change in themes (as
third-party themes will be using the old version of the style, not the
updated one).

We're reverting part of the change introduced in
e0ff51947a to use the "+" character for
this "New Frame" button in the status bar.
2024-08-21 16:55:11 -03:00
David Capello 68d5262c48 Merge branch 'main' into beta 2024-08-09 21:06:57 -03:00
Christian Kaiser e0ff51947a
Add new frame menu to status bar button (#4582) 2024-08-08 17:23:41 -03:00
Gaspar Capello 8f3af748b9
Don't allow to install third-party themes that override the default one (fix #4226) (#4335)
This 1) hides user themes whose name is the same as the default,
and are present in the user folders (i.e.  'extensions' and
'data/themes' folders), and 2) doesn't allow to install themes with
the same content/ID of the default aseprite-theme (fix #4226)
2024-07-29 16:02:05 -03:00
David Capello 26279597b6 Add help button "?" in some windows (fix #1980)
We hope to enhance the discoverability of Aseprite features in this
way.
2024-07-25 16:02:21 -03:00
Guilherme Belchior ffc3684b1b Compose groups separately from all other layers
Maintain hierarchical structure of sprite groups instead of flattening.
Allows opacity and blend mode to be applied correctly to groups.
Sets the foundation for future features like mask layers.

Note:
Requires full image rendering and impacts performance in some scenarios.
Avoids complex code changes for minor performance gains.

Co-authored-by: Guilherme Marcondes <guilherme.marcondes@tecnico.ulisboa.pt>
2024-06-24 18:16:42 -03:00
David Capello f29ec83c6c [win] Fix sync between mouse cursor <-> stylus cursor (fix #4539)
Added a new option (enabled by default) to set the mouse cursor when a
pen/pointer message is received. This fixes a couple of issues:

1) When we zoom in/out with keys or scrolling the trackpad, the last
   known position will be used (the pen position if we are using the
   pen).

2) If we are recording the stream/live streaming with a software like
   OBS Studio, the cursor position will correctly be in the pen
   position if we're painting with the pen.
2024-06-18 13:44:19 -03:00
David Capello 73fe8099d9 [win] Add 20x20 and 28x28 versions of Aseprite icon (fix #3034)
This is to fix the appearance of the icon when Windows is configured
with 125% DPI or 175% DPI. In the past we've done something similar
for 150% DPI (713a2eac80) with a 24x24
icon.
2024-02-29 23:20:44 -03:00
David Capello 57bc038ced Add some extra chars in mini font for Spanish (ñ, Á, ó, part of #4307) 2024-02-16 12:59:36 -03:00
David Capello 749ea49185 Add link in About dialog to show the list of translators 2024-02-12 11:59:26 -03:00
David Capello 434c262489 Merge branch 'intuitive-opacity-values' (#1544, #4262) 2024-02-08 15:22:58 -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
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 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
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 78f5560b33 Update copyright year to 2024 2024-01-04 14:10:07 -03:00
David Capello d6587fbf78 Add button to refresh/reload the list of palettes (fix #4258) 2024-01-04 13:51:18 -03:00
David Capello ef23356b7f [i18n] Update credits README 2024-01-03 08:49:35 -03:00
Murilo Gama c4a547ac78 [i18n] Translate Portuguese strings 2024-01-03 08:41:09 -03:00
puddiCria 78c7d0b4c5 [i18n] Translate Portuguese strings 2024-01-03 08:41:09 -03:00
Blezz Rot cc105e0cbf [i18n] Translate Russian strings 2024-01-03 08:41:09 -03:00
David Capello f5dd9424e1 [i18n] Translate Swedish strings 2024-01-03 08:41:08 -03:00
Samuel Pettersson 2c46082002 [i18n] Add Swedish translation 2024-01-03 08:41:08 -03:00
David Capello 025bcde91d [i18n] Translate Irish strings 2024-01-03 08:41:08 -03:00
doctor 063e73447b [i18n] Add Irish translation 2024-01-03 08:41:08 -03:00
David Capello 3b9e1db433 [i18n] Translate Spanish strings 2024-01-03 08:41:08 -03:00
Héctor Cortés e72d724779
[i18n] Translate Spanish strings 2024-01-03 12:33:17 +01:00
David Capello 112063a14a Improve Cyrillic chars in Aseprite font (fix #4212)
It includes other minor changes:

- Added trailing column for separation to , ; ? » chars
- Removed heading column from ˲ char
2024-01-02 17:32:41 -03:00
David Capello d93655647d [i18n] Update credits README 2023-12-29 10:33:31 -03:00
Murilo Gama 6cfff7cfa3 [i18n] Translate Portuguese strings 2023-12-29 09:58:44 -03:00
Grey 5d544e4b24 [i18n] Translate French strings 2023-12-29 09:58:44 -03:00
Cerno_b 77af16682d [i18n] Translate German strings 2023-12-29 09:58:44 -03:00