Commit Graph

9886 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
de93f17310 Refine comment on the PATH_SUFFIX variable. 2014-09-15 13:33:22 +08:00
Yao Wei Tjong 姚伟忠
e48f134290 Code cleanup and fix iOS build.
[ci package]
2014-09-15 00:53:19 +08:00
Yao Wei Tjong 姚伟忠
08f54f96e6 Enhance CMake build script to support iOS deployment target.
For Travis CI - set the iOS deployment target to 7.0 explicitly but have to bump the OSX deployment target to 10.8 because Travis-CI only have 10.8 and 10.9 SDKs installed.
[ci package]
2014-09-14 23:48:42 +08:00
Yao Wei Tjong 姚伟忠
bebe9b6197 For Travis CI - set the OSX deployment target to 10.7 explicitly.
If the option is not set, Urho3D CMake build script by default configures it to match the currently running OS X version. On Travis-CI that is 10.9 which is too high for binary packaging. Closes #447.
2014-09-14 22:40:54 +08:00
Yao Wei Tjong 姚伟忠
a5e34ea512 Adjust RPATH to also search lib directory relative to the executables.
Closes #448.
2014-09-13 23:41:09 +08:00
Lasse Öörni
f1e25381a3 Support single image splitting for cube maps. Closes #445. 2014-09-13 15:33:55 +03:00
Yao Wei Tjong 姚伟忠
5a79a7c552 Add the new build options to documentation page.
Closes #446. [ci skip]
2014-09-13 14:55:08 +08:00
Yao Wei Tjong 姚伟忠
9f0b6412b9 For Travis CI - rename source package to use same version delimiter.
[ci skip]
2014-09-13 10:45:08 +08:00
Lasse Öörni
36175d471f Make attribute accessor base class abstract to avoid unused parameter warnings when including Attribute.h. The base class is not useful in any case. 2014-09-12 13:30:32 +03:00
Yao Wei Tjong 姚伟忠
036fe0959c For Travis CI - code cleanup but add more memory diagnostics.
[ci package]

