Commit Graph

4774 Commits

Author SHA1 Message Date
David Capello
0f3252a80b Add CopyMerged command (Ctrl+Shift+C) (fix #824) 2016-05-17 12:59:48 -03:00
David Capello
fda9abce33 Fix problem initializing SkiaDisplay with an invalid surface size on OS X
This problem happened when Aseprite is run for the very first time on OS X
(i.e. without an aseprite.ini file in the user configuration directory),
as the final size of the created window might be different (smaller) than
the given width/height parameters in the SkiaDisplay constructor.
2016-05-17 12:19:53 -03:00
David Capello
61a933bee2 Abort http requests when we quit the program 2016-05-17 12:14:01 -03:00
David Capello
18a901a5cf Add doc::ImageSpec type 2016-05-13 17:08:07 -03:00
David Capello
cf380ab1a2 Fix selection feedback when we have foreground/background color w/alpha=0 (fix #1133) 2016-05-13 16:00:19 -03:00
David Capello
035916dce3 Fix memory leak on RecentListBox 2016-05-11 13:21:55 -03:00
David Capello
94e56ad97a Fix spray and jumble tools (fix #1130) 2016-05-11 13:14:52 -03:00
David Capello
4f97970b98 Remove unused variable in ExpandCelCanvas 2016-05-11 13:00:25 -03:00
David Capello
0ad2af8eb1 Fix usage of some uninitialized variables 2016-05-11 13:00:02 -03:00
David Capello
e68eebda1c Fix memory leak on cmd::TrimCel 2016-05-11 12:59:32 -03:00
David Capello
8b242bdf06 Fix memory leak loading images for a ImageView widget 2016-05-11 12:58:27 -03:00
David Capello
736f63132b Fix red/blue tint for black/white colors (fix #1125) 2016-05-10 13:19:16 -03:00
David Capello
c12100dedb Reduce the patched region with ExpandCelCanvas when we have the source image to compare with 2016-05-10 11:06:55 -03:00
David Capello
cee3c246bb Add cmd::PatchCel to reduce undo space after a ExpandCelCanvas 2016-05-10 10:47:48 -03:00
David Capello
8c88365418 Fix size calculation for Cmd with a std::stringstream 2016-05-10 10:37:42 -03:00
David Capello
d13862599e Use base::get_pretty_memory_size() to show undo item memory size 2016-05-10 10:37:39 -03:00
David Capello
1e0fd35413 Add cmd::CropCel and implement cmd::TrimCel using it 2016-05-10 10:37:16 -03:00
David Capello
3369d902d9 Show each undo step size when Aseprite is compiled in debug mode 2016-05-09 17:50:57 -03:00
David Capello
1b802aba9e Update src/gfx/README.md 2016-05-09 17:50:53 -03:00
David Capello
71060e74da Add gfx::Region in forward declarations (gfx/fwd.h file) 2016-05-09 17:50:39 -03:00
David Capello
2d632339e0 Fix crash creating a new brush from an empty cel using right-click 2016-05-09 15:53:55 -03:00
David Capello
6a1a9556ae Fix crash copy & paste one frame in its previous frame position
This should fix #1101 too.
2016-05-09 15:47:09 -03:00
David Capello
036cb8b523 Add a little check in DocumentApi::copyCel() in release mode 2016-05-09 15:45:59 -03:00
David Capello
095078ad04 Fix crash when a WM_DDE_INITIATE is received from a native ANSI window 2016-05-09 12:50:53 -03:00
David Capello
31116ff424 script: add Sprite.colorMode property and ColorMode constants 2016-05-07 19:44:11 -03:00
David Capello
e03f34688e script: add Sprite.selection 2016-05-06 20:13:32 -03:00
David Capello
34ebf07118 Fix warning ptr <-> bool conversion in MoveMaskCommand::onEnabled() 2016-05-06 16:52:56 -03:00
David Capello
76eca942f0 script: Sprite.crop() works with selection or x,y,w,h params 2016-05-06 16:52:29 -03:00
David Capello
207bc6c98b script: add Sprite.select/selectAll functions 2016-05-06 16:52:07 -03:00
David Capello
5665ac848d script: add className to Context::pushThis() 2016-05-06 16:51:07 -03:00
David Capello
af7c6e0fa9 script: Add app.exit() function 2016-05-06 16:49:43 -03:00
David Capello
d21e7770d6 Merge branch 'scripting' 2016-05-06 16:35:49 -03:00
David Capello
160418daea Fix pasting screenshots/clipboard content in 32bpp on Windows 2016-05-06 09:09:47 -03:00
David Capello
dbb3cee178 Update version to 1.1.6-dev 2016-05-05 23:23:09 -03:00
David Capello
ccabc9ad01 Fix arrow keys to move selection (fix #1120) 2016-05-05 23:20:34 -03:00
David Capello
20c78f32c6 Fix static_assert() error on gcc and clang 2016-05-05 23:12:55 -03:00
David Capello
ed14c56455 Merge branch 'master' 2016-05-05 23:00:12 -03:00
David Capello
29f0371558 Fix flipping images when cel bounds aren't equal to sprite bounds (fix #1119) 2016-05-05 22:54:04 -03:00
David Capello
53500c1990 Restore cleared area correctly when cel position is modified (fix #1109) 2016-05-05 21:46:23 -03:00
David Capello
6556f97b8c Try to directly add a trimmed image in the undo history instead of calling TrimCel 2016-05-05 15:40:37 -03:00
David Capello
ad9df5df02 Remove unused variable 2016-05-05 15:26:37 -03:00
David Capello
8b0977cdc3 Optimize doc::algorithm::shrink_bounds() a little 2016-05-05 15:26:19 -03:00
David Capello
975c1bd0a5 Remove reference to the old raster::Dirty object 2016-05-05 15:25:19 -03:00
David Capello
b2d14b3ce9 Remove comment 2016-05-05 15:24:45 -03:00
David Capello
2dbb50cc23 Fix exception text in doc::crop_image() 2016-05-05 15:18:50 -03:00
David Capello
64e8e2f5cc Merge pull request #1115 from dvlpstrcrispin/patch-1
Fixed an unnecessary quotation mark in the OSX building instructions.
2016-05-04 20:39:03 -03:00
Crispin Hitchings-Anstice
01201b260b Fixed an unnecessary quotation mark in the OSX buliding instructions.
In line 168, there was a quotation mark at the end of the line that was causing Bash to expect the user to finish the string, not letting it finish reading the command and compile. It works fine without it, and seems to be a typo.
2016-05-05 11:19:26 +12:00
David Capello
eec2904974 Fix crash when we press Del key to completely delete a cel 2016-05-04 18:58:36 -03:00
David Capello
a2712d440d Fix instructions to compile Skia on OS X 2016-05-04 18:40:41 -03:00
David Capello
98ba8df343 Update libpng library 2016-05-04 12:43:41 -03:00