2595 Commits

Author SHA1 Message Date
David Capello
3b7f52ea5d Remove a custom target for each file to copy 2014-12-02 11:22:20 -03:00
David Capello
807598d5c3 Add post build target to copy the whole data/ dir into build/bin/ dir 2014-12-02 11:15:06 -03:00
David Capello
08f846c83d Convert gui.xml to Unix EOLs 2014-12-02 01:47:54 -03:00
David Capello
7c9303e91d Fix compilation of libcurl from a Visual Studio solution 2014-12-02 01:42:11 -03:00
David Capello
ce4021ba35 Minor change in main CMakeLists.txt 2014-12-02 01:38:38 -03:00
David Capello
e0264787c6 Fix compilation of gen utility (and tests) under Visual Studio solution (fix #541) 2014-12-02 01:38:25 -03:00
David Capello
d1c0a61b40 Change the compilation output path to CMAKE_BINARY_DIR/bin and /lib 2014-12-02 01:30:01 -03:00
David Capello
a0c8b1f188 Update version to 1.0.8-dev 2014-11-30 21:09:50 -03:00
David Capello
bc9f4b2c9b Don't load a file if it's already open on drop files event
This avoids to open a document two times on Mac OS X
from the command line (the file is loaded when we
process the command line, and by Finder, which send us
an application:openFile: message).
2014-11-30 21:06:29 -03:00
David Capello
a3ffe68f2d Minor check in ~ScopedHandle() 2014-11-30 21:02:41 -03:00
David Capello
b1d9d82fbf Don't initialize GuiSystem if it's not necessary 2014-11-30 21:01:54 -03:00
David Capello
7a4f4c9c5e Support running multiple instances on OS X (fix #533) 2014-11-30 21:00:27 -03:00
David Capello
a8af9df74a Remove unused variable 2014-11-30 20:54:46 -03:00
David Capello
2c5ef7d636 Add check for allegro_init() 2014-11-30 12:27:41 -03:00
David Capello
d92a5d08eb Fix compilation error in clang 2014-11-30 12:06:31 -03:00
David Capello
11041c00b4 Fix Timeline::hotThis() to highlight elements in the timeline correctly 2014-11-30 11:25:07 -03:00
David Capello
1dfb48e068 Final fix for "Paste at original position" (issue #57 and fix #336) 2014-11-30 10:40:32 -03:00
David Capello
b7d86e596a Add --ignore-empty command line option (close #549)
This option can be used to avoid exporting empty frames/cels.
2014-11-30 10:23:11 -03:00
David Capello
aee7eb7bd4 Fix issue #548 - Avoid moving hidden layers or auto-selecting them 2014-11-30 09:43:33 -03:00
David Capello
4a1ee6d557 Fix Profile flags for MSVC in CMakeLists.txt 2014-11-28 23:04:14 -03:00
David Capello
694b9c5cd8 Convert CenterOnZoom into a ISettings property 2014-11-28 23:04:01 -03:00
David Capello
91aeddd7ba Fix more delays when we start drawing (related to issue #239)
Add an ImageBufferPtr parameter to RenderEngine::renderSprite() to avoid
allocating memory for each render.
2014-11-27 23:04:52 -03:00
David Capello
83ee0bf45d SelectAccelerator: Focus the KeyField after any modification is done
E.g. if a modifier checkbox is pressed, we want the keyboard focus back
to the KeyField (which is the only interesting field)
2014-11-25 20:29:26 -03:00
David Capello
8514f02ee4 Fix #543 crash adding keyboard shortcuts to menu items without associated app::Key 2014-11-25 20:06:48 -03:00
David Capello
badccf0847 Generate kKeyDownMessage for Cmd key correctly v1.0.7.1 2014-11-25 05:55:22 -03:00
David Capello
82cc87d9be Redraw transformation handles when the quick tool is changed v1.0.7 2014-11-24 21:15:59 -03:00
David Capello
a00a3b2a83 Fix crash changing ConfigureTools options when activeDoc == NULL 2014-11-24 20:52:52 -03:00
David Capello
2de3f7caff Fix crash when other app prevent us to recreate the primary DirectDraw surface (fix #542) 2014-11-24 20:24:28 -03:00
David Capello
80501899ca Change errors UI related to locked/hidden layers to status bar tips
This was mainly done for Ctrl+click, so when we try to move the
Background layer, we avoid an annoying message box.
2014-11-24 11:50:02 -03:00
David Capello
3645ffe2a5 Change Alt modifier to Shift+Alt to substract selection
This is to avoid conflicts with the eyedropper tool, which can be used
to change the background color.
2014-11-17 07:23:48 -03:00
David Capello
c64ee5729b Add "Auto Select Layer" check box to Move Tool (close #527) 2014-11-16 18:33:31 -03:00
David Capello
7b4cd3e136 Re-add Ctrl+Q for Windows and Linux 2014-11-16 12:30:06 -03:00
David Capello
d0f97260fc Avoid regenerating Document's extral cel when we're moving pixels (fix #522)
As PixelsMovement class uses the extra cel to show the pixels that we're
moving, we cannot show brush previews of quicktools (as the brush preview
uses/destroy/regenerate the same extra cel for its own purpose).
2014-11-15 19:57:03 -03:00
David Capello
0b13e53c67 Fix several issues with keyboard shortcuts customization
Changes:
* Now default action modifiers can be removed (fix #521)
* Now action modifiers have a KeyContext (the key context depend on the
  action itself, cannot be configured by the user)
* Fix Accelerator::check() and Accelerator::operator=() when the unicode
  char and scancode are nil (i.e. we are comparing only modifiers)
* Convert Accelerators to a class to simplify code
* Remove unused variables in Accelerator::check() when REPORT_KEYS is
  defined
2014-11-15 18:31:12 -03:00
David Capello
bee4e64e38 Add NewFrameCommand::onGetFriendlyName() to differentiate "New Empty Frame" from "New Frame" 2014-11-15 15:47:21 -03:00
David Capello
3ba3b48fd7 Fix crash using eyedropper above a (hidden) selection handle
We need to be in a Selection ink to start moving pixels from transform
handles.
2014-11-13 11:23:45 -03:00
David Capello
497f0ffee0 Update version 1.0.7-dev 2014-11-13 11:12:25 -03:00
David Capello
8fc01593f7 Fix position of the pasted image v1.0.6 2014-11-12 11:32:18 -03:00
David Capello
ae9e2d173b Deselect timeline range when we modify sprite selection
Fix a problem selecting one cel in the timeline, using Ctrl+A and then
Ctrl+C to copy the whole image area. (This indicates that the user want
to copy the cel content, not the timeline cel.)
2014-11-12 11:24:26 -03:00
David Capello
0fc02cf180 Fix initialization order of DocumentExporter fields 2014-11-10 22:49:08 -03:00
David Capello
16be1718b5 Fix clang compiler error: missing <stdexcept> to use std::runtime_error 2014-11-10 22:48:40 -03:00
David Capello
cb45e046f5 Change default JSON file names in DocumentExporter 2014-11-09 20:01:47 -03:00
David Capello
f1165ec3bc Change default file names to save a sequence of images 2014-11-09 20:01:34 -03:00
David Capello
91bd84f681 Now --save-as can be combined with --split-layers and --import-layer args
Close #456
2014-11-09 19:46:09 -03:00
David Capello
c9a7d77879 Update cmake command line options for the supported VS versions 2014-11-08 21:10:29 -03:00
David Capello
6dba52c813 Remove MinGW from INSTALL.md 2014-11-08 21:09:54 -03:00
David Capello
b96d615d6c Add KeyAction::Left/RightMouseButton (it's quite experimental at the moment) 2014-11-08 21:09:29 -03:00
David Capello
8716214718 Add SetLoopSection command and F2 keyboard shortcut (close #491) 2014-11-08 19:57:46 -03:00
David Capello
ccf563c4dd Fix mini editor animation playback when we're drawing (inside a ToolLoop)
We've to show the document's extra cel only if we are in the current layer
and frame.
2014-11-08 17:03:29 -03:00
David Capello
8b4edc2f50 Fix mini editor problem: brush preview wasn't being shown 2014-11-07 20:17:06 -03:00