1
0
Fork 0
Commit graph

11302 commits

Author SHA1 Message Date
Thomas Geymayer
b35119d408 FGNasalModelData: also log path of model. 2013-10-17 13:29:38 +02:00
Thomas Geymayer
d27919cd16 More logging for FGNasalModelData. 2013-10-17 11:48:01 +02:00
Thomas Geymayer
5c38395395 NasalSys: do not print invalid elements for error backtraces. 2013-10-16 23:41:38 +02:00
James Turner
f499913762 Map shows all airports when zoomed in.
Bug 1135, or part of it.

(Ignore the short-runway culling when zoomed in)
2013-10-15 22:28:10 +01:00
James Turner
a45e3d1d07 Bug 1217, crash on AI traffic data.
Guard against flight plans with missing airport
information.
2013-10-15 22:27:19 +01:00
James Turner
386d87e098 Cleanup exit handling.
Replace many lingering calls to exit() from the code,
replacing most with exception throws, which can be
caught by the existing mechanisms.

Update the option-parsing code to return an explicit
value indicating what to do (e.g., exit status to return
to the shell).
2013-10-15 22:16:50 +01:00
James Turner
78f2f2f142 Work-around for issue 1231.
Force sglog() to be initialised before at exit
handler is registered, so logging can be used from
inside our exit handler.
2013-10-15 22:02:36 +01:00
Thomas Geymayer
26a3573aea Update/simplify for SimGear changes. 2013-10-15 17:48:13 +02:00
Thomas Geymayer
5c42071fbb Scripting: get rid of gcHash and use new SimGear/Nasal functions. 2013-10-15 00:58:21 +02:00
ThorstenB
7ce2107336 Add support for IGC logging protocol.
Many light aircraft include GPS loggers capable of recording the flight
path using IGC records. Lots of third party utilities are available to
analyze, process and convert igc files.
Usage: "fgfs --igc=file,out,1,OutputFile.igc"
2013-10-14 22:13:31 +02:00
Clément de l'Hamaide
e0c97199e6 fgcom-sa: remove plib, zlib, win dependencies 2013-10-12 19:20:45 +02:00
Thomas Geymayer
df7e56b049 Canvas: update for SimGear changes. 2013-10-12 00:43:30 +02:00
Stanislaw Halik
2a6f95894b Fix ricer sqlite3 build
-fno-fast-math needs to be explicitly passed not to trigger #error
preprocessor directive.
2013-10-09 15:06:11 +02:00
Dirk Dittmann
778cc8c6a0 GPS
- greatCircleCrossTrackError added to LegWayptCtl, DirectToController, OBSController
	- config overflight seqence
		config/over-flight-arm-angle-deg	90
		config/over-flight-arm-distance-nm	1
		config/over-flight-distance-nm		0
2013-10-03 18:08:02 +02:00
James Turner
761b4835f9 Make positioned queries more defensive.
Validate the filter type range, to avoid crashing on bad ranges.
Accept arbitrary type lists in the Nasal API for searching by distance
2013-10-02 22:28:19 +01:00
James Turner
b2759d018b Fix a crash with GPS dialog.
If an invalid filter type is supplied, don't run the queries.
This showed up with GPS dialog, since the PUI combo box defaults to
no entry selected, not the first entry.
2013-10-02 22:08:17 +01:00
James Turner
f5b352429c Bug 1176, crash loading malformed scenario.
http://code.google.com/p/flightgear-bugs/issues/detail?id=1176

