Commit Graph

4422 Commits

Author SHA1 Message Date
James Turner
23b8c86e78 More whitespace fixes. 2015-11-22 23:53:46 +00:00
James Turner
5c9ca9cbe2 EOL cleanups. 2015-11-22 22:36:54 +00:00
James Turner
5676f96fbf Require Cmake 2.8.11
- drop OldGNUInstallDirs work-around as a result
2015-11-22 22:34:31 +00:00
Rebecca N. Palmer
4104f7d18f SGPath(): make realpath() suitable for fgValidatePath
Handle non-existent files, drop obsolete workaround
2015-11-21 21:35:15 +00:00
Thomas Geymayer
10e6bbc2c5 SubsystemMgr: prevent double delete and use shared pointers. 2015-11-20 12:34:46 +01:00
Stuart Buchanan
21e6dd34b2 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.
2015-11-06 21:38:53 +00:00
Erik Hofman
319922f044 Add the option to set the reference name afterwards (but before calling play() 2015-11-05 15:33:06 +01:00
Torsten Dreyer
ff3efaee93 Fix wrong log-class for debug message 2015-11-02 10:56:17 +01:00
Stuart Buchanan
08fb433923 Use quadtree to improve culling of STG objects 2015-10-29 20:07:12 +00:00
Stuart Buchanan
1a752d28a4 Remove max density 10000m for surface lights. 2015-10-22 20:28:37 +01:00
Thomas Geymayer
00a20409f7 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.
2015-09-30 11:54:19 +02:00
James Turner
3bfd0c872a Avoid duplicate refresh of Catalogs
- also fix duplicate reporting of successful refresh
2015-09-27 23:14:50 -05:00
James Turner
945cf5d963 Improve package extraction cleanup 2015-09-27 20:39:58 -05:00
James Turner
4e40913aef 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)
2015-09-27 19:42:08 -05:00
Erik Hofman
3bc53474ed Revert previous change, OpenAL-Soft is not ready yet. 2015-09-22 12:36:40 +02:00
Rebecca N. Palmer
28dff1d5ca Use our stdint.hxx, not C++11 cstdint 2015-09-21 22:09:47 +01:00
James Turner
81bfec336c Fix missing include for uint8_t on Linux 2015-09-21 14:55:52 -05:00
James Turner
60a0c51e2b 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
2015-09-20 19:34:51 -05:00
James Turner
70c5d60564 Drop explicit SDK setting on Mac 2015-09-20 19:30:04 -05:00
James Turner
1b2247103a Fix error case on HTTPClient 2015-09-20 19:28:23 -05:00
www2
a49c3a49d3 chance the WMM epic form 1 jan 2005 to 1 jan 2015 2015-09-02 10:37:01 +02:00
www2
105438fc58 Add Update the World Magnetic Model to 2015.0 2015-09-02 10:37:01 +02:00
Erik Hofman
2910c6a77b 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
2015-08-26 12:16:56 +02:00
Erik Hofman
6dd859c75e It looks like the current version of OpenAL-Soft has better Doppler support 2015-08-26 11:29:43 +02:00
Torsten Dreyer
b7c7f66bf3 Fix #1783: repeated error message on console
This downgrades the "file not found" message to a warning.
2015-08-05 09:26:46 +02:00
Torsten Dreyer
c7a60d4dc4 Bump version to 3.7.0 2015-07-27 21:42:17 +02:00
Torsten Dreyer
a841fcc89e bump version -> 3.6.0 2015-07-14 11:35:35 +02:00
James Turner
b91d1a3f6a Avoid a warning on startup
- duplicate inits are benign, so don’t warn
2015-06-07 17:49:04 +02:00
James Turner
1378511c13 Remove some debug output. 2015-06-07 17:48:33 +02:00
James Turner
9a9cd62957 Set RPATH on Mac 2015-06-07 15:57:01 +02:00
James Turner
a9742fba7c Fix SVN server fallback when query fails 2015-06-07 15:53:44 +02:00
Thomas Geymayer
9ea772f938 canvas::Map: remove rotation matrix on removing HDG node.
Return to previous rotation if autorotation to HDG is
disabled/removed.
2015-06-02 18:24:31 +02:00
Torsten Dreyer
e64902ae8c Amend previous patch also for PropertyObject<string> 2015-05-28 12:03:48 +02:00
Torsten Dreyer
0b1399479a 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.
2015-05-27 20:18:22 +02:00
onox
0369d1f506 Fix position calculation of sound samples
Signed-off-by: Erik Hofman <erik@ehofman.com>
2015-05-18 11:46:16 +02:00
James Turner
f19cf6d56a Packages: more unit-test coverage 2015-04-23 22:05:50 +01:00
James Turner
d12d1b2c3a Packages: increased test coverage. 2015-04-22 23:50:08 +01:00
James Turner
b7fbb79565 Package work on version support.
- start adding test coverage for packages
2015-04-22 23:50:08 +01:00
Torsten Dreyer
541239ceac StateMachine: fix transition source location
source should be child of transition
2015-04-21 13:45:16 +02:00
Torsten Dreyer
fd74095939 StateMachine: fix messed up entry/exit/update bindings 2015-04-21 10:02:22 +02:00
Tim Moore
b24d190e55 Merge branch 'moore/osg-current' into next 2015-04-21 00:08:00 +02:00
Tim Moore
8b351520bd Off-by-one error in the OSG_VERSION_LESS_THAN macro
I was confused about when the version number gets bumped in OSG sources...
2015-04-21 00:06:22 +02:00
James Turner
5bbdcfd240 Windows versionhelpers.h support. 2015-04-20 10:58:11 +01:00
Tim Moore
51ff30f386 changes for OSG 3.3.4 and later
The public interfaces to osgText and osg::GLExtensions changed.
2015-04-19 22:45:59 +02:00
James Turner
6683092bb2 Select default TerraSync server automatically. 2015-04-11 23:50:33 +01:00
James Turner
2c6f9de020 Fix a clang warning 2015-04-11 21:58:23 +01:00
James Turner
686f095f1e Explicit Mac SDK for the moment. 2015-04-11 21:58:15 +01:00
James Turner
089fc5ea0a WindowsXP workaround for SHGetKnowwFolder
Fix from xDraconian after a bug report from Aleesandro.
2015-04-09 15:33:56 +01:00
James Turner
72ae14227e Unit Test: Fixed failure of test_HTTP
From Scott (xDraconian)
2015-03-24 11:10:16 -05:00
James Turner
0e9948f9d4 Portability: Implemented Known Folders for Windows
Patch from Scott (xDraconian)
2015-03-24 11:08:36 -05:00