]>
git.mxchange.org Git - flightgear.git/log
James Turner [Thu, 13 Nov 2014 15:15:52 +0000 (15:15 +0000)]
FreeBSD fixes.
From:
http://svnweb.freebsd.org/ports/head/games/flightgear/files/
James Turner [Wed, 22 Oct 2014 20:05:01 +0000 (21:05 +0100)]
Move all tile-manager init to reinit path.
- improves changing scenery paths at runtime.
James Turner [Wed, 22 Oct 2014 20:04:25 +0000 (21:04 +0100)]
Remove obsolete #define
Torsten Dreyer [Tue, 11 Nov 2014 07:59:41 +0000 (08:59 +0100)]
httpd: some code cleanup for JsonUriHandler.
no functional change
Torsten Dreyer [Mon, 10 Nov 2014 13:23:12 +0000 (14:23 +0100)]
Allow property set on the /json/ uri handler
Torsten Dreyer [Sat, 11 Oct 2014 18:23:13 +0000 (20:23 +0200)]
Allow input systems to be disabled
To avoid trouble when running multiple instances on one machine, disable
e.g. joystick input for second instance by
--prop:bool:/sim/input/no-joystick-input=true
Also allowed:
--prop:bool:/sim/input/no-event-input=true
--prop:bool:/sim/input/no-mouse-input=true
--prop:bool:/sim/input/no-keyboard-input=true
Torsten Dreyer [Thu, 6 Nov 2014 21:21:22 +0000 (22:21 +0100)]
httpd: upgrade to latest mongoose 5.5
Torsten Dreyer [Tue, 4 Nov 2014 21:21:44 +0000 (22:21 +0100)]
Fix #1579: Handle special characters in html property browser
Torsten Dreyer [Tue, 21 Oct 2014 08:44:55 +0000 (10:44 +0200)]
Precipitation updates from ThorstenR
required SimGear commit
75271c44a82ae0fb1ff9c91e93a12fa8b10099fd
Since the consensus seems to be that the precipitation clipping issue is with the panel code, attached is my proposed update for the precipitation system in SG and FG
* without corresponding control structures in FGData it falls back to default, except I have fixed an inconsistency in freezing behavior - previously rain changed suddenly to snow when the temperature dropped below zero, but the reverse transition was dragged out and gave odd visible motion with the wind as snow gradually changed back to rain with the particle speed not well defined. Now both transitions are sudden. And I see no more particles flow against the wind
* with
<!-- definitions for the detailed precipitation manager -->
<precipitation-control>
<rain-droplet-size type="float" userarchive="n">0.015</rain-droplet-size>
<snow-flake-size type="float" userarchive="n">0.03</snow-flake-size>
<detailed-precipitation type="bool" userarchive="n">false</detailed-precipitation>
<illumination type="float" userarchive="n">1.0</illumination>
<clip-distance type="float" userarchive="n">5.0</clip-distance>
</precipitation-control>
added to Environment/environment.xml, the new system allows to switch more detailed management on. This provides
* explicit setting of rain droplet size and snow flake size by the weather system
* automatic sqrt(r) scaling of the vertical speed of raindrops
* automatic transition to snow when freezing for small droplets but hail for large droplet sizes (looks like snow, but has different particle dynamics)
* an illumination scaling factor to dim the precipitating based on the light we have in the scene (I still need to devise a property rule to set this automatically)
The clip distance is also exposed now and considered at startup of the system - might be useful for e.g. airships when the gas bag provides rain cover (?) or to be simply off for open airplanes
bcoconni [Sun, 19 Oct 2014 17:05:30 +0000 (19:05 +0200)]
Fixed the initial conditions settings where the altitude passed by FG to JSBSim is geodetic instead of geocentric.
Torsten Dreyer [Thu, 16 Oct 2014 11:09:43 +0000 (13:09 +0200)]
httpd: expose airport id to geojson properties
Raphael Dümig [Wed, 8 Oct 2014 12:36:39 +0000 (14:36 +0200)]
replaced the outdated bash completion script with a completely rewritten version
The new script is documented in the flightgear wiki (see "bash completion") and adds functionality such as advanced detection of FG_ROOT and other paths, and many completions not available before.
The list of possible command line options is automatically generated from "fgfs --help --verbose".
The author of the original script (mfranz) has agreed to replace this script.
radi [Mon, 6 Oct 2014 09:23:27 +0000 (11:23 +0200)]
add command line option --expire to fgelev, overriding the hardcoded
default of 10 if given.
This improves performance _a lot_ if massively probing across
a bucket border as it prevents constant terrain unloading/reloading.
Thomas Geymayer [Fri, 3 Oct 2014 10:40:07 +0000 (12:40 +0200)]
Fix updating ADF ident if getting in range after being out of range.
Torsten Dreyer [Thu, 2 Oct 2014 09:33:45 +0000 (11:33 +0200)]
Remove --jpg-httpd option
the original implementation of a screenshot server is now
replaced by the mongoose httpd /screenshot URI which provides
more features.
Torsten Dreyer [Thu, 2 Oct 2014 09:13:12 +0000 (11:13 +0200)]
httpd: fix mjpeg encoding
Torsten Dreyer [Wed, 24 Sep 2014 18:50:10 +0000 (20:50 +0200)]
Fix (1st try) absolute paths for httpd url_rewrites
Thanks to Alan Teeder for guiding me into the right direction
Torsten Dreyer [Wed, 24 Sep 2014 15:40:04 +0000 (17:40 +0200)]
Some debug stuff for the mongoose httpd
- add a config-dump on log-level=info
- add an access-log option
use --prop:string:/sim/http/options/access-log-file="/path/to/access.log"
Torsten Dreyer [Sun, 21 Sep 2014 20:29:10 +0000 (22:29 +0200)]
httpd: fix log message typos
no functional change
Clément de l'Hamaide [Sun, 21 Sep 2014 20:08:57 +0000 (22:08 +0200)]
Improve <usage> tag feature
- Introduce a new LOD: ai-interior
- Load a <model> with <usage>interior</usage> on-demand
- Avoid to load the cockpit of players in MP
- Default LOD is 0.0 - 50.0 meters
Torsten Dreyer [Fri, 19 Sep 2014 23:48:32 +0000 (01:48 +0200)]
Allow user defined mime types for the internal httpd
Thomas Geymayer [Fri, 19 Sep 2014 16:21:42 +0000 (18:21 +0200)]
Nasal: move IOrules check to better place and exit on failure.
Thomas Geymayer [Thu, 18 Sep 2014 08:38:29 +0000 (10:38 +0200)]
Skydome ends lower with default rendering scheme.
Thomas Geymayer [Wed, 17 Sep 2014 22:16:09 +0000 (00:16 +0200)]
Use black clear color only at high altitudes.
Black clear color can cause visual glitches on low
altitudes, but a black space is much nicer, so just
switch at 300.000 ft.
Torsten Dreyer [Wed, 17 Sep 2014 20:38:40 +0000 (22:38 +0200)]
Load a flight recorder tape from the command line
Adds new option --load-tape=foobar to load a flight recorder
tape from the command line. Loads foobar.fgtape from the
directory specified in /sim/replay/tape-directory and starts
replay.
Thomas Geymayer [Wed, 17 Sep 2014 10:14:42 +0000 (12:14 +0200)]
Black sky for orbital flights outside skybox.
as suggested by Thorsten and Lauri.
Torsten Dreyer [Mon, 15 Sep 2014 08:54:00 +0000 (10:54 +0200)]
httpd: downgrade log message
Torsten Dreyer [Fri, 12 Sep 2014 20:58:30 +0000 (22:58 +0200)]
Expose the running-state of the internal webserver
Torsten Dreyer [Wed, 10 Sep 2014 20:43:06 +0000 (22:43 +0200)]
httpd: expose the aircraft dir to the web server
add a (currently) hard coded url rewrite to access the
currently used aircraft by
http://localhost:8080/aircraft-dir/
Torsten Dreyer [Wed, 10 Sep 2014 19:07:57 +0000 (21:07 +0200)]
Optionally disable the lowpass for the static system
the static system has an optional "tau" parameter to
define the rate at which the output value changes.
Setting this value to zero now disables the filter.
This prevents wrong airspeed indications on rapid
altitude changes. No functional changes if tau has
other-than-zero values (e.g. the default systems).
Torsten Dreyer [Tue, 2 Sep 2014 15:10:09 +0000 (17:10 +0200)]
Fix comm radio frequency range
Thanks to Richard Senior
Thomas Geymayer [Mon, 25 Aug 2014 19:52:30 +0000 (21:52 +0200)]
Canvas: expose set/clearFocusElement to Nasal.
Torsten Dreyer [Mon, 25 Aug 2014 19:40:12 +0000 (21:40 +0200)]
Expose total-fuel-m3 to the tank properties
Thomas Geymayer [Sat, 23 Aug 2014 14:06:33 +0000 (16:06 +0200)]
canvas::Text: expose more text/cursor methods to Nasal.
Clément de l'Hamaide [Wed, 20 Aug 2014 03:40:55 +0000 (05:40 +0200)]
Win nightly: add OpenRTI dll
Clément de l'Hamaide [Tue, 19 Aug 2014 20:22:06 +0000 (22:22 +0200)]
Win nightly: update for the new FGCom standalone
Clément de l'Hamaide [Tue, 19 Aug 2014 19:04:50 +0000 (21:04 +0200)]
Use old bmp until a nice one comes later
Clément de l'Hamaide [Tue, 19 Aug 2014 19:04:42 +0000 (21:04 +0200)]
Remove unecessary Windows files
Clément de l'Hamaide [Tue, 19 Aug 2014 18:46:42 +0000 (20:46 +0200)]
New FGCom standalone re-wrote from scratch
- positions.txt and special.txt are integrated in the binary
- Reduce CPU load
- New mode: OBS for listening a frequency
- Source code ready to be used with another library
- Support for COM1 and COM2
- Fix bug where frequencies conflict avoid switching between similar frequency in range
- Better logging information and debug information
- Range depends on altitude
Torsten Dreyer [Mon, 18 Aug 2014 22:01:08 +0000 (00:01 +0200)]
Expose the vertical flight path as a property
write the vertical flight path to /orientation/path-deg
zero means level flight, positive angles climb
Also use SGD_DEGREES_TO_RADIANS (and vice versa) for double computations
instead of the float constants
Clément de l'Hamaide [Mon, 18 Aug 2014 18:06:37 +0000 (20:06 +0200)]
Win-nightly: new script for generating Windows nightly
Torsten Dreyer [Sun, 17 Aug 2014 20:36:19 +0000 (22:36 +0200)]
Quick and dirty repair of linux build with RTI enabled
Thomas Geymayer [Tue, 12 Aug 2014 15:57:01 +0000 (17:57 +0200)]
Expose canvas::Element::setFocus to Nasal.
Thomas Geymayer [Sun, 10 Aug 2014 22:31:18 +0000 (00:31 +0200)]
Nasal Timer: prevent warning on restarting oneshot timer in callback.
Thomas Geymayer [Sun, 10 Aug 2014 22:28:43 +0000 (00:28 +0200)]
Canvas: generate keypress event for text input.
Thomas Geymayer [Sun, 10 Aug 2014 22:23:10 +0000 (00:23 +0200)]
Canvas: support for pointer grab.
Stuart Buchanan [Sat, 9 Aug 2014 19:43:34 +0000 (20:43 +0100)]
New materials.xml format
bcoconni [Sat, 9 Aug 2014 18:02:44 +0000 (20:02 +0200)]
Fixed a bug where the rate_limit was ignored if it was set by a property.
Thomas Geymayer [Sat, 9 Aug 2014 17:13:39 +0000 (19:13 +0200)]
Update for OpenSceneGraph 3.3.2 API changes.
Thomas Geymayer [Mon, 4 Aug 2014 22:19:40 +0000 (00:19 +0200)]
Canvas: expose layout contents margins and alignment to Nasal.
bcoconni [Sun, 3 Aug 2014 11:59:30 +0000 (13:59 +0200)]
Bug fix for the issue #1497. JSBSim calculations of geodetic coordinates were producing a NaN at the North and South poles (i.e latitude +/-90deg).
Clément de l'Hamaide [Sat, 2 Aug 2014 18:47:08 +0000 (20:47 +0200)]
Win-nightly fixes
Win64-nightly: add CrashReporter
Win32/64-nightly: remove outdated option + set fgdata dir
Thomas Geymayer [Wed, 30 Jul 2014 21:54:04 +0000 (23:54 +0200)]
Do not assume there is a mouse mode with index 3.
Thomas Geymayer [Wed, 30 Jul 2014 21:53:16 +0000 (23:53 +0200)]
Better fallback for missing menu and splash translations.
Thomas Geymayer [Wed, 30 Jul 2014 15:17:24 +0000 (17:17 +0200)]
Canvas: export preventDefault to Nasal and use to stop events on DesktopGroup.
Thomas Geymayer [Wed, 30 Jul 2014 10:47:33 +0000 (12:47 +0200)]
CMake: add UTF8-CPP to SimGear include directories.
Thomas Geymayer [Tue, 29 Jul 2014 22:00:03 +0000 (00:00 +0200)]
Canvas: Keyboard events and input focus.
Also allow events on desktop group if no window is receiving
events. Currently it is not possible to prevent events handled
by the desktop group to further propagate (eg. to normal
control input).
Thomas Geymayer [Sun, 20 Jul 2014 22:27:20 +0000 (00:27 +0200)]
Nasal: expose LayoutItem visibility methods.
Thomas Geymayer [Sun, 20 Jul 2014 22:26:54 +0000 (00:26 +0200)]
Nasal: update for simgear changes.
bcoconni [Fri, 18 Jul 2014 22:23:41 +0000 (00:23 +0200)]
Fixed the erratic behavior of <actuator> when rate_limit is read from a property. See more details about the bug in the issue #1503 in FlightGear bug tracker.
Torsten Dreyer [Thu, 17 Jul 2014 12:55:33 +0000 (14:55 +0200)]
New Version: 3.3.0
bcoconni [Wed, 16 Jul 2014 23:11:09 +0000 (01:11 +0200)]
Fix for the bug reported in the FlightGear 1503
Torsten Dreyer [Wed, 16 Jul 2014 12:58:34 +0000 (14:58 +0200)]
New Version: 3.2.0
Thomas Geymayer [Wed, 16 Jul 2014 17:25:14 +0000 (19:25 +0200)]
canvas.Layout: expose missing methods to Nasal.
Thomas Geymayer [Sat, 12 Jul 2014 09:54:47 +0000 (11:54 +0200)]
AIShip: remove duplicate property tie.
Thomas Geymayer [Fri, 11 Jul 2014 23:17:35 +0000 (01:17 +0200)]
subsystemFactor: name fixing (use same as in fg_init.cxx) and cleanup.
Thomas Geymayer [Fri, 11 Jul 2014 17:25:26 +0000 (19:25 +0200)]
Fix subsystemFactory name fdm -> flight (Thanks to Hooray).
Thomas Geymayer [Mon, 30 Jun 2014 16:15:31 +0000 (18:15 +0200)]
pkg: retrieve existing install (or register callback).
James Turner [Sun, 29 Jun 2014 20:45:18 +0000 (21:45 +0100)]
Fix polar rendering of map. (Bug #55)
Use an azimuth-equidistant projection, which handles high latitudes and
polar regions correctly. Written by Gijs de Rooy.
Thomas Geymayer [Thu, 26 Jun 2014 16:26:43 +0000 (18:26 +0200)]
Nasal: expose missing Canvas::setLayout
Thomas Geymayer [Thu, 26 Jun 2014 16:09:22 +0000 (18:09 +0200)]
Nasal: Limit SGPath::create_dir access rights to 0755
Thomas Geymayer [Tue, 24 Jun 2014 07:14:57 +0000 (09:14 +0200)]
Draw Canvas GUI on top of PUI (to conform with event order).
Thomas Geymayer [Sun, 22 Jun 2014 22:42:17 +0000 (00:42 +0200)]
Fix compiler warning (naRuntimeError does not return...)
Thomas Geymayer [Sun, 22 Jun 2014 13:37:48 +0000 (15:37 +0200)]
Nasal: expose SGCondition using nasal::Ghost and improved error checking.
Thomas Geymayer [Sun, 22 Jun 2014 13:36:25 +0000 (15:36 +0200)]
Remove unused value, formatting.
Thomas Geymayer [Sat, 21 Jun 2014 12:51:34 +0000 (14:51 +0200)]
Keep (PUI) menubar visibility on gui-redraw. (Fix #1251)
For aircraft using fgcommand("gui-redraw"), which is for example
also used by gui.menuBind, the menubar was always hidden and
not shown again.
Thomas Geymayer [Thu, 19 Jun 2014 11:30:01 +0000 (13:30 +0200)]
Nasal: set CustomEvent::bubbles.
Gijs de Rooy [Thu, 19 Jun 2014 12:28:14 +0000 (14:28 +0200)]
Remove unused --control option
Thomas Geymayer [Wed, 18 Jun 2014 13:59:41 +0000 (15:59 +0200)]
Nasal: md5 is now in simgear.
Thomas Geymayer [Tue, 17 Jun 2014 20:33:53 +0000 (22:33 +0200)]
Nasal: expose md5 function.
Thomas Geymayer [Tue, 17 Jun 2014 15:02:10 +0000 (17:02 +0200)]
Nasal: expose canvas::Text::maxWidth.
Thomas Geymayer [Mon, 16 Jun 2014 21:47:05 +0000 (23:47 +0200)]
GUIMgr: prevent double init/shutdown
James Turner [Sun, 15 Jun 2014 18:10:24 +0000 (20:10 +0200)]
Pkg: initial support for Variants
- aircraft init code can deal with a variant ID
- Nasal API can return a hash with variant IDs and names
Thomas Geymayer [Sun, 15 Jun 2014 14:36:35 +0000 (16:36 +0200)]
NasalSys: process nasal::Ghost deletion queue.
Thomas Geymayer [Sun, 15 Jun 2014 14:36:02 +0000 (16:36 +0200)]
pkg: allow 'installed' as filter criterion.
Thomas Geymayer [Sat, 14 Jun 2014 11:21:28 +0000 (13:21 +0200)]
Nasal: expose canvas::Layout::clear()
bcoconni [Fri, 13 Jun 2014 22:29:39 +0000 (00:29 +0200)]
Kévin Seroux: C++11 fixes for MSVC++
Thomas Geymayer [Fri, 13 Jun 2014 17:16:26 +0000 (19:16 +0200)]
Expose parse_markdown to Nasal.
Thomas Geymayer [Fri, 13 Jun 2014 14:08:26 +0000 (16:08 +0200)]
Enable package system API
Thomas Geymayer [Thu, 12 Jun 2014 22:09:33 +0000 (00:09 +0200)]
Nasal: expose canvas height-for-width layouting methods.
James Turner [Thu, 12 Jun 2014 18:58:13 +0000 (19:58 +0100)]
Type-correct decoding of JSON to props.
James Turner [Sat, 17 May 2014 08:07:25 +0000 (09:07 +0100)]
Websocket get/set props and exec commands.
James Turner [Thu, 12 Jun 2014 16:51:19 +0000 (17:51 +0100)]
Expose package file size to Nasal.
Thomas Geymayer [Thu, 12 Jun 2014 14:38:21 +0000 (16:38 +0200)]
Fix crash (use iterator of same container for loop)
James Turner [Thu, 12 Jun 2014 12:06:01 +0000 (13:06 +0100)]
Pkg: Fix loading of non-installed aircraft.
Fallback to the normal code path when a packaged aircraft is
found, but not installed.
James Turner [Wed, 11 Jun 2014 17:41:16 +0000 (18:41 +0100)]
Pkg: nicer Nasal syntax for tags in queries.
James Turner [Wed, 11 Jun 2014 17:19:41 +0000 (18:19 +0100)]
Aircraft switching command and formal support.
- /sim/aircraft can be set to package ID, including qualified
package ID. If not matching package is found, falls back to
traditional search of fg-aircraft for -set.xml files
Thomas Geymayer [Wed, 11 Jun 2014 22:44:26 +0000 (00:44 +0200)]
Nasal: expose canvas::Layout item remove and get methods.
Thomas Geymayer [Wed, 11 Jun 2014 16:19:13 +0000 (18:19 +0200)]
Package: warn for unknown filter term and use Hash::iterator.
Thomas Geymayer [Tue, 10 Jun 2014 21:52:36 +0000 (23:52 +0200)]
pkg: Expose install callbacks to Nasal.