Implemented SystemOpen() method for Linux platform. The implementation relies on xdg-open from xdg-utils package which should be pre-installed by default in mainstream Linux distros like Fedora, Ubuntu, Mint.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2158 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Changed SystemRun() to return the actual exit code returned by subprocess. Added error log when failed to open file externally.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2159 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Corrected the lettercase to fix GCC compile.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2160 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Add missing header file.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2161 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Add Vector type support.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2162 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Update Lua API.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2163 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed gravity being incorrectly applied if framerate is low.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2164 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Removed generated artifacts from SVN. Automated the generation of *LuaAPI.cpp as part of the build process.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2165 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed MSVC/Win.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2166 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Updated to new SDL 2.0.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2167 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Reverted back to UNIX eol and a minor cleaned up.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2168 3bd170d8-ddcf-f82c-f583-7a401ccf5608
React to window closed by setting Engine to exiting state.
Eliminated circular dependency between Engine & Input.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2169 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Removed X11 const defines from SDL Linux config.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2170 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Emit public drag start/move/end events. Adapted from patch contributed by Chris Friesen.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2171 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added comment on threaded Octree update.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2172 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed cmake_ios.sh to accept command line arguments, such as '-DENABLE_LUA=1' to turn on Lua support.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2173 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed multiple instance SDL event handling.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2174 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Do not allow Input to directly close the rendering window and cause engine main loop termination. Instead send an event. Engine::SetAutoExit() controls whether to exit automatically as a response.
Do not pump OS events inside static mutex, as SDL's own event queue is already thread-safe.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2175 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Simplified app exit code path.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2176 3bd170d8-ddcf-f82c-f583-7a401ccf5608
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
Fixed single SDL memory leak on exit.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2177 3bd170d8-ddcf-f82c-f583-7a401ccf5608