Commit Graph

3663 Commits

Author SHA1 Message Date
David Capello
86fe6a316b Don't create she::System on file_tests and gif_tests 2015-06-09 10:40:39 -03:00
David Capello
a2b3822730 Avoid unused variable warning in gif_format.cpp when we compile with giflib4 2015-06-09 10:37:19 -03:00
David Capello
4a6e17135e Keep going if some tests fails 2015-06-09 10:33:52 -03:00
David Capello
8c8abcdf32 Use sizeof() instead of png_sizeof() to avoid problems with specific libpng versions 2015-06-09 10:25:44 -03:00
David Capello
b2fb33a415 Don't use our copy of libpng header files when USE_SHARED_LIBPNG is ON 2015-06-09 10:20:56 -03:00
David Capello
65d03c9893 Add support to compile gif_format.cpp with giflib 4 2015-06-08 20:21:50 -03:00
David Capello
1eb94d746d Fix red/blue onion skin for Indexed images 2015-06-08 19:58:23 -03:00
David Capello
f8dbbba632 Include allegro_error in exception if allegro_init() fails 2015-06-08 19:51:55 -03:00
David Capello
8902b3701f Avoid compiling error with Allegro 4.2 2015-06-08 19:48:29 -03:00
David Capello
ed4ff82a5e Add extra PATH_SUFFIXES to find pixman library 2015-06-08 18:21:20 -03:00
David Capello
222562db09 Remove USE_SHARED_GTEST option 2015-06-08 18:20:39 -03:00
David Capello
b3b6a28427 Now include(CheckCXXSourceCompiles) is required in src/CMakeLists.txt 2015-06-08 17:46:37 -03:00
David Capello
0c115e5567 Move code to find gtest shared version into src/CMakeLists.txt 2015-06-08 17:42:08 -03:00
David Capello
b03f6de006 Try with an alternative name for pixman shared library 2015-06-08 17:41:36 -03:00
David Capello
fdeba03216 Fix find_library() call for gtest library (issue #695) 2015-06-08 17:29:42 -03:00
David Capello
9d3f2b1225 Without special clang version 2015-06-08 17:26:12 -03:00
David Capello
0c09a0d229 Add special repository for g++-4.8 2015-06-08 17:20:18 -03:00
David Capello
54c1cbfd53 Specify exact libcurl library in apt-get install 2015-06-08 16:53:00 -03:00
David Capello
137a75c451 Install dependencies in before_install step 2015-06-08 16:49:36 -03:00
David Capello
ac4328f4cf Add matrix to travis.yml to compile with shared libraries 2015-06-08 16:33:59 -03:00
David Capello
470e1e93f7 Run only non-UI tests 2015-06-08 16:33:12 -03:00
David Capello
8324daaf67 Testing travis-ci 2015-06-08 15:57:15 -03:00
David Capello
f9b76e0f3e Fix crash destroying PixelsMovement's extra cel from Editor::clearBrushPreview()
If Ctrl key isn't mapped to Move tool (or any tool without brush preview),
when we use Ctrl+V to paste clipboard content, the extra cel created
by PixelsMovement will be destroyed by Editor::clearBrushPreview()
when the Editor state changes.

This bug only happened when the brush preview was visible and Ctrl+V was
used. Also it could happen if we mapped any other key (e.g. "A") to
paste the clipboard content directly when we were using a drawing tool
(like the Pencil tool).
2015-06-08 12:13:55 -03:00
David Capello
0a1dfe0633 Merge branch 'onionskin'
Conflicts:
	src/app/ui/editor/play_state.cpp
	src/render/render.cpp
	third_party/gtest
2015-06-05 15:53:15 -03:00
David Capello
b3db9c4f7c Default FG color=white and default BG color=black 2015-06-05 01:05:43 -03:00
David Capello
557c7854bc Fix random crash using Eyedropper with Alt+click
This was a problem related to uninitialized memory in Render class.
The Render::renderLayer() member function was accessing to an invalid
m_previewImage pointer.
2015-06-05 01:05:35 -03:00
David Capello
59cdae7715 Fix crash when there is an unknown file format inside palettes/ folder 2015-06-03 22:27:06 -03:00
David Capello
e0fea708f8 Add option to resize the final output of "Save Copy As" command (fix #685) 2015-06-03 16:34:27 -03:00
David Capello
c6f2c48d66 Move the "new folder dialog" to its own xml to automatically generate its widget 2015-06-03 12:21:14 -03:00
David Capello
726013e0bd Use generated widget in app::FileSelector from file_selector.xml 2015-06-03 12:21:12 -03:00
David Capello
3c95bd57ee Unify app::FileSelector::Type with app::FileSelectorType 2015-06-03 12:21:08 -03:00
David Capello
1a573fbeb5 Do not recreate the she::Surface on each render 2015-06-02 19:28:49 -03:00
David Capello
65c8979597 Fix bug showing drawing cursor on Canvas Size command 2015-06-02 18:50:10 -03:00
David Capello
89f96926a4 Ask to overwrite files in Export Sprite Sheet command (fix #689) 2015-06-02 18:41:22 -03:00
David Capello
01eacb2952 Fix bug where the user weren't able to move a range cel X/Y positions (fix #669) 2015-06-02 16:47:06 -03:00
David Capello
61c745ee7c Patch a possible crash when dropping pixels onBeforeFrameChanged
This is not a "real fix". But we hope the program at least doesn't crash
in this scenario.

Reviewed this problem on #275, #424, and #690
2015-06-02 16:46:04 -03:00
David Capello
ecb4c8b464 Convert MovingPixelsState connections to ScopedConnections 2015-06-02 11:15:33 -03:00
David Capello
84fb343e30 Minor change in play_state.cpp 2015-06-02 11:04:06 -03:00
David Capello
cd922fc4c2 Remove PlayState as Context observer when ~PlayState is called (fix #682)
To do this we just use a ScopedConnection (which automatically disconnect
the connection in its destructor).
2015-06-02 11:03:04 -03:00
David Capello
df29126353 Add some progress to Skia/OSX port 2015-06-02 10:16:03 -03:00
David Capello
52d14d8c34 Fix finding necessary Skia libraries on OS X 2015-06-01 14:43:41 -03:00
David Capello
3425bcb0eb Add flags to avoid a lot of clang warnings on OS X 10.10 2015-06-01 14:42:59 -03:00
David Capello
edd67ab4cd Minor change she/skia/she.cpp 2015-06-01 14:42:13 -03:00
David Capello
65105f33da Do not link with QuickTime and audio frameworks on OS X 2015-06-01 14:39:30 -03:00
David Capello
8986fe129f Rename she::EventQueueImpl -> WinEventQueue 2015-06-01 14:34:03 -03:00
David Capello
e1b55395d5 Rename she::Window -> she::WinWindow 2015-06-01 14:33:47 -03:00
David Capello
4c8cea53df Change Window::setText -> setTitle 2015-06-01 14:32:51 -03:00
David Capello
e8350fb51a Move event queue to she::System 2015-06-01 14:32:06 -03:00
David Capello
fd15b4be97 Update third_party/README.md 2015-05-29 11:54:37 -03:00
David Capello
72d0ca8d2c Don't define strlcat() in curl if HAVE_STRLCAT is defined 2015-05-29 11:40:51 -03:00