]> git.mxchange.org Git - simgear.git/log
simgear.git
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

9 years agoMake flag Mac-specific.
James Turner [Tue, 17 Mar 2015 23:26:20 +0000 (23:26 +0000)]
Make flag Mac-specific.

9 years agoFix for Cmake 3.2.1 on Mac SDK handling
James Turner [Tue, 17 Mar 2015 22:31:05 +0000 (22:31 +0000)]
Fix for Cmake 3.2.1 on Mac SDK handling

9 years agoCatalogs: version-redirect support.
James Turner [Fri, 13 Mar 2015 09:56:19 +0000 (10:56 +0100)]
Catalogs: version-redirect support.

9 years agoMore logging for directory deletion failures.
James Turner [Thu, 12 Mar 2015 14:27:48 +0000 (14:27 +0000)]
More logging for directory deletion failures.

9 years agoCatalog install feedback.
James Turner [Thu, 12 Mar 2015 14:27:29 +0000 (14:27 +0000)]
Catalog install feedback.

- also support removing (uninstalling) a catalog and
all installs relating to it.

9 years agoMake nasal/iolib.h available to flightgear (for io.open)
Rebecca N. Palmer [Fri, 13 Mar 2015 18:19:58 +0000 (18:19 +0000)]
Make nasal/iolib.h available to flightgear (for io.open)

9 years agoMove Nasal io.open to flightgear
Rebecca N. Palmer [Fri, 13 Mar 2015 18:19:48 +0000 (18:19 +0000)]
Move Nasal io.open to flightgear

9 years agoFreeBSD / clang fix from Gerald Laplanche
James Turner [Wed, 11 Mar 2015 09:46:03 +0000 (09:46 +0000)]
FreeBSD / clang fix from Gerald Laplanche

9 years agoWhitespace clean-up
James Turner [Wed, 11 Mar 2015 09:43:40 +0000 (09:43 +0000)]
Whitespace clean-up

9 years agoTerrasync logging tweaks
James Turner [Wed, 11 Mar 2015 09:43:24 +0000 (09:43 +0000)]
Terrasync logging tweaks

9 years agocanvas::Map: Property to keep children aligned to given hdg.
Thomas Geymayer [Thu, 26 Feb 2015 21:34:21 +0000 (22:34 +0100)]
canvas::Map: Property to keep children aligned to given hdg.

Setting the 'hdg' property on child elements will rotate
them with respect to the heading set on the map projection.

9 years agoFix where we set OS-X deployment option.
James Turner [Tue, 24 Feb 2015 12:36:28 +0000 (12:36 +0000)]
Fix where we set OS-X deployment option.

9 years agoKill off allCatalogs list.
James Turner [Fri, 20 Feb 2015 11:30:35 +0000 (11:30 +0000)]
Kill off allCatalogs list.

No longer needed, and fixes crash on shutdown.

9 years agoSupport for tree shadows from Thorsten RENK.
Stuart Buchanan [Thu, 19 Feb 2015 21:14:07 +0000 (21:14 +0000)]
Support for tree shadows from Thorsten RENK.

9 years agomaterials.xml defined vegetation Effect.
Stuart Buchanan [Tue, 17 Feb 2015 21:47:51 +0000 (21:47 +0000)]
materials.xml defined vegetation Effect.

9 years agoRemove use of ‘register’ keyword in this file.
James Turner [Thu, 12 Feb 2015 16:20:56 +0000 (16:20 +0000)]
Remove use of ‘register’ keyword in this file.

Clang is now warning about this, and it’s certainly useless.

9 years agoTweak warning flags, for newer Clang.
James Turner [Thu, 12 Feb 2015 16:19:57 +0000 (16:19 +0000)]
Tweak warning flags, for newer Clang.

No functionality changing, just less spam in the compile logs.

9 years agoDrawElementsFacade: use ref_ptr instead of mismatched new/free
Rebecca N. Palmer [Thu, 12 Feb 2015 15:48:36 +0000 (15:48 +0000)]
DrawElementsFacade: use ref_ptr instead of mismatched new/free

Found by AddressSanitizer; not seen to crash, but probably best fixed

9 years agoExplicitly force libc++ on clang
James Turner [Wed, 11 Feb 2015 15:46:01 +0000 (15:46 +0000)]
Explicitly force libc++ on clang

9 years agoFix VASI/PAPI so they are generated.
Stuart Buchanan [Tue, 10 Feb 2015 21:19:51 +0000 (21:19 +0000)]
Fix VASI/PAPI so they are generated.

9 years agoBetter CMake policy detection
James Turner [Tue, 10 Feb 2015 17:11:31 +0000 (17:11 +0000)]
Better CMake policy detection

- thanks to Rebecca Palmer for suggesting this!

9 years agoCmake policies conditional on Cmake version.
James Turner [Mon, 9 Feb 2015 16:42:40 +0000 (16:42 +0000)]
Cmake policies conditional on Cmake version.

9 years agoSwitch 10.7 on Mac and revert to using libc++
James Turner [Mon, 9 Feb 2015 15:12:21 +0000 (15:12 +0000)]
Switch 10.7 on Mac and revert to using libc++

(Deployment on libstdc++ with the 10.9 SDK is just too painful)

9 years agoForce SDK version / C++ library on Mac.
James Turner [Sun, 8 Feb 2015 13:46:09 +0000 (13:46 +0000)]
Force SDK version / C++ library on Mac.

