]> git.mxchange.org Git - simgear.git/log
simgear.git
8 years agoUse SGFile to avoid Windows breakage.
James Turner [Mon, 22 Feb 2016 18:50:24 +0000 (20:50 +0200)]
Use SGFile to avoid Windows breakage.

8 years agoFix SimGear compile on Linux
Torsten Dreyer [Mon, 22 Feb 2016 18:49:20 +0000 (19:49 +0100)]
Fix SimGear compile on Linux

8 years agoHopefully fix Linux compilation.
James Turner [Mon, 22 Feb 2016 16:05:02 +0000 (18:05 +0200)]
Hopefully fix Linux compilation.

8 years agoOptionally use HTTP repository.
James Turner [Sun, 21 Feb 2016 19:49:02 +0000 (21:49 +0200)]
Optionally use HTTP repository.

- disabled by default since needs much testing.

8 years agoHTTP repository implementation
James Turner [Tue, 26 Jan 2016 00:29:25 +0000 (18:29 -0600)]
HTTP repository implementation

A plain-HTTP terrasync repository implementation, using the
SimGear HTTP abstraction. File validity is based on SHA hashes,
and existing files are not re-downloaded if their hash matches,
so soft upgrade from an SVN checkout is possible.

8 years agoCreate TerraSync repo API
James Turner [Tue, 26 Jan 2016 00:15:48 +0000 (18:15 -0600)]
Create TerraSync repo API

- create an abstract API for a remote repository, based on the current
  SVN repository API, and update the code accordingly.

8 years agoDebugging message improvements for the particle system.
Edward d'Auvergne [Mon, 15 Feb 2016 13:30:50 +0000 (14:30 +0100)]
Debugging message improvements for the particle system.

8 years agonew version: 2016.2.0
Automatic Release Builder [Wed, 17 Feb 2016 20:16:33 +0000 (21:16 +0100)]
new version: 2016.2.0

8 years agonew version: 2016.1.1
Automatic Release Builder [Wed, 17 Feb 2016 20:16:32 +0000 (21:16 +0100)]
new version: 2016.1.1

8 years agocorrect user-agent string for terrasync
Torsten Dreyer [Mon, 15 Feb 2016 15:53:31 +0000 (16:53 +0100)]
correct user-agent string for terrasync

8 years agoFix misnamed macro.
James Turner [Mon, 8 Feb 2016 09:37:35 +0000 (09:37 +0000)]
Fix misnamed macro.

- should fix TerraSync user-agent.

8 years agomath: 'void getMaxSubdiv' does not make any sense
Rebecca N. Palmer [Sat, 6 Feb 2016 21:16:27 +0000 (21:16 +0000)]
math: 'void getMaxSubdiv' does not make any sense

Fixes build failure with GCC 6: https://bugs.debian.org/812014
(getMaxSubdiv is currently unused)

8 years agoCMake: don’t export build to build tree
James Turner [Tue, 2 Feb 2016 18:33:20 +0000 (18:33 +0000)]
CMake: don’t export build to build tree

- only export targets to the install tree, since this is
  hopefully compatible with CMake 2.8

8 years agoFix headless build for CMake export
James Turner [Sat, 30 Jan 2016 14:29:12 +0000 (14:29 +0000)]
Fix headless build for CMake export

8 years agoWork on CMake export of targets.
James Turner [Fri, 29 Jan 2016 09:39:08 +0000 (09:39 +0000)]
Work on CMake export of targets.

8 years agoVS2013 compile fixes.
James Turner [Wed, 27 Jan 2016 14:02:27 +0000 (14:02 +0000)]
VS2013 compile fixes.

- mostly about return type conversions.

8 years agoTerraSync log typo
Gijs de Rooy [Wed, 20 Jan 2016 11:16:14 +0000 (12:16 +0100)]
TerraSync log typo

8 years agoNew log class for terrasync
James Turner [Sat, 16 Jan 2016 21:49:58 +0000 (15:49 -0600)]
New log class for terrasync

8 years agoAllow use of noreturn attribute with Clang
James Turner [Tue, 12 Jan 2016 18:48:34 +0000 (12:48 -0600)]
Allow use of noreturn attribute with Clang

- other compilers could also be enabled in the future.

8 years agoFix a Simgear compile failure.
James Turner [Sat, 9 Jan 2016 15:45:43 +0000 (09:45 -0600)]
Fix a Simgear compile failure.

8 years agoLinux test_HTTP fixes.
James Turner [Fri, 8 Jan 2016 18:17:02 +0000 (12:17 -0600)]
Linux test_HTTP fixes.

