Commit Graph

6277 Commits

Author SHA1 Message Date
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
David Capello
0fe5edb7fe Improve performance drawing color selectors (fix #1516, fix #1695) 2018-03-28 23:39:07 -03:00
David Capello
5a91325750 Show indicator with old/new colors in ColorPopup (fix #1696) 2018-03-28 15:56:40 -03:00
David Capello
e6da079e54 Move ContextBar::ShadeWidget to ColorShades class 2018-03-28 12:57:00 -03:00
David Capello
473542542e Fix loading of toolbox text/tooltips of the current language 2018-03-28 11:48:59 -03:00
David Capello
8d9c3c7c11 Add some extra strings for the toolbar in en.ini 2018-03-28 11:43:35 -03:00
David Capello
91bc5c2845 Add more strings from Home tab to en.ini file 2018-03-28 10:53:15 -03:00
David Capello
be5df08c1f Use index target in Replace color for indexed images by default 2018-03-27 00:16:45 -03:00
David Capello
52244089c3 Fix FilterTargetButtons::setTarget()
Regression bug introduced in 245285f84e
2018-03-27 00:14:39 -03:00
David Capello
58252946ea Put back a simpler vesion of the target button for cels
Now we have a button to apply filters to the selected region
in the timeline, or to all cels. Regression introduced in 245285f84e

Discussion:
http://steamcommunity.com/app/431730/discussions/0/343785574514723475/
2018-03-26 23:43:57 -03:00
David Capello
9729f7aec8 Add some information in src/desktop/README.md 2018-03-26 18:13:15 -03:00
David Capello
233bae8dc9 Clicking a "Recent Folder" item shows the native dialog in the correct folder
Reported here:
https://community.aseprite.org/t/1155
2018-03-26 17:22:42 -03:00
David Capello
358265e3e1 Update harfbuzz module 2018-03-26 17:16:00 -03:00
David Capello
39cd0a7412 Use harfbuzz cmake file 2018-03-26 16:14:38 -03:00
David Capello
ff07de679a Fix links to languages and themes 2018-03-26 15:47:42 -03:00
David Capello
2f5a478ce9 Add link to download themes 2018-03-26 15:46:59 -03:00
David Capello
c9b956ddb0 Compile with webp support on Travis 2018-03-26 14:50:34 -03:00
David Capello
e20701cf6b Add a link to download translations 2018-03-26 14:50:14 -03:00
David Capello
6de103128b Add support for animated webp files (fix #273) 2018-03-26 14:11:40 -03:00
David Capello
b1823ab558 Update libwebp library 2018-03-22 16:49:05 -03:00
David Capello
c69a7ef33d Update freetype and harfbuzz 2018-03-22 16:42:36 -03:00
David Capello
b3225c5bb1 Update json11 library 2018-03-22 16:34:45 -03:00
David Capello
f481b979d4 win: Fix installing .zip extensions on Unicode paths
It looks like libarchive API is a little tricky, on Windows it needs
wide strings in the pathname. Even archive_entry_set_pathname_utf8()
cannot be used: there is no UTF8 -> wide string conversion inside
libarchive, I guess it's because archive_mstring_get_wcs() doesn't check
for AES_SET_UTF8 case.
2018-03-22 13:24:32 -03:00
David Capello
53b74284ff Update libarchive library 2018-03-22 11:52:06 -03:00
David Capello
f0262b1d96 Update libpng library 2018-03-22 11:51:52 -03:00
David Capello
784f25c138 Update zlib library 2018-03-22 11:34:22 -03:00
David Capello
f1d67e1a64 Fix syntax error in ASSERT() statement 2018-03-19 21:06:05 -03:00
David Capello
0e0b83b478 Now an extension can contain a language (#124, #1403) 2018-03-19 19:37:39 -03:00
David Capello
0429282967 Add options to configure default extension in other commands (fix #1683)
Maybe too much configuration for my taste, but well, more configuration
is good.
2018-03-19 15:53:02 -03:00
David Capello
edc79dc886 Ignore random WM_MOUSEMOVE messages after WM_POINTERUPDATE
This tries to make the Surface pen works correctly when Alt+pen is used
and we start receiving random WM_MOUSEMOVE messages.

A similar state before 5ccdacc9de, but an
alternative solution to:
https://community.aseprite.org/t/all-the-tools-stop-working/738
https://community.aseprite.org/t/after-using-the-snipping-tool-on-win-10-the-mouse-pointer-disappears/906
http://steamcommunity.com/app/431730/discussions/0/1485487749769857401/
2018-03-19 11:34:35 -03:00
David Capello
a576a7d2ee Add SHE_USE_POINTER_API_FOR_MOUSE 2018-03-19 10:54:18 -03:00
David Capello
4ce5e0b64d Revert Windows pointer API, doesn't go well with Wacom drivers 2018-03-19 10:47:29 -03:00
David Capello
284e96a75e Fix regression pasting images from the clipboard on Windows (screenshots, etc.) 2018-03-19 09:38:12 -03:00
David Capello
08d6cbcf60 Fix crash using --save-as CLI
Reported here:
https://community.aseprite.org/t/command-line-save-as-has-stopped-working/1140
2018-03-17 10:50:24 -03:00
David Capello
ddc8c880c0 Win: Fix regressions introduced w/the pointer API
* Double-click is working again. This is emulated, because it looks like
  the pointer API doesn't give us double-clicks information.
* We can cancel a ToolLoop again pressing the other button. If we press
  a mouse button, we receive a WM_POINTERDOWN, but if we press another
  button without releasing the first one, we'll receive this event in a
  WM_POINTERUPDATE message (so we have to process a WM_POINTERUPDATE
  like a WM_POINTERDOWN).
2018-03-16 23:35:08 -03:00
David Capello
7d184bc6bc file_selector_extras.xml doesn't exist anymore 2018-03-16 12:47:56 -03:00
David Capello
072e223ec5 Fix eyedropper to use the real mouse position received in messages
Instead of the global mouse position, we can use the more proper
mouse position receive in editor messages.
2018-03-16 12:26:38 -03:00
David Capello
7b49bf295f Add extra check in ListBox::selectChild() 2018-03-16 12:17:12 -03:00
David Capello
b8a8cca5cc Add extra check in drop_range_op() 2018-03-16 12:16:48 -03:00