James Turner
1b3c048363
New version : 2018.3.4
version/2018.3.4
2019-08-07 09:58:45 +01:00
Dan Wickstrom
01f689a0e4
Aircraft model reinit deletes sound effect samples, but leaves them defined in the sample group, so a reload doesn't re-add them.
2019-07-30 16:36:49 +01:00
Scott Giese
b155f2e40f
[soundmgr_openal] Pause/Resume Sound.
...
The following changes fixes a case for me where I hear the sound change levels up and down for each pause un-pause cycle.
Patch provided by daniel.c.wickstrom@gmail.com .
2019-07-30 16:36:49 +01:00
Tim Moore
10ab8b830a
nasal/lib.c: Make copy of va_list for each traversal
...
It's not portable to traverse a va_list more than once.
2019-07-30 16:36:49 +01:00
James Turner
8a4871db83
Improve HTTP redirect handling, and add test.
...
Ensure we get the final status code for the request after redirecting.
2019-07-30 16:36:49 +01:00
Torsten Dreyer
9a8c10cb0b
New version: 2018.3.3
version/2018.3.3
2019-07-28 22:43:16 +02:00
Erik Hofman
fd32023437
Do not attempt to deregister the same emitter more than once
2019-01-26 10:17:11 +01:00
Erik Hofman
c1ee4a9172
Use AAX_PROCESSED since AAX_STOPPED is only a request to stop but the library decides when it is actually stopped. And AeonWave has become more picky about destroying emitters which aren't completely processed yet since MIDI support was added.
2019-01-26 10:16:38 +01:00
Richard Harrison
a5b32f8eb2
Fix for deleting referenced object from model registry
...
This should have been in the previous commit - However I managed to mess up the merging of this module due to other changes related to the DDS texture cache.
2019-01-25 21:39:03 +00:00
Richard Harrison
4a86368c8f
Fix null ref during load.
...
This happened a few times
2019-01-25 21:39:03 +00:00
Richard Harrison
3730cc48a5
Fix particles active even when disabled during load.
...
Possibly this could be fixed better by using the plugin string data - but there is nothing that currently set this; and it seems easier to use the particle callback enabled flag.
2019-01-25 21:39:03 +00:00
Richard Harrison
8a55c2f44f
Fix for deleting still referenced object
...
ref https://sourceforge.net/p/flightgear/codetickets/2105/
Use the thread safe versions (getRef) of the objectcache methods
2019-01-25 21:39:03 +00:00
Erik Hofman
ef1cbae22b
Split up SIMD support in ENABLE_SIMD which enables sse2 support for the compiler and ENABLE_SIMD_CODE which enables the hand crafted SIMD math functions which defaults to OFF now since compilers have catched up on generating optimized vectorized SIMD code.
2019-01-15 11:01:24 +01:00
James Turner
61f322f201
Bump patch version to 2018.3.2
2019-01-06 16:14:10 +00:00
Stuart Buchanan
becbef96f5
Fix effects for MP models - ticket 2076
...
https://sourceforge.net/p/flightgear/codetickets/2076/
Effects were being instantiated by the loader for
all models, rather than just simple .ac/.obj models.
2018-11-06 17:44:06 +00:00
James Turner
89b3fadf0f
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:30:32 +01:00
James Turner
4a1a9ea9c1
Catalogs: allow migration to alternate IDs
2018-10-17 16:24:26 +01:00
James Turner
efc609577f
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-17 16:24:20 +01:00
James Turner
6ffc501566
Mac: Set CMake OS-X deployment target correctly
...
Also raises the OS-X min version to 10.9 for libc++ compat
2018-10-17 16:24:15 +01:00
James Turner
9785cadbd0
Fix a debug message left in the terrasync code
2018-10-05 10:41:39 +01: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