head 1.45; access; symbols; locks; strict; comment @# @; 1.45 date 2010.01.24.22.51.45; author lanius; state Exp; branches; next 1.44; commitid lQSQuAMQxnsueFku; 1.44 date 2009.10.28.17.38.23; author lanius; state Exp; branches; next 1.43; commitid McfqGhhOT3tmkk9u; 1.43 date 2009.10.28.17.16.17; author lanius; state Exp; branches; next 1.42; commitid Hwkbh1UPMAoMck9u; 1.42 date 2008.10.30.22.38.27; author lanius; state Exp; branches; next 1.41; commitid xxu80lMQmfMIEHot; 1.41 date 2008.08.10.15.52.54; author lanius; state Exp; branches; next 1.40; commitid EGXskzuJgwM11get; 1.40 date 2008.08.07.17.12.43; author lanius; state Exp; branches; next 1.39; commitid FTE3Ecq6Eq6oySdt; 1.39 date 2008.08.07.17.10.00; author lanius; state Exp; branches; next 1.38; commitid jFGGYHhEVfHrxSdt; 1.38 date 2008.03.02.13.58.07; author lanius; state Exp; branches; next 1.37; commitid j5AjCq12wystyyTs; 1.37 date 2008.03.02.13.47.54; author lanius; state Exp; branches; next 1.36; commitid TTyVhpPui8aZuyTs; 1.36 date 2005.08.11.11.27.30; author lanius; state Exp; branches; next 1.35; commitid 638c42fb361e4567; 1.35 date 2005.08.09.11.50.54; author lanius; state Exp; branches; next 1.34; commitid 27f842f8989d4567; 1.34 date 2005.08.04.08.42.56; author lanius; state Exp; branches; next 1.33; commitid 3a4b42f1d50c4567; 1.33 date 2005.06.02.19.45.28; author lanius; state Exp; branches; next 1.32; commitid 41eb429f61d74567; 1.32 date 2005.06.01.15.31.43; author lanius; state Exp; branches; next 1.31; commitid 61d8429dd4da4567; 1.31 date 2005.05.30.14.16.48; author lanius; state Exp; branches; next 1.30; commitid fb2429b20504567; 1.30 date 2005.05.28.07.57.11; author lanius; state Exp; branches; next 1.29; commitid 4689429824494567; 1.29 date 2005.05.23.17.28.48; author lanius; state Exp; branches; next 1.28; commitid 66ba429212ca4567; 1.28 date 2005.05.23.17.24.34; author lanius; state Exp; branches; next 1.27; commitid 6556429211cf4567; 1.27 date 2005.05.21.21.51.23; author lanius; state Exp; branches; next 1.26; commitid 1798428fad594567; 1.26 date 2005.05.19.14.19.34; author lanius; state Exp; branches; next 1.25; commitid 4d5e428ca0754567; 1.25 date 2005.05.17.09.03.03; author lanius; state Exp; branches; next 1.24; commitid 60da4289b3454567; 1.24 date 2005.05.02.18.07.39; author lanius; state Exp; branches; next 1.23; commitid 151c42766c684567; 1.23 date 2005.05.02.13.34.54; author lanius; state Exp; branches; next 1.22; commitid 67e742762c754567; 1.22 date 2005.04.25.22.40.34; author lanius; state Exp; branches; next 1.21; commitid 6f2b426d71e14567; 1.21 date 2005.04.25.22.35.17; author lanius; state Exp; branches; next 1.20; commitid 6d76426d70a24567; 1.20 date 2005.04.13.18.40.54; author lanius; state Exp; branches; next 1.19; 1.19 date 2005.03.22.23.50.24; author lanius; state Exp; branches; next 1.18; 1.18 date 2005.03.22.23.49.35; author lanius; state Exp; branches; next 1.17; 1.17 date 2005.03.22.23.49.02; author lanius; state Exp; branches; next 1.16; 1.16 date 2005.03.21.09.40.04; author lanius; state Exp; branches; next 1.15; 1.15 date 2005.03.18.22.05.10; author lanius; state Exp; branches; next 1.14; 1.14 date 2005.03.18.08.04.06; author lanius; state Exp; branches; next 1.13; 1.13 date 2004.11.30.15.05.04; author lanius; state Exp; branches; next 1.12; 1.12 date 2004.11.30.14.57.41; author lanius; state Exp; branches; next 1.11; 1.11 date 2004.10.18.17.30.50; author lanius; state Exp; branches; next 1.10; 1.10 date 2004.10.18.17.18.42; author lanius; state Exp; branches; next 1.9; 1.9 date 2004.09.04.10.51.59; author lanius; state Exp; branches; next 1.8; 1.8 date 2004.09.04.10.43.11; author lanius; state Exp; branches; next 1.7; 1.7 date 2004.03.29.20.33.56; author lanius; state Exp; branches; next 1.6; 1.6 date 2004.03.29.14.58.06; author lanius; state Exp; branches; next 1.5; 1.5 date 2004.03.27.22.41.46; author lanius; state Exp; branches; next 1.4; 1.4 date 2004.03.20.18.34.46; author lanius; state Exp; branches; next 1.3; 1.3 date 2004.03.17.21.45.36; author lanius; state Exp; branches; next 1.2; 1.2 date 2004.03.17.20.06.01; author lanius; state Exp; branches; next 1.1; 1.1 date 2003.12.03.20.41.55; author lanius; state Exp; branches; next ; desc @@ 1.45 log @bug fixes, see changelog @ text @Version 0.19 * IniFile.py: add support for trusted desktop files (thanks to karl mikaelsson) * DesktopEntry.py: Support spec version 1.0, Debian bug #563660 * MimeType.py: Fix parsing of in memory data, Debian bug #563718 * DesktopEntry.py: Fix constructor, Debian bug #551297, #562951, #562952 Version 0.18 * DesktopEntry.py: Add getMimeTypes() method, correctly returning strings * DesktopEntry.py: Deprecated getMimeType() returning list of regex * Menu.py: Add support for XDG_MENU_PREFIX * Mime.py: Add get_type_by_contents() Version 0.17 2008-10-30 Heinrich Wendel * Menu.py: Python <= 2.3 compatibility fix * DesktopEntry.py: Fix wrong indention Version 0.16 2008-08-07 Heinrich Wendel * IconTheme.py: Add more directories to the pixmap path 2008-03-02 Heinrich Wendel * IniFile.py: Fix saving of relative filenames * IniFile.py, DesktopEntry.py: Fix __cmp__ method * IniFile.py, IconTheme.py: Better error handling Version 0.15 2005-08-10 Heinrich Wendel * Menu.py: Add support for TryExec 2005-08-09 Heinrich Wendel * Menu.py: Unicode bug fixed! * IconTheme.py: small speedup 2005-08-04 Heinrich Wendel * Menu.py, IconTheme.py: Bugfixes... * MenuEditor.py: Make xml nice; add hide/unhide functions Versinon 0.14 2005-06-02 Heinrich Wendel * Menu.py, MenuEditor.py: Bugfixes... version 0.13 2005-06-01 Heinrich Wendel * Menu.py, MenuEditor.py: Bugfixes... * Config.py: Add root_mode Version 0.12 2005-05-30 Heinrich Wendel * MenuEditor.py: New in this release, use to edit Menus thx to Travis Watkins and Matt Kynaston for their help * Menu.py, IniFile.py, DesktopEntry.py: Lot of bugfixing... * BaseDirectory.py: Add xdg_cache_home * IconTheme.py, Config.py: More caching stuff, make cachetime configurable Version 0.11 2005-05-23 Heinrich Wendel * DesktopEntry.p, Menu.py: A lot of bugfixes, thx to Travis Watkins 2005-05-02 Heinrich Wendel * Config.py: Module to configure Basic Settings, currently available: - Locale, IconTheme, IconSize, WindowManager * Locale.py: Internal Module to support Locales * Mime.py: Implementation of the Mime Specification * Menu.py: Now supports LegacyDirs * RecentFiles.py: Implementation of the Recent Files Specification Version 0.10 2005-04-26 Heinrich Wendel * Menu.py: various bug fixing to support version 1.0.draft-1 2005-04-13 Heinrich Wendel * IniFily.py: Detect if a .desktop file was edited * Menu.py Fix bug caused by excluding NoDisplay/Hidden Items to early Version 0.9 2005-03-23 Heinrich Wendel * IniFile.py: various speedups * Menu.py: add support for , menu-spec-0.91 2005-03-21 Heinrich Wendel * IniFily.py: Small fixes * Menu.py: remove __preparse and don't edit the parsed document, so menu editing is possible store parsed document in Menu.Doc store document name in Menu.Filename 2005-03-18 Heinrich Wendel * Menu.py: fix basename argument, thx to Matt Kynaston ; make it comply to menu-spec-0.9 2004-30-11 Heinrich Wendel * Update BaseDirectory.py to the current ROX version Version 0.8 2004-10-18 Ross Burton * xdg/DesktopEntry.py, xdg/IconTheme.py: Add . to the literal FileExtensions so that the checks work. * xdg/Menu.py: Don't read .desktop-* files, only .desktop 2004-10-18 Martin Grimme * xdg/IconTheme.py (getIconPath): The "hicolor" theme has to be used as the fallback. * xdg/IniFile.py (IniFile.getList): Fixed bug in splitting up strings. Version 0.7 2004-09-04 Heinrich Wendel * Add 'import codecs' to IniFile, needed by write support * Fix parsing of lists with only one entry Version 0.6 2004-08-04 Heinrich Wendel * Performance Improvements Version 0.5 2004-03-29 Heinrich Wendel * Finished Support for menu-spec 0.7 2004-03-27 Heinrich Wendel * 5* speed improvement in Menu.py parsing code 2004-03-20 Heinrich Wendel * check values of Categories/OnlyShowIn keys * various misc changes 2004-03-17 Martin Grimme * xdg/Menu.py (__preparse): * xdg/IconTheme.py (IconTheme.parse): Made compatible with Python 2.3 (None is a keyword). (__parseTheme): Prepend new icon themes to make sure that they have priority when looking up icons. (icondirs): Add "~/.icons" to the paths where to look for icons. Users may have icon themes installed in their home directory. 2003-10-08 Heinrich Wendel * Completed write-support in IniFile 2003-10-05 Heinrich Wendel * Added support for Hidden and NoDisplay in menu-spec * inital write-support in IniFile 2003-10-04 Heinrich Wendel * License change to LGPL-2 * initial support for menu-spec 0.7 Version 0.4 2003-09-30 Heinrich Wendel * Bugfix release Version 0.3 2003-09-12 Heinrich Wendel * Complete IconSpec implementation, including cache and validation 2003-09-07 Heinrich Wendel * Basedir spec converted to version 0.6 * First part of separating DesktopEntry backend in IniFile * added getPath(...) function to Menu.py Version 0.2 2003-09-05 Heinrich Wendel * Rewrite of menu-spec code * Taken basedir-spec code from ROX Version 0.1 2003-08-08 Heinrich Wendel * initial public release @ 1.44 log @version 0.18 @ text @d1 7 @ 1.43 log @add get_mime_by_contents to Mime.py @ text @d3 3 @ 1.42 log @small bugfixes @ text @d1 4 @ 1.41 log @fix wrong indention @ text @d1 4 a4 1 Versino 0.18 @ 1.40 log @update changelog @ text @d1 3 @ 1.39 log @fix path @ text @d3 3 @ 1.38 log @replace tabs with spaces @ text @d5 2 a6 3 * IniFile.py: Fix __cmp__ method @ 1.37 log @small fixes @ text @d5 1 a5 1 * IniFile.py: Fix __cmp__ method d12 1 a12 1 * Menu.py: Add support for TryExec d15 2 a16 2 * Menu.py: Unicode bug fixed! * IconTheme.py: small speedup d19 2 a20 2 * Menu.py, IconTheme.py: Bugfixes... * MenuEditor.py: Make xml nice; add hide/unhide functions d25 1 a25 1 * Menu.py, MenuEditor.py: Bugfixes... d30 2 a31 2 * Menu.py, MenuEditor.py: Bugfixes... * Config.py: Add root_mode d36 7 a42 7 * MenuEditor.py: New in this release, use to edit Menus thx to Travis Watkins and Matt Kynaston for their help * Menu.py, IniFile.py, DesktopEntry.py: Lot of bugfixing... * BaseDirectory.py: Add xdg_cache_home * IconTheme.py, Config.py: More caching stuff, make cachetime configurable d47 2 a48 2 * DesktopEntry.p, Menu.py: A lot of bugfixes, thx to Travis Watkins d51 11 a61 11 * Config.py: Module to configure Basic Settings, currently available: - Locale, IconTheme, IconSize, WindowManager * Locale.py: Internal Module to support Locales * Mime.py: Implementation of the Mime Specification * Menu.py: Now supports LegacyDirs * RecentFiles.py: Implementation of the Recent Files Specification d66 2 a67 2 * Menu.py: various bug fixing to support version 1.0.draft-1 d70 4 a73 4 * IniFily.py: Detect if a .desktop file was edited * Menu.py Fix bug caused by excluding NoDisplay/Hidden Items to early d78 4 a81 4 * IniFile.py: various speedups * Menu.py: add support for , menu-spec-0.91 d84 7 a90 7 * IniFily.py: Small fixes * Menu.py: remove __preparse and don't edit the parsed document, so menu editing is possible store parsed document in Menu.Doc store document name in Menu.Filename d93 3 a95 3 * Menu.py: fix basename argument, thx to Matt Kynaston ; make it comply to menu-spec-0.9 d98 1 a98 1 * Update BaseDirectory.py to the current ROX version d103 4 a106 4 * xdg/DesktopEntry.py, xdg/IconTheme.py: Add . to the literal FileExtensions so that the checks work. * xdg/Menu.py: Don't read .desktop-* files, only .desktop d109 3 a111 3 * xdg/IconTheme.py (getIconPath): The "hicolor" theme has to be used as the fallback. * xdg/IniFile.py (IniFile.getList): Fixed bug in splitting up strings. d116 2 a117 2 * Add 'import codecs' to IniFile, needed by write support * Fix parsing of lists with only one entry d122 1 a122 1 * Performance Improvements d127 1 a127 1 * Finished Support for menu-spec 0.7 d133 2 a134 2 * check values of Categories/OnlyShowIn keys * various misc changes d138 7 a144 7 * xdg/Menu.py (__preparse): * xdg/IconTheme.py (IconTheme.parse): Made compatible with Python 2.3 (None is a keyword). (__parseTheme): Prepend new icon themes to make sure that they have priority when looking up icons. (icondirs): Add "~/.icons" to the paths where to look for icons. Users may have icon themes installed in their home directory. d147 1 a147 1 * Completed write-support in IniFile d150 2 a151 2 * Added support for Hidden and NoDisplay in menu-spec * inital write-support in IniFile d154 2 a155 2 * License change to LGPL-2 * initial support for menu-spec 0.7 d160 1 a160 1 * Bugfix release d165 1 a165 1 * Complete IconSpec implementation, including cache and validation d169 3 a171 3 * Basedir spec converted to version 0.6 * First part of separating DesktopEntry backend in IniFile * added getPath(...) function to Menu.py d177 2 a178 2 * Rewrite of menu-spec code * Taken basedir-spec code from ROX d184 1 a184 1 * initial public release @ 1.36 log @add tryexec feature @ text @d1 8 @ 1.35 log @changelog, 0.15 @ text @d3 3 @ 1.34 log @small bugfixes @ text @d1 6 d9 1 @ 1.33 log @bug fix relesae @ text @d1 3 @ 1.32 log @root_mode @ text @d1 5 @ 1.31 log @update... @ text @d1 6 @ 1.30 log @cache time @ text @d1 3 a3 1 2005-05-28 Heinrich Wendel @ 1.29 log @better changelog ;) @ text @d1 9 @ 1.28 log @update changelog @ text @d4 1 a4 1 * DesktopEntry.p, Menu.py: Various bugfixes, thx to Travis Watkins @ 1.27 log @update changelog @ text @d1 1 a1 2 2005-05-21 Heinrich Wendel * Menu.py: Make entry.Show more verbose about why the entry is hidden d3 3 a5 7 2005-05-19 Heinrich Wendel * Menu.py: Some helper stuff for Menu handling 2005-05-17 Heinrich Wendel * Menu.py: Small fixes * DesktopEntry.py, Menu.py: Remove automatically retrieving of the icon again, the user should decide himself @ 1.26 log @changelog @ text @d1 3 @ 1.25 log @update changelog and version @ text @d1 3 @ 1.24 log @add RecentFile.py @ text @d1 5 @ 1.23 log @a lot see changelog @ text @d11 2 @ 1.22 log @fix ChangeLog @ text @d1 11 @ 1.21 log @version bump @ text @d1 2 d13 2 @ 1.20 log @see changelog @ text @d1 4 @ 1.19 log @changelog @ text @d1 6 @ 1.18 log @changelog @ text @d5 1 a5 1 add support for @ 1.17 log @update ChangeLog @ text @d14 1 @ 1.16 log @update ChangeLog @ text @d1 6 @ 1.15 log @update changelog @ text @d1 8 @ 1.14 log @update ChangeLog @ text @d2 3 a4 2 * Menu.py fix basename argument, thx to Matt Kynaston @ 1.13 log @Update BaseDirectory.py to the current rox version @ text @d1 4 @ 1.12 log @whatever changed... @ text @d1 3 @ 1.11 log @some bugfixes from Ross Burton @ text @d1 2 @ 1.10 log @bugfixes, see changelog @ text @d1 6 @ 1.9 log @fix two small bugs, see changelog @ text @d1 5 @ 1.8 log @version 0.6 @ text @d1 6 @ 1.7 log @finished support for menu-spec 0.7 @ text @d1 5 @ 1.6 log @Finished Support for , , , in Layout parsing in Menu.py @ text @d4 1 a4 2 * Finished Support for , , , in Layout parsing in Menu.py @ 1.5 log @5* speedup in Menu.py parsing code @ text @d3 4 @ 1.4 log @changelog @ text @d3 3 @ 1.3 log @fix date in changelog @ text @d3 5 a7 1 2004-03-17 Martin Grimme @ 1.2 log @some fixes from Martin Grimme , see changelog for more info @ text @d13 1 a13 1 2003-10-98 Heinrich Wendel @ 1.1 log @initial import @ text @d3 10 @