]> git.mxchange.org Git - simgear.git/log
simgear.git
13 years agoImprove subsystem manager's timing statistics
ThorstenB [Wed, 23 Mar 2011 22:12:13 +0000 (23:12 +0100)]
Improve subsystem manager's timing statistics
Option to print statistics at run-time.
Convenient filter parameters to show subsystems with jitter or excessive
execution time only.

13 years agoKeep PropertyList outside global namespace
ThorstenB [Wed, 23 Mar 2011 21:30:42 +0000 (22:30 +0100)]
Keep PropertyList outside global namespace
Avoids conflict with FG's GUI widget "PropertyList"...
(don't use "using..." in header files since namespaces become useless then)

13 years agoAvoid some memory leaks in derived classes due to non-virtual destructors.
ThorstenB [Sat, 19 Mar 2011 13:50:18 +0000 (14:50 +0100)]
Avoid some memory leaks in derived classes due to non-virtual destructors.

13 years agoAvoid nuisance sounds in initial update loop.
ThorstenB [Sat, 19 Mar 2011 13:48:58 +0000 (14:48 +0100)]
Avoid nuisance sounds in initial update loop.
Stop all "in-transit" sounds effects from triggering in the first update
loop when their initial property value is "1".

13 years agoCatch dangling property ties.
ThorstenB [Mon, 7 Mar 2011 18:32:20 +0000 (19:32 +0100)]
Catch dangling property ties.
It's bad when tied properties are not untied before removing the tied property list.
We could try to "untie" the properties in the destructor - but that usually
caused weird mem access errors, since the tied properties will access
a no longer existing object (the very object whose destruction called the
TiedPropertyList destructor...). => so just add a warning and a nagging trap :)

13 years agoChange cloudfield::addCloud interface,
ThorstenB [Mon, 7 Mar 2011 18:26:37 +0000 (19:26 +0100)]
Change cloudfield::addCloud interface,
so it's more obvious that "addCloud" won't keep a reference to SGNewCloud.

13 years agoReplace occurrences of osgDB::findDataFile with SGModelLib wrapper
ThorstenB [Sun, 6 Mar 2011 21:38:44 +0000 (22:38 +0100)]
Replace occurrences of osgDB::findDataFile with SGModelLib wrapper
which considers separate aircraft dirs (--fg-aircraft).

13 years agoMerge remote branch 'origin/releases/2.2.0' into next
ThorstenB [Fri, 4 Mar 2011 21:52:21 +0000 (22:52 +0100)]
Merge remote branch 'origin/releases/2.2.0' into next

13 years agoFix TextureBuilder to work with --fg-aircraft dirs.
ThorstenB [Fri, 4 Mar 2011 21:50:32 +0000 (22:50 +0100)]
Fix TextureBuilder to work with --fg-aircraft dirs.
Avoid direct use of osgDB to search for files. Using SGModelLib
instead to also search fg-aircraft dirs.

13 years agoAdd missing META_Object to SGReaderWriterXMLOptions (needed for proper cloning)
Csaba Halasz [Tue, 1 Mar 2011 19:57:09 +0000 (20:57 +0100)]
Add missing META_Object to SGReaderWriterXMLOptions (needed for proper cloning)

13 years agoDon't depend on props.hxx
Torsten Dreyer [Sun, 27 Feb 2011 19:35:44 +0000 (20:35 +0100)]
Don't depend on props.hxx

There is no reference to anything defined in props.hxx, so remove
the dependency here.

13 years agoAdd strutils::starts_with and strutils::ends_with
Torsten Dreyer [Sun, 20 Feb 2011 14:29:06 +0000 (15:29 +0100)]
Add strutils::starts_with and strutils::ends_with

13 years agoMerge remote branch 'origin/releases/2.2.0' into next
ThorstenB [Sat, 19 Feb 2011 10:59:10 +0000 (11:59 +0100)]
Merge remote branch 'origin/releases/2.2.0' into next

13 years ago#83: John Denker: Set correct file modes
ThorstenB [Sat, 19 Feb 2011 10:54:10 +0000 (11:54 +0100)]
#83: John Denker: Set correct file modes
Sources shouldn't be executable.

