1
2007-06-05 Vincent Untz <vuntz@gnome.org>
5
2007-06-05 Vincent Untz <vuntz@gnome.org>
8
* src/validator.c: (main): update URL of the desktop entry spec
10
2007-06-04 Vincent Untz <vuntz@gnome.org>
12
* src/install.c: (process_one_file): check if we have a vendor name
14
(main): fix bug when no vendor name or target dir is specified (we'd
15
use an empty string in this case), don't require vendor name
18
2007-06-04 Vincent Untz <vuntz@gnome.org>
20
Don't use GKeyFile in the validator, so we really control everything.
22
* src/validate.c: remove some FIXME/TODO
23
(validate_string_key): use g_ascii_iscntrl() instead of
24
!g_ascii_isprint(), small update for the current group
25
(validate_localestring_key): small update for the current group, don't
27
(validate_boolean_key): small update for the current group
28
(validate_numeric_key): ditto
29
(validate_string_regexp_list_key): use g_ascii_iscntrl() instead of
30
!g_ascii_isprint(), small update for the current group
31
(handle_type_key): small update for the current group
32
(handle_version_key): ditto
33
(handle_show_in_key): ditto
34
(handle_exec_key): ditto
35
(handle_path_key): ditto
36
(handle_mime_key): ditto
37
(handle_categories_key): small update for the current group, don't
39
(handle_actions_key): ditto
40
(handle_dev_key): ditto
41
(handle_mountpoint_key): ditto
42
(handle_encoding_key): ditto
43
(validate_desktop_key): ditto, the value is an argument now
44
(validate_keys_for_current_group): renamed from
45
validate_keys_for_group(), small update for the current group, don't
46
use GKeyFile and build a hashtable of all the keys in the current
47
group, also don't validate the key for Desktop Entry groups if the
48
name of the key couldn't be validated since this means we'll get
50
(validate_group_name): use g_ascii_iscntrl() instead of
52
(validate_groups_and_keys): killed
53
(validate_required_keys): don't use GKeyFile
54
(validate_line_is_comment): new
55
(validate_line_looks_like_group): new
56
(validate_line_looks_like_entry): new
57
(validate_parse_line): new
58
(validate_parse_data): new (inspired from gkeyfile.c)
59
(validate_flush_parse_buffer): new (inspired from gkeyfile.c)
60
(validate_parse_from_fd): new (inspired from gkeyfile.c)
61
(validate_load_and_parse): new (inspired from gkeyfile.c)
62
(groups_hashtable_free): new
63
(desktop_file_validate): updated
64
(desktop_file_fixup): small update to avoid confusion
65
* src/validator.c: (main): fix leak
67
2007-03-15 Vincent Untz <vuntz@gnome.org>
69
* README: remove mention of desktop-menu-tool
70
* acconfig.h: kill, was useless and deprecated
72
* src/eggintl.h: kill, was useless since quite some time
75
* configure.in: updated because of src/desktop_file.h removal
77
* src/Makefile.am: updated for file removals/additions
78
* src/desktop_file.[ch]: removed. We don't use this anymore (it was
79
based on GnomeDesktopItem which nobody maintains and is too complex
81
* keyfileutils.[ch]: new, contains some useful functions based on
83
* src/install.c: updated for changes (GnomeDesktopFile -> GKeyFile)
84
(process_one_file): ditto
85
also, improves a bit the --help output
86
* src/validate.[ch]: pretty much a rewrite. This is based on GKeyFile
87
for now, but it'll be moved to a small parser soon, so we are not
88
limited because of the GKeyFile parser. The validator verifies more
89
things, warns about usage of deprecated stuff, and contains some other
90
nice improvements. It probably contains some bugs, though.
91
* src/validator.c: updated (well, rewritten, since it's only the
92
main() function). We also now have some command line arguments:
93
--warn-kde to warn about usage of KDE reserved stuff
94
--no-warn-deprecated to not warn about usage of deprecated stuff
96
2006-11-08 Ray Strode <rstrode@redhat.com>
98
* configure.in: post-release bump to 0.13.
100
==================== 0.12 ====================
1
102
2006-11-08 Ray Strode <rstrode@redhat.com>
3
104
* NEWS: update news file