Added image save as png to a Serializer stream. Due to stb_image_write limitations, the format is always png. Block-compressed (DXT etc.) image data is not supported. Closes #441.
For Travis CI - Misc. minor changes to improve CI build.
- Remove other temporary workaround for MinGW CI build to see if changing to 'Release' build configuration is enough to fix the insufficient memory problem.
- Attempt to fix intermitten network problem when installing software packages for Rasperry-Pi CI build by delaying the massive sysroot git clone to the last. Read this blog (http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/) on general network issue plaguing travis-ci.org.
For Travis CI - Refactor to terminate early on any errors.
The errors include: git clone error, apt-get update/install error, download error, etc.
The purpose of this refactor is to clearly distinguish between Travis CI build error (caused by error on Travis side) and Travis CI build failure (caused by build or test failure on Urho3D side). Previous setup sometimes allowed build environment in error state to continue to proceed with software building phase due to inefficient branching logic.
For Travis CI - use travis_retry when cloning RPI sysroot and tool.
Test [ci package].
For Travis CI - cleanup and sleep before retrying the cloning job.
Don't read between the lines :)
It has been proven on our CI build that just using 'travis_retry git clone ...' alone will never going to work.
For Travis CI - add memory diagnostics before attempting to git clone.
Temporary adjust build matrix to ignore RPI CI build error.
For Travis CI - misc. minor refactoring and bug fixes.
- Add Android API level environment variable.
- Prevent unnecessary enabling of CMake testing configuration when the build test cannot be performed for specific target platform.
- Fix missing 'abort' command on a number of error handling branches.
For Travis CI - fix error handling for xcode_build.
Also fix to properly exclude IOS 64-bit test run on OSX CI build environment, but thanks to this mistake we found another bigger mistake in the xcode_build error handling.
For Travis CI - workaround RPI build intermittent build error.
Currently there is no permanent solution to the intermittent build environment setup issue. In order to avoid false alarm on the overall build status, this commit temporarily group the git clone step as part of the script run. As such when it exits non-cleanly, it would be treated as build failure instead of build error. But since we have already set the RPI CI build to allow failure, their 'failures' (if it happens) should not affect the overall build status.
For Travis CI - another attempt before cutting RPI lose for good.
Added IndexBuffer forward declaration to Terrain.h.
For Travis CI - test run Android APK in emulator as part of CI build.
This should prevent the similar incident like SONAME breaking Android APK went unnotice for days.
Also:
- Revert back the workaround attempt for the RPI build as it did not work. The build error problem has been reported to Travis-CI upstream issue log.
- Add new rake task to automate Android APK testing (tested on Linux platform only).
For Travis CI - move Android CI build to its own CI mirror branch.
For Travis CI - adjust success indicator string for CI.
Cannot enable hardware acceleration in the Travis CI VM, so just check the sign of Urho3D from being started instead of checking the engine is fully initialized.
For Travis CI - refine abort message for 'android' rake task.
Test [ci package] for Android-CI build.
For Travis CI - move Raspberry-Pi build to its own CI mirror branch.
For Travis CI - change to use git fetch 'unshallow' instead of 'depth'.
The hard-coded depth=2000 may not be a good estimate of how deep we should go in order to get the last annotated tag. Also move the operation to 'ci' rake task so it can be shared for all the Travis-CI build environments.
Remove bom(b) from Readme.txt and update the project tagline.
For Travis CI - fix CI build on OSX build environment.
Add rapidjson input files to Doxygen pages generation properly.