0.2.7: 2008-04-30 Murray Cumming * help/C/gnome-lirc-properties.xml: Minor improvements. 2008-04-30 Murray Cumming * gnome_lirc_properties/lirc.pyL RemoteL Added __set_contributor(), __set_vendor(), and __set_product(). __repr__(): Used them to make these properties writeable. * gnome_lirc_properties/ui/CustomConfiguration.py; CustomConfiguration._on_response(): Set these properties so that they are written to the custom lird.conf.gnome file, so they are shown again when reopening the custom configuration. This fixes bug #530504. 2008-04-29 Murray Cumming * gnome_lirc_properties/net/services.py post_file(), RetrieveTarballThread._retrieve(), RetrieveTarballThread._retrieve_archive(): Added more logging and TODOS because upload/download hang when the URIs are totally bogus. 2008-04-29 Murray Cumming * data/gnome-lirc-properties.glade: Improve some mnemonics, fixing bug #530349 (Wouter Bolsterlee). 2008-04-29 Murray Cumming * gnome_lirc_properties/net/services.py (post_file): Improve the logging, so we see what URL is having a problem. 2008-04-29 Murray Cumming * gnome_lirc_properties/net/services.py (post_file, RetrieveTarballThread._retrieve(): Document some exceptions that this can throw. RetrieveTarballThread._retrieve_checksum(): Catch exceptions separately so we can log more details. RetrieveTarballThread._retrieve_archive(): Catch HTTPException as well as the existing exceptions, so we can catch BadStatusLine. Add some logging. This fixes the crash and hang in bug #529853, though it does not explain why we have an error. (The .tar.gz file exists, but is of 0 size, which should probably be OK.) 2008-04-29 Murray Cumming * data/gnome-lirc-properties.glade: Removed the device name label, because it is confusing to translators. This fixes bug #530348 (Wouter Bolsterlee). 2008-04-28 Murray Cumming * data/gnome-lirc-properties.glade: Marked gtk-* icon names as not translatable. * gnome_lirc_properties/ui/RemoteControlProperties.py RemoteControlProperties._unlock(): Put a message on one line so that it doesn't appear as many broken sentences in the .po file. This fixes most of bug #530348 (Wouter Bolsterlee). 2008-04-28 Bastien Nocera * data/gnome-lirc-properties.desktop.in.in: Add details for bug-buddy to allow bug automatic bug filing (Closes: #530360) 2008-04-28 Mathias Hasselmann Try to restart key-listener when the lircd socket is closed. Should fix bug #529909. * gnome_lirc_properties/lirc.py (KeyListener.__init__(), KeyListener.start(), KeyListener.stop(), KeyListener.__on_io_event()): Add internal __running flag to monitor listener state. This flag is changed by the start() and stop() methods. The I/O handler considers this flag to decide wheither to restart or to disconnect on socket shutdown. Also turned the nested on_io() function of KeyListener.__connect() into a regular class member (__on_io_event()). 2008-04-28 Murray Cumming * test/test-uploader.py: Removed this because the class that it tests no longer exists. Made sure all the tests are svn:executable. 2008-04-28 Murray Cumming * data/gnome-lirc-properties.glade: * gnome_lirc_properties/ui/RemoteControlProperties.py: Change some signal handler names to have a _on_receiver prefix, to make things a bit clearer. 2008-04-28 Murray Cumming * gnome_lirc_properties/net/services.py: post_file(): catch httplib.HTTPException as well as the existing urllib2 errors, because multipart_opener.open() raises this exception. This fixes the crash in bug #529903, but I still don't know how to make the upload work. 2008-04-25 Murray Cumming * gnome_lirc_properties/ui/RemoteControlProperties.py RemoteControlProperties.__on_lirc_changed(): When warning that lircd is not running, mention that it is maybe because of a wrong configuration. Hopefully this explains all the times that I see this. 2008-04-25 Murray Cumming * gnome_lirc_properties/ui/RemoteControlProperties.py RemoteControlProperties._unlock(): Take an optional parent_window parameter, instead of always using self.__dialog. PolicyKit needs one. RemoteControlProperties.__restore_hardware_settings(): Call unlock() before trying to change the configuration, to avoid an error when doing it. Show a temporary dialog because unlock() needs a parent window and the main dialog has not yet been realized. 2008-04-25 Murray Cumming * data/receivers.conf: Add Snapstream Firefly to the list of supported receivers, as well as the Snapstream_Firefly_R1000 name which appeared in previous versions of lirc (The change is probably due to Debian or Ubuntu). Note that this is in /usr/share/lirc/remotes/atiusb/atilircd.conf.ati*. * gnome_lirc_properties/backend.py BackendService.WriteRemoteConfiguration(): When writing Unknown as the vendor, do not translate it, because strings should not be translated in configuration files. * gnome_lirc_properties/lirc.py (Receiver.__init__, RemotesDatabase.find(): Handle Unknown specially for the vendor name, because the database stores them as None. This fixes the problem that the chosen remote control was not shown when the vendor was unknown. RemotesDatabase.check_hardware_settings(): Cope with a None selected_remote instead of crashing. * gnome_lirc_properties/ui/RemoteControlProperties.py RemoteControlProperties.__restore_hardware_settings(): Print a clue when the remote control could not be found in our database. 2008-04-25 Murray Cumming * gnome_lirc_properties/lirc.py: check_hardware_settings(): Use is instead of == in my previous fix. == seemed to actually set it. This made the remote control always be the first in the custom list instead of the supplied one. 2008-04-25 Murray Cumming * gnome_lirc_properties/lirc.py: check_hardware_settings(): Add a check for a None remote. This should fix bug #529854.