13 years agoMerge branch 'releases/2.2.0' into next
Tim Moore [Thu, 17 Feb 2011 10:40:47 +0000 (11:40 +0100)]
Merge branch 'releases/2.2.0' into next

13 years agofix SGPagedLOD change for 2.8.3
Tim Moore [Thu, 17 Feb 2011 10:39:52 +0000 (11:39 +0100)]
fix SGPagedLOD change for 2.8.3

One more try...

13 years agoMerge branch 'releases/2.2.0' into next
Tim Moore [Wed, 16 Feb 2011 15:54:35 +0000 (16:54 +0100)]
Merge branch 'releases/2.2.0' into next

13 years agodon't assume that OSG 2.8.3 has PagedLOD options
Tim Moore [Wed, 16 Feb 2011 15:46:24 +0000 (16:46 +0100)]
don't assume that OSG 2.8.3 has PagedLOD options

I was confused by my git svn import of the OSG tree.

13 years agoMerge branch 'releases/2.2.0' into next
Tim Moore [Tue, 15 Feb 2011 11:52:03 +0000 (12:52 +0100)]
Merge branch 'releases/2.2.0' into next

Conflicts:
simgear/scene/model/SGPagedLOD.cxx

13 years agoaccomodate changes to osgDB::DatabasePager interface
Tim Moore [Tue, 15 Feb 2011 11:28:03 +0000 (12:28 +0100)]
accomodate changes to osgDB::DatabasePager interface

The change was introduced in OSG SVN revision 12080. Note: that
revision has a bug that causes fgfs to crash. The bug is fixed in
revision 12170.

13 years agoProvide easy Tie() for indexed properties
Torsten Dreyer [Mon, 14 Feb 2011 19:24:41 +0000 (20:24 +0100)]
Provide easy Tie() for indexed properties

13 years agoClear tile cache on (re-)init.
ThorstenB [Sun, 13 Feb 2011 18:23:21 +0000 (19:23 +0100)]
Clear tile cache on (re-)init.
Clearing the cache was disabled to avoid scenery reloading on sim resets,
which is now avoided elsewhere (in FG).
Cache cleaning is now needed to support new option for complete scenery
reloading.

13 years agoFix initial value for tied read-only properties
Torsten Dreyer [Sat, 12 Feb 2011 13:46:58 +0000 (14:46 +0100)]
Fix initial value for tied read-only properties

13 years agoIvan Ngeow: Fixed compile for FreeBSD platforms.
ThorstenB [Fri, 11 Feb 2011 17:49:01 +0000 (18:49 +0100)]
Ivan Ngeow: Fixed compile for FreeBSD platforms.

13 years agoIvan Ngeow: Fixed compile for FreeBSD platforms.
ThorstenB [Fri, 11 Feb 2011 17:49:01 +0000 (18:49 +0100)]
Ivan Ngeow: Fixed compile for FreeBSD platforms.

13 years agoTemporary warning when compiling against OSG 2.9.11.
ThorstenB [Sun, 6 Feb 2011 09:04:55 +0000 (10:04 +0100)]
Temporary warning when compiling against OSG 2.9.11.
Current OSG development isn't supported by FG yet, so add a
warning for now...

13 years agoDarn! Typo in vc90 project file
Torsten Dreyer [Sun, 6 Feb 2011 15:37:48 +0000 (16:37 +0100)]
Darn! Typo in vc90 project file

13 years agoUse tiedpropertylist.hxx in cmake and vc90
Torsten Dreyer [Sun, 6 Feb 2011 15:35:15 +0000 (16:35 +0100)]
Use tiedpropertylist.hxx in cmake and vc90

13 years agoMove TiedPropertyList from flightgear to simgear
Torsten Dreyer [Sun, 6 Feb 2011 14:05:50 +0000 (15:05 +0100)]
Move TiedPropertyList from flightgear to simgear

