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
David Capello
5f587af503
Lock the document when ToolLoopImpl has to commit or rollback the change
2015-04-07 17:50:57 -03:00
David Capello
14fed8afd5
Avoid leaving a Layer in a invalid state (a Cel without image) in ExpandCelCanvas
2015-04-07 17:49:40 -03:00
David Capello
6430d53a21
Add a special section in src/README.md about debugging tricks
2015-04-07 17:19:34 -03:00
David Capello
6ec33bdcf7
Make debug Ctrl+Shift+Q shortcut cross-platform
2015-04-07 17:19:22 -03:00
David Capello
8f56e263f3
Add missing #include "base/chrono.h"
2015-04-07 14:58:11 -03:00
David Capello
9ca4d15d74
Backup document data in a raw format directly on disk
2015-04-07 14:51:10 -03:00
David Capello
5c3e6e4863
Add Ctrl+Shift+Q key to crash the program (only on Win32 + Debug mode)
2015-04-07 14:41:40 -03:00
David Capello
d7e4425cf6
Log information about how much time the backup takes
2015-04-07 14:37:21 -03:00
David Capello
c571eafdd0
Replace StatusBar progress bars with a slider/progress bar in ui::Alert
2015-04-07 12:18:21 -03:00
David Capello
7a3c0a1eed
Minor fixes in style for ButtonSet and StatusBar controls (mini Entry/Slider)
2015-04-07 11:29:36 -03:00
David Capello
ae90e8089c
StatusBar: Add cel opacity tooltip
2015-04-07 11:15:45 -03:00
David Capello
41309b369d
Add "Frame:" label in StatusBar
2015-04-07 11:15:28 -03:00
David Capello
0576bafaa3
Move animation controls from StatusBar to Timeline
2015-04-07 10:48:04 -03:00
David Capello
fbb660da8d
Fix selection parts for ButtonSet
2015-04-07 09:27:24 -03:00
David Capello
82c485a054
StatusBar: Improve animation buttons style using a ButtonSet
...
Also now the play button changes to a stop button when the animation is
begin played.
2015-04-07 02:29:33 -03:00
David Capello
f9a24096d3
Remove unused local variable in doc::write_layer()
2015-04-07 01:28:27 -03:00
David Capello
613e710ccf
Support wchar_t* strings on Win32 to open std::ofstreams
2015-04-07 01:28:11 -03:00
David Capello
4fe1e9771e
Animation controls always visible in StatusBar
2015-04-07 01:21:31 -03:00
David Capello
486ab7dfc1
Show alpha letter instead of "Alpha" text in StatusBar
2015-04-06 20:11:41 -03:00
David Capello
3546f2c0e7
Add part of the Greek alphabet
2015-04-06 20:11:10 -03:00
David Capello
a42d9d1c00
Add new Editor PlayState so we can have several editors playing animations
...
With this change we share the logic to play animations between the Preview
window and Enter key/play animation.
2015-04-06 16:12:28 -03:00
David Capello
7448db3959
Add "View > Duplicate View" to create multiple views of the same document
2015-04-06 12:22:20 -03:00