Debian Codegraph @

NEWS

raw
1 Changes in 1.1.1 since 1.1.0:
2
3 * Fixed memory leaks.
4
5 * GCC 10 compilation support.
6
7 * Removed unused libmenu-cache-uninstalled.pc.in.
8
9
10 Changes in 1.1.0 since 1.0.2:
11
12 * Fixed crash with invalid <Name> tag in a menu.
13
14 * Added new API menu_cache_app_get_generic_name() to get generic
15 name for application.
16
17 * Fixed potential access violation, use runtime user dir instead of tmp dir.
18 It limits libmenu-cache compatibility to menu-cached >= 0.7.0.
19
20 * Directory $XDG_DATA_HOME/applications will be created if it does not
21 exist so it will be monitored in any case.
22
23 * Fixed issue when subdirectories added would be skipped in monitoring.
24
25 * Fixed potential file descriptors leak.
26
27 * Reduced inactivity timer to 6 seconds (from 600 seconds).
28
29 * Fixed an issue with multiple daemons started: test if daemon is already
30 running on socket before killing old socket file.
31
32 * Fixed 100% CPU load by menu-cached due to invalid dup2() call.
33
34
35 Changes in 1.0.2 since 1.0.1:
36
37 * Fixed crash in menu-cached if cache regeneration fails.
38
39 * Fixed 100% CPU load by menu-cached in some rare conditions.
40
41 * Invalid empty <DefaultLayout> should be ignored, see specification.
42
43 * Fixed crash in menu-cache-gen on <MergeFile type="parent"/> if no file
44 to merge found.
45
46 * Fixed showing empty Other menu in some cases.
47
48 * The option --disable-debug is now default, instead of --enable-debug.
49
50
51 Changes in 1.0.1 since 1.0.0:
52
53 * Fixed crash on generating menu with both tags <DefaultAppDirs/> and
54 <KDELegacyDirs/> present.
55
56 * Fixed crash when menu-cache-gen ran manually without CACHE_GEN_VERSION.
57
58 * Fixed crash in menu-cache-gen on <Filename/> in menu layout with
59 <OnlyUnallocated/> tag present.
60
61 * Fixed incorrect processing of <Merge type="files"> in menu-cache-gen.
62
63 * Added safeguards against environment variables containing newlines.
64
65 * Fixed case when cache was not updated while it should, it was claimed
66 to be fixed in 1.0.0 but apparently fix was incomplete.
67
68 * Fixed ignored <Filename> tags inside of <Layout> tag.
69
70 * Fixed memory corruption in scanning <LegacyDir> addressed directory.
71
72
73 Changes in 1.0.0 since 0.7.0:
74
75 * Added new cache file format generation support with changes:
76 - invisible directories (NoDisplay=true or empty) can be put into the
77 cache too but with flag (not displayed) set;
78 - content of TryExec field is added to contents of cache file;
79 - the working dir to execute application is added to cache file;
80 - list of categories is added to contents of cache file;
81 - list of keywords is added to contents of cache file.
82
83 * Fixed crash in menu_cache_item_get_file_dirname() for a non-existent
84 file (might happen for directories without .directory file).
85
86 * Made menu_cache_app_get_working_dir() actually work.
87
88 * Made menu_cache_lookup() faster (do not load cache immediately but on
89 idle instead).
90
91 * Eliminated secondary cache reload in menu_cache_lookup_sync() - server
92 response in such case will be ahead of idle reload (since main thread
93 is in wait ATM) and therefore idle call will be supressed.
94
95 * Added new API menu_cache_app_get_categories() to get list of categories
96 for the application.
97
98 * Added new APIs for applications: menu_cache_list_all_for_category() and
99 menu_cache_list_all_for_keyword() that return list of applications
100 matching criteria.
101
102 * Fixed problem if some string in the desktop entry file contained a new
103 line character. That broke cache file format, now it's replaced with
104 a "\n" string and converted back into new line in the library.
105
106 * Fixed bug when cache was not updated while it should: check if the last
107 modification time for directory is more recent than modification time
108 for cache may not always be valid - some .desktop entry might be just
109 changed by update and that will lead to falsed cache contents.
110
111 * Added Log Domain "Menu-Cache" for better library logging messages.
112
113
114 Changes in 0.7.0 since 0.6.1:
115
116 * Added bit of support for multiple supported cache file versions, using
117 CACHE_GEN_VERSION environment variable to the generator. This may be
118 useful in future when 1.2 cache file version will be implemented.
119
120 * The menu-cache-gen libexec binary is rewritten from scratch. No that
121 Red Hat / GNOME code anymore. New menu-cache-gen uses libfm-extra XML
122 manipulation functions therefore it is required now for build.
123
124 * Added a parameter for menu-cached to specify socket path instead of
125 calculating one, that is definitely more safe.
126
127 * Libmenu-cache handles menu-cached failure more gracefully now, don't
128 tries to restart it so fast that it clones many times.
129
130 * Fixed menu-cached crash after menu-cache-gen failure.
131
132
133 Changes in 0.6.1 since 0.6.0:
134
135 * Fixed invalid memory access after cache reload.
136
137 * A little cleanup of dist tarball: removed unused files menu-cache.h and
138 libmenu-cache-uninstalled.pc.in.
139
140
141 Changes in 0.6.0 since 0.5.1:
142
143 * Fixed few GLIB compatibility issues.
144
145 * Changed default tarball format to XZ instead of GZIP.
146
147 * Fixed build without --enable-gtk-doc.
148
149 * Fixed crash on access root_dir with empty cache (no menu).
150
151 * Allowed menu_cache_get_desktop_env_flag() accept colon-separated list
152 in accordance to freedesktop.org specification for the environment
153 variable XDG_CURRENT_DESKTOP.
154
155 * The case if user deleted cache file is handled: it will be regenerated.
156
157
158 Changes in 0.5.1 since 0.5.0:
159
160 * Fixed build on systems where MAXSYMLINKS isn't defined.
161
162 * Fixed menu-cached crash in some rare cases.
163
164
165 Changes in 0.5.0 since 0.4.1:
166
167 * Added a possibility to include NoDisplay files into cache file. This
168 can be achieved by adding suffix '+hidden' to requested name in call
169 to menu_cache_lookup(). The hidden items will be returned along with
170 visible ones by any API that returns listing of cache directory. The
171 menu_cache_app_get_is_visible() API will return FALSE for hidden item
172 with any DE mask passed to the API.
173
174 * New macro MENU_CACHE_CHECK_VERSION() to test version of library.
175
176 * Added new APIs: menu_cache_find_item_by_id, menu_cache_find_child_by_id,
177 menu_cache_find_child_by_name.
178
179 * Two bugfixes for crashes, and for some another bugs.
180
181
182 Changes in 0.4.1 since 0.4.0:
183
184 * Minor bugfix, the resulting tar file was not complete.
185
186 Changes in 0.4.0 since 0.3.3:
187
188 * The libmenu-cache is made thread-safe. Thread-unsafe APIs are marked
189 as deprecated now and should be never used in any multithreaded
190 application.
191
192 * Added creation of HTML developers documentation. It is triggered by
193 configure script option --enable-gtk-doc.
194
195 * The libmenu-cache is made more responsible by moving some time-critical
196 operations into thread. Also it preloads saved cache file if it
197 exists so it is available near instantly after menu_cache_lookup().
198 Caller still will get updates by adding notifier to the cache.
199
200 * Added automatic shutdown of menu-cached server after some inactivity
201 timeout (i.e. all clients were unregistered).
202
203 * Fixed few memory problems (referencing errors and memory leaks).
204
205 * Fix for bug #3501347: use g_get_tmp_dir() instead of hardcoded "/tmp".
206
207 * The libmenu-cache ABI bumped to 2.