Torsten Dreyer
19dd46c5b0
ATISEncoder: minor tweak
...
no trailing blank at runway designator
2014-04-23 17:07:00 +02:00
Torsten Dreyer
15525aab58
add atmosphere layer 8 for space exploration
...
as provided by Ron Jensen
2014-04-22 09:20:25 +02:00
Torsten Dreyer
4e89d05fb4
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.
2014-04-20 20:58:12 +02:00
James Turner
b3c7cb7c15
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
2014-04-15 14:13:46 +01:00
James Turner
740b3f35e9
Fix Win32 breakage caused by FreeBSD fix :(
2014-04-05 16:36:26 +01:00
Colin Douglas Howell
ef2898f25c
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.
2014-04-05 11:58:16 +02:00
James Turner
5002814554
FreeBSD fixes
...
From Ganael Laplanche.
2014-04-04 15:33:27 +01:00
James Turner
01dca5e541
Fix link order of HTS / flite for GCC ld
...
- Clang, gold etc don't care but GCC ld still does.
2014-04-04 11:25:12 +01:00
Torsten Dreyer
ec2baa1a41
Merge commit 'refs/merge-requests/1579' of git://gitorious.org/fg/flightgear into yasimfixes
2014-04-04 08:57:16 +02:00
Torsten Dreyer
efc5c32633
Merge commit 'refs/merge-requests/1578' of git://gitorious.org/fg/flightgear into yasimfixes
2014-04-04 08:57:12 +02:00
Torsten Dreyer
5ba36b282f
Merge commit 'refs/merge-requests/1577' of git://gitorious.org/fg/flightgear into yasimfixes
2014-04-04 08:57:05 +02:00
Thomas Geymayer
7f43a09fc5
Canvas: update for new bounding box getters.
2014-03-31 13:29:14 +02:00
Torsten Dreyer
44ba076720
allow binding of httpd to an address, not just a port
...
support --httpd=127.0.0.1:8080
2014-03-29 22:07:12 +01:00
Torsten Dreyer
390f6dd32d
fix wrong computation of delta-t in jpg-httpd
...
this lead to a screenshot taken on each frame instead of
the defined interval
2014-03-29 11:22:34 +01:00
Torsten Dreyer
4be1aba62e
Autopilot: enable debug output for logic elements
2014-03-28 17:48:35 +01:00
Colin Douglas Howell
8cca0adc58
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.
2014-03-27 02:12:11 -07:00
James Turner
ca3cc03fac
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.
2014-03-27 08:05:02 +00:00
James Turner
19528fab8c
Fix duplicated FGIO channels on reset.
...
Thanks to Nicholas Scheel for spotting this.
2014-03-26 19:24:00 +00:00
Torsten Dreyer
75f9d7e66e
add nChildren to json properties
2014-03-26 15:06:24 +01:00
Torsten Dreyer
0dcc8aa34d
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
2014-03-26 08:51:15 +01:00
Torsten Dreyer
f68ae55068
Don't return invalid JSON if node not found
2014-03-25 21:43:08 +01:00
Colin Douglas Howell
aa27b38666
Fix for issue 1423 (YASim miscomputes force vector on Surfaces with nonzero incidence)
...
Surface::calcForce() now does reverse incidence rotation of force vector properly.
2014-03-25 01:50:21 -07:00
Torsten Dreyer
e7dec994b8
httpd: provide more airport information in geojson
...
- provide runways as polygon geometry
- provide longest runway lenght, heading and surface type
- some code cleanup
2014-03-23 21:19:04 +01:00
Torsten Dreyer
2c3d779459
Add virtual destructor
2014-03-23 21:17:54 +01:00
James Turner
9847bf3d13
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
2014-03-23 09:53:00 +00:00
Colin Douglas Howell
8a9ce0ccf7
Fix for issue 1400 (YASim slats always give full stall enhancement)
...
Surface::stallFunc() now scales _slatAlpha by _slatPos when adjusting stallAlpha.
2014-03-22 12:11:39 -07:00
Torsten Dreyer
527eb9d444
httpd navdb: report ils/loc as geojson multilinestring
2014-03-21 13:00:59 +01:00
Thomas Geymayer
58c01b112e
Canvas: update for 'file'->'src' rename
2014-03-20 11:43:12 +01:00
Torsten Dreyer
d59c57717e
Don't allow call with no Filter set. Leads to crash.
2014-03-19 17:24:52 +01:00
Torsten Dreyer
3d33aff7bc
Add a http handler to access the nav database
...
see the browsermap for an example
2014-03-19 17:23:53 +01:00
Thomas Geymayer
f0ef2b9576
Expose HTTP client to Canvas.
2014-03-18 18:35:35 +01:00
Torsten Dreyer
efcc89480d
httpd: don't spam the console with debug messages
2014-03-17 16:38:53 +01:00
Torsten Dreyer
1867ccb4a8
httpd: better handling of first-time notifications
...
ensure new listeners get notified on first update loop
also cleanup the PropertyChangeObserver on reset
2014-03-17 16:22:42 +01:00
James Turner
a42516bcdd
Tweak for Mac nightly GUI launcher
2014-03-17 08:24:28 +00:00
James Turner
070dba29f9
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.
2014-03-16 22:52:55 +00:00
James Turner
2d5d43a57d
Rename GPSsmooth files.
...
- avoid confusion with GPS instrument files.
2014-03-16 22:35:00 +00:00
James Turner
af451fb138
Fix mac nightly build
...
- Ruby 1.8 (on Lion) needs explicit include of Rubygems
2014-03-16 17:00:32 +00:00
James Turner
849c6ccc6e
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
2014-03-16 16:20:03 +00:00
Thomas Geymayer
764fbd519c
CanvasWidget (PUI): make button index consistent with Canvas windows
2014-03-15 15:01:09 +01:00
Torsten Dreyer
a830708252
PropertyChangeWebsocket: fire change after subscribe
2014-03-14 21:36:29 +01:00
Torsten Dreyer
95d4c5898d
httpd: handle url-rewrites
2014-03-14 16:39:16 +01:00
Torsten Dreyer
75933d3e1e
add min/max freq to the frequencyformatter
2014-03-14 15:19:23 +01:00
James Turner
5465895278
Mac nightly build packaging tweaks.
2014-03-14 09:00:50 +00:00
James Turner
7041ed9078
Fix compilation with SYSTEM_SQLITE
2014-03-13 18:19:13 +00:00
James Turner
487546c848
Fix some leaks on reset
...
- tilecache 'clear_cache' is poorly named, ensure the destructor
really deletes all outstanding entries.
2014-03-13 18:19:13 +00:00
Torsten Dreyer
aaa7fca621
NasalSys: arg is never null
2014-03-12 22:42:51 +01:00
Torsten Dreyer
7132947d16
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
2014-03-12 22:39:37 +01:00
Torsten Dreyer
275d2dc7fa
Partial fix #1408
2014-03-12 21:21:56 +01:00
James Turner
c7f2992904
Add 'set-scenery-paths' command.
2014-03-12 18:56:19 +00:00
James Turner
56ca1fe93b
Don't rebuild navcache for scenery changes
...
- Cache can drop all ground-nets.
2014-03-12 18:56:18 +00:00