Commit Graph

6429 Commits

Author SHA1 Message Date
David Capello
3be5fe03dc Remove unused member function from SkinTheme 2018-11-15 11:26:48 -03:00
David Capello
178849a7c8 Add theme dimension for the size of bars (hue, alpha, etc.) in the color selector 2018-11-15 11:22:30 -03:00
David Capello
329c50bc2c Add some theme dimensions to customize context bar and color bar size 2018-11-15 11:08:45 -03:00
David Capello
2029e029a6 Add option for custom checked background grid size 2018-11-15 10:07:40 -03:00
Gaspar Capello
b3771472c3 Add default info on status bar (fix #1874) 2018-11-14 18:04:26 -03:00
David Capello
7f68d5f2e8 lua: add Rectangle:contains/union/intersect(s) functions 2018-11-14 16:52:44 -03:00
David Capello
76718f59d5 lua: add Sprite.bounds property 2018-11-14 16:52:26 -03:00
David Capello
bdf3b25209 lua: add app.apiVersion property 2018-11-13 22:31:14 -03:00
David Capello
5bba827924 lua: image:clear() without args must clear w/image.spec.transparentColor 2018-11-13 21:38:03 -03:00
David Capello
c91d4b1430 lua: Rename ColorMode.GRAYSCALE to ColorMode.GRAY 2018-11-13 21:04:31 -03:00
David Capello
e2935dab64 lua: new Image:clear() function 2018-11-13 20:27:39 -03:00
David Capello
840a14652f Fix the Image.DiffRgbImages test
Comparing two RGBA pixels with different RGB but Alpha=0 must be
true (because Alpha=0 means both color are totally transparent, RGB
values doesn't matter).
2018-11-13 15:32:38 -03:00
David Capello
b388aef6e0 lua: rename Image:putImage/Sprite -> Image:drawImage/Sprite 2018-11-13 12:59:36 -03:00
David Capello
98f8086b04 lua: Fix Image:putSprite() when position is specified 2018-11-13 12:53:13 -03:00
David Capello
dea603753b lua: Add Image:isEqual() 2018-11-13 12:52:51 -03:00
David Capello
d20436f957 Fix performance issues on macOS with Retina display
Related to:
https://community.aseprite.org/t/temporal-fix-to-slow-aseprite-performance-on-macos-and-retina-display/2085
2018-11-12 14:25:58 -03:00
David N Campo
f6bb446031 Combination of CLI args results in jumbled layer order (fix #1644)
- The order is fixed because we now iterate a LayerList (a
  std::vector) instead of a SelectedLayers (a std::set)
- This can be an issue each time we iterate over a std::set (and
  SelectedLayers is a std::set) because it depends on the specific STL
  impl details (which vary depending on msvc/clang/gcc compiler).
- This fix iterates over layers, no matter if are visible or not
  (SelectedLayers::toLayerList() returns only browseable layers)
2018-11-12 09:06:59 -03:00
David Capello
0c86d9bb5c Update INSTALL instructions
Removed VS2015 instructions and add links to some extra instructions
to start the command line and install C++ tools.
2018-11-12 08:40:57 -03:00
David Capello
c657038b1a Support --ignore-empty for --save-as (fix #551) 2018-11-07 16:56:32 -03:00
David Capello
e13d424ced lua: All functions that receive an integer, can receive a number too (with math.floor() conversion) 2018-11-05 17:26:18 -03:00
David Capello
17496c8630 Support NewFrame when ENABLE_UI is not defined 2018-10-31 17:36:22 -03:00
David Capello
2adfcf8829 lua: app.activeFrame returns a Frame object now 2018-10-31 17:18:09 -03:00
David Capello
d32d8bf938 Fix color problems with overlays (fix #1914)
There were two problems:
1) Overlays weren't using the screen color space, so restoring the
   pixels were modifying the original saved area
2) A custom cursor (when "Use native cursors" option were enabled) was
   using overlays, when we could use a native custom cursor
   anyway (without overlays)
2018-10-31 11:10:44 -03:00
David Capello
b36d3b09e2 Update laf module 2018-10-29 10:26:19 -03:00
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