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
David Capello
6d3623ec26
Add {tagframe} to filename format ( fix #894 )
2015-12-14 16:49:02 -03:00
David Capello
c30112ea10
Convert FileOp into a class
2015-09-29 11:27:00 -03:00
David Capello
ee0aae0e3c
Replace SEQUENCE_IMAGE() macro with add_image() lambda in fop_operate()
2015-09-28 18:49:34 -03:00
David Capello
d6684691bf
Rename PRINTF to LOG
2015-08-28 20:48:49 -03:00
David Capello
0d5ba77ba4
Add support to create palettes for Indexed images ( fix #751 )
2015-08-20 12:37:58 -03:00
David Capello
b35fc87ec1
Add progress bar when a palette is created from a RGB file
2015-07-22 18:26:25 -03:00
David Capello
e9308c2d35
Add alpha channel in quantization (related to #286 )
2015-07-02 11:18:43 -03:00
David Capello
c856faee3e
Add support to load/save smaller palettes in png files
2015-06-30 18:16:10 -03:00
David Capello
8f62baedb3
Add support for 8-bit png files with alpha channel
2015-06-30 18:08:14 -03:00
David Capello
6796e9f9be
Check for palette with alpha channel when we save
2015-06-30 17:41:25 -03:00
David Capello
7a63476a98
Add support to save .ase files with more than 256 palette color entries
...
We've added a new chunk type in .ase files to save palettes with alpha
channel, color name, and palettes with more than 256 colors.
Related to #668 , #467 , and #286
2015-06-30 13:34:55 -03:00
David Capello
85d638097b
Use rendered images to create optimized palette in render::create_palette_from_rgb()
2015-05-21 10:17:59 -03:00
David Capello
a8577a4273
Rename Context::isUiAvailable to Context::isUIAvailable
2015-05-18 17:04:31 -03:00
David Capello
b519901cef
Add support to specify tags in --filename-format option (related to #607 )
...
Now we can use "{tag}" (or "{innertag}") and "{outertag}" in the filename
format.
2015-04-30 17:02:57 -03:00
David Capello
395baa3296
Don't lock for write when we save a document (we just need to read it)
2015-04-20 17:28:10 -03:00
David Capello
0a4e710ad7
Add filename arg to fop_to_save_document()
2015-04-06 12:01:08 -03:00
David Capello
d9259afc04
Fix app::Console() to handle a non UI context correctly
2015-04-06 11:58:42 -03:00
David Capello
22c3c4f20e
Remove implicit SharedPtr conversion to T*
2015-04-02 20:42:43 -03:00
David Capello
3d63e0e1b4
Move SharedPtr to base namespace
2015-04-01 12:35:18 -03:00
David Capello
5ef4cb1460
Change get_readable/writable_extensions() API from char* to std::string
2015-03-17 17:17:01 -03:00
David Capello
2b74549e00
Advise about .ase format when we are going to lose information in Save operation
2015-03-11 16:15:09 -03:00