libCurl HTTP unit-test fixes.

8 years agoLinux test_HTTP fixes.
James Turner [Wed, 6 Jan 2016 18:57:04 +0000 (12:57 -0600)]
Linux test_HTTP fixes.

8 years agoJenkins build fixes.
James Turner [Wed, 6 Jan 2016 06:07:30 +0000 (00:07 -0600)]
Jenkins build fixes.

8 years agoFix negative loop counts when dt is small.
James Turner [Wed, 6 Jan 2016 05:18:41 +0000 (23:18 -0600)]
Fix negative loop counts when dt is small.

8 years agoRemove obsolete member
James Turner [Wed, 6 Jan 2016 05:17:20 +0000 (23:17 -0600)]
Remove obsolete member

8 years agoMerge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
James Turner [Wed, 6 Jan 2016 02:43:25 +0000 (20:43 -0600)]
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next

8 years agoVersion 2016.1.0
Torsten Dreyer [Tue, 5 Jan 2016 19:45:11 +0000 (20:45 +0100)]
Version 2016.1.0

8 years agoQuiet a debug message.
James Turner [Mon, 4 Jan 2016 19:36:32 +0000 (13:36 -0600)]
Quiet a debug message.

8 years agoQuite some debug output from the materials caches.
James Turner [Mon, 4 Jan 2016 03:51:58 +0000 (21:51 -0600)]
Quite some debug output from the materials caches.

8 years agoNew accessors for variant support.
James Turner [Mon, 4 Jan 2016 02:57:19 +0000 (20:57 -0600)]
New accessors for variant support.

8 years agoFixes for stalling scenery downloads.
James Turner [Sun, 3 Jan 2016 17:58:22 +0000 (11:58 -0600)]
Fixes for stalling scenery downloads.

- handle closed connections equivalent to IDLE, for timeout purposes
- if the server closes the socket in WAITING_FOR_RESPONSE state, fail
  the first sent request when restoring.

Note this does not explain why the server sometimes closes the socket
in this way, but at least it now causes a detectable failure.

8 years agoTrying to debug HTTP timeouts
James Turner [Tue, 22 Dec 2015 21:16:13 +0000 (15:16 -0600)]
Trying to debug HTTP timeouts

8 years agoFix a very rare nan where r_earth/position_radius > 1.0
Erik Hofman [Tue, 29 Dec 2015 14:49:12 +0000 (15:49 +0100)]
Fix a very rare nan where r_earth/position_radius > 1.0

8 years agoRemove the dependency on boost for STANDALONE mode
Erik Hofman [Thu, 24 Dec 2015 13:18:53 +0000 (14:18 +0100)]
Remove the dependency on boost for STANDALONE mode

8 years agouse the proper namespace
Erik Hofman [Wed, 23 Dec 2015 09:36:03 +0000 (10:36 +0100)]
use the proper namespace

8 years agoFix two comparison between signed and unsigned integer warnings
Erik Hofman [Fri, 11 Dec 2015 10:09:39 +0000 (11:09 +0100)]
Fix two comparison between signed and unsigned integer warnings

8 years agoSet macos-min-version for C files too
James Turner [Thu, 10 Dec 2015 20:53:17 +0000 (14:53 -0600)]
Set macos-min-version for C files too

Should fix another 10.7 issues (Nasal code is .c)

8 years agoTemplated helper to retrieve a subsystem
James Turner [Thu, 10 Dec 2015 20:51:56 +0000 (14:51 -0600)]
Templated helper to retrieve a subsystem

- example of naming a subsystem

8 years agoMake it possible to tie the absolute position to a property
Erik Hofman [Thu, 10 Dec 2015 10:50:20 +0000 (11:50 +0100)]
Make it possible to tie the absolute position to a property

8 years agoOn Mac, force setting macon-min-version
James Turner [Tue, 8 Dec 2015 20:42:43 +0000 (20:42 +0000)]
On Mac, force setting macon-min-version

- the CMake option seems to be erratic, it works locally but not
  on the Jenkins machine for inexplicable reasons.

8 years agoExpose catalog name directly.
James Turner [Sun, 29 Nov 2015 12:43:03 +0000 (12:43 +0000)]
Expose catalog name directly.

8 years agoAdd fg_root and cwd to the search path for loaded models
Torsten Dreyer [Fri, 27 Nov 2015 10:11:42 +0000 (11:11 +0100)]
Add fg_root and cwd to the search path for loaded models

ref: http://sourceforge.net/p/flightgear/mailman/message/34650992/