13 years agoTemporary warning when compiling against OSG 2.9.11.
ThorstenB [Sun, 6 Feb 2011 09:04:55 +0000 (10:04 +0100)]
Temporary warning when compiling against OSG 2.9.11.
Current OSG development isn't supported by FG yet, so add a
warning for now...

13 years agoFix cppcheck performance warning : Prefer prefix ++/-- operators for non-primitive...
Frederic Bouvier [Fri, 28 Jan 2011 12:47:26 +0000 (13:47 +0100)]
Fix cppcheck performance warning : Prefer prefix ++/-- operators for non-primitive types.

13 years agoDeprecate VS2010 handmade project files now that we have Cmake
Frederic Bouvier [Fri, 28 Jan 2011 18:03:38 +0000 (19:03 +0100)]
Deprecate VS2010 handmade project files now that we have Cmake

13 years agoCmake: fix non MSVC build
Frederic Bouvier [Fri, 28 Jan 2011 13:51:15 +0000 (14:51 +0100)]
Cmake: fix non MSVC build

13 years agoCmake: support VS2010 and MSVC 64 bit
Frederic Bouvier [Fri, 28 Jan 2011 13:46:05 +0000 (14:46 +0100)]
Cmake: support VS2010 and MSVC 64 bit

13 years agoFix wrong difference calculation in SGExpression
Torsten Dreyer [Tue, 25 Jan 2011 21:58:50 +0000 (22:58 +0100)]
Fix wrong difference calculation in SGExpression

13 years agoFix wrong difference calculation in SGExpression
Torsten Dreyer [Tue, 25 Jan 2011 21:58:50 +0000 (22:58 +0100)]
Fix wrong difference calculation in SGExpression

13 years agoCmake: restore its original name to the ephemeris library
Frederic Bouvier [Sun, 23 Jan 2011 20:05:37 +0000 (21:05 +0100)]
Cmake: restore its original name to the ephemeris library

13 years agoAnother place to catch SG exceptions.
ThorstenB [Thu, 20 Jan 2011 00:06:46 +0000 (01:06 +0100)]
Another place to catch SG exceptions.
SGBinding::fire needs to catch, otherwise exceptions in the event handler
context cause an FG exit (fixes a crash with the route manager dialog).

13 years agoAnother place to catch SG exceptions.
ThorstenB [Thu, 20 Jan 2011 00:06:46 +0000 (01:06 +0100)]
Another place to catch SG exceptions.
SGBinding::fire needs to catch, otherwise exceptions in the event handler
context cause an FG exit (fixes a crash with the route manager dialog).

13 years agoAdd the hla directory to the cmake build system.
Mathias Froehlich [Fri, 24 Dec 2010 08:48:16 +0000 (09:48 +0100)]
Add the hla directory to the cmake build system.

13 years agoAdd an initial implementation of a rti/hla dispatcher.
Mathias Froehlich [Fri, 18 Jun 2010 21:28:14 +0000 (23:28 +0200)]
Add an initial implementation of a rti/hla dispatcher.

13 years agoAdd the new hla directory to the build system.
Mathias Froehlich [Fri, 18 Jun 2010 21:26:53 +0000 (23:26 +0200)]
Add the new hla directory to the build system.

13 years agoFix bug in SGMisc<T>:: normalizePeriodic()
Torsten Dreyer [Mon, 17 Jan 2011 18:51:29 +0000 (19:51 +0100)]
Fix bug in SGMisc<T>:: normalizePeriodic()

SGMisc<T>::normalizePeriodic(min,max,value) returned zero for
all values less than min.
Example:
A call of normalizePeriodic(0,twopi(),-pi()) returned zero
where the correct value would be 3*pi().

13 years agoOlaf Flebbe: Decrease required OSG version.
James Turner [Thu, 13 Jan 2011 22:14:37 +0000 (22:14 +0000)]
Olaf Flebbe: Decrease required OSG version.

13 years agoMSVC fix: deambiguiate function calls
Frederic Bouvier [Sat, 8 Jan 2011 13:55:22 +0000 (14:55 +0100)]
MSVC fix: deambiguiate function calls

