]>
git.mxchange.org Git - flightgear.git/log
James Turner [Sat, 28 Sep 2013 13:17:53 +0000 (14:17 +0100)]
Kill of embedded-Simgear CMake mode.
This was a silly idea, CMake super-builds from fgmeta are the correct
approach to this going forward.
James Turner [Sat, 28 Sep 2013 13:15:47 +0000 (14:15 +0100)]
Remove all references to libsvn from build.
James Turner [Sat, 28 Sep 2013 13:07:45 +0000 (14:07 +0100)]
Terrasync tweaks.
- Enable the terrasync persistent cache
- Ensure terraysync scenery dirs exist before NavCache init, so the paths are stable
- Notify TerraSync on reposition, so we sync the full 3x3 set of tiles.
Clément de l'Hamaide [Fri, 27 Sep 2013 18:24:19 +0000 (20:24 +0200)]
Restore ENABLE_IAX
Clément de l'Hamaide [Fri, 27 Sep 2013 17:07:19 +0000 (19:07 +0200)]
Install required file by fgcom in the common share/ directory
James Turner [Fri, 27 Sep 2013 17:06:18 +0000 (18:06 +0100)]
Kill another BOM.
James Turner [Fri, 27 Sep 2013 16:08:36 +0000 (17:08 +0100)]
Remove UTF-8 BOM.
Seems to be upsetting the compiler on Jenkins.
Clément de l'Hamaide [Fri, 27 Sep 2013 14:05:45 +0000 (16:05 +0200)]
Move IAXClient library into 3rdparty directory
Remove ENABLE_IAX option
Add an improved FGCom standalone as part of FG in utils directory
Clément de l'Hamaide [Fri, 27 Sep 2013 13:37:07 +0000 (15:37 +0200)]
Fix Windows warning during Windows compilation
Make sure OpenAL context is setup before opening capture device
Torsten Dreyer [Thu, 26 Sep 2013 14:49:27 +0000 (16:49 +0200)]
make the metar command line tool case insensitive
James Turner [Wed, 25 Sep 2013 12:54:16 +0000 (13:54 +0100)]
Relocate Sqlite3 sources, upgrade to 3.8.0.2
Move sqlite source to a separate location, and build with
an intermediate library target. This permits us to set compile options
easier, including an important one, NDEBUG, which improves performance.
Sqlite 3.8.0.2 also includes an updated query planner which may improve
some queries, to be tested.
Anders Gidenstam [Mon, 23 Sep 2013 20:27:51 +0000 (22:27 +0200)]
Restored JSBSim to a working state in FlightGear.
Anders Gidenstam [Sun, 22 Sep 2013 15:56:58 +0000 (17:56 +0200)]
Synchronized with JSBSim/CVS.
Clément de l'Hamaide [Sun, 22 Sep 2013 23:02:10 +0000 (01:02 +0200)]
Fix spelling error by Markus Wanner
Clément de l'Hamaide [Sun, 22 Sep 2013 15:42:24 +0000 (17:42 +0200)]
remove unused #define
Clément de l'Hamaide [Sun, 22 Sep 2013 15:34:51 +0000 (17:34 +0200)]
Implement IAX callerID feature
James Turner [Wed, 18 Sep 2013 11:08:20 +0000 (12:08 +0100)]
Tweak AI Traffic model loading.
Traffic with models in additional aircraft dirs or data dirs is
displayed correctly now.
James Turner [Thu, 27 Jun 2013 08:37:53 +0000 (09:37 +0100)]
Support for multiple data dirs.
James Turner [Sun, 15 Sep 2013 18:17:38 +0000 (19:17 +0100)]
Use helper to validate printf formats.
Simgear contains a new helper to validate format
strings for potentially dangerous replacements, use
it to fix the issues raised by Debian bug trackers.
Christian Schmitt [Sun, 15 Sep 2013 13:08:06 +0000 (15:08 +0200)]
fix uninitialized variable reported by valgrind
James Turner [Sat, 14 Sep 2013 16:43:24 +0000 (17:43 +0100)]
Fix for #1117:
fix another issue similar to CVE-2012-2090
In FGClouds::buildlayer(), prevent passing '%n' to snprintf().
From: Rebecca Palmer
James Turner [Sat, 14 Sep 2013 16:39:02 +0000 (17:39 +0100)]
Fix for CVE-2012-2091:
add checks against buffer overruns
CVE-2012-2091 mentions various buffer overruns in simgear and
flightgear. This patch addresses this issue in Rotor::getValueforFGSet().
From: Tom Callaway
James Turner [Sat, 14 Sep 2013 16:37:45 +0000 (17:37 +0100)]
GCC 4.7 compile fix.
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
James Turner [Sat, 14 Sep 2013 11:17:33 +0000 (12:17 +0100)]
Display AI traffic route in map.
Add some helpers so MapWidget can show the
origin and destination of AIAircraft with a FlightPlan.
Thomas Geymayer [Sun, 8 Sep 2013 11:49:09 +0000 (13:49 +0200)]
Fix signed/unsigned missmatch.
Torsten Dreyer [Thu, 5 Sep 2013 08:21:44 +0000 (10:21 +0200)]
Fix #1186 moving average filter
fix incorrect behaviour of the moving average filter as reported
and patched by bmbroom.
James Turner [Thu, 5 Sep 2013 07:29:20 +0000 (08:29 +0100)]
From Jano: fix HUD ladder aspect.
janodesbois [Fri, 16 Aug 2013 21:19:11 +0000 (23:19 +0200)]
#901, yasim report the wrong sign in side-slip-deg and -rad.
James Turner [Thu, 29 Aug 2013 21:12:34 +0000 (22:12 +0100)]
Pass terrasync dir through to osgDB options.
Half of fix for TerraSync Models not being found.
James Turner [Thu, 29 Aug 2013 21:12:00 +0000 (22:12 +0100)]
Fix crash on re-position with FGCom.
Don't assume valueChanged firing means the value has actually
changed; various operations (eg, copyProperties) can also
cause the signals to fire.
Clément de l'Hamaide [Wed, 28 Aug 2013 16:09:22 +0000 (18:09 +0200)]
FGCom: implement a callback function and handle IAX text event
Clément de l'Hamaide [Tue, 27 Aug 2013 18:23:14 +0000 (20:23 +0200)]
FGCom: Add a different max range for ground and tower frequencies
James Turner [Mon, 26 Aug 2013 21:21:55 +0000 (22:21 +0100)]
Fix Mac data dir finding.
Mostly affects release builds, ensure data dir located within
the bundle is found correctly.
Clément de l'Hamaide [Sat, 24 Aug 2013 15:51:03 +0000 (17:51 +0200)]
Clean FGCom logging and fix IAX input level
Clément de l'Hamaide [Thu, 22 Aug 2013 12:12:06 +0000 (14:12 +0200)]
Fix segFault on reset by checking IAX has been initialized
Clément de l'Hamaide [Wed, 21 Aug 2013 18:24:07 +0000 (20:24 +0200)]
FGCom: Should fix continous mic ON by checking state in main loop instead of listener
James Turner [Mon, 19 Aug 2013 17:21:51 +0000 (18:21 +0100)]
Fix crash on exit when FGCom is not being used.
Clément de l'Hamaide [Mon, 19 Aug 2013 14:08:29 +0000 (16:08 +0200)]
Fix range calculation for special frequencies
Range for special freq was computed with previous freq, now they are always in range
Use a global variable (_currentFreqKhz) in order to avoid a <static_cast> in main loop; now it's only on frequency change
Fix a .size() > 0 for !.empty()
f-jjth [Mon, 19 Aug 2013 12:36:13 +0000 (14:36 +0200)]
Improve OpenAL driver for IAXClient
Abort OpenAL initialization if input device are not found in this way we don't create and merge new OpenAL context with SGSoundMgr
Close OpenAL context and input device when FG is stopped
Tom Paoletti [Fri, 22 Mar 2013 02:43:14 +0000 (19:43 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
Tom Paoletti [Fri, 22 Mar 2013 02:43:03 +0000 (19:43 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
Tom Paoletti [Fri, 22 Mar 2013 02:42:22 +0000 (19:42 -0700)]
Performance optimization: empty() instead of size()>0
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
PlutoniumHeart [Sun, 18 Aug 2013 10:20:35 +0000 (03:20 -0700)]
winpoop.h seriously?
f-jjth [Sun, 19 May 2013 14:29:49 +0000 (16:29 +0200)]
FGCom integrated into FlightGear.
Disabled by default at build time.
James Turner [Wed, 7 Aug 2013 15:30:20 +0000 (16:30 +0100)]
Fix horizon sunrise/sunset effect position.
Fix sun position in default renderer. (Committing fix
provided after discussion on IRC + forum, no bug ID)
James Turner [Mon, 29 Jul 2013 21:59:45 +0000 (22:59 +0100)]
Remove unnecessary includes/using
flight.hxx (FGInterface) was pulling in list, string and vector, and
'using' them, despite no actual need.
James Turner [Mon, 29 Jul 2013 21:54:25 +0000 (22:54 +0100)]
Assume OSG version 3.0 as a minimum
James Turner [Mon, 29 Jul 2013 21:15:23 +0000 (22:15 +0100)]
Kill some defunct uses of side-slip property.
Thomas Geymayer [Sat, 27 Jul 2013 20:15:27 +0000 (22:15 +0200)]
Canvas GUI: don't crash if enable decoration on window without content canvas
James Turner [Fri, 5 Jul 2013 13:36:58 +0000 (14:36 +0100)]
Couple more unused private vars killed off.
Thomas Geymayer [Fri, 26 Jul 2013 21:58:41 +0000 (23:58 +0200)]
Canvas window: separate handling of content-size and overall size.
Thomas Geymayer [Fri, 26 Jul 2013 21:48:13 +0000 (23:48 +0200)]
Canvas window: increase drag accuracy.
Thomas Geymayer [Fri, 26 Jul 2013 21:42:31 +0000 (23:42 +0200)]
Canvas GUI: fix updating canvas on window with decoration.
Thomas Geymayer [Wed, 24 Jul 2013 23:14:23 +0000 (01:14 +0200)]
Canvas GUI: check for window on handling mouse events.
Thomas Geymayer [Wed, 24 Jul 2013 22:57:49 +0000 (00:57 +0200)]
Expose canvas GUI "desktop" to Nasal.
- Restructure GUIMgr and move most parts to implementation class.
- Expose new (simgear::canvas::Group based) DesktopGroup class
to Nasal.
James Turner [Wed, 24 Jul 2013 07:53:55 +0000 (08:53 +0100)]
Bug #1166, slow POI parsing.
Various tweaks and changes to make it easier to evaluate changes
to the rebuild code. No smoking gun found yet.
James Turner [Wed, 24 Jul 2013 07:52:59 +0000 (08:52 +0100)]
Bug #1166, tweaking POI.dat parsing.
(Doesn't fix the bug alas, but slightly cleaner)
James Turner [Wed, 24 Jul 2013 07:51:35 +0000 (08:51 +0100)]
Additional checks, for waypoint role setting.
Added these while investigating a defect, which unfortunately still
remains elusive. But the checks are wise anyway.
James Turner [Mon, 22 Jul 2013 17:11:07 +0000 (18:11 +0100)]
Ignore SGGeod altitude when creating BasicWaypt.
This logic was only ever causing bad values, all callers which care
about an altitude restriction were setting one explicitly. Thanks to
Curt for spotting it.
James Turner [Thu, 18 Jul 2013 11:01:36 +0000 (12:01 +0100)]
Fix native protocol crashes.
As part of this, kill off the evil global FDM state, and avoid us
copying FGInterfaces (which is bad since it contains TiedProperties
and an FGGroundCache, neither of which are especially keen on being
copied). Will probably disable copy/assignment on TiedProperties in
a future commit.
Gijs de Rooy [Mon, 15 Jul 2013 19:47:14 +0000 (21:47 +0200)]
Suggest NVIDIA Optimus to use the high-end GPU.
hof [Sun, 14 Jul 2013 18:49:04 +0000 (14:49 -0400)]
Add libdl to FLTK_LIBRARIES when the system supports it. Required for libfltk1.3.
James Turner [Wed, 17 Jul 2013 19:29:38 +0000 (20:29 +0100)]
Bump version on development trunk.
James Turner [Wed, 17 Jul 2013 19:26:34 +0000 (20:26 +0100)]
Work-around for bug 1134, crash with flightplans.
When the active waypoint is deleted, and we can't offset the waypoint,
simply switch to the inactive waypoint. This is not ideal but avoids
the crash.
Thomas Geymayer [Mon, 15 Jul 2013 20:26:51 +0000 (22:26 +0200)]
Expose String::ends_with to Nasal
Thomas Geymayer [Thu, 4 Jul 2013 21:07:10 +0000 (23:07 +0200)]
Fix warnings identified by gcc.
James Turner [Thu, 4 Jul 2013 19:56:04 +0000 (20:56 +0100)]
More unused vars caught by Xcode.
James Turner [Thu, 4 Jul 2013 19:24:56 +0000 (20:24 +0100)]
Fix unused private vars.
Xcode is warning about these, they're a mixture of
copy-pasted code, evolved use (e.g. using a property
node to store state), and so on.
Thomas Geymayer [Thu, 4 Jul 2013 12:29:18 +0000 (14:29 +0200)]
FGSystemMgr: Do not quit on unknown system.
Showing a warning should be enough...
James Turner [Thu, 4 Jul 2013 09:29:58 +0000 (10:29 +0100)]
Remove a debug message.
James Turner [Thu, 4 Jul 2013 09:29:47 +0000 (10:29 +0100)]
Bug 1137, handle single-digit runways.
rwyprefs.xml sometimes specify runways without a leading '0', which
confuses the ident lookup. Print a message, and fix up such idents at
load time, so '8' -> '08', '3L' -> '03L' which matches our internal
scheme.
James Turner [Wed, 3 Jul 2013 23:11:40 +0000 (00:11 +0100)]
Bug 1153, guard against no current waypoint.
This is a work-around, probably indicates some glitch in the traffic
module flight-plans. Avoid a crash, also refine the exception logic
so individual AI objects can fail.
Thomas Geymayer [Wed, 3 Jul 2013 22:55:58 +0000 (00:55 +0200)]
Canvas Event: expose currentTarget to Nasal.
James Turner [Wed, 3 Jul 2013 07:57:48 +0000 (08:57 +0100)]
Fix bug 864 - moving the 2D panel around.
Bounding box wasn't being dirtied when changing the transform,
breaking picking visitor for the panel. Add listeners to the relevant
props so we can tell OSG when the panel transform changes.
James Turner [Sun, 30 Jun 2013 15:48:14 +0000 (16:48 +0100)]
Speculative fix for bug 1149, AI traffic on helipads.
Avoid helipads when doing runway choice fallback.
http://code.google.com/p/flightgear-bugs/issues/detail?id=1149
James Turner [Sun, 30 Jun 2013 15:41:05 +0000 (16:41 +0100)]
Bug 550 / 454 work (not yet fully fixed)
Adding a spherical projection mode which will work at the poles and
+180/-180 line correctly. Not yet enabled since it has other issues to
be addressed.
Thomas Geymayer [Sat, 29 Jun 2013 12:35:56 +0000 (14:35 +0200)]
Canvas GUI: send mouseleave after mouseup outside original window
Torsten Dreyer [Fri, 28 Jun 2013 10:10:16 +0000 (12:10 +0200)]
Bump version number to 2.12.0
James Turner [Fri, 28 Jun 2013 09:07:39 +0000 (10:07 +0100)]
Kill off some unnecessary log messages.
James Turner [Thu, 27 Jun 2013 08:37:06 +0000 (09:37 +0100)]
Namespace fixes for std::string
James Turner [Tue, 25 Jun 2013 20:53:19 +0000 (21:53 +0100)]
Kill off timestamp warning for the NavCache
This check is no longer needed, and causes console output when
using the joystick config editing GUI, which worries users.
http://code.google.com/p/flightgear-bugs/issues/detail?id=969
James Turner [Tue, 25 Jun 2013 20:47:51 +0000 (21:47 +0100)]
Bug http://code.google.com/p/flightgear-bugs/issues/detail?id=1077
Fix rotation rate of UFO to compensate for large
dead-band value. (makes small rotational speeds
possible, yay). Patch by Jean Pellotier
James Turner [Tue, 25 Jun 2013 20:28:56 +0000 (21:28 +0100)]
Bug 947, menu item state wrong after reset.
Mark the entire /sim/menubar tree as PRESERVED, so reset doesn't
mess up all the state.
Thomas Geymayer [Sat, 22 Jun 2013 15:06:34 +0000 (17:06 +0200)]
Preserve current view on reset/reinit/reposition
James Turner [Sat, 22 Jun 2013 13:37:33 +0000 (14:37 +0100)]
Restrict sky-clouds group, avoids skydome picks.
James Turner [Sat, 22 Jun 2013 13:36:11 +0000 (14:36 +0100)]
GUI picks only traverse nodes with PICK_BIT set.
(Which is all nodes except those which explicitly opt out,
such as lights, skydome, for the moment)
James Turner [Sat, 22 Jun 2013 13:34:03 +0000 (14:34 +0100)]
Object names for more scene-graph nodes.
Thomas Geymayer [Fri, 21 Jun 2013 19:59:58 +0000 (21:59 +0200)]
Fix cursor hide timeout if hovering on canvas windows
Thomas Geymayer [Fri, 21 Jun 2013 18:52:16 +0000 (20:52 +0200)]
Fix Mac build for tools (fgjs, etc.)
James Turner [Fri, 21 Jun 2013 17:39:16 +0000 (18:39 +0100)]
Fix warnings identified by updated XCode.
Mostly unused private vars, for various reasons.
Thomas Geymayer [Fri, 21 Jun 2013 15:42:16 +0000 (17:42 +0200)]
Canvas GUI: preserve window size on reinit
hooray [Sun, 26 May 2013 12:43:53 +0000 (14:43 +0200)]
expose HLA/RTI availability to property tree - for use in about dialog
James Turner [Wed, 19 Jun 2013 23:24:33 +0000 (00:24 +0100)]
Issue #631, reset scenarios on sim-reset
James Turner [Wed, 19 Jun 2013 23:20:12 +0000 (00:20 +0100)]
Kill off platformDesktopPath entirely
James Turner [Wed, 19 Jun 2013 23:03:36 +0000 (00:03 +0100)]
Simplify logic now SGPath::desktop works on Windows.
Thomas Geymayer [Tue, 18 Jun 2013 17:58:28 +0000 (19:58 +0200)]
Revert "Autopilot: Optionally write (internal) state to property tree"
This reverts commit
91ae41f9ef5139b7bb9595a67f986dbe2b10be4a .
We do not need this as outputs already are written to the property
tree and most intermediate values can easily be calculated
manually.
Thomas Geymayer [Mon, 17 Jun 2013 21:19:46 +0000 (23:19 +0200)]
Autopilot: Optionally write (internal) state to property tree
This can be useful eg. for plotting autopilot response
with the Canvas.
James Turner [Mon, 17 Jun 2013 17:11:47 +0000 (18:11 +0100)]
Fix issues with explicit GPS instruments.
For 2.12, ensure all GPS instruments are backwards
compatible, however they were requested. Post release we can create a new instrument name with the compatibility code disabled.
James Turner [Sun, 16 Jun 2013 21:21:41 +0000 (22:21 +0100)]
GPS: work around aircraft with missing power.
This restores compatibility with 2.10 and previous versions,
where even explicit (non default) GPS ignores power requirements.
James Turner [Sun, 16 Jun 2013 16:44:08 +0000 (17:44 +0100)]
Create FG_HOME if not found