100 Commits

Author SHA1 Message Date
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
David Capello
2a112f693a Minor refactor in FileOp's format options 2016-06-01 15:01:07 -03:00
David Capello
da856f432e Support frame ranges saving file sequences
Now we can use --frame-tag or --frame-range with --save-as option to
save sequence-like formats (e.g. png, pcx, bmp, one image files).
2016-06-01 14:49:24 -03:00
David Capello
19a43b27ab Minor changes/refactors 2016-05-31 16:53:30 -03:00
David Capello
e0d888d5d7 Show list of output files that will be generated
Added FileOp::getFilenameList() to get the list of files that will be
created when the save document operation is used. It's used to show the
list of files when --preview and --save-as parameters are used in the CLI.
2016-05-31 16:49:24 -03:00
David Capello
221e9bf4fc Add base::normalize_path() 2016-04-11 19:17:39 -03:00
David Capello
fdde32b808 Don't use UI to warn about sequences when --batch and --save-as are used
Fix #1018 introduced in 978145ba7a5ad0b1f2909a6cfa0d1406126985cf
2016-03-17 10:31:33 -03:00
David Capello
07c3853bab Add the correct recent filename after saving a sequence of files 2015-12-22 18:07:06 -03:00
David Capello
978145ba7a Add warning before we save a sequence of bitmaps (fix #902) 2015-12-22 18:00:01 -03:00
David Capello
2f2bd40c84 Replace package name in src/file/file.cpp with PACKAGE macro 2015-12-22 17:55:35 -03:00