1. 23 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 764d936a
      Darin Adler authored
      	Fix bug 6859 (GTK signal macros don't work in non-GCC compilers
      	for void return types).
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Replaced old macros that accidentally relied on gccisms with
      	new ones that are portable to other compilers.
      
      		NAUTILUS_CALL_PARENT_CLASS is replaced by
      			NAUTILUS_CALL_PARENT
      		    and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE.
      
      		NAUTILUS_CALL_VIRTUAL is replaced by
      			NAUTILUS_CALL_METHOD
      		    and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_destroy),
      	(nautilus_adapter_embed_strategy_get_widget),
      	(nautilus_adapter_embed_strategy_get_zoomable):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(nautilus_adapter_factory_server_destroy):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_destroy),
      	(nautilus_adapter_load_strategy_load_location),
      	(nautilus_adapter_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_destroy):
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy):
      	* components/history/nautilus-history-view.c:
      	(nautilus_history_view_destroy):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_destroy):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_destroy):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_destroy):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_destroy):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_destroy):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_service_install_view_finalize):
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c: (nautilus_inventory_config_page_destroy):
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	(nautilus_inventory_view_destroy):
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c: (nautilus_change_password_view_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c: (footer_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c: (header_destroy):
      	* components/services/summary/nautilus-summary-view.c:
      	(nautilus_summary_view_destroy):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c: (trilobite_eazel_time_view_destroy):
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_destroy):
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_destroy), (nautilus_throbber_map),
      	(nautilus_throbber_size_allocate):
      	* components/tree/nautilus-tree-change-queue.c:
      	(nautilus_tree_change_queue_destroy):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_destroy):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_destroy):
      	* components/tree/nautilus-tree-node.c:
      	(nautilus_tree_node_destroy):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy):
      	* help/nautilus-quick-reference/.cvsignore:
      	* help/nautilus-quick-reference/C/.cvsignore:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_update),
      	(nautilus_background_canvas_group_draw),
      	(nautilus_background_canvas_group_render):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_destroy):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_destroy):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_destroy), (nautilus_font_picker_show_all):
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_destroy),
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_expose_event):
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_destroy):
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	(destroy):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy),
      	(nautilus_directory_get_name_for_self_as_new_file),
      	(nautilus_directory_are_all_files_seen),
      	(nautilus_directory_contains_file),
      	(nautilus_directory_call_when_ready),
      	(nautilus_directory_cancel_callback),
      	(nautilus_directory_file_monitor_add),
      	(nautilus_directory_file_monitor_remove),
      	(nautilus_directory_force_reload),
      	(nautilus_directory_is_not_empty):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	(real_size_request), (real_size_allocate), (real_style_set):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_destroy), (nautilus_entry_key_press),
      	(nautilus_entry_motion_notify), (nautilus_entry_set_selection),
      	(nautilus_entry_insert_text), (nautilus_entry_delete_text),
      	(nautilus_entry_selection_clear):
      	* libnautilus-extensions/nautilus-file.c: (destroy),
      	(nautilus_file_monitor_add), (nautilus_file_monitor_remove),
      	(nautilus_file_get_date), (nautilus_file_get_where_string),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_get_file_type),
      	(nautilus_file_check_if_ready), (nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	* libnautilus-extensions/nautilus-font-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_destroy):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_destroy),
      	(nautilus_horizontal_splitter_button_press):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_update):
      	* libnautilus-extensions/nautilus-icon-container.c: (destroy),
      	(size_allocate), (realize), (unrealize), (button_press_event),
      	(button_release_event), (motion_notify_event), (key_press_event):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_destroy):
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_destroy),
      	(nautilus_image_table_expose_event),
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize),
      	(nautilus_image_table_remove):
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_destroy):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_size_allocate):
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_destroy), (nautilus_label_size_request),
      	(nautilus_label_size_allocate), (label_paint_pixbuf_callback):
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_destroy):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_finalize):
      	* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
      	(nautilus_list_button_press), (nautilus_list_button_release),
      	(nautilus_list_key_press), (nautilus_list_style_set),
      	(nautilus_list_realize), (nautilus_list_unrealize), (draw_rows),
      	(draw_all), (nautilus_list_draw), (nautilus_list_expose),
      	(nautilus_list_resize_column), (nautilus_list_set_cell_contents),
      	(set_list_cell), (nautilus_list_track_new_column_width),
      	(nautilus_list_motion), (nautilus_list_clear), (insert_row):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_destroy):
      	* libnautilus-extensions/nautilus-metafile-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-metafile.c: (destroy):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_destroy):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_destroy):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_destroy):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_destroy):
      	* libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_destroy):
      	* libnautilus-extensions/nautilus-trash-file.c: (trash_destroy):
      	* libnautilus-extensions/nautilus-undo-context.c: (destroy):
      	* libnautilus-extensions/nautilus-undo-manager.c: (destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-viewport.c:
      	(nautilus_viewport_destroy), (nautilus_viewport_realize):
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_destroy):
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	(nautilus_wrap_table_destroy):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_destroy), (real_update_menus),
      	(real_merge_menus):
      	* src/file-manager/fm-directory-view.c:
      	(text_attribute_names_changed_callback),
      	(image_display_policy_changed_callback),
      	(directory_view_font_family_changed_callback),
      	(click_policy_changed_callback),
      	(smooth_graphics_mode_changed_callback),
      	(fm_directory_view_destroy),
      	(fm_directory_view_file_limit_reached),
      	(fm_directory_view_bump_zoom_level),
      	(fm_directory_view_zoom_to_level),
      	(fm_directory_view_restore_default_zoom_level),
      	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
      	(fm_directory_view_get_background_widget),
      	(fm_directory_view_get_selection), (reveal_newly_added_folder),
      	(fm_directory_view_get_emblem_names_to_exclude),
      	(fm_directory_view_merge_menus), (fm_directory_view_select_all),
      	(fm_directory_view_set_selection),
      	(fm_directory_get_selected_icon_locations),
      	(fm_directory_view_reveal_selection),
      	(fm_directory_view_is_read_only), (fm_directory_view_is_empty),
      	(fm_directory_view_supports_creating_files),
      	(fm_directory_view_accepts_dragged_files),
      	(fm_directory_view_supports_properties),
      	(fm_directory_view_supports_zooming),
      	(fm_directory_view_update_menus):
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(fm_icon_view_clean_up), (fm_icon_view_get_directory_sort_by),
      	(fm_icon_view_set_directory_sort_by),
      	(fm_icon_view_get_directory_sort_reversed),
      	(fm_icon_view_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_get_directory_tighter_layout),
      	(fm_icon_view_set_directory_tighter_layout),
      	(fm_icon_view_supports_auto_layout),
      	(fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus),
      	(fm_icon_view_update_menus):
      	* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
      	(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
      	(get_number_of_columns), (get_link_column),
      	(get_default_sort_attribute), (get_column_specification):
      	* src/file-manager/fm-properties-window.c: (real_shutdown),
      	(real_destroy), (real_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy),
      	(real_add_file), (real_adding_file), (real_removing_file),
      	(real_merge_menus), (real_update_menus):
      	* src/nautilus-about.c: (nautilus_about_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_startup):
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_destroy):
      	* src/nautilus-desktop-window.c: (destroy), (realize):
      	* src/nautilus-location-bar.c: (destroy):
      	* src/nautilus-navigation-bar.c:
      	(nautilus_navigation_bar_get_location),
      	(nautilus_navigation_bar_set_location):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy):
      	* src/nautilus-shell.c: (destroy):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy),
      	(nautilus_sidebar_tabs_size_allocate):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy),
      	(nautilus_sidebar_title_size_allocate):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_destroy),
      	(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_destroy):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_destroy):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_destroy):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_finalize), (nautilus_view_frame_map):
      	* src/nautilus-window.c: (nautilus_window_destroy),
      	(nautilus_window_realize), (nautilus_window_size_request),
      	(nautilus_window_add_current_location_to_history_list),
      	(nautilus_window_show):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
      	(nautilus_zoom_control_size_allocate):
      	Use the macros by their new names.
      
      	* RENAMING: Updated for some name changes and name change ideas.
      
      	* user-guide/C/.cvsignore:
      	* user-guide/C/html/.cvsignore:
      	* user-guide/C/img/.cvsignore:
      	* user-guide/C/sgml/.cvsignore:
      	Added missing cvsignores.
      764d936a
  2. 21 Feb, 2001 1 commit
    • Eskil Heyn Olsen's avatar
      reviewed in part by: Robey Pointer <robey@eazel.com> · 690b999e
      Eskil Heyn Olsen authored
      2001-02-20  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	reviewed in part by: Robey Pointer  <robey@eazel.com>
      
      	This patch fixes bug 6458, 5722, 6602, 6788 and 5826.
      	Removed soft_depends from PacakgeData.
      
      	This has some major changes in the logic, and (taaadaa) is fairly
      	untestet because of the sorry state of the testservers these
      	days. This will most likely no longer work with
      	services.eazel.com, but only with the newest server code.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(get_detailed_errors_foreach), (get_detailed_errors):
      	Fixed to parse PackageBreaks objects.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (prune_failed_packages_helper),
      	(eazel_install_check_existing_packages), (get_softcat_info),
      	(is_satisfied), (is_satisfied_from_package_list),
      	(is_satisfied_features), (check_dependencies_foreach),
      	(check_dependencies), (check_tree_helper),
      	(check_no_two_packages_has_same_file),
      	(check_conflicts_against_already_installed_packages),
      	(check_feature_consistency), (do_file_conflict_check),
      	(do_dep_check_internal), (download_packages),
      	(get_packages_with_mod_flag), (eazel_uninstall_upward_traverse),
      	(eazel_uninstall_check_for_install), (eazel_uninstall_globber),
      	(install_packages), (uninstall_packages):
      	Ouput status in the tree dump.
      	Improved the way I fail ALREADY_INSTALLED packages.
      	Check the new package system error field in check_existing.
      	Get_info don't check for fillflag to decide if softcat success was
      	ok, since suites don't get the fillflag.
      	Don't try and dedupe suite objects.
      	Mark packages already installed with same version as CANCELLED.
      	If a ALREADYINSTALLED package is cancelled due to install options
      	(upgrade/downgrade), set a data field called "cancelled" to
      	represent.
      	Added a (currently not fully functional) check to see if a
      	dependency is solved by the current work set (bug 6809).
      	is_satisfied now uses is_satisfied_from_packages before checking
      	if dependency is installed.
      	Modified check_dependencies_foreach to pass around the package
      	list.
      	No longer do dependency check on cancelled packages (bug 6485).
      	Don't package depcheck packages with suite_id, treat it's contents
      	at comming toplevel packages.
      	Output crack sentence when trying to revice PackageFeatureMissing
      	breaks (file bug 6811)
      	Don't file uniqueness or file conflict check suites.
      	Fixed a bug in the feature_consistency, required a new query enum
      	in eazelpackagesystem query call.
      	Spewed out some comments.
      	Always add children of a suite to K.
      	Check download status (bug 5722)
      	Commented out expand_package_suites.
      	get_packages_with_mod_flag can now parse down into ->depends.
      	Nicyfied debug output.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
      	(eazel_install_fetch_package):
      	No longer use rpmvercmp.
      	Define flag to make all downloads fail (to test failed downloads).
      	Note when VFS is lying about bytes_copied.
      	Removed some ancient code.
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (eazel_install_packagedata_to_xml_int):
      	Removed soft_depends.
      
      	* components/services/install/lib/eazel-package-system-rpm3-private
      	.h:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_db_locked),
      	(eazel_package_system_rpm3_dbs_locked),
      	(eazel_package_system_rpm3_open_dbs),
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(eazel_package_system_rpm3_query_foreach),
      	(eazel_package_system_rpm3_query_requires_feature),
      	(eazel_package_system_rpm3_query),
      	(eazel_package_system_rpm3_verify):
      	Did the db lock check voodoo.
      	Added REQUIRES_FEATURE query enum.
      	Loads features from a given file (bug 5826)
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(packagedata_finalize), (packagedata_initialize),
      	(packagedata_copy), (packagedata_fill_in_missing),
      	(packagedata_remove_soft_dep), (packagedata_add_pack_to_depends),
      	(eazel_install_package_name_compare), (packagedata_dump_int):
      	Good bye soft_depends.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_implementation),
      	(eazel_package_system_load_package), (eazel_package_system_query),
      	(eazel_package_system_fail_all_packages),
      	(eazel_package_system_install), (eazel_package_system_uninstall),
      	(eazel_package_system_verify), (eazel_package_system_initialize),
      	(eazel_package_system_new_with_id):
      	Fixed 6788.
      	Added REQUIRES_FEATURE query enum.
      
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-softcat.c:
      	(eazel_softcat_get_info):
      	Fixed some suite_id majick.
      690b999e
  3. 14 Feb, 2001 1 commit
    • Eskil Heyn Olsen's avatar
      reviewed by: Robey Pointer <robey@eazel.com> · 40ddf9fd
      Eskil Heyn Olsen authored
      2001-02-13  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	reviewed by: Robey Pointer  <robey@eazel.com>
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_file_conflict_check_signal),
      	(eazel_file_uniqueness_check_signal),
      	(eazel_feature_consistency_check_signal), (something_failed),
      	(eazel_preflight_check_signal), (dep_check), (md5_check_failed),
      	(delete_files):
      	Added --silent, suppresses random spewage.
      	Added autocont, so if there was multiple problems, answering y to
      	first "continue y/n ?" will answer y to all.
      	Fixed for the modified preflight signal.
      
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_fill_from_packagedata),
      	(packagedata_from_corba_packagedatastruct):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_preflight_check), (eazel_install_callback_class_initialize):
      	* components/services/install/lib/eazel-install-corba-callback.h:
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	Changed preflight to take the operation type as argument.
      	Added modification status to the corba version of package data.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(prune_failed_packages_helper),
      	(eazel_install_check_existing_packages), (get_softcat_info),
      	(is_satisfied), (check_dependencies_foreach),
      	(do_file_conflict_check), (execute),
      	(eazel_uninstall_upward_traverse), (install_packages):
      	Fixed bug 3511, 4502 (libeazelinstall part, view still needs
      	stuff).
      
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_install_packages), (eazel_install_init_transaction),
      	(eazel_install_emit_preflight_check_default):
      	More debug spewage.
      	Fixed cut'n'paste bug in init_transaction.
      	Updated preflight signal.
      
      	* components/rpmview/nautilus-rpm-view-install.c
      	* components/services/install/nautilus-view/nautilus-service-install-view.c
      	Updated preflight signal.
      
      	* components/services/install/lib/eazel-install-problem.h:
      	* components/services/install/lib/eazel-install-problem.c:
      	(get_detailed_messages_breaks_foreach),
      	(get_detailed_messages_foreach), (compare_problem_case),
      	(add_continue_with_flag_case), (add_force_install_both_case),
      	(add_force_remove_case), (get_detailed_cases_foreach),
      	(eazel_install_problem_case_to_string),
      	(eazel_install_problem_case_foreach_destroy),
      	(build_categories_from_problem_list),
      	(eazel_install_problem_step_problem), (eazel_install_problem_done),
      	(eazel_install_problem_wait_for_completion),
      	(eazel_install_problem_handle_cases):
      	s/Fuckup/Feature dependency/
      	Lots of improvement.
      	Change some cases.
      	Did stuff...
      	Added cases of "cancelling package", "continue with flag",
      	"invalid".
      	Made EazelInstallProblem wait for the operation to complete, as
      	not to confuse the service object by starting it and resetting
      	values.
      
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_is_installed), (eazel_package_system_verify):
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-package-system-private.h:
      	* components/services/install/lib/eazel-package-system-rpm3-private
      	.h:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(rpmmonitorpiggybag_new), (eazel_package_system_rpm3_verify_impl),
      	(eazel_package_system_rpm3_verify):
      	* components/services/install/lib/eazel-package-system-skeleton.c:
      	(eazel_package_system_skeleton_verify):
      	Fixed 6494, also made verify return boolean, propageted change
      	down throughout the hierachy.
      
      	* components/services/install/lib/eazel-package-system-types.c:
      	(eazel_install_gtk_marshal_BOOL__ENUM_POINTER_INT_INT):
      	New signal for preflight.
      40ddf9fd
  4. 10 Feb, 2001 1 commit
    • Andy Hertzfeld's avatar
      fixed bug 6005, help tab still left on sidebar after view is hidden, by · f792bd37
      Andy Hertzfeld authored
      
      	* src/nautilus-sidebar.c:
      	(nautilus_sidebar_active_panel_matches_id),
      	(nautilus_sidebar_remove_panel):
      	fixed bug 6005, help tab still left on sidebar after view is hidden,
      	by decrementing the active tab index when an earlier one is deleted,
      	and checking for NULL in active_panel_matches_id.
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize),
      	(nautilus_rpm_view_update_from_uri):
      	made it us nautilus_image so the package image is anti-aliased
      f792bd37
  5. 09 Feb, 2001 1 commit
    • Eskil Heyn Olsen's avatar
      reviewed by: Robey Pointer <robey@eazel.com> · 28555b98
      Eskil Heyn Olsen authored
      2001-02-08  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	reviewed by: Robey Pointer  <robey@eazel.com>
      
      	This commit fixed bugs:
      	5723 ei2: check that install_failed_signal was not called
      	5752 ei2: port the uninstall stuff to the new ei2
      	5753 ei2: port the revert stuff to ei2
      	5757 fix leaks in EazelProblemHander
      	5957 eazel-install cli tool no longer uninstalls nicely
      	6100 RPM4: don't handle dependencies called "rpmlib(.*)"
      	6173 ei2: finish conflict and feature breakage
      	6191 make revert work (ei2: resurrect transaction stuff)
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(get_detailed_errors_foreach):
      	Updated for the CANCELLED status.
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_preflight_check_signal):
      	Fixed an output string.
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	Added the CANCELLED status.
      	uninstall_progress now has same signature as install_progress.
      
      	* components/services/install/lib/eazel-install-corba-callback.h:
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_uninstall_progress),
      	(eazel_install_callback_class_initialize):
      	uninstall_progress now has same signature as install_progress.
      
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_fill_from_packagedata),
      	(traverse_packagetree_md5), (corba_packagedatastruct_fill_deps),
      	(packagedata_from_corba_packagedatastruct),
      	(packagedata_tree_from_corba_packagedatastructlist),
      	(categorydata_list_from_corba_categorystructlist):
      	Added the CANCELLED status.
      	Commented out sending ->provides in signals.
      	Added some g_asserts to find a bug.
      	categorydata_list_from_corba_categorystructlist uses
      	packagedata_list_from_corba_packagedatastructlist.
      
      	* components/services/install/lib/eazel-install-logic.h:
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_start_transaction), (dump_one_package),
      	(compare_break_to_package_by_name),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_downward_traverse):
      	Threw out most of the old code. Keeping logic.c untill 6190 is
      	closed.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (check_md5_on_files), (is_satisfied),
      	(check_tree_helper), (execute), (set_toplevel),
      	(get_packages_with_mod_flag), (check_uninst_vs_downgrade),
      	(debug_revert), (compare_break_to_package_by_name),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_check_for_install), (eazel_uninstall_globber),
      	(install_packages), (uninstall_packages), (revert_transaction):
      	Moved revert and uninstall into logic2.c and updated them
      	appropriately.
      	Added paranoia check in case bad xml dependency has a version but
      	an senseless sense.
      	When reviving, set parent->topleve to TRUE, not revived package.
      	Revived the transaction stuff (for revert).
      	Don't allow a package to depend on a package of the same name,
      	this is often a problem during softcat updates.
      
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-private.h:
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_finalize), (eazel_install_start_signal),
      	(eazel_install_end_signal), (eazel_install_progress_signal),
      	(eazel_install_failed_signal), (eazel_install_class_initialize),
      	(eazel_install_initialize), (eazel_install_install_packages),
      	(eazel_install_uninstall_packages),
      	(eazel_install_revert_transaction_from_xmlstring),
      	(eazel_install_do_transaction_save_report_helper),
      	(eazel_install_save_transaction_report),
      	(eazel_install_init_transaction),
      	(eazel_install_emit_uninstall_progress),
      	(eazel_install_emit_uninstall_progress_default),
      	(eazel_install_emit_download_progress):
      	uninstall_progress now has same signature as install_progress.
      	Fixed some dumb bugs in install/uninstall progress emission.
      	Added some lists to check on install status.
      	Moved some of the transaction stuff from logic.c here.
      
      	* components/services/install/lib/eazel-install-problem.c:
      	(get_detailed_messages_foreach),
      	(get_detailed_uninstall_messages_foreach),
      	(get_detailed_cases_foreach),
      	(get_detailed_uninstall_cases_foreach),
      	(eazel_install_problem_tree_to_case),
      	(eazel_install_problem_tree_to_string),
      	(build_categories_from_problem_list):
      	Updated again for the new PackageBreaks objects.
      	Fixed so cli uninstall works nice again.
      	Added the CANCELLED status.
      	The problem handler is deteriorating, either we use it or we scrap
      	it.
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(rpmmonitorpiggybag_new),
      	(eazel_package_system_rpm3_set_mod_status),
      	(monitor_rpm_process_pipe_percent_output),
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(eazel_package_system_rpm3_set_state),
      	(eazel_package_system_rpm3_execute), (check_if_all_packages_seen),
      	(eazel_package_system_rpm3_install_uninstall):
      	Don't spam about the locales decimal seperator.
      	Set modification status after handling a package, so transaction
      	logs make sense.
      	Don't accept requirements of type "rpmlib(.*".
      	Ability to set all packages to CANCELLED if root helper failed
      	login.
      	If TEST is set, fake success all the time.
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(categorydata_new), (categorydata_destroy_foreach),
      	(packagedata_status_enum_to_str),
      	(packagedata_status_str_to_enum):
      	Added the CANCELLED status.
      	Improved the debug strings for alloc/dealloc of category data
      	structures.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_install):
      	If TEST, disable FORCE.
      28555b98
  6. 08 Feb, 2001 1 commit
    • Ian McKellar's avatar
      If an RPM load fails then report it to Nautilus with: · 0930369d
      Ian McKellar authored
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_update_from_uri), (nautilus_rpm_view_load_uri),
      	(rpm_view_load_location_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	If an RPM load fails then report it to Nautilus with:
      	nautilus_view_report_load_failed,
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(rpm_packagedata_fill_from_file):
      	If an RPM load fails then report it to the caller.
      
      	* components/services/trilobite/libtrilobite/trilobite-core-network
      	.c: (trilobite_open_uri):
      	Changed the unsafe `setenv' call to the safer `trilobite_setenv'.
      0930369d
  7. 02 Feb, 2001 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> and · 2fa1795d
      Maciej Stachowiak authored
      	             Robey Pointer  <robey@eazel.com>
      
      	Fix bugs 5528 (oaf command-line options show up in main program
      	section, not a separate section) and 5510 (descriptions of
      	OAF-specific options in --help are not translated). To do this I
      	had to change the way the oaf popt options are processed in all
      	the places that do so.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/image-viewer/Nautilus_View_image.oaf.in:
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/command-line/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_init):
      	* components/shell/shell.c:
      	* components/text/Nautilus_View_text.oaf.in:
      	* components/text/main.c: (main):
      	* components/throbber/main.c: (main):
      	* components/tree/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	* src/Nautilus_shell.oaf.in:
      	* src/nautilus-main.c: (main):
      	* test/test-nautilus-mime-actions-set.c: (main):
      	* test/test-nautilus-mime-actions.c: (main): Register oaf options
      	with gnomelib_register_popt_options and move oaf_init call to
      	before gnome_init to fix the aforementioned bugs.
      2fa1795d
  8. 01 Feb, 2001 1 commit
    • Eskil Heyn Olsen's avatar
      This patch is temporarily going to break a few things, will sync up with · d9cc084e
      Eskil Heyn Olsen authored
      2001-02-01  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	This patch is temporarily going to break a few things, will sync
      	up with Robey tomorrow. Eg. eazel-install (cli tool) now sigsegvs
      	on error.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_preflight_check_signal):
      	If there were problems, abort.
      
      	* components/services/install/command-line/eazel-test-softcat.c:
      	(main):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_download_progress), (impl_download_failed), (impl_dep_check),
      	(impl_install_progress), (impl_uninstall_progress),
      	(impl_md5_check_failed):
      	* components/services/install/lib/eazel-install-corba.c:
      	(impl_Eazel_Install_simple_query):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts), (ei_revert_transaction),
      	(eazel_install_do_transaction_all_files_check),
      	(eazel_install_prune_packages), (eazel_install_fetch_dependencies),
      	(eazel_install_do_file_conflict_check),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_downward_traverse),
      	(eazel_uninstall_check_for_install):
      	ifdeffed out a lot of old code that's no longer used, but it still
      	compiles. logic.c will soon be entirely removed.
      	s/packagedata_destroy/gtk_object_unref/
      	Uninstall stuff uses the new PackageBreaks objects.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (eazel_install_check_existing_packages),
      	(get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
      	(check_update_for_no_more_file_conflicts), (check_tree_helper),
      	(find_break_by_package_name), (add_file_conflict),
      	(check_no_two_packages_has_same_file),
      	(package_is_upgrading_and_doesnt_need_file),
      	(check_conflicts_against_already_installed_packages),
      	(check_feature_consistency), (install_packages_helper):
      	Nicer output.
      	Fixes 6172 and 6173.
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	Removed unused define
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_do_rpm_dependency_check):
      	More code ifdeffed out, see comment for eazel-install-logic.c
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (eazel_install_packagedata_to_xml_int),
      	(eazel_install_packagelist_to_xml), (osd_parse_shared):
      	Use the new PackageBreak objects.
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(make_rpm_argument_list), (rpm_packagedata_new_from_file),
      	(eazel_package_system_rpm3_query_impl),
      	(eazel_package_system_rpm3_compare_version):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(categorydata_destroy_foreach), (packagedependency_new),
      	(packagedependency_copy), (packagedependency_destroy),
      	(packagedata_finalize), (packagedata_class_initialize),
      	(packagedata_initialize), (packagedata_copy),
      	(packagedata_remove_soft_dep), (packagedata_get_readable_name),
      	(packagedata_add_pack_to), (packagedata_add_to_breaks),
      	(packagedata_add_pack_to_soft_depends),
      	(packagedata_add_pack_to_modifies), (packagedata_list_prune),
      	(add_string_list), (dump_package_break_list),
      	(packagedata_dump_int), (packagebreaks_finalize),
      	(packagebreaks_class_initialize), (packagebreaks_initialize),
      	(packagebreaks_get_type), (packagebreaks_new),
      	(packagebreaks_set_package), (packagebreaks_get_package),
      	(packagefileconflict_finalize),
      	(packagefileconflict_class_initialize),
      	(packagefileconflict_initialize), (packagefileconflict_get_type),
      	(packagefileconflict_new), (packagefeaturemissing_finalize),
      	(packagefeaturemissing_class_initialize),
      	(packagefeaturemissing_initialize),
      	(packagefeaturemissing_get_type), (packagefeaturemissing_new):
      	s/packagedata_destroy/gtk_object_unref/
      	Wrote some objects representing package breakage.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_is_installed):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-softcat.c:
      	(eazel_softcat_available_update):
      	Fixed the function so it matches the intended semantics
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_update_from_uri):
      	s/packagedata_destroy/gtk_object_unref/
      
      	Merge from PR3 branch
      
      	2001-01-26  Eskil Olsen  <eskil@eazel.com>
      
       	reviewed by: Ramiri Estrugo <ramiro@eazel.com>
      
       	* components/services/install/command-line/eazel-test-packsys.c:
       	(test_version_compare):
       	Testing the Mozilla hack...
      
       	* components/services/install/lib/eazel-package-system-rpm3.c:
       	(eazel_package_system_rpm3_compare_version):
       	Special case for Mxx versions because rpmvercmp is not obeying
       	the laws of mathematics...
      
       	* components/services/install/lib/eazel-softcat.c:
       	(get_search_url_for_package):
       	Fix for 6055 - no longer use hardcoded RedHat62 as distro.
      d9cc084e
  9. 31 Jan, 2001 1 commit
  10. 29 Jan, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 5e384e1b
      John Sullivan authored
      	Fixed bug 4427 (Should not execute text files by default).
      
      	Now it asks whether to run or display executable text files.
      	Advanced users can set a new preference.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(create_message_box): New bottleneck function, contains former
      	guts of show_message_box but doesn't call gtk_widget_show.
      	(show_message_box): Now just a simple wrapper for
      	calling create_message_box and showing the result.
      	(nautilus_show_info_dialog), (nautilus_show_warning_dialog),
      	(nautilus_show_error_dialog), (nautilus_show_yes_no_dialog),
      	(nautilus_show_error_dialog_with_details):
      	Renamed to add verb "show" to names.
      	(nautilus_run_simple_dialog): Renamed to add verb "run" to name.
      	(nautilus_create_question_dialog): New public function, does
      	not show the dialog yet so caller can add more buttons or
      	whatever before showing.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_descriptions),
      	(global_preferences_install_defaults),
      	(global_preferences_install_visibility),
      	(global_preferences_create_dialog): Add new preference for
      	what to do when an executable text file is activated. It
      	defaults to "Ask" and is visible only at Advanced level.
      
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.h: Moved
      	nautilus_file_contains_text into public header.
      
      	* src/file-manager/fm-directory-view.c:
      	(get_executable_text_file_action): New function, uses preference
      	and dialog (if necessary) to determine how to handle activating
      	an executable text file.
      	(activate_callback): Now handles executable text files specially
      	by using get_executable_text_file_action. Restructured the control
      	flow a little.
      
      	* components/music/nautilus-music-view.c: (set_album_cover),
      	(play_current_file), (nautilus_music_view_update):
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_done):
      	* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
      	(nautilus_summary_login_failure_dialog),
      	(generate_error_dialog):
      	* components/text/nautilus-text-view.c: (file_read_callback):
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(confirm_empty_trash),
      	(handle_transfer_vfs_error), (handle_transfer_overwrite),
      	(nautilus_file_operations_copy_move),
      	(handle_new_folder_vfs_error),
      	(nautilus_file_operations_move_to_trash):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(confirm_switch_to_manual_layout):
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_show_no_choices_message):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application):
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(display_mount_status):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(icon_view_create_nautilus_links):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_confirm_multiple_windows),
      	(real_file_limit_reached), (fm_directory_view_confirm_deletion),
      	(confirm_delete_from_trash), (report_broken_symbolic_link),
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions):
      	* src/file-manager/fm-properties-window.c: (set_custom_image):
      	* src/file-manager/fm-search-list-view.c: (load_location_callback),
      	(load_error_callback), (display_indexed_search_problems_dialog),
      	(real_file_limit_reached):
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_file_index_callback),
      	(show_search_service_not_available_dialog):
      	* src/nautilus-application.c: (check_required_directories),
      	(nautilus_application_startup):
      	* src/nautilus-location-bar.c: (drag_data_received_callback):
      	* src/nautilus-property-browser.c: (remove_pattern),
      	(remove_emblem), (emblem_image_file_changed),
      	(add_pattern_to_browser), (add_color_to_browser),
      	(emblem_dialog_clicked):
      	* src/nautilus-sidebar.c: (receive_dropped_uri_list):
      	* src/nautilus-theme-selector.c: (add_theme_to_icons),
      	(theme_select_row_callback):
      	* src/nautilus-window-manage-views.c: (handle_unreadable_location),
      	(report_content_view_failure_to_user_internal),
      	(report_sidebar_panel_failure_to_user),
      	(nautilus_window_end_location_change_callback):
      	* src/nautilus-window-menus.c: (forget_history_if_confirmed),
      	(show_bogus_bookmark_window): Updated for dialog API name changes.
      
      	* libnautilus-extensions/nautilus-file.c: (get_description):
      	Lucky Aaron gets missing mime description complaints now.
      5e384e1b
  11. 22 Jan, 2001 1 commit
    • Robey Pointer's avatar
      Change the download_progress and download_failed signals to pass a · 8efb99a5
      Robey Pointer authored
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_download_progress), (impl_download_failed):
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_from_packagedata):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_fetch_remote_package_list),
      	(eazel_install_emit_download_progress),
      	(eazel_install_emit_download_progress_default),
      	(eazel_install_emit_download_failed),
      	(eazel_install_emit_download_failed_default):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(http_fetch_remote_file), (ftp_fetch_remote_file),
      	(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
      	(local_fetch_remote_file), (eazel_install_fetch_file),
      	(eazel_install_fetch_package):
      	* components/services/install/lib/eazel-install-protocols.h:
      	* components/services/install/lib/eazel-install-public.h:
      
      	Change the download_progress and download_failed signals to pass a
      	PackageData struct (and not a char*) just like every other signal,
      	now that we can do that.  Fix a missing bytesize fill-in in one of
      	the corba conversion functions.  Also, make the non-slim build use
      	the file-rename trick from the bootstrap installer, to ensure that
      	uncompleted downloads are never treated like valid package files.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_download_progress_signal),
      	(nautilus_rpm_view_download_failed):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_download_progress_signal), (download_failed),
      	(something_failed):
      
      	Fix rpm view and command-line install to use the new download
      	signal signatures.
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_downloading),
      	(nautilus_service_install_preflight_check),
      	(nautilus_service_install_download_failed),
      	(nautilus_service_install_installing),
      	(nautilus_service_install_done),
      	(nautilus_service_install_view_update_from_uri):
      
      	Use the new download signal signatures to draw a nifty progress
      	bar for the overall download (where 90% of most users' time will
      	be spent in this view).  Scale the progress bar to match the
      	package files' expected sizes (softcat bug to be fixed in 1.0).
      	Leave the throbber on during the downloads so they can be
      	aborted.  Don't offer to erase rpms if the package was already
      	installed (and therefore not downloaded).
      8efb99a5
  12. 11 Jan, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 38f9b094
      Ramiro Estrugo authored
      	Fix bugs 4711, 2322, 3778, 4989, 5044, 5166, 5408, 4418, 3779 (parts),
      	5051, 2783 and maybe other relating to (ab)use of fonts,
      	backgrounds and other sacred attrbiutes of Gtk themes.
      
      	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
      	(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
      	(setup_IDE_form):
      	Fix hard coded fonts.
      
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize),
      	(music_view_set_selected_song_title), (reset_playtime),
      	(play_status_display), (slider_moved_callback),
      	(add_play_controls):
      	Fix hard coded fonts.
      
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_initialize):
      	Fix hard coded fonts.
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (horizontal_line_new), (install_message_new),
      	(generate_install_form),
      	(nautilus_service_install_view_initialize),
      	(current_progress_bar_complete),
      	(nautilus_service_install_installing):
      	Fix hard coded fonts.
      
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c: (generate_change_password_form), (authn_succeeded),
      	(authn_failed), (change_password_button_cb),
      	(nautilus_change_password_view_initialize):
      	Fix hard coded fonts.  Cleanup header inclusion a bit.
      
      	* components/services/nautilus-dependent-shared/Makefile.am:
      	Retire some crufty code.
      
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.c: (eazel_services_image_new),
      	(eazel_services_image_new_from_uri):, (eazel_services_label_new):
      	Update for label, image and hard coded font changes.
      
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.h:
      	Make the colors opaque.  Remove a bunch of hard coded font stuff.
      	Also remove a bunch of hard coded offsets.  We use alignments and
      	paddings instead.
      
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c: (label_enter_event), (label_leave_event),
      	(image_enter_event), (footer_item_new),
      	(eazel_services_footer_update):
      	Update for label, image and hard coded font changes.
      
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c: (eazel_services_header_title_new),
      	(eazel_services_header_middle_new):
      	* components/services/nautilus-dependent-shared/shared-service-util
      	ities.c:
      	* components/services/nautilus-dependent-shared/shared-service-util
      	ities.h:
      	* components/services/nautilus-dependent-shared/shared-service-widg
      	ets.c:
      	* components/services/nautilus-dependent-shared/shared-service-widg
      	ets.h:
      	* components/services/summary/nautilus-view/nautilus-summary-callba
      	cks.c:
      	* components/services/summary/nautilus-view/nautilus-summary-dialog
      	s.c: (generate_login_dialog):
      	* components/services/summary/nautilus-view/nautilus-summary-footer
      	.c:
      	* components/services/summary/nautilus-view/nautilus-summary-menu-i
      	tems.c:
      	* components/services/summary/nautilus-view/nautilus-summary-view-p
      	rivate.h:
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_summary_form), (generate_service_entry_row),
      	(generate_eazel_news_entry_row), (generate_update_news_entry_row):
      	Update for label, image and hard coded font changes.
      
      	* libnautilus-extensions/Makefile.am:
      	Add new smooth/label/image widget stuff.  Retire buffered widget.
      
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	(nautilus_art_irect_get_width), (nautilus_art_irect_get_height):
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	Two new very simple functions to get the width/height of an
      	ArtIRect.
      
      	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
      	(nautilus_irect_gtk_widget_get_frame):
      	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
      	New simple function to get the dimensions of a widget as an
      	ArtIRect frame.
      
      	* libnautilus-extensions/nautilus-buffered-widget.c:
      	* libnautilus-extensions/nautilus-buffered-widget.h:
      	Retire.  We dont use this no more.
      
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(nautilus_customization_data_get_next_element_for_display):
      	Update for image and hard coded font changes.
      
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_initialize_class),
      	(debug_pixbuf_viewer_initialize), (debug_pixbuf_viewer_destroy),
      	(debug_pixbuf_viewer_size_request),
      	(debug_pixbuf_viewer_expose_event),
      	(debug_pixbuf_viewer_set_pixbuf),
      	(nautilus_debug_draw_rectangle_and_cross), (destroy_debug_window),
      	(nautilus_debug_show_pixbuf):
      	* libnautilus-extensions/nautilus-debug-drawing.h:
      	Back to using a widget to display the debug pixbuf.  But since we
      	cant use NautilusImage (because we want to use this debug stuff to
      	debug NautilusImage itselft) we need something else.  Thus a new
      	private and simple widget to display the debug pixbuf.
      
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      	(nautilus_gdk_pixbuf_draw_to_drawable),
      	(nautilus_gdk_pixbuf_draw_to_pixbuf_alpha): Fix a very dumb typo.
      	(draw_tile_to_pixbuf_callback),
      	(nautilus_gdk_pixbuf_draw_to_pixbuf_tiled),
      	(nautilus_gdk_pixbuf_draw_to_drawable_tiled),
      	(nautilus_gdk_pixbuf_get_from_window_safe):
      	Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
      	clarity.
      
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
      	Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for
      	clarity.
      
      	* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      	Update opacity macros.  Tiny update for change in font constructor.
      
      	* libnautilus-extensions/nautilus-image-with-background.h:
      	* libnautilus-extensions/nautilus-image-with-background.c:
      	(find_background_ancestor), (draw_background_callback),
      	(nautilus_image_new_with_background):
      	Create a NautilusImage that uses NautilusBackground to
      	draw the background.  We put this in a separate file to avoid the
      	ugly dependency chain in NautilusBackground so that NautilusImage
      	can be used by standalone components in the future.
      
      	* libnautilus-extensions/nautilus-image.h:
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_initialize_class), (nautilus_image_initialize),
      	(nautilus_image_destroy), (nautilus_image_set_arg),
      	(nautilus_image_get_arg), (nautilus_image_size_request),
      	(image_paint_pixbuf_callback), (image_composite_pixbuf_callback),
      	(nautilus_image_expose_event),
      	(nautilus_image_set_is_smooth_signal), (image_get_pixbuf_frame),
      	(image_get_pixbuf_bounds), (image_get_tile_frame),
      	(nautilus_image_new), (nautilus_image_set_is_smooth),
      	(nautilus_image_get_is_smooth), (nautilus_image_set_tile_pixbuf),
      	(nautilus_image_get_tile_pixbuf), (nautilus_image_set_pixbuf),
      	(nautilus_image_set_pixbuf_from_file_name),
      	(nautilus_image_get_pixbuf), (nautilus_image_set_pixbuf_opacity),
      	(nautilus_image_get_pixbuf_opacity),
      	(nautilus_image_set_tile_opacity),
      	(nautilus_image_get_tile_opacity), (nautilus_image_set_tile_width),
      	(nautilus_image_get_tile_width), (nautilus_image_set_tile_height),
      	(nautilus_image_get_tile_height),
      	(nautilus_image_set_tile_mode_vertical),
      	(nautilus_image_get_tile_mode_vertical),
      	(nautilus_image_set_tile_mode_horizontal),
      	(nautilus_image_get_tile_mode_horizontal),
      	(nautilus_image_set_tile_pixbuf_from_file_name),
      	(nautilus_image_set_background_mode),
      	(nautilus_image_get_background_mode),
      	(nautilus_image_set_solid_background_color),
      	(nautilus_image_get_solid_background_color),
      	(nautilus_image_new_solid):
      	Fixed many problems.  Properly handles rendering
      	on top of arbitrary Gtk backgrounds.  Does not allocate a buffer
      	the size of the widget anymore.  All rendering occurs on exposure
      	events.  Honrts the the GtkMisc superclass attrbutes for alignment
      	and padding.  The widget is a lot simpler now.
      
      	* libnautilus-extensions/nautilus-label-with-background.h:
      	* libnautilus-extensions/nautilus-label-with-background.c:
      	(find_background_ancestor), (draw_background_callback),
      	(nautilus_label_new_with_background):
      	Create a NautilusLabel that uses NautilusBackground to
      	draw the background.  We put this in a separate file to avoid the
      	ugly dependency chain in NautilusBackground so that NautilusLabel
      	can be used by standalone components in the future.
      
      	* libnautilus-extensions/nautilus-label.h:
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_initialize_class), (nautilus_label_initialize),
      	(nautilus_label_destroy), (nautilus_label_set_arg),
      	(nautilus_label_get_arg), (nautilus_label_size_request),
      	(label_paint_pixbuf_callback), (label_composite_pixbuf_callback),
      	(nautilus_label_expose_event),
      	(nautilus_label_set_is_smooth_signal), (label_draw_text_to_pixbuf),
      	(label_get_default_line_wrap_width), (label_get_text_frame),
      	(label_get_text_bounds), (label_get_tile_frame), (label_peek_text),
      	(label_get_empty_line_height),
      	(label_get_total_text_and_line_offset_height),
      	(label_line_geometries_clear), (label_line_geometries_recompute),
      	(nautilus_label_new), (nautilus_label_set_smooth_font),
      	(nautilus_label_get_smooth_font),
      	(nautilus_label_set_smooth_font_size),
      	(nautilus_label_get_smooth_font_size),
      	(nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
      	(nautilus_label_set_tile_pixbuf), (nautilus_label_get_tile_pixbuf),
      	(nautilus_label_set_text_opacity),
      	(nautilus_label_get_text_opacity),
      	(nautilus_label_set_tile_opacity),
      	(nautilus_label_get_tile_opacity), (nautilus_label_set_tile_width),
      	(nautilus_label_get_tile_width), (nautilus_label_set_tile_height),
      	(nautilus_label_get_tile_height),
      	(nautilus_label_set_tile_mode_vertical),
      	(nautilus_label_get_tile_mode_vertical),
      	(nautilus_label_set_tile_mode_horizontal),
      	(nautilus_label_get_tile_mode_horizontal),
      	(nautilus_label_set_tile_pixbuf_from_file_name),
      	(nautilus_label_set_background_mode),
      	(nautilus_label_get_background_mode),
      	(nautilus_label_set_solid_background_color),
      	(nautilus_label_get_solid_background_color),
      	(nautilus_label_set_smooth_line_wrap_width),
      	(nautilus_label_get_smooth_line_wrap_width),
      	(nautilus_label_set_text_color), (nautilus_label_get_text_color),
      	(nautilus_label_set_smooth_drop_shadow_offset),
      	(nautilus_label_get_smooth_drop_shadow_offset),
      	(nautilus_label_set_smooth_drop_shadow_color),
      	(nautilus_label_get_smooth_drop_shadow_color),
      	(nautilus_label_set_justify), (nautilus_label_get_text_justify),
      	(nautilus_label_set_text), (nautilus_label_get_text),
      	(nautilus_label_set_wrap), (nautilus_label_get_wrap),
      	(nautilus_label_new_solid), (nautilus_label_make_bold),
      	(nautilus_label_make_larger), (nautilus_label_make_smaller):
      	Fixed many problems.  Properly handles rendering
      	on top of arbitrary Gtk backgrounds.  Does not allocate a buffer
      	the size of the widget anymore.  All rendering occurs on exposure
      	events.  Honors the the GtkMisc superclass attrbutes for alignment
      	and padding.  NautilusLabel is now subclassed from GtkLabel
      	itself.  That means that the is_smooth attribute can be toggled to
      	make both religions happy.  Support for making the label larger,
      	smaller and/or bold based on the current font.  Renamed a lot of
      	methods to make it obvious that they apply only to the smooth case.
      	Also made the api match GtkLabel more closely.  So many functions
      	got renamed.
      
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	(nautilus_radio_button_group_set_entry_pixbuf):
      	Tiny update for changes in the NautilusImage constructor.
      
      	* libnautilus-extensions/nautilus-scalable-font-private.h:
      	New file.  Some private font stuff lives here.  I need this
      	changed for a checkin that I will make later regarding improvement
      	of performance in the icon container smooth fonts.
      
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_initialize), (font_entry_new),
      	(font_entry_free), (nautilus_scalable_font_new),
      	(nautilus_scalable_font_make_bold),
      	(nautilus_scalable_font_draw_text),
      	(nautilus_scalable_font_draw_text_lines_with_dimensions),
      	(nautilus_scalable_font_draw_text_lines),
      	(nautilus_scalable_font_get_default_font),
      	(nautilus_scalable_font_get_rsvg_handle),
      	(nautilus_scalable_font_get_rsvg_context),
      	(nautilus_text_layout_paint):
      	Change the constructor to return the type itself instead of
      	GtkObject.  Some minor style tweaks.  Keep track of the font entry
      	that was used to allocate the font.  New private functions for
      	accessing the rsvg context and font handles.  Remove an unsed
      	function.
      
      	* libnautilus-extensions/nautilus-smooth-widget.h:
      	* libnautilus-extensions/nautilus-smooth-widget.c:
      	(widget_is_smooth), (smooth_widget_set_is_smooth),
      	(preferences_get_is_smooth), (smooth_widget_destroy),
      	(smooth_graphics_mode_changed_callback),
      	(nautilus_smooth_widget_register),
      	(smooth_widget_get_tile_origin_point),
      	(smooth_widget_get_gtk_background), (smooth_widget_get_background),
      	(smooth_widget_paint_tile_opaque),
      	(smooth_widget_paint_tile_transparent),
      	(smooth_widget_paint_content_opaque),
      	(smooth_widget_paint_content_transparent),
      	(smooth_widget_paint_tile_and_content_transparent),
      	(nautilus_smooth_widget_paint),
      	(nautilus_smooth_widget_get_tile_bounds),
      	(nautilus_smooth_widget_get_preferred_frame):
      	Shared code between NautilusLabel and NautilusImage.  ALl the code
      	to support smooth toggable widgets lives here.  Also, keep track
      	of smooth widgets and toggle their is_smooth attribute in response
      	to nautilus smooth graphics preferences changes.
      
      	* libnautilus-extensions/nautilus-tabs.c:
      	(nautilus_tabs_initialize), (draw_tab_label):
      	Tiny update for change in font constructor.  Add a FIXME for a
      	hard coded font issue im going to fix later.  Opacity macro
      	update.
      
      	* src/file-manager/fm-properties-window.c:
      	(create_image_widget_for_file):
      	Using the new image widget makes this code a lot simpler.  No
      	longer need to check smooth preference.  It all happens
      	automatically.
      
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display), (show_reindex_request_information),
      	(show_index_progress_bar), (show_indexing_info_dialog):
      	Fix a bunch of hard coded font issues.
      
      	* src/nautilus-about.c: (draw_aa_string),
      	(nautilus_about_draw_info), (nautilus_about_update_authors):
      	Tiny update for change in font constructor.  Opacity macro
      	update.
      
      	* src/nautilus-first-time-druid.c: (label_new_left_justified),
      	(make_hbox_user_level_radio_button), (set_up_user_level_page),
      	(set_up_service_signup_page), (set_up_update_page),
      	(set_up_proxy_config_page), (set_up_update_feedback_page),
      	(nautilus_first_time_druid_show):
      	Fix a bunch of hard coded font issues.  Also fix the rendering
      	problems with image usage inside selectable buttons.
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_initialize),
      	(set_emblem_image_from_file), (make_property_tile),
      	(make_properties_from_directories), (add_reset_property),
      	(make_properties_from_xml_node),
      	(nautilus_property_browser_update_contents):
      	Fix hard coded fonts.  Update for NautilusImage and NautilusLabel
      	changes.
      
      	* src/nautilus-search-bar-criterion.c:
      	Remove unused #include.
      
      	* src/nautilus-shell.c: (display_caveat):
      	Fix hard coded fonts.
      
      	* src/nautilus-sidebar-tabs.c:
      	(nautilus_sidebar_tabs_load_theme_data), (draw_one_tab_plain),
      	(draw_one_tab_themed):
      	Fix hard coded fonts.  Opacity macros update.
      
      	* src/nautilus-sidebar-title.c:
      	(nautilus_sidebar_title_initialize),
      	(nautilus_sidebar_title_select_text_color), (update_icon),
      	(update_font), (update_title), (update_more_info), (add_emblem),
      	(sidebar_title_create_title_label),
      	(sidebar_title_create_more_info_label),
      	(smooth_graphics_mode_changed_callback):
      	Update for NautilusImage and NautilusLabel changes.  Made the
      	widget a lot simpler.
      
      	We no longer need to keep track of smooth changes in the sidebar
      	title.  They are taked care automatically by the widgets.
      
      	We no longer need to create 2 labels to honor smoothness.
      	NautilusLabel does it all now.
      
      	Removed a set_background() function that already
      	exists in nautilus-extensions.
      
      	* src/nautilus-theme-selector.c:
      	(nautilus_theme_selector_initialize), (set_help_label),
      	(exit_remove_mode):
      	Fix hard coded fonts.
      
      	* test/font-test.sh:
      	Retire.  Not needed.
      
      	* test/.cvsignore:
      	* test/Makefile.am:
      	Add a bunch of tests.
      
      	* test/test.h:
      	* test/test.c:
      	Put shared test code here.
      
      	* test/test-nautilus-font-simple.c:
      	* test/test-nautilus-font.c:
      	* test/test-nautilus-image-background.c:
      	* test/test-nautilus-image-scrolled.c:
      	* test/test-nautilus-image-simple.c:
      	* test/test-nautilus-image-tile.c:
      	* test/test-nautilus-image.c:
      	* test/test-nautilus-label-background.c:
      	* test/test-nautilus-label-flavorful.c:
      	* test/test-nautilus-label-scrolled.c:
      	* test/test-nautilus-label-simple.c:
      	* test/test-nautilus-label-wrapped.c:
      	* test/test-nautilus-label.c:
      	* test/test-nautilus-pixbuf-tile.c:
      	* test/test-nautilus-smooth-graphics.c:
      	* test/test-nautilus-wrapped-label.c:
      	Some new tests.  Many updates to old label and image tests.
      38f9b094
  13. 05 Jan, 2001 2 commits
    • Maciej Stachowiak's avatar
      xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part · 7f8d07e8
      Maciej Stachowiak authored
      	of resolving bug 2693 (I will consider my work done once I have
      	also handled Bonobo).
      
      	* autogen.sh, configure.in: xml-i18n-toolize
      	* .cvsignore: ignore xml-i18n scripts
      	* Makefile.am: distribute xml-i18n-scripts
      
      	* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
      	Renamed from components/adapter/nautilus-adapter.oafinfo; mark
      	translatable strings transalatable.
      	* components/adapter/Makefile.am: Deal w/ oaf file rename, do
      	merge.
      	* components/adapter/.cvsignore: Ignore .oaf file.
      
      	* components/hardware/.cvsignore, components/hardware/Makefile.am,
      	components/hardware/Nautilus_View_hardware.oaf.in,
      	components/hardware/nautilus-hardware-view.oafinfo: Ditto.
      	* components/history/.cvsignore, components/history/Makefile.am,
      	components/history/Nautilus_View_history.oaf.in,
      	components/history/nautilus-history-view.oafinfo: Ditto.
      
      	* components/image-viewer/.cvsignore,
      	components/image-viewer/Makefile.am,
      	components/image-viewer/Nautilus_View_image.oaf.in,
      	components/image-viewer/nautilus-image-view.oafinfo: Ditto.
      
      	* components/loser/content/.cvsignore,
      	components/loser/content/Makefile.am,
      	components/loser/content/Nautilus_View_content-loser.oaf.in,
      	components/loser/content/nautilus-content-loser.oafinfo: Ditto.
      
      	* components/loser/sidebar/.cvsignore,
      	components/loser/sidebar/Makefile.am,
      	components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
      	components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
      	* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
      	components/mozilla/Nautilus_View_mozilla.oaf.in,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
      	* components/music/.cvsignore, components/music/Makefile.am,
      	components/music/Nautilus_View_music.oaf.in,
      	components/music/nautilus-music-view.oafinfo: Ditto.
      	* components/notes/.cvsignore, components/notes/Makefile.am,
      	components/notes/Nautilus_View_notes.oaf.in,
      	components/notes/nautilus-notes.oafinfo: Ditto.
      	* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
      	components/rpmview/Nautilus_View_rpm.oaf.in,
      	components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
      	* components/sample/.cvsignore, components/sample/Makefile.am,
      	components/sample/Nautilus_View_sample.oaf.in,
      	components/sample/nautilus-sample-content-view.oafinfo: Ditto.
      	* components/services/install/nautilus-view/.cvsignore,
      	components/services/install/nautilus-view/Makefile.am,
      	components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
      	components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
      	Ditto.
      	* components/services/install/server/.cvsignore,
      	components/services/install/server/Makefile.am,
      	components/services/install/server/Trilobite_Service_install.oaf.in,
      	components/services/install/server/trilobite-eazel-install-service.oafinfo:
      	Ditto.
      	* components/services/login/nautilus-view/.cvsignore,
      	components/services/login/nautilus-view/Makefile.am,
      	components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
      	components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
      	Ditto.
      	* components/services/summary/nautilus-view/.cvsignore,
      	components/services/summary/nautilus-view/Makefile.am,
      	components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
      	components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
      	* components/services/trilobite/sample/.cvsignore,
      	components/services/trilobite/sample/nautilus-view/Makefile.am,
      	components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
      	components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
      	Ditto.
      	* components/services/trilobite/sample/service/.cvsignore,
      	components/services/trilobite/sample/service/Makefile.am,
      	components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
      	components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
      	Ditto.
      	* components/text/.cvsignore, components/text/Makefile.am,
      	components/text/Nautilus_View_text.oaf.in,
      	components/text/nautilus-text-view.oafinfo: Ditto.
      	* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
      	src/nautilus.oafinfo: Ditto.
      	* components/tree/.cvsignore, components/tree/Makefile.am,
      	components/tree/Nautilus_View_tree.oaf.in,
      	components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
      	removed ability to build tree view as an exe component (no one was
      	really using it anyway).
      	* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
      	* components/help/.cvsignore, components/help/Makefile.am,
      	components/help/Nautilus_View_help.oaf.in:
      	components/help/help-contents.oafinfo: Ditto, and merged other
      	oafinfo files into Nautilus_View_help.oaf.in, commented out.
      	* components/help/help-factory.oafinfo,
      	components/help/help-index.oafinfo,
      	components/help/help-search.oafinfo: Removed.
      
      	* po/POTFILES.in: Added .oaf.in files.
      	* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
      	po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
      	now-obsolete files.
      
      	* components/services/Makefile.am: Removed time service from build.
      	* components/html/*, components/websearch/*: cvs deleted these
      	obsolete long since non-built components.
      	* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
      7f8d07e8
    • Pavel Cisler's avatar
      reviewed by: Rebecca Schulman <rebecka@eazel.com> · 4513aacc
      Pavel Cisler authored
      2001-01-04  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Rebecca Schulman  <rebecka@eazel.com>
      
      	Fix 5451 - GnomeVFS-WARNING received at startup.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	New standard module initialization call was not initializing
      	or shutting down gnome_vfs.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/text/main.c: (main):
      	* components/tree/main.c: (main):
      	All of the above modules were initializing gnome_vfs but never
      	shutting it down. Add proper gnome_vfs_shutdown call.
      	This very likely fixes a problem with the notes module, etc.
      	sticking around after Nautilus quits.
      4513aacc
  14. 20 Dec, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · 97c19c01
      Eskil Heyn Olsen authored
      
      	reviewed by: Maciej Stachowiak <mjs@eazel.com>
      
      	This powerpatch introduces the first parts of the ei2 work.
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_update_from_uri):
      	Updated the is_installed call to also pass a version sense.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (set_parameters_from_command_line),
      	(eazel_download_progress_signal), (main):
      	Option to enable ei2.
      	And since I was bored and played with adding KB/s to download.
      	Also reenabled the use of gnome_init since otherwise the options
      	were all incorrect.
      
      	* components/services/install/command-line/eazel-test-packsys.c:
      	(test_query), (progress_signal), (test_verify):
      	Made the tests easier to tweak, by having defines for the
      	packages/features etc that are used in the test queries.
      	Fixed test_verify, so it' won't report badness on verify of
      	multiple packages.
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(categorylist_flatten_to_packagelist),
      	Moved a function from eazel-install-logic. It returns a flat list
      	of all the packages in a set of categories.
      	(packagedata_class_initialize), (packagedata_initialize),
      	(packagedata_finalize), (packagedata_get_type), (packagedata_new),
      	(packagedata_fill_in_missing), (packagedata_destroy),
      	gtk'ified the packagedata object (I apologize)
      	(eazel_install_package_matches_versioning):
      	Made the matches_versioning use a version sense.
      	Also added a PACKAGE_FILL_INVALID enum and a
      	EAZEL_SOFTCAT_SENSE_ANY. Guess what they mean...
      	Also added some gtk style defines for PackageDependency, for the
      	day when we actually want to abuse it into a gtkobject (shudder)
      	fill_in_missing now also sets the fillflag (needed for the ei2 work)
      
      	* components/services/install/command-line/eazel-test-types.c:
      	(test_eazel_install_package_matches_versioning):
      	More test of matches_versioning to test the new sense ability.
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/install/lib/eazel-install-corba.c:
      	(impl_Eazel_Install__set_ei2), (impl_Eazel_Install__get_ei2),
      	(impl_Eazel_Install__set_ignore_file_conflicts),
      	(impl_Eazel_Install__get_ignore_file_conflicts),
      	(eazel_install_get_epv):
      	Added the evil ei2 boolean. If set, libeazelinstall will use the
      	new ei2 features.
      
      	* components/services/install/lib/Makefile.am:
      	Added eazel-install-logic2.c which has the ei2 stuff.
      
      	* components/services/install/lib/eazel-install-logic.h:
      	* components/services/install/lib/eazel-install-logic.c:
      	(ei_install_packages), (eazel_install_download_packages),
      	(ei_uninstall_packages), (ei_revert_transaction),
      	(eazel_install_check_existing_packages),
      	(eazel_install_fetch_dependencies),
      	(eazel_uninstall_check_for_install):
      	Moved flatten_packages out.
      	Prefixed soem functions with ei_ to seperate them from the ei2
      	equivalents.
      	Suffixed emit_dependency_check with _pre_ei2 to seperate it from
      	the ei2 equivalent.
      
      	* components/services/install/lib/eazel-install-logic2.h:
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (dump_tree), (get_softcat_info),
      	(get_package_info_foreach), (get_package_info),
      	(dedupe_foreach_depends), (dedupe_foreach), (dedupe),
      	(is_satisfied), (is_satisfied_features),
      	(check_dependencies_foreach), (check_dependencies),
      	(no_two_packages_with_same_file), (check_conflicts_with_other),
      	(feature_consistency_check), (do_file_conflict_check),
      	(do_dep_check), (install_packages), (uninstall_packages),
      	(revert_transaction):
      	Implemented the first many steps of ei2. It now gets package info
      	and correctly constructs a tree of needed packages. It still lacks
      	the file and feature conflict checking.
      
      	* components/services/install/lib/eazel-install-metadata.c:
      	(init_default_install_configuration):
      	Default debug to FALSE
      
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-private.h:
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_set_arg), (eazel_install_class_initialize),
      	(eazel_install_initialize), (eazel_install_install_packages),
      	(eazel_install_uninstall_packages),
      	(eazel_install_revert_transaction_from_xmlstring),
      	(eazel_install_emit_dependency_check),
      	(eazel_install_emit_dependency_check_pre_ei2),
      	(eazel_install_set_debug):
      	Shitload of code just to have one more arg (ei2). I remember how
      	easy this was in Emerald... *sigh*
      	_set_debug also sets VERBOSE debug in the packagesystem object.
      	Initialise also inits some new hashes for ei2.
      	The install, uninstall and revert checks for the ei2 setting, if
      	true, use the new ones, of not, use the old ones (doh)
      	Added a new emit_dependency that as second arg takes a
      	PackageDependency and mutates a correct PackageData from it.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_package):
      	Back to only getting with NO_PROVIDES|NO_DEPENDENCIES when using
      	the old (non ei2) stuff.
      
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_is_installed):
      	Takes a sense as last argument, make it more flexible.
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(eazel_package_system_rpm3_query_requires),
      	(check_if_all_packages_seen):
      	Removed a fixme comment.
      	Added a fixme comment.
      	Set the package fillflag in fill_from_header.
      	Fixed some braindamage in query_requires to limit the amount of
      	damage the query does.
      	all_packages_seen changes according to the is_installed changes.
      
      	* components/services/install/lib/eazel-softcat.c:
      	* components/services/install/lib/eazel-softcat.h:
      	Give robey more blame than me.
      
      	* components/services/install/lib/makefile.staticlib.in:
      	Added logic2.o
      97c19c01
  15. 15 Dec, 2000 1 commit
  16. 14 Dec, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Fixed 5169 and 5170 (install and verify didn't work). · ca859620
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_set_progress):
      	* components/rpmview/nautilus-rpm-view-private.h:
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (verify_failed_signal),
      	(nautilus_rpm_view_verify_files):
      	Fixed 5169 and 5170 (install and verify didn't work).
      ca859620
  17. 13 Dec, 2000 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · ac2ec5b5
      Darin Adler authored
      	Fixed bug 1948 ("Open in New Window" menu item reuses existing
      	window if it exists) by separating the explicit "open in new
      	window" feature (always gives a new window) from the "open all
      	items in new windows" preference (reuses window if one with the
      	right location already exists).
      
      	* libnautilus/nautilus-view-component.idl: Added new
      	open_location_prefer_existing_window call. Renamed open_location
      	to open_location_in_this_window and open_location_in_new_window to
      	open_location_force_new_window for clarity.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_open_location_in_this_window),
      	(nautilus_view_open_location_prefer_existing_window),
      	(nautilus_view_open_location_force_new_window):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_open_location_in_this_window),
      	(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
      	(impl_Nautilus_ViewFrame_open_location_force_new_window):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_open_location_in_this_window),
      	(nautilus_view_frame_open_location_prefer_existing_window),
      	(nautilus_view_frame_open_location_force_new_window):
      	* src/nautilus-view-frame.h:
      	Add new call, rename old ones.
      
      	* src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
      	to tell the open code to respect the "use new windows" preference.
      	(open_location): Take new WindowChoice parameter to respect preference
      	as appropriate.
      	(switch_location_and_view): Tell the code to respect the preference in
      	this case (opening from Open With).
      	(show_trash_callback): Use code that respects the preference instead of
      	always opening in this case.
      	(open_one_in_new_window): Always force a new window (used by Open
      	in New Window command).
      	(activate_callback): Pass through new WindowChoice instead of boolean.
      	(fm_directory_view_activate_file): Pass through new WindowChoice
      	instead of boolean.,
      	(fm_directory_view_activate_files): Respect the user preference if
      	opening only one file, do the "use existing window or make new one"
      	mode if opening more than one.
      
      	* src/nautilus-window-manage-views.c: (handle_unreadable_location):
      	Move check for empty location string in here.
      	(open_location): Moved the code for reusing existing windows out
      	of here. Also changed code structure to avoid redoing the
      	handle_unreadable_location check.
      	(open_location_in_this_window_callback): Renamed.
      	(open_location_prefer_existing_window_callback): Here's where
      	the code for reusing existing windows went. New callback for the
      	new call/signal.
      	(open_location_force_new_window_callback): Renamed.
      
      	* src/file-manager/fm-search-list-view.c:
      	(reveal_selected_items_callback): Change to use
      	nautilus_view_open_location_force_new_window by its new name.
      
      	* src/nautilus-window-manage-views.h: Got rid of
      	nautilus_window_open_location_in_new_window, which was public and
      	unused.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_open_location_callback):
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_select_row):
      	* components/history/nautilus-history-view.c:
      	(history_button_release):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
      	* components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
      	* components/services/login/nautilus-view/nautilus-change-password-view.c:
      	(run_away_timer), (authn_failed), (maintenance_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
      	(logged_in_callback), (logged_out_callback),
      	(preferences_button_cb), (forgot_password_button_cb),
      	(register_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
      	(error_dialog_cancel_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-footer.c:
      	(footer_item_clicked_callback):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c:
      	(goto_service_cb), (goto_update_cb):
      	* components/text/nautilus-text-view.c: (handle_service_menu_item):
      	* components/tree/nautilus-tree-view.c: (tree_select_row_callback):
      	Change to use new nautilus_view_open_location_in_this_window
      	name. It's better because it's more explicit, but also, it's the
      	new name!
      
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_gdk_window_bring_to_front): Fixed indentation.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_window_present): Put in a new implementation that
      	uses nautilus_gdk_window_bring_to_front instead of the old one
      	that did a hide followed by a show. Corrected an assert that
      	should have been a return_if_fail.
      ac2ec5b5
  18. 11 Dec, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      reviewed by: A donkey with a rather large shrubbery · ab3d18e8
      Eskil Heyn Olsen authored
      
      	reviewed by: A donkey with a rather large shrubbery
      
      	* components/rpmview/Makefile.am:
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_update_message):
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/command-line/eazel-test-packsys.c:
      	(main):
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(rpm_create_db), (eazel_package_system_rpm3_query):
      	* components/services/install/lib/eazel-package-system-rpm4.c:
      	(eazel_package_system_rpm4_finalize),
      	(eazel_package_system_rpm4_new):
      	* components/services/install/lib/eazel-package-system-types.c:
      	(packagedata_list_prune):
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_implementation):
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      	Muy untested RedHat 7.0/RPM4 related stuff. Let's watcht the build
      	blow up.
      
      	* acconfig.h:
      	HAVE_RPM_x0 for different rpm.s
      
      	* configure.in:
      	More weird rpm checks
      
      	* nautilus.spec.in
      	No more libeazelsoftcat
      ab3d18e8
  19. 10 Dec, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Fixed bug 5119, update rpmview to use EazelPackageSystem. I still need to · 0f7688c1
      Eskil Heyn Olsen authored
      
      	* components/rpmview/Makefile.am:
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_initialize),
      	(nautilus_rpm_verify_window_set_message),
      	(nautilus_rpm_verify_window_update_message),
      	(nautilus_rpm_verify_window_set_progress),
      	(nautilus_rpm_verify_window_set_error_mode):
      	* components/rpmview/nautilus-rpm-verify-window.h:
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_package_callback),
      	(nautilus_rpm_view_uninstall_package_callback):
      	* components/rpmview/nautilus-rpm-view-private.h:
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
      	(add_to_clist), (nautilus_rpm_view_update_from_uri),
      	(verify_failed_signal), (verify_progress_signal),
      	(nautilus_rpm_view_verify_files),
      	(nautilus_rpm_view_verify_package_callback):
      	Fixed bug 5119, update rpmview to use EazelPackageSystem. I
      	still need to hook up the continue signal from the verifywindow,
      	this is opened as bug 5123.
      
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c:
      	include eazel-package-system-types instead of
      	eazel-install-types.h
      
      	* components/services/install/command-line/eazel-test-packsys.c:
      	(progress_signal), (failed_signal), (test_verify), (main):
      	Implemented the test for verfiy.
      
      	* components/services/install/lib/Makefile.am:
      	Mangled to fix 5121.
      
      	* components/services/install/lib/eazel-softcat.h:
      	* components/services/install/lib/eazel-install-tests.h:
      	* components/services/install/lib/eazel-install-xml-package-list.h:
      	* components/services/install/lib/eazel-install-protocols.h:
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-query.h:
      	* components/services/install/lib/eazel-install-logic.h:
      	* components/services/install/lib/eazel-install-metadata.h:
      	* components/services/install/lib/eazel-install-object.c:
      	* components/services/install/lib/eazel-install-problem.h:
      	* components/services/install/lib/eazel-install-corba-callback.h:
      	* components/services/install/lib/eazel-install-corba-types.h:
      	include eazel-package-system-types instead of
      	eazel-install-types.h
      
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts),
      	(eazel_install_start_signal), (eazel_install_end_signal),
      	(eazel_install_progress_signal),
      	(eazel_install_check_existing_packages),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_downward_traverse),
      	(eazel_uninstall_check_for_install):
      	Fixed signals and use FILL_NO_DIRS_IN_PROVIDES
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_fetch_remote_file), (eazel_install_fetch_package):
      	Use FILL_NO_DIRS_IN_PROVIDES
      
      	* components/services/install/lib/eazel-install-rpm-glue.h:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_do_rpm_dependency_check):
      	include eazel-package-system-types instead of
      	eazel-install-types.h
      	Also open/close the db when doing the rpmdepCheck call.
      
      	* components/services/install/lib/eazel-install-types.c:
      	* components/services/install/lib/eazel-install-types.h:
      	Removed
      
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-package-system-private.h:
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_implementation),
      	(eazel_package_system_verify),
      	(eazel_package_system_emit_progress):
      	* components/services/install/lib/eazel-package-system-rpm3-private
      	.h:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(monitor_rpm_process_pipe), (eazel_package_system_rpm3_create_dbs),
      	(eazel_package_system_rpm3_open_dbs),
      	(eazel_package_system_rpm3_close_dbs),
      	(eazel_package_system_rpm3_free_dbs),
      	(rpm_packagedata_fill_from_rpm_header),
      	(rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file),
      	(eazel_package_system_rpm3_load_package),
      	(eazel_package_system_rpm3_query_impl),
      	(eazel_package_system_rpm3_query_substr),
      	(eazel_package_system_rpm3_query), (check_if_all_packages_seen),
      	(eazel_package_system_rpm3_install_uninstall),
      	(eazel_package_system_rpm3_verify_impl),
      	(get_num_of_files_in_packages), (eazel_package_system_rpm3_verify),
      	(eazel_package_system_rpm3_finalize),
      	(eazel_package_system_rpm3_new),
      	(eazel_package_system_implementation):
      	* components/services/install/lib/eazel-package-system-rpm4.c:
      	(eazel_package_system_rpm4_query),
      	(eazel_package_system_rpm4_finalize),
      	(eazel_package_system_rpm4_class_initialize),
      	(eazel_package_system_rpm4_initialize),
      	(eazel_package_system_rpm4_get_type),
      	(eazel_package_system_rpm4_new),
      	(eazel_package_system_implementation):
      	* components/services/install/lib/eazel-package-system-rpm4.h:
      	* components/services/install/lib/eazel-package-system-skeleton.c:
      	(eazel_package_system_skeleton_verify):
      	Shuffled the order of the info longs and the package in the
      	progress signal.
      	Implemented verify in rpm3 (fixes bug 5120)
      	First pieces of code for the rpm4 module.
      	Unfortunately, since rpmview now also has a eazelpackagesystem
      	object, I ran into the problem of database locking. The rpmview
      	would have a read-only version of all the db files, thereby
      	failing in install because trilobite-eazel-install-service spawned
      	a rpm that could not get exclusive lock. To fix this, I now have
      	the db closed at all times, but open/close it everytime I do
      	something. Unfortunately for the queryloops in
      	eazel-install-logic, this means opening/closing on every
      	query. Optionally, I should consider exposing
      	eazel_package_system_open/close_dbs, so the caller can do it. But
      	that makes the api a bit more cumbersome.
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(eazel_install_protocol_as_string), (categorydata_new),
      	(categorydata_list_copy), (categorydata_copy),
      	(categorydata_destroy_foreach), (categorydata_destroy),
      	(categorydata_list_destroy), (packagedata_new),
      	(packagedata_list_copy), (packagedata_copy),
      	(packagedata_fill_in_missing), (packagedata_destroy),
      	(packagedata_remove_soft_dep), (rpmfilename_from_packagedata),
      	(rpmname_from_packagedata), (packagedata_get_readable_name),
      	(packagedata_get_name), (packagedata_hash_equal),
      	(packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
      	(packagedata_modstatus_enum_to_str),
      	(packagedata_modstatus_str_to_enum), (packagedata_add_pack_to),
      	(packagedata_add_pack_to_breaks),
      	(packagedata_add_pack_to_soft_depends),
      	(packagedata_add_pack_to_hard_depends),
      	(packagedata_add_pack_to_modifies), (packagedata_list_prune),
      	(packagerequirement_new),
      	(eazel_install_package_provides_basename_compare),
      	(eazel_install_package_provides_compare),
      	(eazel_install_package_name_compare),
      	(eazel_install_package_compare),
      	(eazel_install_requirement_dep_compare),
      	(eazel_install_requirement_dep_name_compare),
      	(eazel_install_package_version_compare),
      	(eazel_install_package_other_version_compare),
      	(eazel_install_package_matches_versioning),
      	(eazel_install_gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT),
      	(gstr_indent), (dump_package_list), (packagedata_dump_int),
      	(packagedata_dump):
      	Renamed eazel-install-types to eazel-package-system-types
      
      	* components/services/install/nautilus-view/Makefile.am:
      	Fixed linking after fix to 5121.
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.h:
      	include eazel-package-system-types instead of
      	eazel-install-types.h
      
      	* components/services/install/server/Makefile.am:
      	Fixed linking after fix to 5121.
      
      	* components/services/trilobite/libtrilobite/trilobite-root-helper.
      	c: (eazel_helper_start):
      	Don't mention the info msg's from userhelper.
      
      	* po/POTFILES.in:
      	Renamed eazel-install-types to eazel-package-system-types.
      0f7688c1
  20. 06 Dec, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Needs to link with eazelpackagesystem now. · 6668cda8
      Eskil Heyn Olsen authored
      
      	* components/rpmview/Makefile.am:
      	Needs to link with eazelpackagesystem now.
      
      	* components/services/install/command-line/Makefile.am:
      	Build eazel-test-types.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_download_progress_signal),
      	(eazel_install_progress_signal), (something_failed), (dep_check):
      	Nicer output.
      
      	* components/services/install/command-line/eazel-test-packsys.c:
      	(test_package_load), (main):
      	Moved the packagelist_prun test into eazel-test-types. Also
      	relaxed the test of uninstall (doesn't require progress signals
      	now).
      
      	* components/services/install/command-line/eazel-test-types.c:
      	(make_package), (test_packagelist_prune),
      	(test_eazel_install_package_matches_versioning), (main):
      	Test packagedatalist_prune and the new ugly func for testing
      	version-minor match.
      
      	* components/services/install/lib/Makefile.am:
      	Do compile eazel-install-query.c anymore.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_package):
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(packagedata_new_from_rpm_conflict),
      	(packagedata_new_from_rpm_conflict_reversed),
      	(eazel_install_do_rpm_dependency_check):
      	* components/services/install/lib/eazel-install-logic.h:
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_finalize), (eazel_install_set_arg),
      	(eazel_install_class_initialize), (eazel_install_initialize),
      	(eazel_install_install_packages),
      	(eazel_install_uninstall_packages),
      	(eazel_install_revert_transaction_from_xmlstring),
      	(eazel_install_query_package_system),
      	(eazel_install_get_size_increasement),
      	(eazel_install_emit_preflight_check):
      	* components/services/install/lib/eazel-install-private.h:
      	* components/services/install/lib/eazel-install-logic.c:
      	(install_packages), (eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts),
      	(eazel_install_do_install_packages), (uninstall_all_packages),
      	(uninstall_packages), (get_total_size_of_packages),
      	(eazel_install_start_signal), (eazel_install_end_signal),
      	(eazel_install_progress_signal), (eazel_install_failed_signal),
      	(eazel_install_start_transaction),
      	(eazel_install_check_existing_packages),
      	(eazel_install_fetch_dependencies),
      	(eazel_install_do_dependency_check),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_downward_traverse),
      	(eazel_uninstall_check_for_install):
      	Fixes bug 4936, use EazelPackageSystem in EazelInstall.
      
      	* components/services/install/lib/eazel-install-problem.c:
      	(problem_step_foreach_remove),
      	(eazel_install_problem_tree_to_case),
      	(eazel_install_problem_handle_cases):
      	Slammed some ifdef EIP_DEBUG around some debug.
      
      	* components/services/install/lib/eazel-install-types.h:
      	* components/services/install/lib/eazel-install-types.c:
      	(eazel_install_package_matches_versioning):
      	New funky match function. Since I needed the same check two
      	places, I moved it into a generel function.
      	Also cut out all the rpmload code.
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(monitor_rpm_process_pipe), (rpm_packagedata_fill_from_rpm_header),
      	(eazel_package_system_rpm3_load_package),
      	(eazel_package_system_rpm3_query_impl),
      	(eazel_package_system_rpm3_query_requires),
      	(eazel_package_system_rpm3_query_foreach),
      	(monitor_subcommand_pipe), (eazel_package_system_rpm3_execute),
      	(check_if_all_packages_seen),
      	(eazel_package_system_rpm3_install_uninstall):
      	Fixed 4914. And also added the use of the packages_seen in
      	piggyback.
      
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-package-system-private.h:
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_is_installed),
      	(eazel_package_system_emit_start),
      	(eazel_package_system_emit_progress),
      	(eazel_package_system_emit_failed),
      	(eazel_package_system_emit_end):
      	Added const to all the signal emitters.
      	Added the is_installed call.
      
      	* components/services/install/nautilus-view/Makefile.am:
      	Link against eazelpackagesystem
      
      	* components/services/install/server/Makefile.am:
      	Link against eazelpackagesystem
      
      	* components/services/trilobite/libtrilobite/trilobite-core-distrib
      	ution.h:
      	Added a documentational comment.
      
      	* components/services/trilobite/libtrilobite/trilobite-root-helper.
      	c: (trilobite_root_helper_run_program):
      	Added an api g_assert that I ran into (no element in args may be null).
      6668cda8
  21. 01 Dec, 2000 1 commit
    • Robey Pointer's avatar
      Everyone that uses libeazelinstall now needs to use libeazelsoftcat too. · e242910c
      Robey Pointer authored
      	* components/rpmview/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      
      	Everyone that uses libeazelinstall now needs to use
      	libeazelsoftcat too.  This doesn't make much sense for the rpm
      	view, but we've shelved that issue for later.
      e242910c
  22. 29 Nov, 2000 1 commit
    • Darin Adler's avatar
      Remove HAVE_POPT_H define since the bug in OAF that we were working around · c6beacef
      Darin Adler authored
      	* libnautilus-extensions/nautilus-view-identifier.h: Remove
      	HAVE_POPT_H define since the bug in OAF that we were working
      	around has been fixed.
      
      	* components/music/nautilus-music-view.c: Remove unneeded
      	includes.
      
      	* components/rpmview/nautilus-rpm-view.c: Remove unused
      	#define and FIXME for bug already fixed.
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy): Remove FIXME for bug already fixed.
      	* libnautilus-extensions/nautilus-global-preferences.c: Remove
      	FIXME for bug already fixed.
      	* libnautilus-extensions/nautilus-user-level-manager.c: Remove
      	FIXME for bug already fixed.
      	* src/file-manager/fm-list-view.c: (fm_list_get_default_action):
      	Remove FIXME for bug already fixed.
      	* src/nautilus-property-browser.c: (add_background_to_browser):
      	Remove FIXME for bug already fixed.
      	* src/nautilus-window.h: Remove FIXME for bug already fixed.
      
      	* tools/README: Remove file now that people have had a chance to
      	find the tools in their new location, so the directory will go
      	away.
      c6beacef
  23. 20 Nov, 2000 1 commit
    • Robey Pointer's avatar
      The great renaming: moved Trilobite/Eazel/Install stuff into · 51a05052
      Robey Pointer authored
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_package_callback),
      	(nautilus_rpm_view_uninstall_package_callback):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (set_parameters_from_command_line):
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(lots)
      	* components/services/install/lib/eazel-install-corba-callback.h:
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(lots)
      	* components/services/install/lib/eazel-install-corba-types.h:
      	* components/services/install/lib/eazel-install-corba.c:
      	(lots)
      	* components/services/install/lib/eazel-install-object.c:
      	(lots)
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_service_install_done),
      	(nautilus_service_install_view_update_from_uri),
      	(service_install_stop_loading_callback):
      
      	The great renaming: moved Trilobite/Eazel/Install stuff into
      	GNOME/Trilobite/Eazel/(etc).
      
      	* components/services/install/lib/eazel-install-problem.c:
      	(eazel_install_problem_handle_cases):
      
      	Renaming, and initialize some vars to avoid warnings.
      
      	* nautilus-installer/src/main.c: (check_disk_space), (main):
      
      	Add a command-line option for ignoring the disk-space check.
      	Check /usr instead of /.
      51a05052
  24. 15 Nov, 2000 1 commit
  25. 03 Nov, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Made a last minute fix to the delete file signal change in the rpmview. · ba6f56e8
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_download_progress_signal),
      	(nautilus_rpm_view_install_progress_signal),
      	(nautilus_rpm_view_dependency_check),
      	(nautilus_rpm_view_install_done),
      	(nautilus_rpm_view_install_package_callback):
      	Made a last minute fix to the delete file signal change in the
      	rpmview. The rpmview still cannot get the spinner to spin when
      	installing/uninstalling, but I'm not going to use time on that
      	now.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (install_failed):
      	Fixed a typo and an error in the problem handler user
      
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_check_existing_packages):
      	Added release numbers to debug output.
      	* components/services/install/lib/eazel-install-problem.c:
      	(eazel_install_problem_case_to_string):
      	Changed case_to_string message to a more imperative format
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(add_to_url):
      	Use gnome_vfs_escape_string instead of our own.
      
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_get_readable_name):
      	Hack so it should also recognize EazelCandidate names
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.h:
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_install_parse_uri), (show_dialog_and_run_away),
      	(nautilus_service_install_solve_cases),
      	(nautilus_service_install_done), (dig_up_errors),
      	(nautilus_service_install_failed):
      	Fix for 4443
      ba6f56e8
  26. 31 Oct, 2000 2 commits
    • Darin Adler's avatar
      Fixed bug 4144 (Extra Services menu items installed by Summary · 73b181da
      Darin Adler authored
      	view never go away). The problem was actually with the factory
      	code from the sample. I had fixed it a while back, but not before
      	people cloned the broken sample code.
      
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter):
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/music/main.c: (music_view_make_object):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/services/install/nautilus-view/main.c:
      	(service_install_make_object):
      	* components/services/inventory/nautilus-view/main.c:
      	(inventory_make_object):
      	* components/services/login/nautilus-view/main.c:
      	(change_password_make_object):
      	* components/services/summary/nautilus-view/main.c:
      	(summary_make_object):
      	* components/tree/libmain.c: (tree_shlib_make_object):
      	* components/tree/main.c: (tree_exe_make_object):
      	Connect the destroy handler to the NautilusView object rather than
      	to the widget. If you connect to the widget, the handler gets
      	called too early and the control doesn't get properly destroyed,
      	leaving the UI component behind, and causing the bug.
      
      	* components/adapter/main.c: (adapter_factory_make_object): Got
      	rid of incorrect comment.
      73b181da
    • Eskil Heyn Olsen's avatar
      Hopefully fixed the completely fatal tmp_dir bug in the package view. · 7c478782
      Eskil Heyn Olsen authored
              * components/rpmview/nautilus-rpm-view-install.c:
              (nautilus_rpm_view_install_package_callback):
              Hopefully fixed the completely fatal tmp_dir bug in the
              package view.
      
              * components/services/install/lib/eazel-install-logic.c:
              (eazel_install_pre_install_packages):
              Ifdeffed some borked code
      
              * components/services/install/lib/eazel-install-problem.c:
              (get_detailed_messages_foreach):
              If no messages generated on modification status. Potientially
              completely incorrect unless I check prev_pack->status first.
      
              * components/services/install/nautilus-view/nautilus-service-instal
              l-view.c: (dig_up_errors), (nautilus_service_install_failed):
              Use eazel-install-problem to generate error messages
      
              * nautilus.spec.in:
              Woops, eazel/throbber is not there..
      7c478782
  27. 25 Oct, 2000 1 commit
    • Darin Adler's avatar
      New set of functions for manipulating a set of case-insensitive strings · afb740a8
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c: (istr_equal),
      	(istr_hash), (istr_set_new), (istr_set_insert), (add_istr_to_list),
      	(istr_set_get_as_list), (istr_set_destroy): New set of functions
      	for manipulating a set of case-insensitive strings (private for
      	now).
      	(mime_list_cancel): Change to use the istr_set.
      	(get_filter_options_for_directory_count): Moved up so it can be
      	used by the directory load code.
      	(load_directory_done): Common function to use when a load is
      	completed or cancelled.
      	(dequeue_pending_idle_callback): Update file count and MIME list
      	as well as just loading the files.
      	(should_get_directory_count): New cover that takes into account
      	the fact that a directory load is already getting the count.
      	(should_get_mime_list): New cover that takes into account
      	the fact that a directory load is already getting the MIME list.
      	(start_monitoring_file_list): Set up more stuff since a load
      	does a lot more now.
      	(directory_count_start): Don't start a directory count if we are
      	already loading the directory's file list.
      	(mime_list_one), (mime_list_callback), (mime_list_load): Change to
      	use the istr_set. Also removed some code that set variables that
      	were never used.
      	(mime_list_start): Don't start a MIME list if we are already
      	loading the directory's file list.
      
      	* components/adapter/Makefile.am:
      	* components/hardware/Makefile.am:
      	* components/html/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/music/Makefile.am:
      	* components/rpmview/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      	* components/services/inventory/lib/Makefile.am:
      	* components/services/inventory/nautilus-view/Makefile.am:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/nautilus-dependent-shared/Makefile.am:
      	* components/services/summary/lib/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/lib/Makefile.am:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* components/services/vault/command-line/Makefile.am:
      	* components/tree/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	Changed all use of CPPFLAGS to use INCLUDES instead as it says in
      	the automake documentation.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h: Reformatting.
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_hash_table_remove_deep_custom),
      	(nautilus_g_hash_table_remove_deep), (destroy_deep_helper),
      	(nautilus_g_hash_table_destroy_deep_custom): Reformatting.
      afb740a8
  28. 10 Oct, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Renamed would_be_lost to circular_dependency · 0850e64f
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(get_detailed_errors_foreach):
      	Renamed would_be_lost to circular_dependency
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (tree_helper), (create_package):
      	Renamed would_be_lost to circular_dependency.
      	Added support to install rpm's by asking for a provide.
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	Renamed would_be_lost to circular_dependency.
      
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_from_packagedata),
      	(packagedata_from_corba_packagedatastruct):
      	Renamed would_be_lost to circular_dependency.
      
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts),
      	(eazel_install_do_transaction_all_files_check),
      	(eazel_install_start_transaction),
      	(eazel_install_check_if_depends_on),
      	(eazel_install_prune_packages_helper),
      	(eazel_install_check_existing_packages),
      	(eazel_install_fetch_dependencies),
      	(eazel_install_do_file_conflict_check),
      	(eazel_install_ensure_deps), (eazel_uninstall_upward_traverse):
      	Fixed bug 3374, 3491 and 3585.
      	Uses the packagedata_add_pack_to_X calls now.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(get_search_url_for_package):
      	s/flags/flag/
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_rpm_set_settings),
      	Only set the rpm debug flag if --debug
      	(eazel_install_do_rpm_dependency_check):
      	use packagedata_add_pack_to_X calls.
      
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_status_enum_to_str), (packagedata_status_str_to_enum),
      	Renamed would_be_lost to circular_dependency.
      	(packagedata_add_pack_to), (packagedata_add_pack_to_breaks),
      	(packagedata_add_pack_to_soft_depends),
      	(packagedata_add_pack_to_hard_depends),
      	(packagedata_add_pack_to_modifies),
      	Use these calls to add packages to the packagedata struct lists.
      	They do some funky checking.
      	(eazel_install_package_version_compare),
      	(eazel_install_package_other_version_compare):
      	Modfied some compare functions.
      
      	* components/services/install/lib/eazel-install-types.h:
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (osd_parse_dependency):
      	Use packagedata_add_pack_to_X calls.
      
      	* nautilus-installer/src/installer.c:
      	(get_detailed_errors_foreach), (check_system):
      	Renamed would_be_lost to circular_dependency.
      0850e64f
  29. 08 Oct, 2000 1 commit
    • Eskil Heyn Olsen's avatar
      Updated for the extra package status field. · b8df371d
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(get_detailed_errors_foreach),
      	(nautilus_rpm_view_dependency_check):
      	Updated for the extra package status field.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (set_parameters_from_command_line), (tree_helper), (dep_check):
      	Code to set the ssl_rename flag.
      	Better output for dep_check (uses provides).
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	Added the ssl_rename field and the WOULD_BE_LOST package status.
      
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_string_sequence_to_glist),
      	(g_list_to_corba_string_sequence),
      	(corba_packagedatastruct_from_packagedata),
      	(packagedata_from_corba_packagedatastruct):
      	Fixed 3460, transfers package->provides now.
      
      	* components/services/install/lib/eazel-install-corba.c:
      	(impl_Eazel_Install__set_silent), (impl_Eazel_Install__get_silent),
      	(impl_Eazel_Install__set_test_mode),
      	(impl_Eazel_Install__get_test_mode),
      	(impl_Eazel_Install__set_force), (impl_Eazel_Install__get_force),
      	(impl_Eazel_Install__set_update), (impl_Eazel_Install__get_update),
      	(impl_Eazel_Install__set_downgrade),
      	(impl_Eazel_Install__get_downgrade),
      	(impl_Eazel_Install__get_tmp_dir),
      	(impl_Eazel_Install__set_ssl_rename),
      	(impl_Eazel_Install__get_ssl_rename),
      	(impl_Eazel_Install__set_server), (impl_Eazel_Install__get_server),
      	(impl_Eazel_Install__get_server_port),
      	(impl_Eazel_Install__set_log_file),
      	(impl_Eazel_Install__get_log_file),
      	(impl_Eazel_Install__set_package_list),
      	(impl_Eazel_Install__get_package_list), (eazel_install_get_epv):
      	Fixed indentation and cut'n'paste typeerror. Plus added the
      	ssl_rename field.
      
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_emit_dependency_check_default):
      	Removed the hack since 3460 is fixed.
      
      	* components/services/install/lib/eazel-install-private.h:
      	Added the ssl_rename field.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_fetch_remote_file),
      	Do the ssl_renaming. If ssl_rename is set, the hostname in the
      	source uri is replaced with "localhost". This allows you to use
      	ssh tunneling to use development services from home.
      	(eazel_install_fetch_package),
      	Fixed bug 2584. Checks version and name of downloaded
      	package. Uses rpmvercmp.
      	(get_search_url_for_package):
      	s/flag/flags/
      
      	* components/services/install/lib/eazel-install-public.h:
      	ssl_rename functions.
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_do_transaction_all_files_check),
      	(eazel_install_start_transaction),
      	Partially fixed 3460. I need to fail packages that do not pass.
      	(eazel_install_requirement_dep_compare),
      	(eazel_install_check_existing_packages),
      	(eazel_install_fetch_dependencies),
      	Fixed the weird case eli & robey came across, were the faulty
      	nautilus dependencies caused gconf 0.8 to be installed over 0.9
      	which is still needed.
      	Now the package which is installed gets the WOULD_BE_LOST status
      	and install_failed emittet.
      	(eazel_install_do_file_conflict_check),
      	Removed comments.
      	(eazel_install_ensure_deps),
      	Added more comments and fixed the removal of failedpackages after
      	do_dependency_check.
      
      	(eazel_uninstall_upward_traverse):
      	Fixed an uninstall bug I came acrosss.
      
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_status_enum_to_str),
      	(packagedata_status_str_to_enum):
      	Handles the WOULD_BE_LOST enum.
      
      	* components/services/install/lib/eazel-install-types.h:
      	The WOULD_BE_LOST enum
      
      	* nautilus-installer/src/Makefile:
      	* nautilus-installer/src/installer.c: (eazel_install_progress),
      	(eazel_download_progress), (get_detailed_errors_foreach),
      	(eazel_installer_add_category):
      	Fixed output.
      b8df371d
  30. 03 Oct, 2000 2 commits
    • Darin Adler's avatar
      Saw the Tinderbox broken, so I just had to fix it. Also, I · b48cda85
      Darin Adler authored
      	couldn't compile, and check-THANKS.pl failed.
      
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_istr_compare): Change back nautilus_istr_compare to its
      	old meaning.
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(compare_strings_case_breaks_ties),
      	(nautilus_g_str_list_sort_case_insensitive): Make the case
      	insensitive sort use nautilus_strcmp_case_breaks_ties.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_package_by_id):
      	* components/services/install/lib/eazel-install-query.c:
      	(eazel_install_simple_query):
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(install_new_packages), (eazel_install_prepare_package_system),
      	(eazel_install_free_package_system),
      	(eazel_install_add_to_rpm_set), (eazel_install_fetch_dependencies):
      	* components/services/install/lib/eazel-install-rpm-signature.c:
      	(trilobite_check_rpm_signature):
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_status_str_to_enum),
      	(packagedata_modstatus_enum_to_str),
      	(packagedata_modstatus_str_to_enum):
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(generate_xml_package_list):
      	Fixed a bunch of uninitialized variable warnings. At least one was
      	probably a real bug, so Eskil needs to review these changes.
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_update_from_uri): This didn't compile with the
      	Red Hat 6.1 version of the rpm library. So I fixed it. I hope I
      	did it right. Eskil needs to review this change.
      
      	* THANKS: Victor's name needed another space between it and the
      	email address.
      	* check-THANKS.pl: Missing comma, also the misspelling of Josh's
      	email address was not mapped to his new email address.
      b48cda85
    • Eskil Heyn Olsen's avatar
      Fixed the loading of files provided by the rpm. · b501e415
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_update_from_uri):
      
      	Fixed the loading of files provided by the rpm.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (tree_helper), (md5_check_failed):
      	Clarified the debug output.
      
      	* components/services/install/lib/Makefile.am:
      	Removed the evil CFLAGS assignment that remove -Werror
      
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_md5_check_failed), (impl_uninstall_failed),
      	(eazel_install_callback_unref):
      	Fixed some warnings.
      
      	* components/services/install/lib/eazel-install-private.h:
      	Moved the funky glist_step into -private.h
      	Removed some rpm vars.
      
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_initialize),
      	Removed some of the rpm variables in the private part.
      	(eazel_install_emit_preflight_check_default),
      	(eazel_install_emit_delete_files_default), (string_list_copy):
      	Fixing warnings
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_fetch_remote_file), (eazel_install_fetch_package),
      	(get_url_for_package):
      	Fixing warnings. And made fetch_package be more generel, as
      	opposed to having three different fetchers. So I've removed
      	_which_provides and I need to remove _by_id.
      
      	* components/services/install/lib/eazel-install-protocols.h:
      	Removed fetch_which_provides.
      
      	* components/services/install/lib/eazel-install-public.h:
      	Moved the funky glist_step into -private.h
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_pre_install_packages), (install_new_packages),
      	(eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts),
      	(eazel_install_do_install_packages), (hest),
      	(eazel_install_add_to_rpm_set),
      	(eazel_install_requirement_dep_compare),
      	(eazel_install_package_version_compare),
      	(eazel_install_check_if_related_package),
      	(eazel_install_fetch_rpm_dependencies),
      	(eazel_install_fetch_dependencies),
      	(eazel_install_do_rpm_dependency_check),
      	(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
      	(eazel_uninstall_upward_traverse):
      	Fixed most of bug 3373, completely revamped the dep checking. Now
      	theres a packagesystem dependent depchecker and a seperate filedep
      	check afterwards. The packagesystem dependent returns a list of
      	package pairs <a,b>, where a requires b. fetch_dependencies then
      	traverses that list, downloads and makes the nessecary checks. The
      	makes fetch_dependencies package independent, and also fixes bug
      	1698.
      	Also various debug message fixing etc.
      
      	* components/services/install/lib/eazel-install-rpm-signature.c:
      	(read_rpm_signature), (trilobite_check_rpm_signature):
      	Warning fixing.
      
      	* components/services/install/lib/eazel-install-types.h:
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_new), (packagedata_fill_from_rpm_header),
      	(packagedata_fill_from_file), (packagedata_destroy),
      	(packagerequirement_new):
      	Added three new fields, eazel_id for the SoftCat id (as opposed to
      	using the name field, the conflicts_checked boolean to prevent
      	doing file conflict checking more then once and a boolean flag for
      	tagging a package as being a source package.
      	Also fixed 3344, the file list is now read correctly.
       	Created	the PacakgeRequirement structure, used for bug 3373.
      	Fixed warnings.
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (parse_category), (osd_parse_implementation),
      	(osd_parse_softpkg):
      	Fixed the uses of xml_get_value since I changed the semantics to
      	be a "const char*" function.
      
      	* components/services/install/server/main.c: (main):
      	Print a string when terminating.
      
      	* components/services/summary/lib/eazel-summary-shared.c:
      	(parse_a_service), (parse_a_update_news_item):
      	Fixed the uses of xml_get_value since I changed the semantics to
      	be a "const char*" function.
      
      	* components/services/trilobite/libtrilobite/helixcode-utils.h:
      	* components/services/trilobite/libtrilobite/helixcode-utils.c:
      	Changed xml_get_value to return const char* (bug 2448).
      b501e415
  31. 28 Sep, 2000 1 commit
    • Darin Adler's avatar
      Bonobo objects own themselves, so we should not do a ref/sink on them. · b1943a3c
      Darin Adler authored
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(nautilus_undo_context_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	* src/nautilus-application.c: (nautilus_application_initialize):
      	Move global preferences initialization to main with other
      	initialize calls.
      	(nautilus_application_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	(nautilus_application_destroy): Unref the undo manager to fix a
      	leak.
      	* src/nautilus-main.c: (main): Move global preferences
      	initialization to main with other initialize calls.
      
      	* nautilus.spec.in: Added "-k" to build commands so we get more
      	information about what failed when failing to build via
      	RPM. Failures are still failures, we just see more of what's
      	failing.
      
      	* components/help/converters/gnome-db2html2/sect-elements.c:
      	(sect_entry_end_element):
      	* components/help/converters/gnome-db2html2/toc-elements.c:
      	(toc_title_start_element):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_package_callback),
      	(nautilus_rpm_view_uninstall_package_callback):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (main):
      	* components/services/install/command-line/eazel-alt-install.c:
      	(main):
      	* components/services/install/command-line/eazel-install.c:
      	(generate_new_package_list), (fetch_remote_package_list), (main):
      	* components/services/install/command-line/eazel-package-query.c:
      	(main):
      	* components/services/install/command-line/eazel-revert.c: (main):
      	* components/services/install/command-line/eazel-uninstall.c:
      	(main):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_fetch_remote_package_list):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_file), (eazel_install_fetch_package):
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(install_new_packages), (eazel_install_download_packages),
      	(uninstall_packages), (eazel_install_start_transaction),
      	(eazel_install_add_to_rpm_set),
      	(eazel_install_check_if_related_package):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_preflight_check):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l.c: (nautilus_service_install_view_install_package_callback),
      	(nautilus_service_install_view_uninstall_package_callback):
      	* components/services/install/server/main.c: (main):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_startup_form), (generate_summary_form),
      	(generate_service_entry_row):
      	* components/services/time/command-line/main.c: (main):
      	* components/services/time/service/main.c: (main):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_init):
      	* components/services/trilobite/libtrilobite/trilobite-root-client.
      	c: (trilobite_root_client_initialize):
      	* components/services/trilobite/libtrilobite/trilobite-service-pass
      	wordquery.c: (trilobite_passwordquery_initialize):
      	* components/services/trilobite/libtrilobite/trilobite-service.c:
      	(trilobite_service_initialize):
      	* components/services/trilobite/sample/command-line/main.c: (main):
      	* components/services/trilobite/sample/service/main.c: (main):
      	* components/shell/shell.c:
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_add),
      	(nautilus_tree_model_root_node_file_monitor):
      	* components/tree/nautilus-tree-view.c:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(get_filter_options_for_directory_count):
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_uri_is_local_scheme), (nautilus_handle_trailing_slashes):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(drag_data_received_callback):
      	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_event):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_ensure_drag_data), (nautilus_list_get_drop_action),
      	(nautilus_list_drag_data_received):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(initialize_global_stuff_if_needed):
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	(editable_register_edit_undo):
      	* src/file-manager/fm-icon-view.c:
      	(context_menu_layout_radio_item_callback):
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_set_mode):
      	Got rid of all uses of == TRUE and != TRUE, since they are dangerous.
      	Got rid of all uses of == FALSE and != FALSE, since they lead to use
      	of == TRUE and != TRUE.
      b1943a3c
  32. 26 Sep, 2000 1 commit
    • Darin Adler's avatar
      Fixed bug bug 3264 (Tree view shows no branches for directories, · 2cd5440e
      Darin Adler authored
      	...HACK... nodes visible), bug 3290 (changing directory or
      	refreshing causes Gdk to assert), bug 2420 (Need to free original
      	key when removing model node), and other assorted problems.
      
      	* components/tree/nautilus-tree-view.c: (insert_hack_node),
      	(remove_hack_node), (nautilus_tree_view_insert_model_node):
      	Fix problem where the hash table key was neither g_strdup'd on the
      	way in, nor g_free'd on the way out. This caused all the problems
      	with bad nesting in the tree view.
      
      	* nautilus-installer/src/installer.c: (create_pixmap):
      	* src/file-manager/fm-list-view.c: (install_row_images):
      	* src/nautilus-theme-selector.c: (add_theme):
      	Added more checks for NULL before calling gdk_bitmap_unref.
      
      	* src/file-manager/fm-directory-view.c: (no_items_showing):
      	Fixed a NautilusDirectory ref. count leak.
      
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(unref_global_font_factory), (nautilus_get_current_font_factory):
      	Unref the font factory on exit.
      	(nautilus_font_factory_initialize_class), (font_hash_node_free),
      	(free_one_hash_node), (destroy): Added code to actually destroy
      	the font factory.
      	(unref_fixed_font), (nautilus_font_factory_get_fallback_font):
      	Unref the fixed font on exit.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(unref_global_volume_monitor), (nautilus_volume_monitor_get):
      	Unref the volume monitor on exit.
      	* src/nautilus-signaller.c: (unref_global_signaller),
      	(nautilus_signaller_get_current): Unref the signaller on exit.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_initialize): Replaced some
      	strange FIXMEs with a simpler one.
      	(nautilus_component_adapter_factory_destroy): Fix a CORBA object
      	reference leak.
      	(nautilus_component_adapter_factory_get): Did a ref/sink.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_new):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_new):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_new):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_new):
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_new):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_new), (eazel_install_new_with_config):
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	(trilobite_eazel_time_service_new):
      	* components/services/trilobite/libtrilobite/trilobite-service-pass
      	wordquery.c: (trilobite_passwordquery_new):
      	* components/services/trilobite/libtrilobite/trilobite-service.c:
      	(trilobite_service_new):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_new):
      	* components/tree/nautilus-tree-model.c: (nautilus_tree_model_new):
      	* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
      	* cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new):
      	* cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus-extensions/nautilus-any-width-bin.c:
      	(nautilus_any_width_bin_new):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_new):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon):
      	* libnautilus-extensions/nautilus-caption-table.c:
      	(nautilus_caption_table_new):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_new):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_new):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_new),
      	(nautilus_druid_page_eazel_new_with_vals):
      	* libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new):
      	* libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new):
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(nautilus_file_operations_progress_new):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_name), (nautilus_file_new_from_info):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_new):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_new):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_new):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_icon_factory):
      	* libnautilus-extensions/nautilus-image.c: (nautilus_image_new):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_new):
      	* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_new):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_new_with_titles):
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	(nautilus_password_dialog_new):
      	* libnautilus-extensions/nautilus-preference.c:
      	(nautilus_preference_new_from_type):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_new):
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	(nautilus_preferences_dialog_new):
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	(nautilus_preferences_group_new):
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(nautilus_preferences_item_new):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_new):
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	(nautilus_radio_button_group_new):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_new):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_new):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_new):
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(nautilus_undo_context_new):
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_new):
      	* libnautilus-extensions/nautilus-user-level-manager.c:
      	(user_level_manager_new):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_new):
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_new_from_bonobo_control):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_get):
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-property-browser.c: (nautilus_property_browser_new):
      	* src/nautilus-shell.c: (nautilus_shell_new):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu),
      	(nautilus_sidebar_new):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_new):
      	* src/nautilus-throbber.c: (nautilus_throbber_new):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_new):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_new):
      	* src/nautilus-about.c: (nautilus_about_new):
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_create_window):
      	* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new):
      	After Tim Janik explained that gtk_type_new is a low-level call to
      	be avoided, changed most uses of gtk_type_new to gtk_object_new or
      	gtk_widget_new. Also, after Owen and Havoc explained that you
      	can't just ignore the floating bit, added ref/sink calls to the
      	functions used to create objects where we don't use the floating
      	scheme.
      
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_button_press_event): Take advantage of the
      	fact that the new menu is floating and don't bother with ref'ing.
      
      	* libnautilus-extensions/nautilus-ctree.c:
      	(nautilus_ctree_new_with_titles):
      	Added a cast.
      
      	* components/adapter/main.c: (adapter_factory_make_object):
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(eazel_install_callback_get_type), (eazel_install_callback_new):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_get_theme), (nautilus_theme_set_theme),
      	(nautilus_theme_get_theme_data):
      	Whitespace tweaks.
      2cd5440e
  33. 23 Sep, 2000 1 commit
    • Maciej Stachowiak's avatar
      Register all the below components per display. I didn't make · dd548718
      Maciej Stachowiak authored
      	nautilus per-display yet (to avoid dealing with the locking
      	issues, etc). I also did not change the services components that
      	appear to be non-gui to operate per-display.
      
      	I believe this fixes bugs 3033 and 2237.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/history/nautilus-history-view.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_bonobo_image_generic_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/sample/main.c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/inventory/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/sample/service/main.c: (main):
      	* components/shell/shell.c: (shell_factory_init):
      	* components/tree/main.c: (main):
      	* components/websearch/ntl-web-search.c: (main): Register each of
      	these per-display.
      dd548718
  34. 22 Sep, 2000 1 commit
    • John Sullivan's avatar
      Fixed bug 3236 (Window titles are indistinguishable in taskbar) · ae1d8e76
      John Sullivan authored
      	Removed "Nautilus: " from the main Nautilus window and all
      	the dialogs. Took this opportunity to standardize book title
      	capitalization for all dialog titles. Also softened the caveat
      	text just a bit.
      
      	* components/music/nautilus-music-view.c: (play_current_file):
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_done):
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(handle_xfer_vfs_error), (handle_xfer_overwrite),
      	(nautilus_file_operations_copy_move),
      	(nautilus_file_operations_move_to_trash), (confirm_empty_trash):
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new),
      	(nautilus_program_chooser_show_no_choices_message):
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(nautilus_info_dialog), (nautilus_warning_dialog),
      	(nautilus_error_dialog), (nautilus_error_dialog_with_details),
      	(nautilus_yes_no_dialog):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_confirm_multiple_windows),
      	(fm_directory_view_confirm_deletion), (confirm_delete_from_trash),
      	(report_broken_symbolic_link):
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions):
      	* src/file-manager/fm-icon-text-window.c:
      	(create_icon_text_window):
      	* src/file-manager/fm-properties-window.c:
      	(update_properties_window_title):
      	* src/nautilus-application.c:
      	(nautilus_application_check_user_directories):
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	* src/nautilus-first-time-druid.c:
      	(nautilus_first_time_druid_show):
      	* src/nautilus-property-browser.c: (emblem_image_file_changed),
      	(add_background_to_browser):
      	* src/nautilus-shell.c: (display_caveat):
      	* src/nautilus-sidebar.c: (receive_dropped_uri_list):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_update_title), (handle_unreadable_location),
      	(report_content_view_failure_to_user),
      	(report_sidebar_panel_failure_to_user),
      	(nautilus_window_end_location_change_callback):
      	* src/nautilus-window-menus.c: (forget_history_if_confirmed),
      	(user_level_customize_callback), (show_bogus_bookmark_window):
      ae1d8e76
  35. 21 Sep, 2000 1 commit
    • Robey Pointer's avatar
      Add code to detect turbolinux version. · fa2663ba
      Robey Pointer authored
      	* components/services/trilobite/libtrilobite/trilobite-core-distrib
      	ution.c: (determine_turbolinux_version):
      
      	Add code to detect turbolinux version.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_package_callback):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(get_url_for_package), (get_search_url_for_package):
      
      	Don't set an RPM server in the RPM view.  Detect no-server in the
      	install lib and don't try to connect.
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(uninstall_all_packages), (eazel_install_start_transaction):
      	* components/services/trilobite/libtrilobite/trilobite-root-helper.
      	c: (trilobite_root_helper_destroy), (trilobite_root_helper_start),
      	(trilobite_root_helper_get_exit_code):
      	* components/services/trilobite/libtrilobite/trilobite-root-helper.
      	h:
      
      	Fix result code of uninstall.  Try to check rpm child exitcode
      	(though this won't work under userhelper, thanks userhelper).
      fa2663ba
  36. 14 Sep, 2000 2 commits
    • Darin Adler's avatar
      Some fixes to "make dist" to make the tinderbox happy. · 3b322e95
      Darin Adler authored
      	* components/rpmview/Makefile.am:
      	* components/tree/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* src/Makefile.am:
      	Added missing .h files.
      
      	* src/file-manager/.cvsignore:
      	Ignore some ancient generated files.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_label_make_bold): Formatting tweak.
      	(nautilus_gtk_widget_set_foreground_color): Don't set the base
      	color when you set the foreground. The base is more like the
      	background color.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(mnttab_add_mount_volume): Formatting tweak.
      3b322e95
    • Robey Pointer's avatar
      fix annoying fprintf's to be debug messages; fix error message assembly on... · 10ccfb6a
      Robey Pointer authored
      fix annoying fprintf's to be debug messages; fix error message assembly on failed install/uninstall; catch new signals from the install library; turn on the verify button after an install; sync up install error messages between rpm view and the install service a little bit
      10ccfb6a