]> git.mxchange.org Git - flightgear.git/log
flightgear.git
13 years agoReported by cppcheck: fix a memory leak
Frederic Bouvier [Sun, 30 Jan 2011 12:25:12 +0000 (13:25 +0100)]
Reported by cppcheck: fix a memory leak

13 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Frederic Bouvier [Sun, 30 Jan 2011 20:16:57 +0000 (21:16 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

13 years agoDetect joystick disconnection
Frederic Bouvier [Sun, 30 Jan 2011 20:14:32 +0000 (21:14 +0100)]
Detect joystick disconnection

13 years agoProposed fix for #251: Waypoint handling
ThorstenB [Thu, 27 Jan 2011 23:06:23 +0000 (00:06 +0100)]
Proposed fix for #251: Waypoint handling
Do not consider destination/runway waypoints as done, when these
are far away - even if the course is off by > 90 degrees.

13 years agoFix viewer issue with Tower and Chase View.
ThorstenB [Sun, 30 Jan 2011 16:35:07 +0000 (17:35 +0100)]
Fix viewer issue with Tower and Chase View.
When looking _at_ a model with an x,y offset of 0,
then the view heading has no effect. So, force heading offset property
to 0 to keep other property consumers from running incorrect calculations.
=> Trying to rotate the heading offset in Tower/Chase view no longer
rotates the blue sky around the aircraft, though the viewer itself
isn't rotating anything.

13 years agoBetrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
ThorstenB [Sun, 30 Jan 2011 15:05:28 +0000 (16:05 +0100)]
Betrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
Specifying initial roll, pitch and speed should be working again.

13 years agoFix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically gener...
Erik Hofman [Sun, 30 Jan 2011 10:04:37 +0000 (11:04 +0100)]
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.

13 years agoAndreas Gaeb: make input (joystick) re-init work.
James Turner [Sat, 29 Jan 2011 16:05:02 +0000 (16:05 +0000)]
Andreas Gaeb: make input (joystick) re-init work.

13 years agoIgnore a generated file
Frederic Bouvier [Fri, 28 Jan 2011 19:15:43 +0000 (20:15 +0100)]
Ignore a generated file

13 years agoCmake: add a rule to build sources from fluid (.fl) files
Frederic Bouvier [Fri, 28 Jan 2011 19:12:56 +0000 (20:12 +0100)]
Cmake: add a rule to build sources from fluid (.fl) files

13 years agoCmake: use different icons for 32-bit and 64-bit executables
Frederic Bouvier [Fri, 28 Jan 2011 18:34:49 +0000 (19:34 +0100)]
Cmake: use different icons for 32-bit and 64-bit executables

13 years agoCmake: set an icon to the Windows executable
Frederic Bouvier [Fri, 28 Jan 2011 18:30:27 +0000 (19:30 +0100)]
Cmake: set an icon to the Windows executable

13 years agoDeprecate VS2010 handmade project files now that we have Cmake
Frederic Bouvier [Fri, 28 Jan 2011 18:00:28 +0000 (19:00 +0100)]
Deprecate VS2010 handmade project files now that we have Cmake

13 years agoCmake: fix VS2010 link
Frederic Bouvier [Fri, 28 Jan 2011 14:15:20 +0000 (15:15 +0100)]
Cmake: fix VS2010 link

13 years agoCmake: support VS2010 and MSVC 64 bit
Frederic Bouvier [Fri, 28 Jan 2011 13:57:32 +0000 (14:57 +0100)]
Cmake: support VS2010 and MSVC 64 bit

13 years agoAndreas Gaeb: fix #222 (JSBSIm reset problems)
James Turner [Tue, 25 Jan 2011 00:26:07 +0000 (00:26 +0000)]
Andreas Gaeb: fix #222 (JSBSIm reset problems)

13 years agoRe-apply fix for #204, crash on JSBSim reset
James Turner [Tue, 25 Jan 2011 00:25:43 +0000 (00:25 +0000)]
Re-apply fix for #204, crash on JSBSim reset

13 years agoRe-apply partial fix for #222, JSBsim crash-on-reset
James Turner [Tue, 25 Jan 2011 00:25:23 +0000 (00:25 +0000)]
Re-apply partial fix for #222, JSBsim crash-on-reset

13 years agoBugfix: reset transparency of non fog/mist/haze layers
Torsten Dreyer [Mon, 24 Jan 2011 18:41:56 +0000 (19:41 +0100)]
Bugfix: reset transparency of non fog/mist/haze layers

13 years agoWhoops, missed a place to use fgVersion
James Turner [Mon, 24 Jan 2011 13:48:01 +0000 (13:48 +0000)]
Whoops, missed a place to use fgVersion

13 years agoInclude Macflightgear files, and the build helper.
James Turner [Mon, 24 Jan 2011 13:35:01 +0000 (13:35 +0000)]
Include Macflightgear files, and the build helper.

13 years agoCode cleanup, no functional change
Torsten Dreyer [Sun, 23 Jan 2011 20:51:07 +0000 (21:51 +0100)]
Code cleanup, no functional change

13 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Frederic Bouvier [Sun, 23 Jan 2011 20:08:09 +0000 (21:08 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

13 years agoCmake: restore its original name to the ephemeris library
Frederic Bouvier [Sun, 23 Jan 2011 20:07:24 +0000 (21:07 +0100)]
Cmake: restore its original name to the ephemeris library

13 years agoHelp configure finding the rti libraries.
Mathias Froehlich [Sun, 23 Jan 2011 19:34:14 +0000 (20:34 +0100)]
Help configure finding the rti libraries.

13 years agoReport stopped MP transmission at higher log level,
ThorstenB [Sun, 23 Jan 2011 14:24:28 +0000 (15:24 +0100)]
Report stopped MP transmission at higher log level,
it's too important to be a "debug only" message.

13 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Erik Hofman [Sun, 23 Jan 2011 14:14:57 +0000 (15:14 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

13 years agoSync. with JSBSim CVS
Erik Hofman [Sun, 23 Jan 2011 14:14:01 +0000 (15:14 +0100)]
Sync. with JSBSim CVS

13 years agoAdded sanity checks to MP receive/send.
ThorstenB [Sun, 23 Jan 2011 14:07:09 +0000 (15:07 +0100)]
Added sanity checks to MP receive/send.
Stop invalid data (NaN values) from being sent or received via MP.

13 years agoCmake: remove debug messages
Frederic Bouvier [Sun, 23 Jan 2011 08:49:04 +0000 (09:49 +0100)]
Cmake: remove debug messages

13 years agoBuild Terrasync with libsvnclient under Windows
Frederic Bouvier [Sun, 23 Jan 2011 08:42:13 +0000 (09:42 +0100)]
Build Terrasync with libsvnclient under Windows

13 years agoMake route editing sane.
ThorstenB [Sat, 22 Jan 2011 23:45:06 +0000 (00:45 +0100)]
Make route editing sane.
Drag&drop, insert and remove now update the current waypoint as expected.

13 years agoFix Apple libsvn include for isysroot (SDK) builds.
James Turner [Sat, 22 Jan 2011 18:49:54 +0000 (18:49 +0000)]
Fix Apple libsvn include for isysroot (SDK) builds.

13 years agoFix crash in GPS module.
ThorstenB [Fri, 21 Jan 2011 22:44:23 +0000 (23:44 +0100)]
Fix crash in GPS module.
Fixes crash on exit (during property untie). Also potential run-time crash.

13 years agoremove debug message spam
Torsten Dreyer [Fri, 21 Jan 2011 19:44:35 +0000 (20:44 +0100)]
remove debug message spam

13 years agoGPWS: avoid "altitude_callout_voice != NULL" assertion
ThorstenB [Fri, 21 Jan 2011 18:55:42 +0000 (19:55 +0100)]
GPWS: avoid "altitude_callout_voice != NULL" assertion
Properly remember which active alerts were already voiced.
Added NULL-pointer safety check

13 years agoFix bug 255, support turbulence to weather menu
Torsten Dreyer [Fri, 21 Jan 2011 09:35:04 +0000 (10:35 +0100)]
Fix bug 255, support turbulence to weather menu

13 years agoLazy caching of magvar on waypoints. Not used yet, but soon.
James Turner [Thu, 20 Jan 2011 08:49:09 +0000 (08:49 +0000)]
Lazy caching of magvar on waypoints. Not used yet, but soon.

13 years agoExpand route-manager waypoint info, to support smarter FMS functions.
James Turner [Thu, 20 Jan 2011 00:39:42 +0000 (00:39 +0000)]
Expand route-manager waypoint info, to support smarter FMS functions.

13 years agoFix bug 259 - don't override existing airport/runway in initPos
James Turner [Wed, 19 Jan 2011 23:58:00 +0000 (23:58 +0000)]
Fix bug 259 - don't override existing airport/runway in initPos

13 years agoFix bug #253, at least partially
Torsten Dreyer [Wed, 19 Jan 2011 18:36:04 +0000 (19:36 +0100)]
Fix bug #253, at least partially

make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml

13 years agoSupport the libsvn 1.4 API, which is what is available shipped with Mac OS-X 10.5...
James Turner [Wed, 19 Jan 2011 13:54:30 +0000 (13:54 +0000)]
Support the libsvn 1.4 API, which is what is available shipped with Mac OS-X 10.5 (Leopard)

13 years agoWorking Cmake-terrasync-libsvn support. Probably needs additional refinement, but...
James Turner [Wed, 19 Jan 2011 12:14:59 +0000 (12:14 +0000)]
Working Cmake-terrasync-libsvn support. Probably needs additional refinement, but testable.

13 years agoUpdate Windows 3rd party link/version
Frederic Bouvier [Mon, 17 Jan 2011 22:39:44 +0000 (23:39 +0100)]
Update Windows 3rd party link/version

13 years agoAdd the hla stuff to the cmake build system.
Mathias Froehlich [Sun, 26 Dec 2010 12:55:52 +0000 (13:55 +0100)]
Add the hla stuff to the cmake build system.

13 years agoAdd an initial implementation of a hla module.
Mathias Froehlich [Sun, 27 Jun 2010 07:04:10 +0000 (09:04 +0200)]
Add an initial implementation of a hla module.

13 years agoEventInput(Linux): experimental initial read of values
Torsten Dreyer [Mon, 17 Jan 2011 19:27:03 +0000 (20:27 +0100)]
EventInput(Linux): experimental initial read of values

First test of reading the button state and axes positions
on initialization of the device.

13 years agoAutopilot: use SimGear function
Torsten Dreyer [Mon, 17 Jan 2011 19:18:17 +0000 (20:18 +0100)]
Autopilot: use SimGear function

13 years agoRevert "Minor edit."
Dave Luff [Sun, 16 Jan 2011 20:20:55 +0000 (20:20 +0000)]
Revert "Minor edit."

This reverts commit 6596f62dd0deef978eae93e35ae99d05c070e413.
I think I was wrong!

13 years agoUpdate Windows 3rd party link/version
Frederic Bouvier [Sun, 16 Jan 2011 18:38:22 +0000 (19:38 +0100)]
Update Windows 3rd party link/version

13 years agoBug 254: make all the HUD related options apply to hud[1], not hud[0], so they functi...
James Turner [Sun, 16 Jan 2011 15:31:39 +0000 (15:31 +0000)]
Bug 254: make all the HUD related options apply to hud[1], not hud[0], so they function as expected.

13 years agoMinor edit.
Dave Luff [Sat, 15 Jan 2011 14:27:08 +0000 (14:27 +0000)]
Minor edit.

I don't think these 2 lines are required - true is set as the default value above.

13 years agoFix ADF bugs ... including still driving the needle when power off.
John Denker [Mon, 30 Nov 2009 10:19:17 +0000 (03:19 -0700)]
Fix ADF bugs ... including still driving the needle when power off.

ADF bug fixes from John Denker.  Changes from current behaviour are:
* Include the power button in the electrical checks
* Raise the required input voltage from 1V to 8V
* Don't reset the heading to 90 degrees when out of range or no power
  (heading is now only reset to 90 in ANT or TEST mode)

13 years agoRevert joystick patch. One would have to provide a better one
Frederic Bouvier [Fri, 14 Jan 2011 21:37:39 +0000 (22:37 +0100)]
Revert joystick patch. One would have to provide a better one

13 years agoInclude plib ul
Frederic Bouvier [Fri, 14 Jan 2011 21:09:21 +0000 (22:09 +0100)]
Include plib ul

13 years agoMore joystick code fixes
Frederic Bouvier [Fri, 14 Jan 2011 21:07:13 +0000 (22:07 +0100)]
More joystick code fixes

13 years agoIt looks like it was not the last mac js code that was committed in the first place
Frederic Bouvier [Fri, 14 Jan 2011 21:03:15 +0000 (22:03 +0100)]
It looks like it was not the last mac js code that was committed in the first place

13 years agoFix a typo in the Mac js code
Frederic Bouvier [Fri, 14 Jan 2011 20:52:36 +0000 (21:52 +0100)]
Fix a typo in the Mac js code

13 years agoJoystick code now in the Flightgear tree
Frederic Bouvier [Fri, 14 Jan 2011 20:38:22 +0000 (21:38 +0100)]
Joystick code now in the Flightgear tree

13 years agoOlaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista...
Frederic Bouvier [Fri, 14 Jan 2011 20:30:51 +0000 (21:30 +0100)]
Olaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista and 7

13 years agoMake the Nasal NaN check less aggressive - still SG_ALERT, but return nil instead...
James Turner [Fri, 14 Jan 2011 20:04:20 +0000 (20:04 +0000)]
Make the Nasal NaN check less aggressive - still SG_ALERT, but return nil instead of terminating the Nasal script completely.

13 years agoCopy SelectLibraryConfigurations into our modules, to support CMake 2.6
James Turner [Fri, 14 Jan 2011 10:52:38 +0000 (10:52 +0000)]
Copy SelectLibraryConfigurations into our modules, to support CMake 2.6

13 years agoLinux link fixes from Olaf Flebbe
James Turner [Thu, 13 Jan 2011 22:13:58 +0000 (22:13 +0000)]
Linux link fixes from Olaf Flebbe

13 years agoCmake: resolve clock_gettime
Frederic Bouvier [Mon, 10 Jan 2011 22:22:24 +0000 (23:22 +0100)]
Cmake: resolve clock_gettime

13 years agoMinor update
ThorstenB [Mon, 10 Jan 2011 20:19:51 +0000 (21:19 +0100)]
Minor update
Missed this place during code clean-up

13 years agoAI traffic performance boost for busy airports
ThorstenB [Mon, 10 Jan 2011 19:53:46 +0000 (20:53 +0100)]
AI traffic performance boost for busy airports
Stop ground elevation (scenery) checks for stationary AI aircraft.

13 years agoFirst attempt at libsvn support in terrasync with CMake
James Turner [Sun, 9 Jan 2011 00:15:29 +0000 (00:15 +0000)]
First attempt at libsvn support in terrasync with CMake
 - not yet working!

13 years agoFix CMake inclusion for copied FindGit.cmake
James Turner [Sun, 9 Jan 2011 00:04:59 +0000 (00:04 +0000)]
Fix CMake inclusion for copied FindGit.cmake

13 years agoAdd FindGit from CMake 2.8.3 distribution
James Turner [Sat, 8 Jan 2011 21:43:23 +0000 (21:43 +0000)]
Add FindGit from CMake 2.8.3 distribution

13 years agoAdded several include files, thanks to Roland Haeder
ThorstenB [Sat, 8 Jan 2011 21:34:43 +0000 (22:34 +0100)]
Added several include files, thanks to Roland Haeder
Added includes missing for some compiler/platform.

13 years agoEnable AI traffic for offline users and issue #248
ThorstenB [Sat, 8 Jan 2011 20:38:26 +0000 (21:38 +0100)]
Enable AI traffic for offline users and issue #248
- #248: new enable/disable-ai-traffic command-line option
- AI traffic: don't wait for METAR when real-wx-fetch disabled, to
enable AI traffic when running offline

13 years agoCmake: fix copy/paste typo
Frederic Bouvier [Sat, 8 Jan 2011 15:45:40 +0000 (16:45 +0100)]
Cmake: fix copy/paste typo

13 years agoCmake: use debug version of plib when building in debug mode
Frederic Bouvier [Sat, 8 Jan 2011 14:17:49 +0000 (15:17 +0100)]
Cmake: use debug version of plib when building in debug mode

13 years agoCmake: use debug version of simgear when building in debug mode
Frederic Bouvier [Sat, 8 Jan 2011 14:02:30 +0000 (15:02 +0100)]
Cmake: use debug version of simgear when building in debug mode

13 years agoMake mouse buttons work again.
Torsten Dreyer [Sat, 8 Jan 2011 11:50:55 +0000 (12:50 +0100)]
Make mouse buttons work again.

13 years agoMouseInput: invert y-accel property
Torsten Dreyer [Sat, 8 Jan 2011 08:11:46 +0000 (09:11 +0100)]
MouseInput: invert y-accel property

Syd Adams:  It could be inverted with nasal for use,
but it feels more natural with positive /forward , negative /
back.

13 years agoMouseInput: Add accel-x and accel-y
Torsten Dreyer [Fri, 7 Jan 2011 20:05:17 +0000 (21:05 +0100)]
MouseInput: Add accel-x and accel-y

Syd Adams:
Is there any interest in mouse acceleration properties, besides myself ?

Obviously there is. Some code cleanup comes with it.

13 years agoAdd code to draw AI ships on the map widget (useful for carrier ops.)
Curtis L. Olson [Fri, 7 Jan 2011 19:05:47 +0000 (13:05 -0600)]
Add code to draw AI ships on the map widget (useful for carrier ops.)

An AI Tanker requested from the AI menu has an id of -2, so change the code to
only ignore AI models with an ID of -1.

13 years agoMETAR: enable reports from multiple stations
Torsten Dreyer [Fri, 7 Jan 2011 12:11:06 +0000 (13:11 +0100)]
METAR: enable reports from multiple stations

This patch enables multiple MetarProperties instances tied to the
property tree. For each node's value of /environment/realwx/metar
one MetarProperties instance is created and tied to the property
tree named there. (See FGDATA/Environment/environment.xml for details)

At least one instance will be created to provice backward compatibility
to the existing live-data weather system. This instance (tied to
/environment/metar) fetches a METAR for the nearest airport at a regular
schedule. All other instances fetch a report for airports named in the
property station-id. It re-reads the report every 15 minutes, the
remaining time until the next fetch will be scheduled is in the property
time-to-live. This property can be written to, to extend the live of
this report or schedule an immediate reload by setting it's value to zero.

This patch also provides magnetic variation for the station's location.

13 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Torsten Dreyer [Fri, 7 Jan 2011 08:07:56 +0000 (09:07 +0100)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

13 years agoMake fgadmin optional (and hence, the FLTK dependency)
James Turner [Thu, 6 Jan 2011 16:56:07 +0000 (16:56 +0000)]
Make fgadmin optional (and hence, the FLTK dependency)
Also bump SimGear version to 2.2.0

13 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Frederic Bouvier [Wed, 5 Jan 2011 22:47:16 +0000 (23:47 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

13 years agoCmake: finally build terrasync under Windows
Frederic Bouvier [Wed, 5 Jan 2011 22:47:08 +0000 (23:47 +0100)]
Cmake: finally build terrasync under Windows

13 years agoATIS: revert to using inches globally by default.
Dave Luff [Wed, 5 Jan 2011 00:32:21 +0000 (00:32 +0000)]
ATIS: revert to using inches globally by default.

Revert to using inches globally by default, unless the user sets the
property /sim/atc/use-millibars.  Whilst this is therefore wrong by
default, it is probably the best thing in the short term since
FlightGear's altimeter dialog and the altimeters on the default
aircraft set using inches.

13 years agoTrying to fix Linux compilation
Frederic Bouvier [Wed, 5 Jan 2011 17:43:55 +0000 (18:43 +0100)]
Trying to fix Linux compilation

13 years agoTrying to fix Linux compilation
Frederic Bouvier [Wed, 5 Jan 2011 17:24:49 +0000 (18:24 +0100)]
Trying to fix Linux compilation

13 years agoTrying to fix Linux compilation
Frederic Bouvier [Wed, 5 Jan 2011 17:10:57 +0000 (18:10 +0100)]
Trying to fix Linux compilation

13 years agoCmake: test the presence of FLTK
Frederic Bouvier [Wed, 5 Jan 2011 16:58:20 +0000 (17:58 +0100)]
Cmake: test the presence of FLTK

13 years agoReplace plib/net.h by SimGear
Frederic Bouvier [Wed, 5 Jan 2011 16:54:38 +0000 (17:54 +0100)]
Replace plib/net.h by SimGear

13 years agoCmake: add fgadmin to the project
Frederic Bouvier [Wed, 5 Jan 2011 16:51:46 +0000 (17:51 +0100)]
Cmake: add fgadmin to the project

13 years agoProvide declarations of hton*() and ntoh*()
Frederic Bouvier [Wed, 5 Jan 2011 16:38:15 +0000 (17:38 +0100)]
Provide declarations of hton*() and ntoh*()

13 years agoCmake: add more utilities to the build system
Frederic Bouvier [Wed, 5 Jan 2011 16:19:42 +0000 (17:19 +0100)]
Cmake: add more utilities to the build system

13 years agoReplace plib/net.h by SimGear
Frederic Bouvier [Wed, 5 Jan 2011 16:18:12 +0000 (17:18 +0100)]
Replace plib/net.h by SimGear

13 years agoRemove the dependency to boost serialization
Frederic Bouvier [Wed, 5 Jan 2011 08:55:19 +0000 (09:55 +0100)]
Remove the dependency to boost serialization

13 years agoATIS improvements from John Denker
Dave Luff [Wed, 5 Jan 2011 00:27:18 +0000 (00:27 +0000)]
ATIS improvements from John Denker

Primarily an improvment to the internationalisation.  Previously the ATIS considered
the world as either the UK or the rest of the world.  Now it considers it as US+Canada
or the rest of the world.  This is much more consistent with global usage of pressure
units as either inches or millibars, which is the most important difference.  Also
some other tweaks and cleanups.

13 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Torsten Dreyer [Tue, 4 Jan 2011 16:21:47 +0000 (17:21 +0100)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

13 years agoMerge branch 'next' of git@gitorious.org:fg/flightgear into next
James Turner [Mon, 3 Jan 2011 21:48:11 +0000 (21:48 +0000)]
Merge branch 'next' of git@gitorious.org:fg/flightgear into next

13 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Frederic Bouvier [Mon, 3 Jan 2011 21:47:40 +0000 (22:47 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

13 years agoRemove some legacy declarations from navrecord
James Turner [Mon, 3 Jan 2011 21:47:24 +0000 (21:47 +0000)]
Remove some legacy declarations from navrecord

13 years agoCmake: more windows tweaks
Frederic Bouvier [Mon, 3 Jan 2011 21:47:11 +0000 (22:47 +0100)]
Cmake: more windows tweaks