]> git.mxchange.org Git - flightgear.git/log
flightgear.git
10 years agoNasalSys: arg is never null
Torsten Dreyer [Wed, 12 Mar 2014 21:42:51 +0000 (22:42 +0100)]
NasalSys: arg is never null

10 years agohttpd: update mongoose and websockets
Torsten Dreyer [Wed, 12 Mar 2014 21:39:37 +0000 (22:39 +0100)]
httpd: update mongoose and websockets

* mongoose updated to 5.3
* first stab at implementing websockets, here a property change listener
  websocket. This websocket is at ws://yourhost:yourport/PropertyListener
  see FGDATA/Docs/gui/radio.html for an example

10 years agoPartial fix #1408
Torsten Dreyer [Wed, 12 Mar 2014 20:21:56 +0000 (21:21 +0100)]
Partial fix #1408

10 years agoAdd 'set-scenery-paths' command.
James Turner [Sat, 22 Feb 2014 16:13:36 +0000 (08:13 -0800)]
Add 'set-scenery-paths' command.

10 years agoDon't rebuild navcache for scenery changes
James Turner [Fri, 21 Feb 2014 18:11:24 +0000 (10:11 -0800)]
Don't rebuild navcache for scenery changes

- Cache can drop all ground-nets.

10 years agoICAO.ils.xml data works read-only.
James Turner [Fri, 21 Feb 2014 20:56:03 +0000 (12:56 -0800)]
ICAO.ils.xml data works read-only.

10 years agoICAO.threshold.xml works read-only.
James Turner [Fri, 21 Feb 2014 18:59:13 +0000 (10:59 -0800)]
ICAO.threshold.xml works read-only.

10 years agoICAO.twr.xml works in read-only mode.
James Turner [Fri, 21 Feb 2014 18:11:09 +0000 (10:11 -0800)]
ICAO.twr.xml works in read-only mode.

10 years agoReset: tweak property PRESERVE
James Turner [Tue, 11 Mar 2014 22:43:25 +0000 (22:43 +0000)]
Reset: tweak property PRESERVE

- ensure options are re-processed before restoring PRESERVEd
properties, so that sessions changes survive a reset.

10 years agoFix some Clang warnings.
James Turner [Tue, 11 Mar 2014 16:46:00 +0000 (16:46 +0000)]
Fix some Clang warnings.

10 years agoReset: fix OSG stats handling
James Turner [Tue, 11 Mar 2014 16:45:47 +0000 (16:45 +0000)]
Reset: fix OSG stats handling

10 years agoReset: work with threaded OSG modes
James Turner [Tue, 11 Mar 2014 16:45:31 +0000 (16:45 +0000)]
Reset: work with threaded OSG modes

10 years agohttp property browser: don't crash on invalid nodes
Torsten Dreyer [Mon, 10 Mar 2014 22:40:42 +0000 (23:40 +0100)]
http property browser: don't crash on invalid nodes

Don't expect users to always pass valid node names
or paths

10 years agoallow binding of arguments for fg-commands thru run.cgi
Torsten Dreyer [Mon, 10 Mar 2014 21:58:52 +0000 (22:58 +0100)]
allow binding of arguments for fg-commands thru run.cgi

to run a fg-command with args, POST run.cgi?value=my-command
and post the args node as JSON content like this:
{
   name: '',
   children: [
     {
       name: 'property',
       index: 0,
       value: 'first-value is here'
     },
     {
       name: 'property',
       index: 1,
       value: 'first-value is here'
     }
   ]
}
or whatever arguments the requested command takes

10 years agoFix a crash after reset.
James Turner [Mon, 10 Mar 2014 17:43:15 +0000 (17:43 +0000)]
Fix a crash after reset.

10 years agoSave/restore initial state removed.
James Turner [Mon, 10 Mar 2014 17:29:28 +0000 (17:29 +0000)]
Save/restore initial state removed.

