0.2.8: 2008-07-01 Bastien Nocera * gnome_lirc_properties/backend.py: * gnome_lirc_properties/lirc.py: Fix the regexps looking for include statements in /etc/lircd.conf - the include syntax changed. 2008-07-01 Bastien Nocera * gnome_lirc_properties/backend.py: Remove authorization check by PID (IsProcessAuthorized) because we were checking the backend's PID, which is surely not authorized, and we have no way to get to the front-end's PID. Just check with the sender's D-Bus name instead (Closes: #540912). 2008-06-30 Bastien Nocera * gnome_lirc_properties/lirc.py: Handle the lircd.conf file being missing (it's not broken if it's not there!) (Closes: #540898). 2008-06-30 Bastien Nocera * gnome_lirc_properties/backend.py: * gnome_lirc_properties/ui/CustomConfiguration.py: Fix a few calls to lirc.find_remote_config(), which only returns the location of the config file now. 2008-06-30 Bastien Nocera * configure.ac: Remove "--resume" check * gnome_lirc_properties/backend.py: Remove use of the "--resume" flag for irrecord flags, as irrecord correctly resumes sessions from lirc 0.8.4 onwards (Closes: #536811). 2008-06-30 Bastien Nocera * configure.ac: Check for lirc 0.8.4 and require it * gnome_lirc_properties/backend.py: Fix include statement's syntax, it's enclosed in "<>" now * gnome_lirc_properties/lirc.py: Remove can_include check, all the lircs past 0.8.4 can support it. * gnome_lirc_properties/Makefile.am: * gnome_lirc_properties/config.py.in: * gnome_lirc_properties/lsb.py: Remove use of lsb version checks, as we now require include support with a new enough lirc. (Closes: #532606) 2008-06-30 Mathias Hasselmann Avoid TypeError with no receivers plugged in (#540900). * gnome_lirc_properties/ui/RemoteControlProperties.py (RemoteControlProperties._unlock()): Provide default value for parent_dialog argument. 2008-05-18 Mathias Hasselmann Don't add pure keyboards to the main window's receiver list, and use the input device's human readable name instead of its device node to configure input devices. * gnome_lirc_properties/hardware.py (HalDevice.find_input_device(), HalDevice.has_capability(), HalDevice.read_sysfs_file(), HalDevice.get_sysfs_path(), HalDevice.is_real_keyboard(), HardwareManager._on_device_added(), HardwareManager.__find_input_layer_receivers()): Use human readable name instead of its device node to configure input devices. Add HalDevice.has_capability() to conveniently check if a HAL device has a certain HAL capability. Add functions to conveniently access sysfs files associated with a HAL device. Move keyboard detection code into a separate method. Don't emit 'receiver-added' signals for real keyboards. * gnome_lirc_properties/ui/RemoteControlProperties.py (RemoteControlProperties._on_receiver_product_list_changed(), RemoteControlProperties.__set_selected_receiver(), RemoteControlProperties.__setup_models()): Refilter the remote vendor list when pluggable receivers are added or removed. Handle RuntimeErrors and prevent endless loop when the current receiver vendor has no models, which happens when unplugging the last Linux Input device. * gnome_lirc_properties/lirc.py (HardwareConfParser.__init__()): Properly handle lines with more than one equal sign. 2008-05-18 Mathias Hasselmann Use configure script to detect the Linux Input Device driver name. * gnome_lirc_properties/config.py.in: * configure.ac: Retrieve input driver name from lircd, and store that information in config.LIRC_INPUT_DRIVER. * gnome_lirc_properties/hardware.py (HardwareManager._on_device_added()): Use config.LIRC_INPUT_DRIVER instead of hard-coded string to configure hot-plugged input devices. * po/.gitignore: Updated to include *.gmo files. 2008-05-17 Mathias Hasselmann Use better method for filtering out keyboards during auto-detection. Currently just the device name is checked to contain the sub-string "keyboard". Now each input device with at least 85 keys is considered a keyboard. Should fix LP#221177. * gnome_lirc_properties/hardware.py (HalDevice.__init__(), HalDevice.__get_capabilities(), HardwareManager.__find_input_layer_receivers()): Detect input device capabilities and use this information to determinate the number of keys an input device has. Instead of simply skipping 2008-05-17 Mathias Hasselmann Recover .gitignore file. * .gitignore: Restore this file. 2008-05-15 Murray Cumming * gnome_lirc_properties/lirc.py: KeyListener.__on_io_event(): Catch a SocketError when doing socket.recv(), to avoid a possible crash. Ubuntu bug http://bugs.launchpad.net/ubuntu/+source/gnome-lirc-properties/+bug/224954 (not filed upstream). 2008-05-02 Murray Cumming * gnome_lirc_properties/backend.py: ExternalToolDriver.__init__: Add a _hup_expected member variable, initializing it to False. ExternalToolDriver.Execute: Initialize it to False here too. DetectParametersDriver._on_next_line): Detect an extra line from irrecord that suggests that it will finish later without the success text. IrRecordDriver._on_hangup(): Finish sucessfully if _hup_expected instead of aborting. This fixes basic learning with the XBox remote, though irrecord is not capable of then learning key codes for it. 2008-05-02 Murray Cumming * Makefile.am: dist autogen.sh because it is useful sometimes.