8 years agoSGMaterialAnimation: Better handling of missing texture
Torsten Dreyer [Fri, 27 Nov 2015 10:07:52 +0000 (11:07 +0100)]
SGMaterialAnimation: Better handling of missing texture

Don't retry loading a missing texture on every frame.
Emit a warning message instead and retry on the next
change of the textures name.

8 years agoFix spelling of Find(CURL)
James Turner [Tue, 24 Nov 2015 00:09:19 +0000 (00:09 +0000)]
Fix spelling of Find(CURL)

8 years agoWhitespace fixes.
James Turner [Mon, 23 Nov 2015 17:57:46 +0000 (17:57 +0000)]
Whitespace fixes.

8 years agoFix for catalog adding/removing bugs
James Turner [Mon, 23 Nov 2015 17:57:36 +0000 (17:57 +0000)]
Fix for catalog adding/removing bugs

8 years agoOptional use libCurl as the HTTP client.
James Turner [Thu, 1 Oct 2015 03:12:35 +0000 (22:12 -0500)]
Optional use libCurl as the HTTP client.

Will permit HTTPS for packages in the future, disabled by default
for the moment.

8 years agoMore whitespace fixes.
James Turner [Sun, 22 Nov 2015 22:40:07 +0000 (22:40 +0000)]
More whitespace fixes.

8 years agoEOL cleanups.
James Turner [Thu, 1 Oct 2015 03:13:02 +0000 (22:13 -0500)]
EOL cleanups.

8 years agoRequire Cmake 2.8.11
James Turner [Wed, 30 Sep 2015 03:49:22 +0000 (22:49 -0500)]
Require Cmake 2.8.11

- drop OldGNUInstallDirs work-around as a result

8 years agoSGPath(): make realpath() suitable for fgValidatePath
Rebecca N. Palmer [Sat, 21 Nov 2015 21:35:15 +0000 (21:35 +0000)]
SGPath(): make realpath() suitable for fgValidatePath

Handle non-existent files, drop obsolete workaround

8 years agoSubsystemMgr: prevent double delete and use shared pointers.
Thomas Geymayer [Thu, 19 Nov 2015 22:10:11 +0000 (23:10 +0100)]
SubsystemMgr: prevent double delete and use shared pointers.

8 years agoQuadTree fix for large buildings.
Stuart Buchanan [Fri, 6 Nov 2015 21:38:53 +0000 (21:38 +0000)]
QuadTree fix for large buildings.

QuadTree relies on a bounding box to set up correctly.

ProxyNodes don't have a BB until the model is loaded,
causing the QuadTree to collapse if the DB loader can't
keep up with the STG loader.

Fix this by creating a default BB before the model
is loaded.

