restricted-manager (0.20) feisty; urgency=low

  * RestrictedManager/nvidia.py: Override is_loaded() and check for the
    "nvidia" module also for legacy and new, since all three modules appear as
    just "nvidia" in lsmod. (LP: #105812)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 12 Apr 2007 10:35:08 +0200

restricted-manager (0.19) feisty; urgency=low

  [ Martin Pitt ]
  * debian/control: Add X-Vcs-Bzr.
  * autostart/restricted-manager.desktop.in: Fix capitalization. (LP: #103248)
  * RestrictedManager/core.py: Keep track of whether a module's enable status
    has changed throughout program runtime, add method is_changed().
  * restricted-manager: Only set status 'needs computer restart' if the module
    actually has been enabled/disabled. This avoids marking modules as 'needs
    computer restart' which haven't been touched, but were not loaded due to
    missing hardware (such as the commercial OSS drivers). (LP: #102468)
  * restricted-manager: Disable tree view while enabling/disabling a driver
    (which takes a long time for X.org drivers). (LP: #103129)
  * RestrictedManager/xorg_driver.py: Move DefaultHandler enable/disable calls
    after package installation and check, so that aborted package operations
    do not cause the module to get (un)blacklisted and the UI to become
    inconsistent. (LP: #104111)
  * RestrictedManager/nvidia.py: Add class NewNvidiaDriver for the new
    nvidia-glx-new driver package.

  [ Johan Kiviniemi ]
  * debian/apport_hook.py, debian/rules: Add an apport hook that attaches
    /etc/X11/xorg.conf and a list of connected devices to the bug report.
  * RestrictedManager/core.py: Also read the modalias overrides now provided
    by linux-restricted-modules.
  * modalias_override/{ath_hal,fglrx,nvidia}: Remove, since l-r-m provides
    them now.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 10 Apr 2007 14:09:39 +0200

restricted-manager (0.18) feisty; urgency=low

  * RestrictedManager/xorg_driver.py: Intercept ParseException and
    AttributeError when parsing xorg.conf, and display an error dilaog instead
    of crashing. (LP: #102052)
  * restricted-manager: Set gettext domain for the glade file to get a
    translated window title. (LP: #99357)
  * RestrictedManager/restricted22.png: Replace with a non-blurry version,
    thanks to Jef! (LP: #102641)
  * RestrictedManager/core.py, save_restricted_list(): If we encounter an
    exception during writing the cache file (e. g. out of space), unlink it,
    so that we ensure to never have broken cache files. (LP: #101883)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed,  4 Apr 2007 11:45:38 +0200

restricted-manager (0.17) feisty; urgency=low

  * debian/rules: Build with DH_PYCENTRAL=nomove, just to make double sure to
    circumvent #93795.
  * RestrictedManager/xorg_driver.py: Do not crash on empty lines in the
    Module section. (LP: #98579)
  * restricted-manager: Use the update-notifier reload icon instead of the
    stock Gnome 'refresh' one for consistency. Thanks to izi for the patch!
    (LP: #97726)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 30 Mar 2007 15:23:07 +0200

restricted-manager (0.16) feisty; urgency=low

  * restricted-manager: Add proper status text for 'not in use'. (LP: #97724)
  * restricted-manager: Do not show the confirm dialog when a driver cannot be
    changed anyway.
  * RestrictedManager/xorg_driver.py: Check if /etc/X11/xorg.conf exists, and
    if not, have can_change() return False. (LP: #97654)
  * restricted-manager: Check whether we have the correct l-r-m package
    installed and display an error dialog if not. (LP: #92854)
  * RestrictedManager/nvidia.py: Fix DefaultDepth to 24 when enabling the
    driver. (LP: #97735)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 29 Mar 2007 13:52:17 +0200

restricted-manager (0.15) feisty; urgency=low

  * debian/control: Use XS-Python-Version 'all' instead of 'current', since
    the latter seems to break quite often on upgrades. (see #93795)
  * applications/restricted-manager.desktop.in: Do not show for non-admins.
    (LP: #97163)
  * Add RestrictedManager/xorgconfig.py (stolen from kdeguidance):
    Parser/writer for X.org configuration files. Add author and copyright to
    debian/copyright.
  * RestrictedManager/xorgconfig.py: Change formatting a bit to make it more
    similar to what dexconf produces.
  * RestrictedManager/xorg_driver.py:
    - Use xorgconfig.py to mangle /etc/X11/xorg.conf directly instead of
      relying on consistent debconf values and using dexconf. This makes r-m
      work with custom configurations (including install scripts from
      nvidia/fglrx upstream packages) and avoids changing unrelated settings
      like keyboard/screen resolution/BusID etc.  (LP: #92836, LP: #94549,
      LP: #93075)
    - Back up the entire original config before enabling a driver. If it
      exists when disabling again, restore it entirely. (LP: #96474)
    - is_enabled(): Do not check for installed GLX library package any more
      (such as nvidia-glx), since they could be installed directly from
      upstream. Now only check the xorg.conf configuration. (LP: #94626)
    - Add {enable,disable}_config_hook() for nonstandard modifications to the
      X.org configuration.
  * RestrictedManager/fglrx.py: Use above *_config_hook() to add/remove the
    'Extensions' section and disable Composite. In previous versions, dexconf
    did that for us.
  * restricted-manager: Drop check for readability of debconf database, since
    we do not need it any more.
  * Some small UI improvements, thanks to izi!
    - Remove the redundant 'Enable' button, we already have the check boxes.
    - Display stock yes/no/reload icons in addition to the textual status.
    - Add window icon.
    - Do not update the tree model when cancelling enabling/disabling.
    - Make modal dialogs transient.
    - (LP: #97170)
  * RestrictedManager/core.py: Add a global variable
    package_install_idle_function which, if set to a function, is executed
    repeatedly while waiting for synaptic to finish. This avoids GTK specific
    code in the backend.
  * restricted-manager: Set core.package_install_idle_function to a default
    GTK event processing loop. (LP: #97399)
  * restricted-manager: Determine main window xid and pass it to synaptic as
    parent window, so that it becomes transient.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 28 Mar 2007 16:53:24 +0200

restricted-manager (0.14) feisty; urgency=low

  * modalias_override/nvidia: Update for new nvidia driver in l-r-m 2.6.20-13.
    (LP: #95779, LP: #96702)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 26 Mar 2007 17:13:38 +0200

restricted-manager (0.13) feisty; urgency=low

  * restricted-manager: Drop 'In Use' checkboxes which could not be operated
    anyway and were confusing for too many users. Replace them with a 'status'
    text, saying 'In use', 'Needs computer restart', or nothing. (LP: #95901)
  * RestrictedManager/nvidia.py, legacy driver: Enable AllowGLXWithComposite.
    (LP: #91064)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 26 Mar 2007 11:19:12 +0200

restricted-manager (0.12) feisty; urgency=low

  [ Martin Pitt ]
  * debian/restricted-manager.postinst: Bump version for purging invalid cache
    files on upgrades to 0.11, to clean up after #93368.
  * {applications,autostart}/restricted-manager.desktop.in: Add gettext
    domain. (LP: #94754)
  * restricted-manager, --check-composite: If /var/cache/debconf/config.dat is
    not world-readable (as happens after a crisp clean install for some
    reason), gksu itself and try again.
  * Call programs in /sbin and /usr/sbin/ with absolute paths. (LP: #94516)

  [ Johan Kiviniemi ]
  * RestrictedManager/modalias.{append,override},
    modalias_override/{ath_hal,fglrx,ipw3945.manual,nvidia}:
    Replaced the monolithic modalias pattern files with a directory that
    contains the patterns in separate files. Now manually written patterns
    are in different files than automatically generated ones.
  * debian/rules: Don't install the old patterns.
  * debian/restricted-manager.install: Install the new patterns.
  * RestrictedManager/core.py: Use the new modalias pattern directory
    instead of modalias.{append,override}.
  * modalias_override_scripts/ath_hal_supported: Add a script to generate
    the ath_hal listing from the ath_pci listing.
  * modalias_override_scripts/fglrx_supported:
    - Changed the comments to point to the new pattern directory.
    - Print a comment about the output being automatically generated.
    - Sort the output, so that future changes cause as small diffs as
      possible.
  * modalias_override_scripts/nvidia_supported: Rewrote the whole script.
    Now the IDs are parsed directly from the nvidia modules instead of
    scraping the nVidia website. Now the listing should be complete.
  * modalias_override/nvidia: Generated with the new nvidia_supported
    script. (LP: #93300)
  * debian/restricted-manager.{postinst,postrm}: Always remove cache files
    when upgrading; remove /var/cache/restricted-manager altogether when
    uninstalling.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 23 Mar 2007 17:59:40 +0100

restricted-manager (0.11) feisty; urgency=low

  * RestrictedManager/xorg_driver.py: Do not autodetect mouse and monitor when
    reconfiguring xserver-xorg for a new driver. This avoids clobbering
    manually added undetected resolutions. (LP: #93643)
  * po/de.po: Synchronize with Rosetta.
  * RestrictedManager/nvidia.py: Enable NoLogo by default. (LP: #93306)
  * RestrictedManager/nvidia.py: Enable AddARGBVisuals to make Beryl work.
    (LP: #93262)
  * RestrictedManager/xorg_driver.py: Do not mangle xorg.conf if package
    download/installation was aborted. (LP: #92573)
  * RestrictedManager/nvidia.py: Fix passing of driver package name, so that
    the legacy driver actually installs nvidia-glx-legacy. (LP: #92849, part
    one)
  * RestrictedManager/{xorg_driver,nvidia,fglrx}.py: Do not assume that the
    kernel module name always matches the X.org driver module name
    (nvidia_legacy vs. nvidia), but instead pass the X.org driver name as a
    separate attribute. (LP: #92849, part two)
  * RestrictedManager/modalias.override: Add NV44A [GeForce 6200] (not covered
    by nvidia_supported). (LP: #93209)
  * RestrictedManager/core.py: When loading default or special handlers, check
    that there is actually a kernel module behind. Otherwise we will display
    handlers with overrides on platforms which do not actually provide those
    modules. (LP: #93368) 

 -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 19 Mar 2007 14:12:55 +0100

restricted-manager (0.10) feisty; urgency=low

  * RestrictedManager/{fglrx,nvidia}.py: Call dpkg-reconfigure xserver-xorg
    instead of dexconf directly, to take advantage of its special magic. This
    also takes care of writing backup files, so disable our own backup file
    writing. (LP: #91036)
  * RestrictedManager/{fglrx,nvidia}.py: Set the 'seen' flags of the modified
    debconf questions, to reduce the chance of dpkg-reconfigure clobbering
    them.
  * RestrictedManager/{fglrx,nvidia}.py: Add some logging to
    /var/log/restricted-manager.log to debug currently open bugs. This will be
    removed again later.
  * restricted-manager: If there are no applicable handlers at all, display an
    info message box that the hardware does not need any restricted drivers
    and exit. (LP: #92485)
  * restricted-manager, RestrictedManager/core.py: Move reboot notification
    function into core.notify_reboot_required(), so that we can use in the
    handlers, too.
  * RestrictedManager/{fglrx,nvidia}.py: Trigger reboot notification on
    enabling, too. (LP: #92684)
  * Add modalias_override/fglrx_supported: Script to parse supported product
    IDs out of /usr/lib/xorg/modules/drivers/fglrx_drv.so. Thanks to Johan
    Kiviniemi!
  * RestrictedManager/modalias.append: Replace the 'catch all ATI graphics
    cards' line with the product ID list generated by fglrx_supported, so that
    the fglrx driver is not offered any more on models it doesn't support.
    (LP: #92498)
  * Renamed RestrictedManager/nvidia.py to RestrictedManager/xorg_driver.py
    and replaced the few nvidia-specific bits with ctor argument variables.
  * Reimplement nvidia.py and fglrx.py as XorgDriver subclasses, since they
    shared 95% of code.
  * RestrictedManager/xorg_driver.py: Set xserver-xorg/autodetect_video_card
    to false when enabling a driver, so that xserver-xorg's postinst does not
    clobber our freshly selected restricted driver. Enable it again when
    disabling the restricted driver.
  * po/POTFILES.in: Add missing fglrx.py and xorg_driver.py.
  * restricted-manager, RestrictedManager/core.py: Add new DefaultHandler
    method can_change() which checks if r-m can change this driver at all. If
    not, show an error message with an explanation.
  * RestrictedManager/xorg_driver.py: Add can_change() which checks for a
    modified xorg.conf. (LP: #92690)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 16 Mar 2007 19:10:19 +0100

restricted-manager (0.9) feisty; urgency=low

  [ Jani Monoses ]
  * restricted-manager: Use optparse instead of Gnome's popt.
  * debian/control: Remove python-gnome2 dependency to make package suitable
    for XFCE, too. (LP: #92201)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 15 Mar 2007 10:57:09 +0100

restricted-manager (0.8) feisty; urgency=low

  * restricted-manager: Exit with 1 if --check-composite has nothing to do, so
    that desktop-effects can do different actions based on whether or not a
    new driver was installed.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 14 Mar 2007 09:57:26 +0100

restricted-manager (0.7) feisty; urgency=low

  [ Johan Kiviniemi ]
  * RestrictedManager/core.py: Save the module cache *after* parsing
    modalias.override.
  * debian/restricted-manager.postinst: Invalidate cache files saved by
    earlier versions.

  [ Martin Pitt ]
  * RestrictedManager/fglrx.py: Add/remove fglrx to/from /etc/modules;
    reportedly it is not always autoloaded. (LP: #91315)
  * po/de.po: Completely translate GUI to discover remaining i18n problems.
  * RestrictedManager/manager.glade, restricted-manager: Move main window
    heading label text into the Python code. For some weird reason, gettext is
    not called on the string when having it in the glade data.
  * applications/restricted-manager.desktop.in: Specify .desktop file as gksu
    -D argument instead of fixed English string to re-use the .desktop's Name
    translations.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 13 Mar 2007 19:33:26 +0100

restricted-manager (0.6) feisty; urgency=low

  [ Johan Kiviniemi ]
  * modalias_override/nvidia_supported: Change to work with Feisty's hpricot
    Ruby module.

  [ Martin Pitt ]
  * restricted-manager: Add option --check-composite which checks whether
    there is a restricted graphics driver with composite support available.
    Only tests for nvidia ATM, since fglrx reportedly does not support
    composite.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 13 Mar 2007 13:14:50 +0100

restricted-manager (0.5) feisty; urgency=low

  [ Martin Pitt ]
  * applications/restricted-manager.desktop.in: Capitalize 'Manager'
    (LP: #90722)
  * restricted-manager: Replace deprecated egg.TrayIcon by gtk.StatusIcon
    which makes the code much simpler. Drop python-gnome2-extras dependency.
  * Added RestrictedManager/restricted22.png: 22x22 version of the small
    restricted16.png icon; scaling down the large one in the tray looked bad.
  * debian/copyright: Clean up authors a bit.
  * RestrictedManager/fglrx.py, RestrictedManager/nvidia.py: Do not hardcode
    'ati' and 'nv' as driver when disabling the restricted one; instead,
    remember the previous driver. (LP: #91311)
  * RestrictedManager/fglrx.py, RestrictedManager/nvidia.py: Call
    DefaultHandler's enable/disable functions as well, to handle module
    (un)blacklisting.
  * RestrictedManager/core.py: Add class methods {en,dis}able_etcmodules() to
    modify /etc/modules. This is needed for bugs like #91315

  [ Johan Kiviniemi ]
  * restricted-manager, RestrictedManager/core.py,
    RestrictedManager/fglrx.py, RestrictedManager/nvidia.py: No longer
    running lspci and specifying hardware vendor/class IDs inside the
    code. Instead query modules themselves for hardware identification
    patterns and sysfs for connected hardware.
  * RestrictedManager/modalias.append: Patterns for modules that do not
    contain them already.
  * RestrictedManager/modalias.override: Patterns for modules that provide too
    broad patterns themselves.
  * debian/rules: Install modalias.append, modalias.override.
  * debian/restricted-manager.postinst: Remove cache files made by older
    versions, since the format has changed.
  * modalias_override: Added a script that scrapes the nVidia website for
    accurate lists of cards supported by the drivers.
  * debian/copyright: Mention modalias_override/nvidia_supported.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 13 Mar 2007 10:26:20 +0100

restricted-manager (0.4) feisty; urgency=low

  * Add interface DefaultHandler.check_hardware() and don't show drivers
    whose function returns False.
  * RestrictedManager/nvidia.py: Add an lspci-based check_hardware() test.
  * Add RestrictedManager/fglrx.py: Handler for ATi's fglrx driver. 
  * debian/control: Fix dependencies: python-gnome2, add synaptic,
    python-gnome2-extras.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu,  8 Mar 2007 20:09:45 +0100

restricted-manager (0.3) feisty; urgency=low

  * RestrictedManager/core.py: Add DefaultHandler classmethods
    package_installed(), install_package(), and remove_packagage().
  * RestrictedManager/nvidia.py: Install/Remove the nvidia-glx{,-legacy}
    package when enabling/disabling one of the Nvidia drivers. (LP: #90205)
  * RestrictedManager/nvidia.py: Enable AddARGBGLXVisuals option when using
    the non-legacy driver, so that compiz works out of the box. (LP: #90109)

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu,  8 Mar 2007 12:38:52 +0100

restricted-manager (0.2) feisty; urgency=low

  * i18n'ed all Python files.
  * Add German translations to test i18n.
  * setup.py: Ship generated .mo files.
  * Also show .desktop files under XFCE.
  * Fix installation and handling of icons so that they actually work. Thanks
    to Johan Kiviniemi!
  * Made xorg.conf backup file handling more robust. Thanks to Johan
    Kiviniemi!
  * RestrictedManager/core.py, generate_restricted_list(): Try to dpkg -L the
    linux-image package of the currently running kernel. If it succeeds, use
    the file list to bypass the expensive modinfo check for the known-free
    modules. This nicely drops the time to generate the non-free modules list
    from about 10 to 0.5 seconds.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Tue,  6 Mar 2007 20:19:16 +0100

restricted-manager (0.1) feisty; urgency=low

  * Initial release.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu,  1 Mar 2007 13:28:33 +0100
