]> git.mxchange.org Git - flightgear.git/log
flightgear.git
15 years agosmall bugfix
ehofman [Wed, 17 Jun 2009 07:39:24 +0000 (07:39 +0000)]
small bugfix

15 years agoFix a bug in xmlGetString and honour the index attribtute 'n'
ehofman [Wed, 17 Jun 2009 07:10:37 +0000 (07:10 +0000)]
Fix a bug in xmlGetString and honour the index attribtute 'n'

15 years agoa utility to print an xml file as a property tree
ehofman [Tue, 16 Jun 2009 12:30:39 +0000 (12:30 +0000)]
a utility to print an xml file as a property tree

15 years agoadapt to changes in sg_exception interface
Tim Moore [Tue, 16 Jun 2009 08:41:17 +0000 (10:41 +0200)]
adapt to changes in sg_exception interface

sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.

15 years agouninitialized variable fix from Vivian Meazza
timoore [Mon, 15 Jun 2009 09:38:04 +0000 (09:38 +0000)]
uninitialized variable fix from Vivian Meazza

15 years agoRealize viewer explicitly
timoore [Mon, 15 Jun 2009 08:50:56 +0000 (08:50 +0000)]
Realize viewer explicitly

The osgViewer needs to be "realized" so that, among other things, threading
will start. This is normally done by osgViewer::run, but we don't call
that.
Don't realize graphics contexts; Let osgViewer code do it. This way
osgViewer::isRealized returns the correct answer.

15 years agoReserve a special FGPositionned type for pavements
fredb [Sun, 14 Jun 2009 17:43:29 +0000 (17:43 +0000)]
Reserve a special FGPositionned type for pavements

15 years agoRetrieve the full pavement/taxiway description, made of several words
fredb [Sun, 14 Jun 2009 16:22:35 +0000 (16:22 +0000)]
Retrieve the full pavement/taxiway description, made of several words

15 years agoSuppress warnings
fredb [Sun, 14 Jun 2009 15:24:30 +0000 (15:24 +0000)]
Suppress warnings

15 years agoX-Plane 850 airport file format parsing. 810 is still supported and may be mixed...
fredb [Sun, 14 Jun 2009 11:08:21 +0000 (11:08 +0000)]
X-Plane 850 airport file format parsing. 810 is still supported and may be mixed with new format.
Ground radar updated to display new pavements.

15 years agoProjection matrix and texture size should be coherent
fredb [Sun, 14 Jun 2009 11:01:37 +0000 (11:01 +0000)]
Projection matrix and texture size should be coherent

15 years agoSuppress warnings
fredb [Sun, 14 Jun 2009 11:00:01 +0000 (11:00 +0000)]
Suppress warnings

15 years agodon't forget to include the new header for the tardist
ehofman [Sat, 13 Jun 2009 12:43:58 +0000 (12:43 +0000)]
don't forget to include the new header for the tardist

15 years agolatest changes for JSBSim (1.0 prerelease)
ehofman [Sat, 13 Jun 2009 07:55:25 +0000 (07:55 +0000)]
latest changes for JSBSim (1.0 prerelease)

15 years agoWhoops, type codes for localizers and ILSs were swapped in the nav.dat reader
jmt [Thu, 11 Jun 2009 22:54:51 +0000 (22:54 +0000)]
Whoops, type codes for localizers and ILSs were swapped in the nav.dat reader

15 years agoDirectly associate runways objects with their ILS navrecord (if one exists)
jmt [Thu, 11 Jun 2009 21:53:30 +0000 (21:53 +0000)]
Directly associate runways objects with their ILS navrecord (if one exists)

15 years agoFix a bad copy-and-paste bug in namedFindClosest, which broke things in the
jmt [Thu, 11 Jun 2009 09:47:26 +0000 (09:47 +0000)]
Fix a bad copy-and-paste bug in namedFindClosest, which broke things in the
multiple-matches case.

15 years agoRemove old osg 2.2 code.
frohlich [Thu, 11 Jun 2009 09:26:45 +0000 (09:26 +0000)]
Remove old osg 2.2 code.

Modified Files:
src/Main/renderer.cxx

15 years agoRemove dead variables.
frohlich [Thu, 11 Jun 2009 09:19:32 +0000 (09:19 +0000)]
Remove dead variables.

Modified Files:
./src/Model/acmodel.cxx ./src/Model/acmodel.hxx

15 years ago- fill in probe[0] before using
torsten [Thu, 11 Jun 2009 08:52:34 +0000 (08:52 +0000)]
- fill in probe[0] before using
- add a note about the mixing of SGGeoc and SGGeod

