Commit Graph

6115 Commits

Author SHA1 Message Date
David Capello
0f51467768 Fix my common typo "completelly" instead of "completely" 2018-05-24 14:21:00 -03:00
David Capello
a845b098d9 Minor changes in ui/system.cpp 2018-05-24 13:12:01 -03:00
David Capello
40968891f2 Add option to disable native clipboard
This is related to #1100, as the Linux port is not well tested and may
fail, it's good to have an option to disable the native clipboard code
just in case.
2018-05-24 12:56:07 -03:00
David Capello
218a0863c3 Minor formatting changes 2018-05-24 11:48:42 -03:00
David Capello
d917ab7c53
Merge pull request #1736 from Gasparoken/fix-buggy-timeline
Fix timeline glitch playing linked frames (fix #1705)
2018-05-24 11:15:37 -03:00
Gaspar Capello
fd53e373b6 Fix timeline glitch playing linked frames (fix #1705) 2018-05-24 10:55:58 -03:00
David Capello
22e2145d65 Add clipboard support in Linux/X11 (fix #1100) 2018-05-23 17:20:52 -03:00
David Capello
c8c12700e5 win: Fix compilation w/Allegro backend (fix #1730) 2018-05-23 15:20:11 -03:00
David Capello
139c5aac49 Add flag to compile CLI-only (fix #1279)
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI
and compile a CLI-only version of Aseprite.

Requested here too:
https://community.aseprite.org/t/1351
2018-05-07 00:11:50 -03:00
David Capello
c221685c44
Merge pull request #1718 from Gasparoken/fix-pivot-standbyState
Fix clickable pivot pos in StandbyState (fix #1608)
2018-05-03 12:01:47 -03:00
Gaspar Capello
a7c7e82aa8 Fix clickable pivot pos in StandbyState (fix #1608)
Also reported in https://community.aseprite.org/t/pivot-point-doesnt-recalibrate-when-setting-its-direction/1228
2018-05-03 11:39:01 -03:00
David Capello
160209cb25 Fix flags to compile Skia on macOS which fixes exception handling
On Clang/macOS we cannot mix projects compiled with -fno-rtti that use
std::__throw_bad_weak_ptr() function and expect to catch
std::runtime_error as an std::exception in our project (compiled with
-frtti).

Real fix to crash in c59f03a7a0 and other
crash like moving a layer below to the background, and maybe a lot of
other cases where exceptions are used.

Example of this bug: https://gist.github.com/dacap/7ddffbe401eb42620de397e47edfcc76
2018-04-28 11:58:34 -03:00
David Capello
41b97cde40 Update laf and clip modules 2018-04-28 11:48:37 -03:00
David Capello
b986c742cd Test catching std::exception when move_range() fails
It looks like we're having problems catching std::runtime_error as
std::exception on Clang/macOS. So we'll test catching the more generic
exception which is the same that we do in timeline.cpp
2018-04-27 13:31:14 -03:00
David Capello
c667b029ae Minor change in document_range_tests.cpp 2018-04-27 13:30:56 -03:00
David Capello
a40bc9d683 Update laf module 2018-04-27 10:13:32 -03:00
David Capello
3ddb3d054b
Merge pull request #1710 from Gasparoken/auto-show-selection-edges
Add option to disable auto show selection edges (fix #1614)
2018-04-20 11:34:46 -03:00
Gaspar Capello
dd82f6bbcc Add option to disable auto show selection edges (fix #1614) 2018-04-20 10:56:27 -03:00
David Capello
2bca629193 Update to Skia version m67
Aseprite can be compiled with m62, m65, and m67 now.
It looks like the Skia API is more stable now.

Discussions:
https://community.aseprite.org/t/compiling-aseprite-on-macos-high-sierra-10-13-4/1290/6
https://community.aseprite.org/t/error-with-compile-skia-mac-os/1267/8
2018-04-20 09:15:21 -03:00
David Capello
a95f95a734 app::ExtraCel::destroy() function doesn't exist 2018-04-18 17:03:04 -03:00
David Capello
a507951871 doc: Update copyright year 2018-04-18 16:57:20 -03:00
David Capello
4873d8d799 doc: Remove SpritesObserver 2018-04-18 16:56:02 -03:00
David Capello
44a920b444 Include base/base.h (and debug.h) for SGN/MID (and ASSERT) 2018-04-16 11:17:51 -03:00
David Capello
de25f286b4 Include pixman header file with "..." instead of <...>
To avoid clang error on Xcode
2018-04-16 10:59:59 -03:00
David Capello
eeb8069226
Merge pull request #1707 from Gasparoken/fix-selection-edges
Fix: Automatic Show Selection Edges with Cmd+A (#1614)
2018-04-13 16:04:46 -03:00
David Capello
c851065180
Merge pull request #1706 from Gasparoken/fix-move-tool
Fix Move Tool: selection bounds does not match with Layer movement
2018-04-13 16:04:33 -03:00
Gaspar Capello
253cf97abc Fix Move Tool: selection bounds does not match with Layer movement 2018-04-13 15:28:55 -03:00
Gaspar Capello
4242c4eef3 Fix: Automatic Show Selection Edges with Cmd+A (#1614) 2018-04-13 15:24:42 -03:00
David Capello
95a59968c8 Update harfbuzz module 2018-04-03 19:10:27 -03:00
David Capello
b8e6473539 Get Windows Vista screenshots correctly (fix #1687) 2018-04-03 18:26:59 -03:00
David Capello
b7aa2923f6 Don't lost png include dirs so webp's imagedec doesn't fail 2018-04-03 13:02:20 -03:00
David Capello
d9462e912c Don't use libxml2 on libarchive 2018-04-03 13:01:32 -03:00
David Capello
b55ae10aba Don't use bzip2 on freetype and libarchive 2018-04-03 13:01:19 -03:00
David Capello
16e1a650b1 Enable webp support by default 2018-04-03 12:50:25 -03:00
David Capello
5b04293dc3 Fix zlib, png, jpeg, and freetype flags/linking 2018-04-03 12:43:26 -03:00
David Capello
f554801dd0 Disable benchmark library tests 2018-04-03 12:40:38 -03:00
David Capello
617edbb907 Update harfbuzz module 2018-04-03 11:49:55 -03:00
David Capello
4c287a7147 Fix target buttons (fix #1698) 2018-04-03 11:46:19 -03:00
David Capello
1571fac5a3 Fix linking between third party projects 2018-04-03 11:11:10 -03:00
David Capello
86177791d6 Sort extensions by name 2018-04-03 09:36:32 -03:00
David Capello
d433ae669c Add Skia license 2018-04-03 09:36:16 -03:00
David Capello
d55e00aea0 Add some time to unlock sprite to select layer bounds 2018-03-29 18:53:03 -03:00
David Capello
498ffcbaae Keep Timeline range enabled after Alt+M 2018-03-29 17:58:55 -03:00
David Capello
ffdb3f0ddf Fix cels order when they are copied between files 2018-03-29 16:45:57 -03:00
David Capello
26e215f698 Invalidate full columns when we are selecting frames in the timeline 2018-03-29 16:25:43 -03:00
David Capello
bf0e5db391 Fix clipboard range feedback in Timeline when we copy layers/frames
kCels were already working, but the clipping was not correct
when the clipboard range type was kLayers or kFrames.
2018-03-29 16:21:43 -03:00
David Capello
fac3574d02 Improve animation playback performance
We try to redraw only the necessary parts of the Timeline,
and when we are in playback mode, make bigger jumps
to avoid a continuos scroll in the Timeline.
2018-03-29 16:13:10 -03:00
David Capello
62ee2daaba Add a comment in the ColorSelector::Painter for future work 2018-03-29 11:13:47 -03:00
David Capello
59f3d13b8d Fix tests/CLI mode
Don't start rendering thread on ColorSelector::Painter when
we don't run the UI. Basically we must start the painter thread
when the first ColorSelector is created.
2018-03-29 11:12:59 -03:00
David Capello
fd696c8813 Avoid possible invalid bitwise operations between threads
As m_paintFlags bits are modified by several threads,
we need some atomic bitwise operations to modify it.
2018-03-29 00:39:09 -03:00