James Turner
e93dc27153
Tweaks to startup configuration handling
...
- restore-defaults kills the nav cache, terra-sync cache
- new ignore-autosave option bypasses autosave.xml and leaves it
untouched (does not over-write on exit)
2013-10-26 18:29:31 +01:00
Clément de l'Hamaide
d5b70e98e0
FGCom[-sa]: add IAX denoiser and auto gain + set silence threshold
2013-10-26 13:18:08 +02:00
Clément de l'Hamaide
fde46e7ee3
FGCom-sa: remove commented lines
2013-10-26 01:51:56 +02:00
Clément de l'Hamaide
4fbff4f004
FGCom-sa: use only COM1 and COM2 + special frequencies require to mute speaker
2013-10-26 01:50:19 +02:00
Clément de l'Hamaide
3952ab6fe5
FGCom: remove unecessary assignation value
2013-10-26 01:48:31 +02:00
Clément de l'Hamaide
428f9031aa
FGCom: make COM1 and COM2 switchable with Shift+Space
2013-10-26 01:28:05 +02:00
Clément de l'Hamaide
dbb317a44b
build-mac-nightly: use new FGCom
2013-10-25 15:38:17 +02:00
James Turner
5c97b7e713
Change tooltips to enable explicit.
...
Instead of using a negative delay to disable, make the setting
operate directly. This simplifies UI on top.
2013-10-25 09:18:59 +01:00
James Turner
81e86f5b20
Pause popup respects the preference.
2013-10-24 23:23:01 +01:00
Clément de l'Hamaide
6332693ae5
FGCom: use Speex codec instead of GSM codec
2013-10-24 12:14:31 +02:00
Thomas Geymayer
c4f02cc41e
Fix for #1244 (Canvas placements with pick animation).
2013-10-24 01:30:54 +02:00
Thomas Geymayer
961905a6cf
NasalCanvas: expose Element::getParent() to Nasal
2013-10-23 17:11:56 +02:00
James Turner
2f51052860
FGCom: initialise some variables.
...
Avoid a crash on re-init where _initialized member was never set.
2013-10-23 09:38:16 +01:00
Torsten Dreyer
60575c3b8c
generic protocol: another attempt to make MSVC smile
2013-10-22 21:02:06 +02:00
Torsten Dreyer
6b75b23309
generic protocol: don't rely on GNU extension
2013-10-22 14:17:35 +02:00
James Turner
47ecc0ce29
Fix an MSVC debug crash.
...
Ensure the route-manger unregisters itself from the flightplan
on destruction, since it is a delegate.
2013-10-21 23:38:01 +01:00
James Turner
6845ff56f3
Fix download rate on splash screen.
2013-10-21 23:04:23 +01:00
Torsten Dreyer
baebc9b64c
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.
2013-10-21 20:43:22 +02:00
James Turner
b30408b862
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)
2013-10-21 13:26:08 +01:00
James Turner
e3841fc9ef
Fix typos.
2013-10-20 20:46:40 +01:00
James Turner
38193d7843
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.
2013-10-20 20:46:33 +01:00
James Turner
e81df0df1f
Fix FGViewer compilation when HLA is disabled.
...
Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.
2013-10-20 15:56:33 +01:00
Thomas Geymayer
771586854b
Make build information readonly and clean up debug output.
2013-10-20 12:59:44 +02:00
James Turner
46e8c65612
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.
2013-10-20 09:44:38 +01:00
James Turner
80fb317eeb
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'.
2013-10-20 09:43:48 +01:00
Thomas Geymayer
e4b8e1ea07
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.
2013-10-20 01:26:32 +02:00
Thomas Geymayer
6b88302037
Provide debug information on thread safety of osg::Referenced.
2013-10-19 01:20:28 +02:00
James Turner
1e746500dd
Validate arg to Nasal airport.comms().
...
Thanks to HomerJ for the catch.
2013-10-18 15:54:44 +01:00
James Turner
f6fafffeb5
Initial hacking on terra-sync of traffic files.
2013-10-17 17:33:30 +01:00
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