1. 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
  2. 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
  3. 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
  4. 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
  5. 03 Sep, 2000 2 commits