-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-20010201
23418 lines (18715 loc) · 912 KB
/
ChangeLog-20010201
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
992
993
994
995
996
997
998
999
1000
2001-02-01 Ramiro Estrugo <[email protected]>
* libnautilus-extensions/nautilus-clickable-image.h:
A little better documentation.
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_new),
(nautilus_labeled_image_new_from_file_name),
(nautilus_labeled_image_button_new_from_file_name),
(nautilus_labeled_image_toggle_button_new),
(nautilus_labeled_image_toggle_button_new_from_file_name),
(nautilus_labeled_image_check_button_new_from_file_name),
(nautilus_labeled_image_set_pixbuf_from_file_name),
(nautilus_labeled_image_set_tile_pixbuf_from_file_name):
* libnautilus-extensions/nautilus-labeled-image.h:
New functions for creating stock buttons from pixbuf filenames.
Also a little better documentation.
2001-02-01 Ramiro Estrugo <[email protected]>
reviewed by: Maciej Stachowiak <[email protected]>
* libnautilus-extensions/nautilus-clickable-image.c:
(nautilus_clickable_image_realize),
(nautilus_clickable_image_unrealize):
* libnautilus-extensions/nautilus-clickable-image.h:
Need to store the connection ids to properly diconnect them on
unrealize. Otheriwse bad things happen.
* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
(eazel_services_image_new_clickable),
(eazel_services_label_new), (eazel_services_label_new_clickable):
Add new functions to create clickable images and labels.
* components/services/nautilus-dependent-shared/eazel-services-footer.c:
(eazel_services_footer_initialize), (footer_destroy),
(footer_item_clicked_callback), (footer_item_enter_callback),
(footer_item_leave_callback), (footer_item_new):
Made a lot simpler by using clickable images. It could be even
simpler if the clickable images handled all the prelighting
details. Thats a possible improvement.
2001-02-01 Eskil Heyn Olsen <[email protected]>
This patch is temporarily going to break a few things, will sync
up with Robey tomorrow. Eg. eazel-install (cli tool) now sigsegvs
on error.
* components/rpmview/nautilus-rpm-view-install.c:
s/packagedata_destroy/gtk_object_unref/
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_destroy):
s/packagedata_destroy/gtk_object_unref/
* components/services/install/command-line/eazel-alt-install-corba.
c: (eazel_preflight_check_signal):
If there were problems, abort.
* components/services/install/command-line/eazel-test-softcat.c:
(main):
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_download_progress), (impl_download_failed), (impl_dep_check),
(impl_install_progress), (impl_uninstall_progress),
(impl_md5_check_failed):
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query):
s/packagedata_destroy/gtk_object_unref/
* components/services/install/lib/eazel-install-logic.c:
(eazel_install_download_packages),
(eazel_install_check_for_file_conflicts), (ei_revert_transaction),
(eazel_install_do_transaction_all_files_check),
(eazel_install_prune_packages), (eazel_install_fetch_dependencies),
(eazel_install_do_file_conflict_check),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install):
ifdeffed out a lot of old code that's no longer used, but it still
compiles. logic.c will soon be entirely removed.
s/packagedata_destroy/gtk_object_unref/
Uninstall stuff uses the new PackageBreaks objects.
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (eazel_install_check_existing_packages),
(get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
(check_update_for_no_more_file_conflicts), (check_tree_helper),
(find_break_by_package_name), (add_file_conflict),
(check_no_two_packages_has_same_file),
(package_is_upgrading_and_doesnt_need_file),
(check_conflicts_against_already_installed_packages),
(check_feature_consistency), (install_packages_helper):
Nicer output.
Fixes 6172 and 6173.
s/packagedata_destroy/gtk_object_unref/
* components/services/install/lib/eazel-install-protocols.c:
Removed unused define
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_install_do_rpm_dependency_check):
More code ifdeffed out, see comment for eazel-install-logic.c
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml_int),
(eazel_install_packagelist_to_xml), (osd_parse_shared):
Use the new PackageBreak objects.
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list), (rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_query_impl),
(eazel_package_system_rpm3_compare_version):
s/packagedata_destroy/gtk_object_unref/
* components/services/install/lib/eazel-package-system-types.h:
* components/services/install/lib/eazel-package-system-types.c:
(categorydata_destroy_foreach), (packagedependency_new),
(packagedependency_copy), (packagedependency_destroy),
(packagedata_finalize), (packagedata_class_initialize),
(packagedata_initialize), (packagedata_copy),
(packagedata_remove_soft_dep), (packagedata_get_readable_name),
(packagedata_add_pack_to), (packagedata_add_to_breaks),
(packagedata_add_pack_to_soft_depends),
(packagedata_add_pack_to_modifies), (packagedata_list_prune),
(add_string_list), (dump_package_break_list),
(packagedata_dump_int), (packagebreaks_finalize),
(packagebreaks_class_initialize), (packagebreaks_initialize),
(packagebreaks_get_type), (packagebreaks_new),
(packagebreaks_set_package), (packagebreaks_get_package),
(packagefileconflict_finalize),
(packagefileconflict_class_initialize),
(packagefileconflict_initialize), (packagefileconflict_get_type),
(packagefileconflict_new), (packagefeaturemissing_finalize),
(packagefeaturemissing_class_initialize),
(packagefeaturemissing_initialize),
(packagefeaturemissing_get_type), (packagefeaturemissing_new):
s/packagedata_destroy/gtk_object_unref/
Wrote some objects representing package breakage.
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_is_installed):
s/packagedata_destroy/gtk_object_unref/
* components/services/install/lib/eazel-softcat.c:
(eazel_softcat_available_update):
Fixed the function so it matches the intended semantics
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_update_from_uri):
s/packagedata_destroy/gtk_object_unref/
Merge from PR3 branch
2001-01-26 Eskil Olsen <[email protected]>
reviewed by: Ramiri Estrugo <[email protected]>
* components/services/install/command-line/eazel-test-packsys.c:
(test_version_compare):
Testing the Mozilla hack...
* components/services/install/lib/eazel-package-system-rpm3.c:
(eazel_package_system_rpm3_compare_version):
Special case for Mxx versions because rpmvercmp is not obeying
the laws of mathematics...
* components/services/install/lib/eazel-softcat.c:
(get_search_url_for_package):
Fix for 6055 - no longer use hardcoded RedHat62 as distro.
2001-02-01 Ramiro Estrugo <[email protected]>
reviewed by: Pavel Cisler <[email protected]>
* libnautilus-extensions/Makefile.am:
New files.
* libnautilus-extensions/nautilus-art-extensions.c:
(nautilus_art_irect_align):
* libnautilus-extensions/nautilus-art-extensions.h:
Make the align function actually work. The previous version was
copied from GtkPixmap and i didnt realize it did not work. Remove
the padding parameters which are not really needed for alignment.
* libnautilus-extensions/nautilus-clickable-image.h:
* libnautilus-extensions/nautilus-clickable-image.c:
New class. A clickable image.
* libnautilus-extensions/nautilus-labeled-image.h:
* libnautilus-extensions/nautilus-labeled-image.c:
New class. A labeled image.
* libnautilus-extensions/nautilus-image.h:
* libnautilus-extensions/nautilus-image.c:
(nautilus_image_expose_event), (image_get_pixbuf_bounds),
(image_is_smooth), (nautilus_image_set_is_smooth),
(nautilus_image_get_is_smooth), (nautilus_image_new_solid),
(nautilus_image_set_never_smooth):
Add never smooth attribute to force behavior to match GTK+ for
cases when consistency is most important.
Update for alignment art extensions api change.
Some minor paramter name changes to lose abbreviations.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_size_request), (nautilus_label_expose_event),
(label_get_text_bounds), (label_is_smooth),
(nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
(nautilus_label_new_solid), (nautilus_label_set_never_smooth):
Add never smooth attribute to force behavior to match GTK+ for
cases when consistency is most important.
Update for alignment art extensions api change.
Update for alignment art extensions api change.
Some minor paramter name changes to lose abbreviations.
* libnautilus-extensions/nautilus-smooth-widget.c:
(smooth_widget_get_tile_origin_point),
(nautilus_smooth_widget_get_preferred_frame):
Add some comments explaining why using 0 for ancestor offsets
works.
Fix a really dumb bug, the paddings where multiplies by 2 twice
instead of once.
* test/.cvsignore:
* test/Makefile.am:
* test/test-nautilus-clickable-image.c: (clicked_callback),
(enter_callback), (leave_callback), (clickable_image_new), (main):
* test/test-nautilus-label-background.c:
* test/test-nautilus-label-scrolled.c: (label_window_new_scrolled),
(label_window_new_table):
* test/test-nautilus-label-simple.c: (main):
* test/test-nautilus-label.c: (main):
* test/test-nautilus-labeled-image.c: (labeled_image_new),
(labeled_image_window_new), (labeled_image_button_window_new),
(main):
* test/test-nautilus-pixbuf-tile.c:
(pixbuf_drawing_area_expose_event),
(drawable_drawing_area_expose_event), (main):
* test/test-nautilus-preferences-change.c: (main):
* test/test.c: (test_init):
New tests for clickable and labeled images. Many updates to other
tests.
Also, changed many instances of NautilusFooDetail to
NautilusFooDetails as well as the corresponding members.
2001-02-01 Gene Z. Ragan <[email protected]>
Additional work on first time druid gmc to nautilus conversion routines.
* src/nautilus-first-time-druid.c: (druid_finished),
(convert_gmc_desktop_icons), (transition_value_changed):
Make gmc link to Nautilus link conversion more complete
* libnautilus-extensions/nautilus-gnome-extensions.c:
* libnautilus-extensions/nautilus-gnome-extensions.h:
(nautilus_gnome_get_terminal_path):
New utility routine to return path to an installed terminal application
(nautilus_gnome_open_terminal):
Call above function
* libnautilus-extensions/nautilus-link.c:
* libnautilus-extensions/nautilus-link.h:
(nautilus_link_local_create),
(nautilus_link_local_create_from_gnome_entry):
New function to create a nautilus link from .desktop entry data
It's hard to be hated by millions. Make gmc to nautilus link transition much better.
We now can support converted .desktop links that require a terminal. Also, get rid
of gnome-vfs symlinks and use the command: specifier to launch instead. This was not possible
earlier, but due to a recent bug fix by me, we can now use this specifier in a
Nautilus link.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
(icon_view_create_nautilus_links),
(update_home_link_and_delete_copies),
(update_trash_link_and_delete_copies):
2001-01-31 Maciej Stachowiak <[email protected]>
reviewed by: Darin Adler <[email protected]> and Eli Goldberg
* THANKS: Gave credit where it's due. Added a section for testers.
* check-THANKS.pl: Don't fail if the about box file is not present
so this script can be used on modules other than Nautilus; also,
added some address aliases.
2001-01-31 Rebecca Schulman <[email protected]>
Fixed bug 5245, that words used in the search bar were used
elsewhere, such that they could not be translated correctly for
both contexts. The fix was to wrap all of the strings used to
display both the search bar, and the description of
search results in bracketed context and write a function
to remove the bracketed text before displaying.
reviewed by: Darin Adler <[email protected]>
* libnautilus-extensions/nautilus-search-uri.c:
Added comments and wrapped the text to be translated in bracketed
context.
(get_translated_criterion), (get_nth_criterion_prefix),
(parse_uri): Call nautilus_str_remove_bracketed_text
on appropriate strings before displaying.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_remove_bracketed_text), (nautilus_self_check_string):
Add the debracketing function and tests for it.
* src/nautilus-search-bar-criterion.c:
Added comments and wrapped the text to be translated in bracketed
context.
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new_from_values),
(nautilus_search_bar_criterion_update_valid_criteria_choices):
Call nautilus_str_remove_bracketed_text on appropriate strings
before displaying.
2001-01-31 John Sullivan <[email protected]>
reviewed by: Darin Adler <[email protected]>
Fixed bug 6162 (need option to stop "xx items" from being
calculated for ftp:// locations)
Added a speed tradeoff preference for showing directory
counts. It's "local-only" for Beginner and "always" (but
changeable) for Intermediate/Advanced.
Fixed bug 1856 (fix hideous hack to kick-start embedded-text
reading when preference changes)
Fixed bug 2396 (properties window doesn't show/hide
"special flags" when preference changes)
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback): Update for name change.
(lacks_directory_count): Now checks preference by calling
nautilus_file_should_show_directory_item_count.
(should_get_directory_count_now): Renamed to add the "_now"
to help distinguish from
nautilus_file_should_show_directory_item_count.
(directory_count_start): Update for name change.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(emit_change_signals_for_all_files): New function, emits change
signals for self-as-file (if applicable) and all contained files.
(async_state_changed_one): New hash-table function, calls
emit_change_signals_for_all_files on a directory.
(async_data_preference_changed_callback): New preferences-changed
callback, calls async_state_changed_one on each directory.
(add_preferences_callbacks): Renamed from add_filtering_callbacks,
now adds callbacks for top-left text and item counts preferences.
(remove_preferences_callbacks): Renamed from remove_filtering_callbacks,
now removes callbacks for top-left text and item counts preferences.
(nautilus_directory_get_internal): Update for name change.
(nautilus_directory_emit_change_signals): renamed from
_emit_change_signals_deep to avoid recursion connotation.
(nautilus_directory_emit_metadata_changed),
(call_files_changed_free_list),
(call_files_changed_unref_free_list): Update for name change.
* libnautilus-extensions/nautilus-file.c:
(get_speed_tradeoff_preference_for_file): New utility function,
returns boolean based on local-ness of file and value of
specified speed-tradeoff preference.
(nautilus_file_should_get_top_left_text): Now calls
get_speed_tradeoff_preference_for_file.
(nautilus_file_should_show_directory_item_count): New function,
calls get_speed_tradeoff_preference_for_file.
(nautilus_file_get_directory_item_count),
(nautilus_file_get_deep_counts): Bail out early without computation
if _should_show_directory_item_count is FALSE.
(nautilus_file_changed): Update for name change.
* libnautilus-extensions/nautilus-file.h: Make
nautilus_file_should_show_directory_item_count public so the
preferences window can make UI decisions based on it.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Add new preference
NAUTILUS_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS and wire up
default values and UI.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (fm_directory_view_destroy):
Remove hideous hack.
* src/file-manager/fm-properties-window.c:
(append_separator): Return widget instead of row number.
(attach_directory_contents_value_field): Return widget.
(update_visibility_of_table_rows): New helper function to
update visibility of a series of table rows & contained
widgets.
(update_visibility_of_item_count_fields): New function
to update visibility of directory item count widgetry.
(update_visibility_of_item_count_fields_wrapper): Simple
wrapper for above.
(remember_directory_contents_widget),
(append_directory_contents_fields): Remember item counts
widgetry so it can be shown/hidden later; set up prefs
callback; change signature for to pass window.
(create_basic_page), (create_permissions_page):
store table in window->details; update for changed signatures.
(append_special_execution_checkbox): Now takes window,
don't use GTK_EXPAND to avoid resizing column unnecessarily,
count number of special flags rows.
(remember_special_flags_widget),
(update_visibility_of_special_flags_widgets): New function
to update visibility of special flags widgetry.
(update_visibility_of_special_flags_widgets_wrapper):
Simple wrapper for above.
(append_special_execution_flags): Remember special flags
widgetry so it can be shown/hidden later; set up prefs
callback; change signature to pass window.
(real_destroy): free widget lists.
2001-01-31 Maciej Stachowiak <[email protected]>
reviewed by: Darin Adler <[email protected]>
* src/nautilus-application.c (nautilus_application_startup): Don't
loop more than 20 times when we get OAF_REG_ALREADY_ACTIVE trying
to register the factory, instead display an error message that
suggests killing oafd.
2001-01-31 Arik Devens <[email protected]>
reviewed by: Maciej Stachowiak <[email protected]>
* librsvg/rsvg-ft.c: (rsvg_ft_glyph_insert): Updated to evict from
the cache whenever above the high water mark instead of only when
inserting would put you above the mark.
2001-01-31 Darin Adler <[email protected]>
reviewed by: Michael Engber <[email protected]>
Fix bug 6192 ("mapped before underway" warning when clicking on
any sidebar tab).
* src/nautilus-view-frame.c: (nautilus_view_frame_map): Remove
inappropriate check of state, and replace it with a simple NULL
check that handles the failed case.
* libnautilus-extensions/nautilus-directory-background.c:
(nautilus_file_background_is_set): Fixed backwards logic by
removing an erroneous "!".
* libnautilus-extensions/nautilus-icon-factory.c: Formatting
tweaks.
* src/file-manager/fm-directory-view.c: Formatting tweak.
* src/nautilus-application.c: (nautilus_application_startup):
Fixed comment.
(check_for_and_run_as_super_user): Formatting tweak.
2001-01-31 Pavel Cisler <[email protected]>
reviewed by: Gene Z. Ragan <[email protected]>
Fix 5324 (Should get rid of stack-based GnomeVFSFileInfo)
* components/adapter/bonobo-stream-vfs.c: (vfs_get_info):
Nuked some unused code that contained gnome_vfs_file_info_init.
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_load_location):
* libnautilus-extensions/nautilus-icon-factory.c:
(path_represents_svg_image), (get_cache_time):
* libnautilus-extensions/nautilus-thumbnails.c:
(first_file_more_recent):
* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
Get rid of gnome_vfs_file_info_init.
Replace all instances of stack-based GnomeVFSFileInfo
structures, replace all calls to gnome_vfs_file_info_init
with gnome_vfs_file_info_new.
Replace most calls to gnome_vfs_file_info_clear with
gnome_vfs_file_info_unref.
* libnautilus-extensions/nautilus-preferences-item.c:
(has_image_file):
Rework to use gnome_vfs_uri_exists instead of trying to get
file info.
* components/adapter/nautilus-adapter-progressive-load-strategy.c:
(nautilus_adapter_progressive_load_strategy_load_location):
Fixed a bug where file info fields were being used after a
gnome_vfs_file_info_clear call
Fix 6146 ("Duplicate File" reports "You cannot copy a file
over itself")
* libnautilus-extensions/nautilus-file-operations.c:
(nautilus_file_operations_copy_move):
Make copying iside the same directory while the
GNOME_VFS_XFER_USE_UNIQUE_NAMES move_option is set legal.
2001-01-31 Ian McKellar <[email protected]>
reviewed by: Maciej Stachowiak <[email protected]>
* components/services/inventory/Trilobite_Service_inventory.oaf.in:
Fixed a tyop in the path to the trilobite-inventory-service
* components/services/inventory/eazel-inventory-utils.h:
* components/services/inventory/eazel-inventory-service.c:
Moved the GConf path for machine name to
(impl_Trilobite_Eazel_Inventory_upload):
Improved error reporting / debugging. Actually save the MD5.
* components/services/inventory/eazel-inventory-utils.c:
(add_package_info), (add_software_info),
(eazel_inventory_local_path)
Fixed memory leaks.
(eazel_inventory_update_md5):
Added a function to store the MD5.
* nautilus.spec.in:
Add inventory files to the right RPMs.
2001-01-31 Arik Devens <[email protected]>
reviewed by: Maciej Stachowiak <[email protected]>
Fixed bug 3853, Intermittent crash with warnings from
"rsvg_ft_glpyh_insert" by refactoring the method for inserting and
removing glyph's from the cache.
* librsvg/rsvg-ft.c: (rsvg_ft_glyph_evict),
(rsvg_ft_glyph_insert), (rsvg_ft_measure_or_render_string):
Refactored to use a high water mark based eviction rather then a
limit and to evict with respect to that mark.
2001-01-31 Maciej Stachowiak <[email protected]>
reviewed by: George Lebl <[email protected]>
Fix bug 4448 (install-server needs session management juju)
* components/services/install/server/main.c: (main): Add call to
`gnome_client_disable_master_connection'
* components/services/trilobite/sample/service/main.c: (main): Add
call to `gnome_client_disable_master_connection'
2001-01-30 Maciej Stachowiak <[email protected]>
reviewed by: Ramiro Estrugo <[email protected]>
Mass refactoring of summary view code to make needed summary view
fixes more managable. In the process, fixed bugs 4555 (Version
display for featured softcat downloads) and 5795 (Summary View
text doesn't wrap.) Also, cleaned up assorted pieces of text.
* components/services/summary/nautilus-view/nautilus-summary-view.c
: (update_header), (create_header), (update_footer),
(create_footer), (summary_view_button_callback),
(summary_view_button_new), (summary_view_item_label_new),
(summary_view_item_large_header_label_new),
(summary_view_item_header_label_new),
(summary_view_item_body_label_new), (append_hseparator_to_vbox),
(generate_eazel_news_entry_row), (summary_view_update_pane),
(summary_view_create_pane), (update_news_pane),
(create_news_pane),
(generate_service_entry_row), (update_services_list_pane),
(create_services_list_pane), (generate_update_news_entry_row),
(update_featured_downloads_pane),
(create_featured_downloads_pane),
(generate_summary_form), (nautilus_summary_view_initialize),
(nautilus_summary_view_destroy), (summary_load_location_callback),
(text_resize_callback): Factor the monolithic summary view code up
more. The next step is to create a widget class to manage each
pane, and to create the base layout once and only change the pane
contents on recipt of summary XML or login.
* components/services/summary/nautilus-view/nautilus-summary-callbacks.h,
components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
Remove tab selected callbacks since they are no longer used.
* components/services/summary/nautilus-view/nautilus-summary-view-private.h:
Removed lots of unneeded fields in the details struct; changed
button labels, "Go There!" --> "Go There", "More Info!" --> "More
Info", "Install Me!" --> "Install"
2001-01-30 Ramiro Estrugo <[email protected]>
reviewed by: Gene Z. Ragan <[email protected]>
* libnautilus-extensions/nautilus-debug-drawing.c:
(debug_pixbuf_viewer_expose_event):
* libnautilus-extensions/nautilus-gdk-extensions.c:
* libnautilus-extensions/nautilus-gdk-extensions.h:
Remove unused code.
2001-01-30 Robey Pointer <[email protected]>
reviewed by: Eskil Heyn Olsen <[email protected]>
* components/services/install/lib/eazel-install-corba-types.c:
(corba_packagedatastruct_from_packagedata),
(packagedata_from_corba_packagedatastruct):
* components/services/install/lib/eazel-install-logic.c:
(dump_one_package):
* components/services/install/lib/eazel-install-problem.c:
(get_detailed_messages_foreach),
(get_detailed_uninstall_messages_foreach),
(get_detailed_cases_foreach),
(get_detailed_uninstall_cases_foreach):
* components/services/install/lib/eazel-package-system-types.c:
(packagedata_initialize), (packagedata_finalize),
(packagedata_copy), (packagedata_fill_in_missing),
(packagedata_destroy), (packagedata_dump_int):
* components/services/install/lib/eazel-package-system-types.h:
* components/rpmview/nautilus-rpm-view-install.c:
Remove unused hard_depends member from PackageData.
* components/services/install/lib/eazel-install-logic2.c:
(dump_tree_helper), (prune_failed_packages_helper),
(prune_failed_packages), (eazel_install_check_existing_packages),
(get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
(check_tree_helper), (check_tree_for_conflicts),
(download_packages), (set_toplevel), (install_packages):
* components/services/install/lib/eazel-install-protocols.c:
(eazel_install_fetch_package), (flatten_tree_func):
* components/services/install/lib/eazel-package-system-rpm3.c:
(make_rpm_argument_list),
(eazel_package_system_rpm3_packagedata_fill_from_header),
(rpm_packagedata_new_from_file),
(eazel_package_system_rpm3_load_package):
* components/services/install/lib/eazel-package-system.c:
(eazel_package_system_load_package):
Backport Eskil's recursive-dep fix from PR3. Use
name/sense/version to hash completed dependencies, so files will
work (not just softcat packages).
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (eazel_install_packagedata_to_xml_int),
(eazel_install_packagedata_to_xml), (osd_parse_shared):
The best of all worlds: some backported PR3 patches from Eskil,
some removal of hard_depends usage, and some new code to encode &
decode the RPM filesize from the XML generated across the corba
pipe.
* components/services/install/nautilus-view/nautilus-service-instal
l-view.c: (nautilus_service_install_view_destroy),
(nautilus_install_parse_uri), (update_package_info_display),
(nautilus_service_install_downloading),
(nautilus_service_install_preflight_check),
(nautilus_service_install_download_failed),
(nautilus_service_install_installing),
(nautilus_service_install_done), (nautilus_service_install_failed),
(nautilus_service_install_view_update_from_uri),
(nautilus_service_install_view_load_uri),
(service_install_stop_loading_callback):
* components/services/install/nautilus-view/nautilus-service-instal
l-view.h:
Backport changes to the install view from PR3 (I should've done
this when I checked them into PR3 but I was brain-fried): No
longer cylon (use the throbber to indicate busy-ness) and handle
early cancels better. Also some new stuff to use the more
accurate filesize counts.
2001-01-30 Ramiro Estrugo <[email protected]>
reviewed by: Pavel Cisler <[email protected]>
Fix bug 5763 - Largest fitting font logic in Sidebar title causes
font criticals. Cleanup some related stuff in the process.
* libnautilus-extensions/nautilus-font-factory.h:
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family),
(nautilus_font_factory_get_font_from_preferences):
Move these functions to nautilus-gdk-font-extensions.[ch].
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_gdk_font_get_largest_fitting), Rewrite the function to
not depend on any hard coded font sizes or XLFD names.
(nautilus_gdk_font_get_name), New function.
(nautilus_gdk_font_get_size_in_pixels), (unref_fixed_font),
(nautilus_gdk_font_get_fixed),
(nautilus_gdk_font_xlfd_string_new), Move these 2 here from
nautilus-font-factory.
(nautilus_self_check_ellipsize_start),
(nautilus_self_check_gdk_font_extensions):
* libnautilus-extensions/nautilus-scalable-font.h:
* libnautilus-extensions/nautilus-scalable-font.c:
(parse_font_description_file), (font_compare),
(font_family_find_font), (font_family_lookup),
(font_family_lookup_with_insertion), (font_family_table_add_fonts),
(nautilus_scalable_font_new),
(nautilus_scalable_font_measure_text),
(nautilus_scalable_font_text_width),
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_measure_text_lines),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(nautilus_scalable_font_largest_fitting_font_size), Rewrite this
function to work just like nautilus_gdk_font_get_largest_fitting()
for greater consistency.
(font_family_table_for_each_append),
(font_family_table_for_each_free),
(nautilus_scalable_font_query_font), (text_layout_free_row),
(nautilus_text_layout_new), (nautilus_text_layout_paint):
Use signed integers for dimensions. Lots of cleanup to comply
with the Nautilus coding style.
* libnautilus-extensions/nautilus-string-list.h:
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new_from_tokens),
(nautilus_string_list_get_index_for_string),
(nautilus_string_list_as_concatenated_string),
(nautilus_string_list_get_longest_string),
(nautilus_string_list_get_longest_string_length),
(nautilus_self_check_string_list):
Use signed integers instead of guint.
* src/nautilus-sidebar-title.c: (update_font):
Update for largest fitting font api changes. Get rid of the hard
coded list of font sizes.
2001-01-30 Darin Adler <[email protected]>
reviewed by: John Sullivan <[email protected]>
Fixed bug 5726 (In single-window mode, activating desktop icons
should use frontmost window).
* src/nautilus-window-manage-views.c:
(get_topmost_nautilus_window): New function.
(open_location): For desktop in one-window mode, reuse the topmost
window if there is one instead of making new window every time.
2001-01-30 Ramiro Estrugo <[email protected]>
reviewed by: Gene Z. Ragan <[email protected]>
* applets/preferences-applet/nautilus-preferences-applet.c:
(quit_button_clicked_callback), (main):
Add a quit button that invokes "nautilus --quit."
2001-01-30 Darin Adler <[email protected]>
reviewed by: John Sullivan <[email protected]>
Fix bug 6147 (selected icons flash unselected/selected rapidly):
* src/nautilus-window-manage-views.c: (change_selection): Don't
send out selection change notices to the view that reported the
selection change.
(change_selection_callback): Pass in view that requested the
change so we can know not to send a selection change to that view.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_send_selection_change): Clear flag that says we
have a selection change for the shell.
(selection_changed_callback): Add code to indicate this selection
change is due to the shell, so we don't tell the shell about
something it just told us.
(done_loading): Set flag so we don't tell the shell about selection
changes that are part of the first load of the directory.
(display_selection_info_idle_callback): Only send a selection change
to the shell if the change was initiated here. Also remove the code
that ref's the NautilusView object -- wasn't helping.
(update_menus_timeout_callback), (display_pending_idle_callback),
(display_pending_timeout_callback): Remove the code that ref's the
NautilusView object -- wasn't helping.
(fm_directory_view_notify_selection_changed): Propagate flag that
tells the idle code we have made the change to the selection and
the shell should be notified.
Fix bug 6158 (nautilus --quit shouldn't check for
~/.nautilus/first-time-wizard-flag).
* src/nautilus-main.c: (main): Don't do the first-time druid check
when the --quit or --restart option is used.
Fix bug 803 (All metafile tags should be lower case).
* libnautilus-extensions/nautilus-metadata.h: Use lower-case for
metadata tags.
* libnautilus-extensions/nautilus-directory-metafile.c:
(create_metafile_root), (get_file_node),
(nautilus_directory_rename_file_metadata),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_set_metafile_contents): Change metadata tags
to be lower-case.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Use lower-case in metadata
self-test for clarity.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_keywords), (nautilus_file_set_keywords): Change
metadata tags to be lower-case.
* data/top/.nautilus-metafile.xml
* icons/ardmore/ardmore.xml:
* icons/arlo/arlo.xml:
* icons/arlo/i-directory.xml:
* icons/arlo/i-regular.xml:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/crux_eggplant/i-directory.xml:
* icons/crux_eggplant/i-regular.xml:
* icons/default.xml:
* icons/gnome/gnome.xml:
* icons/i-directory-accept.xml:
* icons/i-directory.xml:
* icons/i-regular.xml:
* icons/villanova/villanova.xml:
Change XML to use lower-case.
* libnautilus-extensions/nautilus-link-set.c: (create_new_link):
Use lower-case for link XML tags.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_create), (nautilus_link_local_set_link_uri),
(nautilus_link_local_set_type),
(nautilus_link_local_get_link_uri),
(nautilus_link_local_get_link_type),
(nautilus_link_get_link_uri_given_file_contents): Use lower-case
for link XML tags.
* src/nautilus-sidebar-title.c:
(nautilus_sidebar_title_select_text_color),
(nautilus_sidebar_title_theme_changed): Use lower-case for theme
XML tags.
* components/throbber/nautilus-throbber.c:
(get_bonobo_properties), (nautilus_throbber_initialize),
(nautilus_throbber_load_images),
(nautilus_throbber_button_press_event): Change theme XML tags to be
lower-case.
* libnautilus-extensions/nautilus-icon-container.c:
(start_rubberbanding): Use lower-case for theme XML tags.
(nautilus_icon_container_initialize): Fix comment.
(update_label_color), (nautilus_icon_container_theme_changed): Use
lower-case for theme XML tags.
* libnautilus-extensions/nautilus-icon-factory.c: (set_theme): Use
lower-case for theme XML tags.
(get_themed_icon_file_path): Use lower-case for icon XML file
tags.
(icon_theme_changed_callback): Use lower-case for theme XML tags.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data), (get_text_offset): Use
lowe-case for theme XML tags.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_appearance):
Use lower-case for theme XML tags.
* src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
Use lower-case for theme XML tags.
* src/nautilus-zoom-control.c: (draw_number): Use lower-case for
theme XML tags.
Change code that used GSList when it should use GList. We use
GList so that we can share utility functions. It's arbitrary. We
could have decided to use all GSList instead, but we chose GList
(because of its name, initially).
* components/tree/nautilus-tree-expansion-state.c:
(expansion_state_load_callback),
(nautilus_tree_expansion_state_load_table_from_gconf),
(hash_table_get_keys_callback), (hash_table_get_keys),
(nautilus_tree_expansion_state_save_table_to_gconf): Update to use
GList instead of GSList.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_handle_error), (nautilus_gconf_set_string_list),
(nautilus_gconf_get_string_list): Change to work with GList
instead of GSList to match the rest of Nautilus, so that the lists
can be manipulated with all the GList utility functions.
* libnautilus-extensions/nautilus-glib-extensions.h:
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_round): Changed name from nautilus_g_round -- "g" for
"gratuitous".
(nautilus_g_list_from_g_slist), (nautilus_g_slist_from_g_list):
Added utility functions to help make GSLists from GLists and vice
versa. Useful when dealing with functions that yield/expect
GSLists.
* libnautilus-extensions/nautilus-icon-text-item.c: (iti_destroy),
(iti_update), (iti_paint_text), (iti_draw), (iti_render),
(iti_event): Use nautilus_round by its new name.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(nautilus_preferences_set_string_list),
(nautilus_preferences_get_string_list),
(nautilus_preferences_default_set_string_list),
(nautilus_preferences_default_get_string_list): Change to use
GList instead of GSList.
* libnautilus-extensions/nautilus-search-uri.c:
(free_tokenized_uri), (tokenize_uri), (get_translated_criterion),
(get_nth_criterion_prefix), (parse_uri): Change to use GList
instead of GSList.
* src/nautilus-application.h:
* src/nautilus-application.c:
(nautilus_application_get_window_list): Renamed from
nautilus_application_windows and changed to use GList instead of
GSList.
(nautilus_application_destroyed_window),
(nautilus_application_create_window), (volume_unmounted_callback):
Change to use GList instead of GSList.
* src/nautilus-shell.c: (save_window_states),
(restore_window_states): Use GList instead of GSList.
* src/nautilus-window-manage-views.c: (just_one_window): Use GList
instead of GSList.
(open_location_prefer_existing_window_callback): Use GList instead
of GSList.
* src/nautilus-window.c: (nautilus_forget_history): Use GList
instead of GSList and the new name for
nautilus_application_get_window_list.
Other changes.
* src/nautilus-shell.c: (display_caveat_first_time): Turn off the
caveat -- we're close enough to 1.0.
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_new_from_oaf_server_info): Use free_deep
call.
* libnautilus/nautilus-view-standard-main.h: Use
BEGIN/END_GNOME_DECLS.
* src/file-manager/fm-desktop-icon-view.c: Remove unneeded
include.
2001-01-30 Maciej Stachowiak <[email protected]>
reviewed by: Gene Z. Ragan <[email protected]>
* components/tree/libmain.c: (tree_shlib_object_destroyed):
Removed accidentally checked in call to `oaf_plugin_unuse' to fix
bug 6154 (creating new window after closing initial window crashes
creating tree view). It's not actually safe to unload a shared
library that declares a GtkType because it makes Gtk unhappy.
2001-01-30 Ramiro Estrugo <[email protected]>
reviewed by: Michael Engber <[email protected]>
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions):
* libnautilus-extensions/nautilus-preferences.c:
Fix bug 5899 - "Do slower, complete search" preference needs to
include explanation.
2001-01-30 John Sullivan <[email protected]>
reviewed by: Darin Adler <[email protected]>
Fixed bug 6153 (confusing error message after trying to
navigate to "foo")
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Improved the error message for this case so that it's
more likely to be helpful.
2001-01-30 Martin Norbäck <[email protected]>
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_new_file):
Marked string for translation.
2001-01-30 John Sullivan <[email protected]>
reviewed by: Darin Adler <[email protected]>
Fixed bug 5863 (visiting a directory makes its property-window
deep count start again from scratch)
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_invalidate_count_and_mime_list):
Renamed from _invalidate_counts, no longer resets the
deep count when resetting the shallow count and MIME
list. (There's already a separately-used API for resetting
the deep count.)
(nautilus_directory_force_reload):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(invalidate_one_count), (invalidate_count_and_unref):
Updated for name change.
2001-01-29 Ramiro Estrugo <[email protected]>
* test/test-nautilus-label-wrapped.c: (size_allocate_callback),
(create_nautilus_label):
Add an example of how to do dynamic wrapping.