]>
git.mxchange.org Git - flightgear.git/log
ehofman [Thu, 7 May 2009 12:23:30 +0000 (12:23 +0000)]
more small fixes
mfranz [Thu, 7 May 2009 10:27:16 +0000 (10:27 +0000)]
leak fixes
mfranz [Wed, 6 May 2009 18:55:20 +0000 (18:55 +0000)]
fix leaks; make destructors virtual
torsten [Wed, 6 May 2009 17:26:05 +0000 (17:26 +0000)]
Fix broken ATC/AI-Frequencies dialog.
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
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.
durk [Tue, 5 May 2009 10:36:38 +0000 (10:36 +0000)]
Removed hardcoded performance data.
Tim Moore [Mon, 18 May 2009 10:23:33 +0000 (12:23 +0200)]
Merge branch 'maint' into next
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
Tim Moore [Mon, 4 May 2009 14:16:00 +0000 (16:16 +0200)]
AICarrier fixes from Vivian
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.
ehofman [Fri, 1 May 2009 08:05:37 +0000 (08:05 +0000)]
allow C++ to include the header
ehofman [Fri, 1 May 2009 08:00:17 +0000 (08:00 +0000)]
general cleanups.
ehofman [Thu, 30 Apr 2009 19:26:57 +0000 (19:26 +0000)]
Add support for CDATA
ehofman [Thu, 30 Apr 2009 13:56:50 +0000 (13:56 +0000)]
Fix an off by one problem.
ehofman [Wed, 29 Apr 2009 07:05:22 +0000 (07:05 +0000)]
a small cleanup and make Windows simple_mmap function return the proper value if an error was detected.
ehofman [Tue, 28 Apr 2009 16:47:48 +0000 (16:47 +0000)]
* add printxml, an example utility that walks an xml-tree and prints it
contenst
ehofman [Tue, 28 Apr 2009 13:59:26 +0000 (13:59 +0000)]
* changes to the code to allow walking the xml-tree using "*" as a node name
ehofman [Mon, 27 Apr 2009 20:26:28 +0000 (20:26 +0000)]
brighten te sky color towards the sun at dusk and dawn
ehofman [Mon, 27 Apr 2009 19:27:29 +0000 (19:27 +0000)]
Ouch, forgot to allocate memory for the root node in xmlInitBuffer. Update xmlgrep to allow compiling it using xmlInitBuffer instead of xmlOpen
ehofman [Mon, 27 Apr 2009 17:03:16 +0000 (17:03 +0000)]
zero is a valid file descriptor, use -1 instead and better not use 'open' as a variable name.
ehofman [Mon, 27 Apr 2009 16:54:46 +0000 (16:54 +0000)]
* add xmlInitBuffer() for processing of a preallocated buffer
* add xmlErrorGetColumnNo to get the column number of the syntax error
* pass an error at a higher level to lower levels
* detect a number of extra syntax errors
ehofman [Mon, 27 Apr 2009 11:50:08 +0000 (11:50 +0000)]
fix a buffer overflow
ehofman [Mon, 27 Apr 2009 09:45:59 +0000 (09:45 +0000)]
catch one more syntax error and remove a stale debug printf
torsten [Sun, 26 Apr 2009 09:18:13 +0000 (09:18 +0000)]
just in case that someone does not like ridge lift at all, set the property
/environment/ridge-lift/enabled=true
works also at runtime.
And some tiny code optimization.
ehofman [Sun, 26 Apr 2009 09:05:22 +0000 (09:05 +0000)]
* add support for comments inside xml-tags, e.g.: <test><!-- --></test>
ehofman [Sat, 25 Apr 2009 09:54:28 +0000 (09:54 +0000)]
* add support for self-contained tags like <test/>
* fix a problem if a file could not be mmaped
* add a few comments which hopefully makes the code easier to understand
* code cleanups
torsten [Fri, 24 Apr 2009 20:38:05 +0000 (20:38 +0000)]
one final(?) cleanup:
- no need for sign() to be a class member
- rename local ground elevation variable and make it method local
torsten [Fri, 24 Apr 2009 13:52:30 +0000 (13:52 +0000)]
- avoid duplicate computations
- move local variables out of the class into the methods
- use SG_xxx constants where applicable
- use indexed properties instead of _0, _1, ...
- code cleanup
torsten [Fri, 24 Apr 2009 10:11:10 +0000 (10:11 +0000)]
Melchior FRANZ: fix array subscript is above array bounds
torsten [Fri, 24 Apr 2009 08:20:48 +0000 (08:20 +0000)]
Patrice Poly: correction for the lee side
attempt to fix nan issue
fredb [Mon, 20 Apr 2009 20:18:15 +0000 (20:18 +0000)]
Update MSVC 7.1 projects - add ridge lift
fredb [Mon, 20 Apr 2009 20:17:34 +0000 (20:17 +0000)]
Remove spurious semi-colon
ehofman [Mon, 20 Apr 2009 19:56:09 +0000 (19:56 +0000)]
fix a case where a single-element root path (e.g. /printer) would not pass xmlNodeGetPath
torsten [Mon, 20 Apr 2009 18:32:41 +0000 (18:32 +0000)]
restoring original copyright of David Culp
ehofman [Mon, 20 Apr 2009 17:05:03 +0000 (17:05 +0000)]
* Setting an error when a node isn't found isn't he best way,
need to find another way to report that.
* Fix a bug where an error was incorrectly set in xmlNodeCopyName
ehofman [Mon, 20 Apr 2009 16:46:39 +0000 (16:46 +0000)]
* fix a problem where attributes or elements starting with the same letter
sequence could give a false negative result
* Add a 'clear' attribute to the xmlErrorGet functions that indicates whether
the error should be cleared or not
* detect more xml syntax errors
torsten [Mon, 20 Apr 2009 14:20:05 +0000 (14:20 +0000)]
Implementation of ridge lift from Patrice Poly based on an algorithm of Ian Forster-Lewis
fredb [Sat, 18 Apr 2009 22:20:50 +0000 (22:20 +0000)]
errno is a reserved macro in some compilers
ehofman [Sat, 18 Apr 2009 21:28:19 +0000 (21:28 +0000)]
Fix a typo.
ehofman [Sat, 18 Apr 2009 21:25:23 +0000 (21:25 +0000)]
* Introduce a root-node that can hold extra information which is necessary
for thread safety under windows
* Add xmlErrorGetString, xmlErrorGetLineNo for syntax error detetction
* Add xmlErrGetNo for detection of, and clearing the last error
fredb [Sat, 18 Apr 2009 14:18:26 +0000 (14:18 +0000)]
Update MSVC 7.1 projects - add xmlgrep
fredb [Sat, 18 Apr 2009 14:13:13 +0000 (14:13 +0000)]
Compile xmlgrep with MSVC 7.1
ehofman [Thu, 16 Apr 2009 19:03:22 +0000 (19:03 +0000)]
* Rename xmlGetNode functions to xmlNodeGet for better consistancy
* likewise for xmlCopyNode en xmlCompareNode
* add xmlAttributeGetDouble, xmlAttributeGetInt, xmlAttributeGetString
xmlAttributeCopyString and xmlAttributeCompareString functions
* fix some small bugs and problems along the way
* add support for filtering on attribute value in xmlgrep
ehofman [Thu, 16 Apr 2009 06:48:20 +0000 (06:48 +0000)]
Sync. w. JSBSim: fix a few unexpected glitches
curt [Wed, 15 Apr 2009 18:20:29 +0000 (18:20 +0000)]
Be compatible with newer versions of tail and gnuplot.
curt [Mon, 13 Apr 2009 18:41:31 +0000 (18:41 +0000)]
newest gnuplot doesn't like the "set terminal png color" command,
change to "set terminal png"
ehofman [Mon, 13 Apr 2009 11:47:57 +0000 (11:47 +0000)]
Sync. w. JSBSim CVS
ehofman [Sun, 12 Apr 2009 11:43:06 +0000 (11:43 +0000)]
Remove unused code
frohlich [Sun, 12 Apr 2009 09:53:05 +0000 (09:53 +0000)]
Fix a problem with node traversal masks and paged model loading that
shows up as a non solid carrier under some circumstance.
Modified Files:
AIBase.cxx AIBase.hxx AIShip.cxx
ehofman [Sat, 11 Apr 2009 12:28:23 +0000 (12:28 +0000)]
Let the fog color transition into the sky dome to give a more natural effect
curt [Fri, 10 Apr 2009 18:45:41 +0000 (18:45 +0000)]
Don't compute radio station range when nav1 slaved to gps.
curt [Fri, 10 Apr 2009 18:40:54 +0000 (18:40 +0000)]
One more minor tweak on glideslope handling when slaved to gps.
curt [Thu, 9 Apr 2009 15:36:42 +0000 (15:36 +0000)]
Better handling of glide slope and in range flags when slaved to external
GPS.
ehofman [Thu, 9 Apr 2009 10:42:32 +0000 (10:42 +0000)]
Also adjust diffuse based on visibility although probably nobody will notice the difference
mfranz [Tue, 7 Apr 2009 15:05:57 +0000 (15:05 +0000)]
Ctrl-Shift-click on the '.' entry fires listeners of the parent node.
This can be used to validate atomic branches after individual members
have been changed.
(This is useful no matter how the discussion on aggregate property types
ends, and not meant to enforce/accelerate a decision.)
ehofman [Sat, 4 Apr 2009 09:20:33 +0000 (09:20 +0000)]
fog color and cloud color are the same anyhow, remove one of them in the ambient color calculation
ehofman [Fri, 3 Apr 2009 07:56:59 +0000 (07:56 +0000)]
logarithmic decrease in shinines/specular and limited linear increased ambient color due to reduced visibility.
mfranz [Thu, 2 Apr 2009 18:14:50 +0000 (18:14 +0000)]
Ron JENSEN: fix division by zero problem (asin -> atan2; navradio.cxx)
ehofman [Tue, 31 Mar 2009 08:09:11 +0000 (08:09 +0000)]
forgot one small fix
ehofman [Tue, 31 Mar 2009 08:06:17 +0000 (08:06 +0000)]
better use of const and fix a bunch of warnings
ehofman [Mon, 30 Mar 2009 20:10:41 +0000 (20:10 +0000)]
Adjust the lighting once more, the previous behavior wasn't really satisfactory to me. Now specular is also influenced by visibility.
durk [Mon, 30 Mar 2009 05:59:18 +0000 (05:59 +0000)]
Maik Justus: Crash Fix.
ehofman [Sun, 29 Mar 2009 11:41:45 +0000 (11:41 +0000)]
Adding ambient support for ac3d aircraft models reveiled a mistake in the scne ambient calculation. Decreasing visibility now increases ambient color giving a nice dark color on bright days and a much more visible color on normal days.
torsten [Sat, 28 Mar 2009 13:04:36 +0000 (13:04 +0000)]
added new features:
- conditions for InputValues
- multiple InputValues
some more code cleanup
torsten [Sat, 28 Mar 2009 13:03:46 +0000 (13:03 +0000)]
added new features:
- conditions for InputValues
- multiple InputValues
mfranz [Fri, 27 Mar 2009 20:04:42 +0000 (20:04 +0000)]
gui/embedded nasal: don't rely on the nasal system being available
ehofman [Fri, 27 Mar 2009 11:44:33 +0000 (11:44 +0000)]
Fixes:
* line 343: comparison between signed and unsigned integer expressions
* line 441: 'lon', 'lat', 'slr' and 'alt' might be used uninitialized
* line 565: enumeration value 'etUnknown' not handled in switch
mfranz [Fri, 27 Mar 2009 09:19:41 +0000 (09:19 +0000)]
Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx
ehofman [Thu, 26 Mar 2009 09:25:17 +0000 (09:25 +0000)]
Sync. w. JSBSIm one more time to fix at least one bug
ehofman [Wed, 25 Mar 2009 10:00:46 +0000 (10:00 +0000)]
Sync. w. JSBSim cvs
mfranz [Mon, 23 Mar 2009 18:40:46 +0000 (18:40 +0000)]
FGNasalModelData: use model XML path as module source
mfranz [Mon, 23 Mar 2009 15:23:50 +0000 (15:23 +0000)]
degrade MP chat messages from SG_ALERT fo SG_WARN
(they should not drown real error messages)
mfranz [Sun, 22 Mar 2009 18:39:47 +0000 (18:39 +0000)]
wxradar: display transponder-id by default, fall back to callsign
mfranz [Sun, 22 Mar 2009 17:04:02 +0000 (17:04 +0000)]
assign a unique module name to ai/mp embedded nasal (again): __model%u
durk [Sun, 22 Mar 2009 13:49:51 +0000 (13:49 +0000)]
Allow the AI Traffic controller to set a transponder code. This code is
used in ATC chatter, and writted to the property, so it can -in principle-
be picked up by the radar.
mfranz [Thu, 19 Mar 2009 15:08:49 +0000 (15:08 +0000)]
don't keep 'nasal-dir-initialized' node after removing
fredb [Thu, 19 Mar 2009 13:17:46 +0000 (13:17 +0000)]
Support old compilers
torsten [Thu, 19 Mar 2009 10:30:26 +0000 (10:30 +0000)]
- created a class for InputValues
- moved common code into the base class FGXMLAutoComponent
- adapted the documentation
torsten [Thu, 19 Mar 2009 10:05:47 +0000 (10:05 +0000)]
added documentation for global elements and adapted to sourcecode modifications
mfranz [Wed, 18 Mar 2009 18:24:50 +0000 (18:24 +0000)]
geodinfo: make vector origin altitude configurable
frohlich [Wed, 18 Mar 2009 07:10:49 +0000 (07:10 +0000)]
Remove unused switch node.
Modified Files:
src/Model/acmodel.cxx src/Model/acmodel.hxx
mfranz [Tue, 17 Mar 2009 22:01:34 +0000 (22:01 +0000)]
wxradar: read aircraft data from the property tree, rather than AIBase
This allows to display objects that are in /ai/models/, but not managed
by the AI manager, and it follows fgfs' design principle that subsystems
should communicate over the property tree (if possible). This is a tad
slower, but the radar is only updated once every second.
frohlich [Tue, 17 Mar 2009 12:26:27 +0000 (12:26 +0000)]
Update with changes in simgear.
Modified Files:
src/Main/renderer.cxx src/Main/main.cxx
frohlich [Tue, 17 Mar 2009 06:51:48 +0000 (06:51 +0000)]
Fix a problem with two concurent 'round to multiple of basic simulation
time' code paths. The problem may lead to skipped fdm updates at very high
frame rates. The most visible effect of that was that the aircraft
slips backwards wrt the forward moving carrier.
Remove unused stuff.
Modified Files:
configure.ac projects/VC7.1/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx
src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx
src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp
src/FDM/SP/BalloonSim.h src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am
Removed Files:
src/Time/fg_timer.cxx src/Time/fg_timer.hxx
frohlich [Tue, 17 Mar 2009 05:33:31 +0000 (05:33 +0000)]
Remove unused stuff.
Modified Files:
src/Main/main.cxx src/Main/main.hxx
frohlich [Tue, 17 Mar 2009 05:32:39 +0000 (05:32 +0000)]
Use simgear vector instead of plib vectors.
Modified Files:
SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h
mfranz [Mon, 16 Mar 2009 23:27:27 +0000 (23:27 +0000)]
nasal syntax: handle bracket error correctly
frohlich [Mon, 16 Mar 2009 16:37:39 +0000 (16:37 +0000)]
Port over remaining Point3D usage to the more type and unit safe SG* classes.
Remove leftover headers from plib/sg.
Modified Files:
src/AIModel/AIBase.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
src/Airports/parking.cxx src/Airports/runwayprefs.cxx
src/Airports/simple.cxx src/Cockpit/cockpit.cxx
src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx
src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
src/Main/viewer.cxx src/Main/viewmgr.cxx
src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
src/Traffic/TrafficMgr.cxx
frohlich [Mon, 16 Mar 2009 11:57:35 +0000 (11:57 +0000)]
Remove unused variables.
Modified Files:
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.hxx src/ATCDCL/AILocalTraffic.cxx
frohlich [Mon, 16 Mar 2009 11:43:19 +0000 (11:43 +0000)]
Remove unsed code.
Modified Files:
ATCProjection.cxx ATCProjection.hxx
frohlich [Mon, 16 Mar 2009 09:47:59 +0000 (09:47 +0000)]
Make use of the fast bv intersection tests even for the croaser altitude
queries. This also fixes some issues with the carrier and the croaser
altitude values that is used when no hit is found.
Include some ifdefed out debugging code, that might be interresting.
Modified Files:
groundcache.hxx groundcache.cxx
mfranz [Sun, 15 Mar 2009 19:18:14 +0000 (19:18 +0000)]
Roy V. OVESEN: add support for heading bug
frohlich [Sun, 15 Mar 2009 18:18:21 +0000 (18:18 +0000)]
Make a simulation reset on the carrier work again.
Modified Files:
src/FDM/flight.cxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx
mfranz [Sun, 15 Mar 2009 11:45:39 +0000 (11:45 +0000)]
remove redundant checks (and one indentation level)
frohlich [Sun, 15 Mar 2009 11:26:31 +0000 (11:26 +0000)]
Fix some sim time issues with the locations of the ground cache and the
queries in there.
Modified Files:
flight.cxx flight.hxx groundcache.cxx
groundcache.hxx JSBSim/JSBSim.cxx YASim/YASim.cxx
YASim/YASim.hxx
frohlich [Sun, 15 Mar 2009 11:05:28 +0000 (11:05 +0000)]
The simtime alread contains the increment. So do not add that twice.
Modified Files:
src/AIModel/AIShip.cxx
mfranz [Sun, 15 Mar 2009 10:44:37 +0000 (10:44 +0000)]
Merge branch 'master' of ../.fg.osg
frohlich [Sat, 14 Mar 2009 12:27:12 +0000 (12:27 +0000)]
Set the reference time the transform is meant for.
Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx
torsten [Fri, 13 Mar 2009 22:35:37 +0000 (22:35 +0000)]
Add documentation of new <condition> element