summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 94c531e710b2184cfb8c79fd92b6348895653cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
2004-11-11  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: post-release bump to 0.11.

==================== 0.10 ====================

2004-11-11  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.10.
	
2004-11-11  Mark McLoughlin  <mark@skynet.ie>

	* src/desktop_file.c: (gnome_desktop_file_remove_string_from_list):
	fix uninitialized variable.
	
	* configure.in: modernize a bit, don't check for gnome-vfs,
	remove --enable-tests etc.
	
	* src/Makefile.am: remove a bunch of stuff.
	
	* src/canonicalize.[ch],
	  src/dfu-test.[ch],
	  src/gen-compat-tree.c,
	  src/gen_table.py,
	  src/menu-entries.[ch],
	  src/menu-layout.[ch],
	  src/menu-method.c,
	  src/menu-modules.conf,
	  src/menu-monitor.[ch],
	  src/menu-overrides.[ch],
	  src/menu-parser.[ch],
	  src/menu-process.[ch],
	  src/menu-tree-cache.[ch],
	  src/menu-util.[ch],
	  src/menu.h,
	  src/vfolder-parser.[ch],
	  src/vfolder-query.[ch]: remove all this menu stuff. Its now
	in GNOME itself.
	
	* test/*: remove empty dir;

	* Makefile.am: don't build tests dir.

2004-10-18  Ray Strode  <rstrode@redhat.com>

	* src/eggdesktopentries.c:
	(egg_desktop_entries_parse_entry):
	Error out if trying to add key-value pair to comment
	group  (Patch from Miloslav Trmac <mitr@redhat.com>)

2004-09-28  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: post-release bump to 0.10.

==================== 0.9 ====================

2004-09-28  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.9.

2004-09-27  Ray Strode  <rstrode@redhat.com>

	* src/eggdesktopentries 
	(egg_desktop_entries_get_locale_encoding):
	Don't put the if clause where the else clause should
	go and vice versa (Spotted by Nicholas Miell, 
	http://bugzilla.gnome.org/show_bug.cgi?id=153759)

2004-09-27  Ray Strode  <rstrode@redhat.com>

	* src/desktop_file.c:
	(gnome_desktop_file_remove_string_from_list):
	Bounds check before doing array assignment

	* src/eggdesktopentries 
	(egg_desktop_entries_get_locale_country):
	Don't put the if clause where the else clause should
	go and vice versa (Spotted by Nicholas Miell, 
	http://bugzilla.gnome.org/show_bug.cgi?id=153759)

2004-09-23  Ray Strode  <rstrode@redhat.com>

	* src/desktop_file.c:
	(gnome_desktop_file_remove_string_from_list):
	Fix --remove-show-in option

2004-09-13  Dan Williams <dcbw@redhat.com>

	* src/eggdesktopentreis.c:
	(egg_desktop_entries_new_from_file): Don't try to
	dispose of 'entries' if it's NULL, since then
	egg_desktop_entries_free() prints out failure
	messages.

2004-09-08  Ray Strode  <rstrode@redhat.com>

	* src/update-desktop-database.c: 
	(udd_print), (udd_verbose_print):
	New macros for printing at various verbosity levels
	(is_valid_mime_type): give better error messages
	(process_desktop_files): print unparsable desktop
	files by default without verbose mode.  Inform user
	of desktop files that lack mime type keys in verbose
	mode.
	(open_temp_cache_file): change file mode of temp
	file to reflect user's umask.
	(print_desktop_dirs),
	(main): use new udd_verbose_print macro

2004-09-03  Ray Strode  <rstrode@redhat.com>

	* src/egg*.[ch]: sync with libegg

2004-09-03  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: post-release bump to 0.9.

==================== 0.8 ====================

2004-09-03  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.8.
	
2004-09-02  Mark McLoughlin  <mark@skynet.ie>

	Fixes empty subdirs not getting removed.

	* src/menu-process.c: (process_only_unallocated): check whether
	the subdir has no entries, not this dir.

2004-09-02  Mark McLoughlin  <mark@skynet.ie>

	Fixes entries not moving between directories when you change
	their Categories.

	* src/menu-entries.c:
	(handle_cached_dir_changed): always invalidate the cache,
	even if a file has just changed - we need to re-read the
	categories and such.
	(cached_dir_get_full_path): append a "/" between path
	elements - trying to read /usrshareapplications isn't
	going to work, is it?

2004-09-02  Mark McLoughlin  <mark@skynet.ie>

	* src/menu-process.c: (handle_menu_node_menu_changed):
	Don't crash if the tree has already been freed.

2004-09-02  Ray Strode  <rstrode@redhat.com>

	* src/egg*.[ch]: sync with libegg

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	Patch from Dan Williams <dcbw@redhat.com>

	* src/menu-method.c: add a reasonable set of schemes.

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	* src/menu-tree-cache.[ch]:
	(desktop_entry_tree_cache_new): add an only_show_in arg.
	(desktop_entry_tree_cache_unref: free only_show_in.
	(reload_entry): pass in only_show_in when loading the
	tree.
	
	* src/menu-method.c: (menu_method_new): set only-show-in
	to GNOME.
	
	* src/gen-compat-tree.c: (process_one_file): don't
	set an only-show-in name. Might want a command line
	argument for this at some point.

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	Another patch from Dan with some minor changes.

	* src/menu-process.[ch]:
	(desktop_entry_tree_get_mtime): accessor for mtime.
	(build_tree): set the mtime to the time which we
	build the tree.
	
	* src/menu-method.c:
	(fill_in_generic_dir_info),
	(fill_in_generic_file_info): set mtime/ctime.

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	Patch to make the menu method notice changes in the entry
	directories and re-load the menus. Re-worked version of
	a patch from Dan Williams <dcbw@redhat.com>

	* src/Makefile.am: build menu-monitor.[ch]
	
	* src/menu-entries.[ch]:
	(entry_directory_add_monitor),
	(entry_directory_remove_monitor),
	(entry_directory_list_add_monitors),
	(entry_directory_list_remove_monitors): add API to support
	monitoring the contents of entry directories.

	* src/menu-layout.[ch]:
	(menu_node_menu_add_monitor),
	(menu_node_menu_remove_monitor): add API to support monitoring
	menu nodes. 
	
	* src/menu-process.[ch]:
	(desktop_entry_tree_add_monitor),
	(desktop_entry_tree_remove_monitor): add API to support monitoring
	the entry tree. Right now, only changes in the entry directories are
	noticed and not the menu files themselves.
	
	* src/menu-tree-cache.c: use the entry tree monitoring API and
	rebuild if it changes.
	
	* src/menu-monitor.[ch]: add silly monitor abstraction.
	
	* src/menu-method.c: implement the monitor abstraction with gnome-vfs
	monitors.

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	* src/menu-process.c: (process_only_unallocated): remove
	FIXME to disable removing empty submenus. menu-spec says
	the default value for the "show_empty" attribute in
	DefaultLayout is "false" so ...

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	Based on a patch from Dan Williams <dcbw@redhat.com>

	* src/menu-entries.[ch]:
	(entry_get_nodisplay): add accessor for nodisplay flag
	(entry_new_desktop_from_file): return NULL if NoDisplay=TRUE
	(entry_new_directory_from_file): set the nodisplay flag if
	NoDisplay=TRUE.
	
	* src/menu-process.c: (tree_node_from_menu_node): if the
	last .directory has NoDisplay=true treat it as if the
	<Menu> had a <Deleted>

2004-08-29  Mark McLoughlin  <mark@skynet.ie>

	* src/menu-process.h: don't include desktop_file.h
	
	* src/menu-util.h: don't include menu-layout.h

2004-08-25  Mark McLoughlin  <mark@skynet.ie>

	* src/menu-process.c: (resolve_legacy_dir),
	(tree_node_from_menu_node): don't leak the entry
	sets. Patch from Kjartan Maraas in rh bug #130673
	
	* src/menu-method.c: (menu_method_get_info):
	free the resolved path. Another leak from rh bug #130673

2004-07-22  Ray Strode  <rstrode@redhat.com>

	* src/egg*.[ch]: sync with libegg

	* src/update-desktop-database.c: fix calls to work 
	with changed api

2004-07-22  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: post-release bump to 0.8.

==================== 0.7 ====================

2004-07-22  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.7.

Wed Jul 21 22:48:33 2004  Jonathan Blandford  <jrb@gnome.org>

	* src/Makefile.am:
	* misc/Makefile.am: Make pass distcheck.

2004-07-21  Ray Strode  <rstrode@redhat.com>

	* src/install.c: (main)
	(process_one_file):
	(parse_options_callback): 
	add new --add-mime-type and --remove-mime-type options
	to make it easy to dynamically add and remove mime
	types from a desktop file.

2004-07-21  Ray Strode  <rstrode@redhat.com>

	* src/install.c: (main)
	(rebuild_cache),
	(process_one_file):
	add new --rebuild-mime-info-cache option
	(str_has_prefix): this function is now in glib,
	so remove it here and use it from there.

2004-07-21  Ray Strode  <rstrode@redhat.com>

	* src/update-desktop-database.c: Return 1 on failure,
	even in quiet mode.

2004-07-15  Ray Strode  <rstrode@redhat.com>

	* src/Makefile.am: add update-desktop-database

	* src/eggdesktopentries.[ch]
	  src/eggdirfuncs.[ch]
	  src/eggintl.h: new desktop file parser

	* src/gen-compat-tree.c 
	  src/install.c:  #include <locale.h>

	* src/update-desktop-database.c: creates 
	  cache of mime type / desktop-file-id 
	  associations.

2004-04-19  Mark McLoughlin  <mark@skynet.ie>

	* configure.in,
	  misc/Makefile.am: install the elisp.

2004-04-19  Mark McLoughlin  <mark@skynet.ie>

	Patch from Ville Skyttä <ville.skytta@iki.fi>
	
	* misc/desktop-entry-mode.el: make it work a bit better
	with GNU emacs.

2004-04-18  Mark McLoughlin  <mark@skynet.ie>

	Patch from Ville Skyttä <ville.skytta@iki.fi> with some
	minor changes.

	* src/validate.c:
	(print_fatal), (print_warning): take a filename arg and
	say whether its an error or warning.
	(validate_only_show_in): actually validate against registered
	OnlyShowIn values.
	(key_table): upd. for latest spec.
	(enum_keys): check for keys that are reserved for KDE.
	(required_section): improve validation here.

	* src/validator.c: (main): fixup the error messages.

2004-04-18  Mark McLoughlin  <mark@skynet.ie>

	Warning fixes.

	* src/menu-entries.c:
	(entry_cache_atom_name),
	(entry_cache_clear_unused): mark as unused.
	
	* src/menu-method.c:
	(menu_method_ref), (menu_method_unref): ditto.
	
	* src/vfolder-parser.c:
	(add_context_to_error), (locate_attributes): kill these.
	
	* src/menu-process.c:
	(menu_node_resolve_files_recursive): add a missing break;
	(foreach_dir): try to fixup this and give up - something
	is very broken here.

2004-04-18  Mark McLoughlin  <mark@skynet.ie>

	* misc/desktop-entry-mode.el: add Emacs desktop entry
	mode from Ville Skyttä <ville.skytta@iki.fi>

2004-03-24  Dan Williams  <dcbw@redhat.com>

	* configure.in: Version 0.6.
	
2004-03-21  Dan Williams  <dcbw@redhat.com>

	* src/gen-compat-tree.c
	  src/menu-entries.c
	  src/menu-entries.h
	  src/menu-layout.h
	  src/menu-method.c
	  src/menu-modules.conf
	  src/menu-parser.c
	  src/menu-process.c
	  src/menu-process.h
	  src/Makefile.am
	  
	  Apply Frederic Crozat's patch to bring d-f-u up
	  to the freedesktop.org Menu Spec 0.8.  Approved
	  by havoc.

2004-03-21  Dan Williams  <dcbw@redhat.com>

	* src/menu-entries.c: Don't crash when a .desktop
	file is a symlink pointing to a nonexistent file.
	
2004-03-01  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.5.
	
2004-03-01  Mark McLoughlin  <mark@skynet.ie>

	Patch from Dan Williams to not segfault with .desktop
	files with comments at the start.

	* src/validate.c: (enum_sections), (enum_actions):
	Don't crap out if the section or action name is
	NULL.

2004-02-19  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 0.4

2004-02-19  Mark McLoughlin  <mark@skynet.ie>

	Add support for .desktop files which contains Actions. Verify
	that the Actions key and Desktop Action sections match up
	and that each Desktop Action section has an Exec key.

	* src/validate.c:
	(enum_sections): record the name of the main section and
	allow Desktop Action sections.
	(required_section): return the name of the main section.
	(required_keys): actually check for these keys in the correct
	section.
	(enum_actions), (error_orphaned_action),
	(required_actions): make sure the Actions key and Desktop Actions
	sections match up.
	(desktop_file_validate): upd.

2003-10-23  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (tree_node_find_subdir): don't return an
	entry's parent, only return a subdir at the exact path

2003-10-23  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c: implement <Move> operation
	
	* src/menu-process.c (menu_node_strip_duplicate_children): fix
	to keep later rather than earlier <Menu> nodes
	(move_children): drop the <Name> node from the source <Menu>

	* src/menu-parser.c (end_element_handler): don't add context to
	error messages that already have it

	* src/menu-parser.c (fixup_move_node): new code to canonicalize
	and verify move nodes

2003-10-23  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (process_only_unallocated)
	(tree_node_from_menu_node): add support for OnlyUnallocated
	element, passes 1 more test

2003-10-23  Havoc Pennington  <hp@redhat.com>

        Localizing the menu paths gets us another 2 passes with the test
	suite.
	
	* src/menu-process.c (localized_path_for_entry): new function
	(foreach_print): localize the paths that are outputted with
	--test-results as the test suite wants that.

2003-10-21  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.h (struct DesktopEntryForeachInfo): consolidate
	all the args to the foreach function into a struct

2003-10-20  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (tree_node_from_menu_node): change to alloc
	the TreeNode in here instead of separately then
	fill_tree_node_from_menu_node
	(tree_node_from_menu_node): handle <Deleted>/<NotDeleted>

2003-10-16  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (foreach_dir): include full menu paths

	* src/gen-compat-tree.c (process_one_file): search for relative
	filenames in the XDG paths

	* src/menu-tree-cache.c (cache_lookup): fix GError pileup

	* src/gen-compat-tree.c: add --verbose option

2003-07-17  Havoc Pennington  <hp@redhat.com>

	* src/menu-method.c: add a bunch of #ifdef READ_ONLY sections for
	using the backend without editing

2003-06-11  Havoc Pennington  <hp@redhat.com>

	* src/menu-tree-cache.c (reload_entry): diff old vs. new tree and
	store the list of changes

	* src/menu-method.c (do_monitor_add, do_monitor_cancel):
	monitoring using the tree diff stuff.

	* src/menu-process.c (desktop_entry_tree_diff): finish
	implementing this	

2003-06-11  Havoc Pennington  <hp@pobox.com>

	* src/menu-process.c (desktop_entry_tree_diff): add but 
	doesn't work yet, just syncing with work computer

2003-06-06  Havoc Pennington  <hp@redhat.com>

	* src/menu-method.c (do_set_file_info): make this return
	NOT_PERMITTED rather than NOT_SUPPORTED
	(fill_in_generic_dir_info): fill in the uid/gid fields
	(fill_in_generic_file_info): ditto
	(menu_method_get_info): fill in file_info->name
	(do_check_same_fs): implement

2003-06-06  Havoc Pennington  <hp@redhat.com>

	* src/menu-tree-cache.c (reload_entry): mark cache valid again
	after reloading stuff, makes things a whole lot faster.

	* src/menu-method.c: convert some GError to GnomeVFSResult, and 
	return GNOME_VFS_ERROR_INVALID_URI when passed a non-.desktop 
	or non-.directory file.
	(dir_handle_new): remove extra unref on the DesktopEntryTree

2003-06-06  Havoc Pennington  <hp@redhat.com>

	Last bugfix so we can display redhat-menus pretty OK
	
	* src/menu-process.c (node_menu_compare_func): make this consider
	whether the menu nodes have the same parent, so we don't
	consolidate dups that aren't children of the same menu
	(menu_node_strip_duplicate_children): use node_menu_compare_func 
	instead of node_compare_func to see if two menu nodes are dups

	* src/menu-layout.c (menu_node_get_depth): new

2003-06-05  Havoc Pennington  <hp@redhat.com>

	* src/menu-layout.c (menu_node_append_to_string): fix name of node
	printed for LegacyDir

2003-06-05  Havoc Pennington  <hp@redhat.com>

	* src/menu-parser.c (menu_load): set name of the menu file on 
	root node

	* src/menu-entries.c (cached_dir_lookup): fix logic a bit

	* src/menu-process.c (menu_node_resolve_files_recursive):
	implement DefaultAppDirs, DefaultDirectoryDirs, DefaultMergeDirs

	* src/menu-util.c (init_xdg_paths): move here

	* src/menu-process.c (move_children): fix memleak and a crash
	when moving children to an empty node

	* src/menu-util.c (g_string_append_random_ascii): fix warnings

	* src/menu-parser.c: add <DefaultMergeDirs/> support

2003-06-02  Havoc Pennington  <hp@redhat.com>

	* src/menu-tree-cache.c (try_create_overrides): put
	applications-edits under "menus"
	(desktop_entry_tree_cache_create): can't create a menu with 
	same name as a directory; and don't create random mktmp names, 
	that was just crack

	* src/menu-layout.c
	(menu_node_remove_redundancy): fix this function to be able to
	remove redundancy despite intervening nodes.

	* src/menu-process.c (desktop_entry_tree_exclude)
	(desktop_entry_tree_include): add new nodes in root <Menu>, not to
	root of layout tree
	(menu_node_find_submenu): fix assertion
	(tree_node_find_subdir_or_entry): fix to return the right value

	* src/menu-tree-cache.c (reload_entry): fix unref/free of NULL
	fields.
	(lookup_canonical_entry): fix bug where we didn't fill 
	in entry->create_chaining_to correctly

	* src/menu-method.c (menu_method_resolve_uri): fix bug where 
	we passed wrong args to menu_method_get_tree

2003-05-31  Havoc Pennington  <hp@pobox.com>

	* src/menu-tree-cache.c (desktop_entry_tree_cache_rmdir):
	implement
	(desktop_entry_tree_cache_mkdir): implement

	* src/menu-process.c (desktop_entry_tree_mkdir): implement
	(desktop_entry_tree_rmdir): implement

	* src/menu-overrides.c: handle overriding a desktop file 
	with a '/' in the name

	* src/menu-method.c (menu_method_unlink): implement

	* src/menu-process.c (desktop_entry_tree_exclude): implement

	* src/menu-tree-cache.c (desktop_entry_tree_cache_delete): implement

2003-05-31  Havoc Pennington  <hp@pobox.com>

	* src/menu-util.c: move some functions that didn't make sense 
	in other files into here

	* src/menu-process.c (menu_node_resolve_files_recursive): fix bug
	where we used an uninitialized variable

2003-05-30  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (menu_node_find_submenu): hack
	(menu_node_ensure_child): hack
	(desktop_entry_tree_include): hack

	* src/menu-method.c: hack

	* src/menu-tree-cache.c (desktop_entry_tree_cache_create): hack

2003-05-29  Havoc Pennington  <hp@redhat.com>

	* src/menu-method.c (menu_method_resolve_uri_writable): new

	* src/menu-tree-cache.c (desktop_entry_tree_cache_override): new

	* src/menu-entries.c (entry_cache_invalidate): new

	* src/menu-process.c (merge_resolved_copy_of_children): lots of 
	fixing

	* src/menu-layout.c (menu_node_steal): fix to update
	node->parent->children pointer

	* src/gen-compat-tree.c (process_one_file): fix build 	

2003-05-28  Havoc Pennington  <hp@redhat.com>

	* src/canonicalize.c (g_canonicalize_file_name): add
	allow_missing_basename argument

	* src/menu-tree-cache.c (init_xdg_paths): hack to pass in 
	the create_chaining_to to desktop_entry_tree_load()

	* src/menu-method.c (menu_method_get_tree): adapt to new API

	* src/menu-process.c (desktop_entry_tree_load): take 
	an argument which is the menu file to chain to 
	in a newly-created menu file
	
	* src/menu-layout.c (menu_cache_get_menu_for_file): 
	same, allow specifying a file to chain to if we 
	create a new menu file

2003-05-21  Havoc Pennington  <hp@redhat.com>

        Enough bugfixes to be able to view a sample menu in nautilus and 
	launch apps.
	
	* src/menu-process.c (tree_node_find_subdir_or_entry): fill in the
	node when we are loading a .desktop file

	* src/menu-method.c (menu_method_get_info): new function
	(do_get_file_info): change so we can stat a directory, 
	doh

	* src/menu-process.c (tree_node_find_subdir_or_entry): handle '/'

2003-05-21  Havoc Pennington  <hp@redhat.com>

	* src/menu-overrides.c: implement directory of .desktop file
	overrides

	* src/menu-layout.c (g_file_save_atomically): export

2003-05-20  Havoc Pennington  <hp@redhat.com>

	* src/menu-method.c: code stuff,
	gnomevfs-ls/gnomevfs-cat/gnomevfs-info are now up and running.

	* src/menu-process.c (tree_node_find_subdir_or_entry): fix

	* src/menu-tree-cache.c (parse_search_path_and_prepend): fix
	(init_xdg_paths): fix

	* src/Makefile.am: fix to link the menu-* sources into the VFS
	module.

2003-05-15  Havoc Pennington  <hp@redhat.com>

	* src/menu-method.c: hacking

	* src/menu-process.c (tree_node_find_subdir): fix so we don't
	ignore trailing junk on paths
	(desktop_entry_tree_resolve_path): new

2003-05-14  Havoc Pennington  <hp@redhat.com>

	* src/menu-tree-cache.c: quick implementation without file change
	monitoring.

2003-05-13  Havoc Pennington  <hp@redhat.com>

	* src/menu-tree-cache.c: new file to store cache of
	DesktopEntryTree

2003-05-12  Havoc Pennington  <hp@redhat.com>

	* src/validate.c: fix a bunch of compiler warnings
	(desktop_file_fixup): add code to fix semicolon termination of
	string lists if necessary.

	* src/desktop_file.c (gnome_desktop_file_merge_string_into_list):
	handle case where existing list is missing ';' at the end; 
	patch from Adrian Reber

2003-05-12  Havoc Pennington  <hp@redhat.com>

	* autogen.sh (ACLOCAL): automake, aclocal 1.7

	* configure.in: check for optional gnome-vfs, not required 
	of course, just a hack to share some menu code for now.

	* src/menu-method.c, src/Makefile.am: gnome-vfs boilerplate, 
	doesn't yet do anything.

2003-05-10  Havoc Pennington  <hp@pobox.com>

	* src/menu-layout.c (menu_node_append_to_string): implement
	serialization of the "DOM tree" of menu nodes so that we can 
	resave after editing.
	(menu_node_append_child): fix this, it was messing up order 
	of nodes
	(menu_cache_sync_for_file): implement doing the standard
	write-to-tmp-and-rename hoop-jumping.

2003-05-09  Havoc Pennington  <hp@redhat.com>

	* src/menu-entries.c: use a quark scheme for entry->categories
	to save time/memory

	* src/desktop_file.c (parse_key_value): fix a memory leak

2003-05-09  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c: refactor this to use MenuCache and
	EntryCache and as a result make more sense.

	* src/menu-layout.c: add MenuCache object; don't track
	is_file_root; don't try to autodrop cache when a menu 
	node is unref'd (didn't work anyway).

	* src/menu-entries.c: invent an EntryCache object to get rid of
	global variables
	
2003-05-09  Havoc Pennington  <hp@pobox.com>

	* src/desktop_file.c: make @ a valid byte in locale names, patch
	from Richi Plana

2003-05-08  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (fill_tree_node_from_menu_node): sort entries
	by basename

2003-05-08  Havoc Pennington  <hp@redhat.com>

	* src/menu-entries.c (entry_directory_list_add): fix list
	manipulation screwup that caused obscure memory error
	(find_value): fix bug that made it not work, and avoid extra
	strlen calls

	* src/menu-layout.h: add macros to disable verbose mode

2003-05-06  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (foreach_print): add ability to print in the
	format of test suite expected results file

2003-05-05  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c (tree_node_free_if_broken): allow nodes with
	NULL dir_entry, the menu spec allows that.
	(foreach_dir, foreach_print): assorted fixes, can now print a
	trivial two-item menu.

2003-05-02  Havoc Pennington  <hp@redhat.com>

	* src/menu-layout.c (menu_node_menu_ensure_entry_lists): create
	the node->app_dirs node->dir_dirs objects and account for
	MENU_NODE_ROOT node type

2003-05-02  Havoc Pennington  <hp@redhat.com>

	* src/menu-process.c: use basedir stuff stored on root node 
	instead of dealing with it in this file

	* src/menu-parser.c (menu_load): set basedir

	* src/menu-layout.c (menu_node_copy_one): copy fields in MenuNode
	"subclasses"
	(menu_node_get_basedir): new
	(menu_node_get_content_as_path): new

	* configure.in: add more compiler warnings, and --enable-tests

	* src/menu-layout.c (dfu_test_menu_nodes): start setting up unit
	test stuff

2003-05-01  Havoc Pennington  <hp@pobox.com>

	* src/menu-process.c (desktop_entry_tree_print): implement
	(desktop_entry_tree_foreach): implement

	* src/menu-entries.c (entry_set_new): fix to init to all bits zero

2003-05-01  Havoc Pennington  <hp@redhat.com>

	* src/validate.c: change to only warn about invalid keys, don't
	die
	(enum_keys): remove warning about Icon field with no .png extension	
	(desktop_file_validate): fix to reset fatal_error_occurred on each
	call

	* src/gen-compat-tree.c: hook up the new menu code, so we can
	start debugging

	* src/validate.c: allow GenericName, StartupNotify, StartupWMClass

	* src/menu-parser.c: got it compiling, most code should be there,
	untested

2003-04-30  Havoc Pennington  <hp@redhat.com>

	* src/menu-parser.c: more random hacking, syncing between computers

2003-04-30  Havoc Pennington  <hp@pobox.com>

	* src/menu-parser.c: skeletal noncompiling base file for menu xml
	parser thing

2003-04-11  Havoc Pennington  <hp@redhat.com>

	* src/validate.c (required_keys): don't stop checking as soon as
	we see an Encoding field. Fix from Ville Skytta
	<ville.skytta@iki.fi>

2002-12-21  Havoc Pennington  <hp@pobox.com>

	* test/run-test.c (main): allow specifying expected name of
	directory nodes, and allow quoting names and entry filenames so we
	can test for handling of whitespace etc.

2002-12-15  Havoc Pennington  <hp@pobox.com>

	* src/vfolder-query.c (my_str_has_suffix): rename since glib 2.2
	now has the symbol

	* src/menu-process.c (tree_node_find_subdir): fix compilation

	* test/run-test.c (main): add a start on a test program, which
	takes a file describing the menu file to load and the expected
	results of parsing that menu file, and checks whether the right
	results are generated.

2002-11-21  Havoc Pennington  <hp@redhat.com>

	* src/menu-entries.c (cached_dir_find_entry): fix a bug
	(find_subdir in iter not dir)

	* src/menu-process.c (fill_tree_node_from_menu_node): fill in a
	name for each TreeNode

2002-08-06  Havoc Pennington  <hp@redhat.com>

	* src/vfolder-query.c (symlink_recurse_nodes): add another
	unlink() for .directory files

2002-08-06  Havoc Pennington  <hp@redhat.com>

	* src/vfolder-query.c (symlink_recurse_nodes): unlink symlink
	before trying to create it again, to avoid errors and be sure 
	we replace the old link.

2002-08-04  Havoc Pennington  <hp@redhat.com>

	* src/install.c (main): create target directory if it doesn't 
	exist.

	* configure.in: 0.3

2002-08-01  Havoc Pennington  <hp@redhat.com>

	* src/vfolder-query.c (add_or_free_desktop_file): when complaining
	about a duplicate, say where the other one is.
	(load_tree): only read DATADIR/applications if the menu file
	didn't specify any directories.

2002-07-24  Havoc Pennington  <hp@redhat.com>

	* src/vfolder-query.c (add_or_free_desktop_file): actually 
	get rid of desktop files that should not be shown following
	OnlyShowIn

2002-07-22  Havoc Pennington  <hp@redhat.com>

	* src/gen-compat-tree.c: add --print-available option

	* src/vfolder-query.c: add function to print out all the 
	desktop files that would be used by a menu file

2002-07-09  Havoc Pennington  <hp@redhat.com>

	* src/validate.c (desktop_file_fixup): fix up "KDE Desktop Entry"

	* src/desktop_file.c (gnome_desktop_file_rename_section): new
	function
	(gnome_desktop_file_has_section): new function

2002-07-09  Havoc Pennington  <hp@redhat.com>

	* src/desktop_file.c (gnome_desktop_file_unset_internal): fix a
	memmove to use bytes instead of number of lines, fixes a crash

2002-06-21  Havoc Pennington  <hp@redhat.com>

	* src/validate.c: validate that KDE/GNOME are spelled all-caps in 
	OnlyShowIn

	* src/install.c: add a --remove-key option to remove bogus keys

	* src/validate.c (validate_strings): check that string list keys
	end in a semicolon

2002-06-21  Havoc Pennington  <hp@redhat.com>

	* src/install.c (process_one_file): implement
	--copy-name-to-generic-name, --copy-generic-name-to-name

	* src/desktop_file.c (gnome_desktop_file_copy_key): new function
	(gnome_desktop_file_unset): new

2002-06-16  Havoc Pennington  <hp@pobox.com>

	* src/install.c: fix delete_original flag so it actually gets
	filled in and works

2002-06-05  Havoc Pennington  <hp@redhat.com>

	* configure.in: 0.2 version

	* src/Makefile.am (desktop_menu_tool_SOURCES): rename
	desktop-menu-gen-compat-dir to desktop-menu-tool

2002-05-25  Havoc Pennington  <hp@pobox.com>

	* src/vfolder-query.c (add_or_free_desktop_file): add OnlyShowIn
	support.

2002-05-25  Havoc Pennington  <hp@pobox.com>

	* src/vfolder-query.c (desktop_file_tree_write_symlink_dir): 
	Add the create-a-dir-of-symlinks support.

	* src/desktop_file.c (gnome_desktop_file_merge_string_into_list):
	fix bug when adding the first string in the list.

	* src/vfolder-query.c: handle OnlyUnallocated correctly

2002-05-25  Havoc Pennington  <hp@pobox.com>

	* src/vfolder-query.c, src/vfolder-parser.c: implement more query
	stuff

2002-05-25  Havoc Pennington  <hp@pobox.com>

	* src/validate.c (desktop_file_fixup): move here from install.c

	* src/gen-compat-tree.c (main): initial test version, 
	doesn't work yet

	* src/desktop_file.c (gnome_desktop_file_save): do an atomic save
	via rename() for safety

2002-05-06  Havoc Pennington  <hp@redhat.com>

	* Initial module creation