Commit Graph

3310 Commits

Author SHA1 Message Date
David Capello
aae3e69fda Fix bug showing frame # and opacity slider in StatusBar without an active document 2015-04-16 13:14:39 -03:00
David Capello
5a5a6fe4f6 Replace slider_change_hook() with StatusBar::onCelOpacityChange() 2015-04-16 13:07:14 -03:00
David Capello
a4bf93e4d5 MaskByColorCommand needs an active image to be executed (fix #627) 2015-04-16 12:55:39 -03:00
David Capello
087b52213c Add new matrices to create an outline in RGB transparent layers 2015-04-16 11:08:35 -03:00
David Capello
849e40b0f9 Fix crash when PixelsMovement() wants to create an extra cel without enough memory 2015-04-15 13:59:41 -03:00
David Capello
43a0279a24 Fix crash converting sprite to grayscale 2015-04-15 13:58:35 -03:00
David Capello
13a977f0e6 Continue loading backup data if we fail loading one image 2015-04-15 12:20:41 -03:00
David Capello
7fc2e3bec8 Use fast rotation if we don't have enough memory for RotSprite 2015-04-15 10:13:06 -03:00
David Capello
4dbff50f1e Catch any kind of exception in Editor::onProcessMessage() 2015-04-15 10:06:55 -03:00
David Capello
19d2713d8f Avoid crash when we change the rotation algorithm
This can happen when RotSprite needs a lot of memory and we change the
algorithm from Fast to RotSprite.
2015-04-15 10:06:38 -03:00
David Capello
4e1cebf966 Give some timeout to lock the sprite in certain operations 2015-04-15 09:59:36 -03:00
David Capello
66c5f76146 Avoid crashes when some EditorState in Editor::onProcessMessage() cannot lock the document 2015-04-15 09:58:41 -03:00
David Capello
b4d97a4d35 Fix scroll problem with EditorView when we drag-and-drop Tabs 2015-04-10 13:02:15 -03:00
David Capello
045ece4114 Avoid reading invalid images in doc::read_image() 2015-04-10 11:26:36 -03:00
David Capello
8353e45ae8 Add tooltip for StatusBar::m_currentFrame 2015-04-10 11:23:21 -03:00
David Capello
669765c708 Fix StatusBar::onResize() layout when we don't have enough width 2015-04-10 11:21:37 -03:00
David Capello
61edf07fdc Fix problem showing exception in ~ToolLoopImpl()
We cannot have DrawingState::m_toolLoopManager = nullptr when we call
Console::showException() (as the Editor will continue sending some mouse
messages to the DrawingState).
2015-04-10 11:12:19 -03:00
David Capello
1bed018ab0 Add timeout parameter to Context/Document lock/unlock operations 2015-04-10 11:10:42 -03:00
David Capello
e725bf93a0 Fix tooltips in ContextBar about selection modifiers 2015-04-10 10:35:45 -03:00
David Capello
acf7e41621 Fix Timeline::showCel() now that we have an extra header (Timeline::topHeight()) 2015-04-10 10:15:24 -03:00
David Capello
5ad65eab39 Fix Timeline scroll problem when we switch between documents 2015-04-10 10:02:24 -03:00
David Capello
07ff2bb99b VS2013 is our new compiler for Windows (we don't support VS2012 anymore) 2015-04-10 09:37:56 -03:00
David Capello
32bb9c85dc Avoid infinite locking ~ToolLoopImpl()
This situation happens when we have two views for the
same document, and we move the selection in one view,
and then we try to continue the transformation in the
other view.
2015-04-09 20:05:02 -03:00
David Capello
c25d9ac272 Fix bug losing Document's extra cel when we paste and scroll with Space bar 2015-04-09 19:33:03 -03:00
David Capello
a299826d7d Fix problem dropping new tabs into Tabs widgets in Release mode
It happens only in Release mode because Tab::oldX/oldWidth in Debug
are initialized to 0, so it's not a visible problem when we are debugging.
2015-04-09 16:41:46 -03:00
David Capello
b534f955ec Merge branch 'anticrash' 2015-04-09 13:51:39 -03:00
David Capello
a6b4b295a6 Minor fixes in app::crash to compile on clang and gcc 2015-04-09 13:47:21 -03:00
David Capello
1edb21ca4e Implement base::list_files() for Unix-like platforms 2015-04-09 13:46:52 -03:00
David Capello
98f2aca5ca Implement base::is_process_running() for Unix-like platforms 2015-04-09 13:46:37 -03:00
David Capello
989698dc6a Remove unused variable in doc::read_image() 2015-04-09 13:46:20 -03:00
David Capello
ed144aac3d Fix member initialization order in PlayState 2015-04-09 11:36:22 -03:00
David Capello
45f4d30450 Remove unused variables/functions 2015-04-09 11:36:09 -03:00
David Capello
2af9155cfb Minor changes in BackupObserver::backgroundThread() 2015-04-09 11:02:42 -03:00
David Capello
7b2b30564d Compress images in doc::read/write_image() functions 2015-04-09 11:02:26 -03:00
David Capello
1199c51187 Don't collapse main Tabs widget when there are no tabs
It's useful to keep the main Tabs always expanded to dock other tabs on it.
2015-04-09 11:01:39 -03:00
David Capello
383e371ddd Don't save backups for documents without modifications 2015-04-09 09:02:23 -03:00
David Capello
2ee6df8038 Save "ver" file in the session directory to know which Aseprite version was used 2015-04-09 08:10:09 -03:00
David Capello
c930ca1098 Limit the text used on each NewsItem 2015-04-09 07:59:48 -03:00
David Capello
21a57ff793 Add "data recovery period" option 2015-04-09 07:46:55 -03:00
David Capello
956ae0c565 Minor fix in Options dialog 2015-04-08 21:58:46 -03:00
David Capello
d8d0d5f0b1 Add some traces for app::Document locks 2015-04-08 21:48:12 -03:00
David Capello
7646f118d1 Match DataRecoveryView's View style with Workspace 2015-04-08 21:45:50 -03:00
David Capello
0cf5661457 Fix some UI problems deleting backups and sessions in DataRecoveryView 2015-04-08 21:43:06 -03:00
David Capello
77ec6c9e17 Save filename in "doc" file 2015-04-08 21:32:41 -03:00
David Capello
fddddf1342 Add buttons to open and delete a whole session in DataRecoveryView 2015-04-08 21:16:36 -03:00
David Capello
409d575948 Catch problems removing documents/directories 2015-04-08 20:46:00 -03:00
David Capello
9b692cb14a Add option to disable data recovery 2015-04-08 20:28:30 -03:00
David Capello
a4478e9306 Add UI and logic to recover a backup session
Changes:
* Add DataRecoveryView
* Split SubObjectsIO into an interface and SubObjectsFromSprite
* Add a "setId" parameter to some doc::read_* functions (we need this
  functionality from session recovery)
2015-04-08 20:05:05 -03:00
David Capello
ae4542fb92 Add ColorSpectrum widget 2015-04-08 17:28:59 -03:00
David Capello
5cf0396d98 Add version to doc::Object to avoid making backups of unmodified objects 2015-04-07 17:53:31 -03:00