15 years ago- use SGGeodesy
torsten [Wed, 10 Jun 2009 19:52:39 +0000 (19:52 +0000)]
- use SGGeodesy
- fade out strong lift when disabled
- some tiny optimizations

15 years agoRemove some remaining non-route-related uses of SGWayPoint.
jmt [Tue, 9 Jun 2009 20:16:32 +0000 (20:16 +0000)]
Remove some remaining non-route-related uses of SGWayPoint.

15 years agoReplace CourseAndDistance uses in traffic code with SGGeodesy calls.
jmt [Tue, 9 Jun 2009 20:16:08 +0000 (20:16 +0000)]
Replace CourseAndDistance uses in traffic code with SGGeodesy calls.

15 years agoConvert waypoint::CourseAndDistance users to use SGGeodesy helper functions.
jmt [Tue, 9 Jun 2009 19:39:18 +0000 (19:39 +0000)]
Convert waypoint::CourseAndDistance users to use SGGeodesy helper functions.

15 years agoUpdate FGViewer position clients to work with SGGeod directly
jmt [Tue, 9 Jun 2009 12:16:21 +0000 (12:16 +0000)]
Update FGViewer position clients to work with SGGeod directly

15 years agoReplace plain doubles with SGGeod in FGViewer for position and target pos.
jmt [Tue, 9 Jun 2009 12:15:48 +0000 (12:15 +0000)]
Replace plain doubles with SGGeod in FGViewer for position and target pos.

15 years agoimmediately fetch a metar if real-weather-fetch is re-enabled at runtime
torsten [Mon, 8 Jun 2009 19:39:37 +0000 (19:39 +0000)]
immediately fetch a metar if real-weather-fetch is re-enabled at runtime

15 years agoAlso take the current BVH nodes transform into account.
frohlich [Sun, 7 Jun 2009 11:24:42 +0000 (11:24 +0000)]
Also take the current BVH nodes transform into account.

Modified Files:
src/FDM/groundcache.cxx

15 years agoNo need to zero the _props variable.
frohlich [Sun, 7 Jun 2009 11:23:54 +0000 (11:23 +0000)]
No need to zero the _props variable.
This reference is released by the SGSharedPtr destructor anyway.

Modified Files:
src/Scripting/NasalSys.cxx

15 years agoUpdate MSVC 7.1 projects
fredb [Sat, 6 Jun 2009 17:10:33 +0000 (17:10 +0000)]
Update MSVC 7.1 projects

15 years agodisambiguate pow usage
fredb [Sat, 6 Jun 2009 16:11:57 +0000 (16:11 +0000)]
disambiguate pow usage

15 years agoRead FG_ROOT/preferences.xml if we can find that.
frohlich [Sat, 6 Jun 2009 10:40:50 +0000 (10:40 +0000)]
Read FG_ROOT/preferences.xml if we can find that.

Modified Files:
fgviewer.cxx

15 years agoLink with a minimal set of libraries.
frohlich [Sat, 6 Jun 2009 10:39:56 +0000 (10:39 +0000)]
Link with a minimal set of libraries.
Remove plibs file utility library.

Modified Files:
  Makefile.am

15 years agoRemove unused header.
frohlich [Sat, 6 Jun 2009 07:46:08 +0000 (07:46 +0000)]
Remove unused header.

Modified Files:
  src/Scenery/scenery.cxx

15 years agosome minor optimization
torsten [Fri, 5 Jun 2009 09:14:22 +0000 (09:14 +0000)]
some minor optimization

15 years agoDave Luff's patch to fix findNextWithPartialId
jmt [Fri, 5 Jun 2009 00:13:53 +0000 (00:13 +0000)]
Dave Luff's patch to fix findNextWithPartialId

15 years agoreturn the len of the string
ehofman [Thu, 4 Jun 2009 11:03:27 +0000 (11:03 +0000)]
return the len of the string

15 years ago- METAR winds have magnetic heading
torsten [Thu, 4 Jun 2009 09:59:29 +0000 (09:59 +0000)]
- METAR winds have magnetic heading
- memory leak in read_table()

15 years agoMore default setup for FG_ROOT
frohlich [Thu, 4 Jun 2009 04:30:51 +0000 (04:30 +0000)]
More default setup for FG_ROOT

Modified Files:
fgviewer/Makefile.am fgviewer/fgviewer.cxx

15 years agothat cleanup code was not working
torsten [Wed, 3 Jun 2009 22:18:58 +0000 (22:18 +0000)]
that cleanup code was not working

