Commit Graph

10162 Commits

Author SHA1 Message Date
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
Christian Kaiser 8c6fe820b9 clang-format 2025-01-02 18:05:15 -03:00
Christian Kaiser 747518173d Fix corner cases and duplicate events, comments 2025-01-02 18:05:15 -03:00
Christian Kaiser 21ec694822 Enable and improve beforesitechange event (fix #4785) 2025-01-02 18:05:15 -03:00
Gaspar Capello 912af16453 Fix locking a layer reverts changes (fix #4586) 2025-01-02 16:57:52 -03:00
David Capello 62b67b02b1 Add missing dependencies to link filters-lib 2024-12-26 20:20:14 -03:00
David Capello b2e8cfc88f Merge branch 'main' into beta 2024-12-26 16:13:08 -03:00
David Capello 8ec836c727 Update laf module 2024-12-26 16:07:18 -03:00
David Capello cb7549e43c [clang-tidy] Disable misc-include-cleaner 2024-12-26 16:06:09 -03:00
David Capello 7fb8cfc8fa Avoid including image impl details as much as possible (image_impl/bits/iterator.h)
Including doc/image.h should be enough to access/iterate the image
pixels.
2024-12-19 09:44:37 -03:00
Ryan Carsten Schmidt 71654e4b8e Add USE_SHARED_TINYEXIF option
See #4843

When this option is enabled, it requires a version of TinyEXIF newer
than 1.0.2 (which is the latest version that has been released),
specifically the change in cdcseacave/TinyEXIF@d75f772. The request to
release a new version of TinyEXIF is cdcseacave/TinyEXIF#18.
2024-12-18 09:43:15 -03:00
David Capello 9f552598ff Minor fixes in coding style guide 2024-12-18 08:41:51 -03:00
David Capello 11184b453f Update coding style guide with new clang-format rules 2024-12-18 08:35:20 -03:00
David Capello c5dd58654b Revert changes to close all docs before destroying the MainWindow
Merged run()/close() member functions again to close all docs before
destroying MainWindow even in case of an exception, using RAII
idiom (this fixes some failing tests/benchmarks).

Fixes a failing ASSERT() in ~DocObserverWidget().

We've fixed some issues resetting the ui::Theme to nullptr when we're
shutting down the App to run a new unit test later. This avoids using
a freed theme pointer.
2024-12-17 17:29:10 -03:00
David Capello 27fbc4b9d7 Merge branch 'main' into beta 2024-12-17 14:17:46 -03:00
David Capello daecb2001b Add .git-blame-ignore-revs file
This file can be used with --ignore-revs-file param or
blame.ignoreRevsFile config to ignore global formatting changes which
don't help to use git-blame.
2024-12-17 14:08:12 -03:00
David Capello 43aa0b9e86 Merge branch 'main' into beta 2024-12-16 14:54:17 -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 35c7f5bc4e Merge branch 'main' into beta 2024-12-16 10:03:31 -03:00