109 Commits

Author SHA1 Message Date
David Capello
d32fd97da5 Replace base::SharedPtr with std::shared_ptr
We can remove our smart pointer (base::SharedPtr) as we're already
using C++11 compilers on all platforms.
2019-08-01 19:16:16 -03:00
David Capello
f789506428 Accept a valid case of FileOp() without preferences (for file_tests) 2019-06-04 12:25:02 -03:00
David Capello
f430b9ce77 Avoid accessing Preferences from background thread when loading preset palettes 2019-06-04 10:58:19 -03:00
David Capello
9c98f9c4df Don't use Preferences to get default slice color in background thread
Continuation of 673e1955fa10e8ce643c80f64c439852b543f62a
2019-04-01 15:01:16 -03:00
David Capello
98a660a06b Fix rendering of active sprite when color management is disabled 2019-04-01 14:11:06 -03:00
David Capello
673e1955fa Don't use Preferences in background threads 2019-04-01 13:19:42 -03:00
David Capello
9a75d01efe Improve the File Selector adding new view types: list, small icons, big icons (fix #451) 2019-03-25 22:09:22 -03:00
David Capello
db348ea3b5 Fix problem adding new error lines in FileOp when \n are not used correctly 2019-03-11 12:01:52 -03:00
Gaspar Capello
f53544842c Fix non-normal blend modes when the backdrop is transparent (fix #1096) 2019-03-09 12:40:31 -03:00
Gaspar Capello
b3eba1c952 Fix unnecessary warning saving TGA (fix #1830) 2019-02-12 19:03:07 -03:00
David Capello
eeec66f307 Minor change ImageRef::reset(nullptr) -> reset() 2018-11-19 23:35:45 -03:00
David Capello
c657038b1a Support --ignore-empty for --save-as (fix #551) 2018-11-07 16:56:32 -03:00
David Capello
81965b904f Use current working color space in new created files
* Added the gfx::ColorSpace field in doc::ImageSpec
* Removed some methods like Sprites::add(width, height, etc.)
* Prefer methods with ImageSpec as argument (which now includes the color space)
2018-10-25 15:23:01 -03:00
David Capello
ccae016878 Add options to load/save/convert/assign color profiles correctly (#1576) 2018-10-23 15:03:38 -03:00
David Capello
f2ed45e795 Replace base::UniquePtr -> std::unique_ptr 2018-08-08 17:27:26 -03:00
David Capello
9c79ea2b77 Rename app::Document -> Doc 2018-07-07 11:54:44 -03:00
David Capello
598f69d2e0 Create all intermediate directories required for --save-as (fix #1492) 2018-06-28 15:44:59 -03:00
David Capello
e025d1a40a Improve widget class generator including only required .h files
Instead of including "ui/ui.h" we can include the specific header file
for the used widgets in the .xml widget.
2018-06-08 15:52:10 -03:00
David Capello
76915c7cb0 Automatically increase the canvas size if bigger images are loaded in a sequence (fix #1719) 2018-05-24 15:37:01 -03:00
David Capello
139c5aac49 Add flag to compile CLI-only (fix #1279)
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI
and compile a CLI-only version of Aseprite.

Requested here too:
https://community.aseprite.org/t/1351
2018-05-07 00:11:50 -03:00
David Capello
589d775d10 Add AniDir parameter to Export dialog (fix #1505) 2018-03-16 08:59:34 -03:00
David Capello
d36179ae2a Fix critical bug saving files with frame tags without name (fix #1675) 2018-03-14 17:03:25 -03:00
David Capello
dee6ff6c7e Refactor: Use new base::paths type for list of filenames/extensions 2018-02-21 11:06:58 -03:00
David Capello
d4244fed48 Add options to avoid showing dialogs saving files (#917) 2018-02-07 17:28:01 -03:00
David Capello
a9b183729f Translate all alerts to the en.ini file (#124) 2017-10-17 18:00:45 -03:00
David Capello
43db106db0 Rename docio to dio 2017-09-22 15:57:38 -03:00
David Capello
80c61ca926 Export slice data in .aseprite-data file (#721) 2017-04-12 12:35:13 -03:00
David Capello
2c0d0d3682 Add --slice and --split-slice CLI params (#721) 2017-04-11 18:45:51 -03:00
David Capello
2c2f29b87a Set default color for slices loaded from .aseprite-data 2017-03-26 21:49:48 -03:00
David Capello
347ccfbb78 Add --list-slices CLI option 2017-03-16 10:35:26 -03:00
David Capello
9f76136876 Use std::string instead of char* in several places
This is useful to avoid creation of std::strings from const char* several times when it's not really needed.
2017-03-15 23:59:19 -03:00
David Capello
f7cf65b245 Move <cursors> to <parts> on theme.xml
For this the "pivot" property was added to doc::SliceKeys.
2017-03-14 19:00:24 -03:00
David Capello
643cad5c97 Add basic implementation of slice tool (#721) to modify theme parts
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
2017-03-06 19:27:43 -03:00
David Capello
f57c298ad6 Merge branch 'master' into beta 2016-11-29 12:15:25 -03:00
David Capello
1b736aef85 Improve UX when opening file sequences
* Now we can select the specific files that are part of the sequence
* New checkbox do the same for all dropped files (fix #1284)
2016-11-15 18:11:47 -03:00
David Capello
5c3f75c64b Merge branch 'master' into beta 2016-11-07 18:17:42 -03:00
David Capello
ce6c85996e Update laf library (base/path is gone, use base/fs) 2016-11-01 19:14:05 -03:00
David Capello
c60e0b915c Merge branch 'master' into beta 2016-10-27 13:00:57 -03:00
David Capello
cc18334c5a Changes in LOG/TRACE messages 2016-10-27 12:25:33 -03:00
David Capello
693a68844c New docio-lib to detect file format by content (fix #776) 2016-10-26 19:37:42 -03:00
David Capello
c38e4149e7 Fix --save-as with --frame-tag or --frame-range 2016-09-19 12:39:53 -03:00
David Capello
3e9e49caf9 Allow to save specific layers/frames in Save Copy As (fix #1080) 2016-09-17 01:01:28 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
5ecc356a41 Replace GPL license with the new EULA 2016-08-29 13:08:21 -03:00
David Capello
f838b8787e Merge branch 'beta' into layer-folder 2016-07-07 12:47:42 -03:00
David Capello
36ffc8d2bd Merge branch 'master' into beta 2016-07-06 15:46:22 -03:00
David Capello
71d2a2e2e7 Minor changes in some comments 2016-07-05 11:44:58 -03:00
David Capello
2f91122c26 Rename layer folder/set -> layer group 2016-06-07 19:38:56 -03:00
David Capello
a478efd616 Add support to use --frame-tag and --frame-range at the same time 2016-06-06 17:47:47 -03:00
David Capello
617afaed78 Centralize default filename format computation
Use get_default_filename_format() to get the default filename format on
all cases.
2016-06-06 13:57:35 -03:00