Commit Graph

5989 Commits

Author SHA1 Message Date
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
David Capello 7e86f31cb4 Show the undo size in the Undo History window 2017-10-26 21:42:25 -03:00
David Capello d748cc7582 Add DEBUG_UI_THREADS to debug functions called from a non-main thread 2017-10-26 21:38:27 -03:00
David Capello 41bb377bc5 Update laf module to avoid showing readonly error on Windows when the file doesn't exist 2017-10-26 14:44:28 -03:00
David Capello 5cd368792c Improve UI so undo limit = 0 means "no limit" (#1127)
By default we'll have "no undo limit".
2017-10-25 17:58:55 -03:00
David Capello f0c11ef567 Implement Undo limit (fix #1127) 2017-10-25 17:25:23 -03:00
David Capello 363341ad34 Add CMD_TRACE() in cmd.cpp 2017-10-25 17:18:14 -03:00
David Capello 0ee5dbea7a Improve keyboard shortcuts list with resizable headers 2017-10-24 10:20:21 -03:00
David Capello bfc2ecb890 Fix typo in Edit > Preferences > Editor section 2017-10-24 08:39:43 -03:00
David Capello 9171c59745 Show KeyContext in the keyboard shortcut dialog 2017-10-23 13:10:30 -03:00
David Capello 745dc0734e Use "Delete" word instead of "Clear" 2017-10-23 11:16:17 -03:00
David Capello c84b4e24f9 Change "Pixel Ratio" -> "Pixel Aspect Ratio" 2017-10-23 11:15:42 -03:00
David Capello a754344cdc Unify selection-like tools tooltip strings 2017-10-23 11:15:10 -03:00
David Capello ff09a7d88f Update laf module
Now we can specify long CLI option names with a single dash (like
-save-as or -scale).
2017-10-20 12:29:11 -03:00
David Capello c019661bc0 Merge branch 'i18n' 2017-10-17 18:04:26 -03:00
David Capello 7ff7c865cc Update Discord button in README file 2017-10-17 18:02:29 -03:00
David Capello a9b183729f Translate all alerts to the en.ini file (#124) 2017-10-17 18:00:45 -03:00
David Capello 36a44e6691 Move menus+tools strings to en.ini file (#124) 2017-10-11 18:24:01 -03:00
David Capello f4ffd4110c Start using fmt library
This is the first step for a full i18n (#124).
2017-10-09 14:43:01 -03:00
David Capello aa95ccde80 Add support to load .ttf files from the theme folder 2017-10-09 11:55:20 -03:00
David Capello bc541c776b Fix problem with preview not showing editing entry values on filters 2017-10-06 16:29:57 -03:00
David Capello cca9ff702a Add Brightness/Contrast menu option 2017-10-06 16:19:30 -03:00
David Capello f15430ce88 Fix crash using invalid chars in filenames 2017-10-06 13:52:26 -03:00
David Capello 89c521ae15 Add new theme parts for ButtonSet items 2017-10-06 11:07:48 -03:00
David Capello 750f0c52af Keep original pattern origin for custom brushes
With this patch we avoid resetting the original pattern
origin when we use "align to destination" or "paint brush"
modes.
2017-10-06 10:23:03 -03:00
David Capello 6611a5ec73 Reset exits counter when the version is updated 2017-10-05 18:01:38 -03:00
David Capello babe23adc8 Fix "paint brush" mode for custom brushes (fix #1587) 2017-10-05 17:29:19 -03:00