Commit Graph

8119 Commits

Author SHA1 Message Date
Joshua Ogunyinka 174ec28638 Add support for frame-by-frame animation 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka 5df21d96e8 Add support for layer groups 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka 6e00c74f5b Add image processing scanline by scanline using iterators 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka 7745921a2b Optimize image transparency detection 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka e5e9d59e56 Combine onImageScanline into one single function 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka 9a12eb584b Initial to decode PSD files 2021-12-06 15:33:32 -03:00
Joshua Ogunyinka ff851157cc Fix Shift+N behavior (fix #2957) 2021-12-02 17:33:10 -03:00
David Capello 2b57fcaa6c Merge branch 'main' into beta 2021-12-01 18:14:53 -03:00
David Capello de768a020d Use Skia freetype & harfbuzz when LAF_BACKEND=skia 2021-12-01 18:14:18 -03:00
Gaspar Capello b5a787a20f Fix tilemap layers empty after converting color profile (fix #3052)
Before this fix, tilemap layers disappeared after converting the
Sprite's Color Profile in the Sprite Properties dialog.
2021-12-01 17:18:25 -03:00
Joshua Ogunyinka 3c7b344389 Save and retain color profile when saving palettes (part of #2893) 2021-12-01 09:21:02 -03:00
Omar Abdul Aziz b30e64648e [lua] Dialog:modify() now supports combobox options
References:
* https://github.com/aseprite/aseprite/issues/2965#issuecomment-939556356
* https://github.com/aseprite/api/issues/61
2021-11-30 18:59:57 -03:00
David Capello 04fb75a330 Merge branch 'main' into beta 2021-11-19 07:33:44 -03:00
David Capello ace78af425 Update INSTALL guide with new Skia version (fix #3062) 2021-11-19 07:32:49 -03:00
David Capello 693a2c85ff Merge branch 'main' into beta 2021-11-18 13:41:18 -03:00
David Capello d6339f163b Don't make SkinTheme surfaces slices immutable as we re-use them
Each time we refresh the default theme we re-use all slices/surfaces
of the SkinTheme. This could be completely avoided if we were able to
create sub-surfaces from the original sprite sheet (sharing the same
pixels).
2021-11-18 13:37:34 -03:00
David Capello 704c32ca25 Merge branch 'main' into beta 2021-11-17 14:46:48 -03:00
David Capello b5f18921bb Merge branch 'skia-m96' 2021-11-17 14:42:42 -03:00
David Capello 82d93a8697 Update build instructions for Skia m96 & Apple Silicon (#2451) 2021-11-17 12:36:21 -03:00
David Capello f93b33f248 Migrate to Skia m96 API 2021-11-17 12:36:11 -03:00
David Capello a713a88845 [x11] Fix initial black window on Linux
Possible regression introduced in f15589734f
2021-11-17 11:32:15 -03:00
David Capello cc574437fe Update laf module (fix #3055) 2021-11-17 11:16:14 -03:00
David Capello bed6a8d8b1 [lua] Increment API version 2021-11-16 09:08:39 -03:00
David Capello c78af5241b Merge branch 'lua-filename-event' 2021-11-16 09:08:17 -03:00
David Capello c13c521af2 Minor change in style 2021-11-16 09:07:50 -03:00
David Capello 8deb9c46e7 [lua] Fix clipping when drawing an image on a cel image (fix #3054) 2021-11-15 15:53:14 -03:00
Joshua Ogunyinka 12e61d33be [lua] Fix layer iteration when some layer name contains just a number (fix #3045) 2021-11-12 08:13:43 -03:00
lampysprites 67a9c2fe0d [lua] Add "filenamechange" event to Sprite.events 2021-11-11 20:18:44 +07:00
David Capello a0bea17bc0 Avoid continuous redrawing events when moving mouse on Edit > Preferences listbox of sections 2021-11-05 12:41:53 -03:00
David Capello ca252f9f02 Fix creating two ImageView if we specify "file" and "icon" for <image> widget 2021-11-05 12:15:24 -03:00
David Capello 9d61308bd6 Merge branch 'main' into beta 2021-11-02 14:22:29 -03:00
David Capello 43ca34bd35 Refactor updater::getUserAgent() using new base::get_platform() 2021-11-02 14:18:14 -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 932752fa27 Fix macOS glitch flipping dirty rectangles (fix #3032) 2021-11-01 11:20:02 -03:00
David Capello 621bc209ac Merge branch 'main' into beta 2021-10-25 18:29:34 -03:00
David Capello 7cc9ea08ba Use https to get news items and check the latest version 2021-10-25 18:28:40 -03:00
David Capello 6c0842eaa5 Update copyright year in ver/info.c 2021-10-25 18:28:16 -03:00
David Capello 772acd0fac Use native SSL/TLS support on Windows & macOS for libcurl 2021-10-25 18:07:19 -03:00
David Capello c4f2bf79a0 Merge branch 'main' into beta 2021-10-25 17:47:23 -03:00
David Capello 91e8e5cd46 Support scrolling the debugger source code viewport w/the mouse wheel 2021-10-25 17:40:47 -03:00
David Capello 534163ae5f Fix painting issues in the debugger filling the line number column correctly 2021-10-25 17:40:12 -03:00
David Capello 76a815cc2c Merge branch 'main' into beta 2021-10-20 11:53:47 -03:00
Martín Capello c5fccb1499 Add a check to allow exit command execution only when the main window is the currently running 2021-10-20 11:35:54 -03:00
Gaspar Capello f15589734f Fix double-clicking a .aseprite file in macOS Finder doesn't open the file anymore (fix #2985)
More info in: #3006
2021-10-20 11:05:24 -03:00
David Capello ea703a38e6 [lua] Add "fgcolorchange" and "bgcolorchange" events to app 2021-10-19 15:18:13 -03:00
David Capello 4dcdcfe387 Fix deadlock destroying SpriteEvents disconnecting observers onCloseDocument
Instead of using an onDestroy(Document), which can be called from the
ClosedDocs background thread, we can disconnect all Doc observers on a
new onCloseDocument() event called from Doc::close() (from the UI
thread).

This deadlock issue was commented here:
https://github.com/aseprite/aseprite/pull/3009#issue-1029413592
2021-10-19 13:01:37 -03:00
David Capello 246b1930f4 Revert "Avoid deadlock of ClosedDocs and SpriteObserver"
This reverts commit 8c902dd8fc.
2021-10-19 11:56:36 -03:00
David Capello 37a1b4bb84 Merge branch 'interprocessing' 2021-10-19 11:15:33 -03:00
David Capello 5d04eb5a2e [lua] Match WebSocketMessageType constants with the style of all other constants 2021-10-19 11:15:00 -03:00
David Capello 5c30315611 Avoid std::bad_function_call if we don't specify an onreceive callback for the WebSocket 2021-10-19 11:12:15 -03:00