David Capello
7cce194f71
Add CODEOWNERS file to assign PRs automatically
2019-02-17 23:09:53 -03:00
David Capello
89bf12a60a
Fix arrow keys to move the selection content
...
Regression introduced in 1c05ea10bb
2019-02-15 17:33:48 -03:00
David Capello
798d0e9a08
lua: Add functions to modify the selection (Sprite.selection and Selection.origin)
2019-02-15 17:19:23 -03:00
David Capello
7594ebf25b
Generate selection boundaries automatically after transactions
...
Now Transaction::commit() will regenerate mask boundaries
automatically if in the middle of the transaction the document
selection was modified. This is the first step to finally remove
update_screen_for_document() and any kind of manual screen
refresh.
This will be useful for scripting functions that modify the selection
too, because we wouldn't need to regenerate the selection boundaries
automatically from the script or from app.refresh() Lua function.
Related to #378
2019-02-15 17:14:44 -03:00
David Capello
668b29193a
Remove unused Project-related classes
2019-02-15 15:49:36 -03:00
Gaspar Capello
1c05ea10bb
Fix shift after flip throws error ( fix #1873 )
2019-02-15 11:18:14 -03:00
Gaspar Capello
5cb0adc46a
Fix tga creates Background layer on Load (task #1997 )
2019-02-13 16:19:33 -03:00
David Capello
e0e83f0d40
Add Dialog:file() ( #1997 , fix aseprite/api#7 )
2019-02-13 16:15:04 -03:00
Gaspar Capello
b3eba1c952
Fix unnecessary warning saving TGA ( fix #1830 )
2019-02-12 19:03:07 -03:00
David Capello
ddd7140841
Fix segmentation fault running cli/sheet.sh test from https://github.com/aseprite/tests
2019-02-12 18:28:37 -03:00
David Capello
e670a7a5d6
Move some new raw strings from Import Sprite Sheet .xml to en.ini
2019-02-11 09:52:01 -03:00
David N Campo
bdd4202c35
Add Trim by Grid option in Export Sprite Sheet ( #1926 )
...
This adds the logic and UI part of Trim by Grid feature, the CLI part
is not yet implemented.
2019-02-07 14:07:42 -03:00
David Capello
b8d5e86a8d
Fix PixelIO<doc::RgbTraits>::write_pixel()
...
This is an unused function at the moment (because we have to move the
encoder from ase_format.cpp to the dio module yet).
2019-02-07 12:50:09 -03:00
Gaspar Capello
20aa9992c7
Fix timeline left cel edge bug ( fix #1879 )
2019-01-29 09:31:59 -03:00
Gaspar Capello
d4607e889b
Add Import Sprite Sheet padding ( fix #78 )
2019-01-29 09:10:47 -03:00
David Capello
67e0da478d
Interpret the Extrude option just like one extra inner padding pixel in calculate_sheet_size() function
2019-01-25 15:59:44 -03:00
David Capello
86464bc63c
Fix Best Fit option when Extrude option is checked
2019-01-25 15:57:40 -03:00
David Capello
9a0b0140bf
Update texture size when the Extrude check-box is changed
2019-01-25 15:48:58 -03:00
David Capello
3910e20082
Minor changes in calculate_sheet_size()
2019-01-25 15:44:33 -03:00
David N Campo
6ba71343dc
Calculate sprite sheet size correctly when extrude option is checked
2019-01-25 15:38:53 -03:00
David N Campo
dee2dde520
Remember last user choice of 'Extrude' option in Export Sprite Sheet
2019-01-25 15:37:33 -03:00
David Capello
da6d911d85
Update submodules for some X11 fixes when there is no X11 server running
2019-01-11 21:12:31 -03:00
David Capello
74b2423070
lua: Add "focus" property for Dialog widgets (mainly button and entry)
2019-01-10 16:20:11 -03:00
David Capello
3fddf4dfef
lua: Avoid cmd::SetPalette() when there is nothing to change
2019-01-10 16:19:46 -03:00
David Capello
f1f888a819
lua: Add possibility to change Sprite.filename property
2019-01-10 16:19:11 -03:00
David Capello
d11296af31
Now tests need submodules
2019-01-10 09:51:04 -03:00
David N Campo
cf1711c2af
Add 'Extrude' option to 'Export Sprite Sheet' command ( fix #1890 )
...
Merged #1978 (squashed). The only solved conflict was that now
ExportSpriteSheet use params, so we've added the "extrude" param to
ExportSpriteSheetParams.
2019-01-10 07:49:19 -03:00
Gaspar Capello
3dc76d08c4
Add aspect ratio on status bar ( fix #1769 )
2019-01-10 07:14:01 -03:00
David Capello
e9e28dce19
Fix lua integer -> enum conversion for command params
2019-01-09 20:41:41 -03:00
David Capello
2c58169cbb
Don't open generated sprite sheet if the params specified so
2019-01-09 20:41:29 -03:00
David Capello
9257b9e244
Create all directories for the specified JSON file when exporting sprite sheets
2019-01-09 20:40:59 -03:00
David Capello
9e47b07219
Add TODO for --sheet-type
2019-01-09 20:40:47 -03:00
David Capello
b427969b26
Now we can press Shift+Alt in any order to use subtract mode in selection tools
...
Fixes #1972 , related to #1626
2019-01-09 15:04:25 -03:00
David Capello
f4878c7bb8
Fix check for SpriteSheetType param in ExportSpriteSheet command
2019-01-09 10:16:51 -03:00
David Capello
4dd7febb99
lua: Add support to specify ExportSpriteSheet params
2019-01-08 16:42:01 -03:00
David Capello
271865e13d
Remove unused Command::clone() member function
2019-01-07 17:03:38 -03:00
David Capello
4335f0c728
Add CommandWithNewParams to load command parameters from Lua tables directly
...
With these new classes (Param/NewParams/CommandWithNewParams(Base)) we
can load parameters for commands from a Lua table directly without
converting to a string. So instead of
Lua value -> string -> C++ param type
We can do
Lua value -> C++ param type
directly.
2019-01-07 16:42:55 -03:00
David Capello
496d15c428
Add CanvasSize support for non-UI
2019-01-06 19:12:04 -03:00
David Capello
569b923e2f
Move PaletteSize to the non-UI list of commands
2019-01-06 18:46:00 -03:00
David Capello
34834792e3
Add support to call PaletteSize without UI
2019-01-06 18:25:22 -03:00
David Capello
b7c68579ca
Add link about how to name branches
2019-01-06 13:08:30 -03:00
David Capello
0c7af381a2
Include needed gfx/color_space.h header file
2019-01-03 19:21:38 -03:00
David Capello
0fef9bfa6b
lua: Add ColorSpace class
2019-01-03 17:18:10 -03:00
David Capello
aff3018095
Update copyright year of about/status bar/win32 resource
2019-01-03 09:09:26 -03:00
David Capello
256a6bc2ea
Add the AppMod to modify the main window
2019-01-03 09:07:56 -03:00
David Capello
fed1b19050
Update laf submodule to call XInitThreads()
2019-01-02 12:24:51 -03:00
David Capello
5ea50163f6
Update compilation instructions to avoid user errors
...
Try compiling Release build type and for x64 platforms mainly,
selecting Skia backend explicitly.
2019-01-02 12:22:00 -03:00
David Capello
d8794cc73e
Update INSTALL.md details for macOS ( fix #1963 )
2018-12-28 19:17:54 -03:00
David Capello
f5c0d667c9
Merge branch 'recent-files-improvements' ( fix #578 )
2018-12-23 00:04:49 -03:00
David Capello
84f540ab7f
Drag recent items outside the list to remove them
2018-12-22 23:59:07 -03:00