10 years agoFix fg-aircraft, fg-scenery props after reset.
James Turner [Mon, 10 Mar 2014 13:26:58 +0000 (13:26 +0000)]
Fix fg-aircraft, fg-scenery props after reset.

- restore fg-aircraft properties, and PRESERVE fg-scenery ones,
across reset.

10 years agoOoops, forgot to distclean before adding.
James Turner [Mon, 10 Mar 2014 12:29:18 +0000 (12:29 +0000)]
Ooops, forgot to distclean before adding.

Thanks to Jon Stockill for noticing!

10 years agoOld reset code-path is removed.
James Turner [Mon, 10 Mar 2014 12:03:34 +0000 (12:03 +0000)]
Old reset code-path is removed.

10 years agoReset the Autopilot on reposition.
James Turner [Mon, 10 Mar 2014 12:02:10 +0000 (12:02 +0000)]
Reset the Autopilot on reposition.

- previously we restored AP state to initial; let's
actually re-init it after re-position.

10 years agoRevert wiping of /fdm on reposition.
James Turner [Mon, 10 Mar 2014 12:00:51 +0000 (12:00 +0000)]
Revert wiping of /fdm on reposition.

This is too destructive for many established things, so revert it.
Instead, make the FDM shell save /fdm state on postinit(), and
restore it on re-init (which reposition invokes).

10 years agoAdd hts_engine 1.08 and flite_hts 1.05 code.
James Turner [Mon, 10 Mar 2014 09:32:03 +0000 (09:32 +0000)]
Add hts_engine 1.08 and flite_hts 1.05 code.

- Not compiled by default, nor hooked up to anything yet.
- Both libraries licensed under modified BSD license.
- Added top-level CMake file for both, to create a plain static
  library for each.

10 years agoSome fixes for the httpd
Torsten Dreyer [Sat, 8 Mar 2014 13:47:13 +0000 (14:47 +0100)]
Some fixes for the httpd

- Set encoding of the property browser to utf-8
- add the properties index to the json

10 years agoJSON: make the response configurable, set encoding
Torsten Dreyer [Fri, 7 Mar 2014 20:53:51 +0000 (21:53 +0100)]
JSON: make the response configurable, set encoding

add request parameter 'i' and 'd'
if i=y, indent the output to make it human readable
if i is missing or anything else, send the output unformatted to save bandwith

'd' defines recursion depth with a default of 1 to show the requested node
and the immediate childs (if it has any)

call /json/?i=y&d=999 for a complete property tree backup (use with caution!)

Also set the encoding to UTF-8 as required per RFC 4627

10 years agoCanvas.MouseEvent: fix specific modifier states (ctrl, alt,...)
Thomas Geymayer [Fri, 7 Mar 2014 15:14:48 +0000 (16:14 +0100)]
Canvas.MouseEvent: fix specific modifier states (ctrl, alt,...)

10 years agoThrow the reset switch.
James Turner [Fri, 7 Mar 2014 12:40:14 +0000 (12:40 +0000)]
Throw the reset switch.

- fix up CanvasMgr so canvas works after new reset.

10 years agoFix JSBsim trimming on reposition.
James Turner [Thu, 6 Mar 2014 11:20:54 +0000 (11:20 +0000)]
Fix JSBsim trimming on reposition.

- remove the entire /fdm tree on reposition
- force the initial NED wind values to 0.0 in JSBsim,
pending advice from people who know better.

10 years agohttpd: fix ignored port on --httpd=nnnn
Torsten Dreyer [Thu, 6 Mar 2014 20:19:49 +0000 (21:19 +0100)]
httpd: fix ignored port on --httpd=nnnn

also fix unconditional startup of the daemon

10 years agoUse the short xml name for properties in JSON
Torsten Dreyer [Thu, 6 Mar 2014 17:00:11 +0000 (18:00 +0100)]
Use the short xml name for properties in JSON

