]>
git.mxchange.org Git - flightgear.git/log
Torsten Dreyer [Fri, 27 Mar 2015 23:34:28 +0000 (00:34 +0100)]
httpd: extend the NavDbUriHandler
- add more details for airports
- add "q=airports" query to get the airport list
- add "q=airport&id=abcd" query to get airport details
Torsten Dreyer [Fri, 27 Mar 2015 23:33:26 +0000 (00:33 +0100)]
Add simple getter for all runways to FGAirport
James Turner [Tue, 24 Mar 2015 16:11:42 +0000 (11:11 -0500)]
Portability: Fix compile errors on MSVC (cmath)
From Scott (xDraconian)
James Turner [Mon, 23 Mar 2015 15:05:06 +0000 (10:05 -0500)]
Fix UIUC libc++ compilation.
Edward d'Auvergne [Mon, 23 Mar 2015 17:47:33 +0000 (18:47 +0100)]
Fix to restore the UIUC FDM aircraft after the FGAddon split.
The fix follows from the thread at
http://thread.gmane.org/gmane.games.flightgear.devel/77094, and specifically
implements step 3 in the message
http://thread.gmane.org/gmane.games.flightgear.devel/77094/focus=77214.
The change requires the corresponding <airplane-dir> XML tag deletion
and file system rearrangements in FGAddon as mentioned in the thread to
work.
Torsten Dreyer [Sun, 22 Mar 2015 15:09:42 +0000 (16:09 +0100)]
Fix StateMachine autopilot component
Rebecca N. Palmer [Fri, 20 Mar 2015 18:56:13 +0000 (18:56 +0000)]
Improve error messages for system.fgfsrc removal
The original message (
b5835c38b4fb86262a1ebb24da34d7531c204c6d )
was meaningless on Windows
Rebecca N. Palmer [Fri, 20 Mar 2015 18:20:11 +0000 (18:20 +0000)]
Nasal: remove /tmp/*.xml from allowed paths list
Appears unused, and shouldn't be used on Windows
James Turner [Thu, 19 Mar 2015 17:01:38 +0000 (12:01 -0500)]
Percentage feedback during nav-cache build.
- also used by the GUI launcher for the same.
James Turner [Wed, 18 Mar 2015 19:33:27 +0000 (20:33 +0100)]
Fix a clang unused constant warning
James Turner [Wed, 18 Mar 2015 19:33:14 +0000 (20:33 +0100)]
Enable anti-aliasing in the airport diagram
James Turner [Wed, 18 Mar 2015 19:32:54 +0000 (20:32 +0100)]
Fix clang warning: unused constant.
James Turner [Tue, 17 Mar 2015 23:33:57 +0000 (23:33 +0000)]
Make 3.2.1 fix: make thread check platform specific.
James Turner [Tue, 17 Mar 2015 23:27:25 +0000 (23:27 +0000)]
Make flag Mac specific.
James Turner [Tue, 17 Mar 2015 22:33:54 +0000 (22:33 +0000)]
Fix for Cmake 3.2.1 Mac SDK handling
Torsten Dreyer [Tue, 17 Mar 2015 08:27:03 +0000 (09:27 +0100)]
PropertyChangeWebsocket: sanitize property names
Torsten Dreyer [Sat, 14 Mar 2015 21:33:06 +0000 (22:33 +0100)]
etxtend "pause" command to force pause/continue
Clément de l'Hamaide [Sat, 14 Mar 2015 17:06:34 +0000 (18:06 +0100)]
Increase required CMake version
Qt5 require CMake 2.8.11 or later http://doc.qt.io/qt-5/cmake-manual.html
Rebecca N. Palmer [Fri, 13 Mar 2015 22:39:22 +0000 (22:39 +0000)]
Normalize the allowed paths as well (fix Windows breakage)
Torsten Dreyer [Fri, 13 Mar 2015 21:57:03 +0000 (22:57 +0100)]
warning fix: use correct type for std::string::find reply
bcoconni [Fri, 13 Mar 2015 21:03:22 +0000 (22:03 +0100)]
The QUrl header is needed for compilation on Linux
Rebecca N. Palmer [Fri, 13 Mar 2015 18:14:51 +0000 (18:14 +0000)]
Disable system.fgfsrc
Together with the preceding few commits, this is intended
to make security independent of the data package
Rebecca N. Palmer [Fri, 13 Mar 2015 18:11:29 +0000 (18:11 +0000)]
Document that property write-protection is not a security measure
(Nasal can remove it)
Rebecca N. Palmer [Fri, 13 Mar 2015 18:10:31 +0000 (18:10 +0000)]
remove checkIORules(), replaced by check in fgInitAllowedPaths()
Rebecca N. Palmer [Fri, 13 Mar 2015 18:07:24 +0000 (18:07 +0000)]
Make fgValidatePath always return std::string, not char *
Rebecca N. Palmer [Fri, 13 Mar 2015 18:02:46 +0000 (18:02 +0000)]
Move Nasal io.open to flightgear, and make it use fgValidatePath
Rebecca N. Palmer [Fri, 13 Mar 2015 17:54:44 +0000 (17:54 +0000)]
Stop using property listener for fgValidatePath
This was insecure: while removelistener() won't remove it, there are
other ways to remove a listener from Nasal
James Turner [Thu, 12 Mar 2015 10:36:32 +0000 (10:36 +0000)]
Make a new launcher tab for add-ons
- avoids the settings page being overloaded with list boxes.
Clément de l'Hamaide [Thu, 12 Mar 2015 08:44:51 +0000 (09:44 +0100)]
Show Qt paths in CMake
Torsten Dreyer [Thu, 12 Mar 2015 08:18:41 +0000 (09:18 +0100)]
Split multiplayer command
better split into
multiplayer-connect
multiplayer-disconnect
miltiplayer-refreshserverlist
James Turner [Wed, 11 Mar 2015 23:20:18 +0000 (23:20 +0000)]
Aircraft path support in the Qt launcher
- aircraft dirs are re-scanned when the paths change.
Torsten Dreyer [Wed, 11 Mar 2015 21:28:23 +0000 (22:28 +0100)]
RunUriHandler: add some INFO logging for the requests
Torsten Dreyer [Wed, 11 Mar 2015 21:25:50 +0000 (22:25 +0100)]
Add command multiplayer to control the multiplay_mgr
push the logic to connect/disconnect/refresh out of the UI
into the backend.
Torsten Dreyer [Wed, 11 Mar 2015 21:24:07 +0000 (22:24 +0100)]
MetarProperties: don't double-trigger listeners on invalidate
Torsten Dreyer [Wed, 11 Mar 2015 17:28:01 +0000 (18:28 +0100)]
extract RemoteXMLRequest to make it reusable
James Turner [Tue, 10 Mar 2015 08:30:55 +0000 (08:30 +0000)]
Start wiring package manager into the launcher.
James Turner [Tue, 10 Mar 2015 07:54:12 +0000 (07:54 +0000)]
Remove obsolete #ifdef check
James Turner [Tue, 10 Mar 2015 00:13:55 +0000 (00:13 +0000)]
Refactor aircraft helper classes
- move the aircraft list and delegate to their own files
Torsten Dreyer [Wed, 11 Mar 2015 15:59:58 +0000 (16:59 +0100)]
Fix recently introduced bug in json-to-prop conversion
Torsten Dreyer [Mon, 9 Mar 2015 15:17:20 +0000 (16:17 +0100)]
JSON Properties: encode NaN as null
JSON doesn't know about NaN, probably null matches best
Torsten Dreyer [Mon, 9 Mar 2015 13:53:40 +0000 (14:53 +0100)]
httpd: expose if airport has metar in navdb uri handler
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.