]> git.mxchange.org Git - simgear.git/log
simgear.git
8 years agoClean up the code a bit and combine soundmgr_openal.hxx and soundmgr_aeonwave.hxx...
Erik Hofman [Sat, 6 Aug 2016 09:24:58 +0000 (11:24 +0200)]
Clean up the code a bit and combine soundmgr_openal.hxx and soundmgr_aeonwave.hxx into a single file

8 years agoRemove an unused variable
Erik Hofman [Fri, 5 Aug 2016 09:20:33 +0000 (11:20 +0200)]
Remove an unused variable

8 years agoAeonWave is off by default
Erik Hofman [Fri, 5 Aug 2016 08:57:20 +0000 (10:57 +0200)]
AeonWave is off by default

8 years agoHave the SimGear HTTP client follow redirects
Alessandro Menti [Thu, 4 Aug 2016 18:36:38 +0000 (20:36 +0200)]
Have the SimGear HTTP client follow redirects

8 years agoSearch for the right header file
Erik Hofman [Thu, 4 Aug 2016 16:40:12 +0000 (18:40 +0200)]
Search for the right header file

8 years agoFinish AeonWave integration
Erik Hofman [Thu, 4 Aug 2016 16:38:38 +0000 (18:38 +0200)]
Finish AeonWave integration

8 years agoReflect the latest header changes
Erik Hofman [Wed, 3 Aug 2016 08:52:40 +0000 (10:52 +0200)]
Reflect the latest header changes

8 years agoImprove pick-callback enabled testing.
James Turner [Sun, 31 Jul 2016 21:13:19 +0000 (22:13 +0100)]
Improve pick-callback enabled testing.

8 years agoQuiet a log message
James Turner [Tue, 26 Jul 2016 21:14:15 +0000 (22:14 +0100)]
Quiet a log message

8 years agoAdd the compile time option to test the return values
Erik Hofman [Fri, 29 Jul 2016 10:36:13 +0000 (12:36 +0200)]
Add the compile time option to test the return values

8 years agoAdd get_no_tracks()
Erik Hofman [Fri, 29 Jul 2016 10:35:43 +0000 (12:35 +0200)]
Add get_no_tracks()

8 years agoSplit include dirs
Erik Hofman [Fri, 29 Jul 2016 10:35:20 +0000 (12:35 +0200)]
Split include dirs

8 years agoUpdate to the latestaienwave.hpp header file
Erik Hofman [Tue, 26 Jul 2016 13:22:09 +0000 (15:22 +0200)]
Update to the latestaienwave.hpp header file

8 years agoUpdate to the latestaienwave.hpp header file
Erik Hofman [Tue, 26 Jul 2016 13:21:26 +0000 (15:21 +0200)]
Update to the latestaienwave.hpp header file

8 years agoupdates for the aeonwave.hpp header changes
Erik Hofman [Mon, 25 Jul 2016 09:40:40 +0000 (11:40 +0200)]
updates for the aeonwave.hpp header changes

8 years agoAdd support for stereo
Erik Hofman [Wed, 20 Jul 2016 06:00:48 +0000 (08:00 +0200)]
Add support for stereo

8 years agoAdd some tests for AeonWave
Erik Hofman [Sun, 17 Jul 2016 08:26:53 +0000 (10:26 +0200)]
Add some tests for AeonWave

8 years agoAdd some tests for AeonWave
Erik Hofman [Sun, 17 Jul 2016 08:25:49 +0000 (10:25 +0200)]
Add some tests for AeonWave

8 years agoEither install soundmgr_openal.hxx or soundmgr_aeonwave.hxx as soundmgr.hxx
Erik Hofman [Wed, 6 Jul 2016 11:26:23 +0000 (13:26 +0200)]
Either install soundmgr_openal.hxx or soundmgr_aeonwave.hxx as soundmgr.hxx

8 years agoActivate AeonWave by setting USE_AEONWAVE to ON
Erik Hofman [Mon, 4 Jul 2016 12:37:04 +0000 (14:37 +0200)]
Activate AeonWave by setting USE_AEONWAVE to ON

8 years agoGet soundmgr_aeonwave in a compilig state
Erik Hofman [Mon, 4 Jul 2016 12:26:19 +0000 (14:26 +0200)]
Get soundmgr_aeonwave in a compilig state

