10040 Commits

Author SHA1 Message Date
Martín Capello
91b3603193 Add fitCriteria parameter test 2025-02-10 17:37:57 -03:00
Martín Capello
5e40e5544e Refactor and add fitCriteria parameter (fix #4781)
The refactor is about making ChangePixelFormatCommand to inherit from
the CommandWithNewParams class instead of the Command class
2025-02-10 17:37:57 -03:00
Martín Capello
739ae95b34 Set doc format options at single file loading 2025-02-05 14:41:51 -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 v1.3.13-beta1 2025-01-28 10:08:32 -03:00
David Capello
bbe656c856 Missing #include to use color_t in get_sprite_pixel() v1.3.12 2025-01-28 10:05:31 -03:00
David Capello
bab775393e Update laf module 2025-01-28 09:32:04 -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
e66df8da12 Fix skew with pivot on right side of selection (#4823) 2025-01-23 11:45:17 -03:00
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 v1.3.12-beta1 2025-01-07 12:34:49 -03:00
David Capello
ea000719ab Update copyright year to 2025 v1.3.11 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