Richard Harrison
758ab5e581
LOD ranges
...
The scenery ranges for bare and rough are now deltas, to avoid overlapping values by user error.
2018-10-30 20:12:12 +01:00
James Turner
f05ff37560
Fix for assert with empty systems
...
Empty subsystem groups didn’t set their init state correctly, leading
to an assert on post-init. Fix this and add a test for it.
https://sourceforge.net/p/flightgear/codetickets/2043/
2018-10-23 15:29:56 +01:00
Stuart Buchanan
14354090f9
Don't check for cloud movement every frame
...
Under Basic Weather, the cloudfield is finite size and clouds
are shifted as the viewpoint changes. Previously each cloud
was checked every frame to determine if it should be shifted.
Not this only occurs if the viewpoint has moved a non-trivial
distance.
Note that this is separate from the clouds moving due to the wind.
2018-10-18 22:28:39 +01:00
James Turner
0185884ca8
Catalogs: allow migration to alternate IDs
2018-10-16 09:56:56 +01:00
James Turner
46b271d75c
Packages: improve localised string support
2018-10-12 10:49:14 +01:00
James Turner
854b958797
Packages: check for existing update when scheduling
...
This is fixing an issue identified in the launcher in a secondary way,
to ensure if another user of the API tries to schedule an already
scheduled package, we ignore the second request.
2018-10-05 10:40:35 +01:00
James Turner
ff52b55a25
Mac: Set CMake OS-X deployment target correctly
...
Also raises the OS-X min version to 10.9 for libc++ compat
2018-10-01 22:28:56 +01:00
Scott Giese
69e20a3931
Bug Fix #1922 Wrong retun type
2018-09-29 18:41:00 -05:00
James Turner
05da3db2ed
Fix a debug message left in the terrasync code
2018-09-24 14:54:20 +01:00
Torsten Dreyer
6d89cc6c1d
new version: 2018.4.0
2018-09-21 17:18:46 +02:00
Torsten Dreyer
0494af48a3
new version: 2018.3.1
2018-09-21 17:18:46 +02:00
James Turner
f4cad42958
Lat-lon parsing: catch exceptions from std::stod
...
The standard library throws exceptions in some cases, catch those
and return false. Extend the test coverage for some of the problematic
cases.
2018-09-13 23:47:24 +02:00
James Turner
32189b7239
Event-manager: add dump() method for debugging
2018-09-01 18:08:32 +01:00
James Turner
c192071f03
TerraSync: improve copy-installed-files logic
2018-08-31 16:05:48 +01:00
James Turner
8c9fda9137
Fix Utf-8 literal on MSVC
2018-08-31 16:05:48 +01:00
James Turner
8dd0833993
Fix setting OPENAL_DIR on Windows
...
We need to set this in all cases, since AeonWave is requested by
default, but may not be available.
2018-08-23 19:11:50 +01:00
James Turner
306eaeaba9
Fix subsystem-remove bug
2018-08-19 12:32:30 +01:00
James Turner
7853a5329d
Extend propsfwd.hxx so it can be used in more places
2018-08-11 18:41:29 +02:00
James Turner
1fa77078fc
Subsystems: bind/init/unbind on add/remove
...
When adding/remove subsystems to a group which is already bound or
inited, transition the subsystem automatically. This removes the
need to manually transition the subsystem in various places in
Flightgear.
2018-08-11 18:41:04 +02:00
James Turner
8e8ce04e18
Subsystems: default name to group name when adding
2018-08-11 18:16:33 +02:00
James Turner
264779e1d3
Packages: fix download progress
...
(Broke it when improving zip/tar support)
2018-08-08 11:12:53 +02:00
James Turner
6f505f3a76
formatGeodAsString: add ICAO route format
2018-07-30 10:08:34 +02:00
Edward d'Auvergne
3817bdd602
NotifyLogger: Shifted the class from flightgear to simgear.
...
This is to allow the code to be reused in the flightgear test suite.
2018-07-26 20:48:12 +02:00
Edward d'Auvergne
2c9420d9bc
Logstream: Added a logging class for outputting messages in headless mode.
2018-07-26 20:48:12 +02:00
James Turner
2e3cace7f9
Canvas::path: early return for descendant changes
...
The ‘rect’ attributes of Path were before the early-return when the
change is for a descendant node.
2018-07-24 13:13:08 +01:00
James Turner
9553a604ac
Cache parsed lat/lon values in Canvas::Map
...
This avoids re-parsing each lat/lon in the map from a string, each
time the project changes
2018-07-24 13:13:08 +01:00
James Turner
f1e1bf11b6
Cache x/y nodes in Canvas::Map::GeoPair
...
This removes a bad CPU hit when Canvas map is used continuously,
since this is two named property lookups per map coord per frame
2018-07-24 13:13:08 +01:00
James Turner
f77724a646
Fix terrasync hash persistence
2018-07-19 07:40:23 +01:00
James Turner
a0c4913f84
Fix .dirindex preservation on Windows
...
Ensure we don't treat the special files as regular children
when updating.
2018-07-18 16:30:44 +01:00
James Turner
3dfce43de2
Fixes to HTTP repo tests on Windows.
...
Large alloca fails, and SGFIle dtor doesn't close the handle,
which breaks _wunlink on Windows :(
2018-07-18 07:20:18 +01:00
Erik Hofman
0e9e5f77cc
It turns out the 16-bit version was not introduced until gcc-4.8
2018-07-05 10:29:03 +02:00
James Turner
f2f465960b
Tar code: handle symlink and PAX extensions
...
This now accepts the GitLab .tgz archives without problems, eg
the Tu-144.
2018-07-04 23:47:14 +01:00
James Turner
05d8ab3000
Fix Windows build
...
Clean out legacy crap from stdint.h while we're here
2018-07-04 14:08:57 +01:00
James Turner
126f69434b
Refactor untar/unzip code
...
This is to enable reuse in more places, especially scenery extraction and TerraSync
2018-07-04 10:32:09 +01:00
Erik Hofman
3e081ae869
Use CPU optimized versions of endian swap functions when available
2018-07-04 09:35:45 +02:00
Erik Hofman
4e8df9dcc8
Remove a bunch og gcc-8 warnings
2018-07-04 09:33:32 +02:00
James Turner
d7a413d5e7
Lat-lon parsing: allow lon,lat order, and detect order
...
Flightplan/route-manager defaults to lon,lat order. Allow the parser
to detect the correct order when NSEW suffixes are provided and
consistent.
2018-06-29 13:28:02 +01:00
James Turner
609ac93c10
Lat-lon parsing: accept lower case NSEW, fix precision
...
Thanks to Wkitty for catching both problems.
2018-06-28 22:43:30 +01:00
James Turner
b1d6a41c65
Fix a bug in lat-lon parsing - accept ‘*’
...
Previously, trailing * symbols confused the parser.
2018-06-27 14:29:45 +01:00
James Turner
a4e2fdfad2
Merge /u/scttgs0/simgear/ branch to-be-merged into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/46/
2018-06-24 20:07:40 +00:00
James Turner
22c2971c3c
Lat-lon formatting: support nice degree symbols
...
Allow Latin-1 (for PUI fnt) and UTF-8 (for Qt, osgText and everybody
else) degree symbols as well as the use of *
2018-06-24 10:30:50 +01:00
Scott Giese
123c597e01
msvc has no support plans beyond OpenMP 2.0
...
We must use a signed integral data type
2018-06-23 14:44:48 -05:00
Scott Giese
05e3c29ee4
Support Visual Studio 2017
2018-06-22 22:19:49 -05:00
James Turner
9b1444deb5
Strutils to format and parse SGGeod/lat/lon
...
Format portion is taken from code in fg_props, parsing code is my
own horrible concoction.
2018-06-20 22:00:58 +01:00
James Turner
99d30d5bb7
CMake tweak: include headers in targets
...
This improves navigation in XCode (any maybe some other tools)
2018-06-20 22:00:03 +01:00
James Turner
100bb3a571
Fix flags passed to SHGetKnownFolderPath
...
Custom folder locations were not being picked up.
Fixes: https://sourceforge.net/p/flightgear/codetickets/2019/
2018-06-15 11:08:53 +01:00
Stuart Buchanan
7fb89e4d45
Multiple LoD levels of MP Aircraft
...
Support loading multiple models into PagedLOD.
2018-06-05 21:56:36 +01:00
Stuart Buchanan
1d7c3984ca
Fix minor warning for no return value.
2018-06-05 21:55:23 +01:00
Erik Hofman
03156a6d94
Better AeoNWave detection
2018-06-05 09:39:51 +02:00
Erik Hofman
08258ee4b3
Detect AeonWave and if it is installed use it, otherwise fall back to OpenAL. Also let get_available_devices() use C++ strings instead of const char*
2018-06-02 14:06:15 +02:00