13 years agoSGExpression bugfix: allow <sin> within <product>
Torsten Dreyer [Sat, 8 Jan 2011 12:06:25 +0000 (13:06 +0100)]
SGExpression bugfix: allow <sin> within <product>

13 years agoAdd <expression> to animations
Torsten Dreyer [Fri, 7 Jan 2011 21:43:46 +0000 (22:43 +0100)]
Add <expression> to animations

Allow complex animation expressions

Example: translate along the y-axis following a sin
function.
<animation>
  <type>translate</type>
  <axis>
    <y>1</y>
  </axis>
  <expression>
    <sin>
      <product>
        <property>/some/position-norm</property>
        <value>6.28</value>
      </product>
    </sin>
  </expression>
</animation>

13 years agoRemove the dependency to boost serialization
Frederic Bouvier [Wed, 5 Jan 2011 08:54:50 +0000 (09:54 +0100)]
Remove the dependency to boost serialization

13 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Curtis L. Olson [Mon, 3 Jan 2011 13:55:45 +0000 (07:55 -0600)]
Merge branch 'next' of gitorious.org:fg/simgear into next

13 years agoUpdate simgear version number to keep pace with FlightGear.
Curtis L. Olson [Mon, 3 Jan 2011 13:54:31 +0000 (07:54 -0600)]
Update simgear version number to keep pace with FlightGear.

13 years agoBetter MSVC Boost serialization fix from Olaf
James Turner [Mon, 3 Jan 2011 09:48:31 +0000 (09:48 +0000)]
Better MSVC Boost serialization fix from Olaf

13 years agoCmake: use build postfix
Frederic Bouvier [Sun, 2 Jan 2011 18:44:04 +0000 (19:44 +0100)]
Cmake: use build postfix

13 years agoCmake: Right way to search for include files
Frederic Bouvier [Sun, 2 Jan 2011 17:45:14 +0000 (18:45 +0100)]
Cmake: Right way to search for include files

13 years agoCmake: MSVC_3RDPARTY_DIR is a path, not an option
Frederic Bouvier [Sun, 2 Jan 2011 17:01:57 +0000 (18:01 +0100)]
Cmake: MSVC_3RDPARTY_DIR is a path, not an option

13 years agoCmake: 3RDPARTY_DIR fixes from Olaf Flebbe
James Turner [Sat, 1 Jan 2011 21:06:43 +0000 (21:06 +0000)]
Cmake: 3RDPARTY_DIR fixes from Olaf Flebbe

13 years agohandle NCD (nil clouds detected) in METAR
Torsten Dreyer [Fri, 31 Dec 2010 12:31:09 +0000 (13:31 +0100)]
handle NCD (nil clouds detected) in METAR

13 years agoMerge remote branch 'gitorious/next' into next
Tim Moore [Wed, 29 Dec 2010 17:12:56 +0000 (18:12 +0100)]
Merge remote branch 'gitorious/next' into next

13 years agocmake improvements for shared library build
Tim Moore [Wed, 29 Dec 2010 17:12:44 +0000 (18:12 +0100)]
cmake improvements for shared library build

13 years agoIssue 110: fix pick animation interaction with effects
Tim Moore [Wed, 29 Dec 2010 17:09:23 +0000 (18:09 +0100)]
Issue 110: fix pick animation interaction with effects

Set OVERRIDE and PROTECTED attributes on pick animation state
attributes. Set up attributes and add a colorMode uniform so that the
default shader will take color and alpha values from the
material. Also, add a DotOsg writer method for ConditionNode.

13 years agoUninstall support, pinched from OSG.
James Turner [Tue, 28 Dec 2010 13:38:05 +0000 (13:38 +0000)]
Uninstall support, pinched from OSG.

13 years agoMSVC improvements from Olaf Flebbe.
James Turner [Tue, 28 Dec 2010 13:32:54 +0000 (13:32 +0000)]
MSVC improvements from Olaf Flebbe.

13 years agoset data variance to DYNAMIC for animated effect attributes
Tim Moore [Sun, 26 Dec 2010 17:34:00 +0000 (18:34 +0100)]
set data variance to DYNAMIC for animated effect attributes

