Commit Graph

10331 Commits

Author SHA1 Message Date
Martín Capello d15b585d03 Fix crash applying filters (fix #4928)
The program was crashing when applying a filter that as a result
removed the current cel
2025-01-21 16:30:46 -03:00
David Capello dd654ca2aa Minor change in FilenameField::updateWidgets() logic
Asking for m_entry != nullptr first as it was before.
2025-01-21 16:23:11 -03:00
David Capello 1d3e262576 Remove unnecessary ; at the end of member function definitions 2025-01-21 16:18:52 -03:00
David Capello 5e469e7f33 Merge branch 'show-output-folder' into beta (fix #4483, #4873) 2025-01-21 16:02:51 -03:00
Dominic Bowden 3aa403d597 Fix invalid tileset cache after color remap
Before this fix changing a color palette and then remapping it would not
invalidate a tileset's cache. Immediately saving to the .aseprite format
after this would use the stale cache data instead of the current sprite
data.
2025-01-21 11:44:47 -03:00
Christian Kaiser 2d0143caea Use the environment bash to avoid using bash 3 on macOS 2025-01-18 19:21:13 -03:00
Liebranca 66d827f6b1 Add checkbox to selected option for FilenameField::onBrowse() menu 2025-01-14 12:56:04 -03:00
Liebranca 57fe1e40a9 Add 'basepath' string option to 'Dialog:file{}'
Allows the user to specify which folder the filename is relative to.
2025-01-14 12:52:31 -03:00
Liebranca 45a183945e Add 'edit_full_path' to preferences for FilenameField 2025-01-13 14:04:18 -03:00
Liebranca 0fbaaf3d82 Fix incorrect path displayed on 'Relative To' option 2025-01-13 13:55:00 -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
David Capello 9779470d0e Update modules 2025-01-10 11:46:42 -03:00
Thorbjørn Lindeijer db4f80ea91 Fixed zlib include dir when Aseprite is used as sub-project
For the Qt "qaseprite" image plugin, we're using Aseprite as git
submodule so that we can link to its laf, dio and render libraries.

In this case, `CMAKE_BINARY_DIR` refers to the build directory of
qaseprite. We need to use `CMAKE_CURRENT_BINARY_DIR` instead, which
always refers to the right location for the generated `zconf.h`.
2025-01-10 11:29:09 -03:00
Liebranca cb5163c742 Add Relative/Absolute path options to ExportFileWindow 2025-01-09 17:11:27 -03:00
David Capello 5e6927ed4e Update laf module 2025-01-09 17:10:11 -03:00
David Capello ee80dddf89 Merge branch 'main' into beta 2025-01-09 16:53:39 -03:00
David Capello e5e1c746a6 Update laf module 2025-01-09 16:50:50 -03:00
David Capello f46ff23b89 Clear selection cursor/eraser brush edges when closing the Editor (fix #4922)
This is a special case where the cursor was still visible on the
screen (the UILayer on the Display) and the Editor/Doc was closed
without any confirmation. So we have to explicitly hide/remove the
UILayer from the Display when the BrushPreview is destroyed.
2025-01-09 12:01:33 -03:00
David Capello 8e3d15584c Reset the window position of FXs too (fix #4921) 2025-01-08 15:49:51 -03:00
David Capello c58cdc9992 [lua] Fix showing real script filename when asking for clipboard access (rather than "internal") 2025-01-08 14:26:27 -03:00
David Capello 1950abc8d8 [lua] Ask for read or write access for the clipboard API 2025-01-08 13:27:42 -03:00
David Capello e7037ac225 [lua] Fix "invalid access request" error using app.fs.makeDirectory() 2025-01-08 13:08:14 -03:00
Christian Kaiser 83a345600f get_script_filename fix, ask_access return value fix 2025-01-08 12:35:20 -03:00
Christian Kaiser 4b2d98506f Renamed "mask" to "selection" for Lua consistency, fixes 2025-01-08 12:35:20 -03:00
Christian Kaiser d7aa121b29 Fix accepting bad arguments, tests, avoid crashing when copying tilesets 2025-01-08 12:35:20 -03:00
Christian Kaiser 4359b835ab Fix test failures (WIP), content error when trying to add image & text 2025-01-08 12:35:20 -03:00
Christian Kaiser 55b3e3c41c Clipboard access check, content 2025-01-08 12:35:20 -03:00
Christian Kaiser 7331398203 Add app.clipboard Lua API 2025-01-08 12:35:20 -03:00
David Capello 7e4607d7fb ShaderRenderer: Fix shader code to render indexed images 2025-01-08 12:18:47 -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
David Capello 2106c18f63 [lua] Update scripting API version to 31 2025-01-07 11:50:18 -03:00
Christian Kaiser 3fbfc525d1 Use Version object for .version 2025-01-07 11:34:42 -03:00
Christian Kaiser 38bfd465ef Add .version and .displayName to Lua Plugin table 2025-01-07 11:19:21 -03:00
Gaspar Capello 8cad288635 Fix dialog title issue with close button (fix #4735)
The Title Label Widget is now limited so it doesn't overlap the
decorative mini buttons.
2025-01-07 10:41:00 -03:00
Martín Capello 20b92ca745 Fix timeline drawing issues (fix #3678) 2025-01-07 10:23:31 -03:00
Martín Capello dedfdce705 Fix toolbutton_last image (fix #4719) 2025-01-07 10:16:19 -03:00
Gaspar Capello ebc4624d59 Fix recent files/folders repeating items (fix #4851)
Prior to this fix, duplicate folders and files were displayed on
the Home tab. Additionally, paths were sometimes not well-formed and
included "/.." strings.

Regression introduced in #4389
2025-01-07 09:53:53 -03:00
David Capello f5bff8ae4b Merge branch 'main' into beta 2025-01-06 17:07:22 -03:00
David Capello 673f07494b Update laf module 2025-01-06 17:04:24 -03:00
David Capello 1d3bacebcc [ci] Install required libfontconfig1-dev dependency 2025-01-06 16:59:11 -03:00
David Capello 2aa0f3be51 Fix condition to filter out items for Command/Action key lists (#4894)
I introduced this bug when amended ff0dfb8331
2025-01-06 16:57:34 -03:00
Gaspar Capello ff0dfb8331 Fix regression: empty Edit > Keyboard Shortcuts > Action Modifiers (fix #4893) 2025-01-06 16:30:32 -03:00
David Capello 9a8ca35086 Minor fix to call validateYesButton() when "reset_toggle" is pressed 2025-01-06 14:53:17 -03:00
Christian Kaiser 039bdda695 Improve preference resetting: window, brushes and preserve uuid 2025-01-06 14:51:09 -03:00
Martín Capello 2f2f522108 Replace raw pointer by unique_ptr (fix #4852) 2025-01-06 13:06:31 -03:00
Martín Capello da76c8a0fb Revamp and fix DropOnTimeline command (fix #4858)
This might fix the following crashes as well:
ASEPRITE-2QF
ASEPRITE-2QB
2025-01-06 13:04:23 -03:00
Martín Capello 62d9318196 Replace use of ** for *& in output parameters 2025-01-06 12:59:04 -03:00
Christian Kaiser 943654dfe2 Do not call beforeViewChange on setMainPanelAsActive to avoid duplicates 2025-01-02 18:05:15 -03:00