10 years agoInitial commit for mongoose httpd
Torsten Dreyer [Mon, 3 Mar 2014 20:59:16 +0000 (21:59 +0100)]
Initial commit for mongoose httpd

10 years agoFix starting on carrier.
James Turner [Thu, 6 Mar 2014 09:21:04 +0000 (09:21 +0000)]
Fix starting on carrier.

- scenery intersection needs to check the whole scene since carriers
are outside it. (could possibly be optimised further)

10 years agoUpdate for SGPropertyNode changes.
Thomas Geymayer [Wed, 5 Mar 2014 23:41:41 +0000 (00:41 +0100)]
Update for SGPropertyNode changes.

10 years agoAdded support for shared JSBSim engine and system configurations in fgdata.
Anders Gidenstam [Wed, 5 Mar 2014 21:28:53 +0000 (22:28 +0100)]
Added support for shared JSBSim engine and system configurations in fgdata.

Adds $FG_ROOT/Aircraft/Generic/JSBSim/{Engines,Systems} to the JSBSim
engines and system search paths. Internally JSBSim already searches
$aircraft_dir/Engines and $aircraft_dir/Systems.
A file in $aircraft_dir/{Engines,Systems} have higher priority than one
in the shared directories.

10 years agoRemove reference to 'old ATIS' from reposition.
James Turner [Wed, 5 Mar 2014 15:16:07 +0000 (15:16 +0000)]
Remove reference to 'old ATIS' from reposition.

10 years agoToggle cloud drawing on/off
James Turner [Tue, 4 Mar 2014 17:14:13 +0000 (17:14 +0000)]
Toggle cloud drawing on/off

10 years agoCleanup, no functional change
Torsten Dreyer [Wed, 5 Mar 2014 13:09:40 +0000 (14:09 +0100)]
Cleanup, no functional change

10 years agoNewAtis: handle varying winds
Torsten Dreyer [Wed, 5 Mar 2014 12:52:43 +0000 (13:52 +0100)]
NewAtis: handle varying winds

10 years agoFix for issue #999
Philosopher [Fri, 16 Aug 2013 02:05:16 +0000 (21:05 -0500)]
Fix for issue #999

Introduces delay-sec and release-delay-sec properties. The former is how
long to wait to run the binding(s) after pressing the button, the latter
is how long to wait after releasing the button. interval-sec now
specifies the delay before a repeat event occurs.

10 years agoCanvas.MouseEvent: expose button/modifier state.
Thomas Geymayer [Tue, 4 Mar 2014 17:00:57 +0000 (18:00 +0100)]
Canvas.MouseEvent: expose button/modifier state.

10 years agoTACAN: fix distance calculations and some other problems.
Thomas Geymayer [Sun, 2 Mar 2014 15:52:00 +0000 (16:52 +0100)]
TACAN: fix distance calculations and some other problems.

 - Calculate line of sight distance instead of distance over
   ground
 - Do a nav cache update if carrier_nav.dat.gz timestamp has
   changed
 - Allow comments in carrier_nav.dat.gz
 - "Fix" range calculations (still does not take terrain/weather
   and other influences into account)

10 years agoTACAN improvements.
Thomas Geymayer [Sun, 2 Mar 2014 00:34:04 +0000 (01:34 +0100)]
TACAN improvements.

 - Make search interval for new mobile tacan larger.
 - Continuous update of mobile tacan position.

10 years agoTACAN/mobile navaid cleanup and improvements.
Thomas Geymayer [Sat, 1 Mar 2014 19:18:02 +0000 (20:18 +0100)]
TACAN/mobile navaid cleanup and improvements.

10 years agoATIS: say wind direction as three digits
Torsten Dreyer [Sat, 1 Mar 2014 19:15:52 +0000 (20:15 +0100)]
ATIS: say wind direction as three digits

10 years agoNew ATIS System: Fallback for no-realwx and some fixes
Torsten Dreyer [Sat, 1 Mar 2014 11:44:01 +0000 (12:44 +0100)]
New ATIS System: Fallback for no-realwx and some fixes

