1 commit 347947381fe6ff56c18415223205aa0b52a02230
2 Author: Vincent Untz <vuntz@gnome.org>
5 Handle some exceptions to be a bit more flexible
7 There are known exceptions like misc/ultravox that we should support.
9 We should also recommend to use a valid alias instead of an invalid
11 type (for example, flv-application/octet-stream should be replaced
17 commit be3aec1ebb3a335bc757bb4588609ca2c2722e7c
18 Author: Vincent Untz <vuntz@gnome.org>
21 Make the invalid mime type error non-fatal for now
25 commit 847c557baf630adaa03ebb8fbb179bc3dbbeb492
26 Author: Vincent Untz <vuntz@gnome.org>
29 Fix wrong return value in case of error
31 FALSE was used instead of MU_INVALID.
35 commit 377e919087cf2711f31cee7c06b40401e4a70fde
36 Author: Vincent Untz <vuntz@gnome.org>
39 Fix warning for X- media types not showing
43 commit 520a9e3bb976b6877ee697ae6f6d0cc5a23b1ba5
44 Author: Vincent Untz <vuntz@gnome.org>
47 Handle some fdo media types correctly
49 inode, x-content and x-directory are used already, and should be
50 considered as special case (even though they haven't be registered
54 Note that x-directory is discouraged, though, since inode/directory
59 commit 0a2a429ca2943f7b329d9a90f4950588a56f9f15
60 Author: Vincent Untz <vuntz@gnome.org>
63 Make some of the new errors non-fatal for now
65 Making errors introduced in a release fatal will annoy many people.
66 They're still marked as errors and will be visible (so fixable), but
67 they won't make the program return 1, so people can still work.
69 They should be marked as fatal after the release.
73 commit baf763143043b9be48ef8dc8bf7050f418aa0bb2
74 Author: Vincent Untz <vuntz@gnome.org>
77 Accept empty Categories key as valid
79 It's really like not having the Categories key at all, which is valid.
83 commit 06c29d6e1246cc63c9c0296c96ea7885f982f868
84 Author: Vincent Untz <vuntz@gnome.org>
87 Mark the AutostartCondition key as an Application key
91 commit ca41044f3d2311ad4300cdfc864a670e7f772626
92 Author: Vincent Untz <vuntz@gnome.org>
95 Use g_utf8_strchr instead of strchr to be on the safe side
97 Since the string can be UTF-8, it's better to make sure we look for a
98 character in a UTF-8-compatible way.
102 commit 2b51e462ce272dd829dc8f7bb4339b47243ee1c5
103 Author: Vincent Untz <vuntz@gnome.org>
106 Use G_DIR_SEPARATOR instead of '/'
110 commit 31585ac26ff458159b01c6bcfcf1405e164d6448
111 Author: Vincent Untz <vuntz@gnome.org>
114 Handle AutostartCondition key
116 While this never really made it into the autostart specification, it's
117 in use now. And it was well-received when proposed, so it will
119 enter the specification.
121 https://bugs.freedesktop.org/show_bug.cgi?id=20627
125 commit 08892f7b705b8c92aaa9b7a2872e0ded3f96f6d6
126 Author: Vincent Untz <vuntz@gnome.org>
129 Tweak an error string
131 M src/update-desktop-database.c
133 commit 681d5173684a8a758d913e52cc704e3dab3d562c
134 Author: Vincent Untz <vuntz@gnome.org>
137 Improve one string for translation
139 This also fix https://bugs.freedesktop.org/show_bug.cgi?id=24924 as a
142 M src/update-desktop-database.c
144 commit 2ef8bc132a15cb02e5bbb424bc79d4c1c4fad0e0
145 Author: Vincent Untz <vuntz@gnome.org>
148 Mark all output strings as translatable
150 M src/update-desktop-database.c
152 commit 25b0d59ab575e434f040face089e6ba83ab0b807
153 Author: Vincent Untz <vuntz@gnome.org>
156 Consistent use of quotes in error messages
158 M src/update-desktop-database.c
160 commit 843e5f4cd8680f57add251c745d19ba2db38d05e
161 Author: Vincent Untz <vuntz@gnome.org>
164 Improve error messages
166 Loosely based on patch from Erik Hovland <erik@hovland.org>
168 https://bugs.freedesktop.org/show_bug.cgi?id=20039
170 M src/update-desktop-database.c
172 commit fdb63c3d0416d8d54747f14f66b635ebf241a852
173 Author: Vincent Untz <vuntz@gnome.org>
176 Update copyrights, and add vim modelines
183 M src/update-desktop-database.c
188 commit 5bc232624ba230b35d9088abdd001f15ff13055e
189 Author: Vincent Untz <vuntz@gnome.org>
192 Fix indentation and remove trailing spaces
196 M src/update-desktop-database.c
200 commit 7240dff57b6e4fd4e1a03167bab402e69356e3c7
201 Author: Vincent Untz <vuntz@gnome.org>
204 Generate bzip2 tarballs
208 commit abaf456abfecd26c18e4241edb40c177161487c1
209 Author: Vincent Untz <vuntz@gnome.org>
212 Do not try to use versioned binaries of automake/aclocal
214 We were trying to use binaries versioned 1.7 which is quite old
216 Any real build system will have non-versioned binaries.
220 commit 91bce492f1cddea3c43cbf9fbbf136d87d8c9acb
221 Author: Vincent Untz <vuntz@gnome.org>
226 A desktop-file-utils.doap
228 commit d7b231ad854a4695e2261d87910b148f80c9af33
229 Author: Vincent Untz <vuntz@gnome.org>
232 Remove .cvsignore files
238 commit 4dd06da006711e69de7a76f1ea799e446f95dc78
239 Author: Vincent Untz <vuntz@gnome.org>
242 Put commit message guidelines in ChangeLog
245 C100 ChangeLog ChangeLog.pre-git
247 commit 07a6e2688bfaba6872ca1495fffbd7bbe17022d3
248 Author: Vincent Untz <vuntz@gnome.org>
251 Use git.mk from pango to autogenerate .gitignore files
258 commit 1ca85988dec761535699d3cb14ba8a551411a4d6
259 Author: Vincent Untz <vuntz@gnome.org>
262 use AM_SILENT_RULES if available for a quiet build
264 2009-07-21 Vincent Untz <vuntz@gnome.org>
266 * configure.in: use AM_SILENT_RULES if available for a quiet build
268 * Makefile.am: use the m4 directory as macro dir
275 commit 54e7d80e9dc2042ce0331cf65af2fb85c2960962
276 Author: Vincent Untz <vuntz@gnome.org>
279 add "warning" to the error strings that are output when fixing
282 2009-01-10 Vincent Untz <vuntz@gnome.org>
284 * src/validate.c: (desktop_file_fixup): add "warning" to the error
285 strings that are output when fixing the desktop file so that
287 learn about the errors and directly fix them.
293 commit db8e1039fbd4e9e9e23273bb49ea9922dd8d595c
294 Author: Vincent Untz <vuntz@gnome.org>
297 add LXDE in the list of registered OnlyShowIn values.
299 2009-01-10 Vincent Untz <vuntz@gnome.org>
301 * src/validate.c: add LXDE in the list of registered OnlyShowIn
307 commit b8f66b528a0d6b5c64140304f39b50a01497e846
308 Author: Vincent Untz <vuntz@gnome.org>
311 fix warning in a comment
313 2008-12-10 Vincent Untz <vuntz@gnome.org>
315 * src/mimeutils.c: fix warning in a comment
320 commit 8fa7b28e36a81d74b671339bbbdde11a6ded2c98
321 Author: Vincent Untz <vuntz@gnome.org>
324 Be stricter for the MIME type check. It's actually a bit too strict
327 2008-04-28 Vincent Untz <vuntz@gnome.org>
329 Be stricter for the MIME type check. It's actually a bit too
331 right now, see the TODO at the beginning of mimeutils.c to know
333 improve things a bit.
336 * src/mimeutils.[ch]: add new files
337 * src/update-desktop-database.c: (process_desktop_file): use the
338 improved mu_mime_type_is_valid() function instead of
340 * src/validate.c: (handle_mime_key): use the improved
341 mu_mime_type_is_valid() function instead of a trivial check
347 M src/update-desktop-database.c
350 commit 3425eaf5d0e55c4e1c853f6af6e846c7763ba48a
351 Author: Vincent Untz <vuntz@gnome.org>
354 check that the Comment does not look like the Name of the GenericName
356 2008-04-26 Vincent Untz <vuntz@gnome.org>
358 * src/validate.c: (handle_comment_key): check that the Comment
360 look like the Name of the GenericName
361 (validate_keys_for_current_group): instead of storing only the
362 information that a group contain a key, also link to the content
364 key. Also report the error of multiple keys with the same name the
365 first time we have a key (instead of the second time).
371 commit 834fdc1f65043704962dcf26b9aa5194338eec91
372 Author: Vincent Untz <vuntz@gnome.org>
375 make a few more structure static, change the way we store data
378 2008-04-26 Vincent Untz <vuntz@gnome.org>
380 * src/validate.c: make a few more structure static, change the
382 store data about the know catgories so that we have more
385 (handle_categories_key): updated for the previous change. We now
386 additionally check that categories required by another one
389 * src/validator.c: init warn_kde to FALSE. Fix the "warnings
391 specific uses are always shown" bug.
397 commit b2c108e4782a25545aa57c9d8add5c4ab01801cc
398 Author: Vincent Untz <vuntz@gnome.org>
401 at least one main category must be included in the Categories. Output
404 2008-04-26 Vincent Untz <vuntz@gnome.org>
406 * src/validate.c: (handle_categories_key): at least one main
408 must be included in the Categories. Output an error if it's
415 commit 83e6050a2501379a7709379e9dfdf656738a7148
416 Author: Vincent Untz <vuntz@gnome.org>
419 don't unlink the destination file if it's the same as the source
422 2008-03-06 Vincent Untz <vuntz@gnome.org>
424 * src/install.c: (process_one_file): don't unlink the destination
426 if it's the same as the source file in case of errors.
432 commit 32ee3cdb6fa4a19fb3c42943fe9d2040560a2232
433 Author: Vincent Untz <vuntz@gnome.org>
436 post-release bump to 0.16
438 2008-02-11 Vincent Untz <vuntz@gnome.org>
440 * configure.in: post-release bump to 0.16
445 commit 173011c1a206d83d8a1e7b4032ba68c49a440b52
446 Author: Vincent Untz <vuntz@gnome.org>
451 2008-02-11 Vincent Untz <vuntz@gnome.org>
458 commit 19efaabf2b610205b1e93489e3084e3d62bc54b7
459 Author: Vincent Untz <vuntz@gnome.org>
462 Fix crash with really small lines that are invalid, like just
465 2008-02-05 Vincent Untz <vuntz@gnome.org>
467 Fix crash with really small lines that are invalid, like just "a".
470 * src/validate.c: (validate_line_looks_like_group): only return
471 something in *group if the group argument is not NULL, and if
473 is actually a group one
474 (validate_parse_line): ensure we pass NULL initial values to some
475 functions, and don't leak key and value when processing a
477 line before the first group
482 commit b4fa107d134594bd02cce266be09cd68de0a9d3d
483 Author: Vincent Untz <vuntz@gnome.org>
486 don't get the MimeType key from the first start group (which might not
488 2008-01-20 Vincent Untz <vuntz@gnome.org>
490 * src/update-desktop-database.c: (process_desktop_file): don't
492 MimeType key from the first start group (which might not exist),
494 from the Desktop Entry group
495 Fix GNOME bug #509526.
496 * src/validate.c: (handle_icon_key): mention that Ray's change is
500 M src/update-desktop-database.c
503 commit c6b970d37acd2882adb538e9d1723ed661d0ca94
504 Author: Ray Strode <rstrode@redhat.com>
507 Consider icon names with extensions a warning and not an error
510 2006-11-07 Ray Strode <rstrode@redhat.com>
512 * src/validate.c: Consider icon names with extensions a
513 warning and not an error for now.
518 commit b589d7e7d731ecb948c8e91077110c9e09707276
519 Author: Vincent Untz <vuntz@gnome.org>
522 post-release bump to 0.15
524 2007-09-01 Vincent Untz <vuntz@gnome.org>
526 * configure.in: post-release bump to 0.15
531 commit a09004c7102dfda947fb48078e749a81373f147e
532 Author: Vincent Untz <vuntz@gnome.org>
537 2007-09-01 Vincent Untz <vuntz@gnome.org>
544 commit 4c0877d7e6d832754064d6613eed69edbd5626e4
545 Author: Vincent Untz <vuntz@gnome.org>
550 2007-09-01 Vincent Untz <vuntz@gnome.org>
552 * README: small improvements
557 commit e08e4ea54ab1c90475f4a52bee98e234e7c79d1a
558 Author: Vincent Untz <vuntz@gnome.org>
561 validate the desktop file after modifying its content, but before
564 2007-09-01 Vincent Untz <vuntz@gnome.org>
566 * src/install.c: (process_one_file): validate the desktop
568 modifying its content, but before doing anything else, so that we
569 don't unlink the original file if the created one is not valid.
570 Also, unlink the created file if it's not valid.
575 commit c7d783c84eec8d07049ab01988e4da43559ce80f
576 Author: Vincent Untz <vuntz@gnome.org>
579 Don't exit(), but let the main() function do it with a proper error
581 2007-09-01 Vincent Untz <vuntz@gnome.org>
583 Don't exit(), but let the main() function do it with a proper
587 * src/install.c: (files_are_the_same): it's useless to exit()
589 we can't stat() the files. Just continue the operations without
590 removing the original file, that's the best option.
591 (process_one_file): don't exit(), but set the GError
596 commit 740682d75b9ea0cb2934b26f4730c0171f497cb6
597 Author: Vincent Untz <vuntz@gnome.org>
600 require glib 2.8.0 kill (main): directly use g_mkdir_with_parents()
602 2007-09-01 Vincent Untz <vuntz@gnome.org>
604 * configure.in: require glib 2.8.0
605 * src/install.c: (mkdir_and_parents): kill
606 (main): directly use g_mkdir_with_parents()
612 commit 5acb0c711dff9406bffdeb62427b3be004cc14f9
613 Author: Vincent Untz <vuntz@gnome.org>
616 simplify the code with a macro (parse_options_callback): if
618 2007-09-01 Vincent Untz <vuntz@gnome.org>
620 * src/install.c: (process_one_file): simplify the code with
622 (parse_options_callback): if --add-category="GNOME;GTK" is
624 argument, parse the list of categories instead of assuming
626 only gave one category.
632 commit 532f7f7e30d54bf87f93ffa66dd503b8bff70e0c
633 Author: Vincent Untz <vuntz@gnome.org>
636 handle -m too. Fix bug #12018. Patch by Matthias Clasen
638 2007-08-18 Vincent Untz <vuntz@gnome.org>
640 * src/install.c: (parse_options_callback): handle -m too.
642 Patch by Matthias Clasen <mclasen@redhat.com>
647 commit cf94986afb2eeb2ff0294e4448980f4030880a9e
648 Author: Vincent Untz <vuntz@gnome.org>
651 Handle X-Foo in environments. Based on patch by Stanislav Brabec
653 2007-08-18 Vincent Untz <vuntz@gnome.org>
655 Handle X-Foo in environments.
656 Based on patch by Stanislav Brabec <sbrabec@suse.cz>.
659 * src/validate.c: (handle_show_in_key): handle "X-Foo" and
661 error message to mention X-
662 (handle_categories_key): change a bit the error message to
668 commit 9dec6ec674c88c9a8a6ab4aa9e71e3d9075faf22
669 Author: Vincent Untz <vuntz@gnome.org>
672 new, checks that the value is either an absolute path to a file,
675 2007-07-27 Vincent Untz <vuntz@gnome.org>
677 * src/validate.c: (handle_icon_key): new, checks that the value is
678 either an absolute path to a file, or that the value looks like an
679 icon name without an extension (png, xpm or svg). Rejects relative
685 commit 5052214fbc3702cbd9aa6911890b8bd155674fbd
686 Author: Vincent Untz <vuntz@gnome.org>
689 pass the GError to g_key_file_load_from_file(), so we know when
692 2007-07-08 Vincent Untz <vuntz@gnome.org>
694 * src/install.c: (process_one_file): pass the GError to
695 g_key_file_load_from_file(), so we know when we can't load a
697 print an error about this. Fix bug #11500.
702 commit 0d4df0787ab377628575e5eff01bb16bc46300e3
703 Author: Vincent Untz <vuntz@gnome.org>
706 updated to desktop entry spec 1.0. Patch by Ville Skyttä
708 2007-06-30 Vincent Untz <vuntz@gnome.org>
710 * misc/desktop-entry-mode.el: updated to desktop entry spec 1.0.
711 Patch by Ville Skyttä <ville.skytta@iki.fi>
714 M misc/desktop-entry-mode.el
716 commit 352e54d67ec2c156800a771e1f42e2a48f873776
717 Author: Vincent Untz <vuntz@gnome.org>
720 post-release bump to 0.14
722 2007-06-05 Vincent Untz <vuntz@gnome.org>
724 * configure.in: post-release bump to 0.14
729 commit 4687bbc89ea9a3f01fa47452aaa4c3d825aab5e5
730 Author: Vincent Untz <vuntz@gnome.org>
735 2007-06-05 Vincent Untz <vuntz@gnome.org>
742 commit c8e0949e5b24de6f343ed302c59be06116f5a14e
743 Author: Vincent Untz <vuntz@gnome.org>
746 add myself update URL of the desktop entry spec
748 2007-06-05 Vincent Untz <vuntz@gnome.org>
750 * AUTHORS: add myself
751 * src/validator.c: (main): update URL of the desktop entry spec
757 commit 80a1c932b9e90caaf75857a3dd8ebfcd77fa93a5
758 Author: Vincent Untz <vuntz@gnome.org>
761 check if we have a vendor name before using it (main): fix bug when no
763 2007-06-04 Vincent Untz <vuntz@gnome.org>
765 * src/install.c: (process_one_file): check if we have a vendor
768 (main): fix bug when no vendor name or target dir is specified
770 use an empty string in this case), don't require vendor name
776 commit 14f6fe3f1eb4699d5020e2b4ea729419b898abc2
777 Author: Vincent Untz <vuntz@gnome.org>
780 Don't use GKeyFile in the validator, so we really control everything.
782 2007-06-04 Vincent Untz <vuntz@gnome.org>
784 Don't use GKeyFile in the validator, so we really control
787 * src/validate.c: remove some FIXME/TODO
788 (validate_string_key): use g_ascii_iscntrl() instead of
789 !g_ascii_isprint(), small update for the current group
790 (validate_localestring_key): small update for the current group,
793 (validate_boolean_key): small update for the current group
794 (validate_numeric_key): ditto
795 (validate_string_regexp_list_key): use g_ascii_iscntrl()
797 !g_ascii_isprint(), small update for the current group
798 (handle_type_key): small update for the current group
799 (handle_version_key): ditto
800 (handle_show_in_key): ditto
801 (handle_exec_key): ditto
802 (handle_path_key): ditto
803 (handle_mime_key): ditto
804 (handle_categories_key): small update for the current group, don't
806 (handle_actions_key): ditto
807 (handle_dev_key): ditto
808 (handle_mountpoint_key): ditto
809 (handle_encoding_key): ditto
810 (validate_desktop_key): ditto, the value is an argument now
811 (validate_keys_for_current_group): renamed from
812 validate_keys_for_group(), small update for the current group,
814 use GKeyFile and build a hashtable of all the keys in the current
815 group, also don't validate the key for Desktop Entry groups if the
816 name of the key couldn't be validated since this means we'll get
818 (validate_group_name): use g_ascii_iscntrl() instead of
820 (validate_groups_and_keys): killed
821 (validate_required_keys): don't use GKeyFile
822 (validate_line_is_comment): new
823 (validate_line_looks_like_group): new
824 (validate_line_looks_like_entry): new
825 (validate_parse_line): new
826 (validate_parse_data): new (inspired from gkeyfile.c)
827 (validate_flush_parse_buffer): new (inspired from gkeyfile.c)
828 (validate_parse_from_fd): new (inspired from gkeyfile.c)
829 (validate_load_and_parse): new (inspired from gkeyfile.c)
830 (groups_hashtable_free): new
831 (desktop_file_validate): updated
832 (desktop_file_fixup): small update to avoid confusion
833 * src/validator.c: (main): fix leak
839 commit 4aab76b0fb470a1fcda17a6458ce210d44548478
840 Author: Vincent Untz <vuntz@gnome.org>
843 remove mention of desktop-menu-tool kill, was useless and deprecated
845 2007-03-15 Vincent Untz <vuntz@gnome.org>
847 * README: remove mention of desktop-menu-tool
848 * acconfig.h: kill, was useless and deprecated
850 * src/eggintl.h: kill, was useless since quite some time
853 * configure.in: updated because of src/desktop_file.h removal
855 * src/Makefile.am: updated for file removals/additions
856 * src/desktop_file.[ch]: removed. We don't use this anymore
858 based on GnomeDesktopItem which nobody maintains and is too
861 * keyfileutils.[ch]: new, contains some useful functions based on
863 * src/install.c: updated for changes (GnomeDesktopFile ->
865 (process_one_file): ditto
866 also, improves a bit the --help output
867 * src/validate.[ch]: pretty much a rewrite. This is based
869 for now, but it'll be moved to a small parser soon, so we are not
870 limited because of the GKeyFile parser. The validator verifies
872 things, warns about usage of deprecated stuff, and contains
874 nice improvements. It probably contains some bugs, though.
875 * src/validator.c: updated (well, rewritten, since it's only the
876 main() function). We also now have some command line arguments:
877 --warn-kde to warn about usage of KDE reserved stuff
878 --no-warn-deprecated to not warn about usage of deprecated stuff
896 commit 818536c358d110f695c68566a23d393a19d71904
897 Author: Ray Strode <rstrode@redhat.com>
900 post-release bump to 0.13.
902 2006-11-08 Ray Strode <rstrode@redhat.com>
904 * configure.in: post-release bump to 0.13.
909 commit 521e2e104b12fa993083b97ebb26602a00030af9
910 Author: Ray Strode <rstrode@redhat.com>
915 2006-11-08 Ray Strode <rstrode@redhat.com>
917 * NEWS: update news file
922 commit 5424a4d0ea07609d863c29db01f59aab16352272
923 Author: Ray Strode <rstrode@redhat.com>
926 If a desktop file contains "Applications" instead of "Application"
929 2006-11-07 Ray Strode <rstrode@redhat.com>
931 * src/validate.c: If a desktop file contains
932 "Applications" instead of "Application" make the warning
938 commit 46a49431585b61d3190cd19e7b16c6ff1179485b
939 Author: Ray Strode <rstrode@redhat.com>
942 Print a warning instead of an error if categories aren't defined
945 2006-11-07 Ray Strode <rstrode@redhat.com>
947 * src/validate.c: Print a warning instead of an error
948 if categories aren't defined by the spec. Give special
949 handling to the "Application" category since it's not
950 defined by the spec, but is in wide use, and can be
951 translated to one of the "main categories". (gnome bug
957 commit 56dc8a2254fbaa8c7688594f59f841e444263208
958 Author: Ray Strode <rstrode@redhat.com>
961 Validate keywords as localestrings instead of strings (red hat bug
963 2006-11-07 Ray Strode <rstrode@redhat.com>
965 * src/validate.c: Validate keywords as localestrings
966 instead of strings (red hat bug 172423). Patch from
967 Ville Skyttä <ville.skytta@iki.fi>
972 commit 0d12a284aa29366c367ae9f7baea154b0350b177
973 Author: Ray Strode <rstrode@redhat.com>
976 update categories to match the latest version of the desktop menu
978 2006-11-07 Ray Strode <rstrode@redhat.com>
980 * src/validate.c: update categories
981 to match the latest version of the desktop menu
982 specification, and reorder to make it easier to resync
983 in the future. Patch from
984 Ville Skyttä <ville.skytta@iki.fi> (red hat bug 212705)
989 commit a594d4d44a10cec75bbc298303490e1bb51827b8
990 Author: Ray Strode <rstrode@redhat.com>
993 apply fixes from Ville Skyttä <ville.skytta@iki.fi> to match
996 2006-11-07 Ray Strode <rstrode@redhat.com>
998 * misc/desktop-entry-mode.el: apply fixes
999 from Ville Skyttä <ville.skytta@iki.fi> to match the
1000 latest version of the spec
1003 M misc/desktop-entry-mode.el
1005 commit d983e48807739779c09eb1bf2a336d891176839c
1006 Author: Ray Strode <rstrode@redhat.com>
1009 fix a couple of mem leaks. Patch from Pascal Terjan (gnoem bug 345686)
1011 2006-11-06 Ray Strode <rstrode@redhat.com>
1013 * src/desktop_file.c:
1014 fix a couple of mem leaks. Patch from Pascal Terjan
1018 M src/desktop_file.c
1020 commit 0f0075ce04abe3a56c87e0eeb8384e994de06c7d
1021 Author: Ray Strode <rstrode@redhat.com>
1024 move g_free inside if branch to prevent a double free in the else
1027 2006-11-06 Ray Strode <rstrode@redhat.com>
1029 * src/desktop_file.c:
1030 move g_free inside if branch to prevent a double free in
1031 the else case. Patch from Pascal Terjan (gnome bug
1035 M src/desktop_file.c
1037 commit 5c9975bd94829b98b403139be12fc976803c9fb3
1038 Author: Ray Strode <rstrode@redhat.com>
1041 fix category typos: TeminalEmulator -> TerminalEmulator ScreenSaver ->
1043 2006-11-06 Ray Strode <rstrode@redhat.com>
1045 * src/validate.c: fix category typos:
1046 TeminalEmulator -> TerminalEmulator
1047 ScreenSaver -> Screensaver
1048 spotted by Vincent Fretin (in gnome bug
1054 commit 65c2b4aa37ea0b17b834cbad32103e61c7a0e43f
1055 Author: Ray Strode <rstrode@redhat.com>
1058 add patch from Vincent Untz to not validate categories that start
1061 2006-11-06 Ray Strode <rstrode@redhat.com>
1063 * src/validate.c: add patch from Vincent Untz to
1064 not validate categories that start with X-
1070 commit 2b2c0821053619399b11fd8edbaf3d85ad531289
1071 Author: Ray Strode <rstrode@redhat.com>
1076 2006-07-25 Ray Strode <rstrode@redhat.com>
1078 * src/egg*: remove from cvs
1081 D src/eggdesktopentries.c
1082 D src/eggdesktopentries.h
1086 commit 6332730f526dd007e233cdc15a982ac9d1532b12
1087 Author: Ray Strode <rstrode@redhat.com>
1090 post-release bump to 0.12.
1092 2006-04-18 Ray Strode <rstrode@redhat.com>
1094 * configure.in: post-release bump to 0.12.
1099 commit 035b15e8e1f0e4f8ee42fa5f6b86f7b96cdf9e2c
1100 Author: Ray Strode <rstrode@redhat.com>
1103 ==================== 0.11 ====================
1108 commit a41d9e0323054501356beccde6321268372eb237
1109 Author: Ray Strode <rstrode@redhat.com>
1112 Validate that desktop file categories match those specified in
1115 2006-04-18 Ray Strode <rstrode@redhat.com>
1117 Validate that desktop file categories match those
1118 specified in the spec. Patch from Emmet Hikory
1119 <emmet.hikory@gmail.com> and
1120 Vincent Untz <vuntz@gnome.org> (bug 3337786)
1122 * src/validate.c (validate_categories): new
1123 function to ensure that categories are known.
1125 2006-04-18 Vincent Untz <vuntz@gnome.org>
1127 Use GKeyFile instead and kill egg-* usage (bug 319987).
1129 * src/Makefile.am: remove egg-*
1130 * src/update-desktop-database.c: (process_desktop_file):
1132 (get_default_search_path): use g_get_system_data_dirs()
1134 2006-04-18 Vincent Untz <vuntz@gnome.org>
1136 Port to GOption (bug 338575)
1138 * configure.in: remove the check for popt, depend on glib >= 2.6.0
1139 * src/install.c: (parse_options_callback): rewritten
1140 (main): port to GOption
1141 * src/update-desktop-database.c: (sync_database): remove warning
1142 (main): port to GOption
1148 M src/update-desktop-database.c
1151 commit e0d6b8a0dd16fed932d287990b44261c5fe087eb
1152 Author: Ray Strode <rstrode@redhat.com>
1155 resync from libegg to fix grammar error spotted by Moritz Barsnick
1157 2005-08-31 Ray Strode <rstrode@redhat.com>
1159 * src/eggdesktopentries.[ch]:
1160 resync from libegg to fix grammar error spotted by
1161 Moritz Barsnick <moritz@barsnick.net>. (this code
1162 should really be changed to use gkeyfile)
1165 M src/eggdesktopentries.c
1167 commit b3ccf461e7a547f9404e58be5a9bcdfcd405de0c
1168 Author: Ray Strode <rstrode@redhat.com>
1171 NULL terminate default search path. Spotted by Mike Hearn
1174 2005-01-09 Ray Strode <rstrode@redhat.com>
1176 * src/update-desktop-database.c:
1177 NULL terminate default search path. Spotted by
1178 Mike Hearn <mike@navi.cx>
1181 M src/update-desktop-database.c
1183 commit 14f79f1ee66203e4b67080f7e1436cb751c5b22a
1184 Author: Mark McLoughlin <mark@skynet.ie>
1187 Patch from Ville Skyttä <ville.skytta@iki.fi>
1189 2004-11-23 Mark McLoughlin <mark@skynet.ie>
1191 Patch from Ville Skyttä <ville.skytta@iki.fi>
1193 * src/desktop_file.c: fix the lang -> encoding mapping
1194 to what the Desktop Entry Specification specifies.
1198 M src/desktop_file.c
1200 commit 43b3a2940c5c8d2a6141610b640a977e254f06c8
1201 Author: Mark McLoughlin <mark@skynet.ie>
1204 post-release bump to 0.11.
1206 2004-11-11 Mark McLoughlin <mark@skynet.ie>
1208 * configure.in: post-release bump to 0.11.
1213 commit 779a20fdeedc000b49e84a7fa4da4f654509427a
1214 Author: Mark McLoughlin <mark@skynet.ie>
1219 2004-11-11 Mark McLoughlin <mark@skynet.ie>
1221 * configure.in: Version 0.10.
1226 commit 86c5304b82f5027dc242cfd19072800bfba8300d
1227 Author: Mark McLoughlin <mark@skynet.ie>
1234 commit a6177c3e65189ecc5cd22c8d6e1f0a2c183b6b6b
1235 Author: Mark McLoughlin <mark@skynet.ie>
1238 fix uninitialized variable.
1240 2004-11-11 Mark McLoughlin <mark@skynet.ie>
1242 * src/desktop_file.c:
1243 (gnome_desktop_file_remove_string_from_list):
1244 fix uninitialized variable.
1246 * configure.in: modernize a bit, don't check for gnome-vfs,
1247 remove --enable-tests etc.
1249 * src/Makefile.am: remove a bunch of stuff.
1251 * src/canonicalize.[ch],
1253 src/gen-compat-tree.c,
1255 src/menu-entries.[ch],
1256 src/menu-layout.[ch],
1258 src/menu-modules.conf,
1259 src/menu-monitor.[ch],
1260 src/menu-overrides.[ch],
1261 src/menu-parser.[ch],
1262 src/menu-process.[ch],
1263 src/menu-tree-cache.[ch],
1266 src/vfolder-parser.[ch],
1267 src/vfolder-query.[ch]: remove all this menu stuff. Its now
1270 * test/*: remove empty dir;
1272 * Makefile.am: don't build tests dir.
1278 D src/canonicalize.c
1279 D src/canonicalize.h
1280 M src/desktop_file.c
1283 D src/gen-compat-tree.c
1285 D src/menu-entries.c
1286 D src/menu-entries.h
1290 D src/menu-modules.conf
1291 D src/menu-monitor.c
1292 D src/menu-monitor.h
1293 D src/menu-overrides.c
1294 D src/menu-overrides.h
1297 D src/menu-process.c
1298 D src/menu-process.h
1299 D src/menu-tree-cache.c
1300 D src/menu-tree-cache.h
1304 D src/vfolder-parser.c
1305 D src/vfolder-parser.h
1306 D src/vfolder-query.c
1307 D src/vfolder-query.h
1311 commit 5a3d85fd005d8c0e5b4be07e66eee904bf29a31a
1312 Author: Ray Strode <rstrode@redhat.com>
1315 Error out if trying to add key-value pair to comment group (Patch from
1317 2004-10-18 Ray Strode <rstrode@redhat.com>
1319 * src/eggdesktopentries.c:
1320 (egg_desktop_entries_parse_entry):
1321 Error out if trying to add key-value pair to comment
1322 group (Patch from Miloslav Trmac <mitr@redhat.com>)
1325 M src/eggdesktopentries.c
1327 commit 1906d103c6894063d1c716b15db9cbfafe292e98
1328 Author: Mark McLoughlin <mark@skynet.ie>
1331 post-release bump to 0.10.
1333 2004-09-28 Mark McLoughlin <mark@skynet.ie>
1335 * configure.in: post-release bump to 0.10.
1340 commit 5cc73be19b4ac76b26b8107f0cabdff8af3914e0
1341 Author: Mark McLoughlin <mark@skynet.ie>
1346 2004-09-28 Mark McLoughlin <mark@skynet.ie>
1348 * configure.in: Version 0.9.
1353 commit de080d604ddacd47c63fc05083db909197c4a0b8
1354 Author: Ray Strode <rstrode@redhat.com>
1357 Don't put the if clause where the else clause should go and vice versa
1359 2004-09-27 Ray Strode <rstrode@redhat.com>
1361 * src/eggdesktopentries
1362 (egg_desktop_entries_get_locale_encoding):
1363 Don't put the if clause where the else clause should
1364 go and vice versa (Spotted by Nicholas Miell,
1365 http://bugzilla.gnome.org/show_bug.cgi?id=153759)
1368 M src/eggdesktopentries.c
1370 commit 3bb75ce0253afb5f6bf95f786f8207ed09381a8e
1371 Author: Ray Strode <rstrode@redhat.com>
1374 Bounds check before doing array assignment
1376 2004-09-29 Ray Strode <rstrode@redhat.com>
1378 * src/desktop_file.c:
1379 (gnome_desktop_file_remove_string_from_list):
1380 Bounds check before doing array assignment
1382 * src/eggdesktopentries
1383 (egg_desktop_entries_get_locale_country):
1384 Don't put the if clause where the else clause should
1385 go and vice versa (Spotted by Nicholas Miell,
1386 http://bugzilla.gnome.org/show_bug.cgi?id=153759)
1389 M src/desktop_file.c
1390 M src/eggdesktopentries.c
1392 commit d9f9ac33c979755c887a1b3c8b63b4926c641ce1
1393 Author: Ray Strode <rstrode@redhat.com>
1396 Fix --remove-show-in option
1398 2004-09-23 Ray Strode <rstrode@redhat.com>
1400 * src/desktop_file.c:
1401 (gnome_desktop_file_remove_string_from_list):
1402 Fix --remove-show-in option
1405 M src/desktop_file.c
1407 commit a9ba8ec24628ca86e6e138e4ca1b371f0ced7710
1408 Author: Dan Williams <dcbw@redhat.com>
1411 Don't try to dispose of 'entries' if it's NULL, since then
1413 2004-09-13 Dan Williams <dcbw@redhat.com>
1415 * src/eggdesktopentreis.c:
1416 (egg_desktop_entries_new_from_file): Don't try to
1417 dispose of 'entries' if it's NULL, since then
1418 egg_desktop_entries_free() prints out failure
1422 M src/eggdesktopentries.c
1424 commit fda9ed5ca911030991e03b7cf7fc761056c1d154
1425 Author: Ray Strode <rstrode@redhat.com>
1428 New macros for printing at various verbosity levels
1429 (is_valid_mime_type):
1431 2004-09-08 Ray Strode <rstrode@redhat.com>
1433 * src/update-desktop-database.c:
1434 (udd_print), (udd_verbose_print):
1435 New macros for printing at various verbosity levels
1436 (is_valid_mime_type): give better error messages
1437 (process_desktop_files): print unparsable desktop
1438 files by default without verbose mode. Inform user
1439 of desktop files that lack mime type keys in verbose
1441 (open_temp_cache_file): change file mode of temp
1442 file to reflect user's umask.
1443 (print_desktop_dirs),
1444 (main): use new udd_verbose_print macro
1447 M src/update-desktop-database.c
1449 commit 4e7026a15d22bd5af7184b2bf737ceb57c85f7a5
1450 Author: Ray Strode <rstrode@redhat.com>
1455 2004-09-03 Ray Strode <rstrode@redhat.com>
1457 * src/egg*.[ch]: sync with libegg
1460 M src/eggdesktopentries.c
1461 M src/update-desktop-database.c
1463 commit 44faedeccad07671e2f21e756a744966aadc1fbe
1464 Author: Mark McLoughlin <mark@skynet.ie>
1467 forgotten news for 0.8
1471 commit 6f6ec0efffeba7cca274e8f1400cdafa11c6a638
1472 Author: Mark McLoughlin <mark@skynet.ie>
1475 post-release bump to 0.9.
1477 2004-09-03 Mark McLoughlin <mark@skynet.ie>
1479 * configure.in: post-release bump to 0.9.
1484 commit ab6d4f29f7aae1d2e537bfb01afe2842f7b0b702
1485 Author: Mark McLoughlin <mark@skynet.ie>
1490 2004-09-03 Mark McLoughlin <mark@skynet.ie>
1492 * configure.in: Version 0.8.
1496 commit 3fd76a0061e1dca888d045a63424a71edaa3dfb0
1497 Author: Mark McLoughlin <mark@skynet.ie>
1500 Fixes empty subdirs not getting removed.
1502 2004-09-02 Mark McLoughlin <mark@skynet.ie>
1504 Fixes empty subdirs not getting removed.
1506 * src/menu-process.c: (process_only_unallocated): check
1508 the subdir has no entries, not this dir.
1511 M src/menu-process.c
1513 commit 04926109349b90b66863cc522d27aab126049e17
1514 Author: Mark McLoughlin <mark@skynet.ie>
1517 always invalidate the cache, even if a file has just changed -
1520 2004-09-02 Mark McLoughlin <mark@skynet.ie>
1522 * src/menu-entries.c:
1523 (handle_cached_dir_changed): always invalidate the cache,
1524 even if a file has just changed - we need to re-read the
1525 categories and such.
1526 (cached_dir_get_full_path): append a "/" between path
1527 elements - trying to read /usrshareapplications isn't
1528 going to work, is it?
1531 M src/menu-entries.c
1533 commit 99c42dd7f32176a07deac8b0885a724d75d9c203
1534 Author: Mark McLoughlin <mark@skynet.ie>
1537 Don't crash if the tree has already been freed.
1539 2004-09-02 Mark McLoughlin <mark@skynet.ie>
1541 * src/menu-process.c: (handle_menu_node_menu_changed):
1542 Don't crash if the tree has already been freed.
1545 M src/menu-process.c
1547 commit f6b82d1ae48432e4f80496d6a0aa64c1f3598cde
1548 Author: Ray Strode <rstrode@redhat.com>
1553 2004-09-02 Ray Strode <rstrode@redhat.com>
1555 * src/egg*.[ch]: sync with libegg
1558 M src/eggdesktopentries.c
1559 M src/eggdesktopentries.h
1562 M src/update-desktop-database.c
1564 commit 2b41b33c7c9866d18d89adfbfa4494569a8cd4b0
1565 Author: Mark McLoughlin <mark@skynet.ie>
1568 Patch from Dan Williams <dcbw@redhat.com>
1570 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1572 Patch from Dan Williams <dcbw@redhat.com>
1574 * src/menu-method.c: add a reasonable set of schemes.
1579 commit b9671cfbb70f3f9c28089faebb1b8a69bd2d3f8d
1580 Author: Mark McLoughlin <mark@skynet.ie>
1583 add an only_show_in arg. (desktop_entry_tree_cache_unref: free
1585 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1587 * src/menu-tree-cache.[ch]:
1588 (desktop_entry_tree_cache_new): add an only_show_in arg.
1589 (desktop_entry_tree_cache_unref: free only_show_in.
1590 (reload_entry): pass in only_show_in when loading the
1593 * src/menu-method.c: (menu_method_new): set only-show-in
1596 * src/gen-compat-tree.c: (process_one_file): don't
1597 set an only-show-in name. Might want a command line
1598 argument for this at some point.
1601 M src/gen-compat-tree.c
1603 M src/menu-tree-cache.c
1604 M src/menu-tree-cache.h
1606 commit 6b76fd581e24d0845fe8a1707a80260bff4d48de
1607 Author: Mark McLoughlin <mark@skynet.ie>
1610 Another patch from Dan with some minor changes.
1612 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1614 Another patch from Dan with some minor changes.
1616 * src/menu-process.[ch]:
1617 (desktop_entry_tree_get_mtime): accessor for mtime.
1618 (build_tree): set the mtime to the time which we
1621 * src/menu-method.c:
1622 (fill_in_generic_dir_info),
1623 (fill_in_generic_file_info): set mtime/ctime.
1627 M src/menu-process.c
1628 M src/menu-process.h
1630 commit aae23b7a07bb99ab295572899b93c678c516281f
1631 Author: Mark McLoughlin <mark@skynet.ie>
1634 Patch to make the menu method notice changes in the entry directories
1637 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1639 Patch to make the menu method notice changes in the entry
1640 directories and re-load the menus. Re-worked version of
1641 a patch from Dan Williams <dcbw@redhat.com>
1643 * src/Makefile.am: build menu-monitor.[ch]
1645 * src/menu-entries.[ch]:
1646 (entry_directory_add_monitor),
1647 (entry_directory_remove_monitor),
1648 (entry_directory_list_add_monitors),
1649 (entry_directory_list_remove_monitors): add API to support
1650 monitoring the contents of entry directories.
1652 * src/menu-layout.[ch]:
1653 (menu_node_menu_add_monitor),
1654 (menu_node_menu_remove_monitor): add API to support monitoring
1657 * src/menu-process.[ch]:
1658 (desktop_entry_tree_add_monitor),
1659 (desktop_entry_tree_remove_monitor): add API to support
1661 the entry tree. Right now, only changes in the entry
1663 noticed and not the menu files themselves.
1665 * src/menu-tree-cache.c: use the entry tree monitoring API and
1666 rebuild if it changes.
1668 * src/menu-monitor.[ch]: add silly monitor abstraction.
1670 * src/menu-method.c: implement the monitor abstraction
1676 M src/menu-entries.c
1677 M src/menu-entries.h
1681 A src/menu-monitor.c
1682 A src/menu-monitor.h
1683 M src/menu-process.c
1684 M src/menu-process.h
1685 M src/menu-tree-cache.c
1686 M src/menu-tree-cache.h
1688 commit 5ca04aeb574652e77e2d1cc7446cd0217bd0e6f3
1689 Author: Mark McLoughlin <mark@skynet.ie>
1692 remove FIXME to disable removing empty submenus. menu-spec says the
1694 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1696 * src/menu-process.c: (process_only_unallocated): remove
1697 FIXME to disable removing empty submenus. menu-spec says
1698 the default value for the "show_empty" attribute in
1699 DefaultLayout is "false" so ...
1702 M src/menu-process.c
1704 commit f36c875da8a83e629fbf389d1056ef421adf934f
1705 Author: Mark McLoughlin <mark@skynet.ie>
1708 Based on a patch from Dan Williams <dcbw@redhat.com>
1710 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1712 Based on a patch from Dan Williams <dcbw@redhat.com>
1714 * src/menu-entries.[ch]:
1715 (entry_get_nodisplay): add accessor for nodisplay flag
1716 (entry_new_desktop_from_file): return NULL if NoDisplay=TRUE
1717 (entry_new_directory_from_file): set the nodisplay flag if
1720 * src/menu-process.c: (tree_node_from_menu_node): if the
1721 last .directory has NoDisplay=true treat it as if the
1722 <Menu> had a <Deleted>
1726 M src/menu-entries.c
1727 M src/menu-entries.h
1728 M src/menu-process.c
1730 commit 732183a20f0c4814da404cfec3b87b31071fd899
1731 Author: Mark McLoughlin <mark@skynet.ie>
1734 don't include desktop_file.h
1736 2004-08-29 Mark McLoughlin <mark@skynet.ie>
1738 * src/menu-process.h: don't include desktop_file.h
1740 * src/menu-util.h: don't include menu-layout.h
1743 M src/menu-process.h
1746 commit 2fcb4b84c1f87d39a2b748e1216e60a9b2ff635a
1747 Author: Mark McLoughlin <mark@skynet.ie>
1750 don't leak the entry sets. Patch from Kjartan Maraas in rh bug #130673
1752 2004-08-25 Mark McLoughlin <mark@skynet.ie>
1754 * src/menu-process.c: (resolve_legacy_dir),
1755 (tree_node_from_menu_node): don't leak the entry
1756 sets. Patch from Kjartan Maraas in rh bug #130673
1758 * src/menu-method.c: (menu_method_get_info):
1759 free the resolved path. Another leak from rh bug #130673
1763 M src/menu-process.c
1765 commit 0903e4a3f1f39b908c2240a698431bd0df617272
1766 Author: Ray Strode <rstrode@redhat.com>
1771 2004-07-22 Ray Strode <rstrode@redhat.com>
1773 * src/egg*.[ch]: sync with libegg
1775 * src/update-desktop-database.c: fix calls to work
1779 M src/eggdesktopentries.c
1780 M src/eggdesktopentries.h
1782 M src/update-desktop-database.c
1784 commit 7fc55f50ebc307ad19fb9fb315231304f10b6093
1785 Author: Mark McLoughlin <mark@skynet.ie>
1788 post-release bump to 0.8.
1790 2004-07-22 Mark McLoughlin <mark@skynet.ie>
1792 * configure.in: post-release bump to 0.8.
1797 commit eb0fb5ceb5be7c4e3b3539519e1e1d12f7929a21
1798 Author: Mark McLoughlin <mark@skynet.ie>
1803 2004-07-22 Mark McLoughlin <mark@skynet.ie>
1805 * configure.in: Version 0.7.
1811 commit a74ca8bbc26da1ba024e7f6feeacbe9e5eada61f
1812 Author: Jonathan Blandford <jrb@gnome.org>
1815 Make pass distcheck.
1817 Wed Jul 21 22:48:33 2004 Jonathan Blandford <jrb@gnome.org>
1820 * misc/Makefile.am: Make pass distcheck.
1826 commit f11686f02711fdb88b0ee977fcf31140ae74b0ff
1827 Author: Ray Strode <rstrode@redhat.com>
1830 add new --add-mime-type and --remove-mime-type options to make it
1833 2004-07-21 Ray Strode <rstrode@redhat.com>
1835 * src/install.c: (main)
1837 (parse_options_callback):
1838 add new --add-mime-type and --remove-mime-type options
1839 to make it easy to dynamically add and remove mime
1840 types from a desktop file.
1845 commit 4879cb46c884908ee61b502f89737c4a9812f2c7
1846 Author: Ray Strode <rstrode@redhat.com>
1849 add new --rebuild-mime-info-cache option (str_has_prefix): this
1852 2004-07-21 Ray Strode <rstrode@redhat.com>
1854 * src/install.c: (main)
1857 add new --rebuild-mime-info-cache option
1858 (str_has_prefix): this function is now in glib,
1859 so remove it here and use it from there.
1864 commit 88729a7224944c31ac82081b73bab45cdbd26682
1865 Author: Ray Strode <rstrode@redhat.com>
1868 Return 1 on failure, even in quiet mode.
1870 2004-07-21 Ray Strode <rstrode@redhat.com>
1872 * src/update-desktop-database.c: Return 1 on failure,
1876 M src/update-desktop-database.c
1878 commit 01ea154d0a7a1543042bf5138490012eb3cd40ff
1879 Author: Ray Strode <rstrode@redhat.com>
1882 add update-desktop-database
1884 2004-07-15 Ray Strode <rstrode@redhat.com>
1886 * src/Makefile.am: add update-desktop-database
1888 * src/eggdesktopentries.[ch]
1889 src/eggdirfuncs.[ch]
1890 src/eggintl.h: new desktop file parser
1892 * src/gen-compat-tree.c
1893 src/install.c: #include <locale.h>
1895 * src/update-desktop-database.c: creates
1896 cache of mime type / desktop-file-id
1901 A src/eggdesktopentries.c
1902 A src/eggdesktopentries.h
1906 M src/gen-compat-tree.c
1908 A src/update-desktop-database.c
1910 commit 4d0df47a06fcda8f27f4f9b64d575fedc434b8e2
1911 Author: Mark McLoughlin <mark@skynet.ie>
1918 commit 404051fd0f15c5249996aa3d903d88f5cb364ada
1919 Author: Mark McLoughlin <mark@skynet.ie>
1924 2004-04-19 Mark McLoughlin <mark@skynet.ie>
1927 misc/Makefile.am: install the elisp.
1933 commit d819beb1eaa1ea56c8b4e4b356fce939dbb059ae
1934 Author: Mark McLoughlin <mark@skynet.ie>
1937 Patch from Ville Skyttä <ville.skytta@iki.fi>
1939 2004-04-19 Mark McLoughlin <mark@skynet.ie>
1941 Patch from Ville Skyttä <ville.skytta@iki.fi>
1943 * misc/desktop-entry-mode.el: make it work a bit better
1948 M misc/desktop-entry-mode.el
1950 commit 2c3507439353c540bf6c97ef44b9d450cab4dfe2
1951 Author: Mark McLoughlin <mark@skynet.ie>
1954 add forgotten Makefile
1958 commit d8acd71129ddeccbed216f53e8e078f291fbda2b
1959 Author: Mark McLoughlin <mark@skynet.ie>
1962 Patch from Ville Skyttä <ville.skytta@iki.fi> with some minor
1965 2004-04-18 Mark McLoughlin <mark@skynet.ie>
1967 Patch from Ville Skyttä <ville.skytta@iki.fi> with some
1971 (print_fatal), (print_warning): take a filename arg and
1972 say whether its an error or warning.
1973 (validate_only_show_in): actually validate against registered
1975 (key_table): upd. for latest spec.
1976 (enum_keys): check for keys that are reserved for KDE.
1977 (required_section): improve validation here.
1979 * src/validator.c: (main): fixup the error messages.
1985 commit b722c62c54b795ac8fcb72d7c2a3701d66a4ed77
1986 Author: Mark McLoughlin <mark@skynet.ie>
1991 2004-04-18 Mark McLoughlin <mark@skynet.ie>
1995 * src/menu-entries.c:
1996 (entry_cache_atom_name),
1997 (entry_cache_clear_unused): mark as unused.
1999 * src/menu-method.c:
2000 (menu_method_ref), (menu_method_unref): ditto.
2002 * src/vfolder-parser.c:
2003 (add_context_to_error), (locate_attributes): kill these.
2005 * src/menu-process.c:
2006 (menu_node_resolve_files_recursive): add a missing break;
2007 (foreach_dir): try to fixup this and give up - something
2008 is very broken here.
2011 M src/menu-entries.c
2013 M src/menu-process.c
2014 M src/vfolder-parser.c
2016 commit d17d002c67a517fa894b5606b122aa65522d4337
2017 Author: Mark McLoughlin <mark@skynet.ie>
2020 add Emacs desktop entry mode from Ville Skyttä <ville.skytta@iki.fi>
2022 2004-04-18 Mark McLoughlin <mark@skynet.ie>
2024 * misc/desktop-entry-mode.el: add Emacs desktop entry
2025 mode from Ville Skyttä <ville.skytta@iki.fi>
2031 A misc/desktop-entry-mode.el
2033 commit b32d8b2a1921e4adbfb1e2f3162e8f7cee200133
2034 Author: Mark McLoughlin <mark@skynet.ie>
2041 commit 574af0b8681a144a393b8f2869671e51afc1bcdb
2042 Author: Dan Williams <dcbw@redhat.com>
2045 Bump to version 0.6 in preparation for a release.
2050 commit 036d4c21a8d5b3f16f37ce4e8a8f7ab33d29b729
2051 Author: Dan Williams <dcbw@redhat.com>
2054 src/gen-compat-tree.c src/menu-entries.c src/menu-entries.h
2056 2004-03-21 Dan Williams <dcbw@redhat.com>
2058 * src/gen-compat-tree.c
2063 src/menu-modules.conf
2069 Apply Frederic Crozat's patch to bring d-f-u up
2070 to the freedesktop.org Menu Spec 0.8. Approved
2075 M src/gen-compat-tree.c
2076 M src/menu-entries.c
2077 M src/menu-entries.h
2080 M src/menu-modules.conf
2082 M src/menu-process.c
2083 M src/menu-process.h
2085 commit f003793aa7a371e500e1d261cca7020d213ed09a
2086 Author: Dan Williams <dcbw@redhat.com>
2089 Don't crash when a .desktop file is a symlink pointing to a
2092 2004-03-21 Dan Williams <dcbw@redhat.com>
2094 * src/menu-entries.c: Don't crash when a .desktop
2095 file is a symlink pointing to a nonexistent file.
2098 M src/menu-entries.c
2100 commit 0bacbc6e3bbbc008b1dd1997b2382538f84670e5
2101 Author: Mark McLoughlin <mark@skynet.ie>
2106 2004-03-01 Mark McLoughlin <mark@skynet.ie>
2108 * configure.in: Version 0.5.
2110 2004-03-01 Mark McLoughlin <mark@skynet.ie>
2112 Patch from Dan Williams to not segfault with .desktop
2113 files with comments at the start.
2115 * src/validate.c: (enum_sections), (enum_actions):
2116 Don't crap out if the section or action name is
2123 commit 9716fcd495f7a5876129f41e5bc860dc22d536a0
2124 Author: Mark McLoughlin <mark@skynet.ie>
2129 2004-02-19 Mark McLoughlin <mark@skynet.ie>
2131 * configure.in: Version 0.4
2137 commit 1cc71ab56de69bdf16bec6ad3c021809758b01ef
2138 Author: Mark McLoughlin <mark@skynet.ie>
2141 Add support for .desktop files which contains Actions. Verify that the
2143 2004-02-19 Mark McLoughlin <mark@skynet.ie>
2145 Add support for .desktop files which contains Actions. Verify
2146 that the Actions key and Desktop Action sections match up
2147 and that each Desktop Action section has an Exec key.
2150 (enum_sections): record the name of the main section and
2151 allow Desktop Action sections.
2152 (required_section): return the name of the main section.
2153 (required_keys): actually check for these keys in the correct
2155 (enum_actions), (error_orphaned_action),
2156 (required_actions): make sure the Actions key and Desktop
2159 (desktop_file_validate): upd.
2164 commit e5178a6e260fdd4d98d25630f2721cec77eea11f
2165 Author: Mark McLoughlin <mark@skynet.ie>
2173 commit 212304203a637227dc5f4451c5c24bb5d527f2e6
2174 Author: Mark McLoughlin <mark@skynet.ie>
2181 commit 40b5b6cb7f8e8d2678c4de3ea7133988ece58c1f
2182 Author: Havoc Pennington <hp@redhat.com>
2185 don't return an entry's parent, only return a subdir at the exact path
2187 2003-10-23 Havoc Pennington <hp@redhat.com>
2189 * src/menu-process.c (tree_node_find_subdir): don't return an
2190 entry's parent, only return a subdir at the exact path
2193 M src/menu-process.c
2195 commit cd253d7315b8cfbef387ed40ae6c4270797b5d64
2196 Author: Havoc Pennington <hp@redhat.com>
2199 implement <Move> operation
2201 2003-10-23 Havoc Pennington <hp@redhat.com>
2203 * src/menu-process.c: implement <Move> operation
2205 * src/menu-process.c (menu_node_strip_duplicate_children): fix
2206 to keep later rather than earlier <Menu> nodes
2207 (move_children): drop the <Name> node from the source <Menu>
2209 * src/menu-parser.c (end_element_handler): don't add context to
2210 error messages that already have it
2212 * src/menu-parser.c (fixup_move_node): new code to canonicalize
2213 and verify move nodes
2219 M src/menu-process.c
2221 commit 9026bd0d2c5976ef43f490cbb5c187e2de8e48bd
2222 Author: Havoc Pennington <hp@redhat.com>
2225 add support for OnlyUnallocated element, passes 1 more test
2227 2003-10-23 Havoc Pennington <hp@redhat.com>
2229 * src/menu-process.c (process_only_unallocated)
2230 (tree_node_from_menu_node): add support for OnlyUnallocated
2231 element, passes 1 more test
2234 M src/menu-process.c
2236 commit 4e31d2235f5b96c80fac2e4f5820bfba29142616
2237 Author: Havoc Pennington <hp@redhat.com>
2240 Localizing the menu paths gets us another 2 passes with the test
2243 2003-10-23 Havoc Pennington <hp@redhat.com>
2245 Localizing the menu paths gets us another 2 passes with
2249 * src/menu-process.c (localized_path_for_entry): new function
2250 (foreach_print): localize the paths that are outputted with
2251 --test-results as the test suite wants that.
2254 M src/menu-process.c
2255 M src/menu-process.h
2257 commit b569aaccf68a490a1b9c725c202075745c82171e
2258 Author: Havoc Pennington <hp@redhat.com>
2261 change to alloc the TreeNode in here instead of separately then
2263 2003-10-20 Havoc Pennington <hp@redhat.com>
2265 * src/menu-process.c (tree_node_from_menu_node): change to alloc
2266 the TreeNode in here instead of separately then
2267 fill_tree_node_from_menu_node
2268 (tree_node_from_menu_node): handle <Deleted>/<NotDeleted>
2271 M src/menu-process.c
2273 commit 91932e984d02f53d74f276fbb8725944e7d397a7
2274 Author: Havoc Pennington <hp@redhat.com>
2277 include full menu paths
2279 2003-10-16 Havoc Pennington <hp@redhat.com>
2281 * src/menu-process.c (foreach_dir): include full menu paths
2283 * src/gen-compat-tree.c (process_one_file): search for relative
2284 filenames in the XDG paths
2286 * src/menu-tree-cache.c (cache_lookup): fix GError pileup
2288 * src/gen-compat-tree.c: add --verbose option
2291 M src/gen-compat-tree.c
2292 M src/menu-process.c
2293 M src/menu-tree-cache.c
2295 commit 8ce78fa6a2f9a3130d9830fd5851bc59f692aa50
2296 Author: Havoc Pennington <hp@redhat.com>
2299 add a bunch of #ifdef READ_ONLY sections for using the backend without
2301 2003-07-17 Havoc Pennington <hp@redhat.com>
2303 * src/menu-method.c: add a bunch of #ifdef READ_ONLY sections for
2304 using the backend without editing
2309 commit 098322cac733cdec68af17d7b8525982311641e9
2310 Author: Havoc Pennington <hp@redhat.com>
2313 diff old vs. new tree and store the list of changes
2315 2003-06-11 Havoc Pennington <hp@redhat.com>
2317 * src/menu-tree-cache.c (reload_entry): diff old vs. new tree and
2318 store the list of changes
2320 * src/menu-method.c (do_monitor_add, do_monitor_cancel):
2321 monitoring using the tree diff stuff.
2323 * src/menu-process.c (desktop_entry_tree_diff): finish
2328 M src/menu-process.c
2329 M src/menu-tree-cache.c
2330 M src/menu-tree-cache.h
2332 commit db41e321537333d3606bf27b3e49e17886e02784
2333 Author: Havoc Pennington <hp@pobox.com>
2336 add but doesn't work yet, just syncing with work computer
2338 2003-06-11 Havoc Pennington <hp@pobox.com>
2340 * src/menu-process.c (desktop_entry_tree_diff): add but
2341 doesn't work yet, just syncing with work computer
2344 M src/menu-process.c
2345 M src/menu-process.h
2347 commit 7af5e7979cece5de7970a4f809d1511740d7d67e
2348 Author: Havoc Pennington <hp@redhat.com>
2351 make this return NOT_PERMITTED rather than NOT_SUPPORTED
2353 2003-06-06 Havoc Pennington <hp@redhat.com>
2355 * src/menu-method.c (do_set_file_info): make this return
2356 NOT_PERMITTED rather than NOT_SUPPORTED
2357 (fill_in_generic_dir_info): fill in the uid/gid fields
2358 (fill_in_generic_file_info): ditto
2359 (menu_method_get_info): fill in file_info->name
2360 (do_check_same_fs): implement
2365 commit 1b3ef9fbb92a3d8dde18120a9b9d4e1d19f150ae
2366 Author: Havoc Pennington <hp@redhat.com>
2369 mark cache valid again after reloading stuff, makes things a whole lot
2371 2003-06-06 Havoc Pennington <hp@redhat.com>
2373 * src/menu-tree-cache.c (reload_entry): mark cache valid again
2374 after reloading stuff, makes things a whole lot faster.
2376 * src/menu-method.c: convert some GError to GnomeVFSResult, and
2377 return GNOME_VFS_ERROR_INVALID_URI when passed a non-.desktop
2378 or non-.directory file.
2379 (dir_handle_new): remove extra unref on the DesktopEntryTree
2383 M src/menu-process.c
2384 M src/menu-tree-cache.c
2386 commit 8717fa173adacea5519ccb228a0fd0c7689cbb34
2387 Author: Havoc Pennington <hp@redhat.com>
2390 Last bugfix so we can display redhat-menus pretty OK
2392 2003-06-06 Havoc Pennington <hp@redhat.com>
2394 Last bugfix so we can display redhat-menus pretty OK
2396 * src/menu-process.c (node_menu_compare_func): make this consider
2397 whether the menu nodes have the same parent, so we don't
2398 consolidate dups that aren't children of the same menu
2399 (menu_node_strip_duplicate_children): use node_menu_compare_func
2400 instead of node_compare_func to see if two menu nodes are dups
2402 * src/menu-layout.c (menu_node_get_depth): new
2405 M src/menu-entries.c
2408 M src/menu-process.c
2410 commit 960d29872085d285eccd284f4e1663b49cd3b791
2411 Author: Havoc Pennington <hp@redhat.com>
2414 set name of the menu file on root node
2416 2003-06-05 Havoc Pennington <hp@redhat.com>
2418 * src/menu-parser.c (menu_load): set name of the menu file on
2421 * src/menu-entries.c (cached_dir_lookup): fix logic a bit
2423 * src/menu-process.c (menu_node_resolve_files_recursive):
2424 implement DefaultAppDirs, DefaultDirectoryDirs, DefaultMergeDirs
2426 * src/menu-util.c (init_xdg_paths): move here
2428 * src/menu-process.c (move_children): fix memleak and a crash
2429 when moving children to an empty node
2431 * src/menu-util.c (g_string_append_random_ascii): fix warnings
2433 * src/menu-parser.c: add <DefaultMergeDirs/> support
2436 M src/menu-entries.c
2440 M src/menu-process.c
2441 M src/menu-tree-cache.c
2445 commit 886db179daa8fb482fc8989a625143ee8864b242
2446 Author: Havoc Pennington <hp@redhat.com>
2449 put applications-edits under "menus"
2450 (desktop_entry_tree_cache_create):
2452 2003-06-02 Havoc Pennington <hp@redhat.com>
2454 * src/menu-tree-cache.c (try_create_overrides): put
2455 applications-edits under "menus"
2456 (desktop_entry_tree_cache_create): can't create a menu with
2457 same name as a directory; and don't create random mktmp names,
2461 (menu_node_remove_redundancy): fix this function to be able to
2462 remove redundancy despite intervening nodes.
2464 * src/menu-process.c (desktop_entry_tree_exclude)
2465 (desktop_entry_tree_include): add new nodes in root <Menu>, not to
2467 (menu_node_find_submenu): fix assertion
2468 (tree_node_find_subdir_or_entry): fix to return the right value
2470 * src/menu-tree-cache.c (reload_entry): fix unref/free of NULL
2472 (lookup_canonical_entry): fix bug where we didn't fill
2473 in entry->create_chaining_to correctly
2475 * src/menu-method.c (menu_method_resolve_uri): fix bug where
2476 we passed wrong args to menu_method_get_tree
2481 M src/menu-process.c
2482 M src/menu-process.h
2483 M src/menu-tree-cache.c
2485 commit 6790909e981587d6c7306de126101cc6a00fd259
2486 Author: Havoc Pennington <hp@pobox.com>
2489 implement (desktop_entry_tree_cache_mkdir): implement
2491 2003-05-31 Havoc Pennington <hp@pobox.com>
2493 * src/menu-tree-cache.c (desktop_entry_tree_cache_rmdir):
2495 (desktop_entry_tree_cache_mkdir): implement
2497 * src/menu-process.c (desktop_entry_tree_mkdir): implement
2498 (desktop_entry_tree_rmdir): implement
2500 * src/menu-overrides.c: handle overriding a desktop file
2501 with a '/' in the name
2503 * src/menu-method.c (menu_method_unlink): implement
2505 * src/menu-process.c (desktop_entry_tree_exclude): implement
2507 * src/menu-tree-cache.c (desktop_entry_tree_cache_delete):
2514 M src/menu-overrides.c
2515 M src/menu-overrides.h
2516 M src/menu-process.c
2517 M src/menu-process.h
2518 M src/menu-tree-cache.c
2519 M src/menu-tree-cache.h
2523 commit e650a5c592c0cc61bf6c81b24b82c92748f07927
2524 Author: Havoc Pennington <hp@pobox.com>
2527 move some functions that didn't make sense in other files into here
2529 2003-05-31 Havoc Pennington <hp@pobox.com>
2531 * src/menu-util.c: move some functions that didn't make sense
2532 in other files into here
2534 * src/menu-process.c (menu_node_resolve_files_recursive): fix bug
2535 where we used an uninitialized variable
2539 M src/canonicalize.c
2540 M src/menu-entries.c
2544 M src/menu-overrides.c
2545 M src/menu-overrides.h
2547 M src/menu-process.c
2551 commit 2f385d64991be70d6bb50eff260b6f9a48c29fe2
2552 Author: Havoc Pennington <hp@redhat.com>
2555 hack (menu_node_ensure_child): hack (desktop_entry_tree_include): hack
2557 2003-05-30 Havoc Pennington <hp@redhat.com>
2559 * src/menu-process.c (menu_node_find_submenu): hack
2560 (menu_node_ensure_child): hack
2561 (desktop_entry_tree_include): hack
2563 * src/menu-method.c: hack
2565 * src/menu-tree-cache.c (desktop_entry_tree_cache_create): hack
2570 M src/menu-overrides.c
2571 M src/menu-process.c
2572 M src/menu-process.h
2573 M src/menu-tree-cache.c
2574 M src/menu-tree-cache.h
2576 commit 18c81bf0e85df9a7ee8d3ea063f758976abf43a9
2577 Author: Havoc Pennington <hp@redhat.com>
2582 2003-05-29 Havoc Pennington <hp@redhat.com>
2584 * src/menu-method.c (menu_method_resolve_uri_writable): new
2586 * src/menu-tree-cache.c (desktop_entry_tree_cache_override): new
2588 * src/menu-entries.c (entry_cache_invalidate): new
2590 * src/menu-process.c (merge_resolved_copy_of_children): lots of
2593 * src/menu-layout.c (menu_node_steal): fix to update
2594 node->parent->children pointer
2596 * src/gen-compat-tree.c (process_one_file): fix build
2599 M src/menu-entries.c
2600 M src/menu-entries.h
2604 M src/menu-overrides.c
2606 M src/menu-process.c
2607 M src/menu-process.h
2608 M src/menu-tree-cache.c
2609 M src/menu-tree-cache.h
2610 M src/vfolder-parser.c
2612 commit 2da219479f1dd0f267607b3d273899f6963e669b
2613 Author: Havoc Pennington <hp@redhat.com>
2618 2003-05-29 Havoc Pennington <hp@redhat.com>
2620 * src/gen-compat-tree.c (process_one_file): fix build
2623 M src/gen-compat-tree.c
2625 commit d6f012c8d4d36cb77f19a1e4a91c17474a2ffcea
2626 Author: Havoc Pennington <hp@redhat.com>
2629 add allow_missing_basename argument
2631 2003-05-28 Havoc Pennington <hp@redhat.com>
2633 * src/canonicalize.c (g_canonicalize_file_name): add
2634 allow_missing_basename argument
2636 * src/menu-tree-cache.c (init_xdg_paths): hack to pass in
2637 the create_chaining_to to desktop_entry_tree_load()
2639 * src/menu-method.c (menu_method_get_tree): adapt to new API
2641 * src/menu-process.c (desktop_entry_tree_load): take
2642 an argument which is the menu file to chain to
2643 in a newly-created menu file
2645 * src/menu-layout.c (menu_cache_get_menu_for_file):
2646 same, allow specifying a file to chain to if we
2647 create a new menu file
2651 M src/canonicalize.c
2652 M src/canonicalize.h
2653 M src/menu-entries.c
2657 M src/menu-overrides.c
2658 M src/menu-overrides.h
2660 M src/menu-process.c
2661 M src/menu-process.h
2662 M src/menu-tree-cache.c
2663 M src/menu-tree-cache.h
2665 commit a7bfa852da88ec7be894684b5037c9a80d9df98d
2666 Author: Havoc Pennington <hp@redhat.com>
2669 Enough bugfixes to be able to view a sample menu in nautilus and
2672 2003-05-21 Havoc Pennington <hp@redhat.com>
2674 Enough bugfixes to be able to view a sample menu in
2678 * src/menu-process.c (tree_node_find_subdir_or_entry): fill in the
2679 node when we are loading a .desktop file
2681 * src/menu-method.c (menu_method_get_info): new function
2682 (do_get_file_info): change so we can stat a directory,
2685 * src/menu-process.c (tree_node_find_subdir_or_entry): handle '/'
2689 M src/menu-process.c
2691 commit 5a4c5b172c9a0ddee78524b8e8ed5639944e1465
2692 Author: Havoc Pennington <hp@redhat.com>
2695 implement directory of .desktop file overrides
2697 2003-05-21 Havoc Pennington <hp@redhat.com>
2699 * src/menu-overrides.c: implement directory of .desktop file
2702 * src/menu-layout.c (g_file_save_atomically): export
2707 A src/menu-overrides.c
2708 A src/menu-overrides.h
2710 commit 35cb1a6884dead580b7a2c0056253896007f1af8
2711 Author: Havoc Pennington <hp@redhat.com>
2714 code stuff, gnomevfs-ls/gnomevfs-cat/gnomevfs-info are now up and
2717 2003-05-20 Havoc Pennington <hp@redhat.com>
2719 * src/menu-method.c: code stuff,
2720 gnomevfs-ls/gnomevfs-cat/gnomevfs-info are now up and running.
2722 * src/menu-process.c (tree_node_find_subdir_or_entry): fix
2724 * src/menu-tree-cache.c (parse_search_path_and_prepend): fix
2725 (init_xdg_paths): fix
2727 * src/Makefile.am: fix to link the menu-* sources into the VFS
2732 M src/menu-entries.c
2735 M src/menu-modules.conf
2737 M src/menu-process.c
2738 M src/menu-process.h
2739 M src/menu-tree-cache.c
2741 commit 361071b919aa3031bd6b295c5430bd8d77544c6f
2742 Author: Havoc Pennington <hp@redhat.com>
2747 2003-05-15 Havoc Pennington <hp@redhat.com>
2749 * src/menu-method.c: hacking
2751 * src/menu-process.c (tree_node_find_subdir): fix so we don't
2752 ignore trailing junk on paths
2753 (desktop_entry_tree_resolve_path): new
2757 M src/menu-process.c
2758 M src/menu-process.h
2760 commit df4c3bcb31cf668f30cf82a1f869e0cd339e39cb
2761 Author: Havoc Pennington <hp@redhat.com>
2764 quick implementation without file change monitoring.
2766 2003-05-14 Havoc Pennington <hp@redhat.com>
2768 * src/menu-tree-cache.c: quick implementation without file change
2774 M src/menu-process.c
2775 M src/menu-process.h
2776 M src/menu-tree-cache.c
2777 M src/menu-tree-cache.h
2779 commit 336f02b3fc0a9dae50624a7ccbab27500372933e
2780 Author: Havoc Pennington <hp@redhat.com>
2783 new file to store cache of DesktopEntryTree
2785 2003-05-13 Havoc Pennington <hp@redhat.com>
2787 * src/menu-tree-cache.c: new file to store cache of
2793 M src/menu-process.c
2794 M src/menu-process.h
2795 A src/menu-tree-cache.c
2796 A src/menu-tree-cache.h
2798 commit 9d901a7f4feb34d48f40a8705d522fac66ef61e9
2799 Author: Havoc Pennington <hp@redhat.com>
2802 fix a bunch of compiler warnings (desktop_file_fixup): add code to fix
2804 2003-05-12 Havoc Pennington <hp@redhat.com>
2806 * src/validate.c: fix a bunch of compiler warnings
2807 (desktop_file_fixup): add code to fix semicolon termination of
2808 string lists if necessary.
2810 * src/desktop_file.c (gnome_desktop_file_merge_string_into_list):
2811 handle case where existing list is missing ';' at the end;
2812 patch from Adrian Reber
2815 M src/desktop_file.c
2819 commit 349c98626c6357e6cf25326baf357a856f1b240d
2820 Author: Havoc Pennington <hp@redhat.com>
2823 automake, aclocal 1.7
2825 2003-05-12 Havoc Pennington <hp@redhat.com>
2827 * autogen.sh (ACLOCAL): automake, aclocal 1.7
2829 * configure.in: check for optional gnome-vfs, not required
2830 of course, just a hack to share some menu code for now.
2832 * src/menu-method.c, src/Makefile.am: gnome-vfs boilerplate,
2833 doesn't yet do anything.
2840 A src/menu-modules.conf
2842 commit 1f34cb995e6ac5befdf56a7ebb6fae3b7b16a151
2843 Author: Havoc Pennington <hp@pobox.com>
2846 implement serialization of the "DOM tree" of menu nodes so that we can
2848 2003-05-10 Havoc Pennington <hp@pobox.com>
2850 * src/menu-layout.c (menu_node_append_to_string): implement
2851 serialization of the "DOM tree" of menu nodes so that we can
2852 resave after editing.
2853 (menu_node_append_child): fix this, it was messing up order
2855 (menu_cache_sync_for_file): implement doing the standard
2856 write-to-tmp-and-rename hoop-jumping.
2862 M src/menu-process.c
2864 commit f67acc13aff1f1975b0e420c879f5afb89786a30
2865 Author: Havoc Pennington <hp@redhat.com>
2868 use a quark scheme for entry->categories to save time/memory
2870 2003-05-09 Havoc Pennington <hp@redhat.com>
2872 * src/menu-entries.c: use a quark scheme for entry->categories
2875 * src/desktop_file.c (parse_key_value): fix a memory leak
2878 M src/desktop_file.c
2879 M src/gen-compat-tree.c
2880 M src/menu-entries.c
2881 M src/menu-entries.h
2883 commit 72cbb370318d2d484248d0b94cd507cb29730572
2884 Author: Havoc Pennington <hp@redhat.com>
2887 refactor this to use MenuCache and EntryCache and as a result
2890 2003-05-09 Havoc Pennington <hp@redhat.com>
2892 * src/menu-process.c: refactor this to use MenuCache and
2893 EntryCache and as a result make more sense.
2895 * src/menu-layout.c: add MenuCache object; don't track
2896 is_file_root; don't try to autodrop cache when a menu
2897 node is unref'd (didn't work anyway).
2899 * src/menu-entries.c: invent an EntryCache object to get rid of
2903 M src/gen-compat-tree.c
2904 M src/menu-entries.c
2905 M src/menu-entries.h
2908 M src/menu-process.c
2909 M src/menu-process.h
2912 commit e434380b935a1984fb4b4f256647fedc0fb1190a
2913 Author: Havoc Pennington <hp@pobox.com>
2916 make @ a valid byte in locale names, patch from Richi Plana
2918 2003-05-09 Havoc Pennington <hp@pobox.com>
2920 * src/desktop_file.c: make @ a valid byte in locale names, patch
2924 M src/desktop_file.c
2926 commit d5336e6b1da6dc5993b48c7e091b4693d379fcdb
2927 Author: Havoc Pennington <hp@redhat.com>
2930 sort entries by basename
2932 2003-05-08 Havoc Pennington <hp@redhat.com>
2934 * src/menu-process.c (fill_tree_node_from_menu_node): sort entries
2938 M src/menu-process.c
2940 commit cf667e29c1854de40ed4522c62dac70eb54253b5
2941 Author: Havoc Pennington <hp@redhat.com>
2944 fix list manipulation screwup that caused obscure memory error
2946 2003-05-08 Havoc Pennington <hp@redhat.com>
2948 * src/menu-entries.c (entry_directory_list_add): fix list
2949 manipulation screwup that caused obscure memory error
2950 (find_value): fix bug that made it not work, and avoid extra
2953 * src/menu-layout.h: add macros to disable verbose mode
2956 M src/menu-entries.c
2958 M src/menu-process.c
2960 commit f10d0e2fc86e43674f7801562f62744ad7bf7a98
2961 Author: Havoc Pennington <hp@redhat.com>
2964 add ability to print in the format of test suite expected results file
2966 2003-05-06 Havoc Pennington <hp@redhat.com>
2968 * src/menu-process.c (foreach_print): add ability to print in the
2969 format of test suite expected results file
2972 M src/gen-compat-tree.c
2973 M src/menu-process.c
2974 M src/menu-process.h
2976 commit 87fa08c52c1b01ac9a6ae1928e9fd7cce4b71dad
2977 Author: Havoc Pennington <hp@redhat.com>
2980 allow nodes with NULL dir_entry, the menu spec allows
2983 2003-05-05 Havoc Pennington <hp@redhat.com>
2985 * src/menu-process.c (tree_node_free_if_broken): allow nodes with
2986 NULL dir_entry, the menu spec allows that.
2987 (foreach_dir, foreach_print): assorted fixes, can now print a
2988 trivial two-item menu.
2992 M src/menu-process.c
2993 M src/menu-process.h
2995 commit 3b6274f2646fd5bd2334c72543e717203738add3
2996 Author: Havoc Pennington <hp@redhat.com>
2999 create the node->app_dirs node->dir_dirs objects and account for
3001 2003-05-02 Havoc Pennington <hp@redhat.com>
3003 * src/menu-layout.c (menu_node_menu_ensure_entry_lists): create
3004 the node->app_dirs node->dir_dirs objects and account for
3005 MENU_NODE_ROOT node type
3010 commit 7bb06d10749e9e7cfcdd7e81bcba51e9b30a4185
3011 Author: Havoc Pennington <hp@redhat.com>
3014 use basedir stuff stored on root node instead of dealing with it
3017 2003-05-02 Havoc Pennington <hp@redhat.com>
3019 * src/menu-process.c: use basedir stuff stored on root node
3020 instead of dealing with it in this file
3022 * src/menu-parser.c (menu_load): set basedir
3024 * src/menu-layout.c (menu_node_copy_one): copy fields in MenuNode
3026 (menu_node_get_basedir): new
3027 (menu_node_get_content_as_path): new
3029 * configure.in: add more compiler warnings, and --enable-tests
3031 * src/menu-layout.c (dfu_test_menu_nodes): start setting up unit
3037 M src/desktop_file.c
3040 M src/menu-entries.c
3044 M src/menu-process.c
3048 D test/test-data-01/desktop-entries/gnome-terminal.desktop
3049 D test/test-data-01/desktop-entries/kde-KMail.desktop
3050 D test/test-data-01/test01.menu
3051 D test/test-data-01/test01.results
3053 commit f89f7608c1fd54eced4ce406c22c471d4ff86411
3054 Author: Havoc Pennington <hp@pobox.com>
3057 implement (desktop_entry_tree_foreach): implement
3059 2003-05-01 Havoc Pennington <hp@pobox.com>
3061 * src/menu-process.c (desktop_entry_tree_print): implement
3062 (desktop_entry_tree_foreach): implement
3064 * src/menu-entries.c (entry_set_new): fix to init to all bits zero
3067 M src/gen-compat-tree.c
3068 M src/menu-entries.c
3069 M src/menu-process.c
3070 M src/menu-process.h
3072 commit 8f1b0e36649e3ef93393c6edaba56a11e89c4078
3073 Author: Havoc Pennington <hp@redhat.com>
3076 change to only warn about invalid keys, don't die (enum_keys): remove
3078 2003-05-01 Havoc Pennington <hp@redhat.com>
3080 * src/validate.c: change to only warn about invalid keys, don't
3082 (enum_keys): remove warning about Icon field with no .png
3084 (desktop_file_validate): fix to reset fatal_error_occurred on each
3087 * src/gen-compat-tree.c: hook up the new menu code, so we can
3090 * src/validate.c: allow GenericName, StartupNotify, StartupWMClass
3092 * src/menu-parser.c: got it compiling, most code should be there,
3097 M src/gen-compat-tree.c
3101 M src/menu-process.c
3102 M src/menu-process.h
3104 M src/vfolder-parser.c
3105 M src/vfolder-query.c
3106 M src/vfolder-query.h
3108 commit 8edbe57d225a317b40ed49e959a375c9edbbff76
3109 Author: Havoc Pennington <hp@redhat.com>
3112 got it compiling, most code should be there, untested
3114 2003-05-01 Havoc Pennington <hp@redhat.com>
3116 * src/menu-parser.c: got it compiling, most code should be there,
3127 commit 73baa8239a6be957e7831f20cda971f9c180733f
3128 Author: Havoc Pennington <hp@redhat.com>
3131 more random hacking, syncing between computers
3133 2003-04-30 Havoc Pennington <hp@redhat.com>
3135 * src/menu-parser.c: more random hacking, syncing between
3139 M src/menu-entries.c
3145 commit 87f5833e4f2553d9836f3f41da0911513b116746
3146 Author: Havoc Pennington <hp@pobox.com>
3149 skeletal noncompiling base file for menu xml parser thing
3151 2003-04-30 Havoc Pennington <hp@pobox.com>
3153 * src/menu-parser.c: skeletal noncompiling base file for menu xml
3160 commit 11f3ada037c9ca03ec528c5947684145a6901ee1
3161 Author: Havoc Pennington <hp@redhat.com>
3164 don't stop checking as soon as we see an Encoding field. Fix from
3167 2003-04-11 Havoc Pennington <hp@redhat.com>
3169 * src/validate.c (required_keys): don't stop checking as soon as
3170 we see an Encoding field. Fix from Ville Skytta
3171 <ville.skytta@iki.fi>
3176 commit fd5d068c71f30cfd3baadc326c2bd7167336c620
3177 Author: Havoc Pennington <hp@pobox.com>
3180 allow specifying expected name of directory nodes, and allow
3183 2002-12-21 Havoc Pennington <hp@pobox.com>
3185 * test/run-test.c (main): allow specifying expected name of
3186 directory nodes, and allow quoting names and entry filenames so we
3187 can test for handling of whitespace etc.
3195 A test/test-data-01/desktop-entries/gnome-terminal.desktop
3196 A test/test-data-01/desktop-entries/kde-KMail.desktop
3197 A test/test-data-01/test01.menu
3198 A test/test-data-01/test01.results
3200 commit 8d70254d7ab5850228634f71bbc2cc4e9f5f9653
3201 Author: Havoc Pennington <hp@pobox.com>
3204 rename since glib 2.2 now has the symbol
3206 2002-12-15 Havoc Pennington <hp@pobox.com>
3208 * src/vfolder-query.c (my_str_has_suffix): rename since glib 2.2
3211 * src/menu-process.c (tree_node_find_subdir): fix compilation
3213 * test/run-test.c (main): add a start on a test program, which
3214 takes a file describing the menu file to load and the expected
3215 results of parsing that menu file, and checks whether the right
3216 results are generated.
3222 M src/menu-process.c
3223 M src/vfolder-query.c
3227 commit 21659e07c876bb66fbe16a11b211322424e96e06
3228 Author: Havoc Pennington <hp@redhat.com>
3231 fix a bug (find_subdir in iter not dir)
3233 2002-11-21 Havoc Pennington <hp@redhat.com>
3235 * src/menu-entries.c (cached_dir_find_entry): fix a bug
3236 (find_subdir in iter not dir)
3238 * src/menu-process.c (fill_tree_node_from_menu_node): fill in a
3239 name for each TreeNode
3242 M src/menu-entries.c
3243 M src/menu-entries.h
3244 M src/menu-process.c
3245 M src/menu-process.h
3247 commit 12fcf30e6f1040bfd5d9139d1329e96af053b0d6
3248 Author: Havoc Pennington <hp@pobox.com>
3253 M src/menu-entries.c
3254 M src/menu-entries.h
3257 M src/menu-process.c
3259 commit 7eb20ca89df580031e2561b9e804b3306cf57fed
3260 Author: Havoc Pennington <hp@pobox.com>
3263 commit some more hacking on new menu format
3266 M src/canonicalize.c
3267 M src/menu-entries.c
3268 M src/menu-entries.h
3271 A src/menu-process.c
3272 A src/menu-process.h
3274 commit 9ad85a6e66f8f55300e18849caa9d86d093242df
3275 Author: Havoc Pennington <hp@pobox.com>
3278 sync some hacking on new menu spec
3280 A src/canonicalize.c
3281 A src/canonicalize.h
3282 A src/menu-entries.c
3283 A src/menu-entries.h
3287 commit b535a3cfffc97d053203eff003fe1d84c2fb053f
3288 Author: Havoc Pennington <hp@redhat.com>
3291 add another unlink() for .directory files
3293 2002-08-06 Havoc Pennington <hp@redhat.com>
3295 * src/vfolder-query.c (symlink_recurse_nodes): add another
3296 unlink() for .directory files
3299 M src/vfolder-query.c
3301 commit 7fa8528c3ceff10a166e8403da3f3337d0537010
3302 Author: Havoc Pennington <hp@redhat.com>
3305 unlink symlink before trying to create it again, to avoid errors
3308 2002-08-06 Havoc Pennington <hp@redhat.com>
3310 * src/vfolder-query.c (symlink_recurse_nodes): unlink symlink
3311 before trying to create it again, to avoid errors and be sure
3312 we replace the old link.
3315 M src/vfolder-query.c
3317 commit cfd78005708d5bebd2f00be5176ec2eb8ffbecdd
3318 Author: Havoc Pennington <hp@redhat.com>
3321 create target directory if it doesn't exist.
3323 2002-08-04 Havoc Pennington <hp@redhat.com>
3325 * src/install.c (main): create target directory if it doesn't
3335 commit 0a4715e8a7371b1bdda57c558f158cee34ccf0f6
3336 Author: Havoc Pennington <hp@redhat.com>
3339 when complaining about a duplicate, say where the other one is.
3341 2002-08-01 Havoc Pennington <hp@redhat.com>
3343 * src/vfolder-query.c (add_or_free_desktop_file): when complaining
3344 about a duplicate, say where the other one is.
3345 (load_tree): only read DATADIR/applications if the menu file
3346 didn't specify any directories.
3349 M src/vfolder-query.c
3351 commit 7e1c8495091d3f04911619656edb7a8e6f739b8c
3352 Author: Havoc Pennington <hp@redhat.com>
3355 when complaining about a duplicate, say where the other one is.
3357 2002-08-01 Havoc Pennington <hp@redhat.com>
3359 * src/vfolder-query.c (add_or_free_desktop_file): when complaining
3360 about a duplicate, say where the other one is.
3363 M src/vfolder-query.c
3365 commit 2eeb9f0ab3ba404b83197d489ee327b09be29085
3366 Author: Havoc Pennington <hp@redhat.com>
3369 actually get rid of desktop files that should not be shown following
3371 2002-07-24 Havoc Pennington <hp@redhat.com>
3373 * src/vfolder-query.c (add_or_free_desktop_file): actually
3374 get rid of desktop files that should not be shown following
3378 M src/vfolder-query.c
3380 commit 363a9f309a4f648a1b5ce97da16e097a3e12dfda
3381 Author: Havoc Pennington <hp@redhat.com>
3384 add --print-available option
3386 2002-07-22 Havoc Pennington <hp@redhat.com>
3388 * src/gen-compat-tree.c: add --print-available option
3390 * src/vfolder-query.c: add function to print out all the
3391 desktop files that would be used by a menu file
3394 M src/gen-compat-tree.c
3395 M src/vfolder-query.c
3396 M src/vfolder-query.h
3398 commit e97999c4970661aaa0e7fa6cca9d4aaa98431d2a
3399 Author: Havoc Pennington <hp@redhat.com>
3402 fix up "KDE Desktop Entry"
3404 2002-07-09 Havoc Pennington <hp@redhat.com>
3406 * src/validate.c (desktop_file_fixup): fix up "KDE Desktop Entry"
3408 * src/desktop_file.c (gnome_desktop_file_rename_section): new
3410 (gnome_desktop_file_has_section): new function
3413 M src/desktop_file.c
3414 M src/desktop_file.h
3417 commit d664c3712d85e76872942577be628b2cfe2e551e
3418 Author: Havoc Pennington <hp@redhat.com>
3421 fix a memmove to use bytes instead of number of lines, fixes a crash
3423 2002-07-09 Havoc Pennington <hp@redhat.com>
3425 * src/desktop_file.c (gnome_desktop_file_unset_internal): fix a
3426 memmove to use bytes instead of number of lines, fixes a crash
3429 M src/desktop_file.c
3431 commit 39cdf03f94ce8a511259019e9cfc67f7e9511a65
3432 Author: Havoc Pennington <hp@redhat.com>
3435 validate that KDE/GNOME are spelled all-caps in OnlyShowIn
3437 2002-06-21 Havoc Pennington <hp@redhat.com>
3439 * src/validate.c: validate that KDE/GNOME are spelled all-caps in
3442 * src/install.c: add a --remove-key option to remove bogus keys
3444 * src/validate.c (validate_strings): check that string list keys
3451 commit d814b584606950ca5fa31c0ecbf3689ec2ca06be
3452 Author: Havoc Pennington <hp@redhat.com>
3455 implement --copy-name-to-generic-name, --copy-generic-name-to-name
3457 2002-06-21 Havoc Pennington <hp@redhat.com>
3459 * src/install.c (process_one_file): implement
3460 --copy-name-to-generic-name, --copy-generic-name-to-name
3462 * src/desktop_file.c (gnome_desktop_file_copy_key): new function
3463 (gnome_desktop_file_unset): new
3466 M src/desktop_file.c
3467 M src/desktop_file.h
3470 commit a61a592df86e6868b5fe2c4db8ccb884a01d3278
3471 Author: Havoc Pennington <hp@pobox.com>
3474 fix delete_original flag so it actually gets filled in and works
3476 2002-06-16 Havoc Pennington <hp@pobox.com>
3478 * src/install.c: fix delete_original flag so it actually gets
3484 commit fdc95762963d7c0cf41dc053f7f5fe79c7350738
3485 Author: Havoc Pennington <hp@redhat.com>
3490 2002-06-05 Havoc Pennington <hp@redhat.com>
3492 * configure.in: 0.2 version
3494 * src/Makefile.am (desktop_menu_tool_SOURCES): rename
3495 desktop-menu-gen-compat-dir to desktop-menu-tool
3500 M src/gen-compat-tree.c
3502 commit 8e875e276160aa3b8f4df878da54dd48d31b892d
3503 Author: Havoc Pennington <hp@pobox.com>
3506 add OnlyShowIn support.
3508 2002-05-25 Havoc Pennington <hp@pobox.com>
3510 * src/vfolder-query.c (add_or_free_desktop_file): add OnlyShowIn
3514 M src/gen-compat-tree.c
3515 M src/vfolder-query.c
3516 M src/vfolder-query.h
3518 commit 1b44e0fe285649a0ded80537ef1ac8bed0bbc412
3519 Author: Havoc Pennington <hp@pobox.com>
3522 Add the create-a-dir-of-symlinks support.
3524 2002-05-25 Havoc Pennington <hp@pobox.com>
3526 * src/vfolder-query.c (desktop_file_tree_write_symlink_dir):
3527 Add the create-a-dir-of-symlinks support.
3529 * src/desktop_file.c (gnome_desktop_file_merge_string_into_list):
3530 fix bug when adding the first string in the list.
3532 * src/vfolder-query.c: handle OnlyUnallocated correctly
3535 M src/desktop_file.c
3536 M src/gen-compat-tree.c
3537 M src/vfolder-query.c
3538 M src/vfolder-query.h
3540 commit ea3ae9af38c5b91639b230230abcd89dbfb4d399
3541 Author: Havoc Pennington <hp@pobox.com>
3544 handle OnlyUnallocated correctly
3546 2002-05-25 Havoc Pennington <hp@pobox.com>
3548 * src/vfolder-query.c: handle OnlyUnallocated correctly
3551 M src/vfolder-query.c
3553 commit 8747f23472c676050ed20779a372594a415bd88b
3554 Author: Havoc Pennington <hp@pobox.com>
3559 M src/desktop_file.c
3560 M src/vfolder-parser.c
3561 M src/vfolder-parser.h
3562 M src/vfolder-query.c
3564 commit ae2e0112247e2051365fa4b16d8c143760c0c6e9
3565 Author: Havoc Pennington <hp@pobox.com>
3568 roughly functional folder parser, now need to do queries
3572 M src/desktop_file.c
3573 M src/gen-compat-tree.c
3578 M src/vfolder-parser.c
3579 M src/vfolder-parser.h
3580 M src/vfolder-query.c
3582 commit fb84475184e0db6d0290a5c37669dfa1b3fe13a3
3583 Author: Havoc Pennington <hp@pobox.com>
3588 A src/gen-compat-tree.c
3590 commit 3bca6ce565162dc8d438d8d90f89057b566609e1
3591 Author: Havoc Pennington <hp@pobox.com>
3597 M src/desktop_file.c
3598 M src/desktop_file.h
3600 M src/vfolder-parser.c
3601 M src/vfolder-parser.h
3602 A src/vfolder-query.c
3603 A src/vfolder-query.h
3605 commit f18dad8924d65ccf912998563ced1bd8fc2787b9
3606 Author: Havoc Pennington <hp@pobox.com>
3611 M src/vfolder-parser.c
3613 commit cac685aa505c0d314d4feb4bd1528ad4e498d414
3614 Author: Havoc Pennington <hp@pobox.com>
3619 M src/vfolder-parser.c
3620 M src/vfolder-parser.h
3622 commit e5472f378207808d909441d2819c99bcb56ccf72
3623 Author: Havoc Pennington <hp@pobox.com>
3626 sketch out the code via cut-and-paste
3628 A src/vfolder-parser.c
3629 A src/vfolder-parser.h
3631 commit 4c1df1e03626592d022c1a5aad7ef4b4b8f175b3
3632 Author: Havoc Pennington <hp@pobox.com>
3635 some stuff that should have been commited a while ago
3640 commit 510b2cf30369d4197814eb86cd611b5b2c4a2c71
3641 Author: Havoc Pennington <hp@pobox.com>
3644 validate the generated file not the original, and fix certain
3645 problems such as a broken Encoding field automatically.
3647 M src/desktop_file.c
3651 commit 21c4ab5ffe06c93a6dbab90d3dc5033457e51ef1
3652 Author: Havoc Pennington <hp@pobox.com>
3655 add validation to the desktop file installer
3658 M src/desktop_file.h
3664 commit d9670add585b1a240241267f7a8d401c42a6147c
3665 Author: Havoc Pennington <hp@pobox.com>
3668 add/remove category/onlyshowin implemented
3670 M src/desktop_file.c
3671 M src/desktop_file.h
3674 commit 81f02fc96534f4761313ef387fcb9490f568ab56
3675 Author: Havoc Pennington <hp@pobox.com>
3678 implement --add-category
3680 M src/desktop_file.c
3681 M src/desktop_file.h
3684 commit 10afee4b6ceb1381cfcaad9ac23f76fc47d15b04
3685 Author: Havoc Pennington <hp@pobox.com>
3688 initial desktop_file_set_raw implementation
3690 M src/desktop_file.c
3691 M src/desktop_file.h
3693 commit 2404e9496031da3870292198272634e0575a11e6
3694 Author: Havoc Pennington <hp@pobox.com>
3697 sync, includes fixes from Alex
3699 M src/desktop_file.c
3700 M src/desktop_file.h
3704 commit 384b863f6308a38fbcaa134afd519ec41bacf562
3705 Author: Havoc Pennington <hp@pobox.com>
3712 commit ecdd19e0847789f0572e0b9c1d3901b459d28b9b
3713 Author: Havoc Pennington <hp@pobox.com>
3716 initial sketching-out of desktop-file-install program
3720 M src/desktop_file.c
3721 M src/desktop_file.h
3726 commit fe13f72775439d87973d2ab2467a9f52852e44be
3727 Author: Havoc Pennington <hp@pobox.com>
3742 A src/desktop_file.c
3743 A src/desktop_file.h