Commit Graph

5521 Commits

Author SHA1 Message Date
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
a5e860c556 Add Alt+L and Alt+F shortcuts in palette popup 2016-11-14 15:52:51 -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
f4f3dd2c4c Fix some links in README 2016-11-14 12:03:49 -03:00
David Capello
57094faa67 Update submodules 2016-11-14 12:03:35 -03:00
David Capello
b524052ecf Update licenses in README 2016-11-12 18:19:39 -03:00
David Capello
441b835192 Add shorter invervals for the backup thread 2016-11-12 18:02:47 -03:00
David Capello
d0c9266eaf Merge branch 'master' into beta 2016-11-09 18:49:56 -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
a8fcc8ee03 Fix cmd.cpp compilation when TRACE_CMD is defined 2016-11-08 10:32:36 -03:00
David Capello
5c3f75c64b Merge branch 'master' into beta 2016-11-07 18:17:42 -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
bc1ad97fb5 Merge branch 'ref-layer' into beta (fix #532) 2016-11-07 15:14:24 -03:00
David Capello
b5225d0f30 Fix copying/moving layers from between regular and reference layers 2016-11-07 15:09:52 -03:00
David Capello
6d6ec5710e Remove assert that can fail in PixelsMovement::trim() 2016-11-07 12:43:15 -03:00
David Capello
6aee765731 Fix copy and paste of ref layer cels 2016-11-07 12:35:45 -03:00
David Capello
e89bea49df Fix RotateCommand for ref layer cels 2016-11-07 12:10:59 -03:00
David Capello
e4bcdbf131 FlipCommand can flip ref layer cels correctly 2016-11-07 11:47:56 -03:00
David Capello
a21d7df302 Fix CanvasSizeCommand to crop ref layers correctly 2016-11-07 11:39:58 -03:00
David Capello
8fd1bcec7c Resize cel bounds from ref layers on SpriteSizeCommand 2016-11-07 11:03:56 -03:00
David Capello
6bb9d599d9 Fix "All layers" eyedropper to pick colors from ref layers too 2016-11-07 10:50:03 -03:00
David Capello
35c9bd3194 Move check that a ref layer cannot be transformed to StandbyState::transformSelection() 2016-11-07 10:30:40 -03:00
David Capello
4e6832782e Fix rendering issues w/ref layers 2016-11-03 12:26:33 -03:00
David Capello
40000a7e77 Update laf library (MEMLEAK is LAF_MEMLEAK now) 2016-11-02 16:14:01 -03:00
David Capello
492e71918f Fix undo of a new ref layer 2016-11-02 16:10:42 -03:00
David Capello
b4747b3ed6 Draw ref layer edges correctly (w/subpixel precision) 2016-11-02 15:01:31 -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
f895938dbb Fix adding a reference layer with a different color mode 2016-11-01 19:02:11 -03:00
David Capello
21b6e8716d Merge branch 'beta' into ref-layer 2016-11-01 14:11:03 -03:00
David Capello
54e60f058f Merge branch 'master' into beta 2016-11-01 14:09:02 -03:00
David Capello
674fb2e61b Change observable submodule URL 2016-11-01 14:07:59 -03:00
David Capello
91cd50cac4 Update laf library 2016-11-01 13:55:32 -03:00
David Capello
f66ed60a2f Fix test condition in main CMakeLists.txt file 2016-11-01 12:53:58 -03:00
David Capello
c2103df444 Move base module to laf library 2016-11-01 12:47:48 -03:00