David Capello
116420f978
Put the button to delete backup sessions far away from the button to recover sessions
2019-11-29 11:07:17 -03:00
David Capello
aec82eccb2
Add recent file and folder after exporting sprite sheet ( fix #2202 )
2019-11-29 10:12:21 -03:00
David Capello
a85368c6c2
win: We need psapi to show memory info when ENABLE_DEVMODE is defined ( fix #2205 )
2019-11-28 12:18:16 -03:00
David Capello
52d4818196
Fix crash of cli_tests using copies of AppOptions instances
2019-11-26 17:57:02 -03:00
David Capello
d5e167fc37
Fix crash in case we copy & paste data between 32-bit <-> 64-bit versions of Aseprite
...
For example, this is common when an user installs Aseprite
trial (which is distributed in 32-bit) and then installs the full
64-bit version (e.g. using the installer instead of the portable
version).
2019-11-26 16:45:23 -03:00
David Capello
f3dfc8ab50
Fix flicker during playback when the backup thread starts working
...
This includes a new version of RWLock that allows several
reader locks + a weak lock (the weak lock is used in the
backup thread). In this way the backup thread is not stopped
or canceled when we have just to read the sprite to render it
on the editor.
Regression introduced in 165940164218d8ad10c43f39d08f0559e859098d
2019-11-26 15:54:28 -03:00
David Capello
27f96d6c01
Fix outline_filter.h include guards
2019-11-25 12:01:23 -03:00
David Capello
19a101543e
Add required ImageTraits from dio/pixel_io.h when compiling with modules feature
2019-11-25 11:43:32 -03:00
David Capello
c06fbdf346
Use doc::rgba() to avoid confusion with gfx::rgba()
...
I was testing the Clang modules feature, and this is necessary if we
enable modules because it looks like "gfx/color.h" is included in some
way from this file too.
2019-11-25 11:41:59 -03:00
David Capello
2d79834b1f
Remove unused type in app_options.cpp
2019-11-25 11:40:49 -03:00
David Capello
94dcaf8008
Don't export sprite sheet image on preview or after cancel
v1.2.16.2
2019-11-20 12:18:15 -03:00
David Capello
a668ecbda3
Update laf module
v1.2.16.1
2019-11-19 17:54:55 -03:00
David Capello
a60fea2e5f
Don't include untagged frames in the export when we use split tags option
2019-11-19 11:22:09 -03:00
David Capello
f6dea3dfbf
Remove unused vars
2019-11-15 16:24:35 -03:00
David Capello
6777c2f34b
Add ui::Widget::kCutTopWindowsAndUseChildArea flag
2019-11-15 16:22:44 -03:00
David Capello
0b6f2d4e8f
Update flic module (fix crashes loading invalid FLIC files)
2019-11-15 11:29:55 -03:00
David Capello
da37bec54d
Fix unused var on release compilation
2019-11-15 10:46:37 -03:00
David Capello
b5b450afba
Fix crashes using deleted items from the file selector navigation history ( fix #2192 )
...
Now if we detect that a folder doesn't exist anymore, we remove the
item from the navigation history to avoid having a pointer to an
invalid IFileItem.
2019-11-15 10:44:43 -03:00
David Capello
c1d5c94e22
Disable forward button correctly when the file selector is opened
2019-11-14 17:55:13 -03:00
David Capello
497eb97067
Minor refactors in ui/file_selector.cpp
2019-11-14 15:36:56 -03:00
David Capello
89999bb53b
Update laf module to fix bug rendering embedded bitmaps in fonts
...
Reported here:
https://steamcommunity.com/app/431730/discussions/0/1637549649109737917/
2019-11-14 12:46:30 -03:00
David Capello
bc96cd00fb
Fix warning about signed vs unsigned comparison
2019-11-14 12:37:50 -03:00
David Capello
8c2a99f952
Add option to reset symmetry to the center ( fix #2195 )
2019-11-11 15:47:21 -03:00
David Capello
5ac07c0823
Fix pressing buttons with Alt+mnemonic or Cmd+mnemonic (regression introduced in 536a4c5d3aedccb4f24c5a5e28324ddad7638e18)
2019-11-05 10:46:47 -03:00
David Capello
d6c6b00b32
Now using -script from CLI can return an error code (exit code != 0)
2019-11-01 15:04:22 -03:00
David Capello
a20d55a0aa
Add -sheet-columns and -sheet-rows CLI parameters
2019-11-01 14:55:52 -03:00
David Capello
c2acc973ee
Add support to show multiple sections in Export Sprite Sheet
2019-10-29 16:37:06 -03:00
David Capello
f43f7e2ada
Use latest Export Sprite Sheet used params when the document doesn't have preferences
2019-10-29 11:22:14 -03:00
David Capello
002abc9245
Don't set preferences with latest defaults if there is an existent .ini file for the sprite
...
Might fix: https://community.aseprite.org/t/grid-for-new-documents/3303
2019-10-29 11:19:53 -03:00
David Capello
31efa1ce0f
Minor changes in Export Sprite Sheet
2019-10-29 10:34:03 -03:00
David Capello
9461c5d02c
Don't allow call Exit command (e.g. Cmd+Q on macOS) when there is a foreground window
...
The same for drop files, we've disabled dropping files when there is a
foreground window (at least temporarily to avoid strange UI states).
2019-10-29 10:31:12 -03:00
David Capello
8a499ae175
Initialize Width/Height/Columns/Rows fields correctly in Export Sprite Sheet
2019-10-29 10:12:50 -03:00
David Capello
c0dfd76114
Change Export Sprite Sheet dialog with a tab-like UI
2019-10-26 13:24:27 -03:00
David Capello
ad12ec4a0d
Export Sprite Sheet: Select old sprite tab when the preview is unchecked
2019-10-25 14:40:21 -03:00
David Capello
ae9a8128be
Don't duplicate meta data (tags/slices) when -split-layers is used ( fix #1582 )
2019-10-24 19:55:42 -03:00
David Capello
4bafbe461a
Don't include empty samples in the sprite sheet when the whole sprite is trimmed
...
We have to include at least one pixel for each sample.
2019-10-24 19:01:48 -03:00
David Capello
a74cec6369
Use "By Rows" as the default sprite sheet type in Export Sprite Sheet
2019-10-24 19:01:18 -03:00
David Capello
3bb4ab4a75
Fixed default sprite sheet type used by -sheet in the CLI to "rows"
...
Older versions of Aseprite used the rows as a default type (not
horizontal), because if we specified -split-layers, each layer would
have its own row.
2019-10-24 15:09:50 -03:00
David Capello
11da527490
Don't show the app on the dock bar when we run tests from the terminal
2019-10-24 14:59:22 -03:00
David Capello
f76585fbb8
macOS: Don't activate app in batch/terminal mode
2019-10-24 13:44:36 -03:00
David Capello
ea5e67b0ea
Merge duplicate cels in SimpleLayoutSamples (not only linked cels)
2019-10-24 13:12:22 -03:00
David Capello
926accf7c7
Split layers/tags explicitly on export sprite sheet when the options to split layers/tags are used
...
This is mainly useful when we want to include the "{tag}" in the JSON
data but we don't want to split tags in the sprite sheet
layout (e.g. using a fixed # of rows in "By Rows" sprite sheet type
without breaking rows when the tag change between a couple of
samples).
2019-10-24 08:55:11 -03:00
David Capello
446e7055e9
Fix MSVC compilation of libarchive: Don't use /WX (-Werror)
2019-10-23 21:10:19 -03:00
David Capello
13d042f346
Add options to merge duplicates/ignore empty cels in Export Sprite Sheet
2019-10-23 21:09:56 -03:00
David Capello
0a2d5e171b
Fix crash previewing Export Sprite Sheet in certain cases
2019-10-23 20:15:09 -03:00
David Capello
d6efddee92
Cache trimmed bounds calculation on DocExporter
...
The cache of the whole sprite trimmed bounds makes sense only in the
UI preview mode.
2019-10-23 15:55:08 -03:00
David Capello
c228b36699
Update laf module
2019-10-23 14:51:22 -03:00
David Capello
a0b389e87a
Delete old cel of previewed sprite sheet ASAP
2019-10-23 14:51:08 -03:00
David Capello
258f85aafb
"horizontal" must be the default sprite sheet type (as in old versions)
2019-10-23 14:49:28 -03:00
David Capello
b6fce0b1df
Print to stdout from DocExporter only in CLI mode
2019-10-23 14:48:18 -03:00