Age | Commit message (Collapse) | Author |
|
[PeripheralCecAdapter] fix playback stopping on screensaver deactivated
|
|
Move setting the LANGUAGE source file properties into a function.
This is in preparation to optionally build static libraries.
This property can only be specified in the CMakeLists.txt that
generates the target. Later in the non static lib case, it will be
called in the main executable/library.
|
|
[PeripheralCecAdapter] fix broken standby after …
|
|
(cherry picked from commit 295504a80423d8291ee0a661707cdc2503c28951)
|
|
|
|
The two dependencies libcpluff and ffmpeg are widely required
throughout the whole project. Adding a project wide dependency ensures
that they are built before all libraries added with core_add_library.
This removes the need to specify them per directory which was error
prone in the past (and up to now only fully worked by chance).
|
|
Slovenian (slv)
|
|
Fix 1000 warnings
|
|
|
|
|
|
support Android API 21.
|
|
|
|
After PR 9823 "Fix joysticks on android", it became possible to block the
thread when initializing a bus that doesn't use polling.
Even without 9832, this is a defensive effort that can fix deadlocks if
CPeripheralBus::Initialise() ever becomes blocking again.
|
|
|
|
HasPeripheral() is thread-safe so locking is not needed here.
A deadlock occurs during bus initialization when g_peripherals.CreatePeripheral()
tries to lock the mutex of its inherited Observer class.
|
|
|
|
deadlock
|
|
|
|
concurrently
|
|
|
|
________________________________________________________________________________________________________
*** CID 1355594: Uninitialized members (UNINIT_CTOR)
/xbmc/peripherals/addons/AddonButtonMapping.cpp: 51 in PERIPHERALS::CAddonButtonMapping::CAddonButtonMapping(PERIPHERALS::CPeripheral *, JOYSTICK::IButtonMapper *)()
45 m_buttonMap = new CAddonButtonMap(peripheral, addon, mapper->ControllerID());
46 if (m_buttonMap->Load())
47 m_driverHandler = new CButtonMapping(mapper, m_buttonMap);
48 else
49 SAFE_DELETE(m_buttonMap);
50 }
>>> CID 1355594: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_buttonMap" is not initialized in this constructor nor in any functions that it calls.
51 }
52
53 CAddonButtonMapping::~CAddonButtonMapping(void)
54 {
55 delete m_driverHandler;
56 delete m_buttonMap;
________________________________________________________________________________________________________
*** CID 1355593: Uninitialized members (UNINIT_CTOR)
/xbmc/peripherals/addons/AddonInputHandling.cpp: 51 in PERIPHERALS::CAddonInputHandling::CAddonInputHandling(PERIPHERALS::CPeripheral *, JOYSTICK::IInputHandler *)()
45 m_buttonMap = new CAddonButtonMap(peripheral, addon, handler->ControllerID());
46 if (m_buttonMap->Load())
47 m_driverHandler = new CInputHandling(handler, m_buttonMap);
48 else
49 SAFE_DELETE(m_buttonMap);
50 }
>>> CID 1355593: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_buttonMap" is not initialized in this constructor nor in any functions that it calls.
51 }
52
53 CAddonInputHandling::~CAddonInputHandling(void)
54 {
55 delete m_driverHandler;
56 delete m_buttonMap;
|
|
|
|
- Bumped minimum required SDK from 17 to 19 (due to usage of some functions that are not available in lower levels)
- Fixed PeripherialBusAndroid crash on affected devices
- Changed used function from SDK 21 to one available in SDK 19
- Commented functions/methods unavailable in SDK 19
|
|
Fix some missing dependencies to cpluff in the newly added cmake files
for controller input.
|
|
|
|
|
|
CPeripheralJoystick to work with android
|
|
peripheral bus to avoid deadlocks
|
|
having to use CPeripherals::GetBusByType()
|
|
|
|
CPeripheralAddon
This resolves an indirect circular dependency from CPeripheralAddon through, CPeripheralJoystick (as
CPeripheral), CAddonJoystickButtonMapping (as IJoystickDriverHandler) to CAddonJoystickButtonMap (as
IJoystickButtonMap) which holds a reference to CPeripheralAddon.
|
|
|
|
|
|
destroying the loaded peripheral addons
|
|
|
|
|
|
instead of polling
|
|
|
|
|
|
Thanks to hitcher for the skinning work and Montellese for some string
fixes.
|
|
This adds a fallback input handler to all joystick peripherals. If a joystick
event isn't handled, it will be dispatched to Kodi through this class.
|
|
Thanks to frostworx for fixing the peripheral add-ons build, notspiff for
helping with the rebrand and montellese for the windows installer fix and VS
solution fix.
|
|
Joystick support will return in a following commit. Platform specific code
will be isolated entirely in binary add-ons.
Removal of joystick code is incomplete on Android (todo)
Thanks to Tolriq for fixing broken EventServer.
|
|
|
|
[cmake] Fix crosscompiling for Raspberry Pi
|
|
|
|
|
|
peripheral device
|
|
|
|
|