Commit Graph

6505 Commits

Author SHA1 Message Date
David Capello 86f2847cfb Update laf module 2018-10-29 09:51:37 -03:00
Gaspar Capello 7564fee319 Added basic svg save support (fix #934) 2018-10-26 16:12:54 -03:00
David Capello 2a5fa78f56 Add selection modes to "Select > Color Range" command (fix #765) 2018-10-26 16:08:31 -03:00
David Capello 3a77321597 Add "intersect" selection mode
Discussions:
https://community.aseprite.org/t/intersectional-selection/801
https://community.aseprite.org/t/feature-request-intersect-with-selection-tool/1797
2018-10-26 14:04:08 -03:00
David Capello b27c685d70 lua: Add app.activeTag 2018-10-26 10:52:40 -03:00
David Capello 967c819a18 Add GotoFirst/LastFrameInTag commands 2018-10-26 10:29:42 -03:00
David Capello 88acf951cc Add "Select Layer & Move" right click option 2018-10-26 10:01:25 -03:00
David Capello 254a866b9f Fix compilation when ENABLE_UI is not defined 2018-10-26 08:50:13 -03:00
David Capello 57651e6192 Fix problem with brush preview edges 2018-10-25 20:31:31 -03:00
David Capello 6542008aef Fix bug where the palette weren't updated on the screen after converting the sprite color space 2018-10-25 17:29:32 -03:00
David Capello 4487c3d35f Check that we're calling the Widget::invalidate() from the ui thread 2018-10-25 17:29:07 -03:00
David Capello 43a603cea9 Update color profiles from image sprites in Sprite::setColorSpace()
This is needed for cmd::AssignColorProfile() to change the color space
of all images when we update the color space of the sprite.
2018-10-25 17:28:03 -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 d80d79d160 Fix file_tests.cpp segfault 2018-10-25 12:27:06 -03:00
David Capello 5e99635c69 Loading/saving documents now need preferences to handle color spaces 2018-10-25 11:45:33 -03:00
David Capello ed19f8ed88 Support to convert gray images between color spaces 2018-10-24 08:39:23 -03:00
David Capello c0326f7d6b Use working color space to draw ColorSliders (#1576) 2018-10-23 16:16:03 -03:00
David Capello 6ca0ecf193 Don't convert colors if color management is disabled (#1576) 2018-10-23 16:15:31 -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 a4d8fc52bf Manage color profiles (fix #1576) 2018-10-19 15:30:30 -03:00
David Capello f2739d89f1 Fix #1889: Now {tagframe} can be used in --filename-format for the filenames in a --data sheet 2018-10-11 17:00:48 -03:00
David Capello bccd3f1bf8 lua: add Dialog() 2018-10-11 12:01:21 -03:00
David Capello f72e28a18c Remove unused variables 2018-10-10 09:52:46 -03:00
David Capello c1f8f6a1cd Add dependencies to compile Aseprite on Ubuntu/Debian 2018-10-10 09:51:01 -03:00
David Capello a13385a081 Fix timeline scroll behavior when we are moving frames or layers
Minor change to e8977bb6a3 for #1780
just to avoid scrolling frames if we are moving only layers or
viceversa (don't scroll layers if we are moving frames).
2018-09-18 22:54:53 -03:00
David Capello 7984e0beb8 Fix crash when we apply a filter that removes a cel 2018-09-18 09:37:00 -03:00
David Capello 5b6c35aa86 lua: add Layer.parent/previous/next properties 2018-09-18 09:36:42 -03:00
David Capello 38f3c668b6 Flattening one image layer will flatten all layers anyway
(the same is not true for groups)
2018-09-18 09:24:52 -03:00
David Capello a138f2bce6 lua: add more properties to Layer metatable 2018-09-18 00:21:40 -03:00
David Capello b0eea5cc50 Add possibility to flatten visible/selected layers (fix #1226)
Discussion:
* https://github.com/aseprite/aseprite/issues/1226
* https://community.aseprite.org/t/wish-flatten-selected-layers/163
2018-09-18 00:19:24 -03:00
David Capello d840fcadc0 Add new AAP-RadiantXV palette
Published here: https://twitter.com/AdigunPolack/status/1039884732413165574 thanks to Adigun Polack
2018-09-17 15:44:16 -03:00
David Capello 22f172c932 Fix crash deleting a tag that is being played in the Preview window
Fix: https://community.aseprite.org/t/consistent-crashing-when-deleting-loop-tag/1984
2018-09-17 15:41:28 -03:00
Gaspar Capello c05c3dad43 Enhancement canvas mirror sides (fix #1826) 2018-09-17 15:08:26 -03:00
David Capello 9b259a7a43 Add an (optional) alert before running a script 2018-09-17 14:59:44 -03:00
David Capello f6e3aa9fd8 Add security dialog to access files from scripts 2018-09-17 13:14:56 -03:00
David Capello aed23f4751 lua: use the active EngineDelegate::onConsolePrint() in print() function
This is needed to output print() messages in the DevConsoleView when
it's open.
2018-09-14 20:38:27 -03:00
David Capello b4b232b10f Update submodules 2018-09-14 20:34:59 -03:00
David Capello eb56884677 lua: use our base::open_file_raw to open files from io lib funcs 2018-09-13 16:55:53 -03:00
David Capello 4a35e20adf lua: fix Sprite:saveAs() to avoid using the UI 2018-09-13 12:28:11 -03:00
David Capello 99d7a434d4 lua: remove Sprite:save()
At the moment we will remove this function because it makes more sense
to use saveAs() from scripts.
2018-09-13 12:27:48 -03:00
David Capello 2b3e386d15 Load Scripts menu before loading keyboard shortcuts
In this way we can see the keyboard shortcuts to run scripts when the
menus are loaded for the first time.
2018-09-13 11:56:39 -03:00
David Capello 6108d2d5ad lua: add missing get_image_from_arg() function 2018-09-13 11:53:41 -03:00
David Capello 415a37ade0 lua: Add Cel.image property setter 2018-09-13 11:50:45 -03:00
David Capello ded3b8ba77 lua: add Image:putSprite() 2018-09-13 11:50:30 -03:00
David Capello bd33333f15 lua: add Palette() ctor to copy palettes 2018-09-13 11:50:04 -03:00
David Capello be8f026b91 lua: the Color(integer) ctor behavior will depend on the active color mode 2018-09-13 10:54:44 -03:00
David Capello fdac96153b lua: fix app.fg/bgColor to get the color value with convert_args_into_color() 2018-09-13 10:53:43 -03:00
David Capello fe9f8bc468 Add option to disable the alert about drawing with fg/bg index out of bounds 2018-09-13 10:53:14 -03:00
David Capello 195c74ec11 lua: add Frame.__eq 2018-09-12 18:37:17 -03:00
David Capello ce9f064438 lua: add support to use ipairs() with some collections (sprites/tags/slices/layers/frames/cels) 2018-09-12 18:36:41 -03:00