]> git.mxchange.org Git - flightgear.git/log
flightgear.git
9 years agosubmodel: Add random error for azimuth and elevation
onox [Thu, 21 May 2015 20:45:15 +0000 (22:45 +0200)]
submodel: Add random error for azimuth and elevation

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Fix randomness of Cd and life
onox [Wed, 20 May 2015 22:23:33 +0000 (00:23 +0200)]
submodel: Fix randomness of Cd and life

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Remove FGSubmodelMgr::setSubData()
onox [Wed, 20 May 2015 18:25:37 +0000 (20:25 +0200)]
submodel: Remove FGSubmodelMgr::setSubData()

Signed-off-by: onox <denkpadje@gmail.com>
9 years agoRemove debug console output in FGApproachController
Torsten Dreyer [Wed, 27 May 2015 08:19:18 +0000 (10:19 +0200)]
Remove debug console output in FGApproachController

Console was filled with
FGApproachController::render function not yet implemented

9 years agofix previous incomplete patch
Torsten Dreyer [Fri, 22 May 2015 16:39:37 +0000 (18:39 +0200)]
fix previous incomplete patch

add missing continue statement

9 years agoOnly warn about unknown tags in instrumentation.xml
Torsten Dreyer [Fri, 22 May 2015 15:40:17 +0000 (17:40 +0200)]
Only warn about unknown tags in instrumentation.xml

Richard J. Senior:
Without this commit, unknown top-level tags in instrumentation.xml are treated
as errors and the rest of the file is not processed.

Users running Flightgear versions prior to 3.2 have experienced problems with
the comm-radio tags after downloading updated versions of aircraft from FGADDON.
Instrumentation listed after the unrecognized comm-radio tags is not processed
for these users and is inactive in the cockpit.

This commit changes the instrumentation build method so that unrecognized tags
are treated as warnings. This won't help users running older versions but
protects against the same problems occurring if new tags are added to
instrumentation in the future.

9 years agoMerge commit 'c8115f516c47fd389b34f59055d3c2e9a6b697e2' into next
Torsten Dreyer [Tue, 19 May 2015 09:56:01 +0000 (11:56 +0200)]
Merge commit 'c8115f516c47fd389b34f59055d3c2e9a6b697e2' into next

9 years agoMerge commit '6c1934fcdf7dc91897e9d4dc8b8b6810b1de6a51' into next
Torsten Dreyer [Tue, 19 May 2015 09:52:49 +0000 (11:52 +0200)]
Merge commit '6c1934fcdf7dc91897e9d4dc8b8b6810b1de6a51' into next

9 years agoSmall refactoring of Torsten's refactoring
onox [Thu, 30 Apr 2015 12:54:36 +0000 (14:54 +0200)]
Small refactoring of Torsten's refactoring

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoSmall refactoring of the submodel patch from onox
Torsten Dreyer [Thu, 30 Apr 2015 09:39:00 +0000 (11:39 +0200)]
Small refactoring of the submodel patch from onox

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoUse InputValue for yaw-offset and pitch-offset
onox [Sat, 25 Apr 2015 10:33:34 +0000 (12:33 +0200)]
Use InputValue for yaw-offset and pitch-offset

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoUse actual position of view for sound manager
onox [Fri, 15 May 2015 07:29:23 +0000 (09:29 +0200)]
Use actual position of view for sound manager

Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoTemporary fix: ground networks are not loaded when a navcache is present. But, the...
Durk Talsma [Fri, 15 May 2015 19:42:10 +0000 (21:42 +0200)]
Temporary fix: ground networks are not loaded when a navcache is present. But, the AI/ATC code relies on radio frequencies listed in the groundnet files. Since these are not imported into the nav cache, they remain 0.
By forcing the loading of the ground networks, I have the frequencies back. We should find a proper solution later.

9 years agoA second init() is necessary to start the ATCController. There's probably a better...
Durk Talsma [Fri, 15 May 2015 16:25:16 +0000 (18:25 +0200)]
A second init() is necessary to start the ATCController. There's probably a better way to do is, but for now let's just stick to how I had it set up in early 2012.

