Commit Graph

2355 Commits

Author SHA1 Message Date
David Capello
a1912d38bd Avoid unused variable warnings when we compile in release mode 2014-08-17 20:33:32 -03:00
David Capello
78b755bd40 Fix updater: now getMacOSXVersion() is in a .mm file (ObjC++) 2014-08-15 00:59:29 -03:00
David Capello
fbda63704f Fix initialization order in PaletteEntryEditor 2014-08-15 00:27:12 -03:00
David Capello
897513264d Compile subprojects with C++11 flags 2014-08-15 00:26:27 -03:00
David Capello
9d675b6864 Use static_assert() 2014-08-15 00:24:59 -03:00
David Capello
dfc1ecd2da Use #pragma warning only in MSC compiler 2014-08-14 23:38:06 -03:00
David Capello
badc334f21 Fix include guard (detected by clang) 2014-08-14 23:37:20 -03:00
David Capello
f5b5250482 Remove use of "register" modifier (it's deprecated) 2014-08-14 23:26:52 -03:00
David Capello
6824570c4b Remove base/override.h (use override keyword directly) 2014-08-14 23:07:47 -03:00
David Capello
ff93400c4e Remove scripts/ subdirectory 2014-08-14 01:23:35 -03:00
David Capello
28cfa9790f Update INSTALL and CONTRIBUTING guides 2014-08-14 00:41:30 -03:00
David Capello
f62356d410 Add compiler flags for C++11 so we can start using it 2014-08-14 00:40:01 -03:00
David Capello
877fe94746 Merge branch 'dev' 2014-08-14 00:34:17 -03:00
David Capello
87690284a4 Update INSTALL instructions for Mac OS X 2014-08-13 00:37:27 -03:00
David Capello
918368b5a4 Add support to open folders in Mac OS X 2014-08-13 00:35:34 -03:00
David Capello
a9721b63a8 Undefine major/minor macros if they are defined (as in clang) for base::Version 2014-08-13 00:31:56 -03:00
David Capello
1f900eda26 Fix compilation error detected by clang 2014-08-13 00:22:48 -03:00
David Capello
6db36fe30b Add ZoomCommand so zoom keys are configured in gui.xml file 2014-08-13 00:22:29 -03:00
David Capello
155b770acd Avoid crash by ASSERT()
I think this ASSERT crashes the program because they aren't called from
the main thread, but I'm not quite sure.
2014-08-12 08:22:43 -03:00
David Capello
414427e879 ExportSpriteSheet: setup text of columns/width/height when the other fields are modified 2014-08-12 08:12:16 -03:00
David Capello
400ab0c464 Fix a bug in ui::Manager putting the focus in non-visible widgets
We've to ask for isVisible() member function because it checks for
the visibility of the widget and its parents.
2014-08-12 08:10:02 -03:00
David Capello
f0fa34cf4a ExportSpriteSheet: fix getting the best fit size for long animations 2014-08-12 08:09:09 -03:00
David Capello
42399df2c8 When copy and paste layers between documents, expand the number of total frames of the destination sprite if it's needed 2014-08-12 07:57:40 -03:00
David Capello
dde7915c24 ExportSpriteSheet: Fix "Height" combobox to make it editable 2014-08-12 07:29:57 -03:00
David Capello
37ac1444bd Fix issue 374: Selection is distorted when it's moved and RotSprite is on
Don't use RotSprite until the angle or the size of the image is changed.
2014-08-12 07:19:58 -03:00
David Capello
ebca329112 Add support to compile with MSVC 64bits
It's not ready, the program crashes when it starts, but at least we can
compile for 64bits.
2014-08-12 07:01:21 -03:00
David Capello
70f4354f88 Fix initial sprite sheet type in Export Sprite Sheet dialog 2014-08-11 11:48:36 -03:00
David Capello
a2ba77fa1d Fix horizontal/vertical export sprite sheet 2014-08-11 11:48:07 -03:00
David Capello
df3c16b802 Add more options to export sprite sheet (e.g. best fit for texture) 2014-08-11 11:33:17 -03:00
David Capello
1f25579f5a Fix bug: avoid clicking window borders when a combobox is open 2014-08-11 08:10:42 -03:00
David Capello
c936a792ab Add export_sprite_sheet.xml widget 2014-08-11 07:27:10 -03:00
David Capello
a767eb187d Add layer_properties.xml widget 2014-08-11 06:57:22 -03:00
David Capello
d11900cdef Use generated widget app::gen::DuplicateSprite in DuplicateSpriteCommand 2014-08-11 06:55:51 -03:00
David Capello
7550db81ba Fix issue 446 crash calling replace color in a sprite with no layers
- Fix access to a NULL pointer in ReplaceColorFilterWrapper
- Fix typo in NoImageException
- Do not allow to remove all layers in RemoveLayerCommand
2014-08-11 06:54:14 -03:00
David Capello
1c324c9b14 Add experimental option to use native mouse cursors (and some renames of cursor names) 2014-08-10 19:51:14 -03:00
David Capello
f48440fe71 Use the generated app::gen::Options widget for OptionsCommand 2014-08-10 01:12:31 -03:00
David Capello
58a515c3ae Win32: If we receive a WM_NCMOUSEMOVE message, we can generate a Event::MouseLeave if needed 2014-08-10 00:48:18 -03:00
David Capello
8cf25c49a7 Win32: Fix bug where the mouse capture isn't released 2014-08-10 00:12:33 -03:00
David Capello
4d4958bf35 Move capture/release mouse function to she layer 2014-08-09 22:32:05 -03:00
David Capello
33706ce6ff Fix issue 408 saving the Import Sprite Sheet window position 2014-08-09 21:54:12 -03:00
David Capello
303595689f Use generated widget app::gen::NewSprite in NewFileCommand 2014-08-09 21:45:07 -03:00
David Capello
df0d39ed87 Timeline: draw clipboard range after the selection outline 2014-08-09 21:35:23 -03:00
David Capello
2c675bfc4f Fix crash in PreviewCommand
We cannot use the ui::Graphics internal surface directly when we use
raster::convert_image_to_surface() (it expects an Rgba surface).
2014-08-09 21:33:38 -03:00
David Capello
93c6967409 Show mini editor window again after PlayAnimationCommand 2014-08-09 18:37:23 -03:00
David Capello
a5d6af7d87 Fix issue 426: The user should not be able to change cel opacity in Indexed images 2014-08-09 18:04:53 -03:00
David Capello
ff493552aa Capture mouse in PreviewCommand 2014-08-09 17:31:22 -03:00
David Capello
1e84c63042 Use ui::Window to show the animation playback instead of a custom event loop 2014-08-09 17:14:56 -03:00
David Capello
d23fa2230b Implement option to generate one optimized palette for all frames when we save a .gif file 2014-08-09 12:51:11 -03:00
David Capello
8dff8a979d Copy the background layer as background when a document is duplicated 2014-08-09 12:45:04 -03:00
David Capello
7632e83046 Don't show selection handles in the MiniEditor 2014-08-09 12:24:04 -03:00