Commit Graph

1534 Commits

Author SHA1 Message Date
KESTREL (Kestrel) 1c977e94fe
Translated using Weblate (Korean)
Currently translated at 5.2% (85 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/ko/
2023-12-14 01:55:26 +01:00
Fabiano Caputo 2740736026
Translated using Weblate (Italian)
Currently translated at 100.0% (1606 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/it/
2023-12-14 01:55:26 +01:00
David Capello 15e9ea67bd
Translated using Weblate (Italian)
Currently translated at 100.0% (1606 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/it/
2023-12-14 01:55:26 +01:00
Aleksey Smirnov 8ea2c284c3
Translated using Weblate (Russian)
Currently translated at 1.9% (31 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/ru/
2023-12-14 01:55:26 +01:00
Aleksey Smirnov 4e0b135c14
Translated using Weblate (Russian)
Currently translated at 1.5% (25 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/ru/
2023-12-14 01:55:26 +01:00
David Capello d0c8096883
Translated using Weblate (Spanish)
Currently translated at 6.0% (97 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/es/
2023-12-14 01:55:26 +01:00
dio.next.door201bade7ea0e4d3c e11057a360
Translated using Weblate (Ukrainian)
Currently translated at 0.7% (12 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/uk/
2023-12-14 01:55:26 +01:00
프돔 e4aced8993
Translated using Weblate (Korean)
Currently translated at 1.0% (17 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/ko/
2023-12-14 01:55:25 +01:00
Fabiano Caputo 7d5ad6fa35
Translated using Weblate (Italian)
Currently translated at 100.0% (1606 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/it/
2023-12-14 01:55:25 +01:00
David Capello e0d5cc8bf9 Add license terms to translation files (CC-BY-4.0) 2023-12-07 19:59:35 -03:00
TakWolf fa7b388b41 Translated using Weblate (Polish)
Currently translated at 3.3% (53 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/pl/
2023-12-07 19:48:34 -03:00
Jakub Mańczak 5c025a8324 Translated using Weblate (Polish)
Currently translated at 3.3% (53 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/pl/
2023-12-07 19:48:27 -03:00
Nathan 7aca4fc085 Translated using Weblate (French)
Currently translated at 71.2% (1145 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/fr/
2023-12-07 19:45:36 -03:00
Jakub Mańczak 2f9f4ead6b Translated using Weblate (Polish)
Currently translated at 1.5% (25 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/pl/
2023-12-07 19:43:00 -03:00
Nathan ca3c95d883 Translated using Weblate (French)
Currently translated at 50.4% (811 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/fr/
2023-12-07 19:42:26 -03:00
Jakub Mańczak df1d891054 Added translation using Weblate (Polish) 2023-12-07 19:39:43 -03:00
TakWolf d3f46fb9ac Add display_name to each translation file 2023-12-07 18:42:10 -03:00
David Capello 92c987020a
Translated using Weblate (Spanish)
Currently translated at 2.3% (37 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/es/
2023-12-07 16:18:41 +01:00
David Capello 84187ad1ec Simplify strings for PaletteEditor command removing leading blanks
This issue was brought up here:
https://github.com/aseprite/aseprite/pull/4207#issuecomment-1845334373
2023-12-07 12:11:00 -03:00
TakWolf f7c830d984 Fix strings weblate convert format. 2023-12-07 10:17:44 -03:00
David Capello 516a927a59 Add new empty translation files for Weblate
Added empty files to start the translation for:
* Chinese (Simplified)
* Chinese (Traditional)
* French
* German
* Italian
* Japanese
* Korean
* Portuguese
* Russian
* Ukrainian
2023-12-06 22:05:29 -03:00
David Capello 0caa825742
Translated using Weblate (Spanish)
Currently translated at 1.9% (32 of 1606 strings)

Translation: Aseprite/Aseprite
Translate-URL: https://hosted.weblate.org/projects/aseprite/aseprite/es/
2023-12-06 19:44:10 +01:00
David Capello de9618b829 Added translation using Weblate (Spanish) 2023-12-06 14:41:42 -03:00
David Capello 896e7f392e Change en.ini multiline format
Instead of using the simpleini format (which is not quite common/standard):

  key = <<<END
  line1
  line2
  END

We just use:

  key = line1\nline2
2023-12-06 14:15:21 -03:00
David Capello 609aedee12 Fix Weblate parsing error with strings outside any section
Given error:

  Could not parse translation base file: File contains no section
  headers. file: '<???>', line: 10 'display_name = English\n'

It looks like a known issue: https://github.com/WeblateOrg/weblate/issues/9702
2023-12-06 13:45:10 -03:00
TakWolf d5a54d8de7 Let spaces on both sides of the '+' 2023-12-06 13:39:32 -03:00
TakWolf 1c92d28bc8 Unified modifiers + key text. 2023-12-06 13:39:32 -03:00
TakWolf 444cb56371 Fix menu indication text. 2023-12-06 13:39:32 -03:00
TakWolf b62ecec3e1 Unified menu indication text, add double quotation marks, such as: "File > Save As" 2023-12-06 13:39:32 -03:00
David Capello 046b68061a Highlight dynamics button when some sensor is being used 2023-11-30 21:24:48 -03:00
David Capello dec9bddd99 Fix button width when the text is too long due the translation or font (fix #4160) 2023-11-22 10:40:51 -03:00
TakWolf 55e65a1f8b Description object error 2023-11-20 20:10:59 -03:00
TakWolf 77ea4d40b8 Fix strings spelling typo: Difussion -> Diffusion. Notice, this is not compatible for translations. 2023-11-20 20:10:59 -03:00
David Capello fee543f9e1 Add option to disable Snap to Grid by default when we move the selection (fix #4153) 2023-11-20 15:19:38 -03:00
David Capello 1a3c32a93d Fix typo in en.ini file: extra " char (fix #4148) 2023-11-17 14:40:01 -03:00
David Capello a6d9dce339 Update About dialog copyright year 2023-11-15 20:38:32 -03:00
David Capello 1311944667 Add option to enable the Snap to Grid option for the brush preview (fix #4137) 2023-11-15 20:30:58 -03:00
David Capello 62bdd8af9f Add "Advanced Options" checkbox in Tileset selector
To hide "Base Index" & "Allowed Flips" options by default.
2023-11-10 17:19:41 -03:00
David Capello 302d998218 Add support to match flipped tiles automatically in Auto/Stack modes
By default Aseprite will not try to match flipped versions of the
tiles (as it requires more CPU), but when we create a tileset we can
specify which flips can be matched automatically (new
Tileset::matchFlags() property).

These flags are just for the Auto mode, if we manually insert a
flipped tile, that is always supported, even when the matchFlags() are
not specified.
2023-11-09 16:44:46 -03:00
David Capello ed649e6bab Add Space+X and Space+Y alternatives to flip brush/tile flags
We already have Space+H and Space+V, but as the flags are XYD probably
Space+X/Y makes more sense.
2023-11-09 16:44:46 -03:00
David Capello ae3b2dd144 Revert timeline behavior to the v1.2 default (#4024)
This change was introduced in dd7e27a098
as a possible fix for #4024, but the change is too disruptive to be
introduced at this stage, we need some extra UI elements to make the
drag & drop accessible in both modes: the default v1.2 behavior, and
a possible new selection mode, e.g. #1498
2023-10-25 08:36:54 -03:00
David Capello cf19b51226 Add new icon for the button to switch the timeline visibility (#4081, #4092) 2023-10-11 14:58:15 -03:00
Akylzhan 4f73b14f8f Add Timeline visibility button to Toolbar, extracted button draw logic to separate member function 2023-10-08 05:58:49 +06:00
David Capello 3f101d48d4 Add more accessible option to re-enable the Aseprite file dialog (fix #4051)
As now the native file selector is the default one, we moved the
option to re-enable the previous file selector to Edit > Preferences >
General > Show Aseprite file dialog option.

Related to #3615 and added as a simple alternative to #2745 which
require native widgets on each native file dialog.
2023-10-04 16:57:11 -03:00
Gaspar Capello 5968440f90 Add memorization of tool-shared dynamics options (fix #4007) 2023-09-19 14:27:24 -03:00
David Capello d8814fa2f9 Add option to avoid drag & drop timeline range from edges
Related to #1498 in some way to start enabling new selection modes in
the timeline.
2023-09-19 12:07:14 -03:00
David Capello e2d8ffab54 Add reset buttons + tooltips to timeline range options (#4024) 2023-09-18 17:33:38 -03:00
David Capello dd7e27a098 New (default) options to customize timeline range selection (fix #4024)
Now a single click will not enable the range, using Shift+click or
dragging the mouse will enable the range of multiple
layers/frames/cels by default (but there are new options to go back to
the previous behavior or customize this behavior in an extensive way).
2023-09-15 19:53:31 -03:00
David Capello 4b716255e8 Fix typo in extra paint bucket options popup (#4041) 2023-09-14 11:02:15 -03:00
Gaspar Capello 572cdf2b0e Add check box "Same in all tools" in the Dynamics options window (fix #4003)
Now each tool has independent 'dynamic options'. A global configuration
for all tools is also possible via the 'Same in all tools' option.

ALso this fix, solves a regression inserted in:
2cc15cda9e
(bug inserted: stabilizer is always active)
2023-08-18 15:35:15 -03:00
Gaspar Capello 2cc15cda9e Add save dynamics options between sessions (fix #3933) 2023-08-14 18:07:46 -03:00
David Capello 7358626859 Add flip/rotate brush support to ChangeBrush command (#1222)
Implement part of:
https://github.com/aseprite/aseprite/issues/1222
https://steamcommunity.com/app/431730/discussions/1/1479856439033920884/
https://community.aseprite.org/t/flipping-rotating-the-current-brush/1854
2023-08-09 21:56:55 -03:00
David Capello 392dbd1303 Fix font issues w/some Cyrillic script chars (fix #3797, fix #3975)
* Fixed spacing of "в", "о", and "л".
* Fixed "У", "у", "х" glyphs.
2023-07-24 17:43:55 -03:00
David Capello 400456cbec Right-clicking a tileset mode button gives the possibility to set it as the default one
Feature request: https://community.aseprite.org/t/19487
2023-07-19 11:27:00 -03:00
David Capello 11644a7d16 Add Shift+F7 to toggle other layers visibility on Preview window 2023-07-19 10:56:16 -03:00
David Capello 32009723c5 [lua] Ask for access for package.loadlib() function 2023-07-19 09:15:15 -03:00
Martín Capello 4926f4c1fc Show, duplicate and delete tilesets in Sprite Properties dialog (fix #3875) 2023-07-18 18:50:57 -03:00
David Capello 00b75a76a8 Add displayName property for language extensions (fix #3964)
The default language (en.ini) has a new "display_name" property, but
probably we should remove it and transform the English language in an
extension (just as the default Aseprite theme).
2023-07-12 12:25:30 -03:00
TakWolf 3134bfaa30 Remove duplicate string in en.ini and extra whitespace 2023-07-06 10:59:04 -03:00
David Capello c527d68c64 Fix Assign/Convert button labels in Sprite Properties dialog
Regression introduced in 974c13dd33
2023-07-06 10:36:41 -03:00
Martín Capello 5bc432f289 Delete unused tilesets after deleting tilemaps (fix #3876) 2023-06-27 15:24:13 -03:00
David Capello c32b9b07a8 Centralize the warning message for incompatible files/forward compatibility (#3811, #3812)
Several changes were included:
- Fixes in TextBox widget to show it with proper size hint when it's
  outside a viewport
- Added the IncompatFileWindow with a message + link to know how to
  update Aseprite and solve the situation
- Moved CannotModifyWhenReadOnlyException from app/doc.h to
  app/transaction.h
2023-05-11 12:18:31 -03:00
Martín Capello 3f581a5dfa Add warning when loading unsupported property type and mark the file as read-only (fix #3812, fix #3811) 2023-05-08 17:37:05 -03:00
David Capello b5f262f423 Integrate fixes for Cyrillic script in Aseprite font (fix #3797) 2023-05-01 19:53:43 -03:00
David Capello 7104a1a449 F2 renames the layer if a range of frames is not selected (fix #2326)
In this way we can use F2 to:

1. Set the Loop section if two or more frames are selected
2. Remove the loop section if only one frame is selected
3. Rename the active layer if the layer is selected (or no frames are selected)
2023-04-11 19:04:45 -03:00
David Capello 24846eae10 Add z-index property to cels (fix aseprite/Attachment-System#88)
* Now a Cel has a z-index property to change the order of layers per frame
* A new doc::RenderPlan class can calculate the order of cels to be rendered
* z-index is saved as a int16_t in the .aseprite files
* This new field can be set/get from Lua with Cel.zIndex
2023-04-10 19:23:16 -03:00
David Capello da0a8b7916 Show GPU option only in DEVMODE
We've update the label "GPU acceleration" to avoid confusion between
developers so they know that this option is not enabled in the final
release.
2023-04-03 16:09:26 -03:00
David Capello ff9f60a8be Add more glyphs to aseprite_font.png (Cyrillic script is back)
Some glyphs are from an old Aseprite version with Cyrillic alphabet,
but I have complete it with some extra chars (e.g. Maltenese #3699).
Still a work-in-progress.

Related to:
https://community.aseprite.org/t/russian-language-aseprite/1851
https://community.aseprite.org/t/cyrillic-font-on-macos/4078
2023-03-27 19:49:40 -03:00
David Capello 1f7f3677f2 Play subtags + repeat field by default to avoid surprises
If we start playing from a tag with a repeat field, we'll just play
the tag as many times it says and continue with the regular animation
of the sprite. Users expect the repeat field to be useful with the
default configuration of the program.
2023-03-22 15:14:41 -03:00
David Capello 30a88c8e3d Put playback options into Frame > Playback submenu
This menu was accessible right-clicking the Play button in the
Timeline (and in the Preview window, with specific options for the
Preview).

This change includes some changes:

1. Now if a menu <item> in gui.xml doesn't specify a text field, the
   text of the command is used (to avoid double translation, the bad
   side is that we don't have a mnemonic specified).
2. Menu::showPopup() can be used with submenus from the root menu, to
   do this we have to remove the menu item owner temporarily before we
   show the menu as popup (see the change in Menu::showPopup())
3. We can specify a special active DocView for commands with
   UIContext::SetTargetView, this is used to set the Preview editor as
   active view for commands like TogglePlayOnce, etc.
2023-03-21 17:18:05 -03:00
Gaspar Capello 18c56ae638 Add frame duration warnings saving animated GIF files (fix #1504) 2023-03-20 12:55:34 -03:00
David Capello 63de8edfdf Minor changes in file_format_doesnt_support_error/warning strings 2023-03-20 12:55:20 -03:00
Martín Capello b0967e2aa5 Copy light theme latest changes into dark theme 2023-03-13 10:52:01 -03:00
Martín Capello b72d498070 Introduce a "combobox" style to replace the way combobox entries are painted 2023-03-13 10:52:01 -03:00
Martín Capello 7a338250a3 Fix alignment of several controls when UI scaling is 200% and Screen scaling is 100% to make them look the same as when US scaling is 100% and Screen scaling is 200% 2023-03-13 10:52:01 -03:00
David Capello d95a021733 Update dark theme 2023-02-27 19:38:36 -03:00
David Capello 606fea4214 Make buttons to select one window/multiple windows bigger 2023-02-27 19:21:57 -03:00
David Capello 05dcf96333 Fix style for RGBA/Grayscale/etc. buttons + Edit Pal/Tiles mode buttonsets
We cannot use the fix from 6e2b44c72d as
they contain different slice borders depending on the state (and that
generated moving labels/icons in RGBA/Grayscale/Indexed buttons when
we hover the mouse on them), so we had to revert it and use a new
"buttonset_item_active" theme part to set the background of Edit
Pal/Tiles.
2023-02-27 19:05:26 -03:00
David Capello ff1211bc84 Minor changes in theme.xml/style names 2023-02-27 18:02:10 -03:00
David Capello 6e2b44c72d Fix Edit Colors and Tiles/Pixels Mode button styles
Now these buttons look more like the previous version, where the
special background color is painted to the edges. To achieve this the
"buttonset_item_normal" part has less border to fill the background
with "edit_pal_face" color in "pal_edit_button_unlock" and
"edit_tiles_mode" styles.
2023-02-27 17:44:30 -03:00
David Capello 0491bf60d7 Show the Tiles button highlighted ("button_selected_text") when it's in tiles mode
It was planned to use this color for this button when it's on.
2023-02-27 16:58:31 -03:00
David Capello 5ea89141fd Fix regression with Pal Edit button
The icon/stylus was inverted. We've also moved the icon for each state
to the theme xml (so we don't need to use setIcon() manually anymore
for this button).
2023-02-27 16:48:50 -03:00
Martín Capello 9332642de9 Fix combobox height 2023-02-27 16:04:21 -03:00
David Capello 11ef2f939b Remove unneeded padding-top for brush_type styles 2023-02-27 12:06:23 -03:00
Martín Capello f481d9c0e7 Fix timeline's animation buttons size 2023-02-27 10:21:50 -03:00
Martín Capello 0199994e45 Remove Y coordinate offset from some elements 2023-02-27 09:44:42 -03:00
Martín Capello 029e520f81 Add styles for ink type and dynamics buttons 2023-02-27 09:44:42 -03:00
Martín Capello ea43c5f6c8 Adjust styles to make them work with the new buttonset 2023-02-27 09:44:42 -03:00
Martín Capello 3ab993d1d6 Update ButtonSet to use theme's styles 2023-02-27 09:43:48 -03:00
Martín Capello 1783704a53 Fix positioning of text and icon layers to avoid setting values that are not a multiple of the gui scale 2023-02-27 09:43:48 -03:00
Martín Capello e002316466 Take into account padding when painting text and icon layers 2023-02-27 09:43:48 -03:00
Martín Capello dded1f6eae Add mnemonics attribute for font and styles to enable/disable accelerators underlining 2023-02-27 09:43:48 -03:00
David Capello c900327675 Add switch for "multiple windows" in Edit > Preferences > General
As the "multiple windows" feature is still buggy (#3556) and we've
disabled it by default, it's nice to make this option more visible (in
the General section) so users reliant on this will find the switch
quickly.
2023-02-24 17:11:51 -03:00
David Capello 495a0b4684 Minor changes in the Edit > Preferences > Experimental section 2023-02-24 17:06:44 -03:00
David Capello ccef9cee4f Cache compressed tileset information from .aseprite files on memory
We've added an experimental option (enabled by default) to keep the
compressed tileset data when we load/save a .aseprite file to avoid
recompressing each time we save (and only compressing the tileset if
tiles are modified).

This is an attempt to make the save operation faster when we use
sprites with several tilemap layers + large tilesets (many tiles, with
big tiles).

Reference: https://github.com/aseprite/Attachment-System/issues/54
2023-02-14 13:03:06 -03:00
David Capello 988cba2c2b Add "Copy Path" option when right-clicking a sprite tab 2023-01-05 14:23:15 -03:00
David Capello 822a309724 Several fixes/rewording for --tagnames-format CLI and GUI 2022-12-23 09:59:01 -03:00
Nathan Pannell bc9e201255 Added cli option --tagname-format 2022-12-23 09:11:58 -03:00
David Capello 3c77928a6f Prefer native file dialog by default (Windows & macOS mainly, #3615)
The native dialog for the Linux version is not yet ready.
2022-12-12 16:48:01 -03:00
David Capello c25649d865 [osx] Fix shortcuts for Edit actions when a native file dialog is displayed
Fixes #2719, related to #3615
2022-12-09 13:55:44 -03:00
David Capello e703de535e Show saved undo state in Edit > Undo History window (fix #3578)
Some extra changes introduced:
* DocUndo & CmdTransaction were simplified: removing the saved
  counter, and storing a specific UndoState pointing to the state that
  matches the version in the disk
* DocUndo::onDeleteUndoState() can generate a
  impossibleToBackToSavedState() if the saved state is deleted. This
  might fix some bugs where a "save changes" dialog weren't displayed
  after undoing and making changes (probably related to #3542, but not
  sure)

Some extra work is needed to avoid showing the "save changes" dialog
if we are close to the saved state and only non-modification undo
states separate us from there. E.g. if we open a file, select the
canvas, and close it, Aseprite now shows the "save changes" dialog,
this wasn't true in previous versions.
2022-11-02 09:57:52 -03:00
David Capello 9601c02812 Add option to play/preview with subtags & repetitions 2022-10-20 14:41:24 -03:00
David Capello 4f96d37b1f Add repeat field to animation tags (#1275, #1740) 2022-10-19 12:25:06 -03:00
Joshua Ogunyinka ed26fdd806 Add missing language strings in other uncategorized sections 2022-10-12 14:57:23 -03:00
Joshua Ogunyinka 6c55847151 Add more missing language strings for filtering/editing 2022-10-12 14:54:50 -03:00
Joshua Ogunyinka aaa69a3d81 Add more missing language strings when importing/exporting sprite sheets 2022-10-12 14:40:01 -03:00
Joshua Ogunyinka a4bc897f76 Add missing language strings for preview editor/new brush/inks/mask by color 2022-10-12 14:36:31 -03:00
Joshua Ogunyinka 3cdb187487 Add more missing language strings for colorbar's wheel properties 2022-10-12 14:24:20 -03:00
Joshua Ogunyinka 05c4326ada Add missing language strings for all components using the status bar 2022-10-12 14:23:30 -03:00
Joshua Ogunyinka bf88fa2bd1 Add missing language strings when loading/saving components 2022-10-12 14:21:21 -03:00
Joshua Ogunyinka 05ece3fad1 Add missing language strings in sprite size command 2022-10-12 13:49:24 -03:00
Joshua Ogunyinka 9105642dbf Add missing language strings for layer/frame/anidir comboboxes 2022-10-12 13:46:29 -03:00
Joshua Ogunyinka dd2efe28d2 Add missing language strings for dithering selector 2022-10-12 13:41:19 -03:00
Joshua Ogunyinka 974c13dd33 Add missing language strings in sprite properties & import sprite sheet 2022-10-12 13:38:22 -03:00
Joshua Ogunyinka 6bc0d312d2 Add missing language strings in the layer properties 2022-10-12 13:24:09 -03:00
Joshua Ogunyinka bbfae36d8f Add missing language strings for preference window 2022-10-12 13:20:41 -03:00
Joshua Ogunyinka de44545930 Add missing language strings for keyboard shortcuts
Co-authored-by: David Capello <david@igara.com>
2022-10-12 13:20:35 -03:00
Joshua Ogunyinka 797f8db2fa Add missing language strings for the file selector 2022-10-12 13:20:23 -03:00
Joshua Ogunyinka 60b5df4030 Add missing language strings for the color bar 2022-10-12 13:19:32 -03:00
Joshua Ogunyinka 3c815ac1bd Add missing language strings for the timeline/context bar 2022-10-12 13:19:20 -03:00
David Capello 178d8e1775 Disable multiple UI windows by default (#3548) 2022-10-11 18:58:32 -03:00
David Capello 88594bfa0e Merge branch 'main' into beta 2022-09-28 16:20:03 -03:00
Kacper Woźniak 75627bd148 Fix the group attribute for Slice Properties 2022-09-26 11:00:10 -03:00
David Capello 05dd5f8db7 Merge branch 'fix-export-layers-same-name' 2022-09-20 14:25:22 -03:00
Martín Capello f454d9a0af Add "minheight" properties to avoid std::clamp asserts in visual studio when lo > hi 2022-09-15 10:01:50 -03:00
Martín Capello 826fc1a5fd Remember layer index between export operations 2022-09-13 17:09:58 -03:00
David Capello ddafa5083e Merge branch 'main' into beta 2022-08-31 11:57:16 -03:00
lampysprites c67902dee3 Request frame duration when opening sequences 2022-08-31 09:06:16 -03:00
David Capello 2f34e25f06 Merge branch 'export' into beta 2022-08-19 18:05:36 -03:00
David Capello acb246e26b Add "Sprite Grid" source option to Export Sprite Sheet (fix #1982)
In this way we can export each grid cell/tile as an individual sprite,
and use the extrude option on each grid cell. We've added the
--split-grid CLI option too.
2022-08-19 17:21:56 -03:00
David Capello a2f61a3378 Add "File > Export > Export Tileset" option (#3240)
Now we can export one (or several) tilesets in one sprite sheet (using
the same options that are available in the Export Sprite Sheet dialog,
e.g. like extruding tiles, related to #1982 in some way).

Some changes:

* New "Source" field and fromTilesets param for ExportSpriteSheet
  command
* New ExportTileset command (which acts like ExportSpriteSheet but
  with fromTilesets=true by default)
* Added --export-tileset CLI option
2022-08-18 14:56:43 -03:00
David Capello 83857ea600 Merge branch 'main' into beta 2022-08-17 22:58:12 -03:00
David Capello 4e12e427ef Rename "checked" -> "checkered" (background, drawing routines, etc.)
Also rename setBgCheckedSize -> setBgStripeSize in case we add new
background patterns (like horizontal/vertical/diagonal stripes, etc.)
2022-08-17 22:19:07 -03:00
David Capello 3c3d2dafe6 Add Area element in the Export window (UI only) (#645) 2022-08-12 17:25:40 -03:00
David Capello 03f9db5121 Move export/import commands to submenus inside File > Export/Import 2022-08-10 11:58:34 -03:00
Gaspar Capello 12e59b887f Add remember new tilemap layer base index (fix #2735) 2022-08-04 14:30:11 -03:00
David Capello 05bf34f084 Merge branch 'main' into beta 2022-08-02 16:48:32 -03:00
Gaspar Capello 55885ee266 Fix regression: TextBox isn't rendering text (doesn't update the bounds area of the text box)
Regression in dd0c296209 (Use
tooltip_text style & color to paint tooltip windows #2554).

Prior this fix, text box does not update its bounds area because it
has not a style assigned.

Fix #3442, fix #3443
2022-08-02 16:39:18 -03:00
David Capello db38a56558 Merge branch 'main' into beta 2022-07-20 16:10:40 -03:00
David Capello 571134c1b4 Add option to apply Saturation/Value to Hue slider in Tint/Shade/Tone optionally
This was changed in df33744c85, but now
we're adding an option to switch between both behaviors. We prefer to
keep the old behavior as the default one and the new one as an
optional preference.

Related to: https://community.aseprite.org/t/15065
2022-07-20 12:47:50 -03:00
David Capello 504fb7b7f8 Fix crash showing user data dialog (revert regression from dd0c296209)
Restored the tooltip_face style as it's used in the user_data.xml popup.
2022-07-20 12:02:07 -03:00
Martín Capello 22de483fc7 Remove "Enter license" menu item when DRM feature is not enabled 2022-07-19 15:43:31 -03:00
David Capello 5ec88ad659 Merge branch 'main' into beta 2022-07-18 16:05:37 -03:00
David Capello f920e9dcb8 New shorter domain for Igara Studio: https://igara.com 2022-07-18 16:01:31 -03:00
David Capello dd0c296209 Use tooltip_text style & color to paint tooltip windows (fix #2554) 2022-07-18 16:00:13 -03:00
David Capello 1912053f33 Merge branch 'main' into beta 2022-07-15 17:30:39 -03:00
David Capello f4e83371b8 Several minor improvements to the status bar
* Remove "%3d" for integers (just use "%d"), this is a legacy format
  when the text was a monospace font (it was present from the very
  beginning of the times, when we used the Allegro font)
* New :delta: icon (before :offset: which didn't exist in the theme)
* Show useful info for MovingCelState: mainly cel bounds
2022-07-15 17:03:18 -03:00
David Capello 8cccad4472 Avoid warnings about URLs in enter_license.xml dialog 2022-06-29 10:58:51 -03:00
Martín Capello 7ec08ca54c Add Aseprite update dialog and fix enter license dialog 2022-06-28 19:16:03 -03:00
Martín Capello 776b97deef Refactor EnterLicense dialog and add license activation handling 2022-06-28 19:13:55 -03:00
Martín Capello 2639c36b2f Create EnterLicense dialog 2022-06-28 19:09:10 -03:00
Martín Capello 588d8027f4 Conditionally compile the license activation code when the ENABLE_DRM flag is defined 2022-06-28 19:09:10 -03:00
Martín Capello 740dd166de Refactor the code to change the "register" dialog for "enter_license" dialog 2022-06-28 19:09:10 -03:00
Martín Capello fcac48cccb Add option to enter Aseprite license key (#2664)
This is an initial version to add an automatic update feature in the
future.
2022-06-28 19:09:10 -03:00
David Capello caf475b2dc Merge branch 'main' into beta 2022-06-15 13:44:34 -03:00
David Capello b7d5d4a2c9 Editable resize factor in File > Export (fix #3007)
Related to #3008
2022-06-15 12:25:43 -03:00
David Capello 05556b30ba Update dark theme: added refresh button for file dialog (fix #3355) 2022-06-02 10:43:15 -03:00
David Capello 77771b703b Merge branch 'main' into beta 2022-05-30 20:41:35 -03:00
David Capello 6ce205e0db Add experimental option to disable shaders for color selectors (#960) 2022-05-30 19:35:01 -03:00
David Capello 684d06ede8 Merge branch 'main' into beta 2022-05-23 18:04:55 -03:00
David Capello 3ac4ca8869 Create a custom widget for UndoHistory (fix #3281)
Several performance issues fixed (as we avoid keeping a ListBox with
ListItem in sync with the UndoHistory/UndoStates). There is still some
room for improvement: e.g. grouping several ui::View::updateView() in
just one if several onAddUndoState() will be called (e.g. when we are
running a script without transactions).
2022-05-23 16:19:06 -03:00
Gaspar Capello 8aff048364 Fix auto show selection edges tool tip (fix #3288) 2022-05-20 08:41:53 -03:00
David Capello ff5afba6ae Merge branch 'main' into beta 2022-05-19 16:55:30 -03:00
Martín Capello feece489fe Fix "Expand menu bar items on mouseover" tooltip (fix #3284) 2022-05-17 09:06:20 -03:00
David Capello 8d2863a58b Merge branch 'main' into beta 2022-05-05 09:57:29 -03:00
David Capello 7fea99a718 Move the "invert wheel for brush size" option to Edit > Keyboard Shortcuts > Mouse Wheel 2022-05-05 09:26:19 -03:00
Thanos Kamber b9dfad6b6b Option invert scrolling direction for brush size (closes #2364)
This commit adds the option to invert if the brush size increases or
decreases when holding CTRL and scrolling as mentioned in the issue #2364

By default, the previous behavior is kept.
2022-05-04 18:48:45 -03:00
David Capello c7827410bd Move the refresh button at the right of the file selector 2022-05-03 16:15:46 -03:00
David Capello a004b7dfe1 Merge branch 'fix-232' of https://github.com/Enfyve/aseprite into Enfyve-fix-232 2022-05-03 15:11:27 -03:00
David Capello 94065571b5 [x11] Add possibility to set a user-defined string to detect styluses (#3176) 2022-04-28 16:33:21 -03:00
David Capello 46626bb5ce Merge branch 'main' into beta 2022-04-13 23:01:12 -03:00
David Capello e4c2995326 Extensions now support defining keyboard shortcuts (#1403, #3239) 2022-04-13 22:46:48 -03:00
David Capello b4d3692927 Add ShowMenu command so the user can customize Alt+top level menu mnemonic shortcuts (#3239) 2022-04-12 22:52:09 -03:00
David Capello 4ce2d1a340 Add option to simulate mouse wheel using key shortcut+drag mouse (fix #3195)
Now we can change several values (zoom, brush size, etc.) pressing a
keyboard shortcuts and dragging the mouse in a specific vector
direction (DragVector). It allows the modification of one, two, or
even more parameters at the same time (e.g. X axis to change the brush
size, Y axis the alpha value of the ink).
2022-03-08 20:40:11 -03:00
David Capello 04fa9a47ab Merge branch 'main' into beta 2022-02-24 16:42:05 -03:00
David Capello b212a24479 Add sampling options to Edit > Preferences dialog too (#3183) 2022-02-21 16:21:07 -03:00
David Capello 5ccf414183 Add options to change the downsampling algorithm (fix #3183)
Also we've restored the default algorithm to bilinear + mipmapping,
which was the default on the Aseprite before we switched to Skia m96.
This was requested by some users.
2022-02-21 15:30:09 -03:00
David Capello 7e76d81fcc Merge branch 'main' into beta 2022-02-18 19:32:33 -03:00
David Capello 631b574c0c [win] Use Windows pointer API and disable wintab32 by default (fix #2785)
This is a long standing issue, Wintab drivers crashes too often and
randomly. We've received 33 crashes from 14 different users so far
from Sentry (without counting the amount of user support we've already
done and special switches, etc.).

More info:
https://www.aseprite.org/docs/wintab/
https://github.com/aseprite/aseprite/issues/2785#issuecomment-1033222868
https://sentry.io/organizations/igara-studio/issues/2928831157/
2022-02-17 10:55:18 -03:00
David Capello ab3bf31c6a Merge branch 'main' into beta 2022-01-06 17:44:43 -03:00
David Capello bc8e1b36eb Update copyright year 2022-01-05 20:45:08 -03:00
David Capello 9d61308bd6 Merge branch 'main' into beta 2021-11-02 14:22:29 -03:00
David Capello 713a2eac80 [win] Add icon for the main window on Windows when DPI scale=150% (fix #3034) 2021-11-01 14:34:24 -03:00
David Capello 5be1727fff Update dark theme with latest changes from the default theme 2021-10-13 10:56:59 -03:00
David Capello 1e57cd267d Merge branch 'main' into beta 2021-10-13 10:42:20 -03:00
David Capello 6dd128d637 Add main_area in debugger window to show only the buttons initially 2021-10-13 10:35:55 -03:00
David Capello d077900fe5 Merge branch 'main' into beta 2021-10-13 10:15:39 -03:00
David Capello 212e9fbe6c New initial Lua debugger version (#1967)
Incomplete version of the Lua debugger.
Some available features:

* Break in next executed instruction
* Step in, over, out
* See & navigate stacktrace
* See local variables

Some missing features:

* Breakpoints
* Eval user expressions with local variables

The UX needs some improvement yet.
2021-10-12 16:52:14 -03:00
David Capello db44eeb269 Merge branch 'main' into beta 2021-10-12 10:45:33 -03:00
David Capello 6e84bb5443 [lua] Ask for permission to open a WebSocket from scripts 2021-10-07 19:37:10 -03:00
David Capello f318a42f19 Merge branch 'main' into beta 2021-09-29 10:16:02 -03:00
David Capello 18bebeaba8 Minor fix in share crash data tooltip 2021-09-23 19:41:40 -03:00
David Capello f6322a1373 Don't show "Aseprite is up to date" when there is no new version 2021-09-23 15:27:09 -03:00
David Capello 0c604ca4ba Ask for consent to share crash data 2021-09-23 15:22:26 -03:00
David Capello a5b41d2630 Merge branch 'main' into beta 2021-08-19 10:34:32 -03:00
David Capello 341408e902 Don't crash when saving palettes to .jpg format (fix #2654)
Now .jpg is not even show in the list of available format to save
palettes (same for other file format that don't support indexed color
mode).
2021-08-18 13:03:38 -03:00
David Capello 8f838ba36d Backport FullscreenMode command (#464)
Original from ae02600a63
2021-07-05 20:11:46 -03:00
David Capello 49bcc69c9a Add stabilizer options for the Lasso tool 2021-06-11 12:07:28 -03:00
David Capello 1fd2e97b8d Add stabilizer (fix #2371) 2021-06-11 09:08:12 -03:00
Gaspar Capello 5f48d77786 Add octree quantization algorithm supports alpha channel
Before this commit, Octree wasn't support alpha channel.
Also the automatic quantization algorithm selection was removed because Octree support alpha channel now.
2021-06-04 10:06:06 -03:00
David Capello 963602444f Merge branch 'main' into beta 2021-05-23 13:16:36 -03:00
David Capello 722ca13b8e Minor changes in slider and timeline cels parts of dark theme 2021-05-22 14:14:32 -03:00
David Capello c99000a2c3 Add theme variants to switch easily between Light/Dark themes 2021-05-22 00:42:36 -03:00
David Capello fd7d31ddc2 Several fixes and modifications to the dark theme 2021-05-21 14:45:31 -03:00
David Capello 83a6797d20 We support the 'í' char in our pixel-art font 2021-05-20 18:38:03 -03:00
David Capello 405c1cfd39 Remove the " Menu" suffix from the palette menu 2021-05-20 17:38:57 -03:00
David Capello 56ae29a9b4 Add different names to SelectPaletteColors and possibility to assign keyboard shortcuts to these items
Now we can assign keyboard shortcuts to the whole Palette menu.
2021-05-20 17:28:32 -03:00
Gaspar Capello 3c6320a4b5 Add select used colors and select used tiles on palette options 2021-05-20 15:59:42 -03:00
David Capello d1dcbcbad0 Show more zoom options in Keyboard Shortcut dialog 2021-05-13 11:07:39 -03:00
David Capello 8e61313f0e Add shortcut for Sprite > Sprite Size 2021-05-13 11:07:25 -03:00
David Capello 8e9dcd76ad Add "New..." submenu to layer menu popup in the timeline 2021-05-11 19:12:19 -03:00
David Capello 69a7faefa2 New default RgbMapAlgorithm to select what could works better at a given time 2021-05-09 20:53:09 -03:00
Enfyve 2394cbe4b2 Fix external folder manipulation (fix #232)
Updates folder upon navigation (up, back, forward, in).

Also introduces a new button to refresh the current folder view when pressed or when hotkey pressed (F5 or ctrl+R)
2021-04-25 19:04:06 -04:00
David Capello ecbd845aae Merge branch 'main' into beta 2021-04-22 14:02:36 -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 de68fddbe7 Merge branch 'main' into beta 2021-04-13 19:12:46 -03:00
David Capello a035f64d8d Simplify About dialog 2021-04-13 19:08:33 -03:00
David Capello a012dac020 Merge branch 'main' into beta 2021-04-12 17:11:28 -03:00
David Capello 8b4746e813 Add option to disable the "open sequence of files" dialog 2021-04-12 16:57:02 -03:00
David Capello 8d6f889e0e Add option to keep the timeline selection when we draw on the canvas 2021-04-12 14:47:47 -03:00
David Capello 8034b0cbcc Add support for multiple native windows (#139, #250, #962, etc.)
Each ui::Window now can have a related native os::Window. This
connection is done through the ui::Display class added recently in
c3d52f0bbe.
2021-03-02 13:50:49 -03:00
David Capello 44437e0d1f Add new ConvertLayer command ("Layer > Convert To" menu item)
Now we have an easy way to convert between:
  Background <-> Layers <-> Tilemaps

Deprecated (they are kept only for backward compatibility):
  BackgroundFromLayer
  LayerFromBackground
2021-02-23 11:32:08 -03:00
David Capello b6987a0262 New "Layer > Convert" submenu
This will be a place to put new options to convert images to tilemaps
and viceversa.
2021-02-22 16:50:31 -03:00
David Capello 289a6ab864 Merge branch 'master' into beta 2021-01-29 12:19:43 -03:00
David Capello 32106512dc Update about/status bar copyright info 2021-01-15 14:46:45 -03:00
Gaspar Capello 61e469d126 Fix tag/slice properties: focus name by default instead of user data 2021-01-15 13:02:17 -03:00
David Capello 045e3ad473 Restore location of ColorQuantization option in the palette menu
Just to avoid confusion right now and to avoid deprecating
documentation in a minor release.
2021-01-15 12:23:10 -03:00
David Capello ee07df6a26 CSS output without vars by default 2021-01-05 15:02:12 -03:00
David Capello b1016a419f Minor formatting changes 2021-01-05 14:43:43 -03:00
David Capello e813773445 Merge branch 'feature-css-export' into css-export 2021-01-05 12:23:57 -03:00
David Capello d3f3858859 Minor change "save_as_preset" -> "saveAsPreset"
This new camelCase style is prefered since the introduction of the Lua
scripting API.
2021-01-05 11:41:26 -03:00
mezz 78fc63c3f8
Organize the palette load/save menu 2021-01-04 09:53:20 -10:00
mezz 98a0bcb2d7
Add palette option to save as preset
This works the same as saving a palette normally, but opens the file dialogue to the default palette preset directory.
2020-12-29 19:56:02 -10:00
David Capello 91628daa9d Merge branch 'master' into beta 2020-12-22 15:48:15 -03:00
Gaspar Capello 116201d8a1 Add custom data to Sprite Properties Window (fix #1306) 2020-12-16 12:40:05 -03:00
David Capello c0ac9208ff Fix layer name for new sprites to match the translation in new layer (fix #2549) 2020-11-27 19:27:13 -03:00
David Capello 26b75bdb57 Add option to specify/modify the tileset name 2020-11-10 17:48:09 -03:00
David Capello eb60ebb2a1 Show color palette/tileset at the same time 2020-11-09 19:29:14 -03:00
David Capello d73a67dde7 Revert "Swap "auto" mode to first place (Space+1) and "manual" to Space+2"
This reverts commit 2d0227e8b2.
2020-11-03 19:02:44 -03:00
David Capello 1c6660e964 Add missing file tileset_selector_window.xml 2020-10-30 21:20:33 -03:00
David Capello 505aa6119a Add option to change the "base index" from the layer properties 2020-10-30 21:11:58 -03:00
David Capello a3286fc20a Minor refactor "first visible index" -> "base index" 2020-10-30 20:58:45 -03:00
David Capello c2e5e69882 Simplify tilesets impl using tile index 0 = an empty tile
In this way we always have an empty tile available in the drawing
process. We've also added the Tileset::firstVisibleIndex field to
change the visible index of the tile 1 so we can offset the visible
number by the user (just as a visual aid / simulate old tilesets with
index=0=non-empty tile).
2020-10-30 16:33:34 -03:00
David Capello 2d0227e8b2 Swap "auto" mode to first place (Space+1) and "manual" to Space+2 2020-10-26 17:58:01 -03:00
David Capello 0b4e24b29d Draw icon for tilemap layers in the tilemap 2020-10-23 17:19:56 -03:00
David Capello f416d0c356 Color adjustments to dark theme by Nicolas Desilets 2020-10-23 15:44:24 -03:00
David Capello bff884b4c8 Merge branch 'master' into beta 2020-10-22 12:18:30 -03:00
David Capello 68c9203880 Add new dark theme contributed by Nicolas Desilets 2020-10-20 17:22:42 -03:00
David Capello 8b1f887720 Show tile numbers when moving tilemaps 2020-10-13 18:12:29 -03:00
Gaspar Capello 13addb4336 UI user data window integration 2020-10-13 11:07:10 -03:00