9 years agoReinstate the backbone of the "I" part of the Interactive traffic system.
Durk Talsma [Fri, 15 May 2015 11:30:16 +0000 (13:30 +0200)]
Reinstate the backbone of the "I" part of the Interactive traffic system.

9 years agoSome preparatory work for reinstating a missing piece of code in the routing algorith...
Durk Talsma [Thu, 14 May 2015 16:22:42 +0000 (18:22 +0200)]
Some preparatory work for reinstating a missing piece of code in the routing algorithm for the AI system.

9 years agoReformatting.
Durk Talsma [Thu, 14 May 2015 16:20:25 +0000 (18:20 +0200)]
Reformatting.

9 years agoFix bug when starting using the --parkpos option. Create a pointer to a ParkingAssign...
Durk Talsma [Thu, 14 May 2015 16:15:30 +0000 (18:15 +0200)]
Fix bug when starting using the --parkpos option. Create a pointer to a ParkingAssignment object, so that the reference counter doesn't get reset to 0 when the local class is destroyed.

9 years agoWorkaround for problem with SGPath: create_dir() does not create the last subdirector...
Durk Talsma [Thu, 14 May 2015 15:41:58 +0000 (17:41 +0200)]
Workaround for problem with SGPath: create_dir() does not create the last subdirectory when passed a dir-path only.

9 years agoSingularity avoidance fix for the flightgear Viewer.
Edward d'Auvergne [Sun, 3 May 2015 18:04:33 +0000 (20:04 +0200)]
Singularity avoidance fix for the flightgear Viewer.

This was reported at https://sourceforge.net/p/flightgear/codetickets/1740/ and
discussed at http://thread.gmane.org/gmane.games.flightgear.devel/77562 .

The flightgear Viewer no longer causes aircraft to disappear due to the
singularity at the poles resulting in an undefined azimuthal angle.

9 years agorenamed to DampedOscillation
Thomas Albrecht [Tue, 7 Apr 2015 11:29:00 +0000 (21:29 +1000)]
renamed to DampedOscillation

9 years agoFix "Error in ground network. Failed to find first waypoint"
Torsten Dreyer [Tue, 21 Apr 2015 11:05:41 +0000 (13:05 +0200)]
Fix "Error in ground network. Failed to find first waypoint"

Fix provided by Jens Thoms Toerring, OK'ed from Durk
http://thread.gmane.org/gmane.games.flightgear.devel/77674

9 years agoExplicit NSPathUtilities include.
James Turner [Mon, 20 Apr 2015 09:42:22 +0000 (10:42 +0100)]
Explicit NSPathUtilities include.

9 years agoExplicit NSBundle include
James Turner [Mon, 20 Apr 2015 09:35:24 +0000 (10:35 +0100)]
Explicit NSBundle include

- should fix Jenkins build, hopefully.

9 years agoConditionally enable hot for multiplayer models
Torsten Dreyer [Thu, 16 Apr 2015 18:58:56 +0000 (20:58 +0200)]
Conditionally enable hot for multiplayer models

originally from denk padje alias onox

9 years agoproperty browser: group radio-button elements
Torsten Dreyer [Wed, 15 Apr 2015 08:41:31 +0000 (10:41 +0200)]
property browser: group radio-button elements

This allows to better render bool properties

9 years agoModified the loop so that the simulation is suspended whenever the user
Bertrand Coconnier [Sun, 12 Apr 2015 16:20:00 +0000 (18:20 +0200)]
Modified the loop so that the simulation is suspended whenever the user
set the property fdm/jsbsim/simulation/terminate to true.

9 years agoFix a clang warning.
James Turner [Sat, 11 Apr 2015 20:59:37 +0000 (21:59 +0100)]
Fix a clang warning.

9 years agoExplicit AppKit includes for Mac.
James Turner [Sat, 11 Apr 2015 20:59:23 +0000 (21:59 +0100)]
Explicit AppKit includes for Mac.

9 years agoFix a clang warning.
James Turner [Sat, 11 Apr 2015 20:59:01 +0000 (21:59 +0100)]
Fix a clang warning.

9 years agoExplicit Mac SDK for the moment.
James Turner [Sat, 11 Apr 2015 20:58:55 +0000 (21:58 +0100)]
Explicit Mac SDK for the moment.

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.