Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-04 | move IsPlaying-IsPaused-IsPlayingAudio-IsPlayingVideo to CApplicationPlayer ↵ | Voyager1 | |
wrapper | |||
2013-08-02 | fixed compiler warning, missing return value | davilla | |
2013-07-25 | [cosmetics] update copyright headers | M. Kaijser | |
2013-07-07 | Add new builtin, ToggleCECDevice, to control state of playing device via a ↵ | Javier Marcet | |
cec peripheral | |||
2013-06-02 | changed, use TARGET_xxx, die _LINUX die | davilla | |
2013-06-02 | Merge pull request #2637 from dagwieers/rescan-interval | Lars Op den Kamp | |
Raise USB and CEC rescan interval to 5 seconds | |||
2013-06-01 | Merge pull request #2636 from dagwieers/peripheral-thread-naming | jmarshallnz | |
Use different names for USB/CEC and Udev related threads | |||
2013-05-15 | settings: move dependency logic from CGUIWindowSettingsCategory to ↵ | montellese | |
CSettingsManager | |||
2013-05-01 | settings: replace CSettings and CGUISettings with new CSettings | montellese | |
2013-04-20 | Use different names for USB/CEC and Udev related threads | Dag Wieers | |
While debugging some rescanning issues, it helped to distinguish the different PeripheralBus threads. Since there is a limit to thread names, I had to make sure the name fitted into 15 characters. This is part of a series of PRs: #2323 and #2541 Before: ``` xbmc.bin-+-{EPGUpdater} |-{EventServer} |-2*[{PVRClient}] |-{PVRGUIInfo} |-{PVRManager} |-2*{PeripheralBus} <- |-{SoftAE} |-{TCPServer} |-5*[{XBPython}] `-8*[{xbmc.bin}] ``` After: ``` xbmc.bin-+-{EPGUpdater} |-{EventServer} |-2*[{PVRClient}] |-{PVRGUIInfo} |-{PVRManager} |-{PeripBusCEC} <- |-{PeripBusUSBUdev} <- |-{SoftAE} |-{TCPServer} |-5*[{XBPython}] `-8*[{xbmc.bin}] ``` | |||
2013-04-20 | Increase USB and CEC rescan interval to 5 seconds | Dag Wieers | |
In one of my investigations to see why XBMC performance is so bad (even when idle) I found one of the threads (in my case PeripheralBusCEC) scan a big sysfs tree recursively. On the 1Ghz AppleTV 1 device this would be about 2% of the CPU *every* second. For the USB thread we luckily have Udev events, but for CEC it is using sysfs polling which is quite expensive. It would be better to make use of Udev as well for CEC (where available) however 5 seconds should be fine for everyone. In my own builds I even brought it down to 30 seconds. Which means 29 seconds of reduced CPU usage. The CEC polling probably should be more restricted to specific sysfs sections, or preferably use Udev as well, when available. PS XBMC needs a special idle-state where it can turn down these expensive threads to make sure hardware can go into deeper sleep states. Especially for devices that doesn't do suspend for various reasons this is a requirement. (The ATV1 device for instance gets warm even when idle) If we can combine display-sleep with low-power states and a less expensive main-loop, that would be already quite an improvement without needing a complete refactoring of the code. | |||
2013-04-09 | Merge pull request #2012 from jmarcet/master | Martijn Kaijser | |
Add new Built-In function to control attached CEC device | |||
2013-04-10 | Add missing thread names, improve existing thread names | Dag Wieers | |
This extends on the work of PR #2323. Since thread names are limited to 15 characters, we reduced the length of the name (removing starting C, get rid of spaces, remove trailing Thread, ...) where it made sense. ``` xbmc02:~ # pstree -p 715 xbmc.bin(715)-+-{EPGUpdater}(798) |-{EventServer}(790) |-{PeripheralBus}(778) |-{PeripheralBus}(779) |-{PVRAddon}(800) |-{PVRAddon}(932) |-{PVRGUIInfo}(933) |-{PVRManager}(799) |-{SoftAE}(777) |-{TCPServer}(791) |-{XBPython}(783) |-{XBPython}(784) |-{XBPython}(786) |-{XBPython}(787) |-{XBPython}(955) |-{XBPython}(972) `-{xbmc.bin}(792) ``` I would like to see more specific names for XBPython, PeripheralBus and PVRAddon. And also get rid of the remaining xbmc.bin thread name. | |||
2013-04-08 | Add support for new libcec method, PowerOnScreensaver | Javier Marcet | |
2013-04-08 | settings: move audio settings to CApplication | montellese | |
2013-04-05 | Merge pull request #2530 from ulion/change_cfstring_to_utf8_string | Memphiz | |
[Fix] Change from DarwinCFStringRefToString to DarwinCFStringRefToUTF8String | |||
2013-04-04 | cosmetics: cleanup unused Settings.h includes | montellese | |
2013-04-02 | [Fix] Change from DarwinCFStringRefToString to DarwinCFStringRefToUTF8String. | ulion | |
2013-03-17 | fix: add missing include after reshuffle commit ↵ | Martijn Kaijser | |
16f276be317fa74efba6e5ddf16ec3f9bfba4b26 | |||
2013-03-12 | [cec] fixed compilation without libcec-dev on the system after ↵ | Lars Op den Kamp | |
95d87f545665674f76f691197bbad3360b807981. updated the method names of the dummy CPeripheralCecAdapter implementation so they match the ones in the real implementation | |||
2013-03-12 | [cec] and let's init m_queryThread to NULL so we won't crash on exit when ↵ | Lars Op den Kamp | |
CEC has been disabled | |||
2013-03-12 | [cec] extra guards around m_queryThread | Lars Op den Kamp | |
2013-03-12 | [cec] cosmetics. made some methods private that don't need to be public | Lars Op den Kamp | |
2013-03-12 | [cec] removed no longer used TranslateComPort() | Lars Op den Kamp | |
2013-03-12 | [cec] removed dupe methods. if we really need that Sleep(), do it in ↵ | Lars Op den Kamp | |
CPeripherals instead | |||
2013-03-10 | [cec] don't do another device scan when opening a connection to the adapter, ↵ | Lars Op den Kamp | |
just use the scan results that we already got. also fixes the wrong device name being opened when trying to connect to an RPi | |||
2013-03-07 | [cec] prevent duplicate power on commands from being sent | Lars Op den Kamp | |
2013-03-07 | [cec] use client version 'current' now that libCEC 2.1.0 is being used. also ↵ | Lars Op den Kamp | |
fixes 'when the tv goes to standby' option being reset, since libCEC now checks the version correctly for that option | |||
2013-03-05 | [peripherals] fixed CPeripheral::operator ==(const PeripheralScanResult& right) | Lars Op den Kamp | |
2013-03-03 | settings: move GUIDialog* and GUIWindow* into their own sub-directories | montellese | |
2013-02-28 | [peripheral] support for multiple adapters of the same type | Lars Op den Kamp | |
2013-02-28 | [cec] ensure that the updater thread has been stopped before trying to stop ↵ | Lars Op den Kamp | |
the main thread or we'll be waiting a long time to exit when the tv can't be polled | |||
2013-02-28 | [peripherals] use a separate field for mapped bus types in ↵ | Lars Op den Kamp | |
PeripheralScanResult or setting won't be loaded | |||
2013-02-28 | [peripherals] pass the full PeripheralScanResult to CPeripheral constructors ↵ | Lars Op den Kamp | |
(cleanup) | |||
2013-02-28 | [cec] override the bus type, so users don't have to reconfigure their adapters | Lars Op den Kamp | |
2013-02-28 | [peripherals] store the bus type in PeripheralScanResult so it can be overridden | Lars Op den Kamp | |
2013-02-28 | [peripherals] update m_mappedType and m_strDeviceName in ↵ | Lars Op den Kamp | |
PeripheralScanResult in CPeripherals::GetMappingForDevice() | |||
2013-02-28 | [peripherals] added fields m_mappedType and m_strDeviceName to ↵ | Lars Op den Kamp | |
PeripheralScanResult | |||
2013-02-28 | [peripherals] pass the full scan result to CPeripherals::GetMappingForDevice() | Lars Op den Kamp | |
2013-02-28 | [peripherals] removed unused constructor | Lars Op den Kamp | |
2013-02-28 | [peripherals] pass the full scan result to CPeripherals::CreatePeripheral() | Lars Op den Kamp | |
2013-02-28 | [cec] get the CEC devices that are connected to the system from libCEC, ↵ | Lars Op den Kamp | |
rather than getting them from usb device scanning (or other methods). this way all adapters that libCEC supports are automatically supported by XBMC, without the need for specific device scanning code. bumped libCEC to 2.1.0 | |||
2013-02-09 | [cosmetics] update date in GPL header | Martijn Kaijser | |
2013-02-04 | move view related files into new view folder and lib | montellese | |
2013-01-22 | [cec] fixed - only send an active source message when receiving OnPlay. this ↵ | Lars Op den Kamp | |
may lead to delayed audio output on some AVR devices | |||
2013-01-16 | [OSX] Remove all direct calls to CFStringGetCString and CFStringGetCStringPtr | Tobias Hieta | |
This adds a new util function DarwinCFStringToString that handles errors and tries to first get the pointer otherwise copies the string into a std::string. It also makes sure to use CFStringGetSystemEncoding() everywhere so we don't get in trouble for using a hardcoded encoding. | |||
2013-01-10 | [cec] fixed - incorrect error message was being displayed in the toast popup ↵ | Lars Op den Kamp | |
when libCEC could not be found on the system (c+p is bad mmm'kay) | |||
2013-01-09 | [cec] don't update the device type in settings with the value that was ↵ | Lars Op den Kamp | |
returned from libCEC | |||
2013-01-09 | [cec] don't send incorrect pause/resume to slideshow when the source is ↵ | Lars Op den Kamp | |
(de)activated and don't resume playback when the source is activated and we didn't pause it when the source was deactivated | |||
2013-01-08 | moved nyxboard power and user button from peripheral config to keyboard.xml | Lars Op den Kamp | |