David Capello
f475378d38
Add possibility to duplicate the current cel only (Alt+M)
2015-03-17 18:19:41 -03:00
David Capello
b4d3e5681e
Merge branch 'master' of git@github.com:aseprite/aseprite.git
2015-03-17 17:30:26 -03:00
David Capello
5ef4cb1460
Change get_readable/writable_extensions() API from char* to std::string
2015-03-17 17:17:01 -03:00
David Capello
79c30a9ef3
Fix crash if we close a tab when we're dragging it
2015-03-17 16:56:55 -03:00
David Capello
50e9ed6326
Unify "Export Sprite Sheet" command with DocumentExporter
2015-03-17 16:43:51 -03:00
David Capello
4421f4cb10
Add support for native OS X clipboard
2015-03-17 14:46:08 -03:00
David Capello
750c7b5414
Don't copy LockMove flag in Document::copyLayerContent() for a second background
2015-03-17 10:07:12 -03:00
David Capello
31e3a693cd
Fix copy-paste of Background layer between sprites
...
Insert the Background layer as the bottom one when we paste it.
2015-03-17 10:06:37 -03:00
David Capello
d1f3ea307c
Draw background layer with an underline
2015-03-17 09:53:42 -03:00
David Capello
7391355184
Fix cmd::AddFrame::onMemSize() impl
2015-03-17 09:29:42 -03:00
David Capello
d9c155a0cd
Add extra empty frames if it's necessary on a copy-paste operation of layers between different sprites
2015-03-17 09:29:24 -03:00
David Capello
38e67dbbb6
Fix bug drawing the Timeline range to be copied between documents
2015-03-16 19:53:41 -03:00
David Capello
0d9771f044
Fix minor typo
2015-03-16 19:53:20 -03:00
David Capello
b3232311ff
Copy frame tags when we duplicate a sprite
2015-03-16 18:21:08 -03:00
David Capello
dae3a0dd81
Fix duplication of background layers when a sprite or layer is duplicated
2015-03-16 18:05:19 -03:00
David Capello
827eddd459
Fix problem copying background cels in indexed images
...
Now index 0 is persisted in the copy.
2015-03-16 18:04:57 -03:00
David Capello
0350ac4bbe
Initial work on Skia backend (WIP)
2015-03-16 15:05:13 -03:00
David Capello
a67c7bb1b2
Merge pull request #609 from aisamanra/master
...
Small fixes needed to build on clang/gcc
2015-03-16 10:19:49 -03:00
David Capello
35eddf1f08
Add missing "base/base.h" to use uint32_t (fix undo_tests compilation)
2015-03-16 09:13:54 -03:00
Getty
85c569b2f1
Small fixes needed to build on Linux: missing #includes and shadowed templates
2015-03-14 17:28:02 -07:00
David Capello
5ffdef5959
Fix problems showing native Win32 open/save dialog when we specify just a folder
2015-03-12 19:48:27 -03:00
David Capello
30052dbd9e
Show internal Win32 error if we use GetOpenFileName Win32 API function incorrectly
2015-03-12 19:47:44 -03:00
David Capello
6800302d34
Fix drag-and-drop of a future frame after a frame in the past
2015-03-12 19:15:42 -03:00
David Capello
602ca6a7b7
Center icons of timeline
...
Just in case we want to make timeline's cels biggers in the future.
2015-03-12 17:25:04 -03:00
David Capello
5a95c6a48b
Adjust frame tags when we move/copy frames
2015-03-12 16:44:42 -03:00
David Capello
d36f10ee02
Add "Set Loop Section" option in frame popup menu
2015-03-12 15:37:09 -03:00
David Capello
c7e37910e5
Reference frame tags with an ObjectId in Timeline::Hit::frameTag instead of a FrameTag*
...
With this we avoid strange states where the Timeline is redraw after a
undo/redo and the referenced FrameTag was just deleted.
2015-03-12 15:31:34 -03:00
David Capello
e6dc94ddb2
Add undo info for FrameTags when frames are added/removed
...
Also we remove the entire FrameTag when all its frames are removed.
2015-03-12 15:05:20 -03:00
David Capello
9947d80b5e
Allow to get a PART_HEADER_FRAME bounds from Timeline for frames > last frame
...
This was done just for testing, to see if FrameTags are outside the
valid range.
2015-03-12 15:00:45 -03:00
David Capello
cdc9b419c7
Fix crash adding/removing frames in sprites with frame tags
2015-03-11 18:45:35 -03:00
David Capello
a9fae58a98
Fix style for recent files/paths to avoid line breaks
2015-03-11 18:06:54 -03:00
David Capello
d3f152d1a5
Fix Graphics::doUIStringAlgorithm() for word wrap with rc.w == 0 (without limit)
2015-03-11 18:06:33 -03:00
David Capello
30a90c88e9
Ignore slash type and case to compare paths in RecentFiles
2015-03-11 17:48:28 -03:00
David Capello
7724c212e8
Return to the current frame when we stop the animation in Preview window
2015-03-11 16:20:19 -03:00
David Capello
2b74549e00
Advise about .ase format when we are going to lose information in Save operation
2015-03-11 16:15:09 -03:00
David Capello
b630565188
Shrink bounds when MaskContentCommand is used in the background layer
...
So we can select the important part of the background layer when
we use Ctrl+T on it.
2015-03-11 16:01:35 -03:00
David Capello
0cb4b2234d
Always load params when a command is executed
...
This is to avoid leaving commands with old params (a problem with
keyboard shortcuts). To make sure, we've changed arguments from Params*
to Params&, so we always have params to load.
Also, in this change we introduce a new way to give parameters to executed
commands from menu items using AppMenuItem::setContextParams(). Before
showing a popup, we can call setContextParams() to give extra params to
the command (e.g. the specific FrameTag to remove or change properties).
In this way "contextparams" attribute for <item> in gui.xml is not
available anymore.
2015-03-11 15:40:22 -03:00
David Capello
50fd6e9e2f
Fix crash removing the loop section with SetLoopSectionCommand
2015-03-11 15:02:08 -03:00
David Capello
b5db58d21c
Fix kSetCursorMessage handling in Timeline::onProcessMessage
2015-03-11 14:24:02 -03:00
David Capello
922a485832
Fix bug in FrameTagProperties when there is no tag to show
2015-03-11 10:18:13 -03:00
David Capello
fd920eb85a
Merge remote-tracking branch 'origin/master'
2015-03-10 20:03:20 -03:00
David Capello
675c598fdd
Initialize m_tagId field in RemoveFrameTagCommand/FrameTagProperties
2015-03-10 19:40:19 -03:00
David Capello
311bb21bd4
Avoid accesing to a deleted FrameTag after FrameTagPopup
2015-03-10 19:28:45 -03:00
David Capello
a504ba3783
Delete all 'FrameTag's in ~FrameTags
2015-03-10 19:28:21 -03:00
David Capello
4588579e25
Redraw editor when onionskin preferences are changed
...
We have added a Before/AfterChange signals to preference Sections.
2015-03-10 19:05:20 -03:00
David Capello
1780a13ed4
Fix Timeline crash when there is no selected sprite
2015-03-10 18:57:34 -03:00
David Capello
f26183a82a
Remove loop configuration from ConfigureTimelinePopup
2015-03-10 17:13:06 -03:00
David Capello
6d12deafe6
Use ObjectId to identify FrameTags in the Timeline/frame tags commands
2015-03-10 17:04:55 -03:00
David Capello
1177e02609
Add popup menu to FrameTags in the Timeline
...
Add a new contextparams attribute to menu items in gui.xml that are feed
by the UI with params (e.g. the FrameTag popup needs to know what exact
tag we should edit, and it's a command Param provided by the Timeline).
2015-03-10 16:44:18 -03:00
David Capello
7c3e8326e6
Clicking on a tag name shows its properties
2015-03-10 16:25:20 -03:00