Commit Graph

6115 Commits

Author SHA1 Message Date
David Capello
d3d107b0ac Add Trim option in Export Sprite Sheet 2017-11-29 16:17:30 -03:00
David Capello
d67b083e42 Fix Alt key modifier on Linux 2017-11-29 15:39:44 -03:00
David Capello
daf2672dbd Removed unused file in she/alleg4 port for macOS
macOS doesn't support Allegro port since several versions ago.
2017-11-29 15:33:16 -03:00
David Capello
519715224e Fix displaying several keyboard shortcuts for the same command 2017-11-29 15:28:04 -03:00
David Capello
543752d708 Add 128x128 and 256x256 images in .ico files (#1609) 2017-11-29 09:41:46 -03:00
David Capello
4e858ac667 Fix pico-8 color palette (fix #1623) 2017-11-27 14:11:11 -03:00
David Capello
76aee61eae Fix drawing straight lines w/Pencil tool and Shift+right button
https://community.aseprite.org/t/eraser-tool-right-click-shift-should-work/726
2017-11-27 13:54:27 -03:00
David Capello
848ce5972d win8: Add support to double tap with pen
Discussion:
https://community.aseprite.org/t/surface-pro-3-file-navigation/696
2017-11-23 17:03:24 -03:00
David Capello
e1232516ee Don't discard custom brush when we use eyedropper (fix #1557) 2017-11-23 11:35:41 -03:00
David Capello
ab51f02711 Fix crash applying a filter w/all layers locked (fix #1610)
The m_transaction field of FilterManagerImpl::commitTransaction() was
nullptr because FilterManagerImpl::applyToTarget() was returning without
creating the m_transaction.
2017-11-22 11:46:06 -03:00
David Capello
c80d914e1a Fix toggle timeline thumbnails command (fix #1518) 2017-11-21 14:34:03 -03:00
David Capello
27f0182bdb Fix redrawing PaletteView when dragging colors (fix #1616)
Regression introduced in 86c8bc57a5
2017-11-17 11:26:40 -03:00
David Capello
338ed9dd49 Fix SelectBoxState when tiled mode is enabled 2017-11-13 21:08:15 -03:00
David Capello
72610099ae win8: the first touch w/fingers now move the mouse cursor 2017-11-10 19:07:50 -03:00
David Capello
0d6a432ef5 Zoom timeline with Ctrl+mouse wheel 2017-11-10 18:24:06 -03:00
David Capello
c13f6276ad Reduce the updated area on tools with TracePolicy = Last 2017-11-10 16:59:37 -03:00
David Capello
b856c71f9d Fix filters preview for tiled mode 2017-11-10 16:31:06 -03:00
David Capello
29c2c0cd90 Fix status bar position depending on the tiled mode 2017-11-10 15:04:09 -03:00
David Capello
392312d687 Fix gradient fill on tiled mode 2017-11-10 12:19:44 -03:00
David Capello
ee3ade44b8 Show symmetry lines in the main tile 2017-11-09 18:19:18 -03:00
David Capello
1229d3700b Draw layer bounds and cels auto guides in the main tile position 2017-11-09 16:06:22 -03:00
David Capello
45a2f1e1e1 Draw slices in the main tile region 2017-11-09 15:08:09 -03:00
David Capello
b638b34139 Move selection edges to the main tile position 2017-11-08 16:16:13 -03:00
David Capello
7febd638fd Draw grids on all tiles 2017-11-08 12:58:47 -03:00
David Capello
7dbff3daa6 Add possibility to use paint bucket in any tile
Anyway the floodfill algorithm needs some work to fully support tiled
modes (e.g. don't stop at edges).

Related to #1369
2017-11-08 09:27:03 -03:00
David Capello
fb2ee91c92 Display brush preview on all tiles correctly (fix #348) 2017-11-07 16:51:34 -03:00
David Capello
15277486dd Restore update of all tiles in tiled mode (fix #1600)
Fix regression introduced 559c040f63.
Now we've reduced the flipped area with the new
Editor::drawBackground() (so the background is painted only onPaint()
event, and not on Editor::drawSpriteClipped()).
2017-11-07 16:07:58 -03:00
David Capello
641ac68d70 Tiled mode: Count extra tiles as the canvas size (so we can zoom in on it) (fix #1448) 2017-11-07 15:21:03 -03:00
David Capello
ceb9cb3abd Add missing blend modes in blend_mode_to_string() (fix #1605) 2017-11-07 12:31:16 -03:00
David Capello
f2a2510cea Use a obs::safe_list() for ui::Timers to avoid data races between threads 2017-11-03 10:51:45 -03:00
David Capello
86c8bc57a5 Avoid redrawing the whole PaletteView when we move the mouse between color entries 2017-11-03 10:02:11 -03:00
David Capello
559c040f63 Reduce the flipped area on the screen when the editor/brush preview is updated
This patch should increase the macOS performance significantly. The
updating process of the screen on macOS is the slowest one, being the
argb32_image_mark_rgb32() function the slowest function in the call
tree.)
2017-11-03 09:47:49 -03:00
David Capello
1531d1fadb Add a flag to avoid updating a non-modified StatusBar on the screen 2017-11-03 09:39:02 -03:00
David Capello
727a97f663 osx: Add DEBUG_UPDATE_RECTS in paintGC() to detect unnecessary updated areas 2017-11-03 09:37:05 -03:00
David Capello
73605749e6 Improve Graphics::dirty() to avoid flipping unnecessary she::Display areas 2017-11-03 09:36:12 -03:00
David Capello
f07359d71c Minor TODO item on Widget::setBoundsQuietly() for the future 2017-11-03 09:35:00 -03:00
David Capello
ccbab8d4fd Avoid continuous redrawing of Home listbox items 2017-11-03 09:33:31 -03:00
David Capello
83d86cdbc8 Merge branch 'win8-pointer-api' (fix #1595) 2017-11-02 21:38:52 -03:00
David Capello
6cb0c2c315 Use an InteractionContext to interpret touch gestures 2017-11-02 21:20:45 -03:00
David Capello
8c9b8910c1 Use WM_POINTER on Windows 8 platform
First version. Still touch support is not working as expected. The pen,
mouse, and trackpad are working correctly. (Even the eraser tip of the
pen is recognized.)
2017-11-01 22:42:30 -03:00
David Capello
7c4f811fc7 Minor change in pen.cpp 2017-11-01 19:16:35 -03:00
David Capello
35a2029b2a Update observable module with multi-threading fixes 2017-10-31 15:39:50 -03:00
Azamat H. Hackimov
b1a6b668da Add support for shared harfbuzz
-DUSE_SHARED_HARFBUZZ (OFF by default)
2017-10-31 17:51:55 +05:00
Azamat H. Hackimov
5d7bf622ba Externalize FreeType2 library
Fixes #1453.
2017-10-31 17:47:28 +05:00
David Capello
1a76457f41 macOS: Fix Shift+mouse wheel to scroll horizontally on Timeline
Topic: https://community.aseprite.org/t/timeline-scrolling-scroll-wheel-bug/624
2017-10-30 12:48:52 -03:00
David Capello
0b538d8779 Add bypass for buggy wintab32.dll 2017-10-27 11:35:24 -03:00
David Capello
cca23cb4f7 Enable Layer > Duplicate option for Layer Groups
Bug reported here:
http://steamcommunity.com/app/431730/discussions/1/1479856439026474486/
2017-10-27 09:42:55 -03:00
David Capello
4585b5e7e5 Fix possibilities of random crashes using filters w/Undo History window visible
Same problem as in 86a6462d7b
2017-10-27 09:25:50 -03:00
David Capello
7becbc09b8 Update window title label size to show the entire text when it's changed 2017-10-26 21:59:19 -03:00
David Capello
86a6462d7b Fix crashes using certain function w/Undo History open
Some commands were calling transaction.commit() in the non-main/UI
thread (e.g. SpriteSizeCommand). That commit() called
DocumentUndo::add() which generated a
DocumentUndoObserver::onAddUndoState() and it updated the Undo History
window UI. This generated a lot of racing conditions in the UI module
and possibilities of crashes if the Undo History window was visible.
2017-10-26 21:42:49 -03:00