8 years agoAdd the option to set the reference name afterwards (but before calling play()
Erik Hofman [Thu, 5 Nov 2015 14:33:06 +0000 (15:33 +0100)]
Add the option to set the reference name afterwards (but before calling play()

8 years agoFix wrong log-class for debug message
Torsten Dreyer [Mon, 2 Nov 2015 09:56:17 +0000 (10:56 +0100)]
Fix wrong log-class for debug message

8 years agoUse quadtree to improve culling of STG objects
Stuart Buchanan [Thu, 29 Oct 2015 20:07:12 +0000 (20:07 +0000)]
Use quadtree to improve culling of STG objects

8 years agoRemove max density 10000m for surface lights.
Stuart Buchanan [Thu, 22 Oct 2015 19:28:37 +0000 (20:28 +0100)]
Remove max density 10000m for surface lights.

8 years agoCanvas: use weak pointer to protect parent element access.
Thomas Geymayer [Tue, 29 Sep 2015 19:38:52 +0000 (21:38 +0200)]
Canvas: use weak pointer to protect parent element access.

Using a weak pointer is the best way to ensure no invalid
pointer is used. This also fixes a possible crash in
simgear::canvas::Element::getParentStyle on destructing
canvas elements.

8 years agoAvoid duplicate refresh of Catalogs
James Turner [Mon, 28 Sep 2015 04:14:50 +0000 (23:14 -0500)]
Avoid duplicate refresh of Catalogs

- also fix duplicate reporting of successful refresh

8 years agoImprove package extraction cleanup
James Turner [Mon, 28 Sep 2015 01:39:58 +0000 (20:39 -0500)]
Improve package extraction cleanup

8 years agoPackage support progress
James Turner [Mon, 28 Sep 2015 00:42:08 +0000 (19:42 -0500)]
Package support progress

- check the catalog version explicitly when refreshing
- handle packages with distinct dir name / primary ID correctly
  (requires an updated catalog XML format)

8 years agoRevert previous change, OpenAL-Soft is not ready yet.
Erik Hofman [Tue, 22 Sep 2015 10:36:40 +0000 (12:36 +0200)]
Revert previous change, OpenAL-Soft is not ready yet.

8 years agoUse our stdint.hxx, not C++11 cstdint
Rebecca N. Palmer [Mon, 21 Sep 2015 21:09:47 +0000 (22:09 +0100)]
Use our stdint.hxx, not C++11 cstdint

8 years agoFix missing include for uint8_t on Linux
James Turner [Mon, 21 Sep 2015 19:55:52 +0000 (14:55 -0500)]
Fix missing include for uint8_t on Linux

8 years agoPackage support hacking
James Turner [Wed, 12 Aug 2015 21:22:59 +0000 (14:22 -0700)]
Package support hacking

- rename failure code to status code, and add more to handle
  cancellation.
- change caching of active Installs from Catalog to Root, to clarify
  ownership
- expose download status on Install
- adjust Delegate signatures to pass more information

8 years agoDrop explicit SDK setting on Mac
James Turner [Sun, 20 Sep 2015 13:33:39 +0000 (08:33 -0500)]
Drop explicit SDK setting on Mac

8 years agoFix error case on HTTPClient
James Turner [Wed, 12 Aug 2015 21:21:31 +0000 (14:21 -0700)]
Fix error case on HTTPClient

8 years agochance the WMM epic form 1 jan 2005 to 1 jan 2015
www2 [Fri, 19 Jun 2015 09:57:35 +0000 (11:57 +0200)]
chance the WMM epic form 1 jan 2005 to 1 jan 2015

8 years agoAdd Update the World Magnetic Model to 2015.0
www2 [Thu, 18 Jun 2015 20:26:23 +0000 (22:26 +0200)]
Add Update the World Magnetic Model to 2015.0

8 years agoThorsten Renk:
Erik Hofman [Wed, 26 Aug 2015 10:16:56 +0000 (12:16 +0200)]
Thorsten Renk:
Add a 4th layer to the sun (next to disc, inner halo and outer halo). While the inner/outer halos change with atmosphere conditions, the new layer is supposed to represent the effect of blinding brilliance - ideally it adds a suitable ray structure to the sun. The effect is most prominent in space (where I'm most keen on seeing it admittedly) because there all atmospheric halo effects are absent and we end with a really unrealistic white disc.

Some screenshots and discussion there

http://forum.flightgear.org/viewtopic.php?f=47&t=27216

8 years agoIt looks like the current version of OpenAL-Soft has better Doppler support
Erik Hofman [Wed, 26 Aug 2015 09:29:43 +0000 (11:29 +0200)]
It looks like the current version of OpenAL-Soft has better Doppler support

8 years agoFix #1783: repeated error message on console
Torsten Dreyer [Wed, 5 Aug 2015 07:26:46 +0000 (09:26 +0200)]
Fix #1783: repeated error message on console

This downgrades the "file not found" message to a warning.

8 years agoBump version to 3.7.0
Torsten Dreyer [Mon, 27 Jul 2015 19:42:17 +0000 (21:42 +0200)]
Bump version to 3.7.0

8 years agobump version -> 3.6.0
Torsten Dreyer [Tue, 14 Jul 2015 09:35:35 +0000 (11:35 +0200)]
bump version -> 3.6.0

9 years agoAvoid a warning on startup
James Turner [Sun, 7 Jun 2015 15:49:04 +0000 (17:49 +0200)]
Avoid a warning on startup

- duplicate inits are benign, so don’t warn

9 years agoRemove some debug output.
James Turner [Sun, 7 Jun 2015 15:48:33 +0000 (17:48 +0200)]
Remove some debug output.

9 years agoSet RPATH on Mac
James Turner [Sun, 7 Jun 2015 13:57:01 +0000 (15:57 +0200)]
Set RPATH on Mac

9 years agoFix SVN server fallback when query fails
James Turner [Sun, 7 Jun 2015 13:53:44 +0000 (15:53 +0200)]
Fix SVN server fallback when query fails

9 years agocanvas::Map: remove rotation matrix on removing HDG node.
Thomas Geymayer [Tue, 2 Jun 2015 16:24:31 +0000 (18:24 +0200)]
canvas::Map: remove rotation matrix on removing HDG node.

Return to previous rotation if autorotation to HDG is
disabled/removed.

9 years agoAmend previous patch also for PropertyObject<string>
Torsten Dreyer [Thu, 28 May 2015 10:03:48 +0000 (12:03 +0200)]
Amend previous patch also for PropertyObject<string>

9 years agoPropertyObject: enable creation of property
Torsten Dreyer [Wed, 27 May 2015 18:18:22 +0000 (20:18 +0200)]
PropertyObject: enable creation of property

add a create-flag to the node() method of a PropertyObject,
defaulting to false to maintain existing behaviour.
This could be used to add a listener to a non-existing property
without having to write a dummy-value beforehand.

Usage:
myPropertyObject->node() returns the corresponding node or NULL if
does not exist or has not been accessed before.
myPropertyObject->node(true) returns the corresponding node, never NULL.
If the property does not exist, it will gets created.

9 years agoFix position calculation of sound samples
onox [Thu, 14 May 2015 22:36:11 +0000 (00:36 +0200)]
Fix position calculation of sound samples

Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoPackages: more unit-test coverage
James Turner [Thu, 23 Apr 2015 21:05:50 +0000 (22:05 +0100)]
Packages: more unit-test coverage

9 years agoPackages: increased test coverage.
James Turner [Wed, 22 Apr 2015 22:49:51 +0000 (23:49 +0100)]
Packages: increased test coverage.

9 years agoPackage work on version support.
James Turner [Wed, 22 Apr 2015 22:38:40 +0000 (23:38 +0100)]
Package work on version support.

- start adding test coverage for packages

9 years agoStateMachine: fix transition source location
Torsten Dreyer [Tue, 21 Apr 2015 11:45:16 +0000 (13:45 +0200)]
StateMachine: fix transition source location

source should be child of transition

9 years agoStateMachine: fix messed up entry/exit/update bindings
Torsten Dreyer [Tue, 21 Apr 2015 08:02:22 +0000 (10:02 +0200)]
StateMachine: fix messed up entry/exit/update bindings

9 years agoMerge branch 'moore/osg-current' into next
Tim Moore [Mon, 20 Apr 2015 22:08:00 +0000 (00:08 +0200)]
Merge branch 'moore/osg-current' into next

9 years agoOff-by-one error in the OSG_VERSION_LESS_THAN macro
Tim Moore [Mon, 20 Apr 2015 22:06:22 +0000 (00:06 +0200)]
Off-by-one error in the OSG_VERSION_LESS_THAN macro

I was confused about when the version number gets bumped in OSG sources...

9 years agoWindows versionhelpers.h support.
James Turner [Mon, 20 Apr 2015 09:57:54 +0000 (10:57 +0100)]
Windows versionhelpers.h support.

9 years agochanges for OSG 3.3.4 and later
Tim Moore [Sun, 19 Apr 2015 15:11:49 +0000 (17:11 +0200)]
changes for OSG 3.3.4 and later

The public interfaces to osgText and osg::GLExtensions changed.

9 years agoSelect default TerraSync server automatically.
James Turner [Sat, 11 Apr 2015 22:50:33 +0000 (23:50 +0100)]
Select default TerraSync server automatically.

9 years agoFix a clang warning
James Turner [Sat, 11 Apr 2015 20:58:23 +0000 (21:58 +0100)]
Fix a clang warning

9 years agoExplicit Mac SDK for the moment.
James Turner [Sat, 11 Apr 2015 20:58:15 +0000 (21:58 +0100)]
Explicit Mac SDK for the moment.

9 years agoWindowsXP workaround for SHGetKnowwFolder
James Turner [Thu, 9 Apr 2015 14:33:56 +0000 (15:33 +0100)]
WindowsXP workaround for SHGetKnowwFolder

Fix from xDraconian after a bug report from Aleesandro.

9 years agoUnit Test: Fixed failure of test_HTTP
James Turner [Tue, 24 Mar 2015 16:10:16 +0000 (11:10 -0500)]
Unit Test: Fixed failure of test_HTTP

From Scott (xDraconian)

9 years agoPortability: Implemented Known Folders for Windows
James Turner [Tue, 24 Mar 2015 16:08:36 +0000 (11:08 -0500)]
Portability: Implemented Known Folders for Windows

Patch from Scott (xDraconian)

9 years agoPortability: Fix compile errors on MSVC
James Turner [Tue, 24 Mar 2015 16:05:57 +0000 (11:05 -0500)]
Portability: Fix compile errors on MSVC

From Scott (xDraconian)

9 years agoFix missing include for Cmake 3.2.1
James Turner [Tue, 17 Mar 2015 23:32:57 +0000 (23:32 +0000)]
Fix missing include for Cmake 3.2.1

9 years agoOnly detect threading library where needed
James Turner [Tue, 17 Mar 2015 23:28:52 +0000 (23:28 +0000)]
Only detect threading library where needed

- avoids failure with newest CMake on Mac