9 years agomemory reduced tile loading.
Peter Sadrozinski [Sat, 10 Jan 2015 12:58:21 +0000 (07:58 -0500)]
memory reduced tile loading.
- do not save the TileGeometryBin and matcach in the randomObjectCallback
- recreate matcache, and get TileGeometry from scenegraph
- split obj.cxx into three distinct files - loadBTG, load surface geometry, and load tile details
- includes fix for sceneries that have missing materials

9 years agoFix endianness tests, allowing arm64 support
Rebecca N. Palmer [Sun, 18 Jan 2015 21:53:22 +0000 (21:53 +0000)]
Fix endianness tests, allowing arm64 support

https://buildd.debian.org/status/logs.php?pkg=simgear&ver=3.2.0~git20140719%2B4a9125-1&suite=experimental
https://launchpadlibrarian.net/183053167/buildlog_ubuntu-utopic-arm64.simgear_3.0.0-4_FAILEDTOBUILD.txt.gz

9 years agoFix UpdateOnceCallback crash (bug 1554/1556/1568)
Rebecca N. Palmer [Sun, 18 Jan 2015 21:29:19 +0000 (21:29 +0000)]
Fix UpdateOnceCallback crash (bug 1554/1556/1568)

9 years agoBump version to 3.5.0
Torsten Dreyer [Sat, 17 Jan 2015 18:33:25 +0000 (19:33 +0100)]
Bump version to 3.5.0

9 years agoBump version number to 3.4.0
FlightGear Flight Simulator [Sat, 17 Jan 2015 18:26:46 +0000 (19:26 +0100)]
Bump version number to 3.4.0

9 years agoProtect against divide-by-zero error.
Stuart Buchanan [Thu, 15 Jan 2015 21:47:22 +0000 (21:47 +0000)]
Protect against divide-by-zero error.

Patch from Emilian Huminiuc.

9 years agoFix directional lighting
Stuart Buchanan [Mon, 5 Jan 2015 20:50:34 +0000 (20:50 +0000)]
Fix directional lighting

9 years ago- remove the test of the test..
Peter Sadrozinski [Sat, 27 Dec 2014 18:19:29 +0000 (13:19 -0500)]
- remove the test of the test..

9 years ago- fix binobj unit test. Simgear now rejects zero area triangles in .btg files, and...
Peter Sadrozinski [Sat, 27 Dec 2014 18:02:49 +0000 (13:02 -0500)]
- fix binobj unit test.  Simgear now rejects zero area triangles in .btg files, and the unit test could generate them.

9 years ago- fix for index overrun when building TexturedTriangleArray
Peter Sadrozinski [Fri, 26 Dec 2014 15:24:34 +0000 (10:24 -0500)]
- fix for index overrun when building TexturedTriangleArray
- fix for ws2.0 zero area triangles - drop them when loading

9 years agoExplicitly track not-found responses from SVN.
James Turner [Thu, 23 Oct 2014 13:42:55 +0000 (14:42 +0100)]
Explicitly track not-found responses from SVN.

When SVN reports a path is not found (ocean tile), track
this data explicitly and cache the result. Reduces backend
hits for missing tiles.

9 years agoFix PagedLOD for random objects.
Stuart Buchanan [Fri, 28 Nov 2014 21:57:37 +0000 (21:57 +0000)]
Fix PagedLOD for random objects.

- Only generate the object set and flights from the data once.
- Only expire the PagedLOD node after a suitable period of time.

9 years agoNasal: add an naRef to ghosts to allow for proper gc of dependent objects/ghosts.
Thomas Geymayer [Sun, 23 Nov 2014 22:39:56 +0000 (23:39 +0100)]
Nasal: add an naRef to ghosts to allow for proper gc of dependent objects/ghosts.

This allows for binding the lifetime of any nasal object to
the lifetime of a ghost. Otherwise circular references from
objects saved within the ghost would prevent the ghost from
being garbage collected.

9 years agoFix two bugs in random object placement
Stuart Buchanan [Fri, 21 Nov 2014 22:14:03 +0000 (22:14 +0000)]
Fix two bugs in random object placement

9 years agoMake expiry time for paged models settable from props
Torsten Dreyer [Wed, 19 Nov 2014 16:23:29 +0000 (17:23 +0100)]
Make expiry time for paged models settable from props

Our paged models used the default minimumExpiryTime of zero seconds
which caused frequent stutter with AI traffic loaded.
This patch sets the minimumExpiryTime to 180 seconds, more than enough
to hold the models in memory during a full standard rate turn.

The property to set the expiry time is
/sim/rendering/plod-minimum-expiry-time-secs

9 years agoUniformFactory: fix Rembrandt light
Clément de l'Hamaide [Wed, 12 Nov 2014 21:31:19 +0000 (22:31 +0100)]
UniformFactory: fix Rembrandt light

9 years agoSupport alpha for cloud definitions Thorsten RENK
Stuart Buchanan [Thu, 13 Nov 2014 20:38:28 +0000 (20:38 +0000)]
Support alpha for cloud definitions Thorsten RENK

9 years agoMerge FreeBSD patches.
James Turner [Tue, 11 Nov 2014 22:29:24 +0000 (22:29 +0000)]
Merge FreeBSD patches.

Taken from:
http://svnweb.freebsd.org/ports/head/devel/simgear/files/

9 years agoLimit number of random objects per triangle
Stuart Buchanan [Fri, 7 Nov 2014 22:22:55 +0000 (22:22 +0000)]
Limit number of random objects per triangle