15 years agoAdd some camera manipulators to the viewer.
frohlich [Wed, 3 Jun 2009 19:31:59 +0000 (19:31 +0000)]
Add some camera manipulators to the viewer.
Set up more of the flightgear internal environment.

Modified Files:
  utils/fgviewer/fgviewer.cxx

15 years agoAdd variable winds (direction and gusts) for the boundary layer if defined in METAR.
torsten [Wed, 3 Jun 2009 16:29:58 +0000 (16:29 +0000)]
Add variable winds (direction and gusts) for the boundary layer if defined in METAR.

15 years agocalculate internal properties only once on read()
torsten [Wed, 3 Jun 2009 16:19:27 +0000 (16:19 +0000)]
calculate internal properties only once on read()

15 years agoDave LUFF: bugfixes; leave dlg with crsr button; heading info; cleanup
mfranz [Tue, 2 Jun 2009 14:59:38 +0000 (14:59 +0000)]
Dave LUFF: bugfixes; leave dlg with crsr button; heading info; cleanup

"General cleanup: Fix several potential segfaults, ensure delete
approach dialog can be exited with the crsr button, implement heading
information in DTO mode, make the comments more useful, and remove old
debugging comments."

15 years agoDave LUFF: Fix buffer overrun with longer runways
mfranz [Mon, 1 Jun 2009 10:32:44 +0000 (10:32 +0000)]
Dave LUFF: Fix buffer overrun with longer runways

15 years agoUpgrade to JSBSim 1.0-prerelease
ehofman [Mon, 1 Jun 2009 08:52:34 +0000 (08:52 +0000)]
Upgrade to JSBSim 1.0-prerelease

15 years agoSave more than 20 percent execution time by avoiding multiple calculation of properties.
torsten [Sun, 31 May 2009 10:18:45 +0000 (10:18 +0000)]
Save more than 20 percent execution time by avoiding multiple calculation of properties.

15 years agoUpdate MSVC 7.1 projects
fredb [Sat, 30 May 2009 16:26:01 +0000 (16:26 +0000)]
Update MSVC 7.1 projects

15 years agoUpdate MSVC 7.1 projects
fredb [Sat, 30 May 2009 16:17:22 +0000 (16:17 +0000)]
Update MSVC 7.1 projects

15 years agonew command line option --metar="some metar"
torsten [Fri, 29 May 2009 10:26:35 +0000 (10:26 +0000)]
new command line option --metar="some metar"
new handling of real-weather-fetch
major code cleanup

15 years agosmall fixes
ehofman [Mon, 25 May 2009 11:51:08 +0000 (11:51 +0000)]
small fixes

15 years agoMake it compile with gcc-4.4.0
frohlich [Mon, 25 May 2009 05:03:27 +0000 (05:03 +0000)]
Make it compile with gcc-4.4.0

Modified Files:
utils/GPSsmooth/UGear_command.cxx

15 years agoBetter error message when materials cannot be loaded.
frohlich [Mon, 25 May 2009 05:02:11 +0000 (05:02 +0000)]
Better error message when materials cannot be loaded.

Modified Files:
fgviewer.cxx

15 years agoFix cacheFree
ehofman [Sun, 24 May 2009 14:23:59 +0000 (14:23 +0000)]
Fix cacheFree

15 years ago * Implement a node cache that can be enabled at compile time.
ehofman [Sun, 24 May 2009 14:09:46 +0000 (14:09 +0000)]
  * Implement a node cache that can be enabled at compile time.
    the node cache prevents recursively walking the xml tree over and over
    again to find the specified nodes.

15 years agojean pellotier: test for positions near the pole was in fact a test for positions...
torsten [Sat, 23 May 2009 12:48:18 +0000 (12:48 +0000)]
jean pellotier: test for positions near the pole was in fact a test for positions near the equator.

15 years agoAdd osg stats and other usefull stuff.
frohlich [Sat, 23 May 2009 12:04:54 +0000 (12:04 +0000)]
Add osg stats and other usefull stuff.

Modified Files:
utils/fgviewer/fgviewer.cxx

15 years agoAvoid division by zero.
frohlich [Sat, 23 May 2009 12:02:23 +0000 (12:02 +0000)]
Avoid division by zero.

Modified Files:
src/Instrumentation/inst_vertical_speed_indicator.cxx

15 years agodon't write past end of buffer
mfranz [Sat, 23 May 2009 11:13:29 +0000 (11:13 +0000)]
don't write past end of buffer

15 years agoUpdate MSVC 7.1 projects - Add fgviewer to the solution
fredb [Sat, 23 May 2009 06:50:58 +0000 (06:50 +0000)]
Update MSVC 7.1 projects - Add fgviewer to the solution

