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