Added the fallback for realweather fetch disabled, creating
ATIS from present weather
Fixed some formatting errors, mainly missing spaces
Some code cleanup

10 years agoFix wrong metar assignment in commradio
Torsten Dreyer [Fri, 28 Feb 2014 21:36:29 +0000 (22:36 +0100)]
Fix wrong metar assignment in commradio

10 years agoTACAN: fix receiving mobile TACAN.
Thomas Geymayer [Fri, 28 Feb 2014 19:01:09 +0000 (20:01 +0100)]
TACAN: fix receiving mobile TACAN.

10 years agoFGPUIDialog: fix reading from already free'd memory.
Thomas Geymayer [Fri, 28 Feb 2014 16:34:41 +0000 (17:34 +0100)]
FGPUIDialog: fix reading from already free'd memory.

Calls to updateValues can cause nested calls invalidating
the char* passed as argument, if retrieved from a
SGPropertyNode.
Probably SGPropertyNode should also be modified to return
a std::string instead of a pointer to an internal buffer.

10 years agoA new comm radio and atis implementation
Torsten Dreyer [Wed, 19 Feb 2014 13:24:34 +0000 (14:24 +0100)]
A new comm radio and atis implementation

10 years agoAdd simple breadcrumb navigation to the httpd
Torsten Dreyer [Thu, 27 Feb 2014 21:21:45 +0000 (22:21 +0100)]
Add simple breadcrumb navigation to the httpd

10 years agoAutopilot: fix wrong warning for unknown node
Thomas Geymayer [Wed, 26 Feb 2014 23:20:06 +0000 (00:20 +0100)]
Autopilot: fix wrong warning for unknown node

10 years agoFix standalone terrasync build
James Turner [Tue, 25 Feb 2014 09:15:08 +0000 (09:15 +0000)]
Fix standalone terrasync build

- code from SGTerraSync now lives here. This is not a great approach,
since this tool can only schedule based on position, but no worse than
before.

10 years agoBind the CAVOK flag to metarproperties
Torsten Dreyer [Tue, 25 Feb 2014 08:42:00 +0000 (09:42 +0100)]
Bind the CAVOK flag to metarproperties

10 years agoAutopilot: fix configuration to prevent false warnings.
Thomas Geymayer [Mon, 24 Feb 2014 22:19:50 +0000 (23:19 +0100)]
Autopilot: fix configuration to prevent false warnings.

10 years agoMetar: finalise-position fast if Metar fails
James Turner [Mon, 24 Feb 2014 19:42:52 +0000 (19:42 +0000)]
Metar: finalise-position fast if Metar fails

- when METAR lookup fails (as opposed to timing out), report
this immediately so finalise-position doesn't wait.

10 years agoInitial work on 'reposition' command
James Turner [Mon, 24 Feb 2014 06:10:29 +0000 (22:10 -0800)]
Initial work on 'reposition' command

- use old-style reset as the basis for a lightweight 'reposition' command. This does not restore state, or reset
time management, but does reset the FDM and re-finalize position.

10 years agoRemove all references to an alpha-buffer
James Turner [Sun, 23 Feb 2014 22:28:54 +0000 (14:28 -0800)]
Remove all references to an alpha-buffer

- Current 3D clouds rendering does not use the alpha buffer,
so don't request one at launch, since it consumes valuable GPU memory.

- Remove any references to alpha testing or alpha func in the renderer setup.

10 years agouse an osg::Switch to control scenery rendering
James Turner [Sun, 23 Feb 2014 22:27:14 +0000 (14:27 -0800)]
use an osg::Switch to control scenery rendering

- restores functionality of 'draw-otw' property

- adds new /sim/rendering/draw-mask branch to allow control
over rendering each branch inside FGScenery

10 years agoRemove legacy reference to draw-otw
James Turner [Sun, 23 Feb 2014 22:25:15 +0000 (14:25 -0800)]
Remove legacy reference to draw-otw

