]>
git.mxchange.org Git - flightgear.git/log
Clément de l'Hamaide [Fri, 25 Oct 2013 23:48:31 +0000 (01:48 +0200)]
FGCom: remove unecessary assignation value
Clément de l'Hamaide [Fri, 25 Oct 2013 23:28:05 +0000 (01:28 +0200)]
FGCom: make COM1 and COM2 switchable with Shift+Space
Clément de l'Hamaide [Fri, 25 Oct 2013 13:38:17 +0000 (15:38 +0200)]
build-mac-nightly: use new FGCom
James Turner [Fri, 25 Oct 2013 08:18:59 +0000 (09:18 +0100)]
Change tooltips to enable explicit.
Instead of using a negative delay to disable, make the setting
operate directly. This simplifies UI on top.
James Turner [Thu, 24 Oct 2013 22:22:46 +0000 (23:22 +0100)]
Pause popup respects the preference.
Clément de l'Hamaide [Thu, 24 Oct 2013 10:14:15 +0000 (12:14 +0200)]
FGCom: use Speex codec instead of GSM codec
Thomas Geymayer [Wed, 23 Oct 2013 23:30:01 +0000 (01:30 +0200)]
Fix for #1244 (Canvas placements with pick animation).
Thomas Geymayer [Wed, 23 Oct 2013 15:11:56 +0000 (17:11 +0200)]
NasalCanvas: expose Element::getParent() to Nasal
James Turner [Wed, 23 Oct 2013 08:38:04 +0000 (09:38 +0100)]
FGCom: initialise some variables.
Avoid a crash on re-init where _initialized member was never set.
Torsten Dreyer [Tue, 22 Oct 2013 19:02:06 +0000 (21:02 +0200)]
generic protocol: another attempt to make MSVC smile
Torsten Dreyer [Tue, 22 Oct 2013 12:17:35 +0000 (14:17 +0200)]
generic protocol: don't rely on GNU extension
James Turner [Mon, 21 Oct 2013 22:36:52 +0000 (23:36 +0100)]
Fix an MSVC debug crash.
Ensure the route-manger unregisters itself from the flightplan
on destruction, since it is a delegate.
James Turner [Mon, 21 Oct 2013 22:04:10 +0000 (23:04 +0100)]
Fix download rate on splash screen.
Torsten Dreyer [Mon, 21 Oct 2013 18:43:22 +0000 (20:43 +0200)]
Add protocol wrappers to the generic protocol
This adds two wrappers to the generic protocol to help interfacing
small microcontrollers (arduino et. al.)
When receiving binary data over a sequential link, it's hard to tell where a packet
starts and where it ends. Two existing solutions gets implemented with this patch:
KISS (http://www.ka9q.net/papers/kiss.html) originally developed for ham radio
packet radio devices and STX/ETX byte stuffing.
This adds only the OUT direction, IN will be implemented over the next weeks.
For implementation details on the client (microcontroller's) side, check out
http://gitorious.org/flightgear-pmpt/cmpt/
This implementation is used in the c172fg project to be presented at FSweekend 2013.
James Turner [Mon, 21 Oct 2013 12:26:08 +0000 (13:26 +0100)]
Fix bug 1227, cache thrash on Win.
Since we skip POI load on Windows, we also need to
omit the stat check. Apologies for the dumb mistake.
(Will back port to 2.12 branch)
James Turner [Sun, 20 Oct 2013 19:46:40 +0000 (20:46 +0100)]
Fix typos.
James Turner [Sun, 20 Oct 2013 19:46:33 +0000 (20:46 +0100)]
Support explicit aircraft interior models.
- allow multiple model files in the -set.xml specification
- allow each model to be tagged with a usage string
- put models tagged 'interior' into a LOD group.
This is experimental, the LOD ranges will be made configurable soon.
James Turner [Sun, 20 Oct 2013 14:56:33 +0000 (15:56 +0100)]
Fix FGViewer compilation when HLA is disabled.
Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.
Thomas Geymayer [Sun, 20 Oct 2013 10:58:20 +0000 (12:58 +0200)]
Make build information readonly and clean up debug output.
James Turner [Sun, 20 Oct 2013 08:44:38 +0000 (09:44 +0100)]
Expose OSG notify severity at runtime.
Define a new property /sim/rendering/osg-notify-level and listen
to it, so we can update the notification level at run time.
James Turner [Sun, 20 Oct 2013 08:43:48 +0000 (09:43 +0100)]
Don't speak < or > when using Festival.
Patch from HomerJ, avoid sending some additional special
characters to Festival, which renders then as 'greater than' /
'less than'.
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