- Feb 24, 2009
-
-
Jannis Pohlmann authored
GIO/GFile utility functions.
-
Jannis Pohlmann authored
* TODO: Create a TODO list. * configure.in.in, Makefile.am, tdb/: Remove TDB entirely. * libxfce4menu/libxfce4menu.h: Clean up. * libxfce4menu/xfce-menu-and-rules.{c,h}, libxfce4menu/xfce-menu-not-rules.{c,h}, libxfce4menu/xfce-menu-or-rules.{c,h}, libxfce4menu/xfce-menu-standard-rules.{c,h}, libxfce4menu/xfce-menu-rules.{c,h}: Remove all the XfceMenu*Rules classes. Replace them with one very simple XfceMenuNode function. * libxfce4menu/xfce-menu-directory.{c,h}: Replace the filename string property with a GFile file property. Replace xfce_menu_directory_get_filename() with xfce_menu_directory_get_file() and remove xfce_menu_directory_set_filename(). Fix typos in the signal installation code. * libxfce4menu/xfce-menu-item-cache.c: Remove all TDB related code. Avoid memory leaks when creating new items (same patch as went into the old trunk a while ago, bug #3812). * libxfce4menu/xfce-menu-item-pool.{c,h}: Update xfce_menu_item_pool_apply_exclude_rule() and xfce_menu_item_pool_filter_exclude() to use a GNode instead of an XfceMenuRuleStandardRules. * libxfce4menu/xfce-menu-item.{c,h}: Accept URIs as input to xfce_menu_item_new() and convert them to paths using GFile. * libxfce4menu/xfce-menu-merger.{c,h}: Implement the missing merging and moving code. Fix a lot of bugs in the code. Never access XfceMenuNodes directly, always use xfce_menu_node_tree_*() functions. * libxfce4menu/xfce-menu-node.{c,h}: Add more xfce_menu_node_tree*() functions. Simplify the code. Add support for matching Include/Exclude/And/Or/etc. rules against XfceMenuItems. * libxfce4menu/xfce-menu-parser.{c,h}: Minor cleanups. * libxfce4menu/xfce-menu.{c,h}: Change the first parameter of xfce_menu_new() to GFile. Remove all the parsing code. Use XfceMenuParser and XfceMenuMerger in xfce_menu_load(). Update all the menu loading code to use GNode DOM trees. Replace the filename property with a GFile file property. Still waiting to be implemented again is the layout stuff. Remove functions like xfce_menu_get_directory_dirs() which were not meant for public use anyway. * tests/test-display-menu.c, tests/test-menu-parser.c, tests/test-menu-spec.c: Update to the new API. Cleanups.
-
- Feb 22, 2009
-
-
Jannis Pohlmann authored
on GIO 2.14 as well. * libxfce4menu/Makefile.am: Add new source and header files. * libxfce4menu/libxfce4menu.h: Add new header files. * libxfce4menu/xfce-menu-node.{c,h}: Add new class XfceMenuNode which holds the information for one element in the menu DOM tree, e.g. <MergeFile>, <Name> or <Menu> * libxfce4menu/xfce-menu-tree-provider.{c,h}: Add new interface XfceMenuTreeProvider for classes which hold a GNode DOM representation for .menu files. * libxfce4menu/xfce-menu-parser.{c,h}: Add new parser for .menu XML files. It builds a GNode DOM representation for the XML data. Each GNode in the tree (except for the menu nodes) contains one XfceMenuNode for the XML element information. The parser implements XfceMenuTreeProvider. * libxfce4menu/xfce-menu-merger.{c,h}: Add new class XfceMenuMerger which takes the DOM tree from the parser or any other XfceMenuTreeProvider and resolves duplicates, relative paths and, most importantly, merges and deletes menus according to the information in the DOM tree. It implements XfceMenuTreeProvider. It is not complete yet because it doesn't implement <Move> elements and is not capable of consolidating child menus with the same name at the moment. * tests/Makefile.am, tests/test-menu-parser.c: Add a small test program which parses a menu file using XfceMenuParser and then runs an XfceMenuMerger and prints the output of both.
-
- Feb 11, 2009
-
-
SZERVÁC Attila authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29477 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Feb 08, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29472 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Feb 03, 2009
-
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29446 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
* configure.in.in: Post-release version bump. * libxfce4mixer/xfce-menu.c: Fix crash when reading invalid menu files with characters outside the root <Menu> element. Of course this even works with documents which have no <Menu> element at all. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29445 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29443 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 31, 2009
-
-
Eren Turkay authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29417 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 26, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29394 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 25, 2009
-
-
Jari Rahkonen authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29336 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29330 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
* configure.in.in: Bump version and dependencies and remove 'svn' version tag. * *.po: Update translation files. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29328 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 23, 2009
-
-
Jannis Pohlmann authored
Xubuntu. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29295 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 22, 2009
-
-
Per Kongstad authored
* da.po: updated to version 4.5.92 (Per Kongstad) * da.po, LINGUAS: Danish Translation added (Per Kongstad) git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29291 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 21, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29290 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 19, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29279 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 18, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29272 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Alexander Toresson authored
* sv.po: Swedish translation update (Daniel Nylander) xfce4-panel/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) xfce4-settings/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) libxfce4menu/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) libxfce4util/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) xfwm4/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) xfce4-appfinder/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) xfconf/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) libxfcegui4/trunk/po: * sv.po: Swedish translation update (Daniel Nylander) git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29271 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 15, 2009
-
-
Og Maciel authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29255 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Piarres Beobide authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29254 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 14, 2009
-
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29239 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29238 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 12, 2009
-
-
Jannis Pohlmann authored
version tag. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29194 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
* configure.in.in: Bump version and dependencies. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29193 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 11, 2009
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29184 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 10, 2009
-
-
Jannis Pohlmann authored
* libxfce4menu-0.1.pot, *.po: Update translation files just to make sure they are up to date for the string-freeze release. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29123 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 06, 2009
-
-
Michal Varady authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29107 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
Review strings. * libxfce4menu-0.1.pot, *.po: Update translation files. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29103 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jan 02, 2009
-
-
Nick Schermer authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29075 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Nick Schermer authored
libxfce4menu/xfce-menu-separator.c: Add weak pointer to XfceMenuItemCache and XfceMenuSeparator so you can init and shutdown the library multiple times without running into trouble. * NEWS: Update. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29074 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 30, 2008
-
-
SZERVÁC Attila authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29063 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
SZERVÁC Attila authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29062 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 09, 2008
-
-
Alexander Toresson authored
* sv.po: Swedish translation update (Daniel Nylander) * sv.po, LINGUAS: Swedish translation added (Daniel Nylander) * sv.po, LINGUAS: Swedish translation added (Daniel Nylander) * sv.po, LINGUAS: Swedish translation added (Daniel Nylander) * sv.po, LINGUAS: Swedish translation added (Daniel Nylander) * sv.po: Swedish translation update (Daniel Nylander) * sv.po: Swedish translation update (Daniel Nylander) * sv.po: Swedish translation update (Daniel Nylander) git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@29000 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 07, 2008
-
-
Piarres Beobide authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28987 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 06, 2008
-
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28981 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 04, 2008
-
-
Jannis Pohlmann authored
comparing two menu elements instead of handling menus and items in different ways. * libxfce4menu/xfce-menu-item.c: Minor cleanup of the XfceMenuElement functions. * tests/test-display-menu.c: Always use xfce_menu_get_element(), never use xfce_menu_item_get_name() directly. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28979 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 30, 2008
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28964 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 26, 2008
-
-
Piarres Beobide authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28921 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 25, 2008
-
-
Maximilian Schleiss authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@28914 a0aa69c2-05f4-0310-b83c-d5d913b14636
-