13 years ago64-bit compatability tweak from papillion
James Turner [Mon, 20 Dec 2010 14:46:53 +0000 (14:46 +0000)]
64-bit compatability tweak from papillion

13 years agoCreate version.h during SimGear CMake build
James Turner [Sun, 19 Dec 2010 19:08:14 +0000 (19:08 +0000)]
Create version.h during SimGear CMake build

13 years agoInitial work on CMake support for SimGear.
James Turner [Fri, 26 Nov 2010 10:04:54 +0000 (10:04 +0000)]
Initial work on CMake support for SimGear.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Mon, 13 Dec 2010 17:40:39 +0000 (18:40 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoRemove unused files
Erik Hofman [Mon, 13 Dec 2010 17:40:08 +0000 (18:40 +0100)]
Remove unused files

13 years agometar: add string constants for cloud coverages
Torsten Dreyer [Sun, 12 Dec 2010 21:18:10 +0000 (22:18 +0100)]
metar: add string constants for cloud coverages

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Sun, 12 Dec 2010 19:23:08 +0000 (20:23 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoUpdate the bad-doppler test and simplify it to only test for bad platforms.
Erik Hofman [Sun, 12 Dec 2010 13:07:44 +0000 (14:07 +0100)]
Update the bad-doppler test and simplify it to only test for bad platforms.

13 years agoCompilation fix: add missing #include to SGPagedLod.cxx, needed by OSG 2.9.11
Csaba Halasz [Sat, 11 Dec 2010 23:23:06 +0000 (00:23 +0100)]
Compilation fix: add missing #include to SGPagedLod.cxx, needed by OSG 2.9.11

13 years agoMake the max. opacity of a 2d cloud settable
Torsten Dreyer [Thu, 9 Dec 2010 08:06:40 +0000 (09:06 +0100)]
Make the max. opacity of a 2d cloud settable

13 years agoMetar: symbolic cloudnames and phenomena exposure
Torsten Dreyer [Sat, 4 Dec 2010 11:02:38 +0000 (12:02 +0100)]
Metar: symbolic cloudnames and phenomena exposure

- use symbolic names for scattered, broken, overcast, etc. cloud
coverages.
- better approach to expose weather phenomena to the interface

13 years agoExpose weather phenomena to the SGMetar interface
Torsten Dreyer [Sat, 27 Nov 2010 20:04:04 +0000 (21:04 +0100)]
Expose weather phenomena to the SGMetar interface

13 years agosimgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other...
Anders Gidenstam [Fri, 26 Nov 2010 20:49:30 +0000 (21:49 +0100)]
simgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other simgear includes.

13 years agoMake visibility within cloudlayers settable
Torsten Dreyer [Fri, 26 Nov 2010 18:24:44 +0000 (19:24 +0100)]
Make visibility within cloudlayers settable

13 years agoUpdate VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 20:42:10 +0000 (21:42 +0100)]
Update VS2010 projects

13 years agoUpdate VS2010 projects
Frederic Bouvier [Sat, 20 Nov 2010 13:23:20 +0000 (14:23 +0100)]
Update VS2010 projects

13 years agoCompile PropertyObject under Windows
Frederic Bouvier [Sat, 20 Nov 2010 13:20:35 +0000 (14:20 +0100)]
Compile PropertyObject under Windows

13 years agoBuild propertyObject on MSVC2008
James Turner [Sat, 20 Nov 2010 13:08:01 +0000 (13:08 +0000)]
Build propertyObject on MSVC2008

13 years agoPropertyObject ::create tests.
James Turner [Sat, 20 Nov 2010 12:25:11 +0000 (04:25 -0800)]
PropertyObject ::create tests.

13 years agoShrink PropertyObjectBase by a pointer, don't pull exception header into the header.
James Turner [Sat, 20 Nov 2010 11:31:42 +0000 (03:31 -0800)]
Shrink PropertyObjectBase by a pointer, don't pull exception header into the header.

13 years agoPropertyObject enhancements, unit-test for make check
James Turner [Sat, 20 Nov 2010 10:49:04 +0000 (02:49 -0800)]
PropertyObject enhancements, unit-test for make check

13 years agoA sum without diff is like foo without bar
Torsten Dreyer [Sat, 20 Nov 2010 10:05:45 +0000 (11:05 +0100)]
A sum without diff is like foo without bar

Add a <difference> aka <diff> to SGExpression to compute
differences

13 years agoCurrent timestamps for forced scenery loading.
ThorstenB [Fri, 19 Nov 2010 12:39:20 +0000 (13:39 +0100)]
Current timestamps for forced scenery loading.
Priorities during forced model loads won't work unless using current framestamps...

13 years agoFixed invalid character in source file.
ThorstenB [Fri, 19 Nov 2010 12:36:50 +0000 (13:36 +0100)]
Fixed invalid character in source file.
Removed illegal character (0xc). How did this happen???

13 years agoImproved tile cache priority scheme.
ThorstenB [Fri, 19 Nov 2010 12:33:12 +0000 (13:33 +0100)]
Improved tile cache priority scheme.
Use priorities for loading/unloading.
Maintain an expiry time for each tile.
Replaced "cache lock" by "current view" flag.

13 years agoMerge branch 'topics/propobj' into next
James Turner [Thu, 18 Nov 2010 20:23:40 +0000 (20:23 +0000)]
Merge branch 'topics/propobj' into next

13 years agoInitial propertyObject work.
James Turner [Sat, 6 Nov 2010 14:39:52 +0000 (14:39 +0000)]
Initial propertyObject work.

13 years agoPurge some gcc and MSVC warnings
Torsten Dreyer [Thu, 18 Nov 2010 11:08:16 +0000 (12:08 +0100)]
Purge some gcc and MSVC warnings

13 years agoeliminate property node path cache
Tim Moore [Wed, 17 Nov 2010 07:52:32 +0000 (08:52 +0100)]
eliminate property node path cache

The property path cache was making very little difference in practice
and made the eventual goal of having the property tree be thread safe
for readers more difficult to attain.

13 years agoTighten up name filters on Unix. Fixes bug 168.
James Turner [Mon, 15 Nov 2010 23:23:40 +0000 (23:23 +0000)]
Tighten up name filters on Unix. Fixes bug 168.

13 years agoremove old .cvsignore files
ThorstenB [Sun, 14 Nov 2010 14:09:36 +0000 (15:09 +0100)]
remove old .cvsignore files
Hello GIT!

13 years agoFix setsockopt() to match previous precident of setsockopt() usage (as seen
Curtis L. Olson [Fri, 12 Nov 2010 21:52:33 +0000 (15:52 -0600)]
Fix setsockopt() to match previous precident of setsockopt() usage (as seen
later in the setBroadcast() function.)

13 years agoFix setsockopt call
Frederic Bouvier [Fri, 12 Nov 2010 21:03:11 +0000 (22:03 +0100)]
Fix setsockopt call

13 years agoPatch to avoid the problem of the socket resource not yet being available
Curtis L. Olson [Fri, 12 Nov 2010 19:19:57 +0000 (13:19 -0600)]
Patch to avoid the problem of the socket resource not yet being available
if the program is restarted quickly after being killed.

Reference: http://www.unixguide.net/network/socketfaq/4.5.shtml

14 years agoUpdate VS2010 projects : use Boost 1.44.0
Frederic Bouvier [Sun, 7 Nov 2010 19:01:18 +0000 (20:01 +0100)]
Update VS2010 projects : use Boost 1.44.0

14 years agoDon't crash on exit
Frederic Bouvier [Sun, 7 Nov 2010 09:31:13 +0000 (10:31 +0100)]
Don't crash on exit

14 years agoUpdate VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
Frederic Bouvier [Sat, 6 Nov 2010 16:02:16 +0000 (17:02 +0100)]
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive

14 years agoFixed METAR. Make loader fully HTTP compliant.
ThorstenB [Fri, 5 Nov 2010 19:07:50 +0000 (20:07 +0100)]
Fixed METAR. Make loader fully HTTP compliant.
HTTP protocol requires a "Host:" line.
The old noaa server didn't mind. Now it does...