aboutsummaryrefslogtreecommitdiff
path: root/xbmc/peripherals
AgeCommit message (Collapse)Author
2016-07-29Merge pull request #9803 from mk01/master_cec_playbackstopMartijn Kaijser
[PeripheralCecAdapter] fix playback stopping on screensaver deactivated
2016-07-27[cmake/win32] Use C++ compiler to compile .c filesChristian Fetzer
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.
2016-07-24Merge pull request #10139 from mk01/master_ceconscreensaverRainer Hochecker
[PeripheralCecAdapter] fix broken standby after …
2016-07-23[PeripheralCecAdapter] fix playback stopping on screensaver deactivatedMatus Kral
(cherry picked from commit 295504a80423d8291ee0a661707cdc2503c28951)
2016-07-23[PeripheralCecAdapter] fix after 6a5120c3789a7ad93a235467a4cb421dee643438Matus Kral
2016-07-21[cmake] Add project wide dependency to libcpluff and ffmpegChristian Fetzer
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).
2016-07-03[PeripheralCecAdapter] Fix: Slovak language code (slo) considered as ↵Vladimir Zahradnik
Slovenian (slv)
2016-06-19Merge pull request #9857 from Memphiz/fix_warningsMemphiz
Fix 1000 warnings
2016-06-16Add missing vector includesPär Björklund
2016-06-13[doxygen] todo listMartijn Kaijser
2016-06-04[android] revert 54f9c50572fe540cc754538f6e93e6a87a8552fd since we now only ↵Martijn Kaijser
support Android API 21.
2016-06-04[Cleanup] - fixed around 1000 warnings because of missing override keywordsMemphiz
2016-05-16[peripherals] Fix deadlock on bus initializationGarrett Brown
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.
2016-05-16[peripherals] Fix locking wrong critical sectionGarrett Brown
2016-05-16[peripherals] Fix deadlock on startupGarrett Brown
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.
2016-04-23m_bNeedsPolling broken for busses where it is set outside constructorMatus Kral
2016-04-23[peripherals] dont hold internal locks when triggering device scan. fixes ↵Thomas Amland
deadlock
2016-04-23[peripherals] fix unsafe concurrent accessThomas Amland
2016-04-23[peripherals] use const to make it clear which members are safe to access ↵Thomas Amland
concurrently
2016-04-23[peripherals] fix locking wrong critical sectionThomas Amland
2016-04-16[peripherals] Fix Coverty issues (UNINIT_CTOR)Garrett Brown
________________________________________________________________________________________________________ *** 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;
2016-04-13fix description label in select dialogThomas Amland
2016-04-01[android] Bumped min. SDK to 19, Fixed PeripherialBusAndroid crashDanijel Posilovic
- 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
2016-03-15[cmake] Add missing dependencies to cpluffChristian Fetzer
Fix some missing dependencies to cpluff in the newly added cmake files for controller input.
2016-03-11[cmake] Fix controller input on androidChristian Fetzer
2016-03-11[cmake] Controller inputChristian Fetzer
2016-03-10[android][peripherals] add CPeripheralBusAndroid and update ↵montellese
CPeripheralJoystick to work with android
2016-03-10[peripherals] trigger a scan for devices after having initialised the ↵montellese
peripheral bus to avoid deadlocks
2016-03-10[peripherals] pass the CPeripheralBus instance to CPeripheral to avoid ↵montellese
having to use CPeripherals::GetBusByType()
2016-03-10CPeripheralBus: forward declare CPeripheralmontellese
2016-03-10CAddonJoystickButtonMap: use a weak instead of a shared pointer to ↵montellese
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.
2016-03-10CPeripheralAddon: destroy all owned peripheralsmontellese
2016-03-10Reduce file name lengthGarrett Brown
2016-03-10CPeripheralBusAddon: stop the polling thread from CPeripheralBus before ↵montellese
destroying the loaded peripheral addons
2016-03-10CPeripherals: avoid a deadlock in Clear() when destroying a CPeripheralAddonBusmontellese
2016-03-10CPeripherals: use separate lock guards for m_busses and m_mappingsmontellese
2016-03-10CPeripheralBusAddon: use callbacks/observer to reload peripheral addons ↵montellese
instead of polling
2016-03-10CPeripherals: use shared pointers to store CPeripheralBus instancesmontellese
2016-03-10CPeripherals: a lot of cosmetics and C++11 stuffmontellese
2016-03-10Controller configuration windowGarrett Brown
Thanks to hitcher for the skinning work and Montellese for some string fixes.
2016-03-10Kodi inputGarrett Brown
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.
2016-03-10Peripheral add-onsGarrett Brown
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.
2016-03-10Remove joystick codeGarrett Brown
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.
2016-03-03make settings dialogs use the same xmlronie
2016-02-16Merge pull request #9126 from fetzerch/cmake-rpiChristian Fetzer
[cmake] Fix crosscompiling for Raspberry Pi
2016-02-14[cmake] Fix Raspberry-Pi buildChristian Fetzer
2016-02-14CPeripherals: don't use g_peripherals for internal method callsmontellese
2016-02-14[peripherals] show a message if there are no settings available for a ↵montellese
peripheral device
2016-02-13[cmake] Cleanup empty varsChristian Fetzer
2016-02-12[cmake] Add CMakeLists.txt to xbmc subfoldersChristian Fetzer