10 years agoOptimise NavCache airport query
James Turner [Sun, 23 Feb 2014 22:24:48 +0000 (14:24 -0800)]
Optimise NavCache airport query

- makes initial showing of 'Select Airport' dialog faster

10 years agoAIModels use PagedLOD
James Turner [Sun, 23 Feb 2014 19:51:21 +0000 (11:51 -0800)]
AIModels use PagedLOD

- allows AIModels to be unloaded by the Pager
- move AI models into the 'models' sub-branch of FGScenery

10 years agoFix an (unlikely) startup crash
James Turner [Sat, 15 Feb 2014 18:48:25 +0000 (18:48 +0000)]
Fix an (unlikely) startup crash

Encountered this by accidentally clicking during startup

10 years agoTile-manager can request VBOs.
James Turner [Fri, 21 Feb 2014 16:52:07 +0000 (08:52 -0800)]
Tile-manager can request VBOs.

Monitor /sim/rendering/use-vbos and pass the value into
our SGReaderWriterOptions.

10 years agoRemove pre-OSG 'enable/disable-textures' option.
James Turner [Fri, 21 Feb 2014 15:56:24 +0000 (07:56 -0800)]
Remove pre-OSG 'enable/disable-textures' option.

These have been non-functional for a long time, remove
to avoid further confusion.

10 years agoFix for bug 1304 - crash loading XML route
James Turner [Fri, 21 Feb 2014 15:51:33 +0000 (07:51 -0800)]
Fix for bug 1304 - crash loading XML route

If the XML is malformed (missing <route> section), don't crash.

https://code.google.com/p/flightgear-bugs/issues/detail?id=1304

10 years agopublish the metar date/time to metarproperties
Torsten Dreyer [Fri, 21 Feb 2014 15:23:10 +0000 (16:23 +0100)]
publish the metar date/time to metarproperties

10 years agoTweak tile-manager SGBucket API
James Turner [Wed, 19 Feb 2014 22:02:09 +0000 (14:02 -0800)]
Tweak tile-manager SGBucket API

* FG builds with 'NO_DEPRECATED_API' in SGBucket

10 years agoRe-factor the FPE handling code
James Turner [Wed, 19 Feb 2014 21:53:52 +0000 (13:53 -0800)]
Re-factor the FPE handling code

* make --enable-fpe work on Linux and MSVC
* standardise the code paths for different platforms
* add an argument finding helper to Options

(This is a basic cleanup, contributions from people with
more experience in this area are welcome)

10 years agoRaise required OSG version to 3.2.0
James Turner [Wed, 19 Feb 2014 19:00:14 +0000 (11:00 -0800)]
Raise required OSG version to 3.2.0

10 years agogetprop/setprop allows integer indices.
James Turner [Wed, 19 Feb 2014 04:07:29 +0000 (20:07 -0800)]
getprop/setprop allows integer indices.

As suggested by a long-standing enhancement idea,
extend getprop/setprop to accept multiple args,
including integer arguments. This removes the need
for string concatenation (and hence, allocation)
on the Nasal side.

Patch by Nicholas 'Philosopher' Scheel

10 years agoRemove some CMake search paths
James Turner [Fri, 14 Feb 2014 20:45:03 +0000 (20:45 +0000)]
Remove some CMake search paths

As the comments says, none of these should be needed, or
they are added by CMake automatically.

10 years agoSupport helipad names in the --runway startup option
Christian Schmitt [Fri, 14 Feb 2014 18:25:37 +0000 (19:25 +0100)]
Support helipad names in the --runway startup option
also give better user feedback if runway/helipad ID is unknown

10 years agoUse Cmake to generate app-bundle on Mac
James Turner [Fri, 14 Feb 2014 18:58:36 +0000 (18:58 +0000)]
Use Cmake to generate app-bundle on Mac

