diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2009-08-12 13:31:13 +0200 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2009-08-12 13:31:13 +0200 |
commit | daeb451ad49f071bba97be20c23430ddf17da2eb (patch) | |
tree | 97984dca11689fc14332dd04f2b2f535483eb3fb /NEWS | |
parent | 131ec8a61226d262abac0b6d9cc72955e8bedf22 (diff) | |
download | garcon-daeb451ad49f071bba97be20c23430ddf17da2eb.tar.gz |
Squashed commit of the following:
commit 2f76d64dfe0d9168d4b77dbefe8f0db9acf55385
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 10 20:23:47 2009 +0200
Fix references in garcon-docs.xml and garcon-sections.xml
commit 2d993a9d8fc4842ebfae520ee1e3791419daefd0
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 10 20:20:58 2009 +0200
Add missing pkg-config file.
commit 4bf640287b217691d9fa738f329e8dd99326d68e
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 10 20:17:51 2009 +0200
Rename files from e.g. garconmenudirectory.h to garcon-menu-directory.h.
Also add garcon-config.c.
commit b0e033b87c6bc05c8ad52bcc62a12ecd76003a7d
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 10 19:59:49 2009 +0200
Remove gdesktopmenu/ directory.
commit 57bbc1bfda7a0187f2a55cc955a8be7e5097ad63
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 10 18:48:28 2009 +0200
Rename gdesktopmenu to garcon. Major work done by Travis Watkins.
This commit renames gdesktop to garcon. It also improves the API docs
and adds Travis to the AUTHORS file. A few things still might be broken
due to the rename.
commit fbcf204a5e415add697f1562bc2ae0766c37e936
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu May 7 17:49:02 2009 +0200
* gdesktopmenu/gdesktopmenu.c: Fix typo in g_desktop_menu_get_type().
commit 8ac6ce691f11c31feea6410b473550f180238241
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu May 7 17:28:17 2009 +0200
* gdesktopmenu/gdesktopmenu.{c,h}: Move _GDesktopMenu and
_GDesktopMenuClass into the header file in order for
GObject-introspection to work.
commit cb9270e7bf96f3491afd7e89bd09eaa252a874e4
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu May 7 13:33:24 2009 +0200
* docs/reference/: Improve API docs structure.
* gdesktopmenu/Makefile.am, gdesktopmenu/gdesktopmenu.{c,h},
gdesktopmenu/gdesktopmenumain.{c,h}: Move init/shutdown code into
gdesktopmenumain.{c,h}.
commit 69bf037252b6ec66695846f238e8d242df7f3e96
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu May 7 04:08:13 2009 +0200
* Fix compilation errors, missing "lib" prefix and set the API version
to 1 (not the libtool one).
commit cdc2006747cd9ff4a6c2a5b5f6e441e8f92e20fb
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu May 7 03:28:33 2009 +0200
* Rename to gdesktopmenu. This will need a few more commits to work
again though.
commit ca38e06a2bc4f62efa4fa17deb661116175b93c5
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Mon May 4 00:10:56 2009 +0200
* docs/reference/libxfce4menu-sections.txt,
libxfce4menu/xfce-menu-directory.{c,h},
libxfce4menu/xfce-menu-element.{c,h},
libxfce4menu/xfce-menu-item.{c,h},
libxfce4menu/xfce-menu-separator.c,
libxfce4menu/xfce-menu.c: Add xfce_menu_element_get_no_display() and
xfce_menu_element_get_visible_in_environment() to the
XfceMenuElement interface. Implement this in XfceMenu,
XfceMenuDirectory, XfceMenuItem and XfceMenuSeparator.
commit c5bda99f7d31cadf19978d85afb2da1eb1300698
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun May 3 23:31:17 2009 +0200
* docs/reference/libxfce4menu-sections.txt, libxfce4menu/xfce-menu.c,
libxfce4menu/xfce-menu-element.{c,h}, libxfce4menu/xfce-menu-item.c,
libxfce4menu/xfce-menu-separator.c: Add new function
xfce_menu_element_get_comment() to the XfceMenuElement interface and
implement it in XfceMenu, XfceMenuItem and XfceMenuSeparator.
commit 681672a4bf447a33ecd36dda83fdc1323bd83745
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sat Apr 4 23:56:19 2009 +0200
* AUTHORS: Add Travis Watkins as a contributor.
* docs/reference: Update API docs.
* libxfce4menu/xfce-menu-directory.{c,h},
libxfce4menu/xfce-menu-element.{c,h},
libxfce4menu/xfce-menu-item.c,
libxfce4menu/xfce-menu-separator.c, libxfce4menu/xfce-menu.c: Add
xfce_menu_element_get_visible() to XfceMenuElement. The
XfceMenuSeparator implementation always returns TRUE while the
XfceMenuItem implementation checks the Hidden/OnlyShowIn/NotShowIn
values of the corresponding desktop entry. XfceMenu checks the
Hidden/OnlyShowIn/NotShowIn values of its XfceMenuDirectory as well
as whether there are any visible child elements. Thanks to Travis
Watkins for the patch.
* tests/test-display-menu.c, tests/test-menu-spec.c: Update tests to
reflect the latest API changes. Thanks to Travis for updating
test-display-menu.c.
commit 1beaec37e3e59a734660624928b8fbe77b864cf8
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 04:26:59 2009 +0100
* STATUS: Update STATUS file.
commit 8e9a5a836005b47691c2c35b08230855d3fc57e2
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 04:22:26 2009 +0100
* docs/reference/: Update API docs.
* libxfce4menu/libxfce4menu.c: Set path pointer to NULL after freeing
it to avoid random data in it.
* libxfce4menu/xfce-menu-merger.c: Prepend a default layout element
to the root menu so that the root menu and its children have a
layout to use as a fallback. Remove empty layout elements so that
we can fallback to the default layout.
* libxfce4menu/xfce-menu-node.{c,h}: Add new function
xfce_menu_node_tree_get_child_node(). Add
XFCE_MENU_NODE_TYPE_DEFAULT_LAYOUT to the XfceMenuNodeType enum.
* libxfce4menu/xfce-menu-parser.c: Parse <DefaultLayout> elements.
Attributes are currently ignored.
* libxfce4menu/xfce-menu.c: Properly look up the right layout or
default layout in xfce_menu_get_elements().
* tests/test-display-menu.c, tests/test-menu-spec.c: Improve error
messages.
* POTFILES.in: Remove deleted file xfce-menu-layout.c.
commit 57ea0ddfef80394168f14676f64b7e66c8c10b47
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 03:14:14 2009 +0100
* docs/reference/libxfce4menu-sections.txt,
docs/reference/libxfce4menu.types, libxfce4menu/Makefile.am,
libxfce4menu/libxfce4menu.h, libxfce4menu/xfce-menu.{c,h},
libxfce4menu/xfce-menu-layout.{c,h}: Remove XfceMenuLayout class.
Also remove xfce_menu_get_items() and rename
xfce_menu_get_layout_elements() to xfce_menu_get_elements(). Make
menu layouts work again with the GNode trees we have instead of
XfceMenuLayout now.
* tests/test-display-menu.c, tests/test-menu-spec.c: Update tests to
the latest API.
commit 6370bb67c622e0ec699f6bccc2b2f9d12960e287
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 02:17:10 2009 +0100
* libxfce4menu/xfce-menu-node.c: Really fix the typo this time.
* libxfce4menu/xfce-menu-parser.c: Remove break inside an if statement
and thereby fix the parsing of <Layout> child elements.
commit a45b9bc65f11f8af8edd76359025cb3b2193aadf
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 02:03:08 2009 +0100
* libxfce4menu/xfce-menu-node.c: Fix type macro typo in
xfce_menu_node_tree_get_layout_merge_type().
commit e9606e53489220c0c418b3b7e597509091666345
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Mar 15 01:59:42 2009 +0100
* libxfce4menu/xfce-menu-merger.c: Remove duplicate layout nodes and
only keep the last one.
commit 63a8fc24598d7ed329aaafcf927eab1b2f78fd64
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sat Mar 14 04:05:14 2009 +0100
* libxfce4menu/*.h: Remove trailing semicolons after G_BEGIN_DECLS and
G_END_DECLS because it makes gobject-introspection freak out and its
also a bit of a syntax error. Reported by Travis Watkins.
commit 0baa89ae693321efea5c71bd84e2924bbb958817
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sat Mar 14 02:09:38 2009 +0100
* INSTALL: Update the install information.
* configure.in.in, libxfce4menu/libxfce4menu-0.1.pc.in,
libxfce4menu/xfce-menu-directory.c,
libxfce4menu/xfce-menu-item-cache.c, libxfce4menu/xfce-menu-item.c,
libxfce4menu/xfce-menu-merger.c, libxfce4menu/xfce-menu-parser.c: Get
rid of libxfce4util and related code like xfce_resource_dirs(). Use
GKeyFile instead of XfceRc. A lot of this code comes from Travis
Watkins <amaranth@ubuntu.com> who was kind enough to provide a
patch.
* docs/reference/libxfce4menu-sections.txt: Update sections.
* libxfce4menu/libxfce4menu.{c,h}: Rename xfce_menu_init() and
xfce_menu_shutdown() to libxfce4menu_init() and
libxfce4menu_shutdown(). Add new function
xfce_menu_config_lookup().
* libxfce4menu/xfce-menu.{c,h}: Use xfce_menu_config_lookup() instead
of xfce_resource_lookup(). Remove xfce_menu_init() and
xfce_menu_shutdown() declaration in the header file.
* tdb/: Remove TDB entirely.
* tests/test-display-menu.c, tests/test-menu-parser.c,
tests/test-menu-spec.c: Update to new API and get rid of
libxfce4util code.
* POTFILES.in: Update translatable source file list.
* libxfce4menu-0.1.pot: Update pot file.
commit ae27baffe7adf8d5557296689907f8f6ee045e38
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu Mar 12 02:29:11 2009 +0100
* libxfce4menu/xfce-menu-monitor.h, libxfce4menu/libxfce4menu.c:
Something is wrong with the API docs. Another try to fix them.
commit 916fee3ae4934e3876f8bc0ccc2532d73d8f8baa
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu Mar 12 01:06:40 2009 +0100
* libxfce4menu/xfce-menu-monitor.h, libxfce4menu/xfce-menu.c: Try to
fix broken API docs syntax and add docs for the
XfceMenuMonitorVTable members.
commit e27803e72515c0d22272ffc20ef6450236fd95c1
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Thu Mar 12 00:38:48 2009 +0100
* libxfce4menu/xfce-menu-directory.{c,h}: Add function
xfce_menu_directory_equal() which compares two XfceMenuDirectory
objects based on their GFile members.
* libxfce4menu/xfce-menu-layout.{c,h}: Use GList instead of GSList
everywhere.
* libxfce4menu/xfce-menu-merger.{c,h}: Never access GNode data
directly. Instead always use the xfce_menu_node_tree*() functions.
* libxfce4menu/xfce-menu-node.{c,h}: Add functions
xfce_menu_node_tree_get_child_nodes(),
xfce_menu_node_tree_get_string_children(),
xfce_menu_node_tree_get_boolean_child() and
xfce_menu_node_tree_get_string_child() to collect the values of
immediate children of a GNode tree. Add new functions
xfce_menu_node_tree_set_string() and
xfce_menu_node_tree_set_merge_file_filename() so that GNode data
needs to be accessed less often. Fix assertions in a few other
functions.
* libxfce4menu/xfce-menu-parser.c: Fix segmentation fault due to an
uninitialized GError in GIO.
* libxfce4menu/xfce-menu.{c,h}: Use GList instead of GSList everywhere.
Improve API docs for a few public functions. Change xfce_menu_new()
again to expect a filename as the first parameter. Add a separate
function xfce_menu_new_for_file() to create an XfceMenu from a
GFile. Rename xfce_menu_get_root() to xfce_menu_new_applications().
Replace a lot of traversing code with the new
xfce_menu_node_tree_get*() functions.
* tests/test-display-menu.c, tests/test-menu-parser.c,
tests/test-menu-spec.c: Update to new libxfce4menu API.
commit 16f4b0a5bf618c39d7cd00809e80283c92b2854a
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 19:56:11 2009 +0100
* libxfce4menu/libxfce4menu.c: Add missing source file.
* docs/reference/: Try to get the damn docs right.
* libxfce4menu/libxfce4menu.{c,h}, libxfce4menu/xfce-menu.c: Move
xfce_menu_init() and xfce_menu_shutdown() into libxfce4menu.{c,h}.
Fix #undef LIBXFCE4MENU_INSIDE_LIBXFCE4MENU_H.
* libxfce4menu/xfce-menu-node.{c,h}: Make XfceMenuNodeType enum code
private.
commit ddc429f7579481beea1882ed2bcf04b92524dc2e
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 19:52:54 2009 +0100
* docs/reference/: Try to get the damn docs right.
* libxfce4menu/libxfce4menu.{c,h}, libxfce4menu/xfce-menu.c: Move
xfce_menu_init() and xfce_menu_shutdown() into libxfce4menu.{c,h}.
Fix #undef LIBXFCE4MENU_INSIDE_LIBXFCE4MENU_H.
* libxfce4menu/xfce-menu-node.{c,h}: Make XfceMenuNodeType enum code
private.
commit a59ae46f053fab057408b0fa86011d4a543758d9
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 18:20:34 2009 +0100
* docs/reference/: Remove tmpl/ subdir.
commit 68b50bdd7ef47fd4734a76729c2961088b49d1a0
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 18:04:53 2009 +0100
* docs/reference/: Update API docs.
commit b13a8f36fd6d378d100651b0d7e9a2d198656af0
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 17:47:32 2009 +0100
* libxfce4menu/xfce-menu-node.h: Add missing declaration for
xfce_menu_node_type_get_type().
commit 4efdc16b02338f15aa5563cb455d06664d0a9d94
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 17:43:50 2009 +0100
* docs/reference/: Update API docs section and stuff.
* libxfce4menu/xfce-menu-move.{c,h}: Remove unused source files.
commit ba7f55403348aac3118384b413a28cd9c838ea44
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 17:30:04 2009 +0100
* libfxce4menu/Makefile.am: Remove non-existent files and missing
ones.
commit 851ebfcb32feabbc572bc11e6e534df725d53cc8
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 17:26:54 2009 +0100
* libxfce4menu/xfce-menu-gio.{c,h}: Add missing source files for a few
GIO/GFile utility functions.
commit 41296e94a42c1898d7adcb6262539f1d32ae79c9
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Tue Feb 24 17:08:10 2009 +0100
* STATUS: Big status update.
* 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.
commit c066f3c376d29eed1c9919f77e7cfa289d6e1375
Author: Jannis Pohlmann <jannis@xfce.org>
Date: Sun Feb 22 20:43:33 2009 +0100
* configure.in.in: Depend on GTK+ 2.12 and GLib 2.14. Add dependency
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.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +========================= +OLD NEWS FOR libxfce4menu +========================= + 4.5.99.2 ======== - Add hint about no invariant sections to COPYING. |