]>
git.mxchange.org Git - flightgear.git/log
Torsten Dreyer [Tue, 6 May 2014 08:33:50 +0000 (10:33 +0200)]
Add GPL header
Torsten Dreyer [Tue, 6 May 2014 08:23:04 +0000 (10:23 +0200)]
Changes to voice + atis
- Add a very simple line-of-sight propagation model for the radio
range computation.
- Remove some no longer used debug log messages
- Some code cleanup
- add-noise is now on by default
Torsten Dreyer [Mon, 5 May 2014 20:24:47 +0000 (22:24 +0200)]
Fix a warning, no functional change
Torsten Dreyer [Mon, 5 May 2014 11:22:39 +0000 (13:22 +0200)]
commradio: typo: cuttoff --> cutoff
Torsten Dreyer [Mon, 5 May 2014 11:20:03 +0000 (13:20 +0200)]
commradio: add squelch
adding property cuttoff-signal-quality to the comm radio
If signal-quality goes below this value, atis sound is muted.
Also: initialize property power-btn if not defined by the
aircraft or instrument designer
Clément de l'Hamaide [Fri, 2 May 2014 18:31:52 +0000 (20:31 +0200)]
fgadmin: add C string header
Clément de l'Hamaide [Wed, 30 Apr 2014 18:34:05 +0000 (20:34 +0200)]
FGadmin: fix compilation, move CMake stuff to better place, remove old ./configure system
Torsten Dreyer [Wed, 30 Apr 2014 14:41:27 +0000 (16:41 +0200)]
JSBSim: fix zero agl above scenery discontinuity
see http://osdir.com/ml/flightgear-sim/2014-04/msg00145.html
Torsten Dreyer [Wed, 30 Apr 2014 14:27:25 +0000 (16:27 +0200)]
fix MSVC build for flite_hts_engine
Torsten Dreyer [Wed, 30 Apr 2014 08:50:57 +0000 (10:50 +0200)]
commradio: no spoken atis if sound disabled
Torsten Dreyer [Wed, 30 Apr 2014 08:45:52 +0000 (10:45 +0200)]
Cleanup part2. Forgotton file.
Torsten Dreyer [Wed, 30 Apr 2014 08:22:51 +0000 (10:22 +0200)]
Cleanup of ATCDCL
- move FGATCAlignedProjection class as AlignedProjection
to dclgps, the only place where it's currently used
- remove now obsolete files in ATCDCL
Torsten Dreyer [Wed, 30 Apr 2014 07:26:58 +0000 (09:26 +0200)]
Fix hts_engine cmake error
Torsten Dreyer [Mon, 28 Apr 2014 21:50:45 +0000 (23:50 +0200)]
commradio: improvements for atis speech
- use individual SampleGroup refnames for each radio
- enable volume control for atis speech
- (optionally) add noise based on signal quality
Torsten Dreyer [Mon, 28 Apr 2014 20:02:48 +0000 (22:02 +0200)]
commradio: refactor MetarSpeaker to AtisSpeaker
Torsten Dreyer [Mon, 28 Apr 2014 19:33:48 +0000 (21:33 +0200)]
Allow using the system version of flite and the HTS engine
By default, if the system version exists and can be used,
then it will be used. Otherwise, the local version will be used
Original patch by Saikrishna Arcot via
https://gitorious.org/fg/flightgear/merge_requests/1582
slightly modified
Torsten Dreyer [Sun, 27 Apr 2014 20:53:59 +0000 (22:53 +0200)]
VoiceSynthesizer: add some test/debug properties
/sim/sound/voice-synthesizer/volume to set the volume of the generated wav (in dB)
/sim/sound/voice-synthesizer/keep-scratch-file do not remove the scratch file if true
Torsten Dreyer [Sun, 27 Apr 2014 19:38:24 +0000 (21:38 +0200)]
Temporary fix for crash in FGVoiceMgr on reset
Torsten Dreyer [Thu, 24 Apr 2014 18:59:08 +0000 (20:59 +0200)]
use flite+hts for metar
Torsten Dreyer [Wed, 23 Apr 2014 15:09:00 +0000 (17:09 +0200)]
voice system: all doors in FLITE
Prepare for festival lite generated voices
Torsten Dreyer [Wed, 23 Apr 2014 15:07:00 +0000 (17:07 +0200)]
ATISEncoder: minor tweak
no trailing blank at runway designator
Torsten Dreyer [Tue, 22 Apr 2014 07:20:25 +0000 (09:20 +0200)]
add atmosphere layer 8 for space exploration
as provided by Ron Jensen
Torsten Dreyer [Sun, 20 Apr 2014 18:58:12 +0000 (20:58 +0200)]
YASim: implement a versioning system
user attribute "version" of the airplane element of the YASim config file
to define the version this config uses.
Example:
<airplane mass="1344" version="YASIM_VERSION_CURRENT">
Initially, the following can be used:
YASIM_VERSION_ORIGINAL - The original version of YASim as implemented up to
FlightGear 3.0.0
YASIM_VERSION_32 - The version of YASim implemented in FlightGear 3.2.x
(and the development version 3.1.x)
YASIM_VERSION_CURRENT - The current and latest version of YASim.
James Turner [Tue, 15 Apr 2014 13:13:46 +0000 (14:13 +0100)]
Fix crash with Nasal bindings.
naBindFunction doesn't save the function code to the global
hash, so pass an explicit context to various 'call' overloads so
the function can't be GC-ed in between parsing and calling.
(Patch by Nicholas Scheel)
https://code.google.com/p/flightgear-bugs/issues/detail?id=1397
James Turner [Sat, 5 Apr 2014 15:36:26 +0000 (16:36 +0100)]
Fix Win32 breakage caused by FreeBSD fix :(
Colin Douglas Howell [Sat, 5 Apr 2014 06:05:23 +0000 (23:05 -0700)]
Corrected fix for issue 1423 (YASim miscomputes incidence rotation of force vector)
I got the sign wrong in my previous fix, causing the vector to be rotated the
wrong way. See my latest comments in issue 1423. Sorry about that.
James Turner [Fri, 4 Apr 2014 14:33:27 +0000 (15:33 +0100)]
FreeBSD fixes
From Ganael Laplanche.
James Turner [Fri, 4 Apr 2014 10:25:12 +0000 (11:25 +0100)]
Fix link order of HTS / flite for GCC ld
- Clang, gold etc don't care but GCC ld still does.
Torsten Dreyer [Fri, 4 Apr 2014 06:57:16 +0000 (08:57 +0200)]
Merge commit 'refs/merge-requests/1579' of git://gitorious.org/fg/flightgear into yasimfixes
Torsten Dreyer [Fri, 4 Apr 2014 06:57:12 +0000 (08:57 +0200)]
Merge commit 'refs/merge-requests/1578' of git://gitorious.org/fg/flightgear into yasimfixes
Torsten Dreyer [Fri, 4 Apr 2014 06:57:05 +0000 (08:57 +0200)]
Merge commit 'refs/merge-requests/1577' of git://gitorious.org/fg/flightgear into yasimfixes
Thomas Geymayer [Mon, 31 Mar 2014 11:29:14 +0000 (13:29 +0200)]
Canvas: update for new bounding box getters.
Torsten Dreyer [Sat, 29 Mar 2014 21:07:12 +0000 (22:07 +0100)]
allow binding of httpd to an address, not just a port
support --httpd=127.0.0.1:8080
Torsten Dreyer [Sat, 29 Mar 2014 10:22:34 +0000 (11:22 +0100)]
fix wrong computation of delta-t in jpg-httpd
this lead to a screenshot taken on each frame instead of
the defined interval
Torsten Dreyer [Fri, 28 Mar 2014 16:48:35 +0000 (17:48 +0100)]
Autopilot: enable debug output for logic elements
Colin Douglas Howell [Thu, 27 Mar 2014 09:12:11 +0000 (02:12 -0700)]
Fix for issue 1427 (YASim fuselage's "cx" affects drag on all axes)
Correct Airplane::compileFuselage() so that a Fuselage's "cx"
only affects drag on the X axis.
James Turner [Thu, 27 Mar 2014 08:05:02 +0000 (08:05 +0000)]
Ignore not-found 'config file' arguments.
Fixes confusing startup behaviour with malformed args, when
an argument accidentally contains a space (e.g. a park-pos or
protocol desc). In this case we treat the parts after the space as an XML config file name. When we can't find this file, we
completely abandon options setup, which causes many downstream
errors.
Change the behaviour so we warn in this case, but carry on with normal startup.
James Turner [Wed, 26 Mar 2014 19:23:34 +0000 (19:23 +0000)]
Fix duplicated FGIO channels on reset.
Thanks to Nicholas Scheel for spotting this.
Torsten Dreyer [Wed, 26 Mar 2014 14:06:24 +0000 (15:06 +0100)]
add nChildren to json properties
Torsten Dreyer [Wed, 26 Mar 2014 07:51:15 +0000 (08:51 +0100)]
Add a timestamp to JSON properties
add special attribute 'ts' to a JSON property reflecting
/sim/time/elapsed-sec
always add timestamp for listener properties
add timestamp for json requests if req param t=y is set
Torsten Dreyer [Tue, 25 Mar 2014 20:43:08 +0000 (21:43 +0100)]
Don't return invalid JSON if node not found
Colin Douglas Howell [Tue, 25 Mar 2014 08:50:21 +0000 (01:50 -0700)]
Fix for issue 1423 (YASim miscomputes force vector on Surfaces with nonzero incidence)
Surface::calcForce() now does reverse incidence rotation of force vector properly.
Torsten Dreyer [Sun, 23 Mar 2014 20:19:04 +0000 (21:19 +0100)]
httpd: provide more airport information in geojson
- provide runways as polygon geometry
- provide longest runway lenght, heading and surface type
- some code cleanup
Torsten Dreyer [Sun, 23 Mar 2014 20:17:54 +0000 (21:17 +0100)]
Add virtual destructor
James Turner [Sun, 23 Mar 2014 09:53:00 +0000 (09:53 +0000)]
Fix for bug 1419, nav.dat runway binding
Clean runway names to standard structure (0-prefix) before looking up
in the cache, when binding ILS navs to runways.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1419
Colin Douglas Howell [Sat, 22 Mar 2014 19:11:39 +0000 (12:11 -0700)]
Fix for issue 1400 (YASim slats always give full stall enhancement)
Surface::stallFunc() now scales _slatAlpha by _slatPos when adjusting stallAlpha.
Torsten Dreyer [Fri, 21 Mar 2014 12:00:59 +0000 (13:00 +0100)]
httpd navdb: report ils/loc as geojson multilinestring
Thomas Geymayer [Thu, 20 Mar 2014 10:43:12 +0000 (11:43 +0100)]
Canvas: update for 'file'->'src' rename
Torsten Dreyer [Wed, 19 Mar 2014 16:24:52 +0000 (17:24 +0100)]
Don't allow call with no Filter set. Leads to crash.
Torsten Dreyer [Wed, 19 Mar 2014 16:23:53 +0000 (17:23 +0100)]
Add a http handler to access the nav database
see the browsermap for an example
Thomas Geymayer [Tue, 18 Mar 2014 17:35:35 +0000 (18:35 +0100)]
Expose HTTP client to Canvas.
Torsten Dreyer [Mon, 17 Mar 2014 15:38:53 +0000 (16:38 +0100)]
httpd: don't spam the console with debug messages
Torsten Dreyer [Mon, 17 Mar 2014 15:22:42 +0000 (16:22 +0100)]
httpd: better handling of first-time notifications
ensure new listeners get notified on first update loop
also cleanup the PropertyChangeObserver on reset
James Turner [Mon, 17 Mar 2014 08:24:28 +0000 (08:24 +0000)]
Tweak for Mac nightly GUI launcher
James Turner [Sun, 16 Mar 2014 22:52:55 +0000 (22:52 +0000)]
Close dialogs on GUI shutdown
- avoids orphaned dialogs on reset
- requires some guards in NasalSys since Nasal is shutdown first, but
dialogs can have Nasal modules.
James Turner [Sun, 16 Mar 2014 22:35:00 +0000 (22:35 +0000)]
Rename GPSsmooth files.
- avoid confusion with GPS instrument files.
James Turner [Sun, 16 Mar 2014 17:00:32 +0000 (17:00 +0000)]
Fix mac nightly build
- Ruby 1.8 (on Lion) needs explicit include of Rubygems
James Turner [Sun, 16 Mar 2014 16:20:03 +0000 (16:20 +0000)]
GPS fixes
- fix corrupted ident on Mac (libc++ issue)
- don't clear scratch when activating DTO mode
- use the real navaid/airport for the waypt where possible
- expose active waypt name
Thomas Geymayer [Sat, 15 Mar 2014 14:01:09 +0000 (15:01 +0100)]
CanvasWidget (PUI): make button index consistent with Canvas windows
Torsten Dreyer [Fri, 14 Mar 2014 20:36:29 +0000 (21:36 +0100)]
PropertyChangeWebsocket: fire change after subscribe
Torsten Dreyer [Fri, 14 Mar 2014 15:39:16 +0000 (16:39 +0100)]
httpd: handle url-rewrites
Torsten Dreyer [Fri, 14 Mar 2014 14:19:23 +0000 (15:19 +0100)]
add min/max freq to the frequencyformatter
James Turner [Fri, 14 Mar 2014 09:00:50 +0000 (09:00 +0000)]
Mac nightly build packaging tweaks.
James Turner [Thu, 13 Mar 2014 18:18:36 +0000 (18:18 +0000)]
Fix compilation with SYSTEM_SQLITE
James Turner [Thu, 13 Mar 2014 18:18:23 +0000 (18:18 +0000)]
Fix some leaks on reset
- tilecache 'clear_cache' is poorly named, ensure the destructor
really deletes all outstanding entries.
Torsten Dreyer [Wed, 12 Mar 2014 21:42:51 +0000 (22:42 +0100)]
NasalSys: arg is never null
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
Torsten Dreyer [Wed, 12 Mar 2014 20:21:56 +0000 (21:21 +0100)]
Partial fix #1408
James Turner [Sat, 22 Feb 2014 16:13:36 +0000 (08:13 -0800)]
Add 'set-scenery-paths' command.
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.
James Turner [Fri, 21 Feb 2014 20:56:03 +0000 (12:56 -0800)]
ICAO.ils.xml data works read-only.
James Turner [Fri, 21 Feb 2014 18:59:13 +0000 (10:59 -0800)]
ICAO.threshold.xml works read-only.
James Turner [Fri, 21 Feb 2014 18:11:09 +0000 (10:11 -0800)]
ICAO.twr.xml works in read-only mode.
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.
James Turner [Tue, 11 Mar 2014 16:46:00 +0000 (16:46 +0000)]
Fix some Clang warnings.
James Turner [Tue, 11 Mar 2014 16:45:47 +0000 (16:45 +0000)]
Reset: fix OSG stats handling
James Turner [Tue, 11 Mar 2014 16:45:31 +0000 (16:45 +0000)]
Reset: work with threaded OSG modes
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
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
James Turner [Mon, 10 Mar 2014 17:43:15 +0000 (17:43 +0000)]
Fix a crash after reset.
James Turner [Mon, 10 Mar 2014 17:29:28 +0000 (17:29 +0000)]
Save/restore initial state removed.
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.
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!
James Turner [Mon, 10 Mar 2014 12:03:34 +0000 (12:03 +0000)]
Old reset code-path is removed.
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.
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).
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.
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
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
Thomas Geymayer [Fri, 7 Mar 2014 15:14:48 +0000 (16:14 +0100)]
Canvas.MouseEvent: fix specific modifier states (ctrl, alt,...)
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.
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.
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
Torsten Dreyer [Thu, 6 Mar 2014 17:00:11 +0000 (18:00 +0100)]
Use the short xml name for properties in JSON
Torsten Dreyer [Mon, 3 Mar 2014 20:59:16 +0000 (21:59 +0100)]
Initial commit for mongoose httpd
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)
Thomas Geymayer [Wed, 5 Mar 2014 23:41:41 +0000 (00:41 +0100)]
Update for SGPropertyNode changes.
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.
James Turner [Wed, 5 Mar 2014 15:16:07 +0000 (15:16 +0000)]
Remove reference to 'old ATIS' from reposition.
James Turner [Tue, 4 Mar 2014 17:14:13 +0000 (17:14 +0000)]
Toggle cloud drawing on/off