- build the .plist using CMake features
- update the nightly Mac packaging script for the new layout

10 years agoRe-apply the Clang/C+11 fix for JSBSim
James Turner [Fri, 14 Feb 2014 17:42:50 +0000 (17:42 +0000)]
Re-apply the Clang/C+11 fix for JSBSim

Hopefully an equivalent change will occur upstream before the next
JSBsim sync.

10 years agoUse new SGBucket API in tile-manager
James Turner [Thu, 13 Feb 2014 18:52:52 +0000 (18:52 +0000)]
Use new SGBucket API in tile-manager

- check for invalid tiles / buckets, which occurs at the poles
- use .sibling() method to offset
- no longer need to store view lat/lon in the manager.

10 years agoAutopilot: add interface properties and property-root.
Thomas Geymayer [Sun, 9 Feb 2014 16:40:19 +0000 (17:40 +0100)]
Autopilot: add interface properties and property-root.

 - Support interface properties as with JSBSim for easy reuse
   and parametrization of autopilot components.
 - Add property-root property to allow changing property root
   for all relative paths. This allows easy use of multiple
   instances of the same autopilot component at the same time
   by specifiying different property root nodes.

10 years agoXMLAutopilot: cleanup and remove code already available in SGSubsystemGroup.
Thomas Geymayer [Sun, 9 Feb 2014 16:21:11 +0000 (17:21 +0100)]
XMLAutopilot: cleanup and remove code already available in SGSubsystemGroup.

10 years agoSet JSBSim terrain handling code default to ON
Erik Hofman [Sun, 9 Feb 2014 13:10:42 +0000 (14:10 +0100)]
Set JSBSim terrain handling code default to ON

10 years agoCanvas: also apply matrix of element to getTransformedBounds.
Thomas Geymayer [Fri, 7 Feb 2014 23:26:22 +0000 (00:26 +0100)]
Canvas: also apply matrix of element to getTransformedBounds.

Part of the fix for #1333.

10 years agofix another crash at the poles
Christian Schmitt [Fri, 7 Feb 2014 22:29:06 +0000 (23:29 +0100)]
fix another crash at the poles

10 years agoSimplify some SGGeod-related calculations
Christian Schmitt [Wed, 5 Feb 2014 22:04:58 +0000 (23:04 +0100)]
Simplify some SGGeod-related calculations

10 years ago[AIModel] Fix a crash when starting at the poles and reduce property reading
Christian Schmitt [Wed, 5 Feb 2014 16:43:07 +0000 (17:43 +0100)]
[AIModel] Fix a crash when starting at the poles and reduce property reading

10 years agoI'm doing battle with git ... this should have already been committed with an
Curtis L. Olson [Wed, 5 Feb 2014 16:15:36 +0000 (10:15 -0600)]
I'm doing battle with git ... this should have already been committed with an
explanatory commit log message.  If not ... sorry ... grrr ... git.

10 years agoAdd an 'overrideRedirect' flag to the window configuration section. For
Curtis L. Olson [Wed, 5 Feb 2014 16:04:18 +0000 (10:04 -0600)]
Add an 'overrideRedirect' flag to the window configuration section.  For
multi-headed Gnome based linux systems, this provides an extra hint that we
really wish to open up our full screen window spanning all physical displays.
This works around a kink in the gnome window manager where it tries to "lie"
to applications about the full screen size assuming most applications don't
wish their windows to span multiple physical displays.

10 years agoTacan: avoid a 'long-range' wgs84_inverse
James Turner [Tue, 4 Feb 2014 14:54:39 +0000 (14:54 +0000)]
Tacan: avoid a 'long-range' wgs84_inverse

- Only check mobile distance at all, if the mobile is valid

10 years agoGPS: fix bad init when far from any airport
James Turner [Tue, 4 Feb 2014 14:53:42 +0000 (14:53 +0000)]
GPS: fix bad init when far from any airport

