]>
git.mxchange.org Git - flightgear.git/log
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
Thomas Geymayer [Fri, 14 Jun 2013 18:19:52 +0000 (20:19 +0200)]
Canvas GUI: refactor and simplify based on canvas::Group
James Turner [Wed, 12 Jun 2013 20:12:31 +0000 (22:12 +0200)]
Fix JPEG-factory build
Anders Gidenstam [Tue, 11 Jun 2013 20:13:16 +0000 (22:13 +0200)]
src/FDM/JSBSim/models/FGPropagate.{h,cpp}: Do not return reference to local.
Anders Gidenstam [Tue, 11 Jun 2013 20:06:35 +0000 (22:06 +0200)]
Synchronized with JSBSim/CVS.
Thomas Geymayer [Mon, 10 Jun 2013 19:42:53 +0000 (21:42 +0200)]
Use SGPath helpers and unescape from simgear
James Turner [Sun, 9 Jun 2013 22:47:16 +0000 (23:47 +0100)]
Fix compilation of UGear_telnet.
James Turner [Sat, 4 May 2013 09:58:22 +0000 (10:58 +0100)]
Abstraction for the user's desktop location.
James Turner [Sun, 9 Jun 2013 18:12:04 +0000 (19:12 +0100)]
Work with revised NetChannel poll() API.
James Turner [Sun, 9 Jun 2013 18:11:41 +0000 (19:11 +0100)]
TerraSync: fix dir creation.
Separate the default path logic, from the 'create if
not found' logic.
Thomas Geymayer [Sat, 8 Jun 2013 09:33:53 +0000 (11:33 +0200)]
Base canvas::Window on simgear::canvas::Image
Thomas Geymayer [Fri, 7 Jun 2013 19:48:17 +0000 (21:48 +0200)]
canvas::Window: make shadow part of decoration canvas
Thomas Geymayer [Thu, 6 Jun 2013 20:32:09 +0000 (22:32 +0200)]
Add window decoration support to Canvas GUI.
canvas::Window now optionally creates a second canvas for showing
window decoration. After setting its dimensions with the property
"decoration-border" a Nasal based window decorator should add the
required elements to the decoration canvas.
Using the properties "shadow-radius" and "shadow-inset" a drop
shadow can be added to the window.
Thomas Geymayer [Mon, 3 Jun 2013 21:43:46 +0000 (23:43 +0200)]
Expose canvas::Window ghost to Nasal.
Thomas Geymayer [Fri, 31 May 2013 17:30:48 +0000 (19:30 +0200)]
Small cleanup.
James Turner [Mon, 3 Jun 2013 15:48:40 +0000 (16:48 +0100)]
Fix for AIAircraft headings.
Nick Vatamaniuc: fix AI aircraft not updating waypoint headings when using custom flightplans.
(Commented out log-line following a non-parenthesised if() test causing problems)
James Turner [Sun, 2 Jun 2013 18:59:18 +0000 (19:59 +0100)]
Fix a couple of issues valgrind identified.
James Turner [Mon, 27 May 2013 21:56:12 +0000 (22:56 +0100)]
Restore GPS compatibility with 2.10
There's a sufficiently large installed base, that simply dropping this
API is not acceptable. A Nasal shim might be possible, but in the
interim, restore the C++ functionality.
James Turner [Mon, 27 May 2013 14:59:47 +0000 (15:59 +0100)]
Bug 1122, transponder ident.
Don't fall through to digit-decoding on ident button release.
James Turner [Sun, 26 May 2013 21:11:11 +0000 (22:11 +0100)]
Fix a FlightPlan lifetime issue.
Route-manager was explicitly deleting its FP, which was incorrect.
Switch to correct use of SGSharedPtr to refer to flight plans.
Thanks to Roland Haeder for catching this.
Thomas Geymayer [Sun, 26 May 2013 18:56:17 +0000 (20:56 +0200)]
Fix jsbsim gear location in the property tree.
Need to convert from feet to inch.
Thomas Geymayer [Mon, 20 May 2013 16:37:23 +0000 (18:37 +0200)]
Fix #1125. Correct overloads...
Thomas Geymayer [Thu, 16 May 2013 21:06:30 +0000 (23:06 +0200)]
Do not crash if event has no graphics context assigned