]>
git.mxchange.org Git - flightgear.git/log
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
Thomas Geymayer [Sun, 12 May 2013 22:37:13 +0000 (00:37 +0200)]
Canvas window: Update for SimGear MouseEvent changes.
James Turner [Sun, 12 May 2013 12:30:48 +0000 (13:30 +0100)]
Make property-cycle usable with knobs/sliders.
Add optional non-wrapping mode, and respect the 'offset' argument
which knobs and sliders set, to control direction of stepping.
James Turner [Sun, 12 May 2013 10:36:33 +0000 (11:36 +0100)]
Off-by-one spotted by Clement.
James Turner [Sat, 11 May 2013 17:35:54 +0000 (18:35 +0100)]
Altimeter node tweaks.
Fix the default name based on whether a regular altimeter or
encoder was requested, and delay creating the node until bind(), ctor
is too early.
James Turner [Sat, 11 May 2013 15:15:36 +0000 (16:15 +0100)]
Transponder instrument replaces KT-70.
Generic transponder can emulate KT-70 props. These emulated props
will likely die in the future, based on feedback from aircraft devs.
See (upcoming) Wiki docs on the transponder for more info.
f-jjth [Wed, 8 May 2013 15:34:20 +0000 (17:34 +0200)]
Improve transponder instrumentation: new version
Thomas Geymayer [Thu, 9 May 2013 23:12:19 +0000 (01:12 +0200)]
Forward simulation time to osgViewer.
Thomas Geymayer [Thu, 9 May 2013 19:34:58 +0000 (21:34 +0200)]
Allow Canvas placed on 3D objects receiving mouse events.
- Add option 'capture-events' to canvas aircraft and scenery
placements to allow events being forwarded to the respective
canvas.
- Clean up and restructure parts of the mouse event/picking
handling to support forwarding events to canvasses.
Hyde Yamakawa [Sun, 24 Mar 2013 19:23:52 +0000 (15:23 -0400)]
Fix of Issue#1084. Input for this calculation should be actual GS deviation angle. Should not be scaled value.
Thomas Geymayer [Mon, 29 Apr 2013 20:16:29 +0000 (22:16 +0200)]
Allow Canvas to also read images with absolute paths (if allowed by IOrules)
Thomas Geymayer [Mon, 29 Apr 2013 20:15:32 +0000 (22:15 +0200)]
Startup check if IOrules/fgValidatePath are working properly
Thomas Geymayer [Tue, 23 Apr 2013 22:19:03 +0000 (00:19 +0200)]
Fix crashing without support for GLSL/OpenGL 2.0
Thomas Geymayer [Sun, 14 Apr 2013 09:19:03 +0000 (11:19 +0200)]
Extend Nasal property methods to support relative paths.
All methods exposed to the Nasal props module now accept an
optional first parameter refering to another node by a relative
path.
(Thanks to Philosopher for the initial patch)
James Turner [Wed, 27 Mar 2013 20:47:40 +0000 (20:47 +0000)]
GPSs uses FlightPlans directly.
James Turner [Sat, 6 Apr 2013 16:40:28 +0000 (17:40 +0100)]
Disable POI data on Windows for the moment.
Avoid horrible startup times for Windows users. It would be good
if someone with a Windows box, debug environment and some time could
investigate further.
James Turner [Fri, 5 Apr 2013 16:20:22 +0000 (17:20 +0100)]
Non-sticky scenarios, simpler UX for everyone.
If you want a scenario in a particular session of the sim, ask for
it on the command line / config files, or enable in the GUI.
Note if you had previously 'sticky' scenarios in your autosave.xml, you
will still get them until you clean your autosave, or disable them in
the GUI.
James Turner [Tue, 2 Apr 2013 17:00:31 +0000 (18:00 +0100)]
Tweaks for run-time scenario toggling.
Thomas Geymayer [Mon, 1 Apr 2013 11:33:54 +0000 (13:33 +0200)]
Helpers to clone SGModelData
This is needed for latest SimGear to fix scene model
unload not being called
Christian Schmitt [Fri, 29 Mar 2013 19:17:27 +0000 (20:17 +0100)]
mk-viii: tweak some values (according to spec), improve bias calculation.
Should now give less unjustified "too low - terrain" messages.
James Turner [Thu, 28 Mar 2013 17:52:08 +0000 (17:52 +0000)]
Limit hover-picks to once per frame.
Hopefully fixes the observed issues on Linux when spamming
mouse-moves over a large pickable, but only testing will say for sure.
James Turner [Thu, 28 Mar 2013 16:50:55 +0000 (16:50 +0000)]
Allow scenarios to have load/unload scripts.
This makes it possible for the balloons scenario (for example) to
work correctly with dynamic loading and unloading.
James Turner [Thu, 28 Mar 2013 16:49:52 +0000 (16:49 +0000)]
std:: namespace fixes, AIBase cleanup.
Make data members in AIBase protected, and move FGAIModelData to be
a private helper in the .cxx file.
James Turner [Wed, 27 Mar 2013 23:31:22 +0000 (23:31 +0000)]
Make units of a function explicit.
James Turner [Wed, 27 Mar 2013 22:48:43 +0000 (22:48 +0000)]
Minor cleanup of cloud commands.
James Turner [Wed, 27 Mar 2013 22:48:16 +0000 (22:48 +0000)]
Improved locale detection on Mac.
Respect the user's language selection in the system settings, and try those languages in turn. If a language is explicitly specified, try that first regardless.
Christian Schmitt [Wed, 27 Mar 2013 19:02:07 +0000 (20:02 +0100)]
Issue 1090: Adapt the mk-viii instrument code to the new internal runway scheme.
Clean up some unneeded functions as well and make use of standard simgear functions where possible.
This whole thing could need a rewrite...
Thomas Geymayer [Sat, 23 Mar 2013 11:53:17 +0000 (12:53 +0100)]
Expose pose of scenery models to Nasal load/unload scripts.
This allows Nasal code attached to scenery models access their
world position and orientation by calling _model.getPose().
Also ensure models are attached to the scenegraph before Nasal
load scripts are called. This ensures that the world position
and orientation are available upon executing the load script.
Thomas Geymayer [Thu, 21 Mar 2013 00:16:01 +0000 (01:16 +0100)]
Allow placing canvas on scenery objects.