Commit Graph

4754 Commits

Author SHA1 Message Date
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
David Capello
5d8af3ca36 Trim (or remove) cels automatically (when they are completely empty) (fix #559, fix #1111) 2016-05-04 12:32:39 -03:00
David Capello
5ce7f24463 Add tooltip to paint bucket settings button in context bar 2016-05-04 10:06:21 -03:00
David Capello
1b715010bd Add tooltip to "new frame" button in status bar 2016-05-04 10:04:32 -03:00
David Capello
97d9b3cb31 Go to frame field in status bar isn't focused by default anymore (fix #1113) 2016-05-04 10:00:54 -03:00
David Capello
5b51e281d3 Fix warnings between double <-> int conversion 2016-05-04 09:36:05 -03:00
David Capello
0f3dea233b Fix problems using paint bucket referring to all layers and cels origin != 0,0
With this change we've simplified several portions of the ToolLoop code
where the "cel origin" is added and then subtracted needlessly.
2016-05-04 00:02:56 -03:00
David Capello
065ad4f1dc Fix blur ink: avoid adding dark pixels when opacity < 255 (fix #708) 2016-05-03 17:00:50 -03:00
David Capello
5b2c162a6d Remove double #include 2016-05-03 16:38:59 -03:00
David Capello
b60b76ff22 Add option to show layer edges 2016-05-03 16:23:38 -03:00
David Capello
6dc9bb984d New option for paint bucket using all layers as reference/stop fill (fix #969) 2016-05-03 15:31:27 -03:00
David Capello
aededaaeab Merge branch 'master' 2016-05-03 12:43:51 -03:00
David Capello
7d24d7cc82 Merge pull request #1062 from RomainGiraud/master
Fix error when decoding GPL file
2016-05-03 12:42:24 -03:00
David Capello
382aad635c Update clip version 2016-05-03 10:41:57 -03:00
David Capello
640025e84b Fix selection UX to show white/black negative for the stroke
With this patch now we can use the selection tool in locked or hidden
layers, because the selection doesn't modify the layers (only the
selection). Also we can use the selection tool on any layer and we'll
always see the feedback stroke/shape/rectangle while we're creating
the new selection.
2016-05-02 18:42:02 -03:00
David Capello
d838cbf91b Key modifiers now disable the 'moving' action on selection (fix #1105)
Now we can move the selection only using the default selection mode
(even when it's subtract mode). With this is easier to add new regions
starting the selection from the inside of the active selection.
2016-05-02 13:33:29 -03:00
David Capello
d9604d9905 Fix bug not returning to default selection mode from subtraction after releasing Alt+Shift 2016-05-02 13:24:30 -03:00
David Capello
53683579b8 Disable assert in BrushPreview::clearPixelDelegate
This assert fails too often and we prefer to show some data
to try to fix it in a near future instead of showing an assertion
dialog on Windows or closing the whole app.
2016-05-02 13:04:31 -03:00
David Capello
00c7cb7e54 Fix removing original accelerators that are before a new accelerator (fix #1104) 2016-05-02 13:03:04 -03:00
David Capello
918acb6bc8 Don't focus context bar when we use selection behavior modifiers (fix #1103) 2016-05-02 12:25:51 -03:00
David Capello
c99a187256 Use clip library to copy & paste images/custom data
With this change we finally support copy & paste images into the OS X
pasteboard. (Fix #925, fix #533, fix #172.)
2016-04-29 20:42:05 -03:00