8 years agoMake stereo files a SG_POPUP message
Erik Hofman [Thu, 21 Jul 2016 07:54:11 +0000 (09:54 +0200)]
Make stereo files a SG_POPUP message

8 years agoMake a failed wav file a SG_POPUP message
Erik Hofman [Wed, 20 Jul 2016 13:02:24 +0000 (15:02 +0200)]
Make a failed wav file a SG_POPUP message

8 years agoAdd support for SG_POPUP messages which show a dialog at startup
Erik Hofman [Wed, 20 Jul 2016 13:01:30 +0000 (15:01 +0200)]
Add support for SG_POPUP messages which show a dialog at startup

8 years agoBe more specific about what audio type is detected and for which file if it is not...
Erik Hofman [Wed, 20 Jul 2016 06:37:07 +0000 (08:37 +0200)]
Be more specific about what audio type is detected and for which file if it is not supported.

8 years agoReluctantly add support for stereo files again: there are external hangars which...
Erik Hofman [Tue, 19 Jul 2016 08:44:46 +0000 (10:44 +0200)]
Reluctantly add support for stereo files again: there are external hangars which did not update to the mono-files only principle

8 years agoRemove some unusal ocde..???
Erik Hofman [Mon, 18 Jul 2016 11:49:40 +0000 (13:49 +0200)]
Remove some unusal ocde..???

8 years agoTry to prevent a crash in unusual situations
Erik Hofman [Mon, 18 Jul 2016 09:59:47 +0000 (11:59 +0200)]
Try to prevent a crash in unusual situations

8 years agoFindUdns.cmake: fix check for cached paths
Maciej Mrozowski [Sun, 17 Jul 2016 01:41:36 +0000 (03:41 +0200)]
FindUdns.cmake: fix check for cached paths

8 years agoChange location used for path tests
James Turner [Fri, 15 Jul 2016 16:57:32 +0000 (17:57 +0100)]
Change location used for path tests

Jenkins seems to dislike non-Latin-1 characters inside the build
tree on Linux, so use a location inside /tmp instead.

8 years agoFurther SGPath API usage cleanups.
James Turner [Fri, 15 Jul 2016 15:33:52 +0000 (16:33 +0100)]
Further SGPath API usage cleanups.

8 years agoUse wide-string APIs on Windows.
James Turner [Mon, 4 Jul 2016 16:23:42 +0000 (17:23 +0100)]
Use wide-string APIs on Windows.

SGPath and simgear::Dir use ‘w’ versions of POSIX APIs on Windows,
and convert UTF-8 SGPath to wide-strings as part of this.

Includes improved unit-tests for this code, with some very basic
tests of creating and iterating files with Unicode characters in
their names.

No user-visible changes should result from this, on any platform; in
particular wide-string support is still incomplete so FlightGear will
not yet work with arbitrary Unicode paths on Windows.

8 years agoAnother HLA/SGPath fix
James Turner [Mon, 4 Jul 2016 08:31:34 +0000 (09:31 +0100)]
Another HLA/SGPath fix

8 years agorealpath returns a path, not a string.
James Turner [Mon, 4 Jul 2016 08:04:46 +0000 (09:04 +0100)]
realpath returns a path, not a string.

8 years agoFix HLAFederate for readXML API change
James Turner [Mon, 4 Jul 2016 06:20:23 +0000 (07:20 +0100)]
Fix HLAFederate for readXML API change

8 years agoSGPath in easyXML API
James Turner [Sun, 3 Jul 2016 22:41:07 +0000 (23:41 +0100)]
SGPath in easyXML API

8 years agoFix sg_gzofstream path type (now SGPath)
James Turner [Sun, 3 Jul 2016 22:05:42 +0000 (23:05 +0100)]
Fix sg_gzofstream path type (now SGPath)

8 years agoWindows string conversion for SGPath
James Turner [Sun, 3 Jul 2016 21:50:39 +0000 (22:50 +0100)]
Windows string conversion for SGPath

