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. 31 Jan, 2001 1 commit
    • Pavel Cisler's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 17955b15
      Pavel Cisler authored
      2001-01-31  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Gene Z. Ragan <gzr@eazel.com>
      
      	Fix 5324 (Should get rid of stack-based GnomeVFSFileInfo)
      
      	* components/adapter/bonobo-stream-vfs.c: (vfs_get_info):
      	Nuked some unused code that contained gnome_vfs_file_info_init.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(path_represents_svg_image), (get_cache_time):
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	(first_file_more_recent):
      	* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
      	Get rid of gnome_vfs_file_info_init.
      	Replace all instances of stack-based GnomeVFSFileInfo
      	structures, replace all calls to gnome_vfs_file_info_init
      	with gnome_vfs_file_info_new.
      	Replace most calls to gnome_vfs_file_info_clear with
      	gnome_vfs_file_info_unref.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(has_image_file):
      	Rework to use gnome_vfs_uri_exists instead of trying to get
      	file info.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	Fixed a bug where file info fields were being used after a
      	gnome_vfs_file_info_clear call
      
      
      	Fix 6146 ("Duplicate File" reports "You cannot copy a file
      		   over itself")
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(nautilus_file_operations_copy_move):
      	Make copying iside the same directory while the
      	GNOME_VFS_XFER_USE_UNIQUE_NAMES move_option is set legal.
      17955b15
  3. 13 Nov, 2000 2 commits
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 4dfaa364
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Increased chunk-size to 32k in an unsuccesful attempt to improve
      	the situation with regards to fix bug 3256 (attempt to view huge
      	text file is very slow). It did not help which leads me to believe
      	the problem is with the way the text control handles progressive
      	updates.
      
      	Fix bug 2180 (switching from icon view to list view, the zoom
      	control disappears and then reappears).
      
      	* src/nautilus-window-manage-views.c (load_content_view,
      	zoom_level_changed_callback): Don't show and hide the zoom control
      	at various times. Instead, let
      	`nautilus_window_set_content_view_widget' establish the right
      	visibility state when we finally enable the widget. This way, the
      	zoom control won't ever disappear and reappear when switching
      	between two different zoomable views.
      	* src/nautilus-window.c (nautilus_window_set_content_view_widget):
      	Set the zoom control to the right visibility state when setting
      	the new widget.
      4dfaa364
    • Maciej Stachowiak's avatar
      Updated based on running check-THANKS.pl Fixed some typos in people's · fe3a8f5e
      Maciej Stachowiak authored
      	* THANKS: Updated based on running check-THANKS.pl
      	* AUTHORS, ChangeLog-200001018: Fixed some typos in
      	people's email addresses.
      
      
      	Fix bugs 3641 (text preview gets garbled when switching files in
      	the middle of a load) and 3479 (Nautilus crashes if
      	nautilus-adapter* missing).
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(call_when_stopped, load_and_free_uri, declare_done_loading,
      	stop_loading,
      	nautilus_adapter_progressive_load_strategy_load_location): Make
      	sure previous load is completely stopped before ever starting a
      	new load.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy, nautilus_adapter_new): Avoid reporting
      	signals to the view frame while in the middle of destroying the
      	adapter.
      	* src/nautilus-component-adapter-factory.c
      	(nautilus_component_adapter_factory_get): Return NULL when loading
      	the adapter factory component fails.
      	(nautilus_component_adapter_factory_initialize,
      	component_adapter_factory_at_exit_destructor): Changes required by
      	the above.
      	* src/nautilus-view-frame.c
      	(nautilus_view_frame_set_to_component): report failure if we can't
      	load the adapter factory.
      	* src/nautilus-window-manage-views.c
      	(report_content_view_failure_to_user, load_content_view,
      	handle_view_failure, nautilus_window_set_sidebar_panels): Do a
      	somewhat better job of reporting view load failures.
      fe3a8f5e
  4. 04 Nov, 2000 1 commit
    • Darin Adler's avatar
      Tell everyone that we are back on bonobo HEAD. Make sure Nautilus doesn't · a96c73cb
      Darin Adler authored
      	* README: Tell everyone that we are back on bonobo HEAD.
      	* configure.in: Make sure Nautilus doesn't try to compile with the
      	old bonobo.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_get):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_get):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	* components/history/nautilus-history-view.c:
      	(history_view_frame_call_begin):
      	* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
      	* libnautilus/nautilus-view.c: (view_frame_call_begin):
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame):
      	Fix all the callers of query_interface in CORBA to call it
      	queryInterface (I used the Bonobo script to do it).
      
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_set_arg), (nautilus_window_get_arg),
      	(nautilus_window_set_content_view_widget): Update for BonoboWin ->
      	BonoboWindow change. Once again, the change was done by the Bonobo
      	script (but I had to undo the spaces it ate after BONOBO_WIN).
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/time/idl/trilobite-eazel-time-service.idl:
      	* components/services/trilobite/idl/trilobite-service.idl:
      	* components/services/trilobite/sample/idl/sample-service.idl:
      	* libnautilus-adapter/nautilus-adapter-factory.idl:
      	* libnautilus/nautilus-distributed-undo.idl:
      	* libnautilus/nautilus-view-component.idl:
      	Since IDL dependencies don't work, I touched every IDL file to
      	make the switchover smoother. This only works if people update
      	before they try to build and fail, otherwise they need to do:
      		find -name '*.xml' | xargs touch
      	(Maciej and I want to add dependency support to orbit-idl to make
      	this problem go away long term).
      
      	* src/nautilus-desktop-window.c: (realize):
      	The script updated this comment to, so I let it.
      
      	* user-guide/C/Makefile.am: Took out the botched change I made to
      	this file. Mathieu did the correct one.
      a96c73cb
  5. 20 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Moved here from libnautilus-extensions; bunches of cleanup to match · cdde1ac4
      Maciej Stachowiak authored
      	* components/adapter/bonobo-stream-vfs.h,
      	components/adapter/bonobo-stream-vfs.c: (vfs_write), (vfs_read),
      	(vfs_seek), (vfs_truncate), (vfs_copy_to), (vfs_close), (vfs_eos),
      	(vfs_length), (bonobo_stream_vfs_class_init),
      	(bonobo_stream_vfs_init), (bonobo_stream_vfs_get_type),
      	(Bonobo_Stream_vfs__create), (bonobo_stream_vfs_new_internal),
      	(bonobo_stream_vfs_open), (bonobo_stream_vfs_new): Moved here from
      	libnautilus-extensions; bunches of cleanup to match nautilus style
      	better.
      
      	* components/adapter/Makefile.am: Added above two files to build.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Up the load chunk.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	Include "bonobo-stream-vfs.h" not
      	<libnautilus-extensions-stream-vfs.h>
      
      	* libnautilus-extensions/bonobo-stream-vfs.c,
      	libnautilus-extensions/bonobo-stream-vfs.h: Removed from here.
      
      	* libnautilus-extensions/Makefile.am: Removed from build.
      cdde1ac4
  6. 04 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Filed bugs for some FIXMEs · 1f04158c
      Maciej Stachowiak authored
      	* check-THANKS.pl,
      	components/adapter/nautilus-adapter-progressive-load-strategy.c,
      	components/adapter/nautilus-adapter-stream-load-strategy.c,
      	src/nautilus-view-frame.c: Filed bugs for some FIXMEs
      1f04158c
  7. 03 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fixed bug 3223. · 10b8bae1
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_new),
      	(nautilus_adapter_file_load_strategy_load_location):
      	* components/adapter/nautilus-adapter-file-load-strategy.h:
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_initialize_class),
      	(nautilus_adapter_load_strategy_get),
      	(nautilus_adapter_load_strategy_stop_loading),
      	(nautilus_adapter_load_strategy_report_load_underway),
      	(nautilus_adapter_load_strategy_report_load_progress),
      	(nautilus_adapter_load_strategy_report_load_complete),
      	(nautilus_adapter_load_strategy_report_load_failed):
      	* components/adapter/nautilus-adapter-load-strategy.h:
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy),
      	(nautilus_adapter_progressive_load_strategy_new), (stop_loading),
      	(nautilus_adapter_progressive_load_strategy_load_location),
      	(nautilus_adapter_progressive_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h:
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_new),
      	(nautilus_adapter_stream_load_strategy_load_location):
      	* components/adapter/nautilus-adapter-stream-load-strategy.h:
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy), (nautilus_adapter_new),
      	(nautilus_adapter_load_underway_callback),
      	(nautilus_adapter_load_progress_callback),
      	(nautilus_adapter_load_complete_callback),
      	(nautilus_adapter_load_failed_callback): Changed the load
      	strategies to no longer depend on the view; instead, they emit
      	appropriate signals at different stages of progress, which the
      	NautilusAdapter object hooks into (connecting with
      	_connect_object_while_alive). Also, the progressive load strategy
      	now checks for cancellation around various CORBA calls, so it
      	should actually respect the stop button.
      
      	* AUTHORS, THANKS, check-THANKS.pl: Updated Josh Barrow's email
      	address.
      10b8bae1
  8. 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
  9. 20 Sep, 2000 3 commits
    • Maciej Stachowiak's avatar
      Finally fixed bug 1994; in the process I think I also ended up · c70683fe
      Maciej Stachowiak authored
      	fixing 2576, 2577, 2578, 2579 and 2580.
      
      	* components/adapter/nautilus-adapter-embed-strategy.h,
      	components/adapter/nautilus-adapter-embed-strategy.c: Abstract
      	interface for embedding various kinds of Bonobo components.
      	* components/adapter/nautilus-adapter-embed-strategy-private.h:
      	Header inclusing a `protected' call to emit a signal.
      	* components/adapter/nautilus-adapter-control-embed-strategy.h,
      	components/adapter/nautilus-adapter-control-embed-strategy.c:
      	Concrete subclass for embedding a Control.
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h,
      	components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	Concrete subclass for embedding an Embeddable.
      	* components/adapter/Makefile.am: Add new files.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_load_location): Fixed
      	incorrect GnomeVFSFIleInfo handling and removed a printf.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_load_location,
      	nautilus_adapter_stream_load_strategy_stop_loading): Removed print
      	statements.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy): Free stuff.
      
      	(nautilus_adapter_new): Use the new embed strategy stuff.
      
      	(nautilus_adapter_open_location_callback): callback for signal
      	handler attached to embed strategy.
      
      	* src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c: Removed.
      	* src/nautilus-view-frame-private.h, src/Makefile.am: Remove
      	mentions of the two preceding files.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_load_client): Use
      	the adapter to host non-nautilus-native components.
      
      	* nautilus-clean.sh: Added image view.
      c70683fe
    • Maciej Stachowiak's avatar
      Fix unuinitialized variable use (thanks to Will LaShell). · 6ceacfac
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_destroy): Fix
      	unuinitialized variable use (thanks to Will LaShell).
      6ceacfac
    • Maciej Stachowiak's avatar
      More work towards fixing bug 1994; in the process I think I might · 3b9d7401
      Maciej Stachowiak authored
      	also end up fixing 2576, 2577, 2578 and 2579 (might also end up
      	fixing 2580 later).
      
      	* components/adapter/Makefile.am:
      
      	* components/adapter/nautilus-adapter-load-strategy.h,
      	components/adapter/nautilus-adapter-load-strategy.c: Abstract
      	class that gives the interface for loading up a component that
      	presents some particular interface.
      
      	* components/adapter/nautilus-adapter-file-load-strategy.h,
      	components/adapter/nautilus-adapter-file-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistFile interface.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h,
      	components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::ProgressiveDataSink interface.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c,
      	components/adapter/nautilus-adapter-stream-load-strategy.h:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistStream interface.
      
      	* components/adapter/nautilus-adapter.h,
      	components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy, nautilus_adapter_new,
      	nautilus_adapter_load_location_callback,
      	nautilus_adapter_stop_loading_callback): Use load strategies.
      
      	* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Minor
      	formatting correction.
      3b9d7401