15 years agoUpdate MSVC 7.1 projects - Remove useless directories in link command
fredb [Sat, 23 May 2009 06:50:14 +0000 (06:50 +0000)]
Update MSVC 7.1 projects - Remove useless directories in link command

15 years agoAdd a new tool called fgviewer.
frohlich [Fri, 22 May 2009 18:23:01 +0000 (18:23 +0000)]
Add a new tool called fgviewer.

Modified Files:
configure.ac utils/Makefile.am
Added Files:
  utils/fgviewer/.cvsignore utils/fgviewer/Makefile.am
utils/fgviewer/fgviewer.cxx

15 years agoAdapt to simgears changes.
frohlich [Fri, 22 May 2009 18:20:58 +0000 (18:20 +0000)]
Adapt to simgears changes.
The season is already checked by the properties.

Modified Files:
src/Main/fg_init.cxx

15 years agoClouds in scenario none and metar were above 0ft not above ground elevation, which...
torsten [Fri, 22 May 2009 18:19:25 +0000 (18:19 +0000)]
Clouds in scenario none and metar were above 0ft not above ground elevation, which lead to clouds at or below ground level for high altitude airfields. Reason: For the scenario none, the station_elevation was computed before the terrain was loaded, for METAR scenario station_elevation was not computed at all.

15 years agowrong value for station_elevation_ft, meters != feet
torsten [Fri, 22 May 2009 09:42:15 +0000 (09:42 +0000)]
wrong value for station_elevation_ft, meters != feet

15 years agoFunctions should always return a value
fredb [Thu, 21 May 2009 14:49:57 +0000 (14:49 +0000)]
Functions should always return a value

15 years agoFunctions should always return a value
fredb [Thu, 21 May 2009 14:44:55 +0000 (14:44 +0000)]
Functions should always return a value

15 years agocheck for dt <= 0 aka paused sim
torsten [Wed, 20 May 2009 09:24:56 +0000 (09:24 +0000)]
check for dt <= 0 aka paused sim

15 years agoAdd --enable-fpe option to cause a trap on floating point exceptions
timoore [Tue, 19 May 2009 22:14:35 +0000 (22:14 +0000)]
Add --enable-fpe option to cause a trap on floating point exceptions

Only on Linux for now; traps on divide by zero and "invalid", which includes
generating a NaN and overflowing an integer conversion.

15 years agoFix two sources of floating point exceptions
timoore [Tue, 19 May 2009 22:14:04 +0000 (22:14 +0000)]
Fix two sources of floating point exceptions

When a subsystem is updated, dt can be 0 if the program is paused. There
may be other subsystems that don't check that dt is non-zero.

15 years agoadded support for the <abs> element
torsten [Mon, 18 May 2009 20:34:43 +0000 (20:34 +0000)]
added support for the <abs> element

15 years agosupport
torsten [Mon, 18 May 2009 20:27:57 +0000 (20:27 +0000)]
support
 <abs>true</abs>
for input elements.
If set to true, the input value is filtered thru fabs() function.
Defaults to false if absent, so there is no impact for existing configurations

15 years agoFix Carriers without catapults and wires.
frohlich [Sat, 16 May 2009 17:39:23 +0000 (17:39 +0000)]
Fix Carriers without catapults and wires.

Modified Files:
src/AIModel/AICarrier.cxx

15 years agoRemove few warnings
fredb [Sat, 16 May 2009 09:40:48 +0000 (09:40 +0000)]
Remove few warnings

15 years agoUpdate MSVC 7.1 projects
fredb [Sat, 16 May 2009 09:39:41 +0000 (09:39 +0000)]
Update MSVC 7.1 projects

15 years agoFunctions should always return a value
fredb [Sat, 16 May 2009 09:39:10 +0000 (09:39 +0000)]
Functions should always return a value

15 years agoturn a few #include paths from the "foo" form to <foo>
mfranz [Thu, 14 May 2009 20:55:09 +0000 (20:55 +0000)]
turn a few #include paths from the "foo" form to <foo>

The quotes form is normally only used for headers with path relative
to the including file's path, though the standard doesn't strictly
mandate this. This is consistent with the rest of sg/fg, it makes the
code's intent clearer and helps to find headers. (And it's a few
milliseconds faster, too.)

15 years agouse safer and faster property methods instead of creating property
mfranz [Thu, 14 May 2009 20:48:31 +0000 (20:48 +0000)]
use safer and faster property methods instead of creating property
paths via snprintf+strncat+absolute paths every time

