David Capello
ee6b4d4d09
lua: Add possibility to compare two ImageSpec
2018-12-06 12:13:31 -03:00
David Capello
259733e87d
Fix is_empty_image() function using the maskColor in Indexed mode
2018-12-06 11:24:13 -03:00
David Capello
313498b8c8
Update laf module ( fix #1921 )
2018-12-06 11:11:57 -03:00
David Capello
7c2038e7b5
Adjust line algorithm depending on each case ( fix #1944 , #1894 , #1395 )
...
Related to this bug report:
https://community.aseprite.org/t/1045
2018-12-05 22:56:20 -03:00
David Capello
8106aeee44
lua: Fix Frame.from/toFrame properties (return a Frame instead of an integer)
2018-12-04 17:58:47 -03:00
David Capello
f6a2090ed9
Fix bug losing the ui::DIRTY flag from the ui::Manager after closing a fullscreen ui::Window
2018-12-04 17:44:21 -03:00
David Capello
0a179acc90
Minor change in Widget::invalidate*() funcs to use onInvalidateRegion()
2018-12-04 17:32:01 -03:00
David Capello
4790e3845a
Fix regression introduced in 767897d6650cf5ea625611569d6123715d599d0d
...
In some cases we have to enable the DIRTY flag in the hierarchy.
Reproducible case: right-click a tab with an image, open in a folder,
then right-click the tab again.
2018-12-04 12:54:40 -03:00
David Capello
e3dc8fa3a6
Minor change
2018-12-04 12:51:56 -03:00
David Capello
dcf4f70a73
Update laf module
2018-12-04 11:44:49 -03:00
David Capello
81e1b5a41c
Update pixman and disable DEBUG checks in region code
2018-12-04 11:43:59 -03:00
David Capello
2ffb708be8
Move Manager::invalidateDisplayRegion() to Manager::onInvalidateRegion()
2018-12-03 23:59:42 -03:00
David Capello
767897d665
Set DIRTY flag on Widgets without going to all parents
2018-12-03 22:16:00 -03:00
David Capello
9c33a556eb
Add instructions in INSTALL file to compile Skia with Clang
2018-12-03 17:45:31 -03:00
David Capello
107840874b
Update laf to fix #1942
2018-12-03 17:39:28 -03:00
David Capello
16c583917d
Fix issues with multiple monitors and different color profiles on Windows and macOS ( fix #1913 )
2018-12-03 15:04:55 -03:00
David Capello
6bdde193f3
Don't limit the minimum windows size of the Preview window when we restore its bounds
...
Fixes https://community.aseprite.org/t/960
2018-11-29 11:44:10 -03:00
David Capello
4fb260d265
lua: Add Dialog.bounds property
2018-11-29 09:46:37 -03:00
David Capello
ca6d038af3
lua: Add support to use app.activeFrame with a Frame object
2018-11-28 12:05:17 -03:00
David Capello
e516d26fa8
Fix glitch showing/hiding Preview window with the toolbar button on sprites with canvas size > Preview window viewport
2018-11-28 12:02:57 -03:00
David Capello
95247255ac
Redraw the whole screen after FullscreenPreview
2018-11-28 10:35:51 -03:00
David Capello
9af7366662
Fix bug redrawing the area occupied by the window when it's destroyed
2018-11-28 10:35:13 -03:00
David Capello
0ab7f45c35
Update ui/README file
2018-11-28 10:34:35 -03:00
David Capello
93c357a87e
Take care of some special cases of extensions with __info.json inside
2018-11-28 10:31:02 -03:00
David Capello
a38a23e2e5
Add support to drag-and-drop .aseprite-extension files into the main window
2018-11-28 10:30:33 -03:00
David Capello
d1fb49ba83
lua: Cel/Palette.frame return a Frame and added Cel/Palette.frameNumber
2018-11-27 15:04:05 -03:00
David Capello
32e29b8ea7
lua: Add Image.cel property
2018-11-27 14:58:22 -03:00
David Capello
56b31c8308
Flash correct Timeline layer row when a group folder is clicked
2018-11-27 11:55:44 -03:00
David Capello
aceec4e4d8
lua: Add app.refresh() function
2018-11-27 10:24:13 -03:00
David Capello
e63187a5f6
Save keyboard shortcuts dialog layout
...
From: https://community.aseprite.org/t/2276
2018-11-26 18:46:13 -03:00
David Capello
42fa197b42
Save/load timeline layer panel width to/from preferences file
...
From: https://community.aseprite.org/t/2276
2018-11-26 17:04:16 -03:00
David Capello
aea8e9cd83
Fix combobox size hint when using some user themes
...
From: https://community.aseprite.org/t/2276
2018-11-26 16:46:02 -03:00
David Capello
23059c6309
Clear console text even when we close it with ESC key
2018-11-26 16:02:50 -03:00
David Capello
865e0d7ee6
Add some separators for session date and time
...
From: https://community.aseprite.org/t/2276
2018-11-26 13:26:11 -03:00
Gaspar Capello
c1b61fedbf
Added svg pixel size dialog ( #1911 )
2018-11-26 12:44:48 -03:00
David Capello
ba0a16cf34
Minor change in Sprite Properties to fix Transparent Color tooltip location
2018-11-26 12:42:58 -03:00
David Capello
5a340898b1
lua: Don't allow negative dimensions in Sprite:resize()
...
Fixes https://github.com/aseprite/api/issues/5
2018-11-24 13:21:35 -03:00
David Capello
165cd3bdf0
lua: Use active cel info in Range when there is no timeline range enabled
...
With this change we can always use app.range collections (e.g. app.range.editableImages)
for our filters in the scripts.
2018-11-23 16:08:49 -03:00
David Capello
2f76cbe15c
lua: Fix Range_contains() when we ask for the first frame (which is doc::frame_t=0 internally)
2018-11-23 16:07:42 -03:00
David Capello
ed7209e7c6
lua: Return the correct frame in Frames_index() when the FramesObj is created from Range.frames
2018-11-23 16:06:58 -03:00
David Capello
d3de65c9dd
lua: Fix memory leak when using Range.frames
2018-11-23 16:06:21 -03:00
David Capello
3211bc67b1
lua: Fix may_get_docobj() when the object is not of the expected type
2018-11-23 14:26:29 -03:00
David Capello
44205c8121
lua: Fix Range:contains(Frame)
2018-11-23 14:26:12 -03:00
David Capello
bf916fe029
lua: Add Range and RangeType
2018-11-23 13:10:12 -03:00
David Capello
ecec485fe6
lua: Add Site.frameNumber
2018-11-22 15:05:21 -03:00
David Capello
61225b318a
lua: Add support to load relative paths with dofile()
2018-11-21 17:42:47 -03:00
David Capello
f7a07b5a09
lua: Call Dialog button onclick callback with protected lua_pcall()
2018-11-21 17:42:12 -03:00
David Capello
a340b481d7
Run Console in foreground so Enter key can close the window (instead of sending keys to the MainWindow)
2018-11-21 13:10:47 -03:00
David Capello
5fbba368f0
lua: Fix Sprite.selection when it is not empty but invisible
2018-11-21 13:10:21 -03:00
David Capello
7029e05dc4
lua: Avoid crashes executing transactions without an active sprite
...
This is true even for background Dialogs with buttons that will
try to create a transaction for a nil app.activeSprite.
With this change we introduced a new way to handle the app::Console window,
it'll be alive almost the entire execution of the program (so if we
close it, it's hidden, but then will appear in the same location if
it's open again, and the text is cleared).
2018-11-20 19:42:53 -03:00