FS-10225: [mod_conference] Incorrect layout chosen when playing a file in a conference with a layout group Don't change layout when playing full-screen anyway
FS-10167: Rewrote the ks_pool allocator, no longer uses paging or internal block allocation, but still retains reference counting and auto cleanup callbacks, should be much more efficient now on windows than the original mmap approach, and all tests now run successfully!
FS-10167: Committing for a clean revert point prior to work on ks_pool internal allocator issues that were identified as the cause of the complicated bug related to freeing pages introduced by switching to malloc/free.
FS-10167: Fixed some issues that appeared primarily under windows testing, committing to determine if a specific read access violation occurs under linux as well.
FS-10167: Fixed an issue with connection cleanup, the same approach should be taken with sessions to avoid any potential thread deadlock due to cleanup from the same thread which is running the session.
FS-10167: Fixed bug with ks_pool_resize allocating incorrectly based on recent allocation code changes. Added some missing files as well from prior commits related to libblade test projects and windows VS project property files.
Shane Bryldt [Fri, 31 Mar 2017 19:06:43 +0000 (13:06 -0600)]
FS-10167: Added windows compilation of libconfig and libsodium to support libblade, all of which now have windows projects and a new libblade solution containing everything. Blade compiles, but many warnings have been disabled and should be reviewed and fixed where reasonable towards clean compiling. Code Analysis has also been enabled for visual studio projects, warnings beginning with C6XXX can be ignored unless adding code-analysis macros to libks and libblade.
Shane Bryldt [Thu, 30 Mar 2017 16:44:25 +0000 (10:44 -0600)]
FS-10167: Updated libks windows project and test projects to utilize the latest build toolset, and added code analysis to identify potential issues before they occur.
Shane Bryldt [Wed, 29 Mar 2017 01:18:20 +0000 (19:18 -0600)]
FS-10167: Added test_thread_pools to windows build, added BREAK condition to wait for objects to be added to the queue before the workers prematurely exit. Fixed a bug in thread pool creation that wasn't showing up under linux test.
Shane Bryldt [Tue, 28 Mar 2017 21:02:09 +0000 (15:02 -0600)]
FS-10167: Added testwebsock to windows build, completely removed precompiled openssl dependancy and injected the use of core library openssl build, everything seems to build and work for windows thus far.
Shane Bryldt [Mon, 27 Mar 2017 22:52:07 +0000 (16:52 -0600)]
FS-10167: Fixed issue with eating processor when ks_sleep() is called on windows, testthreadmutex is now fully functional on windows as well, all tests are passing
Mike Jerris [Mon, 27 Mar 2017 15:59:48 +0000 (15:59 +0000)]
Merge pull request #1218 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:feature/FS-10115-ogg_extension_assoc to master
* commit 'f1b756c63179ab0c5f8f8cb886f9baecedd9f83e':
FS-10115: [mod_sndfile] add ".ogg" extension to mod_sndfile (map audio OGG format to ".ogg" extension too, not only to ".oga") (and change mem pool)
Shane Bryldt [Thu, 23 Mar 2017 22:52:49 +0000 (16:52 -0600)]
FS-10167: Fixed a bug in ks_pool alloc_mem that assumes memory is zeroed before incrementing reference count rather than assigning it, which worked on linux test for some reason but failed under windows test which identified the issue.
Shane Bryldt [Thu, 23 Mar 2017 22:31:16 +0000 (16:31 -0600)]
FS-10167: Switched reader writer lock code to use ks_thread_self_id instead of ks_thread_self, which is more appropriate and resolves a couple issues related to duplicating handles for windows. Clean compiling across all tests on windows now, updated all of the solution and project files for required changes.
Shane Bryldt [Thu, 23 Mar 2017 19:30:31 +0000 (13:30 -0600)]
FS-10167: More cleanup of libks, now compiles with no warnings or errors in VS2015, also fixed a bug in ks_pool.c related to logging prefix memory bounds checks. A few warnings had to be disabled entirely due to the issues coming from openssl.
Shane Bryldt [Wed, 22 Mar 2017 22:47:33 +0000 (17:47 -0500)]
FS-10165: Removed dependancy and autoconf check for libsodium from libks. Moved DHT, bencode, and related tests into libblade. Still requires refactoring in blade from ks_* to blade_*.
Mike Jerris [Wed, 22 Mar 2017 21:45:05 +0000 (21:45 +0000)]
Merge pull request #1234 in FS/freeswitch from feature/FS-9952-implementing-a-syncronized-scalable to master
* commit '7742dffae4192e73c258493a7320eb11b6437b8a': (34 commits)
FS-9952: Initial implementation of a very basic text chat system which introduced a number of supporting subsystems
FS-9952: Added support to default ks_log system for including optional prefixes as desired, also added thread and time prefix options
FS-9952: Big commit, first registered jsonrpc echo call successful, lots of cleanup remaining
FS-9952: Intermediate commit for a fresh point to start retrofitting the jsonrpc code that is incomplete
FS-9952: Some code refactoring and added TTL for sessions, currently harcoded at 5 seconds for testing purposes only and should come from config
FS-9952: Preliminary session negotiations done, added a bunch of logging, fixed up cleanup code, needs more testing and more error handling
FS-9952: Added the first half of the session negotations for the server side, untested as it requires the second half coming soon for client side
FS-9952: A bunch of cleanup and shifting connections towards ID based passing instead of pointers, will replicate and adjust for session system next
FS-9952: Add blade rpc error response creation
FS-9952: Fix compile errors in test 64bit build
FS-9952: Committing to show problem with ks_pool_resize
FS-9952: Add query & tests for blade extention to rpc messages
FS-9952: Add blade extention to rpc messages
FS-9952: Some work towards client connectivity support, commit is to remove blade_message_t and get RPC stuff updated, code does not compile currently
FS-9952: Added initial support for registering transports, and initial untested code for parsing identities
FS-9952: Updated bladec test, it successfully listens for connections, further testing required
FS-9952: Added envelope to queue sending messages, prepping for initial server transport testing
FS-9952: Add rpc h files to ks
FS-9952: Update for compile issues
FS-9952: More work on the connection and transport code, couple things left to do but nearly ready for testing upto starting session negotiations
...