]>
git.mxchange.org Git - flightgear.git/log
Torsten Dreyer [Mon, 9 Mar 2015 11:24:36 +0000 (12:24 +0100)]
Live weather: ensure valid flag is set correctly
James Turner [Sun, 8 Mar 2015 09:41:27 +0000 (09:41 +0000)]
One more log item for the tile-cache.
James Turner [Sun, 8 Mar 2015 09:40:44 +0000 (09:40 +0000)]
Fix non-Qt build.
James Turner [Sun, 8 Mar 2015 00:40:22 +0000 (00:40 +0000)]
GUI ‘restore defaults’ support.
- Hold ‘alt’ on launch to restore defaults, including launcher prefs.
James Turner [Sat, 7 Mar 2015 23:52:03 +0000 (23:52 +0000)]
Add missing GPL boilerplate.
James Turner [Fri, 6 Mar 2015 19:20:54 +0000 (19:20 +0000)]
Cmake always generates version.h
- simplify some code as a result
James Turner [Fri, 6 Mar 2015 19:17:38 +0000 (19:17 +0000)]
Remove obsolete nightly build script.
- script in FGMeta is used instead, now.
James Turner [Fri, 6 Mar 2015 18:52:06 +0000 (18:52 +0000)]
Very crude work on GUI base package selection.
- feedback on wording greatly appreciated.
- needed to make nightly builds usable without bundled data.
James Turner [Thu, 5 Mar 2015 17:39:37 +0000 (17:39 +0000)]
Launch aircraft data cache
- makes successive aircraft scans much faster since -set.xml parsing
can be skipped when the file is unmodified.
James Turner [Thu, 5 Mar 2015 15:53:40 +0000 (15:53 +0000)]
Arrow icons for variant selection.
James Turner [Thu, 5 Mar 2015 14:51:33 +0000 (14:51 +0000)]
Fix some off-by-one errors in variants GUI
James Turner [Thu, 19 Feb 2015 23:59:25 +0000 (23:59 +0000)]
Launcher support for aircraft variants.
- Allows for a less confusing UX when aircraft has several variants.
- Requires changes to aircraft -set.xml files.
Torsten Dreyer [Tue, 3 Mar 2015 16:10:16 +0000 (17:10 +0100)]
Use the pagedPathForHistory in the FlightHistoryUriHandler
Torsten Dreyer [Tue, 3 Mar 2015 16:08:20 +0000 (17:08 +0100)]
FlightHistory: add pagedPathForHistory
pathForHistory() halts the sim for a few seconds when called on long flights.
pagePathForHistory allows to retrieve the complete history in chunks
Torsten Dreyer [Mon, 2 Mar 2015 19:39:23 +0000 (20:39 +0100)]
httpd: fix misplaced warning message
Torsten Dreyer [Fri, 27 Feb 2015 14:54:28 +0000 (15:54 +0100)]
wrap the json flight history as a feature
this allows to attach properties later
James Turner [Thu, 26 Feb 2015 23:29:35 +0000 (23:29 +0000)]
Fix a couple more Qt version issues.
- only set the clearButton on QLineEdit if we have 5.2
- use itemData/currentIndex to avoid currentData()
Torsten Dreyer [Fri, 27 Feb 2015 10:07:25 +0000 (11:07 +0100)]
JsonUriHandler: allow POST updates without child
updates to properties used to be
POST /json/some/property/path
{
name: 'somechild',
value: 'somevalue'
}
which required some ugly path hacking when directly updating a node.
now, this works too (and in a probably more intuitive way)
POST /json/some/property/path/somechild
{
value: 'somevalue'
}
Torsten Dreyer [Thu, 26 Feb 2015 17:14:09 +0000 (18:14 +0100)]
HTML Property Browser: use radiobuttons for bools
James Turner [Wed, 25 Feb 2015 23:53:49 +0000 (23:53 +0000)]
Fix Linux compilation.
- <memory> needed for auto_ptr
James Turner [Wed, 25 Feb 2015 23:14:02 +0000 (23:14 +0000)]
Set placeholderText from code
Avoids a hard requirement of Qt 5.3; only 5.1 is
needed.
James Turner [Wed, 25 Feb 2015 22:58:56 +0000 (22:58 +0000)]
Fix cleanup of RouteDataPrivate
Torsten Dreyer [Wed, 25 Feb 2015 09:38:22 +0000 (10:38 +0100)]
flighthistory service: use GeoJSON instead of own invention
Track now comes as a LineString object
{
"type":"LineString",
"coordinates": [ [lon,lat,alt], [lon,lat,alt], ... ]
}
ref: http://geojson.org/geojson-spec.html#linestring
James Turner [Tue, 24 Feb 2015 12:35:26 +0000 (12:35 +0000)]
Fix where we set OS-X deployment target.
James Turner [Thu, 19 Feb 2015 23:58:40 +0000 (23:58 +0000)]
Guard against a crash Torsten encountered once.
Torsten Dreyer [Mon, 23 Feb 2015 15:33:20 +0000 (16:33 +0100)]
Expose FlightHistory as a http service
usage:
GET http://localhost:8080/flighthistory/track.json
retrieves track as JSON data
{
flightHistory: [
{
latitude: (number),
longitude: (number),
altitude: (number)
}
]
}
GET http://localhost:8080/flighthistory/track.kml
retrieves track as KML path
optional request parameter:
LineColor=(hex encoded rgba color)
LineWidth=(line width in pixel)
PolyColor=(hex encoded rgba color)
interval=(number of seconds to auto-refresh)
Torsten Dreyer [Mon, 23 Feb 2015 15:31:49 +0000 (16:31 +0100)]
FlightHistory: make clear() public
James Turner [Mon, 23 Feb 2015 13:41:30 +0000 (13:41 +0000)]
Qt launcher: additional arguments UI
Add a plain text edit widget to the launcher to support
custom command line arguments.
James Turner [Sun, 25 Jan 2015 11:29:19 +0000 (11:29 +0000)]
FlightPlan activation, delegate hook.
Stuart Buchanan [Sun, 22 Feb 2015 21:37:18 +0000 (21:37 +0000)]
stgmerge enhancements
Various stgmerge enhancements to make it functional:
- Now runs against an entire tile directory, reading each stg file
- optionally optimizes the mesh (untested)
- outputs to a second directory
- control over the size of merged meshes
Torsten Dreyer [Sun, 22 Feb 2015 20:25:08 +0000 (21:25 +0100)]
Merge commit 'refs/merge-requests/1591' of https://gitorious.org/fg/flightgear into merge-requests/1591
Torsten Dreyer [Tue, 17 Feb 2015 11:41:18 +0000 (12:41 +0100)]
package system: de-hardcode default catalog id and url
make default catalog id and url configurable through properties
on startup. Provide defaults to preserve current functionality.
/sim/package-system/default-catalog/id
/sim/package-system/default-catalog/url
Torsten Dreyer [Tue, 17 Feb 2015 11:09:22 +0000 (12:09 +0100)]
Ooops...
Torsten Dreyer [Mon, 16 Feb 2015 21:58:17 +0000 (22:58 +0100)]
Initial work for a PKG http service
bcoconni [Sun, 15 Feb 2015 10:37:13 +0000 (11:37 +0100)]
JSBSim syncing. The changelog is:
* The Pitot angle can now be tweaked with the <pitot_angle> tag in the <metrics> block.
* The refuel rate is now configurable with the <refuel-rate> tag in the <propulsion> block.
* Fixed C++11 compliance. JSBSim can now be compiled with a C++11 compiler.
* Avoid a spurious mass report to be issued when resetting.
* Fixed the moments computation. Previously they were computed with the previous time step CG position.
* Fixed a bug where the CG update was delayed to the next time step when point masses location were modified via the FCS.
Torsten Dreyer [Fri, 13 Feb 2015 10:42:45 +0000 (11:42 +0100)]
PropertyBrowser: Add a JSON link and the path
portree_kid [Thu, 12 Feb 2015 21:09:45 +0000 (22:09 +0100)]
Code to stop loading of invalid flightplans
Rebecca N. Palmer [Thu, 12 Feb 2015 16:39:28 +0000 (16:39 +0000)]
Clear GroundLightManager on exit to avoid segfault
While mostly harmless since you're exiting anyway, it's an annoying
distraction when the real problem is "unexpected exit" (e.g.
https://bugs.debian.org/763285 ), and blocks testing with LeakSanitizer
James Turner [Thu, 12 Feb 2015 16:24:27 +0000 (16:24 +0000)]
Adjust warning flags for Clang.
James Turner [Thu, 12 Feb 2015 11:43:37 +0000 (11:43 +0000)]
Updates for v2 code-signing
- Assume modified OSG plugin naming scheme, requires patched OSG
from our Git, with .dylib suffix and no version number in the dir
name.
- deeply sign the entire bundle, once it’s complete
James Turner [Wed, 11 Feb 2015 16:44:05 +0000 (16:44 +0000)]
Fix encoding / C++11 compliance
- convert text encoding to UTF-8
- C++11 requires a space between literal and identifier
James Turner [Wed, 11 Feb 2015 15:48:33 +0000 (15:48 +0000)]
Force libc++ explicitly on Clang
Torsten Dreyer [Wed, 11 Feb 2015 10:34:16 +0000 (11:34 +0100)]
httpd/json: send as correct typ for bools and numbers
Torsten Dreyer [Wed, 11 Feb 2015 07:33:45 +0000 (08:33 +0100)]
Add formatted KDI572/574 properties
Syd Adams:
I've added an update to dme.cxx /dme.hxx.
It adds a formatted KDI572-574/nm , min and kt string properties meant
for text animations for these instruments.Existing instruments will funtion
as usual, no breaks. The purpose here is to eliminate yet another nasal
workaround which usually needs to repeat some of what the code already does.
The 3 properties are empty when the dme is off (no need to check for power),
dashes when powered up but no source , out of range ,etc.
The are formatted to the KDI-572/573/574 limits ...
0-99.9/100-389 for distance to station,
0-99 minutes for time to station,
groundspeed 0-999 kt.
James Turner [Tue, 10 Feb 2015 17:12:01 +0000 (17:12 +0000)]
Better CMake policy detection
- thanks to Rebecca Palmer for suggesting this!
James Turner [Mon, 9 Feb 2015 16:42:58 +0000 (16:42 +0000)]
Cmake policies conditional on Cmake version.
James Turner [Mon, 9 Feb 2015 15:11:28 +0000 (15:11 +0000)]
Force 10.7 deployment version on Mac.
Torsten Dreyer [Wed, 4 Feb 2015 11:44:20 +0000 (12:44 +0100)]
JSBSim: populate fuel tank cg
Rebecca N. Palmer [Sun, 18 Jan 2015 22:23:49 +0000 (22:23 +0000)]
Fix typo, thanks to Markus Wanner
Rebecca N. Palmer [Sun, 18 Jan 2015 22:23:21 +0000 (22:23 +0000)]
Fix hang in Nasal->C++->Nasal calls
https://bugs.debian.org/750939
http://sourceforge.net/p/flightgear/mailman/message/
32969200 /
Stuart Buchanan [Sun, 18 Jan 2015 20:10:05 +0000 (20:10 +0000)]
Initial checkin of stgmerge
Stuart Buchanan [Sun, 18 Jan 2015 19:49:14 +0000 (19:49 +0000)]
Clean up some trivial warnings
Torsten Dreyer [Sat, 17 Jan 2015 18:33:07 +0000 (19:33 +0100)]
Bump version to 3.5.0
FlightGear Flight Simulator [Sat, 17 Jan 2015 18:27:03 +0000 (19:27 +0100)]
Bump version number to 3.4.0
bcoconni [Sat, 17 Jan 2015 13:58:48 +0000 (14:58 +0100)]
Fixed a bug that made FG crash when repositionning the aircraft or resetting the simulation. Thanks to Rebecca Palmer for the bug report and the bug patch.
James Turner [Wed, 14 Jan 2015 22:14:12 +0000 (22:14 +0000)]
route-path: separate turn entry and exit parts.
Fixes appearance of runway legs with off-centerline previous
and next points, since we can generate different curves for each
end of the runway.
Torsten Dreyer [Mon, 12 Jan 2015 15:46:24 +0000 (16:46 +0100)]
Fix wrong ATIS for negative temperatures
James Turner [Sun, 11 Jan 2015 13:15:24 +0000 (13:15 +0000)]
Route path turn helpers.
Make the code more readable with some named helper functions.
James Turner [Sat, 10 Jan 2015 19:35:50 +0000 (19:35 +0000)]
Remove a warning, let Nasal itself warn if needed.
James Turner [Sat, 10 Jan 2015 19:35:34 +0000 (19:35 +0000)]
Fix broken angular conversion in RNAV runway controller.
James Turner [Sat, 10 Jan 2015 19:35:11 +0000 (19:35 +0000)]
RNAV: use runway departure end for previous wpt.
Should fix leg computation following a runway waypt.
James Turner [Sat, 10 Jan 2015 17:56:49 +0000 (17:56 +0000)]
Fix GPS intercept controller:
- handle bad intersection geometry gracefully (end controller)
- fix termination condition
- always use target track to compute position.
James Turner [Sat, 10 Jan 2015 17:54:48 +0000 (17:54 +0000)]
Fix spelling mistake.
James Turner [Sat, 10 Jan 2015 14:57:59 +0000 (14:57 +0000)]
Launcher: select season.
James Turner [Sat, 10 Jan 2015 14:18:44 +0000 (14:18 +0000)]
Ask before creating the custom aircraft dir.
James Turner [Sat, 10 Jan 2015 14:18:32 +0000 (14:18 +0000)]
Restore aircraft-manager location back to FG_HOME
James Turner [Sat, 10 Jan 2015 14:05:23 +0000 (14:05 +0000)]
- Make Qt check guarded by a CMake option
- Only init QApplication if showing the launcher.
James Turner [Thu, 8 Jan 2015 19:46:04 +0000 (19:46 +0000)]
Route-path bug fixes.
- explicit aircraft performance categories for turn radius
- allow overflight leg course behaviour to be selected
James Turner [Wed, 7 Jan 2015 11:30:44 +0000 (11:30 +0000)]
Launcher: hook up MSAA checkbox.
James Turner [Wed, 7 Jan 2015 09:38:02 +0000 (09:38 +0000)]
Only set AUTOMOC for fglauncher target.
(Avoids pointless noise for all other targets)
James Turner [Wed, 7 Jan 2015 09:19:04 +0000 (09:19 +0000)]
Fix native menubar in Mac builds with Qt
- where we don’t use the launcher, we must pass tell OSG we
want to pose as standalone when setting the window traits.
James Turner [Tue, 6 Jan 2015 21:59:06 +0000 (21:59 +0000)]
Mac nightly can use new launcher.
James Turner [Tue, 6 Jan 2015 21:12:19 +0000 (21:12 +0000)]
Hook up parking position in launcher.
James Turner [Tue, 6 Jan 2015 20:36:05 +0000 (20:36 +0000)]
Linux fixes for launcher code.
James Turner [Fri, 26 Dec 2014 12:20:51 +0000 (15:20 +0300)]
In-app launcher for Mac, based on Qt5.
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
James Turner [Sun, 4 Jan 2015 17:50:10 +0000 (17:50 +0000)]
Guard against saved bad terrasync path.
- warn when the terrasync path is not writeable, with a message box.
James Turner [Sat, 3 Jan 2015 00:29:07 +0000 (00:29 +0000)]
Fix turn entry path position computation.
James Turner [Fri, 2 Jan 2015 23:58:29 +0000 (23:58 +0000)]
Waypoint controller fixes
- use a low pass filter on FPM value for ConstHdgToAlt
- better position calculation for DME/radial/VOR intercepts
James Turner [Fri, 2 Jan 2015 09:47:54 +0000 (09:47 +0000)]
Fix two route path issues found by Hyde
- course computation from a runway was wrong (used threshold pos)
- negative distance along path was using wrong distance to offset
Clément de l'Hamaide [Tue, 30 Dec 2014 16:19:19 +0000 (17:19 +0100)]
Revert "Altimeter: fix output format for hPa/InHg settings"
Replaced by some line of Nasal, that way we don't touch the internal precision of the altimeter
This reverts commit
84a26de9ae9ade8629dee53cac8b9357f0930690 .
Clément de l'Hamaide [Tue, 30 Dec 2014 15:04:33 +0000 (16:04 +0100)]
Altimeter: fix output format for hPa/InHg settings
Usually, in a real cockpit, altimeter shows hPa setting as an integer number and InHg setting is limited to 2 decimals
In aviation we don't need higher numeric precision
James Turner [Thu, 25 Dec 2014 18:52:54 +0000 (21:52 +0300)]
Partial fix for runway leg courses.
Don’t assume runway leg course matches the runway heading.
Full fix means generating separate entry/exit turns for runways.
James Turner [Thu, 25 Dec 2014 18:52:13 +0000 (21:52 +0300)]
Fix distance-along-path computation
(Thanks to Hyde Yamakawa for pointing this one)
James Turner [Mon, 22 Dec 2014 18:47:21 +0000 (21:47 +0300)]
When the turn angle is large, don’t fly-by.
This avoids the tan() term in the fly-by computation
causing huge turn cuts which will fail to sequence.
Convert such turns to fly-over.
James Turner [Sun, 21 Dec 2014 16:53:16 +0000 (19:53 +0300)]
RoutePath mag-var and point-on-path fixes
James Turner [Sun, 21 Dec 2014 06:53:32 +0000 (09:53 +0300)]
Expose waypoint heading/course to Nasal.
James Turner [Sun, 21 Dec 2014 06:21:31 +0000 (09:21 +0300)]
Fix runway path appearance.
James Turner [Sat, 20 Dec 2014 14:19:00 +0000 (15:19 +0100)]
Route path
- better point along path computation
- fix path distance for turns
- detect and skip duplicated waypoints
(and provision to skip based upon impossible turn
geometry soon)
James Turner [Fri, 19 Dec 2014 17:01:27 +0000 (17:01 +0000)]
Route-path:
* better overflight pathing based on next wpt type
* tolerate procedures with bad intersections (eg KSFO OFFSH8)
James Turner [Wed, 17 Dec 2014 08:57:28 +0000 (08:57 +0000)]
Fix route-path bugs:
- accurate fly-over / fly-by computations
- parse additional LevelD XML elements
- path vector contains curves for turns
Remove dead code.
Anders Gidenstam [Thu, 18 Dec 2014 10:02:41 +0000 (11:02 +0100)]
JSBSim: Renamed the location properties for external forces to include the unit.
Torsten Dreyer [Wed, 17 Dec 2014 08:45:59 +0000 (09:45 +0100)]
Allow easing of setting the time-offset
Configurable with properties:
/sim/time/warp-easing == false ? jump to new time offset (orig. behaviour)
/sim/time/warp-easing == true ? use easing parameter to adjust warp
/sim/time/warp-easing-duration-secs: time in seconds to reach the new value
/sim/time/warp-easing-method: easing method to apply. default: swing
Clément de l'Hamaide [Tue, 16 Dec 2014 18:47:38 +0000 (19:47 +0100)]
Win-nightly: add firewall exception by elgaton
bcoconni [Mon, 15 Dec 2014 19:12:18 +0000 (20:12 +0100)]
Synced JSBSim. Adds the following new features:
- Ability to modify the location of external forces via the property tree
- Ability to specify manually the inertia matrix of "point masses"
- Improvements of the water injection feature in the turbine code
Torsten Dreyer [Thu, 11 Dec 2014 20:37:37 +0000 (21:37 +0100)]
downgrade log-level for newnavradio messages
Torsten Dreyer [Thu, 11 Dec 2014 10:20:34 +0000 (11:20 +0100)]
Shut off spoken atis if radio's power button is off
James Turner [Mon, 8 Dec 2014 17:56:15 +0000 (17:56 +0000)]
Fix flight-plan course and distance computations.
Always use the RoutePath system for course and distance computations
in the flight plan, so that dynamic segments are handled correctly.
James Turner [Sun, 7 Dec 2014 12:34:50 +0000 (12:34 +0000)]
Level-D procedures: parse Flytype element
With this, the fly-by / fly-over info from the procedures is exposed
correctly.
James Turner [Fri, 28 Nov 2014 22:00:38 +0000 (22:00 +0000)]
find waypoints in the flight plan.
Torsten Dreyer [Thu, 4 Dec 2014 08:18:41 +0000 (09:18 +0100)]
Fix #1606, bad ATIS for Japanese locale
Selecting a language for a nonexisting translation did not load the sys and
atc messages. Better fall back to default (en) locale.