4283 Commits

Author SHA1 Message Date
David Capello
64af97131d Support smooth scroll in ListBox 2016-11-15 17:31:56 -03:00
David Capello
1e5ae5e9cb Add missing cmd_open_file.h file in last commit 2016-11-14 20:00:44 -03:00
David Capello
2240742816 Avoid processing the same file two times when it's used to load a sequence
E.g. If we drop three files (1.png, 2.png, and 3.png), and we load 1.png
as a sequence, we don't want to ask for the third file.
2016-11-14 19:44:29 -03:00
David Capello
2216db2d2c Send mouse events when a new window is displayed (fix #1221)
In this way if a new widget is displayed it will get the mouse-enter and
set-cursor messages correctly.
2016-11-14 17:23:09 -03:00
David Capello
88455ebc4b Fix compilation warnings when REPORT_EVENTS is defined 2016-11-14 17:21:37 -03:00
David Capello
617b909e1e Fix bug closing the app when it's saving (fix #1326) 2016-11-14 17:01:41 -03:00
David Capello
c1e3054e3f Minor changes in preferences dialog labels 2016-11-14 16:13:00 -03:00
David Capello
268cfa3a46 Add support for pinch gesture on palette view 2016-11-14 16:12:11 -03:00
David Capello
a19a834c4d Enter key selects the preset palette
Also the listbox doesn't lost the focus, so we can continue navigating
preset palettes.
2016-11-14 16:04:29 -03:00
David Capello
9b1f0bf33c Add a checkbox tick to the selected preset palette (fix #1327) 2016-11-14 15:56:28 -03:00
David Capello
4c2a283bd7 Double-click on a preset palette loads it 2016-11-14 15:55:21 -03:00
David Capello
b95326435c Remove an always-true if statement 2016-11-14 15:53:36 -03:00
David Capello
57f51e65e2 Fix unused variable warning 2016-11-14 12:05:47 -03:00
David Capello
e345170948 Fix int/unsigned comparison warning 2016-11-14 12:05:16 -03:00
David Capello
57094faa67 Update submodules 2016-11-14 12:03:35 -03:00
David Capello
441b835192 Add shorter invervals for the backup thread 2016-11-12 18:02:47 -03:00
David Capello
d6f2bec3fe Unlock document from backup thread when UI needs it
Added a new "weak lock" concept to RWLock/Document class. The background
thread that saves data recovery information can obtain this "weak lock"
which can be unlocked by the UI thread in any moment (i.e. when the user
needs the document immediately for UI.)
2016-11-09 17:22:55 -03:00
David Capello
6e94f68ebb Move doc lock/unlock logic to a new RWLock class 2016-11-08 12:38:00 -03:00
David Capello
341fb89053 Fix some Cmds to backup CelData correctly instead of Cel 2016-11-07 17:59:59 -03:00
David Capello
644b8ff0a4 Add Ctrl+Shift+R on debug mode to recover the active document from active backup session
In this way we can test on each moment how the information is being
saved and will be recovered. We can find bugs with missing or invalid
doc::Object::incrementVersion() calls.
2016-11-07 17:47:53 -03:00
David Capello
1b2b98ec38 Fix bug which we can get stuck on MovingCelState (fix #1315) 2016-11-07 17:16:40 -03:00
David Capello
4b6fc07b06 Restore backup observer period 2016-11-07 17:04:33 -03:00
David Capello
69b52498a2 Add a visual icon when the program is saving backup data (fix #1114) 2016-11-07 16:32:54 -03:00
David Capello
6ba53c4e12 Minor changes in README file 2016-11-07 15:32:35 -03:00
David Capello
6d6ec5710e Remove assert that can fail in PixelsMovement::trim() 2016-11-07 12:43:15 -03:00
David Capello
40000a7e77 Update laf library (MEMLEAK is LAF_MEMLEAK now) 2016-11-02 16:14:01 -03:00
David Capello
ce6c85996e Update laf library (base/path is gone, use base/fs) 2016-11-01 19:14:05 -03:00
David Capello
c2103df444 Move base module to laf library 2016-11-01 12:47:48 -03:00
David Capello
80be429c89 Add missing skia_surface.cpp file 2016-10-31 19:58:12 -03:00
David Capello
151a302830 Update Skia to chrome/m55 (aseprite-m55) branch 2016-10-31 19:50:32 -03:00
David Capello
a911915aab Fix LOG(LogLevel) for MSVC compiler 2016-10-31 19:43:18 -03:00
David Capello
2366721a82 Set the theme to the default one if the user-defined one is invalid
Related to #1283
2016-10-28 11:25:46 -03:00
David Capello
e12c533270 Fix webp compilation 2016-10-27 12:47:15 -03:00
David Capello
9f06ce62b4 Update version to v1.1.10-dev 2016-10-27 12:38:39 -03:00
David Capello
cc18334c5a Changes in LOG/TRACE messages 2016-10-27 12:25:33 -03:00
David Capello
c789e4a872 Don't crash if the user-defined theme is gone (fix #1283) 2016-10-27 11:03:27 -03:00
David Capello
693a68844c New docio-lib to detect file format by content (fix #776) 2016-10-26 19:37:42 -03:00
David Capello
674d1d74d9 Merge pull request #1302 from klw0/esc-close-cel-layer-properties
Allow Esc key to close Cel and Layer Properties windows
2016-10-25 12:09:58 -03:00
Keith Whitney
2d0dcc8613 Allow Esc key to close Layer Properties window 2016-10-24 23:31:21 -04:00
Keith Whitney
cf6cd534ef Allow Esc key to close Cel Properties window
Resolves aseprite/aseprite#964.
2016-10-24 23:31:21 -04:00
David Capello
7c5c4c1b61 Fix Utf8Wrapper tests for string-literals 2016-10-24 15:12:48 -03:00
David Capello
6baf3fb0f0 Add base::utf8() and utf8_const() wrappers 2016-10-19 14:06:29 -03:00
David Capello
3f052cfe2e Return nullptr instead of assert in Widget::font() 2016-10-17 10:49:37 -03:00
David Capello
2a16896b7d Include "base/log.h" needed for LOG() 2016-10-16 20:29:57 -03:00
David Capello
1de5837676 Remove fflush() call from Sprite::pickCels()
Probably from an infamous printf() debugging session.
2016-10-13 19:37:04 -03:00
David Capello
a4277e8175 Add DEBUG_DOCUMENT_LOCKS to avoid logging doc locks 2016-10-03 13:24:59 -03:00
David Capello
7fb984b18d Fix compilation errors when HAVE_CONFIG_H isn't defined 2016-09-26 09:44:43 -03:00
David Capello
fac2dd046c Fix generating CompressedImage with mask 2016-09-23 12:59:20 -03:00
David Capello
ceca640a98 Remove INK_* constants and ink_processing[][] array 2016-09-23 11:36:55 -03:00
David Capello
72ede7e642 Update to v1.1.9-dev 2016-09-23 11:10:45 -03:00