* 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.
2000-10-21 Josh Barrow <josh@eazel.com>
* AUTHORS:
* THANKS:
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
Added Eli to the about box and moved him from THANKS to AUTHORS, per
Maciej.
* 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.
with a capital T, localized)
* libnautilus-extensions/nautilus-directory-private.h:
Added prototype for nautilus_directory_get_
name_for_self_as_new_file
* libnautilus-extensions/nautilus-directory.h,
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize_class),
(nautilus_directory_get_name_for_self_as_new_file),
(real_get_name_for_self_as_new_file): wired up new
overridable function pointer "get_name_for_self_as_new_file"
that's used to get the name from directories that aren't
vfs directories. Default implementation returns the scheme.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Use nautilus_directory_
get_name_for_self_as_new_file instead of hardwiring
scheme-getting logic here.
* libnautilus-extensions/nautilus-trash-directory.c:
(trash_get_name_for_self_as_new_file),
(nautilus_trash_directory_initialize_class):
Override get_name_for_self_as_new_file to return _("Trash").
* src/nautilus-window-manage-views.c:
(compute_default_title): Use NautilusFile to get the
default window title. Formerly it was using some similar
but slightly different logic to what nautilus_file uses
to get a name to display.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
* AUTHORS: Gave credit where credit was due.
* src/nautilus-window-menus.c (help_menu_about_nautilus_callback):
Added Ali Abdin and Ian McKellar.
* AUTHORS: Updated to match about box (it would be nice if we
could keep this name list in just one place).
* THANKS: New file; I credited everyone who has contributed and
who is not in AUTHORS, as far as I could tell from the various
ChangeLogs.
2000-01-03 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-prefs.c: Fix warnings.
* src/ntl-view.c, src/ntl-view.h, src/ntl-view-frame-svr.c
(nautilus_view_notify_location_change,
nautilus_view_notify_selection_change, nautilus_view_load_state,
nautilus_view_save_state, nautilus_view_show_properties): Made
these functions public and removed the corresponding signals;
these are operations you do to the NautilusView, not something it
informs other parts of the program of.
(request_location_change, request_selection_change,
request_status_change, request_progress_change): New
signals. These allow NautilusView to have less dependence on
NautilusWindow.
(nautilus_view_signals): Moved signal number table from view to
this static variable.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Move to ntl-view.c and
make them emit the proper signals in lieu of hardcoded handling.
* src/ntl-window.c, src/ntl-window.h src/ntl-window-msgs.c,
src/ntl-window-msgs.h, src/ntl-window-state.c
(request_location_change, request_selection_change,
request_status_change, request_progress_change): Removed these
signals; they are operations you do on a NautilusWindow, not
something it notifies you of, and any usefulness for inheritance
purposes is purely speculative right now.
(nautilus_window_connect_view, nautilus_window_disconnect_view):
Use these new helper functions to connect callbacks to
NautilusView's signals instead of expecting them to just get
called.
(nautilus_view_request_location_change,
nautilus_view_request_selection_change,
nautilus_view_request_status_change,
nautilus_view_request_progress_change): Execute bodies of real_
versions instead of emitting singals.
(nautilus_view_real_request_location_change,
nautilus_view_real_request_selection_change,
nautilus_view_real_request_status_change,
nautilus_view_real_request_progress_change): Removed these.
Finally, always call nautilus_winodow_set_content_view or
nautilus_window_add_meta_view before calling
nautilus_view_load_client to make sure no signals are lost.