]> git.mxchange.org Git - flightgear.git/log
flightgear.git
8 years agoFix indentation and use naIsNil to determine if _globals is nil
Richard Harrison [Sun, 29 Nov 2015 18:15:24 +0000 (19:15 +0100)]
Fix indentation and use naIsNil to determine if _globals is nil

9 years agoAlways log message if going to segfault during notify logging.
Richard Harrison [Fri, 10 Apr 2015 21:49:50 +0000 (23:49 +0200)]
Always log message if going to segfault during notify logging.

9 years agoClosedown crash prevention
Richard Harrison [Fri, 10 Apr 2015 21:46:13 +0000 (23:46 +0200)]
Closedown crash prevention

9 years agoRemoved executable flags for JSBSim source files and synced JSBSim (removed warnings...
Bertrand Coconnier [Fri, 10 Apr 2015 17:21:59 +0000 (19:21 +0200)]
Removed executable flags for JSBSim source files and synced JSBSim (removed warnings about comparison between signed and unsigned / modified FGInput to issue a more explicit message about unknown input types)

9 years agoNew PathsDialog, for managing locations.
James Turner [Wed, 25 Mar 2015 14:16:09 +0000 (09:16 -0500)]
New PathsDialog, for managing locations.

9 years agoWork on new download-dir option
James Turner [Tue, 17 Mar 2015 22:10:49 +0000 (22:10 +0000)]
Work on new download-dir option

- simplify management of a single, user-facing
  location for large downloaded data.

9 years agoGUI exclude support.
James Turner [Mon, 16 Mar 2015 16:34:22 +0000 (17:34 +0100)]
GUI exclude support.

- visual refinements in the delegate.

9 years agoHacking on the delegate height.
James Turner [Mon, 16 Mar 2015 15:07:44 +0000 (16:07 +0100)]
Hacking on the delegate height.

9 years agoAircraftModel hacking for package support.
James Turner [Fri, 13 Mar 2015 16:29:20 +0000 (17:29 +0100)]
AircraftModel hacking for package support.

9 years agoWorking on adding catalogs from the GUI
James Turner [Thu, 12 Mar 2015 22:43:58 +0000 (23:43 +0100)]
Working on adding catalogs from the GUI

9 years agoBasics on catalog list model in the GUI.
James Turner [Thu, 12 Mar 2015 13:29:06 +0000 (13:29 +0000)]
Basics on catalog list model in the GUI.

9 years agoremove obsolete comments
Rebecca N. Palmer [Thu, 9 Apr 2015 18:05:22 +0000 (19:05 +0100)]
remove obsolete comments

see 1cd070de8cbf00c861bfb0c98cc2cda30027e3fc

9 years agoFix —show-aircraft with multiple aircraft dirs
James Turner [Thu, 9 Apr 2015 14:31:09 +0000 (15:31 +0100)]
Fix —show-aircraft with multiple aircraft dirs

Patch from Jens Thoms Toerring

9 years agoCatch exception by reference, not by value
Torsten Dreyer [Tue, 7 Apr 2015 10:11:15 +0000 (12:11 +0200)]
Catch exception by reference, not by value

9 years agoDigitalFilter: remove debug output
Torsten Dreyer [Tue, 7 Apr 2015 10:08:01 +0000 (12:08 +0200)]
DigitalFilter: remove debug output

9 years agoBetter fix for NoaaMetarGetRequest::onDone
Torsten Dreyer [Tue, 7 Apr 2015 09:59:07 +0000 (11:59 +0200)]
Better fix for NoaaMetarGetRequest::onDone

Keep a reference to the LiveMetarProperties while the HTTP request is active
Also, drop the MetarDataHandler which was unneeded overhead

9 years agoadd DampedOsciFilter
Thomas Albrecht [Sat, 28 Mar 2015 06:23:01 +0000 (17:23 +1100)]
add DampedOsciFilter

9 years agoFix spelling
Rebecca N. Palmer [Mon, 6 Apr 2015 09:28:10 +0000 (10:28 +0100)]
Fix spelling

9 years agoDon't free METAR objects, it makes NoaaMetarGetRequest::onDone crash
Rebecca N. Palmer [Sat, 4 Apr 2015 13:32:58 +0000 (14:32 +0100)]
Don't free METAR objects, it makes NoaaMetarGetRequest::onDone crash

9 years agoFix compile with CMake 3.2.1, by Kevin Seroux
Rebecca N. Palmer [Fri, 3 Apr 2015 18:15:52 +0000 (19:15 +0100)]
Fix compile with CMake 3.2.1, by Kevin Seroux

Explicitly link X11, as this no longer comes with OpenGL

9 years agoUIUC: fix check_float (EOF is not an error in this context)
Rebecca N. Palmer [Fri, 3 Apr 2015 13:18:04 +0000 (14:18 +0100)]
UIUC: fix check_float (EOF is not an error in this context)

http://sourceforge.net/p/flightgear/mailman/message/33683003/

9 years agoQtLauncher: fix adding aircraft paths
Rebecca N. Palmer [Fri, 3 Apr 2015 13:13:13 +0000 (14:13 +0100)]
QtLauncher: fix adding aircraft paths

Avoids Nasal security errors when using "Additional aircraft locations"

9 years agoDo not run the HoldDown code until after the aircraft is trimmed to prevent a devide...
Erik Hofman [Thu, 2 Apr 2015 18:31:17 +0000 (20:31 +0200)]
Do not run the HoldDown code until after the aircraft is trimmed to prevent a devide by zero and ultimately a segmentation fault

9 years agoSync. with JSBSim just in time for the official JSBSim release.
Erik Hofman [Thu, 2 Apr 2015 13:17:12 +0000 (15:17 +0200)]
Sync. with JSBSim just in time for the official JSBSim release.

9 years agoMake command "request-metar" also work
Torsten Dreyer [Mon, 30 Mar 2015 15:11:47 +0000 (17:11 +0200)]
Make command "request-metar" also work

same problem as previous commit :-/

9 years agoMake command "clear-metar" work
Torsten Dreyer [Mon, 30 Mar 2015 14:13:01 +0000 (16:13 +0200)]
Make command "clear-metar" work

Didn't work if the client used a non-expanded property path
(like the airport dialog)

9 years agohttpd: extend the NavDbUriHandler
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

9 years agoAdd simple getter for all runways to FGAirport
Torsten Dreyer [Fri, 27 Mar 2015 23:33:26 +0000 (00:33 +0100)]
Add simple getter for all runways to FGAirport

9 years agoPortability: Fix compile errors on MSVC (cmath)
James Turner [Tue, 24 Mar 2015 16:11:42 +0000 (11:11 -0500)]
Portability: Fix compile errors on MSVC (cmath)

From Scott (xDraconian)

9 years agoFix UIUC libc++ compilation.
James Turner [Mon, 23 Mar 2015 15:05:06 +0000 (10:05 -0500)]
Fix UIUC libc++ compilation.

9 years agoFix to restore the UIUC FDM aircraft after the FGAddon split.
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.

9 years agoFix StateMachine autopilot component
Torsten Dreyer [Sun, 22 Mar 2015 15:09:42 +0000 (16:09 +0100)]
Fix StateMachine autopilot component

9 years agoImprove error messages for system.fgfsrc removal
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

9 years agoNasal: remove /tmp/*.xml from allowed paths list
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

9 years agoPercentage feedback during nav-cache build.
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.

9 years agoFix a clang unused constant warning
James Turner [Wed, 18 Mar 2015 19:33:27 +0000 (20:33 +0100)]
Fix a clang unused constant warning

9 years agoEnable anti-aliasing in the airport diagram
James Turner [Wed, 18 Mar 2015 19:33:14 +0000 (20:33 +0100)]
Enable anti-aliasing in the airport diagram

9 years agoFix clang warning: unused constant.
James Turner [Wed, 18 Mar 2015 19:32:54 +0000 (20:32 +0100)]
Fix clang warning: unused constant.

9 years agoMake 3.2.1 fix: make thread check platform specific.
James Turner [Tue, 17 Mar 2015 23:33:57 +0000 (23:33 +0000)]
Make 3.2.1 fix: make thread check platform specific.

9 years agoMake flag Mac specific.
James Turner [Tue, 17 Mar 2015 23:27:25 +0000 (23:27 +0000)]
Make flag Mac specific.

9 years agoFix for Cmake 3.2.1 Mac SDK handling
James Turner [Tue, 17 Mar 2015 22:33:54 +0000 (22:33 +0000)]
Fix for Cmake 3.2.1 Mac SDK handling

9 years agoPropertyChangeWebsocket: sanitize property names
Torsten Dreyer [Tue, 17 Mar 2015 08:27:03 +0000 (09:27 +0100)]
PropertyChangeWebsocket: sanitize property names

9 years agoetxtend "pause" command to force pause/continue
Torsten Dreyer [Sat, 14 Mar 2015 21:33:06 +0000 (22:33 +0100)]
etxtend "pause" command to force pause/continue

9 years agoIncrease required CMake version
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

9 years agoNormalize the allowed paths as well (fix Windows breakage)
Rebecca N. Palmer [Fri, 13 Mar 2015 22:39:22 +0000 (22:39 +0000)]
Normalize the allowed paths as well (fix Windows breakage)

9 years agowarning fix: use correct type for std::string::find reply
Torsten Dreyer [Fri, 13 Mar 2015 21:57:03 +0000 (22:57 +0100)]
warning fix: use correct type for std::string::find reply

9 years agoThe QUrl header is needed for compilation on Linux
bcoconni [Fri, 13 Mar 2015 21:03:22 +0000 (22:03 +0100)]
The QUrl header is needed for compilation on Linux

9 years agoDisable system.fgfsrc
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

9 years agoDocument that property write-protection is not a security measure
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)

9 years agoremove checkIORules(), replaced by check in fgInitAllowedPaths()
Rebecca N. Palmer [Fri, 13 Mar 2015 18:10:31 +0000 (18:10 +0000)]
remove checkIORules(), replaced by check in fgInitAllowedPaths()

9 years agoMake fgValidatePath always return std::string, not char *
Rebecca N. Palmer [Fri, 13 Mar 2015 18:07:24 +0000 (18:07 +0000)]
Make fgValidatePath always return std::string, not char *

9 years agoMove Nasal io.open to flightgear, and make it use fgValidatePath
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

9 years agoStop using property listener for 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

9 years agoMake a new launcher tab for add-ons
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.

9 years agoShow Qt paths in CMake
Clément de l'Hamaide [Thu, 12 Mar 2015 08:44:51 +0000 (09:44 +0100)]
Show Qt paths in CMake

9 years agoSplit multiplayer command
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

9 years agoAircraft path support in the Qt launcher
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.

9 years agoRunUriHandler: add some INFO logging for the requests
Torsten Dreyer [Wed, 11 Mar 2015 21:28:23 +0000 (22:28 +0100)]
RunUriHandler: add some INFO logging for the requests

9 years agoAdd command multiplayer to control the multiplay_mgr
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.

9 years agoMetarProperties: don't double-trigger listeners on invalidate
Torsten Dreyer [Wed, 11 Mar 2015 21:24:07 +0000 (22:24 +0100)]
MetarProperties: don't double-trigger listeners on invalidate

9 years agoextract RemoteXMLRequest to make it reusable
Torsten Dreyer [Wed, 11 Mar 2015 17:28:01 +0000 (18:28 +0100)]
extract RemoteXMLRequest to make it reusable

9 years agoStart wiring package manager into the launcher.
James Turner [Tue, 10 Mar 2015 08:30:55 +0000 (08:30 +0000)]
Start wiring package manager into the launcher.

9 years agoRemove obsolete #ifdef check
James Turner [Tue, 10 Mar 2015 07:54:12 +0000 (07:54 +0000)]
Remove obsolete #ifdef check

9 years agoRefactor aircraft helper classes
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

9 years agoFix recently introduced bug in json-to-prop conversion
Torsten Dreyer [Wed, 11 Mar 2015 15:59:58 +0000 (16:59 +0100)]
Fix recently introduced bug in json-to-prop conversion

9 years agoJSON Properties: encode NaN as null
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

9 years agohttpd: expose if airport has metar in navdb uri handler
Torsten Dreyer [Mon, 9 Mar 2015 13:53:40 +0000 (14:53 +0100)]
httpd: expose if airport has metar in navdb uri handler

9 years agoLive weather: ensure valid flag is set correctly
Torsten Dreyer [Mon, 9 Mar 2015 11:24:36 +0000 (12:24 +0100)]
Live weather: ensure valid flag is set correctly

9 years agoOne more log item for the tile-cache.
James Turner [Sun, 8 Mar 2015 09:41:27 +0000 (09:41 +0000)]
One more log item for the tile-cache.

9 years agoFix non-Qt build.
James Turner [Sun, 8 Mar 2015 09:40:44 +0000 (09:40 +0000)]
Fix non-Qt build.

9 years agoGUI ‘restore defaults’ support.
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.

9 years agoAdd missing GPL boilerplate.
James Turner [Sat, 7 Mar 2015 23:52:03 +0000 (23:52 +0000)]
Add missing GPL boilerplate.

9 years agoCmake always generates version.h
James Turner [Fri, 6 Mar 2015 19:20:54 +0000 (19:20 +0000)]
Cmake always generates version.h

- simplify some code as a result

9 years agoRemove obsolete nightly build script.
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.

9 years agoVery crude work on GUI base package selection.
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.

9 years agoLaunch aircraft data cache
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.

9 years agoArrow icons for variant selection.
James Turner [Thu, 5 Mar 2015 15:53:40 +0000 (15:53 +0000)]
Arrow icons for variant selection.

9 years agoFix some off-by-one errors in variants GUI
James Turner [Thu, 5 Mar 2015 14:51:33 +0000 (14:51 +0000)]
Fix some off-by-one errors in variants GUI

9 years agoLauncher support for aircraft variants.
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.

9 years agoUse the pagedPathForHistory in the FlightHistoryUriHandler
Torsten Dreyer [Tue, 3 Mar 2015 16:10:16 +0000 (17:10 +0100)]
Use the pagedPathForHistory in the FlightHistoryUriHandler

9 years agoFlightHistory: add pagedPathForHistory
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

9 years agohttpd: fix misplaced warning message
Torsten Dreyer [Mon, 2 Mar 2015 19:39:23 +0000 (20:39 +0100)]
httpd: fix misplaced warning message

9 years agowrap the json flight history as a feature
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

9 years agoFix a couple more Qt version issues.
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()

9 years agoJsonUriHandler: allow POST updates without child
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'
}

9 years agoHTML Property Browser: use radiobuttons for bools
Torsten Dreyer [Thu, 26 Feb 2015 17:14:09 +0000 (18:14 +0100)]
HTML Property Browser: use radiobuttons for bools

9 years agoFix Linux compilation.
James Turner [Wed, 25 Feb 2015 23:53:49 +0000 (23:53 +0000)]
Fix Linux compilation.

- <memory> needed for auto_ptr

9 years agoSet placeholderText from code
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.

9 years agoFix cleanup of RouteDataPrivate
James Turner [Wed, 25 Feb 2015 22:58:56 +0000 (22:58 +0000)]
Fix cleanup of RouteDataPrivate

9 years agoflighthistory service: use GeoJSON instead of own invention
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

9 years agoFix where we set OS-X deployment target.
James Turner [Tue, 24 Feb 2015 12:35:26 +0000 (12:35 +0000)]
Fix where we set OS-X deployment target.

9 years agoGuard against a crash Torsten encountered once.
James Turner [Thu, 19 Feb 2015 23:58:40 +0000 (23:58 +0000)]
Guard against a crash Torsten encountered once.

9 years agoExpose FlightHistory as a http service
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)

9 years agoFlightHistory: make clear() public
Torsten Dreyer [Mon, 23 Feb 2015 15:31:49 +0000 (16:31 +0100)]
FlightHistory: make clear() public

9 years agoQt launcher: additional arguments UI
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.

9 years agoFlightPlan activation, delegate hook.
James Turner [Sun, 25 Jan 2015 11:29:19 +0000 (11:29 +0000)]
FlightPlan activation, delegate hook.

9 years agostgmerge enhancements
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

9 years agoMerge commit 'refs/merge-requests/1591' of https://gitorious.org/fg/flightgear into...
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

9 years agopackage system: de-hardcode default catalog id and url
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

9 years agoOoops...
Torsten Dreyer [Tue, 17 Feb 2015 11:09:22 +0000 (12:09 +0100)]
Ooops...