2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / ChangeLog-20010201
blobf2344c1621d1bf97110144a68565f480b941b4fc
1 2001-02-01  Ramiro Estrugo  <ramiro@eazel.com>
3         * libnautilus-extensions/nautilus-clickable-image.h:
4         A little better documentation.
6         * libnautilus-extensions/nautilus-labeled-image.c:
7         (nautilus_labeled_image_new),
8         (nautilus_labeled_image_new_from_file_name),
9         (nautilus_labeled_image_button_new_from_file_name),
10         (nautilus_labeled_image_toggle_button_new),
11         (nautilus_labeled_image_toggle_button_new_from_file_name),
12         (nautilus_labeled_image_check_button_new_from_file_name),
13         (nautilus_labeled_image_set_pixbuf_from_file_name),
14         (nautilus_labeled_image_set_tile_pixbuf_from_file_name):
15         * libnautilus-extensions/nautilus-labeled-image.h:
16         New functions for creating stock buttons from pixbuf filenames.
17         Also a little better documentation.
18         
19 2001-02-01  Ramiro Estrugo  <ramiro@eazel.com>
21         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
23         * libnautilus-extensions/nautilus-clickable-image.c:
24         (nautilus_clickable_image_realize),
25         (nautilus_clickable_image_unrealize):
26         * libnautilus-extensions/nautilus-clickable-image.h:
27         Need to store the connection ids to properly diconnect them on
28         unrealize.  Otheriwse bad things happen.
29         
30         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
31         * components/services/nautilus-dependent-shared/eazel-services-extensions.c:
32         (eazel_services_image_new_clickable),
33         (eazel_services_label_new), (eazel_services_label_new_clickable):
34         Add new functions to create clickable images and labels.
35         
36         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
37         (eazel_services_footer_initialize), (footer_destroy),
38         (footer_item_clicked_callback), (footer_item_enter_callback),
39         (footer_item_leave_callback), (footer_item_new):
40         Made a lot simpler by using clickable images.  It could be even
41         simpler if the clickable images handled all the prelighting
42         details.  Thats a possible improvement.
43         
44 2001-02-01  Eskil Heyn Olsen  <eskil@eazel.com>
46         This patch is temporarily going to break a few things, will sync
47         up with Robey tomorrow. Eg. eazel-install (cli tool) now sigsegvs
48         on error.
49         
50         * components/rpmview/nautilus-rpm-view-install.c:
51         s/packagedata_destroy/gtk_object_unref/
53         * components/rpmview/nautilus-rpm-view.c:
54         (nautilus_rpm_view_destroy):
55         s/packagedata_destroy/gtk_object_unref/
57         * components/services/install/command-line/eazel-alt-install-corba.
58         c: (eazel_preflight_check_signal):
59         If there were problems, abort.
60         
61         * components/services/install/command-line/eazel-test-softcat.c:
62         (main):
63         * components/services/install/lib/eazel-install-corba-callback.c:
64         (impl_download_progress), (impl_download_failed), (impl_dep_check),
65         (impl_install_progress), (impl_uninstall_progress),
66         (impl_md5_check_failed):
67         * components/services/install/lib/eazel-install-corba.c:
68         (impl_Eazel_Install_simple_query):
69         s/packagedata_destroy/gtk_object_unref/
71         * components/services/install/lib/eazel-install-logic.c:
72         (eazel_install_download_packages),
73         (eazel_install_check_for_file_conflicts), (ei_revert_transaction),
74         (eazel_install_do_transaction_all_files_check),
75         (eazel_install_prune_packages), (eazel_install_fetch_dependencies),
76         (eazel_install_do_file_conflict_check),
77         (eazel_uninstall_upward_traverse),
78         (eazel_uninstall_downward_traverse),
79         (eazel_uninstall_check_for_install):
80         ifdeffed out a lot of old code that's no longer used, but it still
81         compiles. logic.c will soon be entirely removed.
82         s/packagedata_destroy/gtk_object_unref/
83         Uninstall stuff uses the new PackageBreaks objects.
84         
85         * components/services/install/lib/eazel-install-logic2.c:
86         (dump_tree_helper), (eazel_install_check_existing_packages),
87         (get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
88         (check_update_for_no_more_file_conflicts), (check_tree_helper),
89         (find_break_by_package_name), (add_file_conflict),
90         (check_no_two_packages_has_same_file),
91         (package_is_upgrading_and_doesnt_need_file),
92         (check_conflicts_against_already_installed_packages),
93         (check_feature_consistency), (install_packages_helper):
94         Nicer output.
95         Fixes 6172 and 6173.
96         s/packagedata_destroy/gtk_object_unref/
97         
98         * components/services/install/lib/eazel-install-protocols.c:
99         Removed unused define
100         
101         * components/services/install/lib/eazel-install-rpm-glue.c:
102         (eazel_install_do_rpm_dependency_check):
103         More code ifdeffed out, see comment for eazel-install-logic.c
104         
105         * components/services/install/lib/eazel-install-xml-package-list.c:
106         (parse_package), (eazel_install_packagedata_to_xml_int),
107         (eazel_install_packagelist_to_xml), (osd_parse_shared):
108         Use the new PackageBreak objects.
109         
110         * components/services/install/lib/eazel-package-system-rpm3.c:
111         (make_rpm_argument_list), (rpm_packagedata_new_from_file),
112         (eazel_package_system_rpm3_query_impl),
113         (eazel_package_system_rpm3_compare_version):
114         s/packagedata_destroy/gtk_object_unref/
116         * components/services/install/lib/eazel-package-system-types.h:
117         * components/services/install/lib/eazel-package-system-types.c:
118         (categorydata_destroy_foreach), (packagedependency_new),
119         (packagedependency_copy), (packagedependency_destroy),
120         (packagedata_finalize), (packagedata_class_initialize),
121         (packagedata_initialize), (packagedata_copy),
122         (packagedata_remove_soft_dep), (packagedata_get_readable_name),
123         (packagedata_add_pack_to), (packagedata_add_to_breaks),
124         (packagedata_add_pack_to_soft_depends),
125         (packagedata_add_pack_to_modifies), (packagedata_list_prune),
126         (add_string_list), (dump_package_break_list),
127         (packagedata_dump_int), (packagebreaks_finalize),
128         (packagebreaks_class_initialize), (packagebreaks_initialize),
129         (packagebreaks_get_type), (packagebreaks_new),
130         (packagebreaks_set_package), (packagebreaks_get_package),
131         (packagefileconflict_finalize),
132         (packagefileconflict_class_initialize),
133         (packagefileconflict_initialize), (packagefileconflict_get_type),
134         (packagefileconflict_new), (packagefeaturemissing_finalize),
135         (packagefeaturemissing_class_initialize),
136         (packagefeaturemissing_initialize),
137         (packagefeaturemissing_get_type), (packagefeaturemissing_new):
138         s/packagedata_destroy/gtk_object_unref/
139         Wrote some objects representing package breakage.
141         * components/services/install/lib/eazel-package-system.c:
142         (eazel_package_system_is_installed):
143         s/packagedata_destroy/gtk_object_unref/
145         * components/services/install/lib/eazel-softcat.c:
146         (eazel_softcat_available_update):
147         Fixed the function so it matches the intended semantics
148         
149         * components/services/install/nautilus-view/nautilus-service-instal
150         l-view.c: (nautilus_service_install_view_update_from_uri):
151         s/packagedata_destroy/gtk_object_unref/
153         Merge from PR3 branch
154         
155         2001-01-26  Eskil Olsen  <eskil@eazel.com> 
157         reviewed by: Ramiri Estrugo <ramiro@eazel.com>
159         * components/services/install/command-line/eazel-test-packsys.c:
160         (test_version_compare):
161         Testing the Mozilla hack...
162         
163         * components/services/install/lib/eazel-package-system-rpm3.c:
164         (eazel_package_system_rpm3_compare_version):
165         Special case for Mxx versions because rpmvercmp is not obeying
166         the laws of mathematics...
167         
168         * components/services/install/lib/eazel-softcat.c:
169         (get_search_url_for_package):
170         Fix for 6055 - no longer use hardcoded RedHat62 as distro.
172 2001-02-01  Ramiro Estrugo  <ramiro@eazel.com>
174         reviewed by: Pavel Cisler  <pavel@eazel.com>
176         * libnautilus-extensions/Makefile.am:
177         New files.
178         * libnautilus-extensions/nautilus-art-extensions.c:
179         (nautilus_art_irect_align):
180         * libnautilus-extensions/nautilus-art-extensions.h:
181         Make the align function actually work.  The previous version was
182         copied from GtkPixmap and i didnt realize it did not work.  Remove
183         the padding parameters which are not really needed for alignment.
185         * libnautilus-extensions/nautilus-clickable-image.h:
186         * libnautilus-extensions/nautilus-clickable-image.c:
187         New class.  A clickable image.
189         * libnautilus-extensions/nautilus-labeled-image.h:
190         * libnautilus-extensions/nautilus-labeled-image.c:
191         New class.  A labeled image.
192         
193         * libnautilus-extensions/nautilus-image.h:
194         * libnautilus-extensions/nautilus-image.c:
195         (nautilus_image_expose_event), (image_get_pixbuf_bounds),
196         (image_is_smooth), (nautilus_image_set_is_smooth),
197         (nautilus_image_get_is_smooth), (nautilus_image_new_solid),
198         (nautilus_image_set_never_smooth):
199         Add never smooth attribute to force behavior to match GTK+ for
200         cases when consistency is most important.
201         Update for alignment art extensions api change.
202         Some minor paramter name changes to lose abbreviations.
203         
204         * libnautilus-extensions/nautilus-label.h:
205         * libnautilus-extensions/nautilus-label.c:
206         (nautilus_label_size_request), (nautilus_label_expose_event),
207         (label_get_text_bounds), (label_is_smooth),
208         (nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
209         (nautilus_label_new_solid), (nautilus_label_set_never_smooth):
210         Add never smooth attribute to force behavior to match GTK+ for
211         cases when consistency is most important.
212         Update for alignment art extensions api change.
213         Update for alignment art extensions api change.
214         Some minor paramter name changes to lose abbreviations.
216         * libnautilus-extensions/nautilus-smooth-widget.c:
217         (smooth_widget_get_tile_origin_point),
218         (nautilus_smooth_widget_get_preferred_frame):
219         Add some comments explaining why using 0 for ancestor offsets
220         works.
221         Fix a really dumb bug, the paddings where multiplies by 2 twice
222         instead of once.
223         
224         * test/.cvsignore:
225         * test/Makefile.am:
226         * test/test-nautilus-clickable-image.c: (clicked_callback),
227         (enter_callback), (leave_callback), (clickable_image_new), (main):
228         * test/test-nautilus-label-background.c:
229         * test/test-nautilus-label-scrolled.c: (label_window_new_scrolled),
230         (label_window_new_table):
231         * test/test-nautilus-label-simple.c: (main):
232         * test/test-nautilus-label.c: (main):
233         * test/test-nautilus-labeled-image.c: (labeled_image_new),
234         (labeled_image_window_new), (labeled_image_button_window_new),
235         (main):
236         * test/test-nautilus-pixbuf-tile.c:
237         (pixbuf_drawing_area_expose_event),
238         (drawable_drawing_area_expose_event), (main):
239         * test/test-nautilus-preferences-change.c: (main):
240         * test/test.c: (test_init):
241         New tests for clickable and labeled images.  Many updates to other
242         tests.
244         Also, changed many instances of NautilusFooDetail to
245         NautilusFooDetails as well as the corresponding members.
246         
247 2001-02-01  Gene Z. Ragan  <gzr@eazel.com>
249         Additional work on first time druid gmc to nautilus conversion routines.
250         
251         * src/nautilus-first-time-druid.c: (druid_finished),
252         (convert_gmc_desktop_icons), (transition_value_changed):
254         Make gmc link to Nautilus link conversion more complete
255         
256         * libnautilus-extensions/nautilus-gnome-extensions.c:
257         * libnautilus-extensions/nautilus-gnome-extensions.h:
258         (nautilus_gnome_get_terminal_path):
259         New utility routine to return path to an installed terminal application
260         
261         (nautilus_gnome_open_terminal):
262         Call above function
263         
264         * libnautilus-extensions/nautilus-link.c:
265         * libnautilus-extensions/nautilus-link.h:
266         (nautilus_link_local_create),
267         
268         (nautilus_link_local_create_from_gnome_entry):
269         New function to create a nautilus link from .desktop entry data
270                 
271         It's hard to be hated by millions.  Make gmc to nautilus link transition much better.
272         We now can support converted .desktop links that require a terminal. Also, get rid
273         of gnome-vfs symlinks and use the command: specifier to launch instead.  This was not possible
274         earlier, but due to a recent bug fix by me, we can now use this specifier in a
275         Nautilus link.
276         
277         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
278         (icon_view_create_nautilus_links),
279         (update_home_link_and_delete_copies),
280         (update_trash_link_and_delete_copies):
281         
282 2001-01-31  Maciej Stachowiak  <mjs@eazel.com>
284         reviewed by: Darin Adler <darin@eazel.com> and Eli Goldberg
285         <eli@eazel.com>
287         * THANKS: Gave credit where it's due. Added a section for testers.
288         * check-THANKS.pl: Don't fail if the about box file is not present
289         so this script can be used on modules other than Nautilus; also,
290         added some address aliases.
292 2001-01-31  Rebecca Schulman  <rebecka@eazel.com>
294         Fixed bug 5245, that words used in the search bar were used
295         elsewhere, such that they could not be translated correctly for
296         both contexts.  The fix was to wrap all of the strings used to
297         display both the search bar, and the description of
298         search results in bracketed context and write a function
299         to remove the bracketed text before displaying.
301         reviewed by: Darin Adler <darin@eazel.com>
303         * libnautilus-extensions/nautilus-search-uri.c: 
304         Added comments and wrapped the text to be translated in bracketed
305         context.
306         (get_translated_criterion), (get_nth_criterion_prefix),
307         (parse_uri):  Call nautilus_str_remove_bracketed_text
308         on appropriate strings before displaying.
309         
310         * libnautilus-extensions/nautilus-string.h:
311         * libnautilus-extensions/nautilus-string.c:
312         (nautilus_str_remove_bracketed_text), (nautilus_self_check_string):
313         Add the debracketing function and tests for it.
315         * src/nautilus-search-bar-criterion.c: 
316         Added comments and wrapped the text to be translated in bracketed
317         context.
318         (nautilus_search_bar_criterion_destroy),
319         (nautilus_search_bar_criterion_new_from_values),
320         (nautilus_search_bar_criterion_update_valid_criteria_choices):
321         Call nautilus_str_remove_bracketed_text on appropriate strings
322         before displaying.
323         
324 2001-01-31  John Sullivan  <sullivan@eazel.com>
326         reviewed by: Darin Adler <darin@eazel.com>
328         Fixed bug 6162 (need option to stop "xx items" from being
329         calculated for ftp:// locations)
331         Added a speed tradeoff preference for showing directory
332         counts. It's "local-only" for Beginner and "always" (but
333         changeable) for Intermediate/Advanced.
335         Fixed bug 1856 (fix hideous hack to kick-start embedded-text
336         reading when preference changes)
338         Fixed bug 2396 (properties window doesn't show/hide
339         "special flags" when preference changes) 
341         * libnautilus-extensions/nautilus-directory-async.c:
342         (dequeue_pending_idle_callback): Update for name change.
343         (lacks_directory_count): Now checks preference by calling
344         nautilus_file_should_show_directory_item_count.
345         (should_get_directory_count_now): Renamed to add the "_now"
346         to help distinguish from 
347         nautilus_file_should_show_directory_item_count.
348         (directory_count_start): Update for name change.
349         
350         * libnautilus-extensions/nautilus-directory-private.h:
351         * libnautilus-extensions/nautilus-directory.c:
352         (emit_change_signals_for_all_files): New function, emits change
353         signals for self-as-file (if applicable) and all contained files.
354         (async_state_changed_one): New hash-table function, calls
355         emit_change_signals_for_all_files on a directory.
356         (async_data_preference_changed_callback): New preferences-changed
357         callback, calls async_state_changed_one on each directory.
358         (add_preferences_callbacks): Renamed from add_filtering_callbacks,
359         now adds callbacks for top-left text and item counts preferences.
360         (remove_preferences_callbacks): Renamed from remove_filtering_callbacks,
361         now removes callbacks for top-left text and item counts preferences.
362         (nautilus_directory_get_internal): Update for name change.
363         (nautilus_directory_emit_change_signals): renamed from
364         _emit_change_signals_deep to avoid recursion connotation.
365         (nautilus_directory_emit_metadata_changed),
366         (call_files_changed_free_list),
367         (call_files_changed_unref_free_list): Update for name change.
369         * libnautilus-extensions/nautilus-file.c:
370         (get_speed_tradeoff_preference_for_file): New utility function,
371         returns boolean based on local-ness of file and value of
372         specified speed-tradeoff preference.
373         (nautilus_file_should_get_top_left_text): Now calls
374         get_speed_tradeoff_preference_for_file.
375         (nautilus_file_should_show_directory_item_count): New function,
376         calls get_speed_tradeoff_preference_for_file.
377         (nautilus_file_get_directory_item_count),
378         (nautilus_file_get_deep_counts): Bail out early without computation
379         if _should_show_directory_item_count is FALSE.
380         (nautilus_file_changed): Update for name change.
381         
382         * libnautilus-extensions/nautilus-file.h: Make
383         nautilus_file_should_show_directory_item_count public so the
384         preferences window can make UI decisions based on it.
385         
386         * libnautilus-extensions/nautilus-global-preferences.h:
387         * libnautilus-extensions/nautilus-global-preferences.c:
388         (global_preferences_install_descriptions),
389         (global_preferences_install_defaults),
390         (global_preferences_install_visibility),
391         (global_preferences_create_dialog): Add new preference
392         NAUTILUS_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS and wire up
393         default values and UI.
394         
395         * src/file-manager/fm-directory-view.c:
396         (fm_directory_view_initialize), (fm_directory_view_destroy):
397         Remove hideous hack.
398         
399         * src/file-manager/fm-properties-window.c: 
400         (append_separator): Return widget instead of row number.
401         (attach_directory_contents_value_field): Return widget.
402         (update_visibility_of_table_rows): New helper function to
403         update visibility of a series of table rows & contained
404         widgets.
405         (update_visibility_of_item_count_fields): New function
406         to update visibility of directory item count widgetry.
407         (update_visibility_of_item_count_fields_wrapper): Simple
408         wrapper for above.
409         (remember_directory_contents_widget),
410         (append_directory_contents_fields): Remember item counts
411         widgetry so it can be shown/hidden later; set up prefs
412         callback; change signature for to pass window.
413         (create_basic_page), (create_permissions_page): 
414         store table in window->details; update for changed signatures.
415         (append_special_execution_checkbox): Now takes window,
416         don't use GTK_EXPAND to avoid resizing column unnecessarily,
417         count number of special flags rows.
418         (remember_special_flags_widget),
419         (update_visibility_of_special_flags_widgets): New function
420         to update visibility of special flags widgetry.
421         (update_visibility_of_special_flags_widgets_wrapper):
422         Simple wrapper for above.
423         (append_special_execution_flags): Remember special flags
424         widgetry so it can be shown/hidden later; set up prefs
425         callback; change signature to pass window.
426         (real_destroy): free widget lists.
428 2001-01-31  Maciej Stachowiak  <mjs@eazel.com>
430         reviewed by: Darin Adler  <darin@eazel.com>
432         * src/nautilus-application.c (nautilus_application_startup): Don't
433         loop more than 20 times when we get OAF_REG_ALREADY_ACTIVE trying
434         to register the factory, instead display an error message that
435         suggests killing oafd.
437 2001-01-31  Arik Devens  <arik@eazel.com>
439         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
441         * librsvg/rsvg-ft.c: (rsvg_ft_glyph_insert): Updated to evict from
442         the cache whenever above the high water mark instead of only when
443         inserting would put you above the mark.
445 2001-01-31  Darin Adler  <darin@eazel.com>
447         reviewed by: Michael Engber <engber@eazel.com>
449         Fix bug 6192 ("mapped before underway" warning when clicking on
450         any sidebar tab).
451         
452         * src/nautilus-view-frame.c: (nautilus_view_frame_map): Remove
453         inappropriate check of state, and replace it with a simple NULL
454         check that handles the failed case.
455         
456         * libnautilus-extensions/nautilus-directory-background.c:
457         (nautilus_file_background_is_set): Fixed backwards logic by
458         removing an erroneous "!".
459         
460         * libnautilus-extensions/nautilus-icon-factory.c: Formatting
461         tweaks.
462         * src/file-manager/fm-directory-view.c: Formatting tweak.
463         * src/nautilus-application.c: (nautilus_application_startup):
464         Fixed comment.
465         (check_for_and_run_as_super_user): Formatting tweak.
467 2001-01-31  Pavel Cisler  <pavel@eazel.com>
469         reviewed by: Gene Z. Ragan <gzr@eazel.com>
471         Fix 5324 (Should get rid of stack-based GnomeVFSFileInfo)
473         * components/adapter/bonobo-stream-vfs.c: (vfs_get_info):
474         Nuked some unused code that contained gnome_vfs_file_info_init.
475         
476         * components/adapter/nautilus-adapter-progressive-load-strategy.c:
477         (nautilus_adapter_progressive_load_strategy_load_location):
478         * libnautilus-extensions/nautilus-icon-factory.c:
479         (path_represents_svg_image), (get_cache_time):
480         * libnautilus-extensions/nautilus-thumbnails.c:
481         (first_file_more_recent):
482         * src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
483         Get rid of gnome_vfs_file_info_init.
484         Replace all instances of stack-based GnomeVFSFileInfo
485         structures, replace all calls to gnome_vfs_file_info_init
486         with gnome_vfs_file_info_new.
487         Replace most calls to gnome_vfs_file_info_clear with
488         gnome_vfs_file_info_unref.
490         * libnautilus-extensions/nautilus-preferences-item.c:
491         (has_image_file):
492         Rework to use gnome_vfs_uri_exists instead of trying to get
493         file info.
495         * components/adapter/nautilus-adapter-progressive-load-strategy.c:
496         (nautilus_adapter_progressive_load_strategy_load_location):
497         Fixed a bug where file info fields were being used after a
498         gnome_vfs_file_info_clear call
501         Fix 6146 ("Duplicate File" reports "You cannot copy a file
502                    over itself")
504         * libnautilus-extensions/nautilus-file-operations.c:
505         (nautilus_file_operations_copy_move):
506         Make copying iside the same directory while the
507         GNOME_VFS_XFER_USE_UNIQUE_NAMES move_option is set legal.
509 2001-01-31  Ian McKellar  <ian@eazel.com>
511         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
513         * components/services/inventory/Trilobite_Service_inventory.oaf.in:
514         Fixed a tyop in the path to the trilobite-inventory-service
516         * components/services/inventory/eazel-inventory-utils.h:
517         * components/services/inventory/eazel-inventory-service.c:
518         Moved the GConf path for machine name to 
520         (impl_Trilobite_Eazel_Inventory_upload):
521         Improved error reporting / debugging. Actually save the MD5.
523         * components/services/inventory/eazel-inventory-utils.c:
524         (add_package_info), (add_software_info),
525         (eazel_inventory_local_path)
526         Fixed memory leaks.
528         (eazel_inventory_update_md5):
529         Added a function to store the MD5.
531         * nautilus.spec.in:
532         Add inventory files to the right RPMs.
534 2001-01-31  Arik Devens  <arik@eazel.com>
536         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
538         Fixed bug 3853, Intermittent crash with warnings from
539         "rsvg_ft_glpyh_insert" by refactoring the method for inserting and
540         removing glyph's from the cache.
541         
542         * librsvg/rsvg-ft.c: (rsvg_ft_glyph_evict),
543         (rsvg_ft_glyph_insert), (rsvg_ft_measure_or_render_string):
544         Refactored to use a high water mark based eviction rather then a
545         limit and to evict with respect to that mark.
547 2001-01-31  Maciej Stachowiak  <mjs@eazel.com>
549         reviewed by: George Lebl  <jirka@5z.com>
550         
551         Fix bug 4448 (install-server needs session management juju)
552         
553         * components/services/install/server/main.c: (main): Add call to
554         `gnome_client_disable_master_connection'
556         * components/services/trilobite/sample/service/main.c: (main): Add
557         call to `gnome_client_disable_master_connection'
559 2001-01-30  Maciej Stachowiak  <mjs@eazel.com>
561         reviewed by: Ramiro Estrugo  <ramiro@eazel.com>
563         Mass refactoring of summary view code to make needed summary view
564         fixes more managable. In the process, fixed bugs 4555 (Version
565         display for featured softcat downloads) and 5795 (Summary View
566         text doesn't wrap.) Also, cleaned up assorted pieces of text.
568         * components/services/summary/nautilus-view/nautilus-summary-view.c
569         : (update_header), (create_header), (update_footer),
570         (create_footer), (summary_view_button_callback),
571         (summary_view_button_new), (summary_view_item_label_new),
572         (summary_view_item_large_header_label_new),
573         (summary_view_item_header_label_new),
574         (summary_view_item_body_label_new), (append_hseparator_to_vbox),
575         (generate_eazel_news_entry_row), (summary_view_update_pane),
576         (summary_view_create_pane), (update_news_pane),
577         (create_news_pane),
578         (generate_service_entry_row), (update_services_list_pane),
579         (create_services_list_pane), (generate_update_news_entry_row),
580         (update_featured_downloads_pane),
581         (create_featured_downloads_pane),
582         (generate_summary_form), (nautilus_summary_view_initialize),
583         (nautilus_summary_view_destroy), (summary_load_location_callback),
584         (text_resize_callback): Factor the monolithic summary view code up
585         more. The next step is to create a widget class to manage each
586         pane, and to create the base layout once and only change the pane
587         contents on recipt of summary XML or login.
589         * components/services/summary/nautilus-view/nautilus-summary-callbacks.h,
590         components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
591         Remove tab selected callbacks since they are no longer used.
593         * components/services/summary/nautilus-view/nautilus-summary-view-private.h:
594         Removed lots of unneeded fields in the details struct; changed
595         button labels, "Go There!" --> "Go There", "More Info!" --> "More
596         Info", "Install Me!" --> "Install"
598 2001-01-30  Ramiro Estrugo  <ramiro@eazel.com>
600         reviewed by: Gene Z. Ragan <gzr@eazel.com>
602         * libnautilus-extensions/nautilus-debug-drawing.c:
603         (debug_pixbuf_viewer_expose_event):
604         * libnautilus-extensions/nautilus-gdk-extensions.c:
605         * libnautilus-extensions/nautilus-gdk-extensions.h:
606         Remove unused code.
608 2001-01-30  Robey Pointer  <robey@eazel.com>
610         reviewed by: Eskil Heyn Olsen  <eskil@eazel.com>
611         
612         * components/services/install/lib/eazel-install-corba-types.c:
613         (corba_packagedatastruct_from_packagedata),
614         (packagedata_from_corba_packagedatastruct):
615         * components/services/install/lib/eazel-install-logic.c:
616         (dump_one_package):
617         * components/services/install/lib/eazel-install-problem.c:
618         (get_detailed_messages_foreach),
619         (get_detailed_uninstall_messages_foreach),
620         (get_detailed_cases_foreach),
621         (get_detailed_uninstall_cases_foreach):
622         * components/services/install/lib/eazel-package-system-types.c:
623         (packagedata_initialize), (packagedata_finalize),
624         (packagedata_copy), (packagedata_fill_in_missing),
625         (packagedata_destroy), (packagedata_dump_int):
626         * components/services/install/lib/eazel-package-system-types.h:
627         * components/rpmview/nautilus-rpm-view-install.c:
629         Remove unused hard_depends member from PackageData.
630         
631         * components/services/install/lib/eazel-install-logic2.c:
632         (dump_tree_helper), (prune_failed_packages_helper),
633         (prune_failed_packages), (eazel_install_check_existing_packages),
634         (get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
635         (check_tree_helper), (check_tree_for_conflicts),
636         (download_packages), (set_toplevel), (install_packages):
637         * components/services/install/lib/eazel-install-protocols.c:
638         (eazel_install_fetch_package), (flatten_tree_func):
639         * components/services/install/lib/eazel-package-system-rpm3.c:
640         (make_rpm_argument_list),
641         (eazel_package_system_rpm3_packagedata_fill_from_header),
642         (rpm_packagedata_new_from_file),
643         (eazel_package_system_rpm3_load_package):
644         * components/services/install/lib/eazel-package-system.c:
645         (eazel_package_system_load_package):
647         Backport Eskil's recursive-dep fix from PR3.  Use
648         name/sense/version to hash completed dependencies, so files will
649         work (not just softcat packages).
650         
651         * components/services/install/lib/eazel-install-xml-package-list.c:
652         (parse_package), (eazel_install_packagedata_to_xml_int),
653         (eazel_install_packagedata_to_xml), (osd_parse_shared):
655         The best of all worlds: some backported PR3 patches from Eskil,
656         some removal of hard_depends usage, and some new code to encode &
657         decode the RPM filesize from the XML generated across the corba
658         pipe.
659         
660         * components/services/install/nautilus-view/nautilus-service-instal
661         l-view.c: (nautilus_service_install_view_destroy),
662         (nautilus_install_parse_uri), (update_package_info_display),
663         (nautilus_service_install_downloading),
664         (nautilus_service_install_preflight_check),
665         (nautilus_service_install_download_failed),
666         (nautilus_service_install_installing),
667         (nautilus_service_install_done), (nautilus_service_install_failed),
668         (nautilus_service_install_view_update_from_uri),
669         (nautilus_service_install_view_load_uri),
670         (service_install_stop_loading_callback):
671         * components/services/install/nautilus-view/nautilus-service-instal
672         l-view.h:
674         Backport changes to the install view from PR3 (I should've done
675         this when I checked them into PR3 but I was brain-fried): No
676         longer cylon (use the throbber to indicate busy-ness) and handle
677         early cancels better.  Also some new stuff to use the more
678         accurate filesize counts.
679         
680 2001-01-30  Ramiro Estrugo  <ramiro@eazel.com>
682         reviewed by: Pavel Cisler  <pavel@eazel.com>
684         Fix bug 5763 - Largest fitting font logic in Sidebar title causes
685         font criticals.  Cleanup some related stuff in the process.
686         
687         * libnautilus-extensions/nautilus-font-factory.h:
688         * libnautilus-extensions/nautilus-font-factory.c:
689         (nautilus_font_factory_get_font_by_family),
690         (nautilus_font_factory_get_font_from_preferences):
691         Move these functions to nautilus-gdk-font-extensions.[ch].
692         
693         * libnautilus-extensions/nautilus-gdk-font-extensions.h:
694         * libnautilus-extensions/nautilus-gdk-font-extensions.c:
695         (nautilus_gdk_font_get_largest_fitting), Rewrite the function to
696         not depend on any hard coded font sizes or XLFD names.
697         (nautilus_gdk_font_get_name), New function.
698         (nautilus_gdk_font_get_size_in_pixels), (unref_fixed_font),
699         (nautilus_gdk_font_get_fixed),
700         (nautilus_gdk_font_xlfd_string_new), Move these 2 here from
701         nautilus-font-factory.
702         (nautilus_self_check_ellipsize_start),
703         (nautilus_self_check_gdk_font_extensions):
704         * libnautilus-extensions/nautilus-scalable-font.h:
705         * libnautilus-extensions/nautilus-scalable-font.c:
706         (parse_font_description_file), (font_compare),
707         (font_family_find_font), (font_family_lookup),
708         (font_family_lookup_with_insertion), (font_family_table_add_fonts),
709         (nautilus_scalable_font_new),
710         (nautilus_scalable_font_measure_text),
711         (nautilus_scalable_font_text_width),
712         (nautilus_scalable_font_draw_text),
713         (nautilus_scalable_font_measure_text_lines),
714         (nautilus_scalable_font_draw_text_lines_with_dimensions),
715         (nautilus_scalable_font_draw_text_lines),
716         (nautilus_scalable_font_largest_fitting_font_size), Rewrite this
717         function to work just like nautilus_gdk_font_get_largest_fitting()
718         for greater consistency.
719         (font_family_table_for_each_append),
720         (font_family_table_for_each_free),
721         (nautilus_scalable_font_query_font), (text_layout_free_row),
722         (nautilus_text_layout_new), (nautilus_text_layout_paint):
723         Use signed integers for dimensions.  Lots of cleanup to comply
724         with the Nautilus coding style.
725         
726         * libnautilus-extensions/nautilus-string-list.h:
727         * libnautilus-extensions/nautilus-string-list.c:
728         (nautilus_string_list_new_from_tokens),
729         (nautilus_string_list_get_index_for_string),
730         (nautilus_string_list_as_concatenated_string),
731         (nautilus_string_list_get_longest_string),
732         (nautilus_string_list_get_longest_string_length),
733         (nautilus_self_check_string_list):
734         Use signed integers instead of guint.
736         * src/nautilus-sidebar-title.c: (update_font):
737         Update for largest fitting font api changes.  Get rid of the hard
738         coded list of font sizes.
739         
740 2001-01-30  Darin Adler  <darin@eazel.com>
742         reviewed by: John Sullivan <sullivan@eazel.com>
744         Fixed bug 5726 (In single-window mode, activating desktop icons
745         should use frontmost window).
747         * src/nautilus-window-manage-views.c:
748         (get_topmost_nautilus_window): New function.
749         (open_location): For desktop in one-window mode, reuse the topmost
750         window if there is one instead of making new window every time.
752 2001-01-30  Ramiro Estrugo  <ramiro@eazel.com>
754         reviewed by: Gene Z. Ragan <gzr@eazel.com>
756         * applets/preferences-applet/nautilus-preferences-applet.c:
757         (quit_button_clicked_callback), (main):
758         Add a quit button that invokes "nautilus --quit."
759         
760 2001-01-30  Darin Adler  <darin@eazel.com>
762         reviewed by: John Sullivan <sullivan@eazel.com>
764         Fix bug 6147 (selected icons flash unselected/selected rapidly):
765         
766         * src/nautilus-window-manage-views.c: (change_selection): Don't
767         send out selection change notices to the view that reported the
768         selection change.
769         (change_selection_callback): Pass in view that requested the
770         change so we can know not to send a selection change to that view.
771         * src/file-manager/fm-directory-view.c:
772         (fm_directory_view_send_selection_change): Clear flag that says we
773         have a selection change for the shell.
774         (selection_changed_callback): Add code to indicate this selection
775         change is due to the shell, so we don't tell the shell about
776         something it just told us.
777         (done_loading): Set flag so we don't tell the shell about selection
778         changes that are part of the first load of the directory.
779         (display_selection_info_idle_callback): Only send a selection change
780         to the shell if the change was initiated here. Also remove the code
781         that ref's the NautilusView object -- wasn't helping.
782         (update_menus_timeout_callback), (display_pending_idle_callback),
783         (display_pending_timeout_callback): Remove the code that ref's the
784         NautilusView object -- wasn't helping.
785         (fm_directory_view_notify_selection_changed): Propagate flag that
786         tells the idle code we have made the change to the selection and
787         the shell should be notified.
788         
789         Fix bug 6158 (nautilus --quit shouldn't check for
790         ~/.nautilus/first-time-wizard-flag).
792         * src/nautilus-main.c: (main): Don't do the first-time druid check
793         when the --quit or --restart option is used.
794         
795         Fix bug 803 (All metafile tags should be lower case).
796         
797         * libnautilus-extensions/nautilus-metadata.h: Use lower-case for
798         metadata tags.
799         * libnautilus-extensions/nautilus-directory-metafile.c:
800         (create_metafile_root), (get_file_node),
801         (nautilus_directory_rename_file_metadata),
802         (nautilus_directory_copy_file_metadata),
803         (nautilus_directory_set_metafile_contents): Change metadata tags
804         to be lower-case.
805         * libnautilus-extensions/nautilus-directory.c:
806         (nautilus_self_check_directory): Use lower-case in metadata
807         self-test for clarity.
808         * libnautilus-extensions/nautilus-file.c:
809         (nautilus_file_get_keywords), (nautilus_file_set_keywords): Change
810         metadata tags to be lower-case.
811         
812         * data/top/.nautilus-metafile.xml
813         * icons/ardmore/ardmore.xml:
814         * icons/arlo/arlo.xml:
815         * icons/arlo/i-directory.xml:
816         * icons/arlo/i-regular.xml:
817         * icons/crux_eggplant/crux_eggplant.xml:
818         * icons/crux_eggplant/i-directory.xml:
819         * icons/crux_eggplant/i-regular.xml:
820         * icons/default.xml:
821         * icons/gnome/gnome.xml:
822         * icons/i-directory-accept.xml:
823         * icons/i-directory.xml:
824         * icons/i-regular.xml:
825         * icons/villanova/villanova.xml:
826         Change XML to use lower-case.
828         * libnautilus-extensions/nautilus-link-set.c: (create_new_link):
829         Use lower-case for link XML tags.
830         * libnautilus-extensions/nautilus-link.c:
831         (nautilus_link_local_create), (nautilus_link_local_set_link_uri),
832         (nautilus_link_local_set_type),
833         (nautilus_link_local_get_link_uri),
834         (nautilus_link_local_get_link_type),
835         (nautilus_link_get_link_uri_given_file_contents): Use lower-case
836         for link XML tags.
837         
838         * src/nautilus-sidebar-title.c:
839         (nautilus_sidebar_title_select_text_color),
840         (nautilus_sidebar_title_theme_changed): Use lower-case for theme
841         XML tags.
842         * components/throbber/nautilus-throbber.c:
843         (get_bonobo_properties), (nautilus_throbber_initialize),
844         (nautilus_throbber_load_images),
845         (nautilus_throbber_button_press_event): Change theme XML tags to be
846         lower-case.
847         * libnautilus-extensions/nautilus-icon-container.c:
848         (start_rubberbanding): Use lower-case for theme XML tags.
849         (nautilus_icon_container_initialize): Fix comment.
850         (update_label_color), (nautilus_icon_container_theme_changed): Use
851         lower-case for theme XML tags.
852         * libnautilus-extensions/nautilus-icon-factory.c: (set_theme): Use
853         lower-case for theme XML tags.
854         (get_themed_icon_file_path): Use lower-case for icon XML file
855         tags.
856         (icon_theme_changed_callback): Use lower-case for theme XML tags.
857         * src/nautilus-sidebar-tabs.c:
858         (nautilus_sidebar_tabs_load_theme_data), (get_text_offset): Use
859         lowe-case for theme XML tags.
860         * src/nautilus-sidebar.c: (nautilus_sidebar_update_appearance):
861         Use lower-case for theme XML tags.
862         * src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
863         Use lower-case for theme XML tags.
864         * src/nautilus-zoom-control.c: (draw_number): Use lower-case for
865         theme XML tags.
867         Change code that used GSList when it should use GList. We use
868         GList so that we can share utility functions. It's arbitrary. We
869         could have decided to use all GSList instead, but we chose GList
870         (because of its name, initially).
872         * components/tree/nautilus-tree-expansion-state.c:
873         (expansion_state_load_callback),
874         (nautilus_tree_expansion_state_load_table_from_gconf),
875         (hash_table_get_keys_callback), (hash_table_get_keys),
876         (nautilus_tree_expansion_state_save_table_to_gconf): Update to use
877         GList instead of GSList.
878         * libnautilus-extensions/nautilus-gconf-extensions.h:
879         * libnautilus-extensions/nautilus-gconf-extensions.c:
880         (nautilus_gconf_handle_error), (nautilus_gconf_set_string_list),
881         (nautilus_gconf_get_string_list): Change to work with GList
882         instead of GSList to match the rest of Nautilus, so that the lists
883         can be manipulated with all the GList utility functions.
884         * libnautilus-extensions/nautilus-glib-extensions.h:
885         * libnautilus-extensions/nautilus-glib-extensions.c:
886         (nautilus_round): Changed name from nautilus_g_round -- "g" for
887         "gratuitous".
888         (nautilus_g_list_from_g_slist), (nautilus_g_slist_from_g_list):
889         Added utility functions to help make GSLists from GLists and vice
890         versa. Useful when dealing with functions that yield/expect
891         GSLists.
892         * libnautilus-extensions/nautilus-icon-text-item.c: (iti_destroy),
893         (iti_update), (iti_paint_text), (iti_draw), (iti_render),
894         (iti_event): Use nautilus_round by its new name.
895         * libnautilus-extensions/nautilus-preferences.h:
896         * libnautilus-extensions/nautilus-preferences.c:
897         (nautilus_preferences_set_string_list),
898         (nautilus_preferences_get_string_list),
899         (nautilus_preferences_default_set_string_list),
900         (nautilus_preferences_default_get_string_list): Change to use
901         GList instead of GSList.
902         * libnautilus-extensions/nautilus-search-uri.c:
903         (free_tokenized_uri), (tokenize_uri), (get_translated_criterion),
904         (get_nth_criterion_prefix), (parse_uri): Change to use GList
905         instead of GSList.
906         * src/nautilus-application.h:
907         * src/nautilus-application.c:
908         (nautilus_application_get_window_list): Renamed from
909         nautilus_application_windows and changed to use GList instead of
910         GSList.
911         (nautilus_application_destroyed_window),
912         (nautilus_application_create_window), (volume_unmounted_callback):
913         Change to use GList instead of GSList.
914         * src/nautilus-shell.c: (save_window_states),
915         (restore_window_states): Use GList instead of GSList.
916         * src/nautilus-window-manage-views.c: (just_one_window): Use GList
917         instead of GSList.
918         (open_location_prefer_existing_window_callback): Use GList instead
919         of GSList.
920         * src/nautilus-window.c: (nautilus_forget_history): Use GList
921         instead of GSList and the new name for
922         nautilus_application_get_window_list.
923         
924         Other changes.
926         * src/nautilus-shell.c: (display_caveat_first_time): Turn off the
927         caveat -- we're close enough to 1.0.
928         
929         * libnautilus-extensions/nautilus-view-identifier.c:
930         (nautilus_view_identifier_new_from_oaf_server_info): Use free_deep
931         call.
932         
933         * libnautilus/nautilus-view-standard-main.h: Use
934         BEGIN/END_GNOME_DECLS.
935         
936         * src/file-manager/fm-desktop-icon-view.c: Remove unneeded
937         include.
939 2001-01-30  Maciej Stachowiak  <mjs@eazel.com>
941         reviewed by: Gene Z. Ragan <gzr@eazel.com>
943         * components/tree/libmain.c: (tree_shlib_object_destroyed):
944         Removed accidentally checked in call to `oaf_plugin_unuse' to fix
945         bug 6154 (creating new window after closing initial window crashes
946         creating tree view). It's not actually safe to unload a shared
947         library that declares a GtkType because it makes Gtk unhappy.
949 2001-01-30  Ramiro Estrugo  <ramiro@eazel.com>
951         reviewed by: Michael Engber  <engber@eazel.com>
953         * libnautilus-extensions/nautilus-global-preferences.c:
954         (global_preferences_install_descriptions):
955         * libnautilus-extensions/nautilus-preferences.c:
956         Fix bug 5899 - "Do slower, complete search" preference needs to
957         include explanation.
958         
959 2001-01-30  John Sullivan  <sullivan@eazel.com>
961         reviewed by: Darin Adler <darin@eazel.com>
963         Fixed bug 6153 (confusing error message after trying to
964         navigate to "foo")
966         * src/nautilus-window-manage-views.c:
967         (nautilus_window_end_location_change_callback):
968         Improved the error message for this case so that it's
969         more likely to be helpful.
971 2001-01-30  Martin Norbäck  <d95mback@dtek.chalmers.se>
973         * libnautilus-extensions/nautilus-file-operations-progress.c:
974         (nautilus_file_operations_progress_new_file):
975         Marked string for translation.
977 2001-01-30  John Sullivan  <sullivan@eazel.com>
979         reviewed by: Darin Adler <darin@eazel.com>
981         Fixed bug 5863 (visiting a directory makes its property-window
982         deep count start again from scratch)
984         * libnautilus-extensions/nautilus-directory-async.c:
985         (nautilus_directory_invalidate_count_and_mime_list):
986         Renamed from _invalidate_counts, no longer resets the
987         deep count when resetting the shallow count and MIME
988         list. (There's already a separately-used API for resetting
989         the deep count.)
990         (nautilus_directory_force_reload):
991         * libnautilus-extensions/nautilus-directory-private.h:
992         * libnautilus-extensions/nautilus-directory.c:
993         (invalidate_one_count), (invalidate_count_and_unref):
994         Updated for name change.
996 2001-01-29  Ramiro Estrugo  <ramiro@eazel.com>
998         * test/test-nautilus-label-wrapped.c: (size_allocate_callback),
999         (create_nautilus_label):
1000         Add an example of how to do dynamic wrapping.
1001         
1002 2001-01-29  Robey Pointer  <robey@eazel.com>
1004         reviewed by: Eskil Heyn Olsen <eskil@eazel.com>
1006         * components/services/install/idl/trilobite-eazel-install.idl:
1007         * components/services/install/lib/eazel-install-corba-types.c:
1008         (corba_packagedatastruct_from_packagedata),
1009         (packagedata_from_corba_packagedatastruct):
1010         * components/services/install/lib/eazel-package-system-types.c:
1011         (packagedata_initialize), (packagedata_finalize),
1012         (packagedata_copy), (packagedata_fill_in_missing),
1013         (packagedata_get_readable_name):
1014         * components/services/install/lib/eazel-package-system-types.h:
1015         * components/services/install/lib/eazel-softcat.c:
1016         (get_search_url_for_package), (eazel_softcat_get_info):
1018         Add "suite_id" field to the PackageData and corba struct, for
1019         packages that actually refer to a group of packages, not just one.
1020         
1021         * components/services/install/lib/eazel-install-logic.c:
1022         * components/services/install/lib/eazel-install-logic.h:
1023         * components/services/install/lib/eazel-install-object.c:
1024         (eazel_install_start_signal), (eazel_install_end_signal),
1025         (eazel_install_progress_signal), (eazel_install_failed_signal):
1027         Move four signal calls into the file they're used in, so that
1028         someday in the startrek future, we can get rid of the old
1029         logic.[ch] files.
1030         
1031 2001-01-29  Pavel Cisler  <pavel@eazel.com>
1033         reviewed by: Gene Z. Ragan <gzr@eazel.com>
1035         Fixed 5781 (results of load_directory must be passed in chunks
1036                 instead of the entire list)
1037         Fixed 1438 (use plain GList instead of GnomeVFSDirectoryList)
1039         * components/music/nautilus-music-view.c:
1040         (nautilus_music_view_update):
1041         * components/services/vault/command-line/vault-operations.c:
1042         (vault_list):
1043         * components/text/nautilus-text-view.c: (add_services_to_menu):
1044         * libnautilus-extensions/nautilus-customization-data.c:
1045         (nautilus_customization_data_new),
1046         (nautilus_customization_data_get_next_element_for_display),
1047         (nautilus_customization_data_destroy):
1048         * libnautilus-extensions/nautilus-directory-async.c:
1049         (directory_load_callback), (directory_count_callback),
1050         (start_monitoring_file_list), (directory_count_start),
1051         (deep_count_callback), (deep_count_load), (mime_list_callback),
1052         (mime_list_load):
1053         * libnautilus-extensions/nautilus-directory-private.h:
1054         * libnautilus-extensions/nautilus-preferences-item.c:
1055         (add_icon_themes):
1056         * src/file-manager/fm-directory-view.c:
1057         * src/nautilus-link-set-window.c: (get_link_set_names):
1058         * src/nautilus-location-bar.c: (try_to_expand_path):
1059         * src/nautilus-theme-selector.c:
1060         (populate_list_with_themes_from_directory):
1061         Switch the uses of GnomeVFSDirectoryList to a simple GList.
1062         Get rid of the sort and reverse arguments to the load_directory
1063         calls.
1065 2001-01-29  Arik Devens  <arik@eazel.com>
1067         reviewed by: Pavel Cisler  <pavel@eazel.com>
1069         * libnautilus-extensions/nautilus-preferences-box.c:
1070         (preferences_box_category_list_recreate): Fixed my breakage of the
1071         build by finishing cleanup Ramiro asked me to do.
1073 2001-01-29  John Sullivan  <sullivan@eazel.com>
1075         Fixed bug 5974 (menu item to change Nautilus theme
1076         should mention "theme" in its name)
1078         * src/nautilus-shell-ui.xml: After bugzilla discussion
1079         with Vera, renamed "Change Appearance..." -> "Nautilus Themes..."
1081         * libnautilus-extensions/nautilus-stock-dialogs.c:
1082         Reduced timed-wait initial timeout from 5 seconds to
1083         3 after playing around with the gnome-vfs test-method.
1084         
1085 2001-01-29  Darin Adler  <darin@eazel.com>
1087         reviewed by: Maciej Stachowiak <mjs@eazel.com>
1089         Fixed bug 2131 (Change Nautilus to use OAF asynchronous activation
1090         interface). In making view activation work right, I also
1091         eliminated the state machine that was almost gone from
1092         NautilusWindow. There's still some additional simplification we
1093         can do, but it's simpler than it was. At the same time, made sure
1094         all incoming CORBA calls are deferred until idle time. This is
1095         most of what the old state machine was accomplishing, believe it
1096         or not, although it didn't do it 100%.
1098         Also fixes bug 2457 (Silent error loading content view), bug 2461
1099         (progress from old and new content view sometimes confused), and
1100         bug 6109 (Assertion hit on clicking the refresh button many times
1101         very quickly). Perhaps others too, we need to test some old bugs
1102         to see if they have changed behavior.
1103         
1104         * libnautilus-extensions/nautilus-bonobo-extensions.c:
1105         (activation_handle_done), (activation_idle_callback),
1106         (activation_cancel), (oaf_activation_callback),
1107         (nautilus_bonobo_activate_cancel): Change implementation so that
1108         the actual callback happens at idle time, since CORBA callbacks
1109         can happen at almost any time.
1110         
1111         * libnautilus/Makefile.am:
1112         * libnautilus/nautilus-idle-queue.h:
1113         * libnautilus/nautilus-idle-queue.c: (execute_queued_functions),
1114         (nautilus_idle_queue_new), (nautilus_idle_queue_add),
1115         (nautilus_idle_queue_destroy): Factored out the idle queueing that
1116         I added to NautilusView so we can use it on the NautilusViewFrame
1117         side too.
1118         
1119         * libnautilus/nautilus-view.c: (queue_incoming_call),
1120         (nautilus_view_initialize), (nautilus_view_destroy): Change to use
1121         the new NautilusIdleQueue so we can share code.
1122         
1123         * src/nautilus-view-frame-private.h:
1124         * src/nautilus-view-frame-corba.c: (list_free_deep_callback),
1125         (free_location_and_selection_callback), (open_in_this_window),
1126         (open_prefer_existing_window), (open_force_new_window),
1127         (report_selection_change), (report_status),
1128         (report_load_underway), (report_load_progress),
1129         (report_load_complete), (report_load_failed), (set_title),
1130         (impl_Nautilus_ViewFrame_open_location_in_this_window),
1131         (impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
1132         (impl_Nautilus_ViewFrame_open_location_force_new_window),
1133         (impl_Nautilus_ViewFrame_report_selection_change),
1134         (impl_Nautilus_ViewFrame_report_status),
1135         (impl_Nautilus_ViewFrame_report_load_underway),
1136         (impl_Nautilus_ViewFrame_report_load_progress),
1137         (impl_Nautilus_ViewFrame_report_load_complete),
1138         (impl_Nautilus_ViewFrame_report_load_failed),
1139         (impl_Nautilus_ViewFrame_set_title): Deal with all incoming CORBA
1140         calls through the idle queue.
1141         
1142         * src/nautilus-view-frame.h: Moved all the fields into
1143         details. Renamed client_loaded to view_loaded. Renamed load_client
1144         to load_view. Eliminated load_client_sync. Renamed get_iid to
1145         get_view_iid. Eliminated get_is_underway. Added
1146         get_is_view_loaded.
1147         * src/nautilus-view-frame.c:
1148         (nautilus_view_frame_queue_incoming_call): Simple cover for
1149         putting an incoming CORBA call on the idle queue.
1150         (nautilus_view_frame_initialize_class): Change client_loaded
1151         signal name to view_loaded.
1152         (nautilus_view_frame_initialize): Allocate the idle queue.
1153         (stop_activation): New function that stops a load_view that is
1154         underway.
1155         (destroy_view): Use the "view" field to tell if a view was
1156         loaded. The old code used the "iid" field, but now we set that
1157         even before the load is completed.
1158         (nautilus_view_frame_destroy): Destroy the idle queue. Also put
1159         the view into "failed" state once it's destroyed so additional
1160         calls are harmless.
1161         (nautilus_view_frame_finalize): Check that we're in the failed
1162         state.
1163         (emit_zoom_parameters_changed): New function so we can share more
1164         code.
1165         (view_frame_activated): Emit the zoom_parameters_changed signal
1166         here since a new view should always should get this signal.
1167         (view_frame_underway): Make this do nothing in the failed case
1168         instead of complaining.
1169         (view_frame_loaded): Make this do nothing in the failed case
1170         instead of complaining.
1171         (view_frame_failed): Stop whatever's in progress when the view
1172         fails. Also, allow calling this on a view that's already failed.
1173         (check_if_view_is_gone): Consolidate the calls to
1174         deregister_dead_components so we don't need an explicit call here.
1175         (emit_zoom_parameters_changed_callback),
1176         (zoom_parameters_changed_callback),
1177         (emit_zoom_level_changed_callback), (zoom_level_changed_callback):
1178         Redo these so they queue onto the idle queue, since they are
1179         triggered by incoming CORBA calls that can happen at any time.
1180         (create_corba_objects): Factor out the part of the code that makes
1181         the CORBA objects. Make error handling more complete and keep
1182         around pointers to the Bonobo objects for various parts of the
1183         aggregate so we can connect the appropriate signal handlers.
1184         (attach_view): Change code so it no longer connects signals to the
1185         BonoboObjectClient, since the signals won't go out on that
1186         GtkObject. Connect to the exception signals for all objects in the
1187         aggregate (any failure means "view failed"). Also connect to the
1188         "destroy" signal for one object (doesn't matter which since the
1189         entire aggregate goes away at once) and to the zoom-related
1190         signals. Report errors with signals rather than returning a
1191         boolean.
1192         (activation_callback): Add code to handle failure case.
1193         (nautilus_view_frame_load_view): Renamed. Got rid of "sync."
1194         version.
1195         (nautilus_view_frame_stop): Stop OAF activation of the view if
1196         it's in progress.
1197         (nautilus_view_frame_selection_changed): Make it a quiet no-op to
1198         send a selection change notice if no view is loaded. This helps
1199         keep the code simple for sidebars. Later we may make the view
1200         frame responsible for sending the selection on once the view is
1201         loaded.
1202         (nautilus_view_frame_title_changed): Same change as for selection,
1203         same idea.
1204         (nautilus_view_frame_get_is_zoomable),
1205         (nautilus_view_frame_get_zoom_level),
1206         (nautilus_view_frame_set_zoom_level),
1207         (nautilus_view_frame_get_min_zoom_level),
1208         (nautilus_view_frame_get_max_zoom_level),
1209         (nautilus_view_frame_get_has_min_zoom_level),
1210         (nautilus_view_frame_get_has_max_zoom_level),
1211         (nautilus_view_frame_get_is_continuous),
1212         (nautilus_view_frame_get_preferred_zoom_levels),
1213         (nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
1214         (nautilus_view_frame_zoom_to_fit): Since a failed view has a
1215         zoomable_frame field set to NULL, got rid of all the explicit
1216         failure-case code for these functions.
1217         (nautilus_view_frame_get_view_iid): Renamed from get_iid. 
1218         (nautilus_view_frame_report_load_underway),
1219         (nautilus_view_frame_report_load_complete),
1220         (nautilus_view_frame_report_load_failed): Moved the "quiet"
1221         handling of failed views down into the underlying functions, so
1222         these no longer need explicit failure-case code.
1223         (nautilus_view_frame_set_label): It's OK to allow this even for a
1224         failed view.
1225         (nautilus_view_frame_map): Use a kept-around reference to the
1226         control frame instead of relying on query_local_interface.
1227         (nautilus_view_frame_get_is_view_loaded): Add this so callers can
1228         tell when a sidebar view is not yet loaded. Might not need this
1229         when we clean things up more, but it's no big deal either way.
1230         
1231         * src/nautilus-window-manage-views.c: (update_title): No need to
1232         send the title change to the new content view -- it gets a title
1233         change once it comes up "for real".
1234         (set_displayed_location): Handle location of NULL here so we don't
1235         need to worry about it elsewhere.
1236         (check_bookmark_location_matches): Remove "uri" from name.
1237         (location_has_really_changed): Now that the state machine is gone,
1238         it's easy to see that this is never called with pending_ni equal
1239         to cancel_tag, so remove the code for that and add an assert.
1240         (set_view_location_and_selection): New name for what was called
1241         update_view.
1242         (set_sidebar_panels_location_and_selection): Cover since this loop
1243         occurs in two places.
1244         (update_for_new_location_and_selection): New name for what was
1245         called set_view_location_and_selection. Since it's now clear this
1246         can't be called with new_content_view equal to NULL, remove the
1247         code to handle that (fixes bug 2457).
1248         (load_content_view): Use async. view loading here. Get rid of
1249         "Avoid being fooled by extra done notifications from the last
1250         view. This is a HACK because the state machine SUCKS." by
1251         eliminating the "cv_progress_done" and "cv_progress_error" flags
1252         altogether. In the case where we reuse the same view, just call
1253         update_for_new_location_and_selection -- the old code set
1254         "view_activation_complete", but I eliminated that flag.
1255         (handle_view_failure): Remove the old view using
1256         nautilus_window_set_content_view_widget instead of having
1257         duplicate code here. Use a call to cancel_location_change instead
1258         of setting the "reset_to_idle" and "cv_progress_error" flags
1259         (both gone now).
1260         (free_location_change): No need to clean up "error_views" any
1261         more, because that field is gone.
1262         (end_location_change): New helper to stop the throbber from
1263         throbbing and then free the location change state.
1264         (cancel_location_change): Get rid of special case for NULL
1265         location now that set_displayed_location can handle it.
1266         (nautilus_window_end_location_change_callback): Remove
1267         "superstitiously" added call to update_state and call
1268         load_content_view_for_new_location directly.
1269         (nautilus_window_begin_location_change): Use a call to
1270         cancel_location_change to deal with the possibility that we may
1271         have a change already in progress.
1272         (nautilus_window_stop_loading): Use cancel_location_change to stop
1273         the loading.
1274         (nautilus_window_set_content_view): Remove calls to update_state
1275         -- there's no state to update any more.
1276         (nautilus_window_set_sidebar_panels): Do an async. load here and
1277         finish the setup in the view_loaded callback.
1278         (failed_callback): Do a handle_view_failed right here, now that we
1279         have no state machine to satisfy.
1280         (load_underway_callback): Change code to handle the two
1281         interesting cases separately without a state machine. When the new
1282         content view says "underway", it's time for
1283         location_has_really_changed. When an existing content view says
1284         "underway", we restart the throbber (fixes 1/2 of bug 2461).
1285         (load_complete_callback): Since view frames now ensure we get an
1286         underway call before a complete call, we can simplify the
1287         logic. If the main content view says "complete", it's time to stop
1288         the throbber (fixes other 1/2 of bug 2461).
1289         (view_loaded_callback): Renamed the client_loaded callback. Also
1290         made it update location and selection for sidebar panels when they
1291         are loaded. Also made it update the title for any view when it's
1292         loaded.
1294         * src/nautilus-window.h:
1295         * src/nautilus-window.c: (nautilus_window_synch_view_as_menu):
1296         Handle case of NULL content view.
1297         (nautilus_window_set_content_view_widget): Destroy the view when
1298         it's going away instead of removing it from the parent. Also make
1299         this function handle the NULL case so we can use it to remove the
1300         old view, not just to add the new one.
1302         * libnautilus-extensions/nautilus-bonobo-extensions.h: Whitespace
1303         tweak.
1305         * src/nautilus-sidebar.c:
1306         (nautilus_sidebar_active_panel_matches_id): Update for
1307         nautilus_view_frame_get_view_iid name change.
1308         
1309 2001-01-29  Arik Devens  <arik@eazel.com>
1311         reviewed by: Ramiro Estrugo  <ramiro@eazel.com>
1313         Fixed bug 6122, Switching user levels always selects but does not
1314         necessarily display first category.
1315         
1316         * libnautilus-extensions/nautilus-preferences-box.c:
1317         (nautilus_preferences_box_destroy), (preferences_box_select_pane),
1318         (preferences_box_iterate_clist),
1319         (preferences_box_category_list_recreate): Added a new convience
1320         function to iterate through the category clist looking for a
1321         specific entry and return its row. Added the setting of the active
1322         row in the clist to the previously selected pane if it exists in
1323         your user level.
1325 2001-01-29  Gene Z. Ragan  <gzr@eazel.com>
1327         reviewed by: Pavel Cisler <pavel@eazel.com>
1329         Fixed bug 5508, Nautilus crashes when pressing 'Esc' in
1330         copy/duplicate progress dialog
1332         * libnautilus-extensions/nautilus-file-operations.c:
1333         (handle_close_callback), (create_transfer_dialog):
1334         Set the cancel state to true if the user uses the Escape key
1335         or close box to dismiss the dialog.  This will cancel the
1336         transfer properly.
1337         
1338 2001-01-29  Ramiro Estrugo  <ramiro@eazel.com>
1340         * libnautilus-extensions/nautilus-preferences-item.c:
1341         (preferences_item_create_boolean):
1342         Justify labels to the left.
1343         
1344 2001-01-29  Robey Pointer  <robey@eazel.com>
1346         * icons/Makefile.am:
1348         Un-revert some changes Andy accidentally reverted last week that
1349         cause the password-change view to display incorrectly.
1351 2001-01-29  Rebecca Schulman  <rebecka@eazel.com>
1353         reviewed by: Darin Adler <darin@eazel.com>
1355         * libnautilus-extensions/nautilus-program-choosing.c:
1356         Launch an application with a uri as a parameter for
1357         applications that accept uris for all locations, and 
1358         non-file parameters where applications expect 
1359         uris for non-file locations.  This fixes bug 4962,
1360         "Open with mpg123 fails for local files"
1361         * libnautilus-extensins/nautilus-file-utilities.h:
1362         * libnautilus-extensins/nautilus-file-utilities.c
1363         (nautilus_uri_get_scheme), (nautilus_uri_is_local_scheme):
1364         Add new uri_get_scheme function and fix a lack of 
1365         colons in the nautilus_uri_is_local_scheme function
1366         that was causing us to do a istr_has_prefix (uri, "file")
1367         to check if a uri was of scheme file.
1368         * libnautilus-extensions/nautilus-file.c: 
1369         (nautilus_file_get_uri_scheme) refactor the code in here
1370         to use the nautilus_uri_get_scheme function 
1372 2001-01-29  Ramiro Estrugo  <ramiro@eazel.com>
1374         reviewed by: Arik Devens  <arik@eazel.com>
1376         * libnautilus-extensions/nautilus-preferences-box.c:
1377         (nautilus_preferences_box_initialize),
1378         (preferences_box_select_pane),
1379         (preferences_box_category_list_recreate),
1380         (category_list_select_row_callback),
1381         (nautilus_preferences_box_update):
1382         Fix bug 6119 - Preferences pane is blank after changing user
1383         levels from advanced to beginner.  Whenever we recreate the
1384         category list, we update the selection.
1385                 
1386 2001-01-29  Gene Z. Ragan  <gzr@eazel.com>
1388         reviewed by: Pavel Cisler <pavel@eazel.com>
1389         
1390         Fixed bug 6098, mounting and unmounting a cdrom
1391         volume incorrectly reports error.
1392         
1393         * libnautilus-extensions/nautilus-volume-monitor.c:
1394         (close_error_pipe):
1395         Loop on read until we get an error or end of read.
1396         
1397         * src/file-manager/fm-desktop-icon-view.c:
1398         (create_unique_volume_name):
1399         Tweak the index so the created name accurately reflects
1400         the number of occurence the file is.
1401         
1402         Initial work on adding a GMC to Nautilus transition mechanism
1403         to the first time wizard.
1404         * src/nautilus-first-time-druid.c: (druid_finished),
1405         (convert_gmc_desktop_icons), (transition_value_changed),
1406         (set_up_gmc_transition_page), (nautilus_first_time_druid_show):
1407         
1408 2001-01-29  John Sullivan  <sullivan@eazel.com>
1410         reviewed by: Darin Adler <darin@eazel.com>
1412         Fixed bug 4427 (Should not execute text files by default).
1414         Now it asks whether to run or display executable text files.
1415         Advanced users can set a new preference.
1417         * libnautilus-extensions/nautilus-stock-dialogs.h:
1418         * libnautilus-extensions/nautilus-stock-dialogs.c:
1419         (create_message_box): New bottleneck function, contains former
1420         guts of show_message_box but doesn't call gtk_widget_show.
1421         (show_message_box): Now just a simple wrapper for 
1422         calling create_message_box and showing the result.
1423         (nautilus_show_info_dialog), (nautilus_show_warning_dialog), 
1424         (nautilus_show_error_dialog), (nautilus_show_yes_no_dialog), 
1425         (nautilus_show_error_dialog_with_details):
1426         Renamed to add verb "show" to names.
1427         (nautilus_run_simple_dialog): Renamed to add verb "run" to name.
1428         (nautilus_create_question_dialog): New public function, does
1429         not show the dialog yet so caller can add more buttons or
1430         whatever before showing.
1432         * libnautilus-extensions/nautilus-global-preferences.h:
1433         * libnautilus-extensions/nautilus-global-preferences.c:
1434         (global_preferences_install_descriptions),
1435         (global_preferences_install_defaults),
1436         (global_preferences_install_visibility),
1437         (global_preferences_create_dialog): Add new preference for
1438         what to do when an executable text file is activated. It
1439         defaults to "Ask" and is visible only at Advanced level.
1441         * libnautilus-extensions/nautilus-file-private.h:
1442         * libnautilus-extensions/nautilus-file.h: Moved
1443         nautilus_file_contains_text into public header.
1444         
1445         * src/file-manager/fm-directory-view.c:
1446         (get_executable_text_file_action): New function, uses preference
1447         and dialog (if necessary) to determine how to handle activating
1448         an executable text file.
1449         (activate_callback): Now handles executable text files specially
1450         by using get_executable_text_file_action. Restructured the control
1451         flow a little.
1453         * components/music/nautilus-music-view.c: (set_album_cover),
1454         (play_current_file), (nautilus_music_view_update):
1455         * components/rpmview/nautilus-rpm-view-install.c:
1456         (nautilus_rpm_view_install_done):
1457         * components/services/summary/nautilus-view/nautilus-summary-dialogs.c: 
1458         (nautilus_summary_login_failure_dialog),
1459         (generate_error_dialog):
1460         * components/text/nautilus-text-view.c: (file_read_callback):
1461         * libnautilus-extensions/nautilus-file-operations.c:
1462         (confirm_empty_trash),
1463         (handle_transfer_vfs_error), (handle_transfer_overwrite),
1464         (nautilus_file_operations_copy_move),
1465         (handle_new_folder_vfs_error),
1466         (nautilus_file_operations_move_to_trash):
1467         * libnautilus-extensions/nautilus-icon-dnd.c:
1468         (confirm_switch_to_manual_layout):
1469         * libnautilus-extensions/nautilus-program-chooser.c:
1470         (nautilus_program_chooser_show_no_choices_message):
1471         * libnautilus-extensions/nautilus-program-choosing.c:
1472         (nautilus_launch_application):
1473         * libnautilus-extensions/nautilus-volume-monitor.c:
1474         (display_mount_status):
1475         * src/file-manager/fm-desktop-icon-view.c:
1476         (icon_view_create_nautilus_links):
1477         * src/file-manager/fm-directory-view.c:
1478         (fm_directory_view_confirm_multiple_windows),
1479         (real_file_limit_reached), (fm_directory_view_confirm_deletion),
1480         (confirm_delete_from_trash), (report_broken_symbolic_link),
1481         * src/file-manager/fm-error-reporting.c:
1482         (fm_report_error_renaming_file), (fm_report_error_setting_group),
1483         (fm_report_error_setting_owner),
1484         (fm_report_error_setting_permissions):
1485         * src/file-manager/fm-properties-window.c: (set_custom_image):
1486         * src/file-manager/fm-search-list-view.c: (load_location_callback),
1487         (load_error_callback), (display_indexed_search_problems_dialog),
1488         (real_file_limit_reached):
1489         * src/file-manager/nautilus-indexing-info.c:
1490         (update_file_index_callback),
1491         (show_search_service_not_available_dialog):
1492         * src/nautilus-application.c: (check_required_directories),
1493         (nautilus_application_startup):
1494         * src/nautilus-location-bar.c: (drag_data_received_callback):
1495         * src/nautilus-property-browser.c: (remove_pattern),
1496         (remove_emblem), (emblem_image_file_changed),
1497         (add_pattern_to_browser), (add_color_to_browser),
1498         (emblem_dialog_clicked):
1499         * src/nautilus-sidebar.c: (receive_dropped_uri_list):
1500         * src/nautilus-theme-selector.c: (add_theme_to_icons),
1501         (theme_select_row_callback):
1502         * src/nautilus-window-manage-views.c: (handle_unreadable_location),
1503         (report_content_view_failure_to_user_internal),
1504         (report_sidebar_panel_failure_to_user),
1505         (nautilus_window_end_location_change_callback):
1506         * src/nautilus-window-menus.c: (forget_history_if_confirmed),
1507         (show_bogus_bookmark_window): Updated for dialog API name changes.
1509         * libnautilus-extensions/nautilus-file.c: (get_description):
1510         Lucky Aaron gets missing mime description complaints now.
1512 2001-01-29  Michael Engber  <engber@eazel.com>
1514         * libnautilus-extensions/nautilus-background.c:
1515         (nautilus_background_draw):
1516         Allocate buffer when needed rather than keeping it around.
1518 2001-01-29  Ramiro Estrugo  <ramiro@eazel.com>
1520         reviewed by: Arik Devens  <arik@eazel.com>
1522         Bug fixes.
1524         5776 - Preferences dialog layout updates incorrectly after
1525         switching user level.
1527         5791 - Preference section title are visible even when section is
1528         empty.
1529         
1530         * libnautilus-extensions/nautilus-preferences-box.h:
1531         * libnautilus-extensions/nautilus-preferences-box.c:
1532         (nautilus_preferences_box_initialize_class),
1533         (nautilus_preferences_box_initialize),
1534         (nautilus_preferences_box_destroy), (preferences_box_select_pane),
1535         (preferences_box_category_list_recreate), (pane_info_new),
1536         (pane_info_free), (category_list_select_row_callback),
1537         (nautilus_preferences_box_new),
1538         (nautilus_preferences_box_add_pane),
1539         (nautilus_preferences_box_update):
1540         Lots of cleanup.  Fix typos in many class macros and methods.
1541         Comply with the Nautilus style more.  Remove unused code.
1543         Recreate the category list whenever the preference box gets
1544         updated in order to honor user level visibilities.
1546         * libnautilus-extensions/nautilus-preferences-dialog.h:
1547         * libnautilus-extensions/nautilus-preferences-dialog.c:
1548         (nautilus_preferences_dialog_destroy),
1549         (nautilus_preferences_dialog_get_prefs_box),
1550         (nautilus_preferences_dialog_update),
1551         (user_level_changed_callback):
1552         Fix class macros typos.
1553         
1554         * libnautilus-extensions/nautilus-preferences-group.h:
1555         * libnautilus-extensions/nautilus-preferences-group.c:
1556         (nautilus_preferences_group_get_num_visible_items):
1557         Fix misspelled method.
1558         
1559         * libnautilus-extensions/nautilus-preferences-pane.h:
1560         * libnautilus-extensions/nautilus-preferences-pane.c:
1561         (nautilus_preferences_pane_destroy),
1562         (nautilus_preferences_pane_set_title),
1563         (nautilus_preferences_pane_set_description),
1564         (nautilus_preferences_pane_add_group),
1565         (nautilus_preferences_pane_add_item_to_nth_group),
1566         (nautilus_preferences_pane_update),
1567         (nautilus_preferences_pane_get_num_visible_groups):
1568         Lots of cleanup.  Remove unused and crufty code.  Made the widget
1569         a lot simpler.
1570         
1571 2001-01-29  Arik Devens  <arik@eazel.com>
1573         reviewed by: Maciej Stachowiak <mjs@eazel.com>
1575         Fixed bug 5627, Preferences window needs better sizing.
1576         
1577         * libnautilus-extensions/nautilus-preferences-box.c:
1578         (prefs_box_construct), (prefs_box_select_pane),
1579         (nautilus_preferences_box_add_pane): Added a notebook view to put
1580         the preference panes in. Removed hiding and showing of panes.
1581         libnautilus-extensions/nautilus-preferences-dialog.c:
1582         (nautilus_preferences_dialog_construct): Added setting of default
1583         size to the preferences dialog for the default font size.
1584         libnautilus-extensions/nautilus-preferences-dialog.h:
1585         libnautilus-extensions/nautilus-preferences-pane.c:
1586         (prefs_pane_construct), (nautilus_preferences_pane_add_group):
1587         Added showing of preference panes on creation so that the notebook
1588         view sizes correctly.
1590 2001-01-27  Gene Z. Ragan  <gzr@eazel.com>
1592         Added logic to handle volume mount name collisions.
1593         Check for possible filename collison on desktop and create
1594         unique alternate names for mounted devices.
1595         
1596         * libnautilus-extensions/nautilus-volume-monitor.c:
1597         * libnautilus-extensions/nautilus-volume-monitor.h:
1599         (nautilus_volume_monitor_get_volume_name),
1600         (modify_volume_name_for_display), (update_modifed_volume_name),
1601         (mount_lists_are_identical), (verify_current_mount_state),
1602         (nautilus_volume_monitor_set_volume_name),
1603         (get_iso9660_volume_name), (get_ext2_volume_name),
1604         (get_msdos_volume_name), (get_nfs_volume_name),
1605         (get_floppy_volume_name), (get_generic_volume_name):
1606         
1607         * src/file-manager/fm-desktop-icon-view.c:
1608         (create_unique_volume_name), (create_mount_link),
1609         (volume_unmounted_callback):
1611 Fri Jan 26 23:58:42 2001  George Lebl <jirka@5z.com>
1613         Holy piss sprinkled on this by Arik <arik@eazel.com>
1615         * components/adapter/main.c (main)
1616           components/help/hyperbola-main.c (main)
1617           components/image-viewer/nautilus-image-view.c (init_server_factory)
1618           components/mozilla/main.c (main)
1619           components/music/main.c (main)
1620           components/notes/nautilus-notes.c (main)
1621           components/services/install/nautilus-view/main.c (main)
1622           components/services/inventory/main.c (main)
1623           components/services/login/nautilus-view/main.c (main)
1624           components/services/summary/nautilus-view/main.c (main)
1625           components/shell/shell.c (init_bonobo)
1626           components/text/main.c (main)
1627           components/throbber/main.c (main)
1628           components/tree/main.c (main)
1629           libnautilus/nautilus-view-standard-main.c
1630           (nautilus_view_standard_main_multi):
1631           Add gnome_client_disable_master_connection call to all out of
1632           process component main functions since they should not register
1633           with the session manager.  Fixes bug #6051
1635 2001-01-26  Seth Nickell  <seth@eazel.com>
1637         * icons/eazel/sidebar_tab_pieces/.cvsignore:
1638         And another .cvsignore entry...
1639         
1640 2001-01-26  Seth Nickell  <seth@eazel.com>
1642         * icons/eazel/.cvsignore:
1643         * icons/vector/.cvsignore:
1644         Added Makefile and Makefile.in to the ignore file
1645         
1646         * libnautilus-extensions/nautilus-mime-actions.c:
1647         (application_supports_uri_scheme):
1648         Add a cast to gpointers being passed to strcmp to
1649         satisfy C++-ish compilers
1651 2001-01-26  Pavel Cisler  <pavel@eazel.com>
1653         reviewed by: Gene Z. Ragan <gzr@eazel.com>
1655         Fix 5352 (Tab Order messed up by "Layout" order of folder)
1656         Fix 5478 (Icon view tab order doesn't follow the layout order)
1657         * libnautilus-extensions/nautilus-icon-container.c: (sort_icons),
1658         (compare_icons_by_name), (sort_icons_by_name),
1659         (build_icon_list_sorted_by_name), (select_previous_or_next_name),
1660         (nautilus_icon_container_initialize_class):
1661         * libnautilus-extensions/nautilus-icon-container.h:
1662         * src/file-manager/fm-icon-view.c:
1663         (icon_container_compare_icons_callback),
1664         (icon_container_compare_icons_by_name_callback),
1665         (create_icon_container):
1666         Add a new signal "compare_icons_by_name" that circumvents the
1667         selected sort order and sort kind in a window and uses the unmollested
1668         sort by name function.
1669         Hook up the select-previous/next function to use the sort-by-name
1670         call instead of nautilus_strcoll.
1671         
1672 2001-01-26  Gene Z. Ragan  <gzr@eazel.com>
1674         Fixed bug 5747, Nautilus freezes while mounting a device
1675         
1676         There were several issues here.  The first involved the use
1677         of popen to call the mount/umount command. If a mount/umount
1678         call causes a lengthy response, such as a hard drive spinning
1679         up, it would block the UI.  I changed the code to spawn a thread
1680         and schedule a gtk_idle to display feedback if any was generated.
1681         I also create a thread to call eject, instead of using a possibly
1682         blocking ioctl call. Another benefir of this is that we now have
1683         a more flexible eject mechanism. Zip drives and other removable
1684         media can no wbe ejected.  In the course of making these changes,
1685         another issue was found.  The dynamic creation of the removable
1686         volumes menus was causing a UI lock up.  I get around this by
1687         creating a list of removable volumes at volume monitor initialization
1688         instead of a dynamic list.  The downside of this is that any new
1689         entries added to the fstab while Nautilus is running will be overlooked.
1690         We will have to monitor the file in the future to work around this issue.
1691         
1692         * libnautilus-extensions/nautilus-volume-monitor.c:
1693         * libnautilus-extensions/nautilus-volume-monitor.h:
1694         (nautilus_volume_monitor_initialize),
1695         (nautilus_volume_monitor_destroy),
1696         Add and cleanup list of removable volumes.
1697         
1698         (nautilus_volume_monitor_volume_is_removable):
1699         Check is_removable filed of volume.
1700         
1701         (nautilus_volume_monitor_get_removable_volumes):
1702         Return const pointer to monitor's removable volume list.
1703         
1704         (get_removable_volumes):
1705         Contruct list of removable volumes
1706         
1707         (volume_is_removable), (volume_is_read_only):
1708         New functions that check against fstab to see if the volume
1709         is removable and read-only.
1711         (eject_device):
1712         New threaded eject function.
1713         
1714         (mount_volume_deactivate),
1715         (mount_volume_floppy_add), (mount_volume_iso9660_add),
1716         (display_mount_status), (close_error_pipe),
1717         (nautilus_volume_monitor_mount_unmount_removable),
1718         (mount_volume_add_filesystem):
1719         
1720         (mount_unmount_callback):
1721         Thread function to mount/umount
1722         
1723         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
1724         (update_disks_menu):
1726 2001-01-26  Maciej Stachowiak  <mjs@eazel.com>
1728         * src/nautilus-window-manage-views.c
1729         (disconnect_and_destroy_sidebar_panel): Hold a ref on the widget
1730         to avoid it being finalized before we can destroy it.
1732 2001-01-26  Andy Hertzfeld  <andy@eazel.com>
1734         * libnautilus-extensions/nautilus-icon-dnd.c:
1735         (nautilus_icon_container_item_at):
1736         fixed bug 5750, accepting drops by folders quirky at zoom levels
1737         below 100%. The problem was that nautilus_icon_container_item_at
1738         was constructing a single pixel rectangle for hit-testing, that
1739         sometimes turned into a zero pixel rectangle when scaled down,
1740         depending on how things rounded off.  Fixed by using the
1741         canvas scale factor when building the rectangle, ensuring that
1742         it never becomes empty.
1743         
1744 2001-01-26  Rebecca Schulman  <rebecka@eazel.com>
1745         Fix bugs 4094, 4425, 5201 and 4106 about inappopriate
1746         applications being offered to view remote files.
1747         This change filters applications that don't support
1748         a uri scheme from a file's short list.
1750         reviewed by: Pavel Cisler <pavel@eazel.com>
1752         * libnautilus-extensions/nautilus-mime-actions.c:
1753         (nautilus_mime_actions_get_minimum_file_attributes),
1754         (nautilus_mime_get_short_list_applications_for_file),
1755         (application_supports_uri_scheme):
1756         Filter out applications from the short list that do not
1757         support the uri scheme for the file in question.
1758         * libnautilus-extensions/nautilus-program-choosing.c:
1759         (nautilus_launch_application):
1760         Change "can_open_uris" to "expects_uris" to go along with
1761         the gnome vfs change
1762         * test/test-nautilus-mime-actions.c: (append_comma_and_scheme),
1763         (format_supported_uri_schemes_for_display), (print_application):
1764         update the tests similarly to the way the gnome-vfs tests were
1765         updated, so that all of the fields of the GnomeVFSMimeApplication
1766         structure are correctly printed.
1768         * libnautilus-extensions/nautilus-glib-extensions.c:
1769         Correct spelling and naming error in a comment
1770         
1771 2001-01-25  Darin Adler  <darin@eazel.com>
1773         reviewed by: John Sullivan <sullivan@eazel.com>
1775         Some preparation work for doing async. activation. This amounts
1776         to another pass cleaning up the legendary "state machine" as well
1777         as some other cleanups in the async. activation code.
1779         * libnautilus-extensions/nautilus-bonobo-extensions.h:
1780         * libnautilus-extensions/nautilus-bonobo-extensions.c:
1781         (oaf_activation_callback), (nautilus_bonobo_activate_from_id),
1782         (nautilus_bonobo_activate_cancel): Fix interface of activation to
1783         be cleaner. Also handle case where callback is called right away.
1785         Add queuing to NautilusView so that all incoming CORBA calls are
1786         dispatched at idle time. This can fix some otherwise-difficult
1787         re-entrancy problems. The widget destroy call can still come in at
1788         any time though. Also this same fix may be needed for the
1789         NautilusViewFrame side.
1790         
1791         * libnautilus/nautilus-view.h:
1792         * libnautilus/nautilus-view.c: (execute_queued_calls): Function
1793         to dequeue and execute calls.
1794         (dequeue_calls_at_idle): Cover to call it at idle time.
1795         (discard_queued_calls): Discard calls without executing them, for
1796         use at destroy time.
1797         (queue_incoming_call): Simple cover to queue and schedule an
1798         idle-time dequeue pass.
1799         (nautilus_g_list_from_uri_list): Need to make a full copy, not
1800         a shallow copy, now that we are queuing things for a hile.
1801         (call_load_location), (call_stop_loading),
1802         (call_selection_changed), (call_title_changed),
1803         (call_history_changed): Simple functions that get queued.
1804         (list_deep_free_cover): GDestroyNotify-compatible function for one
1805         destroy case.
1806         (history_dup): Function to copy the history list, since that is
1807         now queued instead of used right away.
1808         (impl_Nautilus_View_load_location),
1809         (impl_Nautilus_View_stop_loading),
1810         (impl_Nautilus_View_selection_changed),
1811         (impl_Nautilus_View_title_changed),
1812         (impl_Nautilus_View_history_changed): Change these all to queue
1813         the incoming call instead of doing work right away.
1814         (nautilus_view_destroy): Discard the queue.
1815         
1816         * src/nautilus-view-frame-corba.c:
1817         (impl_Nautilus_ViewFrame_open_location_force_new_window),
1818         (impl_Nautilus_ViewFrame_report_selection_change): These calls now
1819         use the deep copy, since the shallow one is no longer available.
1820         This is good since we probably will be doing queuing here later,
1821         so we'll need the deep copy.
1822         
1823         * src/nautilus-view-frame.h:
1824         * src/nautilus-view-frame.c:
1825         (nautilus_view_frame_initialize_class): Set up a map default signal
1826         handler to activate the control. This is better than the old way,
1827         where we had an explicit call to do it.
1828         (nautilus_view_frame_destroy_client): Remove unused
1829         CORBA_Environment.
1830         (view_frame_activated): Remove unneeded ACTIVATING state. Also
1831         send the client_loaded signal in here, so you can't "forget".
1832         (view_frame_wait), (view_frame_underway),
1833         (view_frame_wait_is_over), (view_frame_loaded),
1834         (view_frame_failed): Remove unneeded ACTIVATING state.
1835         (check_if_view_is_gone): Simplify logic and make sure to check the
1836         value of the exception and not just the function result.
1837         (attach_client): Fix CORBA_Exception that was allocated twice and
1838         that could also be allocated and not freed in some cases.
1839         (activation_callback), (nautilus_view_frame_load_client_async):
1840         Better names, use new API, still not tested.
1841         (nautilus_view_frame_load_client): Get rid of function result and
1842         use unified interface for telling about success and failure so that
1843         sync. and async. interfaces will be the same.
1844         (nautilus_view_frame_stop): Renamed this single function, which
1845         will soon stop either activation that's in process or loading
1846         that's in process with a single call. For now it's just the same
1847         as the old stop_loading call.
1848         (nautilus_view_frame_map): New override to activate the control.
1849         This replaces the old explicit activate call.
1850         (send_history), (nautilus_view_frame_get_is_underway): Remove
1851         unneeded ACTIVATING state.
1853         * src/nautilus-window.h:
1854         * src/nautilus-window-manage-views.c:
1855         (location_has_really_changed): Assume that new_content_view is not
1856         NULL. The old code was trying to be inappropriately "general".
1857         (disconnect_destroy_unref_view): Remove now-unused function.
1858         (load_content_view): Don't use a return value any more, since it's
1859         important to set up new_content_view before any signals happen.
1860         Get rid of code that handles failure right at the start, since
1861         we now get all failures through the signal handler.
1862         (handle_view_failure): Add FIXME comments. Minor refactoring.
1863         (cancel_location_change): Eliminated now-uneeded views_shown and
1864         view_bombed_out booleans.
1865         (load_view_for_new_location): New load_content_view doesn't return
1866         a value any more.
1867         (update_state): Changed this to be a loop instead of returning a
1868         boolean and always being called in a loop. Also simplified logic
1869         so that views_shown and view_bombed_out aren't needed any more.
1870         (nautilus_window_end_location_change_callback): Use update_state
1871         directly instead of calling the old clunky change_state cover.
1872         (nautilus_window_begin_location_change): Use update_state directly
1873         instead of calling the old clunky change_state cover.
1874         (stop_loading): Call the new simple nautilus_view_frame_stop
1875         instead of nautilus_view_frame_stop_loading.
1876         (natuilus_window_stop_loading): Use update_state directly instead
1877         of calling the old clunky change_state cover.
1878         (nautilus_window_set_content_view): Use update_state directly instead
1879         of calling the old clunky change_state cover.
1880         (nautilus_window_set_sidebar_panels): Handle failures with
1881         callback instead of looking at return value (which no longer
1882         exists).
1883         (client_loaded_callback): Add this new callback that's done when
1884         the view is activated and ready to go.
1885         (failed_callback): Use update_state directly instead of calling
1886         the old clunky change_state cover.
1887         (load_underway_callback): Use update_state directly instead of
1888         calling the old clunky change_state cover.
1889         (load_complete_callback): Use update_state directly instead of
1890         calling the old clunky change_state cover.
1892         * src/nautilus-window.c:
1893         (nautilus_window_set_content_view_widget): Get rid of explicit
1894         activation, no longer needed now that NautilusViewFrame handles it
1895         directly.
1896         
1897         * test/test-nautilus-async-activation.c: (activation_callback),
1898         (main): Change to use new async. API.
1899         
1900         * user-guide/gnufdl/.cvsignore: Add to ignore some missing files.
1902 2001-01-25  Maciej Stachowiak  <mjs@eazel.com>
1904         * src/nautilus-window-manage-views.c
1905         (disconnect_and_destroy_sidebar_panel): Fix build (I suck).
1907 2001-01-25  Maciej Stachowiak  <mjs@eazel.com>
1909         reviewed by: John Harper  <jsh@eazel.com>
1911         Fix bug 5997 (Segmentation fault when enabling then disabling tree
1912         panel) two different ways (one is useful for future robustness).
1913         
1914         * components/tree/nautilus-tree-expansion-state.c: Move expansion
1915         state preference from "sidebar-panels/tree/expansion_state" to
1916         "tree-sidebar-panel/expansion_state" to avoid making Nautilus
1917         think the set of active sidebar panels is changing when this
1918         setting gets set.
1919         
1920         * src/nautilus-window-manage-views.c: (handle_view_failure,
1921         nautilus_window_set_sidebar_panels): Call
1922         `disconnect_and_destroy_sidebar_panel' instead of
1923         `disconnect_view_and_destroy' followed by
1924         `nautilus_window_remove_sidebar_panel', which left the possibility
1925         of an inconsistent state where a destroyed view is in the sidebar
1926         panel list.
1927         (disconnect_and_destroy_sidebar_panel): New function that
1928         disconnects signal handlers, removes the sidebar panel from the
1929         window, and then finally destroys it, to avoid the possibility of
1930         the sidebar panel list being in an inconsistent state.
1932 2001-01-24  Maciej Stachowiak  <mjs@eazel.com>
1934         Merging Mike Fleming's partial fix for 5968 from branch. This
1935         updates all the user agent strings in Nautilus.
1937         2001-01-24  Mike Fleming  <mfleming@eazel.com>
1939                 reviewed by: <robey@eazel.com>
1941                 User-Agent Changes for PR3
1943                 "Trilobite/" --> "Trilobite/0.2.0"
1944                 "Nautilus/1.0" (in the Mozilla User-Agent) --> "Nautilus/1.0PR3"
1946                 * components/mozilla/nautilus-mozilla-content-view.c:
1947                 (mozilla_content_view_one_time_happenings):
1948                 * components/services/install/lib/eazel-install-protocols.c:
1949                 (http_fetch_remote_file),
1950                 (eazel_install_fetch_definitive_package_info):
1951                 * components/services/install/lib/eazel-softcat.c:
1952                 (eazel_softcat_get_info):
1953                 * components/services/inventory/eazel-inventory-service.c:
1954                 (impl_Trilobite_Eazel_Inventory_upload):
1955                 * components/services/trilobite/libtrilobite/Makefile.am:
1956                 * components/services/trilobite/libtrilobite/trilobite-core-network
1957                 -slim.c: (trilobite_fetch_uri):
1958                 * components/services/trilobite/libtrilobite/trilobite-core-network
1959                 .c: (trilobite_open_uri):
1960                 * components/services/trilobite/libtrilobite/trilobite-core-utils.c
1961                 : (trilobite_get_useragent_string):
1962                 * components/services/trilobite/libtrilobite/trilobite-core-utils.h
1963                 :
1965         
1966 2001-01-25  Robey Pointer  <robey@eazel.com>
1968         * components/services/install/command-line/.cvsignore:
1970         Remove cruft.
1971         
1972         * components/services/install/idl/trilobite-eazel-install.idl:
1973         * components/services/install/lib/eazel-install-corba-types.c:
1974         (corba_packagedatastruct_from_packagedata),
1975         (packagedata_from_corba_packagedatastruct):
1976         * components/services/install/lib/eazel-install-xml-package-list.c:
1977         (osd_parse_implementation):
1978         * components/services/install/lib/eazel-package-system-types.c:
1979         (packagedata_initialize), (packagedata_finalize),
1980         (packagedata_copy), (packagedata_fill_in_missing),
1981         (packagedata_dump_int):
1982         * components/services/install/lib/eazel-package-system-types.h:
1984         Add "filesize" item to the PackageData struct, and the corba one,
1985         and parse it out of the softcat XML.
1986         
1987         * components/services/install/lib/eazel-install-logic2.c:
1988         (eazel_install_check_existing_packages), (dedupe_foreach_depends),
1989         (is_satisfied):
1990         * components/services/install/lib/eazel-softcat.c:
1991         (remove_directories_from_provides_list):
1992         * components/services/install/nautilus-view/nautilus-service-instal
1993         l-view.c: (install_message_new), (generate_install_form):
1995         Retrofit some PR3 patches to the trunk.
1996         
1997         * components/services/install/lib/eazel-package-system.c:
1998         (eazel_package_system_matches_versioning):
2000         Compress Eskil's package version comparison function into
2001         something a bit smaller and easier to follow for mere mortals like
2002         myself. :)
2003         
2004         * nautilus-installer/src/installer.c: (create_install_page),
2005         (eazel_install_progress), (eazel_download_progress),
2006         (get_detailed_errors_foreach), (get_detailed_errors),
2007         (download_failed), (eazel_install_preflight),
2008         (eazel_install_dep_check):
2009         * nautilus-installer/src/installer.h:
2010         * nautilus-installer/src/main.c: (segv_handler), (main):
2011         * nautilus-installer/src/prescript:
2013         First bit of 1.0 installer fixes: Bring it up to speed with
2014         changes in the install library.
2016 2001-01-25  Pavel Cisler  <pavel@eazel.com>
2018         reviewed by: Michael Engber  <engber@eazel.com>
2020         Fix 5879 (Close copy source & destination windows -> crash at
2021                   end of copy operation).
2023         * libnautilus-extensions/nautilus-directory-metafile.c:
2024         (nautilus_directory_remove_file_metadata):
2025         Merge a fix from PR3 branch.
2026         
2027         * libnautilus-extensions/nautilus-gtk-extensions.c:
2028         (null_the_reference), (nautilus_gtk_null_reference_if_destroyed),
2029         (nautilus_gtk_stop_null_reference_if_destroyed):
2030         * libnautilus-extensions/nautilus-gtk-extensions.h:
2031         Add new magic calls that set up a reference to get nulled out
2032         when the object it points to is destroyed.
2034         * libnautilus-extensions/nautilus-file-operations.c:
2035         (transfer_info_new), (transfer_info_destroy),
2036         (handle_transfer_ok), (nautilus_file_operations_copy_move),
2037         (nautilus_file_operations_move_to_trash),
2038         (nautilus_file_operations_delete), (do_empty_trash):
2039         Null out a saved reference to the parent window so
2040         that we don't try to use it after the window gets closed.
2041         Clean up creation and destruction of TransferInfo.
2042         
2043         * libnautilus-extensions/nautilus-file-operations.c:
2044         (handle_transfer_ok):
2045         Fix a case where TransferInfo could get leaked.
2046         
2047         * libnautilus-extensions/nautilus-file-operations.c:
2048         (new_folder_transfer_callback),
2049         (nautilus_file_operations_new_folder):
2050         Rework to make deleting of NewFolderTransferState cleaner.
2051         Set up parent_view to get nulled out when the view gets closed.
2052         
2053         * libnautilus-extensions/nautilus-preferences-dialog.c:
2054         (dialog_clicked), (dialog_show), (dialog_destroy),
2055         Tweaks. Get rid of unneeded casts.
2057         * src/nautilus-property-browser.c: (add_new_pattern),
2058         (show_color_selection_window), (add_new_color), (add_new_emblem):
2059         * src/nautilus-theme-selector.c: (add_new_theme_button_callback):
2060         * src/nautilus-view-frame-corba.c:
2061         (impl_Nautilus_ViewFrame__destroy),
2062         (impl_Nautilus_ViewFrame__create):
2063         Use new magic calls to null out references.
2064         
2065         * src/nautilus-property-browser.c:
2066         (nautilus_property_browser_destroy):
2067         Disconnect from the destroy-watching signal.
2069         * libnautilus-extensions/nautilus-icon-container.c:
2070         (set_pending_icon_to_reveal):
2071         (nautilus_preferences_dialog_construct):
2072         * src/file-manager/fm-directory-view.c: (copy_move_done_data_free),
2073         (pre_copy_move), (copy_move_done_partition_func),
2074         (copy_move_done_callback):
2075         Use new magic calls to null out references.
2076         Fix a memory trasher where CopyMoveDoneData was being destroyed too
2077         early.
2079 2001-01-25  Gene Z. Ragan  <gzr@eazel.com>
2081         Fixed bug 5981, Desktop Eazel-Services link won't work without
2082         Mozilla installed
2083                 
2084         * src/nautilus-first-time-druid.c: (druid_finished):
2085         Use the eazel: protocol instead of the http: services
2086         URI.
2087         
2088 2001-01-25  Gene Z. Ragan  <gzr@eazel.com>
2090         reviewed by: Pavel Cisler <pavel@eazel.com>
2091         
2092         Fixed bug 6002, programs run from Nautilus Link files leave zombie processes
2094         * libnautilus-extensions/nautilus-gnome-extensions.c:
2095         * libnautilus-extensions/nautilus-gnome-extensions.h:
2096         (nautilus_gnome_shell_execute):
2097         Rename function and make it available to outside callers
2098         
2099         (nautilus_gnome_open_terminal):
2100         Rename function calls to nautilus_gnome_shell_execute
2101         
2102         * src/file-manager/fm-directory-view.c: (activate_callback):
2103         Call nautilus_gnome_shell_execute instaed of calling forking
2104         and calling exec.  Using nautilus_gnome_shell_execute does the
2105         right thing and avoids creating zombie processes.
2107 2001-01-25  John Harper  <jsh@eazel.com>
2109         reviewed by: Pavel Cisler <pavel@eazel.com>
2111         Fix bug 5590 (List view uses anti-aliased graphics always)
2113         * src/file-manager/fm-list-view.c
2114         (fm_list_view_update_smooth_graphics_mode): new function, put
2115         into the FMDirectoryView method table, and called by
2116         set_up_list ()
2118         * libnautilus-extensions/nautilus-list.c (NautilusListDetails):
2119         added an `anti_aliased_mode' boolean field
2121         (draw_cell_pixbuf): support both normal and anti-aliased
2122         drawing styles
2124         * libnautilus-extensions/nautilus-list.[ch]
2125         (nautilus_list_set_anti_aliased_mode): new function
2127         * libnautilus-extensions/nautilus-list.c
2128         (nautilus_list_set_single_click_mode): call
2129         gtk_widget_queue_draw () on the list widget. Fixes the
2130         (unfiled?) bug where toggling the `Activate items with a foo
2131         click' doesn't immediately change how the list view is drawn
2133 2001-01-25  John Sullivan  <sullivan@eazel.com>
2135         reviewed by: Darin Adler <darin@eazel.com>
2137         Fixed bug 5569 (Desktop should not show up in history list)
2139         I also prevented Control-B on the desktop from adding the
2140         desktop to the Bookmarks list.
2142         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
2143         overrode command "Add Bookmark" to be insensitive.
2144         
2145         * src/nautilus-window.h: Declare function pointer for
2146         add_current_location_to_history_list.
2148         * src/nautilus-window-private.h: Declare private function
2149         nautilus_window_add_current_location_to_history_list.
2151         * src/nautilus-window.c: 
2152         (nautilus_window_initialize_class),
2153         (real_add_current_location_to_history_list): Fill in
2154         add_current_location_to_history_list function pointer
2155         with simple function.
2156         (nautilus_window_add_current_location_to_history_list):
2157         wrapper for calling the new virtual function.
2158         (nautilus_forget_history):
2159         Call nautilus_window_add_current_location_to_history_list
2160         where it was doing the work directly, to get the indirection.
2161         
2162         * src/nautilus-window-manage-views.c: (update_for_new_location):
2163         Call nautilus_window_add_current_location_to_history_list
2164         where it was doing the work directly, to get the indirection.
2166         * src/nautilus-desktop-window.c:
2167         (nautilus_desktop_window_initialize_class),
2168         (real_add_current_location_to_history_list): Override
2169         add_current_location_to_history_list to do nothing.
2171 2001-01-25  Michael Engber  <engber@eazel.com>
2173         reviewed by: John Harper
2175         * libnautilus-extensions/nautilus-directory-background.c:
2176         (initialize_background_from_settings),
2177         (saved_settings_changed_callback),
2178         (nautilus_connect_background_to_file_metadata):
2179         Fixed trying to set the background on a window before it was realized. 
2181 2001-01-25  Mike Fleming  <mfleming@eazel.com>
2183         reviewed by: <sullivan@eazel.com>
2185         Bug 6032: summary view was crashing because widget was being
2186         destroyed during finish_button_activation.
2188         Added a ref to the button across the timer callback and
2189         avoided calling gtk_button_clicked and gtk_button_released
2190         if the widget is already destroyed.
2191         
2192         * libnautilus-extensions/nautilus-gtk-extensions.c:
2193         (finish_button_activation), (nautilus_gtk_button_auto_click):
2195 2001-01-25  John Harper  <jsh@eazel.com>
2197         reviewed by: Darin Adler <darin@eazel.com>
2199         Fix bug 5561 (Add a function to nautilus to iterate through
2200         windows in stacking order):
2202         * libnautilus-extensions/nautilus-gtk-extensions.c,
2203         libnautilus-extensions/nautilus-gtk-extensions.h
2204         (nautilus_get_window_list_ordered_front_to_back): new function,
2205         returns a list of all top-level windows in stacking order (from
2206         top to bottom)
2208         Fixed parts of bug 5553 (Enlightenment-related problems)
2210         * src/nautilus-desktop-window.c
2211         (nautilus_desktop_window_delete_event): connected to
2212         `delete_event' signal of the desktop window. Unconditionally
2213         returns TRUE. This stops GTK+ deleting the window in response
2214         to WM_DELETE_WINDOW requests, and thus fixes the bug where it's
2215         possible to delete the desktop window in Enlightenment
2217         * src/nautilus-desktop-window.c (realize): added SKIP_FOCUS to
2218         the _WIN_HINTS we set (even though, ages ago, I told Gene not
2219         to. Otherwise Enlightenment includes the desktop window in its
2220         M-TAB list)
2222 2001-01-25  Michael Engber  <engber@eazel.com>
2224         reviewed by: John Harper
2226         * libnautilus-extensions/nautilus-directory-background.c:
2227         (saved_settings_changed_callback), (background_reset_callback):
2228         The root & desktop pixmaps are now updated in response to changes
2229         in the gnome_config settings - bug 6033.
2231 2001-01-25  Michael Engber  <engber@eazel.com>
2233         reviewed by: John Harper
2235         * libnautilus-extensions/nautilus-background.c:
2236         (nautilus_background_draw_pixbuf_free), (nautilus_background_draw):
2237         Background are now always drawn with the aa code, ensuring
2238         their gradients are never striated - bug 5584.
2240 2001-01-25  Josh Barrow  <josh@eazel.com>
2242         * icons/theme_preview.png:
2243         Updated for the new k-rad look of the default theme.
2245 2001-01-25  John Sullivan  <sullivan@eazel.com>
2247         reviewed by: Pavel Cisler <pavel@eazel.com>
2249         Fixed bug 5506 (Show Properties always shows full path,
2250         making window ludicrously wide)
2252         Also made some other contents of the properties
2253         window handle window-stretching more attractively.
2255         * libnautilus-extensions/nautilus-ellipsizing-label.h:
2256         * libnautilus-extensions/nautilus-ellipsizing-label.c:
2257         (nautilus_ellipsizing_label_initialize_class),
2258         (nautilus_ellipsizing_label_initialize), (real_destroy),
2259         (nautilus_ellipsizing_label_new), (recompute_ellipsized_text),
2260         (nautilus_ellipsizing_label_set_text), (real_size_request),
2261         (real_size_allocate), (real_style_set): New files. This is
2262         a subclass of GtkLabel that requests no specific width, and
2263         ellipsizes the text to fit whatever width it is given.
2265         * libnautilus-extensions/Makefile.am: Add new files to build.
2267         * src/file-manager/fm-properties-window.c:
2268         (value_field_update_internal): New function, contains code
2269         formerly in value_field_update but takes boolean to handle
2270         ellipsized case.
2271         (value_field_update): Now just a simple wrapper for
2272         value_field_update_internal for the non-ellipsized case.
2273         (ellipsizing_value_field_update): New function, simple wrapper
2274         for value_field_update_internal for the ellipsized case.
2275         (attach_label): added an ellipsize_text boolean to this
2276         bottleneck function.
2277         (attach_value_label), (attach_title_field): pass FALSE for 
2278         ellipsize_text to attach_label
2279         (attach_ellipsizing_value_label): new function, pass TRUE for
2280         ellipsize_text to attach_label
2281         (attach_value_field_internal): New function, contains code
2282         formerly in attach_value_field but takes boolean to handle
2283         ellipsized case.
2284         (attach_value_field): Now just a simple wrapper for
2285         attach_value_field_internal for the non-ellipsized case.
2286         (attach_ellipsizing_value_field): New function, simple wrapper for
2287         attach_value_field_internal for the ellipsized case.
2288         (attach_option_menu): Don't use GTK_EXPAND, so option menu gets no
2289         wider than it needs to be.
2290         (append_separator): Don't use GTK_EXPAND, so the presence of
2291         separators doesn't cause table columns to stretch.
2292         (append_title_and_ellipsizing_value): New function, like
2293         append_title_value_pair but uses ellipsizing label.
2294         (create_basic_page): Change gtk_table_attach options for icon
2295         and name field so that they don't cause table columns
2296         to stretch.
2298 2001-01-25  Arik Devens  <arik@eazel.com>
2300         reviewed by: Darin Adler <darin@eazel.com>
2302         Fixed bug 5490, Preferences dialog "OK" button does not work when
2303         preferences window content is clipped:
2304         
2305         * libnautilus-extensions/nautilus-preferences-dialog.c
2306         (nautilus_preferences_dialog_construct): Temporary fix by removing
2307         the dialogs usize and letting it resize itself based on
2308         content. The longer fix is detailed in #5627.
2310 2001-01-25  Andy Hertzfeld  <andy@eazel.com>
2312         * libnautilus-extensions/nautilus-thumbnails.c:
2313         (make_thumbnail_path):
2314         fixed bug 5817, removing the extension from images makes their
2315         thumbnails show up.  Fixed by correcting where it tests for the
2316         presence of an extension in make_thumbnail_path by only looking
2317         for periods in the leaf part of the path instead of in the
2318         entire path.
2319         
2320 2001-01-25  Darin Adler  <darin@eazel.com>
2322         * README: Add missing xml-i18n-tools to list of modules
2323         needed to build from cvs.
2325 2001-01-25  Laszlo Kovacs  <laszlo.kovacs@sun.com>
2327         * break in Eazel-hacking build when Scrollkeeper is
2328           enabled inside the Nautilus component is fixed now
2330 2001-01-25  John Sullivan  <sullivan@eazel.com>
2332         reviewed by: Pavel Cisler <pavel@eazel.com>
2334         Tweaked the recent menu-updating speedup.
2336         * src/file-manager/fm-directory-view.c:
2337         (remove_update_menus_timeout_callback): New helper function,
2338         removes timeout callback if non-zero.
2339         (fm_directory_view_destroy): Use helper function where it was
2340         calling the guts directly.
2341         (update_menus_if_pending): New function, does nothing if
2342         no menu update is pending, otherwise removes callback and
2343         does an update now.
2344         (fm_directory_view_pop_up_selection_context_menu),
2345         (fm_directory_view_pop_up_background_context_menu): Use
2346         update_menus_if_pending instead of directly updating. This both
2347         avoids an unnecessary update if none is pending and prevents an 
2348         unnecessary future update is one is pending.
2350 2001-01-25  Laszlo Kovacs  <laszlo.kovacs@sun.com>
2352         * added various changes to the hyperbola component,
2353           some of these are Scrollkeeper related and disabled
2354           as Scrollkeeper is not in Eazel-hacking yet
2355           Scrollkeeper related changes:
2356             - remove empty branches for Scrollkeeper generated
2357               category tree
2358             - remove old way of populating of the Applications
2359               branch with the Gnome help docs
2360             - fixing bug in code that goes around alphabetical
2361               ordering of section titles 
2362           Not Scrollkeeper related changes:
2363             - fix in manpath handling when looking for man pages
2364               and manpath does not return anything
2365             - fix in title extraction from man page names
2366             - moving all the Man pages below the Manuals branch
2367               (in pages.map)
2369 2001-01-25  Eskil Heyn Olsen  <eskil@eazel.com>
2371         * components/services/install/lib/eazel-install-logic2.c:
2372         (is_satisfied):
2373         Changed a return from TRUE to FALSE (also in PR3 branch)
2375 2001-01-25  Eskil Heyn Olsen  <eskil@eazel.com>
2377         These are some recent PR3 fixes
2378         Bug 6009, 5978 and 5979
2379         
2380         * components/services/install/command-line/eazel-test-packsys.c:
2381         (test_is_installed), (main):
2382         Code to test changes made to eazel_package_system_is_installed.
2383         
2384         * components/services/install/lib/Makefile.am:
2385         Fix for 5978.
2386         
2387         * components/services/install/lib/eazel-package-system-rpm3.c:
2388         (rpmmonitorpiggybag_new), (make_rpm_argument_list),
2389         (monitor_rpm_process_pipe_percent_output),
2390         (rpm_packagedata_fill_from_file),
2391         (eazel_package_system_rpm3_install_uninstall):
2392         Fix for 5978 and 5979
2393         
2394         * components/services/install/lib/eazel-package-system-rpm4.c:
2395         Fix for 5978
2396         
2397         * components/services/install/lib/eazel-package-system-types.c:
2398         (packagedata_finalize):
2399         See bug 6007
2400         
2401         * components/services/install/lib/eazel-package-system.c:
2402         (eazel_package_system_matches_versioning),
2403         (eazel_package_system_is_installed):
2404         Fix for 6009
2405         
2406         * components/services/install/nautilus-view/nautilus-service-instal
2407         l-view.c: (nautilus_service_install_view_update_from_uri):
2408         Removed debug output
2409         
2410         * configure.in:
2411         Fix for 5979
2413 2001-01-24  Dan Mueth <dan@eazel.com>
2415         * user-guide/gnufdl: Adding this directory for the GNU FDL.  
2416           This is a temporary solution.  When GNOME 1.4 is out, we
2417           will have gnome-core installing 'fdl' and we will point to
2418           that instead of 'gnufdl'.
2419         * user-guide/C/: Removing old docs stuff, and adding Vera's
2420           new docs.
2422 Wed Jan 24 21:21:52 2001  George Lebl <jirka@5z.com>
2424         Maciej (mjs@eazel.com) approved this, so blame him if this makes
2425         hair grow on the palms of your hands or gives your dog headaches
2427         * components/adapter/nautilus-adapter-control-embed-strategy.c
2428           (nautilus_adapter_control_embed_strategy_new): Unref the zoomable
2429           interface after a query interface.  Fixes bug #5966
2431         * components/image-viewer/nautilus-image-view.c
2432           (control_destroy_callback): take out the FIXME.
2434 2001-01-24  Pavel Cisler  <pavel@eazel.com>
2436         reviewed by: John Sullivan <sullivan@eazel.com>
2438         * src/file-manager/fm-directory-view.c:
2439         (fm_directory_view_destroy),
2440         (schedule_update_menus):
2441         A simple tweak to reduce the number of menu item updates --
2442         schedule fm_directory_view_update_menus using a gtk_timeout_add
2443         instead of gtk_idle_add, use a 300 ms interval for coalescing
2444         menu item updates.
2446         * src/file-manager/fm-directory-view.c:
2447         (fm_directory_view_pop_up_selection_context_menu),
2448         (fm_directory_view_pop_up_background_context_menu):
2449         Call fm_directory_view_update_menus directly to make sure the
2450         context menu comes up set up right instead of flickering.
2452 2001-01-24  Gene Z. Ragan  <gzr@eazel.com>
2454         reviewed by: Pavel Cisler <pavel@eazel.com>
2456         Fixed bug 5710, Images no longer snap to size after hitting Refresh
2457         
2458         * components/image-viewer/nautilus-image-view.c: (redraw_control),
2459         (load_image_from_stream), (scrolled_window_size_allocate_callback):
2460         Restore the previous zoom setting when reloading a file from a stream.
2461                         
2462         Fixed a logic flaw dealing with renaming NautilusLinks.  The icon view
2463         had duplicated some logic that was present in NautilusFile.  There were
2464         slight differences in the logic that lead to some confusion in determing
2465         if a link could be renamed.
2466         
2467         * libnautilus-extensions/nautilus-file.c:
2468         (nautilus_file_can_rename):
2469         * src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
2471 2001-01-24  Andy Hertzfeld  <andy@eazel.com>
2473         reviewed by: John Sullivan <sullivan@eazel.com>
2475         * src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
2476         fixed bug 5985, we should use timestamps to determine which
2477         static bookmarks file to use; now it does.
2478         
2479 2001-01-24  Ramiro Estrugo  <ramiro@eazel.com>
2481         reviewed by: Eskil Olsen  <eskil@eazel.com>
2483         * Makefile.am:
2484         Add Makefile.shared to EXTRA_DIST.
2485         
2486 2001-01-24  Michael Engber  <engber@eazel.com>
2488         reviewed by: Ramiro Estrugo
2490         * components/music/nautilus-music-view.c: (add_play_controls):
2491         Set alignment of playtime so it's flush left, otherwise it jumps
2492         around slightly.
2494 2001-01-24  Josh Barrow  <josh@eazel.com>
2496         * icons/i-directory-192.png:
2497         Removed this file.  This was one of the old GNOME icons, and it
2498         was no longer in use.
2500 2001-01-24  Michael Engber  <engber@eazel.com>
2502         reviewed by: Ramiro Estrugo
2504         * components/music/nautilus-music-view.c:
2505         (nautilus_music_view_initialize), (add_play_controls):
2506         Removed a call to problematic call to gtk_widget_set_usize
2507         and added FIXMEs for the remaining calls to it - bug 5967.
2509 2001-01-24  Darin Adler  <darin@eazel.com>
2511         reviewed by: Pavel Cisler <pavel@eazel.com>
2513         Fix bug 5797 (Critical received when double-clicking on throbber):
2515         * src/nautilus-window-private.h:
2516         * src/nautilus-window.c: (location_change_at_idle_callback):
2517         Callback to do actual location change at idle time instead of
2518         right inside the property bag callback from the throbber.
2519         (throbber_location_change_request_callback): Use the new idle
2520         approach instead of changing the location right away.
2521         (nautilus_window_destroy): Cancel the idle if it's still
2522         outstanding.
2524         * libnautilus-extensions/nautilus-file.c:
2525         (nautilus_file_get_string_attribute_with_default): Mark a string
2526         for translation.
2527         (get_description): Mark some warning strings for translation since
2528         they are warnings we think real users might see.
2530         * applets/launcher/.cvsignore:
2531         * applets/preferences-applet/.cvsignore:
2532         Ignore some files.
2533         
2534 2001-01-24  Robin * Slomkowski  <rslomkow@eazel.com>
2536         * nautilus.spec.in: nautilus-suggested now requires
2537         mozill-psm and mozilla-mail, updated version
2538         required for serveral packages.
2540 2001-01-24  Ramiro Estrugo  <ramiro@eazel.com>
2542         * data/static_bookmarks.xml:
2543         A tiny fix from Brian Frank.  Also, save the file as a regular
2544         text file without the DOS extra CRs.
2546         * src/nautilus-sidebar-title.c:
2547         (sidebar_title_create_title_label),
2548         (sidebar_title_create_more_info_label): Center justify the sidebar
2549         title labels.
2550         
2551 2001-01-24  Andy Hertzfeld  <andy@eazel.com>
2553         * src/nautilus-property-browser.c:
2554         (nautilus_property_browser_initialize), (make_category_link):
2555         removed some set_usize calls that I had only commented out before.
2556         
2557 2001-01-24  Darin Adler  <darin@eazel.com>
2559         * AUTHORS:
2560         * THANKS:
2561         * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
2562         Updated based on recent check-ins and other contributions.
2564         * check-THANKS.pl: Updated to check the about list against the
2565         AUTHORS file and to fix some other things.
2567         * libnautilus/nautilus-view-component.idl: Fix a comment and
2568         remove a stray empty line.
2570 2001-01-24  Ramiro Estrugo  <ramiro@eazel.com>
2572         * applets/launcher/nautilus-launcher-applet.c: (create_pixbufs),
2573         (applet_change_pixel_size), (image_enter_event),
2574         (image_leave_event), (get_root_window),
2575         (window_set_cursor_for_state), (set_is_launching),
2576         (get_is_launching), (image_button_press_event),
2577         (image_button_release_event), (event_filter),
2578         (root_listen_for_property_changes), (main):
2579         Backout some dumb changes that i stupidly checked in.
2580         
2581 2001-01-23  Michael Engber  <engber@eazel.com>
2583         reviewed by: George Lebl
2585         * components/image-viewer/nautilus-image-view.c:
2586         (control_destroy_callback), (control_factory_common):
2587         image-view was using freed (widget) memory.
2589 2001-01-24  Andy Hertzfeld  <andy@eazel.com>
2591         removed files that I inadvertently checked in to the
2592         wrong branch.
2593         
2594         * components/rss-control/.cvsignore:
2595         * components/rss-control/Makefile.am:
2596         * components/rss-control/main.c:
2597         * components/rss-control/nautilus-rss-control.c:
2598         * components/rss-control/nautilus-rss-control.h:
2599         * components/rss-control/nautilus-rss-control.oafinfo:
2600         * data/top/Clock:
2601         * data/top/Slashdot:
2603 2001-01-23  Andy Hertzfeld  <andy@eazel.com>
2605         * src/nautilus-theme-selector.c: (remove_button_callback),
2606         (exit_remove_mode):
2607         fixed recently introduced problem where it was still
2608         treating button labels as nautilus_labels instead of
2609         gtk_labels.
2610         
2611 2001-01-23  Andy Hertzfeld  <andy@eazel.com>
2613         * src/nautilus-theme-selector.c:
2614         (nautilus_theme_selector_initialize), (remove_button_callback),
2615         (exit_remove_mode):
2616         fixed bug 5972, remove theme button uses aa text, by using
2617         a gtk_label instead of a nautilus_label.
2618                 
2619         * libnautilus-extensions/nautilus-theme.c:
2620         (nautilus_theme_make_selector):
2621         fixed a crash when an installed theme lacked a preview icon,
2622         cleaned up code and fixed a memory leak.
2624 2001-01-23  Maciej Stachowiak  <mjs@eazel.com>
2626         reviewed by: Darin Adler  <darin@eazel.com>
2628         Partial fix for bug 5902 (Rapidly changing between Icon and
2629         Image/Text crashes Nautilus).
2631         * src/nautilus-view-frame.c:
2632         (nautilus_view_frame_load_client_async),
2633         (nautilus_view_frame_load_client),
2634         (nautilus_view_frame_stop_activation),
2635         (nautilus_view_frame_load_location),
2636         (nautilus_view_frame_stop_loading),
2637         (nautilus_view_frame_selection_changed),
2638         (nautilus_view_frame_title_changed),
2639         (nautilus_view_frame_is_zoomable),
2640         (nautilus_view_frame_get_zoom_level),
2641         (nautilus_view_frame_set_zoom_level),
2642         (nautilus_view_frame_get_min_zoom_level),
2643         (nautilus_view_frame_get_max_zoom_level),
2644         (nautilus_view_frame_get_has_min_zoom_level),
2645         (nautilus_view_frame_get_has_max_zoom_level),
2646         (nautilus_view_frame_get_is_continuous),
2647         (nautilus_view_frame_get_preferred_zoom_levels),
2648         (nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
2649         (nautilus_view_frame_zoom_to_fit),
2650         (nautilus_view_frame_open_location_in_this_window),
2651         (nautilus_view_frame_open_location_prefer_existing_window),
2652         (nautilus_view_frame_open_location_force_new_window),
2653         (nautilus_view_frame_report_selection_change),
2654         (nautilus_view_frame_report_status),
2655         (nautilus_view_frame_report_load_underway),
2656         (nautilus_view_frame_report_load_progress),
2657         (nautilus_view_frame_report_load_complete),
2658         (nautilus_view_frame_report_load_failed),
2659         (nautilus_view_frame_set_title), (nautilus_view_frame_get_title),
2660         (nautilus_view_frame_get_label), (nautilus_view_frame_set_label),
2661         (nautilus_view_frame_activate), (get_history_list),
2662         (send_history),
2663         (nautilus_view_frame_get_is_underway): Silently do nothing if the
2664         view frame has failed. Based on suggestions from Darin. Also
2665         includes return_if_fail fixes from Darin.
2667 2001-01-23  Eskil Heyn Olsen  <eskil@eazel.com>
2669         * components/services/install/command-line/eazel-alt-install-corba.
2670         c: (md5_check_failed), (delete_files):
2671         Changed output in md5_failed to be readable.
2672         Only ask about deleting files if any where downloaded (the check
2673         was commented out for some reason)
2675         * components/services/install/command-line/eazel-test-packsys.c:
2676         (test_package_load), (test_query), (test_query_owns_mem),
2677         (is_installed), (test_install), (test_uninstall), (test_verify),
2678         (main):
2679         s/packagedata_destroy/gtk_object_unref/ - eazel-test-packsys now
2680         no longer leaks packagedata objects.
2682         * components/services/install/lib/eazel-install-corba-callback.c:
2683         (impl_md5_check_failed):
2684         Removed an debug output.
2686         * components/services/install/lib/eazel-install-logic2.c:
2687         (is_satisfied), (is_satisfied_features):
2688         (check_dependencies_foreach), (check_dependencies):
2689         Fixed nasty bug that caused the install service to loop on some
2690         packages that have circular dependency (found by Ken).  
2692         * components/services/install/nautilus-view/nautilus-service-instal
2693         l-view.c: (nautilus_install_parse_uri),
2694         (nautilus_service_install_view_update_from_uri):
2695         Fixed the port thing again (should fix 5960)
2697 2001-01-23  Ramiro Estrugo  <ramiro@eazel.com>
2699         * applets/Makefile.am:
2700         * applets/launcher/Makefile.am:
2701         * applets/launcher/nautilus-launcher-applet.c: (button_toggled),
2702         (show_desktop_changed_callback), (delete_event), (main):
2703         * applets/launcher/nautilus-launcher-applet.gnorba:
2704         * applets/preferences-applet/Makefile.am:
2705         * applets/preferences-applet/nautilus-preferences-applet.c:
2706         (accept_all_cookies), (preference_toggle_destroy_callback),
2707         (boolean_preference_changed_callback), (button_toggled),
2708         (boolean_toggle_button_new), (main):
2709         * applets/preferences-applet/nautilus-preferences-applet.gnorba:
2710         * configure.in:
2711         A very simple applet to debug show desktop and smooth graphics
2712         preferences.
2713         
2714 2001-01-23  Andy Hertzfeld  <andy@eazel.com>
2716         * libnautilus-extensions/nautilus-directory-background.c:
2717         (theme_image_path_to_uri):
2718         fixed bug 5908, assert hit when background pattern is deleted, by
2719         testing explicitly for the file missing and returning NULL in that
2720         case instead of asserting.
2721         
2722 2001-01-23  John Sullivan  <sullivan@eazel.com>
2724         reviewed by: Pavel Cisler <pavel@eazel.com>
2726         Fixed bug 2153 (deep count calculation in properties window
2727         could be faster)
2729         Fixed bug 5687 (Sidebar flickers and CPU thrashes during
2730         deep count calculation in properties window)
2732         Changed the deep count calculation to send a specialized
2733         signal when the in-progress count updates, instead of using
2734         "file_changed", since many parts of the UI react to file_changed
2735         by doing (in this case unnecessary) work. My stopwatch measurement
2736         on a large directory showed that the time to calculate 20000
2737         contained files went from 147 seconds to 8 seconds, and the CPU
2738         usage pegged around 15% (formerly 100%).
2740         * libnautilus-extensions/nautilus-directory-async.c:
2741         (deep_count_callback): Call nautilus_file_changed only when
2742         count is finished; call nautilus_file_updated_deep_count_in_progress
2743         after every new higher value is computed.
2744         
2745         * libnautilus-extensions/nautilus-file-private.h:
2746         Added prototype for nautilus_file_updated_deep_count_in_progress.
2747         
2748         * libnautilus-extensions/nautilus-file.h:
2749         * libnautilus-extensions/nautilus-file.c:
2750         (nautilus_file_initialize_class): define "updated_deep_count_in_progres"
2751         signal.
2752         (nautilus_file_updated_deep_count_in_progress): send this new signal
2753         for this file (which must be a directory) and any links pointing to
2754         it.
2755         
2756         * src/file-manager/fm-properties-window.c:
2757         (attach_directory_contents_value_field): Make text field in properties
2758         window react to new signal instead of "changed".
2760 2001-01-23  John Sullivan  <sullivan@eazel.com>
2762         Fixed bug 5959 (File name in "no applications available"
2763         dialog should be in quotes)
2765         * libnautilus-extensions/nautilus-program-chooser.c:
2766         (nautilus_program_chooser_show_no_choices_message):
2767         Put quotes around file name in dialog.
2769 2001-01-23  Andy Hertzfeld  <andy@eazel.com>
2771         * components/hardware/nautilus-hardware-view.c:
2772         (hardware_view_load_location_callback):
2773         fixed bug 5746, hardware title in hardware view not translated, by
2774         explicitly setting the title using a localized string.  This also
2775         fixes the minor problem of the title not being capitalized
2776         
2777         * icons/villanova/villanova.xml:
2778         fixed bug 5658, Sierra theme lacks description, by adding a
2779         description to the xml file.
2780         
2781 2001-01-23  Andy Hertzfeld  <andy@eazel.com>
2783         * src/nautilus-property-browser.c:
2784         (nautilus_property_browser_initialize), (make_category_link):
2785         fixed bug 5587, hard-coded button geometry in the property browser,
2786         fixed by removing the set_usizes and allowing gtk to adaptively
2787         size them and replacing the table that was holding them with a
2788         box so they will be centered properly.
2789         
2790 2001-01-23  Maciej Stachowiak  <mjs@eazel.com>
2792         reviewed by: Pavel Cisler  <pavel@eazel.com>
2794         Fixed bug 5943 (Throbber crashes on nautilus startup (crashing
2795         Nautilus) with some themes and configurations)
2797         * components/help/hyperbola-main.c: (main):
2798         * components/image-viewer/nautilus-image-view.c:
2799         (init_server_factory):
2800         * components/mozilla/main.c: (main):
2801         * components/music/main.c: (main):
2802         * components/notes/nautilus-notes.c: (main):
2803         * components/services/install/nautilus-view/main.c: (main):
2804         * components/services/login/nautilus-view/main.c: (main):
2805         * components/services/summary/nautilus-view/main.c: (main):
2806         * components/shell/shell.c:
2807         * components/text/main.c: (main):
2808         * components/throbber/main.c: (main):
2809         * components/tree/main.c: (main):
2810         * libnautilus/nautilus-view-standard-main.c:
2811         (nautilus_view_standard_main_multi):
2812         * nautilus-installer/src/main.c: (main):
2813         * src/nautilus-main.c: (main): Added gdk_rgb_init calls. The
2814         throbber one was causing a real 100% reproducible crash for me on
2815         Nautilus startup, the rest are pre-emptive.
2817 2001-01-23  Robin * Slomkowski  <rslomkow@eazel.com>
2819         * nautilus.spec.in: changed mozilla required version
2820         to 0.7 this messes upgrades since 0.7 is lower than M18
2822 2001-01-23  Ramiro Estrugo  <ramiro@eazel.com>
2824         reviewed by: Pavel Cisler <pavel@eazel.com>
2826         * src/nautilus-theme-selector.c:
2827         (nautilus_theme_selector_initialize):
2828         Band aid fix for bug 5910 - Font size for Theme name is too large
2829         in "Nautilus Theme Selector" dialog.  I made the column larger to
2830         fit up to and including the length of the currently largest known
2831         theme name "Crux-Eggplant"
2833         There are many reason why this is a lame band aid fix.  The real
2834         fix is to not hard code any geometry in this code.  I filed a bug
2835         for that (5951).
2836         
2837 2001-01-22  Andy Hertzfeld  <andy@eazel.com>
2839         * data/browser.xml:
2840         fixed typo in "terracotta" pattern name that caused it not to be
2841         capitalized in the property browser.
2842         
2843 2001-01-22  Eskil Heyn Olsen  <eskil@eazel.com>
2845         * components/services/install/command-line/eazel-alt-install-corba.
2846         c: (set_parameters_from_command_line), (something_failed):
2847         Removed the --port argument (since --server is now in server:port
2848         form).
2849         Removed --tmp as you shouldn't set it anymore.
2850         Rename --noauth to --no-auth and --ssl_rename to --ssl-rename.
2851         Default behaviour is now that no server or no-auth argument causes
2852         eazel-install to use trilobite server setting and proxy. --no-auth
2853         just uses trilobite server and no proxy, --server sets the server
2854         and no proxy.
2855         Changed output in something_failed.
2856         
2857         * components/services/install/lib/eazel-install-logic.c:
2858         (eazel_install_start_signal), (eazel_install_failed_signal):
2859         Don't emit progress in uninstall (since the EazelInstall object
2860         didn't have them, I was currently emitting install progress
2861         signals)        
2862         Only emit failed signals on the toplevel.
2863         
2864         * components/services/install/lib/eazel-install-logic2.c:
2865         (eazel_install_check_existing_packages), (get_softcat_info),
2866         (is_satisfied):
2867         More ifdeffed debug.
2868         Uncommented a commented out gtk_object_unref.
2869         Commented out a unref and emit_failed, since the pruner is doing
2870         this.
2871         In is_satisifed, if no version in dep, check if package is
2872         installed before checking features list. Faster and safer.
2873         
2874         * components/services/install/lib/eazel-package-system-rpm3.c:
2875         (make_rpm_argument_list),
2876         (monitor_rpm_process_pipe_percent_output),
2877         (monitor_rpm_process_pipe), (eazel_package_system_rpm3_execute):
2878         Some ifdeffed code for --percent handling.
2879         Set go==FALSE in execute if root helper fails (fixes a bug where
2880         the installer would hang if wrong password was entered).
2881         
2882         * components/services/install/nautilus-view/nautilus-service-instal
2883         l-view.c: (nautilus_service_install_view_update_from_uri):
2884         Default to port 80 if trilobite_get_services_address did not
2885         include a port.
2886         
2887 2001-01-22  Ramiro Estrugo  <ramiro@eazel.com>
2889         reviewed by: Pavel Cisler <pavel@eazel.com>
2891         Fix bug 5914 - First run of Nautilus on clean system crashes.
2892         
2893         * src/nautilus-application.c: (nautilus_application_initialize),
2894         (nautilus_application_destroy), (nautilus_application_startup):
2895         Add the preference callback for show_desktop much later in the
2896         initialization of the Nautilus Application.  Otherwise, the first
2897         time druid triggers prefernece changes that cause the desktop to
2898         turn on in the middle of the first time druid being presented to
2899         the user.
2900         
2901 2001-01-22  Rebecca Schulman  <rebecka@eazel.com>
2903         * libnautilus-extensions/nautilus-search-uri.c:
2904         (nautilus_self_check_search_uri):
2905         Fixed "make check."  Oh, the woes.
2906         Earlier I removed a field from a struct in
2907         nautilus-search-uri and broke binary compatibility
2908         between the many mysterious structs here.  It seems
2909         they all must be the same size.
2910         Added a fixme so that we know this in the future,
2911         hopefully.  Also added an additional test during
2912         debugging.
2914 2001-01-22  Andy Hertzfeld  <andy@eazel.com>
2916         * src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
2917         (draw_or_layout_all_tabs):
2918         fixed bug 5895, critical errors when you make the sidebar small.
2919         Fixed by clipping the amount we draw to fit within the destination
2920         buffer before calling gdk_pixbuf_composite.  Also fixed another crash
2921         when trying to draw aa-text for the tab labels when the starting
2922         offset is bigger than the buffer; in that case, don't draw anything.
2923         
2924 2001-01-22  Ramiro Estrugo  <ramiro@eazel.com>
2926         * libnautilus-extensions/Makefile.am:
2927         Dumshit me, forgot to checkin the Makefile.
2928         
2929 2001-01-22  Mike Fleming  <mfleming@eazel.com>
2931         * components/mozilla/nautilus-mozilla-content-view.c:
2932         Removed C++ style comments from copied code
2934 2001-01-22  Michael Engber  <engber@eazel.com>
2936         reviewed by: Ramiro Estrugo
2938         * libnautilus-extensions/nautilus-directory-background.c:
2939         (desktop_background_realized),
2940         (nautilus_connect_desktop_background_to_file_metadata),
2941         (image_loading_done_callback),
2942         (nautilus_connect_background_to_file_metadata):
2943         Desktop backgrounds were being drawn before they were initialized.
2944         Bugs 5853 & 5896.
2946 2001-01-22  Rebecca Schulman  <rebecka@eazel.com>
2947        Fix bug 5316, that search results code has
2948         empty strings marked for translation.
2950         * libnautilus-extensions/nautilus-search-uri.c: (parse_uri):
2951         Remove "prefixes" for search criteria that were
2952         always blank.
2954 2001-01-22  Ramiro Estrugo  <ramiro@eazel.com>
2956         reviewed by: Pavel Cisler <pavel@eazel.com>
2958         Fix bug 5831 - Clipping problems in summary view draing scrollable
2959         labels.
2960         
2961         * libnautilus-extensions/Makefile.am:
2962         * libnautilus-extensions/nautilus-viewport.c:
2963         (nautilus_viewport_initialize_class),
2964         (nautilus_viewport_initialize), (nautilus_viewport_draw),
2965         (nautilus_viewport_paint), (nautilus_viewport_new):
2966         * libnautilus-extensions/nautilus-viewport.h:
2967         New files.  A sublcass of GtkViewport that takes into account the
2968         width and height of the widget style xthickness and ythickness
2969         when painting.
2971         * components/services/summary/nautilus-view/nautilus-summary-view.c
2972         : (generate_summary_form):
2973         Use NautilusViewport instead of GtkViewport to avoid clipping
2974         problems when painting labels inside scrollable viewports.
2976 2001-01-22  Josh Barrow  <josh@eazel.com>
2978         * icons/crux_eggplant/.cvsignore:
2979         * icons/crux_eggplant/backgrounds/.cvsignore:
2980         * icons/crux_eggplant/sidebar_tab_pieces/.cvsignore:
2981         * icons/crux_eggplant/throbber/.cvsignore:
2983         Make CVS shutup.
2985 2001-01-22  Mike Fleming  <mfleming@eazel.com>
2987         * components/mozilla/nautilus-mozilla-content-view.c:
2988         (mozilla_dom_key_press_callback),
2989         (mozilla_dom_mouse_click_callback):
2991         Bug 5905: Softcat Search button doesn't work.
2993         I don't know when this stopped working but maybe it was while I
2994         was dorking with the key-initiated-navigation.
2996         Anyway, I polished stuff up to use the real constants for indicating
2997         to Moz whether to handle events or not.  This problem went away and
2998         everything else seemed to continue to work as expected.
2999         
3000 2001-01-22  Stanislav Brabec  <utx@penguin.cz>
3002         * configure.in: Added support for db1 emulation in Berkeley DB3.
3003         DB3 needs --enable-compat185.
3005         * README: Describe solutions of linking errors with mozilla libs
3006         (partially copied from Galeon's FAQ).
3008 2001-01-22  Robin * Slomkowski  <rslomkow@eazel.com>
3010         * configure.in: upped version to 0.8.1 to be higher
3011         than branch 
3013 2001-01-22  Ramiro Estrugo  <ramiro@eazel.com>
3015         reviewed by: John Sullivan <sullivan@eazel.com>
3017         Fix 5613 - Icon captions in sidebar get cropped when toggling
3018         "smooth graphics.
3019         
3020         * libnautilus-extensions/nautilus-label.c:
3021         (label_force_cached_requisition_flush),
3022         (nautilus_label_set_is_smooth):
3023         Flush the GtkLabel's requisition cache when the is_smooth
3024         attribute is changed.
3025         
3026         * src/nautilus-property-browser.c:
3027         (nautilus_property_browser_initialize),
3028         (nautilus_property_browser_destroy),
3029         (nautilus_property_browser_theme_changed):
3030         Remove attempt at fixing parts of 5613.  The fix above should fix
3031         it everywhere.
3032         
3033 2001-01-22  John Sullivan  <sullivan@eazel.com>
3035         reviewed by: Pavel Cisler <pavel@eazel.com> (except
3036         fix for bug 5884, which nobody reviewed)
3038         Fixed bug 5766 (assertion when switching views)
3039         Fixed bug 5884 (Rename file dialog for missing file
3040         quotes intended name rather than current)
3042         * libnautilus-extensions/nautilus-mime-actions.c:
3043         (nautilus_mime_get_default_action_type_for_file),
3044         (nautilus_mime_get_default_action_for_file),
3045         (nautilus_mime_get_default_application_for_file_internal),
3046         (nautilus_mime_get_default_component_for_file_internal),
3047         (nautilus_mime_get_short_list_applications_for_file),
3048         (nautilus_mime_get_short_list_components_for_file),
3049         (nautilus_mime_get_short_list_methods_for_file),
3050         (nautilus_mime_get_all_applications_for_file),
3051         (nautilus_mime_get_all_components_for_file):
3052         These functions were all using return_val_if_fail if
3053         nautilus_mime_actions_check_if_minimum_attributes_ready
3054         returned FALSE. In keeping with the style used in
3055         NautilusFile, changed these to check and return, but
3056         not complain, in these cases where the answer is
3057         "not enough info yet". I did not change the setters;
3058         they still complain.
3060         * src/file-manager/fm-error-reporting.c:
3061         (fm_report_error_renaming_file): Use "original_name" instead
3062         of "new_name" in error message.
3064 2001-01-22  Rebecca Schulman  <rebecka@eazel.com>
3065         Fix bugzilla.eazel.com bug 2659, that behavior
3066         with backup search is inconsistent, because content
3067         backup searches are unavailable.  
3069         * src/file-manager/fm-search-list-view.c: (load_location_callback),
3070         (load_error_callback), (display_indexed_search_problems_dialog):
3071         Add checks to handle both the case where the indexed search is not
3072         available and the case where a backup search is not available.
3073         Explain why an index search cannot be performed, and also if
3074         applicable why a backup search can't be performed.
3075         * src/file-manager/nautilus-indexing-info.c:
3076         (nautilus_indexing_info_get_last_index_time):
3077         Return NULL if there are no indices, instead of 
3078         the timestring for time = 0.
3080 2001-01-22  Arlo Rose  <arlo@eazel.com>
3082         * data/patterns/Makefile.am:
3083         Missed a file!
3085 2001-01-22  Arlo Rose  <arlo@eazel.com>
3087         * data/browser.xml:
3088         * data/patterns/brushed_metal.png:
3089         * icons/default.xml:
3090         Added new background pattern for the "Default" theme.
3091         I also let it show up in the normal pattern dialog
3092         as well.
3094 2001-01-22  Arlo Rose  <arlo@eazel.com>
3096         * icons/crux_eggplant/crux_eggplant.xml:
3097         Changed selection rectangle
3099 2001-01-22  Robey Pointer  <robey@eazel.com>
3101         * components/services/install/idl/trilobite-eazel-install.idl:
3102         * components/services/install/lib/eazel-install-corba-callback.c:
3103         (impl_download_progress), (impl_download_failed):
3104         * components/services/install/lib/eazel-install-corba-types.c:
3105         (corba_packagedatastruct_from_packagedata):
3106         * components/services/install/lib/eazel-install-object.c:
3107         (eazel_install_fetch_remote_package_list),
3108         (eazel_install_emit_download_progress),
3109         (eazel_install_emit_download_progress_default),
3110         (eazel_install_emit_download_failed),
3111         (eazel_install_emit_download_failed_default):
3112         * components/services/install/lib/eazel-install-protocols.c:
3113         (http_fetch_remote_file), (ftp_fetch_remote_file),
3114         (gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
3115         (local_fetch_remote_file), (eazel_install_fetch_file),
3116         (eazel_install_fetch_package):
3117         * components/services/install/lib/eazel-install-protocols.h:
3118         * components/services/install/lib/eazel-install-public.h:
3120         Change the download_progress and download_failed signals to pass a
3121         PackageData struct (and not a char*) just like every other signal,
3122         now that we can do that.  Fix a missing bytesize fill-in in one of
3123         the corba conversion functions.  Also, make the non-slim build use
3124         the file-rename trick from the bootstrap installer, to ensure that
3125         uncompleted downloads are never treated like valid package files.
3126         
3127         * components/rpmview/nautilus-rpm-view-install.c:
3128         (nautilus_rpm_view_download_progress_signal),
3129         (nautilus_rpm_view_download_failed):
3130         * components/services/install/command-line/eazel-alt-install-corba.
3131         c: (eazel_download_progress_signal), (download_failed),
3132         (something_failed):
3134         Fix rpm view and command-line install to use the new download
3135         signal signatures.
3136         
3137         * components/services/install/nautilus-view/nautilus-service-instal
3138         l-view.c: (nautilus_service_install_downloading),
3139         (nautilus_service_install_preflight_check),
3140         (nautilus_service_install_download_failed),
3141         (nautilus_service_install_installing),
3142         (nautilus_service_install_done),
3143         (nautilus_service_install_view_update_from_uri):
3145         Use the new download signal signatures to draw a nifty progress
3146         bar for the overall download (where 90% of most users' time will
3147         be spent in this view).  Scale the progress bar to match the
3148         package files' expected sizes (softcat bug to be fixed in 1.0).
3149         Leave the throbber on during the downloads so they can be
3150         aborted.  Don't offer to erase rpms if the package was already
3151         installed (and therefore not downloaded).
3153 2001-01-22  Arlo Rose  <arlo@eazel.com>
3155         A whole mess of files checked in to add a new color variation
3156         of Crux.  I'm not happy with the folders... I may need to tint
3157         them later.
3158         
3159         * configure.in:
3160         * icons/Makefile.am:
3161         * icons/arlo/arlo.xml:
3162         * icons/crux_eggplant/Back.png:
3163         * icons/crux_eggplant/Forward.png:
3164         * icons/crux_eggplant/Home.png:
3165         * icons/crux_eggplant/Makefile.am:
3166         * icons/crux_eggplant/Refresh.png:
3167         * icons/crux_eggplant/Search.png:
3168         * icons/crux_eggplant/SearchWeb.png:
3169         * icons/crux_eggplant/Stop.png:
3170         * icons/crux_eggplant/Up.png:
3171         * icons/crux_eggplant/backgrounds/Makefile.am:
3172         * icons/crux_eggplant/backgrounds/background_pattern.png:
3173         * icons/crux_eggplant/backgrounds/window_pattern.png:
3174         * icons/crux_eggplant/crux_eggplant.xml:
3175         * icons/crux_eggplant/decrement-i.png:
3176         * icons/crux_eggplant/decrement.png:
3177         * icons/crux_eggplant/emblem-nowrite-72.png:
3178         * icons/crux_eggplant/emblem-nowrite-96.png:
3179         * icons/crux_eggplant/emblem-nowrite.png:
3180         * icons/crux_eggplant/i-directory-192-aa.png:
3181         * icons/crux_eggplant/i-directory-72-aa.png:
3182         * icons/crux_eggplant/i-directory-72.png:
3183         * icons/crux_eggplant/i-directory-96-aa.png:
3184         * icons/crux_eggplant/i-directory-aa.png:
3185         * icons/crux_eggplant/i-directory.png:
3186         * icons/crux_eggplant/i-directory.xml:
3187         * icons/crux_eggplant/i-regular-192-aa.png:
3188         * icons/crux_eggplant/i-regular-192.png:
3189         * icons/crux_eggplant/i-regular-72-aa.png:
3190         * icons/crux_eggplant/i-regular-72.png:
3191         * icons/crux_eggplant/i-regular-96-aa.png:
3192         * icons/crux_eggplant/i-regular-96.png:
3193         * icons/crux_eggplant/i-regular-aa.png:
3194         * icons/crux_eggplant/i-regular.png:
3195         * icons/crux_eggplant/i-regular.xml:
3196         * icons/crux_eggplant/increment-i.png:
3197         * icons/crux_eggplant/increment.png:
3198         * icons/crux_eggplant/number_strip.png:
3199         * icons/crux_eggplant/sidebar_tab_pieces/Makefile.am:
3200         * icons/crux_eggplant/sidebar_tab_pieces/fill-active-prelight.png:
3201         * icons/crux_eggplant/sidebar_tab_pieces/fill-active.png:
3202         * icons/crux_eggplant/sidebar_tab_pieces/fill-empty-space.png:
3203         * icons/crux_eggplant/sidebar_tab_pieces/fill-prelight.png:
3204         * icons/crux_eggplant/sidebar_tab_pieces/fill.png:
3205         * icons/crux_eggplant/sidebar_tab_pieces/left-bumper-active-preligh
3206         t.png:
3207         * icons/crux_eggplant/sidebar_tab_pieces/left-bumper-active.png:
3208         * icons/crux_eggplant/sidebar_tab_pieces/left-bumper-prelight.png:
3209         * icons/crux_eggplant/sidebar_tab_pieces/left-bumper.png:
3210         * icons/crux_eggplant/sidebar_tab_pieces/middle-normal-normal.png:
3211         * icons/crux_eggplant/sidebar_tab_pieces/middle-normal-prelight.png
3212         :
3213         * icons/crux_eggplant/sidebar_tab_pieces/middle-prelight-normal.png
3214         :
3215         * icons/crux_eggplant/sidebar_tab_pieces/right-bumper-prelight.png:
3216         * icons/crux_eggplant/sidebar_tab_pieces/right-bumper.png:
3217         * icons/crux_eggplant/sidebar_tab_pieces/right-empty-space.png:
3218         * icons/crux_eggplant/sidebar_tab_pieces/right-top-active-prelight.
3219         png:
3220         * icons/crux_eggplant/sidebar_tab_pieces/right-top-active.png:
3221         * icons/crux_eggplant/sidebar_tab_pieces/right-top-prelight.png:
3222         * icons/crux_eggplant/sidebar_tab_pieces/right-top.png:
3223         * icons/crux_eggplant/theme_preview.png:
3224         * icons/crux_eggplant/throbber/001.png:
3225         * icons/crux_eggplant/throbber/002.png:
3226         * icons/crux_eggplant/throbber/003.png:
3227         * icons/crux_eggplant/throbber/004.png:
3228         * icons/crux_eggplant/throbber/005.png:
3229         * icons/crux_eggplant/throbber/006.png:
3230         * icons/crux_eggplant/throbber/007.png:
3231         * icons/crux_eggplant/throbber/008.png:
3232         * icons/crux_eggplant/throbber/009.png:
3233         * icons/crux_eggplant/throbber/010.png:
3234         * icons/crux_eggplant/throbber/011.png:
3235         * icons/crux_eggplant/throbber/012.png:
3236         * icons/crux_eggplant/throbber/013.png:
3237         * icons/crux_eggplant/throbber/014.png:
3238         * icons/crux_eggplant/throbber/015.png:
3239         * icons/crux_eggplant/throbber/016.png:
3240         * icons/crux_eggplant/throbber/017.png:
3241         * icons/crux_eggplant/throbber/018.png:
3242         * icons/crux_eggplant/throbber/019.png:
3243         * icons/crux_eggplant/throbber/020.png:
3244         * icons/crux_eggplant/throbber/021.png:
3245         * icons/crux_eggplant/throbber/022.png:
3246         * icons/crux_eggplant/throbber/023.png:
3247         * icons/crux_eggplant/throbber/024.png:
3248         * icons/crux_eggplant/throbber/025.png:
3249         * icons/crux_eggplant/throbber/026.png:
3250         * icons/crux_eggplant/throbber/027.png:
3251         * icons/crux_eggplant/throbber/028.png:
3252         * icons/crux_eggplant/throbber/Makefile.am:
3253         * icons/crux_eggplant/throbber/rest.png:
3254         * icons/crux_eggplant/zoom_body.png:
3255         * nautilus.spec.in:
3257 2001-01-22  Rebecca Schulman  <rebecka@eazel.com>
3259         reviewed by: Pavel Cisler <pavel@eazel.com>
3261         * libnautilus-extensions/nautilus-drag.c:
3262         (nautilus_drag_default_drop_action_for_icons):
3263         Switch the order of the arguments to
3264         gnome_vfs_check_same_fs_uris so that
3265         the source uri is first and the target uri
3266         of the drag second. This is rest of the fix 
3267         for bugzilla.eazel.com 5498, which necessitated
3268         making the uri arguments to this function have
3269         a required ordering.
3271 2001-01-21  Andy Hertzfeld  <andy@eazel.com>
3273         * data/browser.xml:
3274         * data/patterns/Makefile.am:
3275         * data/patterns/50s.png: removed
3276         * data/patterns/blue_ridge.png: added
3277         * data/patterns/blue_type.png: added
3278         * data/patterns/camouflage.png: modified
3279         * data/patterns/countertop.png: added
3280         * data/patterns/dots.png: added
3281         * data/patterns/fibers.png: added
3282         * data/patterns/floral.png: added
3283         * data/patterns/fossil.png: added
3284         * data/patterns/green_weave.png: added
3285         * data/patterns/moss_ridge.png: added
3286         * data/patterns/ocean_stripes.png: added
3287         * data/patterns/purple_marble.png: added
3288         * data/patterns/rough_paper.png: modified
3289         * data/patterns/sky_ridge.png: added
3290         * data/patterns/snow_ridge.png: added
3291         * data/patterns/terracotta.png: added
3292         * data/patterns/white_ribs: removed
3293         
3294         added, renamed and modified patterns to replace the recently
3295         deleted ones.
3296         
3297 2001-01-21  Michael K. Fleming  <mfleming@eazel.com>
3299         reviewed by: <arik@gnome.org> (Wincing)
3300         
3301         Bug 5625: Fonts were incorrect size.
3302         Bug 5872: HTTP proxy setting and auto-detect broken due to preference
3303         changes.
3305         * src/nautilus-first-time-druid.c:
3306         (make_hbox_user_level_radio_button), (set_up_user_level_page),
3307         (set_up_service_signup_page), (set_up_update_page),
3308         (proxy_address_entry_key_press), (set_up_proxy_config_page),
3309         (set_up_update_feedback_page), (initiate_file_download),
3310         (set_http_proxy):
3312 2001-01-21  Ramiro Estrugo  <ramiro@eazel.com>
3314         reviewed by: Pavel Cisler <pavel@eazel.com>
3316         Fix bug 5809 - Nautilus is slow to startup because of prefernces
3317         setup code.  The reason for the slowdown was the constant
3318         suggestion to gconf to sync.  Now, we sync only after setters that
3319         ara result of an operation in Nautilus.  All internal setters, such
3320         as defaults and visibilities happen with no sync in between each
3321         one, making things a lot faster.
3323         * libnautilus-extensions/nautilus-gconf-extensions.c:
3324         (nautilus_gconf_set_boolean), (nautilus_gconf_set_integer),
3325         (nautilus_gconf_set_string), (nautilus_gconf_set_string_list),
3326         (nautilus_gconf_monitor_directory), (nautilus_gconf_suggest_sync):
3327         * libnautilus-extensions/nautilus-gconf-extensions.h:
3328         Dont suggest a sync after each set.  Instead make a new function
3329         to let callers decide when to suggest a sync.  For example, after
3330         a batch of many operations.
3331         * libnautilus-extensions/nautilus-global-preferences.c:
3332         (global_preferences_install_descriptions),
3333         (global_preferences_install_defaults),
3334         (global_preferences_get_dialog),
3335         (global_preferences_install_sidebar_panel_defaults),
3336         (global_preferences_install_sidebar_panel_descriptions),
3337         (global_preferences_install_home_location_defaults),
3338         (nautilus_global_preferences_initialize):
3339         Don't install the descriptions until needed when the dialog is
3340         about to be created.  Split the sidebar defaults installer into a
3341         defaults and a descriptions installer.  Remove the proxy defaults
3342         installer which was superfluous.  My last change simplified the
3343         usage of proxy settings and a whole separate function for that is
3344         no longer needed.
3345         
3346         * libnautilus-extensions/nautilus-preferences.c:
3347         (nautilus_preferences_set_boolean),
3348         (nautilus_preferences_set_integer), (nautilus_preferences_set),
3349         (nautilus_preferences_set_string_list),
3350         (nautilus_preferences_set_user_level):
3351         Suggest a gconf sync right after all the setters.
3352         (preferences_something_changed_notice): Add a fixme.  Also remove
3353         unused variables and tweak a tiny bit.
3355 2001-01-21  Eskil Heyn Olsen  <eskil@eazel.com>
3357         * components/services/install/command-line/Makefile.am:
3358         Generate eazel-test-install-types instead of eazel-test-types.
3360         * components/services/install/lib/eazel-install-logic2.c:
3361         (prune_failed_packages), (check_feature_consistency)
3362         (do_file_conflict_check), (install_packages):
3363         Fixed 4589.
3364         Ensure nulling and freeing of packages list in pruner if 0 
3365         elements left after prune.
3367         * components/services/install/server/main.c: (main):
3368         Some commented out debug code to enable dropping to gdb 
3369         on glib warnings.
3371 2001-01-21  Andy Hertzfeld  <andy@eazel.com>
3373         removed the "vector" theme at Arlo's request, and many of the
3374         least popular patterns
3375         
3376         * configure.in:
3377         removed vector from the build
3378         * data/browser.xml:
3379         * data/patterns/Makefile.am:
3380         removed lots of specific patterns
3381         * icons/Makefile.am:
3382         removed vector theme
3383         * icons/ardmore/ardmore.xml:
3384         * icons/gnome/gnome.xml:
3385         fixed bug 5868, GNOME theme has white text on light background, by
3386         setting the text color in the theme
3387         
3388         * icons/vector/.cvsignore:
3389         * icons/vector/Makefile.am:
3390         * icons/vector/i-directory-accept.svg:
3391         * icons/vector/i-directory.svg:
3392         * icons/vector/i-regular.svg:
3393         * icons/vector/i-regular.xml:
3394         * icons/vector/vector.xml:
3395         the vector theme is no more
3396         
3397         * nautilus.spec.in:
3398         removed the vector theme from the rpm spec file
3399         * po/POTFILES.in:
3400         removed the vector theme from the localized files
3401         
3402         * src/nautilus-property-browser.c: (make_property_tile),
3403         (nautilus_property_browser_get_category_width):
3404         tweaked the layout
3405         
3406         * src/nautilus-sidebar-title.c:
3407         (nautilus_sidebar_title_theme_changed):
3408         changed default shadow to 1 pixel
3409         
3410         * src/nautilus-theme-selector.c: (done_button_callback),
3411         (nautilus_theme_selector_initialize):
3412         added a done button like the property browser
3413         
3414 2001-01-20  Pavel Cisler <pavel@eazel.com>
3416         * Makefile.am:
3417         Fix Tinderbox.
3419 2001-01-20  Andy Hertzfeld  <andy@eazel.com>
3421         * src/nautilus-property-browser.c:
3422         (nautilus_property_browser_initialize), (make_property_tile),
3423         (nautilus_property_browser_update_contents):
3424         fixed bug 3165, Customization Dialog needs layout tweaking, by
3425         working with Arlo to improve it.  We also made it more GTK-theme
3426         compliant
3427         
3428         * src/nautilus-theme-selector.c:
3429         (nautilus_theme_selector_initialize):
3430         Arlo and I also improved the theme selector in a similar fashion,
3431         including making it GTK-theme complaint.
3432         
3433 2001-01-20  Kenneth Christiansen  <kenneth@gnu.org>
3435         * nautilus.desktop.in: Added new file
3436         The desktop file is soon going to be generated.
3438 2001-01-19  Andy Hertzfeld  <andy@eazel.com>
3440         * icons/Makefile.am:
3441         * icons/i-symlink.png:
3442         * icons/i-symlink-aa.png:
3443         fixed bug 5107, we need a non-broken symlink icon, by adding
3444         new icons from Susan
3445         
3446         * icons/ardmore/ardmore.xml:
3447         changed name for Susan
3448         
3449         * icons/gnome/gnome.xml:
3450         used the blue arlo tabs in the GNOME theme
3451         
3452         * icons/villanova/Makefile.am:
3453         * icons/villanova/Sierra_desktop.png:
3454         * icons/villanova/villanova.xml:
3455         added tweaks from Susan
3456         
3457 2001-01-19  Robey Pointer  <robey@eazel.com>
3459         * components/services/install/nautilus-view/main.c: (main):
3461         Set log handler so debug messages don't spam everywhere.
3462         
3463         * components/services/install/nautilus-view/nautilus-service-instal
3464         l-view.c: (install_message_new),
3465         (nautilus_service_install_downloading),
3466         (nautilus_service_install_preflight_check),
3467         (nautilus_service_install_done):
3468         * components/services/install/nautilus-view/nautilus-service-instal
3469         l-view.h:
3471         Track and report the total kB (or MB) to be downloaded during an
3472         install.  This is slightly off (the bytesize provided by softcat
3473         is very rough) but will do for now.  Better in 1.0.  Also, don't
3474         ask to delete RPMs when none were downloaded.
3475         
3476         * components/services/trilobite/libtrilobite/trilobite-core-messagi
3477         ng.c: (trilobite_add_log), (trilobite_set_log_handler):
3479         Allow null filehandle (no logging).
3481 2001-01-19  Eskil Heyn Olsen  <eskil@eazel.com>
3483         * components/services/install/lib/eazel-install-logic2.c:
3484         (dump_tree_helper), (check_md5_on_files),
3485         (eazel_install_check_existing_packages), (get_softcat_info),
3486         (is_satisfied), (is_satisfied_features), (do_file_conflict_check),
3487         (install_packages_helper):
3488         Removed old FIXME's
3489         Trying to fix the memory corruption wrt ->minor.
3490         Added more ifdefs around debug output.
3491         
3492         * components/services/install/lib/eazel-install-object.c:
3493         (eazel_install_emit_preflight_check),
3494         (eazel_install_emit_dependency_check):
3495         Do the proper thing with total_packages and total_bytes.
3496         Use gtk_object_unref to delete packagedata object in dep_check
3497         signal.
3498         
3499         * components/services/install/lib/eazel-install-xml-package-list.c:
3500         (osd_parse_provides):
3501         Parse <FEATURE> in <PROVIDES> and blurp on unknown tags.
3502         
3503         * components/services/install/lib/eazel-package-system-rpm3.c:
3504         (eazel_package_system_rpm3_packagedata_fill_from_header),
3505         (check_if_all_packages_seen):
3506         No more start and end signals around failed signals.
3508 2001-01-11  Robin * Slomkowski  <rslomkow@eazel.com>
3510         * nautilus.spec.in: added Nautilus_Control_throbber.oaf
3511         BUG 5822 - throbber not appearing in rpm builds
3513 2001-01-19  Mike Fleming  <mfleming@eazel.com>
3515         * components/mozilla/nautilus-mozilla-content-view.c:
3516         (nautilus_mozilla_content_view_load_uri),
3517         (mozilla_load_location_callback),
3518         (mozilla_location_changed_callback), (mozilla_open_uri_callback),
3519         (make_full_uri_from_relative), (mozilla_translate_uri_if_needed),
3520         (eazel_services_scheme_untranslate):
3522         Bug 5249 -- resolve deadlock by calling load_underway sooner in the
3523         case where nautilus directs the navigation.  (Other changes were to debug
3524         printfs)
3525         
3526         * components/services/install/server/main.c: (main):
3527         * components/services/inventory/main.c: (main):
3528         * components/services/summary/nautilus-view/main.c: (main):
3529         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
3530         (trilobite_redirect_parse_xml):
3532         Remove obnx debug messages
3534 2001-01-19  Darin Adler  <darin@eazel.com>
3536         reviewed by: John Sullivan <sullivan@eazel.com>
3538         Fix for bug 5475 (assertion and crash trying to return using Up
3539         from web link):
3541         * libnautilus-extensions/nautilus-file.c: (get_description): Instead
3542         of asserting that the MIME type is not NULL or empty string, just
3543         change the code  to return an empty description for those cases.
3545         * autogen.sh: Fix one silly "ignore non-fatal errors" message.
3547 2001-01-19  Andy Hertzfeld  <andy@eazel.com>
3549         * nautilus.spec.in:
3550         added the sidebar_tab_images for the default theme, which I
3551         forgot to add previously.
3552         
3553 2001-01-19  Robey Pointer  <robey@eazel.com>
3555         * components/services/install/lib/eazel-install-metadata.c:
3556         (eazel_install_configure_check_jump_after_install):
3557         * components/services/install/lib/eazel-install-metadata.h:
3558         * components/services/install/lib/eazel-softcat.c:
3559         (eazel_softcat_get_info):
3560         * components/services/install/nautilus-view/nautilus-service-instal
3561         l-view.c: (nautilus_service_install_downloading),
3562         (nautilus_service_install_dependency_check),
3563         (nautilus_service_install_preflight_check),
3564         (nautilus_service_install_done):
3565         * components/services/trilobite/doc/gconf.txt:
3566         
3567         Make the install view jump to the softcat page after an install
3568         completes.  Fix NULL-dereference crash caused by installing a
3569         package by id.
3571 2001-01-19  Darin Adler  <darin@eazel.com>
3573         reviewed by: John Sullivan <sullivan@eazel.com>
3575         * libnautilus-extensions/nautilus-directory-async.c:
3576         (top_left_read_callback): Change code so it doesn't send a file
3577         changed message and then assume nothing changed.
3578         
3579         * libnautilus-extensions/nautilus-link.c:
3580         (nautilus_link_local_get_image_uri): Handle the case where it
3581         can't create the directory without seg faulting.
3583 2001-01-19  John Sullivan  <sullivan@eazel.com>
3585         Fixed bug 1404 (Preferences panes should be in some
3586         sensible order)
3588         * libnautilus-extensions/nautilus-global-preferences.c:
3589         (global_preferences_create_dialog): Reordered panes to
3590         match Arlo's simplest-to-least-simple design.
3592 2001-01-19  John Sullivan  <sullivan@eazel.com>
3594         Fixed bug 5830 ("Show only folders in tree" shown at
3595         wrong user level)
3597         * libnautilus-extensions/nautilus-global-preferences.c:
3598         (global_preferences_install_visibility): Made it visible
3599         starting at intermediate level.
3601 2001-01-19  John Sullivan  <sullivan@eazel.com>
3603         reviewed by: Darin Adler  <darin@eazel.com>
3605         Fixed bug 5807 (view switches to manual layout only after
3606         hitting Refresh), and other metadata-reading-related problems.
3608         This was a long-standing race condition exposed by recent 
3609         timing changes. The directory view was waiting for its
3610         metadata-as-file, but not for its metadata-as-directory, and
3611         it needed both before trying to lay out the contained icons.
3613         * src/file-manager/fm-directory-view.c: 
3614         added metadata_for_directory_as_file_pending and 
3615         metadata_for_files_in_directory_pending to details struct.
3616         (load_directory): set both pending flags to TRUE before
3617         using call_when_ready to get metadata; use call_when_ready
3618         for getting contained-files metadata as well as 
3619         directory-as-file metadata.
3620         (finish_loading_if_all_metadata_loaded): New function,
3621         finishes loading (which lays out the icons) only if neither
3622         metadata is still pending.
3623         (metadata_for_directory_as_file_ready_callback): 
3624         clear metadata_for_directory_as_file_pending flag before calling 
3625         finish_loading_if...
3626         (metadata_for_files_in_directory_ready_callback): 
3627         clear metadata_for_files_in_directory_pending flag before calling 
3628         finish_loading_if... 
3629         (disconnect_model_handlers): cancel both metadata callbacks.
3631 2001-01-19  Andy Hertzfeld  <andy@eazel.com>
3633         * nautilus.spec.in:
3635         better remove it from the spec file, too.
3636         
3637 2001-01-19  Andy Hertzfeld  <andy@eazel.com>
3639         removed the obsolete eazel theme, as well as the old,
3640         non-componentized throbber.
3641         
3642         * configure.in:
3643         * icons/Makefile.am:
3644         * icons/eazel/.cvsignore:
3645         * icons/eazel/Makefile.am:
3646         * icons/eazel/eazel.xml:
3647         * icons/eazel/*.png:
3648         * icons/eazel/i-directory-accept.xml:
3649         * icons/eazel/i-directory.xml:
3650         * icons/eazel/i-regular.xml:
3651         * icons/eazel/sidebar_tab_pieces/.cvsignore:
3652         * icons/eazel/sidebar_tab_pieces/Makefile.am:
3653         * icons/eazel/sidebar_tab_pieces/*.png:
3654         * icons/eazel/throbber/.cvsignore:
3655         * icons/eazel/throbber/Makefile.am:
3656         * icons/eazel/throbber/*.png:
3657         * po/POTFILES.in:
3658         * src/nautilus-throbber.c:
3659         * src/nautilus-throbber.h:
3661 2001-01-19  Mike Fleming  <mfleming@eazel.com>
3663         Half of bug 5975
3665         Now the fonts are right, but the line wrapping is busted
3667         * components/services/nautilus-dependent-shared/eazel-services-exte
3668         nsions.c: (eazel_services_label_new):
3669         * components/services/nautilus-dependent-shared/eazel-services-exte
3670         nsions.h:
3671         * components/services/nautilus-dependent-shared/eazel-services-foot
3672         er.c: (footer_item_new), (eazel_services_footer_update):
3673         * components/services/nautilus-dependent-shared/eazel-services-head
3674         er.c: (eazel_services_header_title_new):
3675         * components/services/summary/nautilus-view/nautilus-summary-view.c
3676         : (generate_summary_form), (generate_service_entry_row),
3677         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
3680 2001-01-19  Ramiro Estrugo  <ramiro@eazel.com>
3682         * libnautilus-extensions/nautilus-label.c:
3683         Accidentally checked in a huge default font size.
3684         
3685 2001-01-19  Rebecca Schulman  <rebecka@eazel.com>
3687         * src/file-manager/fm-search-list-view.c:
3688         (display_indexed_search_problems_dialog):
3689         Remove extra commas that broke compilation.
3691 2001-01-19  Robey Pointer  <robey@eazel.com>
3693         * components/services/install/lib/eazel-install-logic2.c:
3694         (check_conflicts_against_already_installed_packages):
3696         Add comment about how a hack also fixes bug 5799.
3698         * components/services/install/lib/eazel-install-xml-package-list.c:
3699         (osd_parse_softpkg):
3701         Parse REVISION tag in softcat XML for the install lib.
3703         * components/services/install/nautilus-view/nautilus-service-instal
3704         l-view.c: (generate_install_form), (show_overall_feedback),
3705         (nautilus_install_parse_uri), (current_progress_bar_complete),
3706         (nautilus_service_install_downloading),
3707         (nautilus_service_install_dependency_check),
3708         (flatten_package_tree_foreach), (flatten_package_tree),
3709         (nautilus_service_install_preflight_check),
3710         (nautilus_service_install_view_update_from_uri):
3712         Re-layout a little bit of the top of the install view, to make the
3713         overall feedback label not flicker.  Remove some redundant redraws
3714         that had been stuck in to work around the NautilusLabel redraw
3715         sizing bug.  Sneak in support for multiple packages in the eazel-
3716         install URI scheme.  Remove repeating package names from the final
3717         list during preflight.  Give some overall feedback during package
3718         dependency checking so the user doesn't think we're lost in space.
3720 2001-01-19  Rebecca Schulman  <rebecka@eazel.com>
3722         reviewed by: John Sullivan <sullivan@eazel.com>
3724         * src/file-manager/fm-search-list-view.c: (load_location_callback),
3725         (display_indexed_search_problems_dialog):
3726         Added dialogs to explain problems that may occur when running a search.
3727         There are separate dialogs to explain each of the following errors:
3728         1.  No index files available 
3729         2.  Index still being created
3730         3.  Index files are available, but the search daemon isn't running
3731         4.  No index files, and no reindexing service avaialble
3732         We may be able to actually do something about some of these 
3733         problems in the future (ie launch the search or indexing daemons
3734         if they're not already running) but for PR3 explaining what is
3735         going on in each of these cases should be a big step forward
3736         * src/file-manager/nautilus-indexing-info.c:
3737         (nautilus_indexing_info_show_dialog):
3738         Show the index files status dialog if there are index files,
3739         or indexing is going on, rather than if the search service
3740         is available, so that a user can follow indexing progress,
3741         even if an index isn't ready yet.
3743 2001-01-19  Eskil Heyn Olsen  <eskil@eazel.com>
3745         * components/services/install/command-line/eazel-test-packsys.c:
3746         (test_package_load):
3747         Wrote test for the fix to 5262
3748         
3749         * components/services/install/lib/eazel-install-logic.c:
3750         Moved get_total_size to logic2.c
3751         
3752         * components/services/install/lib/eazel-install-logic2.h:
3753         * components/services/install/lib/eazel-install-logic2.c:
3754         (dump_tree_helper), (eazel_install_check_existing_packages),
3755         (eazel_install_get_total_size_of_packages), (execute):
3756         Setup infoblock so the callback signals make sense, removed a
3757         g_assert_not_reached.
3758         
3759         * components/services/install/lib/eazel-install-protocols.c:
3760         (eazel_install_fetch_package):
3761         Don't load dependencies when loading the package after download.
3762         
3763         * components/services/install/lib/eazel-package-system-rpm3.c:
3764         (rpm_sense_to_softcat_sense),
3765         (eazel_package_system_rpm3_packagedata_fill_from_header):
3766         Fixed 5262
3768         * components/services/install/lib/eazel-package-system-types.c:
3769         (packagedependency_new), (packagedependency_destroy),
3770         (packagedata_fill_in_missing), (packagedata_dump_int):
3771         Allow fill_in_missing into a packagedata object with depends set.
3772         Moved output of features and provides upwards in dump_int.
3773         
3774         * components/services/install/nautilus-view/nautilus-service-instal
3775         l-view.c: (nautilus_service_install_view_update_from_uri):
3776         Deallocate the EazelInstall object in update_from_uri if already
3777         set. The ensures a reload of the install-view doesn't leak
3778         EazelInstall objects.
3780 2001-01-19  Darin Adler  <darin@eazel.com>
3782         reviewed by: Michael Engber <engber@eazel.com>
3784         * src/nautilus-view-frame-corba.c: (view_widget_gone),
3785         (impl_Nautilus_ViewFrame__destroy),
3786         (impl_Nautilus_ViewFrame__create),
3787         (impl_Nautilus_ViewFrame_open_location_in_this_window),
3788         (impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
3789         (impl_Nautilus_ViewFrame_open_location_force_new_window),
3790         (impl_Nautilus_ViewFrame_report_selection_change),
3791         (impl_Nautilus_ViewFrame_report_status),
3792         (impl_Nautilus_ViewFrame_report_load_underway),
3793         (impl_Nautilus_ViewFrame_report_load_progress),
3794         (impl_Nautilus_ViewFrame_report_load_complete),
3795         (impl_Nautilus_ViewFrame_report_load_failed),
3796         (impl_Nautilus_ViewFrame_set_title):
3797         Since the NautilusViewFrame object is a widget, we don't
3798         control its lifetime completely. So we disconnect from it
3799         when it is destroyed and stop trying to make calls on it.
3801 2001-01-19  Michael Engber  <engber@eazel.com>
3803         reviewed by: Brian Frank
3805         * data/static_bookmarks.xml:
3806         Changes for PR3 default bookmarks. Use redirects.
3808 2001-01-19  John Sullivan  <sullivan@eazel.com>
3810         reviewed by: Darin Adler  <darin@eazel.com>
3812         Finished bug 2146 (Properties window for desktop Trash
3813         should show Trash properties). The last two changes were
3814         to remove the "accessed" field for all directories, since
3815         it seems useless, and to fill in the "where" field with
3816         "on the desktop".
3818         * libnautilus-extensions/nautilus-file.c:
3819         (nautilus_file_get_where_string): New function, calls
3820         virtual function so trash and normal files can report
3821         different strings.
3822         (nautilus_file_get_string_attribute): Changed "parent_uri"
3823         string attribute to "where", since it is not the parent_uri
3824         in the Trash case.
3825         * libnautilus-extensions/nautilus-file.h: Virtual function
3826         pointer for get_where_string.
3827         * libnautilus-extensions/nautilus-trash-file.c:
3828         (trash_file_get_where_string),
3829         (nautilus_trash_file_initialize_class): Supply get_where_string
3830         function that returns "on the desktop".
3831         * libnautilus-extensions/nautilus-vfs-file.c:
3832         (vfs_file_get_where_string), (nautilus_vfs_file_initialize_class):
3833         Supply get_where_string function that returns parent_uri string.
3834         * src/file-manager/fm-properties-window.c:
3835         (should_show_accessed_date): New function, returns FALSE for
3836         directories and TRUE for other files.
3837         (create_basic_page): Honor should_show_accessed_date, and use
3838         "where" instead of "parent_uri" string attribute.
3839         * src/file-manager/fm-search-list-view.c:
3840         (real_get_column_specification): Use "where" instead of "parent_uri"
3841         string attribute.
3843 2001-01-19  Ramiro Estrugo  <ramiro@eazel.com>
3845         reviewed by: Darin Adler  <darin@eazel.com>
3847         * components/services/install/nautilus-view/nautilus-service-instal
3848         l-view.c: (install_message_new):
3849         Add a tiny bit of padding to this label to prevent the bottom from
3850         being cut off.  Im not sure exactly why the bottom is getting cut
3851         off.  I suspect that the part container is constraining the widget
3852         somehow, perhaps to match the geometry of the label on the right.
3853         
3854         * libnautilus-extensions/nautilus-label.c:
3855         (label_composite_pixbuf_callback), (nautilus_label_expose_event):
3856         Fix for bugs 5607, 5608 and 5611.  Remove previous workaround for
3857         bug 5608.  Do the clipping of the area that we need to copy into
3858         the temporary buffer more carefully.  The temporary buffer itself
3859         is a workaround for a related bug (2784).
3861 2001-01-19  Ramiro Estrugo  <ramiro@eazel.com>
3863         * libnautilus-extensions/bug-5712-pr3-workaround--gdkimage.c:
3864         (NAUTILUS_BUG_5712_PR3_WORKAROUND__gdk_image_get):
3865         Remove a debug printf that I stupidly left in.
3866         
3867 2001-01-19  Ramiro Estrugo  <ramiro@eazel.com>
3869         reviewed by: Nobody, because the "fix" is so revolting that none
3870         of the high integrity Nautilus hackers would approve it.
3872         * libnautilus-extensions/Makefile.am:
3873         * libnautilus-extensions/bug-5712-pr3-workaround--gdk-pixbuf-drawable.c:
3874         * libnautilus-extensions/bug-5712-pr3-workaround--gdk-pixbuf-private.h:
3875         * libnautilus-extensions/bug-5712-pr3-workaround--gdkimage.c:
3876         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
3877         (nautilus_gdk_pixbuf_get_from_window_safe):
3878         Workaround for bug 5712.  This is a temporary evil until GTK+
3879         1.2.9 is released.
3880         
3881 2001-01-19  John Sullivan  <sullivan@eazel.com>
3883         Ramiro sent me this patch, which I tweaked slightly.
3885         Fix for bug 5792 (Sidebar panel choices visible at beginner
3886         user level, but shouldn't be)
3888         * libnautilus-extensions/nautilus-global-preferences.c:
3889         add visible_user_level field to known_sidebar_panels struct.
3890         Set this field appropriately for each of the 4 known sidebar
3891         panels. Remove the 5th known sidebar panel since it was an
3892         accidental duplication of the 2nd one.
3893         (global_preferences_install_sidebar_panel_defaults): Set the
3894         visible user level when installing default values.
3896 2001-01-19  Pavel Cisler  <pavel@eazel.com>
3898         reviewed by: Ramiro Estrugo <ramiro@eazel.com>
3900         Fixed 4348: trying to trash a file already deleted outside Nautilus crashes.
3901         * libnautilus-extensions/nautilus-file-operations.c:
3902         (nautilus_file_operations_copy_move):
3903         The problem was that the "find trash near" operation was failing because
3904         the trahsed file was non-existent.
3905         Added code that deals with a NULL target_directory_uri handle.  
3907 2001-01-19  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
3909         * configure.in: Added sk to ALL_LINGUAS.
3911 2001-01-19  Andy Hertzfeld  <andy@eazel.com>
3913         more clean-up and fixes for the default theme change
3914         
3915         * icons/ardmore/ardmore.xml:
3916         * icons/arlo/arlo.xml:
3917         * icons/default.xml:
3918         * icons/eazel/eazel.xml:
3919         * icons/gnome/gnome.xml:
3920         * icons/vector/vector.xml:
3921         * icons/villanova/villanova.xml:
3922         at Arlo's request, capitalized the theme names and also made
3923         them localizable, and tweaks to some of the theme files to fix
3924         problems caused by the new default
3925         
3926         * src/nautilus-sidebar-tabs.c:
3927         (nautilus_sidebar_tabs_load_theme_data):
3928         added a way to specify the non-pixmap tabs, since it uses
3929         pixmap ones in the default now
3930         
3931         * src/nautilus-theme-selector.c:
3932         (get_theme_description_and_display_name), (add_theme):
3933         made it use a localizable name in the xml file instead of the
3934         actual folder name.
3935         
3936         * src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
3937         added a way to get the stock gnome toolbar icons, now that we have
3938         our own in the default theme
3939         
3940         * nautilus.spec.in:
3941         added the throbber component to our package
3943 2001-01-19  Pavel Cisler <pavel@eazel.com>
3945         Fix 3558: Nautilus crashes with specific sequence of icon dragging
3946         and mouse movement
3947         * libnautilus-extensions/nautilus-list.c:
3948         (nautilus_list_button_release), (nautilus_list_motion):
3949         The drag start code was assuming an actual item was clicked,
3950         added a check that checked the clicked row index first.
3951         
3952         * libnautilus-extensions/nautilus-self-checks.c:
3953         (nautilus_report_check_failure):
3954         Missed one printf -> fprintf (stderr...
3955         
3956 2001-01-18  Robey Pointer  <robey@eazel.com>
3958         * components/services/install/lib/eazel-install-xml-package-list.c:
3959         (osd_parse_feature_list), (osd_parse_implementation):
3961         Parse the "features" list for toplevel packages, if one is
3962         provided by softcat (the next softcat release will do it).
3964         * components/services/install/lib/eazel-softcat.c:
3965         (remove_directories_from_provides_list):
3967         Remove debugging line I accidentally left in.
3969 2001-01-18  Andy Hertzfeld  <andy@eazel.com>
3971         fixed some damage from the default theme change, including getting
3972         the sidebar tabs installed correctly, and making semi-transparent
3973         icon selection highlight in aa-mode work properly again.  There are
3974         still some more to do to finish this, though.
3975         
3976         * icons/sidebar_tab_pieces/Makefile.am:
3977         install the tabs in the proper place
3978         * libnautilus-extensions/nautilus-icon-container.c:
3979         (nautilus_icon_container_theme_changed):
3980         use NAUTILUS_COLOR_RGBA to set up the highlight color
3981         
3982 2001-01-18  Arlo Rose  <arlo@eazel.com>
3984         * icons/arlo/arlo.xml:
3985         I didn't like the name I picked today... changed it again...
3986         (Thanks Wingpea!)
3988 2001-01-18  Eskil Olsen  <eskil@eazel.com>
3990         * components/services/login/nautilus-view/Makefile.am:
3991         Fixing stuff
3993 2001-01-18  Robey Pointer  <robey@eazel.com>
3995         * components/services/install/lib/eazel-install-logic2.c:
3996         * components/services/install/lib/eazel-install-xml-package-list.c:
3997         (osd_parse_file_list):
3998         * components/services/install/lib/eazel-softcat.c:
3999         (is_filename_probably_a_directory),
4000         (remove_directories_from_provides_list), (eazel_softcat_get_info):
4002         Make softcat module remove obvious directories from the file list
4003         provided by XML.  There are still files that could slip through
4004         the cracks (forseti bug 1279).
4006 2001-01-18  Andy Hertzfeld  <andy@eazel.com>
4008         made the real default theme, based on what was formerly the
4009         eazel theme.  This isn't quite finished yet (the sidebar tabs
4010         arent right yet, Arlo needs to add the desktop, plus some other
4011         details), and some of the other themes might be slightly wrong
4012         from this change, but I'll fix everything up soon.
4013         
4014         * configure.in:
4015         * icons/Makefile.am:
4016         * icons/default.xml:
4017         * icons/gnome/gnome.xml:
4018         * icons/i-directory-accept.xml:
4019         * icons/i-directory.xml:
4020         * icons/sidebar_tab_pieces/.cvsignore:
4021         * icons/sidebar_tab_pieces/Makefile.am:
4022         * plus lots of images
4023         
4024 2001-01-18  Darin Adler  <darin@eazel.com>
4026         reviewed by: Pavel Cisler <pavel@eazel.com>
4027         (only the first 2 changes, others unreviewed)
4029         * libnautilus-extensions/nautilus-trash-directory.c:
4030         (trash_destroy): Fix problem that might be what's killing the
4031         Tinderbox. We need to disconnect the signal handlers we add to the
4032         trash monitor.
4033         
4034         * src/file-manager/fm-directory-view.c: (load_location_callback):
4035         Always reload when navigating. This smooths over many anomalies,
4036         and hopefully will fix the nasty problems described in bug 4873
4037         (files created in home directory (outside Nautilus) don't show up
4038         when I navigate there) and bug 4963 (starting the search service
4039         while running nautilus doesn't let you run searches).
4041         * configure.in: Fix gnome-http check that was previously just
4042         checking whether gnome-config was there or not!
4043         
4044         * src/nautilus-application.c: (nautilus_application_startup):
4045         Replace incorrect references to nautilus.oafinfo to instead
4046         mention Nautilus_Shell.oaf.
4047         
4048         * test/.cvsignore: Add a generated file.
4050 2001-01-18  Robey Pointer  <robey@eazel.com>
4052         * icons/Makefile.am:
4053         * icons/bubble-LL.png:
4054         * icons/bubble-LR.png:
4055         * icons/bubble-UL.png:
4056         * icons/bubble-UR.png:
4057         * icons/tiny-alert.png:
4059         Add Arlo's icons for the new password-change view.
4061 2001-01-18  Arlo Rose  <arlo@eazel.com>
4063         * icons/arlo/arlo.xml:
4064         Tweaked XML file to represent the "Luxe" family name.
4065         This fits with the Sawfish and GTK theme names.
4067 2001-01-18  Robey Pointer  <robey@eazel.com>
4069         * components/services/login/nautilus-view/Makefile.am:
4070         * components/services/login/nautilus-view/nautilus-change-password-
4071         view.c: (run_away_timer), (generate_change_password_form),
4072         (entry_changed_cb), (authn_succeeded), (authn_failed),
4073         (start_change_password), (change_password_button_cb):
4074         * components/services/login/nautilus-view/password-box.c:
4075         (add_padding_to_box), (add_filler_to_box), (line_expose),
4076         (vertical_line_new), (make_empty_viewport),
4077         (gtk_widget_set_colors), (make_bubble_shell),
4078         (change_bubble_shell_colors), (password_box_set_colors),
4079         (password_box_get_entry), (password_box_set_error_text),
4080         (password_box_show_error), (password_box_new):
4081         * components/services/login/nautilus-view/password-box.h:
4083         Implement new change-password UI according to Arlo's screenshots.
4084         Rounded password text-entry blobs are now in their own file for a
4085         modicum of modularity.  Reponse codes from ammonite are now
4086         correctly decoded and translated into text.
4088 2001-01-18  Robey Pointer  <robey@eazel.com>
4090         * components/services/install/lib/eazel-install-object.c:
4091         * components/services/install/lib/eazel-install-protocols.c:
4092         (http_fetch_remote_file):
4093         * nautilus-installer/src/HACKING:
4095         Change the bootstrap installer download function to use the new
4096         gnome-http call to avoid buffering 8MB of package files in memory
4097         at once.
4098         
4099         * components/services/trilobite/libtrilobite/trilobite-core-network
4100         -slim.c: (trilobite_xml_get_string), (trilobite_fetch_uri),
4101         (trilobite_fetch_uri_to_file):
4103         Forgot to add this once -- needed by the bootstrap installer.
4105 2001-01-18  Eskil Olsen  <eskil@eazel.com>
4107         * components/services/install/lib/eazel-install-rpm-glue.c:
4108         (eazel_install_do_rpm_dependency_check):
4109         * components/services/install/lib/eazel-package-system-rpm4.c:
4110         (eazel_package_system_implementation):
4111         * components/services/install/lib/eazel-softcat.c:
4112         (get_search_url_for_package):
4113         Fixing build issues against newest rpm (4.0.2-0.27).
4115 2001-01-18  John Sullivan  <sullivan@eazel.com>
4117         reviewed by: Darin Adler  <darin@eazel.com>
4119         Fixed bug 3417 (Put existing preferences at right levels)
4121         * libnautilus-extensions/nautilus-global-preferences.c:
4122         (global_preferences_install_defaults),
4123         (global_preferences_install_visibility): First pass at setting
4124         appropriate defaults and user levels for preferences.
4125         
4126         (global_preferences_create_dialog): Put "show only folders in
4127         tree view" before other preferences that appear only in higher
4128         user levels, 'cuz it looks better that way.
4129         
4130         * src/nautilus-shell-ui.xml:
4131         * src/nautilus-window-menus.c: (user_level_customize_callback):
4132         Renamed "Edit Settings" menu item & dialog to "Preferences";
4133         marked dialog title for localization.
4135 2001-01-18  Andy Hertzfeld  <andy@eazel.com>
4137         now that the bonobo problems are resolved, we can go back to
4138         the componentized throbber.
4139         
4140         * src/Makefile.am:
4141         * src/nautilus-window-toolbars.c:
4142         (nautilus_window_initialize_toolbars):
4143         * src/nautilus-window.c: (throbber_location_changed_callback),
4144         (nautilus_window_constructed), (nautilus_window_destroy),
4145         (nautilus_window_allow_stop):
4146         * src/nautilus-window.h:
4148 2001-01-18  Michael Engber  <engber@eazel.com>
4150         reviewed by: John Sullivan
4152         * libnautilus-extensions/nautilus-directory-background.c:
4153         (theme_image_path_to_uri),
4154         (nautilus_file_background_get_default_settings_for_theme),
4155         (nautilus_file_background_get_default_settings),
4156         (nautilus_file_background_read_desktop_settings),
4157         (nautilus_file_background_write_desktop_settings),
4158         (nautilus_file_background_is_set):
4159         * libnautilus-extensions/nautilus-theme.c:
4160         (nautilus_theme_get_theme_data_from_theme),
4161         (nautilus_theme_get_theme_data):
4162         * libnautilus-extensions/nautilus-theme.h:
4163         The desktop can now be reset to the "default" meaning when
4164         you change themes it will use the default desktop setting
4165         for the new theme - bug 5730.
4167 2001-01-18  Arlo Rose  <arlo@eazel.com>
4169         * icons/Makefile.am:
4170         * icons/emblem-symbolic-link.png:
4171         * icons/emblem-broken-link.png:
4172         More elegant symbolic link emblem, and the addition of
4173         a broken one in the event we hook it up.
4175 2001-01-18  John Harper  <jsh@eazel.com>
4177         reviewed by: Pavel Cisler <pavel@eazel.com>
4179         Fixed bug where selecting the first item in a list view, then
4180         hitting Shift-TAB would always trigger an assertion
4182         * src/file-manager/fm-list-view.c
4183         (select_previous_next_common): deleted the bogus assertion
4185 2001-01-18  John Harper  <jsh@eazel.com>
4187         reviewed by: Pavel Cisler <pavel@eazel.com>
4189         Fix bug 5666 (dragging to directory in the tree view always
4190         crashes)
4192         * libnautilus-extensions/nautilus-file-operations.c
4193         (nautilus_file_operations_copy_move): check that
4194         relative_item_points isn't null before dereferencing it (since
4195         nautilus_tree_view_move_copy_files passes NULL as this
4196         parameter)
4198 2001-01-18  Pavel Cisler  <pavel@eazel.com>
4200         * libnautilus-extensions/nautilus-thumbnails.c:
4201         (check_for_thumbnails):
4202         Fix a crash that was blocking Eli -- a close was being called
4203         without checking the result of a previous create.
4204         This will need more work, just wanted to do a quick fix to
4205         unblock Eli.
4207 2001-01-18  Eskil Heyn Olsen  <eskil@eazel.com>
4209         * components/services/install/command-line/eazel-alt-install-corba.
4210         c: (set_parameters_from_command_line),
4211         (eazel_download_progress_signal), (tree_helper_helper),
4212         (tree_helper), (something_failed):
4213         Fixed 5754 (add --cgi-path), made some modifications needed for
4214         the change signals for ei2. Also added --noauth that disables
4215         eazelauth.
4216         Now also takes --server=host[:port] args.
4217         
4218         * components/services/install/command-line/eazel-test-packsys.c:
4219         (test_version_compare), (test_query), (test_query_owns_mem),
4220         (main):
4221         Wrote some more tests.
4222         
4223         * components/services/install/idl/trilobite-eazel-install.idl:
4224         Added the file_conflict_check call, not implemented yet.
4225         Also added the cgi, debug and auth attributes.
4226         
4227         * components/services/install/lib/eazel-install-corba.c:
4228         (impl_Eazel_Install__set_debug), (impl_Eazel_Install__get_debug),
4229         (impl_Eazel_Install__set_auth), (impl_Eazel_Install__get_auth),
4230         (impl_Eazel_Install__set_cgi), (impl_Eazel_Install__get_cgi),
4231         (eazel_install_get_epv):
4232         Setup the cgi, debug and auth in the vtable.
4233         
4234         * components/services/install/lib/eazel-install-logic.c:
4235         (eazel_install_start_transaction):
4236         Some code moved to logic2.c
4237         
4238         * components/services/install/lib/eazel-install-logic2.h:
4239         * components/services/install/lib/eazel-install-logic2.c:
4240         (dump_tree_helper), (check_md5_on_files),
4241         (prune_failed_packages_helper), (prune_failed_packages),
4242         (eazel_install_check_existing_packages), (get_softcat_info),
4243         (get_package_info_foreach), (dedupe_foreach_depends),
4244         (dedupe_foreach), (dedupe), (is_satisfied),
4245         (is_satisfied_features), (check_dependencies_foreach),
4246         (is_filename_probably_a_directory), (check_tree_helper),
4247         (check_tree_for_conflicts), (check_no_two_packages_has_same_file),
4248         (check_conflicts_against_already_installed_packages),
4249         (check_feature_consistency), (do_file_conflict_check),
4250         (do_dep_check_internal), (do_dep_check), (download_packages),
4251         (clean_up_dedupe_hash), (clean_up_dep_ok_hash), (execute),
4252         (install_packages_helper), (install_packages):
4253         Finished first hit at ei2 install, seems to work now. This closes
4254         a lot of the bugs with ei2 in the comment.
4255         
4256         * components/services/install/lib/eazel-install-metadata.c:
4257         (eazel_install_configure_softcat):
4258         Default to port 80, not 443.
4259         
4260         * components/services/install/lib/eazel-install-object.c:
4261         (eazel_install_install_packages),
4262         (eazel_install_uninstall_packages),
4263         (eazel_install_revert_transaction_from_xmlstring),
4264         (eazel_install_emit_preflight_check):
4265         Uses ei2 for install, still uses logic.c for uninstall and revert.
4266         emit_preflight no longer checks for toplevel if ei2 is set.
4267         
4268         * components/services/install/lib/eazel-install-private.h:
4269         Wrote comments for the two ei2 hashes.
4270         
4271         * components/services/install/lib/eazel-install-problem.c:
4272         (get_detailed_cases_foreach),
4273         (get_detailed_uninstall_cases_foreach),
4274         (eazel_install_problem_tree_to_case),
4275         (eazel_install_problem_tree_to_string):
4276         More debug info and uses gtk_object_unref for deallocating
4277         packagedata structures.
4278         
4279         * components/services/install/lib/eazel-install-protocols.c:
4280         (eazel_install_fetch_file):
4281         If the file is already present, still emit signals.
4282         
4283         * components/services/install/lib/eazel-install-public.h:
4284         Moved some enums here.
4285         
4286         * components/services/install/lib/eazel-install-xml-package-list.c:
4287         (eazel_install_packagedata_to_xml):
4288         Add ->depends to the SOFT_DEPEND field.
4289         
4290         * components/services/install/lib/eazel-package-system.c:
4291         (eazel_package_system_compare_version):
4292         * components/services/install/lib/eazel-package-system.h:
4293         * components/services/install/lib/eazel-package-system-private.h:
4294         * components/services/install/lib/eazel-package-system-rpm3-private
4295         .h:
4296         * components/services/install/lib/eazel-package-system-rpm3.c:
4297         (eazel_package_system_rpm3_packagedata_fill_from_header),
4298         (eazel_package_system_rpm3_execute),
4299         (eazel_package_system_rpm3_compare_version),
4300         (eazel_package_system_implementation):
4301         * components/services/install/lib/eazel-package-system-rpm4.c:
4302         (eazel_package_system_implementation):
4303         * components/services/install/lib/eazel-package-system-skeleton.c:
4304         (eazel_package_system_skeleton_compare_version),
4305         (eazel_package_system_implementation):
4306         Added the compare_version call to EazelPackageSystem (fixes bug
4307         5663).
4308         Also use free instead of xfree to maintain rpm 4.0.2
4309         compatibility.
4310         
4311         * components/services/install/lib/eazel-package-system-types.h:
4312         * components/services/install/lib/eazel-package-system-types.c:
4313         (at_exit_package_data_info), (categorydata_new),
4314         (categorydata_destroy_foreach), (packagedata_initialize),
4315         (packagedata_finalize), (packagedependency_destroy),
4316         (packagedata_copy), (packagedata_destroy),
4317         (packagedata_get_readable_name), (packagedata_add_pack_to),
4318         (packagedata_add_pack_to_breaks),
4319         (packagedata_add_pack_to_modifies),
4320         (flatten_packagedata_dependency_tree_helper),
4321         (flatten_packagedata_dependency_tree):
4322         Wrote some functions to convert a packagedata tree into a flat
4323         structure based on ->depends.
4324         Some nifty atexit debug output showing non-deallocated packagedata
4325         structures.
4326         More gtk_object_ref/unref repair.
4327         Fixed get_readable_name (a y2k bug!!)
4328         
4329         * components/services/install/nautilus-view/nautilus-service-instal
4330         l-view.c: (nautilus_install_parse_uri),
4331         (nautilus_service_install_view_update_from_uri):
4332         Don't set auth to TRUE when uri has host...
4333         
4334         * configure.in:
4335         Changed librpmio test so it works with rpm 4.0.2
4337 2001-01-18  Arlo Rose  <arlo@eazel.com>
4339         I forgot to check these two image in a few days ago...
4340         * icons/eazel/sidebar_tab_pieces/left_bumper-prelight.png:
4341         * icons/eazel/sidebar_tab_pieces/left_bumper.png:
4343 2001-01-18  Andy Hertzfeld  <andy@eazel.com>
4345         backed out the Bonobo component throbber temporarily due
4346         to Bonobo problems and restored the old one; hopefully, the
4347         new one will come back soon.
4348         
4349         * src/Makefile.am:
4350         * src/nautilus-window-toolbars.c:
4351         (nautilus_window_initialize_toolbars):
4352         * src/nautilus-window.c: (nautilus_window_constructed),
4353         (nautilus_window_destroy), (nautilus_window_allow_stop):
4354         * src/nautilus-window.h:
4356         fixed bug 5393, custom emblems arent scaling properly, by
4357         * libnautilus-extensions/nautilus-icon-container.c:
4358         (nautilus_icon_container_update_icon):
4359         * libnautilus-extensions/nautilus-icon-factory.c:
4360         (get_themed_icon_file_path), (load_pixbuf_svg),
4361         (load_specific_icon):
4363 2001-01-18  Darin Adler  <darin@eazel.com>
4365         reviewed by: John Sullivan <sullivan@eazel.com>
4367         Fixed bug 2147 (NautilusFile for trash needs non-empty values for
4368         more properties), bug 5652 (MIME type field appears but shouldn't
4369         in properties window for Trash), and bug 4620 (trash sidebar
4370         should show number of items).
4372         * libnautilus-extensions/nautilus-file.h:
4373         * libnautilus-extensions/nautilus-file-private.h:
4374         * libnautilus-extensions/nautilus-file.c:
4375         (nautilus_file_new_from_relative_uri): Create trash file subclass
4376         when appropriate.
4377         (nautilus_file_info_missing): Rename so it can be used in other
4378         source files.
4379         (nautilus_file_get_date): New method that returns numeric dates.
4380         (nautilus_file_get_date_as_string): Change to call
4381         nautilus_file_get_date to get the numeric date.
4382         (nautilus_file_get_file_type): Turn into a method.
4384         * libnautilus-extensions/nautilus-merged-directory.h:
4385         * libnautilus-extensions/nautilus-merged-directory.c:
4386         (merged_call_when_ready): Rolled in the old
4387         merged_callback_connect_directory function.
4388         (merged_contains_file): Moved down to a more appropriate part of
4389         the source file.
4390         (nautilus_merged_directory_get_real_directories): New public
4391         function for use by trash.
4392         
4393         * libnautilus-extensions/nautilus-trash-file.c:
4394         (trash_callback_hash), (trash_callback_equal),
4395         (trash_callback_destroy), (trash_callback_check_done),
4396         (trash_callback_remove_file), (ready_callback),
4397         (real_file_changed_callback), (monitor_add_file), (add_real_file),
4398         (trash_callback_remove_file_cover), (monitor_remove_file),
4399         (remove_real_file), (add_real_file_given_directory),
4400         (add_directory_callback), (remove_directory_callback),
4401         (trash_file_call_when_ready), (trash_file_cancel_call_when_ready),
4402         (trash_file_check_if_ready), (trash_file_monitor_add),
4403         (trash_file_monitor_remove), (trash_file_get_file_type),
4404         (trash_file_get_item_count), (trash_file_get_deep_counts),
4405         (trash_file_get_date), (remove_all_real_files),
4406         (nautilus_trash_file_initialize), (trash_destroy),
4407         (nautilus_trash_file_initialize_class):
4408         New code. First implementation of getting some attributes for the
4409         merged trash. Gets list of directories from the
4410         NautilusTrashDirectory object. The code in here is similar to the
4411         NautilusMergedDirectory class and at some point perhaps we can
4412         make the two share more.
4413         
4414         * libnautilus-extensions/nautilus-vfs-file.c:
4415         (vfs_file_get_file_type), (vfs_file_get_date),
4416         (nautilus_vfs_file_initialize_class): Implement the two new
4417         methods for the standard vfs case.
4418         
4419         Fixed various things that affect the properties window for the
4420         trash that showed up while I was testing the above work:
4421         
4422         * libnautilus-extensions/nautilus-icon-factory.c:
4423         (nautilus_icon_factory_get_icon_name_for_regular_file),
4424         (nautilus_icon_factory_get_icon_name_for_file): Move trash special
4425         case out so it doesn't matter what type the trash seems to be. The
4426         old code relied on trash not being a directory.
4427         
4428         * src/file-manager/fm-properties-window.c:
4429         (create_properties_window), (create_properties_window_callback),
4430         (cancel_create_properties_window_callback),
4431         (directory_view_destroyed_callback), (remove_pending_file): Rework
4432         code to fix problems where the timed wait or the signal handler
4433         wasn't properly cleaned up.
4435         Fixed remaining bit of bug 5631 (Tear-offs of right-click menus
4436         don't work.):
4437         
4438         * src/file-manager/nautilus-desktop-icon-view-ui.xml: Mark Disks
4439         right-click submenu so it won't get a tear-off item.
4441         Fixed bug 5650 (nautilus --quit fails to return to prompt
4442         sometimes):
4443         
4444         * src/nautilus-application.c: (nautilus_application_startup): Add
4445         special case so "nautilus --quit" doesn't hang waiting for a
4446         response from the (now quit) "server" instance of Nautilus.
4447         * src/nautilus-shell-interface.idl: Had to make the quit call no
4448         longer be "oneway" to get it to work right, otherwise the quit
4449         message could be lost when the sending application exited too
4450         fast.
4452         Fix bug 5675 (Nitpicks in new "could not be moved to new special
4453         location" dialog):
4455         * libnautilus-extensions/nautilus-file-operations.c:
4456         (handle_transfer_overwrite): Updated message wording as Eli (and
4457         Vera) suggest.
4459         Other changes:
4460         
4461         * libnautilus-extensions/nautilus-view-identifier.c:
4462         (get_lang_list): Fix comment and a small storage leak in the case
4463         where lang_with_locale is non-NULL but empty.
4464         
4465         * po/POTFILES.ignore: Obsolete file, no longer used.
4466         
4467         * src/file-manager/fm-desktop-icon-view.c:
4468         (update_home_link_and_delete_copies): Update comment to help
4469         translators understand better.
4470         
4471         * libnautilus-extensions/nautilus-directory-async.c:
4472         (directory_load_callback): Added a new assertion that could help
4473         in future gnome-vfs debugging.
4474         
4475         * libnautilus/nautilus-view-component.idl: Removed long-ago-fixed
4476         FIXME comment.
4478         * src/nautilus-window-manage-views.c: Tweak spacing.
4480 2001-01-18  John Sullivan  <sullivan@eazel.com>
4482         reviewed by: Darin Adler  <darin@eazel.com>
4484         * libnautilus-extensions/nautilus-file-utilities.c:
4485         (nautilus_make_uri_from_input):
4486         * libnautilus-extensions/nautilus-link-set.c:
4487         (nautilus_link_set_install):
4488         Used new gnome_vfs_expand_initial_tilde in two places
4489         that were doing this independently (one of which is 
4490         where the code for the gnome-vfs routine came from).
4492 2001-01-18  John Sullivan  <sullivan@eazel.com>
4494         Fixed bug 5260: (Should revise 'Music view is unable to play
4495         back sound' dialog)
4497         * components/music/nautilus-music-view.c: (play_current_file):
4498         Improved an error message per Eli and Vera.
4500 2001-01-18  Ramiro Estrugo  <ramiro@eazel.com>
4502         * libnautilus-extensions/nautilus-global-preferences.c:
4503         (global_preferences_install_descriptions),
4504         (global_preferences_install_defaults),
4505         (global_preferences_install_visibility),
4506         (global_preferences_install_proxy_defaults),
4507         (global_preferences_install_home_location_defaults),
4508         (nautilus_global_preferences_initialize):
4509         * libnautilus-extensions/nautilus-global-preferences.h:
4510         Make comments reflect reality more.  Changed the structure of the
4511         file a bit to have the defaults, descriptions and visibility
4512         installing functions be at the top.
4513         
4514 2001-01-18  Pavel Cisler <pavel@eazel.com>
4516         Fix 4221 (Pressing Cancel button does not cancel)
4518         * libnautilus-extensions/nautilus-file-operations.c:
4519         (transfer_dialog_clicked_callback), (handle_transfer_ok):
4520         Redo cancellation to use a flag in the Transfer state and
4521         return a request to cancel during the next callback instead
4522         of issuing a gnome_vfs_async_cancel and destroying the
4523         dialog. The latter approach would now work too with my
4524         latest change to gnome_vfs_xfer, this new way of cancelling
4525         is cleaner and causes all the item that actually do get
4526         copied to show up in their new locations.
4528 2001-01-18  Ramiro Estrugo  <ramiro@eazel.com>
4530         * libnautilus-extensions/nautilus-global-preferences.c:
4531         (global_preferences_install_defaults):
4532         Add a FIXME for a bug that was shuffled in my last checkin.
4533         
4534 2001-01-17  Ramiro Estrugo  <ramiro@eazel.com>
4536         reviewed by: Pavel Cisler <pavel@eazel.com>
4538         Lots of bug fixes:
4540         2848 - User level agnostic config settings have nowhere to live.
4541         2654 - Need default values even for non user level preferences.
4542         3414 - Show more preferences at higher user levels.
4543         3415 - Make preference the same for all levels at which it is not visible
4544         3416 - Make preference changes affect all levels at which they are visible
4545         4357 - Web search URL setting should be reset upon Nautilus update
4546         5160 - Tree view doesnt exist when starting nautilus as a beginner
4547         5234 - Sidebar panel preferences are not properly separated among user levels
4548         
4549         * components/mozilla/mozilla-preferences.cpp:
4550         Update for gnome vfs proxy changes.  Proxy host and port are now
4551         stored in separate gconf settings.
4552         
4553         * libnautilus-extensions/Makefile.am:
4554         * libnautilus-extensions/nautilus-enumeration.h:
4555         * libnautilus-extensions/nautilus-enumeration.c:
4556         (nautilus_enumeration_new), (nautilus_enumeration_free),
4557         (nautilus_enumeration_insert),
4558         (nautilus_enumeration_get_nth_entry),
4559         (nautilus_enumeration_get_nth_description),
4560         (nautilus_enumeration_get_nth_value),
4561         (nautilus_enumeration_get_num_entries),
4562         (nautilus_self_check_enumeration):
4563         New files.  An enumeration data structure.
4564         
4565         * components/tree/nautilus-tree-expansion-state.c:
4566         No longer need to give the full path to a gconf setting.
4568         * components/tree/nautilus-tree-view.c:
4569         (filtering_changed_callback), (nautilus_tree_view_initialize):
4570         * libnautilus-extensions/nautilus-directory-async.c:
4571         (can_use_public_metafile),
4572         (get_filter_options_for_directory_count):
4573         * libnautilus-extensions/nautilus-file-operations.c:
4574         (confirm_empty_trash):
4575         * libnautilus-extensions/nautilus-file.c:
4576         (nautilus_file_should_get_top_left_text):
4577         * libnautilus-extensions/nautilus-font-factory.c:
4578         (nautilus_font_factory_get_font_from_preferences):
4579         Update for preferences api changes.
4581         * libnautilus-extensions/nautilus-gconf-extensions.h:
4582         * libnautilus-extensions/nautilus-gconf-extensions.c:
4583         (global_client_free), (nautilus_gconf_client_get_global),
4584         (nautilus_gconf_handle_error), (nautilus_gconf_set_boolean),
4585         (nautilus_gconf_get_boolean), (nautilus_gconf_set_int),
4586         (nautilus_gconf_get_int), (nautilus_gconf_set_string),
4587         (nautilus_gconf_get_string), (nautilus_gconf_set_string_list),
4588         (nautilus_gconf_get_string_list), (nautilus_gconf_is_default),
4589         (nautilus_gconf_monitor_directory):
4590         New files.  Useful gconf extensions; make peeking and poking
4591         settings a little easier.
4593         * libnautilus-extensions/nautilus-icon-container.c:
4594         (button_press_event):
4595         * libnautilus-extensions/nautilus-icon-canvas-item.c:
4596         (in_single_click_mode):
4597         Update for preferences api changes.
4599         * libnautilus-extensions/nautilus-icon-factory.c:
4600         (icon_theme_changed_callback),
4601         (should_display_image_file_as_itself):
4602         Update for preferences api changes.  Also no longer need to define
4603         a default theme.
4605         * libnautilus-extensions/nautilus-lib-self-check-functions.h:
4606         Add entries for enumeration and preferences.  Remove preference
4607         entry.  Note plural vs not.
4608         
4609         * libnautilus-extensions/nautilus-preference.c:
4610         * libnautilus-extensions/nautilus-preference.h:
4611         Retire these 2.  No longer use a GtkObject to store each
4612         preference.  We simply use the string name instead.
4613         
4614         * libnautilus-extensions/nautilus-preferences-box.h:
4615         * libnautilus-extensions/nautilus-preferences-box.c:
4616         (nautilus_preferences_box_add_pane),
4617         (nautilus_preferences_box_update):
4618         New function.  Should be called when user level changes so that
4619         the box updates its panes.
4620         
4621         * libnautilus-extensions/nautilus-preferences-dialog.h:
4622         * libnautilus-extensions/nautilus-preferences-dialog.c:
4623         (nautilus_preferences_dialog_initialize),
4624         (nautilus_preferences_dialog_destroy),
4625         (nautilus_preferences_dialog_get_prefs_box),
4626         (nautilus_preferences_dialog_update),
4627         (user_level_changed_callback):
4628         Keep track of user level changes.  
4629         New function to update the dialog when user level changes.
4630         
4631         * libnautilus-extensions/nautilus-preferences-group.h:
4632         * libnautilus-extensions/nautilus-preferences-group.c:
4633         (nautilus_preferences_group_initialize),
4634         (nautilus_preferences_group_destroy),
4635         (nautilus_preferences_group_add_item): Collect the group's items
4636         in a list.  Update to user a string to represent a preference
4637         instead of a GtkObject.  
4638         (nautilus_preferences_group_update): New function.  Updates the
4639         group's items to respect preferences visibility based on the user
4640         level.
4641         (nautilus_preferences_get_num_visible_items):  New function.
4642         Return the number of currently visible items.
4644         Collect the group's items in a list.   Update to user a string to
4645         represent a preference instead of a GtkObject.  
4646         
4647         * libnautilus-extensions/nautilus-preferences-item.h:
4648         * libnautilus-extensions/nautilus-preferences-item.c:
4649         (preferences_item_construct), (preferences_item_create_enum),
4650         (preferences_item_create_short_enum),
4651         (preferences_item_create_boolean),
4652         (preferences_item_create_editable_string),
4653         (preferences_item_create_integer),
4654         (preferences_item_create_font_family),
4655         (preferences_item_create_theme),
4656         (enum_radio_group_changed_callback),
4657         (editable_string_changed_callback), (integer_changed_callback),
4658         (nautilus_preferences_item_get_name): 
4659         New function to fetch the item's preference name.
4660         Add a new kind of preference - INTEGER.  Update for string
4661         vs. GtkObject preferences representation changes.  
4663         * libnautilus-extensions/nautilus-preferences-pane.h:
4664         * libnautilus-extensions/nautilus-preferences-pane.c:
4665         (nautilus_preferences_pane_update):
4666         New function.  Updates the pane's groups to respect preferences
4667         visibility based on the user level.
4669         * libnautilus-extensions/nautilus-preferences.h:
4670         * libnautilus-extensions/nautilus-preferences.c:
4671         (preferences_get_path), (preferences_get_defaults_path),
4672         (preferences_get_visibility_path),
4673         (preferences_get_user_level_key),
4674         (preferences_preference_is_internal),
4675         (preferences_preference_is_user_level), (preferences_key_make),
4676         (preferences_key_make_for_default),
4677         (preferences_key_make_for_default_getter),
4678         (preferences_key_make_for_visibility),
4679         (preferences_global_client_remove_notification),
4680         (preferences_global_client_get),
4681         (preferences_preference_is_default),
4682         (preferences_make_user_level_filtered_key),
4683         (nautilus_preferences_get_visible_user_level),
4684         (nautilus_preferences_set_visible_user_level),
4685         (nautilus_preferences_set_boolean),
4686         (preferences_key_make_for_getter),
4687         (nautilus_preferences_get_boolean), (nautilus_preferences_set_int),
4688         (nautilus_preferences_get_int), (nautilus_preferences_set),
4689         (nautilus_preferences_get), (nautilus_preferences_set_string_list),
4690         (nautilus_preferences_get_string_list),
4691         (nautilus_preferences_get_user_level),
4692         (nautilus_preferences_set_user_level),
4693         (nautilus_preferences_default_set_int),
4694         (nautilus_preferences_default_get_int),
4695         (nautilus_preferences_default_set_boolean),
4696         (nautilus_preferences_default_get_boolean),
4697         (nautilus_preferences_default_set_string),
4698         (nautilus_preferences_default_get_string),
4699         (nautilus_preferences_default_set_string_list),
4700         (nautilus_preferences_default_get_string_list),
4701         (preferences_callback_entry_invoke_function),
4702         (preferences_something_changed_notice),
4703         (preferences_global_table_check_changes_function),
4704         (preferences_user_level_changed_notice),
4705         (preferences_entry_add_callback),
4706         (preferences_entry_remove_callback),
4707         (preferences_callback_entry_free),
4708         (preferences_callback_entry_free_func), (preferences_entry_free),
4709         (preferences_entry_free_func), (preferences_global_table_free),
4710         (preferences_global_table_get_global),
4711         (preferences_global_table_lookup),
4712         (preferences_global_table_insert),
4713         (preferences_global_table_lookup_or_insert),
4714         (nautilus_preferences_add_callback),
4715         (preferences_while_alive_disconnector),
4716         (nautilus_preferences_add_callback_while_alive),
4717         (nautilus_preferences_remove_callback),
4718         (nautilus_preferences_enumeration_insert),
4719         (nautilus_preferences_enumeration_get_nth_entry),
4720         (nautilus_preferences_enumeration_get_nth_description),
4721         (nautilus_preferences_enumeration_get_nth_value),
4722         (nautilus_preferences_enumeration_get_num_entries),
4723         (nautilus_preferences_set_description),
4724         (nautilus_preferences_get_description),
4725         (nautilus_preferences_get_user_level_name_for_display),
4726         (nautilus_preferences_get_user_level_name_for_storage),
4727         (preferences_user_level_check_range),
4728         (nautilus_preferences_monitor_directory),
4729         (nautilus_preferences_is_visible),
4730         (nautilus_self_check_preferences):
4731         Many changes.  Redid to support the preferences system described
4732         in bugs 3414, 3415 and 3416.
4733         
4734         * libnautilus-extensions/nautilus-smooth-widget.c:
4735         (preferences_get_is_smooth):
4736         * libnautilus-extensions/nautilus-sound.c:
4737         (kill_sound_if_necessary), (nautilus_sound_initialize),
4738         (nautilus_sound_kill_sound), (nautilus_sound_register_sound),
4739         (nautilus_sound_can_play_sound):
4740         * libnautilus-extensions/nautilus-theme.c:
4741         (nautilus_theme_get_theme), (nautilus_theme_get_theme_data),
4742         (nautilus_theme_get_image_path):
4743         Update for preferences api changes.
4745         * libnautilus-extensions/nautilus-user-level-manager.c:
4746         * libnautilus-extensions/nautilus-user-level-manager.h:
4747         Retire.  No longer needed.  User level things are handled in
4748         nautilus-preferences.[ch] now.  The current user level design is
4749         much simpler and does no require its own GtkObject.
4751         * src/file-manager/fm-desktop-icon-view.c:
4752         (update_home_link_and_delete_copies), (real_update_menus):
4753         * src/file-manager/fm-directory-view.c: (open_location),
4754         (confirm_delete_from_trash), (real_update_menus),
4755         (fm_directory_view_activate_files), (filtering_changed_callback):
4756         * src/file-manager/fm-icon-text-window.c:
4757         (changed_attributes_option_menu_callback),
4758         (fm_get_text_attribute_names_preference_or_default):
4759         * src/file-manager/fm-icon-view.c: (should_preview_sound),
4760         (fm_icon_view_update_click_mode),
4761         (fm_icon_view_update_smooth_graphics_mode):
4762         * src/file-manager/fm-list-view.c:
4763         (fm_list_view_update_click_mode):
4764         * src/file-manager/fm-properties-window.c:
4765         (create_permissions_page):
4766         * src/nautilus-application.c: (desktop_changed_callback):
4767         * src/nautilus-complex-search-bar.c:
4768         (nautilus_complex_search_bar_get_location):
4769         * src/nautilus-first-time-druid.c: (user_level_selection_changed),
4770         (make_hbox_user_level_radio_button), (set_up_user_level_page):
4771         * src/nautilus-main.c: (main):
4772         * src/nautilus-property-browser.c:
4773         (nautilus_property_browser_update_contents):
4774         * src/nautilus-sidebar.c: (nautilus_sidebar_sidebar_panel_enabled),
4775         (toggle_sidebar_panel), (nautilus_sidebar_size_allocate):
4776         * src/nautilus-switchable-search-bar.c:
4777         (nautilus_switchable_search_bar_new),
4778         (nautilus_search_uri_to_search_bar_mode):
4779         Update for preferences api changes.
4781         * src/nautilus-window-manage-views.c:
4782         (position_and_show_window_callback),
4783         (nautilus_window_end_location_change_callback):
4784         Update for preferences api changes.  Also, no longer need to pass
4785         in a default location to the preferences getter.
4787         * src/nautilus-window-menus.c: (user_level_customize_callback),
4788         (switch_to_user_level), (refresh_bookmarks_menu),
4789         (user_level_changed_callback), (add_user_level_menu_item),
4790         (nautilus_window_initialize_menus), (update_user_level_menu_items),
4791         (convert_user_level_to_path):
4792         A lot of simplification.  The "Edit Settings..." menu item no
4793         longer changes it wording based on the user level.  We know allow
4794         it to edit settings on all user levels, since we have the ability
4795         to hide preferences at higher user levels.  No longer need to
4796         update the preferences dialog or its title.
4797         
4798         * src/nautilus-window.c: (nautilus_window_constructed),
4799         (nautilus_window_close), (nautilus_window_go_web_search),
4800         (nautilus_window_go_home), (nautilus_window_show):
4801         Update for preferences api changes.
4803         * libnautilus-extensions/nautilus-global-preferences.h:
4804         Update all the preferences defines to not include a full gconf
4805         path.  We dont need to do this anymore to get non user level
4806         coupled prefernces.
4808         * libnautilus-extensions/nautilus-global-preferences.c:
4809         (compare_view_identifiers), (global_preferences_create_dialog),
4810         (nautilus_global_preferences_get_enabled_sidebar_panel_view_identif
4811         iers), (global_preferences_install_sidebar_panel_defaults),
4812         (global_preferences_is_sidebar_panel_enabled),
4813         (global_preferences_install_speed_tradeoff_descriptions),
4814         (register_proxy_preferences), (global_preferences_register),
4815         (global_preferences_install_defaults),
4816         (nautilus_global_preferences_set_dialog_title):
4817         Lots of changes to support new preferences design.
4819         Set the WM_CLASS here once instead of everytime the dialog title
4820         is changed.  This was causing criticals.
4822         No longer need to create parallel proxy preferences and map them
4823         to the gconf ones.  We can use the gconf ones directly now.
4825         * test/.cvsignore:
4826         * test/Makefile.am:
4827         * test/test-nautilus-preferences-change.c:
4828         (user_level_changed_callback), (fruits_changed_callback),
4829         (int_picker_changed_callback),
4830         (user_level_picker_changed_callback), (picker_new),
4831         (user_level_picker_new), (main):
4832         * test/test-nautilus-preferences-display.c: (text_caption_update),
4833         (user_level_caption_update), (user_level_changed_callback),
4834         (green_changed_callback), (yellow_changed_callback),
4835         (red_changed_callback), (apple_changed_callback),
4836         (orange_changed_callback), (pear_changed_callback), (entry_new),
4837         (user_level_frame_new), (colors_frame_new), (fruits_frame_new),
4838         (main):
4839         * test/test.c: (test_pixbuf_draw_rectangle_tiled),
4840         (test_text_caption_set_text_for_int_preferences),
4841         (test_text_caption_set_text_for_string_preferences),
4842         (test_text_caption_set_text_for_default_int_preferences),
4843         (test_text_caption_set_text_for_default_string_preferences),
4844         (test_text_caption_get_text_as_int),
4845         (test_window_set_title_with_pid):
4846         * test/test.h:
4847         New tests for preferences changes.
4849         * test/test-nautilus-preferences.c:
4850         Retire old prefs test which didnt really work.
4851         
4852         * test/test-nautilus-smooth-graphics.c:
4853         (smooth_graphics_mode_changed_callback), (main):
4854         Update for preferences api changes.
4856 2001-01-17  Andy Hertzfeld  <andy@eazel.com>
4858         changed the throbber component to use the new translated oaf file
4859         scheme.  The throbber still doesn't show up, due to recent bonobo
4860         changes, which I'm looking into further.
4861         
4862         * components/throbber/.cvsignore:
4863         cvs should ignore the translated oaf file
4864         * components/throbber/Makefile.am:
4865         change use of oaf files
4866         * components/throbber/Nautilus_Control_throbber.oaf.in:
4867         added new style oaf file\
4868         * components/throbber/nautilus-throbber.oafinfo:
4869         removed the old file
4870         * src/nautilus-window-toolbars.c:
4871         (nautilus_window_initialize_toolbars):
4872         more descriptive message when we get an exception
4874 2001-01-17  Pavel Cisler  <pavel@eazel.com>
4876         * libnautilus-extensions/nautilus-self-checks.c:
4877         (nautilus_report_check_failure), (nautilus_before_check_function):
4878         Make make check results go to stderror.
4880 2001-01-17  John Harper  <jsh@eazel.com>
4882         reviewed by: Pavel Cisler <pavel@eazel.com>
4884         Work to fix bugs 1939 and 4614 -- text in list view is hard to
4885         read when the foreground color specified by the gtk theme
4886         conflicts with the background colors:
4888         * libnautilus-extensions/nautilus-gdk-extensions.h,
4889         libnautilus-extensions/nautilus-gdk-extensions.c
4890         (nautilus_gdk_color_is_dark,
4891         nautilus_gdk_choose_foreground_color,
4892         nautilus_gdk_gc_choose_foreground_color): new functions, used
4893         for testing whether a foreground/background color pair is
4894         suitable for drawing text, and if not, choosing a new
4895         foreground color
4897         * libnautilus-extensions/nautilus-list.c (NautilusListDetails):
4898         added gc fields: text_color, selected_text_color, link_text_color
4899         (unref_gcs, make_gcs_and_colors): handle the new gcs
4901         (nautilus_list_setup_style_colors): use
4902         nautilus_gdk_gc_set_foreground_color () to create the gcs that
4903         will be used for drawing text
4905         (draw_cell): when drawing text cells, don't use the default
4906         foreground gc, use one of the specially chosen gcs
4908 2001-01-17  Rebecca Schulman  <rebecka@eazel.com>
4910         * src/file-manager/nautilus-indexing-info.c:
4911         (update_file_index_callback), (show_indexing_info_dialog):
4912         Make changes necessary because of the slight change in the
4913         medusa_indexing_service api, and change "hide when closed"
4914         on the index status dialig to TRUE.  We still need to free
4915         the dialog when we exit nautilus (Added a fixme) but 
4916         setting this value to false caused us to reference
4917          the freed dialog. 
4919 2001-01-17  Andy Hertzfeld  <andy@eazel.com>
4921         fixed bugs 5674, 5697 and 5699, Nautilus shows a broken image
4922         icon instead of a mime-type icon for image types that it doesn't
4923         support.  Fixed by generating a zero-length placeholder thumbnail
4924         instead of the broken image icon; the icon factory tests for the
4925         placeholder and uses the proper mime-type icon when it's present.
4926         
4927         * libnautilus-extensions/nautilus-icon-factory.c:
4928         (should_display_image_file_as_itself),
4929         (nautilus_icon_factory_get_icon_for_file):
4930         made should_display_image_file_as_itself return FALSE when the
4931         placeholder is present.
4932         
4933         * libnautilus-extensions/nautilus-thumbnails.c:
4934         (make_invalid_thumbnail_uri),
4935         (nautilus_thumbnail_has_invalid_thumbnail), (check_for_thumbnails):
4936         added routine to test if a placeholder is present, and made it
4937         generate the placeholder when thumbnailing fails.
4938         
4939         * libnautilus-extensions/nautilus-thumbnails.h:
4940         added nautilus_thumbnail_has_invalid_thumbnail
4941         
4942 2001-01-17  Darin Adler  <darin@eazel.com>
4944         * libnautilus-extensions/nautilus-self-checks.h:
4945         * libnautilus-extensions/nautilus-self-checks.c:
4946         (nautilus_before_check_function), (nautilus_after_check_function):
4947         Write the names of the self-check functions as we run them.
4948         Maybe this will help us figure out what's up with the Tinderbox.
4950 2001-01-17  Rebecca Schulman  <rebecka@eazel.com>
4952         reviewed by: John Sullivan <sullivan@eazel.com>
4954         * src/nautilus-complex-search-bar.c:
4955         (nautilus_complex_search_bar_initialize):
4956         Remove some spacing settings that caused the 
4957         "More Options", "Fewer Options" and "Find Them"
4958         buttons in the search bar too have way too much
4959         space beneath them, fixing bug 4917
4960         * src/nautilus-window-private.h:
4961         Up the minimum width of nautilus so that
4962         the search controls are always still
4963         readable (from 450 to 480). However,
4964         this does not guarantee that on all
4965         configurations you wil be able to see the
4966         controls, but it should for the default case.
4968 2001-01-17  Ian McKellar  <ian@eazel.com>
4970         reviewed by: Mike Fleming  <mfleming@eazel.com>
4972         * components/services/summary/nautilus-view/nautilus-summary-dialog
4973         s.c: (generate_login_dialog):
4974         * components/services/summary/nautilus-view/nautilus-summary-view-p
4975         rivate.h:
4976         Keep track of the currently displayed login dialog (for each view).
4977         If a login dialog is open when a dialog open request is recieved,
4978         close the old one.
4980 2001-01-17  Andy Hertzfeld  <andy@eazel.com>
4982         * components/throbber/main.c: (main):   
4983         * components/throbber/nautilus-throbber.c:
4984         (nautilus_throbber_destroy):
4985         fixed problem that Pavel pointed out where the throbber
4986         component is left around after Nautilus exists, by calling
4987         gnome_vfs_shutdown when we exit, and also unrefing the
4988         throbber's bonobo control when the widget is destroyed.
4989         
4990 2001-01-17  Andy Hertzfeld  <andy@eazel.com>
4992         reviewed by: <darin@eazel.com>
4994         * src/nautilus-window-manage-views.c: (unref_callback),
4995         (ref_now_unref_at_idle_time), (location_has_really_changed),
4996         (load_underway_callback):
4997         this is actually Darin's change, checked in by Andy, that's a
4998         better fix for bug 5657, the "destroying components messes up
4999         idle routines" crash.  Instead of deferring the window state change
5000         to idle time, it does an extra ref of the view and unrefs it when
5001         idle rolls around.
5002         
5003 2001-01-16  Eskil Olsen  <eskil@eazel.com>
5005         reviewed by: Darin Adler  <darin@eazel.com>
5007         * libnautilus-extensions/nautilus-view-identifier.c:
5008         (get_lang_list):
5009         LANG might contain an underscore, so add both the la_LC var, 
5010         but also only the la to the list. This fixes the "View as xxx"
5011         translation issue.
5013 2001-01-17  Pavel Cisler  <pavel@eazel.com>
5015         Fix 5188: Duplicate in list view -> Nautilus crashes.
5017         * src/file-manager/fm-directory-view.c:
5018         (fm_directory_view_duplicate_selection):
5019         It was really only an inaccurate assert.
5021 2001-01-16  Ian McKellar  <ian@eazel.com>
5023         reviewed by: Darin Adler <darin@eazel.com>
5025         * components/services/install/nautilus-view/nautilus-service-instal
5026         l-view.c: (nautilus_service_install_preflight_check):
5027         Removed check that package has been installed in preflight check 
5028         because this will never occur.
5030         (nautilus_install_service_describe_menu_entry),
5031         Added this function which is used to generate a text description
5032         of a menu item.
5034         (nautilus_install_service_locate_menu_entries),
5035         Check for files in an /applnk/ directories as well as in /gnome/apps/
5036         directories. Closed GnomeDesktopEntry leak.
5038         (nautilus_service_install_done),
5039         Implement the equivalent of the preflight check that I removed,
5040         but at a point where we know whether the install has succeed, failed,
5041         been cancelled or been struck by lightning.
5043         (nautilus_service_install_view_load_uri):
5044         Reset some state variables, so that some weird random things 
5045         don't happen.
5047 2001-01-16  Mike Fleming  <mfleming@eazel.com>
5049         Dialog re-wording suggested by Vera.
5051         * components/services/summary/nautilus-view/nautilus-summary-callba
5052         cks.c: (authn_cb_failed):
5054 2001-01-16  Pavel Cisler  <pavel@eazel.com>
5056         Fix 5511: Dropping a file in same folder asks about replacing it.
5057         Fix 5606: Left drag into window where file exists deletes file.
5058         
5059         * src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
5060         During a file move, add a check to see if the dragged items are in the
5061         target directory.
5062         
5063         * libnautilus-extensions/nautilus-list.c:
5064         (nautilus_list_get_drop_action):
5065         Tiny tweak.
5066         
5067 2001-01-16  Michael Engber  <engber@eazel.com>
5069         * libnautilus-extensions/nautilus-directory-background.c:
5070         Removed comment detailing differences with the background-capplet
5071         code since I just propagated the same fixes to the capplet.
5073 2001-01-16  Andy Hertzfeld  <andy@eazel.com>
5075         * src/file-manager/fm-properties-window.c:
5076         (property_button_focused_out), (create_emblems_page):
5077         fixed bug 5572, black rectangle left behind after clicking
5078         on an emblem in Properties window, by attaching to the
5079         focus_out signal and redrawing
5080         
5081         * src/nautilus-property-browser.c:
5082         (nautilus_property_browser_initialize),
5083         (nautilus_property_browser_destroy),
5084         (nautilus_property_browser_theme_changed),
5085         (nautilus_property_browser_smooth_graphics_changed):
5086         fixed some of bug 5614, label text in property browser is
5087         corrupted when smooth text option changed, by monitoring the
5088         smooth_graphics preference and updating when it changes.  The
5089         rest of this bug will be fixed when Ramiro fixes the nautilus_label
5090         geometry problems as part of bug 5607
5091         
5092         * components/text/nautilus-text-view.c: (file_read_callback):
5093         corrected the name of the "file too big to load" dialog
5094         
5095 2001-01-16  Michael Engber  <engber@eazel.com>
5097         reviewed by: Gene Z. Ragan
5099         * libnautilus-extensions/nautilus-directory-background.c:
5100         (nautilus_gnome_config_string_match_no_case_with_default),
5101         (nautilus_file_background_read_desktop_settings):
5102         Use theme defaults for desktop background when ~/.gnome/Background
5103         is missing.
5105 2001-01-16  Seth Nickell  <seth@eazel.com>
5107         reviewed by: Darin Adler <darin@eazel.com>
5109         * libnautilus-extensions/nautilus-directory-metafile.c:
5110         (nautilus_directory_rename_file_metadata),
5111         (nautilus_directory_remove_file_metadata):
5112         * libnautilus-extensions/nautilus-file.c:
5113         (sort_keyword_list_and_remove_duplicates):
5115         Add casts to strcmp's performed on gpointers so they will
5116         not generate warnings.
5117         
5118 2001-01-16  John Sullivan  <sullivan@eazel.com>
5120         reviewed by: Pavel Cisler  <pavel@eazel.com>
5122         More work on bug 2146 (Properties window for desktop Trash icon
5123         should show Trash properties). Mostly this was clean-up of the
5124         properties window code to make future changes easier. The only
5125         substantive change is to remove the "Type" field for the trash.
5127         * src/file-manager/fm-properties-window.c: 
5128         Removed enums for basic page and permissions page row numbers.
5129         The rows are now added (and table sized) as needed.
5130         (append_row): New helper function, appends one row to a GtkTable
5131         and returns the index of the new last row.
5132         (append_title_field): New function, like attach_title_field
5133         but appends row instead of taking a row parameter.
5134         (append_separator), (append_directory_contents_fields),
5135         (append_title_value_pair), (append_special_execution_checkbox),
5136         (append_special_execution_flags): Renamed from attach_xxx, now 
5137         append a row instead of taking a row parameter.
5138         (create_page_with_table_in_vbox): Now returns GtkTable * instead
5139         of GtkWidget *, for callers' convenience.
5140         (get_adjusted_permissions_row): Removed this somewhat hacky function.
5141         (should_show_file_type): New function, returns FALSE for
5142         special trash location but TRUE for everything else.
5143         (create_basic_page): Check should_show_file_type; use new
5144         append_xxx calls instead of using predefined row numbers.
5145         (create_permissions_page): use new append_xxx calls instead of
5146         using predefined row numbers.
5148 2001-01-16  Gene Z. Ragan  <gzr@eazel.com>
5150         Fixed mistake in asserting on a NULL value. Assert if the
5151         value is NULL, not non-NULL.
5152         
5153         * libnautilus-extensions/nautilus-file-operations.c:
5154         (extract_and_ellipsize_file_name_for_dialog):
5156 2001-01-16  Darin Adler  <darin@eazel.com>
5158         reviewed by: Gene Ragan <gzr@eazel.com>
5160         * libnautilus-extensions/nautilus-file-operations.c:
5161         (get_label_font): It's illegal to unref a new widget since you
5162         don't own a ref to it. Sink it instead.
5163         (ellipsize_string_for_dialog): New function.
5164         (format_and_ellipsize_uri_for_dialog): Rename this function and
5165         change it to use nautilus_format_uri_for_display. Also add FIXME
5166         about where the ellipsis goes.
5167         (extract_and_ellipsize_file_name_for_dialog): Added a seprate
5168         function for the case where we want to extract the file name
5169         part only. The old code mixed the URI and file name cases in a
5170         way that would lead to anomalies with unusual names.
5171         (handle_transfer_vfs_error): Fixed storage leak.
5172         (is_special_link): Rewrote this function and also made it take
5173         a URI in text form, not a GnomeVFSURI.
5174         (handle_transfer_overwrite): Use is_special_link instead of
5175         duplicate its test. Removed incorrect use of NautilusFile (without
5176         waiting for results). Added quotes around file name in
5177         message. Use extract_and_ellipsize_file_name_for_dialog instead of
5178         our own ad-hoc functions.
5179         (make_next_duplicate_name): Get rid of bizarre buffer/sprintf that
5180         was used by someone who didn't know you can use printf formatting
5181         with g_warning.
5182         (vfs_uri_is_special_link): Created cover for one remaining caller
5183         of is_special_link that needs to pass a GnomeVFSURI.
5184         (nautilus_file_operations_copy_move): Use the new is_special_link
5185         (nautilus_file_operations_move_to_trash): Use
5186         extract_and_ellipsize_file_name_for_dialog instead of an old
5187         strange combination of calls.
5188         
5189         * libnautilus-extensions/nautilus-icon-factory.c:
5190         (nautilus_icon_factory_get_icon_name_for_regular_file): Fix
5191         obsolete comment and rearrange code now that plain text special
5192         case is gone.
5194 2001-01-16  Josh Barrow  <josh@eazel.com>
5196         * src/nautilus-first-time-druid.c: (druid_finished):
5197         Make the new services icon use big_services_icon.png.  This is a
5198         much better choice until we get something official.
5200 2001-01-16  Gene Z. Ragan  <gzr@eazel.com>
5202         Checked in broken code before. Doh!
5203         
5204         * libnautilus-extensions/nautilus-link.c:
5205         * src/nautilus-first-time-druid.c: (druid_finished):
5207 2001-01-16  Gene Z. Ragan  <gzr@eazel.com>
5209         reviewed by: Mike Fleming <mfleming@eazel.com>
5211         Fixed bug 4358, Please put a services icon on the desktop
5212         
5213         * libnautilus-extensions/nautilus-link.c:
5214         (nautilus_link_local_create):
5215         Perform NULL checking on arguments
5216         
5217         * src/nautilus-first-time-druid.c: (druid_finished):
5218         Create a link to services on the desktop.
5220 2001-01-16  Michael K. Fleming  <mfleming@eazel.com>
5222         reviewed by: <ramiro@eazel.com>
5224         Bug 4411 -- implement keypress hook for Mozilla so that URL navigation
5225         initiated by keypress are handled the same as mouse-initiated navigation
5226         events (eg, correctly have their schemes translated if necessary)
5228         * components/mozilla/main.c: (mozilla_object_destroyed),
5229         (mozilla_make_object), (main):
5230         * components/mozilla/mozilla-events.cpp:
5231         * components/mozilla/mozilla-events.h:
5232         * components/mozilla/nautilus-mozilla-content-view.c:
5233         (nautilus_mozilla_content_view_initialize),
5234         (mozilla_open_uri_callback), (mozilla_dom_key_press_callback),
5235         (mozilla_dom_mouse_click_callback):
5237 2001-01-16  Gene Z. Ragan  <gzr@eazel.com>
5239         Fixed bug 5677, Drag files w/names of Specials to desktop -> malloc crash
5240         Fixed bug 5673, Spaces are escaped in new "replace special desktop icon"
5241         dialog.
5242         
5243         * libnautilus-extensions/nautilus-file-operations.c:
5244         (handle_transfer_overwrite):
5246 2001-01-15  John Sullivan  <sullivan@eazel.com>
5248         reviewed by: Gene Z. Ragan  <gzr@eazel.com>
5250         Removed stuff I added earlier as part of a failed fix
5251         for bug 2068, which I ended up fixing a different way.
5253         Fixed bug 5661 (Hardwired button sizes for custom icons
5254         in properties window)
5256         Fixed bug 1682 ("Go There" button taller than others
5257         in "Open with Other" dialog)
5259         * libnautilus-extensions/nautilus-scrolled-window.h:
5260         * libnautilus-extensions/nautilus-scrolled-window.c:
5261         Removed these files from cvs.
5263         * libnautilus-extensions/Makefile.am:
5264         Removed the removed files from the build.
5265         
5266         * libnautilus-extensions/nautilus-metadata.h:
5267         removed NAUTILUS_METADATA_KEY_ICON_VIEW_SCROLL_ORIGIN
5269         * src/file-manager/fm-directory-view.h:
5270         * src/file-manager/fm-directory-view.c:
5271         (fm_directory_view_initialize): Changed back to inheriting
5272         from GtkScrolledWindow instead of now non-existent
5273         NautilusScrolledWindow.
5275         * libnautilus-extensions/nautilus-gtk-extensions.h:
5276         * libnautilus-extensions/nautilus-gtk-extensions.c:
5277         (nautilus_gtk_button_set_standard_padding): New function,
5278         wrapper for nautilus_gtk_button_set_padding that uses
5279         a standard amount of padding instead of taking a parameter.
5280         This is preferred so we can change a single number if we
5281         change our minds about what the standard padding should be.
5283         * libnautilus-extensions/nautilus-program-chooser.c:
5284         (nautilus_program_chooser_new): Use 
5285         nautilus_gtk_button_set_standard_padding. Also added a vbox
5286         so that "Go There" button doesn't grow taller to match the 
5287         height of the adjacent text. This fixed bug 1682.
5288         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
5289         Use nautilus_gtk_button_set_standard_padding.
5290         * src/file-manager/fm-properties-window.c: (create_basic_page):
5291         Use nautilus_gtk_button_set_standard_padding instead of
5292         hardwiring button sizes. This fixed bug 5661.
5294 2001-01-16  Carlos Perelló Marín <carlos@gnome-db.org>
5296         * configure.in: Added es to ALL_LINGUAS.
5298 2001-01-16  Ramiro Estrugo  <ramiro@eazel.com>
5300         * libnautilus-extensions/nautilus-string-list.c:
5301         (nautilus_string_list_get_length):
5302         Allow for NULL to be treated as a zero length string list.
5303         
5304         * libnautilus-extensions/nautilus-string-picker.h:
5305         * libnautilus-extensions/nautilus-string-picker.c:
5306         (nautilus_string_picker_set_selected_string_index),
5307         (nautilus_string_picker_get_index_for_string):
5308         Two new functions to manipulate the string picker using indeces.
5309         
5310         * libnautilus-extensions/nautilus-text-caption.h:
5311         * libnautilus-extensions/nautilus-text-caption.c:
5312         (nautilus_text_caption_get_text), (nautilus_text_caption_set_text):
5313         Make the signature of get_text() use a const object.
5314         
5315         (nautilus_text_caption_set_editable): New function to change
5316         whether the caption's text is editable.
5318 2001-01-16  Andy Hertzfeld  <andy@eazel.com>
5320         * src/nautilus-window-manage-views.c: (change_state_at_idle),
5321         (load_underway_callback):
5322         fixed bug 5657, crash during menu update when switching views.  This is
5323         also behind several other reported bugs.  Fixed it as Darin suggested,
5324         which is to defer the window state change associated with loading
5325         a new component until idle time, so it doesn't wreak havoc
5326         by interrupting other idle routines.
5327         
5328         * components/throbber/nautilus-throbber.c:
5329         (nautilus_throbber_initialize_class), (get_bonobo_properties),
5330         (set_bonobo_properties), (nautilus_throbber_destroy),
5331         (nautilus_throbber_initialize),
5332         (nautilus_throbber_button_press_event):
5333         added a location property and made it issue a notification when the
5334         throbber is clicked on.  Also, removed the no longer used
5335         "location_changed" signal and better memory management of the
5336         property bag.
5337                 
5338         * src/nautilus-window.c: (throbber_location_changed_callback),
5339         (nautilus_window_constructed), (nautilus_window_destroy):
5340         make clicking on the throbber work by adding a listener for
5341         the throbber location property and changing the location
5342         accordingly when the event is posted.  Also, fixed a leak
5343         of the bonobo object.
5344         
5345         * src/nautilus-window-private.h:
5346         added a field to hold the event source listener ID.
5348 2001-01-15  Andy Hertzfeld  <andy@eazel.com>
5350         * components/throbber/main.c: (main):
5351         fixed recently introduced bug where the throbber wasn't respecting
5352         the theme; I had forgotten to initialize global preferences in the
5353         throbber component.
5354         
5355 2001-01-15  Andy Hertzfeld  <andy@eazel.com>
5357         fixed bug 4369, throbber frozen during long refresh, by making the
5358         throbber a bonobo component so it's driven by its own thread.
5359         Note that clicking on the throbber is temporarily broken; I'll
5360         fix that soon.  Also, made the frame delay be specified by the
5361         theme and set the default to spin somewhat slower than before.
5362         
5363         * configure.in:
5364         * components/Makefile.am:
5365         * components/throbber/.cvsignore:
5366         * components/throbber/Makefile.am:
5367         * components/throbber/nautilus-throbber.oafinfo:
5368         added throbber component
5369         
5370         * components/throbber/main.c: (throbber_object_destroyed),
5371         (throbber_make_object), (main):
5372         factory for the throbber component
5373         
5374         * components/throbber/nautilus-throbber.c,h:
5375         (nautilus_throbber_initialize_class), (is_throbbing),
5376         (get_bonobo_properties), (set_bonobo_properties),
5377         (nautilus_throbber_destroy), (nautilus_throbber_get_control),
5378         (get_throbber_dimensions), (nautilus_throbber_initialize),
5379         (nautilus_throbber_new), (nautilus_throbber_theme_changed),
5380         (draw_pixbuf), (select_throbber_image), (draw_throbber_image),
5381         (nautilus_throbber_draw), (nautilus_throbber_expose),
5382         (nautilus_throbber_map), (bump_throbber_frame),
5383         (nautilus_throbber_start),
5384         (nautilus_throbber_remove_update_callback),
5385         (nautilus_throbber_stop), (nautilus_throbber_unload_images),
5386         (load_themed_image), (make_throbber_frame_name),
5387         (nautilus_throbber_load_images),
5388         (nautilus_throbber_button_press_event),
5389         (nautilus_throbber_set_small_mode),
5390         (nautilus_throbber_size_allocate),
5391         (nautilus_throbber_size_request):
5392         throbber widget for the bonobo component
5394         * src/nautilus-window-toolbars.c: (theme_changed_callback),
5395         (nautilus_window_initialize_toolbars):
5396         set up throbber component in the toolbar
5397         
5398         * src/nautilus-window.c,h: (nautilus_window_constructed),
5399         (nautilus_window_allow_stop):
5400         use property interface to start and stop the throbber
5401         
5402         * icons/default.xml:
5403         added delay specification to throbber in default theme
5404         
5405         * nautilus-clean.sh:
5406         clean throbber component as necessary
5407         
5408         * src/Makefile.am:
5409         * src/nautilus-throbber.c,h
5410         removed old throbber widget
5411         
5412         
5413 2001-01-15  Michael Engber  <engber@eazel.com>
5415         reviewed by: John Sullivan
5417         * libnautilus-extensions/nautilus-stock-dialogs.c:
5418         (nautilus_timed_wait_start_with_duration),
5419         (nautilus_timed_wait_start):
5420         * libnautilus-extensions/nautilus-stock-dialogs.h:
5421         * libnautilus-extensions/nautilus-trash-directory.c:
5422         (find_directory_start):
5423         Increase delay before putting up "searching for trash dialog"
5425 2001-01-15  Gene Z. Ragan  <gzr@eazel.com>
5427         reviewed by: Arlo Rose <arlo@eazel.com>
5429         Fixed bug 1420, pane splitter drag outline edges are indistinct
5431         * libnautilus-extensions/nautilus-horizontal-splitter.c:
5432         (splitter_xor_line):
5433         Make line appears as single pixel on off dash.
5434         
5435 2001-01-15  Gene Z. Ragan  <gzr@eazel.com>
5437         reviewed by: Mike Engber <engber@eazel.com>
5439         Fixed bug 5651, Mounting write-protected disk gives Mount Error
5440         
5441         I examined the source code to mount. There is one case where
5442         an error message is returned but it is not an error.  I now
5443         check for that case in the error checking code.
5444         
5445         * libnautilus-extensions/nautilus-volume-monitor.c:
5446         (mount_volume_get_cdrom_name), (eject_cdrom), (close_error_pipe),
5447         (locate_audio_cd):
5448         Also remove some old debugging code and make sure audio cd
5449         mounting is ifdefed out.
5451 2001-01-15  Michael K. Fleming  <mfleming@eazel.com>
5453         reviewed by: <pavel@eazel.com>
5455         * libnautilus-extensions/nautilus-file-operations.c:
5456         (handle_transfer_vfs_error):
5458         Fixed error message for the case where a file was moved to an unwritable
5459         target where permissions were not known in advance (eg, Eazel vault).
5461         Previously: "The file or its directory cannot be changed"
5462         Now: "You do not have permissions to write to this folder"
5464 2001-01-15  Michael Engber  <engber@eazel.com>
5466         reviewed by: Gene Z. Ragan
5468         * libnautilus-extensions/nautilus-directory-background.c:
5469         (set_root_pixmap): Fixed leaking x-server memory.
5471 2001-01-15  John Sullivan  <sullivan@eazel.com>
5473         reviewed by: Darin Adler  <darin@eazel.com>
5475         Some work on bug 2146 (Properties window for desktop Trash icon
5476         should show Trash properties)
5478         * src/file-manager/fm-properties-window.c:
5479         (is_merged_trash_directory): New helper function, checks whether
5480         window is displaying special trash location.
5481         (should_show_custom_icon_buttons): New helper function, returns
5482         FALSE for special trash location since custom icons don't work
5483         with the trash (see bug 5642)
5484         (should_show_mime_type): New helper function, extracted for
5485         code clarity (returns FALSE for directories).
5486         (create_basic_page): Now takes only one parameter, gets file
5487         and notebook from details struct; uses should_show_mime_type
5488         and should_show_custom_icon_buttons.
5489         (create_emblems_page), (create_permissions_page): Now take only
5490         one parameter, get file and notebook from details struct.
5491         (should_show_emblems): New helper function, returns FALSE for
5492         special trash location since emblems don't work with the
5493         trash (see bug 5643)
5494         (should_show_permissions): New helper function, returns FALSE for
5495         special trash location since it's not really a file system object
5496         for which permissions make sense.
5497         (create_properties_window): Respect should_show_emblems and
5498         should_show_permissions.
5500         Eli ran into a case where the "can't set permissions" error message
5501         was the vague default case when the disk was locked. I added that
5502         case to the set of specifically handled cases.
5504         * src/file-manager/fm-error-reporting.c:
5505         (fm_report_error_renaming_file), (fm_report_error_setting_group),
5506         (fm_report_error_setting_owner),
5507         (fm_report_error_setting_permissions): Handle
5508         GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM cases.
5510 2001-01-15  Ian McKellar  <ian@eazel.com>
5512         * components/services/inventory/eazel-inventory-service.c:
5513         (impl_Trilobite_Eazel_Inventory__get_machine_name):
5514         The default hostname is now guessed if:
5515         It now guesses a default if:
5516          - gethostname succeds; and
5517          - the hostname doesn't start with "localhost."
5518          - the hostname doesn't equal "localhost"
5519         The hostname stored is the name, up to but not including the 
5520         first "." in the name (if any).
5522 2001-01-15  Darin Adler  <darin@eazel.com>
5524         Fix bug 5557 (Intermittent crash in
5525         Nautilus_View_history_changed):
5526         
5527         * src/nautilus-view-frame.c: (send_history): Added a check for
5528         NULL so we don't try to send a NULL history list through the
5529         history machinery.
5531         Fix bug 5360 ("menthos's Home" string is hard to translate):
5533         * src/file-manager/fm-desktop-icon-view.c:
5534         (update_home_link_and_delete_copies): Added comment to help
5535         translators understand what to do with "%s's Home".
5537         Fix bug 5641 ("xfree" does not work with newer versions of RPM 4
5538         headers):
5539         
5540         * components/services/install/lib/eazel-package-system-rpm3.c:
5541         (eazel_package_system_rpm3_packagedata_fill_from_header): Just
5542         use "free" instead of "xfree".
5544         Fix bug 5631 (Tear-offs of right-click menus don't work):
5545         
5546         * src/nautilus-shell-ui.xml:
5547         * src/file-manager/nautilus-directory-view-ui.xml:
5548         * src/file-manager/nautilus-icon-view-ui.xml:
5549         Mark popups and submenus of the popups with tearoff="0" so they
5550         don't have tear-off menu items.
5551         
5552         More work on bug 2147 (NautilusFile for trash needs non-empty
5553         values for more properties).
5554         
5555         * libnautilus-extensions/nautilus-file.h:
5556         * libnautilus-extensions/nautilus-file.c:
5557         (nautilus_file_new_from_relative_uri),
5558         (nautilus_file_new_from_info), (nautilus_file_monitor_add),
5559         (nautilus_file_monitor_remove),
5560         (nautilus_file_get_directory_item_count),
5561         (nautilus_file_get_deep_counts), (nautilus_file_check_if_ready),
5562         (nautilus_file_call_when_ready),
5563         (nautilus_file_cancel_call_when_ready):
5564         Put more of the machinery in place to make enough of NautilusFile
5565         virtual so that we can implement the trash case.
5566         
5567         * libnautilus-extensions/nautilus-merged-directory.h:
5568         * libnautilus-extensions/nautilus-merged-directory.c:
5569         (merged_add_real_directory),
5570         (nautilus_merged_directory_add_real_directory),
5571         (merged_remove_real_directory),
5572         (nautilus_merged_directory_remove_real_directory),
5573         (remove_all_real_directories),
5574         (nautilus_merged_directory_initialize_class):
5575         Make adding and removing directories use signals so we can share
5576         this list with the NautilusTrashFile.
5578         * libnautilus-extensions/nautilus-trash-file.c:
5579         (add_directory_callback), (remove_directory_callback),
5580         (nautilus_trash_file_initialize), (trash_destroy):
5581         Use a NautilusTrashDirectory object for the list of directories.
5582         
5583         * libnautilus-extensions/nautilus-vfs-file.c:
5584         (vfs_file_monitor_add), (vfs_file_monitor_remove),
5585         (vfs_file_call_when_ready), (vfs_file_cancel_call_when_ready),
5586         (vfs_file_check_if_ready), (vfs_file_get_item_count),
5587         (vfs_file_get_deep_counts), (nautilus_vfs_file_initialize_class):
5588         Move the guts of these functions into the "VFS" subclass.
5590         Other stuff:
5591         
5592         * libnautilus-extensions/nautilus-trash-directory.c:
5593         (find_directory_start), (find_directory_end),
5594         (find_directory_callback), (add_volume), (remove_trash_volume):
5595         Fix bug in the recently-added timed-wait, to handle the case where
5596         the call is cancelled as well as the case where it succeeds or
5597         fails.
5598         
5599         * src/file-manager/fm-directory-view.c:
5600         (zoomable_set_zoom_level_callback): Formatting tweak.
5601         
5602         * src/nautilus-main.c: (main): Fix the FIXME.
5604 2001-01-15  Ian McKellar  <ian@eazel.com>
5606         * components/services/inventory-view/nautilus-inventory-config-page
5607         .c: (nautilus_inventory_config_page_initialize):
5608         Retreive the previously assigned machine name (if one exists).
5609         Retreive the previously set "warn before upload" setting.
5611         * components/services/inventory/eazel-inventory-client.c: (main):
5612         Added default values so that this actually works.
5614         * components/services/inventory/eazel-inventory-service.c:
5615         (impl_Trilobite_Eazel_Inventory__set_machine_name),
5616         (impl_Trilobite_Eazel_Inventory_upload):
5617         Added some temporary debugging code, and the beginnings of better
5618         error checking/reporting.
5619         Removed hardcoded filesystem paths.
5621         * components/services/inventory/eazel-inventory-utils.h:
5622         * components/services/inventory/eazel-inventory-utils.c:
5623         (eazel_gather_inventory), (eazel_inventory_local_path):
5624         Removed hardcoded filesystem paths.
5626 2001-01-15  Gene Z. Ragan  <gzr@eazel.com>
5628         Fixed bug 5533, Need good dialog text for failed
5629         replace of special desktop icons.
5630         
5631         * libnautilus-extensions/nautilus-file-operations.c:
5632         (handle_transfer_overwrite):
5634 2001-01-15  J Shane Culpepper  <pepper@eazel.com>
5636         reviewed by: Michael Engber <engber@eazel.com>
5638         * src/nautilus-application.c: (nautilus_application_startup):
5639         * src/nautilus-application.h:
5640         * src/nautilus-first-time-druid.c: (druid_finished):
5641         * src/nautilus-main.c: (main):
5643         Fix for bug #1555.  There is already an error dialog but there
5644         was an infinite loop problem hiding it.  If the first time druid
5645         failed to create .nautilus, etc it would just run over and over
5646         again.
5648 2001-01-15  Gene Z. Ragan  <gzr@eazel.com>
5650         Fixed bug 5635, RPM view crashed if click "Install"
5651         after unmounting volume containing RPM
5652         
5653         Fixed bug 5636, Unmounting a volume doesn't close
5654         it's associated windows.
5655                 
5656         * src/nautilus-application.c: (nautilus_application_initialize),
5657         (volume_mounted_callback), (volume_unmounted_callback):
5658         Connect to volume monitor signals.  When a volume is unmounted,
5659         examine open window list and close any windows that originate
5660         from the volume being unmounted.
5661                         
5662         Add code to mount audio cds on desktop. It is all
5663         ifdefed out right now.
5664         
5665         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
5666         (update_disks_menu):
5668         * libnautilus-extensions/nautilus-volume-monitor.c:
5669         (nautilus_volume_monitor_volume_is_removable),
5670         (nautilus_volume_monitor_get_removable_volumes),
5671         (nautilus_volume_monitor_get_target_uri),
5672         (mount_volume_get_cdda_name), (mount_volume_activate_cdda),
5673         (mount_volume_get_name), (mount_volume_activate),
5674         (get_current_mount_list), (mount_volumes_check_status),
5675         (mount_volume_cdda_add), (mount_volume_add_filesystem),
5676         (open_cdda_device), (locate_audio_cd):
5677         * libnautilus-extensions/nautilus-volume-monitor.h:
5679 2001-01-14  J Shane Culpepper  <pepper@eazel.com>
5681         * src/nautilus-view-frame.c: (attach_client):
5683         Upped the timeout from 10 seconds to 12 seconds to be paranoid on
5684         really slow machines. I think this is really generous for bug #4757.
5685         In an attempt to reproduce the crash I started a build of mozilla
5686         and gcc "emulate" a slow machine since I don't have one.  Adding
5687         additional comments to bugzilla bug #4757.
5689 2001-01-13  Jim Garrison <garrison@users.sourceforge.net>
5691         * nautilus.spec.in: package "extras" no longer depends on mpg123
5693 2001-01-13  Gene Z. Ragan  <gzr@eazel.com>
5695         Fixed bug 5414, Don't create a link for launchers dragged onto desktop
5696         that require a terminal
5697         
5698         * src/file-manager/fm-desktop-icon-view.c: (create_link_callback),
5699         (icon_view_create_nautilus_links):
5700         Display a simple dialog telling user that we don't support htis feature yet.
5702 2001-01-13  Andy Hertzfeld  <andy@eazel.com>
5704         * libnautilus-extensions/nautilus-icon-canvas-item.c: (hit_test):
5705         fixed bug 4731, expanding folders cause oscillation, by hit-testing
5706         to the bounding box instead of the pixmap when an icon is highlighted
5707         for dropping.
5708         
5709 2001-01-12  Ramiro Estrugo  <ramiro@eazel.com>
5711         reviewed by: Arik Devens  <arik@gnome.org>
5713         * components/music/nautilus-music-view.c:
5714         (music_view_set_selected_song_title), (reset_playtime),
5715         (play_status_display), (slider_moved_callback),
5716         (add_play_controls):
5717         Fix bug 5617.  Playtime in music view keeps growing forever.
5718         
5719 2001-01-12  John Sullivan  <sullivan@eazel.com>
5721         reviewed by: Rebecca Schulman  <rebecka@eazel.com>
5723         Fixed bug 5437 (date column is too wide for default nautilus width)
5725         * src/file-manager/fm-list-view.c: (real_get_column_specification):
5726         Tweaked the default column widths so they're more balanced in the
5727         default window width. The tradeoff is that you lose the date column
5728         more quickly if you resize the window thinner (but of course the
5729         user can stretch the columns to get it back). The column widths
5730         in the search results view already look decent, for slightly
5731         mysterious historical reasons.
5733 2001-01-12  Michael Engber  <engber@eazel.com>
5735         reviewed by: Gene Z. Ragan
5737         * libnautilus-extensions/nautilus-icon-canvas-item.c:
5738         (draw_stretch_handles_aa), (draw_label_text_aa),
5739         (nautilus_icon_canvas_item_render):
5740         Removed last vestiges of affine/libart code which was
5741         slowing up icon drawing - bug 5381.
5743 2001-01-12  Ramiro Estrugo  <ramiro@eazel.com>
5745         * components/services/install/nautilus-view/nautilus-service-install-view.c:
5746         (nautilus_service_install_downloading):
5747         I meant to actually remove the code rather than comment it out.
5749 2001-01-12  Ramiro Estrugo  <ramiro@eazel.com>
5751         reviewed by: Arik Devens  <arik@gnome.org>
5753         * libnautilus-extensions/nautilus-label.c:
5754         (nautilus_label_expose_event),
5755         (nautilus_label_set_background_mode), (nautilus_label_set_text),
5756         (nautilus_label_get_text):
5757         * libnautilus-extensions/nautilus-label.h:
5758         Change the get_text() prototype to use a const object.  Add a
5759         workaround for bug 5608 while I debug the problem.
5761         reviewed by: Robey Pointer  <robey@eazel.com>
5763         * components/services/install/nautilus-view/nautilus-service-install-view.c:
5764         (nautilus_service_install_downloading):
5765         Remove queue_resize() workarounds for improperly displaying
5766         labels.  I checked in a workaround in NautilusLabel instead.
5767         
5768 2001-01-12  Andy Hertzfeld  <andy@eazel.com>
5770         fixed bug 5198, removing an active sidebar panel messes up the
5771         remaining ones. I had already fixed this but missed the case when
5772         multiple windows were open. Fixed by adding a sidebar call to
5773         close the active panel if it matches a passed-in id, and used that
5774         in nautilus window to close the panel if necessary before
5775         destroying it.
5776         
5777         * src/nautilus-sidebar.c:
5778         (nautilus_sidebar_hide_active_panel_if_matches),
5779         (toggle_sidebar_panel):
5780         added routine to close the active panel if it matches a passed-in
5781         id.
5782         * src/nautilus-sidebar.h:
5783         added above mentioned routine
5784         
5785         * src/nautilus-window-manage-views.c: (handle_view_failure),
5786         (nautilus_window_set_sidebar_panels):
5787         close the active panel if necessary before destroying it.
5788         
5789 2001-01-12  John Sullivan  <sullivan@eazel.com>
5791         Fixed the corner of bug 3405 that valiant bug verifier Brett
5792         discovered while verifying. Yay for bug verification!
5794         * src/file-manager/fm-icon-view.c: (switch_to_manual_layout):
5795         I had neglected to remove an extra call to
5796         nautilus_icon_container_reset_scroll_region here. It's already
5797         handled one level lower, where the empty directory case is
5798         taken into account.
5800 2001-01-12  John Sullivan  <sullivan@eazel.com>
5802         reviewed by: Michael Engber  <engber@eazel.com>
5804         Fixed bug 2207 (Search needs to gracefully handle too
5805         many items found)
5807         * libnautilus-extensions/nautilus-directory-async.c:
5808         (directory_load_done): Don't treat GNOME_VFS_OK as an
5809         error case here. This was happening when the file limit
5810         was reached, and the resulting propogated error was making
5811         it to the search list view code, which was putting up
5812         an error dialog saying no error had occurred.
5813         
5814         * libnautilus-extensions/nautilus-directory.h:
5815         Added FIXME with bug number for new bug 5603, which complains
5816         that the file list limit isn't as hard as it claims.
5817         
5818         * src/file-manager/fm-directory-view.h:
5819         * src/file-manager/fm-directory-view.c:
5820         (fm_directory_view_initialize_class),
5821         (fm_directory_view_file_limit_reached), (real_file_limit_reached),
5822         (check_for_directory_hard_limit): Broke out the code that handles
5823         the UI when the directory contains too many files such that
5824         subclasses can override the behavior.
5826         (fm_directory_view_get_containing_window): Renamed from
5827         "get_containing_window" and made public so subclasses don't have
5828         to reimplent.
5829         (fm_directory_view_confirm_multiple_windows),
5830         (fm_directory_view_launch_application), (choose_program),
5831         (fm_directory_view_confirm_deletion), (confirm_delete_from_trash),
5832         (report_broken_symbolic_link), (fm_directory_view_activate_file):
5833         Updated for function name change.
5834         
5835         * src/file-manager/fm-search-list-view.c: 
5836         (load_error_callback): Marked strings for localization; reworded to
5837         avoid use of "directory".
5838         (fm_search_list_view_initialize_class), (real_file_limit_reached):
5839         Put up dialog that's been worded specifically for search results
5840         when too many items are found.
5842 2001-01-12  Ramiro Estrugo  <ramiro@eazel.com>
5844         * test/.cvsignore:
5845         * test/Makefile.am:
5846         * test/test-nautilus-label-offset.c: (main):
5847         * test/test.h:
5849         Add a test for debugging bug 5608.
5850         
5851 2001-01-12  Zbigniew Chyla  <cyba@gnome.pl>
5853         * libnautilus-extensions/nautilus-gtk-macros.h:
5854         Define empty NAUTILUS_ASSIGN_MUST_OVERRIDE_SIGNAL macro if
5855         G_DISABLE_ASSERT is defined.
5857 2001-01-11  Robey Pointer  <robey@eazel.com>
5859         * components/services/install/lib/eazel-install-logic.c:
5860         (eazel_install_start_transaction):
5862         Reverse the package list just before installing, so that the
5863         install view gets info on toplevel packages before their
5864         dependencies (this keeps the user from being bored, since they'll
5865         see the package detailed info on toplevel packages while the
5866         others are installing).
5867         
5868         * components/services/install/lib/eazel-install-metadata.c:
5869         (init_default_install_configuration):
5870         * components/services/install/lib/eazel-install-object.c:
5871         (eazel_install_uninstall_packages):
5873         Remove last vestigal uses of a literal "/var" path.
5874         
5875         * components/services/install/nautilus-view/nautilus-service-instal
5876         l-view.c: (install_message_new), (generate_install_form),
5877         (current_progress_bar_complete),
5878         (nautilus_service_install_downloading),
5879         (previous_install_finished), (nautilus_service_install_installing),
5880         (nautilus_service_install_done):
5881         * components/services/install/nautilus-view/nautilus-service-instal
5882         l-view.h:
5884         Finish Arlo'ification of the install view: Pin the message box at
5885         a specific height, clean up lots of nastiness caused by the new
5886         font system, and fix up the text displayed per-package when the
5887         package is done being installed.  Also, fix a bug that caused a
5888         cancelled install to report that it was successful.
5889         
5890         * components/services/nautilus-dependent-shared/eazel-services-head
5891         er.c: (eazel_services_header_middle_new):
5893         Change positioning of the middle header so that it doesn't cause
5894         mondo amounts of empty space to appear beneath it.  (Not sure why;
5895         GTK magic.)
5897 2001-01-11  John Harper  <jsh@eazel.com>
5899         reviewed by: Pavel Cisler  <pavel@eazel.com>
5901         Fixed bug 5589 (crash when dragging from list view), that I'd
5902         introduced when making list view icons anti-aliased
5904         * libnautilus-extensions/nautilus-list.h,
5905         libnautilus-extensions/nautilus-list.c
5906         (nautilus_list_get_pixbuf): new function, returns the GdkPixbuf
5907         stored in a cell, or a null pointer if there isn't one
5909         * src/file-manager/fm-list-view.c (fm_list_get_drag_pixmap):
5910         use nautilus_list_get_pixbuf to fetch the GdkPixbuf from the
5911         row, then gdk_pixbuf_render_pixmap_and_mask to turn it into the
5912         required format (instead of accessing the NautilusClist widget
5913         directly, assuming that a Pixmap is stored in the cell)
5915 2001-01-12  Rebecca Schulman  <rebecka@eazel.com>
5917         * src/nautilus-complex-search-bar.c:
5918         (nautilus_complex_search_bar_get_location):
5919         Change "index-only" to "index-if-available"
5920         in search uris, to take advantage of the new
5921         option in medusa to perform a slow search
5922         only if an index is unavailable
5924 2001-01-11  John Sullivan  <sullivan@eazel.com>
5926         reviewed by: Pavel Cisler  <pavel@eazel.com>
5928         Fixed bug 2068 (Dragging icons adjusts scroll area in a way
5929         that causes immediate scrolling)
5931         Fixed bug 3402 (Dragging singleton icon to edge of window in
5932         manual layout mode puts it back at top-left)
5934         Fixed bug 3405 (Dropping an icon into empty manual-layout
5935         window always puts it at top-left)
5937         Fixed bug 3570 (Relayout glitch after removing an item from
5938         a view)
5940         I had earlier started to fix these by trying to save and
5941         restore the scroll position per directory. But this path
5942         turned evil, and I gave up on it. There is still some
5943         partly-implemented work from my start in the evil direction,
5944         which I will remove in my next checkin.
5946         The new fix was to always include the visible white space
5947         when recomputing the icon container's scroll region, unless
5948         a caller has specifically requested not to.
5950         * libnautilus-extensions/nautilus-icon-container.h:
5951         * libnautilus-extensions/nautilus-icon-container.c:
5952         (nautilus_icon_container_reset_scroll_region): New function,
5953         sets a flag in the details struct that's respected in the
5954         next scroll region update.
5955         (reset_scroll_region_if_not_empty): New helper function,
5956         calls _reset_scroll_region unless container is empty.
5957         (nautilus_icon_container_update_scroll_region_include_visible_area):
5958         Removed this function; its equivalent is to call reset_scroll_region
5959         before calling update_scroll_region.
5960         (nautilus_icon_container_update_scroll_region): Now that the
5961         _include_visible_area variant is gone, merged the local function
5962         update_scroll_region with this public one. It decides whether to
5963         include the visible area or not based on the flag set by
5964         _reset_scroll_region (also, it never includes the visible area
5965         if the container is empty).
5966         (nautilus_icon_container_set_auto_layout): Reset the scroll region
5967         when changing the auto_layout state.
5968         (nautilus_icon_container_sort): reset the scroll region before
5969         sorting.
5971         * libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
5972         Call nautilus_icon_container_update_scroll_region instead of
5973         _update_scroll_region_include_visible_area, which no longer exists.
5974         
5975         * libnautilus-extensions/nautilus-icon-private.h: Store flag for
5976         resetting scroll region in details; eliminate prototype for
5977         nautilus_icon_container_update_scroll_region_include_visible_area.
5978         
5979         * src/file-manager/fm-directory-view.h:
5980         * src/file-manager/fm-directory-view.c:
5981         (fm_directory_view_initialize_class), (done_loading),
5982         (fm_directory_view_begin_loading), (fm_directory_view_end_loading):
5983         Added end_loading signal that's sent when a directory is finished
5984         loading, parallel to existing begin_loading signal.
5986         * src/file-manager/fm-icon-view.c:
5987         (fm_icon_view_add_file): Reset the scroll region for the first
5988         icon added when loading a directory.
5989         (fm_icon_view_begin_loading), (fm_icon_view_end_loading): 
5990         Remember that we're loading, so fm_icon_view_add_file can test correctly.
5991         (set_sort_criterion_by_id): Bail out early if state hasn't changed.
5992         (switch_to_manual_layout): Bail out early if state hasn't changed.
5993         Also, reset scroll region before switching to manual layout.
5994         (fm_icon_view_initialize_class): Attach fm_icon_view_end_loading to
5995         virtual function slot.
5997 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
5999         * src/nautilus-property-browser.c: (make_category_link):
6000         Add a fixme for a problem i just spotted.
6001         
6002 2001-01-11  Robin * Slomkowski  <rslomkow@eazel.com>
6004         * test/Makefile.am: added test/test.h to EXTRA_DIST
6006 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
6008         reviewed by: Mike Fleming  <mfleming@eazel.com>
6010         * libnautilus-extensions/nautilus-art-extensions.c:
6011         (nautilus_art_irect_align):
6012         * libnautilus-extensions/nautilus-art-extensions.h:
6013         New function to align a rectangle within another.
6014         
6015         * libnautilus-extensions/nautilus-image.c:
6016         (image_get_pixbuf_bounds):
6017         * libnautilus-extensions/nautilus-label.c: (label_get_text_bounds):
6018         Share more code between these two widgets by using a common
6019         alignment routine.
6020         
6021 2001-01-11  Michael Meeks  <michael@helixcode.com>
6023         * components/adapter/nautilus-adapter-embeddable-embed-strategy.c
6024         (nautilus_adapter_embeddable_embed_strategy_new): remove redundant
6025         bonobo_item_container_add.
6027 2001-01-11  Andy Hertzfeld  <andy@eazel.com>
6029         * src/nautilus-property-browser.c: (make_category_link):
6030         make the category links use nautilus-image for anti-aliased
6031         graphics like we intended, now that Ramiro has fixed the
6032         background problems.
6033         
6034         * icons/eazel/Back.png
6035         * icons/eazel/Forward.png
6036         * icons/eazel/Home.png
6037         * icons/eazel/Refresh.png
6038         * icons/eazel/Search.png
6039         * icons/eazel/SearchWeb.png
6040         * icons/eazel/Services.png
6041         * icons/eazel/Stop.png
6042         * icons/eazel/Up.png
6043         newer toolbar buttons from Susan
6044         
6045 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
6047         * src/nautilus-about.c: (nautilus_about_draw_info),
6048         (nautilus_about_update_authors):
6050         Fix bug 5056 - hard coded fonts in About dialog.
6051         
6052 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
6054         * libnautilus-extensions/nautilus-preferences.c:
6055         (preferences_hash_node_check_changes_func):
6056         Yank FIXME for bug 1273 which no longer exists.
6057         
6058 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
6060         * applets/launcher/nautilus-launcher-applet.c: (image_leave_event),
6061         (set_is_launching), (image_button_press_event),
6062         (image_button_release_event), (main):
6063         Fix imminent build bustage.  Updates for NautilusImage api changes.
6064         
6065 2001-01-11  Robey Pointer  <robey@eazel.com>
6067         * components/services/install/lib/eazel-install-corba-callback.c:
6068         (eazel_install_callback_initialize), (eazel_install_callback_new):
6070         Turn g_error to g_warning in the EazelInstallCallback initializer,
6071         so that it doesn't kill off the view when the install service
6072         isn't around.  Instead, set some fields to NULL and return
6073         normally.  The *_new call then returns NULL on failure.
6074         
6075         * components/services/install/nautilus-view/nautilus-service-instal
6076         l-view.c: (nautilus_service_install_installing),
6077         (nautilus_service_install_view_update_from_uri):
6079         Notice if the eazel_install_callback_new call returns NULL, and
6080         gracefully handle it by ceasing operations and popping up a dialog
6081         about the failure.  This solves the "don't crash if the install
6082         service is missing" bug.
6084         * components/services/install/lib/eazel-install-object.c:
6085         (eazel_install_add_repository):
6086         * components/services/install/lib/eazel-install-private.h:
6087         * components/services/install/lib/eazel-install-protocols.c:
6088         (my_copy_file), (eazel_install_fetch_file):
6089         * components/services/install/lib/eazel-install-public.h:
6090         * nautilus-installer/src/installer.c: (get_candidate_dirs),
6091         (search_for_local_cds), (eazel_installer_initialize):
6092         * nautilus-installer/src/main.c:
6094         Retrofit the --cache-dir option and code to automatically add
6095         mounted CD packages to the repository, from the PR3 installer
6096         branch.
6097         
6098         * nautilus-installer/src/Makefile:
6100         Help me, Obi-wan, you're my only hope.
6102 2001-01-11  Ramiro Estrugo  <ramiro@eazel.com>
6104         reviewed by: Pavel Cisler  <pavel@eazel.com>
6106         Fix bugs 4711, 2322, 3778, 4989, 5044, 5166, 5408, 4418, 3779 (parts),
6107         5051, 2783 and maybe other relating to (ab)use of fonts,
6108         backgrounds and other sacred attrbiutes of Gtk themes.
6109         
6110         * components/hardware/nautilus-hardware-view.c: (setup_form_title),
6111         (setup_overview_form), (setup_CPU_form), (setup_RAM_form),
6112         (setup_IDE_form):
6113         Fix hard coded fonts.
6114         
6115         * components/music/nautilus-music-view.c:
6116         (nautilus_music_view_initialize),
6117         (music_view_set_selected_song_title), (reset_playtime),
6118         (play_status_display), (slider_moved_callback),
6119         (add_play_controls):
6120         Fix hard coded fonts.
6121         
6122         * components/rpmview/nautilus-rpm-verify-window.c:
6123         (nautilus_rpm_verify_window_initialize):
6124         Fix hard coded fonts.
6125         
6126         * components/rpmview/nautilus-rpm-view.c:
6127         (nautilus_rpm_view_initialize):
6128         * components/services/install/nautilus-view/nautilus-service-instal
6129         l-view.c: (horizontal_line_new), (install_message_new),
6130         (generate_install_form),
6131         (nautilus_service_install_view_initialize),
6132         (current_progress_bar_complete),
6133         (nautilus_service_install_installing):
6134         Fix hard coded fonts.
6135         
6136         * components/services/login/nautilus-view/nautilus-change-password-
6137         view.c: (generate_change_password_form), (authn_succeeded),
6138         (authn_failed), (change_password_button_cb),
6139         (nautilus_change_password_view_initialize):
6140         Fix hard coded fonts.  Cleanup header inclusion a bit.
6141         
6142         * components/services/nautilus-dependent-shared/Makefile.am:
6143         Retire some crufty code.
6144         
6145         * components/services/nautilus-dependent-shared/eazel-services-exte
6146         nsions.c: (eazel_services_image_new),
6147         (eazel_services_image_new_from_uri):, (eazel_services_label_new):
6148         Update for label, image and hard coded font changes.
6149         
6150         * components/services/nautilus-dependent-shared/eazel-services-exte
6151         nsions.h:
6152         Make the colors opaque.  Remove a bunch of hard coded font stuff.
6153         Also remove a bunch of hard coded offsets.  We use alignments and
6154         paddings instead.
6156         * components/services/nautilus-dependent-shared/eazel-services-foot
6157         er.c: (label_enter_event), (label_leave_event),
6158         (image_enter_event), (footer_item_new),
6159         (eazel_services_footer_update):
6160         Update for label, image and hard coded font changes.
6162         * components/services/nautilus-dependent-shared/eazel-services-head
6163         er.c: (eazel_services_header_title_new),
6164         (eazel_services_header_middle_new):
6165         * components/services/nautilus-dependent-shared/shared-service-util
6166         ities.c:
6167         * components/services/nautilus-dependent-shared/shared-service-util
6168         ities.h:
6169         * components/services/nautilus-dependent-shared/shared-service-widg
6170         ets.c:
6171         * components/services/nautilus-dependent-shared/shared-service-widg
6172         ets.h:
6173         * components/services/summary/nautilus-view/nautilus-summary-callba
6174         cks.c:
6175         * components/services/summary/nautilus-view/nautilus-summary-dialog
6176         s.c: (generate_login_dialog):
6177         * components/services/summary/nautilus-view/nautilus-summary-footer
6178         .c:
6179         * components/services/summary/nautilus-view/nautilus-summary-menu-i
6180         tems.c:
6181         * components/services/summary/nautilus-view/nautilus-summary-view-p
6182         rivate.h:
6183         * components/services/summary/nautilus-view/nautilus-summary-view.c
6184         : (generate_summary_form), (generate_service_entry_row),
6185         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
6186         Update for label, image and hard coded font changes.
6187         
6188         * libnautilus-extensions/Makefile.am:
6189         Add new smooth/label/image widget stuff.  Retire buffered widget.
6190         
6191         * libnautilus-extensions/nautilus-art-extensions.c:
6192         (nautilus_art_irect_get_width), (nautilus_art_irect_get_height):
6193         * libnautilus-extensions/nautilus-art-extensions.h:
6194         Two new very simple functions to get the width/height of an
6195         ArtIRect. 
6196         
6197         * libnautilus-extensions/nautilus-art-gtk-extensions.c:
6198         (nautilus_irect_gtk_widget_get_frame):
6199         * libnautilus-extensions/nautilus-art-gtk-extensions.h:
6200         New simple function to get the dimensions of a widget as an
6201         ArtIRect frame.
6203         * libnautilus-extensions/nautilus-buffered-widget.c:
6204         * libnautilus-extensions/nautilus-buffered-widget.h:
6205         Retire.  We dont use this no more.
6206         
6207         * libnautilus-extensions/nautilus-customization-data.c:
6208         (nautilus_customization_data_get_next_element_for_display):
6209         Update for image and hard coded font changes.
6211         * libnautilus-extensions/nautilus-debug-drawing.c:
6212         (debug_pixbuf_viewer_initialize_class),
6213         (debug_pixbuf_viewer_initialize), (debug_pixbuf_viewer_destroy),
6214         (debug_pixbuf_viewer_size_request),
6215         (debug_pixbuf_viewer_expose_event),
6216         (debug_pixbuf_viewer_set_pixbuf),
6217         (nautilus_debug_draw_rectangle_and_cross), (destroy_debug_window),
6218         (nautilus_debug_show_pixbuf):
6219         * libnautilus-extensions/nautilus-debug-drawing.h:
6220         Back to using a widget to display the debug pixbuf.  But since we
6221         cant use NautilusImage (because we want to use this debug stuff to
6222         debug NautilusImage itselft) we need something else.  Thus a new
6223         private and simple widget to display the debug pixbuf.
6224         
6225         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
6226         (nautilus_gdk_pixbuf_draw_to_drawable),
6227         (nautilus_gdk_pixbuf_draw_to_pixbuf_alpha): Fix a very dumb typo.
6228         (draw_tile_to_pixbuf_callback),
6229         (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
6230         (nautilus_gdk_pixbuf_draw_to_drawable_tiled),
6231         (nautilus_gdk_pixbuf_get_from_window_safe):
6232         Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
6233         clarity. 
6235         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
6236         Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
6237         clarity. 
6238         
6239         * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
6240         Update opacity macros.  Tiny update for change in font constructor.
6242         * libnautilus-extensions/nautilus-image-with-background.h:
6243         * libnautilus-extensions/nautilus-image-with-background.c:
6244         (find_background_ancestor), (draw_background_callback),
6245         (nautilus_image_new_with_background):
6246         Create a NautilusImage that uses NautilusBackground to
6247         draw the background.  We put this in a separate file to avoid the
6248         ugly dependency chain in NautilusBackground so that NautilusImage
6249         can be used by standalone components in the future.
6251         * libnautilus-extensions/nautilus-image.h:
6252         * libnautilus-extensions/nautilus-image.c:
6253         (nautilus_image_initialize_class), (nautilus_image_initialize),
6254         (nautilus_image_destroy), (nautilus_image_set_arg),
6255         (nautilus_image_get_arg), (nautilus_image_size_request),
6256         (image_paint_pixbuf_callback), (image_composite_pixbuf_callback),
6257         (nautilus_image_expose_event),
6258         (nautilus_image_set_is_smooth_signal), (image_get_pixbuf_frame),
6259         (image_get_pixbuf_bounds), (image_get_tile_frame),
6260         (nautilus_image_new), (nautilus_image_set_is_smooth),
6261         (nautilus_image_get_is_smooth), (nautilus_image_set_tile_pixbuf),
6262         (nautilus_image_get_tile_pixbuf), (nautilus_image_set_pixbuf),
6263         (nautilus_image_set_pixbuf_from_file_name),
6264         (nautilus_image_get_pixbuf), (nautilus_image_set_pixbuf_opacity),
6265         (nautilus_image_get_pixbuf_opacity),
6266         (nautilus_image_set_tile_opacity),
6267         (nautilus_image_get_tile_opacity), (nautilus_image_set_tile_width),
6268         (nautilus_image_get_tile_width), (nautilus_image_set_tile_height),
6269         (nautilus_image_get_tile_height),
6270         (nautilus_image_set_tile_mode_vertical),
6271         (nautilus_image_get_tile_mode_vertical),
6272         (nautilus_image_set_tile_mode_horizontal),
6273         (nautilus_image_get_tile_mode_horizontal),
6274         (nautilus_image_set_tile_pixbuf_from_file_name),
6275         (nautilus_image_set_background_mode),
6276         (nautilus_image_get_background_mode),
6277         (nautilus_image_set_solid_background_color),
6278         (nautilus_image_get_solid_background_color),
6279         (nautilus_image_new_solid):
6280         Fixed many problems.  Properly handles rendering 
6281         on top of arbitrary Gtk backgrounds.  Does not allocate a buffer
6282         the size of the widget anymore.  All rendering occurs on exposure
6283         events.  Honrts the the GtkMisc superclass attrbutes for alignment
6284         and padding.  The widget is a lot simpler now.
6285         
6286         * libnautilus-extensions/nautilus-label-with-background.h:
6287         * libnautilus-extensions/nautilus-label-with-background.c:
6288         (find_background_ancestor), (draw_background_callback),
6289         (nautilus_label_new_with_background):
6290         Create a NautilusLabel that uses NautilusBackground to
6291         draw the background.  We put this in a separate file to avoid the
6292         ugly dependency chain in NautilusBackground so that NautilusLabel
6293         can be used by standalone components in the future.
6295         * libnautilus-extensions/nautilus-label.h:
6296         * libnautilus-extensions/nautilus-label.c:
6297         (nautilus_label_initialize_class), (nautilus_label_initialize),
6298         (nautilus_label_destroy), (nautilus_label_set_arg),
6299         (nautilus_label_get_arg), (nautilus_label_size_request),
6300         (label_paint_pixbuf_callback), (label_composite_pixbuf_callback),
6301         (nautilus_label_expose_event),
6302         (nautilus_label_set_is_smooth_signal), (label_draw_text_to_pixbuf),
6303         (label_get_default_line_wrap_width), (label_get_text_frame),
6304         (label_get_text_bounds), (label_get_tile_frame), (label_peek_text),
6305         (label_get_empty_line_height),
6306         (label_get_total_text_and_line_offset_height),
6307         (label_line_geometries_clear), (label_line_geometries_recompute),
6308         (nautilus_label_new), (nautilus_label_set_smooth_font),
6309         (nautilus_label_get_smooth_font),
6310         (nautilus_label_set_smooth_font_size),
6311         (nautilus_label_get_smooth_font_size),
6312         (nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
6313         (nautilus_label_set_tile_pixbuf), (nautilus_label_get_tile_pixbuf),
6314         (nautilus_label_set_text_opacity),
6315         (nautilus_label_get_text_opacity),
6316         (nautilus_label_set_tile_opacity),
6317         (nautilus_label_get_tile_opacity), (nautilus_label_set_tile_width),
6318         (nautilus_label_get_tile_width), (nautilus_label_set_tile_height),
6319         (nautilus_label_get_tile_height),
6320         (nautilus_label_set_tile_mode_vertical),
6321         (nautilus_label_get_tile_mode_vertical),
6322         (nautilus_label_set_tile_mode_horizontal),
6323         (nautilus_label_get_tile_mode_horizontal),
6324         (nautilus_label_set_tile_pixbuf_from_file_name),
6325         (nautilus_label_set_background_mode),
6326         (nautilus_label_get_background_mode),
6327         (nautilus_label_set_solid_background_color),
6328         (nautilus_label_get_solid_background_color),
6329         (nautilus_label_set_smooth_line_wrap_width),
6330         (nautilus_label_get_smooth_line_wrap_width),
6331         (nautilus_label_set_text_color), (nautilus_label_get_text_color),
6332         (nautilus_label_set_smooth_drop_shadow_offset),
6333         (nautilus_label_get_smooth_drop_shadow_offset),
6334         (nautilus_label_set_smooth_drop_shadow_color),
6335         (nautilus_label_get_smooth_drop_shadow_color),
6336         (nautilus_label_set_justify), (nautilus_label_get_text_justify),
6337         (nautilus_label_set_text), (nautilus_label_get_text),
6338         (nautilus_label_set_wrap), (nautilus_label_get_wrap),
6339         (nautilus_label_new_solid), (nautilus_label_make_bold),
6340         (nautilus_label_make_larger), (nautilus_label_make_smaller):
6341         Fixed many problems.  Properly handles rendering 
6342         on top of arbitrary Gtk backgrounds.  Does not allocate a buffer
6343         the size of the widget anymore.  All rendering occurs on exposure
6344         events.  Honors the the GtkMisc superclass attrbutes for alignment
6345         and padding.  NautilusLabel is now subclassed from GtkLabel
6346         itself.  That means that the is_smooth attribute can be toggled to
6347         make both religions happy.  Support for making the label larger,
6348         smaller and/or bold based on the current font.  Renamed a lot of
6349         methods to make it obvious that they apply only to the smooth case.
6350         Also made the api match GtkLabel more closely.  So many functions
6351         got renamed.
6352         
6353         * libnautilus-extensions/nautilus-radio-button-group.c:
6354         (nautilus_radio_button_group_set_entry_pixbuf):
6355         Tiny update for changes in the NautilusImage constructor.
6357         * libnautilus-extensions/nautilus-scalable-font-private.h:
6358         New file.  Some private font stuff lives here.  I need this
6359         changed for a checkin that I will make later regarding improvement
6360         of performance in the icon container smooth fonts.
6361         
6362         * libnautilus-extensions/nautilus-scalable-font.h:
6363         * libnautilus-extensions/nautilus-scalable-font.c:
6364         (nautilus_scalable_font_initialize), (font_entry_new),
6365         (font_entry_free), (nautilus_scalable_font_new),
6366         (nautilus_scalable_font_make_bold),
6367         (nautilus_scalable_font_draw_text),
6368         (nautilus_scalable_font_draw_text_lines_with_dimensions),
6369         (nautilus_scalable_font_draw_text_lines),
6370         (nautilus_scalable_font_get_default_font),
6371         (nautilus_scalable_font_get_rsvg_handle),
6372         (nautilus_scalable_font_get_rsvg_context),
6373         (nautilus_text_layout_paint):
6374         Change the constructor to return the type itself instead of
6375         GtkObject.  Some minor style tweaks.  Keep track of the font entry
6376         that was used to allocate the font.  New private functions for
6377         accessing the rsvg context and font handles.  Remove an unsed
6378         function. 
6379         
6380         * libnautilus-extensions/nautilus-smooth-widget.h:
6381         * libnautilus-extensions/nautilus-smooth-widget.c:
6382         (widget_is_smooth), (smooth_widget_set_is_smooth),
6383         (preferences_get_is_smooth), (smooth_widget_destroy),
6384         (smooth_graphics_mode_changed_callback),
6385         (nautilus_smooth_widget_register),
6386         (smooth_widget_get_tile_origin_point),
6387         (smooth_widget_get_gtk_background), (smooth_widget_get_background),
6388         (smooth_widget_paint_tile_opaque),
6389         (smooth_widget_paint_tile_transparent),
6390         (smooth_widget_paint_content_opaque),
6391         (smooth_widget_paint_content_transparent),
6392         (smooth_widget_paint_tile_and_content_transparent),
6393         (nautilus_smooth_widget_paint),
6394         (nautilus_smooth_widget_get_tile_bounds),
6395         (nautilus_smooth_widget_get_preferred_frame):
6396         Shared code between NautilusLabel and NautilusImage.  ALl the code
6397         to support smooth toggable widgets lives here.  Also, keep track
6398         of smooth widgets and toggle their is_smooth attribute in response
6399         to nautilus smooth graphics preferences changes.
6400         
6401         * libnautilus-extensions/nautilus-tabs.c:
6402         (nautilus_tabs_initialize), (draw_tab_label):
6403         Tiny update for change in font constructor.  Add a FIXME for a
6404         hard coded font issue im going to fix later.  Opacity macro
6405         update. 
6406         
6407         * src/file-manager/fm-properties-window.c:
6408         (create_image_widget_for_file):
6409         Using the new image widget makes this code a lot simpler.  No
6410         longer need to check smooth preference.  It all happens
6411         automatically. 
6412         
6413         * src/file-manager/nautilus-indexing-info.c:
6414         (update_progress_display), (show_reindex_request_information),
6415         (show_index_progress_bar), (show_indexing_info_dialog):
6416         Fix a bunch of hard coded font issues.
6417         
6418         * src/nautilus-about.c: (draw_aa_string),
6419         (nautilus_about_draw_info), (nautilus_about_update_authors):
6420         Tiny update for change in font constructor.  Opacity macro
6421         update. 
6422         
6423         * src/nautilus-first-time-druid.c: (label_new_left_justified),
6424         (make_hbox_user_level_radio_button), (set_up_user_level_page),
6425         (set_up_service_signup_page), (set_up_update_page),
6426         (set_up_proxy_config_page), (set_up_update_feedback_page),
6427         (nautilus_first_time_druid_show):
6428         Fix a bunch of hard coded font issues.  Also fix the rendering
6429         problems with image usage inside selectable buttons.
6430         
6431         * src/nautilus-property-browser.c:
6432         (nautilus_property_browser_initialize),
6433         (set_emblem_image_from_file), (make_property_tile),
6434         (make_properties_from_directories), (add_reset_property),
6435         (make_properties_from_xml_node),
6436         (nautilus_property_browser_update_contents):
6437         Fix hard coded fonts.  Update for NautilusImage and NautilusLabel
6438         changes. 
6439         
6440         * src/nautilus-search-bar-criterion.c:
6441         Remove unused #include.
6442         
6443         * src/nautilus-shell.c: (display_caveat):
6444         Fix hard coded fonts.
6445         
6446         * src/nautilus-sidebar-tabs.c:
6447         (nautilus_sidebar_tabs_load_theme_data), (draw_one_tab_plain),
6448         (draw_one_tab_themed):
6449         Fix hard coded fonts.  Opacity macros update.
6450         
6451         * src/nautilus-sidebar-title.c:
6452         (nautilus_sidebar_title_initialize),
6453         (nautilus_sidebar_title_select_text_color), (update_icon),
6454         (update_font), (update_title), (update_more_info), (add_emblem),
6455         (sidebar_title_create_title_label),
6456         (sidebar_title_create_more_info_label),
6457         (smooth_graphics_mode_changed_callback):
6458         Update for NautilusImage and NautilusLabel changes.  Made the
6459         widget a lot simpler.  
6461         We no longer need to keep track of smooth changes in the sidebar
6462         title.  They are taked care automatically by the widgets.  
6464         We no longer need to create 2 labels to honor smoothness.
6465         NautilusLabel does it all now.
6466         
6467         Removed a set_background() function that already
6468         exists in nautilus-extensions.
6470         * src/nautilus-theme-selector.c:
6471         (nautilus_theme_selector_initialize), (set_help_label),
6472         (exit_remove_mode):
6473         Fix hard coded fonts.
6474         
6475         * test/font-test.sh:
6476         Retire.  Not needed.
6478         * test/.cvsignore:
6479         * test/Makefile.am:
6480         Add a bunch of tests.
6482         * test/test.h:
6483         * test/test.c:
6484         Put shared test code here.
6485         
6486         * test/test-nautilus-font-simple.c:
6487         * test/test-nautilus-font.c:
6488         * test/test-nautilus-image-background.c:
6489         * test/test-nautilus-image-scrolled.c:
6490         * test/test-nautilus-image-simple.c:
6491         * test/test-nautilus-image-tile.c:
6492         * test/test-nautilus-image.c:
6493         * test/test-nautilus-label-background.c:
6494         * test/test-nautilus-label-flavorful.c:
6495         * test/test-nautilus-label-scrolled.c:
6496         * test/test-nautilus-label-simple.c:
6497         * test/test-nautilus-label-wrapped.c:
6498         * test/test-nautilus-label.c:
6499         * test/test-nautilus-pixbuf-tile.c:
6500         * test/test-nautilus-smooth-graphics.c:
6501         * test/test-nautilus-wrapped-label.c:
6502         Some new tests.  Many updates to old label and image tests.
6504 2001-01-11  Robin * Slomkowski  <rslomkow@eazel.com>
6506         * components/services/inventory/Makefile.am: added $(IDL) to
6507         EXTRA_DISTS
6509 2001-01-11  Ian McKellar  <ian@eazel.com>
6511         * components/services/install/command-line/Makefile.am:
6512         Don't build the inventory test code here as the inventory code has
6513         moved to the inventory component.
6515         * components/services/inventory/eazel-inventory-service-interface.i
6516         dl:
6517         This file was missing from mjs' checkin of the inventory upload code.
6519 2001-01-11  Andy Hertzfeld  <andy@eazel.com>
6521         fixed bug 5338, switching to and from "tighter layout" messes up
6522         icon labels, by adding a call to invalidate an item's cached label
6523         size, and making the icon canvas invalidate the items when appropriate.
6524         This also fixes a similar problem when the anti-aliased mode changes.
6525         
6526         * libnautilus-extensions/nautilus-icon-canvas-item.c:
6527         (nautilus_icon_canvas_item_initialize),
6528         (nautilus_icon_canvas_item_invalidate_label_size),
6529         (nautilus_icon_canvas_item_set_arg):
6530         renamed internal invalidation routine to make it externally accessible
6531         
6532         * libnautilus-extensions/nautilus-icon-canvas-item.h:
6533         added nautilus_icon_canvas_item_invalidate_label_size
6534         
6535         * libnautilus-extensions/nautilus-icon-container.c:
6536         (invalidate_label_sizes),
6537         (nautilus_icon_container_set_anti_aliased_mode),
6538         (nautilus_icon_container_set_tighter_layout):
6539         added an invalidate_label_sizes routine and called it when
6540         tighter layout or the anti-aliased mode changes.
6541         
6542 2001-01-11  Robin * Slomkowski  <rslomkow@eazel.com>
6544         reviewed by: <Josh Barrow  <josh@eazel.com>
6546         * components/services/Makefile.am: fixed typo for
6547         variable INSTALL_SERVICES
6549 2001-01-11  Michael Engber  <engber@eazel.com>
6551         reviewed by: John Sullivan
6553         * libnautilus-extensions/nautilus-stock-dialogs.c:
6554         (timed_wait_delayed_destroy_dialog_callback), (timed_wait_free),
6555         (timed_wait_cancel_callback), (timed_wait_callback),
6556         (nautilus_timed_wait_start), (nautilus_timed_wait_stop):
6557         * libnautilus-extensions/nautilus-trash-directory.c:
6558         (find_directory_callback), (add_volume):
6559         We now put up a dialog when searching for trash is slow - bug 3990.
6560         Also added a minimum time up to nautilus_timed_wait dialogs
6561         so they don't disappear before the user has a chance to read them.
6562         Also, nautilus_timed_wait_start will now accept NULL for the
6563         cancel_callback, resulting in a dialog without a cancel button.
6565 2001-01-11  Michael Engber  <engber@eazel.com>
6567         * configure.in:
6568         Missed configure.in in prior check in.
6570 2001-01-11  Josh Barrow  <josh@eazel.com>
6573         * components/services/Makefile.am:
6574         Fixed typo that said, "INSTALLS_SERVICE".  Changed it to
6575         "INSTALL_SERVICE"
6577 2001-01-11  Maciej Stachowiak  <mjs@eazel.com>
6579         pair programmed with Ian McKellar <ian@eazel.com>
6581         Fix bugs 5100 ("First time dialog" for inventory preferences) and
6582         5099 (Need configuration preferences for inventory control). Ian
6583         and I did a first cut at a component for inventory gathering and
6584         upload, as well as a start on the client-side UI for this.
6586         * components/services/Makefile.am, configure.in: Add
6587         components/services/inventory and
6588         components/services/inventory-view directories to build.
6590         * components/services/install/lib/eazel-inventory-utils.c,
6591         components/services/install/lib/eazel-inventory-utils.h: Move
6592         these files to components/services/inventory.
6593         * components/services/install/lib/Makefile.am: Remove from build
6594         here.
6596         * components/services/inventory-view/.cvsignore:
6597         * components/services/inventory-view/Makefile.am:
6598         * components/services/inventory-view/Nautilus_View_inventory.oaf.in
6599         :
6600         * components/services/inventory-view/main.c: (main):
6601         * components/services/inventory-view/nautilus-inventory-config-page
6602         .c: (nautilus_inventory_config_page_initialize_class),
6603         (next_button_callback),
6604         (nautilus_inventory_config_page_initialize),
6605         (nautilus_inventory_config_page_new),
6606         (nautilus_inventory_config_page_destroy):
6607         * components/services/inventory-view/nautilus-inventory-config-page
6608         .h:
6609         * components/services/inventory-view/nautilus-inventory-view.c:
6610         (nautilus_inventory_view_initialize_class),
6611         (nautilus_inventory_view_initialize),
6612         (nautilus_inventory_view_destroy),
6613         (inventory_load_location_callback):
6614         * components/services/inventory-view/nautilus-inventory-view.h:
6616         First cut at the inventory view component. Right now it only
6617         provides a config page, over time it may also do inventory
6618         display.
6620         * components/services/inventory/.cvsignore:
6621         * components/services/inventory/Makefile.am:
6622         * components/services/inventory/Trilobite_Service_inventory.oaf.in:
6623         * components/services/inventory/eazel-inventory-client.c:
6624         (gboolean_to_yes_or_no), (main):
6625         * components/services/inventory/eazel-inventory-service.c:
6626         (get_enabled), (impl_Trilobite_Eazel_Inventory__get_enabled),
6627         (impl_Trilobite_Eazel_Inventory__set_enabled),
6628         (impl_Trilobite_Eazel_Inventory__get_machine_name),
6629         (impl_Trilobite_Eazel_Inventory__set_machine_name),
6630         (get_warn_before_upload),
6631         (impl_Trilobite_Eazel_Inventory__get_warn_before_upload),
6632         (impl_Trilobite_Eazel_Inventory__set_warn_before_upload),
6633         (impl_Trilobite_Eazel_Inventory_upload),
6634         (eazel_inventory_service_get_epv),
6635         (eazel_inventory_service_finalize),
6636         (eazel_inventory_service_unref),
6637         (eazel_inventory_service_class_initialize),
6638         (eazel_inventory_service_create_corba_object),
6639         (eazel_inventory_service_initialize),
6640         (eazel_inventory_service_get_type), (eazel_inventory_service_new):
6641         * components/services/inventory/eazel-inventory-service.h:
6642         * components/services/inventory/eazel-inventory-utils.c:
6643         (eazel_inventory_gconf_done), (check_gconf_init),
6644         (eazel_create_configuration_metafile), (eazel_gather_inventory):
6645         * components/services/inventory/main.c:
6646         (eazel_inventory_service_factory_destroy),
6647         (eazel_inventory_service_factory), (main):
6649         First cut at back end inventory gathering and upload
6650         component. Right now it uses libeazelinstall directly, it should
6651         probably be changed to use the install/package system CORBA
6652         component for package info.
6653         
6654 2001-01-10  Mike Fleming  <mfleming@eazel.com>
6656         * components/services/summary/nautilus-view/nautilus-summary-callba
6657         cks.c: (authn_cb_failed):
6659         Dialog rewording.  Commented out the "Login failed" dialog that I had
6660         added.  The user keeps getting re-prompted for now.
6662 2001-01-10  Andy Hertzfeld  <andy@eazel.com>
6664         * components/text/nautilus-text-view.c:
6665         (nautilus_text_view_initialize), (nautilus_text_view_destroy),
6666         (done_file_read), (file_read_callback), (file_opened_callback),
6667         (nautilus_text_view_update):
6668         fixed bug 3256, loading a huge text file crashes nautilus.  Now,
6669         if the file size exceeds a predetermined threshold, currently
6670         set at a megabyte, it truncates it to the threshold amount and
6671         warns the user with an error dialog.  As part of this, I made
6672         the text view load files asynchronously and progressively, as
6673         Maciej suggested; however, we won't see the benefit of this
6674         until Pavel checks in some gnome-vfs optimizations he's working
6675         on since currently gnome-vfs doesn't give the main loop much
6676         time to run if it has ongoing activity.
6677         
6678         * components/text/services/Makefile.am:
6679         * components/text/services/french_to_english.xml:
6680         at Bud's request, checked in the "frech to english" text service
6681         
6682         * src/file-manager/fm-properties-window.c: (create_emblems_page):
6683         removed debug message that I accidentally checked in.
6684         
6685 2001-01-10  Gene Z. Ragan  <gzr@eazel.com>
6687         reviewed by: Pavel Cisler <pavel@eazel.com>
6689         Fixed bug 5427, Right-click menu for disk should include
6690         a way to unmount it.
6691         
6692         * src/file-manager/fm-desktop-icon-view.c:
6693         (unmount_volume_callback), (volume_link_is_selection),
6694         (real_update_menus), (real_merge_menus):
6695         Add a context sensitive menu to Nautilus volume links
6696         which allows the volume it represents to be unmounted.
6697         Only allow this if the volume is removable. Currently
6698         only removable volumes are shown on the desktop.
6699         
6700         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
6701         Add command path for new unmount volume command
6702         
6703 2001-01-10  Michael Engber  <engber@eazel.com>
6705         reviewed by: John Harper
6707         * configure.in:
6708         * libnautilus-extensions/nautilus-background-canvas-group.c:
6709         (nautilus_background_canvas_group_initialize_common),
6710         (nautilus_background_canvas_group_initialize),
6711         (nautilus_background_canvas_group_supplant_root_class):
6712         * libnautilus-extensions/nautilus-background-canvas-group.h:
6713         * libnautilus-extensions/nautilus-background.c:
6714         (nautilus_background_set_up_canvas):
6715         Turned on dithering for canvases (aa mode). We no longer expose
6716         NautilusBackgroundCanvasGroupClass, in nautilus-background-canvas-
6717         group.h. Now we just provide an API to do the class change.
6719 2001-01-10  Pavel Cisler  <pavel@eazel.com>
6721         * components/services/install/nautilus-view/nautilus-service-install-view.c:
6722         (install_message_new):
6723         Fix a warning and the build.
6724         
6725 2001-01-09  Mike Fleming  <mfleming@eazel.com>
6727         Added dialogs as specified in:
6729         3871 
6730                 Logging in to account that has not been activated
6731                 should produce activation instructions
6733         3399
6734                 no bad passwd lockout dialog in Nautilus
6736         Also, changed the way the "max login retries" condition was handled
6737         (it previously wasn't) 
6739         * components/services/summary/nautilus-view/nautilus-summary-callba
6740         cks.c: (authn_cb_failed), (login_button_cb):
6741         * components/services/summary/nautilus-view/nautilus-summary-dialog
6742         s.c: (nautilus_summary_login_failure_dialog),
6743         (generate_login_dialog):
6744         * components/services/summary/nautilus-view/nautilus-summary-dialog
6745         s.h:
6746         * components/services/summary/nautilus-view/nautilus-summary-view-p
6747         rivate.h:
6749 2001-01-09  Robey Pointer  <robey@eazel.com>
6751         * components/services/install/nautilus-view/Nautilus_View_install.o
6752         af.in:
6754         Give the install view a reasonable name that won't make people's
6755         heads explode.
6756         
6757         * components/services/install/nautilus-view/nautilus-service-instal
6758         l-view.c: (line_expose), (horizontal_line_new),
6759         (install_message_destroy), (install_message_new),
6760         (generate_install_form), (show_overall_feedback),
6761         (nautilus_service_install_view_initialize), (deps_destroy_foreach),
6762         (nautilus_service_install_view_destroy),
6763         (nautilus_service_install_view_get_nautilus_view),
6764         (nautilus_install_parse_uri), (current_progress_bar_complete),
6765         (nautilus_service_install_downloading),
6766         (nautilus_service_install_dependency_check),
6767         (nautilus_service_install_download_failed),
6768         (nautilus_service_install_installing),
6769         (nautilus_service_install_failed),
6770         (nautilus_service_install_view_update_from_uri),
6771         (nautilus_service_install_view_load_uri),
6772         (service_install_stop_loading_callback):
6773         * components/services/install/nautilus-view/nautilus-service-instal
6774         l-view.h:
6775         * components/services/nautilus-dependent-shared/eazel-services-exte
6776         nsions.h:
6778         Many changes to make the install view prettier and less annoying
6779         -- mostly Arlo'ified now, with some tweaking left to do.
6781 2001-01-09  John Harper  <jsh@eazel.com>
6783         reviewed by: Pavel Cisler <pavel@eazel.com>
6785         Work to make icons in list view draw anti-aliased in respect to
6786         the background. Fixes bug 1659
6788         * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h
6789         (NautilusCellType): added new type NAUTILUS_CELL_PIXBUF at end
6790         of this enum
6792         * libnautilus-extensions/nautilus-list.c (NautilusListDetails):
6793         added fields for RGB values of all background colors
6795         (nautilus_gdk_set_shifted_foreground_gc_color): return the
6796         shifted RGB value
6798         (nautilus_list_setup_style_colors): save RGB values of all
6799         background colors into the details structure
6801         (get_cell_style): added another parameter: `bg_rgb', when a non
6802         null pointer it gets set to the RGB value of the chosen
6803         background color
6805         (draw_cell_pixbuf): added another parameter: `bg_rgb'.
6806         Composite the pixbuf onto a square of this color (using the
6807         full 8-bit alpha), then blit the entire square onto the
6808         drawable
6810         (draw_cell): added cases to handle NAUTILUS_CELL_PIXBUF type.
6811         Also pass the extra arg to draw_cell_pixbuf in
6812         NAUTILUS_CELL_PIXBUF_LIST case
6814         (nautilus_list_set_cell_contents): handle NAUTILUS_CELL_PIXBUF
6815         case
6817         (nautilus_list_set_pixbuf_list): broke out contents into the
6818         new function set_list_cell, parameterized by the
6819         NautilusCellType in addition
6820         (nautilus_list_set_pixbuf): new function, calls set_list_cell
6822         * src/file-manager/fm-list-view.c (install_row_images): get the
6823         file's icon as a pixbuf, not a pixmap/mask pair. Then use
6824         nautilus_list_set_pixbuf to install it in the list cell
6826 2001-01-09  Gene Z. Ragan  <gzr@eazel.com>
6828         reviewed by: Mike Engber <engber@eazel.com>
6830         Fixed bug 5220, Default desktop icon overwritten by dragging
6831         same-named file to Desktop
6833         * libnautilus-extensions/nautilus-file-operations.c:
6834         (handle_transfer_overwrite):
6835         We now check for special link files being overwritten and
6836         notify the user that such an action is not allowed.
6837         
6838 2001-01-08  Andy Hertzfeld  <andy@eazel.com>
6840         * libnautilus-extensions/nautilus-customization-data.c:
6841         (nautilus_customization_data_destroy):
6842         fixed recently introduced memory leak by calling
6843         nautilus_g_hash_table_destroy_deep instead of
6844         g_hash_table_destroy
6845         
6846         * src/nautilus-sidebar-title.c: (update_icon):
6847         fixed problem in the sidebar where web pages were getting the
6848         generic icon instead of the web icon. Fixed by adding
6849         "http:" to the protocols the sidebar special-cases.
6850         
6851 2001-01-08  Darin Adler  <darin@eazel.com>
6853         reviewed by: John Sullivan <sullivan@eazel.com>
6855         A cut at an ability to build without Medusa, starting with a patch
6856         that Eric Fischer wrote. This change is not fully tested.
6858         Fixed bug 5513 ("nautilus --help" displays "Help options" twice).
6860         * acconfig.h: Add HAVE_MEDUSA.
6861         * configure.in: Add code to detect HAVE_MEDUSA.
6862         
6863         * libnautilus-extensions/nautilus-customization-data.c:
6864         (nautilus_customization_data_destroy), (load_name_map_hash_table):
6865         Added a FIXME.
6866         
6867         * libnautilus-extensions/Makefile.am:
6868         * libnautilus-extensions/nautilus-file.h:
6869         * libnautilus-extensions/nautilus-trash-file.h:
6870         * libnautilus-extensions/nautilus-trash-file.c:
6871         (nautilus_trash_file_initialize), (trash_destroy),
6872         (nautilus_trash_file_initialize_class):
6873         * libnautilus-extensions/nautilus-vfs-file.h:
6874         * libnautilus-extensions/nautilus-vfs-file.c:
6875         (nautilus_vfs_file_initialize), (vfs_destroy),
6876         (nautilus_vfs_file_initialize_class):
6877         Initial cut at breaking out the special trash version of
6878         NautilusFile. Sadly we need this as well as
6879         NautilusTrashDirectory.
6880         
6881         * src/file-manager/fm-search-list-view.c:
6882         (load_location_callback): Add _() so things get localized and put
6883         the code to compose the indexing message inside ifdef HAVE_MEDUSA.
6884         
6885         * src/file-manager/nautilus-indexing-info.h:
6886         * src/file-manager/nautilus-indexing-info.c:
6887         Put HAVE_MEDUSA ifdefs around most of this file.
6888         (get_text_for_progress_label): Mark string for translation.
6889         (update_progress_display): Remove code to "handle" timeout left
6890         around after dialog is destroyed.
6891         (update_file_index_callback): Change error messages to be more
6892         easily localizable. Use nautilus_error_dialog instead of
6893         gnome_error_dialog.
6894         (timeout_remove_callback): Get rid of the timeout when the object
6895         is destroyed.
6896         (show_index_progress_bar): Connect handler to get rid of the
6897         timeout when the object is destroyed.
6898         (show_indexing_info_dialog): Move code that puts up dialog into a
6899         new function. Also use nautilus_gtk_window_present to put up a
6900         window. Change the NautilusLabel to use line wrapping.
6901         (show_search_service_not_available_dialog): Put this dialog in its
6902         own function so you can use it multiple times.
6903         (nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around
6904         the content of this function.
6905         (nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA
6906         around the function, with a small simple implementation for the
6907         other case.
6908         (nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the
6909         function, with a small invocation of the "not available" dialog.
6910         
6911         * src/nautilus-main.c: (main): Remove redundant AUTOHELP.
6912         
6913         * src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
6914         Fix emblem_name storage lifetime problem.
6916         * src/file-manager/fm-icon-view.c: Whitespace tweak.
6918 2001-01-08  John Sullivan  <sullivan@eazel.com>
6920         reviewed by: Darin Adler  <darin@eazel.com>
6922         Some infrastructure for bug 2068 and related bugs.
6923         No actual user-visible changes yet.
6925         * libnautilus-extensions/nautilus-scrolled-window.h:
6926         * libnautilus-extensions/nautilus-scrolled-window.c:
6927         New files, implement a subclass of GtkScrolledWindow
6928         that sends a signal when the scroll position changes.
6929         This was tragically left out of GtkScrolledWindow.
6930         (nautilus_scrolled_window_initialize_class),
6931         (nautilus_scrolled_window_initialize): The usual stuff.
6932         (get_hadjustment), (get_vadjustment): Little helper
6933         functions to avoid repeating some casting.
6934         (adjustment_changed_callback): Callback that emits the
6935         scroll_changed signal when the scroll changes.
6936         (connect_adjustment): Helper function that disconnects
6937         old signals and sets up new ones when the adjustment
6938         objects change.
6939         (real_set_arg): virtual function overridden to connect
6940         up adjustment_changed_callback.
6941         (nautilus_scrolled_window_set_vadjustment),
6942         (nautilus_scrolled_window_set_hadjustment): New functions
6943         that call through to gtk_scrolled_window_xxx and connect
6944         up adjustment_changed_callback.
6945         
6946         * libnautilus-extensions/Makefile.am: Add the new
6947         files to the build.
6948         
6949         * libnautilus-extensions/nautilus-metadata.h:
6950         #define NAUTILUS_METADATA_KEY_ICON_VIEW_SCROLL_ORIGIN
6952         * src/file-manager/fm-directory-view.h:
6953         * src/file-manager/fm-directory-view.c:
6954         (fm_directory_view_initialize): Make FMDirectoryView inherit
6955         from NautilusScrolledWindow instead of GtkScrolledWindow so
6956         it can hook into the scroll_changed signal.
6958 2001-01-08  Gene Z. Ragan  <gzr@eazel.com>
6960         Fixed bug 5507, nautilus crashes when you unmount a drive while a file is
6961         viewed in music viewer
6962         
6963         * libnautilus-extensions/nautilus-volume-monitor.c:
6964         (close_error_pipe):
6965         In the case of a failed unmount, I was just assigning a string to memory
6966         that was later being freed, rather than allocating the memory and
6967         copying the string. I now allocate memory and copy the string.
6969 2001-01-08  Eric Fischer  <eric@eazel.com>
6971         * configure.in:
6973         Add check for gnome-xml version; insist on version 1.x.
6974         (reviewed by robin@eazel.com)
6976 2001-01-08  Robey Pointer  <robey@eazel.com>
6978         * components/services/install/lib/eazel-install-logic2.c:
6979         (is_satisfied), (is_filename_probably_a_directory),
6980         (no_two_packages_with_same_file),
6981         (package_is_upgrading_and_doesnt_need_file),
6982         (check_conflicts_with_other):
6984         Rough drafts for 2 of the functions Eskil left in pseudocode form.
6986         * components/services/install/lib/eazel-install-protocols.c:
6987         (eazel_install_fetch_package):
6988         * components/services/trilobite/libtrilobite/trilobite-core-network
6989         .c: (trilobite_open_uri):
6991         Fix two typos (no code change).
6993 2001-01-08  Robey Pointer  <robey@eazel.com>
6995         * components/services/install/nautilus-view/nautilus-service-instal
6996         l-view.c: (nautilus_service_install_preflight_check),
6997         (nautilus_service_install_installing):
6999         Add gnome-vfs and oaf to the list of packages that trigger a
7000         Nautilus restart.
7001         
7002         * nautilus-installer/src/Makefile:
7003         * nautilus-installer/src/gtk-hackery.c: (gtk_box_nth):
7004         * nautilus-installer/src/installer.c: (find_old_tmpdir):
7005         * nautilus-installer/src/package-tree.c:
7006         (package_customizer_set_package_list), (table_hbox_nth),
7007         (focus_next), (handle_focus), (jump_to_package_tree_page):
7009         Add mondo code to do keyboard focus management (as well as GTK
7010         will let us) in the package selector.
7012 2001-01-08  Michael Engber  <engber@eazel.com>
7014         * libnautilus-extensions/nautilus-background.c:
7015         (nautilus_background_draw),
7016         (nautilus_background_is_too_complex_for_gtk_style),
7017         (nautilus_background_is_dark):
7018         * src/nautilus-sidebar.c: (background_settings_changed_callback),
7019         (nautilus_sidebar_update_appearance):
7020         Draw sidebar gradients dithered to avoid striation - bug 5458.
7022 2001-01-07  Andy Hertzfeld  <andy@eazel.com>
7024         fixed bugs 5189, 5190 and 5046, pattern and emblem names
7025         not translated, and upper-casing emblem names is bad for
7026         translation, by introducing a translatable display name
7027         specified in the browser xml file.
7028         
7029         * libnautilus-extensions/nautilus-customization-data.c:
7030         (nautilus_customization_data_new),
7031         (nautilus_customization_data_get_next_element_for_display),
7032         (nautilus_customization_data_destroy), (format_name_for_display),
7033         (load_name_map_hash_table):
7034         made it load a display name mapping from the browser xml file into
7035         a hash table when a nautilus customization is created; use the mapping
7036         to return a label with a translated name.
7037         
7038         * src/file-manager/fm-properties-window.c: (create_emblems_page):
7039         rewrote the emblem code in the properties window to use
7040         nautilus_customization instead of ad hoc code, so it will use
7041         the translated names.
7042         
7043         * src/nautilus-property-browser.c: (get_color_category):
7044         replaced custom xml code with a standard routine from xml_extensions.
7045         
7046         * src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
7047         fixed a memory leak and tweaked the code a bit for translated names.
7048         
7049         * data/browser.xml:
7050         added display name mappings for patterns and emblems
7051         
7052 2001-01-05  Gene Z. Ragan  <gzr@eazel.com>
7054         * components/music/nautilus-music-view.c: (selection_callback),
7055         (value_changed_callback), (nautilus_music_view_load_uri):
7056         Fixed a bug introduced when all widgets are being shown 
7057         when a URI is loaded.  This includes both the on and off
7058         states of the play and pause controls.  Update control
7059         state right after the control are shown to correct this.
7060         
7061         * libnautilus-extensions/nautilus-volume-monitor.c:
7062         * libnautilus-extensions/nautilus-volume-monitor.h:
7063         (nautilus_volume_monitor_volume_is_removable):
7065         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
7066         More work on detecting is a volume is removable or not.
7067         
7068 2001-01-05  Maciej Stachowiak  <mjs@eazel.com>
7070         * nautilus.spec.in: Correct names of .oaf files.
7072 2001-01-05  Robin * Slomkowski  <rslomkow@eazel.com>
7074         * nautilus.spec.in: removed time service refrences
7075         left the following renamed files for mjs to fix
7076         nautilus-service-install-view.oaf
7077         trilobite-eazel-install-service.oaf
7078         nautilus-change-password-view.oaf
7079         nautilus-summary-view.oaf
7080         nautilus-rpm-view.oaf
7082 2001-01-05  Michael Engber  <engber@eazel.com>
7084         * libnautilus-extensions/nautilus-glib-extensions.c:
7085         (nautilus_shell_quote), (nautilus_g_round):
7086         * libnautilus-extensions/nautilus-glib-extensions.h:
7087         Added nautilus_g_round.
7089         * libnautilus-extensions/nautilus-icon-container.c:
7090         (nautilus_icon_container_start_renaming_selected_item):
7091         * libnautilus-extensions/nautilus-icon-text-item.c:
7092         (iti_stop_editing), (layout_text), (iti_edition_accept),
7093         (iti_entry_text_changed_by_clipboard), (iti_start_editing),
7094         (iti_destroy), (recompute_bounding_box), (iti_update), (iti_draw),
7095         (iti_render), (iti_point), (iti_start_selecting),
7096         (iti_stop_selecting), (iti_selection_motion), (iti_ensure_focus),
7097         (iti_event), (iti_bounds), (nautilus_icon_text_item_configure),
7098         (nautilus_icon_text_item_setxy), (nautilus_icon_text_item_select),
7099         (nautilus_icon_text_item_set_text),
7100         (nautilus_icon_text_item_get_type):
7101         * libnautilus-extensions/nautilus-icon-text-item.h:
7102         Overhauled nautilus-icon-text-item to be a more proper canvas
7103         item - mainly fixing it's use of coordinates.  Also simplified
7104         its configure api a bit. This fixed bug 4166. Also put in a
7105         workaround to fix bug 3973.
7106         
7108 2001-01-05  George Lebl <jirka@5z.com>
7110         Darin saw this patch and says it should not destroy the world
7111         if I apply it.
7113         Fixes: 3988
7115         * libnautilus-extensions/nautilus-background.c
7116           (nautilus_background_draw_flat_box):  Unset the mask on the bg_gc
7117           from the style, not to leave the gc in a bad state
7119         * libnautilus-extentions/nautilus-list.c (nautilus_list_style_set)
7120           (unref_gcs) (unref_a_gc) (nautilus_list_initialize_class) 
7121           (nautilus_list_destroy) (nautilus_gdk_gc_copy)
7122           (nautilus_list_realize) (make_gcs_and_colors)
7123           (nautilus_list_unrealize):  Follow the theme by recopying the gcs
7124           after a theme was changed.  Also do more sanity setting
7125           when copying the gcs, just to be on the very safe side.
7127         * src/nautilus-theme-selector.c (theme_style_set_callback)
7128           (setup_font_sizes_for_row) (setup_font_sizes_for_all_rows)
7129           (clear_style_for_all_rows) (nautilus_theme_selector_initialize)
7130           (add_theme):  Follow the current theme by binding to the style_set
7131           signal and redoing the style stuff so that we don't get garbage
7132           and other fun on changing of gtk theme.
7134 2001-01-05  Robin * Slomkowski  <rslomkow@eazel.com>
7136         * components/notes/Makefile.am:
7137                 added Nautilus_View_notes.oaf.in
7138         * components/services/login/nautilus-view/Makefile.am:
7139                 added Nautilus_View_change-password.oaf.in
7140         * po/POTFILES.in: removed references to 
7141                 components/services/time/command-line/main.c
7142                 components/services/time/nautilus-view/main.c
7143                 components/services/time/nautilus-view/trilobite-eazel-time-view.c
7144                 components/services/time/service/main.c
7145                 components/services/time/service/trilobite-eazel-time-service.c
7146                 components/shell/Nautilus_View_shell.oaf.in
7148 2001-01-05  John Sullivan  <sullivan@eazel.com>
7150         reviewed by: Darin Adler  <darin@eazel.com>
7152         Fixed bug 5410 ("Esc" cancelling of icon stretch doesn't
7153         update menus)
7155         * libnautilus-extensions/nautilus-icon-container.h:
7156         Defined signals icon_stretch_started and icon_stretch_ended.
7157         
7158         * libnautilus-extensions/nautilus-icon-container.c:
7159         (nautilus_icon_container_initialize_class): Set up new signals.
7160         (emit_stretch_started), (emit_stretch_ended): New convenience
7161         functions for emitting new signals.
7162         (icon_toggle_selected), (undo_stretching),
7163         (nautilus_icon_container_show_stretch_handles): Emit new signals.
7164         
7165         * src/file-manager/fm-icon-view.c: 
7166         (create_icon_container): Call fm_directory_view_update_menus
7167         when icon_stretch_begin/end signals are emitted.
7168         (show_stretch_handles_callback),
7169         (unstretch_icons_callback): Remove calls to update menus, since
7170         we'll now do it when we get the stretch-state-changed signals.
7172 2001-01-05  Darin Adler  <darin@eazel.com>
7174         * Makefile.am: Fix for wrongly named ChangeLog-200001018.
7175         * components/Makefile.am: Removed obsolete comment.
7177 2001-01-05  Andy Hertzfeld  <andy@eazel.com>
7179         * components/music/nautilus-music-view.c:
7180         (nautilus_music_view_initialize), (nautilus_music_view_load_uri):
7181         fixed bug 4045, unfinished widgets during load in music view, by
7182         not showing the widgets until the load is completed.
7183         
7184 2001-01-05  Andy Hertzfeld  <andy@eazel.com>
7186         * src/nautilus-property-browser.c: (ensure_uri_is_image),
7187         (add_pattern_to_browser):
7188         fixed bug 5265, you shouldn't be able to replace the reset image
7189         in the property browser, by testing for that case and putting up
7190         an error dialog instead.
7191         
7192 2001-01-05  Robin * Slomkowski  <rslomkow@eazel.com>
7194         * nautilus.spec.in: changed .oafinfo to .oaf
7196 2001-01-05  Gene Z. Ragan  <gzr@eazel.com>
7197         
7198         My previous change dealing with desktop mounts was a bit too
7199         overzealous.  Removable volumes now appear on the desktop
7200         when mounted.
7201         
7202         * libnautilus-extensions/nautilus-volume-monitor.c:
7203         (mount_volume_floppy_add), (mount_volume_iso9660_add),
7204         (mount_volume_add_filesystem):
7205         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
7207 2001-01-05  Maciej Stachowiak  <mjs@eazel.com>
7209         xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part
7210         of resolving bug 2693 (I will consider my work done once I have
7211         also handled Bonobo).
7213         * autogen.sh, configure.in: xml-i18n-toolize
7214         * .cvsignore: ignore xml-i18n scripts
7215         * Makefile.am: distribute xml-i18n-scripts
7217         * components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
7218         Renamed from components/adapter/nautilus-adapter.oafinfo; mark
7219         translatable strings transalatable.
7220         * components/adapter/Makefile.am: Deal w/ oaf file rename, do
7221         merge.
7222         * components/adapter/.cvsignore: Ignore .oaf file.
7224         * components/hardware/.cvsignore, components/hardware/Makefile.am,
7225         components/hardware/Nautilus_View_hardware.oaf.in,
7226         components/hardware/nautilus-hardware-view.oafinfo: Ditto.
7227         * components/history/.cvsignore, components/history/Makefile.am,
7228         components/history/Nautilus_View_history.oaf.in,
7229         components/history/nautilus-history-view.oafinfo: Ditto.
7230         
7231         * components/image-viewer/.cvsignore,
7232         components/image-viewer/Makefile.am,
7233         components/image-viewer/Nautilus_View_image.oaf.in,
7234         components/image-viewer/nautilus-image-view.oafinfo: Ditto.
7236         * components/loser/content/.cvsignore,
7237         components/loser/content/Makefile.am,
7238         components/loser/content/Nautilus_View_content-loser.oaf.in,
7239         components/loser/content/nautilus-content-loser.oafinfo: Ditto.
7240         
7241         * components/loser/sidebar/.cvsignore,
7242         components/loser/sidebar/Makefile.am,
7243         components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
7244         components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
7245         * components/mozilla/.cvsignore, components/mozilla/Makefile.am,
7246         components/mozilla/Nautilus_View_mozilla.oaf.in,
7247         components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
7248         * components/music/.cvsignore, components/music/Makefile.am,
7249         components/music/Nautilus_View_music.oaf.in,
7250         components/music/nautilus-music-view.oafinfo: Ditto.
7251         * components/notes/.cvsignore, components/notes/Makefile.am,
7252         components/notes/Nautilus_View_notes.oaf.in,
7253         components/notes/nautilus-notes.oafinfo: Ditto.
7254         * components/rpmview/.cvsignore, components/rpmview/Makefile.am,
7255         components/rpmview/Nautilus_View_rpm.oaf.in,
7256         components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
7257         * components/sample/.cvsignore, components/sample/Makefile.am,
7258         components/sample/Nautilus_View_sample.oaf.in,
7259         components/sample/nautilus-sample-content-view.oafinfo: Ditto.
7260         * components/services/install/nautilus-view/.cvsignore,
7261         components/services/install/nautilus-view/Makefile.am,
7262         components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
7263         components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
7264         Ditto.
7265         * components/services/install/server/.cvsignore,
7266         components/services/install/server/Makefile.am,
7267         components/services/install/server/Trilobite_Service_install.oaf.in,
7268         components/services/install/server/trilobite-eazel-install-service.oafinfo:
7269         Ditto.
7270         * components/services/login/nautilus-view/.cvsignore,
7271         components/services/login/nautilus-view/Makefile.am,
7272         components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
7273         components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
7274         Ditto.
7275         * components/services/summary/nautilus-view/.cvsignore,
7276         components/services/summary/nautilus-view/Makefile.am,
7277         components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
7278         components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
7279         * components/services/trilobite/sample/.cvsignore,
7280         components/services/trilobite/sample/nautilus-view/Makefile.am,
7281         components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
7282         components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
7283         Ditto.
7284         * components/services/trilobite/sample/service/.cvsignore,
7285         components/services/trilobite/sample/service/Makefile.am,
7286         components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
7287         components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
7288         Ditto.
7289         * components/text/.cvsignore, components/text/Makefile.am,
7290         components/text/Nautilus_View_text.oaf.in,
7291         components/text/nautilus-text-view.oafinfo: Ditto.
7292         * src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
7293         src/nautilus.oafinfo: Ditto.
7294         * components/tree/.cvsignore, components/tree/Makefile.am,
7295         components/tree/Nautilus_View_tree.oaf.in,
7296         components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
7297         removed ability to build tree view as an exe component (no one was
7298         really using it anyway).
7299         * components/tree/nautilus-tree-view.oafinfo.exe: Removed.
7300         * components/help/.cvsignore, components/help/Makefile.am,
7301         components/help/Nautilus_View_help.oaf.in:
7302         components/help/help-contents.oafinfo: Ditto, and merged other
7303         oafinfo files into Nautilus_View_help.oaf.in, commented out.
7304         * components/help/help-factory.oafinfo,
7305         components/help/help-index.oafinfo,
7306         components/help/help-search.oafinfo: Removed.
7308         * po/POTFILES.in: Added .oaf.in files.
7309         * po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
7310         po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
7311         now-obsolete files.
7313         * components/services/Makefile.am: Removed time service from build.
7314         * components/html/*, components/websearch/*: cvs deleted these
7315         obsolete long since non-built components.
7316         * ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
7317         
7318 2001-01-04  Andy Hertzfeld  <andy@eazel.com>
7320         * libnautilus-extensions/nautilus-icon-factory.c:
7321         (should_display_image_file_as_itself):
7322         fixed bug 5134, shouldn't display thumbnails for images that we
7323         don't have read permission by explicitly test for read permission
7324         in should_display_image_file_as_itself.
7325         
7326 2001-01-04  Andy Hertzfeld  <andy@eazel.com>
7328         * src/file-manager/fm-icon-view.c: (should_preview_sound):
7329         fixed bug 5108, remote sounds get preview image, but don't actually
7330         preview.  Fixed by making can_preview_sound return FALSE for
7331         non-local sounds.
7332         
7333 2001-01-04  Pavel Cisler  <pavel@eazel.com>
7335         reviewed by: Rebecca Schulman  <rebecka@eazel.com>
7337         Fix 5451 - GnomeVFS-WARNING received at startup.
7339         * libnautilus/nautilus-view-standard-main.c:
7340         (nautilus_view_standard_main_multi):
7341         New standard module initialization call was not initializing
7342         or shutting down gnome_vfs.
7344         * components/adapter/main.c: (main):
7345         * components/hardware/main.c: (main):
7346         * components/html/ntl-web-browser.c: (main):
7347         * components/mozilla/main.c: (main):
7348         * components/music/main.c: (main):
7349         * components/notes/nautilus-notes.c: (main):
7350         * components/rpmview/main.c: (main):
7351         * components/text/main.c: (main):
7352         * components/tree/main.c: (main):
7353         All of the above modules were initializing gnome_vfs but never
7354         shutting it down. Add proper gnome_vfs_shutdown call.
7355         This very likely fixes a problem with the notes module, etc.
7356         sticking around after Nautilus quits.
7357         
7359 2001-01-04  Darin Adler  <darin@eazel.com>
7361         Fix a screwup in my recent check-in that made hidden files
7362         show up on the desktop.
7364         * src/file-manager/fm-directory-view.h:
7365         * src/file-manager/fm-directory-view.c:
7366         (fm_directory_view_initialize): Don't try to special-case the
7367         desktop since it's too early to detect that case anyway.
7368         (fm_directory_view_destroy): Use the
7369         fm_directory_view_ignore_hidden_file_preferences call to
7370         disconnect the preferences callbacks. This prevents disconnecting
7371         them twice in case another caller makes that call.
7372         (fm_directory_view_ignore_hidden_file_preferences): Turn on the
7373         flag that says we're ignoring the preferences, disconnect the
7374         preference callbacks, and set the flags both to FALSE so we won't
7375         show hidden or backup files.
7377         * src/file-manager/fm-desktop-icon-view.c:
7378         (fm_desktop_icon_view_initialize): Call the new
7379         fm_directory_view_ignore_hidden_file_preference to make it never
7380         show hidden or backup files on the desktop.
7382 2001-01-04  Andy Hertzfeld  <andy@eazel.com>
7384         * src/nautilus-property-browser.c: (set_emblem_image_from_file),
7385         (make_properties_from_directories):
7386         fixed bug 5392, custom image causes distortion in emblems dialog,
7387         by setting the background mode of the nautilus_image used to display
7388         the emblems to solid, which also improves performance.  Also, use
7389         a nautilus image instead of a pixmap widget in the emblem image
7390         selection dialog to better display the image.
7391         
7392 2001-01-04  Darin Adler  <darin@eazel.com>
7394         Some FIXME cleanup.
7395         
7396         * components/help/converters/gnome-db2html2/sect-elements.c:
7397         (sect_article_end_element), (sect_inlinegraphic_start_element):
7398         * components/help/converters/gnome-db2html2/toc-elements.c:
7399         (toc_sect_end_element):
7400         * components/mozilla/mozilla-events.cpp:
7401         * components/mozilla/nautilus-mozilla-content-view.c:
7402         (make_full_uri_from_relative), (eazel_services_scheme_translate):
7403         * components/music/nautilus-music-view.c:
7404         (nautilus_music_view_initialize),
7405         (music_view_set_selected_song_title), (reset_playtime),
7406         (play_status_display), (slider_moved_callback),
7407         (add_play_controls):
7408         * components/notes/nautilus-notes.c: (notes_load_metainfo):
7409         * components/services/install/lib/eazel-install-logic.c:
7410         (eazel_install_check_for_file_conflicts),
7411         (eazel_install_do_transaction_all_files_check),
7412         (eazel_install_prune_packages_helper),
7413         (eazel_install_check_existing_packages):
7414         * libnautilus-extensions/nautilus-string.c: (nautilus_strcmp),
7415         (nautilus_strcasecmp), (nautilus_strcmp_case_breaks_ties),
7416         (nautilus_strcoll), (nautilus_str_is_equal),
7417         (nautilus_istr_is_equal), (nautilus_strcmp_compare_func),
7418         (nautilus_strcoll_compare_func),
7419         (nautilus_strcasecmp_compare_func):
7420         * src/file-manager/fm-directory-view.c: (open_location):
7421         * src/nautilus-first-time-druid.c: (make_anti_aliased_label),
7422         (make_hbox_user_level_radio_button), (set_up_user_level_page):
7423         Added bug numbers to FIXMEs. At one point Josh made some bugs for
7424         FIXMEs but never got around to checking in the bug numbers in the
7425         source code. And I wrote one bug report.
7426         
7427         * components/music/nautilus-music-view.c:
7428         (nautilus_music_view_initialize): Removed a fixed FIXME. Also got
7429         rid of a hard-coded constant and took excess spaces out of some
7430         string constants.
7432         * components/services/install/lib/eazel-install-object.c:
7433         (eazel_install_emit_dependency_check_default): Changed a FIXME
7434         into a non-FIXME comment, now the the bug is fixed.
7435         
7436         * components/services/install/lib/eazel-package-system-rpm3.c:
7437         (rpm_packagedata_fill_from_file): Removed an incorrect bug number
7438         from a FIXME.
7439         
7440         * components/services/install/nautilus-view/nautilus-service-install-view.h:
7441         * components/services/install/nautilus-view/nautilus-service-install-view.c:
7442         (nautilus_service_install_installing): Removed the FIXME from a
7443         comment that's about how a bug was fixed.
7444         
7445         * components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
7446         * components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
7447         * docs/style-guide.html:
7448         Removed FIXME and corrected misunderstanding about whether use of
7449         the guchar typedef is recommended in Nautilus coding style.
7451         * libnautilus-extensions/nautilus-gdk-font-extensions.h:
7452         * libnautilus-extensions/nautilus-gdk-font-extensions.c:
7453         Removed misguided use of const in here. Gdk and Gtk object types
7454         just aren't suitable for const, and you end up doing type casts
7455         that defeat the purpose.
7456         
7457         * src/nautilus-window-manage-views.c: (load_underway_callback):
7458         Remove a FIXME for a fixed bug.
7460 2001-01-04  Robey Pointer  <robey@eazel.com>
7462         * components/services/install/command-line/eazel-alt-install-corba.
7463         c: (delete_files):
7465         Remove the restriction that files be physically downloaded before
7466         asking if the user would like to delete files.  That way all the
7467         packages could come from a previous cache and still be cleaned up
7468         afterwards.
7469         
7470         * components/services/install/lib/eazel-install-logic.c:
7471         * components/services/install/lib/eazel-package-system-rpm3.c:
7472         (rpm_open_db):
7473         * components/services/install/lib/eazel-package-system-types.c:
7474         * components/services/install/lib/eazel-package-system-types.h:
7475         * components/services/install/lib/eazel-softcat.c:
7476         (eazel_softcat_get_info):
7477         
7478         Fix up some documentation.
7479         
7480         * components/services/install/lib/eazel-install-object.c:
7481         (find_old_tmpdir), (create_temporary_directory),
7482         (eazel_install_delete_downloads),
7483         (eazel_install_install_packages):
7485         Clean up the tmpdir creation code: Make sure any new directory is
7486         created atomically.  If generating a new directory name,
7487         incorporate the username for uniqueness, and reuse any generated
7488         directory from a previous session.
7490 2001-01-04  Darin Adler  <darin@eazel.com>
7492         reviewed by: John Sullivan <sullivan@eazel.com>
7494         Fixed bug 5435 (Irreproducible crash in nautilus_directory_destroy
7495         after copy/move operations).
7497         * libnautilus-extensions/nautilus-directory.c:
7498         (nautilus_directory_notify_files_moved): Removed an extra unref
7499         and slightly reordered the code to make it clearer why the rest of
7500         the ref count manipulation is correct.
7502 2001-01-04  Darin Adler  <darin@eazel.com>
7504         reviewed by: Rebecca Schulman  <rebecka@eazel.com>
7506         Fixed bug 3811 (shallow file counts and top-left text are fetched
7507         even for non-displayed hidden/backup items).
7509         * libnautilus-extensions/nautilus-directory-private.h:
7510         * libnautilus-extensions/nautilus-directory-async.c:
7511         (allow_metafile): Add "ghelp:" and "gnome-help:" to the
7512         unfortunate list of hard-coded schemes. If we hard-code "help:" we
7513         have to hard-code its synonyms too.
7514         (find_monitor): Use g_new0 so fields in the Monitor are not
7515         uninitialized in this case (the fields in question are ignored,
7516         but it's still nicer this way).
7517         (nautilus_directory_monitor_add_internal): Set up the "monitor
7518         hidden files" and "monitor backup files" in the Monitor structure
7519         based on new parameters.
7520         (should_display_file_name): Use
7521         nautilus_file_name_matches_hidden_pattern and
7522         nautilus_file_name_matches_backup_pattern.
7523         (monitor_includes_file): New function that encapsulates the rule
7524         about which monitor includes which file. Handles the new flags for
7525         not monitoring hidden or backup files.
7526         (is_needy): Call monitor_includes_file.
7527         (select_needy_file): Call monitor_includes_file.
7528         
7529         * libnautilus-extensions/nautilus-file-private.h:
7530         * libnautilus-extensions/nautilus-file.c:
7531         (nautilus_file_name_matches_hidden_pattern),
7532         (nautilus_file_name_matches_backup_pattern): New functions to
7533         share with the directory code.
7534         (nautilus_file_is_hidden_file), (nautilus_file_is_backup_file):
7535         Use the new functions and use the raw relative_uri -- no need to
7536         unescape to change to a file name since the "." and "~" characters
7537         are not encoded.
7539         * src/file-manager/fm-directory-view.c:
7540         (fm_directory_view_initialize): Share more code with the
7541         filtering_changed_callback. Handle the desktop view better by
7542         never setting the "show hidden" and "show backup" flags (so they
7543         are both FALSE) and not setting up the callbacks.
7544         (fm_directory_view_destroy): Since we don't set up the callbacks
7545         for desktop windows, don't remove them for desktop windows.
7546         (queue_pending_files): Remove the desktop special case from
7547         here. It was strange to set the flags up then wait until this
7548         moment to clear them both. It's better to keep them FALSE.
7549         (finish_loading): Renamed and changed to pass the appropriate
7550         values in to the nautilus_directory_file_monitor_add call -- this
7551         is the actual bug fix.
7552         (filtering_changed_callback): Remove the desktop special case,
7553         since this function will now never be called for the desktop.
7554         
7555         * libnautilus-extensions/nautilus-directory.h:
7556         * libnautilus-extensions/nautilus-directory.c:
7557         (nautilus_directory_file_monitor_add): Pass through the new
7558         "monitor hidden files" and "monitor backup files" parameters.
7559         (nautilus_self_check_directory): Pass TRUE for both.
7560         * libnautilus-extensions/nautilus-vfs-directory.c:
7561         (vfs_file_monitor_add): Pass through the new "monitor hidden
7562         files" and "monitor backup files" parameters.
7563         
7564         * libnautilus-extensions/nautilus-merged-directory.c:
7565         (merged_file_monitor_add), (monitor_add_directory): Store the
7566         "monitor hidden files" and "monitor backup files" and pass them
7567         through to the individual directory monitor calls.
7568         
7569         * components/tree/nautilus-tree-model.c:
7570         (nautilus_tree_model_node_begin_monitoring_no_connect):
7571         * libnautilus-extensions/nautilus-file.c:
7572         (nautilus_file_monitor_add):
7573         * libnautilus-extensions/nautilus-trash-monitor.c:
7574         (nautilus_trash_monitor_initialize):
7575         * src/nautilus-applicable-views.c:
7576         (got_minimum_file_info_callback):
7577         Pass in TRUE for "monitor hidden files" and "monitor backup files"
7578         to get the same behavior as before. (In some cases the booleans
7579         are just ignored, in other cases we just monitor all files as we
7580         used to.)
7581         
7582         * RENAMING: Remind myself to change the name of the
7583         NAUTILUS_CALL_VIRTUAL macro to NAUTILUS_CALL_METHOD some day.
7585 2001-01-04  John Harper  <jsh@eazel.com>
7587         * libnautilus-extensions/nautilus-gdk-extensions.c,
7588         libnautilus-extensions/nautilus-gdk-extensions.h
7589         (nautilus_gdk_window_focus): added second argument,
7590         `timestamp', that's passed straight through to XSetInputFocus
7592         * libnautilus-extensions/nautilus-drag-window.c: save the
7593         timestamp in the WM_TAKE_FOCUS client message, and use it when
7594         eventually focusing the window (instead of implicitly using
7595         CurrentTime, which can lead to race conditions)
7597         * libnautilus-extensions/nautilus-icon-text-item.c
7598         (iti_ensure_focus): pass GDK_CURRENT_TIME as timestamp to
7599         nautilus_gdk_window_focus
7601 2001-01-04  John Harper  <jsh@eazel.com>
7603         reviewed by: Pavel Cisler <pavel@eazel.com>
7605         When renaming an icon, manually focus the associated top-level
7606         window. This fixes bug 5426 (can't rename icons in sloppy-focus
7607         mode)
7609         * libnautilus-extensions/nautilus-icon-text-item.c
7610         (iti_ensure_focus): new function, ensures that both the canvas
7611         item and the top-level window are focused
7612         (iti_event): call iti_ensure_focus in the button-press case
7613         (nautilus_icon_text_item_start_editing): call iti_ensure_focus
7614         instead of gnome_canvas_item_grab_focus to focus the item
7616 2001-01-03  John Harper  <jsh@eazel.com>
7618         Small fix to the `drag doesn't focus' stuff I did earlier to
7619         work around button-release events not following button-press
7620         events. (E.g. this happens for some reason when clicking on the
7621         left hand pane of the property browser window)
7623         * libnautilus-extensions/nautilus-drag-window.c
7624         (wm_protocols_filter): don't only start the timeout when we
7625         don't think we're in the middle of a press-release sequence
7626         (button_press_emission_callback): if we already think we're in
7627         the middle of a press-release, commit any pending requests
7629 2001-01-03  Darin Adler  <darin@eazel.com>
7631         reviewed by: Pavel Cisler <pavel@eazel.com>
7633         Fix bug 5235 ("Forget History" eliminates history from Go menu,
7634         not History sidebar panel).
7636         * components/history/nautilus-history-view.c:
7637         (install_icons): Fix leak of pixmap and bitmap.
7638         (update_history): Replaced dual lock system with a single one.
7639         (button_press_callback): Only respect button 1, ignore others.
7640         (button_release_callback): Only respect button 1, ignore others,
7641         (history_changed_callback): A new single callback for when the
7642         history list changes to replace the multiple callbacks before.
7643         (nautilus_history_view_initialize_class),
7644         (nautilus_history_view_initialize),
7645         (nautilus_history_view_destroy), (main): Change the history view
7646         to use nautilus_view_standard_main which requires a subclass. This
7647         gets rid of a lot of boilerplate code.
7648         
7649         * libnautilus/nautilus-view-component.idl: Make every NautilusView
7650         get an explicit history_changed call instead of requiring them to
7651         guess when to get history. Removed the old get_history_list call
7652         and also renamed the HistoryList sequence to History.
7653         * libnautilus/nautilus-view.h:
7654         * libnautilus/nautilus-view.c:
7655         (impl_Nautilus_View_history_changed),
7656         (nautilus_view_initialize_class): Added the necessary stuff to
7657         cover the new history_changed call.
7658         
7659         * src/nautilus-view-frame.h:
7660         * src/nautilus-view-frame.c: (nautilus_view_frame_initialize):
7661         Connect handlers so we can send history_changed calls to the
7662         NautilusView when either the history or the icons change.
7663         (nautilus_view_frame_destroy): Change state to EMPTY so the
7664         history signal won't be sent once the frame is destroyed.
7665         (view_frame_activated): Send a history_changed to every
7666         newly-activated view.
7667         (get_CORBA_object): Helper function to make code that makes CORBA
7668         calls simpler.
7669         (check_if_view_is_gone): Use get_CORBA_object.
7670         (attach_client): Gave a nicer name, removed the code that makes
7671         the Nautilus_HistoryFrame interface.
7672         (nautilus_view_frame_load_client): Do the attach_client (formerly
7673         nautilus_view_frame_set_to_component) before calling
7674         view_frame_activated. This is needed since view_frame_activated
7675         now sends a history_changed to the view.
7676         (nautilus_view_frame_load_location),
7677         (nautilus_view_frame_stop_loading),
7678         (nautilus_view_frame_selection_changed),
7679         (nautilus_view_frame_title_changed): Use get_CORBA_object.
7680         (get_history_list): Made this private.
7681         (send_history): Helper function that sends history to the view if
7682         it's in the appropriate state.
7683         
7684         * src/Makefile.am:
7685         * src/nautilus-history-frame.c:
7686         * src/nautilus-history-frame.h:
7687         Removed the old NautilusHistoryFrame, which is no longer needed
7688         since we put the history call right in the NautilusView class.
7689         
7690         * src/nautilus-window-manage-views.c: (get_history_list_callback):
7691         Updated for Nautilus_HistoryList -> Nautilus_History change.
7692         
7693         Fix bug 5391 ("Esc" Canceling of an icon stretch doesn't restore
7694         icon position.).
7696         * libnautilus-extensions/nautilus-icon-private.h:
7697         * libnautilus-extensions/nautilus-icon-container.c:
7698         (clear_drag_state): Add a single bottleneck function to make sure
7699         the context menu timeout always gets canceled.
7700         (continue_stretching): Remove the unused "update_position" parameter.
7701         (undo_stretching): Consolidate the cancel_stretching function and
7702         restore the icon's position as well as its size. Also use the new
7703         bottleneck to clear the drag state.
7704         (button_release_event): Use the new bottleneck to clear the drag
7705         state.
7706         (show_context_menu_callback): Use the new bottleneck to clear the
7707         drag state.
7708         (nautilus_icon_container_set_selection),
7709         (nautilus_icon_container_select_list_unselect_others): Take
7710         advantage of the defaults in g_hash_table_new and use NULL, NULL
7711         instead of g_direct_hash, g_direct_equal.
7712         (nautilus_icon_container_show_stretch_handles): Save the position
7713         as well as the size.
7714         (compute_stretch): Add a FIXME with a bug number.
7715         
7716         Fix bug 5407 (Make "Hardware Overview" title translatable).
7718         * components/hardware/nautilus-hardware-view.c:
7719         (nautilus_hardware_view_destroy): Remove unused uri field.
7720         (extract_info): Fix storage leak.
7721         (get_RAM_description): Get rid of code that non-portably relies on
7722         long long. Mark strings for translation.
7723         (get_IDE_description): Get rid of code that non-portably relies on
7724         long long. Mark strings for translation.
7725         (setup_overview_form): Marked string for translation.
7726         (setup_CPU_form), (setup_RAM_form), (setup_IDE_form),
7727         (is_location), (nautilus_hardware_view_load_uri): Disable the
7728         views other than the overview for now since they are not ready to
7729         be seen.
7730         (nautilus_hardware_view_drag_data_received): Get rid of the code
7731         that makes the hardware view accept a URI list drag.
7733         Fix bug 5405 (nautilus --check fails when using LC_ALL=sv_SE due
7734         to missing entry in POTFILES.in).
7735         
7736         * po/POTFILES.in: Added nautilus-glib-extensions.c.
7738         Other changes.
7739         
7740         * src/nautilus-signaller.h:
7741         * src/nautilus-signaller.c: (nautilus_signaller_initialize_class),
7742         (nautilus_signaller_get_current):
7743         Change the NautilusSignaller class so that the interface calls the
7744         object a GtkObject * and the details of the class are hidden.
7746         * src/nautilus-property-browser.c: (emit_emblems_changed_signal):
7747         * src/nautilus-search-bar-criterion.c:
7748         (nautilus_search_bar_criterion_destroy),
7749         (nautilus_search_bar_criterion_new_from_values):
7750         * src/nautilus-window-menus.c:
7751         (nautilus_window_initialize_go_menu):
7752         * src/nautilus-window.c: (nautilus_send_history_list_changed):
7753         Now that nautilus_signaller_get_current returns a GtkObject,
7754         remove some unnecessary casts.
7755         
7756         * components/html/glibwww-callbacks.c: (get_sock_info),
7757         (glibwww_timer_register):
7758         * components/tree/nautilus-tree-model.c:
7759         (nautilus_tree_model_initialize):
7760         * components/tree/nautilus-tree-view.c:
7761         (nautilus_tree_view_initialize):
7762         * libnautilus-extensions/nautilus-directory-async.c:
7763         (async_job_start):
7764         * libnautilus-extensions/nautilus-directory.c:
7765         (nautilus_directory_notify_files_added),
7766         (nautilus_directory_notify_files_removed),
7767         (nautilus_directory_notify_files_moved):
7768         * libnautilus-extensions/nautilus-icon-factory.c:
7769         (nautilus_icon_factory_initialize):
7770         * libnautilus-extensions/nautilus-list.c:
7771         (nautilus_list_set_selection):
7772         * libnautilus-extensions/nautilus-merged-directory.c:
7773         (nautilus_merged_directory_initialize):
7774         * libnautilus-extensions/nautilus-trash-directory.c:
7775         (nautilus_trash_directory_initialize):
7776         * src/file-manager/fm-properties-window.c:
7777         (fm_properties_window_present):
7778         Take advantage of the defaults in g_hash_table_new and use NULL,
7779         NULL instead of g_direct_hash, g_direct_equal.
7780         
7781 2001-01-03  John Sullivan  <sullivan@eazel.com>
7783         reviewed by: Darin Adler  <darin@eazel.com>
7785         Fixed bug 5313 (location bar gets partly inactive during
7786         auto-completion)
7788         This was a GTK bug involving event timing. The fix was to
7789         add a workaround in NautilusEntry.
7791         * libnautilus-extensions/nautilus-entry.c:
7792         (nautilus_entry_initialize_class): Wire up default handler
7793         for selection_clear_event.
7794         (nautilus_entry_selection_clear): Bail out without doing anything
7795         if we are still the selection owner.
7797 2001-01-03  John Harper  <jsh@eazel.com>
7799         reviewed by: Darin Adler  <darin@eazel.com>
7801         Work to make clicking on an inactive window not focus it if the
7802         click subsequently starts a drag. Fixes bug 1681, and removes
7803         fixme bugs 5030, 5032, and 5033
7805         * libnautilus-extensions/nautilus-drag-window.c,
7806         libnautilus-extensions/nautilus-drag-window.h
7807         (nautilus_drag_window_register): new module, hooks into a
7808         GtkWindow to retrofit a focus policy that makes sense with drag
7809         and drop sources. When dragging from a window, a button press
7810         event that subsequently causes a drag to be started doesn't
7811         focus (or raise) the window
7813         This uses a sawfish-specific WM_PROTOCOL to handle the `don't
7814         raise' part (_SAWFISH_WM_RAISE_WINDOW), but everything else
7815         should work with any ICCCM-compliant wm. (The sawfish specific
7816         part will have zero effect with other wm's. It currently
7817         requires a cvs version of sawfish)
7819         * src/nautilus-window.c (nautilus_window_constructed): 
7820         * src/nautilus-property-browser.c
7821         (nautilus_property_browser_initialize): 
7822         Call nautilus_drag_window_register () on the window, since it
7823         may be used as a drag source
7825         * libnautilus-extensions/nautilus-gdk-extensions.c,
7826         libnautilus-extensions/nautilus-gdk-extensions.h
7827         (nautilus_gdk_window_focus,
7828         nautilus_gdk_window_set_wm_protocols): new functions
7830 2001-01-04  Rebecca Schulman  <rebecka@eazel.com>
7832         reviewed by: Maciej Stachowiak <mjs@eazel.com>
7834         * libnautilus-extensions/nautilus-mime-actions.c:
7835         (nautilus_mime_get_default_component_for_file_internal):
7836         Remove fixme for bug 1264, which is no longer relevant.
7837         
7839 2001-01-03  Gene Z. Ragan  <gzr@eazel.com>
7841         Only display removable volumes on desktop.
7842         
7843         * libnautilus-extensions/nautilus-volume-monitor.c:
7844         (nautilus_volume_monitor_volume_is_removable):
7845         * libnautilus-extensions/nautilus-volume-monitor.h:
7846         * src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
7847         (create_mount_link):
7849 2001-01-03  Mike Fleming  <mfleming@eazel.com>
7851         * components/services/summary/nautilus-view/main.c: (main):
7852         * components/services/summary/nautilus-view/nautilus-summary-callba
7853         cks.c: (login_button_cb):
7854         * components/services/summary/nautilus-view/nautilus-summary-view.c
7855         : (nautilus_summary_view_destroy):
7857         Bug 5343 for real this time.
7859         My decision to move the ammonite_init call after the
7860         oaf_make_registration_id call was a poor one and caused another
7861         potential race.
7863 2001-01-03  Gene Z. Ragan  <gzr@eazel.com>
7865         Fixed bug 5394, CRITICAL warning received when zooming a 1x1
7866         pixel image below 100%
7867         
7868         * components/image-viewer/nautilus-image-view.c: (rezoom_control),
7869         (control_size_allocate_callback):
7870         Don't allow a scale if the new width or height is less then 1.
7872 2001-01-03  Ramiro Estrugo  <ramiro@eazel.com>
7874         reviewed by: Pavel Cisler <pavel@eazel.com>
7876         * components/mozilla/nautilus-mozilla-content-view.c:
7877         (file_exists), (ensure_profile_dir), (ensure_cache_dir),
7878         (mozilla_content_view_one_time_happenings):
7879         Add support for using mozilla caching.
7880         
7881 2001-01-03  George Lebl <jirka@5z.com>
7883         Reviewed by Maciej, so if I broke something, blame him.
7885         Fixes #5356
7887         * libnautilus-extensions/nautilus-directory-background.c
7888           (make_root_pixmap): Do what the comment says and actually open
7889           a new display before setting the close down mode to RetainPermanent.
7890           This made nautilus windows stay persistent after a crash or whatnot.
7891           This bug was inherited from control-center.
7893 2001-01-03  Ramiro Estrugo  <ramiro@eazel.com>
7895         reviewed by: Pavel Cisler <pavel@eazel.com>
7897         Fix bugs 4677, 3031.
7898         
7899         * configure.in:
7900         * components/mozilla/Makefile.am:
7901         Use the right RPATH flags depending on where mozilla was found.
7902         This fixed the problem of trying to use mozilla built by
7903         eazel-hacking instead of from RPMS.
7904         
7905         * components/mozilla/nautilus-mozilla-content-view.c:
7906         (nautilus_mozilla_content_view_initialize_class),
7907         (mozilla_content_view_one_time_happenings),
7908         (mozilla_content_view_setup_profile_directory):
7909         Add support for setting up a Mozilla profile so that cookies and
7910         cache work.
7912 2001-01-02  Ramiro Estrugo  <ramiro@eazel.com>
7914         * configure.in:
7915         Add "detection" of M19.  Remove the pre M18 detections.
7916         
7917 2001-01-02  Ramiro Estrugo  <ramiro@eazel.com>
7919         reviewed by: Gene Ragan <gzr@eazel.com>
7921         * libnautilus-extensions/nautilus-art-extensions.c:
7922         (nautilus_art_irect_contains_point):
7923         * libnautilus-extensions/nautilus-art-extensions.h:
7924         New function to test whether a rectangle contains a point.
7925         
7926         * libnautilus-extensions/nautilus-gdk-extensions.c:
7927         (nautilus_self_check_gdk_extensions):
7928         * libnautilus-extensions/nautilus-gdk-extensions.h:
7929         * libnautilus-extensions/nautilus-gdk-font-extensions.c:
7930         (nautilus_gdk_font_get_bold), (font_scalable_get_by_size),
7931         (font_bitmap_get_by_size), (nautilus_gdk_font_get_larger),
7932         (nautilus_gdk_font_get_smaller), (nautilus_gdk_font_equal),
7933         (nautilus_get_largest_fitting_font),
7934         (nautilus_string_ellipsize_start), (nautilus_gdk_font_list_fonts),
7935         (nautilus_gdk_font_get_name), (xlfd_string_get_nth),
7936         (xlfd_string_replace_nth), (xlfd_string_get_nth_as_int),
7937         (xlfd_string_is_scalable_non_bitmap),
7938         (xlfd_string_could_be_scalable_non_bitmap),
7939         (font_entry_has_bold_weight_test),
7940         (font_entry_is_scalable_non_bitmap_test),
7941         (compare_xlfd_by_size_in_points), (compare_xlfd_by_size_in_pixels),
7942         (nautilus_self_check_ellipsize_start),
7943         (nautilus_self_check_gdk_font_extensions):
7944         * libnautilus-extensions/nautilus-gdk-font-extensions.h:
7945         Move GdkFont extensions to their own file.  Add new functions to
7946         find a larger/smaller find given an existing font.  Change the
7947         bold flavor font function to query the system for fonts, this
7948         makes it work regardless of the user's selected font.  Before it
7949         worked only for some fonts.
7951         * libnautilus-extensions/nautilus-file-operations-progress.c:
7952         * libnautilus-extensions/nautilus-file-operations.c:
7953         * libnautilus-extensions/nautilus-icon-canvas-item.c:
7954         * src/nautilus-sidebar-title.c:
7955         Include nautilus-gdk-font-extensions.h.
7956         
7957         * libnautilus-extensions/nautilus-gtk-extensions.c:
7958         (nautilus_gtk_label_make_bold), (nautilus_gtk_label_make_larger),
7959         (nautilus_gtk_label_make_smaller):
7960         * libnautilus-extensions/nautilus-gtk-extensions.h:
7961         New functions to make a GtkLabel larger/smaller.
7962         
7963         * libnautilus-extensions/nautilus-lib-self-check-functions.h:
7964         Add entry for nautilus-gdk-font-extensions.
7965         
7966         * libnautilus-extensions/nautilus-string-list.c:
7967         (nautilus_string_list_modify_nth),
7968         (nautilus_string_list_remove_nth),
7969         (nautilus_string_list_find_by_function),
7970         (nautilus_string_list_sort),
7971         (nautilus_string_list_sort_with_function):
7972         * libnautilus-extensions/nautilus-string-list.h:
7973         New functions to modify, remove and find specific string entries.
7974         New function to sort the string list given a compare function.
7976 2001-01-02  Robey Pointer  <robey@eazel.com>
7978         * components/services/install/command-line/eazel-alt-install-corba.
7979         c: (main):
7980         * components/services/install/server/main.c: (main):
7981         * components/services/time/service/main.c: (main):
7982         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
7983         : (trilobite_init):
7984         * components/services/trilobite/libtrilobite/trilobite-core-utils.h
7985         :
7986         * components/services/trilobite/sample/command-line/main.c: (main):
7987         * components/services/trilobite/sample/service/main.c: (main):
7989         Add a parameter to trilobite_init to allow a service to pass its
7990         own popt options along (needed for the command-line installer).
7992 2001-01-02  Andy Hertzfeld  <andy@eazel.com>
7994         * components/hardware/nautilus-hardware-view.c:
7995         (get_RAM_description), (get_IDE_description):
7996         Incorporated Bud's patch to the disk size calculation in the
7997         hardware view, which sidesteps integer overflow problems and makes
7998         it consistent with industry convention by using 1000 instead of
7999         1024 for the definition of a kbyte.  Also tweaked the RAM size
8000         calculation, but it's still not quite right yet.
8001         
8002         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8003         (draw_pixbuf_aa):
8004         improved performance by using nautilus_gnome_canvas_draw_pixbuf
8005         to draw on the aa canvas instead of libart.
8007 2001-01-02  Darin Adler  <darin@eazel.com>
8009         reviewed by: John Sullivan <sullivan@eazel.com>
8011         Fixed bug 4344 (assertion if you view a directory without a
8012         metafile).
8013         
8014         * libnautilus-extensions/nautilus-directory.c:
8015         (nautilus_directory_initialize), (nautilus_directory_destroy):
8016         Create and destroy the metafile hash table when the directory
8017         is created and destroyed instead of waiting until the metafile
8018         is read.
8020         * libnautilus-extensions/nautilus-directory-metafile.c:
8021         (get_file_node): Get rid of code to handle NULL for hash table.
8022         (nautilus_directory_metafile_destroy): Just destroy the contents
8023         of the hash table (hash table itself is destroyed elsewhere now).
8024         (nautilus_directory_rename_file_metadata),
8025         (nautilus_directory_remove_file_metadata): Get rid of code to
8026         handle NULL for the hash table.
8027         (nautilus_directory_set_metafile_contents): Don't create the
8028         hash table any more, just populate it.
8030 2001-01-02  Darin Adler  <darin@eazel.com>
8032         reviewed by: John Sullivan <sullivan@eazel.com>
8034         * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
8035         Added the year 2001 to the user-visible copyright notice and made it
8036         use the standard format with the word Copyright.
8038 2001-01-02  John Sullivan  <sullivan@eazel.com>
8040         reviewed by: Darin Adler  <darin@eazel.com>
8042         Fixed bug 5375 (reword the 4000-file limit so it doesn't
8043         mention the Nautilus Preview Release)
8045         * libnautilus-extensions/nautilus-directory.c:
8046         * libnautilus-extensions/nautilus-directory.h:
8047         Move the #define for the limit to a public place.
8048         
8049         * src/file-manager/fm-directory-view.c:
8050         (check_for_directory_hard_limit):
8051         Reword the dialog so it doesn't promise to go away
8052         soon. Also, use #define for the limit in case it
8053         changes, which is likely.
8055 2001-01-02  Ali Abdin  <aliabdin@aucegypt.edu>
8057         A minor attempt at deallocating things correctly before we exit (so
8058         memory profilers can be used properly).
8060         * components/help/converters/gnome-db2html2/gdb3html.c:
8061         (parse_file): Free stuff that has been allocated by libxml before
8062         exiting this function. Now memprof stops showing one big large red
8063         bar.
8065         Call toc_free_data when done with the TOC.
8067         * components/help/converters/gnome-db2html2/toc-elements.c:
8068         (toc_copyright_characters): Add a comment about a memory leak I
8069         discovered.
8070         (toc_free_data): New function to free data allocated by toc_init_data
8072 2001-01-02  John Sullivan  <sullivan@eazel.com>
8074         reviewed by: Darin Adler  <darin@eazel.com>
8076         Fixed bug 5331 (Control-W closes the desktop)
8078         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
8079         Added insensitive "Close" command that overrides the
8080         default one.
8081         
8082         * src/nautilus-window-menus.c:
8083         (nautilus_window_update_show_hide_menu_items),
8084         (refresh_bookmarks_menu),
8085         (nautilus_window_remove_bookmarks_menu_items),
8086         (nautilus_window_remove_go_menu_items),
8087         (nautilus_window_update_find_menu_item),
8088         (append_dynamic_bookmarks), (refresh_go_menu): Removed
8089         initial NAUTILUS_ from some #defines that are private to
8090         this file.
8092 2001-01-01  Ali Abdin  <aliabdin@aucegypt.edu>
8094         More patches from John Fleck. A fixup for the QANDASET title showing
8095         up in the TOC.
8097         Also a fixup for bug #4409 (due to the switching of 'states' in the
8098         parser we sometimes would print out some extra HTML closing tags
8099         that shouldn't be there)
8101         Happy New Year.
8103         * components/help/converters/gnome-db2html2/gdb3html.h:
8104         * components/help/converters/gnome-db2html2/sect-elements.c:
8105         * components/help/converters/gnome-db2html2/sect-preparse.c:
8106         * components/help/converters/gnome-db2html2/toc-elements.c:
8107         Add QANDASET and QANDAENTRY.
8109         * components/help/converters/gnome-db2html2/sect-elements.c:
8110         (sect_title_start_element),
8111         (sect_title_end_element):
8112         Use a temporary boolean variable to reflect wether the we printed out
8113         the starting tags in sect_title_start_element. If we did, then we
8114         print out the closing in sect_title_end_element. Otherwise we don't.
8116         * components/help/converters/gnome-db2html2/toc-elements.c:
8117         (toc_title_start_element),
8118         (toc_title_end_element),
8119         (toc_title_characters):
8120         Ignore the QANDASET title's since they should not be in the TOC.
8122 2000-12-29  Darin Adler  <darin@eazel.com>
8124         reviewed by: Gene Ragan <gzr@eazel.com>
8126         Fixed bug 5374 (No-longer-mounted removable media linger as
8127         generic icons upon restart).
8129         * src/file-manager/fm-desktop-icon-view.c:
8130         (free_volume_black_list): Save code by using
8131         nautilus_g_list_free_deep.
8132         (create_mount_link): Save some g_strdup calls by using const char
8133         * for the icon_name.
8134         (fm_desktop_icon_view_initialize): Simplify the code that creates
8135         the black list by creating a local variable.
8136         (unlink_and_notify): Helper function that deletes a file and
8137         notifies the NautilusDirectory/File framework.
8138         (volume_unmounted_callback): Call unlink_and_notify to do the work.
8139         (create_link_callback): Pass NULL for default values when setting
8140         metadata, since we always want to set the metadata.
8141         (icon_view_create_nautilus_links): Avoid a storage leak by using
8142         const char * for the icon name.
8143         (update_link_and_delete_copies): New function shared for both the
8144         home and trash link cases. Simpler because it just lets the
8145         nautilus_link_xxx functions handle file vs. directory and . and
8146         .. and doesn't bother doing a stat itself. Also fixes leaks that
8147         were in the old versions as well as the questionable practice of
8148         using chdir instead of full paths. Also changes the logic to
8149         delete any links with the right type but wrong name, rather than
8150         trying to rename the first icon found of the right type.
8151         (update_home_link_and_delete_copies): Use the shared
8152         function. Also don't bother making unused home_link_path.
8153         (update_trash_link_and_delete_copies): Use the new shared
8154         function.
8155         (delete_all_mount_links): Turns out we can use the shared function
8156         for this case too just by passing in a name that will never match
8157         any existing link's name ("").
8159 2000-12-29  Michael Engber  <engber@eazel.com>
8161         * libnautilus-extensions/nautilus-global-preferences.h:
8162         Changed gconf key for the show desktop option in order to
8163         avoid using the old default value (OFF) in existing gconf
8164         databases (bug 5148)
8166 2000-12-29  Andy Hertzfeld  <andy@eazel.com>
8168         * src/file-manager/fm-list-view.c:
8169         fixed bug 3900, emblems too big in list view, by lowering the
8170         minimum emblem size one notch
8171         
8172         * libnautilus-extensions/nautilus-icon-container.c:
8173         (nautilus_icon_container_update_icon):
8174         fixed problem where images that are small in one dimension but large
8175         in the other were being scaled too large by the minimum size scaling.
8176         Fixed by pinning to both the minimum and maximum sizes.
8177         
8178         also, pinned icon view emblem sizes to MAXIMUM_EMBLEM_SIZE independent
8179         of scale factor, so they don't become enormous when the icons are
8180         large.
8181         
8182 2000-12-29  Darin Adler  <darin@eazel.com>
8184         reviewed by: Gene Ragan <gzr@eazel.com>
8186         Fixed bug 5067 (Moving a file doesn't update the directory in the
8187         link hash table).
8188         
8189         Fixed bug 5366 (error when passing two directories on the command
8190         line).
8192         * libnautilus-extensions/nautilus-directory.c:
8193         (nautilus_directory_remove_file): Change code that was doing "==
8194         FALSE" which is not such good style.
8195         (nautilus_directory_notify_files_moved): Change to properly update
8196         file names in all cases and to update the directory with a new
8197         nautilus_file_set_directory function.
8198         
8199         * libnautilus-extensions/nautilus-file-private.h: Moved the
8200         Knowledge enum up here. I was going to make a change that required
8201         it, and now I don't feel like moving it back.
8202         
8203         * libnautilus-extensions/nautilus-file.h: Add
8204         nautilus_file_set_directory (and reformat).
8206         * libnautilus-extensions/nautilus-file.c: (is_self_owned),
8207         (destroy): Moved is_self_owned so the destroy function can use it.
8208         (update_info_internal): Call the update_links functions before
8209         (nautilus_file_set_directory): New function that changes the
8210         parent directory and updates everything appropriately.
8211         (nautilus_file_mark_gone): Added a check that the file is not
8212         already marked gone.
8214         * src/nautilus-main.c: (main): Sort the command-line options, add
8215         some single-character versions, add code to initialize the
8216         "geometry" variable for the case where the option is not passed,
8217         removed some unused code that sets start_desktop twice.
8219 2000-12-28  Pavel Cisler  <pavel@eazel.com>
8221         Fixed bug 4952 (Move or copy or large number of items fails).
8222         Final part of fix for bug 956 (UI takes time to become operational
8223         after drag&drop)
8224         
8225         * libnautilus-extensions/nautilus-file-changes-queue.c:
8226         (nautilus_file_changes_consume_changes): Fixed a bug in
8227         the logic that chunked up file change notifications into groups
8228         that could be all handled at once - before the fix each change
8229         was processed individually. Grouped move, metadata move, position
8230         setting and copy, metadata copy, position setting respectively
8231         into groups that would get all processed in a single chunk.
8232         Tweaked the maximum size of a changes chunk.
8233         
8234         * libnautilus-extensions/nautilus-file-changes-queue.c:
8235         (nautilus_file_changes_queue_schedule_metadata_copy),
8236         (nautilus_file_changes_queue_schedule_metadata_move),
8237         (nautilus_file_changes_queue_schedule_metadata_remove),
8238         (nautilus_file_changes_queue_schedule_position_setting):
8239         Some renamings.
8241         * libnautilus-extensions/nautilus-directory-async.c:
8242         Small tweak to make turning on debugging diagnostics easier.
8244 2000-12-28  Mike Fleming  <mfleming@eazel.com>
8246         * components/services/summary/nautilus-view/main.c: (main):
8247         * components/services/summary/nautilus-view/nautilus-summary-view.c
8248         : (nautilus_summary_view_initialize):
8250         Fix for bug 5343, work around for bug 5365.  By avoiding the redundant
8251         activation of eazel-proxy, race condition described in 5365 is avoided.
8253 2000-12-28  Darin Adler  <darin@eazel.com>
8255         reviewed by: Maciej Stachowiak <mjs@eazel.com>
8257         Fixed bug 2808 (copy all metadata, not just certain items). There
8258         are still a few loose ends but it's basically there.
8260         Fixed bug 5296 (Hardware overview should be localized).
8261         Fixed bug 5299 (Spacing problems with sizes in bytes).
8263         * libnautilus-extensions/nautilus-directory-metafile.c:
8264         (get_file_node): Used a local variable for the hash table to make
8265         the code more readable because the full expression is too long.
8266         Removed the half-baked attempt at using xmlNode objects to
8267         represent "changes" data, which no longer seems a likely
8268         direction.
8269         (nautilus_directory_metafile_destroy): Local variable for hash
8270         table.
8271         (nautilus_directory_get_file_metadata): Return NULL, not FALSE,
8272         since the function returns char *, not gboolean.
8273         (nautilus_directory_rename_file_metadata): Local variable for hash
8274         table. Also added a FIXME for a case that won't work.
8275         (apply_file_changes): Broke out so it can be used elsewhere.
8276         (apply_one_file_changes): This is now the version that has the
8277         hash table iterator function interface.
8278         (nautilus_directory_get_integer_file_metadata): Use sscanf instead
8279         of atoi so we can do error checking.
8280         (nautilus_directory_copy_file_metadata): Removed the old code that
8281         copied fixed keys and wrote new code that copies all the metadata.
8282         (nautilus_directory_remove_file_metadata): Local variable for hash
8283         table.
8285         * icons/arlo/arlo.xml: Added an explicit H offset of 0 for the
8286         zoom control. It was inheriting the default theme's offset of
8287         -2. This seems to indicate a design problem with the "fall back on
8288         default" approach for themes, but for now it's nice to have the
8289         zoom control looking right again.
8291         * src/nautilus-window-menus.c:
8292         (help_menu_about_nautilus_callback): Use the real copyright
8293         character, not "(C)".
8295         * src/file-manager/fm-desktop-icon-view.c
8296         (find_and_update_home_link), (place_home_directory): Mark the
8297         "darin's Home" string for localization. Needs improvement beyond
8298         this, because just tacking "'s Home" onto the login name is
8299         probably no good.
8301         * components/hardware/nautilus-hardware-view.c: (read_proc_info):
8302         Tweak code style a bit. Use g_string_free (FALSE) instead of
8303         g_strdup and g_string_free (TRUE).
8304         (get_CPU_description): Make this a little more localizable by
8305         adding a strdup format string instead of appending things. Added
8306         FIXMEs about additional problems.
8307         (get_RAM_description): Add a little reality checking on the value
8308         read from the file and make a little more localizable.
8309         (get_IDE_description): Change to use the gnome-vfs file size
8310         formatting functions in the right way. The old code had been
8311         changed to not use them at all, probably because the first cut at
8312         this code was using it wrong and ran into a 32-bit limit. Use
8313         g_string_free (FALSE) instead of g_strdup and g_string_free
8314         (TRUE).
8316         * po/POTFILES.in: Marked nautilus-hardware-view.c as needing
8317         localization.
8318         
8319         * components/help/converters/gnome-db2html2/sect-elements.c:
8320         (sect_informaltable_start_element): Fixed a runaway string
8321         literal.
8323         * libnautilus-extensions/nautilus-directory-async.c: Moved the
8324         constants to the top of the file and put the compile-time switches
8325         at the top of the constants section.
8326         
8327         * NEWS: Removed out of date news.
8328         * README: Fixed a typo.
8329         * TODO: Removed out of date tasks.
8331 2000-12-27  Michael Engber  <engber@eazel.com>
8333         * libnautilus-extensions/nautilus-background-canvas-group.c:
8334         (nautilus_background_canvas_group_draw),
8335         (nautilus_background_canvas_group_render):
8336         Bug number for FIXMEs.
8338 2000-12-26  Michael Engber  <engber@eazel.com>
8340         * libnautilus-extensions/nautilus-directory-background.c:
8341         (desktop_background_realized), (nautilus_background_set_desktop),
8342         (nautilus_background_is_desktop),
8343         (nautilus_background_get_desktop_background_window),
8344         (image_loading_done_callback),
8345         (nautilus_file_update_desktop_pixmaps),
8346         (background_changed_callback), (saved_settings_changed_callback),
8347         (background_reset_callback),
8348         (nautilus_connect_desktop_background_to_file_metadata):
8349         * libnautilus-extensions/nautilus-directory-background.h:
8350         * src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
8351         Set the background pixmap of the desktop xwindow so that the
8352         window manager paints background behind nautilus windows instead
8353         of leaving trails.
8355 2000-12-26  Gene Z. Ragan  <gzr@eazel.com>
8357         * src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
8358         (fm_desktop_icon_view_initialize):
8359         Compare mount point, not device path.
8361 2000-12-25  Ali Abdin  <aliabdin@aucegypt.edu>
8363         Handle the <address> tag properly (including <street>, <city>,
8364         <country>, <postcode>, and <state>) - Fixes bug #2176
8366         Support the <literallayout> tag - Fixes bug #5341
8368         These patches contributed by John Fleck <jfleck@inkstain.net>
8370         Happy Eid and Merry Christmas!
8372         * components/help/converters/gnome-db2html2/gdb3html.h:
8373         * components/help/converters/gnome-db2html2/sect-elements.[ch]:
8374         * components/help/converters/gnome-db2html2/sect-preparse.c:
8375         * components/help/converters/gnome-db2html2/toc-elements.c:
8376         (sect_literallayout_start_element),
8377         (sect_literallayout_end_element):
8378         New functions to for LITERALLAYOUT tag support.
8379         (sect_country_start_element),
8380         (sect_city_start_element),
8381         (sect_street_start_element),
8382         (sect_address_end_element),
8383         (sect_address_start_element),
8384         (sect_address_characters):
8385         New functions to handle the ADDRESS/STREET/CITY/COUNTRY tags properly
8387         * components/help/converters/gnome-db2html2/ASSUMPTIONS:
8388         Removed an erroneous entry
8390         * components/help/converters/gnome-db2html2/TODO:
8391         Updated
8393         * components/help/converters/gnome-db2html2/AUTHORS:
8394         Added John Fleck (jfleck@inkstain.net)
8396 2000-12-25  Gene Z. Ragan  <gzr@eazel.com>
8397         
8398         * src/file-manager/fm-desktop-icon-view.c:
8399         (fm_desktop_icon_view_destroy), (free_volume_black_list),
8400         (volume_in_black_list), (create_mount_link),
8401         (startup_create_mount_links), (fm_desktop_icon_view_initialize),
8402         (volume_mounted_callback):
8403         Started work on volume black list.  Added proc and boot to
8404         list.  Need to figure out a way to expose this to the UI
8405         so it is easy for the user to specify what mounts they
8406         want displayed on the desktop.
8408         * libnautilus-extensions/nautilus-drag.c: (add_one_url_list),
8409         (add_one_path_list), (nautilus_drag_drag_data_get):
8410         * libnautilus-extensions/nautilus-icon-dnd.c:
8411         Work on supporting drags form Nautilus into the attachments
8412         frame of Netscape mail.
8413         
8414 2000-12-23  John Harper  <jsh@eazel.com>
8416         * libnautilus-extensions/nautilus-gdk-extensions.c
8417         (nautilus_gdk_parse_geometry): moved this out of the `! defined
8418         (NAUTILUS_OMIT_SELF_CHECK)' preprocessor block where I had
8419         inserted it by mistake. Also removed a statement with no effect
8421 2000-12-23  Ali Abdin  <aliabdin@aucegypt.edu>
8423         * components/help/hyperbola-filefmt.c:
8424         (fmt_man_populate_tree):
8425         Look in /usr/share/man if the 'manpath' app returns nothing.
8427 2000-12-23  Ali Abdin  <aliabdin@aucegypt.edu>
8429         So, I thought I was fixing this bug in the Eazel bugtracker. I hack
8430         away, and get gzipped man files showing up in the Help sidebar. Turns
8431         out, that the bug I /should/ have been working on was some info-files
8432         now showing up in the Help sidebar.
8434         Oh well, at least we now get gzipp'd man files showing up in the
8435         sidebar (which is most man files nowadays).
8437         So I continuied hacking and fixd bug #4414 (info files in Debian do
8438         not show up in Help sidebar)
8440         * components/help/hyperbola-filefmt.c:
8441         (extract_secnum_from_filename),
8442         (name_without_suffix): New functions
8444         (fmt_man_populate_tree_from_subdir):
8445         gnome-man2html2 actually supports gzip'd files. So this needed some
8446         major work to get it to support them gzip'd files.
8448         (fmt_info_populate_tree):
8449         Also populate tree from the /usr/share/info subdir. I think this helps
8450         destroy bug #4414
8452 2000-12-23  Ali Abdin  <aliabdin@aucegypt.edu>
8454         More Fixing for bug #5118 (tags within a title do not appear in the
8455         TOC). There are a few 'difficult' cases that are still not supported
8456         and we probably won't support.
8458         Thanks to jfleck@inkstain.net
8460         * components/help/converters/gnome-db2html2/toc-elements.c:
8462         Filled in function table to use toc_tag_characters where
8463         appropriate.
8465         (toc_tag_characters),
8466         (toc_title_end_element),
8467         (toc_title_start_element):
8468         Some hackery to use an 'in_printed_title' variable (so we can
8469         distinguish on wether we need to actually print the tag within the
8470         title).
8472         * components/help/converters/gnome-db2html2/gdb3html.c:
8473         (xml_parse_document): This function was #if 0'd out and is now gone
8474         from the tree
8475         (parse_file): Remove #if 0'd code.
8476         (main): Remove a really old unncessary comment
8478         * components/help/converters/gnome-db2html2/gdb3html.c:
8479         * components/help/converters/gnome-db2html2/sect-elements.c:
8480         * components/help/converters/gnome-db2html2/toc-elements.c:
8481         i18n'd a bunch of strings as some preliminary work to getting i18n
8482         working with gnome-db2html2
8484         * po/POTFILES.in:
8485         Update to reflect the i18n'd strings in gnome-db2html2
8487 2000-12-23  Gene Z. Ragan  <gzr@eazel.com>
8489         reviewed by: Pavel Cisler <pavel@eazel.com>
8491         Fixed bug 4158, dropping a file onto gnome-terminal
8492         doesn't insert a path name.
8493         
8494         * libnautilus-extensions/nautilus-drag.c: (add_one_path_list),
8495         (nautilus_drag_drag_data_get):
8496         Return a list a text paths.
8497         
8498         * libnautilus-extensions/nautilus-drag.h:
8499         Add new type and data type for "text/uri"
8500         
8501 2000-12-22  Ramiro Estrugo  <ramiro@eazel.com>
8503         reviewed by: Gene Z. Ragan <gzr@eazel.com>
8505         * libnautilus-extensions/nautilus-debug-drawing.c:
8506         (event_box_draw), (event_box_expose_event),
8507         (nautilus_debug_show_pixbuf):
8508         Dont use NautilusImage here because that create a chicken
8509         and egg problem when debuggin NautilusImage itself.  Use
8510         an event box instead.
8512         * libnautilus-extensions/nautilus-gdk-extensions.h:
8513         * libnautilus-extensions/nautilus-gdk-extensions.c:
8514         (nautilus_gdk_rgb_to_color_spec):
8515         New function to make a string color spec from an rgb value.
8516         
8517         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
8518         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
8519         (nautilus_gdk_pixbuf_is_valid),
8520         (nautilus_gdk_pixbuf_get_frame):
8521         Make these public and add documentation for them.
8522         
8523 2000-12-22  Gene Z. Ragan  <gzr@eazel.com>
8525         reviewed by: Pavel Cisler <pavel@eazel.com>
8526         
8527         Fixed bug 4951, No error given selecting unmountable "Disks" volume.
8528         
8529         I added a pipe to monitor the result of the mount/umount command.
8530         If an error is in the pipe, a details error dialog is displayed.
8531         A generic mount failed error is first and the details button reveals
8532         the error message returned in the pipe.
8533                 
8534         * libnautilus-extensions/nautilus-volume-monitor.c: (find_command),
8535         (open_error_pipe), (close_error_pipe),  
8536         (nautilus_volume_monitor_mount_unmount_removable):
8538         Renamed xfer to transfer.
8539         * libnautilus-extensions/nautilus-file-operations.c:
8540         (parent_for_error_dialog), (transfer_dialog_clicked_callback),
8541         (create_transfer_dialog), (handle_transfer_ok),
8542         (build_error_string), (handle_transfer_vfs_error),
8543         (handle_transfer_overwrite), (handle_transfer_duplicate),
8544         (update_transfer_callback), (sync_transfer_callback),
8545         (nautilus_file_operations_copy_move),
8546         (handle_new_folder_vfs_error), (new_folder_transfer_callback),
8547         (nautilus_file_operations_new_folder),
8548         (nautilus_file_operations_move_to_trash),
8549         (nautilus_file_operations_delete), (do_empty_trash):
8551         Added compatibility call.
8552         * libnautilus-extensions/nautilus-entry.c:
8553         * libnautilus-extensions/nautilus-entry.h:
8554         (nautilus_entry_new_with_max_length):
8555                         
8556 2000-12-22  Darin Adler  <darin@eazel.com>
8558         * libnautilus-extensions/nautilus-global-preferences.c:
8559         (global_preferences_register): Add missing _()
8561 2000-12-22  Darin Adler  <darin@eazel.com>
8563         reviewed by: Pavel Cisler <pavel@eazel.com>
8565         Fixed bug 5065 (When Nautilus moves a directory it doesn't rename
8566         the corresponding private metafile).
8568         Fixed bug 5066 (Moving a directory doesn't update infomrration
8569         about child directories in Nautilus).
8571         Fixed bug 5297 (Make all (C) strings use gettext).
8573         * libnautilus-extensions/nautilus-directory-metafile.c:
8574         (nautilus_directory_rename_file_metadata),
8575         (nautilus_directory_remove_file_metadata): Add check for NULL hash
8576         table. Without this check we kept running into asserts.
8577         
8578         * libnautilus-extensions/nautilus-directory-private.h:
8579         * libnautilus-extensions/nautilus-directory.c:
8580         (nautilus_directory_new): Share URI-setup code with the renaming
8581         case.
8582         (set_directory_uri): New function shared with new directories and
8583         renaming.
8584         (get_path_from_vfs_uri), (get_private_metafile_path): Utility
8585         functions to help get local paths for private metafiles.
8586         (change_directory_uri): Update URI for an existing
8587         NautilusDirectory object. This handles renaming the private
8588         metafile too.
8589         (collect_directories_by_prefix): Function to collect affected
8590         directories when you rename a directory.
8591         (str_replace_prefix): Utility to replace string prefix so we can
8592         turn old directory name into the new one.
8593         (nautilus_directory_moved): Renamed and changed to use URIs
8594         instead of a directory object so it can be called even when no
8595         directory exists. Also made it collect all affected directories
8596         and do the work with change_directory_uri on each one.
8597         * libnautilus-extensions/nautilus-file.c: (rename_callback): Use
8598         the new nautilus_directory_moved.
8599         
8600         * libnautilus-extensions/nautilus-file-utilities.h:
8601         * libnautilus-extensions/nautilus-file-utilities.c:
8602         (nautilus_get_build_time_stamp):
8603         * src/nautilus-about.h:
8604         * src/nautilus-about.c: (nautilus_about_new),
8605         (nautilus_about_draw_info):
8606         * src/nautilus-window-manage-views.c:
8607         (window_set_title_with_time_stamp), (update_title):
8608         * src/nautilus-window-menus.c:
8609         (help_menu_about_nautilus_callback):
8610         Rename "timestamp" -> "time stamp".
8612         * src/nautilus-window-menus.c:
8613         (help_menu_about_nautilus_callback): Mark "(C)" string for
8614         translation.
8615         
8616 2000-12-21  John Harper  <jsh@eazel.com>
8618         reviewed by: Darin Adler  <darin@eazel.com>
8620         Work to allow geometry of initial window to be specified on
8621         command line. Fixes bug #5135
8623         * src/nautilus-shell.c (open_window): new arg `geometry'. When
8624         non-null, use nautilus_gtk_window_set_initial_geometry_from_string
8625         to affect the geometry of the unmapped window
8627         (corba_open_default_window, corba_open_windows): new arg,
8628         `geometry', passed to open_window () if a non-null string
8630         * src/nautilus-shell-interface.idl (open_windows,
8631         open_default_window): added `geometry' parameter. Pass a
8632         zero-length string to show no specified geometry
8634         * src/nautilus-main.c (main): new option `--geometry=GEOMETRY'.
8635         Pass the value to nautilus_application_startup (). This option
8636         is only allowed when no more than one URI is given on the
8637         command line (to prevent multiple windows appearing on top of
8638         one another)
8640         * src/nautilus-application.c, src/nautilus-application.h
8641         (nautilus_application_startup): added parameter `geometry', a
8642         string describing the geometry to give any created windows
8644         * src/nautilus-first-time-druid.c (druid_finished): pass null
8645         geometry parameter to nautilus_application_startup ()
8647         * libnautilus/nautilus-gdk-extensions.c,
8648         libnautilus/nautilus-gdk-extensions.h
8649         (NautilusGdkGeometryFlags, nautilus_gdk_parse_geometry): a
8650         wrapper for XParseGeometry () and associated bit definitions.
8651         Required since gnome_parse_geometry () offers no reliable way
8652         of detecting which of the geometry components were parsed
8653         successfully
8655         * libnautilus/nautilus-gtk-extensions.c,
8656         libnautilus/nautilus-gtk-extensions.h
8657         (nautilus_gtk_window_set_initial_geometry): takes an extra
8658         parameter, a NautilusGdkGeometryFlags value specifying which of
8659         the geometry parameters are valid
8661         (nautilus_gtk_window_set_initial_geometry_from_string): changed
8662         to allow the geometry string to specify one or both of position
8663         and dimensions. Also doesn't use g_return_if_fail to test for
8664         validity of input string (since it may come from the user),
8665         instead just use the parseable parts of the geometry string
8667 2000-12-22  John Sullivan  <sullivan@eazel.com>
8669         reviewed by: Pavel Cisler  <pavel@eazel.com>
8671         Nautilus part of fix for bug 4798 (icon changes in MIME
8672         type capplet aren't reflected automatically in Nautilus)
8674         * libnautilus-extensions/nautilus-icon-factory.c:
8675         (get_icon_factory): connect to gnome_vfs_mime_monitor's
8676         "data_changed" signal. 
8677         (mime_type_data_changed_callback): emit "icons_changed"
8678         signal when gnome_vfs_mime_monitor says data has changed.
8680 2000-12-21  Maciej Stachowiak  <mjs@eazel.com>
8682         reviewed by: Pavel Cisler  <pavel@eazel.com>
8684         * components/text/nautilus-text-view.oafinfo,
8685         components/hardware/nautilus-hardware-view.oafinfo: Fixed IID to
8686         standard format.
8687         
8688         * components/hardware/main.c (hardware_view_make_object, main),
8689         components/text/main.c: (text_view_make_object, main):
8690         Updated to match.
8692 2000-12-21  Ramiro Estrugo  <ramiro@eazel.com>
8694         reviewed by: Pavel Cisler <pavel@eazel.com>
8696         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8697         (draw_or_measure_label_text_aa):
8698         * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
8699         * libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
8700         * libnautilus-extensions/nautilus-scalable-font.c:
8701         (nautilus_scalable_font_draw_text),
8702         (nautilus_scalable_font_draw_text_lines_with_dimensions),
8703         (nautilus_scalable_font_draw_text_lines),
8704         (nautilus_text_layout_paint), (nautilus_gdk_pixbuf_new_from_text):
8705         * libnautilus-extensions/nautilus-scalable-font.h:
8706         * libnautilus-extensions/nautilus-tabs.c: (draw_tab_label):
8707         * src/nautilus-about.c: (draw_aa_string):
8708         * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
8709         (draw_one_tab_themed):
8710         * test/test-nautilus-font.c: (main):
8711         Lost the "inverted" feature of smooth text drawing.  It wasnt used
8712         anywhere except a test program.  It never looked well and the
8713         nautilus icon container does something unrelated to select text.
8715         Also replace some hard coded 255 opacity values to use the
8716         NAUTILUS_OPACITY_NONE define.
8717         
8718 2000-12-21  J Shane Culpepper  <pepper@eazel.com>
8720         reviewed by: Gene Z. Ragan <gzr@eazel.com>
8722         * components/services/install/lib/eazel-inventory-utils.c:
8723         (add_package_info), (add_hardware_info), (add_software_info),
8724         (eazel_create_configuration_metafile):
8726         Added the SOFTWARE node to the xml generation. Added 
8727         bogomips, flags, and distribution to information gathered.
8728         There are very few things missing from the collection engine
8729         now.
8731 2000-12-21  Gene Z. Ragan  <gzr@eazel.com>
8733         Fixed bug 5218, The desktop is missing devices. (cdrom & vfat volume)
8734         
8735         Try and be more intelligent about determing the name of mounted
8736         volumes.  Until we can get the device name from the partition,
8737         we instead derive the name form the mount path.  If that fails, we fall
8738         back on a hrad coded string.
8739         
8740         * libnautilus-extensions/nautilus-volume-monitor.c:
8741         (mount_volume_get_name), (get_ext2_volume_name),
8742         (get_msdos_volume_name), (get_nfs_volume_name),
8743         (get_floppy_volume_name), (get_generic_volume_name):
8744         New and modified functions to return volume names.
8745         
8746 2000-12-21  John Sullivan  <sullivan@eazel.com>
8748         * components/sample/main.c: (main): Changed
8749         nautilus_view_create_from_get_type to
8750         nautilus_view_create_from_get_type_function so it would
8751         compile. My guess is this was a last-minute rename from
8752         Maciej's previous checkin.
8754         Fixed bug 5319 (two menu items in Help menu use same underline
8755         accelerator key)
8756         Fixed bug 5293 ("Nautilus Feedback..." should just be "Feedback..."
8757         since it's not only for Nautilus feedback.)
8758         
8759         * src/nautilus-shell-ui.xml: Moved an underscore, changed a label,
8760         tweaked a tip.
8762 2000-12-21  John Sullivan  <sullivan@eazel.com>
8764         reviewed by: Pavel Cisler <pavel@eazel.com>
8766         Fixed bug 5282 (Two file-name-conflict dialogs renaming in
8767         Properties window)
8769         The problem was that the activate signal and the focus-out signal
8770         were both trying to rename using the bad name. Fixed by restoring
8771         the text in the name field to the original name when an error occurs.
8773         * src/file-manager/fm-properties-window.c:
8774         (fm_properties_window_initialize_class): Wire up finalize handler.
8775         (name_field_restore_original_name): Select text of original name
8776         after restoring it into text field.
8777         (set_pending_name): Helper function to save pending name.
8778         (name_field_done_editing): Remember pending name in case window
8779         and name field get destroyed before callback. Ref window so it
8780         won't be finalized before callback.
8781         (rename_callback): Restore original name when rename fails, use
8782         stored pending name for window, unref window.
8783         (name_field_focus_out), (name_field_activate): Now take window
8784         as callback data so it can be passed to done_editing.
8785         (create_basic_page): Remember name field in window details struct
8786         so it can be accessed in rename_callback; remove some unnecessary
8787         casts; pass window as callback data to two signal handlers.
8788         (real_destroy): Don't free details here; do so in finalize
8789         (real_finalize): Free pending_name and details here, so pending
8790         name is always accessible by rename_callback.
8792 2000-12-21  Maciej Stachowiak  <mjs@eazel.com>
8794         reviewed by: Darin Adler  <darin@eazel.com>
8796         * libnautilus/nautilus-view.c, libnautilus/nautilus-view.h
8797         (nautilus_view_construct,
8798         nautilus_view_construct_from_bonobo_control): New construct
8799         functions so it's possible for view implementations to be
8800         subclasses of NautilusView.
8801         (nautilus_view_new_from_bonobo_control): Implement in terms of construct function.
8802         * libnautilus/nautilus-view-standard-main.h,
8803         libnautilus/nautilus-view-standard-main.c:
8804         (nautilus_view_standard_main_multi, nautilus_view_standard_main,
8805         nautilus_view_create_from_get_type): New convenience functions
8806         that encapsulate and librarify most of the cut and pasted main.c
8807         code that is in every nautilus view.
8808         (object_destroyed, make_object): Helper functions. 
8809         * libnautilus/Makefile.am: Add nautilus-view-standard-main.[ch] to
8810         build.
8811         * libnautilus/nautilus-view-component.idl: Add license header
8812         comment.
8814         * libnautilus-extensions/nautilus-gtk-macros.h: Lined up the
8815         backslashes to make it easier to read and edit the multi-line
8816         macros.
8818         * components/sample/README: Explain that all files in this
8819         directory have "WHAT YOU NEED TO CHANGE" comments.
8820         * components/sample/main.c (main): Implement in terms of
8821         `nautilus_view_standard_main' and removed most of the rest of this
8822         file. Now all you have to change when writing your own view is an
8823         include and some defines at the top of the file. Added "WHAT YOU
8824         NEED TO CHANGE" comment.
8825         * components/sample/nautilus-sample-content-view.h,
8826         components/sample/nautilus-sample-content-view.c: Added "WHAT YOU
8827         NEED TO CHANGE" comments.
8828         (nautilus_sample_content_view_get_type,
8829         nautilus_sample_content_view_initialize,
8830         nautilus_sample_content_view_destroy, load_location,
8831         sample_load_location_callback, bonobo_sample_callback,
8832         sample_merge_bonobo_items_callback): Changed everything around so
8833         NautilusSampleContentView inherits from Nautilus view, not
8834         GtkLabel (the widget that happens to be in the main content
8835         area). This makes a lot more sense. Also fix bug 2410 but
8836         including alternative code to nautilus-only macros.
8837         
8838         * components/sample/nautilus-sample-content-view.oafinfo: Added
8839         "WHAT YOU NEED TO CHANGE" comment.
8840         * components/sample/Makefile.am: Added "WHAT YOU NEED TO CHANGE" comment.
8842 2000-12-21  John Sullivan  <sullivan@eazel.com>
8844         * libnautilus-extensions/nautilus-search-uri.c:
8845         (nautilus_self_check_search_uri): Updated self-check
8846         expected results to match recent wording changes.
8847         This should fix the Tinderbox build.
8849 2000-12-21  Rebecca Schulman  <rebecka@eazel.com>
8850         Fix for bug 5244, that search interface 
8851         text that are sentence fragments should have comments explaining
8852         the context of the text to improve translation quality.
8854         reviewed by: Christian Rose <menthos@menthos.com>
8856         * libnautilus-extensions/nautilus-search-uri.c:
8857         * src/nautilus-search-bar-criterion.c:
8858         Added comments directly above sentence fragments
8859         that will be translated.
8861 2000-12-20  Ramiro Estrugo  <ramiro@eazel.com>
8863         reviewed by: Pavel Cisler <pavel@eazel.com>
8865         * libnautilus-extensions/nautilus-debug-drawing.h:
8866         * libnautilus-extensions/nautilus-debug-drawing.c:
8867         (nautilus_debug_show_pixbuf_in_eog), (debug_delete_event),
8868         (nautilus_debug_show_pixbuf):
8869         Add a debug function to show pixbufs in process without having to
8870         fork off eog. This is more useful than the eog version for
8871         asynchronous stuff.
8872         
8873         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
8874         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
8875         (pixbuf_draw_tiled), (draw_tile_to_pixbuf_callback),
8876         (draw_tile_to_drawable_callback),
8877         (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
8878         (nautilus_gdk_pixbuf_draw_to_drawable_tiled),
8879         New function to tile pixbufs into drawables. In order to reuse the
8880         tiling algorithm from the "tile_to_pixbuf" function, I added a
8881         simple callback mechanism.
8882         
8883         (nautilus_gdk_pixbuf_get_global_buffer),
8884         New function to access a global buffer.
8885         
8886         (nautilus_gdk_pixbuf_get_from_window_safe):
8887         New function to wrap gdk_pixbuf_get_from_drawable with safety from
8888         x errors and race conditions. See code for detailed comments as to
8889         the specific problems this wrapper addresses.
8891         * libnautilus-extensions/nautilus-gtk-extensions.h:
8892         * libnautilus-extensions/nautilus-gtk-extensions.c:
8893         (nautilus_gtk_class_name_make_like_existing_type):
8894         New function that custom widgets can call to make themselves look
8895         like stock widgets wrt to the gtk thememing engine.
8897 2000-12-21  Ramiro Estrugo  <ramiro@eazel.com>
8899         reviewed by: Pavel Cisler <pavel@eazel.com>
8901         * libnautilus-extensions/Makefile.am:
8902         * libnautilus-extensions/nautilus-art-gtk-extensions.h:
8903         * libnautilus-extensions/nautilus-art-gtk-extensions.c:
8904         (nautilus_irect_assign_gdk_rectangle),
8905         (nautilus_irect_screen_get_frame),
8906         (nautilus_irect_gdk_window_get_bounds),
8907         (nautilus_irect_gdk_window_get_screen_relative_bounds),
8908         (nautilus_irect_gtk_widget_get_bounds),
8909         (nautilus_irect_gdk_window_clip_dirty_area_to_screen):
8910         New functions that accept gtk/gdk structures and
8911         return their bounds/frames as ArtIRects.
8913         These are very useful in code that uses libart functions
8914         to do operations on ArtIRects (such as intersection)
8915         
8916 2000-12-20  Maciej Stachowiak  <mjs@eazel.com>
8918         * components/services/inventory/lib/trilobite-eazel-inventory-public.h:
8919         Removed.
8921 2000-12-20  Darin Adler  <darin@eazel.com>
8923         reviewed by: Pavel Cisler <pavel@eazel.com>
8925         Fixed bug 5285 (Renaming file through 'properties' dialog causes
8926         Glib errors).
8928         Did some work on bug 2288 (Location bar should only escape /
8929         unescape unambiguously for URIs ).
8931         * libnautilus-extensions/nautilus-directory-metafile.c:
8932         (nautilus_directory_set_metafile_contents): Create hash table even
8933         when no metafile is read in. This fixes asserts people were
8934         seeing.
8935         
8936         * libnautilus-extensions/nautilus-file-utilities.c:
8937         (nautilus_format_uri_for_display): Use
8938         gnome_vfs_get_local_path_from_uri to unescape paths so we don't
8939         unintentionally munge them. There may still be an issue with using
8940         this function on a string that gets written into the location bar.
8941         (is_valid_scheme_character), (has_valid_scheme), (expand_tilde),
8942         (nautilus_make_uri_from_input): Redo function to implement a new
8943         scheme where we put http:// in front of anything that doesn't
8944         start with a URI scheme or a / and file:// in front of things that
8945         do start with / (converting the path to a URI by escaping
8946         characters are necessary).
8947         (nautilus_get_build_timestamp): Get rid of unneeded tests.
8948         (nautilus_self_check_file_utilities): Updated self-test for
8949         nautilus_make_uri_from_input.
8950         * src/nautilus-location-bar.c: (try_to_expand_path): Fix
8951         NULL-dereference in cases where gnome_vfs_unescape_string returns
8952         NULL.
8953         * src/nautilus-navigation-bar.c:
8954         (nautilus_navigation_bar_location_changed): Remove the broken
8955         get_mapped_location function (which called g_file_exists on
8956         partial paths so gave virtually "random" results) and just call
8957         get_location directly.
8959 2000-12-20  Gene Z. Ragan  <gzr@eazel.com>
8961         Fixed bug 5186, Music View (and then Nautilus) crashes playing
8962         0-length MP3
8963         
8964         reviewed by: Pavel Cisler <pavel@eazel.com>
8966         Crash was caused by using an unitialized variable. Initializing
8967         the variable to NULL and then checking the result after the
8968         function is called solved the problem.
8969         
8970         * components/music/nautilus-music-view.c: (get_song_text),
8971         (music_view_set_selected_song_title):
8973 2000-12-20  Gene Z. Ragan  <gzr@eazel.com>
8975         Fixed bug 5172, Music View doesn't always scroll when
8976         active song off-screen
8978         Borrowed code from NautilusCList to fix bug.
8979         Selection now scrolls into view in a logical manner during
8980         playback.
8981         
8982         * components/music/nautilus-music-view.c:
8983         (nautilus_music_view_initialize_class),
8984         (nautilus_music_view_initialize), (nautilus_music_view_destroy),
8985         (list_move_vertical), (list_moveto), (list_reveal_row),
8986         (play_current_file):
8988 2000-12-20  John Sullivan  <sullivan@eazel.com>
8990         reviewed by: Pavel Cisler <pavel@eazel.com>
8992         Fixed bug 4842 (Link to .Trash gives "You cannot copy the Trash"
8993         dialog) and part of bug 5221 (Trying to delete .Trash says
8994         "The Trash cannot be moved from the desktop")
8996         * libnautilus-extensions/nautilus-file-operations.c:
8997         (nautilus_file_operations_copy_move): Don't disallow linking
8998         to trash folders (was doing so accidentally); distinguish
8999         error wording for desktop Trash icon and other trash folders.
9001 2000-12-20  J Shane Culpepper  <pepper@eazel.com>
9003         reviewed by: Maciej Stachowiak <mjs@eazel.com>
9005         * components/services/install/command-line/.cvsignore:
9006         * components/services/install/command-line/Makefile.am:
9007         * components/services/install/command-line/eazel-test-inventory.c:
9008         (main):
9009         * components/services/install/lib/eazel-install-logic.c:
9010         (eazel_install_do_transaction_md5_check):
9011         * components/services/install/lib/eazel-inventory-utils.c:
9012         (eazel_create_configuration_metafile),
9013         (update_gconf_inventory_digest), (eazel_gather_inventory):
9014         * components/services/install/lib/eazel-inventory-utils.h:
9015         * components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
9016         (trilobite_md5_get_digest), (trilobite_md5_get_digest_from_file),
9017         (trilobite_md5_get_digest_from_md5_string),
9018         (trilobite_md5_get_string_from_md5_digest), (main):
9019         * components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
9021         Adding various fixes to the inventory engine and adding a test program
9022         to validate the inventory api.  Fixed the trilobite-md5-tools functions
9023         to namespace trilobite correctly.
9025 2000-12-19  Ramiro Estrugo  <ramiro@eazel.com>
9027         * libnautilus-extensions/Makefile.am:
9028         Dumshit me forgot to add new files to makefile.
9029                 
9030 2000-12-19  Ramiro Estrugo  <ramiro@eazel.com>
9032         * libnautilus-extensions/Makefile.am:
9033         * libnautilus-extensions/nautilus-debug-drawing.h:
9034         * libnautilus-extensions/nautilus-debug-drawing.c:
9035         (nautilus_debug_draw_rectangle_and_cross),
9036         (nautilus_debug_show_pixbuf_in_eog):
9037         New files.  Put drawing debugging functions here.
9038         
9039         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
9040         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
9041         Move drawing debugging functions to nautilus-debug-drawing.[ch].
9043         * test/test-nautilus-font.c: (main):
9044         Update for debug drawing functions location change.
9045         
9046 2000-12-19  Eskil Heyn Olsen  <eskil@eazel.com>
9048         reviewed by: Maciej Stachowiak <mjs@eazel.com>
9050         This powerpatch introduces the first parts of the ei2 work.
9051         
9052         * components/rpmview/nautilus-rpm-view.c:
9053         (nautilus_rpm_view_update_from_uri):
9054         Updated the is_installed call to also pass a version sense.
9055         
9056         * components/services/install/command-line/eazel-alt-install-corba.
9057         c: (set_parameters_from_command_line),
9058         (eazel_download_progress_signal), (main):
9059         Option to enable ei2.
9060         And since I was bored and played with adding KB/s to download.
9061         Also reenabled the use of gnome_init since otherwise the options
9062         were all incorrect.
9063         
9064         * components/services/install/command-line/eazel-test-packsys.c:
9065         (test_query), (progress_signal), (test_verify):
9066         Made the tests easier to tweak, by having defines for the
9067         packages/features etc that are used in the test queries.
9068         Fixed test_verify, so it' won't report badness on verify of
9069         multiple packages.
9070         
9071         * components/services/install/lib/eazel-package-system-types.h:
9072         * components/services/install/lib/eazel-package-system-types.c:
9073         (categorylist_flatten_to_packagelist),
9074         Moved a function from eazel-install-logic. It returns a flat list
9075         of all the packages in a set of categories.
9076         (packagedata_class_initialize), (packagedata_initialize),
9077         (packagedata_finalize), (packagedata_get_type), (packagedata_new),
9078         (packagedata_fill_in_missing), (packagedata_destroy),
9079         gtk'ified the packagedata object (I apologize)
9080         (eazel_install_package_matches_versioning):
9081         Made the matches_versioning use a version sense.
9082         Also added a PACKAGE_FILL_INVALID enum and a
9083         EAZEL_SOFTCAT_SENSE_ANY. Guess what they mean...
9084         Also added some gtk style defines for PackageDependency, for the
9085         day when we actually want to abuse it into a gtkobject (shudder)
9086         fill_in_missing now also sets the fillflag (needed for the ei2 work)
9087         
9088         * components/services/install/command-line/eazel-test-types.c:
9089         (test_eazel_install_package_matches_versioning):
9090         More test of matches_versioning to test the new sense ability.
9091         
9092         * components/services/install/idl/trilobite-eazel-install.idl:
9093         * components/services/install/lib/eazel-install-corba.c:
9094         (impl_Eazel_Install__set_ei2), (impl_Eazel_Install__get_ei2),
9095         (impl_Eazel_Install__set_ignore_file_conflicts),
9096         (impl_Eazel_Install__get_ignore_file_conflicts),
9097         (eazel_install_get_epv):
9098         Added the evil ei2 boolean. If set, libeazelinstall will use the
9099         new ei2 features.
9100         
9101         * components/services/install/lib/Makefile.am:
9102         Added eazel-install-logic2.c which has the ei2 stuff.
9103         
9104         * components/services/install/lib/eazel-install-logic.h:
9105         * components/services/install/lib/eazel-install-logic.c:
9106         (ei_install_packages), (eazel_install_download_packages),
9107         (ei_uninstall_packages), (ei_revert_transaction),
9108         (eazel_install_check_existing_packages),
9109         (eazel_install_fetch_dependencies),
9110         (eazel_uninstall_check_for_install):
9111         Moved flatten_packages out.
9112         Prefixed soem functions with ei_ to seperate them from the ei2
9113         equivalents.
9114         Suffixed emit_dependency_check with _pre_ei2 to seperate it from
9115         the ei2 equivalent.
9116         
9117         * components/services/install/lib/eazel-install-logic2.h:
9118         * components/services/install/lib/eazel-install-logic2.c:
9119         (dump_tree_helper), (dump_tree), (get_softcat_info),
9120         (get_package_info_foreach), (get_package_info),
9121         (dedupe_foreach_depends), (dedupe_foreach), (dedupe),
9122         (is_satisfied), (is_satisfied_features),
9123         (check_dependencies_foreach), (check_dependencies),
9124         (no_two_packages_with_same_file), (check_conflicts_with_other),
9125         (feature_consistency_check), (do_file_conflict_check),
9126         (do_dep_check), (install_packages), (uninstall_packages),
9127         (revert_transaction):
9128         Implemented the first many steps of ei2. It now gets package info
9129         and correctly constructs a tree of needed packages. It still lacks
9130         the file and feature conflict checking.
9131         
9132         * components/services/install/lib/eazel-install-metadata.c:
9133         (init_default_install_configuration):
9134         Default debug to FALSE
9135         
9136         * components/services/install/lib/eazel-install-public.h:
9137         * components/services/install/lib/eazel-install-private.h:
9138         * components/services/install/lib/eazel-install-object.c:
9139         (eazel_install_set_arg), (eazel_install_class_initialize),
9140         (eazel_install_initialize), (eazel_install_install_packages),
9141         (eazel_install_uninstall_packages),
9142         (eazel_install_revert_transaction_from_xmlstring),
9143         (eazel_install_emit_dependency_check),
9144         (eazel_install_emit_dependency_check_pre_ei2),
9145         (eazel_install_set_debug):
9146         Shitload of code just to have one more arg (ei2). I remember how
9147         easy this was in Emerald... *sigh*
9148         _set_debug also sets VERBOSE debug in the packagesystem object.
9149         Initialise also inits some new hashes for ei2.
9150         The install, uninstall and revert checks for the ei2 setting, if
9151         true, use the new ones, of not, use the old ones (doh)
9152         Added a new emit_dependency that as second arg takes a
9153         PackageDependency and mutates a correct PackageData from it.
9154         
9155         * components/services/install/lib/eazel-install-protocols.c:
9156         (eazel_install_fetch_package):
9157         Back to only getting with NO_PROVIDES|NO_DEPENDENCIES when using
9158         the old (non ei2) stuff.
9159         
9160         * components/services/install/lib/eazel-package-system.h:
9161         * components/services/install/lib/eazel-package-system.c:
9162         (eazel_package_system_is_installed):
9163         Takes a sense as last argument, make it more flexible.  
9165         * components/services/install/lib/eazel-package-system-rpm3.c:
9166         (eazel_package_system_rpm3_packagedata_fill_from_header),
9167         (eazel_package_system_rpm3_query_requires),
9168         (check_if_all_packages_seen):
9169         Removed a fixme comment.
9170         Added a fixme comment.
9171         Set the package fillflag in fill_from_header.
9172         Fixed some braindamage in query_requires to limit the amount of
9173         damage the query does.
9174         all_packages_seen changes according to the is_installed changes.
9175         
9176         * components/services/install/lib/eazel-softcat.c:
9177         * components/services/install/lib/eazel-softcat.h:
9178         Give robey more blame than me.
9179         
9180         * components/services/install/lib/makefile.staticlib.in:
9181         Added logic2.o
9182         
9183 2000-12-19  John Sullivan  <sullivan@eazel.com>
9185         Fixed bug 5258 (no UI for renaming new folder in View as List)
9187         After some email discussion, decided to bring up Properties
9188         window in this case. Fortunately, FMDirectoryView had this case
9189         beautifully factored so it was a cinch to add this.
9191         * src/file-manager/fm-list-view.c: 
9192         (real_start_renaming_item): New function, presents properties
9193         window.
9194         (fm_list_view_initialize_class): wire up real_start_renaming_item 
9195         as start_renaming_item function pointer,
9197 2000-12-19  Ramiro Estrugo  <ramiro@eazel.com>
9199         reviewed by: Pavel Cisler <pavel@eazel.com>
9200         
9201         * libnautilus-extensions/nautilus-art-extensions.h:
9202         * libnautilus-extensions/nautilus-art-extensions.c:
9203         (nautilus_art_irect_assign),
9204         Convenience function to assign x,y,width,height values to an
9205         ArtIRect.
9207         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
9208         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
9209         (nautilus_gdk_pixbuf_is_valid),
9210         A simple private function that returns whether a pixbuf is "valid"
9211         or not.  Vailidy is meassured as not null, with valid pixel data
9212         and non zero dimensions.
9213         
9214         (nautilus_gdk_pixbuf_get_frame),
9215         Private function to return the frame of a GdkPixbuf in a stucture for
9216         better readability.
9218         (nautilus_gdk_pixbuf_fill_rectangle_with_color),
9219         Changed it to use ArtIRect's instead of GdkRectangles to avoid
9220         using unsigned and short integers.  Also, use art_irect_interset()
9221         to do clipping.
9223         (nautilus_gdk_pixbuf_save_to_file),
9224         Changed the pixbuf parameter to be const.
9226         (nautilus_gdk_pixbuf_unref_if_not_null),
9228         (nautilus_gdk_window_get_frame),
9229         Private function to return the frame of a GdkWindow in a stucture for
9230         better readability.
9231         
9232         (nautilus_gdk_pixbuf_draw_to_drawable),
9233         Renamed function to be consitent with the other pixbuf drawing
9234         functions.  Also made it use ArtIRect's instead of GdkRectangles
9235         to avoid using unsigned and short integers.  Rewrote the clipping
9236         operations using art_irect_intersect() for better readability.
9238         (nautilus_gdk_pixbuf_draw_to_pixbuf),
9239         Renamed function to be consitent with the other pixbuf drawing
9240         functions.  Also made it use ArtIRect's instead of GdkRectangles
9241         to avoid using unsigned and short integers.  Rewrote the clipping
9242         operations using art_irect_intersect() for better readability.
9244         (nautilus_gdk_pixbuf_draw_to_pixbuf_alpha),
9245         Renamed function to be consitent with the other pixbuf drawing
9246         functions.  Also made it use ArtIRect's instead of GdkRectangles
9247         to avoid using unsigned and short integers.  Changed the
9248         implementation to honor all parameters including the source_x and
9249         source_y.  This is needed to work around limitation in
9250         gdk_pixbuf_composite().  Rewrote the clipping operations using
9251         art_irect_intersect() for better readability.
9253         (nautilus_gdk_pixbuf_new_from_pixbuf_sub_area),
9254         (pixbuf_destroy_callback),
9255         New function to create pixbuf from a sub area.  The pixel data is
9256         shared an all memory bookeeping is taken care of for the caller by
9257         simply unreffing the resulting pixbuf.
9258         
9259         (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
9260         Renamed function to be consitent with the other pixbuf drawing
9261         functions.  Made the implementation work and honor all its
9262         parameters including the origin.   Rewrote the clipping
9263         operations using art_irect_intersect() for better readability.
9265         There was a bug (5077) about this function claiming it was not
9266         used except in test code.  This was true, but now that it works im
9267         planning on using it in NautilusImage shortly.  I have marked that
9268         bug fixed.
9269         
9270         (nautilus_gdk_pixbuf_show_in_eog):
9271         New function to show a pixbuf externally in eog.  Useful for
9272         debugging pixbuf stuff.
9274         * libnautilus-extensions/nautilus-buffered-widget.c:
9275         (nautilus_buffered_widget_draw), (nautilus_gdk_pixbuf_tile_alpha):
9276         Use new gdk-pixbuf extension functions.
9277         
9278         * libnautilus-extensions/nautilus-scalable-font.c:
9279         (nautilus_text_layout_paint):
9280         Update for changes in fill_rectangle_with_color() api.
9281         
9282         * src/nautilus-about.c: (nautilus_about_update_authors):
9283         Update for changes in fill_rectangle_with_color() api.
9285         * test/test-nautilus-font.c: (main):
9286         Update for changes in pixbuf extensions.
9288 2000-12-19  Darin Adler  <darin@eazel.com>
9290         * components/tree/nautilus-tree-model.c: (dump_one_file_node):
9291         Fixed code that cast a pointer to (unsigned), which won't work on
9292         the many platforms where pointers are bigger than ints.
9294 2000-12-19  John Sullivan  <sullivan@eazel.com>
9296         * libnautilus-extensions/nautilus-thumbnails.c:
9297         (nautilus_update_thumbnail_file_renamed_one):
9298         Removed a g_assert (!vfs_file_exists). I ran into this while
9299         testing something unrelated and Darin convinced me that it is
9300         loony to assert anything about the state of the files on disk.
9302 2000-12-19  John Sullivan  <sullivan@eazel.com>
9304         reviewed by: Pavel Cisler <pavel@eazel.com>
9306         Fixed bug 2392 (need timed wait when activating file)
9308         * src/file-manager/fm-directory-view.c: 
9309         (get_containing_window): Rewrote to avoid applying
9310         GTK_WINDOW () cast on potential NULL object.
9311         (fm_directory_view_activate_file): Start timed-wait when
9312         activating file, so user can cancel it if the call_when_ready
9313         takes a really long time.
9314         (activate_callback): Cancel timed-wait when we hear back from
9315         the call_when_ready.
9316         (cancel_activate_callback): Cancel call_when_ready if the user
9317         clicks the Cancel button in the timed-wait dialog.
9318         
9319         * src/file-manager/fm-properties-window.c:
9320         (fm_properties_window_present): Fixed a doubled character in
9321         a string from my previous checkin.
9323 2000-12-19  John Sullivan  <sullivan@eazel.com>
9325         reviewed by: Darin Adler  <darin@eazel.com>
9327         Fixed bug 2292 (no way to cancel opening a Properties window,
9328         which could wait forever checking if a file is a directory). 
9329         Now there's a hashtable of pending files, which is used to 
9330         avoid trying to show the same window twice and to cancel 
9331         showing a window. 
9333         * src/file-manager/fm-properties-window.c:
9334         (cancel_create_properties_window_callback): New function, used
9335         by timed-wait mechanism to give up on not-yet-appearing
9336         properties window.
9337         (remove_pending_file): New helper function, removes pending
9338         file from hashtable and stops timed-wait.
9339         (pending_file_succeeded): New helper function called when
9340         the wait for info is over and the window can be created.
9341         (create_properties_window_callback): call pending_file_succeeded
9342         before doing anything else.
9343         (directory_view_destroyed_callback): New function, used to
9344         cancel timed-wait if the directory view is destroyed before
9345         the properties window has appeared.
9346         (fm_properties_window_present): Create pending_files hashtable;
9347         do nothing if we're already waiting for a properties window
9348         for this file; add file to pending_files; wire up
9349         directory_view_destroyed_callback; start timed-wait before
9350         using call_when_ready to determine if file is a directory;
9351         use nautilus_g_hash_table_new_free_at_exit to help catch
9352         leaks.
9355         Added a couple more bonobo_ui_component_freeze/thaw pairs,
9356         though they have only a very small measured effect here.
9358         * src/file-manager/fm-icon-view.c: (update_layout_menus),
9359         (fm_icon_view_merge_menus): Add freeze/thaw pairs around
9360         multiple bonobo-ui operations.
9362 2000-12-19  Darin Adler  <darin@eazel.com>
9364         reviewed by: John Sullivan <sullivan@eazel.com>
9366         Fixed bug 2233 (proper icon not selected switching views after
9367         rename) by re-sending selection when the selection items change
9368         since they might have changed names.
9369         
9370         * src/file-manager/fm-directory-view.c: (done_loading): Moved
9371         more of the done_loading code here for clarity.
9372         (compare_pointers), (sort_and_check_for_intersection): Added
9373         functions that quickly find if there's an intersection in two
9374         GLists of NautilusFile objects.
9375         (display_pending_files): Move some of the done_loading code into a
9376         new function, do it after processing file changes, and add code to
9377         send out the selection if a file change comes in for any items in
9378         the selection (in case the name changed).
9379         (display_selection_info_idle_callback),
9380         (update_menus_idle_callback), (display_pending_idle_callback):
9381         Make all of these more robust by keeping the NautilusView object
9382         in a local variable.
9383         (display_pending_timeout_callback): Do the "ref the NautilusView"
9384         thing in this function too.
9386         * check-POTFILES.pl: Added support for .xml and .cpp files and
9387         also updated special cases for directory environment variables.
9388         * check-THANKS.pl: Added a special case and fixed some things in
9389         the ChangeLog too to make this output fewer false positives.
9391 2000-12-19  Mike Fleming  <mfleming@eazel.com>
9393         * components/services/nautilus-dependent-shared/shared-service-widgets.c:
9394         Added fixme
9396         * components/mozilla/main.c: (main):
9397         * components/services/summary/nautilus-view/main.c: (main):
9399         Cleaned up the ammonite/gconf initialization mess.  gconf should
9400         always be initialized before ammonite, and ammonite should always be
9401         initizalized if you're going to use it.
9403 2000-12-19  Ramiro Estrugo  <ramiro@eazel.com>
9405         reviewed by: Maciej Stachowiak <mjs@eazel.com>
9407         * libnautilus-extensions/Makefile.am:
9408         * libnautilus-extensions/nautilus-art-extensions.c:
9409         * libnautilus-extensions/nautilus-art-extensions.h:
9410         * libnautilus-extensions/nautilus-gnome-extensions.c:
9411         * libnautilus-extensions/nautilus-gnome-extensions.h:
9412         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9413         Move the libart specific extensions to their own place where I
9414         will soon add stuff.
9415         
9416 2000-12-19  Ramiro Estrugo  <ramiro@eazel.com>
9418         reviewed by: Pavel Cisler <pavel@eazel.com>
9420         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
9421         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
9422         Remove nautilus_gdk_pixbuf_draw_text().  This function was meant
9423         to be used by embedded text.  Ever since we started using anti-
9424         aliased text via freetype, we dont need it anymore.
9426         This yanking manuever fixes Bug 2559, since the code relevant to
9427         that bug is now gone.
9429         * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
9430         Always use smooth fonts for embedded text.  Remove currently
9431         unused call to nautilus_gdk_pixbuf_draw_text().
9433         The issue of embedded always being anti aliased will continue to
9434         be tracked by bug 2783.
9435         
9436 2000-12-18  Andy Hertzfeld  <andy@eazel.com>
9438         * icons/i-harddisk.png:
9439         aligned perspective with other images in the hardware view
9440         
9441         * icons/eazel/Back.png:
9442         * icons/eazel/Forward.png:
9443         * icons/eazel/Home.png:
9444         * icons/eazel/Refresh.png:
9445         * icons/eazel/Search.png:
9446         * icons/eazel/SearchWeb.png:
9447         * icons/eazel/Services.png:
9448         * icons/eazel/Stop.png:
9449         * icons/eazel/Up.png:
9450         new toolbar icons from Susan.  She's not quite finished with them
9451         yet, but these are a lot closer to the final ones, and I wanted to
9452         get them checked in before my vacation.
9453                 
9454 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9456         Fixed an issue in sorting. When you reload a directory
9457         into music view, the last sort mode is applied to the
9458         newly loaded list.
9459         
9460         * components/music/nautilus-music-view.c:
9461         (nautilus_music_view_initialize_class),
9462         (nautilus_music_view_initialize), (nautilus_music_view_destroy),
9463         (sort_list), (click_column_callback), (nautilus_music_view_update):
9465 2000-12-18  Andy Hertzfeld  <andy@eazel.com>
9467         * components/image-viewer/nautilus-image-view.c:
9468         (zoomable_zoom_to_fit_callback), (image_bigger_than_viewer),
9469         (scrolled_window_size_allocate_callback), (control_factory_common),
9470         (scrollable_control_factory):
9471         implemented initial "zoom-to-fit" if an image is bigger than the
9472         displayable area, as requested by Mike Boich.
9473         
9474 2000-12-18  John Sullivan  <sullivan@eazel.com>
9476         reviewed by: Rebecca Shulman <rebecka@eazel.com>
9478         Fixed Nautilus half of bug 2109 (Images (and any other
9479         files) with "execute" bit set will try to be executed
9480         instead of viewed when activated). This change requires
9481         a recent GNOME-VFS change to compile.
9483         * src/file-manager/fm-directory-view.c: (file_is_launchable):
9484         Test for launchability now includes asking GNOME_VFS whether
9485         this mime type is conceivably executable.
9486         
9487         * libnautilus-extensions/nautilus-mime-actions.c:
9488         (nautilus_mime_get_short_list_methods_for_file): Changed
9489         "vfs-method" to "vfs_method" to match change in GNOME-VFS.
9491 2000-12-18  Darin Adler  <darin@eazel.com>
9493         reviewed by: John Sullivan <sullivan@eazel.com>
9494         (Robey also looked at the install part a bit)
9496         Fix bug 5212 (File leaks when you start and immediately quit
9497         Nautilus).
9498         
9499         * src/file-manager/fm-directory-view.c: (queue_pending_files):
9500         Remove incorrect nautilus_file_list_ref that created a
9501         NautilusFile leak.
9503         Fix bug 5180 (Defined messages won't end up in translations) by
9504         making sure we don't ever use "_()" inside a #define.
9506         * libnautilus-extensions/nautilus-file-operations.c:
9507         * libnautilus-extensions/nautilus-global-preferences.c:
9508         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9509         * libnautilus-extensions/nautilus-icon-factory.c:
9510         * nautilus-installer/src/installer.c:
9511         * nautilus-installer/src/package-tree.c:
9512         * src/file-manager/fm-desktop-icon-view.c:
9513         * src/nautilus-location-bar.c:
9514         Changed all localizable strings in #defines to instead use global
9515         (const) variables. We still have the defines, though, since we
9516         can't call gettext in a global-initialization.
9517         
9518 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9520         Fixed bug 5136, Exit Music View with a 2nd open Music View window -> crash
9521         
9522         The bug was caused by a runaway timer callback.  The callback is now
9523         properly destroyed when the component is destroyed.
9524         
9525         * components/music/nautilus-music-view.c:
9526         (nautilus_music_view_destroy), (play_status_display),
9527         (play_current_file), (play_button_callback):
9529 2000-12-18  Robey Pointer  <robey@eazel.com>
9531         * components/services/trilobite/libtrilobite/trilobite-core-utils.c:
9532         (trilobite_get_popt_context), (trilobite_init), (trilobite_main),
9533         (trilobite_main_quit):
9534         * components/services/trilobite/libtrilobite/trilobite-core-utils.h:
9536         Clean up trilobite_init to not use or require X anymore (yay!).
9537         Add a trilobite_main and trilobite_main_quit to mirror the GTK
9538         versions (but without polling for X events).  Add a way for
9539         services to retreive their popt context for command-line argument
9540         processing. 
9542         * components/services/install/command-line/eazel-alt-install-corba.c:
9543         (done), (main):
9544         * components/services/install/server/main.c:
9545         (trilobite_service_factory_destroy), (main):
9546         * components/services/time/service/main.c:
9547         (trilobite_service_factory_destroy), (main):
9548         * components/services/trilobite/sample/service/main.c:
9549         (trilobite_service_factory_destroy), (main):
9551         Make the command-line utilities use trilobite_main() and
9552         trilobite_main_quit() instead of the GTK variants.
9553         
9554         * components/services/install/lib/eazel-install-xml-package-list.c:
9555         (generate_xml_package_list), (osd_parse_dependency):
9557         Stop filling in the soft_depends field from XML.  (The old code
9558         that uses soft_depends doesn't expect it to be filled in and will
9559         get confused, and this field is going away shortly anyway.)
9560         
9561         * components/services/install/nautilus-view/main.c: (main):
9562         * components/services/time/nautilus-view/main.c: (main):
9564         Don't make the nautilus-views use trilobite_* functions (that
9565         would be bad), but clean them up to look similar to each other so
9566         it's easy to see how to copy them and make new trilobites.
9567         
9568 2000-12-18  Robin * Slomkowski  <rslomkow@eazel.com>
9570         * nautilus.spec.in: updated version of bonobo
9571         for no good reason, change pw2 because I never
9572         understood it and changed /rpm3/ to rpm*
9573         because on rpm4 systems it didn't generate the 
9574         right files.
9576 2000-12-18  Ramiro Estrugo  <ramiro@eazel.com>
9578         reviewed by: Michael Engber  <engber@eazel.com>
9580         * libnautilus-extensions/nautilus-background.c:
9581         (nautilus_background_draw_to_pixbuf):
9582         * libnautilus-extensions/nautilus-background.h:
9583         Add a new function to draw backgrounds into GdkPixbufs.  Its a
9584         simple wrapper around the draw_to_canvas() function.
9586         Also, small tweaking of the prototypes to match "the style."
9587         
9588         * libnautilus-extensions/nautilus-buffered-widget.c:
9589         (create_background_pixbuf_from_ancestor):
9590         Draw directly into the pixbuf by using
9591         nautilus_background_draw_to_pixbuf function instead of drawing to
9592         a Pixmap and capturing the bits.
9593         
9594 2000-12-18  John Sullivan  <sullivan@eazel.com>
9596         reviewed by: Darin Adler <darin@eazel.com>
9598         Fixed bug 4037 (Error dialog every time on launch when
9599         permissions are set strangely)
9601         Fixed bug 1115 (Need better name for "User Directory" 
9602         and "User Data Directory")
9604         * libnautilus-extensions/nautilus-file-utilities.c:
9605         (nautilus_get_user_main_directory): Removed g_warning when
9606         Nautilus fails to create ~/Nautilus directory, improved
9607         FIXME comments.
9608         (nautilus_get_user_directory), (nautilus_get_desktop_directory):
9609         Added FIXME comments.
9610         
9611         * src/nautilus-application.c:
9612         (check_required_directories): Renamed from nautilus_application_
9613         check_user_directories; now returns FALSE if any required
9614         directories were not created. Reworded error dialog to mention
9615         directories by path rather than using confusing invented symbolic
9616         names, and to tell the user to address the problem by creating
9617         specified directories or setting permissions such that Nautilus
9618         can create specified directories. (It used to say "restart 
9619         Nautilus", which was pretty much guaranteed to have no effect.)
9620         (nautilus_application_startup): Now returns if 
9621         check_required_directories fails. The user has to address the
9622         problem described in the error message before Nautilus will
9623         launch.
9625 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9627         Fixed an unused variable error.
9628         
9629         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
9630         (place_home_directory):
9632 2000-12-18  Andy Hertzfeld  <andy@eazel.com>
9634         * src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
9635         (emblem_dialog_clicked):
9636         fixed bug 4164, "Add New Emblem" file entry can be typed in, but is
9637         ignored.  Fixed by reworking logic to read the path from it, instead
9638         of relying on activate to set it up.
9639         
9640 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9642         Fixed bug 2494, Error ignored when making icon directory for link file
9643         
9644         We now check the GnomeVFSResult. If it does != GNOME_VFS_OK, NULL
9645         is returned. The callers of this function can properly handle a NULL
9646         result.
9647         
9648         * libnautilus-extensions/nautilus-link.c: (make_local_path):
9650 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9652         Fixed bug 2526, Error case ignored when creating desktop link file
9653         
9654         I remvoed the error check in the three cases th ebug referenced.
9655         If an error occurs there is not much we can do. We could tell
9656         the user something, but the notification would be vague.  If a
9657         link is not created, there is no destructive side effect.
9658         
9659         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
9660         (volume_unmounted_callback), (place_home_directory):
9662 2000-12-18  Andy Hertzfeld  <andy@eazel.com>
9664         * src/nautilus-property-browser.c: (set_up_category_width):
9665         fixed bug 5230, shrinking the width of Backgrounds window
9666         causes floating point exception, by pinning the number of
9667         columns at 1.
9668         
9669         * icons/Makefile.am:
9670         * icons/default.xml:
9671         * icons/eazel/eazel.xml:
9672         * icons/vector/vector.xml:
9673         * icons/zoom_body.png:
9674         * icons/eazel/zoom_body.png:
9675         new zoom control image from Susan
9677 2000-12-18  Gene Z. Ragan  <gzr@eazel.com>
9679         Fixed bug 2472, text_height and text_width shouldn't be
9680         left alone when renaming.
9681         
9682         Preserve the text_width and text_height when renaming.
9683         Don't reset the values, just block the draw when the
9684         renaming widget is visibile.
9685         
9686         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9687         (draw_label_text_aa):
9689 2000-12-17  Ali Abdin  <aliabdin@aucegypt.edu>
9690         
9691         Fix bug #4379 (problem with variablelist's)
9693         Partial fix for bug #5118 (acronym (and other tags) do not appear
9694         in table of contents) - Implemented for: ACRONYM, FUNCTION
9696         Both of these are based on patches thanks to jfleck@inkstain.net
9698         Also added experimental ScrollKeeper support to the sidebar (as
9699         contributed by Mark Murnane from Sun). This is experimental, and
9700         disabled by default.
9702         * components/help/converters/gnome-db2html2/gdb3html.h:
9703         * components/help/converters/gnome-db2html2/sect-elements.[ch]:
9704         * components/help/converters/gnome-db2html2/toc-elements.c:
9705         (sect_varlistentry_start_element),
9706         (sect_varlistentry_end_element):
9707         new functions for VARLISTENTRY support
9708         (sect_listitem_start_element),
9709         (sect_listitem_end_element):
9710         Only print <LI> for itemizedlist and orderlist (for the varlist we
9711         print it out during the varlistentry)
9712         
9713         Makre sure we print out </LI>'s too, and remove the <P> cruft.
9715         * components/help/converters/gnome-db2html2/toc-elements.c:
9716         (toc_tag_characters):
9717         New function. This will be used to print tags within the title. e.g.
9718         <title><acronym>ASCII</acronym></title> should print out ASCII.
9720         * components/help/hyperbola-filefmt.c:
9721         * components/help/hyperbola-nav-tree.c:
9722         Added a patch contributes by Mark Murnane <Mark.Murnane@ireland.sun.com>
9723         that integrates experimental ScrollKeeper support for Hyperbola (the
9724         Help Sidebar). This is disabled by default. You should #define
9725         ENABLE_SCROLLKEEPER_SUPPORT to be able to use it.
9727         * components/help/ScrollKeeper-TODO:
9728         New file contributed by Sun.
9730 2000-12-17  Andy Hertzfeld  <andy@eazel.com>
9732         * src/nautilus-property-browser.c:
9733         (nautilus_property_browser_initialize_class),
9734         (nautilus_property_browser_get_category_width),
9735         (set_up_category_width), (update_category_width),
9736         (nautilus_property_browser_update_contents),
9737         (nautilus_property_browser_set_path),
9738         (nautilus_property_browser_size_allocate):
9739         
9740         fixed bug 3310, contents of property browser should relayout
9741         to fit the window, by calculating the number of columns
9742         from the window width, and overriding size_allocate to
9743         relayout if necessary when the size changes. 
9745 2000-12-17  Gene Z. Ragan  <gzr@eazel.com>
9747         Fixed bug 3890, Resort columns while MP3 plays,
9748         active song changes.
9749         
9750         * components/music/nautilus-music-view.c:
9751         (nautilus_music_view_initialize), (selection_callback),
9752         (compare_song_numbers), (compare_song_titles),
9753         (compare_song_artists), (compare_song_times), (compare_song_years),
9754         (compare_song_bitrates), (click_column_callback),
9755         (play_current_file), (nautilus_music_view_update):
9756         Change the way the list is sorted. Use column sorting functions
9757         that are set when the column button is clicked.  Don't reload list
9758         to resort. Make sure current selection index is updated
9759         when the list is resorted.
9761 2000-12-15  Andy Hertzfeld  <andy@eazel.com>
9763         * src/nautilus-sidebar.c:
9764         (nautilus_sidebar_active_panel_matches_id), (toggle_sidebar_panel),
9765         (nautilus_sidebar_add_panel_items),
9766         (nautilus_sidebar_remove_panel),
9767         (nautilus_sidebar_deactivate_panel):
9769         fixed bug 5198, removing the displayed sidebar panel messes up
9770         others, by closing the active panel before removing if it's the
9771         one to be removed.
9772         
9773         also fixed bug 1840 with this change, tab gets left behind when
9774         sidebar panel dies, by handling the case when we can't find the
9775         notebook page better.
9776         
9777 2000-12-15  Gene Z. Ragan  <gzr@eazel.com>
9779         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
9780         Test and see how users respond to a more lenient mount policy.
9781         We now will mount a lot of things. Just curious.
9783 2000-12-15  Gene Z. Ragan  <gzr@eazel.com>
9785         reviewed by: Pavel Cisler <pavel@eazel.com>
9787         Fixed bug 2400, LABEL=/ lines in /etc/fstab (used in Red Hat Beta 7)
9788         prevents trash from working
9790         Fixed bug 4586, Nautilus does not properly detect zip drives as removable
9791         media
9792         
9793         Rearchitected the way the volume monitor works. It now examines /proc/mounts
9794         to determine what file systems are mounted. This solves several problems such
9795         as the use of LABEL and auto in fstab. By using /proc/mounts we do not have to
9796         worry about permissions and disk access.
9797         
9798         * libnautilus-extensions/nautilus-volume-monitor.c:
9799         * libnautilus-extensions/nautilus-volume-monitor.h:
9800         (nautilus_volume_monitor_initialize),
9801         (nautilus_volume_monitor_destroy), (floppy_sort),
9802         (nautilus_volume_monitor_get_removable_volumes),
9803         (nautilus_volume_monitor_get_volume_name),
9804         (mount_volume_get_cdrom_name), (mount_volume_activate_cdrom),
9805         (mount_volume_activate_floppy), (mount_volume_activate_ext2),
9806         (mount_volume_activate_msdos), (mount_volume_activate_generic),
9807         (mount_volume_get_name), (mount_volume_activate), (eject_cdrom),
9808         (free_mount_list), (create_differed_list),
9809         (get_current_mount_list), (verify_current_mount_state),
9810         (mount_volumes_check_status), (mount_volume_floppy_add),
9811         (mount_volume_ext2_add), (mount_volume_udf_add),
9812         (mount_volume_vfat_add), (mount_volume_msdos_add),
9813         (cdrom_ioctl_get_info), (mount_volume_iso9660_add),
9814         (mount_volume_proc_add), (find_volumes),
9815         (nautilus_volume_monitor_each_volume),
9816         (nautilus_volume_monitor_each_mounted_volume),
9817         (nautilus_volume_monitor_volume_is_mounted),
9818         (nautilus_volume_monitor_mount_unmount_removable), (copy_volume),
9819         (nautilus_volume_monitor_free_volume), (get_msdos_volume_name),
9820         (get_floppy_volume_name), (mount_volume_add_filesystem):
9821         
9822         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
9823         (volume_unmounted_callback), (update_disks_menu):
9825 2000-12-15  John Sullivan  <sullivan@eazel.com>
9827         reviewed by: nobody, but Darin knew exactly what I was
9828         doing for these two small changes so that sorta counts.
9830         Fixed two problems found while investigating bug 4810
9831         (typing "gzip:" in location bar crashes), though I
9832         ended up fixing the bug entirely in gnome-vfs.
9834         * libnautilus-extensions/nautilus-directory-async.c:
9835         (get_info_callback): Don't call nautilus_directory_remove_file
9836         on self-owned files.
9837         
9838         * src/nautilus-window-manage-views.c: (handle_unreadable_location):
9839         Don't call a file "unreadable" if it doesn't exist. Let the rest
9840         of the error machinery handle it instead.
9842 2000-12-15  Andy Hertzfeld  <andy@eazel.com>
9844         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9845         (hit_test_pixbuf):
9846         liberalized the alpha threshold for hit-testing, so
9847         semi-transparent areas hit test positively if they have
9848         any opacity at all.
9849         
9850 2000-12-15  Robin * Slomkowski  <rslomkow@eazel.com>
9852         * components/services/install/lib/Makefile.am: added
9853                 eazel-package-system-rpm3-private.h to EXTRA_DISTS
9855 2000-12-15  Michael Engber  <engber@eazel.com>
9857         * src/nautilus-zoom-control.c: (draw_number),
9858         (draw_pixbuf_with_prelight), (nautilus_zoom_control_draw),
9859         (nautilus_zoom_control_expose),
9860         (nautilus_zoom_control_unload_images),
9861         (nautilus_zoom_control_load_images):
9862         Fixed performance of zoom control drawing by elimitating
9863         continual calls to gdk_fontset_load - bug 3317. Also fixed
9864         a falure to unref the number strip image.
9866 2000-12-15  John Sullivan  <sullivan@eazel.com>
9868         reviewed by: Darin Adler  <darin@eazel.com>
9869         
9870         Fixed bug 2464 ("open each item in a new window" sometimes 
9871         reuses an existing window)
9873         * libnautilus-extensions/nautilus-global-preferences.c:
9874         (global_preferences_register): Changed preferences text to
9875         say "separate window" rather than "new window"
9878         Fixed bug 2752 (double-clicking Help item causes "sidebar view
9879         failed" message)
9880         
9881         Fixed bug 5040 (only one dead view name gets saved for a window)
9883         This was a tangled mess of issues, including: (1) the dialog
9884         code was incorrectly guessing "sidebar panel" when a content
9885         view failed in some cases (fixed); (2) view frame lifetime
9886         issues found while working on (1) (fixed); (3) the state machine
9887         can fail if asked to load the same location twice very quickly
9888         (written up as bug 5197); (4) the Help sidebar panel asks to
9889         load the same location multiple times on a double-click (fixed);
9890         (5) Mozilla sometimes fails to load just after it has quit
9891         (written up as bug 5199).
9893         * components/help/hyperbola-nav-tree.c:
9894         (hyperbola_navigation_tree_new): Connect to destroy signal of 
9895         ctree widget.
9896         (set_pending_location): New helper function to remember the
9897         location for which this component just initiated a load.
9898         (hyperbola_navigation_tree_load_location): Set pending location
9899         to NULL now that there's a new real location.
9900         (hyperbola_navigation_tree_select_row): Don't try to start a
9901         new load of the pending location; set the pending location when
9902         we do start a new load.
9903         (hyperbola_navigation_tree_destroy): free pending location.
9904         
9905         * src/nautilus-view-frame.c:
9906         (nautilus_view_frame_initialize_class),
9907         (nautilus_view_frame_destroy), (nautilus_view_frame_finalize):
9908         Don't destroy details fields until finalize, so view_frame objects
9909         with extra refs can survive between destroy & finalize.
9910         
9911         * src/nautilus-window-manage-views.c: 
9912         (view_frame_info_new), (view_frame_info_free): New helper
9913         functions for dealing with the label & sidebar-panel-ness
9914         of a view frame.
9915         (set_view_frame_info): New helper function for storing
9916         the label & sidebar-panel-ness of a view frame in object
9917         data in the view frame.
9918         (view_frame_is_sidebar_panel), (view_frame_get_label):
9919         New helper functions for retrieving info stored in object
9920         data in the view frame.
9921         (report_content_view_failure_to_user_internal),
9922         (report_current_content_view_failure_to_user),
9923         (report_nascent_content_view_failure_to_user),
9924         (report_sidebar_panel_failure_to_user): Reworked the functions
9925         that put up the "view failed" dialog to take a NautilusViewFrame
9926         and to distinguish the existing-content-view from content-view-
9927         that's-being-created cases.
9928         (disconnect_view_and_destroy), (disconnect_destroy_unref_view): 
9929         New helper functions for cleanly forgetting about a view.
9930         (handle_view_failure): Use object data to distinguish content views
9931         from sidebar panels so we'll always get the right failure dialog.
9932         (update_state), (change_state): Get rid of dead_view_name mechanism;
9933         the name is now stored in the view frame in all cases.
9934         (load_content_view), (free_location_change), 
9935         (nautilus_window_begin_location_change),
9936         (nautilus_window_set_sidebar_panels): Jigger around the reffing &
9937         sinking of NautilusViewFrames to fix leaks and uncancelled-callback
9938         issues.
9939         
9940         * src/nautilus-window-private.h: remove obsolete dead_view_name
9941         field.
9942         * src/nautilus-window.c: (nautilus_window_destroy):
9943         Don't free now-non-existent dead_view_name field.
9945 2000-12-15  Darin Adler  <darin@eazel.com>
9946         
9947         reviewed by: Gene Ragan <gzr@eazel.com>
9949         Fix bug 5176 (Theme descriptions not translated).
9951         Fix bug 5187 (Real name in file ownership doesn't take GECOS data
9952         into account).
9953         
9954         * src/nautilus-theme-selector.c: (make_theme_description): Get the
9955         theme description (which I also moved to the theme node from its
9956         own description node) by using
9957         nautilus_xml_get_property_translated which handles using the
9958         gettext database to translate the property if the XML file has it
9959         with a _ prefix.
9961         * icons/ardmore/ardmore.xml:
9962         * icons/arlo/arlo.xml:
9963         * icons/default.xml:
9964         * icons/gnome/gnome.xml:
9965         * icons/vector/vector.xml:
9966         Moved description to be a property of the theme node and use the
9967         name that indicates it needs to be localized.
9969         * po/POTFILES.in: Add all of the theme .xml files which now
9970         potentially have localizable theme descriptions in them.
9971         
9972         * libnautilus-extensions/nautilus-file.c: (get_real_name): Add
9973         code to compute the real name from the GECOS info, by stripping
9974         anything after the "," and substituting the login name,
9975         capitalized, for any occurences of "&".
9976         (get_user_and_real_name_from_id): Use get_real_name instead of
9977         going for the pw_gecos field directly.
9978         (nautilus_get_user_names): Use get_real_name instead of
9979         going for the pw_gecos field directly.
9980         
9981         * libnautilus-extensions/nautilus-string.h:
9982         * libnautilus-extensions/nautilus-string.c:
9983         (nautilus_str_strip_substring_and_after),
9984         (nautilus_str_replace_substring), (nautilus_self_check_string):
9985         Add two new string utility functions and self-checks for them.
9986         These were both needed for the GECOS change.
9987         
9988         * src/nautilus-property-browser.c: Tweak formatting.
9990 2000-12-15  John Harper  <jsh@eazel.com>
9992         reviewed by: Darin Adler <darin@eazel.com>
9994         * components/html/gnome-dialogs.c: (get_progress),
9995         (glibwww_prompt), (glibwww_prompt_password),
9996         (glibwww_prompt_username_and_password):
9997         * components/music/configure.c: (mpg123_configure):
9998         * components/music/fileinfo.c: (mpg123_file_info_box):
9999         * components/music/nautilus-music-view.c: (image_button_callback):
10000         * helper-utilities/error-dialog/nautilus-error-dialog.c:
10001         (show_message_box):
10002         * libnautilus-extensions/nautilus-file-operations-progress.c:
10003         (nautilus_file_operations_progress_new):
10004         * libnautilus-extensions/nautilus-global-preferences.c:
10005         (nautilus_global_preferences_set_dialog_title):
10006         * libnautilus-extensions/nautilus-program-chooser.c:
10007         (run_program_configurator_callback),
10008         (nautilus_program_chooser_new):
10009         * libnautilus-extensions/nautilus-stock-dialogs.c:
10010         (timed_wait_callback), (nautilus_simple_dialog),
10011         (show_message_box):
10012         * src/file-manager/fm-icon-text-window.c:
10013         (create_icon_text_window):
10014         * src/file-manager/fm-properties-window.c:
10015         (create_properties_window), (select_image_button_callback):
10016         * src/nautilus-about.c: (nautilus_about_initialize):
10017         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
10018         * src/nautilus-first-time-druid.c:
10019         (nautilus_first_time_druid_show):
10020         * src/nautilus-link-set-window.c:
10021         (nautilus_link_set_configure_window):
10022         * src/nautilus-property-browser.c:
10023         (nautilus_property_browser_initialize),
10024         (nautilus_emblem_dialog_new), (add_new_pattern):
10025         * src/nautilus-shell.c: (display_caveat):
10026         * src/nautilus-theme-selector.c:
10027         (nautilus_theme_selector_initialize),
10028         (add_new_theme_button_callback):
10030         Added calls to gtk_window_set_wmclass with suitable instance
10031         names and `Nautilus' class name
10033 2000-12-15  Andy Hertzfeld  <andy@eazel.com>
10035         reviewed by: Pavel Cisler <pavel@eazel.com>
10037         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10038         (nautilus_icon_canvas_item_initialize),
10039         (invalidate_text_dimensions), (nautilus_icon_canvas_item_set_arg),
10040         (measure_label_text):
10041         fixed performance bottleneck where we measure the label text too
10042         many times by making it use values cached in the item details.
10043         Added code to invalidate them at the appropriate times, and
10044         made measure_label_text short-circuit if they're valid.
10045         
10046 2000-12-15  J Shane Culpepper  <pepper@eazel.com>
10048         reviewed by: Darin Adler <darin@eazel.com>
10050         * components/services/install/lib/Makefile.am:
10051         * components/services/install/lib/eazel-inventory-utils.c:
10052         (init_package_system), (get_package_list), (add_package_info),
10053         (str_has_prefix), (eazel_inventory_gconf_done), (check_gconf_init),
10054         (get_digest_from_gconf), (update_gconf_inventory_digest),
10055         (eazel_gather_inventory):
10056         * components/services/install/lib/eazel-inventory-utils.h:
10058         Removing hardcoded rpm calls and now using the eazel package
10059         system lib.  Added digest testing to know when the inventory
10060         xml has changed.
10062 2000-12-15  Darin Adler  <darin@eazel.com>
10064         * components/services/install/lib/eazel-install-xml-package-list.h:
10065         * components/services/install/nautilus-view/nautilus-service-install.c:
10066         * nautilus-installer/src/Makefile.am:
10067         Got rid of lingering references to helixcode-utils.* that Robey
10068         apparently missed when he removed those files. This should fix
10069         clean builds and Tinderbox.
10071         * components/services/trilobite/libtrilobite/Makefile.am: Removed
10072         duplicate mention of file.
10073         
10074         * src/nautilus-view-frame.c: Formatting tweak.
10076 2000-12-15  Maciej Stachowiak  <mjs@eazel.com>
10078         * components/rpmview/nautilus-rpm-view-install.c
10079         (nautilus_rpm_view_install_package_callback,
10080         nautilus_rpm_view_uninstall_package_callback): Remove check for
10081         Red Hat to match Robey's earlier changes and fix the build.
10083 2000-12-15  Robey Pointer  <robey@eazel.com>
10085         * nautilus-installer/src/Makefile:
10086         * nautilus-installer/src/callbacks.c: (ask_to_delete_rpms),
10087         (ask_are_you_sure):
10088         * nautilus-installer/src/gtk-hackery.c: (log_debug), (gtk_box_nth),
10089         (gnome_reply_callback):
10090         * nautilus-installer/src/installer.c:
10091         (get_detailed_errors_foreach):
10092         * nautilus-installer/src/installer.h:
10093         * nautilus-installer/src/main.c:
10095         Factor more stuff out into GTK hackery.  Fix headers to sync up
10096         with the better libtrilobite layout and to follow the moving
10097         target that is libeazelinstall.
10098         
10099         * nautilus-installer/src/package-tree.c:
10100         (package_customizer_finalize), (package_customizer_unref),
10101         (package_customizer_class_initialize),
10102         (package_customizer_initialize), (package_customizer_new),
10103         (package_customizer_get_type), (package_info_compare),
10104         (package_customizer_find_package), (popup_package_dialog),
10105         (package_customizer_recompute_bongs), (package_toggled),
10106         (package_customizer_fill), (normalize_labels),
10107         (package_customizer_set_package_list),
10108         (package_customizer_get_widget), (jump_to_package_tree_page):
10109         * nautilus-installer/src/package-tree.h:
10111         Make the package tree into a proper GTK object.
10113 2000-12-15  Robey Pointer  <robey@eazel.com>
10115         * components/services/install/command-line/eazel-alt-install-corba.
10116         c: (main):
10118         Remove check for redhat.
10119         
10120         * components/services/install/lib/eazel-install-corba-callback.c:
10121         * components/services/install/lib/eazel-install-metadata.c:
10122         * components/services/install/lib/eazel-install-object.c:
10123         * components/services/install/lib/eazel-install-xml-package-list.c:
10124         (parse_package), (parse_category), (osd_parse_provides),
10125         (osd_parse_implementation), (osd_parse_softpkg),
10126         (eazel_install_packagelist_parse):
10127         * components/services/install/lib/eazel-softcat.c:
10128         * components/services/install/server/main.c: (main):
10129         * components/services/summary/lib/eazel-summary-shared.c:
10130         (parse_a_service), (parse_a_eazel_news_item),
10131         (parse_a_update_news_item):
10132         * components/services/time/service/trilobite-eazel-time-service.c:
10133         (trilobite_eazel_time_service_initialize_load_config):
10134         * components/services/trilobite/libtrilobite/Makefile.am:
10135         * components/services/trilobite/libtrilobite/helixcode-utils.c:
10136         * components/services/trilobite/libtrilobite/helixcode-utils.h:
10137         * components/services/trilobite/libtrilobite/libtrilobite.h:
10138         * components/services/trilobite/libtrilobite/makefile.staticlib.in:
10139         * components/services/trilobite/libtrilobite/trilobite-core-messagi
10140         ng.c: (trilobite_add_log), (trilobite_close_log),
10141         (trilobite_debug), (trilobite_set_debug_mode),
10142         (trilobite_set_log_handler):
10143         * components/services/trilobite/libtrilobite/trilobite-core-messagi
10144         ng.h:
10145         * components/services/trilobite/libtrilobite/trilobite-core-network
10146         .c: (trilobite_xml_get_string), (trilobite_open_uri),
10147         (trilobite_fetch_uri), (trilobite_fetch_uri_to_file):
10148         * components/services/trilobite/libtrilobite/trilobite-core-network
10149         .h:
10150         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
10151         : (trilobite_init), (trilobite_setenv):
10152         * components/services/trilobite/libtrilobite/trilobite-core-utils.h
10153         :
10154         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
10155         * components/services/trilobite/libtrilobite/trilobite-service-priv
10156         ate.h:
10157         * components/services/trilobite/sample/command-line/main.c: (main):
10158         * components/services/trilobite/sample/service/main.c: (main):
10160         Clean up libtrilobite: move network and XML related funcs into
10161         -network.c and logging stuff into -messaging.c, where they were
10162         intended to be all along I guess.  Fix header include lines from
10163         other files to match the new locations.  Ditch the archaic
10164         helixcode stuff.
10165         
10166         * components/services/install/lib/makefile.staticlib.in:
10168         Fix staticlibs to add new trilobite files and to follow the MD5
10169         funcs to their new home.
10170         
10171 2000-12-15  Andy Hertzfeld  <andy@eazel.com>
10173         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10174         (draw_or_measure_label_text), (draw_or_measure_label_text_aa):
10175         fixed problem with selection causing relayout, by always allocating
10176         the space for highlighting.  Also, tightened up the size of the
10177         highlighted area.
10178         
10179 2000-12-14  Pavel Cisler <pavel@eazel.com>
10181         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10182         (draw_or_measure_label_text), (draw_or_measure_label_text_aa):
10183         Some #defines to help me profile draw_measure_label_text.
10184         Off in the build.
10186 2000-12-14  Maciej Stachowiak  <mjs@eazel.com>
10188         sort of reviewed by: Mathieu Lacage  <mathieu@eazel.com>
10190         * src/nautilus-window-manage-views.c
10191         (viewed_file_changed_callback): If the file we are viewing got
10192         renamed, update the window's concept of it's location, the up
10193         button sensitivity, the navigation bar location and the
10194         title. This fixes bug 807 (File name in sidebar doesn't update
10195         when file is renamed).
10197         * libnautilus-extensions/nautilus-directory-async.c
10198         (get_info_callback): Make sure not to free an already NULL file
10199         info. This pathological case was being tirggered sometime when
10200         doing a Refresh on a viewed location that got renamed.
10202 2000-12-14  Arlo Rose  <arlo@eazel.com>
10204         * icons/eazel/eazel.xml:
10205         * icons/eazel/sidebar_tab_pieces/*:
10206         Changed the sidebar to reflect the solid blue Susan and Andy wanted.
10208 2000-12-14  Andy Hertzfeld  <andy@eazel.com>
10210         * src/nautilus-sidebar-title.c: (update_icon):
10211         made the sidebar get the right icon for the hardware
10212         view by special-casing it like we do for services and man.
10213         As part of this, I made the sidebar work properly with
10214         .svg icons by calling the icon factory to load the icon.
10215         
10216         * libnautilus-extensions/nautilus-icon-factory.c:
10217         (nautilus_icon_factory_get_pixbuf_from_name):
10218         added a convenience routine to fetch icons by name.
10219         * libnautilus-extensions/nautilus-icon-factory.h:
10220         definition for the convenience routine.
10221         
10222 2000-12-14  Robey Pointer  <robey@eazel.com>
10224         reviewed by: Maciej Stachowiak <mjs@eazel.com>
10226         * components/services/install/lib/eazel-install-xml-package-list.c:
10227         (osd_parse_provides), (osd_parse_dependency),
10228         (osd_parse_file_list), (osd_parse_implementation):
10230         Parse package dependency info from softcat and put them in the new
10231         'depends' list in the package.  (This will replace the old
10232         soft_depends and hard_depends fields.)  Incorporate new fields
10233         supplied by the internal triggerfish.
10234         
10235         * components/services/install/lib/eazel-package-system-types.c:
10236         (packagedependency_new), (packagedependency_copy),
10237         (packagedependency_destroy), (packagedata_new),
10238         (packagedata_deplist_copy), (packagedata_copy),
10239         (packagedata_fill_in_missing), (packagedata_destroy),
10240         (packagedata_status_str_to_enum), (dump_package_list),
10241         (dump_package_deplist), (packagedata_dump_int):
10242         * components/services/install/lib/eazel-package-system-types.h:
10244         Add new 'depends' field and PackageDependency struct.
10246         * components/services/install/lib/eazel-softcat.c:
10247         (eazel_softcat_initialize), (sense_flags_to_softcat_flags),
10248         (eazel_softcat_convert_sense_flags),
10249         (eazel_softcat_sense_flags_to_string):
10250         * components/services/install/lib/eazel-softcat.h:
10252         Add functions to convert to/from softcat sense flags, and a
10253         convenience function for converting them into a human-friendly
10254         string like ">=".
10256 2000-12-14  Robey Pointer  <robey@eazel.com>
10258         * components/services/install/lib/eazel-install-corba-callback.c:
10259         (eazel_install_callback_create_corba_object),
10260         (eazel_install_callback_initialize):
10261         * components/services/install/lib/eazel-install-corba-callback.h:
10262         * components/services/install/lib/eazel-install-corba.c:
10263         (eazel_install_create_corba_object):
10264         * components/services/install/lib/eazel-install-object.c:
10265         (eazel_install_finalize), (eazel_install_unref),
10266         (eazel_install_set_arg), (eazel_install_initialize):
10267         * components/services/install/lib/eazel-install-problem.c:
10268         * components/services/install/lib/eazel-install-problem.h:
10269         * components/services/install/lib/eazel-install-public.h:
10270         * components/services/install/lib/eazel-package-system-private.h:
10271         * components/services/install/lib/eazel-package-system-rpm3.c:
10272         (eazel_package_system_rpm3_create_dbs),
10273         (eazel_package_system_rpm3_open_dbs),
10274         (eazel_package_system_rpm3_initialize):
10275         * components/services/install/lib/eazel-package-system-rpm3.h:
10276         * components/services/install/lib/eazel-package-system-rpm4.c:
10277         (eazel_package_system_rpm4_initialize):
10278         * components/services/install/lib/eazel-package-system-rpm4.h:
10279         * components/services/install/lib/eazel-package-system-skeleton.c:
10280         (eazel_package_system_skeleton_load_package),
10281         (eazel_package_system_skeleton_query),
10282         (eazel_package_system_skeleton_install),
10283         (eazel_package_system_skeleton_uninstall),
10284         (eazel_package_system_skeleton_verify),
10285         (eazel_package_system_skeleton_initialize):
10286         * components/services/install/lib/eazel-package-system-skeleton.h:
10287         * components/services/install/lib/eazel-package-system.c:
10288         (eazel_package_system_initialize):
10289         * components/services/install/lib/eazel-package-system.h:
10291         Change all IS_EAZEL* macros to EAZEL_IS*, to match convention.
10293 2000-12-14  Darin Adler  <darin@eazel.com>
10295         * components/image-viewer/nautilus-image-view.c:
10296         (bonobo_object_factory): Remove unnecessary return_if_fail
10297         that was referring to a field now renamed in Bonobo.
10299 2000-12-14  Darin Adler  <darin@eazel.com>
10301         reviewed by: John Sullivan <sullivan@eazel.com>
10303         Fix bug 2807 (support metadata removal for cases where we
10304         move/delete files) by implementing metadata removal.
10306         Fix bug 2199 (Saved icon positions ruin desktop layout features)
10307         by testing and fixing other bugs now that metadata removal is
10308         implemented.
10310         Fix bug 5164 (exception trying to drag file) by fixing a few
10311         placeholders in XML files that were still transparent and should
10312         not be.
10314         Fix bug where we don't reveal the New Folder icon (reintroduced by
10315         my changes yesterday) by computing the icon position in a way that
10316         works even before the canvas item is updated.
10318         * libnautilus-extensions/nautilus-directory-metafile.c:
10319         (get_file_node): Small change (not used for now) that might
10320         help unify the "before metafile is read" case with the code
10321         after the metafile is read.
10322         (nautilus_directory_rename_file_metadata): Remove the old
10323         file metadata before renaming the new data. Also change code
10324         to avoid looking up things in the hash table twice.
10325         (nautilus_directory_copy_file_metadata): Updated and added
10326         FIXME comments.
10327         (nautilus_directory_remove_file_metadata): Add code to
10328         remove metadata, similar to the existing rename code.
10329         
10330         * libnautilus-extensions/nautilus-directory.c:
10331         (nautilus_directory_schedule_metadata_copy),
10332         (nautilus_directory_schedule_metadata_move),
10333         (nautilus_directory_schedule_metadata_remove): Fix code that was
10334         using file names instead of relative URIs (essentially escaped
10335         file names). This code was missed when we made the
10336         switchover. Without this, changes to files with spaces in their
10337         names didn't update metadata properly.
10338         
10339         * libnautilus-extensions/nautilus-file-operations.c:
10340         (build_error_string): Added blank line between the intro sentence
10341         and the rest of the error message.
10342         (handle_xfer_overwrite): Added blank line between the intro
10343         sentence and the rest of the error message.
10344         (sync_xfer_callback): Fix metadata code to remove the metadata
10345         when creating a new file, just as it copies metadata when copying
10346         a file. This change helps the New Folder case, but requires a fix
10347         in gnome-vfs to set the top level boolean for the New Folder case.
10348         (handle_new_folder_vfs_error): Added blank line between the intro
10349         sentence and the rest of the error message.
10350         (nautilus_self_check_file_operations): Changed the self-check to
10351         use the standard way of testing functions that return text instead
10352         of rolling its own.
10353         
10354         * libnautilus-extensions/nautilus-gnome-extensions.h:
10355         * libnautilus-extensions/nautilus-gnome-extensions.c:
10356         (nautilus_gnome_canvas_item_get_canvas_bounds): Added a function
10357         that's like nautilus_gnome_canvas_item_get_current_canvas_bounds
10358         but is accurate even before the icon is updated.
10359         
10360         * libnautilus-extensions/nautilus-icon-container.c: (reveal_icon):
10361         Use nautilus_gnome_canvas_item_get_canvas_bounds instead of
10362         nautilus_gnome_canvas_item_get_current_canvas_bounds. Fixes the
10363         bug I reintroduced where New Folder icons would not be revealed.
10364         
10365         * libnautilus-extensions/nautilus-xml-extensions.h:
10366         * libnautilus-extensions/nautilus-xml-extensions.c:
10367         (nautilus_xml_remove_node): Add a remove-node function. This is
10368         needed because gnome-xml doesn't have xmlRemoveNode
10369         implemented. This implementation is not quite complete, but
10370         probably good enough for our purposes. A complete implementation
10371         might have to have some handling for removing the root node and
10372         perhaps some stuff to remove unused namespaces. Maybe this can be
10373         rolled into gnome-xml.
10374         
10375         * src/file-manager/nautilus-directory-view-ui.xml:
10376         * src/nautilus-shell-ui.xml:
10377         Added some more delimit="none" entries to make it so that the
10378         actual placeholder definitions are not "transparent".
10379         
10380         * libnautilus-extensions/nautilus-glib-extensions.c
10381         (nautilus_self_check_glib_extensions): Marked some strings that
10382         are part of a test translatable since the result might be
10383         different in some locales. Translating the strings to the right
10384         result makes "make check" work properly in that locale.
10386 2000-12-14  Andy Hertzfeld  <andy@eazel.com>
10388         * src/nautilus-first-time-druid.c:
10389         (make_hbox_user_level_radio_button), (set_up_user_level_page),
10390         (set_up_update_page):
10391         fixed bug 2912, better wording in the first time wizard, by revising
10392         the text.  Also, improvement the vertical alignment on the
10393         user level selection page.
10394         
10395 2000-12-14  Eskil Heyn Olsen  <eskil@eazel.com>
10397         * components/rpmview/nautilus-rpm-verify-window.c:
10398         (nautilus_rpm_verify_window_set_progress):
10399         * components/rpmview/nautilus-rpm-view-private.h:
10400         * components/rpmview/nautilus-rpm-view.c:
10401         (nautilus_rpm_view_initialize), (verify_failed_signal),
10402         (nautilus_rpm_view_verify_files):
10403         Fixed 5169 and 5170 (install and verify didn't work).
10405 2000-12-14  Andy Hertzfeld  <andy@eazel.com>
10407         * src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class),
10408         (nautilus_sidebar_press_event), (nautilus_sidebar_release_event):
10409         at Arlo's request, made the sidebar tabs activate on button release
10410         instead of button press.
10411         
10412 2000-12-14  Martin Norbäck  <d95mback@dtek.chalmers.se>
10414         reviewed by: Darin Adler <darin@eazel.com>
10416         * po/POTFILES.in, src/nautilus-complex-search-bar.c:
10417         Marked strings for translation and adding file to POTFILES.in
10419 2000-12-14  Eskil Heyn Olsen  <eskil@eazel.com>
10421         * components/services/install/lib/eazel-install-logic.c:
10422         (eazel_install_download_packages),
10423         Set toplevel to TRUE even if not downloading, fixes 5196.
10424         (eazel_install_do_transaction_all_files_check):
10425         Only do interpackage file check in packages.size() > 1
10426         
10427         * components/services/install/lib/eazel-install-object.c:
10428         (eazel_install_initialize), (eazel_install_set_debug):
10429         Set debug in packagesystem to FAIL, not VERBOSE. _set_debug raises
10430         it to verbose.
10432 2000-12-14  Maciej Stachowiak  <mjs@eazel.com>
10434         reviewed by: Pavel Cisler  <pavel@eazel.com>
10436         Major boost in tree view performance, and startup/new window
10437         performance when tree view is on. This fixes bugs 4922 (Opening
10438         new windows is really slow when the tree view is enabled), 5149
10439         (http://bugzilla.eazel.com/show_bug.cgi?id=5149) and 3936
10440         (http://bugzilla.eazel.com/show_bug.cgi?id=3936).
10441         
10442         * components/tree/nautilus-tree-change-queue.c,
10443         components/tree/nautilus-tree-change-queue.h: New files that
10444         implement a change queue, so the tree view can defer processing
10445         changes until idle time but still handle them in order.
10446         * components/tree/Makefile.am: Add to build.
10448         * components/tree/nautilus-tree-view.c:
10449         (nautilus_tree_view_initialize): Initialize change queue.
10450         (nautilus_tree_view_enqueue_change),
10451         (nautilus_tree_view_model_node_added_callback,
10452         nautilus_tree_view_model_node_changed_callback,
10453         nautilus_tree_view_model_node_removed_callback,
10454         nautilus_tree_view_model_done_loading_callback): Do no real work,
10455         just enqueue the changes and schedule the idle callback.
10456         (reload_model_node, reload_model_node_recursive): Don't actually
10457         update all nodes, just enqueue changes and schedule idle
10458         callbacks.
10459         (schedule_pending_idle_callback): Helper function to schedule an
10460         idle callback to process the change queue.
10461         (dequeue_pending_idle_callback): Process the head of the change
10462         queue, and unschedule self when done (currently it will process at
10463         most 100 changes at one go). Keep the tree frozen while doing the
10464         changes, to minimize redraws.
10465         (nautilus_tree_view_insert_model_node): Moved call to
10466         notify_node_seen here from
10467         nautilus_tree_view_model_node_added_callback.
10468         (nautilus_tree_view_destroy): free change queue, dnd data.
10470         * components/tree/nautilus-tree-view-dnd.c: Prune includes.
10471         (nautilus_tree_view_free_dnd): New function so
10472         nautilus-tree-view.c destroy function does not need to know
10473         internal details of tree view.
10474         * components/tree/nautilus-tree-node.h: Removed prototypes of
10475         nonexistent functions.
10476         * components/tree/nautilus-tree-view.h,
10477         components/tree/nautilus-tree-view-private.h,
10478         components/tree/nautilus-tree-view-dnd.h: Include necessary
10479         headers, to make these standalone, and prune unneeded headers.
10481 2000-12-14  Andy Hertzfeld  <andy@eazel.com>
10483         * libnautilus-extensions/nautilus-icon-container.c:
10484         (nautilus_icon_container_update_icon):
10485         fixed bug 4219, using an image to represent itself bad when image is
10486         too small, by scaling up the image to a minimum size if necessary.
10487         
10488 2000-12-13  Pavel Cisler  <pavel@eazel.com>
10490         * libnautilus-extensions/nautilus-file-operations.c:
10491         (build_error_string):
10492         Translated error messages to English (with John's help).
10494 2000-12-13  Eskil Heyn Olsen  <eskil@eazel.com>
10496         reviewed by: Pavel Cisler  <pavel@eazel.com>
10498         This should fix 4891 and 4892 & 4454.
10499         
10500         * components/services/install/command-line/eazel-test-packsys.c:
10501         (test_query), (progress_signal), (main):
10502         Also does a test on QUERY_FLAG_REQUIRES, by checking if more then
10503         10 packages require glibc.
10504         Fixed the wrong order of arguments for progress_signal.
10505         main can now take a --debug=<int> which sets the debug level in
10506         the EazelPackageSystem.
10507         
10508         * components/services/install/lib/eazel-package-system-rpm3.h:
10509         * components/services/install/lib/eazel-package-system-rpm3-private
10510         .h:
10511         * components/services/install/lib/eazel-package-system-rpm3.c:
10512         (eazel_package_system_rpm3_get_and_set_string_tag),
10513         (eazel_package_system_rpm3_packagedata_fill_from_header),
10514         (eazel_package_system_rpm3_get_db),
10515         (eazel_package_system_rpm3_query_impl),
10516         (eazel_package_system_rpm3_query_substr),
10517         (eazel_package_system_rpm3_query_foreach),
10518         (eazel_package_system_rpm3_query_requires),
10519         (eazel_package_system_rpm3_query),
10520         (eazel_package_system_rpm3_class_initialize),
10521         (eazel_package_system_rpm3_initialize),
10522         (eazel_package_system_rpm3_new):
10523         Mindnumbing amounts of boilerplate code to make query_foreach and
10524         query_impl virtual functions which the rpm4 class can override. I
10525         weep for gnome and it's C usage of OO and long for the good ole
10526         days of C++.
10527         Also made the loops more unreadable but safer (I hope).
10528         
10529         * components/services/install/lib/eazel-package-system-rpm4.c:
10530         (eazel_package_system_rpm4_query_impl),
10531         (eazel_package_system_rpm4_query_substr),
10532         (eazel_package_system_rpm4_query_foreach),
10533         (eazel_package_system_rpm4_class_initialize),
10534         (eazel_package_system_rpm4_initialize): 
10535         The final juju to implement the EazelPackageSystemRpm4 class. I
10536         will not bore you with more details.
10537         
10538         * components/services/install/lib/eazel-package-system.c:
10539         (eazel_package_system_query):
10540         assert that the key is non-null.
10542 2000-12-13  Maciej Stachowiak  <mjs@eazel.com>
10544         * components/loser/content/.cvsignore,
10545         components/loser/sidebar/.cvsignore,
10546         components/mozilla/.cvsignore, components/sample/.cvsignore,
10547         libnautilus/.cvsignore, src/.cvsignore,
10548         src/file-manager/.cvsignore: Add -ui.xml.h generated files to
10549         .cvsignore.
10551 2000-12-13  Maciej Stachowiak  <mjs@eazel.com>
10553         * components/services/docs/directories: New file documenting the
10554         directory layout of components/services.
10555         
10556         * components/services/inventory/.cvsignore,
10557         components/services/inventory/Makefile.am,
10558         components/services/inventory/command-line/README,
10559         components/services/inventory/lib/.cvsignore,
10560         components/services/inventory/lib/Makefile.am,
10561         components/services/inventory/lib/eazel-inventory-shared.c,
10562         components/services/inventory/lib/eazel-inventory-shared.h,
10563         components/services/inventory/nautilus-view/.cvsignore,
10564         components/services/inventory/nautilus-view/Makefile.am,
10565         components/services/inventory/nautilus-view/main.c,
10566         components/services/inventory/nautilus-view/nautilus-inventory-view.c,
10567         components/services/inventory/nautilus-view/nautilus-inventory-view.h,
10568         components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
10569         Remove old dead inventory code.
10571         * components/services/login/command-line/README: Remove last file
10572         in otherwise-empty directory.
10573         * components/services/summary/command-line/README: Ditto.
10574         * cut-n-paste-code/widgets/gtkclist/.cvsignore: Ditto.
10576 2000-12-13  Andy Hertzfeld  <andy@eazel.com>
10578         * icons/Makefile.am:
10579         * icons/i-music-12.png:
10580         * icons/i-music-12-aa.png:
10581         * icons/i-music-24.png:
10582         * icons/i-music-24-aa.png:
10583         * icons/i-music-36.png:
10584         * icons/i-music-36-aa.png:
10585         fixed bug 3502, music icon doesn't scale well, by adding
10586         pre-scaled icons from Susan.
10587         
10588         * libnautilus-extensions/nautilus-icon-factory.c:
10589         (nautilus_icon_factory_get_icon_name_for_regular_file):
10590         removed evil special-case of text files; now it uses
10591         whatever is defined in the mime-type database.
10592         
10593 2000-12-13  John Harper  <jsh@eazel.com>
10595         reviewed by: Darin Adler <darin@eazel.com>
10597         * src/file-manager/fm-properties-window.c:
10598         (select_image_button_callback):
10599         * src/nautilus-property-browser.c: (add_new_pattern):
10600         * src/nautilus-theme-selector.c: (add_new_theme_button_callback):
10602         Added calls to gtk_window_set_transient_for for file selectors
10604 2000-12-13  J Shane Culpepper  <pepper@eazel.com>
10606         * components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
10608         Fixing improper include.
10610 2000-12-13  J Shane Culpepper  <pepper@eazel.com>
10612         * components/services/install/lib/Makefile.am:
10613         * components/services/install/lib/eazel-install-logic.c:
10614         * components/services/install/lib/eazel-install-md5.c:
10615         * components/services/install/lib/eazel-install-md5.h:
10616         * components/services/install/lib/eazel-install-rpm-glue.c:
10617         * components/services/install/lib/eazel-inventory-utils.c:
10618         (add_package_info), (read_proc_info), (add_info), (add_io_info),
10619         (add_hardware_info), (eazel_create_configuration_metafile),
10620         (str_has_prefix):
10621         * components/services/install/lib/eazel-inventory-utils.h:
10622         * components/services/trilobite/libtrilobite/Makefile.am:
10623         * components/services/trilobite/libtrilobite/trilobite-inventory-ut
10624         ils.c:
10625         * components/services/trilobite/libtrilobite/trilobite-inventory-ut
10626         ils.h:
10627         * components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
10628         (_byte_reverse), (md5_init), (md5_update), (md5_final),
10629         (md5_transform), (md5_get_digest), (md5_get_digest_from_file),
10630         (md5_get_digest_from_md5_string), (md5_get_string_from_md5_digest),
10631         (main):
10632         * components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
10634         More inventory gymnastics.  Moving the md5 utils to libtrilobite where
10635         they belong and moving the rpm specific inventory code into libeps.
10636         Still not hooked up to the build until I remove the hardcoded rpm
10637         stuff.
10638         
10640 2000-12-13  Darin Adler  <darin@eazel.com>
10642         reviewed by: Rebecca Shulman <rebecka@eazel.com>
10644         Fixed bug 2155 (type-selected icon is not successfully scrolled
10645         into view). The code was using the wrong coordinate system.
10646         
10647         * libnautilus-extensions/nautilus-icon-container.c: (reveal_icon):
10648         Do the icon revealing with the
10649         nautilus_gnome_canvas_item_get_current_canvas_bounds instead of
10650         icon_get_bounding_box. The old code used item coordinates instead
10651         of canvas coordinates.
10652         (match_best_name): Added (guchar) casts to make tolower work
10653         right, since it takes int parameters, not char.
10654         (select_matching_name): Added (guchar) casts to make tolower work
10655         right, since it takes int parameters, not char.
10656         (undo_stretching): Broke out this function -- work was in-line in
10657         key_press_event before.
10658         (handle_typeahead): Renamed, added (guchar) casts to make isprint
10659         work right, since it takes int parameters, not char.
10660         (key_press_event): Use undo_stretching helper function.
10661         (nautilus_icon_container_set_label_font_for_zoom_level): Remove
10662         redundant NULL check.
10663         (nautilus_icon_container_set_smooth_label_font): Ref new
10664         font before unref'ing the old one in case they are the same.
10665         (nautilus_icon_container_set_single_click_mode) Remove redundant
10666         NULL check.
10667         (nautilus_icon_container_get_is_fixed_size): Remove redundant
10668         NULL check.
10669         (nautilus_icon_container_set_is_fixed_size): Remove redundant
10670         NULL check.
10671         (check_compute_stretch), (nautilus_self_check_icon_container):
10672         Renamed.
10674         * libnautilus-extensions/nautilus-string.c:
10675         (nautilus_istr_has_prefix), (nautilus_istr_has_suffix),
10676         (nautilus_str_capitalize): Added (guchar) casts to make tolower
10677         and toupper work right, since it they take int parameters, not
10678         char. Removed unnecessary checks of isupper before calling tolower
10679         and islower before calling toupper. We did the research a while
10680         back and discovered that broken platforms like that where toupper
10681         can munge non-lower-case-letter characters don't really exist in
10682         practice any more.
10684         * libnautilus-extensions/nautilus-file.c: (update_link),
10685         (update_info_internal): Added FIXMEs to remind me to come back
10686         here when I go fix bug 2044.
10687         
10688         * libnautilus-extensions/nautilus-gnome-extensions.c:
10689         (nautilus_gnome_canvas_draw_pixbuf_helper),
10690         (nautilus_gnome_canvas_draw_pixbuf_helper_alpha): Tweak
10691         formatting.
10693 2000-12-13  Martin Norbäck  <d95mback@dtek.chalmers.se>
10695         reviewed by: Darin Adler <darin@eazel.com>
10697         * components/music/nautilus-music-view.c:
10698         (nautilus_music_view_initialize):
10699         
10700         Added localisation of the clist titles.
10701         
10702 2000-12-13  John Sullivan  <sullivan@eazel.com>
10704         reviewed by: Darin Adler <darin@eazel.com> (the patch;
10705         Eli reviewed the wording change since he spotted the
10706         problem)
10707         
10708         Fixed bug 3378 ("inadequate permissions" message when the
10709         permissions were in fact adequate)
10711         * libnautilus-extensions/nautilus-file.c:
10712         (nautilus_file_denies_access_permission):
10713         Check for supplemental group permissions also. Thanks to
10714         Martin Norback <d95mback@dtek.chalmers.se> for submitting
10715         this patch.
10717         * src/nautilus-shell-ui.xml: Reworded the tip for the
10718         "Backgrounds and Emblems" menu item to not mention the
10719         phrase "Property Browser"
10721 2000-12-13  Robey Pointer  <robey@eazel.com>
10723         * nautilus.spec.in:
10725         Fix some of the RPM descriptions and summaries so they're not
10726         quite so wrong or vague.
10728         * components/services/install/lib/eazel-install-object.c:
10729         (eazel_install_initialize):
10731         Don't try to open a user-specific rpmdb in slim mode.
10732         
10733         * components/services/install/lib/eazel-package-system.c:
10734         (eazel_package_system_load_implementation):
10735         * components/services/install/lib/eazel-package-system.h:
10737         Allow direct linking with a package system in slim mode (so that
10738         the bootstrap installer can be built linked statically against the
10739         rpm3 package system).
10740         
10741         * components/services/install/lib/makefile.staticlib.in:
10743         Include different parts of the package system in the slim
10744         version.  Eventually we're going to have to make this a little
10745         more flexible to allow for building an rpm3 vs. rpm4 slim library.
10746         
10747         * nautilus-installer/src/Makefile.am:
10748         * nautilus-installer/src/gtk-hackery.c:
10749         * nautilus-installer/src/package-tree.c:
10750         * nautilus-installer/src/installer.h:
10751         * nautilus-installer/src/installer.c: (create_install_page),
10752         (add_bullet_point_to_vbox), (jump_to_error_page),
10753         (insert_info_page), (create_finish_page_good), (create_window),
10754         (eazel_install_preflight), (eazel_installer_add_category),
10755         (more_check_system), (draw_splash_text), (find_old_tmpdir),
10756         (eazel_installer_initialize):
10757         * nautilus-installer/src/link.sh:
10758         
10759         Move all GTK hackery into its own file (there are getting to be a
10760         lot of these, sadly).  Fix the installer to use the new package
10761         system for now, though it will need to continue to change.  Add a
10762         new page for customizing the package tree, and temporarily make it
10763         mandatory.
10765 2000-12-13  Maciej Stachowiak  <mjs@eazel.com>
10767         reviewed by: Pavel Cisler  <pavel@eazel.com>
10769         * src/nautilus-profiler.c (dump_dialog_new): Replace call to the
10770         obsolete `nautilus_gtk_extensions_set_up_close_accelerator' with a
10771         call to `nautilus_gtk_window_set_up_close_accelerator', so the
10772         profile build works.
10774 2000-12-13  Andy Hertzfeld  <andy@eazel.com>
10776         * src/nautilus-sidebar-title.c:
10777         (nautilus_sidebar_title_background_is_default),
10778         (nautilus_sidebar_title_select_text_color):
10779         gave Arlo the ability to control the sidebar text color for his new
10780         sidebar by specifying the colors in the theme file.
10781         * icons/eazel/eazel.xml:
10782         specified the sidebar title text colors for the eazel theme
10783         
10784         * src/nautilus-theme-selector.c: (make_theme_description):
10785         fixed memory leak.
10786         
10787 2000-12-13  Josh Barrow  <josh@eazel.com>
10789         * icons/eazel/eazel.xml:
10790         Make it actually use them again.  A bit ago, Arlo (without a 
10791         ChangeLog entry) checked in his new tabs, and accedently 
10792         checked in the old eazel.xml file.
10794 2000-12-13  Josh Barrow  <josh@eazel.com>
10796         reviewed by: <mjs@eazel.com>
10798         * nautilus.spec.in:
10800         Update for Eazel theme sidebar pieces
10802 2000-12-12  Pavel Cisler <pavel@eazel.com>
10804         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
10806         * libnautilus-extensions/nautilus-gdk-extensions.c:
10807         (nautilus_gdk_window_bring_to_front):
10808         Fix 5153: Make the call also handle showing iconified
10809         windows.
10810         
10811         * libnautilus-extensions/nautilus-gtk-extensions.c:
10812         (nautilus_gtk_window_present):
10813         Remove a FIXME.
10815 2000-12-13  Josh Barrow  <josh@eazel.com>
10817         * icons/eazel/sidebar_tab_pieces/.cvsignore:
10818          
10819         Make it be nick when you update.
10821 2000-12-13  Josh Barrow  <josh@eazel.com>
10823         * configure.in:
10824         * icons/eazel/Makefile.am:
10825         * icons/eazel/sidebar_tab_pieces/Makefile.am:
10827         Make everything work nicely.  
10829 2000-12-12  Arlo Rose  <arlo@eazel.com>
10831         * icons/eazel/eazel.xml:
10832         * icons/eazel/sidebar_tab_pieces/Makefile.am:
10833         * icons/eazel/sidebar_tab_pieces/middle-normal-normal.png:
10834         * icons/eazel/sidebar_tab_pieces/middle-normal-prelight.png:
10835         * icons/eazel/sidebar_tab_pieces/fill-active-prelight.png:
10836         * icons/eazel/sidebar_tab_pieces/middle-prelight-normal.png:
10837         * icons/eazel/sidebar_tab_pieces/fill-active.png:
10838         * icons/eazel/sidebar_tab_pieces/right-bumper-prelight.png:
10839         * icons/eazel/sidebar_tab_pieces/fill-empty-space.png:
10840         * icons/eazel/sidebar_tab_pieces/right-bumper.png:
10841         * icons/eazel/sidebar_tab_pieces/fill-prelight.png:
10842         * icons/eazel/sidebar_tab_pieces/right-empty-space.png:
10843         * icons/eazel/sidebar_tab_pieces/fill.png:
10844         * icons/eazel/sidebar_tab_pieces/right-top-active-prelight.png:
10845         * icons/eazel/sidebar_tab_pieces/left-bumper-active-prelight.png:
10846         * icons/eazel/sidebar_tab_pieces/right-top-active.png:
10847         * icons/eazel/sidebar_tab_pieces/left-bumper-active.png:
10848         * icons/eazel/sidebar_tab_pieces/right-top-prelight.png:
10849         * icons/eazel/sidebar_tab_pieces/left-bumper-prelight.png:
10850         * icons/eazel/sidebar_tab_pieces/right-top.png:
10851         * icons/eazel/sidebar_tab_pieces/left-bumper.png:
10852         Added pieces for the Eazel sidebar tabs.
10854 2000-12-12  Eskil Olsen  <eskil@eazel.com>
10856         reviewed by: My imaginary friend Oskar.
10858         * components/services/install/lib/eazel-package-system-rpm3-private
10859         .h:
10860         * components/services/install/lib/eazel-package-system-rpm3.c:
10861         (eazel_package_system_rpm3_create_dbs),
10862         (rpm_packagedata_fill_from_file),
10863         (eazel_package_system_rpm3_query_impl),
10864         (eazel_package_system_rpm3_query_substr),
10865         (eazel_package_system_rpm3_query),
10866         (eazel_package_system_rpm3_initialize),
10867         (eazel_package_system_rpm3_new):
10869         GtkObject is soo lame, whoever likes this, should surely be struck
10870         down with OO book.
10871         
10872         * components/services/install/lib/eazel-package-system-rpm4.c:
10873         (eazel_package_system_rpm4_query_impl),
10874         (eazel_package_system_rpm4_query_foreach),
10875         (eazel_package_system_rpm4_new):
10876         Implemented more rpm4 query stuff.
10878 2000-12-12  Gene Z. Ragan  <gzr@eazel.com>
10880         Fixed silly bug involving the new Sound Busy dialog.
10881         It now uses the proper routines to check the status of the
10882         sound hardware.
10883         
10884         * components/music/mpg123.c: (mpg123_stop), (mpg123_seek):
10885         * components/music/nautilus-music-view.c: (play_current_file),
10886         (go_to_next_track), (go_to_previous_track):
10888 2000-12-12 Arlo Rose <arlo@eazel.com>
10890         * icons/eazel/eazel.xml:
10891         * icons/eazel/side_bar_image.png:
10892         * icons/eazel/MakeFile.am:
10893         Added new sidebar background to Eazel theme.
10894         Tab will show up later.
10896         * icons/text-selection-frame.png:
10897         Fixed corner radius in the selection.
10898         The incorrect radius was due to a change in the way 
10899         the image was being rendered.
10901 2000-12-12  Pavel Cisler <pavel@eazel.com>
10903         reviewed by: Darin Adler <darin@eazel.com>
10905         Fixed 4954 Nautilus crashes attempting to empty a .Trash
10906         containing undeletable files
10907         
10908         * libnautilus-extensions/nautilus-file-operations.c:
10909         (build_error_string), (handle_xfer_vfs_error)
10910         Reworked the error message building logic. Split up
10911         the routine into a part that decides what the interesting
10912         input for building the error message is and a part that
10913         actually builds the error message. Fixed a number
10914         of cases where a wrong error message would be used. The
10915         actual bug in the bug report was one of the cases -- an assert
10916         catching a case that was not handled properly.
10917         
10918         Fixed:
10919         part of -- 638 When a new volume gets mounted, integrate its Trash
10920         directory.
10921         part of -- 4143 Files dragged to trash icon on desktop seem to
10922         vanish,
10923         part of -- 4963 Files dragged to Trash from floppy don't appear
10924         in Trash,
10926         * libnautilus-extensions/nautilus-trash-monitor.c:
10927         * libnautilus-extensions/nautilus-trash-monitor.h:
10928         (add_one_volume_trash),
10929         (nautilus_trash_monitor_get_trash_directories):
10930         Added a new call that returns a list of all the Trash directories
10931         on all the mouted volumes.  
10933         * libnautilus-extensions/nautilus-trash-directory.c: (add_volume):      
10934         Got rid of get_volume_vfs_uri_if_writable.
10935         Used the new nautilus_volume_monitor_should_integrate_trash instead
10936         to pick the volumes that can support trash.
10937         
10938         * libnautilus-extensions/nautilus-volume-monitor.c:
10939         (nautilus_volume_monitor_should_integrate_trash),
10940         (nautilus_volume_monitor_get_volume_mount_uri):
10941         * libnautilus-extensions/nautilus-volume-monitor.h:
10942         Add new helper calls used by the routine that collects all the
10943         trash uris from all mouted volumes.     
10944         
10945         * libnautilus-extensions/nautilus-file-operations.c:
10946         (do_empty_trash):
10947         Pass in a list of Trash directories instead of just the
10948         single trash in the user's home directory. 
10950         Fixed:
10951         2443 Trash is only found on EXT2 volumes
10952         2444 Trash on read-only volumes is not displayed
10953         remaining part of -- 4143 Files dragged to trash icon on desktop
10954         seem to vanish,
10955         remaining part of -- 4963 Files dragged to Trash from floppy
10956         don't appear in Trash,
10958         * libnautilus-extensions/nautilus-volume-monitor.c:
10959         (nautilus_volume_monitor_should_integrate_trash):
10960         Removed the old logic from get_volume_vfs_uri_if_writable
10961         that only displayed trash from writable ext2 volumes.
10962         Enumerated all the file system types that we know can
10963         support trash.
10964         
10965 2000-12-12  Eskil Heyn Olsen  <eskil@eazel.com>
10967         * components/services/install/lib/eazel-package-system-private.h:
10968         * components/services/install/lib/eazel-package-system-rpm3-private
10969         .h:
10970         * components/services/install/lib/eazel-package-system-rpm3.c:
10971         (rpm_packagedata_fill_from_rpm_header),
10972         (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
10973         (eazel_package_system_rpm3_load_package),
10974         (eazel_package_system_rpm3_query_impl),
10975         (eazel_package_system_rpm3_query_substr),
10976         (eazel_package_system_rpm3_query_requires),
10977         (eazel_package_system_rpm3_query):
10978         * components/services/install/lib/eazel-package-system-skeleton.c:
10979         (eazel_package_system_skeleton_query):
10980         * components/services/install/lib/eazel-package-system-types.c:
10981         (packagedata_new):
10982         * components/services/install/lib/eazel-package-system-types.h:
10983         * components/services/install/lib/eazel-package-system.c:
10984         (eazel_package_system_load_package), (eazel_package_system_query):
10985         * components/services/install/lib/eazel-package-system.h:
10986         unsigned long to int replacement on various types.
10988 2000-12-12  Arik Devens  <arik@gnome.org>
10990         reviewed by: Darin Adler  <darin@eazel.com>
10991         
10992         Fixed bug 5047 ("Using spaces in the location bar label for
10993         alignment is fragile and not necessarily internationalizable") by
10994         adding code to usize and align the label widget to be both the
10995         right size and proper alignment no matter what language we are in.
10996         
10997         * src/nautilus-location-bar.c: Added #defines for Location: and Go
10998         To: so they only need to be translated once.
10999         (style_set_handler): New function to set the label's usize to the
11000         larger of the two strings plus padding so that it doesn't resize.
11001         (nautilus_location_bar_initialize): Added gtk_misc_set_alignment
11002         to the label widget (probably don't need it but it can't hurt) and
11003         also hooked up the style_set_handler to the label widget.
11004         (nautilus_location_bar_update_label): Removed comments about
11005         fixing bug 5047.
11007 2000-12-12  Darin Adler  <darin@eazel.com>
11009         reviewed by: John Sullivan <sullivan@eazel.com>
11011         Fixed bug 1948 ("Open in New Window" menu item reuses existing
11012         window if it exists) by separating the explicit "open in new
11013         window" feature (always gives a new window) from the "open all
11014         items in new windows" preference (reuses window if one with the
11015         right location already exists).
11017         * libnautilus/nautilus-view-component.idl: Added new
11018         open_location_prefer_existing_window call. Renamed open_location
11019         to open_location_in_this_window and open_location_in_new_window to
11020         open_location_force_new_window for clarity.
11021         
11022         * libnautilus/nautilus-view.h:
11023         * libnautilus/nautilus-view.c:
11024         (nautilus_view_open_location_in_this_window),
11025         (nautilus_view_open_location_prefer_existing_window),
11026         (nautilus_view_open_location_force_new_window):
11027         * src/nautilus-view-frame-corba.c:
11028         (impl_Nautilus_ViewFrame_open_location_in_this_window),
11029         (impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
11030         (impl_Nautilus_ViewFrame_open_location_force_new_window):
11031         * src/nautilus-view-frame-private.h:
11032         * src/nautilus-view-frame.c:
11033         (nautilus_view_frame_initialize_class),
11034         (nautilus_view_frame_open_location_in_this_window),
11035         (nautilus_view_frame_open_location_prefer_existing_window),
11036         (nautilus_view_frame_open_location_force_new_window):
11037         * src/nautilus-view-frame.h:
11038         Add new call, rename old ones.
11039         
11040         * src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
11041         to tell the open code to respect the "use new windows" preference.
11042         (open_location): Take new WindowChoice parameter to respect preference
11043         as appropriate.
11044         (switch_location_and_view): Tell the code to respect the preference in
11045         this case (opening from Open With).
11046         (show_trash_callback): Use code that respects the preference instead of
11047         always opening in this case.
11048         (open_one_in_new_window): Always force a new window (used by Open
11049         in New Window command).
11050         (activate_callback): Pass through new WindowChoice instead of boolean.
11051         (fm_directory_view_activate_file): Pass through new WindowChoice
11052         instead of boolean.,
11053         (fm_directory_view_activate_files): Respect the user preference if
11054         opening only one file, do the "use existing window or make new one"
11055         mode if opening more than one.
11056         
11057         * src/nautilus-window-manage-views.c: (handle_unreadable_location):
11058         Move check for empty location string in here.
11059         (open_location): Moved the code for reusing existing windows out
11060         of here. Also changed code structure to avoid redoing the
11061         handle_unreadable_location check.
11062         (open_location_in_this_window_callback): Renamed.
11063         (open_location_prefer_existing_window_callback): Here's where
11064         the code for reusing existing windows went. New callback for the
11065         new call/signal.
11066         (open_location_force_new_window_callback): Renamed.
11067         
11068         * src/file-manager/fm-search-list-view.c:
11069         (reveal_selected_items_callback): Change to use
11070         nautilus_view_open_location_force_new_window by its new name.
11071         
11072         * src/nautilus-window-manage-views.h: Got rid of
11073         nautilus_window_open_location_in_new_window, which was public and
11074         unused.
11076         * components/adapter/nautilus-adapter.c:
11077         (nautilus_adapter_open_location_callback):
11078         * components/help/hyperbola-nav-index.c:
11079         (hyperbola_navigation_index_select_row):
11080         * components/help/hyperbola-nav-search.c:
11081         (hyperbola_navigation_search_select_row):
11082         * components/help/hyperbola-nav-tree.c:
11083         (hyperbola_navigation_tree_select_row):
11084         * components/history/nautilus-history-view.c:
11085         (history_button_release):
11086         * components/mozilla/nautilus-mozilla-content-view.c:
11087         (mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
11088         * components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
11089         * components/services/login/nautilus-view/nautilus-change-password-view.c:
11090         (run_away_timer), (authn_failed), (maintenance_button_cb):
11091         * components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
11092         (logged_in_callback), (logged_out_callback),
11093         (preferences_button_cb), (forgot_password_button_cb),
11094         (register_button_cb):
11095         * components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
11096         (error_dialog_cancel_cb):
11097         * components/services/summary/nautilus-view/nautilus-summary-footer.c:
11098         (footer_item_clicked_callback):
11099         * components/services/summary/nautilus-view/nautilus-summary-view.c:
11100         (goto_service_cb), (goto_update_cb):
11101         * components/text/nautilus-text-view.c: (handle_service_menu_item):
11102         * components/tree/nautilus-tree-view.c: (tree_select_row_callback):
11103         Change to use new nautilus_view_open_location_in_this_window
11104         name. It's better because it's more explicit, but also, it's the
11105         new name!
11106         
11107         * libnautilus-extensions/nautilus-gdk-extensions.c:
11108         (nautilus_gdk_window_bring_to_front): Fixed indentation.
11109         
11110         * libnautilus-extensions/nautilus-gtk-extensions.c:
11111         (nautilus_gtk_window_present): Put in a new implementation that
11112         uses nautilus_gdk_window_bring_to_front instead of the old one
11113         that did a hide followed by a show. Corrected an assert that
11114         should have been a return_if_fail.
11115         
11116 2000-12-12  John Sullivan  <sullivan@eazel.com>
11118         reviewed by: Darin Adler <darin@eazel.com>
11120         Fixed bug 2327 (Alt-key combinations to show menus work on
11121         Desktop, but shouldn't)
11123         Had to abandon the old-Bonobo approach for this and make a
11124         new-Bonobo approach.
11126         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
11127         Redefine all top-level menus' labels to be "" so there won't
11128         be any underline accelerator
11129         
11130         * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
11131         * src/nautilus-window-menus.c: 
11132         (remove_underline_accelerator_from_menu_title),
11133         (nautilus_window_disable_keyboard_navigation_for_menus):
11134         * src/nautilus-window.h: Remove the old now-useless trick to
11135         do this.
11137 2000-12-12  Gene Z. Ragan  <gzr@eazel.com>
11139         Fixed bug 4145, Music view fails if sound device in use
11140         Fixed bug, 4903, slider state bleeds between music views
11141         
11142         Changed the way that the view stects availability of sound
11143         hardware.  We now use a more just in time approach. If the
11144         sound hardware is unavailable, a dialog is displayed with
11145         a warning and some info about the problem. The downside
11146         to this is that the controls always appear active.  I think
11147         this is a good tradeoff. It avoids having the controls inactive
11148         when the sound hardware is available, as in the case of bug
11149         4145.
11150         
11151         * components/music/nautilus-music-view.c:
11152         (nautilus_music_view_initialize), (get_song_text),
11153         (play_current_file), (add_play_controls):
11155 2000-12-12  Michael Engber  <engber@eazel.com>
11157         reviewed by: John Sullivan <sullivan@eazel.com>
11159         * src/nautilus-window-menus.c:
11160         (nautilus_window_bookmarks_preference_changed_callback),
11161         (nautilus_window_initialize_bookmarks_menu):
11162         * src/nautilus-window-private.h:
11163         * src/nautilus-window.c: (nautilus_window_destroy):
11164         Added a preference remove callback - which fixes bug 5147.
11166 2000-12-12  John Sullivan  <sullivan@eazel.com>
11168         reviewed by: Darin Adler <darin@eazel.com>
11170         Fixed a couple of places that were causing zillions of failed 
11171         assertions about hash tables on boot.
11172         
11173         * libnautilus-extensions/nautilus-directory-metafile.c:
11174         (create_metafile_root): Use nautilus_directory_set_metafile_contents
11175         instead of setting field directly.
11176         (get_file_node): Don't futz with hashtable if its NULL.
11178 2000-12-12  John Sullivan  <sullivan@eazel.com>
11180         reviewed by: Darin Adler <darin@eazel.com>
11182         While investigating bug 5147, which I couldn't reproduce, I found
11183         and fixed a crashing bug with similar steps.
11185         * src/file-manager/fm-desktop-icon-view.c:
11186         (fm_desktop_icon_view_destroy): remove preferences callback for
11187         home_uri_changed, so we won't crash trying to execute it after the
11188         desktop view has been destroyed.
11190         Fixed bug 4226 (Non-standard text field auto-selection behavior
11191         wreaks havoc with finely tuned middle-click paste feature)
11193         The problem here was that I had done some automatic selection 
11194         changing on focus-in and focus-out a long time ago in an attempt
11195         to make the behavior more usable for real copy/paste and tabbing.
11196         Unfortunately my attempt to improve the default behavior ran afoul
11197         of the hellish X middle-click-to-paste-selected-text feature that
11198         is a staple of every poor X window user's life. For now, I just took
11199         out my non-standard behaviors as they aren't clearly an overall
11200         improvement and I hadn't even tried to deploy them across Nautilus,
11201         much less across GTK.
11202         
11203         * src/file-manager/fm-properties-window.c: 
11204         (name_field_focus_in): Removed this function, which used to select
11205         all the text in the field.
11206         (name_field_focus_out): No longer deselects contents.
11207         (create_basic_page): Don't connect to focus-in signal.
11208         
11209         * src/nautilus-bookmarks-window.c:
11210         (on_text_field_focus_in_event): Removed this function, which used to
11211         select all the text in the field.
11212         (on_text_field_focus_out_event): No longer deselects contents.
11213         (create_bookmarks_window): Don't connect to focus-in signal.
11215 2000-12-12  Andy Hertzfeld  <andy@eazel.com>
11217         * libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new),
11218         (load_icon_for_scaling), (scale_icon), (get_icon_from_cache),
11219         (nautilus_icon_factory_get_pixbuf_for_icon),
11220         (nautilus_icon_factory_get_pixbuf_for_file):
11222         fixed bug 4212, emblem doesn't show up when the image is a JPEG
11223         file, by adding ".jpg" to extensions checked in the icon factory.
11224         
11225         Fixed bug 3208, generic icon shows up for deleted emblems, by adding
11226         a "wants_default" parameter to the icon factory get_pixbuf_for_icon
11227         call.  If "wants_default" is false, it returns NULL instead of the
11228         generic icon.  Emblem callers pass FALSE so they don't get pixmaps
11229         for deleted emblems.
11230         
11231         * libnautilus-extensions/nautilus-bookmark.c:
11232         (nautilus_bookmark_get_pixbuf):
11233         added boolean parameter to get_pixbuf_for_icon call
11234         * libnautilus-extensions/nautilus-icon-container.c:
11235         (nautilus_icon_container_update_icon):
11236         added boolean parameter to get_pixbuf_for_icon call
11237         * libnautilus-extensions/nautilus-icon-factory.h:
11238         added "wants_default" boolean to get_pixbuf_for_icon definition
11239         * src/file-manager/fm-list-view.c:
11240         (fm_list_view_get_emblem_pixbufs_for_file):
11241         added boolean parameter to get_pixbuf_for_icon call
11242         * src/file-manager/fm-properties-window.c:
11243         (create_image_widget_for_emblem):
11244         added boolean parameter to get_pixbuf_for_icon call
11245         * src/nautilus-sidebar-title.c: (update_emblems):
11246         added boolean parameter to get_pixbuf_for_icon call
11247         
11248 2000-12-12  Darin Adler  <darin@eazel.com>
11250         reviewed by: Pavel Cisler <pavel@eazel.com>
11252         Fixed bug 650 (moving a large number of files is extremely slow)
11253         by using a hash table to find metafile nodes given a file name.
11254         Fixed bug 3410 (sorting not locale-sensitive) by making
11255         nautilus_strcoll suitable for wider use and using it a lot more.
11257         * libnautilus-extensions/nautilus-directory-private.h: Add a
11258         new hash table for locating metafile nodes by file name.
11259         
11260         * libnautilus-extensions/nautilus-directory-metafile.h: Add
11261         nautilus_directory_set_metafile_contents call so the metafile
11262         code will have a crack at the metafile contents right when
11263         they are first read in.
11264         
11265         * libnautilus-extensions/nautilus-directory-metafile.c:
11266         (get_file_node): Locate the file node using the hash table,
11267         and create a hash table entry when making a new file node.
11268         (destroy_xml_string_key), (nautilus_directory_metafile_destroy):
11269         Destroy the hash table when the directory is destroyed.
11270         (nautilus_directory_rename_file_metadata): Remove the old hash
11271         table entry and make a new one when the node's name is changed.
11272         (nautilus_directory_set_metafile_contents): Create the hash
11273         table and populate it when the metafile is read in.
11274         
11275         * libnautilus-extensions/nautilus-string.h:
11276         * libnautilus-extensions/nautilus-string.c: (nautilus_strcoll):
11277         Treat a locale that can't be fetched by setlocale the same as
11278         locale "C" and "POSIX", fall back on strcmp if strcoll says two
11279         strings are equal, so that only identical strings get a 0.
11280         (nautilus_strcmp_compare_func): New name for nautilus_str_compare.
11281         (nautilus_strcoll_compare_func): New function.
11282         (nautilus_strcasecmp_compare_func): New name for nautilus_istr_compare.
11283         
11284         * libnautilus-extensions/nautilus-glib-extensions.h:
11285         * libnautilus-extensions/nautilus-glib-extensions.c:
11286         (nautilus_g_str_list_copy): Removed an unnecessary check for NULL.
11287         (nautilus_g_str_list_alphabetize): Replaced the old sort calls
11288         with this single call. It sorts in a locale-sensitive way, using
11289         nautilus_strcoll.
11290         
11291         * libnautilus-extensions/nautilus-file.c: (compare_by_name),
11292         (compare_by_directory_name), (compare_by_emblems),
11293         (compare_by_type), (nautilus_file_compare_name): Use
11294         nautilus_strcoll instead of nautilus_strcmp_case_breaks_ties so we
11295         use local sorting conventions in locales other than "C" and
11296         "POSIX".
11297         (nautilus_get_user_names), (nautilus_get_group_names_including):
11298         (sort_keyword_list_and_remove_duplicates): Use the new
11299         nautilus_g_str_list_alphabetize to sort by locale-specific
11300         conventions.
11301         
11302         * libnautilus-extensions/nautilus-icon-container.c:
11303         (compare_icons_by_name): Use nautilus_strcoll instead of
11304         nautilus_strcmp_case_breaks_ties so we use local sorting
11305         conventions in locales other than "C" and "POSIX".
11306         
11307         * src/file-manager/fm-properties-window.c: (get_property_names):
11308         Use the new nautilus_g_str_list_alphabetize
11309         * src/nautilus-window-manage-views.c: (change_selection): Use the
11310         new nautilus_g_str_list_alphabetize
11311         * src/nautilus-window.c: (load_view_as_menu_callback): Use the new
11312         nautilus_g_str_list_alphabetize
11314         * libnautilus-extensions/nautilus-directory-async.c:
11315         (metafile_read_done_callback),
11316         (nautilus_directory_set_up_request): Use nautilus_str_compare
11317         under its new name, nautilus_strcmp_compare_func.
11318         
11319         * components/services/install/command-line/.cvsignore: Added
11320         eazel-test-types, a new generated file.
11321         
11322         * libnautilus-extensions/nautilus-string-list.c:
11323         (nautilus_string_list_new): Use nautilus_str_compare and
11324         nautilus_istr_compare under their new names,
11325         nautilus_strcmp_compare_func and nautilus_strcasecmp_compare_func.
11327         * libnautilus-extensions/nautilus-xml-extensions.c:
11328         (nautilus_xml_get_child_by_name): Fixed indenting.
11329         
11330 2000-12-12  Gene Z. Ragan  <gzr@eazel.com>
11332         Fixed bug 4901, Music view displays "()" when MP3 lacks
11333         Year tag
11334         
11335         * components/music/nautilus-music-view.c: (get_song_text),
11336         (read_id_tag):
11337         Don't display Year parentheses if year tad is absent or empty
11338         
11339         * components/music/mpg123.c: (mpg123_id3v1_to_id3v2):
11340         * components/music/mpg123.h:
11341         More cleanup to support ID3v2 tags. This fixes breakage
11342         in displaying ID3v1 track numbers.
11344 2000-12-12  Maciej Stachowiak  <mjs@eazel.com>
11346         reviewed by: Pavel Cisler  <pavel@eazel.com>
11348         Improve New Window performance when the tree view is enabled, to
11349         partially address bug 4922 (Opening new windows is really slow
11350         when the tree view is enabled). This affects only the New Window
11351         case, not the initial window. Here's some timings before and after
11352         on my laptop with a bunch of stuff expanded (times in seconds):
11354                                   First window    New window
11355         Tree View Off                  8              5
11356         w/ Tree Before My Change      16              37
11357         w/ Tree After My Change       16              20
11359         I made this change by altering tree view semantics slightly. The
11360         tree view used to do a force reload any time it expanded a
11361         directory. Now it does a normal load the first time any given
11362         directory is expanded (as at startup, or when you first expand the
11363         node), but a force reload on subsequent collapse and
11364         expansion. This is more in line with the way the rest of Nautilus
11365         works.
11366         
11367         * components/tree/nautilus-tree-expansion-state.h,
11368         components/tree/nautilus-tree-expansion-state.c:
11369         (nautilus_tree_expansion_state_was_ever_expanded): New function to
11370         see if a node was ever expanded. Being initially expanded does not
11371         count; only being expanded through an API call to
11372         `nautilus_tree_expansion_state_expand_node' does.
11373         (nautilus_tree_expansion_state_load_foreach_callback,
11374         nautilus_tree_expansion_state_initialize,
11375         nautilus_tree_expansion_state_destroy,
11376         nautilus_tree_expansion_state_expand_node_internal,
11377         nautilus_tree_expansion_state_expand_node): Adjusted to track
11378         "was_ever_expanded" property right.
11380         * components/tree/nautilus-tree-model.h,
11381         components/tree/nautilus-tree-model.c
11382         (nautilus_tree_model_monitor_node): Add force_reload parameter.
11383         (nautilus_tree_model_node_begin_monitoring_no_connect): New helper
11384         function.
11385         (nautilus_tree_model_node_begin_monitoring,
11386         nautilus_tree_model_node_end_monitoring): Slightly adjusted helper
11387         functions.
11389         * components/tree/nautilus-tree-view.c:
11390         (filtering_changed_callback): Do a reload of the whole tree, but
11391         not a force reload.
11392         (expand_uri_sequence_and_select_end): Simplify logic a bit.
11393         (expand_node_for_file): Force reload only if this node has been
11394         expanded before.
11395         (reload_model_node, reload_model_node_recursive,
11396         reload_whole_tree): Make force reload an option.
11398 2000-12-12  Maciej Stachowiak  <mjs@eazel.com>
11400         reviewed by: Pavel Cisler  <pavel@eazel.com>
11402         Fix an infinite loop problem that my last change caused:
11403         
11404         * libnautilus-extensions/nautilus-directory-async.c:
11405         (activation_uri_read_done): Remove setting of
11406         activation_uri_is_up_to_date to TRUE
11407         (activation_uri_done): and move it here, because this function
11408         gets called directly for files that are not nautilus or gmc links,
11409         as well as being called from activation_uri_done.
11411         * components/services/install/command-line/.cvsignore: Add
11412         eazel-softcat
11414 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11416         * components/services/install/lib/Makefile.am:
11417         Stupid stupid stupid mistake in the conditionals.
11419 2000-12-11  Andy Hertzfeld  <andy@eazel.com>
11421         * src/file-manager/fm-directory-view.c: (activate_callback):
11422         fixed bug 2390, uri-activating security hole, by following
11423         Frank's recommendation, which is to not allow any parameters
11424         to the launch command, which is enforced by using execlp
11425         instead of system.
11426         
11427 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11429         Not reviewed, I have no buddies...
11430         
11431         * components/services/install/lib/Makefile.am:
11432         * configure.in:
11433         automake conditionals are a complete joke.
11435 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11437         * components/services/install/lib/eazel-package-system-rpm3-private
11438         .h:
11439         * components/services/install/lib/eazel-package-system-rpm3.c:
11440         (eazel_package_system_rpm3_query):
11441         Fixed the types, now back to automakes lack of conditionals...
11443 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11445         * components/services/install/lib/Makefile.am:
11446         automake conditionals are figments of your imagination.
11447         
11448         * configure.in:
11449         More rpmcheck voodoo, might even make this compile on rh62 agains.
11451 2000-12-11  Maciej Stachowiak  <mjs@eazel.com>
11453         reviewed by: Pavel Cisler  <pavel@eazel.com>
11455         Fix bug 4919 (Tree view crashes when you expand and collapse the
11456         root node). I did this by changing the design of file attribute
11457         forgetting, which I implemented recently - now when you forget an
11458         attribute, it is merely marked out of date, not thrown away; the
11459         old value is still available until the fresh value is actually
11460         loaded. This fixes other potential UI problems with the old
11461         approach but I am not sure if bugs were filed for those.
11463         * libnautilus-extensions/nautilus-file-private.h: Added new
11464         is_up_to_date booleans, converted all booleans and the
11465         RequestStatus enum to bitfields. This saved 200-300k or so for me
11466         on runs of Nautilus with the tree view on and expanded a lot.
11468         * libnautilus-extensions/nautilus-file.h,
11469         libnautilus-extensions/nautilus-file.c:
11470         (nautilus_file_invalidate_attributes_internal,
11471         nautilus_file_invalidate_attributes,
11472         nautilus_file_invalidate_all_attributes): Renamed to match new
11473         semantics.
11474         (update_info_internal): Mark file info up to date.
11475         (invalidate_directory_count), (invalidate_deep_counts),
11476         (invalidate_mime_list), (invalidate_top_left_text),
11477         (invalidate_file_info), (invalidate_activation_uri): renamed from
11478         forget_*, and changed to only mark the attributes invalid, not
11479         actually throw them out.
11481         * libnautilus-extensions/nautilus-directory-async.c:
11482         (lacks_directory_count, lacks_top_left, lacks_info,
11483         lacks_mime_list, lacks_activation_uri): Check _is_up_to_date bit
11484         for relevant attribute, not got_ or _failed bits. If the info is
11485         out of date, we want to retry eve if we already got it or it
11486         already failed.
11487         (directory_count_callback, mime_list_callback,
11488         top_left_read_callback, get_info_callback,
11489         activation_uri_read_done): Mark corresponding attributes up to
11490         date.
11491         (dequeue_pending_idle_callback): Mark directory_count and
11492         mime_list up to date if appropriate.
11493         (file_info_start): Mark file info up to date on invalid URI error.
11494         (nautilus_directory_invalidate_counts): Mark directory count and
11495         mime list out of date, but do not forget them.
11497         (nautilus_directory_invalidate_file_attributes): Renamed.
11498         (nautilus_directory_force_reload): Deal with rename.
11499         (cancel_loading_attributes,
11500         nautilus_directory_cancel_loading_file_attributes): Replace forget
11501         with invalidate in some comments.
11503         * libnautilus-extensions/nautilus-link.c
11504         (forget_file_activation_uri): Handle function renames.
11505         * src/nautilus-window-manage-views.c
11506         (nautilus_window_begin_location_change): Likewise
11508 2000-12-11  Eskil Olsen  <eskil@eazel.com>
11509         
11510         * components/services/install/lib/eazel-package-system-rpm3-private
11511         .h:
11512         * components/services/install/lib/eazel-package-system-rpm3.h:
11513         * components/services/install/lib/eazel-package-system-rpm3.c:
11514         (make_rpm_argument_list), (eazel_package_system_rpm3_create_dbs),
11515         (rpm_open_db), (eazel_package_system_rpm3_open_dbs),
11516         (eazel_package_system_rpm3_close_dbs),
11517         (eazel_package_system_rpm3_free_dbs),
11518         (eazel_package_system_rpm3_query_impl),
11519         (eazel_package_system_rpm3_query_substr),
11520         (eazel_package_system_rpm3_query_requires),
11521         (eazel_package_system_rpm3_query),
11522         (eazel_package_system_rpm3_finalize),
11523         (eazel_package_system_rpm3_initialize),
11524         (eazel_package_system_rpm3_new):
11525         Created a private part for EazelPackageSystemRpm3
11527         * components/services/install/lib/eazel-install-rpm-glue.c:
11528         (eazel_install_do_rpm_dependency_check):
11529         Fondle the private parts of EazelPackageSystemRpm3 (eew, 
11530         can't wait to get rid of this code).
11531         
11532         * components/services/install/lib/eazel-package-system-rpm4.h:
11533         * components/services/install/lib/eazel-package-system-rpm4.c:
11534         (eazel_package_system_rpm4_query_foreach),
11535         (eazel_package_system_rpm4_finalize),
11536         (eazel_package_system_rpm4_initialize),
11537         (eazel_package_system_rpm4_new),
11538         (eazel_package_system_implementation):
11539         Began hacking on the missing RPM4 pieces.
11541 2000-12-11  Gene Z. Ragan  <gzr@eazel.com>
11543         Fixed bug 4900, Nautilus doesn't support ID3 v2.x tags
11544         
11545         * components/music/mpg123.c:
11546         * components/music/mpg123.h:
11547         * components/music/nautilus-music-view.c: (read_id_tag):
11548         Add support for both v1 and v2 ID3 tags.
11550 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11552         * README:
11553         Blabla about rpm 4 on redhat 7.0
11554         
11555         * configure.in: 
11556         * nautilus.spec.in:
11557         configure now carves the rpm version found into the spec file as a
11558         requirement.
11560 2000-12-11  Mike Fleming  <mfleming@eazel.com>
11562         * components/mozilla/main.c: (main):
11563         * src/nautilus-window-service-ui.c: (goto_online_storage),
11564         (goto_software_catalog):
11566         bugzilla.eazel.com 5035
11568         removed ammonite_shutdown call, ammonite_init is now resiliant
11569         to multiple calls and registers an atexit function.     
11571 2000-12-11  Gene Z. Ragan  <gzr@eazel.com>
11573         reviewed by: Pavel Cisler <pavel@eazel.com>
11575         Fixed bug 3818, Sorting of album is case insensitive
11577         * libnautilus-extensions/nautilus-string.c:
11578         * libnautilus-extensions/nautilus-string.h:
11579         (nautilus_strcmp_case_breaks_ties), (nautilus_strcoll):
11580         New function that wraps strcoll. It checks the locale and if it is
11581         specific, uses strcoll. If the locale is generic "C" or "POSIX",
11582         sorting is done using nautilus_strcmp_case_breaks_ties.
11583         
11585         Fixed bug 5126, Press "Pause" and "Play", music view returns
11586         to start of track.
11588         * components/music/nautilus-music-view.c: (selection_callback),
11589         (value_changed_callback), (sort_by_title), (sort_by_artist),
11590         (sort_by_year), (play_button_callback), (pause_button_callback),
11591         (get_player_state):
11592         Some state machine logic cleanup to fix bug 5216.
11594 2000-12-11  John Sullivan  <sullivan@eazel.com>
11596         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
11598         Fixed bug 4820 (default Nautilus window too narrow; web
11599         pages look bad)
11601         * src/nautilus-window-private.h: Changed
11602         NAUTILUS_WINDOW_DEFAULT_WIDTH from 700 to 800. Read the
11603         bug report for some of the rationale discussion.
11605 2000-12-11  Michael Engber  <engber@eazel.com>
11607         * libnautilus-extensions/nautilus-background.c:
11608         (nautilus_background_set_image_placement_no_emit),
11609         (nautilus_background_set_image_placement),
11610         (nautilus_background_receive_dropped_background_image):
11611         * libnautilus-extensions/nautilus-directory-background.c:
11612         (nautilus_file_background_get_default_settings),
11613         (nautilus_file_background_write_desktop_settings):
11614         Fixed dragging a new background image onto the dekstop
11615         so that it; writes out the new color (white) instead of
11616         leaving the old, wrong, color setting; sets the image
11617         placement to tiled, since all Nautilus images are
11618         currently meant to be tiled. Bugs 3477 & 3022.
11620 2000-12-11  Eskil Heyn Olsen  <eskil@eazel.com>
11622         reviewed by: A donkey with a rather large shrubbery
11624         * components/rpmview/Makefile.am:
11625         * components/rpmview/nautilus-rpm-verify-window.c:
11626         (nautilus_rpm_verify_window_update_message):
11627         * components/services/install/command-line/Makefile.am:
11628         * components/services/install/command-line/eazel-test-packsys.c:
11629         (main):
11630         * components/services/install/lib/Makefile.am:
11631         * components/services/install/lib/eazel-install-rpm-glue.c:
11632         * components/services/install/lib/eazel-package-system-rpm3.c:
11633         (rpm_create_db), (eazel_package_system_rpm3_query):
11634         * components/services/install/lib/eazel-package-system-rpm4.c:
11635         (eazel_package_system_rpm4_finalize),
11636         (eazel_package_system_rpm4_new):
11637         * components/services/install/lib/eazel-package-system-types.c:
11638         (packagedata_list_prune):
11639         * components/services/install/lib/eazel-package-system.c:
11640         (eazel_package_system_load_implementation):
11641         * components/services/install/nautilus-view/Makefile.am:
11642         * components/services/install/server/Makefile.am:
11643         Muy untested RedHat 7.0/RPM4 related stuff. Let's watcht the build
11644         blow up.
11645         
11646         * acconfig.h:
11647         HAVE_RPM_x0 for different rpm.s
11648         
11649         * configure.in:
11650         More weird rpm checks
11651         
11652         * nautilus.spec.in
11653         No more libeazelsoftcat
11655 2000-12-11  Darin Adler  <darin@eazel.com>
11657         reviewed by: John Sullivan <sullivan@eazel.com>
11659         Fixed bug 5112 (Segfault on startup using non C locale). The error
11660         was caused by localized text making it through bonobo to
11661         gnome-xml, which only happened because we were using an incorrect
11662         attribute name.
11664         * libnautilus-extensions/nautilus-bonobo-extensions.c:
11665         * libnautilus-extensions/nautilus-bonobo-extensions.h:
11666         Removed nautilus_bonobo_set_description because there is no
11667         attribute named "description" any more. It's now "tip".
11668         
11669         * src/file-manager/fm-directory-view.c: (real_update_menus):
11670         Use set_tip instead of set_description.
11672         Another cut at the placeholder changes. I caught one problem and
11673         John caught some others when he reviewed my last check-in.
11674         
11675         * src/file-manager/nautilus-directory-view-ui.xml:
11676         * src/file-manager/nautilus-icon-view-ui.xml:
11677         * src/nautilus-service-ui.xml:
11678         Removed some "delimit" and added others. Only the file that
11679         actually defines a placeholder should use a delimit, and you must
11680         always use a delimit when defining the placeholder.
11682 2000-12-11  J Shane Culpepper  <pepper@eazel.com>
11684         reviewed by: <eskil@eazel.com>
11686         * components/services/install/lib/Makefile.am:
11688         Minor Makefile fix for Eskil.
11690 2000-12-11  Darin Adler  <darin@eazel.com>
11692         * src/file-manager/nautilus-directory-view-ui.xml:
11693         * src/file-manager/nautilus-icon-view-ui.xml:
11694         * src/nautilus-service-ui.xml:
11695         * src/nautilus-shell-ui.xml:
11696         Changed all placeholders that are not supposed to be "transparent"
11697         to use an explict 'delimit="none"' to make it clear to the bonobo
11698         merging code that they are not transparent. This subtle rule about
11699         the 2 different kinds of placeholder resulted in a number of bugs
11700         that were then "fixed" by a Bonobo change that was then rolled out.
11702 2000-12-11  John Sullivan  <sullivan@eazel.com>
11704         * icons/arlo/arlo.xml: I broke the Arlo theme with my earlier
11705         checkin by changing references to ./backgrounds to ./patterns;
11706         this changes them back. ./backgrounds is a directory inside the
11707         Arlo theme folder, whose name has not been changed.
11709 2000-12-11  Gene Z. Ragan  <gzr@eazel.com>
11711         Fixed bug 3767, Click through MP3s, multiple MP3s often selected
11712         Fixed bug 2263, Scroll in music view, text redrawn on top
11713         of self
11714         
11715         Both of these bugs are caused by a bug in GtkCList.  There
11716         is a case where the gcs are set to invalid. I work around
11717         this by queueing redraws when a new item is selected and
11718         when the adjustment is changed during scrolling.
11719         
11720         * components/music/nautilus-music-view.c:
11721         (nautilus_music_view_initialize), (selection_callback),
11722         (value_changed_callback):
11724 2000-12-11  John Sullivan  <sullivan@eazel.com>
11726         reviewed by: Darin Adler <darin@eazel.com>
11728         Terminology change -- the window & menu item formerly known
11729         as "Customization" are now known as "Backgrounds and Emblems";
11730         the swatches of image formerly known as "backgrounds" are
11731         now known as "patterns".
11733         After 1.0 if this window acquires more varied content we will
11734         have to redo the menu item & window label, though we will
11735         continue to distinguish between "backgrounds" and "patterns", 
11736         since "backgrounds" encompasses colors as well as images.
11738         Note that this change will only appear in full (and your
11739         "Backgrounds and Emblems" window work in full) after you've
11740         deleted your ~/.nautilus directory and let Nautilus make you
11741         a new one.
11743         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
11744         (file_opened_callback): Set vfs_handle to NULL on failure.
11745         (load_done): Don't try to close pixbuf loader if it's NULL.
11746         These two bugs were flushed out by a temporary state on my
11747         machine where the theme was using a non-existent file for
11748         its background image.
11750         * data/backgrounds/Makefile.am: removed this file, as well as
11751         all the image files in this directory.
11753         * data/patterns/.cvsignore:
11754         * data/patterns/Makefile.am: New files, copied from data/backgrounds.
11755         Also copied over all image files from data/backgrounds, which is now
11756         obsolete.
11757         
11758         * data/Makefile.am: Changed "backgrounds" subdir to "patterns"
11760         * configure.in: changed data/backgrounds/Makefile to
11761         data/patterns/Makefile
11762         
11763         * nautilus.spec.in: Changed regular expressions with "backgrounds"
11764         to use "patterns"
11766         * data/browser.xml: Changed "background" to "pattern" in the
11767         terminology in this file, which gets installed into ~/.nautilus.
11768         You have to remove your ~/.nautilus to get a fresh one of these;
11769         without doing so the "Backgrounds and Emblems" window will be
11770         confused (won't crash, will use wrong terminology and sometimes
11771         have blank content).
11773         * icons/ardmore/ardmore.xml:
11774         * icons/arlo/arlo.xml:
11775         * icons/default.xml:
11776         * icons/eazel/eazel.xml:
11777         * icons/gnome/gnome.xml:
11778         * icons/vector/vector.xml:
11779         * icons/villanova/villanova.xml: Changed "backgrounds" directory
11780         references to "patterns"
11781         
11782         * libnautilus-extensions/nautilus-customization-data.h:
11783         * libnautilus-extensions/nautilus-customization-data.c:
11784         (nautilus_customization_data_new),
11785         (nautilus_customization_data_get_next_element_for_display),
11786         (nautilus_customization_data_destroy),
11787         (nautilus_customization_make_pattern_chit): Change "background" to
11788         "pattern" in many places, including one public function name.
11790         * src/nautilus-property-browser.c:
11791         (nautilus_property_browser_initialize),
11792         (nautilus_property_browser_drag_data_get), (make_drag_image),
11793         (make_color_drag_image), (remove_pattern), (remove_emblem),
11794         (nautilus_property_browser_remove_element),
11795         (add_pattern_to_browser), (add_new_pattern),
11796         (add_new_button_callback), (element_clicked_callback),
11797         (make_properties_from_directories), (add_reset_property),
11798         (nautilus_property_browser_update_contents),
11799         (nautilus_property_browser_set_category): Change "background" to
11800         "pattern" in many places. Also change window title from
11801         "Customization Options" to "Backgrounds and Emblems".
11802         
11803         * src/nautilus-shell-ui.xml: Change "Customization..." to 
11804         "Backgrounds and Emblems...".
11805         
11806         * test/test-nautilus-background.c: (main):
11807         * test/test-nautilus-font.c: (create_named_background):
11808         * test/test-nautilus-label.c:
11809         (widget_set_nautilus_background_image): Changed test code that was
11810         using sample images from backgrounds directory to look in patterns
11811         directory instead.
11813 2000-12-11  Gene Z. Ragan  <gzr@eazel.com>
11815         Fixed bug 2242, fstat /etc/mtab to check if needs
11816         to reread (for speed)
11817         
11818         I now use a read of /proc/mounts. This is not only faster, but
11819         it avoids a read to disk thus saving power for portable users.
11820         
11821         * libnautilus-extensions/nautilus-volume-monitor.c: (find_volumes):
11823 2000-12-11  Ramiro Estrugo  <ramiro@eazel.com>
11825         * README:
11826         Move us to use gconf from a stable branch (gconf-1-0).
11827         
11828 2000-12-10  Eskil Heyn Olsen  <eskil@eazel.com>
11830         * components/rpmview/Makefile.am:
11831         * components/rpmview/nautilus-rpm-verify-window.c:
11832         (nautilus_rpm_verify_window_initialize),
11833         (nautilus_rpm_verify_window_set_message),
11834         (nautilus_rpm_verify_window_update_message),
11835         (nautilus_rpm_verify_window_set_progress),
11836         (nautilus_rpm_verify_window_set_error_mode):
11837         * components/rpmview/nautilus-rpm-verify-window.h:
11838         * components/rpmview/nautilus-rpm-view-install.c:
11839         (nautilus_rpm_view_install_package_callback),
11840         (nautilus_rpm_view_uninstall_package_callback):
11841         * components/rpmview/nautilus-rpm-view-private.h:
11842         * components/rpmview/nautilus-rpm-view.c:
11843         (nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
11844         (add_to_clist), (nautilus_rpm_view_update_from_uri),
11845         (verify_failed_signal), (verify_progress_signal),
11846         (nautilus_rpm_view_verify_files),
11847         (nautilus_rpm_view_verify_package_callback):
11848         Fixed bug 5119, update rpmview to use EazelPackageSystem. I 
11849         still need to hook up the continue signal from the verifywindow,
11850         this is opened as bug 5123.
11851         
11852         * components/services/install/command-line/Makefile.am:
11853         * components/services/install/command-line/eazel-alt-install-corba.
11854         c:
11855         include eazel-package-system-types instead of
11856         eazel-install-types.h
11857         
11858         * components/services/install/command-line/eazel-test-packsys.c:
11859         (progress_signal), (failed_signal), (test_verify), (main):
11860         Implemented the test for verfiy.
11861         
11862         * components/services/install/lib/Makefile.am:
11863         Mangled to fix 5121.
11864         
11865         * components/services/install/lib/eazel-softcat.h:
11866         * components/services/install/lib/eazel-install-tests.h:
11867         * components/services/install/lib/eazel-install-xml-package-list.h:
11868         * components/services/install/lib/eazel-install-protocols.h:
11869         * components/services/install/lib/eazel-install-public.h:
11870         * components/services/install/lib/eazel-install-query.h:
11871         * components/services/install/lib/eazel-install-logic.h:
11872         * components/services/install/lib/eazel-install-metadata.h:
11873         * components/services/install/lib/eazel-install-object.c:
11874         * components/services/install/lib/eazel-install-problem.h:
11875         * components/services/install/lib/eazel-install-corba-callback.h:
11876         * components/services/install/lib/eazel-install-corba-types.h:
11877         include eazel-package-system-types instead of
11878         eazel-install-types.h
11880         * components/services/install/lib/eazel-install-logic.c:
11881         (eazel_install_download_packages),
11882         (eazel_install_check_for_file_conflicts),
11883         (eazel_install_start_signal), (eazel_install_end_signal),
11884         (eazel_install_progress_signal),
11885         (eazel_install_check_existing_packages),
11886         (eazel_uninstall_upward_traverse),
11887         (eazel_uninstall_downward_traverse),
11888         (eazel_uninstall_check_for_install):
11889         Fixed signals and use FILL_NO_DIRS_IN_PROVIDES
11891         * components/services/install/lib/eazel-install-protocols.c:
11892         (gnome_vfs_fetch_remote_file), (eazel_install_fetch_package):
11893         Use FILL_NO_DIRS_IN_PROVIDES
11894         
11895         * components/services/install/lib/eazel-install-rpm-glue.h:
11896         * components/services/install/lib/eazel-install-rpm-glue.c:
11897         (eazel_install_do_rpm_dependency_check):
11898         include eazel-package-system-types instead of
11899         eazel-install-types.h
11900         Also open/close the db when doing the rpmdepCheck call.
11901         
11902         * components/services/install/lib/eazel-install-types.c:
11903         * components/services/install/lib/eazel-install-types.h:
11904         Removed
11905         
11906         * components/services/install/lib/eazel-package-system.h:
11907         * components/services/install/lib/eazel-package-system-private.h:
11908         * components/services/install/lib/eazel-package-system.c:
11909         (eazel_package_system_load_implementation),
11910         (eazel_package_system_verify),
11911         (eazel_package_system_emit_progress):
11912         * components/services/install/lib/eazel-package-system-rpm3-private
11913         .h:
11914         * components/services/install/lib/eazel-package-system-rpm3.c:
11915         (monitor_rpm_process_pipe), (eazel_package_system_rpm3_create_dbs),
11916         (eazel_package_system_rpm3_open_dbs),
11917         (eazel_package_system_rpm3_close_dbs),
11918         (eazel_package_system_rpm3_free_dbs),
11919         (rpm_packagedata_fill_from_rpm_header),
11920         (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
11921         (eazel_package_system_rpm3_load_package),
11922         (eazel_package_system_rpm3_query_impl),
11923         (eazel_package_system_rpm3_query_substr),
11924         (eazel_package_system_rpm3_query), (check_if_all_packages_seen),
11925         (eazel_package_system_rpm3_install_uninstall),
11926         (eazel_package_system_rpm3_verify_impl),
11927         (get_num_of_files_in_packages), (eazel_package_system_rpm3_verify),
11928         (eazel_package_system_rpm3_finalize),
11929         (eazel_package_system_rpm3_new),
11930         (eazel_package_system_implementation):
11931         * components/services/install/lib/eazel-package-system-rpm4.c:
11932         (eazel_package_system_rpm4_query),
11933         (eazel_package_system_rpm4_finalize),
11934         (eazel_package_system_rpm4_class_initialize),
11935         (eazel_package_system_rpm4_initialize),
11936         (eazel_package_system_rpm4_get_type),
11937         (eazel_package_system_rpm4_new),
11938         (eazel_package_system_implementation):
11939         * components/services/install/lib/eazel-package-system-rpm4.h:
11940         * components/services/install/lib/eazel-package-system-skeleton.c:
11941         (eazel_package_system_skeleton_verify):
11942         Shuffled the order of the info longs and the package in the
11943         progress signal. 
11944         Implemented verify in rpm3 (fixes bug 5120)
11945         First pieces of code for the rpm4 module.
11946         Unfortunately, since rpmview now also has a eazelpackagesystem
11947         object, I ran into the problem of database locking. The rpmview
11948         would have a read-only version of all the db files, thereby
11949         failing in install because trilobite-eazel-install-service spawned
11950         a rpm that could not get exclusive lock. To fix this, I now have
11951         the db closed at all times, but open/close it everytime I do
11952         something. Unfortunately for the queryloops in
11953         eazel-install-logic, this means opening/closing on every
11954         query. Optionally, I should consider exposing
11955         eazel_package_system_open/close_dbs, so the caller can do it. But
11956         that makes the api a bit more cumbersome.
11957         
11958         * components/services/install/lib/eazel-package-system-types.h:
11959         * components/services/install/lib/eazel-package-system-types.c:
11960         (eazel_install_protocol_as_string), (categorydata_new),
11961         (categorydata_list_copy), (categorydata_copy),
11962         (categorydata_destroy_foreach), (categorydata_destroy),
11963         (categorydata_list_destroy), (packagedata_new),
11964         (packagedata_list_copy), (packagedata_copy),
11965         (packagedata_fill_in_missing), (packagedata_destroy),
11966         (packagedata_remove_soft_dep), (rpmfilename_from_packagedata),
11967         (rpmname_from_packagedata), (packagedata_get_readable_name),
11968         (packagedata_get_name), (packagedata_hash_equal),
11969         (packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
11970         (packagedata_modstatus_enum_to_str),
11971         (packagedata_modstatus_str_to_enum), (packagedata_add_pack_to),
11972         (packagedata_add_pack_to_breaks),
11973         (packagedata_add_pack_to_soft_depends),
11974         (packagedata_add_pack_to_hard_depends),
11975         (packagedata_add_pack_to_modifies), (packagedata_list_prune),
11976         (packagerequirement_new),
11977         (eazel_install_package_provides_basename_compare),
11978         (eazel_install_package_provides_compare),
11979         (eazel_install_package_name_compare),
11980         (eazel_install_package_compare),
11981         (eazel_install_requirement_dep_compare),
11982         (eazel_install_requirement_dep_name_compare),
11983         (eazel_install_package_version_compare),
11984         (eazel_install_package_other_version_compare),
11985         (eazel_install_package_matches_versioning),
11986         (eazel_install_gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT),
11987         (gstr_indent), (dump_package_list), (packagedata_dump_int),
11988         (packagedata_dump):
11989         Renamed eazel-install-types to eazel-package-system-types
11991         * components/services/install/nautilus-view/Makefile.am:
11992         Fixed linking after fix to 5121.
11994         * components/services/install/nautilus-view/nautilus-service-instal
11995         l-view.h:
11996         include eazel-package-system-types instead of
11997         eazel-install-types.h
11999         * components/services/install/server/Makefile.am:
12000         Fixed linking after fix to 5121.
12001         
12002         * components/services/trilobite/libtrilobite/trilobite-root-helper.
12003         c: (eazel_helper_start):
12004         Don't mention the info msg's from userhelper. 
12005         
12006         * po/POTFILES.in:
12007         Renamed eazel-install-types to eazel-package-system-types.
12009 2000-12-10  J Shane Culpepper  <pepper@eazel.com>
12011         * components/services/summary/nautilus-view/Makefile.am:
12012         * components/services/summary/nautilus-view/nautilus-summary-callba
12013         cks.c: (service_tab_selected_callback),
12014         (updates_tab_selected_callback):
12015         * components/services/summary/nautilus-view/nautilus-summary-callba
12016         cks.h:
12017         * components/services/summary/nautilus-view/nautilus-summary-footer
12018         .c: (footer_item_clicked_callback):
12019         * components/services/summary/nautilus-view/nautilus-summary-footer
12020         .h:
12021         * components/services/summary/nautilus-view/nautilus-summary-view.c
12022         :
12024         More minor cleaning to make the summary view more managable.
12026 2000-12-09  Andy Hertzfeld  <andy@eazel.com>
12028         * src/file-manager/fm-properties-window.c: (create_basic_page),
12029         (create_properties_window), (ensure_uri_is_image),
12030         (set_custom_image), (select_image_button_callback),
12031         (remove_image_button_callback):
12032         fixed bug 2167, no way to add custom icons for files without a viewer,
12033         by adding buttons for adding and removing custom icons to the
12034         properties window.
12035         
12036 2000-12-09  J Shane Culpepper  <pepper@eazel.com>
12038         * components/services/summary/nautilus-view/Makefile.am:
12039         * components/services/summary/nautilus-view/nautilus-summary-callba
12040         cks.c: (authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
12041         (logout_button_cb), (logged_in_callback), (logged_out_callback),
12042         (preferences_button_cb), (forgot_password_button_cb),
12043         (register_button_cb):
12044         * components/services/summary/nautilus-view/nautilus-summary-callba
12045         cks.h:
12046         * components/services/summary/nautilus-view/nautilus-summary-dialog
12047         s.c: (generate_error_dialog), (generate_login_dialog),
12048         (widget_set_nautilus_background_color), (error_dialog_cancel_cb),
12049         (get_window_from_summary_view), (set_dialog_parent),
12050         (name_or_password_field_activated):
12051         * components/services/summary/nautilus-view/nautilus-summary-dialog
12052         s.h:
12053         * components/services/summary/nautilus-view/nautilus-summary-menu-i
12054         tems.c: (update_menu_items), (merge_bonobo_menu_items),
12055         (bonobo_register_callback), (bonobo_login_callback),
12056         (bonobo_logout_callback), (bonobo_preferences_callback):
12057         * components/services/summary/nautilus-view/nautilus-summary-menu-i
12058         tems.h:
12059         * components/services/summary/nautilus-view/nautilus-summary-view-p
12060         rivate.h:
12061         * components/services/summary/nautilus-view/nautilus-summary-view.c
12062         : (updates_tab_selected_callback):
12064         Breaking the summary view up into separate files.  It was getting
12065         way to monolithic.  Still needs more cleanup from the rewrite before
12066         pr2 but much more managable now.  Getting it ready for inventory
12067         additions.
12069 2000-12-08  Gene Z. Ragan  <gzr@eazel.com>
12071         Fixed bug 5102, Changing to or from Music View advances song in
12072         second window.
12074         * components/music/nautilus-music-view.c: (stop_playing_file):
12075         Only stop playback if playback is occurring. Otherwise
12076         esd get's confused and temporarily halts playback causeing
12077         the status callback to advnace the song counter in any music
12078         view that is playing.
12079         
12080 2000-12-08  Andy Hertzfeld  <andy@eazel.com>
12082         * src/nautilus-sidebar-title.c: (update_emblems):
12083         fixed crash at launch revealed by recent changes by not trying to
12084         update the emblems in the sidebar if we don't have a
12085         file object yet.
12086         
12087 2000-12-08  John Sullivan  <sullivan@eazel.com>
12089         reviewed by: Darin Adler  <darin@eazel.com>
12091         Fixed bug 5029 (File count in sidebar might not match displayed
12092         search results list due to filtering)
12094         * libnautilus-extensions/nautilus-search-uri.h:
12095         * libnautilus-extensions/nautilus-search-uri.c:
12096         (nautilus_get_target_uri_from_search_result_name):
12097         New function to extract the sooper-secretly encoded
12098         actual search result URI from the search result "file name".
12100         * libnautilus-extensions/nautilus-directory-async.c:
12101         (should_display_file_name): New helper function that users
12102         user preferences to determine whether a file should be
12103         displayed, based only on its name.
12104         (filter_search_uri): New filter function used on search
12105         results
12106         (get_file_count_filter) New function, result depends on
12107         whether directory is a search directory.
12108         (start_monitoring_file_list): Use get_file_count_filter.
12110         * src/file-manager/fm-search-list-view.c: (real_add_file):
12111         Use nautilus_get_target_uri_from_search_result_name instead
12112         of spreading out the sooper secret knowledge.
12113         
12115         Fixed bug 5014 (Control-w should close the properties dialog)
12117         I made Control-w close a bunch o' windows without menus.
12119         * libnautilus-extensions/nautilus-gtk-extensions.h:
12120         * libnautilus-extensions/nautilus-gtk-extensions.c:
12121         (handle_standard_close_accelerator): New helper function,
12122         closes the window if the key was the close accelerator.
12123         (nautilus_gtk_window_event_is_close_accelerator): New public
12124         function, checks whether a key event is the close accelerator.
12125         (nautilus_gtk_window_set_up_close_accelerator): New public
12126         function, one-stop shopping for most clients that want to
12127         have Control-w close a window.
12129         * libnautilus-extensions/nautilus-preferences-dialog.c:
12130         (nautilus_preferences_dialog_construct):
12131         * src/file-manager/fm-icon-text-window.c:
12132         (create_icon_text_window):
12133         * src/nautilus-about.c: (nautilus_about_initialize):
12134         * src/nautilus-profiler.c: (dump_dialog_new):
12135         * src/nautilus-theme-selector.c:
12136         (nautilus_theme_selector_initialize):
12137         * src/file-manager/fm-properties-window.c:
12138         (fm_properties_window_initialize):
12139         Simple cases, just use nautilus_gtk_window_set_up_close_accelerator 
12140         so Control-w closes window.
12141         
12142         * src/nautilus-bookmarks-window.c: 
12143         (save_geometry_and_hide): New helper function, saves geometry
12144         before hiding window.
12145         (on_window_delete_event): Call save_geometry_and_hide; move
12146         other code into hide event handler since it should happen on
12147         every hide.
12148         (restore_geometry): Idle function to restore geometry after
12149         window is hidden (sounds strange, but that's the way it works).
12150         (on_window_hide_event): Do the every-hide work formerly done
12151         in delete_event handler; call restore_geometry at idle time
12152         because it must be called after window is hidden to work right.
12153         (on_window_destroy_event): remove idle handler in this case
12154         (only happens when Nautilus is exiting).
12155         (handle_close_accelerator), (set_up_close_accelerator):
12156         Similar to nautilus_gtk_window_ versions of these functions,
12157         but also handle saving the geometry before hiding.
12158         (create_bookmarks_window): Call set_up_close_accelerator;
12159         wire up "hide" and "destroy" events.
12160         
12161         * src/nautilus-property-browser.c:
12162         (nautilus_property_browser_delete_event_callback),
12163         (nautilus_property_browser_hide_callback): Move code that
12164         should run on "hide" from "delete_event" handler to "hide"
12165         handler; this didn't matter before when clicking was the only
12166         way to close the window.
12167         (nautilus_property_browser_initialize): Wire up "hide" handler;
12168         call nautilus_gtk_window_set_up_close_accelerator.
12170 2000-12-08  Pavel Cisler  <pavel@eazel.com>
12172         reviewed by: Gene Z. Ragan  <gzr@eazel.com>
12174         Fixed 5074: Should give a NULL description in cases where the mime
12175         type isn't known.
12177         * libnautilus-extensions/nautilus-file.c: (get_description):
12178         It is now an error for a MIME type to ever be NULL. Added an assert,
12179         removed a special case code for handling directories even when
12180         we do not know the mime type.
12181         
12182         Fixed 5073: old code to give type "program" for some files (unkown
12183         MIME type) is not triggering any more.
12185         * libnautilus-extensions/nautilus-file.c: (get_description):
12186         Changed the check that looked for an empty MIME string to a
12187         compare for a MIME type of "application/octet-stream".
12188         
12189         Fixed 5021: Create Link in View as List -> Nautilus Crashes.
12191         * src/file-manager/fm-directory-view.c:
12192         (fm_directory_view_create_links_for_files):
12193         This was just a broken assert that didn't cover the case of an
12194         empty drop point list.
12196         * libnautilus-extensions/nautilus-file.c:
12197         (nautilus_file_get_mime_type):  
12198         * libnautilus-extensions/nautilus-mime-actions.c:
12199         (is_known_mime_type):
12200         Use a symbolic name for "application/octet-stream".
12202 2000-12-08  Darin Adler  <darin@eazel.com>
12204         reviewed by: John Sullivan <sullivan@eazel.com>
12206         Fixed bug 2244 (trash window sidebar should have trash icon).
12208         * libnautilus-extensions/nautilus-icon-factory.c:
12209         (nautilus_icon_factory_get_icon_name_for_directory): Added code to
12210         give the trash its own icon.
12211         (nautilus_icon_factory_get_icon_for_file): Rearranged to simplify
12212         it a bit.
12213         
12214         * libnautilus-extensions/Makefile.am:
12215         * libnautilus-extensions/nautilus-trash-monitor.h:
12216         * libnautilus-extensions/nautilus-trash-monitor.c:
12217         Moved trash monitor to here.
12218         (nautilus_trash_files_changed_callback): Do nautilus_file_changed
12219         on the trash NautilusFile object when the state changes from full
12220         to empty or from empty to full.
12221         
12222         * src/file-manager/Makefile.am:
12223         * src/file-manager/nautilus-trash-monitor.h:
12224         * src/file-manager/nautilus-trash-monitor.c:
12225         Moved trash monitor from here.
12227         * src/file-manager/fm-desktop-icon-view.c:
12228         * src/file-manager/fm-directory-view.c:
12229         Changed includes to include trash monitor from new location.
12231         * libnautilus-extensions/nautilus-directory-metafile.c:
12232         (get_metadata_string_from_metafile),
12233         (get_metadata_list_from_metafile),
12234         (set_metadata_string_in_metafile), (set_metadata_list_in_metafile):
12235         Remove some dead code left over from handling of directory metadata.
12236         We don't have directory metadata any more, only file metadata.
12238 2000-12-08  Michael Engber  <engber@eazel.com>
12240         * libnautilus-extensions/nautilus-global-preferences.c:
12241         (global_preferences_register):
12242         * src/file-manager/fm-desktop-icon-view.c: (real_merge_menus):
12243         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
12244         * src/nautilus-application.c: (nautilus_application_startup),
12245         (desktop_changed_callback):
12246         * src/nautilus-application.h:
12247         * src/nautilus-main.c: (main):
12248         Remove command line args --start-desktop & --stop-desktop and the
12249         "Quit Nautilus Desktop" item from the desktop right click menu.
12250         Add the command line arg: --no-default-window. Default for the
12251         show desktop pref is now ON.
12253 2000-12-08  Darin Adler  <darin@eazel.com>
12255         reviewed by: John Sullivan <sullivan@eazel.com>
12257         * libnautilus-extensions/nautilus-icon-container.c:
12258         (nautilus_icon_container_initialize): Added FIXME about hard-coded
12259         font and size.
12260         (nautilus_icon_container_start_renaming_selected_item): Fix bug
12261         5078 by removing useless empty signal handlers.
12262         (end_renaming_mode): Fix bug 5079 by merging the remaining code
12263         from the old hide_rename_widget in after deleting some of it.
12264         This is more parallel with the start renaming function.
12265         * libnautilus-extensions/nautilus-icon-private.h: Removed the
12266         unused rename_editable field.
12267         
12268         * libnautilus-extensions/nautilus-icon-text-item.c:
12269         (iti_stop_editing): Now that the strange "persistent" editable is
12270         no longer used, restore the code used to destroy the editable when
12271         not editing. This also fixes a storage leak.
12272         (nautilus_icon_text_item_get_text): Change return type to const
12273         char * to make it clear it's not free-able.
12274         (nautilus_icon_text_item_get_renaming_editable): Change the
12275         return type to GtkEditable *.
12276         * libnautilus-extensions/nautilus-icon-text-item.h: Change
12277         return types of get_text and get_renaming_editable.
12278         
12279         * src/file-manager/fm-directory-view.c: (queue_pending_files),
12280         (filtering_changed_callback): Added FIXMEs about special cases
12281         for the desktop.
12282         * src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
12283         Improved wording of a comment.
12285 2000-12-08  Andy Hertzfeld  <andy@eazel.com>
12287         * src/nautilus-property-browser.c:
12288         (nautilus_property_browser_update_contents):
12289         fixed bug 5045, browser assumes categories end in 's', by removing
12290         the offending code, which wasn't used anyway.  fixed bug 5046,
12291         shouldn't upper-case category names, by casing out instead.
12292         
12293 2000-12-08  Darin Adler  <darin@eazel.com>
12295         reviewed by: Maciej Stachowiak <mjs@eazel.com>
12297         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
12298         (editable_key_press_event): Fixed bugs 5090 and 5091. The fix is
12299         not even compiled right now, but it was better to improve the code
12300         now -- we'll test when we enable it some day.
12302 2000-12-07  Maciej Stachowiak  <mjs@eazel.com>
12304         * components/services/startup/nautilus-view/.cvsignore: Remove
12305         file from this otherwise empty directory.
12307 2000-12-07  Rebecca Schulman  <rebecka@eazel.com>
12308         Bug numbers for the FIXMEs in libnautilus-extensions.
12309         
12310         * libnautilus-extensions/nautilus-customization-data.c:
12311         (format_name_for_display):
12312         * libnautilus-extensions/nautilus-directory-async.c:
12313         (dequeue_pending_idle_callback), (cancel_loading_attributes),
12314         (nautilus_directory_cancel_loading_file_attributes):
12315         * libnautilus-extensions/nautilus-directory.c:
12316         (nautilus_directory_handle_directory_moved),
12317         (nautilus_directory_notify_files_moved),
12318         (nautilus_self_check_directory):
12319         * libnautilus-extensions/nautilus-file-utilities.c:
12320         (nautilus_make_uri_canonical),
12321         (pthread_nautilus_read_file_thread_entry),
12322         (pthread_nautilus_read_file_async), (nautilus_read_file_cancel),
12323         (nautilus_self_check_file_utilities):
12324         * libnautilus-extensions/nautilus-file.c: (get_description),
12325         (nautilus_file_forget_attributes_internal):
12326         * libnautilus-extensions/nautilus-gdk-extensions.c:
12327         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
12328         * libnautilus-extensions/nautilus-icon-container.c:
12329         (nautilus_icon_container_start_renaming_selected_item):
12330         * libnautilus-extensions/nautilus-icon-dnd.c:
12331         (receive_dropped_uri_list):
12332         * libnautilus-extensions/nautilus-icon-factory.c:
12333         * libnautilus-extensions/nautilus-label.c:
12334         (nautilus_label_size_allocate), (label_recompute_line_geometries):
12335         * libnautilus-extensions/nautilus-merged-directory.c:
12336         (nautilus_merged_directory_add_real_directory):
12337         * libnautilus-extensions/nautilus-mime-actions.c:
12338         (nautilus_mime_get_default_application_for_file_internal):
12339         * libnautilus-extensions/nautilus-scalable-font.c:
12340         (nautilus_text_layout_paint):
12341         * libnautilus-extensions/nautilus-search-uri.c:
12342         (nautilus_self_check_search_uri):
12343         * libnautilus-extensions/nautilus-string.c:
12344         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
12345         (editable_key_press_event), (nautilus_undo_editable_set_undo_key):
12347 2000-12-07  Rebecca Schulman  <rebecka@eazel.com>
12348         Added bug numbers to FIXMEs for the src 
12349         subdirectory.  If I can stomach it,
12350         I'll try and do a few more today.
12352         * src/file-manager/fm-directory-view.c: (duplicate_callback),
12353         (check_for_directory_hard_limit), (load_directory):
12354         * src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading):
12355         * src/file-manager/fm-search-list-view.c: (load_error_callback),
12356         (real_adding_file):
12357         * src/nautilus-about.c: (nautilus_about_draw_info):
12358         * src/nautilus-first-time-druid.c: (druid_cancel),
12359         (druid_finished), (make_anti_aliased_label),
12360         (make_hbox_user_level_radio_button), (set_up_user_level_page),
12361         (next_update_page_callback), (initiate_file_download):
12362         * src/nautilus-link-set-window.c: (get_link_set_names):
12363         * src/nautilus-location-bar.c:
12364         (nautilus_location_bar_update_label):
12365         * src/nautilus-property-browser.c:
12366         (nautilus_property_browser_initialize), (add_reset_property),
12367         (make_properties_from_xml_node),
12368         (nautilus_property_browser_update_contents):
12369         * src/nautilus-sidebar-title.c:
12370         (nautilus_sidebar_title_background), (update_icon):
12371         * src/nautilus-view-frame.c:
12372         (nautilus_view_frame_set_to_component):
12373         * src/nautilus-window-manage-views.c:
12374         (window_set_title_with_timestamp), (viewed_file_changed_callback),
12375         (load_content_view), (change_state):
12376         * src/nautilus-window-service-ui.c: (goto_online_storage),
12377         (goto_software_catalog):
12378         * src/nautilus-window-toolbars.c: (set_up_throbber_frame_type):
12379         * src/nautilus-window.c: (nautilus_window_realize):
12380         * test/test-nautilus-font.c:
12382 2000-12-07  Andy Hertzfeld  <andy@eazel.com>
12384         * nautilus.spec.in:
12385         added nautilus-text-view files to spec file
12386         
12387         * src/nautilus-window-toolbars.c: (theme_changed_callback):
12388         fixed bug 4982, throbber mispositioned when theme changes,
12389         by toggling the toolbar's visibility when the theme changes
12390         
12391 2000-12-07  John Sullivan  <sullivan@eazel.com>
12393         reviewed by: Darin Adler <darin@eazel.com>
12395         Fixed bug 2230 (Search can find hidden files, which the user
12396         can't otherwise see)
12398         Unfortunately this fix leaves behind a related but harder-
12399         to-fix bug, bug 5029. I'll fix that separately.
12401         * src/file-manager/fm-directory-view.h:
12402         * src/file-manager/fm-directory-view.c:
12403         (fm_directory_view_should_show_file): New function, intended
12404         for subclasses, returns whether a single file should be
12405         displayed or not, based on user's filter preferences.
12407         * src/file-manager/fm-search-list-view.c: 
12408         (real_add_file): Use should_show_file to filter out files
12409         that don't match preferences. The normal directory-view
12410         mechanism doesn't work in this case due to the way
12411         the search view uses "fake" uris to pass around the
12412         search results.
12414 2000-12-07  Rebecca Schulman  <rebecka@eazel.com>
12415         Hopefully will improve performance for
12416         menu merging in a case where it is poor.
12417         (bug 5020)  Completely fixing the bug will
12418         involve some design changes in the way the
12419         clipboard works, though.
12421         reviewed by: John Sullivan <sullivan@eazel.com>
12422         (the additional bonobo freezes and thaws)
12424         * libnautilus/nautilus-clipboard.c:
12425         (merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items):
12426         Add freezes and thaws in hopes of improving performance here
12427         * src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
12428         Ditto
12430         * components/tree/nautilus-tree-view-dnd.c:
12431         (nautilus_tree_view_get_drop_action):
12432         * libnautilus-extensions/nautilus-user-level-manager.h:
12433         * src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
12434         * src/nautilus-switchable-search-bar.c:
12435         (nautilus_switchable_search_bar_set_mode):
12436         * src/nautilus-window-toolbars.c: (theme_changed_callback):
12437         Removed fixme comments in cases where the fixme has been
12438         fixed.
12440 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12442         Enabled the jump to next feature. This should be the last missing
12443         feature enabled that was lost during the brain salad surgery.
12445         * components/music/nautilus-music-view.c: (get_player_state):
12447 2000-12-07  Darin Adler  <darin@eazel.com>
12449         reviewed by: Pavel Cisler <pavel@eazel.com>
12451         * libnautilus-extensions/nautilus-search-uri.c: (parse_uri): Removed
12452         the *_suffix code. The change log said this would require data structure
12453         chagnges, but it didn't. Just deleting the code.
12454         (nautilus_self_check_search_uri): Fix test cases that were causing
12455         "make check" and Tinderbox to fail, added FIXMES.
12457 2000-12-07  Robin * Slomkowski  <rslomkow@eazel.com>
12459         * nautilus.spec.in: OK this time I really will remove nautilus-mpg123
12461 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12463         Fixed bug 4996, Repeatedly pressing pause "Pause" crashes music view
12465         * components/music/mpg123.c: (mpg123_pause):
12466         * components/music/mpg123.h:
12467         * components/music/nautilus-music-view.c: (go_to_previous_track),
12468         (play_button_callback), (pause_button_callback):
12469         Fixed pause and added some logic to avoid redundant calls.
12471 2000-12-07 Rebecca Schulman  <rebecka@eazel.com>
12472         Changes to fix bugs 2341, to match the sidebar
12473         to Arlo's design for search results, and 3488
12474         that the human readable description of search
12475         results ends in a period.
12477         reviewed by: Maciej Stachowiak <mjs@eazel.com>
12479         * libnautilus-extensions/nautilus-search-uri.c:
12480         (get_nth_criterion_suffix):
12481         Remove "." from this function.  Eventually,
12482         this function should be deprecated, but it will
12483         require some data structure changes, so I left a
12484         FIXME and an associated bug 5019.
12485         * src/file-manager/fm-search-list-view.c: (load_location_callback):
12486         Set the search results title to be "Search Results" instead of
12487         the human readable description
12488         * src/nautilus-sidebar-title.c: (file_is_search),
12489         (update_more_info):
12490         Special case search uri's for the "more_info" part
12491         of the sidebar to be in accordance with Arlo's design.
12492         This is an annoying way of doing things, but until
12493         a better framework is in place, John Sullivan and 
12494         I agreed this was ok to do for now.
12496 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12498         Fixed bug 4679, Double clicking on an MP3 in music view should play it
12500         * components/music/nautilus-music-view.c: (selection_callback):
12501         Check for double click and play if one is detected.
12503 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12505         Some clean up and another attempt to fix tinderbox.
12506         
12507         * components/music/Makefile.am:
12508         * components/music/esd-audio.c: (esdout_close):
12509         * components/music/nautilus-music-view.c: (selection_callback),
12510         (play_button_callback):
12512 2000-12-07  John Sullivan  <sullivan@eazel.com>
12514         reviewed by: Darin Adler <darin@eazel.com>
12516         Fixed bug 3926 (summary view uses non-standard anti-aliased
12517         text in error dialogs)
12519         Fixed unreported bug where closing the summary view error
12520         dialog with close box would leave user at gray screen.
12522         * components/services/summary/nautilus-view/nautilus-summary-view.c:
12523         (get_window_from_summary_view): Split this out from set_dialog_parent
12524         so I could also use it in a different context.
12525         (set_dialog_parent): Now calls get_window_from_summary_view.
12526         (generate_error_dialog): Now just calls nautilus_error_dialog instead
12527         of doing a bunch of custom code to set up an anti-aliased text error
12528         dialog. After we get the anti-aliased text preference to work on
12529         NautilusLabel, we can consider changing nautilus_error_dialog and
12530         friends to use it everywhere, but it doesn't make sense for error 
12531         dialogs only in this one place to look different from all others.
12532         Also, connected error_dialog_cancel_cb to the "destroy" signal
12533         instead of just to the OK button, so that closing the dialog with
12534         the close box will have the same effect as the OK button.
12536 2000-12-07  Andy Hertzfeld  <andy@eazel.com>
12538         * components/text/nautilus-text-view.c:
12539         (nautilus_text_view_initialize), (add_one_service),
12540         (update_service_menu_items), (merge_bonobo_menu_items):
12541         fixed problem with "command/verb separation", and added support
12542         for the clipboard to the text view.
12544         * nautilus-clean.sh:
12545         added nautilus-text-view to nautilus-clean.sh
12546         
12547         * data/emblems/Makefile.am:
12548         * data/emblems/danger.png:
12549         * icons/Makefile.am:
12550         * icons/emblem-danger.svg:
12551         added danger emblem from Susan
12552         
12553         * icons/i-executable.png:
12554         * icons/i-executable-aa.png:    
12555         fixed bug 4691, executable icon looks like KDE icon, by using
12556         a new icon from Susan
12557         
12558         * src/file-manager/fm-icon-view.c:
12559         (icon_container_preview_callback):
12560         fixed bug 4926, Nautilus tries to preview realaudio files but
12561         can't, by special casing the realaudio mime type.  Also, cleaned
12562         things up a little by removing redundant is_local call.
12563         
12564 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12566         Fixed bug 954, Plays two MP3s at once instead of one at a time
12568         This was caused by playback not being stopped when a new uri
12569         was being loaded. We now stop playback when a new uri is loaded.
12571         * components/music/nautilus-music-view.c:
12572         (nautilus_music_view_update), (nautilus_music_view_load_uri):
12574 2000-12-07  Darin Adler  <darin@eazel.com>
12576         reviewed by: John Sullivan <sullivan@eazel.com>
12578         Fixed bug 3245 (When an empty folder is visited, the throbbing
12579         never stops), bug 2540 (Hook up done_loading signal in
12580         NautilusMergedDirectory?), and bug 3067 (throbber doesn't start
12581         again if you do a new "underway" call after load is complete).
12583         * src/file-manager/fm-directory-view.c: (queue_pending_files):
12584         Get rid of code that uses nautilus_directory_are_all_files_seen
12585         to notice we are done loading.
12586         (done_loading_callback): Use done_loading signal to notice we
12587         are done loading.
12588         (finish_loading_uri): Connect to the done_loading signal.
12589         (disconnect_model_handlers): Disconnect from the done_loading
12590         signal.
12591         
12592         * libnautilus-extensions/nautilus-merged-directory.c:
12593         (done_loading_callback),
12594         (nautilus_merged_directory_add_real_directory),
12595         (nautilus_merged_directory_remove_real_directory): Add code to
12596         track all the trash directories and emit done_loading signals
12597         once all of them are done loading.
12598         
12599         * src/nautilus-window-manage-views.c: (change_state): Turn the
12600         stop and the throbber back on when a view re-marks itself
12601         underway.
12602         
12603         * libnautilus-extensions/nautilus-drag.c:
12604         (nautilus_drag_file_receive_dropped_keyword): Fix storage leak by
12605         doing a free_deep on the list of keywords.
12606         
12607         * libnautilus-extensions/nautilus-file-operations.h:
12608         * libnautilus-extensions/nautilus-file-operations.c:
12609         Get rid of excess includes.
12610         
12611         * libnautilus-extensions/nautilus-icon-dnd.c: Get rid of unused
12612         ERASE_KEYWORD constant.
12613         
12614         * src/nautilus-window.c: (nautilus_window_constructed): Fix a
12615         typo in a comment.
12617 2000-12-07  Gene Z. Ragan  <gzr@eazel.com>
12619         Add header files to Makefile.am to make tinderbox happy.
12621         * components/music/Makefile.am:
12622         * components/music/mp3head.h:
12623         Put a header guard define in file.
12625 2000-12-07  Robey Pointer  <robey@eazel.com>
12627         * components/services/trilobite/helper/README:
12628         Update the eazel-helper README to be more current than July.  Tell
12629         readers about the softlinks and tell them that eazel-hacking does
12630         this for you now.
12632 2000-12-06  Mike Fleming  <mfleming@eazel.com>
12634         reviewed by: Pavel Cisler <pavel@eazel.com>
12636         * libnautilus-extensions/nautilus-file-operations.c:
12637         (handle_new_folder_vfs_error), (new_folder_xfer_callback),
12638         (nautilus_file_operations_new_folder):
12640         bugzilla.eazel.com 3940
12641         "DAV: Creating folder in read-only directory does not produce error feedback"
12643         Added an error dialog for the case where gnome-vfs-xfer reports an
12644         error during directory creation.  This case is only commonly
12645         encountered in remote filesystems where Nautilus can't check
12646         permissions before operations.  (Similar behaviour to 3940 applied
12647         to FTP as well).
12649 2000-12-06  Gene Z. Ragan  <gzr@eazel.com>
12651         Changes in the music view to use a threaded file reader
12652         and threaded audio output mechanism.  Modified the xmms
12653         engine to be used as the mp3 engine that the view uses.
12654         Removed the use of stored proc IDs as the mechanism to 
12655         determine if the view is currently in the process of
12656         playing a file.
12657         
12658         * components/music/Makefile.am:
12659         * components/music/common.c: (fullread), (stream_init),
12660         (stream_rewind), (mpg123_stream_close), (stream_head_read),
12661         (stream_head_shift), (stream_mpg123_read_frame_body),
12662         (stream_back_bytes), (mpg123_stream_jump_to_frame),
12663         (mpg123_stream_jump_to_byte),
12664         (mpg123_stream_check_for_xing_header), (stream_init),
12665         (mpg123_stream_close), (stream_head_read), (stream_head_shift),
12666         (stream_mpg123_read_frame_body), (mpg123_stream_jump_to_frame),
12667         (mpg123_stream_jump_to_byte),
12668         (mpg123_stream_check_for_xing_header), (get_fileinfo),
12669         (mpg123_read_frame_init), (read_id3v2_tag), (mpg123_head_check),
12670         (mpg123_read_frame), (mpg123_decode_header), (mpg123_open_stream),
12671         (mpg123_set_pointer), (mpg123_compute_bpf),
12672         (mpg123_calc_numframes):
12673         * components/music/configure.c: (mpg123_configurewin_ok),
12674         (auto_select_cb), (use_3dnow_cb), (use_fpu_cb), (proxy_use_cb),
12675         (proxy_auth_use_cb), (streaming_save_dirbrowser_cb),
12676         (streaming_save_browse_cb), (streaming_save_use_cb),
12677         (title_id3_use_cb), (configure_destroy), (mpg123_configure):
12678         * components/music/dct64.c: (mpg123_dct64):
12679         * components/music/dct64_i386.c: (mpg123_dct64_1), (mpg123_dct64):
12680         * components/music/decode_2to1.c: (mpg123_synth_2to1_8bit),
12681         (mpg123_synth_2to1_8bit_mono),
12682         (mpg123_synth_2to1_8bit_mono2stereo), (mpg123_synth_2to1_mono),
12683         (mpg123_synth_2to1_mono2stereo), (mpg123_synth_2to1):
12684         * components/music/decode_4to1.c: (mpg123_synth_4to1_8bit),
12685         (mpg123_synth_4to1_8bit_mono),
12686         (mpg123_synth_4to1_8bit_mono2stereo), (mpg123_synth_4to1_mono),
12687         (mpg123_synth_4to1_mono2stereo), (mpg123_synth_4to1):
12688         * components/music/decode_i386.c: (mpg123_synth_1to1_8bit),
12689         (mpg123_synth_1to1_8bit_mono),
12690         (mpg123_synth_1to1_8bit_mono2stereo), (mpg123_synth_1to1_mono),
12691         (mpg123_synth_1to1_mono2stereo), (mpg123_synth_1to1):
12692         * components/music/decode_ntom.c: (mpg123_synth_ntom_set_step),
12693         (mpg123_synth_ntom_8bit), (mpg123_synth_ntom_8bit_mono),
12694         (mpg123_synth_ntom_8bit_mono2stereo), (mpg123_synth_ntom_mono),
12695         (mpg123_synth_ntom_mono2stereo), (mpg123_synth_ntom):
12696         * components/music/dxhead.c: (ExtractI4), (mpg123_get_xing_header),
12697         (mpg123_seek_point):
12698         * components/music/dxhead.h:
12699         * components/music/esd-audio.c: (esdout_init), (get_latency),
12700         (esd_stou8), (esd_utos16sw), (esd_utos16), (esd_16sw),
12701         (esdout_setup_format), (esdout_get_written_time),
12702         (esdout_get_output_time), (esdout_used), (esdout_playing),
12703         (esdout_free), (esdout_write_audio), (esdout_write),
12704         (esdout_close), (esdout_flush), (esdout_pause), (esdout_loop),
12705         (esdout_set_audio_params), (esdout_open):
12706         * components/music/esd-audio.h:
12707         * components/music/esd-mixer.c: (esdout_get_volume),
12708         (esdout_set_volume):
12709         * components/music/fileinfo.c: (set_entry_tag), (get_entry_tag),
12710         (find_genre_id), (genre_comp_func), (save_cb), (label_set_text),
12711         (remove_id3_cb), (set_mpeg_level_label), (channel_mode_name),
12712         (file_info_http), (mpg123_file_info_box):
12713         * components/music/getbits.c: (check_buffer_range),
12714         (mpg123_backbits), (mpg123_getbitoffset), (mpg123_getbyte),
12715         (mpg123_getbits), (mpg123_getbits_fast), (mpg123_get1bit):
12716         * components/music/getbits.h:
12717         * components/music/huffman.h:
12718         * components/music/id3.c: (id3_seek_mem), (id3_read_mem),
12719         (id3_seek_fd), (id3_read_fd), (id3_seek_fp), (id3_read_fp),
12720         (id3_open_mem), (id3_open_fd), (id3_open_fp), (id3_close),
12721         (id3_tell), (id3_alter_file), (safe_write), (id3_write_tag):
12722         * components/music/id3.h:
12723         * components/music/id3_frame.c: (id3_read_frame), (id3_get_frame),
12724         (id3_decompress_frame), (id3_delete_frame), (id3_add_frame):
12725         * components/music/id3_frame_content.c: (id3_get_content):
12726         * components/music/id3_frame_text.c: (id3_get_encoding),
12727         (id3_set_encoding), (id3_get_text), (id3_get_text_desc),
12728         (id3_get_text_number), (id3_set_text), (id3_set_text_number):
12729         * components/music/id3_frame_url.c: (id3_get_url),
12730         (id3_get_url_desc):
12731         * components/music/id3_header.h:
12732         * components/music/id3_tag.c: (id3_init_tag), (id3_read_tag):
12733         * components/music/l2tables.h:
12734         * components/music/layer1.c: (I_step_one), (I_step_two),
12735         (mpg123_do_layer1):
12736         * components/music/layer2.c: (mpg123_init_layer2), (II_step_one),
12737         (II_step_two), (II_select_table), (mpg123_do_layer2):
12738         * components/music/layer3.c: (mpg123_init_layer3),
12739         (III_get_side_info), (III_get_scale_factors_1),
12740         (III_get_scale_factors_2), (III_dequantize_sample), (III_i_stereo),
12741         (III_antialias), (dct36), (dct12), (III_hybrid),
12742         (mpg123_do_layer3):
12743         * components/music/mpg123.c: (mpg123_compute_tpf),
12744         (set_mpg123_synth_functions), (mpg123_init), (convert_to_header),
12745         (play_frame), (get_id3_genre), (mpg123_strip_spaces), (extname),
12746         (eval_id3_format), (mpg123_id3v1_to_id3v2),
12747         (mpg123_format_song_title), (mpg123_get_id3v2), (get_song_title),
12748         (get_song_time), (get_song_info), (decode_loop),
12749         (mpg123_play_file), (mpg123_stop), (mpg123_seek), (mpg123_pause),
12750         (get_time):
12751         * components/music/mpg123.h:
12752         * components/music/mpg123_handler.c:
12753         * components/music/mpg123_handler.h:
12754         * components/music/nautilus-music-view.c:
12755         (nautilus_music_view_initialize), (nautilus_music_view_destroy),
12756         (selection_callback), (update_play_controls_status),
12757         (play_status_display), (play_current_file), (stop_if_playing),
12758         (go_to_next_track), (go_to_previous_track), (play_button_callback),
12759         (stop_button_callback), (pause_button_callback),
12760         (slider_moved_callback), (slider_release_callback),
12761         (add_play_controls), (nautilus_music_view_update),
12762         (nautilus_music_view_drag_data_received), (start_playing_file),
12763         (stop_playing_file), (get_player_state), (set_player_state):
12764         * components/music/tabinit.c: (mpg123_make_decode_tables),
12765         (mpg123_make_conv16to8_table):
12767 2000-12-06  Darin Adler  <darin@eazel.com>
12769         reviewed by: John Sullivan <sullivan@eazel.com>
12771         Fixed bug 4992 ("New folder" menu item enable state doesn't follow
12772         permissions), bug 4965 (Dragging multiple items to location bar
12773         crashes Nautilus), and bug 4995 (Rename a file to bad name ->
12774         error cites wrong filename).
12776         Fixed a bug jsh spotted where we were doing the mod. time checks
12777         wrong in the icon factory for thumbnails.
12779         Did some wording fixes after menthos pointed out some problems.
12781         * libnautilus-extensions/nautilus-icon-factory.c:
12782         (get_cache_time): Split out this function to get the mtime of a
12783         file so we can check when it changed.
12784         (load_specific_icon): Get the time when loading an icon.
12785         (scale_icon): Copy the time when making a scaled icon from an
12786         existing icon.
12787         (remove_icons_if_file_changed): New renamed function uses
12788         get_cache_time to check if the icon needs recomputing because of a
12789         change in the underlying file.
12790         (get_icon_from_cache): Call the new remove_icons_if_file_changed.
12791         (load_icon_with_embedded_text): Copy the time when making an icon
12792         with text from an existing icon.
12793         
12794         * libnautilus-extensions/nautilus-file-attributes.h: Added
12795         ATTRIBUTE_CAPABILITIES (and sorted in alphabetical order).
12796         * libnautilus-extensions/nautilus-directory-async.c:
12797         (nautilus_directory_set_up_request): Changed the name of this,
12798         made it public, and added ATTRIBUTE_CAPABILITIES as another
12799         way to ask for the file info.
12800         (cancel_loading_attributes),
12801         (nautilus_directory_cancel_loading_file_attributes): Set up a
12802         request and use it to decide what to cancel.
12803         * libnautilus-extensions/nautilus-directory-private.h: Moved the
12804         request structure and call into here so it can be used by
12805         NautilusFile and NautilusDirectory both.
12806         * libnautilus-extensions/nautilus-file.c:
12807         (nautilus_file_forget_attributes_internal): Set up a request and
12808         use it to decide what to forget.
12809         (nautilus_file_forget_all_attributes): Add ATTRIBUTE_CAPABILITIES
12810         to the set of things in "all".
12811         
12812         * src/file-manager/fm-directory-view.c:
12813         (check_for_directory_hard_limit): Added a FIXME and made some
12814         minor wording improvements.
12815         (file_changed_callback): Helper to schedule a menu update when
12816         the directory's NautilusFile reports a change.
12817         (load_directory): Add monitoring of the directory's "capabilities"
12818         since they affect whether "New Folder" is allowed. Fixes 4992.
12819         (disconnect_handler): Helper for the two functions below.
12820         (disconnect_directory_handler): Disconnect a NautilusDirectory
12821         handler.
12822         (disconnect_directory_as_file_handler): Disconnect a NautilusFile
12823         handler.
12824         (disconnect_model_handlers): Add code to stop monitoring the
12825         directory's "capabilities".
12826         
12827         * src/file-manager/fm-error-reporting.c:
12828         (fm_report_error_renaming_file): Got rid of some unneeded "\n"
12829         characters. Improved the error message in the "/"-forbidden case
12830         with a specific special case message and the proper file name (was
12831         using the old file name, not the new one). Fixes 4995.
12832         (fm_rename_file): Added quotes to message.
12833         
12834         * src/nautilus-location-bar.h: Removed unused fields.
12835         * src/nautilus-location-bar.c: (nautilus_location_bar_get_window):
12836         Find the window by looking for an ancestor instead of trying to
12837         use gtk_object_get_data (on data no one was setting any
12838         more!). Fixes 4965.
12839         (nautilus_location_bar_initialize): Got rid of redundant
12840         initialization to NULL.
12841         (nautilus_location_bar_set_location): Got rid of gratuitous check
12842         before calling g_free.
12843         (nautilus_location_bar_update_label): Added a localization-related
12844         FIXME here.
12845         
12846         * libnautilus-extensions/nautilus-file-operations.c:
12847         (handle_xfer_vfs_error): Corrected the "it's" to "its" even though
12848         I know that John and Pavel were writing an improved version of the
12849         entire message.
12851         * libnautilus-extensions/nautilus-search-uri.c:
12852         (get_translated_criterion), (nautilus_self_check_search_uri): Say
12853         "folder" instead of "directory".
12854         * src/nautilus-search-bar-criterion.c: Say "folder" instead of
12855         "directory".
12856         * src/nautilus-theme-selector.c: (add_theme_to_icons): Say
12857         "folder" instead of "directory". Other minor wording improvements.
12858         (make_theme_description): Minor wording improvement.
12859         
12860         * src/nautilus-window-manage-views.c:
12861         (window_set_title_with_timestamp): Added a FIXME.
12863 2000-12-06  John Sullivan  <sullivan@eazel.com>
12865         reviewed by: Pavel Cisler <pavel@eazel.com>
12867         Addressed bug 4208 (Opening new window is slow)
12869         Pavel identified the 2nd biggest performance bottleneck in
12870         opening a new window (1st being tree view) as the code that
12871         sets up the bookmark menus. I found some good speedups; time
12872         to profile again.
12874         * libnautilus-extensions/nautilus-bookmark.c:
12875         (bookmark_file_changed_callback): nautilus_uris_match returns
12876         a gboolean, not a strcmp-style int. Doh! Sense of test was
12877         reversed, causing many unnecessary rebuild-bookmarks-menus.
12878         
12879         * src/nautilus-window-menus.c: 
12880         (append_static_bookmarks), (refresh_bookmarks_menu): Wrapped
12881         some Bonobo-ui-manipulating code with freeze/thaw; this speeds
12882         up rebuild-bookmarks_menu by an order of magnitude or so.
12884         Fixed bug 4334: (Icon name being edited can get separated
12885         from icon on restore-original-size)
12887         * libnautilus-extensions/nautilus-icon_container.c:
12888         (nautilus_icon_container_move_icon): End renaming mode
12889         if icon being renamed is moved.
12891 2000-12-06  Rebecca Schulman  <rebecka@eazel.com>
12893         * libnautilus-extensions/nautilus-search-uri.c:
12894         Remove a comment about a FIXME that is fixed.
12896 2000-12-06  Michael Engber  <engber@eazel.com>
12898         * src/nautilus-sidebar-title.c: (appearance_changed_callback),
12899         (realize_callback), (nautilus_sidebar_title_initialize),
12900         (nautilus_sidebar_title_background),
12901         (nautilus_sidebar_title_select_text_color):
12902         Hookup sidebar_title to their background's appearance_changed
12903         signals so that the text can adjust color to match the
12904         background being light or dark - bug 4991.
12906 2000-12-06  J Shane Culpepper  <pepper@eazel.com>
12908         * components/services/trilobite/libtrilobite/Makefile.am:
12909         * components/services/trilobite/libtrilobite/libtrilobite.h:
12911         Backing out rpm evil until the abstractions can be fixed correctly.
12913 2000-12-06  J Shane Culpepper  <pepper@eazel.com>
12915         * components/services/trilobite/libtrilobite/trilobite-inventory-ut
12916         ils.c: (add_info), (str_has_prefix):
12918         One more quick fix for the build.  Didn't want to make trilobite
12919         depend on libnautilus-extensions.
12921 2000-12-06  Rebecca Schulman  <rebecka@eazel.com>
12922         This should complete the rest of the work for bug 3920,
12923         by added a message in the status bar about what 
12924         search results will appear (only those files indexed as 
12925         of the last index time) 
12927         reviewed by: Maciej Stachowiak <mjs@eazel.com>
12929         * src/file-manager/fm-search-list-view.c: (load_location_callback):
12930         Add a status message
12931         
12932         * src/file-manager/nautilus-indexing-info.c:
12933         * src/file-manager/nautilus-indexing-info.h:
12934         (nautilus_indexing_info_get_last_index_time),
12935         (show_reindex_request_information):
12936         Changed get_last_index_time to 
12937         nautilus_indexing_info_get_last_index_time
12938         to share the code with the search list view
12940         * src/nautilus-window.c:
12941         Upped the status bar timeout for 5 seconds to 10.
12943 2000-12-06  J Shane Culpepper  <pepper@eazel.com>
12945         * components/services/trilobite/libtrilobite/Makefile.am:
12947         Fixing the build.  Adding the temporary dep to rpmlib.
12949 2000-12-06  J Shane Culpepper  <pepper@eazel.com>
12951         * components/services/trilobite/libtrilobite/Makefile.am:
12952         * components/services/trilobite/libtrilobite/libtrilobite.h:
12953         * components/services/trilobite/libtrilobite/trilobite-inventory-ut
12954         ils.c: (add_package_info), (read_proc_info), (add_info),
12955         (add_io_info), (add_hardware_info),
12956         (trilobite_synchronize_configuration_metafile),
12957         (trilobite_update_configuration_metafile),
12958         (trilobite_create_configuration_metafile):
12959         * components/services/trilobite/libtrilobite/trilobite-inventory-ut
12960         ils.h:
12962         Adding basic inventory collection funtions to trilobite.  Still needs
12963         the rpm abstraction in order to work on RH7.
12965 2000-12-06  John Sullivan  <sullivan@eazel.com>
12967         reviewed by: Darin Adler <darin@eazel.com>
12969         Fixed bug 4994 (Back and Forward tool bar buttons don't respect
12970         "no label" gnomecc option)
12972         * src/nautilus-window-toolbars.c: (set_up_special_bonobo_button):
12973         Set initial labels-or-not state based on global preference. This
12974         is an imperfect solution because it only partially matches the
12975         logic used by the Bonobo standard button mechanism, but the
12976         remaining symptoms are very minor (see bug 5005).
12978 2000-12-06  Eskil Heyn Olsen  <eskil@eazel.com>
12980         * nautilus.spec.in:
12981         Added the new libs to the spec, so tinderbox can build again.
12983 2000-12-06 John Fleck <jfleck@inkstain.net>
12985         reviewed by  Ali Abdin  <aliabdin@aucegypt.edu>
12986         * components/help/converters/gnome-db2html2/sect-preparse.c:
12987         fixing memory leak
12989 2000-12-06  Eskil Heyn Olsen  <eskil@eazel.com>
12991         * components/services/install/lib/eazel-install-query.c:
12992         killed
12993         
12994         * components/services/trilobite/libtrilobite/trilobite-root-helper.
12995         c: (trilobite_root_helper_run_program):
12996         Replaced the g_assert with g_warning and a continue;
12998         * po/POTFILES.in:
12999         Updated for all the new stuff in eazel-install
13001 2000-12-06 Eskil Heyn Olsen  <eskil@eazel.com>
13003         * components/rpmview/Makefile.am:
13004         Needs to link with eazelpackagesystem now.
13005         
13006         * components/services/install/command-line/Makefile.am:
13007         Build eazel-test-types.
13008         
13009         * components/services/install/command-line/eazel-alt-install-corba.
13010         c: (eazel_download_progress_signal),
13011         (eazel_install_progress_signal), (something_failed), (dep_check):
13012         Nicer output.
13013         
13014         * components/services/install/command-line/eazel-test-packsys.c:
13015         (test_package_load), (main):
13016         Moved the packagelist_prun test into eazel-test-types. Also
13017         relaxed the test of uninstall (doesn't require progress signals
13018         now).
13019         
13020         * components/services/install/command-line/eazel-test-types.c:
13021         (make_package), (test_packagelist_prune),
13022         (test_eazel_install_package_matches_versioning), (main):
13023         Test packagedatalist_prune and the new ugly func for testing
13024         version-minor match.
13025         
13026         * components/services/install/lib/Makefile.am:
13027         Do compile eazel-install-query.c anymore.
13028         
13029         * components/services/install/lib/eazel-install-protocols.c:
13030         (eazel_install_fetch_package):
13031         * components/services/install/lib/eazel-install-public.h:
13032         * components/services/install/lib/eazel-install-rpm-glue.c:
13033         (packagedata_new_from_rpm_conflict),
13034         (packagedata_new_from_rpm_conflict_reversed),
13035         (eazel_install_do_rpm_dependency_check):
13036         * components/services/install/lib/eazel-install-logic.h:
13037         * components/services/install/lib/eazel-install-object.c:
13038         (eazel_install_finalize), (eazel_install_set_arg),
13039         (eazel_install_class_initialize), (eazel_install_initialize),
13040         (eazel_install_install_packages),
13041         (eazel_install_uninstall_packages),
13042         (eazel_install_revert_transaction_from_xmlstring),
13043         (eazel_install_query_package_system),
13044         (eazel_install_get_size_increasement),
13045         (eazel_install_emit_preflight_check):
13046         * components/services/install/lib/eazel-install-private.h:
13047         * components/services/install/lib/eazel-install-logic.c:
13048         (install_packages), (eazel_install_download_packages),
13049         (eazel_install_check_for_file_conflicts),
13050         (eazel_install_do_install_packages), (uninstall_all_packages),
13051         (uninstall_packages), (get_total_size_of_packages),
13052         (eazel_install_start_signal), (eazel_install_end_signal),
13053         (eazel_install_progress_signal), (eazel_install_failed_signal),
13054         (eazel_install_start_transaction),
13055         (eazel_install_check_existing_packages),
13056         (eazel_install_fetch_dependencies),
13057         (eazel_install_do_dependency_check),
13058         (eazel_uninstall_upward_traverse),
13059         (eazel_uninstall_downward_traverse),
13060         (eazel_uninstall_check_for_install):
13061         Fixes bug 4936, use EazelPackageSystem in EazelInstall.
13063         * components/services/install/lib/eazel-install-problem.c:
13064         (problem_step_foreach_remove),
13065         (eazel_install_problem_tree_to_case),
13066         (eazel_install_problem_handle_cases):
13067         Slammed some ifdef EIP_DEBUG around some debug.
13068         
13069         * components/services/install/lib/eazel-install-types.h:
13070         * components/services/install/lib/eazel-install-types.c:
13071         (eazel_install_package_matches_versioning):
13072         New funky match function. Since I needed the same check two
13073         places, I moved it into a generel function.
13074         Also cut out all the rpmload code.
13075         
13076         * components/services/install/lib/eazel-package-system-rpm3.c:
13077         (monitor_rpm_process_pipe), (rpm_packagedata_fill_from_rpm_header),
13078         (eazel_package_system_rpm3_load_package),
13079         (eazel_package_system_rpm3_query_impl),
13080         (eazel_package_system_rpm3_query_requires),
13081         (eazel_package_system_rpm3_query_foreach),
13082         (monitor_subcommand_pipe), (eazel_package_system_rpm3_execute),
13083         (check_if_all_packages_seen),
13084         (eazel_package_system_rpm3_install_uninstall):
13085         Fixed 4914. And also added the use of the packages_seen in
13086         piggyback.
13087         
13088         * components/services/install/lib/eazel-package-system.h:
13089         * components/services/install/lib/eazel-package-system-private.h:
13090         * components/services/install/lib/eazel-package-system.c:
13091         (eazel_package_system_is_installed),
13092         (eazel_package_system_emit_start),
13093         (eazel_package_system_emit_progress),
13094         (eazel_package_system_emit_failed),
13095         (eazel_package_system_emit_end):
13096         Added const to all the signal emitters.
13097         Added the is_installed call.
13098         
13099         * components/services/install/nautilus-view/Makefile.am:
13100         Link against eazelpackagesystem
13101         
13102         * components/services/install/server/Makefile.am:
13103         Link against eazelpackagesystem
13105         * components/services/trilobite/libtrilobite/trilobite-core-distrib
13106         ution.h:
13107         Added a documentational comment.
13108         
13109         * components/services/trilobite/libtrilobite/trilobite-root-helper.
13110         c: (trilobite_root_helper_run_program):
13111         Added an api g_assert that I ran into (no element in args may be null).
13113 2000-12-06  Ramiro Estrugo  <ramiro@eazel.com>
13115         * src/file-manager/fm-search-list-view.c: (load_error_callback):
13116         Remove the extra not needed ", NULL" from this g_strdup_printf call.
13117         
13118 2000-12-06  Robey Pointer  <robey@eazel.com>
13120         * components/services/install/lib/eazel-softcat.c:
13121         (gnome_vfs_escape_string):
13123         Fixed a dumb url-quoting error that resulted in "hilarious"
13124         quoting flubs.
13125         
13126         * components/services/install/nautilus-view/nautilus-service-instal
13127         l-view.c: (nautilus_service_install_done):
13129         Never return to the summary-view page after completion now: let
13130         the user do their own navigation.
13131         
13132         * nautilus-installer/src/callbacks.c: (log_debug),
13133         (reply_callback), (ask_to_delete_rpms), (ask_are_you_sure),
13134         (druid_cancel), (begin_install), (druid_finish):
13135         * nautilus-installer/src/installer.c: (start_over),
13136         (insert_info_page), (get_detailed_errors_foreach),
13137         (get_detailed_errors), (install_failed), (uninstall_failed),
13138         (download_failed), (eazel_installer_post_install),
13139         (draw_splash_text), (eazel_installer_set_default_texts),
13140         (eazel_installer_initialize):
13142         Ask if the user wants to delete the RPMs after a successful
13143         install, and ask for verification when they hit the "cancel"
13144         button.  Eliminate a redundant cancel callback that caused double
13145         vision.  Restore the error dialog's AWOL title (?).  Turn off that
13146         damn checkbox for now (can turn it on later if anyone makes an
13147         installer PR2.1).
13149 John Fleck <jfleck@inkstain.net>
13151         reviewed by: Ali Abdin <ailabdin@aucegypt.edu>
13152         
13153         * components/help/converters/gnome-db2html2/gdb3html.h,
13154           sect-preparse.c, toc-elements.c: completes support for
13155           glossaries in the Gnome help system. Fixes bug #2349
13157 2000-12-05  John Sullivan  <sullivan@eazel.com>
13159         reviewed by: Darin Adler <darin@eazel.com>
13161         Fixed bug 3355 (No "New Window" menu item in right-click menu)
13163         * src/nautilus-shell-ui.xml: Added "New Window" to
13164         right-click context menu (that appears in directory views)
13166 2000-12-05  John Sullivan  <sullivan@eazel.com>
13168         reviewed by: Pavel Cisler <pavel@eazel.com>
13170         Fixed bug 4986 (Open in <n> new windows disabled) 
13172         * src/file-manager/fm-directory-view.c: (real_update_menus):
13173         An == should have been a !=
13175         Fixed bug 3510 (The Back and Forward right-click menus are
13176         missing)
13178         * src/nautilus-shell-ui.xml: Replaced toolitem nodes for
13179         "Back" and "Forward" with control nodes for their wrappers.
13180         Have to do a lot of stuff manually for non-standard Bonobo
13181         buttons.
13182         
13183         * src/nautilus-window-private.h: Store back_button_item and
13184         forward_button_item in details.
13185         
13186         * src/nautilus-window-toolbars.c: 
13187         Removed #ifdef UIH brackets around right-click menu code.
13188         (get_back_button), (get_forward_button): Helper functions to
13189         get the GtkButton widgets from the stored BonoboUIToolbarButtonItems.
13190         (back_or_forward_button_pressed_callback): Renamed from ..._clicked_...,
13191         since it's a handler for button_press_event. Compare for Back or
13192         Forward button a newfangled way.
13193         (back_or_forward_button_clicked_callback): New function, callback
13194         from button's "clicked" handler now that Bonobo doesn't handle this
13195         for us.
13196         (get_file_name_from_icon_name): New function extracted from
13197         set_up_button; gets the full file path from the leaf icon "name".
13198         (set_up_standard_bonobo_button): Renamed from "set_up_button",
13199         now calls get_file_name_from_icon_name.
13200         (get_pixbuf_for_xml_node): New function, calls Bonobo utility code
13201         to get the pixbuf from an xml button node.
13202         (set_up_special_bonobo_button): New function, parallel to
13203         set_up_standard_bonobo_button but handles the case where you have
13204         a BonoboUIToolbarButtonItem in hand.
13205         (set_up_toolbar_images): Call set_up_special_bonobo_button for the
13206         Back and Forward items; put the bonobo freeze/thaw here instead of
13207         where it was before in set_up_button.
13208         (set_widget_for_bonobo_control): New function, extracted from 
13209         nautilus_window_initialize_toolbars, handles attaching a widget to
13210         a Bonobo control defined in the XML file.
13211         (set_up_back_or_forward_tool_bar_item): New function, creates
13212         widget, wraps it in control, and wires up signal handlers.
13213         (nautilus_window_initialize_toolbars): Call set_up_toolbar_images
13214         only after Back/Forward buttons are created; create Back/Forward
13215         buttons and use new helper functions.
13216         
13217         * src/nautilus-window.c: 
13218         (nautilus_window_allow_back), (nautilus_window_allow_forward):
13219         Set sensitivity of Back/Forward buttons explicitly.
13221 2000-12-05  Robey Pointer  <robey@eazel.com>
13223         * components/services/install/lib/eazel-install-object.c:
13224         (eazel_install_initialize):
13226         Re-order softcat init so it's initialized before pieces of it are
13227         set.
13228         
13229         * components/services/install/lib/eazel-softcat.c:
13230         (gnome_vfs_escape_string):
13232         Fix the stub escape_string (for the gnome-vfs-less bootstrap
13233         installer) to actually compile and work.
13235         * nautilus-installer/src/Makefile:
13237         (innocent whistle)
13238         
13239         * nautilus-installer/src/installer.c: (create_what_to_do_page),
13240         (eazel_installer_add_category), (eazel_installer_initialize),
13241         (eazel_installer_new):
13243         Fix label names to match (and avoid assertion).
13245 2000-12-05  Michael Engber  <engber@eazel.com>
13247         * src/nautilus-window.c: (nautilus_window_constructed),
13248         (update_sidebar_panels_from_preferences):
13249         Keep the desktop from creating sidebar panels (it still
13250         has the sidebar) - bug 2603.
13252 2000-12-05  Rebecca Schulman  <rebecka@eazel.com>
13254         reviewed by: Darin Adler <darin@eazel.com>
13256         * src/file-manager/fm-search-list-view.c: (load_error_callback):
13257         Added an error callback for search uris that produce error
13258         GNOME_VFS_ERROR_TOO_BIG, which happens when a search matches
13259         every criterion in the database.
13260         * src/nautilus-search-bar-criterion.c: (get_owner_location_for):
13261         Fixed an "is not" in a search uri that should have been "is_not"
13262         so that searches did not produce an error.
13264 2000-12-05  J Shane Culpepper  <pepper@eazel.com>
13266         * components/services/trilobite/libtrilobite/Makefile.am:
13267         * components/services/trilobite/libtrilobite/libtrilobite.h:
13268         * components/services/trilobite/libtrilobite/trilobite-core-metadat
13269         a-manager.c:
13270         * components/services/trilobite/libtrilobite/trilobite-core-metadat
13271         a-manager.h:
13272         * components/services/trilobite/libtrilobite/trilobite-core-package
13273         -manager.c:
13274         * components/services/trilobite/libtrilobite/trilobite-core-package
13275         -manager.h:
13276         * components/services/trilobite/libtrilobite/trilobite-core-securit
13277         y-manager.c:
13278         * components/services/trilobite/libtrilobite/trilobite-core-securit
13279         y-manager.h:
13280         * components/services/trilobite/libtrilobite/trilobite-core-tests.c
13281         :
13282         * components/services/trilobite/libtrilobite/trilobite-core-tests.h
13283         :
13285         Removing some empty file templates from libtrilobite.
13287 2000-12-05  Pavel Cisler <pavel@eazel.com>
13289         reviewed by: Gene Z. Ragan <gzr@eazel.com>
13291         * libnautilus-extensions/nautilus-file-operations.c:
13292         (handle_xfer_vfs_error):
13293         Second part of fix 4894 "Dragging /proc from the tree view to
13294         /home causes a file not found". 
13295         Part of fix to 3232 "Error message when copying rwx file from
13296         r-x folder to rwx folder".      
13297         Part of fix to 3237 "No error occurs if move file to folder w/o
13298         write access".
13299         Part of fix to 3748 "misleading file operation error dialog"
13300         Added logic that distinguishes between read and write phases
13301         of a file move properly and gives the right error.
13302         Split up the "no permissions" and "read only" cases and gave them
13303         distinct errors.
13304         Added a specific case for a move from a directory that is not writable.
13306 2000-12-05  John Sullivan  <sullivan@eazel.com>f
13308         reviewed by: Darin Adler  <darin@eazel.com>
13310         Fixed bug 3586 (Nautilus tool bar doesn't respect
13311         "no labels" setting in gnomecc)
13313         I fixed the Bonobo part of this bug earlier; this is the
13314         little leftover Nautilus-specific part.
13316         * src/nautilus-shell-ui.xml: Remove 'look="both"' from
13317         tool bar definition. This was formerly needed due to
13318         Bonobo behavior where you would get icons-only without this,
13319         but now this prevents the preference from kicking in.
13320         * src/nautilus-window-toolbars.c: 
13321         (allocate_throbber): Use small throbber if gnome preference is 
13322         for unlabelled tool bar buttons. This makes the throbber 
13323         appearance fit in well when tool bar labels are off.
13324         (theme_changed_callback): Remove hide/show toolbar and replace
13325         it with FIXME about how the throbber doesn't reposition
13326         correctly when theme changes. The hide/show was a hack that
13327         worked in the old Bonobo but doesn't in the new one.
13329         * src/nautilus-desktop-window.c: (realize):
13330         Removed some leftover #ifdef UIH code that was functionally
13331         replaced a while back.
13333 2000-12-04  Robey Pointer  <robey@eazel.com>
13335         * components/services/install/lib/eazel-install-metadata.c:
13336         (init_default_transfer_configuration),
13337         (eazel_install_configure_softcat), (transferoptions_destroy):
13338         * components/services/install/lib/eazel-install-metadata.h:
13339         
13340         Remove softcat fields from the TransferOptions struct and move
13341         them into EazelSoftCat's config.  Read ESC's config from the
13342         install/server/ gconf items.
13344         * components/services/install/lib/eazel-install-object.c:
13345         (eazel_install_finalize), (eazel_install_initialize),
13346         (eazel_install_new_with_config), (eazel_install_get_server),
13347         (eazel_install_get_server_port), (eazel_install_get_username),
13348         (eazel_install_get_eazel_auth), (eazel_install_get_cgi_path),
13349         (eazel_install_set_server), (eazel_install_set_server_port),
13350         (eazel_install_set_username), (eazel_install_set_eazel_auth),
13351         (eazel_install_set_cgi_path):
13352         * components/services/install/lib/eazel-install-private.h:
13353         * components/services/install/lib/eazel-install-public.h:
13354         * components/services/install/lib/eazel-install-types.h:
13356         Put a SoftCat into the Install object, and map the set/get
13357         functions for old TransferOptions fields to SoftCat fields.
13358         
13359         * components/services/install/lib/eazel-install-protocols.c:
13360         (gnome_vfs_xfer_callback), (eazel_install_fetch_package):
13362         Remove some sarcasm (I'm over it).  Remove traces of the "old"
13363         (fake) CGI code.  Remove the evil softcat hack and make it use the
13364         softcat object now.
13365         
13366         * components/services/install/lib/eazel-softcat.c:
13367         (eazel_softcat_unref), (eazel_softcat_set_server),
13368         (eazel_softcat_set_server_host), (eazel_softcat_set_server_port),
13369         (eazel_softcat_get_server_host), (eazel_softcat_get_server_port),
13370         (eazel_softcat_set_authn), (eazel_softcat_set_authn_flag),
13371         (eazel_softcat_set_username):
13372         * components/services/install/lib/eazel-softcat.h:
13374         Let a SoftCat be unref'd (cough cough).  Add some more field
13375         set/get functions for the Install object.
13376         
13377         * components/services/install/nautilus-view/nautilus-service-instal
13378         l-view.c: (nautilus_service_install_solve_cases),
13379         (nautilus_service_install_done),
13380         (nautilus_service_install_failed):
13381         * components/services/install/nautilus-view/nautilus-service-instal
13382         l-view.h:
13384         Remove some cruft and fix the "already installed" case so that it
13385         doesn't drop windows everywhere and vanish abruptly, leaving a
13386         dangling eazel-install service running in the background.
13387         
13388 2000-12-04  Maciej Stachowiak  <mjs@eazel.com>
13390         * components/tree/nautilus-tree-view.c
13391         (expand_uri_sequence_and_select_end): Fix build lossage from last
13392         commit.
13394 2000-12-04  Maciej Stachowiak  <mjs@eazel.com>
13396         reviewed by: John Sullivan  <sullivan@eazel.com>
13398         * components/tree/nautilus-tree-view.c
13399         (expand_uri_sequence_and_select_end): Changed control flow a bit
13400         to avoid possibly dereferencing a NULL view_node pointer. This can
13401         happen when launching nautilus with the tree view and the desktop
13402         both enabled. Thanks to John Sullivan for locating the bug,
13403         finding the likely cause in the debugger, and helping me simplify
13404         the control flow of this function.
13406 2000-12-04  Darin Adler  <darin@eazel.com>
13408         reviewed by: Maciej Stachowiak <mjs@eazel.com>
13410         * libnautilus-extensions/Makefile.am: Add ESD flags and library
13411         since we are now using it. Without this change, I couldn't link.
13413         * libnautilus-extensions/nautilus-icon-container.c:
13414         (redo_layout_internal), (redo_layout_callback),
13415         (unschedule_redo_layout), (schedule_redo_layout), (relayout): Get
13416         rid of some circular logic in relayout (now called redo_layout)
13417         and made nice calls to cleanly schedule the idle function to redo
13418         layout.
13419         (size_allocate): Make sure we redo layout if this is the first
13420         allocate, since we have inhibited them up to this point.
13421         (nautilus_icon_container_initialize): Get rid of unnecessary
13422         initialization of things that are already 0, NULL, FALSE.
13423         (finish_adding_new_icons): Remove unnecessary check for NULL.
13424         (nautilus_icon_container_add): Use the new schedule_redo_layout.
13425         (nautilus_icon_container_remove): Use schedule_redo_layout instead
13426         of redoing the layout right away, since this can be called for
13427         many icons at a time and we want to bunch up the layout work.
13428         (nautilus_icon_container_request_update): Schedule a redo_layout
13429         any time an icon changes. We could get fancy and detect changes
13430         that are substantive if this does too much extra layout work.
13431         (nautilus_icon_container_set_zoom_level): Removed extraneous
13432         direct call to redo_layout after the request_update_all call.
13434         * src/nautilus-window.c: (menu_bar_no_resize_hack_class_free),
13435         (menu_bar_no_resize_hack): Tweak function name and formatting.
13436         (nautilus_window_constructed): Do a little bit less sidebar setup
13437         when making a desktop window.
13439         * libnautilus-extensions/nautilus-sound.c: Tweak (has nice side
13440         effect of forcing recompile).
13442 2000-12-04  Robey Pointer  <robey@eazel.com>
13444         * components/services/install/command-line/eazel-test-softcat.c:
13445         (main):
13447         Add -V (version), --gt (greater-than), and -C (check for new
13448         version) options to eazel-softcat.  (The -C/--gt options won't work
13449         until the softcat java-side supports it.)
13450         
13451         * components/services/install/lib/eazel-softcat.c:
13452         (eazel_softcat_initialize), (eazel_softcat_set_retry),
13453         (eazel_softcat_get_info), (eazel_softcat_available_update):
13454         * components/services/install/lib/eazel-softcat.h:
13456         Finish softcat API (check for new version of a package).
13458 2000-12-04  Maciej Stachowiak  <mjs@eazel.com>
13460         * README: Updated ORBit version.
13462 2000-12-04  Michael Engber  <engber@eazel.com>
13464         * libnautilus-extensions/nautilus-background.c:
13465         (nautilus_background_ensure_gradient_buffered):
13466         Changed the semantics of multi-point gradients
13467         so that percentages are postions (rather than
13468         widths) - bug 4759
13470 2000-12-04  Pavel Cisler  <pavel@eazel.com>
13472         reviewed by: Gene Z. Ragan <gzr@eazel.com>
13474         * libnautilus-extensions/nautilus-file-operations.c:
13475         (nautilus_file_operations_copy_move):
13476         * src/file-manager/fm-directory-view.c:
13477         (fm_directory_view_move_copy_items):
13478         * src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
13479         Fixed 4949:
13480         Fix a crash when copying from an icon view to a list view -
13481         my last fix to set icon positions properly during duplicate was sloppy
13482         and broke this.
13483         The change needed to add one more place that use an empty GArray instead
13484         of a NULL.
13485         Properly handle the case of an empty GArray in
13486         nautilus_file_operations_copy_move.
13488 2000-12-04  Maciej Stachowiak  <mjs@eazel.com>
13490         * README: Update OAF branch info.
13492 2000-12-04  Michael Engber  <engber@eazel.com>
13494         * libnautilus-extensions/nautilus-background-canvas-group.c:
13495         (nautilus_background_canvas_group_initialize_class),
13496         (nautilus_background_canvas_group_update),
13497         (nautilus_background_canvas_group_draw),
13498         (nautilus_background_canvas_group_render):
13499         Code formatting changes.
13500         
13501         * libnautilus-extensions/nautilus-background.c:
13502         (nautilus_background_initialize_class),
13503         (nautilus_background_set_combine_mode),
13504         (nautilus_background_ensure_image_scaled),
13505         (nautilus_background_load_image_callback),
13506         (nautilus_background_start_loading_image),
13507         (nautilus_background_set_image_uri_helper),
13508         (nautilus_background_set_image_uri),
13509         (set_image_and_color_image_loading_done_callback),
13510         (nautilus_background_set_image_uri_and_color),
13511         (nautilus_background_reset):
13512         * libnautilus-extensions/nautilus-directory-background.c:
13513         (background_changed_callback), (saved_settings_changed_callback),
13514         (background_reset_callback):
13515         * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain):
13516         * src/nautilus-sidebar.c: (receive_dropped_color),
13517         (background_settings_changed_callback),
13518         (background_reset_callback), (nautilus_sidebar_update_appearance),
13519         (background_metadata_changed_callback), (nautilus_sidebar_set_uri):
13520         Fixed various issues with dropping colors on the sidebare.
13521         Osetensibly, the problem was with dropping white - bug 4880.
13523 2000-12-04  Gene Z. Ragan  <gzr@eazel.com>
13525         Fixed broken build.
13526         
13527         * components/help/converters/gnome-db2html2/sect-preparse.c:
13528         (sect_preparse_figure_start_element),
13529         (sect_preparse_acronym_characters), (gloss_term_append):
13530         File had typos, missing and extra punctuation. The code did not
13531         even compile. Now it does.
13533 2000-12-04  Ali Abdin  <aliabdin@aucegypt.edu>
13535         * components/help/converters/gnome-db2html2/sect-preparse.c:
13536         * components/help/converters/gnome-db2html2/gdb3html.h:
13537         (sect_preparse_glossterm_characters),
13538         (sect_preparse_acronym_characters),
13539         (sect_preparse_glossterm_start_element),
13540         (sect_preparse_glossterm_end_element),
13541         (gloss_term_append):
13542         Changed around the glossary a bit (partial fix for a bug). Leaks some
13543         memory though.
13545 2000-12-04  Gene Z. Ragan  <gzr@eazel.com>
13547         reviewed by: Pavel Cisler <pavel@eazel.com>
13549         Fixed bug 645, nautilus_file_rename should handle path separators sensibly
13550         
13551         * libnautilus-extensions/nautilus-file.c: 
13552         (nautilus_file_rename):
13553         Check for the presence of the "/" path separator charcter. If one
13554         exists, return an error.
13555         
13556         * src/file-manager/fm-error-reporting.c:
13557         (fm_report_error_renaming_file):
13558         Add a case to report an error if an illegal name has been specified
13559         for the file to renamed to.
13561 2000-12-04  John Sullivan  <sullivan@eazel.com>
13563         reviewed by: Gene Z. Ragan  <gzr@eazel.com>
13565         Fixed bug 4931 ("Can't display files of this type"
13566         message is inaccurate in some cases)
13568         * src/nautilus-window-manage-views.c:
13569         (nautilus_window_end_location_change_callback):
13570         Reworded the error message when there's no viewer for a
13571         file to not mention the file type, since the file type
13572         might not have anything to do with why no viewer could be
13573         found. For example, clicking on a remote RPM was getting a
13574         message implying that Nautilus had no viewer capable of
13575         displaying RPM files in general, whereas in fact it has a
13576         viewer that can display RPM files, but only if local. This
13577         is the simplest way to address this problem; see bugs
13578         4932 and 4933 for better but harder-to-implement solutions.
13580 2000-12-04  Pavel Cisler <pavel@eazel.com>
13582         reviewed by: Maciej Stachowiak <mjs@eazel.com>
13584         * src/file-manager/fm-directory-view.c: (create_link_callback),
13585         (offset_drop_points), (fm_directory_view_create_links_for_files):
13586         Fixed 4946 - Create link consistently crashes Nautilus.
13587         Fixed it by implementing the proper positioning code for creating
13588         symbolic links from a context menu, copying the logic from the
13589         "Duplicate selection" code path.
13591 2000-12-03  Eskil Heyn Olsen  <eskil@eazel.com>
13593         * components/services/install/lib/eazel-softcat.c:      
13594         (eazel_softcat_initialize):
13595         Default some of the private attributes to sane values.
13597 2000-12-02  Robert Brady  <robert@suse.co.uk>
13599         * configure.in (ALL_LINGUAS): Add ta (Tamil).
13601 2000-12-01  Andy Hertzfeld  <andy@eazel.com>
13603         * src/nautilus-property-browser.c: (category_clicked_callback):
13604         fixed bug 4937, changing pane in remove mode crashes Nautilus,
13605         by exiting remove mode when switching categories.
13606         
13607 2000-12-01  Andy Hertzfeld  <andy@eazel.com>
13609         * src/nautilus-window-toolbars.c: (theme_changed_callback):
13610         fixed bug where throbber was mispositioned after theme changes by
13611         forcing a toolbar resize when the theme changes.
13612         
13613         * icons/eazel/i-directory.xml:
13614         tweaked folder emblem positions
13615         
13616 2000-12-01  Maciej Stachowiak  <mjs@eazel.com>
13618         * components/tree/nautilus-tree-view.c
13619         (nautilus_tree_view_insert_model_node): Fix bug 4930 (Tree sidebar
13620         panel doesn't expand remembered directories until second window is
13621         opened) by making sure to expand directories that should be
13622         expanded when initially inserting nodes, not just updating.
13624 2000-12-01  Eskil Heyn Olsen  <eskil@eazel.com>
13626         Migrated more code into eazel-package-system and finished
13627         eazel-package-system-rpm3 (except for verify). This fixes 4858,
13628         4851.
13629         
13630         * components/services/install/command-line/eazel-test-packsys.c:
13631         (test_packagelist_prune), (test_package_load), (get_password_dude),
13632         (init_package_system), (test_matches_query), (get_package_list),
13633         (start_signal), (end_signal), (progress_signal), (is_installed),
13634         (test_install), (test_uninstall), (test_verify), (main):D
13635         All the code for the packagesytem test programs. It does test-
13636         queries, install and uninstall.
13637         
13638         * components/services/install/lib/Makefile.am:
13639         Moved softcat .h's files into
13640         includedir/libtrilobite/eazel/package-sytem/
13641         
13642         * components/services/install/lib/eazel-install-corba-callback.c:
13643         (eazel_install_callback_initialize):
13644         Fixed the IDL rename, which broke the eazelinstall init.
13645         
13646         * components/services/install/lib/eazel-install-logic.c:
13647         (eazel_install_start_transaction):
13648         Some comments about codepieces that needs removal.
13649         
13650         * components/services/install/lib/eazel-install-types.h:
13651         * components/services/install/lib/eazel-install-types.c:
13652         (packagedata_get_readable_name), (packagedata_get_name):
13653         Changed get_readable's names output for rpmid's.
13654         Added a function that returns name-version-release names.
13655         
13656         * components/services/install/lib/eazel-package-system-rpm3.h:
13657         * components/services/install/lib/eazel-package-system-rpm3.c:
13658         (make_rpm_argument_list), (destroy_string_list),
13659         (rpm_make_names_to_package_hash), (clear_name_to_package),
13660         (get_total_size_of_packages), (monitor_rpm_process_pipe),
13661         (rpm_create_db), (rpm_create_dbs), (rpm_open_db), (rpm_open_dbs),
13662         (rpm_close_db), (rpm_close_dbs), (rpm_free_db), (rpm_free_dbs),
13663         (rpm_packagedata_fill_from_rpm_header),
13664         (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
13665         (eazel_package_system_rpm3_load_package),
13666         (eazel_package_system_rpm3_query_impl),
13667         (eazel_package_system_rpm3_query_substr),
13668         (eazel_package_system_rpm3_query_foreach),
13669         (eazel_package_system_rpm3_query), (display_arguments),
13670         (monitor_subcommand_pipe), (eazel_package_system_rpm3_execute),
13671         (eazel_package_system_rpm3_install_uninstall),
13672         (eazel_package_system_rpm3_install),
13673         (eazel_package_system_rpm3_uninstall),
13674         (eazel_package_system_rpm3_verify),
13675         (eazel_package_system_rpm3_finalize),
13676         (eazel_package_system_rpm3_initialize),
13677         (eazel_package_system_rpm3_new),
13678         (eazel_package_system_implementation):
13679         Finished the rpm3 library.
13681         * components/services/install/lib/eazel-package-system-private.h:
13682         * components/services/install/lib/eazel-package-system.h:
13683         * components/services/install/lib/eazel-package-system.c:
13684         (eazel_package_system_load_implementation),
13685         (eazel_package_system_load_package), (eazel_package_system_query),
13686         (eazel_package_system_install), (eazel_package_system_uninstall),
13687         (eazel_package_system_verify), (eazel_package_system_emit_start),
13688         (eazel_package_system_emit_progress),
13689         (eazel_package_system_emit_failed),
13690         (eazel_package_system_get_debug), (eazel_package_system_set_debug),
13691         (eazel_package_system_class_initialize),
13692         (eazel_package_system_initialize),
13693         (eazel_package_system_marshal_BOOL__ENUM_POINTER_POINTER),
13694         (eazel_package_system_marshal_BOOL__ENUM_POINTER):
13695         Fixed the usual signal bloopers, added the arguments to _new that
13696         lets the system get it's dbpaths/root sets, fixed other small bugs.
13698         * components/services/install/lib/eazel-package-system-skeleton.h:
13699         * components/services/install/lib/eazel-package-system-skeleton.c:
13700         (eazel_package_system_skeleton_query),
13701         (eazel_package_system_skeleton_install),
13702         (eazel_package_system_skeleton_uninstall),
13703         (eazel_package_system_skeleton_verify),
13704         (eazel_package_system_skeleton_new),
13705         (eazel_package_system_implementation):
13706         Updated the skeleton library.
13708 2000-12-01  Robin * Slomkowski  <rslomkow@eazel.com>
13710         * nautilus.spec.in: added libeazelsoftcat libs
13712 2000-12-01  John Sullivan  <sullivan@eazel.com>
13714         reviewed by: Pavel Cisler  <pavel@eazel.com>
13716         Worked around without fixing cause of bug 2151 (crash in
13717         Undo manager on quit). We can defer fixing the bug properly
13718         until we have Undo working again.
13720         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
13721         (nautilus_undo_editable_set_undo_key): Added FIXMEs with bug
13722         number 3515 ("Undo doesn't work").
13723         * src/nautilus-shell-ui.xml: Added FIXME with bug number 3515.
13725         * src/file-manager/fm-properties-window.c: (create_basic_page),
13726         (create_properties_window_callback): #ifdeffed out undo code
13727         and added FIXME with bug number 2151.
13729 2000-12-01  Pavel Cisler <pavel@eazel.com>
13731         reviewed by: Darin Adler <darin@eazel.com>
13733         * libnautilus-extensions/nautilus-file-operations.c:
13734         (progress_dialog_set_to_from_item_text), (handle_xfer_ok),
13735         (handle_xfer_vfs_error), (handle_xfer_overwrite), (get_link_name),
13736         (nautilus_file_operations_copy_move),
13737         (nautilus_file_operations_new_folder),
13738         (nautilus_file_operations_move_to_trash),
13739         (nautilus_file_operations_delete), (do_empty_trash):
13740         
13741         Fixed 3392 - Messages in nautilus-file-operations hard to localize.
13743         Replaced all the cases that did "clever" string composition from
13744         parts depending on the specific file operation with full texts of
13745         the respective error alerts and progress dialog label texts and
13746         titles.
13747         Changed action_verb to action_label.
13748         Got rid of progress_dialog_set_files_done_text because the the
13749         "Files copied:" etc. label is no longer composed.
13750         Added switch statements in handle_xfer_vfs_error that choose the
13751         right error text based on the xfer operation kind.
13752         
13753         Fixed 3139 - Add comments to all the localizable strings to make them
13754         easier to localize. 
13755         
13756         * libnautilus-extensions/nautilus-file-operations.c:
13757         (icon_position_iterator_new),
13758         * libnautilus-extensions/nautilus-file-operations.h:
13759         (nautilus_file_operations_copy_move),
13760         * libnautilus-extensions/nautilus-icon-container.c:
13761         (nautilus_icon_container_get_icon_locations),
13762         (nautilus_icon_container_get_selected_icon_locations):
13763         * libnautilus-extensions/nautilus-icon-container.h:
13764         * libnautilus-extensions/nautilus-icon-dnd.c:
13765         (handle_nonlocal_move), (nautilus_icon_container_find_drop_target):
13766         * libnautilus-extensions/nautilus-icon-private.h:
13767         * src/file-manager/fm-directory-view.c:
13768         (fm_directory_view_initialize_class), (duplicate_callback),
13769         (fm_directory_view_create_links_for_files), (offset_drop_points),
13770         (fm_directory_view_duplicate_selection),
13771         (fm_directory_get_selected_icon_locations),
13772         (fm_directory_view_move_copy_items):
13773         * src/file-manager/fm-directory-view.h:
13774         * src/file-manager/fm-icon-view.c:
13775         (fm_icon_view_get_selected_icon_locations),
13776         (fm_icon_view_set_selection), (fm_icon_view_initialize_class),
13777         (icon_view_move_copy_items):
13778         * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
13779         (fm_list_view_get_selected_icon_locations),
13780         (fm_list_view_sort_items):
13782         Fixed 2817 - when you duplicate a file, it doesn't end up in the correct
13783         position.
13785         Redid the icon position array to use GArray instead of a simple vector of
13786         GdkPoints. GArray contains the count of all the contained points
13787         which is now needed.
13788         Added new calls to get the icon locations of selected icons and
13789         of a list of NautilusIcon objects.
13790         Passed the list of icon locations to the duplicate method.
13791         Added a default signal handler that returns the list of
13792         icon locations of selected icons.
13793         Added code to fm_directory_view_duplicate_selection that
13794         offsets the new duplicates to the left and bottom of the
13795         original item.
13796         
13798 2000-12-01  John Sullivan  <sullivan@eazel.com>
13800         reviewed by: Pavel Cisler  <pavel@eazel.com>
13802         Fixed bug 4911 (Crash emptying trash while displaying
13803         properties window for trashed file)
13805         This crawled out of the woodwork recently, and required
13806         several small fixes here and there to solve it nicely,
13807         including making FMPropertiesWindow a subclass --
13808         formerly it was just a GtkWindow with a bunch of wired-up
13809         widgets.
13811         * libnautilus-extensions/nautilus-file.c:
13812         (nautilus_file_get_directory_item_count),
13813         (nautilus_file_get_deep_counts): Allow non-directory items
13814         (files marked gone don't count as directories). Fill in
13815         return values in all cases, even return_if_fail cases.
13816         
13817         * src/file-manager/fm-error-reporting.c:
13818         (fm_report_error_renaming_file): Specific error message for
13819         the case where the file being renamed no longer exists. I
13820         ran into this partway through my changes, tested this fix,
13821         then changed the caller to not hit this case.
13822         
13823         * src/file-manager/fm-properties-window.h:
13824         Standard header stuff now that FMPropertiesWindow is a class
13825         and not just some grouped functions.
13826         * src/file-manager/fm-properties-window.c:
13827         (fm_properties_window_initialize_class),
13828         (fm_properties_window_initialize): Standard functions needed
13829         for class.
13830         (name_field_done_editing): Don't try to rename file that's gone.
13831         (create_group_menu_item), (create_owner_menu_item): 
13832         Added some parameter checking.
13833         (synch_groups_menu), (synch_owner_menu): Check for NULL result
13834         from nautilus_file_get_string_attribute before making a menu
13835         item from it (GTK is unhappy with using NULL for a label).
13836         (directory_contents_value_field_update): Soften assert to make
13837         it not fire when file is gone.
13838         (update_permissions_check_button_state): Bail out if file is gone.
13839         (create_properties_window): Create an FMPropertiesWindow instead
13840         of a GtkWindow; set up its Details.
13841         (create_properties_window_callback): Removed signal handler for
13842         "destroy" now that there's a default handler for this class.
13843         (forget_properties_window): Removed function, guts now in 
13844         real_destroy.
13845         (real_shutdown): Disconnect file-changed signal here. This is the
13846         core fix of the infinite loop reported in bug 4911.
13847         (real_destroy): Do the stuff formerly done in 
13848         forget_properties_window here.
13850 2000-12-01  Andy Hertzfeld  <andy@eazel.com>
13852         * src/nautilus-window.c: (nautilus_window_destroy):
13853         fixed bug 4921, crash when changing sidebar panels preferences
13854         after opening new window, by fixing the call to remove the
13855         preferences callback to have the right callback data.
13856         
13857 2000-12-01 John Fleck <jfleck@inkstain.net>
13859         * nautilus/components/help/converters/gnome-db2html2/gdb3html.h,
13860         sect-elements.c, sect-preparse.c,toc-elements.c: add support for
13861         <example> tag, fixing bug #4378
13862         
13863 2000-12-01  Maciej Stachowiak  <mjs@eazel.com>
13865         reviewed by: Pavel Cisler  <pavel@eazel.com>
13867         * components/tree/nautilus-tree-view.c:
13868         (expand_uri_sequence_and_select_end): Avoid forcing a reload of a
13869         node while trying to find a location to select unless we get
13870         stuck; and even then, do only a shallow force reload, not a deep
13871         force reload. This fixes bug 4890 (Tree view makes normal
13872         navigation very slow if a large directory is expanded).
13873         (reload_model_node_recursive): Renamed from `reload_model_node' to
13874         make clear that it will also reload all expanded subnodes.
13875         (reload_model_node): Non-recursive version of
13876         `reload_model_node_recursive'.
13877         (reload_whole_tree, expand_node_for_file): Use
13878         `reload_model_node_recursive' instead of the new non-recursive
13879         version.
13880         (nautilus_tree_view_remove_model_node,
13881         (nautilus_tree_view_update_model_node): Added ifdef'd-out
13882         debugging text for future use.
13883         
13884 2000-11-30  Maciej Stachowiak  <mjs@eazel.com>
13886         reviewed by: Robey Pointer  <robey@eazel.com>
13887         
13888         * components/tree/nautilus-tree-model.c (report_node_changed):
13889         Don't do anything if we don't know the file type yet, since this
13890         may cause directories to mistakenly lose their children. This
13891         fixes bug 4912 (Nautilus crashes in tree code when multiple
13892         windows are open).
13894         * components/tree/nautilus-tree-view-private.h: Remove unused
13895         file_to_hack_node_map field from details struct.
13897 2000-11-30  Robey Pointer  <robey@eazel.com>
13899         * components/rpmview/Makefile.am:
13900         * components/services/install/command-line/Makefile.am:
13901         * components/services/install/nautilus-view/Makefile.am:
13902         * components/services/install/server/Makefile.am:
13904         Everyone that uses libeazelinstall now needs to use
13905         libeazelsoftcat too.  This doesn't make much sense for the rpm
13906         view, but we've shelved that issue for later.
13907         
13908         * components/services/install/command-line/eazel-test-softcat.c:
13909         (main):
13911         New test program (eazel-softcat) to perform primitive softcat
13912         queries and check the results.
13913         
13914         * components/services/install/lib/eazel-install-protocols.c:
13915         (eazel_install_fetch_package):
13917         Removed get_search_url_for_package and get_url_for_package: they
13918         now belong to libesc.
13919         
13920         * components/services/install/lib/eazel-install-types.c:
13921         (eazel_install_protocol_as_string), (packagedata_new),
13922         (packagedata_copy), (packagedata_fill_in_missing),
13923         (packagedata_destroy), (gstr_indent), (dump_package_list),
13924         (packagedata_dump_int), (packagedata_dump):
13925         * components/services/install/lib/eazel-install-types.h:
13927         Add "features" field which is a GList<char *> of features this
13928         package resolves for its parent.  Moved fill_in_missing here since
13929         it's PackageData-centric.  Added debugging function for dumping a
13930         PackageData into a human-readable string.
13931         
13932         * components/services/install/lib/eazel-install-xml-package-list.c:
13933         (osd_parse_list), (osd_parse_dependency),
13934         (osd_parse_implementation), (osd_parse_softpkg),
13935         (eazel_install_packagelist_parse):
13936         * components/services/install/lib/eazel-install-xml-package-list.h:
13938         Parse the "provides" list from softcat: this will change once
13939         softcat finishes revising their XML format, but we need something
13940         to work with for now.  Pull out other values like the Eazel id,
13941         and tie "abstract" to summary instead of description.  Fix the OSD
13942         parser so that we can distinguish an error return from an empty
13943         package list.
13944         
13945         * components/services/install/lib/eazel-softcat-private.h:
13946         * components/services/install/lib/eazel-softcat.c:
13947         (eazel_softcat_initialize), (eazel_softcat_new),
13948         (eazel_softcat_set_server), (eazel_softcat_get_server),
13949         (eazel_softcat_set_cgi_path), (eazel_softcat_get_cgi_path),
13950         (eazel_softcat_set_authn), (eazel_softcat_get_authn),
13951         (eazel_softcat_set_retry), (eazel_softcat_error_string),
13952         (sense_flags_to_softcat_flags), (gnome_vfs_escape_string),
13953         (add_to_url), (verify_softcat_fields),
13954         (get_search_url_for_package), (eazel_softcat_get_info):
13955         * components/services/install/lib/eazel-softcat.h:
13957         Actually implement a good chunk of the softcat library.
13958         
13959         * components/services/trilobite/libtrilobite/trilobite-core-distrib
13960         ution.c: (trilobite_get_distribution_enum),
13961         (trilobite_get_distribution_arch):
13962         * components/services/trilobite/libtrilobite/trilobite-core-distrib
13963         ution.h:
13965         Move architecture detection here.
13966         
13967         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
13968         : (trilobite_fetch_uri), (trilobite_init),
13969         (trilobite_set_debug_mode), (trilobite_set_log_handler):
13970         * components/services/trilobite/libtrilobite/trilobite-core-utils.h
13971         :
13973         Split out log handling so that test programs can trap trilobite
13974         log entries.
13975         
13976 2000-11-30  Rebecca Schulman  <rebecka@eazel.com>
13977         Fixed bug 3750, to make cut/copy/paste work
13978         in the complex search bar
13980         reviewed by: Maciej Stachowiak <mjs@eazel.com>
13982         * src/nautilus-complex-search-bar.h:
13983         * src/nautilus-complex-search-bar.c:
13984         (nautilus_complex_search_bar_new),
13985         Set up the first criterion after we create 
13986         the bar.
13987         (nautilus_complex_search_bar_set_up_enclosed_entry_for_clipboard):
13988         add a second procedure that new criteria with entries call
13989         when they are added.
13990         * src/nautilus-search-bar-criterion.c:
13991         (nautilus_search_bar_criterion_new_with_type):
13992         set an entry up for the clipboard, if one exists.
13994 2000-11-30  Mike Fleming  <mfleming@eazel.com>
13996         reviewed by: ramiro@eazel.com
13998         * components/mozilla/nautilus-mozilla-content-view.c:
13999         (nautilus_mozilla_content_view_initialize),
14000         (mozilla_net_state_callback), (mozilla_net_stop_callback),
14001         (mozilla_progress_callback):
14003         fix bugzilla.eazel.com 4113: 
14004         Some web pages never finish loading (throbber spins)
14006         Instead of replying on "max_progress == cur_progress"
14007         doing mozilla_progress_callback, stop throbber on a "net_stop"
14008         signal.  Galeon uses "net_stop" for this functionality as well.
14010 2000-11-30  Darin Adler  <darin@eazel.com>
14012         Ran check-headers-in-Makefile since we had some problems
14013         with that lately. I guess the Tinderbox is the new way to
14014         catch these problems but I couldn't resist fixing them
14015         the old way too.
14017         * check-headers-in-Makefile.pl: Added some more special cases
14018         in here to make it work better.
14020         * components/services/install/nautilus-view/Makefile.am:
14021         Marked the unused files in here as "noinst_HEADERS" as a hack
14022         to make the script happy. We should delete the files at some
14023         point if we decide we aren't ever using them.
14025         * components/loser/content/.cvsignore:
14026         * components/loser/sidebar/.cvsignore:
14027         * components/mozilla/.cvsignore:
14028         * components/sample/.cvsignore:
14029         * components/services/install/command-line/.cvsignore:
14030         * libnautilus/.cvsignore:
14031         * src/.cvsignore:
14032         * src/file-manager/.cvsignore:
14033         Removed all the .xml.h files because they aren't put in these
14034         directories any more so they don't need to be ignored. If you
14035         have the files still and the cvs warnings bother you, you can
14036         delete them.
14038 2000-11-30  Andy Hertzfeld  <andy@eazel.com>
14040         * components/image-viewer/nautilus-image-view.c:
14041         (zoomable_zoom_in_callback):
14042         fixed bug in image viewer where zooming in skipped a level if you
14043         were zoomed to fit. Fixed by only incrementing the index if we're
14044         already at the current level.
14045         
14046 2000-11-30  Gene Z. Ragan  <gzr@eazel.com>
14048         Fixed bug 4879, "unknown sort mode" warning upon sorting
14049         by "Time" column.
14051         The problem was caused by the sort mode enumeration being
14052         out of sync with the number of columns.  As a result
14053         most sorts were being done incorrectly with the wrong
14054         sort function. A new SORT_BY_YEAR entry was added to
14055         the sort enumeration to fix the problem.
14056         
14057         * components/music/nautilus-music-view.c: 
14058         (sort_song_list):
14059         Add SORT_BY_YEAR case to switch statement.
14061         (sort_by_year):
14062         New sort function to sort by year.
14064 2000-11-30  Gene Z. Ragan  <gzr@eazel.com>
14066         Fixed bug 3891, Repeatedly clicking the "Play" button
14067         crashes Nautilus.
14068         
14069         * components/music/nautilus-music-view.c: 
14070         (play_button_callback): Don't start playback machinery
14071         if a file is already playing.
14073         * components/music/mpg123_handler.c: (start_playing_file):
14074         Add check for playback before starting playback of another
14075         file.
14076         
14077 2000-11-30  Gene Z. Ragan  <gzr@eazel.com>
14079         Fixed bug 3888, Deleting an MP3 file while in use -> Nautilus crashes
14081         Added a check for the existence of a file before beginning playback.
14082         If the file is no longer available, remove the file form the 
14083         song list and attempt to play the next file in the song list.
14085         * components/music/nautilus-music-view.c:
14086         (nautilus_music_view_initialize), (play_current_file):
14088 2000-11-30  John Sullivan  <sullivan@eazel.com>
14090         reviewed by: Rebecca Schulman  <rebecka@eazel.com>
14092         Fixed bug 4899 (Bookmark for nonexistent file can cause
14093         infinite loop at startup)
14095         Changed NautilusBookmark's internal logic so that it doesn't
14096         keep around a file object for known non-existent URIs. The
14097         trick is to get it to notice when the URI is no longer non-existent
14098         and get a fresh file object then. This is done imperfectly, but
14099         the new symptom is very minor and deferrable (wrote it up as bug 4906).
14101         * libnautilus-extensions/nautilus-bookmark.c:
14102         (nautilus_bookmark_connect_file): Don't get a new NautilusFile
14103         object if we know the URI doesn't exist; instead just set the
14104         missing-bookmark icon. Also made it safe to call this routine
14105         when there's already a file object in hand (just bails out early).
14106         (nautilus_bookmark_get_icon), (nautilus_bookmark_get_uri): 
14107         Call nautilus_bookmark_connect_file so that it will connect to a 
14108         now-existing file if possible (and thus get the right icon).
14109         Since callers that try to activate the bookmark will call get_uri,
14110         one way to kick a reincarnated bookmark's icon into appearing is
14111         to select it in a menu.
14112         (nautilus_bookmark_get_pixbuf): Call nautilus_bookmark_get_icon to
14113         benefit from its connect_file logic.
14116         Fixed bug 3847 (Icon in properties window flashes while 
14117         folder count increments)
14119         * libnautilus-extensions/nautilus-image.c:
14120         (nautilus_image_set_pixbuf): Don't call gtk_widget_queue_resize if
14121         the pixbuf hasn't changed.
14124         Fixed bug 1454 (Properties dialog needs mucho tweaking)
14126         Mostly this was changes to match Arlo's design that he gave me
14127         ages ago. I also fixed a few other problems.
14129         * libnautilus-extensions/nautilus-file.c:
14130         (nautilus_file_get_date_as_string): Change format of date
14131         strings from "<date> <time>" to "<date> at <time>" to match
14132         Arlo's design.
14133         * src/file-manager/fm-properties-window.c: 
14134         (attach_label): Now handles requests for a bold font.
14135         (attach_value_label): Renamed from attach_left_aligned_label, use bold 
14136         font here.
14137         (attach_value_field),(attach_directory_contents_value_field):
14138         updated for name change.
14139         (attach_right_aligned_label): Removed, guts moved to caller.
14140         (attach_title_field): Use bold font here.
14141         (attach_option_menu): New helper function to share code between
14142         attach_group_menu and attach_owner_menu; now uses gtk_alignment
14143         to make the menu be minimally-sized and left-aligned.
14144         (attach_group_menu), (attach_owner_menu): Use attach_option_menu.
14145         (attach_separator): New helper function to install a separator
14146         across both columns of a properties window table.
14147         (create_basic_page): Use gtk_alignment to make the icon right-aligned;
14148         make the blank row above date rows be standard height.
14149         (create_emblems_page): Changed layout so name appears below emblem
14150         rather than to its right; this matches Customize window and allows
14151         the Properties window to be a smaller width, which looks much better
14152         for the other panes. Also, the emblems are now layed out lrtb instead of
14153         tblr.
14154         (add_permissions_column_label): Make these labels bold.
14155         (add_special_execution_flags): Attach a separator.
14156         (get_adjusted_permissions_row): Helper function to account for the "special
14157         flags" rows, which are not always displayed.
14158         (create_permissions_page): Deploy get_adjusted_permissions_row wherever a
14159         raw row number was used; insert separators.
14160         (create_properties_window): Allow window to be stretched, since the emblems
14161         don't all fit at initial window height (so user can stretch rather than
14162         scrolling if desired).
14164 2000-11-30  Rebecca Schulman  <rebecka@eazel.com>
14165         Fix for bug 2438, that we need to handle bad user
14166         input when searching by size.  
14168         reviewed by: John Sullivan <sullivan@eazel.com>
14170         * src/nautilus-complex-search-bar.c: (criteria_invalid):
14171         Add a check in here for size criteria specifically,
14172         that declares the criteria invalid if there is a
14173         non-integer value in the entry.
14175 2000-11-30  Andy Hertzfeld  <andy@eazel.com>
14177         * components/text/nautilus-text-view.c: (add_one_service),
14178         (add_services_to_menu), (update_service_menu_items):
14179         only disable selection dependent services when there's no selection.
14180         
14181 2000-11-30  Andy Hertzfeld  <andy@eazel.com>
14183         * components/text/services/Makefile.am:
14184         * components/text/services/english_to_french.xml:
14185         added sample document-oriented text view service.
14186         
14187 2000-11-29  Gene Z. Ragan  <gzr@eazel.com>
14189         Fixed part of bug 2171. Garbage was appearing in the song
14190         duration text field. This was cause by not reading in the 
14191         MP3 header data. In most cases this is due to the presence 
14192         of an ID3v2 at the start off the file.  We check for this and
14193         hop over it if such data is present.
14194         
14195         * components/music/mp3head.c: (get_bitrate), (get_samprate),
14196         (get_stereo), (compare), (sync_scan), (sync_test), (find_sync),
14197         (get_header_info), (get_header_info_extended):
14198         Some addition header handling functions for better diagnostics.
14199         
14200         * components/music/mp3head.h:
14201         Added function prototypes and ID3v2 header structure.
14202         
14203         * components/music/nautilus-music-view.c: 
14204         (fetch_song_info),
14205         (nautilus_music_view_update):
14207 2000-11-30  Andy Hertzfeld  <andy@eazel.com>
14209         * components/text/nautilus-text-view.c:
14210         (nautilus_text_view_initialize), (add_one_service),
14211         (nautilus_text_view_build_service_menu),
14212         (update_service_menu_items):
14213         made the service menu items be enabled and disabled appropriately
14214         based on whether there's a selection or not, by attaching to the
14215         button_release_event and key_press_event of the text object
14216         
14217 2000-11-29  Eskil Heyn Olsen  <eskil@eazel.com>
14219         * nautilus.spec.in:
14220         One more fix, forgot a */ level.
14222 2000-11-29  Maciej Stachowiak  <mjs@eazel.com>
14224         * libnautilus-extensions/nautilus-directory-async.c
14225         (nautilus_directory_forget_file_attributes): Fix build problem.
14227 2000-11-29  Eskil Heyn Olsen  <eskil@eazel.com>
14229         * components/services/install/lib/Makefile.am:
14230         Fixed noinst blunders.
14232 2000-11-29  Maciej Stachowiak  <mjs@eazel.com>
14234         reviewed by: Darin Adler  <darin@eazel.com>
14236         Fixed bugs 4385 (Nautilus doesn't gracefully handle deleting
14237         in-use image file), 3240 (reloading a directory doesn't update
14238         directory counts of the entries) and 4683 (embedded text on icon
14239         isn't updated when text changes) by implementing forgetting of
14240         file attributes and using it when appropriate.
14242         Also fixed various other bugs caught by testing of these fixes or
14243         reading the code.
14245         * libnautilus-extensions/nautilus-file.c: 
14246         (nautilus_file_forget_attributes): New function that makes the
14247         file forget the specified attributes, including cancelling
14248         possible in-progress I/O for them, and kicking off new I/O if
14249         anyone is monitoring any of the attributes or has a pending
14250         call_when_ready.
14251         (nautilus_file_forget_attributes_internal): Forget all attributes
14252         of this file, *not* including cancelling in-progress I/O, or
14253         kicking off new I/O. This is for the benefit of NautilusDirectory
14254         being able to forget the attributes of all files it is monitoring
14255         at one go.
14256         (nautilus_file_forget_all_attributes): Forget all attributes of
14257         this file, including cancelling in-progress I/O, and kicking off
14258         new I/O.
14259         (forget_directory_count, forget_deep_counts, forget_mime_list,
14260         forget_top_left_text, forget_file_info, forget_activation_uri):
14261         Helper functions to forget individual attributes.
14262         (nautilus_file_forget_activation_uri): Removed as obsolete.
14263         (destroy): use `nautilus_g_list_free_deep' to free the mime list.
14265         * libnautilus-extensions/nautilus-directory-notify.h: Remove
14266         prototype for `nautilus_file_forget_activation_uri'.
14268         * libnautilus-extensions/nautilus-file-private.h: Prototype
14269         `nautilus_file_forget_attributes_internal'.
14271         * libnautilus-extensions/nautilus-file.h:
14272         `nautilus_file_forget_attributes' and
14273         `nautilus_file_forget_all_attributes'.
14275         * libnautilus-extensions/nautilus-link.c
14276         (nautilus_link_local_set_link_uri): Use
14277         `nautilus_file_forget_attributes', not
14278         `nautilus_file_forget_activation_uri' to ensure reload of the
14279         activation URI.
14280         (forget_file_activation_uri): Helper function for the above.
14281                 
14282         * libnautilus-extensions/nautilus-directory-async.c
14283         (nautilus_directory_cancel_loading_file_attributes): Function to
14284         cancel in-progress I/O for a given set of attributes but only if
14285         it is in progress for the specified file. This function is used to
14286         implement part of `nautilus_file_forget_attributes'.
14287         (cancel_directory_count_for_file, cancel_deep_counts_for_file,
14288         cancel_mime_list_for_file, cancel_top_left_text_for_file,
14289         cancel_file_info_for_file, cancel_activation_uri_for_file): Helper
14290         functions for the above.
14291         (nautilus_directory_force_reload): Add a `file_attributes'
14292         argument and make sure to forget the specified
14293         attributes. Forgetting the attributes fixes bugs 3240 and 4683.
14294         (nautilus_directory_forget_file_attributes): Function to forget
14295         the specified attributes for all files. It makes sure to only
14296         cancel and kick off new I/O once.
14297         (cancel_loading_attributes): helper function for the above that
14298         cancels in-progress loads for the specified attributes, regardless
14299         of for what file.
14300         (request_is_satisfied): The request is not satisfied if the
14301         request calls for top left text and the file lacks it.  
14302         (top_left_read_callback): Set 1got_top_left_text' field of the
14303         NautilusFile to TRUE. This problem was masked by the problem with
14304         `request_is_satisfied' fixed above.
14305         (set_up_request_by_file_attributes): Make sure to request the
14306         file_info as well if top left text is requested, since
14307         applicability of top left text depends on the mime type.
14308         (get_info_callback): Mark the file gone if we get
14309         GNOME_VFS_ERROR_NOT_FOUND; we can only get this error for files
14310         gnome-vfs should know about but that do not exist. This is needed
14311         to detect files that are removed on a reload.
14313         * libnautilus-extensions/nautilus-directory-private.h: Update
14314         prototype for `nautilus_directory_force_reload'; Prototype
14315         `nautilus_directory_cancel_loading_file_attributes'
14317         * libnautilus-extensions/nautilus-vfs-directory.c
14318         (vfs_file_monitor_add): Pass the file attributes to
14319         `nautilus_directory_force_reload' since it now wants them.
14321         * src/nautilus-window-manage-views.c
14322         (viewed_file_changed_callback): Cancel location change before
14323         closing the window, since detecting the file is gone is now likely
14324         to happen in the middle of an in-progress reload, and we get
14325         crashes if this is not done.    
14326         (nautilus_window_begin_location_change): If we're doing a reload,
14327         forget all file attributes of the NautilusFile for the currently
14328         viewed location. This is to make sure we detect if the file is
14329         gone, and also update the sidebar panel icon and other info
14330         appropriately. This fixes bug 4385.
14332 2000-11-29  Eskil Heyn Olsen  <eskil@eazel.com>
14334         * components/services/install/command-line/Makefile.am:
14335         * components/services/install/command-line/eazel-test-packsys.c:
14336         (make_package), (test_packagelist_prune), (test_package_load),
14337         (init_package_system), (test_matches_query), (main):
14338         Some code to test some of the packagesystem functions
14339         
14340         * components/services/install/lib/Makefile.am:
14341         build the skeleton and rpm3 package system
14343         * components/services/install/lib/eazel-install-corba-callback.c:
14344         (eazel_install_callback_simple_query):
14345         Fixed indentation
14346         
14347         * components/services/install/lib/eazel-install-private.h:
14348         * components/services/install/lib/eazel-install-object.c:
14349         (eazel_install_set_arg), (eazel_install_class_initialize),
14350         (eazel_install_initialize):
14351         added ssl_rename and ignore_file_conflicts to the gtkarg sytem.
14352         Added some comments reg. bug 4851
14354         * components/services/install/lib/eazel-install-problem.c:
14355         (find_dominant_problems):
14356         Null input if empty
14357         
14358         * components/services/install/lib/eazel-install-rpm-glue.c:
14359         (eazel_install_start_transaction_make_rpm_argument_list):
14360         Fixed a uninstall bug in the rpm arg building.
14361         
14362         * components/services/install/lib/eazel-install-types.h:
14363         * components/services/install/lib/eazel-install-types.c:
14364         (packagedata_list_prune):
14365         Implemented a function to prune a list of packagedata objects from
14366         another list.
14367         
14368         * components/services/install/lib/eazel-package-system-private.h:
14369         * components/services/install/lib/eazel-package-system-rpm3.c:
14370         (get_and_set_string_tag), (rpm_packagedata_fill_from_rpm_header),
14371         (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
14372         (eazel_package_system_rpm3_load_package),
14373         (eazel_package_system_rpm3_query_impl),
14374         (eazel_package_system_rpm3_query_substr),
14375         (eazel_package_system_rpm3_query_foreach),
14376         (eazel_package_system_rpm3_query),
14377         (eazel_package_system_rpm3_install),
14378         (eazel_package_system_rpm3_uninstall),
14379         (eazel_package_system_rpm3_verify),
14380         (eazel_package_system_rpm3_open_roots),
14381         (eazel_package_system_rpm3_finalize),
14382         (eazel_package_system_rpm3_class_initialize),
14383         (eazel_package_system_rpm3_initialize),
14384         (eazel_package_system_rpm3_get_type),
14385         (eazel_package_system_rpm3_new),
14386         (eazel_package_system_implementation):
14387         * components/services/install/lib/eazel-package-system-rpm3.h:
14388         * components/services/install/lib/eazel-package-system-skeleton.c:
14389         (eazel_package_system_skeleton_load_package),
14390         (eazel_package_system_skeleton_query),
14391         (eazel_package_system_skeleton_install),
14392         (eazel_package_system_skeleton_uninstall),
14393         (eazel_package_system_skeleton_verify),
14394         (eazel_package_system_skeleton_finalize),
14395         (eazel_package_system_skeleton_class_initialize),
14396         (eazel_package_system_skeleton_initialize),
14397         (eazel_package_system_skeleton_get_type),
14398         (eazel_package_system_skeleton_new),
14399         (eazel_package_system_implementation):
14400         * components/services/install/lib/eazel-package-system-skeleton.h:
14401         * components/services/install/lib/eazel-package-system.c:
14402         (eazel_package_system_suggest_id),
14403         (eazel_package_system_load_implementation),
14404         (eazel_package_system_load_package), (eazel_package_system_query),
14405         (eazel_package_system_install), (eazel_package_system_uninstall),
14406         (eazel_package_system_verify), (eazel_package_system_emit_start),
14407         (eazel_package_system_emit_progress),
14408         (eazel_package_system_emit_failed),
14409         (eazel_package_system_emit_end),
14410         (eazel_package_system_class_initialize),
14411         (eazel_package_system_initialize), (eazel_package_system_new_real),
14412         (eazel_package_system_new_with_id), (eazel_package_system_new),
14413         (eazel_package_system_marshal_BOOL__POINTER_ENUM_POINTER_POINTER),
14414         (eazel_package_system_marshal_BOOL__POINTER_ENUM_POINTER):
14415         * components/services/install/lib/eazel-package-system.h:
14416         working on 4850, 4851, 4852 and 4858.
14417         
14418         * components/services/trilobite/libtrilobite/libtrilobite.h:
14419         
14420         * nautilus-installer/src/callbacks.c: (begin_install):
14421         * nautilus-installer/src/installer.c: (skip_over_remove_problems),
14422         (jump_to_retry_page), (install_done), (go_live),
14423         (eazel_installer_add_category), (eazel_installer_do_install),
14424         (eazel_installer_post_install), (draw_splash_text),
14425         (eazel_installer_set_default_texts), (eazel_installer_initialize):
14426         * nautilus-installer/src/installer.h:
14427         The last of the pr2.1 stuff.
14428         
14429         * nautilus.spec.in:
14430         devel package includes libtrilobite/eazel/*
14432 2000-11-29  Darin Adler  <darin@eazel.com>
14434         reviewed by: Pavel Cisler <pavel@eazel.com>
14436         Fixed some problems with callbacks that are left around after
14437         the object is destroyed.
14439         * src/nautilus-window-manage-views.h:
14440         * src/nautilus-window-manage-views.c:
14441         (viewed_file_changed_callback): Changed to be a normal callback,
14442         not a "connect_object" callback, and simplified the logic.
14443         (cancel_viewed_file_changed_callback): Added a function to cancel
14444         the callback, which is needed both when the window is destroyed
14445         and when the viewed file changes.
14446         (update_for_new_location): Cancel the old callback before setting
14447         up the new one so we don't leave behind callbacks for old locations.
14448         Also use the new nautilus_window_set_viewed_file function so the
14449         callbacks set up in nautilus-window.c can be managed properly.
14450         (free_location_change): Moved part of
14451         nautilus_window_free_load_info in here. This function frees all
14452         the stuff that's used in the location change process; shared by
14453         destroy and "cancel" code. Also fixed a bug where it wouldn't free
14454         the "error_views".
14455         (cancel_location_change): Moved the rest of
14456         nautilus_window_free_load_info in here and made this use the new
14457         function.
14458         (disconnect_view): Made this private now that the code to
14459         disconnect the views is inside this file.
14460         (disconnect_view_callback),
14461         (nautilus_window_manage_views_destroy): Moved the code to clean up
14462         from nautilus-window.c in here. Added cleanup for the location
14463         change fields and for the viewd_file_changed callback.
14464         
14465         * src/nautilus-window.c: 
14466         (nautilus_window_destroy): Call a new function to do the
14467         nautilus-window-manage-views.c part of the destroy and moved some
14468         code in there. Cancel the view-as callback too.
14469         (create_view_as_menu_item),
14470         (replace_special_current_view_in_view_as_menu),
14471         (nautilus_window_synch_view_as_menu): Renamed. The words "view as
14472         menu" are clearer than "content view menu".
14473         (chose_component_callback): Got rid of code that tries to handle
14474         bad values for callback data. The callback must be cancelled,
14475         because you can't call NAUTILUS_IS_WINDOW on a freed window and
14476         expect it to behave predictably.
14477         (cancel_chose_component_callback): Function to cancel the callback,
14478         called at both destroy time and before adding a new one.
14479         (view_menu_choose_view_callback): Cancel the old callback before
14480         adding a new one.
14481         (view_menu_vfs_method_callback): Simplify logic a bit.
14482         (load_view_as_menu_callback): Renamed.
14483         (cancel_view_as_callback): Function to cancel the callback, called
14484         at both destroy time and before adding a new one.
14485         (nautilus_window_load_view_as_menu): Cancel the old callback before
14486         adding a new one. Also renamed.
14487         (nautilus_window_set_viewed_file): A new function that cancels the
14488         callbacks on the file object before switching to a new one.
14489         
14490         * libnautilus-extensions/nautilus-program-choosing.c:
14491         (nautilus_cancel_choose_component_for_file): Implemented missing
14492         cancel function, needed by new window code.
14493         
14494         * src/nautilus-window-private.h:
14495         * src/nautilus-window-menus.c:
14496         (bookmarks_menu_add_bookmark_callback),
14497         (add_bookmark_for_current_location): Made the function local to
14498         this file since it's both defined and used here.
14500         * libnautilus-extensions/nautilus-glib-extensions.c:
14501         * libnautilus-extensions/nautilus-volume-monitor.c:
14502         * libnautilus/nautilus-undo-transaction.c:
14503         * libnautilus/nautilus-view.c:
14504         * librsvg/rsvg.c:
14505         Added missing "static" to make some local non-"nautilus_"-prefixed
14506         globals be internal instead of external.
14507         
14508         * src/nautilus-sidebar.c: Formatting tweaks, added FIXME.
14510 2000-11-29  Ramiro Estrugo  <ramiro@eazel.com>
14512         * nautilus.spec.in:
14513         * README:
14514         Add esound dependency.  We've used esound to do sound previews and 
14515         in the Music View, but the the dependency was never reflected in
14516         the spec file or documentation.
14517         
14518 2000-11-29  Andy Hertzfeld  <andy@eazel.com>
14520         * components/text/nautilus-text-view.c:
14521         (nautilus_text_view_load_uri), (text_view_load_location_callback),
14522         (handle_service_menu_item), (service_menu_item_parameters_new),
14523         (service_menu_item_parameters_free), (add_one_service):
14524         added the ability for a text view service to operate on the entire
14525         document and return a mapped version, which replaces the original.
14527         * components/text/services/google.xml:
14528         * components/text/services/webster.xml:
14529         marked the existing services, which operate on the selection, as such
14530         
14531 2000-11-28  Andy Hertzfeld  <andy@eazel.com>
14533         implementated data-driven framework for text view services. The text
14534         view dynamically builds the services menu by iterating a directory
14535         looking for xml files.  Added service definition files for two sample
14536         services.  It only supports passing the selection to the service;
14537         passing the entire document is coming soon.
14538                 
14539         * components/text/Makefile.am:
14540         include the services directory in the build
14542         * configure.in:
14543         * components/text/services/.cvsignore:
14544         * components/text/services/Makefile.am:
14545         build stuff for services directory
14547         * components/text/services/google.xml:
14548         * components/text/services/webster.xml:
14549         definition files for our twp sample services
14550                         
14551         * components/text/nautilus-text-view-ui.xml:
14552         removed hardwired service menu items
14553         
14554         * components/text/nautilus-text-view.c: (handle_service_menu_item),
14555         (service_menu_item_parameters_new),
14556         (service_menu_item_parameters_free), (add_one_service),
14557         (add_services_to_menu), (nautilus_text_view_build_service_menu),
14558         (merge_bonobo_menu_items):
14559         implemented framework to dynamically load service definitions and
14560         execute them when their menu item is selected.
14561         
14562 2000-11-28  Robey Pointer  <robey@eazel.com>
14564         * components/services/install/lib/eazel-install-object.c:
14565         (eazel_install_log):
14567         Only log debug messages if debug flag is set.
14568         
14569         * nautilus-installer/src/installer.c: (start_logging):
14570         * nautilus-installer/src/main.c: (main):
14572         Add --spam/-x flag to the installer to cause debug logging to go
14573         to stderr in addition to the logfile.  Make --debug/-d flag not do
14574         that spamming anymore, and make it turn off debugging logs when
14575         this flag isn't used.
14577 2000-11-28  Darin Adler  <darin@eazel.com>
14579         * libnautilus-extensions/nautilus-user-level-manager.c:
14580         * libnautilus-extensions/nautilus-user-level-manager.h:
14581         Got rid of _get_num_user_levels call.
14583 2000-11-28  Darin Adler  <darin@eazel.com>
14585         reviewed by: Pavel Cisler <pavel@eazel.com>
14587         * libnautilus-extensions/nautilus-view-identifier.h: Remove
14588         HAVE_POPT_H define since the bug in OAF that we were working
14589         around has been fixed.
14590         
14591         * components/music/nautilus-music-view.c: Remove unneeded
14592         includes.
14593         
14594         * components/rpmview/nautilus-rpm-view.c: Remove unused
14595         #define and FIXME for bug already fixed.
14596         * components/tree/nautilus-tree-view.c:
14597         (nautilus_tree_view_destroy): Remove FIXME for bug already fixed.
14598         * libnautilus-extensions/nautilus-global-preferences.c: Remove
14599         FIXME for bug already fixed.
14600         * libnautilus-extensions/nautilus-user-level-manager.c: Remove
14601         FIXME for bug already fixed.
14602         * src/file-manager/fm-list-view.c: (fm_list_get_default_action):
14603         Remove FIXME for bug already fixed.
14604         * src/nautilus-property-browser.c: (add_background_to_browser):
14605         Remove FIXME for bug already fixed.
14606         * src/nautilus-window.h: Remove FIXME for bug already fixed.
14607         
14608         * tools/README: Remove file now that people have had a chance to
14609         find the tools in their new location, so the directory will go
14610         away.
14612 2000-11-28  John Sullivan  <sullivan@eazel.com>
14614         reviewed by: Pavel Cisler <pavel@eazel.com>
14616         Fixed bug 4257 (right click on background in icon or list
14617         view doesn't leave context menus up)
14619         This was a problem with nautilus_pop_up_context_menu. It
14620         wasn't passing the event time, which caused GTK to think
14621         that the button-release was for a later button press, and
14622         consequently to close the context menu. It appears that the
14623         root cause may be a gtk menu handling bug, but this checkin
14624         fixes the problem as far as Nautilus is concerned.
14626         * libnautilus-extensions/nautilus-gtk-extensions.h:
14627         * libnautilus-extensions/nautilus-gtk-extensions.c:
14628         (nautilus_pop_up_context_menu): Now takes event as a
14629         parameter, and passes event->time through to gtk_menu_popup.
14630         Passes 0 for button if event is a button release, to work with
14631         subtle logic in gtk popup menu-handling.
14633         * libnautilus-extensions/nautilus-icon-container.h:
14634         * libnautilus-extensions/nautilus-icon-container.c:
14635         Add event parameters to context-click signal handlers.
14636         (nautilus_icon_container_initialize_class): Change signal
14637         marshal and signature.
14638         (context_menu_parameters_new), (context_menu_parameters_free):
14639         New helper functions to manage callback data when delaying
14640         the appearance of a context menu.
14641         (button_press_event), (button_release_event),
14642         (show_context_menu_callback): Pass event when emitting signal.
14643         (handle_icon_button_press): Pass event as well as container
14644         to idle callback.
14645         
14646         * libnautilus-extensions/nautilus-list.h:
14647         * libnautilus-extensions/nautilus-list.c:
14648         Add event parameters to context-click signal handlers.
14649         (nautilus_list_initialize_class): Change signal marshal and
14650         signature.
14651         (context_menu_parameters_new), (context_menu_parameters_free):
14652         New helper functions to manage callback data when delaying
14653         the appearance of a context menu.
14654         (nautilus_list_button_press), (nautilus_list_button_release),
14655         (show_context_menu_callback): Pass event when emitting signal
14656         or setting up idle callback.
14657         
14658         * src/file-manager/fm-directory-view.h:
14659         * src/file-manager/fm-directory-view.c:
14660         (fm_directory_view_pop_up_selection_context_menu),
14661         (fm_directory_view_pop_up_background_context_menu):
14662         Take event parameter and pass it to
14663         nautilus_pop_up_context_menu.
14664         
14665         * src/file-manager/fm-icon-view.c:
14666         (icon_container_context_click_selection_callback),
14667         (icon_container_context_click_background_callback):
14668         Add event parameter to match signal change, and pass
14669         event when calling fm_directory_view_pop_up_xxx
14670         
14671         * src/file-manager/fm-list-view.c:
14672         (context_click_selection_callback),
14673         (context_click_background_callback):
14674         Add event parameter to match signal change, and pass
14675         event when calling fm_directory_view_pop_up_xxx
14676         
14677         * src/nautilus-window-toolbars.c:
14678         (back_or_forward_button_clicked_callback):
14679         Pass event for context menu on Back and Forward
14680         buttons (this code is still #ifdeffed out from Bonobo
14681         switchover, awaiting fix for bug 3510).
14683         * src/nautilus-sidebar.c: (nautilus_sidebar_press_event):
14684         Pass event for context menu in sidebar.
14686         * src/nautilus-zoom-control.c:
14687         (nautilus_zoom_control_button_press_event):
14688         Pass event for context menu in zoom control.
14690 2000-11-28  Arlo Rose  <arlo@eazel.com>
14692         * /icons/loading.png:
14693         * /icons/eazel/fossil.png:
14694         * /icons/villanova/villanova_green.png:
14695         Fixed the white point problem on a few PNG files.
14696         I don't think this got them all.
14698 2000-11-28  J Shane Culpepper  <pepper@eazel.com>
14700         * components/services/trilobite/libtrilobite/Makefile.am:
14702         The real fix has now been found for tinderbox breakage.
14704 2000-11-28  Rebecca Schulman  <rebecka@eazel.com>
14705         Fixes for bugs 2376, 4553, and 3799
14706         This should make the complex search bar usable
14707         and visible.
14709         reviewed by: Maciej Stachowiak <mjs@eazel.com>
14711         * configure.in:
14712         * libnautilus-extensions/Makefile.am:
14713         * cut-n-paste-code/widgets/Makefile.am:
14714         * cut-n-paste-code/widgets/gimphwrapbox/.cvsignore:
14715         * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
14716         * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c:
14717         (gtk_hwrap_box_get_type), (gtk_hwrap_box_class_init),
14718         (gtk_hwrap_box_init), (gtk_hwrap_box_new), (get_child_requisition),
14719         (_gtk_hwrap_box_size_request), (get_layout_size),
14720         (gtk_hwrap_box_size_request), (reverse_list_row_children),
14721         (layout_row), (layout_rows), (gtk_hwrap_box_size_allocate):
14722         * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h:
14723         * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
14724         (gtk_wrap_box_get_type), (gtk_wrap_box_class_init),
14725         (gtk_wrap_box_init), (gtk_wrap_box_set_arg),
14726         (gtk_wrap_box_get_arg), (gtk_wrap_box_set_child_arg),
14727         (gtk_wrap_box_get_child_arg), (gtk_wrap_box_child_type),
14728         (gtk_wrap_box_set_homogeneous), (gtk_wrap_box_set_hspacing),
14729         (gtk_wrap_box_set_vspacing), (gtk_wrap_box_set_justify),
14730         (gtk_wrap_box_set_line_justify), (gtk_wrap_box_set_aspect_ratio),
14731         (gtk_wrap_box_pack), (gtk_wrap_box_reorder_child),
14732         (gtk_wrap_box_query_child_packing),
14733         (gtk_wrap_box_query_child_forced_break),
14734         (gtk_wrap_box_set_child_packing),
14735         (gtk_wrap_box_set_child_forced_break),
14736         (gtk_wrap_box_query_line_lengths), (gtk_wrap_box_map),
14737         (gtk_wrap_box_unmap), (gtk_wrap_box_draw), (gtk_wrap_box_expose),
14738         (gtk_wrap_box_add), (gtk_wrap_box_remove), (gtk_wrap_box_forall):
14739         * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h:
14740         Copied and pasted the wrapping hbox from the Gimp.
14741         I made a few modifications, including some resizing requests,
14742         when the chosen size is not the right one for the actual 
14743         space available.  Sizing wrapping boxes is a tricky problem
14744         with gtk, because they have nonstandard sizing requests
14745         (they can request x or y or z) and my solution is probably
14746         not optimal, since some of the sizing adjustments are visible
14747         on screen.  However, a better fix is a lot more time consuming,
14748         and should probably wait for past 1.0.
14749         
14751         * src/nautilus-complex-search-bar.c:
14752         (search_bar_criterion_type_changed_callback),
14753         (queue_search_bar_resize_callback),
14754         (nautilus_complex_search_bar_initialize_class),
14755         (nautilus_complex_search_bar_initialize), (real_activate),
14756         (nautilus_complex_search_bar_queue_resize),
14757         (attach_criterion_to_search_bar),
14758         (unattach_criterion_from_search_bar),
14759         (load_find_them_pixmap_widget), (more_options_callback),
14760         (fewer_options_callback), (update_options_buttons_state):
14761         * src/nautilus-complex-search-bar.h:
14762         Changed the criteria layout to be in a vbox instead of a table,
14763         so that we can insert wrapping hboxes.  Added a new function
14764         that will effectively resize the complex search bar, and we call
14765         it at appropriate points. Switched the packing order of the
14766         buttons, since the wrap box has only one packing function, and it is
14767         a pack_start, rather than a pack_end function
14768         
14769         * src/nautilus-search-bar-criterion-private.h:
14770         * src/nautilus-search-bar-criterion.c: (queue_bar_resize_callback),
14771         (nautilus_search_bar_criterion_new_from_values),
14772         (nautilus_search_bar_criterion_show),
14773         (nautilus_search_bar_criterion_hide),
14774         (nautilus_search_bar_criterion_update_valid_criteria_choices),
14775         (hide_date_widget), (show_date_widget), (make_emblem_value_menu):
14776         Put the criteria into wrapping boxes as part of their creation, and 
14777         trigger a resize of the complex search bar when the wrapping box 
14778         complains about its allocated size.
14779         
14781 2000-11-28  Michael Engber  <engber@eazel.com>
14783         * libnautilus-extensions/nautilus-background.c:
14784         (fill_canvas_from_gradient_buffer),
14785         (fill_drawable_from_gradient_buffer),
14786         (update_drawable_with_pixbuf), (draw_pixbuf_tiled):
14787         
14788         Update bug number in FIXME. Fixing some tabbing.
14790 2000-11-28  J Shane Culpepper  <pepper@eazel.com>
14792         * components/services/trilobite/libtrilobite/Makefile.am:
14794         One more try...
14796 2000-11-28  J Shane Culpepper  <pepper@eazel.com>
14798         * components/services/trilobite/libtrilobite/Makefile.am:
14800         Another stab at fixing tinderbox.
14802 2000-11-28  J Shane Culpepper  <pepper@eazel.com>
14804         * components/services/trilobite/libtrilobite/Makefile.am:
14806         Fixing tinderbox build breakage from my last checkin.
14808 2000-11-28  Andy Hertzfeld  <andy@eazel.com>
14810         fixed bugs 4864, 4865, 4866 abd 4868, involving adding and removing
14811         items from the property browser, by rewording error messages and
14812         tweaking some logic.
14814         * src/nautilus-property-browser.c: (add_color_to_browser),
14815         (is_reserved_keyword), (emblem_dialog_clicked), (add_new_emblem),
14816         (make_properties_from_directories),
14817         (make_properties_from_xml_node):
14819 2000-11-28  J Shane Culpepper  <pepper@eazel.com>
14821         * components/services/trilobite/libtrilobite/Makefile.am:
14823         Fix for bug #3110. Make sure the private headers do not
14824         get installed.
14826 2000-11-28  Gene Z. Ragan  <gzr@eazel.com>
14828         reviewed by: Pavel Cisler <pavel@eazel.com>
14830         * libnautilus-extensions/nautilus-entry.c:
14831         (nautilus_entry_initialize):
14832         Set cursor_obscured flag to false and update event mask
14833         to allow pointer moved events.
14834         
14835         (nautilus_entry_motion_notify):
14836         Display the cursor if it was previouslly hidden.
14838         (obscure_cursor):
14839         New function that hides the cursor when the user begins typing.
14841         (nautilus_entry_key_press):
14842         Call obscure_cursor function.
14843         
14844         * libnautilus-extensions/nautilus-entry.h:
14845         Added cursor_obscured flag to entry class.
14846         
14847         * libnautilus-extensions/nautilus-gdk-extensions.c:     
14848         * libnautilus-extensions/nautilus-gdk-extensions.h:
14849         (nautilus_gdk_window_set_invisible_cursor):
14850         New function to hide the cursor of the widget passed in.
14851         
14852 2000-11-27  Maciej Stachowiak  <mjs@eazel.com>
14854         * components/text/Makefile.am: Added definition of NULL to shut up
14855         tinderbox.
14857 2000-11-27  Maciej Stachowiak  <mjs@eazel.com>
14859         reviewed by: Gene Z. Ragan  <gzr@eazel.com>
14861         Fixed bugs 3608 (Tree view disclosure triangle behavior on empty
14862         folders is confusing) and 4368 (Tree View gets confused by
14863         renaming file in closed folder).
14864         
14865         * libnautilus-extensions/nautilus-ctree.h: Reindented.
14867         * libnautilus-extensions/nautilus-ctree.c:
14868         (nautilus_ctree_realize, nautilus_ctree_unrealize,
14869         nautilus_ctree_button_press, nautilus_ctree_draw_expander,
14870         draw_row, nautilus_ctree_unlink, change_focus_row_expansion,
14871         nautilus_ctree_last, nautilus_ctree_find_node_ptr,
14872         nautilus_ctree_find_all_by_row_data): Made NautilusCTree handle
14873         all expansion and expander-related stuff based on whether the
14874         node's is_leaf field is set, not based on whether it actually has
14875         children. This way, by setting is_leaf to FALSE, you can make a
14876         node with no children expandable.
14878         * components/tree/nautilus-tree-view.c:
14879         (nautilus_tree_view_insert_model_node, forget_view_node,
14880         nautilus_tree_view_update_model_node,
14881         nautilus_tree_view_model_done_loading_callback,
14882         nautilus_tree_view_initialize, nautilus_tree_view_destroy),
14883         expand_node_for_file, insert_hack_node, remove_hack_node,
14884         freeze_if_have_hack_node): When inserting or updating nodes, set
14885         is_leaf to FALSE if the node represents a directory, otherwise
14886         TRUE. Remove all code relating to hack node handling. Combined
14887         with the change above, this makes normal directories expand
14888         normally, and prevents directories from collapsing when files
14889         inside them are renamed.        
14891 2000-11-27  Andy Hertzfeld  <andy@eazel.com>
14893         * components/music/nautilus-music-view.c:
14894         (nautilus_music_view_initialize):
14895         fixed bug 4420, non-portable use of string macro, by using the N_
14896         macro as Darin suggested.
14897         
14898         Also, fixed up some glitches in the ChangeLog from previous
14899         check-ins.
14900         
14901 2000-11-27  Mathieu Lacage  <mathieu@eazel.com>
14903         Might fix tinderbox.
14904         * components/text/Makefile.am:
14906 2000-11-27  Pavel Cisler  <pavel@eazel.com>
14908         reviewed by: Gene Z. Ragan  <gzr@eazel.com>
14910         * libnautilus-extensions/nautilus-file.c:
14911         (nautilus_file_contains_text):
14912         Fixed bugzilla 4756 - binary files previewed on icons.
14913         Turned out to be easy - the nautilus_file_contains_text was 
14914         over-optimistic. Changed it to only mark for preview actual text files 
14915         (files with the "text" MIME supertype).
14917 2000-11-27  Andy Hertzfeld  <andy@eazel.com>
14919         added a new text view component with zooming, settable fonts and
14920         text-oriented services. The services are currently hardwired but there
14921         will be a framework soon.  You may have to delete your
14922         /gnome/share/oaf/text-plain.oafinfo to see it in action.
14923         
14924         * configure.in: 
14925         * components/Makefile.am:
14926         * components/text/.cvsignore:
14927         * components/text/Makefile.am:
14928         build stuff for the new text view
14929         
14930         * components/text/main.c: (text_view_object_destroyed),
14931         (text_view_make_object), (main):
14932         factory object for the text view
14933         
14934         * components/text/nautilus-text-view-ui.xml:
14935         xml file defining the menus for the text view
14937         * components/text/nautilus-text-view.oafinfo:
14938         oaf definitions for the text view
14939         
14940         * components/text/nautilus-text-view.h:
14941         interface file for the text view
14942         
14943         * components/text/nautilus-text-view.c:
14944         (nautilus_text_view_initialize_class),
14945         (nautilus_text_view_initialize), (detach_file),
14946         (nautilus_text_view_destroy),
14947         (nautilus_text_view_get_nautilus_view),
14948         (nautilus_text_view_update), (nautilus_text_view_load_uri),
14949         (text_view_load_location_callback),
14950         (nautilus_text_view_update_font), (get_selected_text),
14951         (text_view_search_callback), (text_view_lookup_callback),
14952         (nautilus_text_view_set_font), (handle_ui_event),
14953         (merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
14954         (nautilus_text_view_bump_zoom_level), (zoomable_zoom_in_callback),
14955         (zoomable_zoom_out_callback), (zoom_index_from_float),
14956         (zoomable_set_zoom_level_callback),
14957         (zoomable_zoom_to_fit_callback):
14958         implementation for the text view
14959                 
14960         * libnautilus-extensions/nautilus-icon-container.c:
14961         (lay_down_icons_horizontal):
14962         fixed bug 3485, icon layout not using all of the available space, by tweaking the
14963         code to not require the extra space between the columns
14964         
14965 2000-11-27  Darin Adler  <darin@eazel.com>
14967         * nautilus.spec.in: Removed a file that's no longer present.
14968         This is another crack at fixing the Tinderbox.
14970         * components/services/install/lib/.cvsignore: Ignore the
14971         new .la file too.
14973 2000-11-27  Robin * Slomkowski  <rslomkow@eazel.com>
14975         * configure.in: added check for esd via m4 macro.
14977 2000-11-27  Gene Z. Ragan  <gzr@eazel.com>
14979         buddy: Pavel Cisler <pavel@eazel.com>
14981         We now use the "noauto" flag in the fstab entry for the device
14982         to determine if the volume is removable. This is still imperfect,
14983         but much better than the enumerated case that was being used before.
14984         
14985         * libnautilus-extensions/nautilus-volume-monitor.c:
14986         (nautilus_volume_monitor_volume_is_removable),
14987         (nautilus_volume_monitor_get_removable_volumes),
14988         (mnttab_add_mount_volume), (mntent_add_mount_volume):
14990         * libnautilus-extensions/nautilus-volume-monitor.h:
14991         Added is_removable field to NautilusVolume struct.
14992         
14993 2000-11-27  Darin Adler  <darin@eazel.com>
14995         * components/services/install/lib/Makefile.am:
14996         Makefile listed ".o" files instead of sources, making srcdir ==
14997         builddir builds not compile anything! Fixed so the files are
14998         compiled even when srcdir == builddir; this makes us all see the
14999         errors we were previously seeing only on the Tinderbox.
15000         
15001         * components/services/install/lib/eazel-softcat-private.h:
15002         * components/services/install/lib/eazel-softcat.c:
15003         (eazel_softcat_class_initialize):
15004         * components/services/install/lib/eazel-softcat.h:
15005         Tweaked and disabled enough code so it builds now. This fixes the
15006         Tinderbox build.
15008 2000-11-27  Andy Hertzfeld  <andy@eazel.com>
15010         * icons/Makefile.am:
15011         * icons/eazel/i-directory-*:
15012         * icons/emblem-changed.gif:
15013         * icons/emblem-encrypted.gif:
15014         * icons/emblem-remote.gif:
15015         
15016         removed some ancient, unused emblem images, and added updated
15017         folder icons in eazel theme from Susan.
15018                 
15019 2000-11-27  Darin Adler  <darin@eazel.com>
15021         reviewed by: John Sullivan <sullivan@eazel.com>
15023         * libnautilus-extensions/nautilus-icon-container.c:
15024         (hide_rename_widget):
15025         * libnautilus-extensions/nautilus-icon-dnd.c:
15026         (create_selection_shadow):
15027         Remove two different FIXMEs about using gtk_object_destroy instead
15028         of gtk_object_unref. It turns out that for widgets, destroy is the
15029         right way to let go.
15031 2000-11-27  Andy Hertzfeld  <andy@eazel.com>
15033         * src/file-manager/fm-directory-view.c: (real_update_menus):
15034         fixed bug where the "Reset Background" command in the icon view
15035         was not being disabled when the background was the default.
15036         
15037 2000-11-27  Rebecca Schulman <rebecka@eazel.com>
15038         (committed under eli@eazel.com)
15040         * components/services/install/lib/eazel-softcat.h:
15041         Added a couple of missing semicolons, which hopefully will
15042         make tinderbox happy.
15044 2000-11-27 John Fleck <jfleck@inkstain.net>
15046         * components/help/converters/gnome-db2html2/sect-elements.c
15047         add line to sect_author_characters to print out contents of author
15048         tag; fixing bug #4801
15049         
15050         elements in body of doc
15052 2000-11-26  Maciej Stachowiak  <mjs@eazel.com>
15054         Some build fixes to make tinderbox happy.
15056         * components/services/install/lib/eazel-package-system-private.h:
15057         Add return types (randomly guessed `void') to function pointer
15058         members of structs.
15060         * components/services/install/lib/eazel-package-system.h: Don't
15061         include the private header in the public header. Add some
15062         semicolons after some typedefs. Add a missing comma in an enum
15063         declaration. Add prototype for `eazel_package_system_unref'.
15065         * components/services/install/lib/Makefile.am: Comment out
15066         libeazelpackagesystem.la from the build, since even after these
15067         changes it won't compile.
15069 2000-11-25  Ali Abdin  <aliabdin@aucegypt.edu>
15071         * components/help/converters/gnome-db2html2/sect-preparse.c:
15072         (sect_preparse_sect_start_element):
15073         Allow navigation links at the end of the glossary (this makes sure
15074         </BODY> and </HTML> tags are added)
15076 2000-11-24  Ali Abdin  <aliabdin@aucegypt.edu>
15078         * components/help/help-method.c:
15079         (old_help_file): Removed
15080         (find_help_file): Change this code to make it more consistant and
15081         clear. I think it also made it go from O(n^2) to O(n) for the case
15082         of HTML files (even though in practice this may not mean much since n
15083         is small). Anyway, this is a better fix for bug #4724
15085 2000-11-23  Ali Abdin  <aliabdin@aucegypt.edu>
15087         Preliminary glossary supports.
15088         Fix bug #2399, #4702, #4724. Partial fix for #4724
15089         (a few of the above are thanks to patches/mails from
15090         jfleck@inkstain.net)
15091         Some other misc. bug-fixing.
15092         Cleaned up some code.
15093         Preliminary glossary support (thanks to a patch by
15094         jfleck@inkstain.net)
15095         
15096         * components/help/help-method.c:
15097         (file_in_info_path):
15098         Fix a typo preventing it from searching /usr/gnome/info
15099         Add in support for /usr/share/info directory for Debian (hopefully
15100         this fixes bug #4414)
15101         (transform_file),
15102         (find_help_file): Move the searching for HTML files into the
15103         find_help_file function to make things consistant. Fixes bug #4724
15105         * components/help/converters/gnome-db2html2/gdb3html.c:
15106         (init_entities): Conver entities to use a table, and add support for
15107         iso-latin characters (for i18n purposes).
15108         (parse_file): set version to XML_DEFAULT_VERSION, fixes bug #2399
15109         #if 0'd out a useless call to a function
15110         (xml_parse_file): #if 0'd out this function since we no longer use it
15111         
15112         * components/help/converters/gnome-db2html2/sect-elements.c:
15113         (sect_figure_start_element): 
15114         Increment the figure count as soon as we enter (instead of when we
15115         leave) (should fix #4702)
15117         * components/help/converters/gnome-db2html2/gdb3html.[ch]:
15118         * components/help/converters/gnome-db2html2/sect-elements.[ch]:
15119         * components/help/converters/gnome-db2html2/sect-preparse.c,
15120         * components/help/converters/gnome-db2html2/toc-elements.c:
15121         (glossentry_stack_add), (glossary_start_element),
15122         (sect_glossseealso_start_element),
15123         (sect_glosssee_start_element),
15124         (sect_preparse_glossary_start_element),
15125         (sect_preparse_glossterm_characters),
15126         (toc_glossdiv_start_element), (toc_glossdiv_end_element)
15127         (toc_glossentry_start_element), (toc_glossentry_end_element),
15128         (toc_glossterm_start_element), (toc_glossterm_end_element):
15129         New functions for glossary support
15131         (sect_title_start_element), (sect_title_end_element),
15132         (sect_title_characters),
15133         (toc_author_start_element), (toc_author_characters)
15134         (toc_title_start_element), (toc_title_end_element),
15135         (toc_title_characters):
15136         Modified functions for glossary support
15137         
15138         (sect_preparse_set_doctype):
15139         Add support for glossary, and fix a bug (we should set to BOOK_DOC and
15140         ARTICLE_DOC instead of just BOOK or ARTICLE!!!)
15142 2000-11-22  Eskil Heyn Olsen  <eskil@eazel.com>
15144         * components/services/install/lib/Makefile.am:
15145         * components/services/install/lib/eazel-package-system-private.h:
15146         * components/services/install/lib/eazel-package-system.c:
15147         (eazel_package_system_finalize), (eazel_package_system_unref),
15148         (eazel_package_system_class_initialize),
15149         (eazel_package_system_initialize), (eazel_package_system_get_type),
15150         (eazel_package_system_new):
15151         * components/services/install/lib/eazel-package-system.h:
15152         * components/services/install/lib/eazel-softcat-private.h:
15153         * components/services/install/lib/eazel-softcat.c:
15154         (eazel_softcat_finalize), (eazel_softcat_unref),
15155         (eazel_softcat_class_initialize), (eazel_softcat_initialize),
15156         (eazel_softcat_get_type), (eazel_softcat_new):
15157         * components/services/install/lib/eazel-softcat.h:
15158         The first parts of the upcoming big rewrite of libeazelinstall.
15159         
15160         * components/services/install/lib/eazel-install-object.c:
15161         (eazel_install_install_packages):
15162         Always set_uninstall(FALSE) in install.
15163         
15164         * components/services/install/lib/eazel-install-problem.c:
15165         (eazel_install_problem_case_to_string),
15166         (eazel_install_problem_handle_cases):
15167         Removed debug output and moved the translation comments back to
15168         right before the i18n strings.
15169         Also copy the install_categories and uninstall_categories, to not
15170         corrupt the callers category lists.
15171         
15172         * nautilus-installer/src/Makefile:
15173         Yes.
15174         * nautilus-installer/src/installer.c: (start_over),
15175         (start_over_callback_druid), (dont_start_over_callback),
15176         (create_what_to_do_page), (jump_to_retry_page),
15177         (eazel_installer_do_install), (eazel_installer_setup_texts):
15178         Fixing 4841
15179         * nautilus-installer/src/installer.h:
15180         Removed some old cruft.
15182 2000-11-22  Andy Hertzfeld  <andy@eazel.com>
15184 `       * libnautilus-extensions/nautilus-image.h:
15185         added nautilus_image_new_from_file convenience routine
15186         * libnautilus-extensions/nautilus-image.c:
15187         (nautilus_image_new_from_file):
15188         implemented nautilus_image_new_from_file to make it easy to
15189         convert code that used gnome_pixmap_new_from_file to use
15190         anti-aliased images
15191         
15192         * components/hardware/nautilus-hardware-view.c: (setup_form_title),
15193         (setup_overview_form):
15194         converted the hardware view to use anti-aliased images
15195         
15196 2000-11-22  Michael K. Fleming  <mfleming@eazel.com>
15198         * src/nautilus-first-time-druid.c: (set_http_proxy):
15200         Set the newly specified "/system/gnome-vfs/use-http-proxy" flag 
15201         when setting an http proxy
15203 2000-11-22  Robey Pointer  <robey@eazel.com>
15205         * nautilus-installer/src/installer.c: (start_over_button),
15206         (jump_to_retry_page):
15208         Change ignore button callback to match what GTK expects.
15210 2000-11-22  Michael Engber  <engber@eazel.com>
15212         * src/nautilus-application.c: (nautilus_application_startup):
15213         Always open a window in response to typing nautilus
15214         at the cmd line. Used to not open a window if you typed
15215         nautilus --start-desktop. Bug 4720
15217 2000-11-22  Michael Engber  <engber@eazel.com>
15219         * libnautilus-extensions/nautilus-background.c:
15220         (nautilus_background_load_image_callback),
15221         (nautilus_background_set_image_uri_and_color),
15222         (nautilus_background_reset):
15223         * src/nautilus-sidebar.c: (setting_change_metadata_callback),
15224         (background_settings_changed_callback):
15225         Fixed problem dropping images onto sidebar - bug 4822
15227 2000-11-22  Ramiro Estrugo  <ramiro@eazel.com>
15229         * configure.in:
15230         Build the mozilla component without rtti and without exceptions.
15231         This causes problems on some g++ compilers.
15232         
15233 2000-11-22  Rebecca Schulman  <rebecka@eazel.com>
15234         Fixed bug 3919, that the numeric date field still
15235         showed when "day is yesterday" was chosen
15237         * src/nautilus-search-bar-criterion.c:
15238         (nautilus_search_bar_criterion_new_from_values),
15239         (nautilus_search_uri_get_first_criterion),
15240         (modified_relation_should_show_value), (hide_date_widget),
15241         (show_date_widget):
15242         Added callbacks to correctly show and hide the date 
15243         widget.
15245 2000-11-21  Robey Pointer  <robey@eazel.com>
15247         * components/services/install/lib/eazel-install-problem.c:
15248         (eazel_install_problem_case_to_string),
15249         (eazel_install_problem_case_foreach_to_string),
15250         (eazel_install_problem_case_foreach_to_package_names),
15251         (eazel_install_problem_cases_to_package_names),
15252         (eazel_install_problem_find_dominant_problem_type):
15253         * components/services/install/lib/eazel-install-problem.h:
15255         Add hack to let us ask for only the package names of items in the
15256         problem list (and only those that need to be uninstalled).  This
15257         lets us build up a special bullet list for the "update not found"
15258         installer panel.
15259         
15260         * nautilus-installer/src/callbacks.c: (begin_install),
15261         (prep_retry):
15262         * nautilus-installer/src/installer.c: (remove_problems_timer),
15263         (jump_to_retry_page), (toggle_button_lock),
15264         (toggle_button_toggled), (eazel_installer_set_default_texts):
15266         Fix up the "update not found" panel to match a reasonable UI, and
15267         fix some bugs that caused it to go straight into another
15268         (extremely confusing) panel that suggested you ignore "all
15269         problems" and then listed no problems.
15271         * nautilus-installer/src/Makefile.am:
15272         * nautilus-installer/src/support.c:
15273         * nautilus-installer/src/support.h:
15275         Remove the unused support.c from the Makefile, and mark the files
15276         as unused so that a more adventurous soul can cvs remove them soon.
15278 2000-11-21  Rebecca Schulman  <rebecka@eazel.com>
15280         reviewed by: Pavel Cisler <pavel@eazel.com>
15282         Fixes for bugs 690 and 733, to make the clipboard
15283         work for file editing in place, and make sensitivity
15284         work. Paste doesn't work correctly still, and a bug
15285         is filed for this issue.  
15287         * libnautilus-extensions/nautilus-entry.h:
15288         * libnautilus-extensions/nautilus-entry.c:
15289         (nautilus_entry_initialize_class), (nautilus_entry_key_press),
15290         (nautilus_entry_motion_notify), (nautilus_entry_set_text),
15291         (nautilus_entry_set_selection), (nautilus_entry_insert_text),
15292         (nautilus_entry_delete_text):
15293         Added a new signal to nautilus entry, called "selection_changed"
15294         that is fired whenever the region selected in an editiable widget
15295         is changed.  This is used to determine how to set clipboard sensitivity
15296         correctly.
15298         * libnautilus-extensions/nautilus-icon-container.h:
15299         * libnautilus-extensions/nautilus-icon-container.c:
15300         (nautilus_icon_container_initialize_class),
15301         (nautilus_icon_container_start_renaming_selected_item),
15302         (hide_rename_widget):
15303         Add a new signal "renaming_icon", which tells the icon view
15304         to set up clipboard capabilities for the new editable widget
15305         
15306         * libnautilus-extensions/nautilus-icon-private.h:
15307         * libnautilus-extensions/nautilus-icon-text-item.h:
15308         * libnautilus-extensions/nautilus-icon-text-item.c:
15309         (iti_stop_editing), (iti_entry_text_changed_by_clipboard),
15310         (iti_start_editing), (iti_destroy), (iti_start_selecting),
15311         (iti_stop_selecting), (iti_event),
15312         (nautilus_icon_text_item_get_renaming_editable):
15314         Sad hacks that I had to add on top of this already scary file so
15315         that the editable, which is in its own offscreen window somewhere,
15316         communicates to the clipboard what is actually going on when text
15317         is entered and selections are changed.  This includes adding a
15318         new signal when text is changed, to make sure the entry knows about
15319         it, firing an initial grab focus for the widget so that the widget
15320         turns on, passing on more of the events of the canvas
15321         widget, including motion notifies and focus events, and 
15322         keeping a persistent copy of the last renaming entry in the icon
15323         container so that pastes for that widget will still work.
15325         * libnautilus/nautilus-clipboard.h:
15326         * libnautilus/nautilus-clipboard.c: (set_menu_item_sensitive),
15327         (set_paste_sensitive_if_clipboard_contains_data),
15328         (set_clipboard_menu_items_sensitive),
15329         (set_clipboard_menu_items_insensitive),
15330         (clipboard_items_are_merged_in),
15331         (set_clipboard_items_are_merged_in),
15332         (merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items),
15333         (focus_changed_callback), (grab_focus_callback),
15334         (selection_changed_callback),
15335         (initialize_clipboard_component_with_callback_data),
15336         (nautilus_clipboard_set_up_editable),
15337         (widget_was_set_up_with_selection_sensitivity),
15338         (first_focus_callback),
15339         (nautilus_clipboard_set_up_editable_in_control):
15340         Reorganized some of the code, and also added new callbacks
15341         to deal with sensitivity changes.  
15342         
15343         * src/file-manager/fm-directory-view.h:
15344         * src/file-manager/fm-directory-view.c:
15345         (fm_directory_view_get_bonobo_control):
15346         Add a new function that the icon view uses to
15347         pass the bonobo control for clipboard set up
15348         
15349         * src/file-manager/fm-icon-view.c: (renaming_icon_callback),
15350         (create_icon_container):
15351         Set up clipboard capabilities when the renaming widget is 
15352         created.
15353         
15354         * src/nautilus-location-bar.c: (nautilus_location_bar_new):
15355         * components/notes/nautilus-notes.c: (make_notes_view): 
15356         * src/nautilus-simple-search-bar.c:
15357         (nautilus_simple_search_bar_new):
15358         Changed calls to clipboard set up routines to include
15359         the new shares_selection_changes parameter. Widgets that
15360         use the "selection_changed" signal (NautilusEntries) 
15361         say "TRUE" here, otherwise selection doesn't work quite 
15362         right, and FALSE is used instead.
15364         * src/nautilus-search-bar-criterion.c: (get_size_location_for):
15365         Deal with the case when a user has entered a non-numeric size
15366         in a smart way, by using nautilus_str_to_int.  This is related
15367         to bug 2438, but is not a complete fix.
15369 2000-11-21  Pavel Cisler  <pavel@eazel.com>
15371         reviewed by: Mathieu Lacage  <mathieu@eazel.com>
15373         * libnautilus-extensions/nautilus-file-operations.c:
15374         (handle_xfer_vfs_error):
15375         Fixed 4486 and 3748. Made the file copy operation error dialog
15376         have a non-misleading title if the title actually shows up (it
15377         is not supposed to but it may due to window manager theme bugs).
15378         Made the error text for copying into non-writeable dialogs more 
15379         accurate.
15380         
15381 2000-11-21  Robey Pointer  <robey@eazel.com>
15383         * nautilus-installer/src/*.xpm:
15385         removed obsolete XPM files
15387 2000-11-21  Ali Abdin  <aliabdin@aucegypt.edu>
15389         * components/help/converters/gnome-info2html2/main.c:
15390         (main):
15391         Check /usr/share/info by default for info files too (Debian uses
15392         this). This partially fixes bug #4414
15394         * components/help/converters/gnome-db2html2/sect-preparse.c:
15395         (sect_preparse_sect_start_element):
15396         Apply a slightly modified patch by John Fleck to handle navigation
15397         links with regards to the appendix (Fixes bug #4792)
15399 2000-11-21  Andy Hertzfeld  <andy@eazel.com>
15401         * components/music/nautilus-music-view.c: (fetch_song_info):
15402         fixed bug 4815, bitrate and time not displayed for certain mp3s. It turns
15403         out that some encoders reserve a lot of space for id3v2 tags at the
15404         beginning of the file, so we weren't looking deep enough into the file.
15405         Fixed by changing the size of the header buffer from 1K to 8K.
15406         
15407 2000-11-21  Pavel Cisler  <pavel@eazel.com>
15409         reviewed by: Maciej Stachowiak <mjs@eazel.com>
15411         Fixed bugzilla 855 - Renaming a file with thumbnails does not affect the
15412         thumbnails and 4654 - Old thumbnails cause problems with renaming.
15414         * libnautilus-extensions/nautilus-directory-metafile.c:
15415         (nautilus_directory_rename_file_metadata),
15416         (nautilus_directory_remove_file_metadata):
15417         Finish the metafile rename and metafile remove operation by
15418         updating thumbnail files correspondingly, if they exist.
15419         
15420         * libnautilus-extensions/nautilus-directory.c:
15421         * libnautilus-extensions/nautilus-directory.h:
15422         (nautilus_directory_get_file_uri):
15423         Added a convenience routine.
15425         * libnautilus-extensions/nautilus-thumbnails.c: (vfs_file_exists):
15426         Tweaked to use the right GnomeVFS call.
15427         
15428         * libnautilus-extensions/nautilus-thumbnails.h:
15429         * libnautilus-extensions/nautilus-thumbnails.c:
15430         (nautilus_update_thumbnail_file_renamed_one),
15431         (nautilus_update_thumbnail_file_renamed),
15432         (nautilus_remove_thumbnail_for_file_one),
15433         (nautilus_remove_thumbnail_for_file):
15434         Look for an existing thumbnail for a file, if present, rename or
15435         remove it respectively to update it to the new state.
15437         * libnautilus-extensions/nautilus-thumbnails.c:
15438         (make_thumbnail_path), (nautilus_get_thumbnail_uri), 
15439         (check_for_thumbnails), (make_thumbnails):
15440         Added a create_parents_if_needed parameter used by the new thumbnail
15441         updating calls.
15442                 
15443 2000-11-21  Robey Pointer  <robey@eazel.com>
15445         * nautilus-installer/src/installer.c: (early_log_catcher),
15446         (catch_early_logs), (start_logging), (eazel_installer_initialize):
15448         Stop spamming the console with crap before logging starts.
15450 2000-11-20  Maciej Stachowiak  <mjs@eazel.com>
15452         reviewed by: Pavel Cisler <pavel@eazel.com>
15454         Fix bugs 2943 (Dragging icons between windows or to the desktop
15455         triggers scrolling), 4786 (Need to remove tree view auto-expand
15456         feature for 1.0) and 4476 (weird horizontal autoscroll
15457         behavior). Auto-scroll now has a consistent 750 ms startup delay,
15458         and the tree auto-expand is off.
15460         * libnautilus-extensions/nautilus-drag.h,
15461         libnautilus-extensions/nautilus-drag.c:
15462         (nautilus_drag_autoscroll_in_scroll_region,
15463         nautilus_drag_autoscroll_start, nautilus_drag_autoscroll_stop):
15464         New convenience functions that factor out common code formerly in
15465         the tree, list and icon view DnD code. This fixes the mistakes
15466         common to all three of those views, where the auto-scroll initial
15467         delay was measured from the start of dragging overall, not from
15468         entering the scroll region.
15470         * libnautilus-extensions/nautilus-icon-private.h,
15471         libnautilus-extensions/nautilus-icon-dnd.c
15472         (auto_scroll_timeout_callback, set_up_auto_scroll_if_needed,
15473         stop_auto_scroll): Use the above calls. Also, correct a `<'
15474         vs. `>' mistake that made the auto-scroll delay never take effect.
15475         
15476         * libnautilus-extensions/nautilus-list.c
15477         (auto_scroll_timeout_callback, nautilus_list_start_auto_scroll,
15478         nautilus_list_stop_auto_scroll): Use the above calls. Also,
15479         correct a `<' vs. `>' mistake that made the auto-scroll delay
15480         never take effect.
15482         * components/tree/nautilus-tree-view-dnd.c:
15483         (nautilus_tree_view_drag_leave, nautilus_tree_view_drag_motion,
15484         collapse_time_callback, nautilus_tree_view_expand_node,
15485         nautilus_tree_view_is_tree_node_expanded, nautilus_dump_info
15486         expand_hack_unref, expand_hack_new, expand_time_callback,
15487         nautilus_tree_view_expand_maybe_later): Remove bunches of code to
15488         disable auto-expand.
15490         (ready_to_start_scrolling, auto_scroll_timeout_callback),
15491         (nautilus_tree_view_start_auto_scroll),
15492         (nautilus_tree_view_stop_auto_scroll),
15493         (nautilus_tree_view_drag_destroy): Use new common auto-scroll
15494         code. I also made it possible to add an extra auto-scroll delay
15495         for horizontal auto-scroll, but now that the startup delay has
15496         been fixed, it seems almost impossible to trigger horizontal
15497         auto-scroll accidentally, so I consider 4476 fixed.
15498         
15499         * components/adapter/bonobo-stream-vfs.c: (vfs_get_info,
15500         vfs_set_info, vfs_write, vfs_read, vfs_copy_to, vfs_destroy,
15501         bonobo_stream_vfs_open): Added FIXME bug numbers.
15502         * components/adapter/nautilus-adapter-control-embed-strategy.c:
15503         (activate_uri_callback): Added FIXME bug numbers.
15504         * components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
15505         Added FIXME bug numbers.
15507 2000-11-20  Robin * Slomkowski  <rslomkow@eazel.com>
15509         * configure.in: reduced versions of glib
15510         and gtk to released ones.
15512 2000-11-20  Robin * Slomkowski  <rslomkow@eazel.com>
15514         * configure.in: updated some versions of libs to
15515         check for
15517 2000-11-20  Eskil Heyn Olsen  <eskil@eazel.com>
15519         * components/services/install/lib/eazel-install-logic.c:
15520         (eazel_install_do_file_conflict_check):
15521         Removed some debug spam
15522         
15523         * nautilus-installer/src/Makefile:
15524         yes.
15525         
15526         * nautilus-installer/src/callbacks.c: (begin_install):
15527         * nautilus-installer/src/installer.c: (skip_over_remove_problems),
15528         (jump_to_retry_page), (create_initial_force_remove_category),
15529         (get_detailed_errors_foreach), (get_detailed_errors),
15530         (eazel_install_preflight), (eazel_installer_post_install),
15531         (eazel_installer_set_default_texts), (eazel_installer_setup_texts),
15532         (eazel_install_get_depends), (eazel_installer_initialize):
15533         * nautilus-installer/src/installer.h:
15534         * nautilus-installer/src/main.c: (main):
15535         Added my fix for 4706.
15537 2000-11-20  Robey Pointer  <robey@eazel.com>
15539         * components/rpmview/nautilus-rpm-view-install.c:
15540         (nautilus_rpm_view_install_package_callback),
15541         (nautilus_rpm_view_uninstall_package_callback):
15542         * components/services/install/command-line/eazel-alt-install-corba.
15543         c: (set_parameters_from_command_line):
15544         * components/services/install/idl/trilobite-eazel-install.idl:
15545         * components/services/install/lib/eazel-install-corba-callback.c:
15546         (lots)
15547         * components/services/install/lib/eazel-install-corba-callback.h:
15548         * components/services/install/lib/eazel-install-corba-types.c:
15549         (lots)
15550         * components/services/install/lib/eazel-install-corba-types.h:
15551         * components/services/install/lib/eazel-install-corba.c:
15552         (lots)
15553         * components/services/install/lib/eazel-install-object.c:
15554         (lots)
15555         * components/services/install/lib/eazel-install-public.h:
15556         * components/services/install/nautilus-view/nautilus-service-instal
15557         l-view.c: (nautilus_service_install_view_destroy),
15558         (nautilus_service_install_done),
15559         (nautilus_service_install_view_update_from_uri),
15560         (service_install_stop_loading_callback):
15561         
15562         The great renaming: moved Trilobite/Eazel/Install stuff into
15563         GNOME/Trilobite/Eazel/(etc).
15564         
15565         * components/services/install/lib/eazel-install-problem.c:
15566         (eazel_install_problem_handle_cases):
15568         Renaming, and initialize some vars to avoid warnings.
15569         
15570         * nautilus-installer/src/main.c: (check_disk_space), (main):
15572         Add a command-line option for ignoring the disk-space check.
15573         Check /usr instead of /.
15575 2000-11-20  Maciej Stachowiak  <mjs@eazel.com>
15577         Fixed bug 2893 (changing the selection in a view does not make the
15578         tree view scroll to the correct selectin even while it does has
15579         the correct selection.)
15581         * components/tree/nautilus-tree-view-private.h: Added
15582         got_first_size_allocate boolean to details struct.
15583         * components/tree/nautilus-tree-view.c:
15584         (nautilus_tree_view_initialize): Connect to the size_allocate
15585         handler.
15586         (ctree_show_node): Convenience function for scrolling a
15587         NautilusCTree to show a particular node.
15588         (ctree_get_first_selected_node): Convenience function to get the
15589         selected node.
15590         (tree_select_row_callback): Scroll to the selected node.
15591         (size_allocate_callback): Scroll to the selected node, if any, on
15592         the first size_allocate only.
15594 2000-11-18 John Fleck <jfleck@inkstain.net>
15596         components/help/converters/gnome-db2html2/gdb3html.c:
15597         changing output of &percnt; entity to &#37; so Mozilla will 
15598         recognize it
15600 2000-11-17  Eskil Heyn Olsen  <eskil@eazel.com>
15602         * components/services/install/command-line/eazel-alt-install-corba.
15603         c: (something_failed), (install_failed), (uninstall_failed),
15604         (delete_files):
15605         Updated the cli tool's use of the problem-handler
15606         
15607         * components/services/install/idl/trilobite-eazel-install.idl:
15608         Added a flag to ignore file conflicts
15609         
15610         * components/services/install/lib/eazel-install-corba.c:
15611         (impl_Eazel_Install__set_ignore_file_conflicts),
15612         (impl_Eazel_Install__get_ignore_file_conflicts),
15613         (eazel_install_get_epv):
15614         Code to set the ignore file conflicts flag.
15615         
15616         * components/services/install/lib/eazel-install-logic.c:
15617         (eazel_install_do_transaction_all_files_check),
15618         (eazel_install_prune_packages_helper),
15619         (eazel_install_fetch_dependencies),
15620         (eazel_install_do_file_conflict_check), (eazel_uninstall_globber):
15621         Code to use the ignore file conflicts flag
15622         
15623         * components/services/install/lib/eazel-install-public.h:
15624         * components/services/install/lib/eazel-install-private.h:
15625         * components/services/install/lib/eazel-install-object.c:
15626         (eazel_install_initialize), (eazel_install_install_packages):
15627         Changed some 0x%xs to %p and added the nessecary things for the
15628         extra ignore_file_conflicts flags.
15629         
15630         * components/services/install/lib/eazel-install-problem.h: *
15631         components/services/install/lib/eazel-install-problem.c:
15632         (get_detailed_messages_foreach),
15633         (get_detailed_uninstall_messages_foreach), (compare_problem_case),
15634         (add_case), (add_cannot_solve_case),
15635         (add_continue_with_force_case), (add_force_install_both_case),
15636         (add_force_remove_case), (add_remove_case), (add_update_case),
15637         (add_cascade_remove), (get_detailed_cases_foreach),
15638         (get_detailed_uninstall_cases_foreach),
15639         (eazel_install_problem_case_to_string),
15640         (eazel_install_problem_case_foreach_destroy),
15641         (eazel_install_problem_case_new),
15642         (eazel_install_problem_tree_to_case),
15643         (eazel_install_problem_tree_to_string),
15644         (build_categories_from_problem_list),
15645         (eazel_install_problem_use_set),
15646         (eazel_install_problem_step_problem),
15647         (eazel_install_problem_handle_cases): loads of code, so for a
15648         given set of problems, you can get the dominant type, and step
15649         forward to the next way of solving the problem. Also fixed the
15650         problem about updates not including the previous sets of pacakges.
15651         Also added some new cases.
15653         * components/services/install/lib/eazel-install-rpm-glue.c:
15654         (eazel_install_add_to_rpm_set),
15655         Commented out robeys flailing, which caused some erratic crashes
15656         because of a NULL packsys struct.
15657         (eazel_install_start_transaction_make_rpm_argument_list),
15658         Add --force on ignore_file_conflicts
15659         (eazel_install_do_rpm_dependency_check):
15660         %x to %p
15661         
15662         * components/services/install/lib/eazel-install-types.c:
15663         (categorydata_new), (categorydata_destroy_foreach),
15664         (packagedata_new), (packagedata_destroy):
15665         %x to %p
15666         
15667         * components/services/install/nautilus-view/nautilus-service-instal
15668         l-view.c: (nautilus_service_install_done),
15669         (nautilus_service_install_failed):
15670         Updated to the new signatures of the problem handler functions.
15671         
15672         * nautilus-installer/src/callbacks.c: (begin_install):
15673         * nautilus-installer/src/installer.c: (jump_to_retry_page),
15674         (collect_failure_info), (install_failed), (uninstall_failed),
15675         (eazel_installer_setup_texts), (eazel_install_get_depends),
15676         (eazel_installer_initialize):
15677         Partial fix for 4706, I just want to commit before I slaughter it
15678         completely.
15679         
15680         * nautilus-installer/src/prescript:
15681         Fixed 4763 by changing the wording.
15683 2000-11-17  Michael Engber  <engber@eazel.com>
15685         * libnautilus-extensions/nautilus-background.c:
15686         (nautilus_background_ensure_gradient_buffered):
15687         * libnautilus-extensions/nautilus-background.c:
15688         (nautilus_background_ensure_gradient_buffered):
15689         Damn gradients! Fixed round off error which could
15690         result in a one pixel error. (bug 4759)
15692 2000-11-17  Michael Engber  <engber@eazel.com>
15694         * libnautilus-extensions/nautilus-background.c:
15695         (nautilus_background_ensure_gradient_buffered):
15696         Fixed bug occuring when percentages of multi-point
15697         add up to >100% (bug 4759)
15699 2000-11-17  Mathieu Lacage  <mathieu@eazel.com>
15701         reviewed by: Sullivan
15703         update nautilus to the latest gnome-vfs mime/type icon handling.
15704         * libnautilus-extensions/nautilus-icon-factory.c:
15705         (nautilus_icon_factory_get_icon_name_for_regular_file): use
15706         gnome_vfs_mime_get_icon instead of the raw get_value call.
15707         (get_themed_icon_file_path): if cannot find the pixmap through
15708         the standard theme code, fallback on gnome-vfs to find the icon.
15709         (get_icon_file_path): beautification.
15710         (nautilus_scalable_icon_new_from_text_pieces): idem.
15712 2000-11-17  John Sullivan  <sullivan@eazel.com>
15714         reviewed by: Mathieu Lacage  <mathieu@eazel.com>
15716         Fixed bug 4484 (leading whitespace in location bar produces
15717         errors)
15718         Fixed bug 4039 (Pasting URL with trailing carriage return fails, 
15719         but needn't)
15721         * libnautilus-extensions/nautilus-file-utilities.c:
15722         (nautilus_make_uri_from_input): Strip leading and trailing white
15723         space before any further processing; also now handles NULL with
15724         return_val_if_fail.
15725         (nautilus_self_check_file_utilities): Added new self-check tests
15726         for white space stripping, and a couple of others.
15728 2000-11-17  Michael Engber  <engber@eazel.com>
15730         * libnautilus-extensions/nautilus-background.c:
15731         (nautilus_background_ensure_gradient_buffered):
15732         Fixed off by one error in gradient calculation (bug 4759)
15734 2000-11-17  John Sullivan  <sullivan@eazel.com>
15736         Fixed bug with "Disks" submenu in desktop context menu where
15737         the volume-mounting behavior would sometimes run when the
15738         context menu appeared.
15740         * libnautilus-extensions/nautilus-volume-monitor.h:
15741         * libnautilus-extensions/nautilus-volume-monitor.c:
15742         (nautilus_volume_monitor_mount_unmount_removable):
15743         Added boolean parameter to specify whether to mount or
15744         unmount; previously it always toggled the current state.
15746         * src/file-manager/fm-desktop-icon-view.c: 
15747         (mount_parameters_new), (mount_parameters_free),
15748         (mount_parameters_free_wrapper): New little helper functions
15749         for dealing with the parameters to the mount_or_unmount callback.
15750         (mount_or_unmount_removable_volume): Now specifies whether to
15751         mount or unmount based on command state, rather than always
15752         toggling; also updates the menu state after the mount/unmount.
15753         (update_disks_menu): Pass view as well as mount_path for
15754         callback data, using mount_parameters_new & _free.
15756 2000-11-16  Pavel Cisler <pavel@eazel.com>
15758         reviewed by: Mathieu Lacage  <mathieu@eazel.com>
15760         * libnautilus-extensions/nautilus-file-operations-progress.c:
15761         (delete_event_callback),
15762         (nautilus_file_operations_progress_initialize),
15763         (nautilus_file_operations_progress_initialize_class):
15764         Fix 3094: Closing file progress dialog using the close box 
15765         crashes.
15766         The progress dialog shouldn't really have a close box, it only
15767         shows up in broken window manager themes that don't respect the
15768         window manager hints. Made it so that clicking the close box
15769         does nothing instead of crashing.
15770         
15771         * libnautilus-extensions/nautilus-file-operations.c:
15772         (fit_rect_on_screen), (center_dialog_over_rect),
15773         (center_dialog_over_window), (create_xfer_dialog):
15774         Fix 3092: File operation progress dialog not placed well.
15775         Made it center over the window that is the target of the
15776         copy/move operation. I couldn't really do it by setting the window
15777         as the dialog's parent because you need to be able to close
15778         the window without the dialog closing. Instead, added explicit
15779         centering code.
15780         
15781         * libnautilus-extensions/nautilus-file-operations.c:
15782         (progress_dialog_set_to_from_item_text):
15783         Fix 4080: Copy dialog shows to and from as the same location.
15784         Stupid typo.
15786 2000-11-16  Rebecca Schulman  <rebecka@eazel.com>
15788         * libnautilus-extensions/nautilus-search-uri.c:
15789         (nautilus_self_check_search_uri):
15790         Fixed the tests to go along with my changes
15792 2000-11-16  John Sullivan  <sullivan@eazel.com>
15794         reviewed by: Darin Adler  <darin@eazel.com>
15796         Final changes to kill off the legendary bug 3579
15797         (Convert directory view context menus to use Bonobo)
15799         * libnautilus/nautilus-bonobo-ui.h:
15800         #define for zoom items placeholder in popup. Remove
15801         #defines for popup-specific zooming commands, since now
15802         we don't need distinct popup-specific ones.
15804         * libnautilus-extensions/nautilus-bonobo-extensions.h:
15805         * libnautilus-extensions/nautilus-bonobo-extensions.c:
15806         (nautilus_bonobo_set_label_for_menu_item_and_command):
15807         Moved this here and commented; it had been a private 
15808         function in fm-directory-view.c.
15809         
15810         * src/file-manager/fm-directory-view.c: 
15811         (real_merge_menus): Just hide the placeholder for the zoom items,
15812         which is now sufficient due to a Bonobo fix Darin made.
15813         (real_update_menus): Update for API name change.
15814         (set_label_for_menu_and_command): Moved this to another file
15815         and renamed it.
15816         * src/file-manager/fm-icon-view.c: 
15817         (fm_icon_view_update_menus): Update the dynamic menu items
15818         in-line here, as was done with fm-directory-view.c in an earlier
15819         checkin.
15820         (compute_menu_item_info), (update_one_menu_item): Removed these
15821         obsolete functions.
15822         * src/nautilus-shell-ui.xml: Eliminated special pop-up versions of
15823         zoom commands. They existed only to allow hiding without affecting
15824         the menu-bar versions, but now that placeholders can be hidden
15825         these aren't necessary.
15826         * src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
15827         Removed verb installation for pop-up versions of zoom commands.
15829 2000-11-16  Rebecca Schulman  <rebecka@eazel.com>
15831         * check-FIXME.pl:
15832         Make below change work for modules containing the
15833         '-' character (like, say, gnome-vfs)
15835 2000-11-16  Eskil Heyn Olsen  <eskil@eazel.com>
15837         * components/Makefile.am:
15838         * components/services/Makefile.am:
15839         * configure.in:
15840         Fix for (4741), building with services on non-rpm machines.
15842 2000-11-16  Rebecca Schulman  <rebecka@eazel.com>
15844         reviewed by: Darin Adler <darin@eazel.com>
15845         (Patch for check-FIXME.pl; later I added
15846         additional check for "This is not a fixme bug")
15847         
15848         * check-FIXME.pl:
15849         Add the functionality that it also checks for bugs marked
15850         with "fixme" in the bugzilla database for a product, and
15851         notifies you if the bug has no fixme comment in the source.
15852         This is not a perfect operation, so you can explicitly
15853         include the comment "This is not a fixme bug" and the 
15854         script will ignore it.  
15855         * libnautilus-extensions/nautilus-search-uri.c:
15856         Fixed some wording so that the text is not hard to 
15857         understand if we are creating an english equivalent for
15858         several criteria.
15860 2000-11-16  John Sullivan  <sullivan@eazel.com>
15862         reviewed by: Darin Adler  <darin@eazel.com>
15864         Reimplemented code that updates menu items' labels and
15865         sensitivity in a much more straightforward way, made
15866         possible by the elimination of gtk context menus.
15868         * src/file-manager/fm-directory-view.c:
15869         (reset_bonobo_open_with_menu): set sensitivity in here
15870         instead of in a separate call. Also set sensitivity of
15871         "Open With" title in context menu, which was previously
15872         always sensitive. However, it is still always sensitive
15873         due to a Bonobo bug.
15874         (set_label_for_menu_and_command): Helper function that
15875         handles stripping the underscore for the command's label.
15876         (real_update_menus): Now all the dynamic menu items are
15877         updated in here, which removes a lot of string compares,
15878         unnecessary label-setting, and other extra code.
15880         (compute_menu_item_info), (update_one_menu_item),
15881         (reset_bonobo_trash_delete_menu): Removed functions;
15882         they are merged into real_update_menus now.
15884 2000-11-16  John Sullivan  <sullivan@eazel.com>
15886         * components/adapter/nautilus-zoomable-proxy.c:
15887         (nautilus_zoomable_proxy_get):
15888         Fixed uninitialized variable warning that was
15889         breaking the build (Darin told me the fix).
15891 2000-10-22  Martin Baulig  <baulig@suse.de>
15893         reviewed by: Darin Adler  <darin@eazel.com>
15894         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
15896         Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable.
15898         * libnautilus/nautilus-zoomable.[ch]: Removed.
15899         * src/nautilus-zoomable-frame-corba.c: Removed.
15901         * libnautilus/nautilus-view-component.idl
15902         (ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed.
15904         * src/nautilus-view-frame-private.h
15905         (impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create):
15906         Removed external declarations.
15908         * src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>.
15909         (NautilusViewFrame): Removed the `zoomable' field and changed the
15910         type of the `zoomable_frame' field from BonoboObject into
15911         BonoboZoomableFrame.
15912         (NautilusViewFrameClass): Added `zoom_parameters_changed' signal.
15914         * src/nautilus-view-frame.c (nautilus_view_frame_destroy_client):
15915         Don't release `view->zoomable' and set `view->history_frame' and
15916         `view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL.
15917         (nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED
15918         signal.
15919         (zoom_level_changed_callback): New static callback function; this emits
15920         the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame.
15921         (zoom_parameters_changed_callback): New static callback function; this
15922         emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame.
15923         (nautilus_view_frame_set_to_component): QI the adapted component for
15924         "IDL:Bonobo/Zoomable:1.0" and - if it was found - create the
15925         BonoboZoomableFrame, bind it to the BonoboZoomable and connect the
15926         "zoom_level_changed" and the "zoom_parameters_changed" signals.
15927         (nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'.
15928         (nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame
15929         is not NULL and call bonobo_zoomable_frame_get_zoom_level().
15930         (nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame
15931         is not NULL and call bonobo_zoomable_frame_set_zoom_level().
15932         (nautilus_view_frame_get_min_zoom_level): Check whether
15933         view->zoomable_frame is not NULL and call
15934         bonobo_zoomable_frame_get_min_zoom_level().
15935         (nautilus_view_frame_get_max_zoom_level): Check whether
15936         view->zoomable_frame is not NULL and call
15937         bonobo_zoomable_frame_get_max_zoom_level().
15938         (nautilus_view_frame_get_has_min_zoom_level): New function.
15939         Check whether view->zoomable_frame is not NULL and call
15940         bonobo_zoomable_frame_has_min_zoom_level().
15941         (nautilus_view_frame_get_has_max_zoom_level): New function.
15942         Check whether view->zoomable_frame is not NULL and call
15943         bonobo_zoomable_frame_has_max_zoom_level().
15944         (nautilus_view_frame_get_is_continuous): New function.
15945         Check whether view->zoomable_frame is not NULL and call
15946         bonobo_zoomable_frame_is_continuous().
15947         (nautilus_view_frame_get_preferred_zoom_levels): If
15948         view->zoomable_frame is NULL, return NULL. Otherwise
15949         bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList *
15950         of floats which we can just return.
15951         (nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL,
15952         call bonobo_zoomable_frame_zoom_in().
15953         (nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL,
15954         call bonobo_zoomable_frame_zoom_out().
15955         (nautilus_view_frame_zoom_to_fit):  If view->zoomable_frame is not
15956         NULL, call bonobo_zoomable_frame_zoom_out().
15957         (nautilus_view_frame_zoom_level_changed): Removed.
15959         * src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added
15960         `has_min_zoom_level' and `has_max_zoom_level'.
15961         (draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out()
15962         to find out whether we can zoom.
15963         (zoom_menu_callback): Likewise.
15964         (nautilus_zoom_control_button_press_event): Likewise.
15965         (create_zoom_menu_item): Changed the type of the `zoom_level' argument
15966         from double to float.
15967         (nautilus_zoom_control_set_min_zoom_level): Removed.
15968         (nautilus_zoom_control_set_max_zoom_level): Removed.
15969         (nautilus_zoom_control_set_preferred_zoom_levels): Removed.
15970         (nautilus_zoom_control_set_parameters): New function.
15971         (nautilus_zoom_control_has_min_zoom_level): New function.
15972         (nautilus_zoom_control_has_max_zoom_level): New function.
15973         (nautilus_zoom_control_can_zoom_in): New function.
15974         (nautilus_zoom_control_can_zoom_out): New function.
15975         
15976         * src/file-manager/fm-directory-view.c: #include
15977         <bonobo/bonobo-zoomable.h> instead of
15978         <libnautilus/libnautilus-zoomable.h>.
15979         (FMDirectoryViewDetails): Changed the type of `zoomable' to
15980         BonoboZoomable.
15981         (fm_directory_view_preferred_zoom_levels): Made this an array of float,
15982         not double.
15983         (fm_directory_view_initialize): Create a new BonoboZoomable object here.
15984         (zoomable_zoom_in_callback): The first argument is now a BonoboZoomable.
15985         (zoomable_zoom_out_callback): The first argument is now a BonoboZoomable.
15986         (nautilus_zoom_level_from_double): Renamed into
15987         nautilus_zoom_level_from_float().
15988         (zoomable_set_zoom_level_callback): The first argument is now a
15989         BonoboZoomable and the second one a float.
15990         (zoomable_zoom_to_fit_callback): The first argument is now a
15991         BonoboZoomable.
15992         (fm_directory_view_set_zoom_level): Call
15993         bonobo_zoomable_report_zoom_level_changed()
15994         instead of using nautilus_zoomable_set_zoom_level().
15996         * src/nautilus-window-manage-views.c:
15997         (zoom_level_changed_callback): Don't call
15998         nautilus_zoom_control_set_min_zoom_level(),
15999         nautilus_zoom_control_set_max_zoom_level() and
16000         nautilus_zoom_control_set_preferred_zoom_levels() here.
16001         Use nautilus_zoom_control_can_zoom_in/out() to find out whether we
16002         can zoom in the calls to nautilus_bonobo_set_sensitive().
16003         , (zoom_parameters_changed_callback): New callback function.
16004         Call nautilus_zoom_control_set_parameters() and - if the zoom_level
16005         is not 0.0 - zoom_level_changed_callback().
16007         * components/adapter/nautilus-zoomable-proxy.[ch]: New files.
16009         * components/adapter/Makefile.am (nautilus_adapter_SOURCES):
16010         Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h.
16012         * components/adapter/nautilus-adapter-embed-strategy.c
16013         (NautilusAdapterEmbedStrategyClass): Added new virtual signal
16014         `get_zoomable' which must be overridden.
16015         (nautilus_adapter_embed_strategy_initialize_class): Assign it here.
16016         (nautilus_adapter_embed_strategy_get_zoomable): New static function;
16017         call the virtual `get_zoomable' in the derived class.
16019         * components/adapter/nautilus-adapter-control-embed-strategy.c:
16020         (nautilus_adapter_control_embed_strategy_initialize_class):
16021         Assign nautilus_adapter_control_embed_strategy_get_zoomable() as
16022         handler of the `get_zoomable' signal.
16023         (nautilus_adapter_control_embed_strategy_new): QI the Control for
16024         "IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
16025         if found and store the return value in strategy->details->zoomable.
16026         (nautilus_adapter_control_embed_strategy_get_zoomable): New static
16027         function; return strategy->details->zoomable which is set in
16028         nautilus_adapter_control_embed_strategy_new().
16030         * components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
16031         (nautilus_adapter_embeddable_embed_strategy_initialize_class):
16032         Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as
16033         handler of the `get_zoomable' signal.
16034         (nautilus_adapter_embeddable_embed_strategy_new): QI the View for
16035         "IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
16036         if found and store the return value in strategy->details->zoomable.
16037         (nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static
16038         function; return strategy->details->zoomable which is set in
16039         nautilus_adapter_embeddable_embed_strategy_new().
16041         * components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
16042         Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and
16043         bonobo_add_interface() it to the control if found.
16045         * components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus
16046         image viewer to be a BonoboControl, to add zoomable support to it and
16047         to merge back everything from bonobo-image-generic into it.
16049 2000-11-16  Ramiro Estrugo  <ramiro@eazel.com>
16051         * components/help/converters/gnome-info2html2/main.c: (main):
16052         Fix uninitialized variable.
16054         * components/services/vault/command-line/main.c:
16055         Include stlib.h needed for exit().
16057         * libnautilus-extensions/nautilus-directory-async.c:
16058         (call_ready_callbacks):
16059         Fix uninitialized variable.
16060         
16061         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
16062         (nautilus_gdk_pixbuf_draw_text):
16063         Workaround int vs uint casting issues with new gcc compiler.
16065         * libnautilus-extensions/nautilus-mime-actions.c:
16066         (extract_prefix_add_suffix):
16067         Workaround int vs uint casting issues with new gcc compiler.
16069 2000-11-16  John Sullivan  <sullivan@eazel.com>
16071         reviewed by: Darin Adler <darin@eazel.com>
16073         * src/file-manager/fm-desktop-icon-view.c: (real_update_menus):
16074         * src/file-manager/fm-directory-view.c: (real_update_menus):
16075         * src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
16076         Bracketed menu-updating code with bonobo_ui_component_freeze/thaw.
16077         This speeds up fm_directory_view_update_menus by about 50%, and
16078         it's called a zillion times so that can't hurt.
16080 2000-11-16  John Sullivan  <sullivan@eazel.com>
16082         reviewed by: Darin Adler <darin@eazel.com>
16084         * src/file-manager/fm-directory-view.c: (open_callback),
16085         (open_in_new_window_callback), (other_application_callback),
16086         (other_viewer_callback), (trash_callback), (duplicate_callback),
16087         (create_link_callback), (new_folder_callback),
16088         (open_properties_window_callback), (reset_background_callback),
16089         (remove_custom_icons_callback), (real_merge_menus):
16090         * src/file-manager/fm-icon-view.c: (show_stretch_handles_callback),
16091         (unstretch_icons_callback), (clean_up_callback),
16092         (rename_icon_callback), (customize_icon_text_callback),
16093         (fm_icon_view_merge_menus):
16094         * src/file-manager/fm-search-list-view.c: (real_merge_menus),
16095         (reveal_selected_items_callback):
16097         Removed all function casts that were allowing us to use a single
16098         callback for both Bonobo-style and gtk-style menus; converted
16099         all the functions to take Bonobo-style parameters.
16101 2000-11-16  Martin Baulig  <martin@home-of-linux.org>
16103         * libnautilus-adapter/nautilus-adapter-factory.idl:
16104         Use `NAUTILUS_ADAPTER_FACTORY_IDL' instead of
16105         `NAUTUILUS_ADAPTER_FACTORY_IDL' in the #ifdef/#define
16106         which protects against multiple inclusion of this file.
16108 2000-11-16  John Sullivan  <sullivan@eazel.com>
16110         Removed a ton of code that was used only for the gtk
16111         context menus, which are gone now that we're using
16112         Bonobo for context menus. There's still some reworking
16113         of code formerly shared by gtk & Bonobo menus to do, but
16114         I'll do that in a separate pass.
16116         * src/file-manager/fm-directory-view.h:
16117         * src/file-manager/fm-directory-view.c:
16118         (fm_directory_view_initialize_class): Removed signal definitions
16119         and function assignments for create_selection_context_menu_items
16120         and create_background_context_menu_items.
16122         (compute_menu_item_info): Do special_link_in_selection tests here;
16123         previously they were done only for the gtk context menus (so for
16124         the past day we've had an as-yet-unnoticed bug where certain
16125         context menu items on the desktop were sensitive but shouldn't
16126         have been).
16127         (fm_directory_view_pop_up_selection_context_menu),
16128         (fm_directory_view_pop_up_background_context_menu):
16129         Removed the iffed-out case that used the gtk context menus.
16131         (zoom_in_callback), (zoom_out_callback), (zoom_default_callback),
16132         (finish_inserting_menu_item), (finish_appending_menu_item),
16133         (set_menu_item_path), (append_gtk_menu_item),
16134         (append_selection_menu_subtree),
16135         (fm_directory_view_insert_context_menu_item),
16136         (fm_directory_view_append_context_menu_item),
16137         (create_background_context_menu_items),
16138         (real_create_background_context_menu_items),
16139         (launch_application_from_menu_item), (view_uri_from_menu_item),
16140         (add_application_to_gtk_menu), (add_component_to_gtk_menu),
16141         (create_open_with_gtk_menu), 
16142         (real_create_selection_context_menu_items),
16143         (create_selection_context_menu),
16144         (fm_directory_view_create_background_context_menu_items),
16145         (create_background_context_menu), (menu_item_matches_path),
16146         (fm_directory_view_get_context_menu_index): 
16147         Removed obsolete functions.
16149         * src/file-manager/fm-desktop-icon-view.c:
16150         (fm_desktop_icon_view_initialize_class): Removed obsolete
16151         virtual function overrides.
16152         (real_update_menus): Removed debugging spam I had accidentally
16153         left in.
16155         (new_terminal_menu_item_callback),
16156         (reset_desktop_background_menu_item_callback),
16157         (change_desktop_background_menu_item_callback),
16158         (quit_nautilus_desktop_menu_item_callback),
16159         (empty_trash_menu_item_callback),
16160         (fm_desktop_icon_view_create_selection_context_menu_items),
16161         (fm_desktop_icon_view_create_background_context_menu_items),
16162         (mount_unmount_removable): Removed obsolete functions.
16163         
16164         * src/file-manager/fm-icon-view.c: 
16165         (special_link_in_selection): Just moved this function up.
16166         (compute_menu_item_info): Check special_link_in_function for
16167         rename menu item; formerly this only happened for the gtk
16168         context menu.
16169         (fm_icon_view_initialize_class): Removed obsolete virtual 
16170         function overrides.
16172         (gtk_tighter_layout_callback), (gtk_sort_reversed_callback),
16173         (context_menu_layout_radio_item_callback),
16174         (append_one_context_menu_layout_item),
16175         (insert_one_context_menu_item), (append_one_context_menu_item),
16176         (append_one_toggle_context_menu_item),
16177         (fm_icon_view_create_selection_context_menu_items),
16178         (fm_icon_view_create_background_context_menu_items):
16179         Removed obsolete functions.
16180         
16181         * src/file-manager/fm-search-list-view.c:
16182         (fm_search_list_view_initialize_class): Removed obsolete
16183         virtual function override.
16185         (real_create_selection_context_menu_items): 
16186         Removed obsolete function.
16188 2000-11-16  John Sullivan  <sullivan@eazel.com>
16190         * libnautilus-extensions/nautilus-file-utilities.h:
16191         Added #define NAUTILUS_TRASH_URI "trash:"
16192         
16193         * libnautilus-extensions/nautilus-directory.c:
16194         (nautilus_self_check_directory):
16195         * libnautilus-extensions/nautilus-drag.c:
16196         (nautilus_drag_default_drop_action_for_icons):
16197         * libnautilus-extensions/nautilus-file-utilities.c:
16198         (nautilus_make_uri_canonical),
16199         (nautilus_self_check_file_utilities):
16200         * libnautilus-extensions/nautilus-file.c:
16201         (nautilus_self_check_file):
16202         * src/file-manager/fm-desktop-icon-view.c:
16203         (find_and_rename_trash_link), (create_or_rename_trash):
16204         * src/file-manager/fm-directory-view.c: (show_trash_callback):
16205         * src/file-manager/nautilus-trash-monitor.c:
16206         (nautilus_trash_monitor_initialize):
16207         Used NAUTILUS_TRASH_URI wherever "trash:" was used before.
16209 2000-11-16  Szabolcs BAN <shooby@gnome.hu>
16211         * configure.in, po/hu.po: Hungarian language support.
16213 2000-11-15  John Fleck <jfleck@inkstain.net>
16214         * components/help/converters/gnome-db2html2/gdb3html.c:
16215         changed init entities function to use
16216         XML_INTERNAL_PREDEFINED_ENTITY to get mdash and hellip working
16217         
16218 2000-11-15  Pavel Cisler <pavel@eazel.com>
16220         reviewed by: John Sullivan <sullivan@eazel.com>
16222         * libnautilus-extensions/nautilus-gdk-extensions.c:
16223         * libnautilus-extensions/nautilus-gdk-extensions.h:
16224         * libnautilus-extensions/nautilus-file-operations-progress.c:
16225         (set_text_unescaped_trimmed):
16226         (nautilus_string_ellipsize_start):
16227         Turn an existing truncation routine to a public one, giving it 
16228         a better name.
16229         Get rid of a questionable optimization (bugzilla 2555).
16231         * libnautilus-extensions/nautilus-gdk-extensions.c:
16232         (nautilus_self_check_ellipsize_start),
16233         (nautilus_self_check_gdk_extensions):
16234         Added tests for the elipsize routine.
16236         * libnautilus-extensions/nautilus-file-operations.c:
16237         * libnautilus-extensions/nautilus-file-operations.h:
16238         (get_label_font), (nautilus_format_name_for_display),
16239         (nautilus_convert_to_formatted_name_for_display),
16240         (handle_xfer_vfs_error), (handle_xfer_overwrite),
16241         (nautilus_file_operations_move_to_trash):
16242         Fix 826: File operation alerts should truncate file names.
16243         Add a convenience call to unescape and truncate a file name,
16244         use it the places that format warning and error dialog strings.
16245         Add some missing quotes in some of the error strings.
16246         
16247         * libnautilus-extensions/nautilus-file-operations.c:
16248         (parent_for_error_dialog):
16249         Work on fixing 3093 - file operation error dialogs show up in the
16250         wrong place.
16251         Make the error dialogs use the progress dialog as their parent window,
16252         if available, if not, revert to using the original view as a parent.
16254         * libnautilus-extensions/nautilus-string.c:
16255         Added a comment pointing people to the new ellipsize routines.
16257 2000-11-15  Gene Z. Ragan  <gzr@eazel.com>
16259         Fixed bug 1420, panel splitter drag outline edges are indistinct.
16261         (nautilus_horizontal_splitter_motion):
16262         New method overide to handle drawing splitter during drag.
16263         
16264         (nautilus_horizontal_splitter_button_release):
16265         Add additonal code from parent class and don't call
16266         parent class function at function exit.
16267         
16268         * libnautilus-extensions/nautilus-horizontal-splitter.c:
16269         (nautilus_horizontal_splitter_initialize_class):
16270         Overide motion method.
16271         
16272         (splitter_xor_line):
16273         Draw splitter outline as two distinct edges.
16274         
16275 2000-11-15  Michael Engber  <engber@eazel.com>
16277         * libnautilus-extensions/nautilus-directory-background.c:
16278         (nautilus_file_background_event_filter):
16279         fixed some comments
16281         * libnautilus-extensions/nautilus-gtk-extensions.c:
16282         (container_foreach_deep_callback),
16283         (nautilus_gtk_container_foreach_deep):
16284         * libnautilus-extensions/nautilus-gtk-extensions.h:
16285         added nautilus_gtk_container_foreach_deep
16287         * src/nautilus-window.c: (menu_bar_no_resize_hack_size_allocate),
16288         (menu_bar_no_resize_hack_menu_bar_finder),
16289         (menu_bar_no_resize_hack_atexit), (menu_bar_no_resize_hack),
16290         (nautilus_window_constructed):
16291         added hack to prevent criticals when using the desktop
16292         bug 4345
16294 2000-11-15  John Sullivan  <sullivan@eazel.com>
16296         * po/POTFILES.in: Added src/file-manager/fm-desktop-icon-view-ui.xml
16298 2000-11-15  John Sullivan  <sullivan@eazel.com>
16300         Fixed a couple of cases where context menus appeared on
16301         the desktop that should have been hidden. This leaves
16302         behind a new (Bonobo) bug where there are two adjacent 
16303         separators in the desktop background context menu, which
16304         I will write up.
16306         reviewed by: Maciej Stachowiak  <mjs@eazel.com>
16308         * libnautilus/nautilus-bonobo-ui.h:
16309         Add popup zooming commands here that need to be manipulated
16310         by directory view.
16311         * src/file-manager/fm-directory-view.c: (real_merge_menus):
16312         Hide the zooming items in the popup if the directory view
16313         does not support zooming (e.g., desktop)
16314         * src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus):
16315         Hide the Lay Out submenu in the popup if the icon view
16316         does not support auto-layout (e.g., desktop)
16317         * src/nautilus-shell-ui.xml: Make zooming items in popup use
16318         different commands than zooming items in normal menu, so they
16319         can be hidden independently.
16320         * src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
16321         Attach callbacks to new popup zooming items.
16323 2000-11-15  Gene Z. Ragan  <gzr@eazel.com>      
16325         Fixed bug 4717, Nautilus draw desktop icons overlapping.
16327         The problem was caused by the icon container responding to
16328         an idle function that lays out icons that had been
16329         newly added.  This is a problem if the callback is called
16330         from an idle after the icon container has been created, but
16331         before a size has been allocated. A newly intialized GtkWidget
16332         has a default allocation of 0, 0, 1, 1 which is too small
16333         for the layout algorithm to work properly.  A flag was added
16334         that is set to TRUE when the size_allocate function is called.
16335         
16336         * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
16337         Set has_been_allocated to FALSE initially.
16338         
16339         * libnautilus-extensions/nautilus-icon-container.c:
16340         (size_allocate), (nautilus_icon_container_initialize),
16341         (nautilus_icon_container_add):
16342         Checj status of has_been_allocated flag before adding
16343         and laying out new icons.
16344         
16345         * libnautilus-extensions/nautilus-icon-private.h:
16346         Added has_been_allocated flag that is set to TRUE
16347         when size_allocated is first called.
16349         Work in progress on allowing desktop links to be renamed.
16350         
16351         * src/file-manager/fm-desktop-icon-view.c:
16352         (find_and_update_home_link):
16353         Allow renaming of home links.
16354         
16355         * src/file-manager/fm-icon-view.c: 
16356         (special_link_in_selection):
16357         Removed home link from special link types.
16358         
16359         * libnautilus-extensions/nautilus-file.c:
16360         (nautilus_file_can_rename):
16361         Allow renaming of home link types.
16363 2000-11-15  Rebecca Schulman  <rebecka@eazel.com>
16364         This change is the first part of the fix for bug 3920.
16365         The fix will allow nautilus to tell a user that the
16366         search they have requested is newer than their index.
16367         This involved communicating errors that occurred while
16368         opening and reading the directory outside of the
16369         directory model to a view, which can react in a useful
16370         way.
16372         Reviewed by: John Sullivan <sullivan@eazel.com>
16374         * libnautilus-extensions/nautilus-directory-async.c:
16375         (directory_load_done):
16376         If the directory load did not complete successfully,
16377         emit an error signal
16379         * libnautilus-extensions/nautilus-directory-private.h:
16380         * libnautilus-extensions/nautilus-directory.h:
16381         * libnautilus-extensions/nautilus-directory.c:
16382         (nautilus_directory_initialize_class),
16383         (nautilus_directory_emit_load_error):
16384         Add the load error signal, and a cover function to 
16385         emit the signal
16387         * src/file-manager/fm-directory-view.h: 
16388         * src/file-manager/fm-directory-view.c:
16389         (fm_directory_view_initialize_class), (load_error_callback),
16390         (finish_loading_uri), (disconnect_model_handlers):
16391         Also add a load_error signal to the fm directory view class,
16392         so that subclasses can get information about errors particular
16393         to a type of directory, (in this case the search list view)
16394         and react correctly.
16396         * src/file-manager/fm-search-list-view.c: (load_error_callback),
16397         (fm_search_list_view_initialize):
16398         Handle the load error SERVICE_OBSOLETE, by displaying a dialog
16399         that tells the user that their index is too old for their
16400         search to work correctly, and gives them an option to reindex
16401         
16402         * src/file-manager/nautilus-indexing-info.c:
16403         (nautilus_indexing_info_request_reindex):
16404         * src/file-manager/nautilus-indexing-info.h:
16405         Add a cover function to medusa's request reindex function
16406         that the search list view calls.
16408 2000-11-15  John Sullivan  <sullivan@eazel.com>
16410         * src/file-manager/fm-directory-view.c:
16411         (fm_directory_view_pop_up_selection_context_menu),
16412         (fm_directory_view_pop_up_background_context_menu):
16413         Oops, I accidentally checked in the Bonobo context
16414         menus enabled. They are now disabled again.
16416 2000-11-15  Darin Adler  <darin@eazel.com>
16418         * components/adapter/nautilus-adapter.oafinfo:
16419         * components/hardware/nautilus-hardware-view.oafinfo:
16420         * components/help/help-contents.oafinfo:
16421         * components/help/help-factory.oafinfo:
16422         * components/history/nautilus-history-view.oafinfo:
16423         * components/html/ntl-web-browser.oafinfo:
16424         * components/image-viewer/nautilus-image-view.oafinfo:
16425         * components/loser/content/nautilus-content-loser.oafinfo:
16426         * components/loser/sidebar/nautilus-sidebar-loser.oafinfo:
16427         * components/mozilla/nautilus-mozilla-content-view.oafinfo:
16428         * components/music/nautilus-music-view.oafinfo:
16429         * components/notes/nautilus-notes.oafinfo:
16430         * components/rpmview/nautilus-rpm-view.oafinfo:
16431         * components/sample/nautilus-sample-content-view.oafinfo:
16432         * components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
16433         * components/services/install/server/trilobite-eazel-install-service.oafinfo:
16434         * components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
16435         * components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
16436         * components/services/summary/nautilus-view/nautilus-summary-view.oafinfo:
16437         * components/services/time/nautilus-view/trilobite-eazel-time-view. oafinfo:
16438         * components/services/time/service/trilobite-eazel-time-service.oafinfo:
16439         * components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
16440         * components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
16441         * components/shell/shell.oafinfo:
16442         * components/websearch/ntl-web-search.oafinfo:
16443         * src/nautilus.oafinfo:
16445         Changed all references to GNOME/GenericFactory to refer to
16446         GNOME/ObjectFactory instead.
16448 2000-11-15  John Sullivan  <sullivan@eazel.com>
16450         reviewed by: Darin Adler <darin@eazel.com>
16452         More work towards using Bonobo for context menus. All
16453         context menu items should now appear and be correctly 
16454         hooked up. The Bonobo context menus are still not quite
16455         enabled, awaiting a couple of Bonobo fixes.
16457         Redid the API for creating dynamic sets of Bonobo 
16458         menu items (as used by bookmarks, application & viewer
16459         lists), and added support for lists of toggle items
16460         (needed for Disks submenu in desktop context menu).
16462         Also, added "Show Trash" menu item in File menu, just above
16463         Empty Trash, after discussing with Andy and Arlo.
16465         * libnautilus-extensions/nautilus-bonobo-extensions.h:
16466         * libnautilus-extensions/nautilus-bonobo-extensions.c:
16467         (get_numbered_menu_item_name): New helper function, returns
16468         generated menu item name given parent path and index.
16469         (nautilus_bonobo_get_numbered_menu_item_command): New
16470         function, returns generated command name given parent path
16471         and index. 
16472         (nautilus_bonobo_get_numbered_menu_item_path): New function,
16473         returns generated menu item path given parent path and index.
16474         (add_numbered_menu_item_internal): New helper function,
16475         creates menu item using these other new calls. Mostly extracted
16476         and rewritten from nautilus_bonobo_add_menu_item.
16477         (nautilus_bonobo_add_numbered_menu_item): Renamed from
16478         nautilus_bonobo_add_menu_item, and reimplemented to
16479         call add_numbered_menu_item_internal.
16480         (nautilus_bonobo_add_numbered_toggle_menu_item):
16481         New function, like _add_numbered_menu_item but creates a
16482         toggle menu item.
16483         (remove_commands): Renamed from remove_verbs; now handles ids
16484         as well as verbs.
16485         (nautilus_bonobo_remove_menu_items_and_commands):
16486         Renamed from ..._items_and_verbs; now handles ids as well as
16487         verbs.
16488         (nautilus_bonobo_get_menu_item_verb_name): Removed; replaced by
16489         _get_numbered_menu_item_command.
16490         
16491         * src/file-manager/nautilus-desktop-icon-view-ui.xml:
16492         New file, Bonobo-style version of desktop context menus.
16493         * src/file-manager/Makefile.am: Include new file in build.
16494         
16495         * src/file-manager/fm-desktop-icon-view.c:
16496         Add BonoboUIComponent to details struct.
16497         (fm_desktop_icon_view_destroy): Dispose of BonoboUIComponent.
16498         (fm_desktop_icon_view_initialize_class): wire up overrides for
16499         merge_menus and update_menus.
16500         (new_terminal_callback),
16501         (change_background_callback), (empty_trash_callback),
16502         (reset_background_callback), (quit_desktop_callback):
16503         New Bonobo-style menu callbacks.
16504         (empty_trash_menu_item_callback): Renamed so I could use the old
16505         simpler name for new Bonobo callback; this one will be deleted
16506         when the Bonobo conversion is completed.
16507         (fm_desktop_icon_view_create_selection_context_menu_items): Reflect
16508         name change.
16509         (mount_or_unmount_removable_volume): New Bonobo listener callback
16510         used by Disks items.
16511         (update_disks_menu): New function, recreates the Disks menu.
16512         (real_update_menus): New function, updates the dynamic desktop
16513         context menu items.
16514         (real_merge_menus): New function, wires up the BonoboUIComponent
16515         and verbs.
16516         
16517         * src/file-manager/fm-directory-view.c: 
16518         (fm_directory_view_pop_up_background_context_menu),
16519         (fm_directory_view_pop_up_selection_context_menu): Change TRUE
16520         to FALSE to enable the Bonobo context menus.
16521         (show_trash_callback): New function, navigates to "trash:"
16522         (add_open_with_program_menu_item), (reset_bonobo_open_with_menu):
16523         Reworked for new API.
16524         (real_merge_menus): Add verb for "Show Trash"
16525         
16526         * src/file-manager/nautilus-directory-view-ui.xml: Added 
16527         "Show Trash"; added placeholders in background popup used
16528         for desktop view.
16529         
16530         * src/nautilus-window-menus.c: 
16531         (append_bookmark_to_menu): Updated for new numbered_menu_item
16532         API; deleted unused parameter.
16533         (create_menu_item_from_node), (append_dynamic_bookmarks),
16534         (refresh_go_menu): Updated append_bookmark_to_menu callers for
16535         API changes.
16536         (nautilus_window_remove_bookmarks_menu_items),
16537         (nautilus_window_remove_go_menu_items): Updated for API name changes.
16539 2000-11-15  Maciej Stachowiak  <mjs@eazel.com>
16541         reviewed by: Darin Adler <darin@eazel.com>
16543         * src/nautilus-view-frame.c 
16544         (nautilus_view_frame_new): ref the ui_container
16545         
16546         (nautilus_view_frame_destroy_client): check if ui_container->win
16547         is NULL before trying to use it; unref the ui_container
16548         
16549         * components/adapter/bonobo-stream-vfs.c (vfs_copy_to): Fix a bug
16550         whereby the `copyTo' operation would not handle -1 as a request to
16551         copy the whole file properly.
16552         
16553 2000-11-15  Maciej Stachowiak  <mjs@eazel.com>
16555         reviewed by:  George Lebl  <jirka@5z.com>
16557         * components/loser/README: Added missing `crash' mode to docs.
16559         * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client,
16560         nautilus_view_frame_handle_client_destroy,
16561         nautilus_view_frame_handle_client_gone, check_if_view_is_gone):
16562         Added calls to `bonobo_window_deregister_dead_components' to clean
16563         up menus and toolbars from dead components, fixing Nautilus bug
16564         1740.
16566 2000-11-15  Robey Pointer  <robey@eazel.com>
16568         * components/services/install/lib/eazel-install-object.c:
16569         (eazel_install_initialize), (eazel_install_log_to_stderr),
16570         (eazel_install_failed_because_of_disk_full):
16571         * components/services/install/lib/eazel-install-private.h:
16572         * components/services/install/lib/eazel-install-protocols.c:
16573         (http_fetch_remote_file):
16574         * components/services/install/lib/eazel-install-public.h:
16576         Re-shuffle logging stuff again to try to make sure that we log as
16577         little as possible until the log handler is set up.  Add a flag to
16578         the installer service that indicates if the installer ran out of
16579         disk space.  Then, you know, actually check the return codes of
16580         fwrite/fclose to see if they failed.
16581         
16582         * nautilus-installer/src/Makefile:
16584         More crap.
16585         
16586         * nautilus-installer/src/installer.c: (create_what_to_do_page),
16587         (create_install_page), (create_window), (get_detailed_errors),
16588         (download_failed), (eazel_install_preflight), (install_done),
16589         (eazel_installer_initialize):
16591         Re-shuffle some of the initialization to move as much as possible
16592         after the fetching of the text strings.  It isn't possible to
16593         cover 100% of the cases this way, so load the default text strings
16594         first, so we'll have text to display in early errors.  Fix a
16595         dyslexic typo that would occasionally cause an assertion to fail.
16596         Notice the new disk-full flag and give an appropriate error
16597         message.
16599         * nautilus-installer/src/main.c: (check_disk_space), (main):
16601         Check for disk space before starting, and refuse to even start
16602         unless there's N space in /tmp and M space in /.  For now, N = M =
16603         75 MB.
16605         * nautilus-installer/src/prescript:
16607         Apply kisza's patch (4729) to fix xhost parameters.
16609 2000-11-14  Mathieu Lacage  <mathieu@eazel.com>
16611         Buddy: john harper.
16612         FIX bug 2946: no icon under cursor when dragging from 
16613         tree view.
16614         * components/tree/nautilus-tree-view-dnd.c:
16615         (nautilus_tree_view_drag_begin), call new function below
16616         (nautilus_tree_view_set_dnd_icon): sets the icon for the 
16617         just-started drag.
16619 2000-11-14  Mathieu Lacage  <mathieu@eazel.com>
16621         * components/tree/nautilus-tree-view-dnd.c:
16622         (nautilus_tree_view_drag_motion),
16623         (nautilus_tree_view_motion_notify),
16624         (nautilus_tree_view_make_prelight_if_file_operation),
16625         (nautilus_tree_view_prelight_stop),
16626         (nautilus_tree_view_drag_destroy):
16627         make it use the new prelighting code. leave the old code around
16628         even though it does nothing. The new prelighting now flickers like
16629         hell but maciej says he wants to fix it.
16630         * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_row_at),
16631         (get_cell_rectangle), (nautilus_ctree_set_prelight), (draw_row),
16632         (real_insert_row), (nautilus_ctree_node_nth),
16633         (nautilus_ctree_find): implement prelighting. copy/paste code from 
16634         the NautilusList code to do it.
16635         * libnautilus-extensions/nautilus-ctree.h: add signature for
16636         nautilus_ctree_set_prelight plus fields in NautilusCTreeRow.
16637         * libnautilus-extensions/nautilus-list.c:
16638         (nautilus_list_prelight_if_necessary): remove useless code.
16640 2000-11-14  Eskil Heyn Olsen  <eskil@eazel.com>
16642         buddy: Ramiro Estrugo <ramiro@eazel.com>
16644         * configure.in:
16645         Fix to make --disable-eazel-services work, (4722), it no
16646         longer checks for rpm and ammonite, nor tries to build
16647         rpmview.
16649 2000-11-14  Ali Abdin  <aliabdin@aucegypt.edu>
16651         * components/help/converters/gnome-db2html2/gdb3html.c:
16652         (init_entities),
16653         (gdb3html_internalSubset):
16654         New function and a workaround for the entity bug. Should now support
16655         &mdash;/&hellip;/&percent; - Fixes bug #2438.
16657         * components/help/help-method.c:
16658         (transform_file), (old_help_file),
16659         (find_help_file):
16660         Realized that that the gnome_help_file_path function checks for the
16661         existance of the file using g_file_exists. This spoiled things for the
16662         way we were trying to detect locale. Fixed it (Bug #4618).
16664         There is still a bug in this which I will tackle later. This'll do for
16665         now.
16667 2000-11-14  Michael Engber  <engber@eazel.com>
16669         * libnautilus-extensions/nautilus-directory-background.c:
16670         (nautilus_file_background_event_filter), (set_root_pixmap):
16671         Nautilus no longer responds to PropertyChange events on
16672         the root window that it originates (bug 3038)
16674         * libnautilus-extensions/nautilus-background.c:
16675         (update_drawable_with_pixbuf), (nautilus_background_draw),
16676         (nautilus_background_draw_to_drawable),
16677         (nautilus_background_draw_aa),
16678         (nautilus_background_draw_to_canvas),
16679         (nautilus_background_load_image_callback),
16680         (nautilus_background_start_loading_image),
16681         (nautilus_background_set_image_uri),
16682         (set_image_and_color_image_loading_done_callback),
16683         (nautilus_background_set_image_uri_and_color):
16684         nautilus_background_set_image_uri_and_color used to generate
16685         an extra SETTINGS_CHANGED + reformatted a bunch of code.
16687 2000-11-14  Darin Adler  <darin@eazel.com>
16689         * src/nautilus-property-browser.c: Some small stuff that got
16690         left out of my last commit by accident.
16692 2000-11-14  Darin Adler  <darin@eazel.com>
16694         reviewed by: John Sullivan <sullivan@eazel.com>
16696         * src/file-manager/fm-directory-view.c:
16697         (display_selection_info_idle_callback),
16698         (update_menus_idle_callback), (display_pending_idle_callback): Add
16699         code to ref the BonoboControl around all three of these idle
16700         functions to eliminate the problem where the directory view would
16701         get destroyed in the middle of an idle.
16702         
16703         * data/browser.xml:
16704         * data/linksets/apps.xml:
16705         * data/linksets/desktop.xml:
16706         * data/linksets/portals.xml:
16707         * data/linksets/search_engines.xml:
16708         * data/static_bookmarks.xml:
16709         Used "_" prefix on all localizable fields of XML files.
16710         
16711         * po/POTFILES.in: Add all these XML files that need translation.
16712         
16713         * libnautilus-extensions/nautilus-link-set.c:
16714         (nautilus_link_set_install), (nautilus_link_set_is_installed),
16715         (nautilus_link_set_remove): Fix storage leaks, also use
16716         nautilus_xml_get_property_translated to get the property for the
16717         "name" property so it can be translated if desired.
16718         
16719         * libnautilus-extensions/nautilus-xml-extensions.h:
16720         * libnautilus-extensions/nautilus-xml-extensions.c:
16721         (nautilus_xml_get_property_translated): Add a version of
16722         xmlGetProp that looks for an untranslated version of the property
16723         and runs it through gettext if there is not a pre-translated
16724         version present.  For strings downloaded from the service, for
16725         example, we'll probably use a pre-translated string, but for
16726         things in the Nautilus source tree we can use an untranslated
16727         string.
16728         
16729         * src/nautilus-bookmark-parsing.c:
16730         (nautilus_bookmark_new_from_node): Use
16731         nautilus_xml_get_property_translated to get the bookmark name so
16732         that static bookmarks can have names translated with gettext. New
16733         versions of the static bookmarks downloaded from the service can
16734         use either kind of name. And user-created bookmarks are not run
16735         through the gettext mechanism.
16736         
16737         * src/nautilus-window-menus.c: (create_menu_item_from_node): Use
16738         nautilus_xml_get_property_translated to get the folder names
16739         translated just as the bookmarks themselves.
16741         * src/nautilus-link-set-window.c: (get_link_set_names): Added a
16742         FIXME. The link set names should come from inside the XML, not
16743         from the file names.
16744         
16745         * src/nautilus-property-browser.c: (get_xml_path),
16746         (read_browser_xml), (write_browser_xml), (get_color_category):
16747         (remove_color), (add_color_to_file): Factor out some shared code.
16748         (add_reset_property): Make hard-wired font size with FIXME.
16749         (make_properties_from_xml_node): Fix storage leaks and get the
16750         name of the color using nautilus_xml_get_property_translated so
16751         the names can be translated.
16752         (set_up_category_width): Fix storage leaks
16753         (nautilus_property_browser_update_contents): Fix storage leaks and
16754         get the display name and description with
16755         nautilus_xml_get_property_translated so they can be translated.
16757         * check-THANKS.pl: Got rid of extra blank line at end.
16759         * libnautilus-extensions/nautilus-customization-data.c:
16760         (format_name_for_display): Add FIXME to bad-for-localization
16761         function that turns "_" into " " and capitalizes the first letter
16762         after each " ".
16763         
16764 2000-11-14  Gene Z. Ragan  <gzr@eazel.com>
16766         Fixed a bug where changing the Nautilus theme would cause
16767         the history view to crash.  The problem was with an
16768         improperly defined signal handler.
16769         
16770         * components/history/nautilus-history-view.c:
16771         (history_view_update_icons), (do_destroy), (make_obj):
16773 2000-11-14  Robey Pointer  <robey@eazel.com>
16775         * components/services/trilobite/libtrilobite/trilobite-core-distrib
16776         ution.c: (determine_turbolinux_version),
16777         (determine_mandrake_version), (trilobite_get_distribution_name):
16779         Add detection of version numbers for Mandrake, in the hopes that
16780         someday they'll be supported.
16781         
16782         * nautilus-installer/src/installer.c:
16783         (get_detailed_errors_foreach), (eazel_installer_post_install),
16784         (start_logging), (find_old_tmpdir), (eazel_installer_initialize):
16785         * nautilus-installer/src/main.c: (main):
16786         * nautilus-installer/src/prescript:
16788         Fix handling of /tmp directory and make it configurable on the
16789         command line.  Clarify the "your distribution not supported"
16790         message.  Clean up the prescript considerably, hopefully in the
16791         process fixing bugs with specifying what shell to use, what su to
16792         use, and allowing root to run the installer (worksforme).
16794 2000-11-13  Gene Z. Ragan  <gzr@eazel.com>
16796         Fixed bug 1633, History sidebar panel items all display generic 
16797         bookmark icon.
16798         
16799         * libnautilus/nautilus-view-component.idl:
16800         Added icon string element to History structure to hold
16801         an pifbuf converted to a XML string.
16803         * src/nautilus-window-manage-views.c: (get_history_list_callback):
16804         Get bookmark pixbuf, convert it to XML and copt the XML string into
16805         the CORBA structure that is added to the list to be returned.
16806         
16807         * components/history/nautilus-history-view.c: 
16808         (install_icon):
16809         Check and see if pixbuf is non-NULL. If it is, use it. Otherwise
16810         use the generic bookmark icon.
16811         
16812         (history_view_update_icons):
16813         Reload entire list to ensure that proper icons are used.
16814         
16815         (history_load_location):
16816         Call install_icon with new pixbuf parameter.    
16818 2000-11-13  Eskil Heyn Olsen  <eskil@eazel.com>
16820         A lot of housecleaning, for which there were no bug reports...
16821         amongst this some of the leak fixing that libleakcheck pointed
16822         out.
16823         
16824         * components/services/install/command-line/eazel-alt-install-corba.
16825         c: (delete_files), (main):
16826         Pass the install categories to the problem handler
16827         Don't ask about delete iff --file was used
16828         
16829         * components/services/install/lib/eazel-install-logic.c:
16830         (eazel_install_check_for_file_conflicts),
16831         Added a comment
16832         (eazel_install_do_transaction_save_report),
16833         Don't store the provides lists when storing the transaction
16834         (eazel_install_display_arguments),
16835         (eazel_install_start_transaction),
16836         Log rpm arguments again
16837         (eazel_install_add_to_extras_foreach),
16838         (eazel_install_check_existing_packages),
16839         (eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
16840         (eazel_uninstall_downward_traverse),
16841         (eazel_uninstall_check_for_install):
16842         Leak fixing
16843         
16844         * components/services/install/lib/eazel-install-md5.c:
16845         (md5_get_digest_from_file):
16846         Close files after md5 check
16847         * components/services/install/lib/eazel-install-object.c:
16848         (xml_from_packagedata), (xml_from_packagedata_list),
16849         Packagedata to xml with provides lists
16850         (eazel_install_unref), 
16851         call gtk_object_unref i EAZEL_INSTALL_NO_CORBA
16852         (eazel_install_initialize),
16853         (eazel_install_fetch_remote_package_list), (eazel_install_log),
16854         (eazel_install_open_log), (eazel_install_alter_mode_on_temp),
16855         (eazel_install_delete_downloads), (eazel_install_install_packages),
16856         (eazel_install_uninstall_packages),
16857         (eazel_install_emit_install_progress),
16858         (eazel_install_emit_install_progress_default),
16859         (eazel_install_emit_download_progress),
16860         (eazel_install_emit_download_progress_default),
16861         (eazel_install_emit_preflight_check),
16862         (eazel_install_emit_preflight_check_default),
16863         (eazel_install_emit_download_failed),
16864         (eazel_install_emit_download_failed_default),
16865         (eazel_install_emit_md5_check_failed),
16866         (eazel_install_emit_md5_check_failed_default),
16867         (eazel_install_emit_install_failed),
16868         (eazel_install_emit_install_failed_default),
16869         (eazel_install_emit_uninstall_failed),
16870         (eazel_install_emit_uninstall_failed_default),
16871         (eazel_install_emit_dependency_check),
16872         (eazel_install_emit_dependency_check_default),
16873         (eazel_install_emit_done), (eazel_install_emit_done_default):
16874         * components/services/install/lib/eazel-install-public.h:
16875         * components/services/install/lib/eazel-install-private.h:
16876         The rest is rename of a define in the .h file
16877         
16878         * components/services/install/lib/eazel-install-problem.h:
16879         * components/services/install/lib/eazel-install-problem.c:
16880         (eazel_install_problem_debug_attempts), (compare_problem_case),
16881         (add_case), (add_cannot_solve_case), (add_force_install_both_case),
16882         (add_force_remove_case), (eazel_install_problem_case_to_string),
16883         (eazel_install_problem_case_foreach_destroy),
16884         (finalize_attempts_hash_cleanup), (eazel_install_problem_finalize),
16885         (problem_step_foreach_remove), (eazel_install_problem_step),
16886         (eazel_install_problem_tree_to_case),
16887         (eazel_install_problem_find_dominant_problem_type),
16888         (find_dominant_problems), (build_categories_from_problem_list),
16889         (eazel_install_problem_handle_cases):
16890         Strewed debug output around.
16891         Added a CANNOT_SOLVE case.
16892         Fixed a memory corruption that occured when I freed handled
16893         problems
16894         Made the humanreadable strings i18n'ed, and added comments for the
16895         translators.
16896         
16897         * components/services/install/lib/eazel-install-protocols.c:
16898         (eazel_install_fetch_package), (get_search_url_for_package):
16899         Leak fixing.
16900         
16901         * components/services/install/lib/eazel-install-query.c:
16902         (eazel_install_simple_rpm_query), (eazel_install_simple_query):
16903         Added which root it's opening to the debug output, used to catch a
16904         bug in the installer.
16905         
16906         * components/services/install/lib/eazel-install-rpm-glue.c:
16907         (eazel_install_rpm_set_settings),
16908         (eazel_install_start_transaction_make_rpm_argument_list),
16909         (eazel_install_free_rpm_system),
16910         (eazel_install_prepare_rpm_system):
16911         Leak fixing and debug output changing...
16912         
16913         * components/services/install/lib/eazel-install-xml-package-list.h:
16914         * components/services/install/lib/eazel-install-xml-package-list.c:
16915         (parse_package), (parse_category),
16916         (eazel_install_packagedata_to_xml),
16917         (eazel_install_packagelist_to_xml),
16918         (eazel_install_categorydata_to_xml), (osd_parse_implementation),
16919         (osd_parse_softpkg):
16920         Leak fixing, plus the ability to generate xml without PROVIDES.
16921         
16922         * components/services/install/lib/makefile.staticlib.in:
16923         Added eazel-install-problem, since the installer now uses it.
16924         
16925         * components/services/install/nautilus-view/nautilus-service-instal
16926         l-view.h:
16927         * components/services/install/nautilus-view/nautilus-service-instal
16928         l-view.c: (nautilus_install_parse_uri),
16929         (nautilus_service_install_done),
16930         (nautilus_service_install_view_update_from_uri):
16931         Moved the category list into the details for the view, so when
16932         calling eazel-install-problem handler, I could pass the categories
16933         to install.
16934         
16935         * components/services/trilobite/helper/eazel-helper.security.in:
16936         Fixed so it should work with all usermode versions.
16937         
16938         * components/services/trilobite/libtrilobite/trilobite-core-utils.h
16939         :
16940         * components/services/trilobite/libtrilobite/helixcode-utils.c:
16941         * components/services/trilobite/libtrilobite/helixcode-utils.h:
16942         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
16943         : (trilobite_fetch_uri), (trilobite_fetch_uri_to_file),
16944         (trilobite_setenv):
16945         Leak fixing and debug output and s/glib types/c types/.
16946         
16947         * nautilus-installer/src/HACKING:
16948         Added a warning saying you have to be Eskil or Robey to make this
16949         compile.
16950         
16951         * nautilus-installer/src/Makefile:
16952         Yes.
16953         
16954         * nautilus-installer/src/callbacks.c: (begin_install):
16955         Hacked to use the eazel-install problem solver.
16956         
16957         * nautilus-installer/src/installer.h:
16958         * nautilus-installer/src/installer.c: (create_what_to_do_page),
16959         (create_install_page), (jump_to_error_page), (start_over),
16960         (dont_start_over_callback), (jump_to_retry_page),
16961         (create_finish_page_good), (eazel_install_progress),
16962         (eazel_download_progress), (create_initial_force_remove_category),
16963         (add_force_remove), (get_detailed_errors_foreach),
16964         (get_detailed_errors), (install_failed), (eazel_install_preflight),
16965         (install_done), (eazel_installer_add_category), (check_system),
16966         (more_check_system), (eazel_installer_do_install),
16967         (eazel_installer_post_install), (draw_splash_text),
16968         (eazel_installer_set_default_texts), (eazel_installer_setup_texts),
16969         (eazel_install_get_depends), (add_singular_package),
16970         (eazel_installer_initialize):
16971         Changed to use the eazel-install-problem handler.
16972         Most text strings are taken from a array, which is set in a
16973         function that can grab the strings from a server (partly fix for
16974         1094).
16975         Removed all the old problem handler code.
16977         * nautilus-installer/src/main.c: (main):
16978         Added a secret --package option that makes the installer ignore
16979         the server specified package and just download another. Good for
16980         debugging.
16982 2000-11-13  Mathieu Lacage  <mathieu@eazel.com>
16984         Make maciej happy and split the dnd code in a new file.
16985         
16986         * components/tree/Makefile.am: add new files.
16987         * components/tree/nautilus-tree-view-dnd.c: new file for dnd code.
16988         (tree_view_realize_callback), (nautilus_tree_view_init_dnd),
16989         (nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_end),
16990         (collapse_time_callback), (nautilus_tree_view_drag_leave),
16991         (nautilus_tree_view_drag_motion), (nautilus_tree_view_drag_drop),
16992         (nautilus_tree_view_drag_data_received),
16993         (nautilus_tree_view_drag_data_get),
16994         (nautilus_tree_view_button_press),
16995         (nautilus_tree_view_button_release),
16996         (nautilus_tree_view_motion_notify),
16997         (nautilus_tree_view_make_prelight_if_file_operation),
16998         (nautilus_tree_view_expand_node),
16999         (nautilus_tree_view_collapse_node),
17000         (nautilus_tree_view_is_tree_node_expanded),
17001         (nautilus_tree_view_expand_or_collapse_row),
17002         (nautilus_tree_view_move_copy_files),
17003         (nautilus_tree_view_find_drop_target),
17004         (nautilus_tree_view_is_tree_node_directory),
17005         (nautilus_tree_view_tree_node_at), (nautilus_tree_view_item_at),
17006         (nautilus_tree_view_get_drag_uri),
17007         (nautilus_tree_view_ensure_drag_data), (nautilus_dump_info),
17008         (expand_hack_unref), (expand_hack_new), (expand_time_callback),
17009         (nautilus_tree_view_expand_maybe_later),
17010         (auto_scroll_timeout_callback),
17011         (nautilus_tree_view_start_auto_scroll),
17012         (nautilus_tree_view_stop_auto_scroll),
17013         (nautilus_tree_view_real_scroll),
17014         (nautilus_tree_view_get_drop_action),
17015         (nautilus_tree_view_collapse_all),
17016         (nautilus_tree_view_receive_dropped_icons),
17017         (nautilus_tree_view_prelight_stop),
17018         (nautilus_tree_view_drag_destroy),
17019         (nautilus_tree_view_drag_destroy_real):
17020         * components/tree/nautilus-tree-view-dnd.h: header.
17021         * components/tree/nautilus-tree-view-private.h: shared stuff between
17022         TreeView and dnd code.
17023         
17024         * components/tree/nautilus-tree-view.c: remove all those functions.
17025         (nautilus_tree_view_insert_model_node), (forget_view_node),
17026         (nautilus_tree_view_remove_model_node),
17027         (nautilus_tree_view_update_model_node),
17028         (nautilus_tree_view_initialize),
17029         (nautilus_tree_view_model_node_to_view_node),
17030         (nautilus_tree_view_node_to_model_node),
17031         (nautilus_tree_view_node_to_file), (tree_expand_callback),
17032         (tree_collapse_callback), (tree_select_row_callback),
17033         (nautilus_tree_view_find_parent_node):
17034         * components/tree/nautilus-tree-view.h:
17036 2000-11-13  Pavel Cisler  <pavel@eazel.com>
17038         reviewed by: Darin Adler <darin@eazel.com>
17040         * configure.in:
17041         Enable the sign-compare and cast-align warnings.
17042         
17043         * components/help/converters/gnome-db2html2/gdb3html.c:
17044         (find_first_element):
17045         * components/help/hyperbola-filefmt.c: (fmt_free_tree_info):
17046         * components/help/hyperbola-nav-index.c:
17047         (hyperbola_navigation_index_update_clist), (despace),
17048         (end_element):
17049         * components/history/nautilus-history-view.c:
17050         (history_load_location):
17051         * components/mozilla/nautilus-mozilla-content-view.c:
17052         (string_list_get_index_of_string):
17053         * components/services/install/lib/eazel-install-corba-types.c:
17054         (corba_string_sequence_to_glist),
17055         (corba_packagedatastructlist_from_packagedata_list),
17056         (packagedata_list_from_corba_packagedatastructlist),
17057         (categorydata_list_from_corba_categorystructlist):
17058         * components/services/install/lib/eazel-install-query.c:
17059         (eazel_install_simple_rpm_query):
17060         * components/services/install/lib/eazel-install-rpm-glue.c:
17061         (eazel_install_monitor_rpm_process_pipe):
17062         * components/services/install/lib/eazel-install-rpm-signature.c:
17063         (read_rpm_lead), (read_rpm_signature):
17064         * components/services/trilobite/libtrilobite/trilobite-root-helper.
17065         c: (trilobite_root_helper_run_program),
17066         (trilobite_root_helper_set_time):
17067         * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
17068         (nautilus_clist_get_arg), (nautilus_clist_construct):
17069         * helper-utilities/authenticate/nautilus-authenticate.c: (main):
17070         * libnautilus-extensions/nautilus-background.c:
17071         (set_image_and_color_image_loading_done_callback):
17072         * libnautilus-extensions/nautilus-buffered-widget.c:
17073         (nautilus_gdk_pixbuf_tile_alpha):
17074         * libnautilus-extensions/nautilus-caption-table.c:
17075         (entry_activate):
17076         * libnautilus-extensions/nautilus-caption-table.h:
17077         * libnautilus-extensions/nautilus-ctree.c:
17078         (nautilus_ctree_node_nth), (nautilus_ctree_drag_motion):
17079         * libnautilus-extensions/nautilus-ctree.h:
17080         * libnautilus-extensions/nautilus-directory-async.c:
17081         (metafile_write):
17082         * libnautilus-extensions/nautilus-file-changes-queue.c:
17083         (nautilus_file_changes_consume_changes):
17084         * libnautilus-extensions/nautilus-file-operations-progress.c:
17085         (truncate_string_from_start):
17086         * libnautilus-extensions/nautilus-file-operations.c:
17087         (extract_string_until):
17088         * libnautilus-extensions/nautilus-file-utilities.c:
17089         (nautilus_read_entire_file):
17090         * libnautilus-extensions/nautilus-gdk-extensions.c:
17091         (nautilus_get_largest_fitting_font):
17092         * libnautilus-extensions/nautilus-global-preferences.c:
17093         (global_preferences_get_sidebar_panel_view_identifiers):
17094         * libnautilus-extensions/nautilus-gtk-extensions.c:
17095         (nautilus_gtk_window_set_initial_geometry_from_string),
17096         (nautilus_gtk_menu_set_item_visibility):
17097         * libnautilus-extensions/nautilus-icon-canvas-item.c:
17098         (draw_or_measure_label_text), (draw_or_measure_label_text_aa):
17099         * libnautilus-extensions/nautilus-icon-container.c:
17100         (rubberband_timeout_callback), (destroy), (compute_stretch):
17101         * libnautilus-extensions/nautilus-icon-container.h:
17102         (nautilus_icon_container_find_drop_target):
17103         * libnautilus-extensions/nautilus-icon-factory.c:
17104         (check_recently_used_list), (get_themed_icon_file_path),
17105         (revise_scale_factors_if_too_big):
17106         * libnautilus-extensions/nautilus-icon-text-item.c:
17107         (recompute_bounding_box), (iti_draw), (iti_selection_motion):
17108         * libnautilus-extensions/nautilus-label.c:
17109         (nautilus_label_size_allocate), (label_recompute_line_geometries):
17110         * libnautilus-extensions/nautilus-list.c: (draw_cell),
17111         (nautilus_list_drag_data_received):
17112         * libnautilus-extensions/nautilus-mime-actions.c:
17113         (server_matches_content_requirements),
17114         (nautilus_do_component_query):
17115         * libnautilus-extensions/nautilus-password-dialog.c:
17116         (caption_table_activate_callback):
17117         * libnautilus-extensions/nautilus-preferences-item.c:
17118         (has_image_file):
17119         * libnautilus-extensions/nautilus-scalable-font.c:
17120         (file_as_string), (parse_font_description_file),
17121         (nautilus_text_layout_new):
17122         * libnautilus-extensions/nautilus-scalable-font.h:
17123         * libnautilus-extensions/nautilus-volume-monitor.c:
17124         (check_permissions):
17125         * libnautilus/nautilus-view.c:
17126         (nautilus_shallow_g_list_from_uri_list):
17127         * libnautilus/nautilus-zoomable.c:
17128         (nautilus_g_list_from_ZoomLevelList):
17129         * librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string):
17130         * librsvg/rsvg.c: (rsvg_parse_transform):
17131         * src/file-manager/fm-icon-view.c:
17132         (fm_icon_view_create_background_context_menu_items),
17133         (get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id):
17134         * src/file-manager/fm-list-view.c: (select_row_common),
17135         (select_matching_name_callback), (select_previous_next_common),
17136         (fm_list_view_bump_zoom_level):
17137         * src/nautilus-search-bar-criterion.c:
17138         (nautilus_search_bar_criterion_update_valid_criteria_choices):
17139         * src/nautilus-shell.c: (corba_open_windows),
17140         (corba_open_default_window):
17141         * src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items):
17142         * src/nautilus-window-menus.c:
17143         (nautilus_window_disable_keyboard_navigation_for_menus):
17144         * src/nautilus-window.c: (nautilus_window_size_request):
17145         Fix all sign-compare violations.
17147 2000-11-13  Mathieu Lacage  <mathieu@eazel.com>
17149         Buddy: pavel.
17150         Fix bug 2422 and 4382.
17151         
17152         * components/tree/nautilus-tree-view.c:
17153         (filtering_changed_callback), 
17154         (collapse_time_callback): added. collapses opened folders when
17155         you leave the tree view.
17156         (nautilus_tree_view_drag_leave): make it call tree_view_drag_destroy
17157         (nautilus_tree_view_drag_motion): cleanup, make it call
17158         tree_view_drag_destroy_real
17159         (nautilus_tree_view_drag_drop): spaces.
17160         (nautilus_tree_view_drag_data_received): cleanup: make it call
17161         tree_view_drag_destroy.
17162         (nautilus_dump_info): cleanup.
17163         (expand_time_callback): cleanup.
17164         (nautilus_tree_view_expand_maybe_later): cleanup
17165         (nautilus_tree_view_collapse_all): cleanup.
17166         (nautilus_tree_view_receive_dropped_icons): make it collapse
17167         correctly.
17168         (nautilus_tree_view_prelight_stop): new function: clears prelighting.
17169         (nautilus_tree_view_drag_destroy): new function: destroys when drag finished.
17170         (nautilus_tree_view_drag_destroy_real): new function: destroys when drag begins.
17171         * docs/dnd.txt: add some thoughts.
17172         * libnautilus-extensions/nautilus-drag.c: 
17173         (nautilus_drag_init): init new field.
17174         * libnautilus-extensions/nautilus-drag.h: add shared field to public structure.
17176 2000-11-13  Gene Z. Ragan  <gzr@eazel.com>
17178         Fixed bug 4700, ejecting an audio cd kills Nautilus
17179         
17180         * libnautilus-extensions/nautilus-volume-monitor.c:
17181         (nautilus_volume_monitor_get_volume_name):
17182         Check for NULL string before using it.
17183         
17184         * src/file-manager/fm-desktop-icon-view.c:
17185         (volume_unmounted_callback):
17186         Don't bother emiting signal if volume was never mounted
17187         in the first place.
17189 2000-11-13  John Sullivan  <sullivan@eazel.com>
17191         reviewed by: Darin Adler  <darin@eazel.com>
17193         More work towards using Bonobo for context menus. Also, found
17194         and fixed bug where "Open With" items weren't working from
17195         the File menu (though they were from the context menu).
17197         * src/file-manager/fm-directory-view.c:
17198         (add_open_with_program_menu_item): Determine verb name from item
17199         path, not item label. This was broken before, causing "Open With"
17200         items in the File menu not to work. Not sure why this ever worked,
17201         but I didn't spend too much time investigating its change history.
17202         (add_open_with_app_bonobo_menu_item), 
17203         (add_open_with_viewer_bonobo_menu_item): Removed these functions;
17204         they were adding an extra layer that ended up hurting rather than
17205         helping.
17206         (add_application_to_bonobo_menu),
17207         (add_component_to_bonobo_menu): consolidated with the removed
17208         functions; add item to context menu as well as normal menu.
17209         (reset_bonobo_open_with_menu): remove menu items and verbs from
17210         context menu as well as normal menu.
17212 2000-11-13  Josh Barrow  <josh@eazel.com>
17214         * libnautilus-extensions/nautilus-global-preferences.c:
17215         (global_preferences_register):
17216         Renamed "directory" to "folder"
17218 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17220         reviewed by: John Sullivan  <sullivan@eazel.com>
17222         * src/run-nautilus: Fixed bug 3248 (2nd copy of Nautilus faults)
17223         by removing the nautilus-clean.sh calls from run-nautilus (Ramiro
17224         claims it was fixed already, but there were race conditions, and
17225         these calls are masking bugs that we want to fix for release).
17227 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17229         reviewed by: Pavel Cisler <pavel@eazel.com>
17231         * components/adapter/nautilus-adapter-progressive-load-strategy.c:
17232         Increased chunk-size to 32k in an unsuccesful attempt to improve
17233         the situation with regards to fix bug 3256 (attempt to view huge
17234         text file is very slow). It did not help which leads me to believe
17235         the problem is with the way the text control handles progressive
17236         updates.
17238         Fix bug 2180 (switching from icon view to list view, the zoom
17239         control disappears and then reappears).
17240         
17241         * src/nautilus-window-manage-views.c (load_content_view,
17242         zoom_level_changed_callback): Don't show and hide the zoom control
17243         at various times. Instead, let
17244         `nautilus_window_set_content_view_widget' establish the right
17245         visibility state when we finally enable the widget. This way, the
17246         zoom control won't ever disappear and reappear when switching
17247         between two different zoomable views.
17248         * src/nautilus-window.c (nautilus_window_set_content_view_widget):
17249         Set the zoom control to the right visibility state when setting
17250         the new widget.
17252 2000-11-13  Andy Hertzfeld  <andy@eazel.com>
17254         * src/nautilus-theme-selector.c: (exit_remove_mode):
17255         fixed bug 3823, text in theme selector is wrong, by correcting
17256         a mis-set boolean.
17257         
17258 2000-11-13  John Sullivan  <sullivan@eazel.com>
17260         More progress on using Bonobo for context menu items.
17261         Now the Bonobo context menu items get their labels
17262         updated to match the selection.
17264         * src/file-manager/fm-directory-view.c: 
17265         (compute_menu_item_info):
17266         Now has return parameters for the label with & without underscore,
17267         instead of a boolean parameter to choose between them.  
17268         (append_gtk_menu_item), (append_selection_menu_subtree):
17269         Update callers that only want the without-underscore version.   
17270         (update_one_menu_item): Set the label for the verb (no underscore)
17271         as well as the label for the menu item (include underscore).
17273         * src/file-manager/fm-icon-view.c: 
17274         (compute_menu_item_info):
17275         Now has return parameters for the label with & without underscore,
17276         instead of a boolean parameter to choose between them.
17277         (insert_one_context_menu_item),
17278         (fm_icon_view_create_background_context_menu_items):
17279         Update callers that only want the without-underscore version.
17280         (update_one_menu_item): Set the label for the verb (no underscore)
17281         as well as the label for the menu item (include underscore).
17283         * src/file-manager/fm-search-list-view.c:
17284         (compute_reveal_item_name_and_sensitivity):
17285         Now has return parameters for the label with & without underscore,
17286         instead of a boolean parameter to choose between them.
17287         (real_create_selection_context_menu_items): Update caller that
17288         only wants the without-underscore version.
17289         (update_reveal_item): Set the label for the verb (no underscore)
17290         as well as the label for the menu item (include underscore).
17291         
17292         * src/file-manager/nautilus-directory-view-ui.xml:
17293         Add some placeholders in the selection context menu so subclasses
17294         can place items correctly.
17295         * src/file-manager/nautilus-icon-view-ui.xml:
17296         Insert Rename, Stretch, and Unstretch into context menu.
17297         * src/file-manager/nautilus-search-list-view-ui.xml:
17298         Define commands for each verb. Move tips to commands.
17299         Insert Reveal into context menu.
17301 2000-11-13  Andy Hertzfeld  <andy@eazel.com>
17303         fixed bug 4703, add new background crashes when you pick trash.
17304         
17305         * src/nautilus-property-browser.c: (add_background_to_browser):
17306         fixed by removing a double-free in the case when the selected
17307         file is not an image.
17308         
17309 2000-11-13  John Sullivan  <sullivan@eazel.com>
17311         More work towards converting directory view context menus
17312         to use Bonobo. Checking in so Darin can help me debug.
17313         The Bonobo context menus still aren't used unless you
17314         modify code.
17316         * src/file-manager/fm-directory-view.c: 
17317         (real_merge_menus): Add verb handler for "Reset Background"
17318         (fm_directory_view_pop_up_selection_context_menu): Add
17319         conditional to execute Bonobo version (if TRUE changed to FALSE).
17320         (fm_directory_view_pop_up_background_context_menu): formatting tweak.
17321         * src/file-manager/nautilus-directory-view-ui.xml:
17322         Added command definitions for all verbs. Moved labels from
17323         context items into commands. Moved tips into commands. Populated
17324         the background and selection popup menu definitions.
17325         * src/file-manager/nautilus-icon-view-ui.xml:
17326         Added command definitions for all verbs and ids. Defined labels
17327         for commands. Moved tips into commands. Partially populated the
17328         background popup menu definition.
17329         * src/nautilus-shell-ui.xml: Moved accelerators for Zoom commands
17330         to menu items, so they don't appear in context menus. Add labels
17331         for Zoom commands. Add degenerate background popup that defines
17332         the zoom items.
17334 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17336         * libnautilus-extensions/nautilus-program-choosing.c
17337         (nautilus_launch_application_from_command): Remove stray printf.
17339 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17341         * THANKS: Updated based on running check-THANKS.pl
17342         * AUTHORS, ChangeLog-200001018: Fixed some typos in
17343         people's email addresses.
17345 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17347         Fix bugs 3641 (text preview gets garbled when switching files in
17348         the middle of a load) and 3479 (Nautilus crashes if
17349         nautilus-adapter* missing).
17351         * components/adapter/nautilus-adapter-progressive-load-strategy.c
17352         (call_when_stopped, load_and_free_uri, declare_done_loading,
17353         stop_loading,
17354         nautilus_adapter_progressive_load_strategy_load_location): Make
17355         sure previous load is completely stopped before ever starting a
17356         new load.
17358         * components/adapter/nautilus-adapter.c:
17359         (nautilus_adapter_destroy, nautilus_adapter_new): Avoid reporting
17360         signals to the view frame while in the middle of destroying the
17361         adapter.
17362         * src/nautilus-component-adapter-factory.c
17363         (nautilus_component_adapter_factory_get): Return NULL when loading
17364         the adapter factory component fails.
17365         (nautilus_component_adapter_factory_initialize,
17366         component_adapter_factory_at_exit_destructor): Changes required by
17367         the above.
17368         * src/nautilus-view-frame.c
17369         (nautilus_view_frame_set_to_component): report failure if we can't
17370         load the adapter factory.
17371         * src/nautilus-window-manage-views.c
17372         (report_content_view_failure_to_user, load_content_view,
17373         handle_view_failure, nautilus_window_set_sidebar_panels): Do a
17374         somewhat better job of reporting view load failures.
17376 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17378         * components/tree/nautilus-tree-view.c
17379         (nautilus_tree_view_insert_model_node,
17380         nautilus_tree_view_update_model_node): Set both open and closed
17381         pixmaps, so open folders have a disttinct appearance in the tree,
17382         in addition to the disclosure triangles. This fixes bug 2421. This
17383         work was needed to fix bug 3279 (Icons in tree sidebar panel don't
17384         update when theme is changed), which was a side effect of not
17385         doing this.
17387 2000-11-13  Maciej Stachowiak  <mjs@eazel.com>
17389         * libnautilus-extensions/nautilus-ctree.c (ctree_is_hot_spot):
17390         Expand margins around expander by 3 pixels on each side to make it
17391         easier to click the disclosure triangle (triangle will prelight
17392         when within range), to fix bug 4479
17395         Fix bugs 4497 (Add configuration option to show only folders in
17396         tree view) and 2419 (Tree view should track "show hidden files"
17397         preference):
17399         * components/tree/nautilus-tree-view.c:
17400         (nautilus_tree_view_should_skip_file,
17401         nautilus_tree_view_insert_model_node,
17402         nautilus_tree_view_remove_model_node,
17403         nautilus_tree_view_update_model_node): Handle possibly filtering
17404         out hidden files, backup files or non-directories.
17405         
17406         (filtering_changed_callback,
17407         nautilus_tree_view_initialize): Initialize from and watch
17408         filtering preferences, reload whole tree when prefs change.
17409         
17410         (nautilus_tree_view_destroy): Stop watching filtering prefs.
17412         (reload_model_node, reload_whole_tree, expand_node_for_file,
17413         nautilus_tree_view_receive_dropped_icons): Update code for
17414         reloading the tree on expand/collapse etc.
17416         * components/tree/nautilus-tree-model.c
17417         (nautilus_tree_model_directory_files_added_callback): Check if we
17418         already have a node for each file before trying to create a new
17419         one. This was needed because otherwise chaning the preference
17420         settins mentioned above would result in crashes.
17422         * libnautilus-extensions/nautilus-file.h,
17423         libnautilus-extensions/nautilus-file.c:
17424         (nautilus_file_is_hidden_file, nautilus_file_is_backup_file,
17425         nautilus_file_should_show,
17426         filter_hidden_and_backup_partition_callback,
17427         nautilus_file_list_filter_hidden_and_backup): Move hidden file and
17428         backup file filtering logic here from fm-directory-view.c.
17430         * src/file-manager/fm-directory-view.c (queue_pending_files): Use
17431         `nautilus_file_list_filter_hidden_and_backup' to do filtering.
17432         
17433         * libnautilus-extensions/nautilus-global-preferences.h,
17434         libnautilus-extensions/nautilus-global-preferences.c
17435         (global_preferences_create_dialog, global_preferences_register):
17436         Add a new preference for showing only directories in the tree
17437         view.
17439         * libnautilus-extensions/nautilus-preferences-dialog.c: Make
17440         preferences dialog a bit bigger to accomodate the new setting.
17442 2000-11-12  Andy Hertzfeld  <andy@eazel.com>
17444         fixed bug 3210, trash image fails to appear when defined as
17445         emblem, by disallowing new emblems to be defined with the same
17446         name as intrinsic ones.  Also, disallowed adding an emblem with
17447         the same name as an existing one.
17449         * src/nautilus-property-browser.c:
17450         (nautilus_property_browser_destroy), (emblem_keyword_valid),
17451         (is_reserved_keyword), (emblem_dialog_clicked),
17452         (make_properties_from_directories):
17453         maintain a glist of emblem names, and check it when we're adding a
17454         new one to make sure it's not already on it.  Put up an error dialog
17455         if it already exists.
17456         
17457 2000-11-12  Andy Hertzfeld  <andy@eazel.com>
17459         fixed bug 3116, add preference for disabling sound preview
17460         
17461         * libnautilus-extensions/nautilus-global-preferences.h:
17462         defined sound preview preference
17463         * libnautilus-extensions/nautilus-global-preferences.c:
17464         (global_preferences_create_dialog), (global_preferences_register):
17465         registered sound preview preference and added to speed tradeoffs
17466         * src/file-manager/fm-icon-view.c: (should_preview_sound),
17467         (icon_container_preview_callback):
17468         only preview sounds if the preference is set
17469         
17470 2000-11-12 John Fleck <jfleck@inkstain.net>
17472         * adding term tag support to gnome-db2html2 - fixing bug #4406
17473         
17474 2000-11-12  Maciej Stachowiak  <mjs@eazel.com>
17476         Fixed bugs 4503 and 4584.
17477         
17478         * components/tree/nautilus-tree-view.c: Added
17479         `current_main_view_uri' field to details struct.
17480         (nautilus_tree_view_load_uri): Set `current_main_view_uri' field
17481         every time, whether or not we end up selecting it.
17482         (nautilus_tree_view_destroy): Free `current_main_view_uri' and
17483         `selected_uri' fields.
17484         (tree_select_row_callback): Only ignore the select if the selected
17485         row matches `current_main_view_uri', not just `selected_uri' to
17486         fix bug 4584 (Can not reselect the previous directory in the tree
17487         when I entered a "hidden" directory in the content view)
17489         (nautilus_tree_view_button_release): Only select the row on a
17490         release of button 1, otherwise ignore to fix bug 4503 ("Tree
17491         Sidebar panel treats right-clicks as left-clicks (should do
17492         nothing)")
17494         (tree_view_realize_callback): trivial formatting fix. 
17496 2000-11-11  Maciej Stachowiak  <mjs@eazel.com>
17498         * components/help/hyperbola-nav-tree.c
17499         (hyperbola_navigation_tree_new): FIx bug 4352 and make the
17500         redundant "Document Tree" title go away.
17502 2000-11-11  Maciej Stachowiak  <mjs@eazel.com>
17504         Fixed bugzilla.eazel.com bugs 4051 (applications which require
17505         terminals don't get them) and 4072 (mime types: command= string
17506         can't take args?).
17508         * libnautilus-extensions/nautilus-gnome-extensions.c
17509         (nautilus_gnome_terminal_shell_execute): Don't take the shell as
17510         an argument, just use "/bin/sh", there's no reason to use any
17511         other shell for the purpose of launching a terminal like this.
17513         (nautilus_gnome_open_terminal): Don't pass user shell to
17514         `nautilus_gnome_terminal_shell_execute'; handle `gnome-terminal'
17515         properly by passing it "-x" instead of incorrectly trying to quote
17516         the command.
17517         
17518         * libnautilus-extensions/nautilus-gnome-extensions.h: Fix minor
17519         typo.
17520         
17521         * libnautilus-extensions/nautilus-program-choosing.h,
17522         libnautilus-extensions/nautilus-program-choosing.c:
17523         (nautilus_launch_application_from_command): Add a use_termial
17524         argument and if passed, launch the program in a terminal; minor
17525         fixes to the way non-terminal-requiring programs are launched as
17526         well, including not quoting the command, so that it can include
17527         command line arguments (if the command name includes a space, it
17528         had better be quoted already).
17530         (nautilus_launch_application): Use the new `use_terminal' argument
17531         when calling `nautilus_launch_application_from_command'.
17532         
17533         * libnautilus-extensions/nautilus-program-chooser.c:
17534         (launch_mime_capplet): Use the new `use_terminal' argument
17535         when calling `nautilus_launch_application_from_command'.
17537         * src/file-manager/fm-desktop-icon-view.c
17538         (change_desktop_background_menu_item_callback): Use the new
17539         `use_terminal' argument when calling
17540         `nautilus_launch_application_from_command'.
17541         
17542         * src/file-manager/fm-directory-view.c (activate_callback): Use
17543         the new `use_terminal' argument when calling
17544         `nautilus_launch_application_from_command'. Also, shell-quote the
17545         command, since nautilus_application_launch_from_command won't do
17546         that for you any more.
17548 2000-11-10  Maciej Stachowiak  <mjs@eazel.com>
17550         * icons/gnome/Makefile.am, icons/i-executable.png: Restored
17551         original icon to Gnome theme (Andy accidentally changed it while
17552         replacing the default theme's exectuable icon).
17554 2000-11-10  Andy Hertzfeld  <andy@eazel.com>
17556         * icons/Makefile.am:
17557         * icons/i-executable-aa.png:
17558         * icons/i-executable.png:
17559         new executable icons from Susan
17560         
17561 2000-11-10  Andy Hertzfeld  <andy@eazel.com>
17563         * src/nautilus-property-browser.c:
17564         (nautilus_color_selection_dialog_new), (add_color_to_file),
17565         (add_color_to_browser), (show_color_selection_window),
17566         (add_new_color), (make_properties_from_xml_node):
17567         fixed bug 4197, colors can't be given a name, by adding a
17568         color selection window with a name entry, and using that
17569         to name the color.
17570         
17571         * icons/villanova/Makefile.am:
17572         * icons/villanova/i-directory-accept-*.png:
17573         fixed bug 4641, missing non-aa "folder-accept" image for the
17574         villanova theme, by adding new images from Susan.
17575         
17576         * icons/eazel/eazel.xml:
17577         * icons/villanova/villanova.xml:
17578         tweaked the selection box colors for the eazel and villanova
17579         themes according to Susan's specification.
17580         
17581 2000-11-10  Gene Z. Ragan  <gzr@eazel.com>
17583         Fixed bug 3057, Icon renaming state can get broken by clicking 
17584         in location bar.
17585         
17586         * libnautilus-extensions/nautilus-icon-container.c:
17587         (handle_focus_out_event): 
17588         Signal handler that ends renaming mode when focus changes.
17589         (nautilus_icon_container_initialize):
17590         Connect "focus_out_event" to new signal handler above.
17591         
17592         * libnautilus-extensions/nautilus-icon-text-item.c: (layout_text),
17593         (iti_start_editing), (iti_draw), (iti_event),
17594         (nautilus_icon_text_item_select),
17595         (nautilus_icon_text_item_get_text),
17596         (nautilus_icon_text_item_start_editing),
17597         (nautilus_icon_text_item_stop_editing):
17598         Code style cleanups.
17600 2000-11-10  Maciej Stachowiak  <mjs@eazel.com>
17602         reviewed by: Gene Z. Ragan <gzr@eazel.com>
17604         I think 3320 is fixed (I definitely can't reproduce it) but this
17605         change should eliminate a few remaining possible causes.
17606         
17607         * components/tree/nautilus-tree-model.h,
17608         components/tree/nautilus-tree-model.c
17609         (nautilus_tree_model_get_node_from_file): New function that gets
17610         the node corresponding to a NautilusFile (to avoid possible
17611         problems with multiple NautilusFile objects for one URI).
17612         
17613         (nautilus_tree_model_get_node, report_node_changed,
17614         report_node_removed_internal,
17615         nautilus_tree_model_directory_files_changed_callback,
17616         nautilus_tree_model_directory_done_loading_callback): Use where
17617         possible.
17619         * components/tree/nautilus-tree-view.c: (reload_node_for_file,
17620         nautilus_tree_view_find_parent_node): Use
17621         `nautilus_tree_model_get_node_from_file'.
17623 2000-11-09  Andy Hertzfeld  <andy@eazel.com>
17625         * src/nautilus-property-browser.c:
17626         (nautilus_property_browser_drag_data_get):
17627         fix bug where newly added reset coupon in the colors section
17628         of the property browser wasn't working on the sidebar.  Fixed
17629         by making sure it issues a uri to a valid image in
17630         drag_data_get.
17631         
17632 2000-11-09 Elliot Lee <sopwith@redhat.com>
17634         * configure.in: Fix freetype2 detection
17635         * Various makefiles: fix srcdir != builddir.
17637 2000-11-09  Darin Adler  <darin@eazel.com>
17639         buddy: John Sullivan <sullivan@eazel.com>
17641         * libnautilus-extensions/nautilus-program-chooser.c:
17642         (repopuluate_program_list), (is_component_default_for_file),
17643         (program_file_pair_is_default_for_file),
17644         (program_file_pair_is_in_short_list_for_file),
17645         (add_to_short_list_for_file), (remove_from_short_list_for_file),
17646         (remove_default_for_item), (set_default_for_item):
17647         * libnautilus-extensions/nautilus-program-choosing.c:
17648         (nautilus_choose_component_for_file):
17650         Remove unnecessary calls to wait functions. There are still
17651         one or two cases of calls. Next step is to replace them.
17653 2000-11-09  John Sullivan  <sullivan@eazel.com>
17655         The beginnings of converting directory view context menus
17656         to Bonobo. This doesn't work right yet; I'm checking in
17657         so Darin can help me debug (the new code is iffed out for
17658         now)
17660         * src/file-manager/fm-directory-view.c: (get_bonobo_window),
17661         (create_popup_menu), (real_merge_menus),
17662         (fm_directory_view_pop_up_background_context_menu):
17663         * src/file-manager/nautilus-directory-view-ui.xml:
17665 2000-11-08  Andy Hertzfeld  <andy@eazel.com>
17667         * libnautilus-extensions/nautilus-icon-dnd.c:
17668         (nautilus_icon_container_find_drop_target),
17669         (nautilus_icon_container_get_drop_action):
17670         fixed bug 3215 and 3723, bad feedback during emblem dropping,
17671         by rejecting the drop if we're not over an icon.  Also, made it
17672         reject the drop for colors and backgrounds if we're not over
17673         the background.  I also fixed a memory leak in get_drop_action.
17674         
17675 2000-11-08  Eskil Heyn Olsen  <eskil@eazel.com>
17677         * configure.in:
17678         if rpm version check fails, hint at user 
17679         to --disable-eazel-services
17681 2000-11-08  Robey Pointer  <robey@eazel.com>
17683         * components/services/install/lib/eazel-install-logic.c:
17684         (eazel_install_check_for_file_conflicts),
17685         (eazel_uninstall_downward_traverse):
17686         * components/services/install/lib/eazel-install-query.c:
17687         (eazel_install_simple_rpm_query):
17688         * components/services/install/lib/eazel-install-rpm-glue.c:
17689         (eazel_install_add_to_rpm_set):
17690         * components/services/install/lib/eazel-install-types.c:
17691         (packagedata_new_from_rpm_header),
17692         (packagedata_fill_from_rpm_header), (packagedata_fill_from_file),
17693         (packagedata_destroy):
17694         * components/services/install/lib/eazel-install-types.h:
17695         * nautilus-installer/src/installer.c: (more_check_system):
17696         
17697         Backport the memory leak fixes from PR2.  Also clean up the use of
17698         'Header' structs from librpm since they turn out to be secret
17699         pointers, not structs.
17701 2000-11-08  Darin Adler  <darin@eazel.com>
17703         buddy: Gene Ragan <gzr@eazel.com>
17705         * libnautilus-extensions/nautilus-file.c: (rename_callback): Since
17706         metadata for the directory itself is now stored under a fixed
17707         name, no need to rename the metadata for self-owned files any
17708         more.
17709         (get_item_count), (get_size), (compare_directories_by_count),
17710         (compare_files_by_size), (compare_by_size): Reimplement compares
17711         by size so they don't use gnome_vfs_file_info_compare -- this
17712         makes them work better for info == NULL cases.
17713         (get_date), (compare_by_modification_date): Reimplement compares
17714         by modification date so they don't use gnome_vfs_file_info_compare
17715         -- this makes them work better for info == NULL cases.
17716         (compare_by_name): Sort files that start with "." or "#" last.
17717         (compare_by_name_and_directory_name): Helper function so that we
17718         always sort by directory name when names are equal.
17719         (nautilus_file_compare_for_sort): Use the new functions above so
17720         we never have to use the gnome_vfs_file_info_compare function.
17721         Because of that, we won't have to keep file names around any more.
17722         This also simplified the logic -- I was able to remove all the
17723         special cases for info == NULL.
17724         (get_metadata_name): Function that returns "." for self-owned
17725         files so the metadata for the directory itself is stored somewhere
17726         that's not affected by renaming.
17727         (nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
17728         (nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
17729         (nautilus_file_get_boolean_metadata),
17730         (nautilus_file_get_integer_metadata),
17731         (nautilus_file_set_boolean_metadata),
17732         (nautilus_file_set_integer_metadata): Use the new
17733         get_metadata_name function.
17734         
17735         * src/file-manager/nautilus-directory-view-ui.xml: Changed an old
17736         <menuitem/> to <separator/>.
17738         * po/.cvsignore: Ignore the tmp directory, but no need to ignore
17739         the .headerlock file which is now obsolete.
17741         * README: Minor tweaks.
17742         * libnautilus-extensions/Makefile.am: Resorted lists.
17744 2000-11-08  John Sullivan  <sullivan@eazel.com>
17746         buddy: Darin Adler <darin@eazel.com>
17748         Fixed bug 4485 (":" as location caused odd error messages)
17750         * libnautilus-extensions/nautilus-directory.c:
17751         (real_get_name_for_self_as_new_file): Now checks for
17752         initial-colon as well as missing-colon.
17753         
17754         * libnautilus-extensions/nautilus-file.c:
17755         (nautilus_self_check_file): Added a few self check tests
17756         for default file naming from bogus directories.
17758 2000-11-08  Ali Abdin  <aliabdin@aucegypt.edu>
17760         * components/music/nautilus-music-view.c:
17761         (xpm_label_box),
17762         (xpm_dual_label_box):
17763         Re-write to use gdk-pixbuf. This eliminates a FIXME in there.
17765 2000-11-08  Eskil Heyn Olsen  <eskil@eazel.com>
17767         * configure.in:
17768         Fixed bug 4643, check for rpm version 3.0.x
17770 2000-11-08  John Sullivan  <sullivan@eazel.com>
17772         Fixed bug 4472 (web search uses wrong URI)
17774         * libnautilus-extensions/nautilus-global-preferences.c:
17775         Change the web search default URI per Laura.
17777 2000-11-08  Mike Fleming  <mfleming@eazel.com>
17779         Fix relative URI bugs 4415, 4416, 4417.
17780         Do eazel-services untranslate for link messages
17782         * components/mozilla/nautilus-mozilla-content-view.c:
17783         (mozilla_link_message_callback),
17784         (remove_internal_relative_components),
17785         (make_full_uri_from_relative), (mozilla_dom_mouse_click_callback),
17786         (test_make_full_uri_from_relative):
17788 2000-11-07  Josh Barrow  <josh@eazel.com>
17790         * icons/eazel/eazel.xml:
17791         Changed the selection box color to match the icons.
17793 2000-11-07  Darin Adler  <darin@eazel.com>
17795         Worked on getting rid of wait_until_ready.
17796         
17797         * libnautilus-extensions/nautilus-directory.c: Got rid of include
17798         of nautilus-wait-until-ready.h.
17799         
17800         * libnautilus-extensions/nautilus-file.c: Got rid of
17801         nautilus_file_wait_until_ready.
17802         
17803         * libnautilus-extensions/nautilus-mime-actions.c:
17804         (wait_until_ready_callback),
17805         (nautilus_mime_actions_wait_for_full_file_attributes):
17806         Reimplemented so the wait is in here so we can get rid of
17807         nautilus_file_wait_until_ready.
17808         
17809         * libnautilus-extensions/nautilus-mime-actions.h: Moved
17810         nautilus_mime_actions_wait_for_full_file_attributes into
17811         nautilus-wait-until-ready.h.
17812         
17813         * libnautilus-extensions/nautilus-program-chooser.c: Added include
17814         of nautilus-wait-until-ready.h since this is one of the two files
17815         that still uses the thing.
17816         * libnautilus-extensions/nautilus-program-choosing.c: Added include
17817         of nautilus-wait-until-ready.h since this is one of the two files
17818         that still uses the thing.
17819         
17820         * libnautilus-extensions/nautilus-wait-until-ready.h: Removed
17821         nautilsu_file_wait_until_ready and added
17822         nautilus_mime_actions_wait_for_full_file_attributes.
17823         
17824         * src/file-manager/fm-directory-view.c:
17825         (switch_location_and_view): Get rid of code that waits for
17826         attributes, because the code guarantees they will already be read
17827         at this point.
17828         (fm_directory_view_destroy): Stop monitoring the file for the open
17829         with menu.
17830         (files_changed_callback): Update the menus whenever a file changes
17831         or our knowledge about it changes.
17832         (create_open_with_gtk_menu): Use the new monitor call to arrange
17833         to get the information about the single selected file that we
17834         need.
17835         (reset_bonobo_open_with_menu): Use the new monitor call to arrange
17836         to get the information about the single selected file that we
17837         need.
17838         (activate_callback): Remove the hack to work around the
17839         wait_until_ready calls. Also remove the wait_until_ready in here
17840         because we now request all the attributes we will be needing in
17841         the call_when_ready call (that already existed).
17842         (fm_directory_view_activate_file): Request all the attributes
17843         needed for determining MIME actions.
17844         (monitor_file_for_open_with): New function to monitor the stuff we
17845         need to know for the Open with menu.
17846         
17847         * test/test-nautilus-mime-actions-set.c: (ready_callback), (main):
17848         Use call_when_ready instead of wait_until_ready.
17849         
17850         * test/test-nautilus-mime-actions.c: (ready_callback), (main): Use
17851         call_when_ready instead of wait_until_ready.
17853         * po/ui-extract.pl: Checked in new version from Kenneth.
17854         * po/update.pl: Kenneth wanted me to update the license.
17855         
17856 2000-11-07  Andy Hertzfeld  <andy@eazel.com>
17858         * src/nautilus-property-browser.c: (emblem_keyword_valid),
17859         (emblem_dialog_clicked):
17860         fixed bugs 4168 and 4171, problems occur when slash and backslash
17861         are included in emblem names, by only allowing alphanumeric
17862         characters in emblem names and displaying an error dialog if
17863         that's not so.
17864         
17865 2000-11-07  Andy Hertzfeld  <andy@eazel.com>
17867         * icons/villanova/villanova.xml:
17868         fixed the villanova theme to use the default document icons
17869         instead of the ones from the eazel theme, now that the eazel
17870         ones are different.
17871         
17872 2000-11-07  Mike Fleming  <mfleming@eazel.com>
17874         * components/mozilla/main.c: (main):
17875         * components/mozilla/nautilus-mozilla-content-view.c:
17876         (nautilus_mozilla_content_view_destroy),
17877         (mozilla_open_uri_callback), (eazel_services_scheme_translate),
17878         (mozilla_content_view_one_time_happenings):
17880         fix for bugzillea.eazel.com 4596: using services in two Embedded Mozilla
17881         windows crashes
17883 2000-11-07  John Sullivan  <sullivan@eazel.com>
17885         Fixed bug 4489 (some menu items are missing status bar hints)
17887         * src/file-manager/fm-directory-view.c:
17888         (add_open_with_program_menu_item): New helper function to
17889         avoid code duplication; also handles setting tip.
17890         (add_open_with_app_bonobo_menu_item),
17891         (add_open_with_viewer_bonobo_menu_item): Use helper function
17892         and construct tips to pass in for apps & viewers in "Open
17893         With" submenu.
17894         * src/file-manager/nautilus-directory-view-ui.xml: Add a tip
17895         to "Open With" menu item itself.
17896         * src/nautilus-window-menus.c: (append_bookmark_to_menu):
17897         Tweaked wording of tip used for bookmarks.
17899 2000-11-07  Darin Adler  <darin@eazel.com>
17901         * libnautilus-extensions/nautilus-file-operations.h:
17902         * libnautilus-extensions/nautilus-file-operations.c:
17903         * src/nautilus-first-time-druid.h:
17904         Tweak to match Nautilus coding style.
17905         
17906         * src/nautilus-first-time-druid.c: (druid_cancel): Added FIXME
17907         about the way it quits Nautilus when you cancel.
17908         (druid_finished): Use #define constants instead of hard-coded
17909         URLs.
17910         (make_anti_aliased_label): Put FIXME where a font and size are
17911         hard-coded.
17912         (make_hbox_user_level_radio_button): Put FIXME where a font is
17913         hard-coded.
17914         (set_up_user_level_page): Put FIXME where a font size is
17915         hard-coded.
17916         (next_update_page_callback): Put FIXME where a comment mentions
17917         a "timer task" that does not exist.
17918         (nautilus_first_time_druid_show), (download_callback),
17919         (read_file_handle_cancel_cover), (initiate_file_download): Got rid
17920         of "cheap workaround" for when the druid goes away; instead, we
17921         cancel the I/O.
17922         
17923         Other tweaks to be at least in the vicinity of Nautilus coding
17924         style.
17926 2000-11-07  Maciej Stachowiak  <mjs@eazel.com>
17928         * nautilus-installer/src/prescript: Make the installer run
17929         successfully when run as root instead of failing silently, as part
17930         of the fix to 4605. Sadly, when Eli tried installing as root with
17931         the modified installer it worked, but running Nautilus
17932         subsequently as root resulted in strange Nautilus behavior, so
17933         probably we can't call it closed.
17935 2000-11-07  Robey Pointer  <robey@eazel.com>
17937         * components/services/install/lib/eazel-install-rpm-glue.c:
17938         (eazel_install_rpm_create_requirement),
17939         (eazel_install_do_rpm_dependency_check):
17940         * components/services/install/lib/eazel-install-types.c:
17941         (eazel_install_requirement_dep_name_compare):
17942         * components/services/install/lib/eazel-install-types.h:
17944         Backport bug 4594's fix to head: skip checking breakage on
17945         packages we're about to install/upgrade.
17946         
17947         * nautilus-installer/src/prescript:
17949         Revert Josh's well-meaning but incorrect patch to the spelling of
17950         Gnome in the Nautilus PR1 version test.
17952 2000-11-07  Eskil Heyn Olsen  <eskil@eazel.com>
17954         * nautilus-installer/src/installer.c: (did_we_already_try),
17955         (add_update_package), (get_detailed_errors_foreach),
17956         (download_failed), (eazel_installer_do_install):
17957         Fixed some case where we 1) try and update a package 2) not on
17958         softcat 3) didn't offer to remove it...
17959         
17960 2000-11-07  Robey Pointer  <robey@eazel.com>
17962         * components/services/install/lib/eazel-install-logic.c:
17963         (eazel_install_do_file_conflict_check):
17965         Backport Eskil's mushroom habit to the head.
17967 2000-11-07  Ramiro Estrugo  <ramiro@eazel.com>
17969         * libnautilus-extensions/nautilus-file-utilities.c:
17970         (nautilus_copy_uri_simple), (nautilus_unique_temporary_file_name):
17971         * libnautilus-extensions/nautilus-file-utilities.h:
17972         * src/nautilus-first-time-druid.c: (download_callback):
17973         Fix for 4585.  Crash saving updates.tgz file from server if it
17974         already exists.  The fix is to use a unique temporary file name
17975         and cleaning up after untar the update tarball.
17977 2000-11-07  Mike Fleming  <mfleming@eazel.com>
17979         * src/nautilus-first-time-druid.c: (druid_finished),
17980         (download_callback):
17982         Ugly fix to 4568 -- If io completes after druid is finished,
17983         then unpack the file but don't try to update the (now non-existant)
17984         GUI components
17986 2000-11-06  Maciej Stachowiak  <mjs@eazel.com>
17988         * src/nautilus-window-manage-views.c: (load_underway_callback,
17989         load_complete_callback): Replace FIXME 2460 with a comment
17990         explaining why current behavior is OK.
17992 2000-11-06  Mike Fleming  <mfleming@eazel.com>
17994         * src/nautilus-first-time-druid.c: (druid_finished),
17995         (download_callback), (initiate_file_download), (set_http_proxy),
17996         (my_sigalrm_handler), (check_dns_resolution),
17997         (check_network_connectivity):
17999         Fix for bug 4549 Check for a potential DNS freeze case, and hang
18000         for only 15 seconds rather than 2+ mins in this case.
18002 2000-11-06  Eskil Heyn Olsen  <eskil@eazel.com>
18004         * components/services/docs/installer-rpm-cases:
18005         Beginning a document of rpm cases, tree structures and generel
18006         crack...
18007         
18008         * components/services/install/command-line/eazel-alt-install-corba.
18009         c: (eazel_download_progress_signal),
18010         (eazel_install_progress_signal), (tree_helper), (install_failed):
18011         Nicer output, ability to disable pct output (--no-percent)
18012         
18013         * components/services/install/lib/eazel-install-logic.c:
18014         (eazel_install_check_for_file_conflicts),
18015         (eazel_install_do_file_conflict_check):
18016         Fix for 4579
18017         
18018         * nautilus-installer/src/prescript:
18019         Removed the crack that starts the nautilus launcher applet.
18020         
18021 2000-11-06  Robey Pointer  <robey@eazel.com>
18023         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
18024         (trilobite_get_services_address):
18025         * libnautilus-extensions/nautilus-password-dialog.c:
18026         (nautilus_password_dialog_new),
18027         (nautilus_password_dialog_get_remember),
18028         (nautilus_password_dialog_set_remember),
18029         (nautilus_password_dialog_set_remember_label_text):
18031         Backport PR2 changes (fix NULL string check in trilobite, and
18032         finish Mathieu's patch to turn off the checkbox in the password
18033         dialog).
18035 2000-11-06  Josh Barrow  <josh@eazel.com>
18037         * icons/eazel/theme_preview.png:
18038         Did a new theme preview for the revamped Eazel theme.
18040 2000-11-06  Mathieu Lacage  <mathieu@eazel.com>
18042         * libnautilus-extensions/nautilus-bonobo-extensions.c:
18043         (oaf_activation_callback): small fix: replace NULL with 
18044         CORBA_OBJECT_NIL
18045         * test/Makefile.am: add new test.
18046         * test/test-nautilus-async-activation.{c|h}
18048 2000-11-06  Andy Hertzfeld  <andy@eazel.com>
18050         * icons/eazel/Makefile.am:
18051         * icons/eazel/eazel.xml:
18052         * icons/eazel/i-regular.xml:
18053         * icons/eazel/i-regular-*.png:
18054         * icons/eazel/i-directory-*.png:
18055         * icons/eazel/fossil.png:
18056         
18057         at Susan's request, transformed the "eazel" theme into her "merion"
18058         theme.  We still need to update the theme preview icon to reflect
18059         the new look.
18060         
18061 2000-11-06  John Sullivan  <sullivan@eazel.com>
18063         Fixed PR2 bug 4480 (Crash while navigating in Vault).
18064         Someone still needs to roll this back to the branch.
18065         Darin has volunteered to do this when he's back from
18066         lunch unless someone beats him to it. This fix is a
18067         workaround for the real problem, described in new bug
18068         4539.
18070         * src/file-manager/fm-directory-view.c:
18071         Added details->waiting_for_activation_count_hack.
18072         (create_open_with_gtk_menu), 
18073         (reset_bonobo_open_with_menu):
18074         Don't try to get full file attributes if we're still
18075         waiting for any pending activation.
18076         (schedule_update_menus): Added an assert while debugging
18077         that is useful enough to keep.
18078         (activate_callback): 
18079         decrement details->waiting_for_activation_count_hack.
18080         (fm_directory_view_activate_file):
18081         increment details->waiting_for_activation_count_hack.
18083 2000-11-06  Mathieu Lacage  <mathieu@eazel.com>
18085         * user-guide/C/Makefile.am: fix make distcheck.
18087 2000-11-06  Darin Adler  <darin@eazel.com>
18089         Fixed bug 4504 (select "view as others" leads to core dump).
18091         * libnautilus-extensions/nautilus-file.c:
18092         (nautilus_file_get_directory_item_mime_types):
18093         Change to return a copy of the MIME type list as designed.
18094         
18095         * libnautilus-extensions/nautilus-mime-actions.c:
18096         (nautilus_mime_get_default_component_for_file_internal),
18097         (nautilus_mime_get_short_list_components_for_file):
18098         Change the callers that don't free the MIME type list so that they
18099         now do.
18101 2000-11-06  Ramiro Estrugo  <ramiro@eazel.com>
18103         * nautilus-clean.sh:
18104         Fix for bug 4530.  Race condition in nautilus-clean.sh trying to
18105         kill its own grep processes.
18107 2000-11-05  Ramiro Estrugo  <ramiro@eazel.com>
18109         * src/nautilus-first-time-druid.c:
18110         (next_proxy_configuration_page_callback):
18111         Fix for bug 4488.  Proxy string is defaulting to ":".  Do some
18112         validation on the user input.  Only set the proxy if the proxy and
18113         port entry text fields are not blank.
18115 2000-11-05  Robey Pointer  <robey@eazel.com>
18117         * components/services/install/lib/eazel-install-protocols.c:
18118         (http_fetch_remote_file):
18119         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
18120         : (trilobite_fetch_uri):
18121         * nautilus-installer/src/installer.c: (jump_to_retry_page),
18122         (eazel_install_get_depends):
18123         * nautilus-installer/src/main.c: (main):
18124         * nautilus-installer/src/prescript:
18125         * nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
18126         (load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
18127         * nautilus-installer/src/proxy.h:
18129         Backported from the PR2 branch: Fix proxy autoconfiguration bugs,
18130         and use temporary filenames when downloading packages.  Use the
18131         better way of finding out the user's homedir.  Clean up the error
18132         message for a package with no update available.
18134 2000-11-05  Andy Hertzfeld  <andy@eazel.com>
18136         fixed bug 4475, add license to help menu
18137         
18138         * src/nautilus-shell-ui.xml:
18139         added menu item for "Nautilus License"
18140         * src/nautilus-window-menus.c:
18141         (help_menu_nautilus_license_callback),
18142         (nautilus_window_initialize_menus):
18143         added a bonobo verb and a handler to invoke the license document
18144         * user-guide/C/Makefile.am:
18145         added license.html
18146         * user-guide/C/html/.cvsignore:
18147         * user-guide/C/html/license.html:
18148         added license html file from Bud.
18149         
18150 2000-11-05  Andy Hertzfeld  <andy@eazel.com>
18152         * components/music/nautilus-music-view.c: (play_status_display),
18153         (slider_moved_callback), (slider_release_callback):
18154         fixed bug 2407, divide by zero in the music view, which also got
18155         classified as PR2 bug 4513. I'm not sure this fixes the entire
18156         problem, since I wasn't able to manifest it in the first place,
18157         but Eli will confirm.
18159 2000-11-04  Ramiro Estrugo  <ramiro@eazel.com>
18161         * src/run-nautilus:
18162         Fix a typo that was causing the script to always bail.
18163         
18164 2000-11-04  Almer S. Tigelaar  <almer1@dds.nl>
18166         * configure.in: Add 'nl' to ALL_LINGUAS.
18168 2000-11-03  Ramiro Estrugo  <ramiro@eazel.com>
18170         FIX from the pr2 branch.
18171         
18172         * helper-scripts/nautilus-verify-rpm.sh:
18173         Fix bug 4453.  Get right urls into "Nautilus RPM is damaged"
18174         dialog boxes.  Also change the dialogs slighty as specified by
18175         sullivan in bug 4366.
18176         
18177 2000-11-03  Eskil Heyn Olsen  <eskil@eazel.com>
18179         * components/services/install/lib/eazel-install-protocols.c:
18180         (add_to_url):
18181         Last fix broke the magic static link of the installer, this will
18182         fix.
18184 2000-11-03  Darin Adler  <darin@eazel.com>
18186         Fixed bug 4483 (Crash while navigating in Vault).
18188         * src/nautilus-window.c: (nautilus_window_set_content_view_widget):
18189         Remove the idle with gtk_idle_remove, not gtk_timeout_remove.
18191         * src/file-manager/fm-directory-view.c:
18192         (fm_directory_view_destroy): Removed the check since it was giving
18193         false alarms and not helping us for real.
18195 2000-11-03  Darin Adler  <darin@eazel.com>
18197         * src/nautilus-shell.c: (display_caveat): Lets call the main
18198         branch "Nautilus", not "Nautilus Preview Release 2". Later we
18199         should change the caveat for cvs to be worded differently too.
18201         * src/nautilus-window.c: (nautilus_window_constructed),
18202         (nautilus_window_set_arg), (nautilus_window_get_arg),
18203         (nautilus_window_set_content_view_widget): Fixed spaces removed
18204         by the script (forgot to save this file before committing before).
18206 2000-11-03  Ramiro Estrugo  <ramiro@eazel.com>
18208         * Makefile.am:
18209         * configure.in:
18210         * helper-scripts/.cvsignore:
18211         * helper-scripts/Makefile.am:
18212         * helper-scripts/nautilus-verify-rpm.sh:
18213         Add a place to put helper-scripts.
18214         
18215         * helper-utilities/error-dialog/Makefile.am:
18216         Dont link in with Nautilus libraries and dependencies.
18217         
18218         * helper-utilities/error-dialog/nautilus-error-dialog.c:
18219         (find_message_label), (find_message_label_callback),
18220         (show_message_box), (show_ok_box), (nautilus_error_dialog),
18221         (nautilus_yes_no_dialog), (main):
18222         Add support for specifying button labels on the command line.
18223         
18224         * src/run-nautilus:
18225         Call the nautilus rpm verification script and bail if it fails.
18226         
18227 2000-11-03  Darin Adler  <darin@eazel.com>
18229         * README: Tell everyone that we are back on bonobo HEAD.
18230         * configure.in: Make sure Nautilus doesn't try to compile with the
18231         old bonobo.
18232         
18233         * components/adapter/nautilus-adapter-embed-strategy.c:
18234         (nautilus_adapter_embed_strategy_get):
18235         * components/adapter/nautilus-adapter-load-strategy.c:
18236         (nautilus_adapter_load_strategy_get):
18237         * components/adapter/nautilus-adapter-progressive-load-strategy.c:
18238         (nautilus_adapter_progressive_load_strategy_load_location):
18239         * components/history/nautilus-history-view.c:
18240         (history_view_frame_call_begin):
18241         * libnautilus/nautilus-undo.c: (set_up_bonobo_control):
18242         * libnautilus/nautilus-view.c: (view_frame_call_begin):
18243         * libnautilus/nautilus-zoomable.c:
18244         (nautilus_zoomable_ensure_zoomable_frame):
18245         Fix all the callers of query_interface in CORBA to call it
18246         queryInterface (I used the Bonobo script to do it).
18247         
18248         * src/nautilus-window.h:
18249         * src/nautilus-window.c: (nautilus_window_constructed),
18250         (nautilus_window_set_arg), (nautilus_window_get_arg),
18251         (nautilus_window_set_content_view_widget): Update for BonoboWin ->
18252         BonoboWindow change. Once again, the change was done by the Bonobo
18253         script (but I had to undo the spaces it ate after BONOBO_WIN).
18254         
18255         * components/services/install/idl/trilobite-eazel-install.idl:
18256         * components/services/time/idl/trilobite-eazel-time-service.idl:
18257         * components/services/trilobite/idl/trilobite-service.idl:
18258         * components/services/trilobite/sample/idl/sample-service.idl:
18259         * libnautilus-adapter/nautilus-adapter-factory.idl:
18260         * libnautilus/nautilus-distributed-undo.idl:
18261         * libnautilus/nautilus-view-component.idl:
18262         Since IDL dependencies don't work, I touched every IDL file to
18263         make the switchover smoother. This only works if people update
18264         before they try to build and fail, otherwise they need to do:
18265                 find -name '*.xml' | xargs touch
18266         (Maciej and I want to add dependency support to orbit-idl to make
18267         this problem go away long term).
18268         
18269         * src/nautilus-desktop-window.c: (realize):
18270         The script updated this comment to, so I let it.
18271         
18272         * user-guide/C/Makefile.am: Took out the botched change I made to
18273         this file. Mathieu did the correct one.
18275 2000-11-03  Mathieu Lacage  <mathieu@eazel.com>
18277         Hopefully, fix bug 4055 for true.
18278         * libnautilus-extensions/nautilus-list.c:
18279         (nautilus_list_drag_start), (nautilus_list_ensure_drag_data),
18280         (nautilus_list_drag_end), (nautilus_list_get_drop_action),
18281         (nautilus_list_drag_motion), (nautilus_list_drag_data_received):
18282         make it work with multiple successive drags by reinitializing a 
18283         number of variables used during drag.
18284         * src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons),
18285         (fm_list_get_default_action): make it react to drops in the blank
18286         area of a list view.
18288 2000-11-03  Eskil Heyn Olsen  <eskil@eazel.com>
18290         Last commit was botched, here's the changelog
18291         
18292         * components/rpmview/nautilus-rpm-view-install.c:
18293         (nautilus_rpm_view_download_progress_signal),
18294         (nautilus_rpm_view_install_progress_signal),
18295         (nautilus_rpm_view_dependency_check),
18296         (nautilus_rpm_view_install_done),
18297         (nautilus_rpm_view_install_package_callback):
18298         Made a last minute fix to the delete file signal change in the
18299         rpmview. The rpmview still cannot get the spinner to spin when
18300         installing/uninstalling, but I'm not going to use time on that
18301         now.
18303         * components/services/install/command-line/eazel-alt-install-corba.
18304         c: (install_failed):
18305         Fixed a typo and an error in the problem handler user
18306         
18307         * components/services/install/lib/eazel-install-logic.c:
18308         (eazel_install_check_existing_packages):
18309         Added release numbers to debug output.
18310         * components/services/install/lib/eazel-install-problem.c:
18311         (eazel_install_problem_case_to_string):
18312         Changed case_to_string message to a more imperative format
18313         
18314         * components/services/install/lib/eazel-install-protocols.c:
18315         (add_to_url):
18316         Use gnome_vfs_escape_string instead of our own.
18317         
18318         * components/services/install/lib/eazel-install-types.c:
18319         (packagedata_get_readable_name):
18320         Hack so it should also recognize EazelCandidate names
18321         
18322         * components/services/install/nautilus-view/nautilus-service-instal
18323         l-view.h:
18324         * components/services/install/nautilus-view/nautilus-service-instal
18325         l-view.c: (nautilus_install_parse_uri), (show_dialog_and_run_away),
18326         (nautilus_service_install_solve_cases),
18327         (nautilus_service_install_done), (dig_up_errors),
18328         (nautilus_service_install_failed):
18329         Fix for 4443
18331 2000-11-03  Andy Hertzfeld  <andy@eazel.com>
18333         * libnautilus-extensions/nautilus-icon-canvas-item.c:
18334         (draw_outline_rectangle_aa), (draw_stretch_handles_aa),
18335         (draw_or_measure_label_text_aa), (draw_label_text_aa):
18336         fixed bug 4192, strange feedback while stretching icons, by using
18337         libart to draw the rectangle instead of the buggy custom graphics
18338         routine that we were using.
18339         
18340         * src/file-manager/fm-icon-view.c:
18341         (icon_container_preview_callback):
18342         fixed bug 4460, remote sound files displayed preview icon but
18343         didn't actually preview, by adding a check to make it display
18344         the icon for local files only
18345         
18346         * src/nautilus-window-menus.c: (file_menu_new_window_callback):
18347         fixed bug 4033, new window command should initially point to the
18348         home directory by calling nautilus_window_go_home instead of going
18349         to the uri of the current window.
18350         
18351 2000-11-03  Robey Pointer  <robey@eazel.com>
18353         * components/services/install/lib/eazel-install-logic.c:
18354         (dump_one_package):
18355         * components/services/install/lib/eazel-install-object.c:
18356         (eazel_install_set_arg), (eazel_install_initialize),
18357         (eazel_install_fetch_remote_package_list), (eazel_install_log),
18358         (eazel_install_set_log), (eazel_install_open_log),
18359         (eazel_install_log_to_stderr):
18360         * components/services/install/lib/eazel-install-private.h:
18361         * components/services/install/lib/eazel-install-public.h:
18362         * components/services/install/lib/eazel-install-rpm-glue.c:
18363         (eazel_install_rpm_set_settings):
18364         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
18365         : (trilobite_add_log):
18367         Clean up debug mode (was missing some pieces) and set up the g_log
18368         handler to not work in corba mode (letting libtrilobite handle
18369         them in corba mode).  Make it start up as early as possible and
18370         let the service provide a file pointer for logging.
18372         * components/services/summary/nautilus-view/nautilus-summary-view.c
18373         : (generate_summary_form):
18375         Make the giant label a little bit more palatable to Arlo.
18376         
18377         * nautilus-installer/src/installer.c: (log_debug),
18378         (add_bullet_point_to_vbox), (strip_categories),
18379         (start_over_make_category_func), (start_over),
18380         (start_over_callback), (dont_start_over_callback),
18381         (start_over_timer), (jump_to_retry_page), (create_window),
18382         (eazel_install_progress), (eazel_download_progress),
18383         (add_force_packages), (add_force_remove), (add_update_package),
18384         (get_detailed_errors_foreach), (get_detailed_errors),
18385         (install_failed), (download_failed), (eazel_install_preflight),
18386         (eazel_install_dep_check), (install_done), (check_if_next_okay),
18387         (toggle_button_toggled), (eazel_installer_add_category),
18388         (check_system), (more_check_system), (eazel_installer_do_install),
18389         (draw_splash_text), (eazel_installer_finalize), (start_logging),
18390         (find_old_tmpdir), (eazel_installer_initialize):
18391         * nautilus-installer/src/installer.h:
18392         * nautilus-installer/src/link.sh:
18393         * nautilus-installer/src/main.c:
18394         * nautilus-installer/src/prescript:
18396         Use /tmp/eazel-install.log for logging (being very careful to make
18397         sure the file is not a booby trap) instead of spamming all over
18398         the terminal.  However, the --debug option will give you the
18399         terminal spam if you want it (in addition to the logfile).  Fix
18400         the annoying debug logs to use g_log so we can catch them.  Add a
18401         --batch option that causes the installer to skip all question
18402         screens.
18404 2000-11-03  Mathieu Lacage  <mathieu@eazel.com>
18406         * user-guide/C/Makefile.am: fix pb with buildir != srcdir
18408 2000-11-03  Darin Adler  <darin@eazel.com>
18410         * user-guide/C/Makefile.am: Add a missing file. Another cut at
18411         making "make distcheck" work.
18413 2000-11-03  Darin Adler  <darin@eazel.com>
18415         * src/Makefile.am: Fixed a srcdir/builddir problem that prevents
18416         "make distcheck" from working. This is not necessarily the only
18417         "make distcheck" problem.
18419 2000-11-02  Ramiro Estrugo  <ramiro@eazel.com>
18421         * configure.in:
18422         * helper-utilities/Makefile.am:
18423         * helper-utilities/error-dialog/.cvsignore:
18424         * helper-utilities/error-dialog/Makefile.am:
18425         * helper-utilities/error-dialog/nautilus-error-dialog.c: (main):
18426         * nautilus.spec.in:
18427         Add a error dialog helper utility that can be called from shell
18428         scripts to display errors to the user.
18430         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
18431         Pavel made me do this at gun point.  Make the links activate on
18432         mouse up not down.
18433         
18434 2000-11-02  Arlo Rose  <arlo@eazel.com>
18436         * src/nautilus-first-time-druid.c: (set_up_user_level_page),
18437         (set_up_service_signup_page), (nautilus_first_time_druid_show):
18438         Changed some wording so first time users won't be confused.
18440 2000-11-02  Mathieu Lacage  <mathieu@eazel.com>
18442         Fix bug 4434 and bug 4430
18443         * libnautilus-extensions/nautilus-password-dialog.c:
18444         (nautilus_password_dialog_new): remove switch to remember 
18445         root password.
18446         * user-guide/C/sgml/chapter-1.sgml: remove mention of PDF.
18448 2000-11-02  Ramiro Estrugo  <ramiro@eazel.com>
18450         * nautilus-installer/src/prescript:
18451         When we try to run the nautilus launcher, make sure we ignore the
18452         grep process while grepping for an already running launcher.
18453         
18454 2000-11-02  Andy Hertzfeld  <andy@eazel.com>
18456         fixed problem where I accidentally changed the icons for disk
18457         drives that appear on the desktop when I only meant to change
18458         the hardware view.  Fixed by restoring the old icon, and using
18459         one with a different name in the hardware view.
18460         
18461         * components/hardware/nautilus-hardware-view.c:
18462         (setup_overview_form):
18463         use "i-harddrive.png" instead of "i-blockdev.png"
18464         
18465         * icons/Makefile.am:
18466         * icons/i-blockdev.png:
18467         * icons/i-harddrive.png:
18468         restored the old block device icon and added a new hard drive one.
18469         
18470 2000-11-02  Ramiro Estrugo  <ramiro@eazel.com>
18472         * components/notes/nautilus-notes.c: (finish_loading_note),
18473         (notes_load_location), (make_notes_view):
18474         #if 0 out the undo code which is currently not working.  I filed a
18475         bug for this issue:  4436.
18476         
18477 2000-11-02  Josh Barrow  <josh@eazel.com>
18479         * nautilus-installer/src/prescript:
18480         GNOME is an acronym, not a word.  Changed as such.
18482 2000-11-02  Eskil Heyn Olsen  <eskil@eazel.com>
18484         * nautilus-installer/src/prescript:
18485         Fix for 4368, utterly untested though...
18486         
18487 2000-11-02  Darin Adler  <darin@eazel.com>
18489         Fix crashing part of bug 4157 (Tree View crash involving directory
18490         rename/move).
18491         
18492         * components/tree/nautilus-tree-view.c: (forget_view_node),
18493         (forget_view_node_and_children),
18494         (nautilus_tree_view_remove_model_node): Add code to get rid of all
18495         the child nodes when a node is removed, not just the main node
18496         itself.
18498 2000-11-02  Ramiro Estrugo  <ramiro@eazel.com>
18500         * nautilus-installer/src/prescript:
18501         Fix bug 4374.  Add Nautilus launcher to installer prescript.
18502         
18503 2000-11-02  Mike Fleming  <mfleming@eazel.com>
18505         * components/mozilla/mozilla-events.cpp:
18506         * components/mozilla/mozilla-events.h:
18507         * components/mozilla/nautilus-mozilla-content-view.c:
18508         (mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
18510         bugzilla.eazel.com 4156: Documents containing IFRAME's cause
18511         unexpected navigation.  This is a hack fix that checks to see if 
18512         a possible destination is the same as the URI of an IFRAME and, if
18513         they do, ditch the navigation
18515 2000-11-02  John Sullivan  <sullivan@eazel.com>
18517         Fixed bug 3613 (activating any file as root tries to
18518         execute it)
18520         * src/file-manager/fm-directory-view.c: (file_is_launchable):
18521         Need to check nautilus_file_is_executable as well as
18522         nautilus_file_can_execute.
18524 2000-11-02  Maciej Stachowiak  <mjs@eazel.com>
18526         * components/music/Makefile.am: Install a nautilus-mpg123 symlink
18527         that points to the real mpg123 if it exists on the system.
18528         * components/music/mpg123_handler.c (start_playing_file): Run nautilus-mpg123
18529         * nautilus-clean.sh: Kill nautilus-mpg123
18530         * nautilus-spec.in: Install the nautilus-mpg123 symlink
18531         
18532 2000-11-02  Maciej Stachowiak  <mjs@eazel.com>
18534         Believed fix to 4361 and possible progress on 4157.
18535         
18536         * components/tree/nautilus-tree-model.c:
18537         (nautilus_tree_model_node_has_monitor_clients,
18538         nautilus_tree_model_node_begin_monitoring,
18539         nautilus_tree_model_node_end_monitoring,
18540         nautilus_tree_model_monitor_node,
18541         nautilus_tree_model_stop_monitoring_node, report_node_changed):
18542         Various restructing.
18544         * components/tree/nautilus-tree-view.c: (insert_hack_node,
18545         remove_hack_node, freeze_if_have_hack_node,
18546         nautilus_tree_view_insert_model_node,
18547         nautilus_tree_view_remove_model_node,
18548         nautilus_tree_view_update_model_node, notify_node_seen,
18549         nautilus_tree_view_model_node_changed_callback,
18550         nautilus_tree_view_model_done_loading_callback,
18551         nautilus_tree_view_initialize, free_file_to_node_map_entry,
18552         free_file_to_hack_node_map_entry, nautilus_tree_view_destroy,
18553         file_to_view_node, model_node_to_view_node, view_node_to_file,
18554         expand_uri_sequence_and_select_end, reload_node_for_file,
18555         expand_node_for_file, tree_expand_callback,
18556         tree_collapse_callback, tree_select_row_callback,
18557         nautilus_tree_view_find_parent_node, nautilus_tree_view_item_at,
18558         nautilus_dump_info, nautilus_tree_view_collapse_all): Pass around
18559         and store NautilusFile objects rather than URIs, since nodes are
18560         tied to a NautilusFile (which can change URI if moved or renamed).
18562         * libnautilus-extensions/nautilus-directory-private.h,
18563         libnautilus-extensions/nautilus-directory.c
18564         (nautilus_directory_handle_directory_moved,
18565         nautilus_directory_notify_files_moved),
18566         libnautilus-extensions/nautilus-file.c (rename_callback): When a
18567         directory is moved or renamed, update the NautilusDirectory
18568         structure for it to have the correct new URI.
18570 2000-11-02  Darin Adler  <darin@eazel.com>
18572         * README: Change to reflect the fact that we currently require
18573         bonobo and xpdf from a branch, not HEAD.
18575 2000-11-02 John Fleck <jfleck@inkstain.net>
18576         * gnome-db2html2/sect-elements.c - render <variablelist> as a <UL>
18577         rather than <OL>
18579 2000-11-02 John Fleck <jfleck@inkstain.net>
18580         * updating gnome-db2html2/toc-elements.c to improve help
18581         documentation table of contents display
18583 2000-11-02  Rebecca Schulman  <rebecka@eazel.com>
18584         Clean up some of the "human" strings for search uris,
18585         mostly so the translation scheme doesn't fail and 
18586         leave a search uri sitting around
18588         * libnautilus-extensions/nautilus-search-uri.c:
18589         update structures to correspond to latest search uri
18590         spec
18591         * nautilus-clean.sh:
18592         removed mpg123 (it kept interrupting my cds) and 
18593         a duplicate summary view copy
18595 2000-11-01  Andy Hertzfeld  <andy@eazel.com>
18597         * icons/villanova/Makefile.am:
18598         * icons/villanova/villanova.xml:
18599         * icons/villanova_green.png:
18600         Susan changed the background image for the icon view of
18601         the villanova theme
18602         
18603         * icons/i-blockdev.png:
18604         better hard disk for hardware view
18605         * components/hardware/nautilus-hardware-view.c:
18606         (setup_overview_form):
18607         improved layout of IDE items
18608                 
18609 2000-11-01  Eskil Heyn Olsen  <eskil@eazel.com>
18611         * components/services/install/nautilus-view/nautilus-service-instal
18612         l-view.c: (nautilus_install_service_locate_menu_entries):
18613         Just to make sure, I don't think tinderbox got my change...
18615 2000-11-01  Eskil Heyn Olsen  <eskil@eazel.com>
18617         * components/services/install/command-line/eazel-alt-install-corba.
18618         c: (delete_files), (done), (main):
18619         Now has a --batch command to it doens't need userinteraction
18620         --batch=yes|no to set the default answer to continue ?
18621         questions. Using --batch defaults the answer to delete to yes. Now
18622         delete works again (after Great Delete Change)
18623         
18624         * components/services/install/lib/eazel-install-problem.c:
18625         (get_detailed_cases_foreach):
18626         Fixed potiental sigsegvs.
18627         
18628         * components/services/install/nautilus-view/nautilus-service-instal
18629         l-view.c: (nautilus_install_service_locate_menu_entries):
18630         Fixed a compiler warning that broke build.
18632 2000-11-01  Eskil Heyn Olsen  <eskil@eazel.com>
18634         * components/services/install/command-line/eazel-alt-install-corba.
18635         c: (main):
18636         Fixed 4331.
18637         * components/services/install/lib/eazel-install-logic.c:
18638         (eazel_install_download_packages),
18639         Checked if a toplevel package is a source package
18640         (eazel_install_prune_packages_helper),
18641         (eazel_install_check_if_depends_on),
18642         (eazel_install_do_transaction_fill_hash),
18643         (eazel_install_prune_packages), 
18644         (eazel_install_ensure_deps),
18645         Commented out/changed some debug output
18646         (eazel_install_fetch_dependencies),
18647         Changed the debug output in case of circular dependency, also
18648         added a check for source packages.
18649         (eazel_install_start_transaction):
18650         Commented out the debug output of the rpm args
18651         
18652         * components/services/install/lib/eazel-install-problem.c:
18653         (get_detailed_messages_foreach),
18654         Detect source package.
18655         (eazel_install_problem_tree_to_case):
18656         Removed debug output.
18657         
18658         * components/services/install/nautilus-view/nautilus-service-instal
18659         l-view.c: (nautilus_service_install_view_initialize),
18660         (nautilus_service_install_installing),
18661         (nautilus_service_install_done),
18662         Improved the updating of nautilus from natilus, by actually
18663         offering to restart nautilus (and doing it if the user wants to)
18664         (nautilus_install_service_locate_menu_entries):
18665         If I can't figure out where the desktop files are, don't print
18666         "blabla is somewhere..."
18667         
18668         * nautilus.spec.in:
18669         Added usermode >= 1.35 for nautilus-trilobite
18670         
18671         * po/da.po:
18672         * po/no.po:
18673         Removed the fatal Control*t translation.
18674         
18675         * src/file-manager/fm-directory-view.c:
18676         (reset_bonobo_trash_delete_menu):
18677         Added a comment for the translation teams to not translate
18678         Control*t at this point.
18679         
18680         * src/nautilus-shell.c: (save_window_states):
18681         When saving windowstates, replace any window->location that starts
18682         with eazel-install: with eazel:, thereby preventing loops when
18683         eazel-install: views restart nautilus.
18685 2000-11-01  Andy Hertzfeld  <andy@eazel.com>
18687         * src/nautilus-first-time-druid.c: (initiate_file_download):
18688         fixed bug 1826 by pointing the update download uri to it's
18689         real location at services.eazel.com.
18690         
18691         * src/nautilus-window-manage-views.c: (just_one_window),
18692         (nautilus_window_end_location_change_callback):
18693         fixed bug 4351, nautilus quits after running the first time
18694         druid if services are inaccessible.  Fixed by making it
18695         not quit if there's a single window that fails, going to
18696         the home directory (if it's valid) instead.
18698         * icons/loading.png:
18699         a better version of the non-anti-aliased loading icon from Susan.
18700                 
18701 2000-11-01  Robey Pointer  <robey@eazel.com>
18703         * components/services/summary/nautilus-view/nautilus-summary-view.c
18704         : (set_dialog_parent):
18706         Fix corner case where dialog won't be parented if services are
18707         down.
18709 2000-11-01  Darin Adler  <darin@eazel.com>
18711         * src/nautilus-window-service-ui.c: (goto_services_support):
18712         Remove FIXME for already-fixed bug.
18713         * src/run-nautilus: Add Debian-specific hack requested in
18714         bug report (bug 4353).
18716 2000-11-01  Maciej Stachowiak  <mjs@eazel.com>
18718         * libnautilus-extensions/nautilus-mime-actions.h,
18719         libnautilus-extensions/nautilus-mime-actions.c:
18720         (nautilus_mime_actions_file_needs_full_file_attributes,
18721         server_has_content_requirements,
18722         server_matches_content_requirements): New functions.
18724         (nautilus_mime_get_all_components_for_file) Updated.
18726         * src/nautilus-applicable-views.h,
18727         src/nautilus-applicable-views.c: (got_file_info_callback_common,
18728         (got_full_file_info_callback, got_minimum_file_info_callback,
18729         nautilus_navigation_info_new, nautilus_navigation_info_cancel):
18730         Changed to possibly handle calling the callback twice so we can
18731         avoid having to load twice before showing a component at all.
18733         * src/nautilus-window-manage-views.c
18734         (nautilus_window_end_location_change_callback): If being called a
18735         preliminary time, ignore it for now.
18737 2000-11-01  Robey Pointer  <robey@eazel.com>
18739         * components/services/install/lib/eazel-install-metadata.c:
18740         * components/services/install/nautilus-view/nautilus-service-instal
18741         l-view.c: (nautilus_service_install_view_update_from_uri):
18742         * components/services/login/nautilus-view/nautilus-change-password-
18743         view.c: (start_change_password):
18744         * components/services/trilobite/libtrilobite/libtrilobite.h:
18745         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
18746         * nautilus-installer/src/installer.c:
18747         
18748         Fix builtin uri's to point to a sane place by default.  Make the
18749         install view use your trilobite gconf config and not a made-up
18750         site (oops).  Remove leftover "eazel-auth:" uri.  Use good PR2
18751         defaults for the bootstrap installer.  Fix missing ellipses that
18752         were bothering Eli.
18754 2000-11-01  Darin Adler  <darin@eazel.com>
18756         Fixed bug 4335 (music view does not work with Services:Vault)
18758         * components/music/nautilus-music-view.oafinfo:
18759         Added the requirement that the URL must be file scheme, since
18760         the music view doesn't know how to deal with MP3s that are not
18761         on the local hard disk.
18763 2000-11-01  John Sullivan  <sullivan@eazel.com>
18765         Fixed bug 4343 (crash clicking "Back" deep in software catalog)
18767         This was an inaccurate assert. Other similar asserts had been
18768         fixed earlier, but this one and a parallel one in Forward got
18769         overlooked.
18771         * src/nautilus-window-manage-views.c:
18772         (check_bookmark_location_matches_uri): New helper function, uses
18773         uris_match.
18774         (check_last_bookmark_location_matches_window): Now calls the
18775         new function (which was extracted from this)
18776         (handle_go_back),
18777         (handle_go_forward): Use the new function to check that the bookmark
18778         has the right uri, instead of direct string compares.
18780 2000-11-01  Mathieu Lacage  <mathieu@eazel.com>
18782         * nautilus.spec.in: adding fdl.
18783         * user-guide/C/Makefile.am: adding installation of fdl
18784         * user-guide/C/fdl.sgml: adding fdl
18786 2000-11-01  Gene Z. Ragan  <gzr@eazel.com>
18788         Fixed bug 4337, Title for nautilus user manual is "GNOME Documemtation"
18789         
18790         * user-guide/C/sgml/nautilus.sgml:
18791         Added "Nautilus User Manual" as <title> tag.
18792         
18793 2000-11-01  Darin Adler  <darin@eazel.com>
18795         Fix bug 4305 (Nautilus can't find myplay.com (default bookmark)
18796         URL). As Mike Fleming and Pavel suggested, changed NautilusFile to
18797         keep relative URIs around instead of file names. This may also fix
18798         two other Mozilla-component-related bugs, bug 3438 and 4220. I'll
18799         check that later.
18801         Also fix bugs 4128, 4311, and 4344, which are all about a hash
18802         table NULL critical assertion.
18804         * libnautilus-extensions/nautilus-directory-async.c:
18805         (dequeue_pending_idle_callback): Handle info in the order it gets
18806         queued. That requires a call to g_list_reverse since we add things
18807         with g_list_prepend. Check for NULL to handle case where the info
18808         is not part of a directory load. Use the new
18809         nautilus_directory_find_file_by_name to keep it clearly separate
18810         from code that would find files given relative URIs.
18811         
18812         * libnautilus-extensions/nautilus-directory-private.h: RIP
18813         nautilus_compare_file_with_name. We haven't used it since we've
18814         been using a hash table.
18815         
18816         * libnautilus-extensions/nautilus-directory.c:
18817         (add_to_hash_table): Put the relative URI in the hash table, not
18818         the name.
18819         (extract_from_hash_table): Look up in the hash table by relative
18820         URI, not name.
18821         (nautilus_directory_add_file), (nautilus_directory_remove_file):
18822         Assertions are based on the relative URI, not the name.
18823         (nautilus_directory_find_file_by_name): Turn the name into a
18824         relative URI and search for that.
18825         (nautilus_directory_find_file_by_relative_uri): Look up in the
18826         hash table by relative URI, not name.
18827         
18828         * libnautilus-extensions/nautilus-file-private.h: Replace the name
18829         field with a relative_uri field. There aren't always names for
18830         files.
18831         
18832         * libnautilus-extensions/nautilus-file.c:
18833         (nautilus_file_new_from_relative_uri): Mechanical changes to make
18834         it create a file given a directory and relative_uri. Uses the new
18835         update_info_and_name instead of the old nautilus_update_file_info
18836         (which no longer updates names).
18837         (nautilus_file_new_from_info). Use the new update_info_and_name
18838         instead of the old nautilus_update_file_info (which no longer
18839         updates names).
18840         (nautilus_file_get_internal): Call nautilus_uri_make_canonical on
18841         the URI before using it. This is needed now to make the escaping
18842         of characters in the relative URI uniform. Also made mechanical
18843         changes to deal with relative URIs instead of file names.
18844         (destroy): Always free the relative URI. We no longer share the
18845         name inside the file info, so the logic is now simpler.
18846         (nautilus_file_get_gnome_vfs_uri): Append the relative URI instead
18847         of appending a file name to make the full URI.
18848         (rename_callback): Use the new update_info_and_name instead of the
18849         old nautilus_update_file_info (which no longer updates
18850         names). Also call nautilus_find_file_by_name under its new name.
18851         (name_is): New helper function for checking the file name quickly
18852         without requiring a local variable.
18853         (nautilus_file_rename): Use name_is instead of strcmp since the
18854         name is no longer so readily available.
18855         (update_info_internal): Moved the guts of nautilus_file_update_info
18856         in here and made the name-updating part optional. Logic is a bit
18857         simpler since we don't share the name in the file info any more.
18858         (update_info_and_name), (nautilus_file_update_info): Covers that
18859         call the internal call with the "update_name" flag set.
18860         (nautilus_file_update_name): Use name_is and update_info_and_name.
18861         Also fix the info == NULL case to handle relative URIs, not names.
18862         (nautilus_file_compare_for_sort): Add a FIXME about using the name
18863         in the info when sorting. Also change the info == NULL case to get
18864         the names with nautilus_file_get_name.
18865         (nautilus_file_compare_name): Use nautilus_file_get_name to get
18866         the names to compare.
18867         (nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
18868         (nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
18869         (nautilus_file_get_boolean_metadata),
18870         (nautilus_file_get_integer_metadata),
18871         (nautilus_file_set_boolean_metadata),
18872         (nautilus_file_set_integer_metadata): Store metadata using the
18873         relative URI as the key instead of the name. This amounts to a
18874         minor metadata file format change.
18875         (nautilus_file_get_name): Create the name by unescaping the
18876         relative URI. If this fails, just return the relative URI
18877         itself. In some cases the URI instead of the name would represent
18878         a terrible error (but the unescaping will not fail in those
18879         cases), but in other cases we just need some kind of name.
18880         (nautilus_file_get_uri): Some broken code in here was just
18881         appending the name to the parent URI. Now it appends the relative
18882         URI so it's no longer broken.
18883         (get_description): Use the relative URI instead of the name in the
18884         warning message.
18885         (nautilus_file_mark_gone): Since we always keep the relative URI
18886         around now, can get rid of the logic that copies the name out of
18887         the file info for this case.
18888         (nautilus_file_dump): Since we already dump the URI, don't bother
18889         dumping the name any more.
18891 2000-11-01  Ramiro Estrugo  <ramiro@eazel.com>
18893         * libnautilus-extensions/nautilus-image.c: (render_buffer_pixbuf):
18894         Change '=+' to the more common '+=' when adding integers.
18895         
18896 2000-11-01  John Fleck  <jfleck@inkstain.net>
18898         * change to sect-elements.c in gnome-db2html2 to change display of
18899         <note> elements
18901 2000-11-01  Ramiro Estrugo  <ramiro@eazel.com>
18903         * libnautilus-extensions/nautilus-global-preferences.c:
18904         (global_preferences_register):
18905         Make smooth graphics mode be false by default as agreed for pr2.
18906         
18907 2000-11-01  Ramiro Estrugo  <ramiro@eazel.com>
18909         * applets/launcher/nautilus-launcher-applet.c: (image_enter_event),
18910         (window_set_cursor_for_state), (set_is_launching),
18911         (get_is_launching), (image_button_press_event),
18912         (image_button_release_event), (event_filter),
18913         (root_listen_for_property_changes), (main):
18914         Keep track of NautilusWindow realization events.  Do this by
18915         monitoring a property on the root window.  Use this flag in order
18916         to give the user feedback about the launching state of new
18917         Nautilus windows.  Fixes bug 4300.
18918         
18919         * src/nautilus-window.c: (nautilus_window_update_launcher),
18920         (nautilus_window_realize):
18921         Notify the launcher when a NautilusWindow get realized.
18922         
18923         * src/run-nautilus:
18924         If no arguments are given, then open a window pointed to the
18925         user's home directory.
18926         
18927 2000-11-01  Pavel Cisler  <pavel@eazel.com>
18929         * libnautilus-extensions/nautilus-file-utilities.c:
18930         (nautilus_make_uri_canonical),
18931         (nautilus_self_check_file_utilities):
18932         Hook up new GnomeVFS "make canonical" calls to fix test cases
18933         Darin needed to work for the bug he is fixing.
18934         Switched the test cases to their intended values, now that they pass.
18935         Get rid of some crufty workarounds that weren't really needed
18936         after my previous fix to not add extra '//' to some URIs and
18937         removed the respective tests.
18939 2000-11-01  Mathieu Lacage  <mathieu@eazel.com>
18941         This is completely useless but I needed a break from "usefull"
18942         bugs.
18943         * applets/launcher/nautilus-launcher-applet.c: (image_leave_event),
18944         (image_button_press_event), (image_button_release_event), (main):
18945         Add an event handler for release event to make sure we launch 
18946         nautilus only if you release the cursor without leaving the icon.
18947         Add an offset when you click to give the user feedback about what 
18948         he is doing.
18949         * libnautilus-extensions/nautilus-image.c: (render_buffer_pixbuf):
18950         Fix offset problem when drawing image: the offset was not taken
18951         into account in the calculation of the x and y coordinates.
18953 2000-10-31  Robey Pointer  <robey@eazel.com>
18955         * nautilus-installer/src/Makefile:
18956         * nautilus-installer/src/main.c: (main):
18957         * nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
18958         (load_galeon_proxy_settings):
18959         * src/nautilus-first-time-druid.c: (load_nscp_proxy_settings),
18960         (load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
18962         Fix installer version to follow the Makefile define.  Fix evil bug
18963         in detecting proxy servers that was freeing g_get_home_dir
18964         results.  Fixed it again in the first-time druid, and added Galeon
18965         support there.
18967 2000-10-31  Robey Pointer  <robey@eazel.com>
18969         * nautilus-installer/src/Makefile:
18970         * src/nautilus-window-service-ui.c: (goto_services_support):
18972         Fix bootstrap installer for new Makefile config and fix typo in
18973         dropdown menus.
18975 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
18977         * applets/launcher/Makefile.am:
18978         Add missing includes.
18979         
18980 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
18982         * Makefile.am:
18983         Add applets to SUBDIRS if needed.
18984         
18985         * applets/Makefile.am:
18986         Tiny bit of cleanup.
18988         * configure.in:
18989         Define HAVE_APPLETS only if the applets devel libs are found by
18990         gnome-config.
18991         
18992 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
18994         * components/mozilla/nautilus-mozilla-content-view.c:
18995         (nautilus_mozilla_content_view_load_uri),
18996         (mozilla_content_view_one_time_happenings):
18997         Remove a rogue printf.  Also fix a broken debug printf.
18998         
18999 2000-10-31  Andy Hertzfeld  <andy@eazel.com>
19001         * icons/Makefile.am:
19002         * icons/loading.png:
19003         * icons/loading-aa.png:
19004         * libnautilus-extensions/nautilus-icon-factory.c:
19005         (nautilus_icon_factory_get_icon_for_file):
19006         added a new "loading thumbnail" icon from Susan
19007         
19008         * src/nautilus-property-browser.c:
19009         (nautilus_property_browser_delete_event_callback),
19010         (cancel_remove_mode), (add_new_button_callback),
19011         (done_button_callback):
19012         made the property browser reset remove mode when it's dismissed
19013         
19014 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19016         * nautilus.spec.in: add gnorba file in specfile.
19018 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19020         * applets/launcher/Makefile.am: add .gnorba file.
19021         * applets/launcher/nautilus-launcher-applet.c: (main): fix typo.
19022         * applets/launcher/nautilus-launcher-applet.gnorba: new gnorba file.
19024 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19026         * applets/launcher/.cvsignore:
19027         Use the right binary name.
19028         
19029 2000-10-31  Robey Pointer  <robey@eazel.com>
19031         * components/services/install/nautilus-view/nautilus-service-instal
19032         l-view.c: (nautilus_install_parse_uri),
19033         (nautilus_service_install_view_update_from_uri):
19035         Support [ username "@" ] in the eazel-install: URI so that a
19036         username can be specified (like anonymous) to libeazelinstall.
19038         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
19039         : (trilobite_init):
19041         Don't free the result of g_get_home_dir(), because it unleashes
19042         1000 demons.
19043         
19044         * nautilus-installer/src/installer.c: (create_what_to_do_page),
19045         (eazel_installer_add_category):
19047         Change the "what to install" header for the single-category case.
19049 2000-10-31  Darin Adler  <darin@eazel.com>
19051         * libnautilus-extensions/nautilus-file-utilities.c:
19052         (nautilus_self_check_file_utilities): Add the new self-checks that
19053         will help Pavel see the minimum I need in a URI canonifying
19054         function.
19056 2000-10-31  Maciej Stachowiak  <mjs@eazel.com>
19058         * libnautilus-extensions/nautilus-mime-actions.c:
19059         (nautilus_mime_actions_check_if_minimum_attributes_ready),
19060         (nautilus_mime_actions_check_if_full_attributes_ready),
19061         (nautilus_mime_actions_get_minimum_file_attributes),
19062         (nautilus_mime_actions_get_full_file_attributes),
19063         (nautilus_mime_actions_wait_for_full_file_attributes),
19064         (nautilus_mime_get_default_action_type_for_file),
19065         (nautilus_mime_get_default_action_for_file),
19066         (nautilus_mime_get_default_application_for_file_internal),
19067         (nautilus_mime_get_default_application_for_file),
19068         (nautilus_mime_is_default_application_for_file_user_chosen),
19069         (nautilus_mime_get_default_component_sort_conditions),
19070         (nautilus_mime_get_default_component_for_file_internal),
19071         (nautilus_mime_get_short_list_applications_for_file),
19072         (nautilus_mime_get_short_list_components_for_file),
19073         (nautilus_mime_get_short_list_methods_for_file),
19074         (nautilus_mime_get_all_applications_for_file),
19075         (nautilus_mime_get_all_components_for_file),
19076         (nautilus_mime_set_default_application_for_file),
19077         (nautilus_mime_set_default_component_for_file),
19078         (nautilus_mime_set_short_list_applications_for_file),
19079         (nautilus_mime_set_short_list_components_for_file),
19080         (nautilus_mime_add_application_to_short_list_for_file),
19081         (nautilus_mime_remove_application_from_short_list_for_file),
19082         (nautilus_mime_add_component_to_short_list_for_file),
19083         (nautilus_mime_remove_component_from_short_list_for_file),
19084         (nautilus_mime_extend_all_applications_for_file),
19085         (nautilus_mime_remove_from_all_applications_for_file),
19086         (nautilus_do_component_query):
19087         * libnautilus-extensions/nautilus-mime-actions.h:
19088         * libnautilus-extensions/nautilus-program-chooser.c:
19089         (repopulate_program_list), (is_component_default_for_file),
19090         (program_file_pair_is_default_for_file),
19091         (program_file_pair_is_in_short_list_for_file),
19092         (add_to_short_list_for_file), (remove_from_short_list_for_file),
19093         (remove_default_for_item), (set_default_for_item):
19094         * libnautilus-extensions/nautilus-program-choosing.c:
19095         (any_programs_available_for_file):
19096         * libnautilus/nautilus-clipboard-ui.xml.h:
19097         * src/file-manager/fm-directory-view.c: (switch_location_and_view),
19098         (create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
19099         (activate_callback):
19100         * src/file-manager/nautilus-directory-view-ui.xml.h:
19101         * src/file-manager/nautilus-icon-view-ui.xml.h:
19102         * src/file-manager/nautilus-search-list-view-ui.xml.h:
19103         * src/nautilus-applicable-views.c: (nautilus_navigation_info_new):
19104         * src/nautilus-shell-ui.xml.h:
19105         * src/nautilus-sidebar.c: (nautilus_sidebar_update_all),
19106         (nautilus_sidebar_set_uri):
19107         * src/nautilus-window.c: (nautilus_window_load_content_view_menu):
19108         * test/test-nautilus-mime-actions-set.c: (main):
19109         * test/test-nautilus-mime-actions.c: (main): Un-revert my changes
19110         from before, fixing the bugs in the process.
19112 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19114         * applets/launcher/Makefile.am:
19115         * applets/launcher/nautilus-icon-applet.c:
19116         * applets/launcher/nautilus-launcher-applet.c: (create_pixbufs),
19117         (applet_change_pixel_size), (image_enter_event),
19118         (image_leave_event), (get_root_window), (root_window_set_busy),
19119         (root_window_set_not_busy), (image_button_press_event), (main):
19120         * nautilus.spec.in:
19121         Rename the launcher applet from 'nautilus-icon-applet' to
19122         'nautilus-launcher-applet'.
19123         
19124 2000-10-31  Eskil Heyn Olsen  <eskil@eazel.com>
19126         * components/services/install/lib/eazel-install-protocols.c:
19127         (get_eazel_auth_path):
19128         Doh, copied the wrong variable.
19130 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19132         * applets/launcher/Makefile.am:
19133         * applets/launcher/nautilus-icon-applet.c: (get_root_window),
19134         (root_window_set_busy), (root_window_set_not_busy),
19135         (image_button_press_event), (main):
19136         Add code to execute nautilus.  Add first try at adding busy
19137         feedback while launching.
19139 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19141         fix bug 4015.
19142         * libnautilus-extensions/nautilus-global-preferences.c:
19143         add correct default here.
19144         * src/nautilus-window.c: (nautilus_window_go_web_search):
19145         remove bad default here. ramiro has a bug to do the correct
19146         fix post-pr2.
19148 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19150         * src/run-nautilus:
19151         Remove a bunch of debug echo statements i left in by mistake.
19152         
19153 2000-10-31  Eskil Heyn Olsen  <eskil@eazel.com>
19155         * components/services/install/lib/eazel-install-public.h:
19156         * components/services/install/lib/eazel-install-types.h:
19157         * components/services/install/lib/eazel-install-protocols.c:
19158         (eazel_install_fetch_package), (get_eazel_auth_path),
19159         (get_search_url_for_package):
19160         * components/services/install/lib/eazel-install-metadata.c:
19161         (init_default_transfer_configuration), (transferoptions_destroy):
19162         * components/services/install/lib/eazel-install-object.c:
19163         (eazel_install_initialize):
19164         * components/services/install/command-line/eazel-alt-install-corba.
19165         c: (set_parameters_from_command_line):
19166         * components/services/install/idl/trilobite-eazel-install.idl:
19167         * components/services/install/lib/eazel-install-corba.c:
19168         (impl_Eazel_Install__set_username),
19169         (impl_Eazel_Install__get_username), (eazel_install_get_epv):
19170         Stuff to get/set a username for eazel-service:/ uris. Needed for
19171         4004 (The Bug Noone Knew What To Do With And Everyone Ignore)
19172         
19173         * components/services/install/lib/eazel-install-logic.c:
19174         (eazel_install_download_packages),
19175         If a package fails, don't silently remove it, but set CANNOT_OPEN
19176         and prune it.
19177         (eazel_install_do_transaction_save_report),
19178         If no transaction dir is set, dont' try and store the report
19179         (eazel_install_check_existing_packages):
19180         Doh! All packages apparently ended at DOWNGRADES, yech.
19181         
19182         * components/services/install/lib/eazel-install-problem.c:
19183         (get_detailed_messages_foreach):
19184         Sane message if file could not be found on server
19185         
19186 2000-10-31  Maciej Stachowiak  <mjs@eazel.com>
19188         * src/nautilus-window-manage-views.c
19189         (nautilus_window_set_sidebar_panels): Call `update_view' on new
19190         sidebar panels that get activated, so they find out about the
19191         location and selection.
19193 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19195         * applets/Makefile.am:
19196         * applets/launcher/Makefile.am:
19197         * applets/launcher/nautilus-icon-applet.c: (create_pixbufs),
19198         (image_enter_event), (image_leave_event), (main):
19199         Make the applet use the nautilus launcher icon and prelight.
19200         
19201 2000-10-31  Pavel Cisler  <pavel@eazel.com>
19203         * libnautilus-extensions/nautilus-file-operations.c:
19204         (handle_xfer_vfs_error):
19205         Fix 4227 - Trying to copy an unreadable file gives a bogus
19206         error message.
19207         Added code that distinguishes between the read and write phases
19208         of a copy.
19210 2000-10-31  John Sullivan  <sullivan@eazel.com>
19212 Fixed bug 4334 (changing layout separataes icon from name)
19213 Fixed bug 4332 (Right-click after New Folder separates icon from name)
19215         * libnautilus-extensions/nautilus-icon-container.c:
19216         (icon_set_position): end renaming mode before changing position
19217         of icon being renamed.
19218         (button_press_event): end renaming mode on any background
19219         context click.
19221 2000-10-31  Robey Pointer  <robey@eazel.com>
19223         * components/services/install/lib/eazel-install-protocols.c:
19224         (eazel_install_fetch_package):
19225         * nautilus-installer/src/installer.c: (eazel_install_dep_check),
19226         (install_done):
19227         * nautilus-installer/src/installer.h:
19229         Don't blame RPM if the real error is that services is down.
19231 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19233         * nautilus.spec.in: add applet to the spec file.
19234         * user-guide/C/sgml/chapter-1.sgml:
19235         * user-guide/C/sgml/chapter-2.sgml:
19236         * user-guide/C/sgml/chapter-3.sgml:
19237         * user-guide/C/sgml/nautilus.sgml:
19238         update the sgml files.
19240 2000-10-31  Robin * Slomkowski  <rslomkow@eazel.com>
19242         * src/nautilus-window.c: set the url to fix 4015
19243         but it does not Nautilus attempts to connect to the
19244         wrong URL. http://www.eazel.com/websearch instead of
19245         http://services.eazel.com/websearch
19247 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19249         add new directories.
19250         * applets/.cvsignore:
19251         * applets/launcher/.cvsignore:  
19252         * applets/Makefile.am:
19253         * applets/launcher/Makefile.am:
19255         stupid applet which is used during installation
19256         to display a nautilus icon on the user's panel.
19257         * applets/launcher/nautilus-icon-applet.c:
19258         (applet_change_pixel_size), (main):
19260         add checks for the libapplet library.
19261         * configure.in:
19263 2000-10-31  Ramiro Estrugo  <ramiro@eazel.com>
19265         * configure.in:
19266         Fix bug 3729.  Bump the version number to 0.5.0.
19267         
19268 2000-10-31  Ali Abdin  <aliabdin@aucegypt.edu>
19270         * components/help/converters/gnome-db2html2/gdb3html.c:
19271         (parse_file): Try to correct a problem jfleck was having.
19273         * libnautilus-extensions/nautilus-file-utilities.c:
19274         (nautilus_uri_is_local_scheme): Add 'gnome-help' to the list
19276 2000-10-31  Darin Adler  <darin@eazel.com>
19278         * nautilus.spec.in: Removed vendor again. Putting these in cvs
19279         is a bad idea. For more details see bug 3461.
19281 2000-10-31  Darin Adler  <darin@eazel.com>
19283         * nautilus.spec.in: Add vendor.
19285 2000-10-31  Darin Adler  <darin@eazel.com>
19287         Fixed bug 4242 (Tree view crash trying to navigate to parent uri
19288         (Up)) and bug 4297 (Opening a window twice causes Nautilus to
19289         crash).
19290         
19291         * components/tree/nautilus-tree-model.c:
19292         (nautilus_tree_model_destroy): Disconnect the root_node_changed
19293         signal.
19295 2000-10-31  J Shane Culpepper  <pepper@eazel.com>
19297         * components/services/login/nautilus-view/nautilus-change-password-
19298         view.c: (generate_change_password_form):
19300         Fixing buttons in the change password view to not use nautilus_label
19301         and pointing to the right help place.
19303 2000-10-31  Brian Frank  <bfrank@eazel.com>
19305         * data/static_bookmarks.xml
19306         Fixed capitalization problem of VMware name in bookmark list
19307         
19308 2000-10-31  Mathieu Lacage  <mathieu@eazel.com>
19310         * configure.in: fix some configure magic for libfreetype2.
19312 2000-10-31  Andy Hertzfeld  <andy@eazel.com>
19314         * src/nautilus-first-time-druid.c: (druid_finished):
19315         changed the services uris that are hard-coded into the wizard to
19316         ones specified by Laura; they are not in place yet but she
19317         assures me that they will be soon.
19318         
19319 2000-10-31  Darin Adler  <darin@eazel.com>
19321         Fixed bug 4144 (Extra Services menu items installed by Summary
19322         view never go away). The problem was actually with the factory
19323         code from the sample. I had fixed it a while back, but not before
19324         people cloned the broken sample code.
19325         
19326         * components/adapter/nautilus-adapter-factory-server.c:
19327         (impl_Nautilus_ComponentAdapterFactory_create_adapter):
19328         * components/hardware/main.c: (hardware_view_make_object):
19329         * components/music/main.c: (music_view_make_object):
19330         * components/rpmview/main.c: (rpm_view_make_object):
19331         * components/services/install/nautilus-view/main.c:
19332         (service_install_make_object):
19333         * components/services/inventory/nautilus-view/main.c:
19334         (inventory_make_object):
19335         * components/services/login/nautilus-view/main.c:
19336         (change_password_make_object):
19337         * components/services/summary/nautilus-view/main.c:
19338         (summary_make_object):
19339         * components/tree/libmain.c: (tree_shlib_make_object):
19340         * components/tree/main.c: (tree_exe_make_object):
19341         Connect the destroy handler to the NautilusView object rather than
19342         to the widget. If you connect to the widget, the handler gets
19343         called too early and the control doesn't get properly destroyed,
19344         leaving the UI component behind, and causing the bug.
19346         * components/adapter/main.c: (adapter_factory_make_object): Got
19347         rid of incorrect comment.
19348         
19349 2000-10-31  J Shane Culpepper  <pepper@eazel.com>
19350         
19351         Fixing one more.
19353 2000-10-31  J Shane Culpepper  <pepper@eazel.com>
19355         * libnautilus-extensions/nautilus-mime-actions.h:
19356         * src/nautilus-applicable-views.c:
19357         (nautilus_navigation_info_get_location),
19358         (nautilus_navigation_info_get_initial_content_id):
19360         missed a file
19362 2000-10-31  J Shane Culpepper  <pepper@eazel.com>
19364         * libnautilus-extensions/nautilus-mime-actions.c:
19365         (nautilus_mime_actions_check_if_required_attributes_ready),
19366         (nautilus_mime_actions_get_required_file_attributes),
19367         (nautilus_mime_actions_wait_for_required_file_attributes),
19368         (nautilus_mime_get_default_action_type_for_file),
19369         (nautilus_mime_get_default_action_for_file),
19370         (nautilus_mime_get_default_application_for_file_internal),
19371         (nautilus_mime_get_default_application_for_file),
19372         (nautilus_mime_is_default_application_for_file_user_chosen),
19373         (nautilus_mime_get_default_component_for_file_internal),
19374         (nautilus_mime_get_short_list_applications_for_file),
19375         (nautilus_mime_get_short_list_components_for_file),
19376         (nautilus_mime_get_short_list_methods_for_file),
19377         (nautilus_mime_get_all_applications_for_file),
19378         (nautilus_mime_get_all_components_for_file),
19379         (nautilus_mime_set_default_application_for_file),
19380         (nautilus_mime_set_default_component_for_file),
19381         (nautilus_mime_set_short_list_applications_for_file),
19382         (nautilus_mime_set_short_list_components_for_file),
19383         (nautilus_mime_add_application_to_short_list_for_file),
19384         (nautilus_mime_remove_application_from_short_list_for_file),
19385         (nautilus_mime_add_component_to_short_list_for_file),
19386         (nautilus_mime_remove_component_from_short_list_for_file),
19387         (nautilus_mime_extend_all_applications_for_file),
19388         (nautilus_mime_remove_from_all_applications_for_file),
19389         (nautilus_do_component_query):
19390         * libnautilus-extensions/nautilus-program-chooser.c:
19391         (repopulate_program_list), (is_component_default_for_file),
19392         (program_file_pair_is_default_for_file),
19393         (program_file_pair_is_in_short_list_for_file),
19394         (add_to_short_list_for_file), (remove_from_short_list_for_file),
19395         (remove_default_for_item), (set_default_for_item):
19396         * libnautilus-extensions/nautilus-program-choosing.c:
19397         (any_programs_available_for_file):
19398         * src/file-manager/fm-directory-view.c: (switch_location_and_view),
19399         (create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
19400         (activate_callback):
19401         * src/nautilus-window.c: (nautilus_window_load_content_view_menu):
19402         * test/test-nautilus-mime-actions-set.c: (main):
19403         * test/test-nautilus-mime-actions.c: (main):
19405         backing out changes that caused a serious regression in services.
19407 2000-10-31  Eskil Heyn Olsen  <eskil@eazel.com>
19409         * components/rpmview/nautilus-rpm-view-install.c:
19410         (nautilus_rpm_view_install_package_callback):
19411         Hopefully fixed the completely fatal tmp_dir bug in the 
19412         package view.
19414         * components/services/install/lib/eazel-install-logic.c:
19415         (eazel_install_pre_install_packages):
19416         Ifdeffed some borked code
19418         * components/services/install/lib/eazel-install-problem.c:
19419         (get_detailed_messages_foreach):
19420         If no messages generated on modification status. Potientially
19421         completely incorrect unless I check prev_pack->status first.
19423         * components/services/install/nautilus-view/nautilus-service-instal
19424         l-view.c: (dig_up_errors), (nautilus_service_install_failed):
19425         Use eazel-install-problem to generate error messages
19427         * nautilus.spec.in:
19428         Woops, eazel/throbber is not there..
19430 2000-10-30  Eskil Heyn Olsen  <eskil@eazel.com>
19432         * nautilus.spec.in:
19433         Added some of the themes stuff to %files.
19435 2000-10-30  Andy Hertzfeld  <andy@eazel.com>
19437         made thumbnailing work remotely for all images, by treating
19438         small remote files like large ones and keeping a local thumbnail
19439         for them.
19440         
19441         * libnautilus-extensions/nautilus-icon-factory-private.h:
19442         moved SELF_THUMBNAIL_SIZE_THRESHOLD constant into private,
19443         so it could be shared with nautilus-thumbnails.
19444         * libnautilus-extensions/nautilus-icon-factory.c:
19445         (nautilus_icon_factory_get_icon_for_file):
19446         if a file is remote, make a thumbnail even if it's smaller
19447         than the size threshold.
19448         * libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails):
19449         don't use a frame for files smaller than the size threshold.
19450         
19451 2000-10-30  Robey Pointer  <robey@eazel.com>
19453         * components/services/install/lib/eazel-install-logic.c:
19454         (dump_one_package):
19455         * components/services/install/lib/eazel-install-types.c:
19456         (packagedata_copy):
19458         Show provides-list when dumping packages for debug.  Copy
19459         provides-list when doing a deep copy of the package data.
19460         
19461         * components/services/install/lib/eazel-install-xml-package-list.c:
19462         (parse_category):
19464         Clean up leading/trailing linefeeds on category descriptions.
19465         
19466         * components/services/install/server/main.c: (main):
19467         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
19468         : (trilobite_add_log), (trilobite_init),
19469         (trilobite_set_debug_mode):
19470         * components/services/trilobite/libtrilobite/trilobite-core-utils.h
19471         :
19473         Use ~/.nautilus/trilobite-install.log for logging install debug
19474         messages, and not a file in /tmp.  Timestamp those logs.
19475         
19476         * nautilus-installer/src/installer.c: (create_install_page),
19477         (eazel_download_progress), (get_required_name),
19478         (get_detailed_errors_foreach), (install_done),
19479         (eazel_installer_add_category), (find_old_tmpdir),
19480         (eazel_installer_initialize):
19482         Make category list display slightly differently when there's only
19483         one category (which is how PR2 will be): avoid showing the
19484         checkbox, etc.  If there's a suitable /tmp directory leftover from
19485         a previous install attempt, reuse it instead of creating a new
19486         one.
19488         * nautilus-installer/src/link.sh:
19490         Fix missing quotes in XFree checking.
19491         
19492 2000-10-30  Eskil Heyn Olsen  <eskil@eazel.com>
19494         * nautilus-installer/src/Makefile:
19495         * nautilus-installer/src/link.sh:
19496         link.sh does vague attempt at checking XFree version. Partial fix
19497         for 4159.
19499 2000-10-30  Maciej Stachowiak  <mjs@eazel.com>
19501         * libnautilus-extensions/nautilus-mime-actions.c:
19502         (nautilus_mime_actions_check_if_minimum_attributes_ready),
19503         (nautilus_mime_actions_check_if_full_attributes_ready),
19504         (nautilus_mime_actions_get_minimum_file_attributes),
19505         (nautilus_mime_actions_get_full_file_attributes),
19506         (nautilus_mime_actions_wait_for_full_file_attributes),
19507         (nautilus_mime_get_default_action_type_for_file),
19508         (nautilus_mime_get_default_action_for_file),
19509         (nautilus_mime_get_default_application_for_file_internal),
19510         (nautilus_mime_get_default_application_for_file),
19511         (nautilus_mime_is_default_application_for_file_user_chosen),
19512         (nautilus_mime_get_default_component_sort_conditions),
19513         (nautilus_mime_get_default_component_for_file_internal),
19514         (nautilus_mime_get_short_list_applications_for_file),
19515         (nautilus_mime_get_short_list_components_for_file),
19516         (nautilus_mime_get_short_list_methods_for_file),
19517         (nautilus_mime_get_all_applications_for_file),
19518         (nautilus_mime_get_all_components_for_file),
19519         (nautilus_mime_set_default_application_for_file),
19520         (nautilus_mime_set_default_component_for_file),
19521         (nautilus_mime_set_short_list_applications_for_file),
19522         (nautilus_mime_set_short_list_components_for_file),
19523         (nautilus_mime_add_application_to_short_list_for_file),
19524         (nautilus_mime_remove_application_from_short_list_for_file),
19525         (nautilus_mime_add_component_to_short_list_for_file),
19526         (nautilus_mime_remove_component_from_short_list_for_file),
19527         (nautilus_mime_extend_all_applications_for_file),
19528         (nautilus_mime_remove_from_all_applications_for_file),
19529         (nautilus_do_component_query): 
19530         * libnautilus-extensions/nautilus-mime-actions.h:
19531         * libnautilus-extensions/nautilus-program-chooser.c:
19532         (repopulate_program_list), (is_component_default_for_file),
19533         (program_file_pair_is_default_for_file),
19534         (program_file_pair_is_in_short_list_for_file),
19535         (add_to_short_list_for_file), (remove_from_short_list_for_file),
19536         (remove_default_for_item), (set_default_for_item):
19537         * libnautilus-extensions/nautilus-program-choosing.c:
19538         (any_programs_available_for_file):
19539         * src/file-manager/fm-directory-view.c: (switch_location_and_view),
19540         (create_open_with_gtk_menu), (reset_bonobo_open_with_menu),
19541         (activate_callback):
19542         * src/nautilus-applicable-views.c: (nautilus_navigation_info_new):
19543         * src/nautilus-sidebar.c: (nautilus_sidebar_update_all),
19544         (nautilus_sidebar_set_uri):
19545         * src/nautilus-window.c: (nautilus_window_load_content_view_menu):
19546         * test/test-nautilus-mime-actions-set.c: (main):
19547         * test/test-nautilus-mime-actions.c: (main): Portions of the fix
19548         for 2379 (the parts that don't make it crash).
19550 2000-10-30  Ramiro Estrugo  <ramiro@eazel.com>
19552         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
19553         * components/services/nautilus-dependent-shared/eazel-services-header.c:
19554         (eazel_services_header_middle_new):
19555         Separate the left and right text offsets.  Tweak them some more.
19556         
19557 2000-10-30  Ramiro Estrugo  <ramiro@eazel.com>
19559         * nautilus-clean.sh:
19560         Add trilobite-eazel-install-service to list of processes to kill.
19561         Also alphabetize the list.
19562         
19563 2000-10-30  Andy Hertzfeld  <andy@eazel.com>
19565         * libnautilus-extensions/nautilus-thumbnails.c:
19566         (make_thumbnail_path):
19567         fixed bug 4190, problem thumbnailing icons in vault, by adding
19568         a test to make sure it tries to keep the thumbnails for remote
19569         files locally.
19570         
19571 2000-10-30  Ramiro Estrugo  <ramiro@eazel.com>
19573         * icons/nautilus-launch-icon.png:
19574         * nautilus.png:
19576         I removed these from Makefiles, but forgot to take them out of
19577         CVS.
19578         
19579 2000-10-30  Eskil Heyn Olsen  <eskil@eazel.com>
19581         * components/services/install/command-line/eazel-alt-install-corba.
19582         c: (done), (main):
19583         Fixed 4203
19584         
19585         * components/services/install/lib/eazel-install-corba-types.c:
19586         (corba_string_sequence_to_glist),
19587         (corba_packagedatastruct_from_packagedata):
19588         Changed because I added debug and removed it again...
19589         
19590         * components/services/install/lib/eazel-install-logic.c:
19591         (eazel_install_pre_install_packages),
19592         (eazel_install_download_packages),
19593         (eazel_install_check_existing_packages),
19594         (eazel_install_fetch_dependencies):
19595         Made a set of enums for check_for_existing_packages since it no
19596         longer really acts as a *cmp function (has four result values
19597         rather then 3)
19598         * components/services/install/lib/eazel-install-logic.h:
19599         Also renamed the status enum for the main functions
19601         * components/services/install/lib/eazel-install-object.c:
19602         (eazel_install_install_packages),
19603         (eazel_install_uninstall_packages),
19604         (eazel_install_revert_transaction_from_xmlstring):
19605         Also renamed the status enum for the main functions (in
19606         logic.[ch])
19607         
19608         * components/services/install/lib/eazel-install-problem.c:
19609         (get_detailed_messages_foreach),
19610         (eazel_install_problem_case_to_string),
19611         Moved get_required_name into -types.c (as
19612         packagedata_get_readable_name), so everyone gets the benefit of
19613         it.
19614         (eazel_install_problem_handle_cases):
19615         Now also sets the downgrade flag in handle cases.
19616         
19617         * components/services/install/lib/eazel-install-rpm-glue.c:
19618         (eazel_install_rpm_set_settings),
19619         No longer always set rpm debub
19620         (eazel_install_start_transaction_make_rpm_argument_list):
19621         Don't set --oldpackage on -e.
19622         
19623         * components/services/install/lib/eazel-install-types.h:
19624         * components/services/install/lib/eazel-install-types.c:
19625         (packagedata_get_readable_name):
19626         Moved here from -problem.c(get_required_name)
19627         
19628         * components/services/install/lib/eazel-install-xml-package-list.c:
19629         (parse_package), (eazel_install_packagedata_to_xml):
19630         Now also put provides into xml. This was needed for the menu path
19631         info fix that Bart asked for. Unfortunately this means huge
19632         transaction files, need to put in a boolean or such.
19633         
19634         * components/services/install/nautilus-view/nautilus-service-instal
19635         l-view.h:
19636         Added list containing all .*\.desktop$ or .*\.kdelnk$ files that
19637         where installed.        
19638         * components/services/install/nautilus-view/nautilus-service-instal
19639         l-view.c: (nautilus_service_install_dependency_check),
19640         Print nicer dep check strings (using packagedata_get_readable_name)
19641         (nautilus_service_install_check_for_desktop_files),
19642         In preflight, find any .*\.desktop$  or .*\.kdelnk$ files.
19643         (nautilus_service_install_preflight_check),
19644         call check_for_desktop_files only on toplevel packages
19645         (nautilus_service_install_installing),
19646         Moved the dialog box for nautilus updates down to done.
19647         (nautilus_install_service_locate_menu_entries),
19648         Locates where the menu entries went
19649         (nautilus_service_install_done):
19650         Pop up the dialog if nautilus was updated, also generate message
19651         reg. where menu entries went. Fixes 3431
19652         
19653         * nautilus-installer/src/installer.c: (jump_to_retry_page),
19654         (get_detailed_errors_foreach), (eazel_install_dep_check):
19655         Used packagedata_get_readable_name instead of get_requried_name.
19656         
19657 2000-10-30  Ramiro Estrugo  <ramiro@eazel.com>
19659         * components/mozilla/mozilla-preferences.cpp:
19660         * components/mozilla/mozilla-preferences.h:
19661         * components/mozilla/nautilus-mozilla-content-view.c:
19662         (nautilus_mozilla_content_view_initialize),
19663         (nautilus_mozilla_content_view_destroy),
19664         (eazel_services_scheme_translate),
19665         (test_make_full_uri_from_relative),
19666         (mozilla_content_view_one_time_happenings):
19667         Fix bug 4112 - Mozilla component does not listen for proxy
19668         configuration changes.
19670         Move all the gconf and proxy related things to
19671         mozilla-preferences.cpp, makes the main view implementation a
19672         little less convoluted.
19674         Add gconf notifications for changes in the proxy and route these
19675         changes to the mozilla universe.
19677         Also some minor style changes.
19679 2000-10-30  Darin Adler  <darin@eazel.com>
19681         Fix bug 4202 (rename a file to an existing file will crash
19682         Nautilus).
19683         
19684         * libnautilus-extensions/nautilus-file.c: (rename_callback): Mark
19685         the overwritten file as "gone" if we succeed in renaming to an
19686         existing file's name. Either the module overwrote the file or the
19687         file was deleted "under Nautilus's nose" -- in either case it is
19688         gone.
19689         (nautilus_file_update_name): Fix comment.
19691 2000-10-30  Andy Hertzfeld  <andy@eazel.com>
19693         * src/nautilus-sidebar-title.c: (update_icon):
19694         added "eazel-services:" and "man:" to the schemes with custom
19695         sidebar icons via the recently implemented hack (which will be
19696         replaced by a real framework after PR2).
19697         
19698         * icons/Makefile.am:
19699         * icons/manual.png:
19700         added icon for man: scheme
19702 2000-10-30  Andy Hertzfeld  <andy@eazel.com>
19704         cleaned up the sidebar for the summary view by putting in a
19705         temporary hack to get the right icon and giving the view
19706         a shorter title.
19707         
19708         * components/services/summary/nautilus-view/nautilus-summary-view.c
19709         : (summary_load_location_callback):
19710         changed the summary view's title to "Eazel Services" so it fits
19711         better in the sidebar.
19712         
19713         * src/nautilus-sidebar-title.c: (update_icon):
19714         added a hack to special-case the "eazel:" uri to get the appropriate
19715         icon; we'll remove this after PR2 and replace it with a real
19716         framework.
19717         
19718 2000-10-30  Darin Adler  <darin@eazel.com>
19720         * icons/Makefile.am: Removed gnome-core.png again.
19722 2000-10-30  Josh Barrow  <josh@eazel.com
19724         * icons/gnome-core.png: 
19725         Removed
19727         * icons/i-core.png:
19728         Made this be the old gnome-core icon, per Arlo's suggestion.
19730 2000-10-30  Gene Z. Ragan  <gzr@eazel.com>
19732         Fixed bug 4166, "New Folder" offset problem.
19734         Also reverted Enter to activate selected items instead of
19735         entering renaming mode.
19737         * libnautilus-extensions/nautilus-icon-container.c: 
19738         (relayout):
19739         Call nautilus_icon_container_update_scroll_region before
19740         processing pending reveal and rename actions.
19742         (key_press_event):
19743         Enter keypress activates selected items
19744         
19745 2000-10-30  Robey Pointer  <robey@eazel.com>
19747         * nautilus-installer/src/proxy.c: (load_nscp_proxy_settings),
19748         (load_galeon_proxy_settings), (attempt_http_proxy_autoconfigure):
19750         Try to find proxy settings via Galeon too.
19752 2000-10-30  J Shane Culpepper  <pepper@eazel.com>
19754         * components/services/summary/nautilus-view/nautilus-summary-view.c
19755         : (generate_summary_form):
19757         Fixing the box packing on the news widget.  Still not optimal but
19758         looks a little better than it did.  Will continue tweaking it until
19759         it is acceptable.
19761 2000-10-30  Michael Engber  <engber@eazel.com>
19763         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
19764         (file_opened_callback), (file_read_callback), (load_done):
19765         
19766         Fixed nautilus_gdk_pixbuf_load_async bug that would cause
19767         it to fail loading xpm files. (bug 4140)
19769 2000-10-30  Rebecca Schulman  <rebecka@eazel.com>
19770         Fixed bug 4176, that files remaining to be
19771         copied goes up instead of down.  The short
19772         fix for this was just to change the wording to
19773         reflect what was actually being counted.
19775         * libnautilus-extensions/nautilus-file-operations.c:
19776         (progress_dialog_set_files_done_text), (handle_xfer_ok):
19777         changed "Files remaining to be [copied, moved,...]" to
19778         "Files [copied, moved,...]"
19780 2000-10-30  Darin Adler  <darin@eazel.com>
19782         Fixed bug 4057 (clicking the back button while opening a huge
19783         directory often crashes).
19784         
19785         * libnautilus-extensions/nautilus-icon-container.c:
19786         (nautilus_icon_container_for_each): The function was iterating
19787         some icons twice. All the icons on the new_icons list are also on
19788         the icons list.
19789         (icon_destroy): Also be sure to remove the icon from the new_icons
19790         list if it happens to be destroyed while still on that list.
19792         * configure.in:
19793         * Makefile.shared:
19794         Got rid of the shared part of the code to generate .xml.h
19795         files. It's no longer needed since the po directory takes care of
19796         everything itself.
19797         
19798         * components/loser/content/Makefile.am:
19799         * components/loser/sidebar/Makefile.am:
19800         * components/mozilla/Makefile.am:
19801         * components/sample/Makefile.am:
19802         * components/services/summary/nautilus-view/Makefile.am:
19803         * libnautilus/Makefile.am:
19804         * src/Makefile.am:
19805         * src/file-manager/Makefile.am:
19806         Got rid of the per-directory part of the code to generate .xml.h
19807         files.
19808         
19809         * components/loser/content/nautilus-content-loser-ui.xml.h:
19810         * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
19811         * components/mozilla/nautilus-mozilla-ui.xml.h:
19812         * components/sample/nautilus-sample-content-view-ui.xml.h:
19813         * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
19814         * libnautilus/nautilus-clipboard-ui.xml.h:
19815         * src/file-manager/nautilus-directory-view-ui.xml.h:
19816         * src/file-manager/nautilus-icon-view-ui.xml.h:
19817         * src/file-manager/nautilus-search-list-view-ui.xml.h:
19818         * src/nautilus-service-ui.xml.h:
19819         * src/nautilus-shell-ui.xml.h:
19820         Got rid of the checked-in copies of the .xml.h files. The worst
19821         part!
19823 2000-10-30  J Shane Culpepper  <pepper@eazel.com>
19825         * components/services/summary/nautilus-view/nautilus-summary-view.c
19826         : (forgot_password_button_cb):
19828         Fixing Bug #4178.  The Help button was not working right.
19830 2000-10-29  John Sullivan  <sullivan@eazel.com>
19832         * components/services/summary/nautilus-view/nautilus-summary-view.c
19833         : (generate_login_dialog): Change "Please login to eazel services"
19834         to "Please log in to Eazel services", in two places.
19836 2000-10-30  Rebecca Schulman  <rebecka@eazel.com>
19838         * components/services/summary/nautilus-view/nautilus-summary-view.c
19839         : (summary_load_location_callback):
19840         Add setting of window and sidebar title to the summary view
19841         to "Eazel Services Summary".  I'm not necessarily attached to the wording
19842         but we should definitely make it something other than "eazel".
19843         this fixes a bug I filed, #4183
19845 2000-10-30  Robey Pointer  <robey@eazel.com>
19847         * components/services/trilobite/helper/eazel-helper.pam:
19849         Yeah!  Found out how to let eazel-helper run even if root has
19850         no password set.  Add "nullok" to the pwdb line in the pam
19851         config file.
19853 2000-10-30  Pavel Cisler  <pavel@eazel.com>
19855         * libnautilus-extensions/nautilus-file-utilities.c:
19856         (nautilus_make_uri_canonical),
19857         (nautilus_self_check_file_utilities):
19858         nautilus_make_uri_canonical was relying on GnomeVFSURI sort-of
19859         handling relative uris, even though they are illegal in GnomeVFS.
19860         My earlier fix in gnome-vfs "broke" some of this broken behavior. 
19861         Added more special-case handling of cryptic absolute to 
19862         nautilus_make_uri_canonical to make it behave like before and not
19863         break existing behavior that depends on it. Added some bandaids for
19864         conversions that are clearly wrong but that may need more work 
19865         throughout the code that depends on it, for now I'm making it
19866         behave like the old call.
19867         My earlier fix to gnome-vfs fixes 2803. Change the test to reflect 
19868         the correct behavior.
19870 2000-10-30  Robey Pointer  <robey@eazel.com>
19872         * components/services/trilobite/helper/README:
19873         * components/services/trilobite/helper/eazel-helper.security.in:
19875         Set fallback (in pam and usermode) to false: always needs to run
19876         as root.
19878 2000-10-30  Andy Hertzfeld  <andy@eazel.com>
19880         * components/services/summary/nautilus-view/nautilus-summary-view.c
19881         : (generate_eazel_news_entry_row):
19882         disabled the "use all the space" since it causes too much flashing
19883         during size negotiation.  I'll either fix the flashing or remove
19884         it from nautilus_label soon.
19885         
19886 2000-10-29  Andy Hertzfeld  <andy@eazel.com>
19888         * libnautilus-extensions/nautilus-label.c:
19889         (nautilus_label_initialize_class), (nautilus_label_size_allocate),
19890         (get_clipped_width), (label_recompute_line_geometries):
19891         made nautilus_label interpret a wrap width of -1 to mean "use
19892         all of the available space".
19893         
19894         * components/services/summary/nautilus-view/nautilus-summary-view.c
19895         : (generate_service_entry_row), (generate_eazel_news_entry_row),
19896         (generate_update_news_entry_row):
19897         made the news items use all of the available space by setting its
19898         wrap width to -1.
19899         
19900 2000-10-29  Andy Hertzfeld  <andy@eazel.com>
19902         * components/services/summary/nautilus-view/nautilus-summary-view.c
19903         : (generate_summary_form), (generate_eazel_news_entry_row),
19904         (authn_cb_succeeded), (authn_cb_failed):
19905         improved formatting of news items, now that we finally have a long
19906         one.  Also, removed some unconditional debugging messages.
19907         
19908 2000-10-29  Robey Pointer  <robey@eazel.com>
19910         * components/services/install/idl/trilobite-eazel-install.idl:
19911         * components/services/install/lib/eazel-install-corba-callback.c:
19912         (eazel_install_callback_delete_files):
19913         * components/services/install/lib/eazel-install-corba-callback.h:
19914         * components/services/install/lib/eazel-install-corba.c:
19915         (impl_Eazel_Install_delete_files), (eazel_install_get_epv):
19916         * components/services/install/lib/eazel-install-object.c:
19917         (eazel_install_class_initialize), (create_temporary_directory),
19918         (eazel_install_delete_downloads), (eazel_install_install_packages),
19919         (eazel_install_revert_transaction_from_xmlstring),
19920         (eazel_install_emit_dependency_check_default):
19921         * components/services/install/lib/eazel-install-public.h:
19923         Change delete_files from a signal to an explicit API call.  Also
19924         be sure to erase the temp dir even if it has no files in it.
19925         
19926         * components/services/install/nautilus-view/nautilus-service-instal
19927         l-view.c: (nautilus_service_install_done),
19928         (nautilus_service_install_failed),
19929         (nautilus_service_install_view_update_from_uri):
19930         * components/services/install/server/Makefile.am:
19932         Make the install view use the new explicit delete_files call, and
19933         condense those into a single dialog box.
19935         * nautilus-installer/src/callbacks.c: (begin_install),
19936         (druid_finish):
19937         * nautilus-installer/src/installer.c: (install_done),
19938         (eazel_installer_do_install), (eazel_installer_initialize):
19939         * nautilus-installer/src/installer.h:
19941         Fix the bootstrap installer for the delete_files call, and don't
19942         forget to delete the package list too.  Also, set forced-downgrade
19943         to TRUE until a post-PR2 bug is fixed.
19944         
19945 2000-10-29  Mike Fleming  <mfleming@eazel.com>
19947         * components/services/summary/nautilus-view/nautilus-summary-view.c
19948         : switch authority-less eazel-services URL's 
19949         from "eazel-services:/" to "eazel-services:///"  
19951         * src/nautilus-window-service-ui.c: (goto_online_storage),
19952         (goto_software_catalog), (detach_service_ui),
19953         (nautilus_window_install_service_ui):
19955         Go back to initing ammonite each time these menus are called.  
19956         I didn't want to bother with trying to make it work.
19959 2000-10-29  J Shane Culpepper  <pepper@eazel.com>
19961         * components/loser/content/nautilus-content-loser-ui.xml.h:
19962         * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
19963         * components/mozilla/nautilus-mozilla-ui.xml.h:
19964         * components/sample/nautilus-sample-content-view-ui.xml.h:
19965         * components/services/summary/nautilus-view/nautilus-summary-view-u
19966         i.xml.h:
19967         * libnautilus/nautilus-clipboard-ui.xml.h:
19968         * src/file-manager/nautilus-directory-view-ui.xml.h:
19969         * src/file-manager/nautilus-icon-view-ui.xml.h:
19970         * src/file-manager/nautilus-search-list-view-ui.xml.h:
19971         * src/nautilus-service-ui.xml.h:
19972         * src/nautilus-shell-ui.xml.h:
19973         * src/nautilus-shell.c: (display_caveat):
19975         Fixing bad spelling in caveat.
19977 2000-10-29  Robey Pointer  <robey@eazel.com>
19979         * components/services/install/server/Makefile.am:
19981         Move RPMLIBS even *earlier* in the Makefile -- way back!  Seems to
19982         need to be the very first thing or else tons of libs get better
19983         precedence.
19985 2000-10-29  Mike Fleming  <mfleming@eazel.com>
19987         * components/services/summary/nautilus-view/nautilus-summary-view.c
19988         : (generate_summary_form), (nautilus_summary_view_load_uri),
19989         (merge_bonobo_menu_items):
19990         * src/nautilus-window-service-ui.c: (goto_online_storage),
19991         (goto_software_catalog), (detach_service_ui),
19992         (nautilus_window_install_service_ui):
19994         Change uses of "am_i_logged_in" and "who_is_logged_in" to 
19995         "ammonite_get_default_user_username"  Fix misc bugs/memory leaks.
19997 2000-10-29  Arlo Rose  <arlo@eazel.com>
19999         * icons/temp-home.png:
20000         Added some extra stuff to the house to make it look better.
20002 2000-10-28  Arlo Rose  <arlo@eazel.com>
20004         * icons/temp-home.png:
20005         Did a new home icon for PR2 that isn't my happy sunflower.
20007 2000-10-28  Arlo Rose  <arlo@eazel.com>
20009         * icons/arlo/Makefile.am:
20010         * icons/arlo/i-regular.png:
20011         * icons/arlo/i-regular72.png:
20012         * icons/arlo/i-regular96.png:
20013         * icons/arlo/i-regular192.png:
20014         Fixed non-AA i-regular* icons to look the same as the AA versions.
20016 2000-10-28  Robey Pointer  <robey@eazel.com>
20018         * components/services/install/server/Makefile.am:
20020         Move RPMLIBS earlier in the Makefile, to try to force the
20021         sleipnir build to use the right version of libdb.
20023 2000-10-28  Ramiro Estrugo  <ramiro@eazel.com>
20025         * Makefile.am:
20026         * icons/Makefile.am:
20027         * nautilus-launch-icon.png:
20028         Fix bug 4155.  Nautilus Panel launching icon installed in the
20029         wrong place.  Needs to be $prefix/share/pixmaps, not
20030         $prefix/share/pixmaps/nautilus.
20032         Also added more ChangeLog files to EXTRA_DIST so they can be
20033         availalble in tarballs.
20034         
20035 2000-10-28  J Shane Culpepper  <pepper@eazel.com>
20037         * components/services/summary/nautilus-view/nautilus-summary-view.c
20038         : (generate_login_dialog):
20039         * src/nautilus-service-ui.xml.h:
20040         * src/nautilus-shell.c: (display_caveat):
20042         Fixes for Bug #4104 and Bug# 4134. Changed error text to be more
20043         descriptive about account activation and added new wording for 
20044         caveat dialog.
20046 2000-10-28  Eskil Heyn Olsen  <eskil@eazel.com>
20048         * components/services/install/server/Makefile.am:
20049         Undoh rpm stuff
20051 2000-10-28  Josh Barrow  <josh@eazel.com>
20053         * nautilus-clean.sh:
20054         Added mpg123 to the list of things to kill.  This finishes
20055         bug 4076.
20057 2000-10-28  Josh Barrow  <josh@eazel.com>
20059         * nautilus-clean.sh:
20060         Changed to clean more things.
20062         * README
20063         Changed to reflect actual requirements.
20065         I actually checked these in a while ago, just neglected to
20066         check in the ChangeLog
20068 2000-10-27  Eskil Heyn Olsen  <eskil@eazel.com>
20070         * configure.in:
20071         Doh doh doh
20073 2000-10-27  Ramiro Estrugo  <ramiro@eazel.com>
20075         * src/Makefile.am:
20076         Dumshit me, I forgot to take out the file I retired from the
20077         makefile.
20078         
20079 2000-10-27  Ramiro Estrugo  <ramiro@eazel.com>
20081         Fix bug 4054 - fix nautilus GNOME menu item so it does not
20082         "crash" nautilus.
20084         Fix bug 4117 - change default for PR2 back to desktop off.
20086         Also fix the issue about turning off the gnome crash dialog for
20087         out of process components.
20088         
20089         * icons/Makefile.am:
20090         * icons/nautilus-launch-icon.png:
20091         New launch icon from Arlo.
20093         * src/run-nautilus:
20094         Change this beast to not always run nautilus-clean.sh.  It only
20095         runs nautilus-clean.sh right before/after running Nautilus and not
20096         for every single invocation of 'run-nautilus'.  
20098         Also, dont start the desktop anymore, since there is not a
20099         preference in Nautilus to toggle the desktop.
20101         Finally, turn on the environment variable needed to prevent the
20102         gnome crash dialog from showing up for out of process components.
20103         
20104         * nautilus.desktop:
20105         Update icon and launch script back to run-nautilus.
20107         * nautilus.spec.in:
20108         We're back to using run-nautilus.
20109         
20110         * src/launch-nautilus:
20111         Retire.
20113 2000-10-27  Eskil Heyn Olsen  <eskil@eazel.com>
20115         * components/services/install/server/Makefile.am:
20116         Moved RPM_LIBS to top to ensure the right db is used.
20117         
20118 2000-10-27  J Shane Culpepper  <pepper@eazel.com>
20120         * src/nautilus-window-service-ui.c: (goto_online_storage):
20122         Fixing Bug # 4097.  Should now point to correct place.
20124 2000-10-27  Eskil Heyn Olsen  <eskil@eazel.com>
20126         * components/services/install/lib/eazel-install-rpm-glue.c:
20127         (eazel_install_rpm_set_settings):
20128         Output which rpmrc file I read.
20129         * configure.in:
20130         Attempt at fixing the install view breaking on rpm builds and not
20131         eazel-hacking builds.
20133 2000-10-27  John Sullivan  <sullivan@eazel.com>
20135         Fixed bug 4087 (crash leaving Summary view)
20137         * components/services/summary/nautilus-view/nautilus-summary-view.c: 
20138         (nautilus_summary_view_destroy): Don't unset container and unref
20139         component here; that's not necessary for the component that's
20140         created automagically. And doing so causes a double-destroy.
20141         (update_menu_items), (merge_bonobo_menu_items): Removed 
20142         ui_component field from details and changed callers to get the
20143         ui_component elsewise when needed (to clarify that it isn't
20144         owned here).
20145         * src/nautilus-service-ui.xml: Changed "Eazel Services" to
20146         "Eazel Services Home" since all the services are Eazel Services.
20147         * src/nautilus-service-ui.xml.h: gotta check this in too.
20149 2000-10-27  Andy Hertzfeld  <andy@eazel.com>
20151         at Bud's request, implemented bug 4127, add a preference to
20152         show or hide Nautilus' desktop.
20153                 
20154         * libnautilus-extensions/nautilus-global-preferences.h:
20155         define NAUTILUS_PREFERENCES_SHOW_DESKTOP
20156         * libnautilus-extensions/nautilus-global-preferences.c:
20157         (global_preferences_create_dialog), (global_preferences_register):
20158         register the desktop preference and show the checkbox in
20159         the appearance section of preferences
20160         * src/nautilus-application.c: (nautilus_application_initialize),
20161         (nautilus_application_destroy), (check_for_and_run_as_super_user),
20162         (desktop_changed_callback):
20163         watch the desktop preference and show or hide the desktop window
20164         when it changes.
20165         * src/nautilus-main.c: (main):
20166         show the desktop at launch if the preference is set and it's not
20167         overriden by command-line options.
20168         
20169 2000-10-27  Darin Adler  <darin@eazel.com>
20171         Fixed bugs in file renaming. These changes along with the
20172         gnome-vfs ones take care of bug 3846 (cancel dialog persists after
20173         renaming online storage folder).
20175         * libnautilus-extensions/nautilus-file.c:
20176         (nautilus_file_get_gnome_vfs_uri): Moved higher so it could be
20177         used by rename code.
20178         (operation_remove): Separated out the remove operation so we can
20179         remove the operation before the callback. This makes it safe to
20180         do a nautlius_file_cancel from inside a callback.
20181         (operation_free): Call the separate remove. Also cut down because
20182         we don't need so much state in the operation object any more.
20183         (operation_complete): Call remove before calling callback as
20184         described above.
20185         (rename_callback): A new callback that uses set_file_info results
20186         instead of the old one that used xfer.
20187         (nautilus_file_rename): Change to use set_file_info instead of
20188         xfer. Also updates the MIME type now, which will fix a bug I
20189         think.
20190         (nautilus_file_update_info): Use gnome_vfs_file_info_dup instead
20191         of gnome_vfs_file_info_ref so it works with any info, including
20192         static ones on the stack.
20193         (set_permissions_callback), (nautilus_file_set_permissions),
20194         (set_owner_and_group_callback), (set_owner_and_group): Change to
20195         use the info returned by the async. set_file_info. This simplifies
20196         things a lot.
20197         
20198         * src/file-manager/fm-error-reporting.c: (rename_callback),
20199         (cancel_rename_callback), (cancel_rename), (fm_rename_file):
20200         Rewrote renaming code. Use object data to keep track of pending
20201         renames so we can cancel a previous one if we try to re-rename the
20202         same file again. This allowed the code to get a lot simpler too.
20203         
20204         * libnautilus-extensions/nautilus-directory-async.c:
20205         (directory_load_done): Fixed bug that prevented the directory from
20206         ever noticing files that are no longer around. This code never
20207         worked because we checked for the wrong error code (EOF means
20208         success here).
20209         
20210         * po/Makefile.in.in: Re-removed this file. Seth checked it in by
20211         accident. This is a generated file, not one that should be checked
20212         in.
20213         
20214         * src/nautilus-window.c: (nautilus_window_realize): Got rid of
20215         "//"-style comments and used #if 0 instead.
20217         * components/loser/content/nautilus-content-loser-ui.xml.h:
20218         * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
20219         * components/mozilla/nautilus-mozilla-ui.xml.h:
20220         * components/sample/nautilus-sample-content-view-ui.xml.h:
20221         * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
20222         * libnautilus/nautilus-clipboard-ui.xml.h:
20223         * src/file-manager/nautilus-directory-view-ui.xml.h:
20224         * src/file-manager/nautilus-icon-view-ui.xml.h:
20225         * src/file-manager/nautilus-search-list-view-ui.xml.h:
20226         * src/nautilus-service-ui.xml.h:
20227         * src/nautilus-shell-ui.xml.h:
20228         Someone checked in some .xml.h files generated with an old
20229         Bonobo. Soon, this nightmare will be over and we won't check these
20230         files in any more.
20231         
20232 2000-10-27  Arlo Rose  <arlo@eazel.com>
20234         * src/nautilus-first-time-druid.c: (make_anti_aliased_label):
20235         Made a font size change.
20237 2000-10-28  Mathieu Lacage  <mathieu@eazel.com>
20239         second round of fixing of the sgml. Will be 
20240         the last one hopefuly.
20241         * user-guide/C/sgml/chapter-1.sgml:
20242         * user-guide/C/sgml/chapter-2.sgml:
20243         * user-guide/C/sgml/chapter-3.sgml:
20244         * user-guide/C/sgml/install.sgml:
20245         * user-guide/C/sgml/intro.sgml:
20247 2000-10-27  Mathieu Lacage  <mathieu@eazel.com>
20249         * user-guide/C/sgml/chapter-1.sgml:
20250         * user-guide/C/sgml/chapter-2.sgml:
20251         * user-guide/C/sgml/chapter-3.sgml:
20252         * user-guide/C/sgml/install.sgml:
20253         * user-guide/C/sgml/intro.sgml:
20254         * user-guide/C/sgml/nautilus.sgml:
20255         update to John's latest version, fix the sgml where needed.
20256         Need a new round of checking on my laptop. Help now displays 
20257         images !! hooray for Ali Abdin :)
20259 2000-10-27  Robin * Slomkowski  <rslomkow@eazel.com>
20261         * README: package build requirments changed to be current
20262         left hole3s for gnome-vfs, ammonite, and medusa
20264 2000-10-27  Andy Hertzfeld  <andy@eazel.com>
20266         * components/services/summary/nautilus-view/nautilus-summary-view.c
20267         : (generate_summary_form), (generate_eazel_news_entry_row),
20268         (generate_login_dialog):
20269         finished bug 3793 for Shane, new login dialog for summary view, by
20270         changing the widget layout to satisfy Arlo.  Also marked more
20271         strings for translation.
20272         
20273 2000-10-27  Arlo Rose  <arlo@eazel.com>
20275         * components/services/nautilus-dependent-shared/eazel-services-exte
20276         nsions.h:
20277         Tweaked text offests.
20279 2000-10-27  John Sullivan  <sullivan@eazel.com>
20281         Grumble grumble canonical grumble uri grumble.
20283         Josh found another assertion failure involving
20284         canonical uris. Yay Josh! Boo canonical uri troubles!
20285         
20286         * libnautilus-extensions/nautilus-directory.c:
20287         (nautilus_directory_get_internal): Removed call to
20288         nautilus_uri_is_canonical_uri since it isn't quite the
20289         right check. Decided that the right check here is
20290         pointless.
20291         * libnautilus-extensions/nautilus-file-utilities.c:
20292         * libnautilus-extensions/nautilus-file-utilities.h:
20293         Removed nautilus_uri_is_canonical_uri since it now has
20294         no callers.
20296 2000-10-27  John Sullivan  <sullivan@eazel.com>
20298         Fixed bug 4085 for now (need Support menu item in Services menu)
20300         The URL will have to be updated again later, as the bug report says.
20302         * src/nautilus-service-ui.xml: Added Support menu item at end, made
20303         underline accelerators unique
20304         * components/services/summary/nautilus-view/nautilus-summary-view-u
20305         i.xml: tweaked wording and made underline accelerators unique
20307         * components/services/summary/nautilus-view/nautilus-summary-view-u
20308         i.xml.h:
20309         * src/nautilus-service-ui.xml.h: These guys changed.
20311         * src/nautilus-window-service-ui.c: 
20312         (goto_services_support): New function, goes to magic URI.
20313         (nautilus_window_install_service_ui): add verb to connect menu item
20314         to function.
20316 2000-10-27  J Shane Culpepper  <pepper@eazel.com>
20318         * components/services/summary/nautilus-view/nautilus-summary-view.c
20319         : (forgot_password_button_cb):
20321         Fixing the url for the change password button.
20323 2000-10-27  John Sullivan  <sullivan@eazel.com>
20325         Fixed bug 4114 (typing single word into location bar crashes)
20327         Grumble grumble canonical grumble uri grumble.
20329         * libnautilus-extensions/nautilus-file-utilities.c:
20330         (nautilus_make_uri_canonical): Return of the workaround to
20331         convert file://foo to file:///foo, marked with appropriate
20332         FIXME.
20333         (nautilus_uri_is_canonical_uri): Changed implementation to just
20334         call make_uri_canonical and compare. It had been doing a subset
20335         of the things that make_uri_canonical does, but it had gotten out
20336         of synch.
20337         (nautilus_self_check_file_utilities): Updated tests and added more.
20339 2000-10-27  Ali Abdin  <aliabdin@aucegypt.edu>
20341         * components/help/converters/gnome-db2html2/gdb3html.[ch]:
20342         Added a 'base_path' to the Context struct
20343         (parse_file): Do some minimal parsing to get the base path from the
20344         provided filename on the command line.
20346         * components/help/converters/gnome-db2html2/sect-elements.c:
20347         * components/help/converters/gnome-db2html2/toc-elements.c:
20348         (sect_figure_end_element),
20349         (sect_inlinegraphic_start_element),
20350         (sect_infobox_start_element),
20351         (toc_artheader_end_element):
20352         Use 'file://' URIs on images (using base_path to get the path of the
20353         image). This means images should now work within SGML files. Should
20354         fix bug #3938
20356 2000-10-27  Ramiro Estrugo  <ramiro@eazel.com>
20358         Final bits of arlification for the install view.  Make the fonts
20359         smaller and use a better fill icon.
20361         * components/services/install/nautilus-view/nautilus-service-install-view.c:
20362         (generate_install_form):
20363         * components/services/login/nautilus-view/nautilus-change-password-view.c:
20364         (generate_change_password_form):
20365         * components/services/nautilus-dependent-shared/eazel-services-extensions.c:
20366         (eazel_services_label_new):
20367         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
20368         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
20369         (footer_item_new), (eazel_services_footer_update):
20370         Reverse the order of font_size and weight as its usually specified.
20371         
20372         * components/services/nautilus-dependent-shared/eazel-services-header.c:
20373         (eazel_services_header_title_new),
20374         (eazel_services_header_middle_new),
20375         (eazel_services_header_set_left_text),
20376         (eazel_services_header_set_right_text):
20377         * components/services/nautilus-dependent-shared/eazel-services-header.h:
20378         Split the constructors into 2 for the 2 common header cases.
20379         
20380         * components/services/nautilus-dependent-shared/icons/Makefile.am:
20381         Add a new icon for the middle header fill.
20382         
20383         * components/services/nautilus-dependent-shared/test-footer-header.c:
20384         (main):
20385         Update for header constructor changes.
20386         
20387         * components/services/summary/nautilus-view/nautilus-summary-view.c
20388         : (generate_summary_form), (nautilus_summary_view_load_uri):
20389         Quiet down the debug spew.
20392 2000-10-27  Pavel Cisler <pavel@eazel.com>
20394         * libnautilus-extensions/nautilus-list.c: (nautilus_gdk_gc_copy):
20395         An attempt to fix a list view redraw glitch Andy and I were trying to 
20396         track down.
20398 2000-10-27  Eskil Heyn Olsen  <eskil@eazel.com>
20400         * components/services/install/lib/eazel-install-rpm-glue.c:
20401         (eazel_install_rpm_set_settings):
20402         Always enable rpm debugging (needed temporarily)
20404 2000-10-27  Andy Hertzfeld  <andy@eazel.com>
20406         * components/music/nautilus-music-view.c: (add_play_controls):
20407         left justified the song label in the music view to make it
20408         look cleaner.
20409         
20410 2000-10-27  Josh Barrow  <josh@eazel.com>
20412         * icons/ardmore/Makefile.am:
20413         * icons/ardmore/theme_preview.png:
20414         Added theme preview to the Ardmore theme.
20416         * icons/villanova/Makefile.am:
20417         * icons/villanova/theme_preview.png:
20418         Added theme preview to the Villanova theme.
20420         * nautilus-installer/src/Makefile:
20421         As Eskil says, "Yes."
20423 2000-10-26  Seth Nickell  <seth@eazel.com>
20425         * src/nautilus-window.c: (nautilus_window_realize):
20427         Commented out a wm hints line that was causing Nautilus to be
20428         unfocusable (hence not allowing keyboard input, making it
20429         hard to work on things) in Sawfish. Coordination with 
20430         Sawfish/John Harper is probably needed here...
20432 2000-10-26  Eskil Heyn Olsen  <eskil@eazel.com>
20434         This introduces the problem thingy to libeazelinstall. A set of
20435         funcs that can create humanreadable descriptions of a installation
20436         failure, plus repair descriptions and even better, automagically
20437         execute them. Basically this is all the RepairCase related crap
20438         from the bootstrap installer.
20439         
20440         * components/services/install/command-line/eazel-alt-install-corba.
20441         c: (tree_helper), (install_failed), (delete_files), (done), (main):
20442         Use the new problem thingy
20443         
20444         * components/services/install/lib/Makefile.am:
20445         Added the .c and .h file for the problem thingy
20447         * components/services/install/lib/eazel-install-logic.c:
20448         (eazel_install_check_existing_packages):
20449         Loads of debug output in the case that people kept nagging me
20450         about. If they still don't get that this is a known problem, they
20451         must be blind.
20452         
20453         * components/services/install/lib/eazel-install-problem.h:
20454         * components/services/install/lib/eazel-install-problem.c:
20455         (get_required_name), (get_detailed_messages_foreach),
20456         (compare_problem_case), (add_case), (add_force_install_both_case),
20457         (add_force_remove_case), (add_remove_case), (add_update_case),
20458         (get_detailed_cases_foreach),
20459         (eazel_install_problem_case_to_string),
20460         (eazel_install_problem_case_foreach_to_string),
20461         (eazel_install_problem_case_foreach_destroy),
20462         (eazel_install_problem_case_new),
20463         (eazel_install_problem_case_destroy),
20464         (eazel_install_problem_case_list_destroy),
20465         (eazel_install_problem_new), (eazel_install_problem_finalize),
20466         (eazel_install_problem_class_initialize),
20467         (eazel_install_problem_initialize),
20468         (eazel_install_problem_get_type), (problem_step_foreach_remove),
20469         (eazel_install_problem_step), (eazel_install_problem_tree_to_case),
20470         (eazel_install_problem_tree_to_string),
20471         (eazel_install_problem_cases_to_string),
20472         (find_dominant_problem_type), (find_problems_of_type),
20473         (find_dominant_problems), (build_categories_from_problem_list),
20474         (eazel_install_problem_handle_cases):
20475         The problem thingy.
20476         
20477         * components/services/install/lib/eazel-install-rpm-glue.c:
20478         (eazel_install_rpm_set_settings),
20479         (eazel_install_prepare_rpm_system):
20480         Set rpm debug if debug==TRUE, also fixed a debug message
20481         reg. cannot open rpm db.
20482         
20483         * components/services/install/nautilus-view/nautilus-service-instal
20484         l-view.h:
20485         * components/services/install/nautilus-view/nautilus-service-instal
20486         l-view.c: (nautilus_service_install_view_update_from_uri):
20487         Allocate the problem thingy.
20488         
20489         * nautilus-installer/src/Makefile:
20490         Yes.
20491         
20492         * nautilus-installer/src/installer.c: (get_required_name):
20493         Used the samen get_required_name as the problem thingy
20494         
20495         * nautilus-installer/src/prescript:
20496         Removed the hack that we inserted for bug night.
20498 2000-10-26  Robey Pointer  <robey@eazel.com>
20500         * components/services/login/nautilus-view/nautilus-change-password-
20501         view.c: (run_away_timer), (authn_succeeded), (authn_failed):
20503         Tidy up the password-change view a bit to try to make it more
20504         stable, and use more of the info from ammonite.  If ammonite
20505         throws away the current login (which happens whenever the server
20506         responds oddly), switch back to the summary view to force a
20507         re-login instead of drifting away.
20509 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20511         * libnautilus-extensions/nautilus-icon-container.c: (destroy),
20512         (icon_destroy):
20513         fixed bug 4108, changing themes in the list view crashes nautilus.
20514         Fixed by removing the call to preferences_remove_callback from
20515         icon_destroy and putting it into the widget's destroy method like
20516         it should have been.  This also could have been hurting performance
20517         and causing other weird problems.
20518         
20519 2000-10-26  Arlo Rose  <arlo@eazel.com>
20521         * components/services/nautilus-dependent-shared/eazel-services-exte
20522         nsions.h:
20523         Fixed a font weight problem.
20524         
20525 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20526         
20527         * components/services/nautilus-dependent-shared/eazel-services-header.h:
20528         * components/services/nautilus-dependent-shared/eazel-services-header.c:
20529         (eazel_services_header_new),
20530         (eazel_services_header_set_left_text),
20531         (eazel_services_header_set_right_text):
20532         Change the 'constructor' to accept left/right strings a boolean
20533         that determines whether the logo is visible.
20534         * components/services/install/nautilus-view/nautilus-service-install-view.c:
20535         (generate_install_form):
20536         * components/services/login/nautilus-view/nautilus-change-password-view.c:
20537         (generate_change_password_form):
20538         * components/services/summary/nautilus-view/nautilus-summary-view.c:
20539         (generate_summary_form):
20540         Update for header changes.  Fixes bug 4099 (Secondary Header broke
20541         with test changed to the nautilus widget)
20542         
20543         * components/services/nautilus-dependent-shared/eazel-services-extensions.c:
20544         (eazel_services_get_current_date_string):
20545         Change the date format string.  Using a format of "%e" worked on
20546         one computer but spewed warnings on another.
20547         
20548         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
20549         Tweak the header text offset a bit.
20550         
20551         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
20552         (footer_item_new):
20553         Fix the last item's right boundary to make this beast be up to the
20554         most stringent Arlo standards.
20556         * components/services/nautilus-dependent-shared/test-footer-header.c: (main):
20557         Add a middle header to test new header features.
20559         * components/services/nautilus-dependent-shared/shared-service-widgets.c:
20560         * components/services/nautilus-dependent-shared/shared-service-widgets.h:
20561         Retire the old way to do middle headers.
20563 2000-10-26  Eskil Heyn Olsen  <eskil@eazel.com>
20565         * components/services/install/lib/eazel-install-rpm-glue.c:
20566         (eazel_install_prepare_rpm_system):
20567         Moved the addition of the opened db into the if clause.
20568         
20569         * components/services/time/command-line/Makefile.am:
20570         Added GNOMELOCALEDIR
20571         
20572         * components/services/trilobite/helper/Makefile.am:
20573         Trickery to make the eazel-helper.security file be build during
20574         make and not make install, as the latter is Real Bad<tm> as the
20575         rpm version will point to a nonexisting binary.
20576         
20577         * components/services/trilobite/libtrilobite/trilobite-core-distrib
20578         ution.c: (trilobite_get_distribution):
20579         Inserted a else to fix the mandrake/redhat issue.
20580         
20581 2000-10-26  John Sullivan  <sullivan@eazel.com>
20583         Fixed bug 4064 (Can't get a right-click menu in vault)
20585         * libnautilus-extensions/nautilus-file-utilities.c:
20586         (nautilus_make_uri_canonical): Changed this to call
20587         gnome_vfs_uri_new () and gnome_vfs_uri_to_string () so
20588         we get the same canonicalization behavior as gnome-vfs,
20589         other than the special Nautilus-specific cases.
20590         (nautilus_self_check_file_utilities): Added a bunch of
20591         new checks, including copying & pasting many from
20592         gnome-vfs.
20593         * libnautilus-extensions/nautilus-directory.c:
20594         (nautilus_self_check_directory): added a couple of checks.
20596 2000-10-26  J Shane Culpepper  <pepper@eazel.com>
20598         * components/services/summary/nautilus-view/nautilus-summary-view.c
20599         : (forgot_password_button_cb), (generate_login_dialog):
20601         Adding the button toggle between register and i forgot my password
20602         options in the login dialog.  Still need to tweak the ui before the
20603         login is finished.
20605 2000-10-26  Michael Engber  <engber@eazel.com>
20607         * libnautilus-extensions/nautilus-icon-container.c: (relayout),
20608         (button_press_event), (key_press_event), (get_icon_being_renamed),
20609         (pending_icon_to_rename_destroy_callback),
20610         (get_pending_icon_to_rename), (set_pending_icon_to_rename),
20611         (process_pending_icon_to_rename), (is_renaming_pending),
20612         (is_renaming),
20613         (nautilus_icon_container_start_renaming_selected_item),
20614         (end_renaming_mode):
20615         * libnautilus-extensions/nautilus-icon-container.h:
20616         * libnautilus-extensions/nautilus-icon-private.h:
20617         * src/file-manager/fm-directory-view.c:
20618         (reveal_newly_added_folder), (new_folder_done):
20619         Folder renaming now starts when the icon is added rather than
20620         at some arbitrary timeout after the new folder command is
20621         issued. Fixed icon container to handle a request to rename an
20622         unpositioned icon.
20624 2000-10-26  Eskil Heyn Olsen  <eskil@eazel.com>
20626         * src/Makefile.am:
20627         Install launch-nautilus, should fix rpmbuilding.
20629 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20631         * components/services/summary/nautilus-view/nautilus-summary-view.c
20632         : (generate_summary_form):
20633         changed "additional services" message in summary view as requested
20634         by marketing.
20635         
20636 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20638         * components/mozilla/nautilus-mozilla-content-view.c:
20639         Fix bug 3845.  When configured to use an HTTP proxy, Mozilla won't
20640         go through Ammonite.  The fix is to tell the mozilla network
20641         library to NOT use the proxy to resolve 'localhost'.
20643 2000-10-26  Gene Z. Ragan  <gzr@eazel.com>
20645         * libnautilus-extensions/nautilus-directory-async.c:
20646         (dequeue_pending_idle_callback):
20647         Did some refactoring to stop an assertion in NautilusDirectory
20648         add_to_hash_table from firing. This involved removing two lists
20649         of NautilusFiles that we being created and then merged.  Now one
20650         list is being used and the condition that causes the assertion (duplicate
20651         files in the hash table) is not being created.
20652         
20653         * components/tree/nautilus-tree-model.c:
20654         (nautilus_tree_model_directory_files_changed_callback):
20655         Removed the world famous ANOMALY error at the request of Darin.
20656         
20657 2000-10-26  Robey Pointer  <robey@eazel.com>
20659         * components/services/login/nautilus-view/nautilus-change-password-
20660         view.c: (authn_failed):
20662         Better logging of a failed password change attempt.
20663         
20664         * components/services/install/lib/eazel-install-xml-package-list.c:
20665         (parse_category):
20666         * nautilus-installer/src/installer.c: (add_bullet_point_to_vbox),
20667         (jump_to_error_page), (jump_to_retry_page):
20669         Factor out the bullet point generation and make it line-wrap
20670         (using Gtk's unfortunately lame line-wrapping algorithm).  Do
20671         better debugging on failed package lists.
20673 2000-10-26  J Shane Culpepper  <pepper@eazel.com>
20675         * components/services/summary/nautilus-view/nautilus-summary-view.c
20676         : (footer_item_clicked_callback):
20678         Fixing location callbacks to go to the right place when a user is
20679         logged in.
20681 2000-10-26  Michael Engber  <engber@eazel.com>
20683         * src/file-manager/fm-desktop-icon-view.c:
20684         (quit_nautilus_desktop_menu_item_callback),
20685         (fm_desktop_icon_view_create_background_context_menu_items):
20687         Add "Quit Nautilus Desktop" to desktop context menu
20689 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20691         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
20692         Make the font smaller (11 vs 13) as requested by Arlo.  
20693         
20694 2000-10-26  J Shane Culpepper  <pepper@eazel.com>
20696         * components/services/summary/nautilus-view/nautilus-summary-view.c
20697         : (authn_cb_succeeded), (nautilus_summary_view_initialize),
20698         (nautilus_summary_view_destroy):
20700         Rolling back gconf evil that seems to be causing the production runs
20701         of the summary to segfault.
20703 2000-10-26  Rebecca Schulman  <rebecka@eazel.com>
20704         Fixed the panel menu item to launch the desktop
20705         and one nautilus window, starting at the user's 
20706         home directory by default.  To do this, we created
20707         a new script called launch-nautilus.  Ramiro 
20708         recommended some changes to run-nautilus that
20709         I also did.
20711         * nautilus.desktop:
20712         Changed run-nautilus to launch-nautilus
20713         * nautilus.spec.in:
20714         Changed run-nautilus to launch-nautilus,
20715         since run-nautilus won't be needed in the
20716         rpm
20717         * src/Makefile.am:
20718         added launch-nautilus to the build
20719         * src/launch-nautilus:
20720         * src/run-nautilus:
20721         removed the mozilla environment 
20722         LD_LIBRARY_PATH hacks.
20723         
20724         * user-guide/C/sgml/chapter-1.sgml:
20725         Corrected an HTML error.
20728 2000-10-26  J Shane Culpepper  <pepper@eazel.com>
20730         * components/services/summary/nautilus-view/nautilus-summary-view.c
20731         : (generate_summary_form), (nautilus_summary_view_load_uri),
20732         (merge_bonobo_menu_items):
20733         * src/nautilus-window-service-ui.c: (goto_online_storage),
20734         (goto_software_catalog):
20736         Fixing exported function name used from ammonite.
20738 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20740         fixed bug 2814, move "built-in bookmarks" checkbox from the
20741         edit bookmarks window to preferences/navigation.
20742         
20743         * libnautilus-extensions/nautilus-global-preferences.c:
20744         (global_preferences_create_dialog), (global_preferences_register):
20745         added a checkbox to control the "hide built-in bookmarks" preference
20746         * libnautilus-extensions/nautilus-global-preferences.h:
20747         renamed preference path so the built-in bookmarks preference can
20748         be in the preferences window
20749         * src/nautilus-bookmarks-window.c: (create_bookmarks_window),
20750         (repopulate):
20751         removed the built-in bookmarks checkbox from the edit bookmarks
20752         window
20753         
20754 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20756         added a new theme from Susan
20757         
20758         * configure.in:
20759         * icons/Makefile.am:
20760         * icons/villanova/.cvsignore:
20761         * icons/villanova/Makefile.am:
20762         * icons/villanova/villanova.xml:
20763         * icons/villanova/*.png:
20764         
20765 2000-10-26  Pavel Cisler  <pavel@eazel.com>
20767         * librsvg/Makefile.am:
20768         fix the build.
20769         Checking in for Ramiro.
20771 2000-10-26  Darin Adler  <darin@eazel.com>
20773         Fix bug 4052 (sidebar file count is not updated as settings are
20774         changed).
20775         
20776         * libnautilus-extensions/nautilus-directory-async.c:
20777         (dequeue_pending_idle_callback): Add a missing call to
20778         nautilus_file_changed.
20780 2000-10-26  J Shane Culpepper  <pepper@eazel.com>
20782         * components/services/summary/nautilus-view/nautilus-summary-view.c
20783         : (generate_summary_form), (generate_update_news_entry_row),
20784         (nautilus_summary_view_load_uri):
20786         Adding debug prints to locate optimized build crash in the summary view.
20788 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20790         moved the eazel throbber into the default theme; moved Arlo's throbber
20791         into his theme and restored the generic throbber to the gnome theme.
20792         Updated the theme files to reflect this.
20793         
20794         * configure.in:
20795         * icons/ardmore/ardmore.xml:
20796         * icons/arlo/Makefile.am:
20797         * icons/arlo/arlo.xml:
20798         * icons/arlo/throbber/.cvsignore:
20799         * icons/arlo/throbber/Makefile.am:
20800         * icons/default.xml:
20801         * icons/eazel/Makefile.am:
20802         * icons/eazel/eazel.xml:
20803         * icons/gnome/Makefile.am:
20804         * icons/gnome/gnome.xml:
20805         * icons/gnome/throbber/.cvsignore:
20806         * icons/gnome/throbber/Makefile.am:
20807         * icons/throbber/Makefile.am:
20809 2000-10-26  Darin Adler  <darin@eazel.com>
20811         Fix bug 3998 (Move to Trash crashes Nautilus if item with that
20812         name already in trash).
20814         * libnautilus-extensions/nautilus-directory.c:
20815         (nautilus_directory_notify_files_moved): Change the sequence so
20816         that the renaming doesn't try to update the file hash twice.
20817         
20818         * src/file-manager/fm-icon-view.c: (compute_menu_item_info):
20819         Handle NULL icon container case. This case happened to Will while
20820         testing.
20821         
20822         * src/file-manager/fm-directory-view.c: (load_directory): Fix
20823         GList leak.
20824         * src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Fix
20825         string leak.
20826         * src/nautilus-window-menus.c: (append_bookmark_to_menu): Fix
20827         GdkPixbuf ref. leak.
20829         * libnautilus-extensions/nautilus-user-level-manager.c:
20830         (user_level_set_default_if_needed): Tiny coding style change.
20831         
20832 2000-10-26  Rebecca Schulman  <rebecka@eazel.com>
20834         * nautilus.spec.in:  Moved the spec file entry
20835         from the binaries section to the data section,
20836         so the manual files' permissions will be set
20837         correctly, and changed *.sgml to * so
20838         we'll get the associated .css files (they're
20839         style sheets, I think?) and the images 
20840         installed, too.
20842 2000-10-26  Mathieu Lacage  <mathieu@eazel.com>
20844         * nautilus.spec.in: add sgml files in rpms
20846 2000-10-26  Michael Engber  <engber@eazel.com>
20848         * libnautilus-extensions/nautilus-file-operations.c:
20849         (get_link_name), (make_next_duplicate_name):
20850         Link names weren't properly escaped causing them not to
20851         get selected.
20853         * src/file-manager/fm-directory-view.c: (copy_move_done_callback),
20854         (new_folder_done),
20855         (fm_directory_view_trash_state_changed_callback):
20856         added asserts
20858 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20860         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
20861         (footer_destroy), (label_enter_event), (label_leave_event),
20862         (image_enter_event), (image_leave_event),
20863         (prelight_data_free_callback), (image_add_prelighting),
20864         (label_add_prelighting), (footer_item_new):
20865         Final arlification touches.  Make the footer item's left and right
20866         bumpers prelight as well.
20867         
20868 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20870         * components/mozilla/nautilus-mozilla-content-view.c:
20871         (mozilla_is_uri_handled_by_nautilus):
20872         Add "gnome-help" and "ghelp" to the list of uris handled by
20873         Nautilus as requested by Ali.
20874         
20875 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20877         * librsvg/Makefile.am:
20878         Add LIBPNG to test program link line.  It was breaking for me.
20879         
20880 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20882         * components/services/nautilus-dependent-shared/shared-service-utilities.c:
20883         * components/services/nautilus-dependent-shared/shared-service-utilities.h:
20884         * components/services/nautilus-dependent-shared/shared-service-widgets.c:
20885         * components/services/nautilus-dependent-shared/shared-service-widgets.h:
20886         Remove a bunch of unused code.  Also removed 'go_to_uri()' which
20887         does the exact same thing (and nothing more) than
20888         'nautilus_view_open_location()'.  Use that directly instead.
20890         * components/services/install/nautilus-view/nautilus-service-install-view.c:
20891         (show_dialog_and_run_away),
20892         (nautilus_service_install_view_update_from_uri):
20893         * components/services/inventory/nautilus-view/nautilus-inventory-view.c:
20894         (gather_config_button_cb), (register_later_cb),
20895         (make_http_post_request):
20896         * components/services/login/nautilus-view/nautilus-change-password-view.c:
20897         (authn_succeeded), (maintenance_button_cb):
20898         Tiny bit of 'go_to_uri' cleanup.
20899         
20900         * components/services/summary/nautilus-view/nautilus-summary-view.c
20901         : (logged_in_callback), (logged_out_callback),
20902         (preferences_button_cb), (register_button_cb), (goto_service_cb),
20903         (goto_update_cb), (error_dialog_cancel_cb),
20904         (footer_item_clicked_callback):
20905         Add #defines for magical uris and 'go_to_uri' cleanup.
20907 2000-10-26  Ramiro Estrugo  <ramiro@eazel.com>
20909         * components/mozilla/main.c: (main):
20910         Dont need to check the mozilla environment anymore.
20911         
20912 2000-10-26  Mathieu Lacage  <mathieu@eazel.com>
20914         Fix bug 2571: action not computed corected for dnd in list view.
20915         Also, the dnd in list view should be slightly nicer now :)
20916         * libnautilus-extensions/nautilus-gtk-extensions.c:
20917         (nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_INT), space
20918         (nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER_INT_INT
20919         _UINT): brand new function for brand new signal as below :)
20920         * libnautilus-extensions/nautilus-gtk-extensions.h: prototype.
20921         
20922         * libnautilus-extensions/nautilus-list.c:
20923         (nautilus_list_initialize_class), 
20924         (nautilus_list_get_drop_action):
20925         * libnautilus-extensions/nautilus-list.h:
20926         Add signal get_default_action, remove old code to compute
20927         default action...
20929         * src/file-manager/fm-list-view.c:
20930         (nautilus_list_find_icon_list_drop_target),
20931         (fm_list_get_default_action), (set_up_list):
20932         connect to new signal, move old code to there, cleanup, finish.
20934 2000-10-26  Andy Hertzfeld  <andy@eazel.com>
20936         * components/music/nautilus-music-view.c: (selection_callback),
20937         (add_play_controls), (nautilus_music_view_set_album_image),
20938         (nautilus_music_view_update):
20939         minimized flashing in the music view by fixing the size of the
20940         song label and play time, since it was relaying everything out
20941         when they changed.
20942         
20943 2000-10-26  Mathieu Lacage  <mathieu@eazel.com>
20945         Make prelighted icons not prelighted when you leave the list 
20946         view without dropping. Also, move the actual prelighting
20947         operation from fm-list-view to nautilus-list.
20948         Also, remove FIXME about this bug since it is fixed.
20949         * libnautilus-extensions/nautilus-list.c:
20950         (nautilus_list_drag_leave),
20951         (nautilus_list_find_icon_list_drop_target),
20952         (nautilus_list_prelight_if_necessary):
20953         * src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
20955 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
20957         * components/mozilla/Makefile.am:
20958         Fix bug 4031.  Mozilla component wont run cause of unresolved
20959         symbols.  Link in the standard location of Mozilla
20960         (/usr/lib/mozilla) to make it always work without having to mess
20961         with environment stuff.
20962         
20963 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
20965         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
20966         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
20967         (footer_item_new), (eazel_services_footer_update):
20968         * components/services/nautilus-dependent-shared/eazel-services-header.c:
20969         (eazel_services_header_new):
20970         Move more constants to shared place.
20971         
20972 2000-10-26  Mathieu Lacage  <mathieu@eazel.com>
20974         * libnautilus-extensions/nautilus-drag.c: spaces...
20975         * libnautilus-extensions/nautilus-list.c:
20976         (nautilus_list_drag_start), 
20977         (nautilus_list_drag_leave): spaces.
20978         * src/file-manager/fm-list-view.c: 
20979         (fm_list_receive_dropped_icons): make dnd work in list 
20980         view by removing some old code from there which was made 
20981         useless by some recent changes in teh copy/move code...
20983 2000-10-25  Mike Fleming  <mfleming@eazel.com>
20985         * components/mozilla/nautilus-mozilla-content-view.c:
20986         (eazel_services_scheme_untranslate):
20988         Fix 3969; Untranslating eazel-services URI's works
20989         correctly for non-default users.
20991 2000-10-25  John Sullivan  <sullivan@eazel.com>
20993         Fixed problems that were causing crash when Services button pressed.
20995         * libnautilus-extensions/nautilus-directory-async.c:
20996         (load_directory_done), (dequeue_pending_idle_callback):
20997         Was missing several NULL checks.
20999 2000-10-25  Robey Pointer  <robey@eazel.com>
21001         * components/services/install/nautilus-view/nautilus-service-instal
21002         l-view.c: (generate_install_form), (show_dialog_and_run_away):
21004         A few quick tweaks to make the installer screenshot-worthy, and to
21005         fix a possible case where it would switch to a new URI before it
21006         had told nautilus it was done loading.  (I think that was
21007         confusing Nautilus in some corner cases.)
21008         
21009         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
21010         (wipe_redirect_table), (add_redirect),
21011         (trilobite_redirect_lookup):
21013         Add "/" back to the keys when adding and removing, since otherwise
21014         we end up with a big blob of evil-named keys.  Fix the bug that
21015         the missing "/" was hiding: namely, that mass-removing keys had
21016         stopped working after the gconf upgrade.
21017         
21018 2000-10-25  Mike Fleming  <mfleming@eazel.com>
21020         * components/mozilla/main.c: (run_test_cases), (main):
21021         * components/mozilla/nautilus-mozilla-content-view.c:
21022         (is_uri_partial), (make_full_uri_from_relative),
21023         (mozilla_dom_mouse_click_callback),
21024         (test_make_full_uri_from_relative):
21026         Fix bugzilla.eazel.com 3949.  Better (but still not perfect) 
21027         support for relative URI's.  The cases that aren't handled are rarely
21028         encountered in my experiance.  I'd make it perfect, but I just
21029         don't have time right now.
21030         Also added self-test.
21032 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
21034         * components/services/nautilus-dependent-shared/eazel-services-extensions.c:
21035         (eazel_services_label_new):
21036         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
21037         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
21038         (footer_item_new), (eazel_services_footer_update):
21039         * components/services/nautilus-dependent-shared/eazel-services-header.c:
21040         (eazel_services_header_new):
21041         Place the font families, weights and sizes in the header file so
21042         that Arlo can arloify them.
21043         
21044 2000-10-25  Darin Adler  <darin@eazel.com>
21046         * libnautilus-extensions/nautilus-directory-private.h:
21047         * libnautilus-extensions/nautilus-directory.h:
21048         * libnautilus-extensions/nautilus-file-private.h:
21049         * libnautilus-extensions/nautilus-directory-async.c: (istr_equal),
21050         (istr_hash), (istr_set_new), (istr_set_insert), (add_istr_to_list),
21051         (istr_set_get_as_list), (istr_set_destroy): New set of functions
21052         for manipulating a set of case-insensitive strings (private for
21053         now).
21054         (mime_list_cancel): Change to use the istr_set.
21055         (get_filter_options_for_directory_count): Moved up so it can be
21056         used by the directory load code.
21057         (load_directory_done): Common function to use when a load is
21058         completed or cancelled.
21059         (dequeue_pending_idle_callback): Update file count and MIME list
21060         as well as just loading the files.
21061         (should_get_directory_count): New cover that takes into account
21062         the fact that a directory load is already getting the count.
21063         (should_get_mime_list): New cover that takes into account
21064         the fact that a directory load is already getting the MIME list.
21065         (start_monitoring_file_list): Set up more stuff since a load
21066         does a lot more now.
21067         (directory_count_start): Don't start a directory count if we are
21068         already loading the directory's file list.
21069         (mime_list_one), (mime_list_callback), (mime_list_load): Change to
21070         use the istr_set. Also removed some code that set variables that
21071         were never used.
21072         (mime_list_start): Don't start a MIME list if we are already
21073         loading the directory's file list.
21075         * components/adapter/Makefile.am:
21076         * components/hardware/Makefile.am:
21077         * components/html/Makefile.am:
21078         * components/loser/content/Makefile.am:
21079         * components/loser/sidebar/Makefile.am:
21080         * components/mozilla/Makefile.am:
21081         * components/music/Makefile.am:
21082         * components/rpmview/Makefile.am:
21083         * components/sample/Makefile.am:
21084         * components/services/install/command-line/Makefile.am:
21085         * components/services/install/lib/Makefile.am:
21086         * components/services/install/nautilus-view/Makefile.am:
21087         * components/services/install/server/Makefile.am:
21088         * components/services/inventory/lib/Makefile.am:
21089         * components/services/inventory/nautilus-view/Makefile.am:
21090         * components/services/login/nautilus-view/Makefile.am:
21091         * components/services/nautilus-dependent-shared/Makefile.am:
21092         * components/services/summary/lib/Makefile.am:
21093         * components/services/summary/nautilus-view/Makefile.am:
21094         * components/services/time/command-line/Makefile.am:
21095         * components/services/time/nautilus-view/Makefile.am:
21096         * components/services/time/service/Makefile.am:
21097         * components/services/trilobite/libtrilobite/Makefile.am:
21098         * components/services/trilobite/sample/command-line/Makefile.am:
21099         * components/services/trilobite/sample/lib/Makefile.am:
21100         * components/services/trilobite/sample/nautilus-view/Makefile.am:
21101         * components/services/trilobite/sample/service/Makefile.am:
21102         * components/services/vault/command-line/Makefile.am:
21103         * components/tree/Makefile.am:
21104         * helper-utilities/authenticate/Makefile.am:
21105         * nautilus-installer/src/Makefile.am:
21106         Changed all use of CPPFLAGS to use INCLUDES instead as it says in
21107         the automake documentation.
21108         
21109         * libnautilus-extensions/nautilus-glib-extensions.h: Reformatting.
21110         * libnautilus-extensions/nautilus-glib-extensions.c:
21111         (nautilus_g_hash_table_remove_deep_custom),
21112         (nautilus_g_hash_table_remove_deep), (destroy_deep_helper),
21113         (nautilus_g_hash_table_destroy_deep_custom): Reformatting.
21115 2000-10-25  Michael Engber  <engber@eazel.com>
21117         * libnautilus-extensions/nautilus-file-operations.c:
21118         (new_folder_xfer_callback):
21119         new_folder_xfer_callback was not escaping the space in
21120         duplicate_name, this was causing us to not recognize
21121         second and subsequent new folders (& select them).
21122         * src/file-manager/fm-directory-view.c: (copy_move_done_callback):
21123         moved free call to better spot
21125 2000-10-25  J Shane Culpepper  <pepper@eazel.com>
21127         * src/nautilus-window-service-ui.c: (goto_online_storage):
21129         Fixing url string.  Had one too many slashes.
21131 2000-10-25  John Sullivan  <sullivan@eazel.com>
21133         Fixed various usability problems with the services log-in
21134         dialog that I ran into. Some coding tweaks too.
21136         * components/services/summary/nautilus-view/nautilus-summary-view.c:
21137         (generate_error_dialog): move cast to cause fewer of them
21138         (name_or_password_field_activated): New function, auto-clicks the
21139         OK button if the password row is activated.
21140         (generate_login_dialog): move cast to cause fewer of them; use
21141         #defines for button indices and row numbers; changed "Opps" to
21142         "Oops" (Oops!); set default button to OK button; wire up
21143         name_or_password_field_activated; start with focus in Name field.
21145 2000-10-25  J Shane Culpepper  <pepper@eazel.com>
21147         * components/services/summary/nautilus-view/nautilus-summary-view.c
21148         : (generate_summary_form), (nautilus_summary_view_load_uri),
21149         (merge_bonobo_menu_items):
21150         * src/Makefile.am:
21151         * src/nautilus-window-service-ui.c: (goto_online_storage),
21152         (goto_software_catalog):
21154         Fixing the services menu items to go to correct locations.
21156 2000-10-25  Eskil Heyn Olsen  <eskil@eazel.com>
21158         * components/services/install/lib/eazel-install-query.c:
21159         Fixed a include problem.
21160         * components/services/install/lib/eazel-install-rpm-glue.h:
21161         Added /me to authors
21163 2000-10-25  Robey Pointer  <robey@eazel.com>
21165         * components/services/install/lib/eazel-install-types.c:
21166         (categorydata_new):
21167         * components/services/install/lib/eazel-install-types.h:
21168         * components/services/install/lib/eazel-install-xml-package-list.c:
21169         (parse_category):
21170         * nautilus-installer/src/installer.c:
21171         (eazel_installer_add_category):
21173         Add <DEFAULT/> option to the package list XML file, and make all
21174         default choices be pre-clicked when the user gets to the selection
21175         page.
21177 2000-10-25  Darin Adler  <darin@eazel.com>
21179         * src/nautilus-applicable-views.c: (nautilus_navigation_info_new),
21180         (nautilus_navigation_info_free),
21181         (nautilus_navigation_info_get_location): Changed to store the
21182         location URI separate from the NautilusFile object. NautilusFile
21183         was munging URLs that had queries in them, causing big problems
21184         for the software catalog among other things. This is a good
21185         short-term fix.
21187 2000-10-25  Eskil Heyn Olsen  <eskil@eazel.com>
21189         * components/services/install/lib/eazel-install-query.c:
21190         (eazel_install_simple_rpm_query):
21191         Don't bomb out when db cannot be accessed.
21193 2000-10-25  Michael Engber  <engber@eazel.com>
21195         * libnautilus-extensions/nautilus-list.c:
21196         (nautilus_list_set_selection):
21197         nautilus_list_set_selection used to pass a bogus NautilusCListRow*
21198         to row_set_selected
21199         
21200         * src/file-manager/fm-directory-view.c:
21201         (fm_directory_view_new_folder):
21202         whitespace change
21204         * src/file-manager/fm-list-view.c:
21205         comment corrected
21207 2000-10-25  Darin Adler  <darin@eazel.com>
21209         * components/adapter/bonobo-stream-vfs.c: (vfs_get_info),
21210         (vfs_set_info), (vfs_write), (vfs_read), (vfs_seek), (vfs_copy_to),
21211         (vfs_commit), (vfs_revert), (vfs_destroy),
21212         (bonobo_stream_vfs_class_init), (bonobo_stream_vfs_open):
21213         Update for changes to the BonoboStream class. Also did a thorough code
21214         review, fixed some small bugs, and added a bunch of FIXMEs for things
21215         that are broken.
21217 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
21219         * components/services/nautilus-dependent-shared/eazel-services-constants.h:
21220         Removed.  It was a bad try.  Stuff is now in eazel-services-extensions.h.
21221         
21222         * components/services/nautilus-dependent-shared/Makefile.am:
21223         * components/services/nautilus-dependent-shared/eazel-services-extensions.c:
21224         (pixbuf_new_from_name), (eazel_services_image_new),
21225         (eazel_services_label_new):
21226         * components/services/nautilus-dependent-shared/eazel-services-extensions.h:
21227         Add a place to put shared services extensions.
21228         
21229         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
21230         (footer_item_new), (footer_remainder_new),
21231         (eazel_services_footer_update):
21232         * components/services/nautilus-dependent-shared/eazel-services-header.c:
21233         (eazel_services_header_new):
21234         * components/services/nautilus-dependent-shared/test-footer-header.c:
21235         Remove a bunch of duplicated code and put it in a shared
21236         extensions location.  Make the footer real.  Add an item_clicked
21237         signal to the footer.
21239         * components/services/summary/nautilus-view/nautilus-summary-view.c:
21240         Hook up the footer for item clicks.
21241         
21242         * libnautilus-extensions/nautilus-image.c:
21243         (nautilus_image_new_loaded):
21244         * libnautilus-extensions/nautilus-image.h:
21245         * libnautilus-extensions/nautilus-label.c:
21246         (nautilus_label_new_loaded):
21247         * libnautilus-extensions/nautilus-label.h:
21248         Add constructors that take a bunch of arguments for the various
21249         widgets attributes.  Makes the widgets easier to use for callers
21250         that need to tweak many attributes (like eazel services).
21251         
21252 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
21254         * components/services/nautilus-dependent-shared/.cvsignore:
21255         * components/services/nautilus-dependent-shared/Makefile.am:
21256         * components/services/nautilus-dependent-shared/eazel-services-constants.h:
21257         * components/services/nautilus-dependent-shared/eazel-services-footer.c:
21258         (eazel_services_footer_initialize_class),
21259         (eazel_services_footer_initialize), (footer_destroy),
21260         (pixbuf_new_from_name), (label_new), (label_enter_event),
21261         (label_leave_event), (label_button_press_event), (label_free_data),
21262         (label_free_uri), (image_new), (image_new_from_name),
21263         (buffered_widget_add_prelighting), (footer_item_new),
21264         (footer_remainder_new), (eazel_services_footer_new),
21265         (eazel_services_footer_update):
21266         * components/services/nautilus-dependent-shared/eazel-services-footer.h:
21267         * components/services/nautilus-dependent-shared/eazel-services-header.c:
21268         (eazel_services_header_initialize_class),
21269         (eazel_services_header_initialize), (header_destroy),
21270         (pixbuf_new_from_name), (label_new), (image_new),
21271         (image_new_from_name), (eazel_services_header_new),
21272         (eazel_services_header_set_text):
21273         * components/services/nautilus-dependent-shared/eazel-services-header.h:
21274         Two new widgets to deal with services views headers and footers.
21275         
21276         * components/services/install/nautilus-view/nautilus-service-install-view.c:
21277         (generate_install_form):
21278         * components/services/login/nautilus-view/nautilus-change-password-view.c:
21279         (generate_change_password_form):
21280         * components/services/summary/nautilus-view/nautilus-summary-view.c:
21281         (generate_summary_form):
21282         Use the new footer and header widgets.
21283         
21284         * components/services/nautilus-dependent-shared/shared-service-widgets.c:
21285         * components/services/nautilus-dependent-shared/shared-service-widgets.h:
21286         Retire some old code.
21288         * components/services/nautilus-dependent-shared/test-footer-header.c:
21289         (delete_event), (main):
21290         Add a test for the new header and footer widgets.
21291         
21292 2000-10-25  Ramiro Estrugo  <ramiro@eazel.com>
21294         * libnautilus-extensions/nautilus-label.c:
21295         (nautilus_label_size_request), (render_buffer_pixbuf):
21296         Make sure text layout honors the vertical and horizontal offsets.
21298         (nautilus_scalable_font_draw_text):
21299         * test/test-nautilus-image.c: (label_new), (label_enter_event),
21300         (label_leave_event), (label_free_data),
21301         (buffered_widget_add_prelighting), (header_new), (footer_item_new),
21302         (footer_remainder_new), (footer_new), (main):
21303         More work on prelighting footers.
21304         
21305 2000-10-25  Andy Hertzfeld  <andy@eazel.com>
21307         * components/services/nautilus-dependent-shared/shared-service-widg
21308         ets.c: (create_image_widget), (create_image_widget_from_uri):
21309         fixed bug where local images were not showing up in the summary
21310         view.
21311         
21312 2000-10-24  Andy Hertzfeld  <andy@eazel.com>
21314         worked on bug 3898, selection in the aa icon view is too slow.
21315         Fixed by using a fill to make the selection pixbuf with some tiny
21316         blits for the rounded corners, instead of stretching a pixbuf.
21317         Also, made the selection color themable in the process.
21318         
21319         * libnautilus-extensions/nautilus-icon-canvas-item.c:
21320         (clear_rounded_corners), (draw_label_text_aa):
21321         make the selection pixbuf with a fill and then some
21322         blits for the corner.
21323         * libnautilus-extensions/nautilus-icon-container.c:
21324         (nautilus_icon_container_initialize), (icon_destroy),
21325         (nautilus_icon_container_set_is_fixed_size),
21326         (nautilus_icon_container_theme_changed):
21327         made it read the selection color from the current theme
21328         * libnautilus-extensions/nautilus-icon-private.h:
21329         added a field to keep the selection color w/alpha.
21330         * icons/default.xml:
21331         added semi-transparent gray selection color to default theme.
21332         
21333 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21335         * libnautilus-extensions/nautilus-buffered-widget.c:
21336         Remove a bunch of extraneous includes.
21337         
21338 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21340         * components/services/nautilus-dependent-shared/icons/Makefile.am:
21341         Rename one of the icons.
21342         
21343         * test/test-nautilus-image.c: (delete_event), (icon_get_path),
21344         (pixbuf_new_from_name), (label_new), (label_enter_event),
21345         (label_leave_event), (label_new_with_prelight), (image_new),
21346         (image_new_from_name), (header_new), (footer_new), (main):
21347         Add better test for image and label widgets.
21348         
21349 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21351         * librsvg/Makefile.am:
21352         Fix the broken build.  Add missing header to sources.
21353         
21354 2000-10-24  Eskil Heyn Olsen  <eskil@eazel.com>
21356         * components/services/install/lib/eazel-install-logic.c:
21357         Moved a CORBA include, so EAZEL_INSTALL_NO_CORBA doesn't include
21358         it
21359         
21360         * components/services/time/command-line/main.c: (main):
21361         * components/services/time/idl/trilobite-eazel-time-service.idl:
21362         * components/services/time/nautilus-view/trilobite-eazel-time-view.
21363         c: (server_button_pressed), (timediff_button_pressed),
21364         (trilobite_eazel_time_view_initialize),
21365         (trilobite_eazel_time_view_destroy):
21366         * components/services/time/service/trilobite-eazel-time-service-pri
21367         vate.h:
21368         * components/services/time/service/trilobite-eazel-time-service.c:
21369         (impl_Trilobite_Eazel_Time_Service_set_time_server),
21370         (trilobite_eazel_time_service_get_epv),
21371         (trilobite_eazel_time_service_finalize),
21372         (trilobite_eazel_time_service_initialize_load_config),
21373         (get_nist_time), (trilobite_eazel_time_service_get_server_time):
21374         Revived the timeservice, made it use nist/ntp (defaults to
21375         nist1.sjc.certifiedtime.com). Uses code from gnuclear to do the
21376         actual nist parse.
21377         
21378         * nautilus-installer/src/Makefile:
21379         Yes.
21380         * nautilus-installer/src/installer.c: (start_over),
21381         (add_update_package), (eazel_install_preflight), (check_system),
21382         (more_check_system):
21383         Fixed the "will update eog && will remove eog" bug. Now it just
21384         say "will update eog x 2". Also checks for rh7.x and rpm v.4.x
21385         
21386         * nautilus-installer/src/prescript:
21387         Temporarily hacked prescript to run
21388         /h/public/bin/eazel-trilobite-configure (if present), and set
21389         nautilus to use gegl as services server.
21390         
21391         * nautilus.spec.in:
21392         Updated deps to ORBit >= 0.5.3 and oaf >= 0.6.0
21394 2000-10-24  Robey Pointer  <robey@eazel.com>
21396         * libnautilus-extensions/nautilus-directory-async.c:
21397         (mime_list_callback):
21399         Fix a typo that caused a failure to not report that it failed.
21401 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21403         * components/services/nautilus-dependent-shared/icons/Makefile.am:
21404         * components/services/nautilus-dependent-shared/icons/eazel-logo-left-side-repeat.png:
21405         * components/services/nautilus-dependent-shared/icons/eazel-logo-right-side-eazel-logo.png:
21406         * components/services/nautilus-dependent-shared/icons/summary-service-normal-fill.png:
21407         * components/services/nautilus-dependent-shared/icons/summary-service-normal-left-bumper.png:
21408         * components/services/nautilus-dependent-shared/icons/summary-service-normal-right-bumper.png:
21409         * components/services/nautilus-dependent-shared/icons/summary-service-prelight-fill.png:
21410         * components/services/nautilus-dependent-shared/icons/summary-service-prelight-left-bumper.png:
21411         * components/services/nautilus-dependent-shared/icons/summary-service-prelight-right-bumper.png:
21412         * components/services/nautilus-dependent-shared/icons/summary-service-remainder-fill.png:
21413         * components/services/nautilus-dependent-shared/icons/summary-service-remainder-left-bumper.png:
21414         * components/services/nautilus-dependent-shared/icons/summary-service-remainder-right-bumper.png:
21416         New icons for summary view.
21417         
21418 2000-10-24  Andy Hertzfeld  <andy@eazel.com>
21420         * components/services/summary/nautilus-view/nautilus-summary-view.c
21421         : (generate_summary_form), (generate_service_entry_row),
21422         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
21423         lots of layout tweaks to please Arlo; it's still not finished yet
21424         since I wasn't able to shrink the news section properly
21425         
21426         * libnautilus-extensions/nautilus-tabs.c:
21427         (nautilus_tabs_initialize), (draw_tab_label), (draw_all_tabs),
21428         (nautilus_tabs_prelight_tab), (nautilus_tabs_select_tab):
21429         changed font size, text spacing and prelight behaviour as
21430         specified by Arlo.
21431         
21432         * icons/eazel/Back.png:
21433         * icons/eazel/Forward.png:
21434         * icons/eazel/Home.png:
21435         * icons/eazel/Refresh.png:
21436         * icons/eazel/Search.png:
21437         * icons/eazel/SearchWeb.png: 
21438         * icons/eazel/Services.png:
21439         * icons/eazel/Stop.png:
21440         * icons/eazel/Up.png:
21442         updated Susan's toolbar icons
21443         
21444 2000-10-24  Arlo Rose  <arlo@eazel.com>
21446         * components/services/summary/nautilus-view/icons/
21447         gray_tab_pieces/prelight-active-bridge.png:
21448         Fixed a typo.
21450 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21452         * librsvg/Makefile.am:
21453         * librsvg/art_rgba.c: (art_rgba_rgba_composite),
21454         (art_rgba_fill_run), (art_rgba_run_alpha):
21455         * librsvg/art_rgba.h:
21456         * librsvg/rsvg.c:
21457         Make Raph's latest changes work with the old version of libart in
21458         gnome-libs-1-0.
21459         
21460 2000-10-24  Arlo Rose  <arlo@eazel.com>
21462         * icons/arlo/Makefile.am:
21463         * icons/arlo/i-directory.xml:
21464         * icons/arlo/emblem-nowrite-72.png:
21465         * icons/arlo/emblem-nowrite-96.png:
21466         Some old stuff I guess I never checked in...
21468         
21469         * components/services/summary/nautilus-view/icons/
21470         gray_tab_pieces/prelight-fill.png:
21471         * components/services/summary/nautilus-view/icons/
21472         gray_tab_pieces/active-prelight-bridge.png:
21473         * components/services/summary/nautilus-view/icons/
21474         gray_tab_pieces/prelight-active-bridge.png:
21475         * components/services/summary/nautilus-view/icons/
21476         gray_tab_pieces/prelight-right-bumper.png:
21477         * components/services/summary/nautilus-view/icons/
21478         gray_tab_pieces/prelight-left-bumper.png:
21479         Making the summary view tabs pre-light better.
21480         
21481 2000-10-24  Raph Levien  <raph@acm.org>
21483         * librsvg/rsvg.c: Implemented the "opacity" property for objects
21484         and groups. This makes rsvg render more SVG files exported from
21485         Adobe Illustrator 9 correctly and should make Arlo happy.
21487         * librsvg/opacity.svg: New test file including opacity examples.
21489 2000-10-24  J Shane Culpepper  <pepper@eazel.com>
21491         * components/services/summary/nautilus-view/nautilus-summary-view.c
21492         : (generate_update_news_entry_row), (authn_cb_failed),
21493         (login_button_cb), (generate_login_dialog),
21494         (nautilus_summary_view_load_uri):
21496         Adding login changes to the summary view.  Still needs a bit more
21497         work but looks better.
21499 2000-10-24  Michael Engber  <engber@eazel.com>
21501         * libnautilus-extensions/nautilus-glib-extensions.c:
21502         (nautilus_g_hash_table_remove_deep_custom),
21503         (nautilus_g_hash_table_destroy_deep_helper):
21504         These two fns now properly handle key == value (won't double free)
21506 2000-10-24  Michael Engber  <engber@eazel.com>
21508         * libnautilus-extensions/nautilus-file-operations.c:
21509         (handle_xfer_ok):
21510         * libnautilus-extensions/nautilus-glib-extensions.c:
21511         (nautilus_g_hash_table_remove_deep_custom),
21512         (nautilus_g_hash_table_remove_deep),
21513         (nautilus_g_hash_table_destroy_deep_helper),
21514         (nautilus_g_hash_table_destroy_deep_custom),
21515         (nautilus_g_hash_table_destroy_deep):
21516         * libnautilus-extensions/nautilus-glib-extensions.h:
21517         * src/file-manager/fm-directory-view.c: (debuting_uri_data_free):
21518         Fix embarrassing check-in sloppiness
21520 2000-10-24  Michael Engber  <engber@eazel.com>
21522         * libnautilus-extensions/nautilus-glib-extensions.c:
21523         (nautilus_g_hash_table_remove_deep_custom),
21524         (nautilus_g_hash_table_remove_deep),
21525         (nautilus_g_hash_table_free_deep_helper),
21526         (nautilus_g_hash_table_free_deep_custom),
21527         (nautilus_g_hash_table_free_deep):
21528         * libnautilus-extensions/nautilus-glib-extensions.h:
21529         Fixed APIs of new utils to match existing, similar, fns.
21531         * src/file-manager/fm-directory-view.c: (debuting_uri_data_free),
21532         (debuting_uri_add_file_callback), (copy_move_done_data_free),
21533         (pre_copy_move_add_file_callback), (copy_move_done_partition_func),
21534         (copy_move_done_callback):
21535         Icons now left selected after copy_move operation.
21537 2000-10-24  Brian Frank  <bfrank@eazel.com>
21539         * data/static_bookmarks.xml
21540         Updated bookmarks list to current links
21542 2000-10-24  Darin Adler  <darin@eazel.com>
21544         Some work towards reducing load_directory calls.
21546         Also fixed bug 3978 (Many Bonobo warnings/errors on quit).
21547         
21548         * libnautilus-extensions/nautilus-directory-async.c:
21549         (set_up_request_by_file_attributes),
21550         (update_file_info_in_list_if_needed),
21551         (dequeue_pending_idle_callback), (request_is_satisfied),
21552         (get_info_callback), (file_info_start):
21553         * libnautilus-extensions/nautilus-directory-private.h:
21554         * libnautilus-extensions/nautilus-file-attributes.h:
21555         * libnautilus-extensions/nautilus-file-private.h:
21556         * libnautilus-extensions/nautilus-file.c:
21557         (nautilus_file_new_from_info), (destroy),
21558         (nautilus_file_update_info), (nautilus_file_update_name),
21559         (nautilus_file_compare_by_type),
21560         (nautilus_file_get_string_attribute), (get_description),
21561         (update_description_for_link), (nautilus_file_get_type_as_string),
21562         (nautilus_file_get_mime_type), (nautilus_file_is_mime_type),
21563         (nautilus_file_check_if_ready):
21564         * libnautilus-extensions/nautilus-file.h:
21565         * libnautilus-extensions/nautilus-mime-actions.c:
21566         (nautilus_mime_actions_get_required_file_attributes),
21567         (nautilus_mime_get_default_action_type_for_file),
21568         (nautilus_mime_get_default_application_for_file_internal),
21569         (nautilus_mime_get_default_component_for_file_internal),
21570         (nautilus_mime_get_short_list_applications_for_file),
21571         (nautilus_mime_get_short_list_components_for_file),
21572         (nautilus_mime_get_short_list_methods_for_file),
21573         (nautilus_mime_get_all_applications_for_file),
21574         (nautilus_mime_get_all_components_for_file),
21575         (nautilus_mime_set_short_list_applications_for_file),
21576         (nautilus_mime_set_short_list_components_for_file):
21577         Get rid of the distinction between slow and default MIME type once
21578         again. We (Pavel, Maciej, John, and I) decided it's better not to
21579         have multiple opinions on the MIME type, despite our original idea
21580         that we needed the slow MIME type for some things, even on remote
21581         file systems.
21582         
21583         * libnautilus-extensions/nautilus-glib-extensions.h:
21584         Fixed the formatting in this file.
21585         
21586         * src/file-manager/fm-directory-view.c: (load_location_callback):
21587         Only force a reload if we are reloading the same directory. This
21588         is needed to take advantage of the loading already done for us by
21589         the framework.
21590         (load_directory): Take a NautilusDirectory instead of a URI string.
21591         Also take a boolean parameter to control if we force a reload.
21592         (finish_loading_uri): Respect the boolean parameter that tells us
21593         whether to force a reload.
21594         (filtering_changed_callback): Use the new load_directory.
21595         
21596         * src/nautilus-applicable-views.c: (nautilus_navigation_info_new),
21597         (nautilus_navigation_info_cancel), (nautilus_navigation_info_free):
21598         Monitor the directory while we are loading the component. We
21599         already need to load the directory to get the MIME types, so this
21600         does no additional harm, and it prepares us to consolidate the
21601         loading done for different reasons.
21602         
21603         * src/nautilus-main.c: (main): Use nautilus_setenv instead of
21604         putenv, since it's more portable.
21605         
21606         * src/nautilus-window-manage-views.c: Quick simplification pass on
21607         state machine. Got rid of the use of varargs and renamed a bunch
21608         of things.
21609         
21610         * src/nautilus-window-manage-views.h:
21611         * src/nautilus-window-private.h:
21612         Moved external functions from nautilus-window-manage-views.c to
21613         all be in nautilus-window-manager-views.h. This is one step in
21614         reducing the number of clients that need access to private stuff
21615         in NautilusWindow.
21616         
21617         * src/nautilus-window-service-ui.c: (detach_service_ui),
21618         (nautilus_window_install_service_ui): Detach the service UI on
21619         "destroy" rather that using set_data_full, because finalize time
21620         is too late.
21622         * src/nautilus-view-frame.c: (nautilus_view_frame_destroy):
21623         Got rid of extra unref that was messing things up here.
21624         
21625 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21627         * components/mozilla/nautilus-mozilla-content-view.c:
21628         (uris_are_equal), (nautilus_mozilla_content_view_load_uri):
21629         Fix for bug 3908.  Browsing to web documents deeper than the root
21630         is broken.  I fixed it by backing out my previous broken fix for
21631         "reloading" a web page.  There is a separate bug for the reload
21632         issue which ill fix properly later.
21633         
21634 2000-10-24  Ramiro Estrugo  <ramiro@eazel.com>
21636         * configure.in:
21637         Make the require rpm version be 3.0.4 or greater.  Not just 3.0.4.
21638         
21639 2000-10-24  Andy Hertzfeld  <andy@eazel.com>
21641         added new certified emblem from Susan
21642         
21643         * data/emblems/Makefile.am:
21644         * data/emblems/certified.png:
21645         added certified.png
21646         * icons/Makefile.am:
21647         * icons/emblem-certified.svg:
21648         added emblem-certified.svg, removed emblem-certified.gif
21650 2000-10-23  Pavel Cisler  <pavel@eazel.com>
21652         * libnautilus-extensions/nautilus-file-operations.c:
21653         (parse_previous_duplicate_name),
21654         (nautilus_self_check_file_operations):
21655         Fix 3971 - "duplicate" from context-click menu adds space to
21656         beginning of the name.
21657         This was a case of misinterpretting files such as ".bashrc" as
21658         an extension.
21659         Added tests that catch this problem and fixed it. 
21661 2000-10-24  Josh Barrow  <josh@eazel.com>
21663         * nautilus.spec.in:
21664         Make it require 3.0.4 or *greater*.  I'm using 3.0.5 and it 
21665         works fine.
21667 2000-10-23  Robey Pointer  <robey@eazel.com>
21669         * components/services/install/lib/eazel-install-types.c:
21670         (categorydata_new):
21671         * components/services/install/lib/eazel-install-types.h:
21672         * components/services/install/lib/eazel-install-xml-package-list.c:
21673         (parse_category):
21674         * nautilus-installer/src/installer.c: (strip_categories),
21675         (start_over_make_category_func), (start_over),
21676         (jump_to_retry_page), (add_force_packages), (add_force_remove),
21677         (add_update_package), (toggle_button_toggled),
21678         (eazel_installer_add_category), (eazel_installer_do_install):
21680         add <EXCLUSIVE/> tag to categories in package-list.xml to indicate
21681         that a category can't be selected with any other category (it's
21682         mutually exclusive with them).  added puppet-strings to the
21683         bootstrap installer to support that.
21684         
21685 2000-10-23  Eskil Heyn Olsen  <eskil@eazel.com>
21687         * user-guide/C/Makefile.am:
21688         Fixing tinderbox build.
21689         
21690 2000-10-23  Eskil Heyn Olsen  <eskil@eazel.com>
21692         * configure.in:
21693         Some code to test for rpm version. We require 3.0.4. If it fucks
21694         up, feel free to revert.
21695         
21696         * components/services/install/lib/eazel-install-private.h:
21697         * components/services/install/lib/eazel-install-object.c:
21698         Moved the DEFAULT_RPM_DB_ROOT into -private.h
21699         
21700         * components/services/install/lib/eazel-install-query.c:
21701         (eazel_install_simple_rpm_query):
21702         Code so you can call the query function directly
21703         (EAZEL_INSTALL_SLIM/NO_CORBA)
21704         
21705         * components/services/install/lib/eazel-install-types.c:
21706         (packagedata_fill_from_rpm_header):
21707         Moved support for rpm < 3.0.4
21708         
21709         * nautilus-installer/src/Makefile:
21710         * nautilus-installer/src/callbacks.c: (begin_install):
21711         * nautilus-installer/src/installer.c: (insert_info_page),
21712         (create_window), (check_system), (more_check_system),
21713         (eazel_installer_initialize):
21714         If eazel-hacking is installed, offer to remove it.
21715         
21716 2000-10-23  Mike Fleming  <mfleming@eazel.com>
21718         * components/services/summary/nautilus-view/main.c: (main):
21719         Add gconf-init
21720         
21721         * components/services/summary/nautilus-view/nautilus-summary-view.c
21722         : (save_default_eazel_service_user), (authn_cb_succeeded),
21723         (am_i_logged_in), (logged_in_callback),
21724         (nautilus_summary_view_initialize),
21725         (nautilus_summary_view_destroy):
21727         Store previously used Eazel Service user for later.  The ammonite
21728         login dialog makes use of this as the default username.
21729         
21731 2000-10-23  Robey Pointer  <robey@eazel.com>
21733         * components/services/install/lib/eazel-install-types.c:
21734         (packagedata_fill_from_rpm_header):
21736         Fix a few warnings that show up on older rpmlibs.
21738 2000-10-23  Pavel Cisler  <pavel@eazel.com>
21740         Last part of fix to 2989 - Disk thrashing on Nautilus startup.
21741         * libnautilus-extensions/nautilus-trash-directory.c: (add_volume):
21742         When starting up, don't try to create a Trash up-front, just search
21743         for existing Trash directories. The first time Nautilus ever runs,
21744         this will still take the same ammount of time, the next time it
21745         will use the cached entries.
21747         * src/file-manager/fm-directory-view.c:
21748         (fm_directory_view_can_move_file_to_trash):
21749         Trash monitor no longer creates Trash directories on startup.
21750         Create them lazily when trying to move an item to the Trash.
21752 2000-10-23  Mathieu Lacage  <mathieu@eazel.com>
21754         * user-guide/C/Makefile.am: make it install files for real...
21756 2000-10-23  Gene Z. Ragan  <gzr@eazel.com>
21758         Fixed bug 1945, Image viewer component does not display XPMs
21759         Fixed bug 1964, doesn't load xpm images using the loader framework.
21760         
21761         * components/image-viewer/nautilus-image-view.c:
21762         (load_image_from_stream):
21763         Fixed some leaks and call close on the loader to fix TIFF and XPM loading.
21764         
21765         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
21766         (nautilus_gdk_pixbuf_load):
21767         Now it does. Loader must be closed to cause callbacks an non-progressive
21768         loaders to complete.
21770         * components/services/install/lib/eazel-install-types.c:
21771         (packagedata_fill_from_rpm_header):
21772         Fixed a couple of build breaking unitilaized variable warnings.
21773         
21774         * components/tree/nautilus-tree-view.c:
21775         Updated function call to new prototype that was causing build to fail.  
21777 2000-10-23  Mathieu Lacage  <mathieu@eazel.com>
21779         * components/help/hyperbola-filefmt.c:
21780         (fmt_help_populate_tree_from_subdir): add lookup 
21781         for sgml and xml files.
21783 2000-10-23  Robey Pointer  <robey@eazel.com>
21785         * components/services/install/lib/eazel-install-xml-package-list.c:
21786         (parse_local_xml_package_list):
21787         * nautilus-installer/src/installer.c: (strip_categories),
21788         (start_over_make_category_func), (start_over),
21789         (jump_to_retry_page), (add_force_packages), (add_force_remove),
21790         (add_update_package), (eazel_installer_add_category),
21791         (eazel_installer_do_install), (eazel_installer_initialize):
21792         * nautilus-installer/src/link.sh:
21793         
21794         Reduce category description text to 10pt and adjust the layout to
21795         match Arlo specs.  Change g_message's to LOG_DEBUG just to annoy
21796         Eskil (actually, so we can turn them on/off easily with --debug).
21798 2000-10-23  Michael Engber  <engber@eazel.com>
21800         * libnautilus-extensions/nautilus-file-operations.c:
21801         (handle_xfer_ok), (sync_xfer_callback),
21802         (nautilus_file_operations_copy_move),
21803         (nautilus_file_operations_move_to_trash),
21804         (nautilus_file_operations_delete), (do_empty_trash):
21805         * libnautilus-extensions/nautilus-file-operations.h:
21806         Added callback for copy_move operation - to support
21807         selecting icons afterward.
21809         * libnautilus-extensions/nautilus-glib-extensions.c:
21810         (nautilus_g_hash_table_remove_deep_custom),
21811         (nautilus_g_hash_table_remove_deep),
21812         (nautilus_g_hash_table_free_deep_helper),
21813         (nautilus_g_hash_table_free_deep_custom),
21814         (nautilus_g_hash_table_free_deep):
21815         * libnautilus-extensions/nautilus-glib-extensions.h:
21816         Added misc hash table utilities
21818         * src/file-manager/fm-directory-view.c: (debuting_uri_data_free),
21819         (debuting_uri_add_file_callback), (copy_move_done_data_free),
21820         (pre_copy_move_add_file_callback), (pre_copy_move),
21821         (copy_move_done_partition_func), (copy_move_done_callback),
21822         (fm_directory_view_create_links_for_files),
21823         (fm_directory_view_duplicate_selection), (new_folder_done),
21824         (fm_directory_view_new_folder),
21825         (fm_directory_view_move_copy_items):
21826         Hooked up to new copy_move callback. There are still problems,
21827         the icons get unselected by someone after they're selected.
21829 2000-10-23  Eskil Heyn Olsen  <eskil@eazel.com>
21831         * README:
21832         Added that we require rpm 3.0.4 if --enable-eazel-service
21834         * components/services/install/lib/eazel-install-types.c:
21835         (packagedata_fill_from_rpm_header):
21836         Fix for older rpm's (although installation will probably still
21837         be borked, should insert #error instead.
21839         * nautilus.spec.in:
21840         nautilus-trilobite requires rpm = 3.0.4
21842 2000-10-23  Robey Pointer  <robey@eazel.com>
21844         * components/services/install/nautilus-view/nautilus-service-instal
21845         l-view.c: (create_package):
21847         Nautilus doesn't always encode "rpm_id=" into "rpm_id%3D", so
21848         check for both.
21850 2000-10-23  Darin Adler  <darin@eazel.com>
21852         * Makefile.shared: Fix extra dependency that was causing the xml.h
21853         files to be generated too often.
21854         * configure.in: Fix code that detects the gcc options to work even
21855         with -O on.
21856         
21857         * src/nautilus-view-frame.h:
21858         * src/nautilus-view-frame.c:
21859         (nautilus_view_frame_initialize_class),
21860         (view_frame_loaded), (view_frame_failed),
21861         (nautilus_view_frame_handle_client_destroy),
21862         (nautilus_view_frame_handle_client_gone),
21863         (nautilus_view_frame_new), (check_if_view_is_gone),
21864         (nautilus_view_frame_set_to_component),
21865         (nautilus_view_frame_get_is_underway):
21866         Revamp set of signals to be easier to understand. Handle all
21867         failures uniformly,
21868         
21869         * src/nautilus-window-manage-views.h:
21870         * src/nautilus-window-manage-views.c: (change_selection),
21871         (nautilus_window_update_for_new_location),
21872         (nautilus_window_has_really_changed),
21873         (nautilus_window_set_state_info),
21874         (nautilus_window_set_sidebar_panels),
21875         (zoom_level_changed_callback), (get_history_list_callback),
21876         (change_selection_callback), (change_status_callback),
21877         (failed_callback), (load_underway_callback),
21878         (load_complete_callback), (open_location_callback),
21879         (open_location_in_new_window_callback), (title_changed_callback),
21880         (nautilus_window_connect_view), (nautilus_window_disconnect_view):
21881         Make more of the view management private to this file. Use the
21882         signals by their new names. Disconnect all the signals, not just
21883         the error-related ones.
21884         
21885         * src/nautilus-window.c:
21886         (nautilus_window_set_content_view_widget): Updated the debugging
21887         check to do it with the new Bonobo UI calls.
21889 2000-10-23  Andy Hertzfeld  <andy@eazel.com>
21891         * components/services/summary/nautilus-view/nautilus-summary-view.c
21892         : (generate_summary_form):
21893         made the summary view not display the news section when there is
21894         no news to display.
21895         
21896 2000-10-23  Eskil Heyn Olsen  <eskil@eazel.com>
21898         * components/services/install/idl/trilobite-eazel-install.idl:
21899         Added a comment to the ssl_rename variable.
21900         Added a function stub for querying the server about packages. Not
21901         impl yet.
21902         
21903         * components/services/install/lib/eazel-install-logic.c:
21904         (eazel_install_check_for_file_conflicts),
21905         (eazel_install_do_transaction_fill_hash),
21906         (eazel_install_monitor_process_pipe),
21907         (eazel_install_monitor_err_process_pipe),
21908         (eazel_install_monitor_subcommand_pipe),
21909         (eazel_install_do_transaction_all_files_check),
21910         (eazel_install_clean_name_to_package_hash),
21911         (eazel_install_start_transaction),
21912         (eazel_install_check_existing_packages),
21913         (eazel_install_fetch_dependencies), (dump_one_package),
21914         (eazel_install_do_file_conflict_check),
21915         (eazel_install_ensure_deps), (eazel_uninstall_upward_traverse),
21916         (eazel_uninstall_globber):
21917         Added comments and clarified some variable names.
21918         No file dep checking on --force.
21919         No whatrequires check on uninstall on --force
21920         Moved the all_files_check call into ensure_deps, so if packages
21921         are pruned we can rerun ensure_deps.
21922         No longer check if a provides file is a directory before conflict
21923         check (not needed because of fix in eazel-install-types).
21924         Calling g_main_iteration during file conflict checking if
21925         EAZEL_INSTALL_SLIM is set.
21926         Clean up some lists and hashtables at the end of a transaction.
21927         
21928         * components/services/install/lib/eazel-install-private.h:
21929         * components/services/install/lib/eazel-install-object.c:
21930         (eazel_install_finalize), (eazel_install_class_initialize),
21931         (eazel_install_initialize), (eazel_install_install_packages),
21932         (eazel_install_uninstall_packages),
21933         (eazel_install_revert_transaction_from_xmlstring),
21934         (eazel_install_emit_done):
21935         All default funcs are NULL if EAZEL_INSTALL_NO_CORBA set.
21936         Set private->revert to TRUE during revert.
21937         Some more debug output.
21938         
21939         * components/services/install/lib/eazel-install-protocols.c:
21940         (http_fetch_remote_file), (eazel_install_fetch_file),
21941         (eazel_install_fetch_package), (get_search_url_for_package):
21942         Don't add the package to downloaded_files list till after we've
21943         checked the version and name.
21944         If revert, use &flag=8 otherwise 12.
21945         
21946         * components/services/install/lib/eazel-install-query.c:
21947         (eazel_install_simple_rpm_query):
21948         Assert that the dbs hashtable is !null.
21949         
21950         * components/services/install/lib/eazel-install-rpm-glue.h:
21951         * components/services/install/lib/eazel-install-rpm-glue.c:
21952         (eazel_install_rpm_set_settings),
21953         (eazel_install_start_transaction_make_rpm_argument_list),
21954         (eazel_install_monitor_rpm_process_pipe),
21955         (eazel_install_free_rpm_system),
21956         (eazel_install_prepare_rpm_system),
21957         (eazel_install_package_modifies_provides_compare),
21958         (eazel_install_do_rpm_dependency_check):
21959         Loads of debug code to grab stderr & stdout output from rpm.
21960         More comments in the do_rpm_dependency_check func.
21961         
21962         * components/services/install/lib/eazel-install-types.h:
21963         * components/services/install/lib/eazel-install-types.c:
21964         (categorydata_new), (categorydata_list_copy), (categorydata_copy),
21965         (packagedata_list_copy), (packagedata_copy),
21966         (packagedata_fill_from_rpm_header), (packagedata_destroy):
21967         Added a boolean flag to packagedata_copy, toggles whether or not
21968         to deep copy.
21969         Fix rpm header load to not add directories to the ->provides list
21970         (using a wonderfull O(n²) function, I'll leave it to the reader to
21971         improve it).
21972         Uncommented the rpmheaderFree call.
21973         
21974         * components/services/install/lib/eazel-install-xml-package-list.c:
21975         (eazel_install_packagelist_to_xml):
21976         More debug output (we can never have enough!)
21977         
21978         * nautilus-installer/src/Makefile:
21979         Yes.
21980         
21981         * nautilus-installer/src/callbacks.c: (druid_cancel),
21982         (druid_delete), (begin_install), (druid_finish), (prep_install):
21983         * nautilus-installer/src/installer.c: (create_what_to_do_page),
21984         (strip_categories), (start_over_make_category_func), (start_over),
21985         (jump_to_retry_page), (create_window), (eazel_install_progress),
21986         (eazel_download_progress), (add_force_packages),
21987         (add_force_remove), (add_update_package), (get_required_name),
21988         (get_detailed_errors_foreach), (get_detailed_errors),
21989         (eazel_install_preflight), (eazel_install_delete_files),
21990         (install_done), (check_system), (eazel_installer_do_install),
21991         (eazel_installer_initialize):
21992         * nautilus-installer/src/installer.h:
21993         * nautilus-installer/src/link.sh:
21994         * nautilus-installer/src/main.c: (main):
21995         Now takes a --tmpdir argument
21996         Puts builddate in window title
21997         Has a system for creating RepairCases when traversing a tree in
21998         install_failed signal handler.
21999         Now handles stuff like "need to updage eog" and then there is no
22000         update for eog.
22001         Hopefully also handles circular conflict cases.
22002         Now has a completely obfuscated call stack...
22004 2000-10-23  Mathieu Lacage  <mathieu@eazel.com>
22006         * user-guide/C/sgml/chapter-1.sgml:
22007         applying patch from John Fleck to make it work better
22008         with the current gnome-db2html behaviour.
22010 2000-10-23  John Sullivan  <sullivan@eazel.com>
22012         * src/nautilus-window-menus.c: (append_bookmark_to_menu):
22013         Fixed memory leak I happened to notice.
22015 2000-10-23  J Shane Culpepper  <pepper@eazel.com>
22017         * nautilus.spec.in:
22019         Fixing the spec to pick up new image directory.
22021 2000-10-23  John Sullivan  <sullivan@eazel.com>
22023         Fixed 3568: Bonobo verbs and data leak when menus rebuilt
22025         Michael Meeks added verb-removing support to Bonobo, which
22026         I have now deployed in Nautilus.
22028         * libnautilus-extensions/nautilus-bonobo-extensions.h:
22029         * libnautilus-extensions/nautilus-bonobo-extensions.c:
22030         (remove_verbs): New function, walks through the XML nodes
22031         beneath a specified path and removes each verb it finds.
22032         (nautilus_bonobo_remove_menu_items_and_verbs): Now calls
22033         remove_verbs; also changed name from _remove_menu_items
22034         for clarity.
22036         * src/file-manager/fm-directory-view.c:
22037         (reset_bonobo_open_with_menu):
22038         * src/nautilus-window-menus.c:
22039         (nautilus_window_remove_bookmarks_menu_items),
22040         (nautilus_window_remove_go_menu_items): Removed FIXMEs
22041         and updated for name change.
22043 2000-10-23  John Sullivan  <sullivan@eazel.com>
22045         * src/nautilus-applicable-views.c:
22046         (get_nautilus_navigation_result_from_gnome_vfs_result):
22047         Improved the warning message output to the terminal when 
22048         get-file-info returns a GnomeVFSResult for which we don't 
22049         have a nice user error message.
22051 2000-10-23  Mike Fleming  <mfleming@eazel.com>
22053         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
22054         (trilobite_get_services_address)
22055         Added small comment to currently unused  function with regards to
22056         format of gconf paramameter (services-host)
22058 2000-10-22  Martin Baulig  <baulig@suse.de>
22060         This is Maciej checking in Martin's fix for 3691. Credit to him,
22061         blame to me.
22062         
22063         * components/adapter/nautilus-adapter-embed-strategy.h
22064         (NautilusAdapterEmbedStrategyClass): Added "activate" and "deactivate"
22065         signals.
22066         (nautilus_adapter_embed_strategy_get): Removed ui_container argument.
22067         (nautilus_adapter_embed_strategy_activate): New function; emits
22068         the "activate" signal.
22069         (nautilus_adapter_embed_strategy_deactivate): New function; emits
22070         the "deactivate" signal.
22072         * components/adapter/nautilus-adapter-control-embed-strategy.c
22073         (nautilus_adapter_control_embed_strategy_activate): New static function;
22074         this is the handler of the "activate" signal.
22075         (nautilus_adapter_control_embed_strategy_deactivate): New static function;
22076         this is the handler of the "deactivate" signal.
22078         * components/adapter/nautilus-adapter-embeddable-embed-strategy.c
22079         (nautilus_adapter_embeddable_embed_strategy_activate): New static function;
22080         this is the handler of the "activate" signal.
22081         (nautilus_adapter_embeddable_embed_strategy_deactivate): New static function;
22082         this is the handler of the "deactivate" signal.
22084         * components/adapter/nautilus-adapter.c (nautilus_adapter_activate_callback):
22085         New static function; connect this to the "activate" signal of the adapter
22086         control.
22088 2000-10-23  Kjartan Maraas  <kmaraas@gnome.org>
22090         * src/nautilus-shell-ui.xml.h: Check in a file containing
22091         the strings to be translated instead of the 0-byte file that's
22092         there now.
22093         
22094 2000-10-23  Andy Hertzfeld  <andy@eazel.com>
22096         * components/services/summary/nautilus-view/nautilus-summary-view.c
22097         : (generate_summary_form), (service_tab_selected_callback),
22098         (updates_tab_selected_callback):
22099         made the updates section of the summary use the new, image-based tabs.
22100         
22101         * libnautilus-extensions/nautilus-tabs.c: (draw_all_tabs):
22102         made it handle the right edge for the single tab case properly.
22103         
22104 2000-10-22  Andy Hertzfeld  <set EMAIL_ADDRESS environment variable>
22106         * components/services/summary/
22107                 nautilus-view/nautilus-summary-view.c
22108         : (generate_summary_form), (generate_login_dialog),
22109         (nautilus_summary_view_load_uri), (service_tab_selected_callback):
22110         
22111         added image-based tabs to the summary view.  Also, fixed problem where
22112         the throbber kept spinning until the login dialog was dismissed by
22113         making it a non-modal dialog by refraining from calling gnome_run_dialog
22114         Currently, only the service tabs have been converted but the update
22115         tab is coming soon.
22116         
22117         * libnautilus-extensions/Makefile.am:
22118         * libnautilus-extensions/nautilus-tabs.c:
22119         (nautilus_tabs_initialize_class), (nautilus_tabs_initialize),
22120         (nautilus_tabs_new), (tab_item_destroy), (tab_item_destroy_cover),
22121         (nautilus_tabs_destroy), (nautilus_tabs_unload_tab_pieces),
22122         (load_tab_piece), (nautilus_tabs_load_tab_pieces),
22123         (nautilus_tabs_hit_test), (measure_height), (recalculate_size),
22124         (nautilus_tabs_size_request), (draw_tab_piece_aa),
22125         (draw_pixbuf_tiled_aa), (allocate_cleared_pixbuf),
22126         (measure_tab_name), (draw_tab_label), (draw_all_tabs),
22127         (tab_item_find_by_name), (nautilus_tabs_expose),
22128         (nautilus_tabs_draw), (nautilus_tabs_add_tab),
22129         (nautilus_tabs_remove_tab), (nautilus_tabs_prelight_tab),
22130         (nautilus_tabs_select_tab), (nautilus_tabs_press_event),
22131         (nautilus_tabs_leave_event), (nautilus_tabs_motion_event):
22132         * libnautilus-extensions/nautilus-tabs.h:
22133         added a new class for the fancy Arlo tabs in the summary view,
22134         based on the sidebar tabs.
22136         * configure.in:
22137         * components/services/summary/
22138                 nautilus-view/Makefile.am:
22139         * components/services/summary/
22140                 nautilus-view/icons/.cvsignore:
22141         * components/services/summary/
22142                 nautilus-view/icons/Makefile.am:
22143         * components/services/summary/
22144                 nautilus-view/icons/gray_tab_pieces/.cvsignore:
22145         * components/services/summary/
22146                 nautilus-view/icons/gray_tab_pieces/*.png
22147         
22148         added Arlo's new tab images for the summary view
22149         
22150         * src/nautilus-property-browser.c:
22151         (nautilus_property_browser_initialize), (add_new_button_callback),
22152         (done_button_callback):
22153         
22154         added a done button to the property dialog to make it easier to
22155         dismiss it.
22156         
22157 2000-10-22  Mike Fleming  <mfleming@eazel.com>
22159         * libnautilus-extensions/nautilus-stock-dialogs.c:
22160         (timed_wait_free), (timed_wait_callback):
22162         Made timed-wait dialog remember the dialog.  Was being triggered
22163         during a DAV rename w/ debug info on.
22165 2000-10-22  Robert Brady  <rwb197@zepler.org>
22167         * configure.in: Added en_GB to ALL_LINGUAS.
22169 Sun Oct 22 05:25:46 2000  George Lebl <jirka@5z.com>
22171         * librsvg/rsvg-ft.c (rsvg_ft_ctx_done): Things allocated with
22172           glib functions must be freed with g_free, not free
22174 2000-10-21  Eskil Heyn Olsen  <eskil@eazel.com>
22176         * nautilus.spec.in:
22177         Dep on bonobo>=0.24 and medusa >= 0.2.1
22179 2000-10-21  Gene Z. Ragan  <gzr@eazel.com>
22181         * THANKS:
22182         Added syncomm to THANKS file.
22183         
22184 2000-10-21  Josh Barrow  <josh@eazel.com>
22186         * AUTHORS:
22187         * THANKS:
22188         * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
22189         Added Eli to the about box and moved him from THANKS to AUTHORS, per 
22190         Maciej.
22192 2000-10-21  Ali Abdin  <aliabdin@aucegypt.edu>
22194         * components/help/converters/gnome-db2html2/toc-elements.c:
22195         (toc_sect_end_element): Add in 'break;' at the appropriate areas of
22196         the code. Should fix some issues. DOH!! This was also needed to fix
22197         Bug #3863. Thank god for testers.
22199 2000-10-21  Zbigniew Chyla  <cyba@gnome.pl>
22201         * configure.in: Added pl to ALL_LINGUAS.
22203 2000-10-21  Mathieu Lacage <mathieu@eazel.com>
22205         * user-guide/C/img/*.png: remove till I can find time to redo all
22206         the screenshots: people are complaining it kills their bandwith for
22207         no good reason.
22209 2000-10-21  Ali Abdin  <aliabdin@aucegypt.edu>
22211         * components/help/converters/gnome-db2html2/sect-elements.c:
22212         (sect_sect_end_element): Add in 'break;' at the appropriate areas of
22213         the code. Should fix some issues. Fixes Bug #3863.
22215 2000-10-21  Robey Pointer  <robey@eazel.com>
22217         * components/services/install/nautilus-view/nautilus-service-instal
22218         l-view.c: (generate_install_form),
22219         (nautilus_service_install_downloading),
22220         (nautilus_service_install_installing):
22222         Remove artificial pauses I was using for testing (oops), and
22223         change the font size of the overall feedback text to something
22224         readable in AA.
22226 2000-10-20 John Fleck <jfleck@inkstain.net>
22228         * user-guide/C/sgml/nautilus.sgml - changed "doctype" to "DOCTYPE"
22229         in the dtd declaration. This is needed for gnome-db2html2 to
22230         correctly render the document into html for Mozilla to display
22232 2000-10-20  Robey Pointer  <robey@eazel.com>
22234         * components/services/install/idl/trilobite-eazel-install.idl:
22235         * components/services/install/lib/eazel-install-corba-types.c:
22236         (corba_packagedatastruct_from_packagedata),
22237         (packagedata_from_corba_packagedatastruct):
22238         * components/services/install/lib/eazel-install-protocols.c:
22239         (get_url_for_package):
22240         * components/services/install/lib/eazel-install-types.c:
22241         (packagedata_new), (packagedata_copy),
22242         (packagedata_fill_from_rpm_header), (packagedata_destroy):
22243         * components/services/install/lib/eazel-install-types.h:
22244         * components/services/install/lib/eazel-install-xml-package-list.c:
22245         (parse_package), (eazel_install_packagedata_to_xml):
22246         * components/services/install/nautilus-view/nautilus-service-instal
22247         l-view.c: (add_padding_to_box), (generate_install_form),
22248         (show_overall_feedback), (make_new_status),
22249         (current_progress_bar_complete),
22250         (nautilus_service_install_downloading),
22251         (nautilus_service_install_installing),
22252         (nautilus_service_install_view_update_from_uri):
22254         Add package "summary" field to store the RPM one-line summary
22255         field (we want to show it in the installer).
22257 2000-10-20  Andy Hertzfeld  <andy@eazel.com>
22259         * libnautilus-extensions/nautilus-icon-container.c:
22260         (nautilus_icon_container_update_icon):
22261         at Arlo's urging, I removed the emblem scale pinning that was added
22262         last week, which isn't right if you think of the emblems as part
22263         of the icons like Arlo does.  I also added an emblem scale factor to
22264         make the emblems a more reasonable size.
22265         
22266         * src/file-manager/fm-list-view.c:
22267         fixed bug 3900, emblems too large in the list view, by correct
22268         the LIST_VIEW_MINIMAL_EMBLEM_SIZE constant, which was set too large.
22269         
22270 2000-10-20  John Sullivan  <sullivan@eazel.com>
22272         Fixed bug 3548 (modal error dialog is flakey in summary view)
22274         I made a bunch of small improvements to this file. Most of
22275         these had been checked in earlier but accidentally clobbered,
22276         but there are some new ones too.
22278         * components/services/summary/nautilus-view/nautilus-summary-view.c:
22279         Removed feedback_text field from details struct. This was used in
22280         an unnecessary and leak-inducing way before.
22281         (generate_summary_form): Remove period following exclamation point
22282         in on-screen text.
22283         (error_dialog_retry_cb): Removed this function.
22284         (set_dialog_parent): New helper function to parent a dialog on
22285         the NautilusSummaryView's window.
22286         (generate_error_dialog): Removed "Retry" button since it is 
22287         extremely unlikely to work, thus resulting in constant frustration;
22288         Removed initialized but unused "reply" variable; removed extra 
22289         initialization of "dialog" variable; use OK button instead of
22290         Cancel since there's only one button now; set up error message
22291         with parameter instead of details field; set text justification
22292         and line wrap to accommodate longer messages; parent the dialog
22293         so it doesn't appear in some random place.
22294         (authn_cb_failed): pass message to generate_error_dialog directly;
22295         removed unnecessary capital letter in message.
22296         (generate_login_dialog): remove initialized but unused "reply" variable;
22297         change "Please Login" to "Please log in"; parent the dialog.
22298         (nautilus_summary_view_load_uri): collapse a lot of identical code;
22299         improve error messages; display error message when xml file couldn't
22300         be parsed (was supposed to before, but wasn't); only generate the
22301         summary form if xml file was parsed.
22302         * libnautilus/nautilus-clipboard-ui.xml.h:
22303         * src/file-manager/nautilus-directory-view-ui.xml.h:
22304         * src/file-manager/nautilus-icon-view-ui.xml.h:
22305         * src/file-manager/nautilus-search-list-view-ui.xml.h:
22306         * src/nautilus-service-ui.xml.h:
22307         * src/nautilus-shell-ui.xml.h:
22309 2000-10-21  Mathieu Lacage  <mathieu@eazel.com>
22311         * user-guide/C/sgml/chapter-1.sgml:
22312         stupid me: forgot a sect2 in the middle of nowhere...
22314 2000-10-20  Rebecca Schulman  <rebecka@eazel.com>
22315         Fix for bug 1768, to put a hard limit on
22316         the number of files for PR2.  We do this 
22317         by keeping a count of confirmed files
22318         in directories, and stopping a load once the confirmed 
22319         file count reaches a certain level.
22321         * libnautilus-extensions/nautilus-directory-async.c:
22322         (set_file_unconfirmed), (dequeue_pending_idle_callback),
22323         (directory_load_one), (directory_load_done),
22324         (directory_load_callback), (mark_all_files_unconfirmed),
22325         (nautilus_directory_stop_monitoring_file_list):
22326         Increment or decrement file count when marking a file confirmed
22327         or unconfirmed.
22328         * libnautilus-extensions/nautilus-directory-private.h:
22329         add file count file
22330         * libnautilus-extensions/nautilus-directory.c:
22331         (nautilus_directory_add_file), (nautilus_directory_remove_file),
22332         (nautilus_directory_file_list_length_reached):
22333         increment and decrement file counts here when a file is added.
22334         A file is always confirmed when it is initially added, so 
22335         increment always, but only decrement the count when we are 
22336         removing a confirmed file.
22337         * libnautilus-extensions/nautilus-directory.h:
22338         Add function nautilus_directory_file_list_length_reached
22339         as public 
22340         * src/file-manager/fm-directory-view.c:
22341         (check_for_directory_hard_limit), (done_loading):
22342         when we finish loading the directory, display the hard limit
22343         dialog if necesssary, to let the user know we've stopped the directory
22344         load to prevent nautilus from overloading.
22346 2000-10-20  Darin Adler  <darin@eazel.com>
22348         * components/loser/content/Makefile.am:
22349         * components/loser/sidebar/Makefile.am:
22350         * components/mozilla/Makefile.am:
22351         * components/sample/Makefile.am:
22352         * components/services/summary/nautilus-view/Makefile.am:
22353         * libnautilus/Makefile.am:
22354         * src/Makefile.am:
22355         * src/file-manager/Makefile.am:
22356         We need to include the .xml.h files in EXTRA_DIST. My mistake
22357         turning that off (killed the Tinderbox).
22358         
22359         * src/nautilus-window-manage-views.c:
22360         (position_and_show_window_callback),
22361         (nautilus_window_end_location_change_callback): Fix small ref
22362         mistake I might have introduced with my last check-in.
22364 2000-10-20  J Shane Culpepper  <pepper@eazel.com>
22366         * components/services/summary/nautilus-view/nautilus-summary-view.c:
22367         * components/services/summary/nautilus-view/tests/README:
22368         * components/services/summary/nautilus-view/tests/redirects.xml:
22369         * components/services/summary/nautilus-view/tests/services.xml:
22370         * src/nautilus-service-ui.xml.h:
22372         Added simple test xmls to generate lots of entries in the summary view.
22374 2000-10-20  Andy Hertzfeld  <andy@eazel.com>
22376         * components/services/summary/nautilus-view/nautilus-summary-view.c
22377         : (generate_service_entry_row):
22378         fixed a memory leak in the summary view, where it was allocating a
22379         structure used in a callback but never releasing it.
22380         
22381 2000-10-20  Andy Hertzfeld  <andy@eazel.com>
22383         * components/hardware/icons/Makefile.am:
22384         * components/hardware/icons/CD_drive.png:
22385         * components/hardware/nautilus-hardware-view.c:
22386         (setup_overview_form):
22387         added a better icon for CD drives from Susan, and used it in the
22388         hardware view instead of the CD icon it was using.
22389         
22390 2000-10-20  Gene Z. Ragan  <gzr@eazel.com>
22392         Fixed bug 3805, Nautilus tries to parse text files on the desktop as XML.
22393         
22394         * libnautilus-extensions/nautilus-link.c:
22395         (local_get_root_property):
22396         Do a check on the mime type of the file before processing it as XML.
22397         Also fix a bug where a NULL XMLDoc was being used.
22399 2000-10-20  Andy Hertzfeld  <andy@eazel.com>
22401         fixed bug 3803, pin image size for downloaded images in summary
22402         view
22403         
22404         * components/services/nautilus-dependent-shared/shared-service-widg
22405         ets.c: (create_image_widget_from_uri):
22406         added optional image size pinning to create_image_widget_from_uri
22407         
22408         * components/services/nautilus-dependent-shared/shared-service-widg
22409         ets.h:
22410         changed parameters to create_image_widget_from_uri
22411         
22412         * components/services/summary/nautilus-view/nautilus-summary-view.c
22413         : (generate_summary_form), (generate_service_entry_row),
22414         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
22415         pinned downloaded images to a maximum size, fixing bug 3803.  Also,
22416         tweaked button layout a bit.
22417         
22418 2000-10-20  Darin Adler  <darin@eazel.com>
22420         * Makefile.am:
22421         * Makefile.shared:
22422         * components/loser/content/Makefile.am:
22423         * components/loser/sidebar/Makefile.am:
22424         * components/mozilla/Makefile.am:
22425         * components/sample/Makefile.am:
22426         * components/services/install/command-line/Makefile.am:
22427         * components/services/summary/nautilus-view/Makefile.am:
22428         * libnautilus-extensions/Makefile.am:
22429         * libnautilus/Makefile.am:
22430         * src/Makefile.am:
22431         * src/file-manager/Makefile.am:
22432         Moved some shared Makefile stuff to a shared include file so we
22433         don't use "copy and paste technology" in our Makefiles. Fixed the
22434         rule that builds .xml.h files so it doesn't have to be copied and
22435         pasted everywhere.
22436         
22437         * components/loser/content/nautilus-content-loser-ui.xml.h:
22438         * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
22439         * components/mozilla/nautilus-mozilla-ui.xml.h:
22440         * components/sample/nautilus-sample-content-view-ui.xml.h:
22441         * libnautilus/nautilus-clipboard-ui.xml.h:
22442         * src/file-manager/nautilus-directory-view-ui.xml.h:
22443         * src/file-manager/nautilus-icon-view-ui.xml.h:
22444         * src/file-manager/nautilus-search-list-view-ui.xml.h:
22445         * src/nautilus-shell-ui.xml.h:
22446         Regenerated the xml.h files with the new Bonobo tool, which keeps
22447         things in alphabetical order to minimize cvs thrashing.
22448         
22449         * components/services/summary/nautilus-view/Makefile.am:
22450         * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
22451         Added localization for the summary view UI.
22452                 
22453         * src/Makefile.am:
22454         Added localization for the service UI pieces.
22455         
22456         * libnautilus-extensions/nautilus-buffered-widget.c:
22457         (nautilus_buffered_widget_initialize),
22458         (connect_to_background_if_needed): Fixed bug where the widget
22459         would stay connected after the background was destroyed. John saw
22460         it once, but I'm not sure how to reproduce it.
22461         
22462         * nautilus.spec.in: Fix some bad spelling and strange wording.
22463         
22464         * src/nautilus-applicable-views.h:
22465         * src/nautilus-applicable-views.c: (got_file_info_callback),
22466         (nautilus_navigation_info_new), (nautilus_navigation_info_cancel),
22467         (nautilus_navigation_info_free),
22468         (nautilus_navigation_info_get_location),
22469         (nautilus_navigation_info_get_initial_content_id):
22470         Removed lots of cruft from this class so it's private and can be
22471         changed around a bit.
22472         
22473         * src/nautilus-window-manage-views.c:
22474         (nautilus_window_update_internals): Use the new
22475         nautilus_navigation_info_get_location.
22476         (handle_unreadable_location): Get rid of unneeded file == NULL
22477         check.
22478         (load_view_for_new_location): Use the new
22479         nautilus_navigation_info_get_initial_content_id.
22480         (set_view_location_and_selection): Use the new
22481         nautilus_navigation_info_get_location.
22482         (nautilus_window_end_location_change_callback): Use the new
22483         nautilus_navigation_info_get_location.
22484         (nautilus_window_begin_location_change): Remove some unnecessary
22485         code.
22487 2000-10-20  Mathieu Lacage  <mathieu@eazel.com>
22489         More ids in sects.
22490         * user-guide/C/sgml/chapter-2.sgml:
22491         * user-guide/C/sgml/chapter-3.sgml:
22493 2000-10-20  Mathieu Lacage  <mathieu@eazel.com>
22495         Add sect ids and big caps entities
22496         * user-guide/C/sgml/chapter-1.sgml:
22497         * user-guide/C/sgml/install.sgml:
22498         * user-guide/C/sgml/intro.sgml:
22499         * user-guide/C/sgml/manual.sgml:
22501 2000-10-20  John Sullivan  <sullivan@eazel.com>
22503         Fixed bug 3902 (Some search results do not have file
22504         info displayed)
22506         * libnautilus-extensions/nautilus-directory-async.c:
22507         (async_job_wake_up): Remove directory from hash table
22508         when it's awoken; clear already_waking_up boolean at
22509         end of routine.
22511 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22513         * src/nautilus-sidebar-title.c: (update_font):
22514         Make the code that looks for largest font that fits a sidebar
22515         title work even if we dont find the exact font we look for.
22516         Fixes bug 2812.
22517         
22518 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22520         * librsvg/Makefile.am:
22521         * librsvg/rsvg.c: (rsvg_text_handler_characters):
22522         Make sure the font used for text is svg icons actually exists.
22523         Fix (rather a worksround) for bug 3774.  We will have a better fix
22524         later (bug 3904).
22525         
22526 2000-10-22  Andy Hertzfeld  <andy@eazel.com>
22528         made the images show up again in the summary view by adding
22529         image fetching from the service via http.
22530         
22531         * components/services/nautilus-dependent-shared/
22532         shared-service-widgets.c: (create_image_widget_from_pixbuf),
22533         (create_image_widget), (create_image_widget_from_uri):
22534         restructured code a bit so I could at fetching from a uri instead of
22535         a local icon.  Added optimization so a local icon could be used
22536         at the service's discretion.
22537         
22538         * components/services/nautilus-dependent-shared/
22539           shared-service-widgets.h:
22540         added create_image_widget_from_uri
22541         
22542         * components/services/summary/nautilus-view/nautilus-summary-view.c
22543         : (generate_summary_form), (generate_service_entry_row),
22544         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
22545         made it fetch the icons from the service
22546         
22547 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22549         * librsvg/rsvg.c: (rsvg_text_handler_characters),
22550         (rsvg_start_text):
22551         Quiet down the debug spewage.
22552         
22553 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22555         * nautilus.spec.in:
22556         Forgot to add the font metrics to the rpm spec file.
22557         
22558 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22560         * data/fonts/urw/Makefile.am:
22561         * data/fonts/urw/fonts.dir:
22562         * data/fonts/urw/n019003l.afm:
22563         * data/fonts/urw/n019004l.afm:
22564         * data/fonts/urw/n019023l.afm:
22565         * data/fonts/urw/n019024l.afm:
22566         Added missing font metrics.
22567         Also update to latest urw fonts.
22569 2000-10-20  Maciej Stachowiak  <mjs@eazel.com>
22571         * components/adapter/bonobo-stream-vfs.h,
22572         components/adapter/bonobo-stream-vfs.c: (vfs_write), (vfs_read),
22573         (vfs_seek), (vfs_truncate), (vfs_copy_to), (vfs_close), (vfs_eos),
22574         (vfs_length), (bonobo_stream_vfs_class_init),
22575         (bonobo_stream_vfs_init), (bonobo_stream_vfs_get_type),
22576         (Bonobo_Stream_vfs__create), (bonobo_stream_vfs_new_internal),
22577         (bonobo_stream_vfs_open), (bonobo_stream_vfs_new): Moved here from
22578         libnautilus-extensions; bunches of cleanup to match nautilus style
22579         better.
22581         * components/adapter/Makefile.am: Added above two files to build.
22583         * components/adapter/nautilus-adapter-progressive-load-strategy.c:
22584         Up the load chunk.
22585         
22586         * components/adapter/nautilus-adapter-stream-load-strategy.c:
22587         Include "bonobo-stream-vfs.h" not
22588         <libnautilus-extensions-stream-vfs.h>
22590         * libnautilus-extensions/bonobo-stream-vfs.c,
22591         libnautilus-extensions/bonobo-stream-vfs.h: Removed from here.
22592         
22593         * libnautilus-extensions/Makefile.am: Removed from build.
22595 2000-10-20  J Shane Culpepper  <pepper@eazel.com>
22597         * components/services/summary/nautilus-view/nautilus-summary-view.c
22598         : (generate_summary_form), (generate_service_entry_row),
22599         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
22601         Added vseparators, fixed button sizes, added new buttons to the
22602         updates section.  I'm almost getting good at this stuff !
22604 2000-10-20  Robey Pointer  <robey@eazel.com>
22606         * icons/Makefile.am:
22607         * icons/services-rpm-72.png:
22608         * libnautilus-extensions/nautilus-icon-factory.c:
22610         Add new eazel-install: icon for Arlo and make the icon factory use
22611         it instead of the gnome-pack-rpm one.
22613 2000-10-20  Gene Z. Ragan  <gzr@eazel.com>
22615         Fixed bug 2948, list view does not prelight under cursor when
22616         dragging files.
22617         
22618         * libnautilus-extensions/nautilus-list.c:
22619         * libnautilus-extensions/nautilus-list.h:
22620         (nautilus_list_initialize), (draw_cell_pixmap), (draw_cell),
22621         (nautilus_list_prelight_if_necessary),
22623         (nautilus_list_set_drag_prelight_row):
22624         New function to set drag prelight row based on mouse position.
22625         
22626         * src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
22627         
22628         * components/image-viewer/nautilus-image-view.c:
22629         (view_size_allocate_cb):
22630         Removed some old debug code.
22631         
22632 2000-10-19  Robey Pointer  <robey@eazel.com>
22634         * components/services/install/idl/trilobite-eazel-install.idl:
22635         * components/services/install/lib/eazel-install-corba.c:
22636         (impl_Eazel_Install_stop), (eazel_install_get_epv):
22637         * components/services/install/lib/eazel-install-object.c:
22638         (eazel_install_install_packages),
22639         (eazel_install_emit_install_progress_default),
22640         (eazel_install_emit_download_progress_default),
22641         (eazel_install_emit_preflight_check_default),
22642         (eazel_install_emit_delete_files_default):
22643         * components/services/install/lib/eazel-install-private.h:
22644         * components/services/install/lib/eazel-install-protocols.c:
22645         (gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file):
22647         Make the install lib check for corba events while doing a download
22648         (which might take a while) so that it can receive a "stop"
22649         message.  Ref itself while doing the install to avoid a mess.  Try
22650         to catch some corba exceptions and abort on them.  Set a flag on
22651         the "stop" message and cancel the gnome-vfs operation.  Make the
22652         download_progress callback be a two-way call to trick corba into
22653         checking for potential incoming "stop" calls.  These sum up to a
22654         rough hack which will be cleaned out when the installer is broken
22655         up into more stateful components post-PR2.
22656         
22657         * components/services/install/nautilus-view/nautilus-service-instal
22658         l-view.c: (nautilus_service_install_view_destroy),
22659         (current_progress_bar_complete),
22660         (nautilus_service_install_downloading),
22661         (nautilus_service_install_installing),
22662         (nautilus_service_need_password),
22663         (nautilus_service_install_view_update_from_uri),
22664         (service_install_stop_loading_callback):
22666         Send "stop" message to the install view when the user hits the
22667         "stop" button, and also when the view is about to be destroyed.
22668         Cleanly handle the "stop" button by treating it like an abort.
22669         Use better-named /tmp directory, for security reasons.
22670         
22671 2000-10-20  Ramiro Estrugo  <ramiro@eazel.com>
22673         * configure.in:
22674         Update for latest freeype2 rpm changes.
22675         
22676 2000-10-20  J Shane Culpepper  <pepper@eazel.com>
22678         * components/services/summary/nautilus-view/nautilus-summary-view.c
22679         : (generate_summary_form), (generate_service_entry_row),
22680         (generate_eazel_news_entry_row), (generate_update_news_entry_row):
22682         Adding "infinite" row capabilities for generated tables.  Fixed several
22683         more layout issues.  The buttons are completely screwed up now from a
22684         ui perspective.  Trying to fix that now.
22686 2000-10-19  J Shane Culpepper  <pepper@eazel.com>
22688         * components/services/summary/lib/eazel-summary-shared.c:
22689         (eazel_news_data_new), (update_news_data_new),
22690         (parse_a_eazel_news_item), (parse_a_update_news_item):
22691         * components/services/summary/lib/eazel-summary-shared.h:
22692         * components/services/summary/nautilus-view/nautilus-summary-view.c
22693         : (generate_summary_form), (generate_service_entry_row),
22694         (generate_update_news_entry_row):
22696         New xml parsing information.  Fixed button labels and sizes.  A few
22697         minor ui tweaks.
22699 2000-10-20  Mathieu Lacage  <mathieu@eazel.com>
22701         Add screenshot images.
22702         * user-guide/C/sgml/chapter-1.sgml:
22703         * user-guide/C/sgml/chapter-2.sgml:
22704         * user-guide/C/sgml/chapter-3.sgml:
22705         * user-guide/C/sgml/install.sgml:
22707 2000-10-19  Andy Hertzfeld  <andy@eazel.com>
22709         * components/services/summary/nautilus-view/
22710         nautilus-summary-view.c: (authn_cb_failed), (logout_button_cb), 
22711         (logged_in_callback), (logged_out_callback),
22712         (bonobo_logout_callback), (bonobo_preferences_callback),
22713         (update_menu_items), (merge_bonobo_menu_items):
22714         
22715         fixed the login menu command, and added support for the preferences
22716         and logout command.  Made it properly show and hide the appropriate
22717         commands according to the logged_in state
22718         
22719         * components/services/summary/nautilus-view/
22720         nautilus-summary-view-ui.xml:
22721         added menu items for preferences and logout
22722         
22723         * src/nautilus-service-ui.xml:
22724         added tooltips for service menu commands
22726 2000-10-19  Mathieu Lacage  <mathieu@eazel.com>
22728         * user-guide/C/Makefile.am: modify to install sgml 
22729         instead of html
22730         * user-guide/C/img/.cvsignore: add 
22731         * user-guide/C/sgml/.cvsignore: add
22733         sgml files.
22734         * user-guide/C/sgml/chapter-1.sgml:
22735         * user-guide/C/sgml/chapter-2.sgml:
22736         * user-guide/C/sgml/chapter-3.sgml:
22737         * user-guide/C/sgml/install.sgml:
22738         * user-guide/C/sgml/intro.sgml:
22739         * user-guide/C/sgml/manual.sgml:
22740         * user-guide/C/sgml/model.sgml:
22742         screenshots....
22743         * user-guide/C/img/*.png
22745 2000-10-19  J Shane Culpepper  <pepper@eazel.com>
22747         * components/services/summary/nautilus-view/nautilus-summary-view.c
22748         : (generate_error_dialog), (generate_login_dialog),
22749         (nautilus_summary_view_load_uri):
22751         Fixing dialogs and error control cases.  Works a little better now
22752         but still doesn't destroy the error dialogs like its supposed to do.
22754 2000-10-19  J Shane Culpepper  <pepper@eazel.com>
22756         * components/services/summary/nautilus-view/nautilus-summary-view.c
22757         : (logged_in_callback):
22759         Fixing login callback so that view does not crash.
22761 2000-10-19  Darin Adler  <darin@eazel.com>
22763         Check in the xml.h files. It would be better not to have these
22764         checked in, but it helps the translators if they are. If we
22765         come up with something better later, we can get rid of them.
22766         For now, if you exit a ui.xml file, then you should also do
22767         a build and check in the generated xml.h file.
22769         * components/loser/content/nautilus-content-loser-ui.xml.h:
22770         * components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
22771         * components/mozilla/nautilus-mozilla-ui.xml.h:
22772         * components/sample/nautilus-sample-content-view-ui.xml.h:
22773         * libnautilus/nautilus-clipboard-ui.xml.h:
22774         * src/file-manager/nautilus-directory-view-ui.xml.h:
22775         * src/file-manager/nautilus-icon-view-ui.xml.h:
22776         * src/file-manager/nautilus-search-list-view-ui.xml.h:
22777         * src/nautilus-shell-ui.xml.h:
22779 2000-10-19  Darin Adler  <darin@eazel.com>
22781         Do some routine housekeeping that will help make the future
22782         switchover to libxml2 easier.
22783         
22784         * components/help/converters/gnome-db2html2/gdb3html.h:
22785         * components/help/hyperbola-nav-index.c:
22786         * components/help/hyperbola-nav-search.c:
22787         * libnautilus-extensions/nautilus-directory-async.c:
22788         * libnautilus-extensions/nautilus-directory-metafile.c:
22789         * libnautilus-extensions/nautilus-directory-metafile.h:
22790         * libnautilus-extensions/nautilus-directory-private.h:
22791         * libnautilus-extensions/nautilus-file.c:
22792         * libnautilus-extensions/nautilus-icon-factory.c:
22793         * libnautilus-extensions/nautilus-link-set.c:
22794         * libnautilus-extensions/nautilus-link.c:
22795         * libnautilus-extensions/nautilus-theme.c:
22796         * libnautilus-extensions/nautilus-volume-monitor.c:
22797         * libnautilus-extensions/nautilus-xml-extensions.h:
22798         * librsvg/rsvg.c:
22799         * src/nautilus-bookmark-list.c:
22800         * src/nautilus-bookmark-parsing.c:
22801         * src/nautilus-bookmark-parsing.h:
22802         * src/nautilus-link-set-window.c:
22803         * src/nautilus-property-browser.c:
22804         * src/nautilus-sidebar.c:
22805         * src/nautilus-theme-selector.c:
22806         * src/nautilus-window-menus.c:
22807         Use the <gnome-xml/> prefix on all includes of gnome-xml headers.
22808         This is allowed with the version of libxml1 we use now, and
22809         required for libxml2. Note that we now require the newer libxml1
22810         version that allows this, because Bonobo requires it.
22811         
22812         * components/services/install/lib/eazel-install-xml-package-list.c:
22813         (parse_package), (parse_category), (parse_shared),
22814         (parse_memory_transaction_file), (parse_local_xml_package_list),
22815         (generate_xml_package_list), (osd_parse_dependency),
22816         (osd_parse_implementation), (osd_parse_softpkg),
22817         (osd_parse_shared):
22818         * components/services/summary/lib/eazel-summary-shared.c:
22819         (build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
22820         (build_update_news_glist_from_xml), (parse_summary_xml_file):
22821         * components/services/trilobite/libtrilobite/helixcode-utils.c:
22822         (xml_get_value):
22823         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
22824         (trilobite_redirect_parse_xml):
22825         * libnautilus-extensions/nautilus-xml-extensions.c:
22826         (nautilus_xml_get_children):
22827         Use xmlChildrenNode instead of childs, as recommended by the
22828         libxml maintainer for libxml1/libxml2 compatibility.
22829         
22830         * src/nautilus-main.c: (main): Use the LIBXML_TEST_VERSION macro
22831         as recommended by the libxml maintainer for libxml1/libxml2
22832         compatibility.
22833         
22834         * components/music/nautilus-music-view.c:
22835         Added a lot of FIXMEs. Some other rudimentary cleanup.
22837 2000-10-19  Michael Engber  <engber@eazel.com>
22839         * libnautilus-extensions/nautilus-icon-container.c:
22840         (icon_is_positioned), (pending_icon_to_reveal_destroy_callback),
22841         (get_pending_icon_to_reveal), (set_pending_icon_to_reveal),
22842         (reveal_icon), (process_pending_icon_to_reveal),
22843         (lay_down_icons_tblr), (relayout):
22844         * libnautilus-extensions/nautilus-icon-private.h:
22845         * src/file-manager/fm-directory-view.c: (start_renaming_item),
22846         (reveal_newly_added_folder), (new_folder_done),
22847         (fm_directory_view_new_folder), (fm_directory_view_set_selection),
22848         (fm_directory_view_select_file):
22850         Newly added folders are now revealed (bug 2208). Other cases
22851         (e.g. duplicate) still remain. They will require adding new hooks
22852         to nautilus-file-operations.
22854 2000-10-19  J Shane Culpepper  <pepper@eazel.com>
22856         * components/services/summary/nautilus-view/nautilus-summary-view.c
22857         : (generate_summary_form), (nautilus_summary_view_load_uri),
22858         (bonobo_login_callback):
22860         Fixing login menu callback and adding logic to only display login
22861         dialog when no user is logged in.
22863 2000-10-19  John Sullivan  <sullivan@eazel.com>
22865         Fixed some cases where the error message for why a
22866         location couldn't be loaded was misleading or too generic.
22867         I ran into some of these while fiddling with the proxy 
22868         settings to try out services, so I'm sure other users
22869         will too.
22871         * libnautilus-extensions/nautilus-directory-async.c:
22872         (file_info_start): When you can't make a vfs_uri, use
22873         error GNOME_VFS_ERROR_INVALID_URI. It had been leaving
22874         this defaulting to GNOME_VFS_OK, which caused locations
22875         like "bogus:foo" to have a mysterious error message.
22876         
22877         * src/nautilus-applicable-views.c:
22878         (get_nautilus_navigation_result_from_gnome_vfs_result):
22879         * src/nautilus-applicable-views.h:
22880         * src/nautilus-window-manage-views.c:
22881         (nautilus_window_end_location_change_callback): Added
22882         separate messages for HOST_NOT_FOUND and HOST_HAS_NO_ADDRESS.
22883         You can get the former by specifying a bogus host name in the
22884         HTTP Proxy settings, and the latter by not specifying a
22885         host name at all in the HTTP Proxy settings.
22887 2000-10-19  John Sullivan  <sullivan@eazel.com>
22889         * components/help/help-contents.oafinfo:
22890         Changed name of sidebar panel from "Help Contents" to "Help"
22891         since there is only one Help sidebar panel, and the longer
22892         title made it take too much space and stand out while adding
22893         no value.
22895 2000-10-19  John Sullivan  <sullivan@eazel.com>
22897         Fixed bugzilla bug 3648 (not clear what "xxx" under
22898         folders means)
22900         * libnautilus-extensions/nautilus-file.c:
22901         (nautilus_file_get_string_attribute_with_default):
22902         Change some of the default strings; use "..." when
22903         we were using "--" (for info not yet obtained); use
22904         "? items" or "? bytes" when we were using "xxx" 
22905         (for info not readable).
22906         (nautilus_file_get_top_left_text): Use "..." when
22907         we were using "--"
22909 2000-10-19  Andy Hertzfeld  <andy@eazel.com>
22911         * components/services/summary/nautilus-view/nautilus-summary-view.c
22912         : (nautilus_summary_view_destroy), (merge_bonobo_menu_items):
22913         unmerge the summary component's menu items properly by keeping a
22914         reference to the ui component and unhooking it in the summary view's
22915         destroy method.
22916         
22917 2000-10-19  Andy Hertzfeld  <andy@eazel.com>
22919         first pass at making the summary view merge its menu commands onto
22920         the services menu. This isn't finished yet.
22921         
22922         * components/services/summary/nautilus-view/Makefile.am:
22923         added a ui xml file for the summary menu commands
22924         * components/services/summary/nautilus-view/nautilus-summary-view-ui.xml:
22925         defined the summary view menu items
22926         * components/services/summary/nautilus-view/nautilus-summary-view.c
22927         : (nautilus_summary_view_initialize), (bonobo_register_callback),
22928         (bonobo_login_callback), (detach_ui), (merge_bonobo_menu_items):
22929         merge the menu items when the view is activated, unmerge when destroyed
22930         
22931         * src/nautilus-window-service-ui.c: (goto_software_catalog):
22932         made the software catalog command use the real url.
22933         
22934 2000-10-19  Pavel Cisler <pavel@eazel.com>
22936         * libnautilus-extensions/nautilus-file-utilities.c:
22937         (nautilus_uri_get_basename):
22938         Ooops, fix a stupid mistake in my last checkin that broke file 
22939         change notification for fancy names.
22941 2000-10-19  Eskil Heyn Olsen  <eskil@eazel.com>
22943         * nautilus.spec.in:
22944         Removed eog dep and added xpdf for nautilus-extras.
22946 2000-10-19  Eskil Heyn Olsen  <eskil@eazel.com>
22948         * components/loser/content/Makefile.am:
22949         * components/loser/sidebar/Makefile.am:
22950         * components/mozilla/Makefile.am:
22951         * components/sample/Makefile.am:
22952         * libnautilus/Makefile.am:
22953         * src/Makefile.am:
22954         * src/file-manager/Makefile.am:
22955         Fun with Build chapter IX.
22957 2000-10-18  Andy Hertzfeld  <andy@eazel.com>
22959         * components/music/nautilus-music-view.c:
22960         (nautilus_music_view_initialize), (set_album_cover),
22961         (image_button_callback), (nautilus_music_view_set_album_image):
22962         completed bug 2261, setting images for album covers, by making
22963         the set album cover button the proper size, and leaving it visible
22964         even when there's a cover so you can change it after setting it.
22965         
22966 2000-10-18  Eskil Heyn Olsen  <eskil@eazel.com>
22968         * src/file-manager/Makefile.am:
22969         Fun with Build.
22970         I'm feeble and only very slowly finding
22971         all the -ui.xml.h thing I need to fix.
22973 2000-10-18  Eskil Heyn Olsen  <eskil@eazel.com>
22975         * components/sample/Makefile.am:
22976         * libnautilus/Makefile.am:
22977         Still trying to fix the bloody build...
22979 2000-10-18  Eskil Heyn Olsen  <eskil@eazel.com>
22981         * components/loser/content/Makefile.am:
22982         * components/loser/sidebar/Makefile.am:
22983         * components/mozilla/Makefile.am:
22984         * components/sample/Makefile.am:
22985         * po/POTFILES.in:
22986         * src/Makefile.am:
22987         * src/file-manager/Makefile.am:
22988         Still fixing the tinderbox build.
22990 2000-10-18  Ramiro Estrugo  <ramiro@eazel.com>
22992         * README:
22993         Update for new Mozilla M18 rpms.
22994         
22995 2000-10-18  Rebecca Schulman  <rebecka@eazel.com>
22997         Fixed problems in making the new bonobo translation 
22998         that confused the headers.  Also added .cvsignore
22999         entries for the new generated xml files.
23000         
23001         * components/loser/content/.cvsignore:
23002         * components/loser/content/Makefile.am:
23003         * components/loser/sidebar/.cvsignore:
23004         * components/loser/sidebar/Makefile.am:
23005         * components/mozilla/.cvsignore:
23006         * components/mozilla/Makefile.am:
23007         * components/sample/.cvsignore:
23008         * components/sample/Makefile.am:
23009         * icons/.cvsignore:
23010         * libnautilus/.cvsignore:
23011         * libnautilus/Makefile.am:
23012         * src/.cvsignore:
23013         * src/Makefile.am:
23014         * src/file-manager/.cvsignore:
23015         * src/file-manager/Makefile.am:
23017 2000-10-18  Eskil Heyn Olsen  <eskil@eazel.com>
23019         * po/POTFILES.in:
23020         Removing more .xml.h files to make tinderbox build again.
23022 2000-10-18  Gene Z. Ragan  <gzr@eazel.com>
23024         Fixed bug 3705, Bookmark icons do not appear in the menu item
23026         This was caused by a strange precedence issue in the setting of
23027         UI component pixbuf data.  If a menu item has alread been created,
23028         setting the pixbuf data will have no effect.  Either the verb for 
23029         the item has to be set with the data or the item has to have
23030         its XML contructed  with the pixbuf type and data included in it
23031         at creation time. I have opted for the latter choice.
23032         
23033         * libnautilus-extensions/nautilus-bonobo-extensions.c:
23034         * libnautilus-extensions/nautilus-bonobo-extensions.h:  
23035         (nautilus_bonobo_add_menu_item):
23036         Added setting of bitmap data if it is present as a
23037         valid argument passed into the function.
23038                 
23039         * src/file-manager/fm-directory-view.c:
23040         (add_open_with_app_bonobo_menu_item),
23041         (add_open_with_viewer_bonobo_menu_item):
23042         Call nautilus_bonobo_add_menu_item
23043         
23044         * src/nautilus-window-menus.c: (append_bookmark_to_menu):
23045         Call nautilus_bonobo_add_menu_item
23046         
23047         * src/nautilus-window.c: (nautilus_window_filter),
23048         (nautilus_window_realize), (view_menu_choose_view_callback),
23049         (nautilus_window_show):
23050         Work in progress to handle focus issues when performing
23051         click drag operations in background windows.
23052         
23053         * libnautilus-extensions/nautilus-gdk-extensions.c:
23054         * libnautilus-extensions/nautilus-gdk-extensions.h:
23055         (nautilus_gdk_window_set_wm_hints_input):
23056         New function set input files of WM_HINTS. This 
23057         will be used later to handle click drag in background
23058         windows.
23060 2000-10-18  Ramiro Estrugo  <ramiro@eazel.com>
23062         * components/mozilla/nautilus-mozilla-content-view.c:
23063         (uris_are_equal), (nautilus_mozilla_content_view_load_uri):
23064         Add support for reloading pages while ignoring the mozilla cache.
23065         Fixes bug 2780.
23066         
23067 2000-10-18  Robey Pointer  <robey@eazel.com>
23069         * components/services/trilobite/libtrilobite/trilobite-core-utils.c
23070         : (trilobite_fetch_uri):
23071         * components/services/trilobite/libtrilobite/trilobite-redirect.c:
23072         (check_gconf_init):
23074         Fix new incompatability with gnome-vfs (EOF is now an "error").
23075         
23076         * libnautilus-extensions/nautilus-icon-factory.c:
23077         (nautilus_icon_factory_get_icon_name_for_regular_file):
23079         Begin the slightly distateful process of adding special-case uri
23080         scheme icons to the left panel: make the install view use the RPM
23081         package icon.  Eventually we need to generalize the association of
23082         icons with uri schemes.
23084 2000-10-18  John Sullivan  <sullivan@eazel.com>
23086         Fixed bug 3839 (want Nautilus User Manual menu item)
23087         Note that this menu item does not actually work, due
23088         to bug 3876.
23090         * src/nautilus-shell-ui.xml:
23091         Add menu item for bringing up Nautilus User Manual.
23092         * src/nautilus-window-menus.c:
23093         (help_menu_nautilus_manual_callback),
23094         (nautilus_window_initialize_menus): Add verb
23095         and callback for Nautilus User Manual menu item.
23097 2000-10-18  Eskil Heyn Olsen  <eskil@eazel.com>
23099         * configure.in:
23100         If no bonobo-ui-extract, AC_MSG_ERROR rather then cryptic failure
23101         during compile.
23102         
23103         * libnautilus/Makefile.am:
23104         Removed some evil blankspace
23106         * po/POTFILES.in
23107         Had to remove nautitlus-mozilla-ui.xml.h, since it's a conditional
23108         build, and eg. is not built on tinderbox.eazel.com. Better fix
23109         will have to come later, need new rpms' in softcat.
23110         
23111 2000-10-18  J Shane Culpepper  <pepper@eazel.com>
23113         * components/services/summary/nautilus-view/nautilus-summary-view.c
23114         : (generate_summary_form), (generate_service_entry_row),
23115         (generate_eazel_news_entry_row), (generate_update_news_entry_row),
23116         (authn_cb_succeeded), (authn_cb_failed), (login_button_cb),
23117         (generate_error_dialog), (generate_login_dialog),
23118         (widget_set_nautilus_background_color),
23119         (nautilus_summary_view_initialize),
23120         (nautilus_summary_view_load_uri):
23122         New summary view ui.  Still missing a few fetures but works ok now.
23124 2000-10-18  Mathieu Lacage  <mathieu@eazel.com>
23126         disable bug-buddy for nautilus.
23127         * src/nautilus-main.c: (main):
23129 2000-10-19  Kjartan Maraas  <kmaraas@gnome.org>
23131         * */Makefile.am: Feeble attempt to hook up generation
23132         of .h files from the *-ui.xml files to get them included
23133         in the translations. This will need to be done in a better
23134         way I guess.
23135         * configure.in: Added a check for bonobo-ui-extract.
23136         
23137 2000-10-18  Pavel Cisler  <pavel@eazel.com>
23139         * components/tree/nautilus-tree-view.c:
23140         * libnautilus-extensions/nautilus-directory.c:
23141         (nautilus_directory_notify_files_moved),
23142         (nautilus_directory_schedule_metadata_copy),
23143         (nautilus_directory_schedule_metadata_move),
23144         (nautilus_directory_schedule_metadata_remove):
23145         * libnautilus-extensions/nautilus-file-utilities.c:
23146         (nautilus_uri_get_basename):
23147         * libnautilus-extensions/nautilus-file-utilities.h:
23148         * libnautilus-extensions/nautilus-file.c:
23149         (nautilus_file_get_internal):
23150         * src/nautilus-theme-selector.c: (add_theme_to_icons):
23151         Clean up calls to gnome_vfs_extract_short_name, remove explicit
23152         unescaping because gnome_vfs_extract_short_name now does it.
23153         Eliminate some copy-paste technology, creating a new call
23154         nautilus_uri_get_basename.
23156 2000-10-18  Robey Pointer  <robey@eazel.com>
23158         * components/services/login/nautilus-view/nautilus-change-password-
23159         view.c: (user_logged_in), (generate_change_password_form):
23160         * components/services/login/nautilus-view/nautilus-change-password-
23161         view.oafinfo:
23163         Fill in the username automatically if you're already logged in.
23164         Make the prompts more i18n'able.  Change title from "Log in" to
23165         "Change password".  Fix oafinfo typo that caused the change-pw
23166         view to never get displayed.
23167         
23168 2000-10-18  Darin Adler  <darin@eazel.com>
23170         Some Music View fixes. Andy asked me to work on this.
23171         
23172         * components/music/main.c: (main): Make warnings drop into the
23173         debugger.
23174         
23175         * components/music/nautilus-music-view.c:
23176         (nautilus_music_view_destroy): Change to use a NautilusFile object
23177         instead of using a uri string.
23178         (set_album_cover): Use the file object.
23179         (metadata_callback): Get rid of the unref that was causing a lot
23180         of trouble.
23181         (nautilus_music_view_update): Get the uri from the file object
23182         instead of vice versa.
23183         (detach_file): Cancel the call when releasing the file.
23184         (nautilus_music_view_load_uri): Release the old file and get a new
23185         one when the URI changes.
23187 2000-10-17  Maciej Stachowiak  <mjs@eazel.com>
23189         Fixed bugzilla.eazel.com bugs 2222, 3177, 3468, 3650, 3788
23190         (some vestiges of wait_until_ready remain in the farther reaches
23191         of the UI).
23192         
23193         * libnautilus-extensions/nautilus-mime-actions.h,
23194         libnautilus-extensions/nautilus-mime-actions.c
23195         (nautilus_mime_actions_check_if_required_attributes_ready,
23196         nautilus_mime_actions_get_required_file_attributes,
23197         nautilus_mime_actions_wait_for_required_file_attributes): New
23198         functions to help with monitoring or waiting for required
23199         attributes for the nautilus mime API.
23200         (nautilus_mime_get_default_action_type_for_file,
23201         nautilus_mime_get_default_action_for_file,
23202         nautilus_mime_get_default_application_for_file_internal,
23203         nautilus_mime_get_default_application_for_file,
23204         nautilus_mime_is_default_application_for_file_user_chosen,
23205         nautilus_mime_get_default_component_for_file_internal,
23206         nautilus_mime_get_default_component_for_file,
23207         nautilus_mime_is_default_component_for_file_user_chosen,
23208         nautilus_mime_get_short_list_applications_for_file,
23209         nautilus_mime_get_short_list_components_for_file,
23210         nautilus_mime_get_short_list_methods_for_file,
23211         nautilus_mime_get_all_applications_for_file,
23212         nautilus_mime_has_any_applications_for_file,
23213         nautilus_mime_get_all_components_for_file,
23214         nautilus_mime_has_any_components_for_file,
23215         nautilus_mime_set_default_action_type_for_file,
23216         nautilus_mime_set_default_application_for_file,
23217         nautilus_mime_set_default_component_for_file,
23218         nautilus_mime_set_short_list_applications_for_file,
23219         nautilus_mime_set_short_list_components_for_file,
23220         nautilus_mime_add_application_to_short_list_for_file,
23221         nautilus_mime_remove_application_from_short_list_for_file,
23222         nautilus_mime_add_component_to_short_list_for_file,
23223         nautilus_mime_remove_component_from_short_list_for_file,
23224         nautilus_mime_extend_all_applications_for_file,
23225         nautilus_mime_remove_from_all_applications_for_file,
23226         mime_type_get_supertype): Don't `nautilus_file_wait_until_ready'
23227         for the required attributes; instead assert (Well, return_if_fail)
23228         that they are available using
23229         `nautilus_file_check_if_ready'. Also, use
23230         `nautilus_file_get_uri_scheme' where possible.
23232         * libnautilus-extensions/nautilus-directory-async.c
23233         (mime_list_callback): Correct some coding mistakes.
23235         * libnautilus-extensions/nautilus-wait-until-ready.h,
23236         libnautilus-extensions/nautilus-directory.c: Remove
23237         `nautilus_directory_wait_until_ready'.
23239         * libnautilus-extensions/nautilus-file.h,
23240         libnautilus-extensions/nautilus-file.c
23241         (nautilus_file_get_uri_scheme): new convenience function.
23242         
23243         * libnautilus-extensions/nautilus-program-chooser.c:
23244         (repopulate_program_list, is_application_default_for_file,
23245         is_component_default_for_file,
23246         is_component_in_short_list_for_file,
23247         is_application_in_short_list_for_file,
23248         program_file_pair_is_default_for_file,
23249         program_file_pair_is_in_short_list_for_file,
23250         add_to_short_list_for_file, remove_from_short_list_for_file,
23251         remove_default_for_item, set_default_for_item): wait_until_ready
23252         for required file attributes.
23254         * libnautilus-extensions/nautilus-program-choosing.c:
23255         (any_programs_available_for_file): wait_until_ready for required
23256         file attributes.
23258         * src/file-manager/fm-directory-view.c: (switch_location_and_view,
23259         create_open_with_gtk_menu, reset_bonobo_open_with_menu,
23260         activate_callback): Wait for the right file attributes.
23262         * src/nautilus-applicable-views.c: (got_file_info_callback),
23263         (nautilus_navigation_info_new): Wait for the right file
23264         attributes. (no wait_until_ready).
23265         
23266         * src/nautilus-sidebar.c: (nautilus_sidebar_destroy,
23267         nautilus_sidebar_update_buttons, nautilus_sidebar_update_all),
23268         nautilus_sidebar_set_uri): Monitor the file the sidebar is
23269         displaying, and update when it's attributes change.
23270         
23271         * src/nautilus-window-manage-views.c
23272         (nautilus_window_set_content_view): Wait for the right file
23273         attributes. (no wait_until_ready).
23275         * src/nautilus-window.c: (nautilus_window_destroy,
23276         view_menu_choose_view_callback, view_menu_vfs_method_callback,
23277         nautilus_window_real_load_content_view_menu,
23278         nautilus_window_load_content_view_menu): Wait for the right
23279         attributes. (no wait_until_ready in this chain).
23280         
23281         * test/test-nautilus-mime-actions-set.c (main): Wait for the right attributes.
23282         * test/test-nautilus-mime-actions.c (main): Wait for the right attributes.
23284 2000-10-18  Darin Adler  <darin@eazel.com>
23286         * components/notes/nautilus-notes.c: (make_notes_view):
23287         * src/nautilus-location-bar.c: (nautilus_location_bar_new):
23288         * src/nautilus-simple-search-bar.c:
23289         (nautilus_simple_search_bar_new):
23290         Use calls by new names.
23291         
23292         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
23293         (editable_key_press_event), (nautilus_undo_editable_set_undo_key):
23294         Disabled the undo-key part of undo also. The old code was actually
23295         harmless because it got the name of the signal wrong, but it's
23296         better to have it disabled.
23297         * src/nautilus-shell-ui.xml: Added a comment that points out the
23298         2nd place where undo has been disabled.
23299         
23300         * libnautilus/nautilus-clipboard.h:
23301         * libnautilus/nautilus-clipboard.c: (cut_callback),
23302         (copy_callback), (paste_callback), (clear_callback),
23303         (set_paste_sensitive_if_clipboard_contains_data),
23304         (focus_changed_callback), (target_destroy_callback),
23305         (nautilus_clipboard_set_up_editable), (first_focus_callback),
23306         (control_destroyed_callback),
23307         (nautilus_clipboard_set_up_editable_in_control),
23308         (disconnect_set_up_in_control_handlers):
23309         Some minor cleanup of the clipboard code. Includes bug fixes for
23310         items that are already in focus when the clipboard is hooked up
23311         (should never happen), and a fix for code that was using
23312         gtk_signal_disconnect on something that was connected with
23313         gtk_signal_connect_while_alive (doesn't work). Also got rid of
23314         misguided code that was copying a Bonobo_UIContainer with memcpy
23315         (since Bonobo_UIContainer is just a pointer).
23316         
23317         * src/Makefile.am:
23318         * src/nautilus-window-private.h:
23319         Changed source file name from nautilus-service-menu to
23320         nautilus-service-ui, since it does a toolbar item, not just a
23321         menu.
23322         
23323         * src/nautilus-window-service-ui.c:
23324         * src/nautilus-window-service-ui.h:
23325         A second cut at the service UI code. It no longer leaks a UI
23326         component.
23328         * src/nautilus-window.c: (nautilus_window_constructed),
23329         (nautilus_window_get_ui_container): Use our own pointer to the UI
23330         container instead of asking the shell UI for its container.
23332 2000-10-18  John Sullivan  <sullivan@eazel.com>
23334         Fixed bug 3862 (Icon view reversed after looking at list view)
23335         Fixed bug 916 (workaround for Bonobo radio item bug)
23336         Also fixed bug where the "tighter layout" and "reversed order"
23337         items in the context menu were doing nothing at all.
23339         * src/file-manager/fm-icon-view.c: 
23340         Removed "updating_toggle_menu_item" from Details struct.
23341         (set_tighter_layout): New helper function, handles the code
23342         common to the Bonobo and GTK menu callbacks.
23343         (gtk_tighter_layout_callback), (gtk_sort_reversed_callback),
23344         New functions used for GTK context menu. Will go away when 
23345         we use Bonobo for context menus.
23346         (tighter_layout_state_changed_callback),
23347         (sort_reversed_state_changed_callback): Use passed state value,
23348         including checking for empty state (empty state happens when
23349         component is removed from container). This lets us eliminate the
23350         checks for "updating_toggle_item".      
23351         (handle_radio_item): Removed check for updating_toggle_menu_item.
23352         This already worked correctly without this check.
23353         (insert_one_context_menu_item), (append_one_context_menu_item),
23354         (append_one_toggle_context_menu_item): Tweaked these to pass in
23355         an initial toggle state for toggle menu items, to avoid setting
23356         the toggle state after the callback has been attached. All this
23357         code will be removed when we switch to Bonobo for context menus.
23358         (fm_icon_view_create_selection_context_menu_items),
23359         (fm_icon_view_create_background_context_menu_items),
23360         (update_layout_menus):
23362 2000-10-18  Ramiro Estrugo  <ramiro@eazel.com>
23364         * libnautilus-extensions/nautilus-preferences-item.c:
23365         (preferences_item_create_font_family):
23366         Remove the fixed font from the list of available fonts.  Its a bad
23367         one to use because it crashes the SideBar sometimes.  The problem
23368         is that the fixed font doesnt support the "find the largest
23369         fitting font" game that the SideBar plays for long strings.
23371         Its kinda lame to fix the bug by yanking the font, but we have
23372         many font improvements planned for after PR2 which will render
23373         this issue irrelevant.
23375         Fixes bug 2256.
23376         
23377 2000-10-18  Ramiro Estrugo  <ramiro@eazel.com>
23379         * librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string),
23380         (rsvg_ft_render_string), (rsvg_ft_measure_string):
23381         * librsvg/rsvg-ft.h:
23382         Add new function to only measure a string without doing all the
23383         rendering work.
23384         
23385         * libnautilus-extensions/nautilus-scalable-font.c:
23386         (nautilus_scalable_font_measure_text):
23387         Use the new rsvg_ft string measuring api.
23389         Fixes bug 2544.
23390         
23391 2000-10-18  Ramiro Estrugo  <ramiro@eazel.com>
23393         * libnautilus-extensions/nautilus-font-factory.c:
23394         (font_hash_node_lookup_with_insertion),
23395         (nautilus_font_factory_get_fallback_font):
23396         * libnautilus-extensions/nautilus-gdk-extensions.c:
23397         (nautilus_get_largest_fitting_font), (nautilus_gdk_font_get_bold):
23398         * libnautilus-extensions/nautilus-gtk-extensions.c:
23399         (nautilus_gtk_widget_set_font_by_name):
23400         * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
23401         * src/nautilus-zoom-control.c: (draw_number):
23402         Use gdk_fontset_load() instead of gdk_font_load() to make i18n
23403         work better.  Also marked some hard-coded fonts fot localization.
23404         There is still an open bug on writing useful comments about these
23405         for the localizers.  Fixes bugs 3143 and 3144.
23407         Thanks to Yukihiro Nakai <ynakai@redhat.com> for pointing these
23408         problems out and providing patches to fix them.
23409         
23410         * src/nautilus-profiler.c: (window_print_button_callback),
23411         (window_save_button_callback), (dump_dialog_new),
23412         (dump_dialog_show):
23413         Same as above plus mark some strings for localization and add
23414         assertions to currently unimplemented functions.
23415         
23416 2000-10-18  Maciej Stachowiak  <mjs@eazel.com>
23418         * ChangeLog: rolled over to ChangeLog-20001018.