menu-cache 0.5.0 released

The backend library to read freedesktop.org application menu files has been released with four major changes.

  • Added a possibility to include NoDisplay files into cache file. This can be achieved by adding suffix ‘+hidden’ to requested name in call to menu_cache_lookup(). The hidden items will be returned along with visible ones by any API that returns listing of cache directory. The menu_cache_app_get_is_visible() API will return FALSE for hidden item with any DE mask passed to the API.
  • New macro MENU_CACHE_CHECK_VERSION() to test version of library.
  • Added new APIs: menu_cache_find_item_by_id, menu_cache_find_child_by_id, menu_cache_find_child_by_name.
  • Two bugfixes for crashes, and for some another bugs.

menu-cache-0.5.0.tar.gz, sha1sum: 0f107e62f50f0ea37b9d984ddd7e2ef042ce64c1

changelog

d643bd1 – Remove unused code (enclosed into #if 0 … #endif)
a4ea086 – Remove dependency of menu-cache-gen on libmenu-cache from Makefile.
45731ed – Remove incorrect logic of monitoring in menu-cached.
44f9914 – Speed up menu-cached, not delay reload if there was none in last 3 seconds.
210e1ae – Fix over previous commit, it had incorrect test for file existance.
4320ad6 – Ignore not-existant files from menu-cache-gen.
70156ce – Enable a debug message on file monitor activity.
b9917d3 – New APIs menu_cache_find_child_by_id() and menu_cache_find_child_by_name().
76d3ce8 – Fix incorrect debug format message (%d should get int instead of gsize).
5322cd7 – Don’t call g_type_init() with glib>=2.36 (it’s marked deprecated).
080c3f9 – The menu_cache_item_from_path() returned wrong item.
fd7a65f – ‘show hidden’ mode (+hidden) should enable empty directories too.
1d7c627 – Fix compilation with automake 1.13
c767802 – debian: new package libmenu-cache-bin: binaries should not come with library.
13bf998 – Use pkglibexecdir instead of libexecdir to install binaries.
5deaa82 – Developers’ documentation update.
b73770d – menu_cache_item_unref() should return FALSE.
ab61990 – Fix on SIGSEGV in menu_cache_item_from_path() on strcmp.
801cc89 – New API menu_cache_find_item_by_id() to do fast cache scan for id.
25d1656 – Replaced g_return_val_if_fail() with if().
7c2aa7a – Remove extra g_io_channel_unref() on termination.
4287e58 – Update for NEWS file.
6563ccd – New macro MENU_CACHE_CHECK_VERSION() to test library version.
5902579 – Fix segfault
1a48be7 – Use setsid() in menu-cached to complete daemonize.
6cd7839 – Eliminate secondary main loop in libmenu-cache.
6bb4960 – Adding possibility to include NoDisplay files into cache file.
1b3fd7a – debian: Add breaks/conflicts for libmenu-cache1-dev to make the upgarde nicer
c85e46c – debian: also remove .a files
67bdf10 – Adding libmenu-cache-dbg package.
fdd3e0f – Adding suggestion on libmenu-cache-doc package from libmenu-cache-dev.
4f8dd2b – Adding libmenu-cache-doc package.
53ff37e – Renaming libmenu-cache1-dev into proper unversioned package.
c374e0c – debian: Use autogen.sh instead of the dh sequence