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
David Capello
219b32d1d6
Fix unused variable warning in Release mode
2018-11-20 18:19:44 -03:00
David Capello
34d1906034
lua: use ObjectId to refer doc objects from script variables
...
This should fix several crashes using objects in invalid ways where
the object doesn't exist anymore (e.g. an undo deleted referenced
objects in scripts).
2018-11-20 18:12:43 -03:00
David Capello
eeec66f307
Minor change ImageRef::reset(nullptr) -> reset()
2018-11-19 23:35:45 -03:00
David Capello
4e29e07eee
Sort items in Scripts menu by file name and move Open Script Folder item at the bottom (with a separator)
2018-11-16 17:46:54 -03:00
David Capello
3c2d02a7c7
Do not list files/dirs that start with a dot (.) in the Scripts submenu
2018-11-16 15:18:19 -03:00
David Capello
d8b95c30e8
Add option to disable double-click to select a grid tile ( fix #1901 )
2018-11-15 19:17:19 -03:00
David Capello
9b2889ef66
Fix issue with overlays on macOS w/the new async painting ( fix #1931 )
...
Fixed regression introduced in d20436f957
.
Now overlays are kept on the screen and the overlapped area is restored
just in time when we have to re-paint some widget on that area.
2018-11-15 15:42:50 -03:00
David Capello
52e2585c2c
Remove unused pal_edit theme part/slice
2018-11-15 12:14:16 -03:00
David Capello
8fe58f0ee4
Calculate ColorSelector border automatically
2018-11-15 11:41:16 -03:00
David Capello
3be5fe03dc
Remove unused member function from SkinTheme
2018-11-15 11:26:48 -03:00
David Capello
178849a7c8
Add theme dimension for the size of bars (hue, alpha, etc.) in the color selector
2018-11-15 11:22:30 -03:00
David Capello
329c50bc2c
Add some theme dimensions to customize context bar and color bar size
2018-11-15 11:08:45 -03:00
David Capello
2029e029a6
Add option for custom checked background grid size
2018-11-15 10:07:40 -03:00
Gaspar Capello
b3771472c3
Add default info on status bar ( fix #1874 )
2018-11-14 18:04:26 -03:00
David Capello
7f68d5f2e8
lua: add Rectangle:contains/union/intersect(s) functions
2018-11-14 16:52:44 -03:00
David Capello
76718f59d5
lua: add Sprite.bounds property
2018-11-14 16:52:26 -03:00
David Capello
bdf3b25209
lua: add app.apiVersion property
2018-11-13 22:31:14 -03:00
David Capello
5bba827924
lua: image:clear() without args must clear w/image.spec.transparentColor
2018-11-13 21:38:03 -03:00
David Capello
c91d4b1430
lua: Rename ColorMode.GRAYSCALE to ColorMode.GRAY
2018-11-13 21:04:31 -03:00
David Capello
e2935dab64
lua: new Image:clear() function
2018-11-13 20:27:39 -03:00
David Capello
840a14652f
Fix the Image.DiffRgbImages test
...
Comparing two RGBA pixels with different RGB but Alpha=0 must be
true (because Alpha=0 means both color are totally transparent, RGB
values doesn't matter).
2018-11-13 15:32:38 -03:00
David Capello
b388aef6e0
lua: rename Image:putImage/Sprite -> Image:drawImage/Sprite
2018-11-13 12:59:36 -03:00
David Capello
98f8086b04
lua: Fix Image:putSprite() when position is specified
2018-11-13 12:53:13 -03:00
David Capello
dea603753b
lua: Add Image:isEqual()
2018-11-13 12:52:51 -03:00
David Capello
d20436f957
Fix performance issues on macOS with Retina display
...
Related to:
https://community.aseprite.org/t/temporal-fix-to-slow-aseprite-performance-on-macos-and-retina-display/2085
2018-11-12 14:25:58 -03:00
David N Campo
f6bb446031
Combination of CLI args results in jumbled layer order ( fix #1644 )
...
- The order is fixed because we now iterate a LayerList (a
std::vector) instead of a SelectedLayers (a std::set)
- This can be an issue each time we iterate over a std::set (and
SelectedLayers is a std::set) because it depends on the specific STL
impl details (which vary depending on msvc/clang/gcc compiler).
- This fix iterates over layers, no matter if are visible or not
(SelectedLayers::toLayerList() returns only browseable layers)
2018-11-12 09:06:59 -03:00
David Capello
0c86d9bb5c
Update INSTALL instructions
...
Removed VS2015 instructions and add links to some extra instructions
to start the command line and install C++ tools.
2018-11-12 08:40:57 -03:00
David Capello
c657038b1a
Support --ignore-empty for --save-as ( fix #551 )
2018-11-07 16:56:32 -03:00