David Capello
9e23d31d84
Fix crash using Shift key in Pencil tool
...
Bug introduced in f3fd0de3d006f496ce8965c2a9a9ed278940ca84
v1.2.32
2022-01-13 08:43:03 -03:00
David Capello
f3fd0de3d0
Improve detection of one click when using a stylus
...
We can interpret a quick mouse down/up events (e.g. less than 250
milliseconds) as a simple click if the mouse doesn't move too much in
the middle of both events (e.g. a tiny rectangle of 7x7 pixels).
Some discussion about this: https://community.aseprite.org/t/12491/10
2022-01-12 23:23:19 -03:00
David Capello
87e8b45dc1
Fix regression clicking same spot w/Rectangular Marquee to deselect
...
Regression introduced in 26c1a94b833c2e0b56ea6300f8b14e14ada58c62
Reported:
- https://community.aseprite.org/t/12491/1
- https://steamcommunity.com/app/431730/discussions/0/3200371016617015005/
2022-01-12 22:23:26 -03:00
David Capello
8295afbfe2
Update laf module ( fix #3125 )
v1.2.31
2022-01-12 08:23:03 -03:00
David Capello
5b1740cddd
[win] Fix the detection of a crash to report via Sentry
2022-01-11 14:39:52 -03:00
David Capello
de40d53aac
Update laf module
2022-01-11 11:57:36 -03:00
David Capello
8a9206a757
Update laf module
2022-01-10 17:00:58 -03:00
David Capello
817879d700
Fix possible infinite loop reading broken .aseprite files ( fix #3123 )
2022-01-10 17:00:12 -03:00
David Capello
f7a87af0fd
Fix crash using Shift+click on Pencil tool (cherry-picked from ab3bf31c6a0e791befeb030bb01373114f86faec)
2022-01-10 15:59:36 -03:00
David Capello
06cfbd794e
Use DelayedMouseMove for MovingCelState too ( #3119 )
2022-01-06 18:43:12 -03:00
David Capello
26c1a94b83
Group several mouse movement in one on the Editor
...
Mainly for Line-like tools (which require the last mouse position
only). Related to #3119 , possible fix for several performance issues
on Linux mainly.
2022-01-06 16:54:39 -03:00
David Capello
bc8e1b36eb
Update copyright year
2022-01-05 20:45:08 -03:00
David Capello
bc22073a4e
Update laf module
2022-01-05 20:14:56 -03:00
David Capello
02de9be1ab
Rename src/tests/test.h -> src/tests/app_test.h to avoid confusion with observable tests/test.h
2021-12-23 21:38:17 -03:00
David Capello
6836911661
Don't define HAVE_CONFIG_H and include "src" directory globally
...
Avoid using include_directories() and add_definitions() as much as
possible.
This change was made to avoid a problem using HAVE_CONFIG_H on Sentry
breakpad implementation where HAVE_CONFIG_H is used (but our config.h
is different from the expected one in breakpad).
2021-12-22 19:08:43 -03:00
David Capello
3fba303291
Define some variables for Sentry when using curl as transport
2021-12-22 17:03:16 -03:00
David Capello
a7a344339c
Update laf & clip submodules
2021-12-22 17:02:34 -03:00
David Capello
2be9403a48
Rename the Sentry crash handler to aseprite_crashpad_handler ( #2857 )
2021-12-21 13:40:38 -03:00
David Capello
0eef399ab9
Merge branch 'lua-errors'
2021-12-15 20:19:59 -03:00
David Capello
9340ca387d
[lua] Minor change in error messages Websocket -> WebSocket
2021-12-15 20:19:26 -03:00
David Capello
977994765c
Normalize some cmake options from WITH_* to ENABLE_*
2021-12-15 17:47:44 -03:00
Joshua Ogunyinka
f567805591
Fix allowing alpha channel if layer is converted from indexed image ( fix #3073 )
2021-12-15 15:03:57 -03:00
lampysprites
3035d00283
[lua] Show errors that happen inside App.transaction
2021-12-12 19:20:12 +07:00
lampysprites
586b2493f9
[lua] Show more specific websocket errors
2021-12-12 18:57:51 +07:00
David Capello
e7575f2373
[lua] Fix crash using app.ranges.images/editableImages collections ( fix #3069 )
...
We were pushing invalid doc::Image objects to the Lua
stack (push_docobj<Image>) instead of pushing a ImageObj related to
the given cels in the active range.
2021-12-10 22:35:37 -03:00
David Capello
a2328a3793
Restore the previous active DocView when we close the non-active sprite
...
Fixes https://github.com/aseprite/aseprite/pull/2727#issuecomment-852524240
Close #2030 , close #2727 , close #3080 , close #3089
Originally reported in:
https://community.aseprite.org/t/preview-file-to-save-when-closing/2779
2021-12-07 15:45:52 -03:00
MorganDavid
b96d8c8c30
Show user what is about to close ( fix #2030 )
2021-12-07 15:12:48 -03:00
David Capello
de768a020d
Use Skia freetype & harfbuzz when LAF_BACKEND=skia
2021-12-01 18:14:18 -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
ace78af425
Update INSTALL guide with new Skia version ( fix #3062 )
2021-11-19 07:32:49 -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
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 f15589734f6d4400c79574d7142adce0c2dd53c8
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
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
7cc9ea08ba
Use https to get news items and check the latest version
v1.2.30
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