8 years agoThe Shlwapi library is now needed for the Windows build (required in simgear/misc...
Bertrand Coconnier [Sun, 3 Jul 2016 12:36:22 +0000 (14:36 +0200)]
The Shlwapi library is now needed for the Windows build (required in simgear/misc/sg_dir.cxx which calls to PathIsDirectoryEmpty)

8 years agoOne (last?) fix for compilation errors with MSVC++
Bertrand Coconnier [Sun, 3 Jul 2016 10:38:56 +0000 (12:38 +0200)]
One (last?) fix for compilation errors with MSVC++

8 years agoFixed compilation errors with MSVC++
Bertrand Coconnier [Sun, 3 Jul 2016 09:53:23 +0000 (11:53 +0200)]
Fixed compilation errors with MSVC++

8 years agoFix a compiler wrning
Erik Hofman [Sun, 3 Jul 2016 07:44:04 +0000 (09:44 +0200)]
Fix a compiler wrning

8 years agoNo need to count all 150 or so entries, 3 is enough
Erik Hofman [Sun, 3 Jul 2016 07:39:52 +0000 (09:39 +0200)]
No need to count all 150 or so entries, 3 is enough

8 years agoMuch shorter version of Dir::isEmpty()
Erik Hofman [Sun, 3 Jul 2016 07:35:03 +0000 (09:35 +0200)]
Much shorter version of Dir::isEmpty()

8 years agoDetect the actual number of wchars required for the buffer and allocate it properly
Erik Hofman [Sun, 3 Jul 2016 07:34:19 +0000 (09:34 +0200)]
Detect the actual number of wchars required for the buffer and allocate it properly

8 years agoAeonWave based sound manager
Erik Hofman [Sun, 3 Jul 2016 07:03:37 +0000 (09:03 +0200)]
AeonWave based sound manager

8 years agoFix directory creation: 'ds' remains the same while 'dir' gets updated so use 'dir...
Erik Hofman [Sat, 2 Jul 2016 09:06:36 +0000 (11:06 +0200)]
Fix directory creation: 'ds' remains the same while 'dir' gets updated so use 'dir' instead

8 years agoConvert _filename to an SGPath
Erik Hofman [Sat, 2 Jul 2016 09:03:32 +0000 (11:03 +0200)]
Convert _filename to an SGPath

8 years agoSGPath can convert to std::wstring
James Turner [Sat, 2 Jul 2016 08:34:27 +0000 (09:34 +0100)]
SGPath can convert to std::wstring

8 years agoMore SGPath APIs
James Turner [Fri, 1 Jul 2016 16:14:34 +0000 (17:14 +0100)]
More SGPath APIs

8 years agoFix repository test.
James Turner [Fri, 1 Jul 2016 08:02:52 +0000 (09:02 +0100)]
Fix repository test.

8 years agoBuilding with clean SGPath API
James Turner [Wed, 22 Jun 2016 17:09:47 +0000 (18:09 +0100)]
Building with clean SGPath API

8 years agoFix debug runtime assert
James Turner [Wed, 29 Jun 2016 15:26:42 +0000 (16:26 +0100)]
Fix debug runtime assert

8 years agoFurther SG stream APIs
James Turner [Mon, 27 Jun 2016 17:29:14 +0000 (12:29 -0500)]
Further SG stream APIs

8 years agoProperly et frequency, format and buffer size
Erik Hofman [Mon, 27 Jun 2016 11:19:37 +0000 (13:19 +0200)]
Properly et frequency, format and buffer size

8 years agoMove the isNaN function to soundmgr_openal_private.hxx to make it avaiable for the...
Erik Hofman [Mon, 27 Jun 2016 10:35:58 +0000 (12:35 +0200)]
Move the isNaN function to soundmgr_openal_private.hxx to make it avaiable for the soundmanager too

8 years agoiostream overloads taking an SGPath
James Turner [Sat, 25 Jun 2016 15:30:24 +0000 (16:30 +0100)]
iostream overloads taking an SGPath

8 years agoNative SGPath API on SGInterpTable
James Turner [Thu, 23 Jun 2016 14:21:26 +0000 (15:21 +0100)]
Native SGPath API on SGInterpTable

- string-based version will be removed in the future.

8 years agoChanging SGPath APIs, using SGPath in more places.
James Turner [Mon, 20 Jun 2016 15:38:47 +0000 (16:38 +0100)]
Changing SGPath APIs, using SGPath in more places.

Change most places we control (i.e not helper libs) to use SGPath
to represent a path, instead of using std::string. Extend SGPath
API to explicitly expose the path in either UTF-8 or the
system 8-bit encoding.

8 years agoFix Linux compilation of untar.hxx
James Turner [Thu, 16 Jun 2016 09:46:37 +0000 (04:46 -0500)]
Fix Linux compilation of untar.hxx

8 years agoTests for un-tar code.
James Turner [Wed, 15 Jun 2016 21:27:01 +0000 (22:27 +0100)]
Tests for un-tar code.

8 years agoFix Untar namespacing.
James Turner [Tue, 14 Jun 2016 14:13:58 +0000 (15:13 +0100)]
Fix Untar namespacing.

8 years agoExport untar header
James Turner [Tue, 14 Jun 2016 14:12:20 +0000 (15:12 +0100)]
Export untar header

Needed for scenery installation helper.

8 years agoVS215 tweaks, warning fixes
James Turner [Thu, 9 Jun 2016 19:37:54 +0000 (20:37 +0100)]
VS215 tweaks, warning fixes

8 years agoUse STD_ERROR_HANDLE since SG_LOG uses stderr stream
Jasin Colegrove [Thu, 9 Jun 2016 18:27:56 +0000 (14:27 -0400)]
Use STD_ERROR_HANDLE since SG_LOG uses stderr stream
Fixed spacing, cleaned up uneccessary #ifdef's

8 years agoFixes to Windows console interaction.
James Turner [Wed, 8 Jun 2016 17:01:06 +0000 (18:01 +0100)]
Fixes to Windows console interaction.

Thanks To Jasin Colegrove for helping me understand the issues here!

8 years agoFix missing throw.
Thomas Geymayer [Thu, 9 Jun 2016 11:03:40 +0000 (13:03 +0200)]
Fix missing throw.

8 years agoFix dependency on ‘version’ file.
James Turner [Thu, 9 Jun 2016 10:03:35 +0000 (11:03 +0100)]
Fix dependency on ‘version’ file.

8 years agoFix for HTTP/curl waiting on update
James Turner [Wed, 8 Jun 2016 14:43:59 +0000 (15:43 +0100)]
Fix for HTTP/curl waiting on update

This improves responsiveness of TerraSync with small files and general
throughout dramatically.

8 years agoThreadsafe terrasync state updates/reading.
James Turner [Wed, 8 Jun 2016 14:27:47 +0000 (15:27 +0100)]
Threadsafe terrasync state updates/reading.

8 years agoOnly throw an expection if buf == NULL..
Erik Hofman [Tue, 7 Jun 2016 10:59:16 +0000 (12:59 +0200)]
Only throw an expection if buf == NULL..

8 years agoMore repository test tweaks for Jenkins.
James Turner [Tue, 7 Jun 2016 10:23:48 +0000 (11:23 +0100)]
More repository test tweaks for Jenkins.

8 years agoThrow an exception when the current working directory can not be retrieved
Erik Hofman [Tue, 7 Jun 2016 09:51:28 +0000 (11:51 +0200)]
Throw an exception when the current working directory can not be retrieved

8 years agoImproving channel lifetime in HTTP-based tests.
James Turner [Mon, 6 Jun 2016 16:26:50 +0000 (17:26 +0100)]
Improving channel lifetime in HTTP-based tests.

Previously, closed channels were not cleaned up, which looks to be
the caused of the test failures on Jenkins.

8 years agoFix a leak / potential crash
James Turner [Mon, 6 Jun 2016 10:36:47 +0000 (11:36 +0100)]
Fix a leak / potential crash

8 years agoIncrease test timeout value.
James Turner [Fri, 3 Jun 2016 14:26:48 +0000 (15:26 +0100)]
Increase test timeout value.

- investigating failing tests on Jenkins

8 years agoFix uninitialized var
James Turner [Fri, 3 Jun 2016 13:44:25 +0000 (08:44 -0500)]
Fix uninitialized var

8 years agoFix a warning with GCC
James Turner [Fri, 3 Jun 2016 13:40:55 +0000 (08:40 -0500)]
Fix a warning with GCC

8 years agoCMake tweaks for MSVC detection
James Turner [Fri, 3 Jun 2016 11:19:13 +0000 (12:19 +0100)]
CMake tweaks for MSVC detection

8 years agoFix user-after-free in HTTP repo code
James Turner [Thu, 2 Jun 2016 22:53:15 +0000 (23:53 +0100)]
Fix user-after-free in HTTP repo code

8 years agoMore permissive catalog version checks
James Turner [Wed, 1 Jun 2016 21:46:17 +0000 (22:46 +0100)]
More permissive catalog version checks

- support wildcard prefixes on FlightGear versions
- drop catalog version equality check

8 years agoMore VS2015 fixes
James Turner [Wed, 1 Jun 2016 21:36:36 +0000 (22:36 +0100)]
More VS2015 fixes

8 years agoMake sure block align is in samples when calling alBufferi with AL_UNPACK_BLOCK_ALIG...
Erik Hofman [Wed, 1 Jun 2016 21:12:55 +0000 (23:12 +0200)]
Make sure block align is in samples when calling alBufferi  with AL_UNPACK_BLOCK_ALIGNMENT_SOFT

8 years agoMSVC 12 still requires snprintf to be defined
Jasin Colegrove [Wed, 1 Jun 2016 14:24:30 +0000 (10:24 -0400)]
MSVC 12 still requires snprintf to be defined

8 years agoblock_alignment for AL_SOFT_block_alignment is in samples, not in bytes
Erik Hofman [Wed, 1 Jun 2016 12:16:49 +0000 (14:16 +0200)]
block_alignment for AL_SOFT_block_alignment is in samples, not in bytes

8 years agoFix a comment
Erik Hofman [Wed, 1 Jun 2016 08:10:34 +0000 (10:10 +0200)]
Fix a comment

8 years agoRevert to the previous way of handling OpenAL. The reason was to find alext.h but...
Erik Hofman [Wed, 1 Jun 2016 07:51:41 +0000 (09:51 +0200)]
Revert to the previous way of handling OpenAL. The reason was to find alext.h but that reason has gone by copying a small number of defines

8 years agoFix for VS2015 compilation
James Turner [Tue, 31 May 2016 12:41:28 +0000 (13:41 +0100)]
Fix for VS2015 compilation

8 years agoFix VS2015 compilation
James Turner [Tue, 31 May 2016 12:40:32 +0000 (13:40 +0100)]
Fix VS2015 compilation

8 years agoFix VS2015 compilation
James Turner [Tue, 31 May 2016 12:40:00 +0000 (13:40 +0100)]
Fix VS2015 compilation

8 years agoAdd the option to define volume and pitch using an expression
Erik Hofman [Tue, 31 May 2016 11:40:46 +0000 (13:40 +0200)]
Add the option to define volume and pitch using an expression

8 years agoAdd IMA4 support
Erik Hofman [Mon, 30 May 2016 12:17:16 +0000 (14:17 +0200)]
Add IMA4 support

8 years agoMore libCurl version guards.
James Turner [Mon, 30 May 2016 12:02:01 +0000 (13:02 +0100)]
More libCurl version guards.

8 years agoWhitespace fixes.
James Turner [Mon, 30 May 2016 11:53:26 +0000 (12:53 +0100)]
Whitespace fixes.

8 years agoFreeBSD fixes from Ganael LAPLANCHE
James Turner [Mon, 30 May 2016 11:52:48 +0000 (12:52 +0100)]
FreeBSD fixes from Ganael LAPLANCHE

8 years agoAdd test files for mulaw en IMA4 ADPCM
Erik Hofman [Mon, 30 May 2016 09:50:11 +0000 (11:50 +0200)]
Add test files for mulaw en IMA4 ADPCM

8 years agoAdd support for native mulaw encoded samples if the OpenAL implementation supports it
Erik Hofman [Mon, 30 May 2016 09:46:41 +0000 (11:46 +0200)]
Add support for native mulaw encoded samples if the OpenAL implementation supports it

8 years agoFind OpenAL the proper way
Erik Hofman [Mon, 30 May 2016 08:50:22 +0000 (10:50 +0200)]
Find OpenAL the proper way

8 years agoDo not forget to alter the function declaration as well
Erik Hofman [Fri, 27 May 2016 20:43:52 +0000 (22:43 +0200)]
Do not forget to alter the function declaration as well

8 years agoFix two OpenAL related compiler errors
Erik Hofman [Fri, 27 May 2016 17:08:20 +0000 (19:08 +0200)]
Fix two OpenAL related compiler errors