15 years agouse safer and faster property methods instead of creating property
mfranz [Tue, 12 May 2009 20:51:02 +0000 (20:51 +0000)]
use safer and faster property methods instead of creating property
paths via snprintf+strncat+absolute paths every time (more to come)

15 years agotestair.cxx is a 21 lines long, obsolete test application. After removing
mfranz [Tue, 12 May 2009 15:07:06 +0000 (15:07 +0000)]
testair.cxx is a 21 lines long, obsolete test application. After removing
all lines that refer to no longer existing headers/classes/functions, then
this is what remains:  int main() { printf("boo!\n"); return 0; }

15 years agofixes for compiling without syntax validation.
ehofman [Mon, 11 May 2009 08:46:03 +0000 (08:46 +0000)]
fixes for compiling without syntax validation.

15 years agoSync. with JSBSim CVS
ehofman [Sun, 10 May 2009 12:23:35 +0000 (12:23 +0000)]
Sync. with JSBSim CVS

15 years agoAllows multi samples > 1
fredb [Fri, 8 May 2009 16:45:49 +0000 (16:45 +0000)]
Allows multi samples > 1

15 years agoSkip one recursive function call for leaf nodes at the cost of a bit of code size...
ehofman [Fri, 8 May 2009 09:10:56 +0000 (09:10 +0000)]
Skip one recursive function call for leaf nodes at the cost of a bit of code size. Fix comment support in some cases

15 years agoCompile xmlgrep with MSVC 7.1
fredb [Thu, 7 May 2009 20:25:27 +0000 (20:25 +0000)]
Compile xmlgrep with MSVC 7.1

15 years agomore small fixes
ehofman [Thu, 7 May 2009 12:23:30 +0000 (12:23 +0000)]
more small fixes

15 years agoleak fixes
mfranz [Thu, 7 May 2009 10:27:16 +0000 (10:27 +0000)]
leak fixes

15 years agofix leaks; make destructors virtual
mfranz [Wed, 6 May 2009 18:55:20 +0000 (18:55 +0000)]
fix leaks; make destructors virtual

15 years agoFix broken ATC/AI-Frequencies dialog.
torsten [Wed, 6 May 2009 17:26:05 +0000 (17:26 +0000)]
Fix broken ATC/AI-Frequencies dialog.

15 years ago * Various bugfixes, required to get fgrun working
ehofman [Wed, 6 May 2009 14:29:12 +0000 (14:29 +0000)]
  * Various bugfixes, required to get fgrun working
  * add testxml as sort of a stress test application

15 years agoVarious bugfixes. This allows me to run fgrun on all FlightGear aircraft in the base...
ehofman [Tue, 5 May 2009 12:50:00 +0000 (12:50 +0000)]
Various bugfixes. This allows me to run fgrun on all FlightGear aircraft in the base packageusing this xml code.

15 years agoRemoved hardcoded performance data.
durk [Tue, 5 May 2009 10:36:38 +0000 (10:36 +0000)]
Removed hardcoded performance data.

15 years agoMerge branch 'maint' into next
Tim Moore [Mon, 18 May 2009 10:23:33 +0000 (12:23 +0200)]
Merge branch 'maint' into next

15 years agoMake flightgear compile with todays osg trunk.
frohlich [Sat, 16 May 2009 08:16:20 +0000 (08:16 +0000)]
Make flightgear compile with todays osg trunk.

Modified Files:
src/Scenery/SceneryPager.cxx src/Scenery/SceneryPager.hxx
src/Scenery/tilemgr.cxx

15 years agoAICarrier fixes from Vivian
Tim Moore [Mon, 4 May 2009 14:16:00 +0000 (16:16 +0200)]
AICarrier fixes from Vivian

15 years agoFrom Vivian: add a tunable launchbar acceleration, to better support some
andy [Fri, 1 May 2009 16:11:23 +0000 (16:11 +0000)]
From Vivian: add a tunable launchbar acceleration, to better support some
of the Jets on the catapult.

15 years agoallow C++ to include the header
ehofman [Fri, 1 May 2009 08:05:37 +0000 (08:05 +0000)]
allow C++ to include the header

15 years agogeneral cleanups.
ehofman [Fri, 1 May 2009 08:00:17 +0000 (08:00 +0000)]
general cleanups.

15 years agoAdd support for CDATA
ehofman [Thu, 30 Apr 2009 19:26:57 +0000 (19:26 +0000)]
Add support for CDATA

15 years agoFix an off by one problem.
ehofman [Thu, 30 Apr 2009 13:56:50 +0000 (13:56 +0000)]
Fix an off by one problem.