Commit Graph

8035 Commits

Author SHA1 Message Date
Martín Capello bcb05d9b3e Disable curl executable build 2021-10-06 18:10:24 -03:00
Martín Capello bf60bb8953 Replace the curl directory by a submodule 2021-10-06 16:06:40 -03:00
Jeremy Behreandt e0a747cad7 Expose Layer Is Reference
Exposes a getter for layer is reference in the Lua scripting API.
2021-10-06 14:04:54 -05:00
David Capello b6d7c1e261 Avoid error running cmake when entering IXWebSocket subdirectory
I don't know why it fails, but it looks like the commands specified to
install the IXWebSocket library are problematic. (And anyway we don't
want to install the library after the compilation process.)
2021-10-04 18:07:28 -03:00
David Capello f8dabfa294 Use portable memcpy instead of memcpy_s 2021-10-04 18:07:20 -03:00
David Capello c1628e4c62 Fix crash clicking combobox scrollbar of dithering matrices in Dynamics popup (fix #2984)
We're trying to access the display() attribute of a kMouseDownMessage
message when the display was already deleted from Manager::_closeWindow.
2021-10-04 15:49:11 -03:00
lampysprites 2628afdfce Remove unneeded Sprite.__gc 2021-10-04 23:15:55 +07:00
lampysprites bf53fa26cd Make onChange callbacks more predictable 2021-10-04 12:17:25 +07:00
lampysprites a90853f765 Extend WebSocket API 2021-10-03 12:52:37 +07:00
lampysprites 4354be1d7a Add CMake option to disable websockets 2021-10-03 12:40:29 +07:00
lampysprites 711741a358 Remove unneeded lua stack pops 2021-10-03 02:22:15 +07:00
lampysprites 28595a410d Clean up sprite observers on lua GC 2021-10-02 22:10:25 +07:00
lampysprites 83c03a3158 Expose site observer to lua API 2021-10-02 20:09:35 +07:00
lampysprites 2aa3fdbd95 Execute websocket callbacks in the ui thread 2021-10-02 18:34:17 +07:00
lampysprites 22e3e6244a Simplify user API for Sprite observers 2021-10-02 16:22:31 +07:00
lampysprites f8ef06a86e Lua API Image:bytes - convert lua Image to data string and back 2021-10-02 14:40:28 +07:00
lampysprites b0f10ee276 Add Websocket client API 2021-10-02 13:57:51 +07:00
David Capello 33595c8bbb Merge branch 'plugin-onenabled' 2021-09-30 15:02:14 -03:00
David Capello b5d230d52f Increment Lua API version 2021-09-30 15:01:57 -03:00
David Capello 1e92f66ff2 Remove trailing whitespace 2021-09-30 14:22:21 -03:00
David Capello 89904afa82 Simplify app::Job implementation
* Remove pointers to base::thread/mutex
* Use std::thread/mutex as values
2021-09-30 14:09:39 -03:00
lampysprites e6aeee6400 Add IXWEbSocket library 2021-09-30 13:13:43 +07:00
Gaspar Capello f32393bb31 Fix Canvas Size w/"Trim content outside" for tilemap layers (fix #2942)
New bounds for tilemap cels weren't calculated correctly when "Sprite >
Canvas Size" with "Trim content outside canvas" option was used.
2021-09-29 16:42:24 -03:00
David Capello 5238bfc7d7 Merge branch 'main' into beta (fix #2970) 2021-09-29 14:54:30 -03:00
David Capello d7ddb7feed Fix changing random values to transparent color for non-indexed sprite from cmd::SetPalette
Possible fix for #2970
Possible regression introduced in dd2d226264
2021-09-29 14:42:55 -03:00
lampysprites 85f3164e21 Expose DocObserver to the scripts 2021-09-29 22:39:01 +07:00
David Capello f318a42f19 Merge branch 'main' into beta 2021-09-29 10:16:02 -03:00
lampysprites 449c158f80 Implement enabledness check for script commands 2021-09-28 14:44:38 +07:00
David Capello 364f62ee4a Merge branch 'sentry' (fix #2857) 2021-09-23 21:09:27 -03:00
David Capello f07dc53d83 Use our anonymous UUID to identify Sentry users 2021-09-23 21:06:19 -03:00
David Capello c6c1393402 Show consent to share crash data only when there are something to share 2021-09-23 20:40:02 -03:00
David Capello 8512ea6f98 Add Sentry license 2021-09-23 19:47:21 -03:00
David Capello 18bebeaba8 Minor fix in share crash data tooltip 2021-09-23 19:41:40 -03:00
David Capello f6322a1373 Don't show "Aseprite is up to date" when there is no new version 2021-09-23 15:27:09 -03:00
David Capello 0c604ca4ba Ask for consent to share crash data 2021-09-23 15:22:26 -03:00
David Capello 6cafec8d06 Move Sentry class impl to a .cpp file 2021-09-23 12:55:30 -03:00
David Capello 775e8f86be Merge branch 'main' into beta 2021-09-23 09:19:23 -03:00
David Capello 515952cf32 Enable Fill/Stroke commands when !ENABLE_UI 2021-09-23 09:18:14 -03:00
Gaspar Capello 4e12f4dcc2 Fix Alt+mouse wheel to scroll through tiles when we are in tiles mode (fix #2956)
Before this fix, Alt+mouse wheel to scroll through tiles didn't work as it did in the color palette.
Also, fixed tile deselection when user removes the focus of the tileset (for example, doing click in the editor).
2021-09-23 09:04:37 -03:00
David Capello f2a68f752f Merge branch 'main' into beta 2021-09-23 08:43:08 -03:00
David Capello 9fe3e40c6a Fix cloning tests/beta when testing aseprite/beta 2021-09-23 08:42:01 -03:00
David Capello 024cd73f62 Change location for crash data (e.g. %AppData%/Aseprite/crashdb) 2021-09-22 19:48:44 -03:00
David Capello 8b215235c7 Minor fix for app-lib flags in CMakeLists.txt file 2021-09-22 18:34:23 -03:00
David Capello 5f9b6f494a Merge branch 'main' into beta 2021-09-22 17:54:57 -03:00
Gaspar Capello 83c18399a4 Fix incorrect cropping rectangle calculation in canvas size command in lua script
Prior to this fix, CanvasSize command via lua script results in bad canvas and image clipping.
2021-09-22 17:40:29 -03:00
David Capello 911589111e Add Sentry as an alternative to handling minidumps manually (#2857) 2021-09-21 11:29:48 -03:00
David Capello f687ddef72 Update laf module 2021-09-16 18:50:06 -03:00
David Capello eb53829629 Clone tests beta branch when running actions for Aseprite beta branch 2021-09-13 10:45:17 -03:00
Joshua Ogunyinka ed8e2c8392 Fix performance issue/lag drawing in 'Auto' mode on a tilemap layer (fix #2877)
We receive a .aseprite example where the tilemap contain some tiles
with huge tile indexes. We don't know why the tilemap was saved with
those wrong values (tile index out of bounds), but it was the cause of
the lag.
2021-09-08 12:04:39 -03:00
David Capello 9e10a1c82c Merge branch 'main' into beta 2021-09-06 18:30:45 -03:00