]>
git.mxchange.org Git - flightgear.git/log
Thomas Geymayer [Sat, 19 Oct 2013 23:26:32 +0000 (01:26 +0200)]
Trigger segfault/stacktrace to trace memory corruption.
Catch OSG error message if osg::Reference derived class
is deleted with non-zero reference count and trigger a
segfault to get a stack trace.
Thomas Geymayer [Fri, 18 Oct 2013 23:17:16 +0000 (01:17 +0200)]
Provide debug information on thread safety of osg::Referenced.
James Turner [Fri, 18 Oct 2013 14:54:44 +0000 (15:54 +0100)]
Validate arg to Nasal airport.comms().
Thanks to HomerJ for the catch.
James Turner [Tue, 1 Oct 2013 20:14:30 +0000 (21:14 +0100)]
Initial hacking on terra-sync of traffic files.
Thomas Geymayer [Thu, 17 Oct 2013 11:29:38 +0000 (13:29 +0200)]
FGNasalModelData: also log path of model.
Thomas Geymayer [Thu, 17 Oct 2013 09:48:01 +0000 (11:48 +0200)]
More logging for FGNasalModelData.
Thomas Geymayer [Wed, 16 Oct 2013 21:36:27 +0000 (23:36 +0200)]
NasalSys: do not print invalid elements for error backtraces.
James Turner [Sun, 6 Oct 2013 16:28:58 +0000 (17:28 +0100)]
Map shows all airports when zoomed in.
Bug 1135, or part of it.
(Ignore the short-runway culling when zoomed in)
James Turner [Tue, 15 Oct 2013 21:27:19 +0000 (22:27 +0100)]
Bug 1217, crash on AI traffic data.
Guard against flight plans with missing airport
information.
James Turner [Tue, 15 Oct 2013 21:16:50 +0000 (22:16 +0100)]
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).
James Turner [Tue, 15 Oct 2013 21:02:36 +0000 (22:02 +0100)]
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.
Thomas Geymayer [Tue, 15 Oct 2013 15:48:13 +0000 (17:48 +0200)]
Update/simplify for SimGear changes.
Thomas Geymayer [Mon, 14 Oct 2013 22:58:04 +0000 (00:58 +0200)]
Scripting: get rid of gcHash and use new SimGear/Nasal functions.
ThorstenB [Mon, 14 Oct 2013 20:13:31 +0000 (22:13 +0200)]
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"
Clément de l'Hamaide [Sat, 12 Oct 2013 17:20:38 +0000 (19:20 +0200)]
fgcom-sa: remove plib, zlib, win dependencies
Thomas Geymayer [Fri, 11 Oct 2013 22:43:30 +0000 (00:43 +0200)]
Canvas: update for SimGear changes.
Stanislaw Halik [Tue, 8 Oct 2013 08:43:17 +0000 (10:43 +0200)]
Fix ricer sqlite3 build
-fno-fast-math needs to be explicitly passed not to trigger #error
preprocessor directive.
Dirk Dittmann [Sat, 27 Jul 2013 12:06:03 +0000 (14:06 +0200)]
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
James Turner [Wed, 2 Oct 2013 21:28:19 +0000 (22:28 +0100)]
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
James Turner [Wed, 2 Oct 2013 21:08:17 +0000 (22:08 +0100)]
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.
James Turner [Tue, 1 Oct 2013 18:57:07 +0000 (19:57 +0100)]
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)
James Turner [Mon, 30 Sep 2013 17:02:27 +0000 (18:02 +0100)]
Move cache schema into its own file.
Clément de l'Hamaide [Mon, 30 Sep 2013 18:08:05 +0000 (20:08 +0200)]
Fix OpenThreads DLL name for Windows build
Clément de l'Hamaide [Mon, 30 Sep 2013 16:32:59 +0000 (18:32 +0200)]
Fix pthread link for iaxclient
James Turner [Mon, 30 Sep 2013 15:13:04 +0000 (16:13 +0100)]
Splash-screen feedback on scenery download.
James Turner [Mon, 30 Sep 2013 11:07:35 +0000 (12:07 +0100)]
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.
James Turner [Mon, 30 Sep 2013 11:03:47 +0000 (12:03 +0100)]
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.
Clément de l'Hamaide [Sat, 28 Sep 2013 20:44:55 +0000 (22:44 +0200)]
FGCom standalone: search *.txt as relative path
James Turner [Sat, 28 Sep 2013 13:47:20 +0000 (14:47 +0100)]
Reduce amount of log output at level=debug.
James Turner [Sat, 28 Sep 2013 13:21:07 +0000 (14:21 +0100)]
Fix portability issue with system sqlite 3.8
James Turner [Sat, 28 Sep 2013 13:17:53 +0000 (14:17 +0100)]
Kill of embedded-Simgear CMake mode.
This was a silly idea, CMake super-builds from fgmeta are the correct
approach to this going forward.
James Turner [Sat, 28 Sep 2013 13:15:47 +0000 (14:15 +0100)]
Remove all references to libsvn from build.
James Turner [Sat, 28 Sep 2013 13:07:45 +0000 (14:07 +0100)]
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.
Clément de l'Hamaide [Fri, 27 Sep 2013 18:24:19 +0000 (20:24 +0200)]
Restore ENABLE_IAX
Clément de l'Hamaide [Fri, 27 Sep 2013 17:07:19 +0000 (19:07 +0200)]
Install required file by fgcom in the common share/ directory
James Turner [Fri, 27 Sep 2013 17:06:18 +0000 (18:06 +0100)]
Kill another BOM.
James Turner [Fri, 27 Sep 2013 16:08:36 +0000 (17:08 +0100)]
Remove UTF-8 BOM.
Seems to be upsetting the compiler on Jenkins.
Clément de l'Hamaide [Fri, 27 Sep 2013 14:05:45 +0000 (16:05 +0200)]
Move IAXClient library into 3rdparty directory
Remove ENABLE_IAX option
Add an improved FGCom standalone as part of FG in utils directory
Clément de l'Hamaide [Fri, 27 Sep 2013 13:37:07 +0000 (15:37 +0200)]
Fix Windows warning during Windows compilation
Make sure OpenAL context is setup before opening capture device
Torsten Dreyer [Thu, 26 Sep 2013 14:49:27 +0000 (16:49 +0200)]
make the metar command line tool case insensitive
James Turner [Wed, 25 Sep 2013 12:54:16 +0000 (13:54 +0100)]
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.
Anders Gidenstam [Mon, 23 Sep 2013 20:27:51 +0000 (22:27 +0200)]
Restored JSBSim to a working state in FlightGear.
Anders Gidenstam [Sun, 22 Sep 2013 15:56:58 +0000 (17:56 +0200)]
Synchronized with JSBSim/CVS.
Clément de l'Hamaide [Sun, 22 Sep 2013 23:02:10 +0000 (01:02 +0200)]
Fix spelling error by Markus Wanner
Clément de l'Hamaide [Sun, 22 Sep 2013 15:42:24 +0000 (17:42 +0200)]
remove unused #define
Clément de l'Hamaide [Sun, 22 Sep 2013 15:34:51 +0000 (17:34 +0200)]
Implement IAX callerID feature
James Turner [Wed, 18 Sep 2013 11:08:20 +0000 (12:08 +0100)]
Tweak AI Traffic model loading.
Traffic with models in additional aircraft dirs or data dirs is
displayed correctly now.
James Turner [Thu, 27 Jun 2013 08:37:53 +0000 (09:37 +0100)]
Support for multiple data dirs.
James Turner [Sun, 15 Sep 2013 18:17:38 +0000 (19:17 +0100)]
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.
Christian Schmitt [Sun, 15 Sep 2013 13:08:06 +0000 (15:08 +0200)]
fix uninitialized variable reported by valgrind
James Turner [Sat, 14 Sep 2013 16:43:24 +0000 (17:43 +0100)]
Fix for #1117:
fix another issue similar to CVE-2012-2090
In FGClouds::buildlayer(), prevent passing '%n' to snprintf().
From: Rebecca Palmer
James Turner [Sat, 14 Sep 2013 16:39:02 +0000 (17:39 +0100)]
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
James Turner [Sat, 14 Sep 2013 16:37:45 +0000 (17:37 +0100)]
GCC 4.7 compile fix.
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
James Turner [Sat, 14 Sep 2013 11:17:33 +0000 (12:17 +0100)]
Display AI traffic route in map.
Add some helpers so MapWidget can show the
origin and destination of AIAircraft with a FlightPlan.
Thomas Geymayer [Sun, 8 Sep 2013 11:49:09 +0000 (13:49 +0200)]
Fix signed/unsigned missmatch.
Torsten Dreyer [Thu, 5 Sep 2013 08:21:44 +0000 (10:21 +0200)]
Fix #1186 moving average filter
fix incorrect behaviour of the moving average filter as reported
and patched by bmbroom.
James Turner [Thu, 5 Sep 2013 07:29:20 +0000 (08:29 +0100)]
From Jano: fix HUD ladder aspect.
janodesbois [Fri, 16 Aug 2013 21:19:11 +0000 (23:19 +0200)]
#901, yasim report the wrong sign in side-slip-deg and -rad.
James Turner [Thu, 29 Aug 2013 21:12:34 +0000 (22:12 +0100)]
Pass terrasync dir through to osgDB options.
Half of fix for TerraSync Models not being found.
James Turner [Thu, 29 Aug 2013 21:12:00 +0000 (22:12 +0100)]
Fix crash on re-position with FGCom.
Don't assume valueChanged firing means the value has actually
changed; various operations (eg, copyProperties) can also
cause the signals to fire.
Clément de l'Hamaide [Wed, 28 Aug 2013 16:09:22 +0000 (18:09 +0200)]
FGCom: implement a callback function and handle IAX text event
Clément de l'Hamaide [Tue, 27 Aug 2013 18:23:14 +0000 (20:23 +0200)]
FGCom: Add a different max range for ground and tower frequencies
James Turner [Mon, 26 Aug 2013 21:21:55 +0000 (22:21 +0100)]
Fix Mac data dir finding.
Mostly affects release builds, ensure data dir located within
the bundle is found correctly.
Clément de l'Hamaide [Sat, 24 Aug 2013 15:51:03 +0000 (17:51 +0200)]
Clean FGCom logging and fix IAX input level
Clément de l'Hamaide [Thu, 22 Aug 2013 12:12:06 +0000 (14:12 +0200)]
Fix segFault on reset by checking IAX has been initialized
Clément de l'Hamaide [Wed, 21 Aug 2013 18:24:07 +0000 (20:24 +0200)]
FGCom: Should fix continous mic ON by checking state in main loop instead of listener
James Turner [Mon, 19 Aug 2013 17:21:51 +0000 (18:21 +0100)]
Fix crash on exit when FGCom is not being used.
Clément de l'Hamaide [Mon, 19 Aug 2013 14:08:29 +0000 (16:08 +0200)]
Fix range calculation for special frequencies
Range for special freq was computed with previous freq, now they are always in range
Use a global variable (_currentFreqKhz) in order to avoid a <static_cast> in main loop; now it's only on frequency change
Fix a .size() > 0 for !.empty()
f-jjth [Mon, 19 Aug 2013 12:36:13 +0000 (14:36 +0200)]
Improve OpenAL driver for IAXClient
Abort OpenAL initialization if input device are not found in this way we don't create and merge new OpenAL context with SGSoundMgr
Close OpenAL context and input device when FG is stopped
Tom Paoletti [Fri, 22 Mar 2013 02:43:14 +0000 (19:43 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
Tom Paoletti [Fri, 22 Mar 2013 02:43:03 +0000 (19:43 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
Tom Paoletti [Fri, 22 Mar 2013 02:42:22 +0000 (19:42 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
PlutoniumHeart [Sun, 18 Aug 2013 10:20:35 +0000 (03:20 -0700)]
winpoop.h seriously?
f-jjth [Sun, 19 May 2013 14:29:49 +0000 (16:29 +0200)]
FGCom integrated into FlightGear.
Disabled by default at build time.
James Turner [Wed, 7 Aug 2013 15:30:20 +0000 (16:30 +0100)]
Fix horizon sunrise/sunset effect position.
Fix sun position in default renderer. (Committing fix
provided after discussion on IRC + forum, no bug ID)
James Turner [Mon, 29 Jul 2013 21:59:45 +0000 (22:59 +0100)]
Remove unnecessary includes/using
flight.hxx (FGInterface) was pulling in list, string and vector, and
'using' them, despite no actual need.
James Turner [Mon, 29 Jul 2013 21:54:25 +0000 (22:54 +0100)]
Assume OSG version 3.0 as a minimum
James Turner [Mon, 29 Jul 2013 21:15:23 +0000 (22:15 +0100)]
Kill some defunct uses of side-slip property.
Thomas Geymayer [Sat, 27 Jul 2013 20:15:27 +0000 (22:15 +0200)]
Canvas GUI: don't crash if enable decoration on window without content canvas
James Turner [Fri, 5 Jul 2013 13:36:58 +0000 (14:36 +0100)]
Couple more unused private vars killed off.
Thomas Geymayer [Fri, 26 Jul 2013 21:58:41 +0000 (23:58 +0200)]
Canvas window: separate handling of content-size and overall size.
Thomas Geymayer [Fri, 26 Jul 2013 21:48:13 +0000 (23:48 +0200)]
Canvas window: increase drag accuracy.
Thomas Geymayer [Fri, 26 Jul 2013 21:42:31 +0000 (23:42 +0200)]
Canvas GUI: fix updating canvas on window with decoration.
Thomas Geymayer [Wed, 24 Jul 2013 23:14:23 +0000 (01:14 +0200)]
Canvas GUI: check for window on handling mouse events.
Thomas Geymayer [Wed, 24 Jul 2013 22:57:49 +0000 (00:57 +0200)]
Expose canvas GUI "desktop" to Nasal.
- Restructure GUIMgr and move most parts to implementation class.
- Expose new (simgear::canvas::Group based) DesktopGroup class
to Nasal.
James Turner [Wed, 24 Jul 2013 07:53:55 +0000 (08:53 +0100)]
Bug #1166, slow POI parsing.
Various tweaks and changes to make it easier to evaluate changes
to the rebuild code. No smoking gun found yet.
James Turner [Wed, 24 Jul 2013 07:52:59 +0000 (08:52 +0100)]
Bug #1166, tweaking POI.dat parsing.
(Doesn't fix the bug alas, but slightly cleaner)
James Turner [Wed, 24 Jul 2013 07:51:35 +0000 (08:51 +0100)]
Additional checks, for waypoint role setting.
Added these while investigating a defect, which unfortunately still
remains elusive. But the checks are wise anyway.
James Turner [Mon, 22 Jul 2013 17:11:07 +0000 (18:11 +0100)]
Ignore SGGeod altitude when creating BasicWaypt.
This logic was only ever causing bad values, all callers which care
about an altitude restriction were setting one explicitly. Thanks to
Curt for spotting it.
James Turner [Thu, 18 Jul 2013 11:01:36 +0000 (12:01 +0100)]
Fix native protocol crashes.
As part of this, kill off the evil global FDM state, and avoid us
copying FGInterfaces (which is bad since it contains TiedProperties
and an FGGroundCache, neither of which are especially keen on being
copied). Will probably disable copy/assignment on TiedProperties in
a future commit.
Gijs de Rooy [Mon, 15 Jul 2013 19:47:14 +0000 (21:47 +0200)]
Suggest NVIDIA Optimus to use the high-end GPU.
hof [Sun, 14 Jul 2013 18:49:04 +0000 (14:49 -0400)]
Add libdl to FLTK_LIBRARIES when the system supports it. Required for libfltk1.3.
James Turner [Wed, 17 Jul 2013 19:29:38 +0000 (20:29 +0100)]
Bump version on development trunk.
James Turner [Wed, 17 Jul 2013 19:26:34 +0000 (20:26 +0100)]
Work-around for bug 1134, crash with flightplans.
When the active waypoint is deleted, and we can't offset the waypoint,
simply switch to the inactive waypoint. This is not ideal but avoids
the crash.
Thomas Geymayer [Mon, 15 Jul 2013 20:26:51 +0000 (22:26 +0200)]
Expose String::ends_with to Nasal
Thomas Geymayer [Thu, 4 Jul 2013 21:07:10 +0000 (23:07 +0200)]
Fix warnings identified by gcc.
James Turner [Thu, 4 Jul 2013 19:56:04 +0000 (20:56 +0100)]
More unused vars caught by Xcode.
James Turner [Thu, 4 Jul 2013 19:24:56 +0000 (20:24 +0100)]
Fix unused private vars.
Xcode is warning about these, they're a mixture of
copy-pasted code, evolved use (e.g. using a property
node to store state), and so on.
Thomas Geymayer [Thu, 4 Jul 2013 12:29:18 +0000 (14:29 +0200)]
FGSystemMgr: Do not quit on unknown system.
Showing a warning should be enough...
James Turner [Thu, 4 Jul 2013 09:29:58 +0000 (10:29 +0100)]
Remove a debug message.