- Simplify the check on environment variable containing the commit-ish used in the 'git describe' command.
- Shuffle the rebase order in 'ci_rebase' rake task, move the OSX-CI rebase to the last as OSX Travis-CI build environment is extremely slow lately (has longer job queue).
- Improve 'android' rake task to only create named AVD for CI test when necessary and to turn off graphics acceleration explicitly when starting the emulator in CI environment.
- Add more memory diagnostics to help in investigation of process being killed by Travis CI upstream issue reported in #430.
2014-09-12 13:52:00 +08:00
urho3d-travis-ci
503b3e751c Travis CI: API documentation update at 2014-09-11 22:27:40 UTC.
[ci package]
2014-09-11 22:27:40 +00:00
Lasse Öörni
6f980453b6 Added success return value to Image::FlipVertical(). Fixed return value of Image::Resize() in AngelScript bindings. 2014-09-12 01:16:37 +03:00
Lasse Öörni
0330a94d42 Added support for flipping DXT1,3,5 compressed images vertically. 2014-09-12 00:53:23 +03:00
Lasse Öörni
e4fab0f5ab Enable link stage response files on Windows when building for Android. Otherwise building a shared Urho3D library could fail. 2014-09-11 21:46:34 +03:00
Yao Wei Tjong 姚伟忠
2e532412fe For Travis CI - minor refactor to use the same commit-ish as Travis-CI.
Simplify build artifact housekeeping logic as now all the mirror CI branches will produce the same package description as the master branch.
[ci package]
2014-09-11 23:17:53 +08:00
Yao Wei Tjong 姚伟忠
c99c3dec2e Fix the heading size for the generated pages using markdown.
[ci skip]
2014-09-11 21:37:17 +08:00
Lasse Öörni
d5fddaba86 Added compressed image support to Image::GetSubimage() and fixed bugs in the function. 2014-09-10 23:32:26 +03:00
Yao Wei Tjong 姚伟忠
702eb09b64 Another attempt to fix the project configuration issue. 2014-09-10 22:27:44 +08:00
Yao Wei Tjong 姚伟忠
de87766629 Fix Urho3D project configuration issue due to wrong CMake condition. 2014-09-10 22:04:26 +08:00
urho3d-travis-ci
958c84c615 Travis CI: API documentation update at 2014-09-10 05:16:08 UTC.
[ci package]
2014-09-10 05:16:08 +00:00
Yao Wei Tjong 姚伟忠
b4e857ab4f Set all the headings in Urho2D and scripting API pages to proper case. 2014-09-10 13:06:38 +08:00
Yao Wei Tjong 姚伟忠
500db7ef97 Add rapidjson input files to Doxygen pages generation properly. 2014-09-10 13:06:38 +08:00
Yao Wei Tjong
29bb1b92b5 For Travis CI - fix CI build on OSX build environment. 2014-09-10 00:54:34 +08:00
Yao Wei Tjong 姚伟忠
8677e547b0 Remove bom(b) from Readme.txt and update the project tagline. 2014-09-09 22:52:34 +08:00
Yao Wei Tjong 姚伟忠
19577d2fd0 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.
2014-09-09 22:44:39 +08:00
Yao Wei Tjong 姚伟忠
0e9f54da9f For Travis CI - move Raspberry-Pi build to its own CI mirror branch. 2014-09-08 14:26:38 +08:00
Yao Wei Tjong 姚伟忠
e613cbde91 For Travis CI - refine abort message for 'android' rake task.
Test [ci package] for Android-CI build.
2014-09-07 18:59:36 +08:00
Yao Wei Tjong 姚伟忠
668d2bb48e 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.
2014-09-06 15:15:32 +08:00
Yao Wei Tjong 姚伟忠
e38b165906 For Travis CI - move Android CI build to its own CI mirror branch. 2014-09-06 14:06:43 +08:00
Yao Wei Tjong 姚伟忠
aa7068d332 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).
2014-09-06 01:41:47 +08:00
Lasse Öörni
671d2c45ac Added IndexBuffer forward declaration to Terrain.h. 2014-09-05 19:07:19 +03:00
Yao Wei Tjong 姚伟忠
80df272f0f For Travis CI - another attempt before cutting RPI lose for good. 2014-09-04 18:51:02 +08:00
Yao Wei Tjong 姚伟忠
9917635483 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.
2014-09-04 18:19:04 +08:00
Yao Wei Tjong 姚伟忠
f30cdd7abb 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.
2014-09-03 21:09:07 +08:00
Yao Wei Tjong 姚伟忠
f58d8563e8 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.
2014-09-03 15:17:40 +08:00
Yao Wei Tjong 姚伟忠
e5ec24ca64 For Travis CI - add memory diagnostics before attempting to git clone.
Temporary adjust build matrix to ignore RPI CI build error.
2014-09-02 16:58:21 +08:00
Yao Wei Tjong 姚伟忠
ff46a2032d 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.
2014-09-02 13:32:21 +08:00
Yao Wei Tjong 姚伟忠
03e99708e4 For Travis CI - use travis_retry when cloning RPI sysroot and tool.
Test [ci package].
2014-09-02 01:37:22 +08:00
Yao Wei Tjong 姚伟忠
6df619c383 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.
2014-09-02 00:15:10 +08:00
Yao Wei Tjong 姚伟忠
89fc5f3b07 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.
2014-09-01 15:00:18 +08:00
Lasse Öörni
89074cf668 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. 2014-08-31 21:51:47 +03:00
xDarkShadowKnightx
70e5917d40 Merge branch 'master' into editor-terrain 2014-08-30 13:05:28 -04:00
Lasse Öörni
9252d36abd Clarify/fix header comments of the compression API. 2014-08-30 13:41:54 +03:00
Lasse Öörni
6e42d3fc5a Minor doc edits. 2014-08-30 13:29:32 +03:00
Mike3D
51b95f5bfb Added TileMap 2014-08-30 10:43:29 +02:00
Lasse Öörni
7bafe59f2f Fix crash when master AnimatedModel is destroyed. Do not destroy the bone hierarchy as long as AnimatedModels remain in the node. Allow a non-master AnimatedModel to be promoted to master if necessary. Closes #439. 2014-08-30 02:01:43 +03:00
urho3d-travis-ci
31157975b6 Travis CI: API documentation update at 2014-08-29 22:14:41 UTC.
[ci package]
2014-08-29 22:14:41 +00:00
Lasse Öörni
3a93866936 Add LZ4 compression functions to public API. Expose the VectorBuffer compression/decompression functions also to script. Closes #438. 2014-08-30 01:03:25 +03:00
Yao Wei Tjong
831f7d189c Update Urho3D.dox 2014-08-30 01:00:14 +08:00
Lasse Öörni
cc98bb9199 Discard Ray::HitDistance() result to a triangle behind the ray. Fixes #437. 2014-08-28 19:35:24 +03:00