Don't crash if a scenario specifies a missing or invalid flightplan
(check the flightplan is valid before setting it)
2013-10-01 19:57:07 +01:00
James Turner
cc37e31ac9 Move cache schema into its own file. 2013-09-30 21:55:43 +01:00
Clément de l'Hamaide
c8b5cc8a26 Fix OpenThreads DLL name for Windows build 2013-09-30 20:08:05 +02:00
Clément de l'Hamaide
ae16d935e3 Fix pthread link for iaxclient 2013-09-30 18:32:59 +02:00
James Turner
ad4834c651 Splash-screen feedback on scenery download. 2013-09-30 16:36:13 +01:00
James Turner
cb087dc4de Tile-manager: kill off tile-refresh.
Now the manager waits on terrasync, we never need to do the 
'experimental' refresh feature, since we only load finished tiles.
2013-09-30 12:07:35 +01:00
James Turner
e03ebef99f Tile-Manager waits on TerraSync to load.
Using a new TerraSync API, make the tile manager wait on actively
syncing tiles before sending them to the SceneryPager. This resolves numerous
issues with missing tiles, including at startup.
2013-09-30 12:03:47 +01:00
Clément de l'Hamaide
5d17864d30 FGCom standalone: search *.txt as relative path 2013-09-28 22:45:07 +02:00
James Turner
52e5a9abe8 Reduce amount of log output at level=debug. 2013-09-28 14:47:20 +01:00
James Turner
ff7c280d57 Fix portability issue with system sqlite 3.8 2013-09-28 14:34:01 +01:00
James Turner
4bb52e46df Kill of embedded-Simgear CMake mode.
This was a silly idea, CMake super-builds from fgmeta are the correct
approach to this going forward.
2013-09-28 14:17:53 +01:00
James Turner
97d89a0c47 Remove all references to libsvn from build. 2013-09-28 14:15:47 +01:00
James Turner
1a9e479e2a Terrasync tweaks.
- Enable the terrasync persistent cache
- Ensure terraysync scenery dirs exist before NavCache init, so the paths are stable
- Notify TerraSync on reposition, so we sync the full 3x3 set of tiles.
2013-09-28 14:07:45 +01:00
Clément de l'Hamaide
bebc7235b3 Restore ENABLE_IAX 2013-09-27 20:24:42 +02:00
Clément de l'Hamaide
586fd45b08 Install required file by fgcom in the common share/ directory 2013-09-27 20:24:42 +02:00
James Turner
dfa1353a8a Kill another BOM. 2013-09-27 18:06:18 +01:00
James Turner
c55849d644 Remove UTF-8 BOM.
Seems to be upsetting the compiler on Jenkins.
2013-09-27 17:08:36 +01:00
Clément de l'Hamaide
c022bb8d51 Move IAXClient library into 3rdparty directory
Remove ENABLE_IAX option
Add an improved FGCom standalone as part of FG in utils directory
2013-09-27 16:05:45 +02:00
Clément de l'Hamaide
fc25f29d3c Fix Windows warning during Windows compilation
Make sure OpenAL context is setup before opening capture device
2013-09-27 15:37:07 +02:00
Torsten Dreyer
8d415eafa3 make the metar command line tool case insensitive 2013-09-26 16:49:27 +02:00
James Turner
0206de2d2c Relocate Sqlite3 sources, upgrade to 3.8.0.2
Move sqlite source to a separate location, and build with
an intermediate library target. This permits us to set compile options
easier, including an important one, NDEBUG, which improves performance.

Sqlite 3.8.0.2 also includes an updated query planner which may improve
some queries, to be tested.
2013-09-26 09:52:41 +01:00
Anders Gidenstam
5a4b9c617c Restored JSBSim to a working state in FlightGear. 2013-09-23 22:33:23 +02:00
Anders Gidenstam
22d91528f8 Synchronized with JSBSim/CVS. 2013-09-23 22:30:44 +02:00
Clément de l'Hamaide
023c136d40 Fix spelling error by Markus Wanner 2013-09-23 01:02:10 +02:00
Clément de l'Hamaide
639c7b82ee remove unused #define 2013-09-22 17:42:24 +02:00
Clément de l'Hamaide
d948e34af8 Implement IAX callerID feature 2013-09-22 17:38:47 +02:00
James Turner
7454d4cc4d Tweak AI Traffic model loading.
Traffic with models in additional aircraft dirs or data dirs is
displayed correctly now.
2013-09-18 12:08:20 +01:00
James Turner
33425c671d Support for multiple data dirs. 2013-09-17 07:47:58 +01:00
James Turner
fda64d840e Use helper to validate printf formats.
Simgear contains a new helper to validate format
strings for potentially dangerous replacements, use
it to fix the issues raised by Debian bug trackers.
2013-09-15 19:17:54 +01:00
Christian Schmitt
9a7e32d4a9 fix uninitialized variable reported by valgrind 2013-09-15 15:09:43 +02:00
James Turner
9457ba024a Fix for #1117:
fix another issue similar to CVE-2012-2090
 In FGClouds::buildlayer(), prevent passing '%n' to snprintf().
From: Rebecca Palmer
2013-09-14 17:43:24 +01:00
James Turner
dab588c789 Fix for CVE-2012-2091:
add checks against buffer overruns
 CVE-2012-2091 mentions various buffer overruns in simgear and
 flightgear. This patch addresses this issue in Rotor::getValueforFGSet().
From: Tom Callaway
2013-09-14 17:39:49 +01:00
James Turner
66423605f1 GCC 4.7 compile fix.
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
2013-09-14 17:39:42 +01:00
James Turner
38a373ba84 Display AI traffic route in map.
Add some helpers so MapWidget can show the
origin and destination of AIAircraft with a FlightPlan.
2013-09-14 12:17:33 +01:00