10 years agoFGCom: change default silence threshold
Clément de l'Hamaide [Tue, 4 Feb 2014 11:18:20 +0000 (12:18 +0100)]
FGCom: change default silence threshold

10 years agoAdd inforbefore.txt providing instructions before installation for Windows
Clement de l'Hamaide [Tue, 4 Feb 2014 01:45:01 +0000 (02:45 +0100)]
Add inforbefore.txt providing instructions before installation for Windows

10 years agoMapWidget: silence compiler warning
Christian Schmitt [Sun, 2 Feb 2014 15:47:25 +0000 (16:47 +0100)]
MapWidget: silence compiler warning

10 years agoSend transponder mode over network
Clément de l'Hamaide [Wed, 29 Jan 2014 20:04:58 +0000 (21:04 +0100)]
Send transponder mode over network

10 years agoFix fgelev linkage on Mac.
James Turner [Wed, 29 Jan 2014 16:39:10 +0000 (16:39 +0000)]
Fix fgelev linkage on Mac.

10 years agoMake the JSBSim terrain handling code compile time configurable by calling cmake...
Erik Hofman [Wed, 29 Jan 2014 12:50:06 +0000 (13:50 +0100)]
Make the JSBSim terrain handling code compile time configurable by calling cmake -DJSBSIM_TERRAIN=1

10 years agoIntegrate the latest terrain handling code
Erik Hofman [Wed, 29 Jan 2014 12:45:19 +0000 (13:45 +0100)]
Integrate the latest terrain handling code

10 years agoFGViewer fixes
James Turner [Wed, 29 Jan 2014 10:10:53 +0000 (10:10 +0000)]
FGViewer fixes
 - ensure active material are cached
 - clear osgDB object cache on exit explicitly

10 years agoExpose SGPath::standardLocation to Nasal.
Thomas Geymayer [Tue, 28 Jan 2014 00:08:06 +0000 (01:08 +0100)]
Expose SGPath::standardLocation to Nasal.

10 years agoCheck for and warn about old nVidia drivers.
James Turner [Mon, 27 Jan 2014 17:27:12 +0000 (17:27 +0000)]
Check for and warn about old nVidia drivers.

(Had a bug report with someone using 189 drivers on Windows!)

10 years agoUpdate image-server logic.
James Turner [Thu, 23 Jan 2014 17:41:24 +0000 (17:41 +0000)]
Update image-server logic.

- no dependency on libJpeg or Simgear
- no duplicate rendering of the scene (uses a draw callback)
- supports other image types, eg PNG
- threaded so doesn't block the main loop ever

10 years agoChange default Windows terrasync path
James Turner [Sun, 26 Jan 2014 16:05:45 +0000 (16:05 +0000)]
Change default Windows terrasync path

Now use (new) SGPath::documents helper to download
to a user-visible location: Document\FlightGear.
(Linux & Mac behaviour is unchanged)

10 years agoFGCom: add silence threshold setting
Clément de l'Hamaide [Sun, 26 Jan 2014 15:38:23 +0000 (16:38 +0100)]
FGCom: add silence threshold setting

Require commit 1396848dcf31d181ab740c8eb728cff02f06fd3d from fgdata

10 years agoFix compilation with SYSTEM_SQLITE, from Markus Wanner
Rebecca Palmer [Fri, 24 Jan 2014 21:20:10 +0000 (21:20 +0000)]
Fix compilation with SYSTEM_SQLITE, from Markus Wanner

Fix error "no known conversion for argument 1 from ‘sqlite3_int64
{aka long long int}’ to ‘PositionedID& {aka long int&}’"
(Both those types are int64, but that evidently isn't enough)

10 years agoReport bad command-line args via message box.
James Turner [Sat, 25 Jan 2014 10:36:00 +0000 (10:36 +0000)]
Report bad command-line args via message box.

This makes the behaviour when FGRun (or other GUI launchers)
send bad options much more explicable. Non Windows/Mac systems
get an SG_ALERT on the console as before.